/* Yorkshire Ag Drones — base stylesheet
   Mobile-first. Static. No dependencies. */

:root {
  --green: #2C5530;
  --green-dark: #14241a;
  --green-darker: #0d1a12;
  --green-light: #3d6e42;
  --tan: #D9C7A0;
  --tan-light: #ece1c2;
  --bg: #FAF7F1;
  --bg-alt: #f1ede2;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #555;
  --border: #e3ddcc;
  --accent: #C7841A;
  --accent-dark: #9b6512;
  --accent-warm: #d99024;
  --shadow: 0 2px 10px rgba(40, 30, 10, 0.07);
  --shadow-md: 0 4px 16px rgba(40, 30, 10, 0.10);
  --shadow-lg: 0 12px 32px rgba(40, 30, 10, 0.14);
  --radius: 6px;
  --max: 1100px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Roboto Slab", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--green-dark);
  margin: 0 0 0.6em;
}

h1 { font-size: 2.1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.55rem; margin-top: 2em; }
h3 { font-size: 1.2rem; margin-top: 1.6em; }

@media (min-width: 720px) {
  h1 { font-size: 2.8rem; }
  h2 { font-size: 1.95rem; }
  h3 { font-size: 1.3rem; }
}

p, ul, ol { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; }
li { margin-bottom: 0.4em; }

a { color: var(--green); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent); }

img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 1.2rem;
}

/* === HEADER === */
.site-header {
  background: var(--green);
  color: #fff;
  border-bottom: 3px solid var(--accent);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  padding-bottom: 0.8rem;
  gap: 1rem;
}
.brand {
  font-family: "Roboto Slab", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #fff;
  text-decoration: none;
  line-height: 1.1;
}
.brand span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--tan);
  letter-spacing: 0.03em;
  margin-top: 2px;
}
.header-right {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.header-phone {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  white-space: nowrap;
}
.header-phone::before {
  content: "📞 ";
  font-size: 0.9em;
}
.menu-toggle {
  background: none;
  border: 1px solid var(--tan);
  color: #fff;
  padding: 0.4rem 0.7rem;
  font-size: 0.9rem;
  border-radius: var(--radius);
  cursor: pointer;
}
.site-nav {
  display: none;
  background: var(--green-dark);
  border-top: 1px solid var(--green-light);
}
.site-nav.open { display: block; }
.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.6rem 0;
}
.site-nav li { margin: 0; }
.site-nav a {
  display: block;
  padding: 0.8rem 1.2rem;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-weight: 500;
}
.site-nav a:hover { background: var(--green-light); color: #fff; }
.site-nav a.cta {
  background: var(--accent);
  margin: 0.5rem 1.2rem;
  border-radius: var(--radius);
  text-align: center;
  border-bottom: none;
}
.site-nav a.cta:hover { background: var(--accent-dark); }

@media (min-width: 860px) {
  .menu-toggle { display: none; }
  .site-nav { display: block; background: var(--green); border-top: none; }
  .site-nav ul { display: flex; align-items: center; gap: 0.1rem; padding: 0; max-width: var(--max); margin: 0 auto; padding: 0 1.2rem 0.5rem; flex-wrap: nowrap; }
  .site-nav li { flex-shrink: 0; }
  .site-nav a { border-bottom: none; padding: 0.5rem 0.7rem; border-radius: var(--radius); font-size: 0.88rem; white-space: nowrap; }
  .site-nav a.cta { margin: 0 0 0 auto; padding: 0.55rem 1.1rem; }
}
@media (min-width: 1080px) {
  .site-nav a { font-size: 0.92rem; padding: 0.55rem 0.85rem; }
}

/* === HERO === */
.hero {
  background: var(--green-darker);
  color: #fff;
  padding: 3rem 0 3.5rem;
  position: relative;
  border-bottom: 4px solid var(--accent);
}
.hero .container {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 900px) {
  .hero { padding: 4.5rem 0 5rem; }
  .hero .container { grid-template-columns: 1.1fr 1fr; gap: 3rem; }
}
.hero h1 {
  color: #fff;
  margin-top: 0;
  max-width: 18ch;
  font-size: 2.4rem;
  line-height: 1.1;
}
@media (min-width: 720px) {
  .hero h1 { font-size: 3.4rem; }
}
.hero p.lead {
  font-size: 1.15rem;
  max-width: 56ch;
  color: #e8e3d3;
  margin-bottom: 1.8rem;
}
.hero .cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}
.hero .disclosure {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--tan);
  max-width: 60ch;
  border-left: 3px solid var(--accent);
  padding: 0.4rem 0 0.4rem 0.9rem;
}
.hero-image {
  margin-top: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--green-light);
  line-height: 0;
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  padding: 0.9rem 1.6rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  letter-spacing: 0.01em;
  box-shadow: 0 3px 0 var(--accent-dark), 0 4px 12px rgba(0,0,0,0.12);
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.btn:hover {
  background: var(--accent-warm);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 0 var(--accent-dark), 0 6px 16px rgba(0,0,0,0.16);
}
.btn:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--accent-dark); }
.btn-outline {
  background: transparent;
  border: 2px solid var(--tan);
  color: #fff;
  padding: 0.75rem 1.4rem;
  box-shadow: none;
}
.btn-outline:hover { background: var(--tan); color: var(--green-darker); transform: none; box-shadow: none; }
.btn-lg { padding: 1.05rem 2rem; font-size: 1.1rem; }

/* === SECTIONS === */
section.block {
  padding: 3.5rem 0;
}
@media (min-width: 720px) {
  section.block { padding: 4.5rem 0; }
}
section.block.alt {
  background: var(--bg-alt);
}
section.block.dark {
  background: var(--green-darker);
  color: #fff;
  border-top: 1px solid var(--green-light);
  border-bottom: 1px solid var(--green-light);
}
section.block.dark h2,
section.block.dark h3 { color: #fff; }
section.block.dark p { color: var(--tan-light); }
.section-intro {
  max-width: 60ch;
  margin-bottom: 2rem;
  color: var(--text-muted);
}

/* === SERVICE GRID === */
.grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green);
  border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}
a.card, .card a.more { text-decoration: none; }
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--accent);
}
.card h3 {
  margin-top: 0;
  font-size: 1.18rem;
}
.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.card a.more {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* === STEPS === */
.steps {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 1.6rem;
  grid-template-columns: 1fr;
  counter-reset: step;
  position: relative;
}
@media (min-width: 800px) {
  .steps {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
  }
  /* Connecting line behind the step circles */
  .steps::before {
    content: "";
    position: absolute;
    top: 2.2rem;
    left: 16.66%;
    right: 16.66%;
    height: 2px;
    background: repeating-linear-gradient(to right, var(--green) 0 8px, transparent 8px 16px);
    z-index: 0;
  }
}
.steps li {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.5rem;
  counter-increment: step;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow);
  z-index: 1;
}
.steps li::before {
  content: counter(step);
  display: block;
  background: var(--accent);
  color: #fff;
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 50%;
  text-align: center;
  line-height: 3.2rem;
  font-weight: 700;
  font-family: "Roboto Slab", serif;
  font-size: 1.5rem;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 0 var(--accent-dark);
  border: 4px solid var(--bg);
}
.steps strong {
  display: block;
  font-family: "Roboto Slab", serif;
  color: var(--green-darker);
  margin-bottom: 0.4rem;
  font-size: 1.1rem;
}

/* === TRUST STRIP === */
.trust-strip {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr 1fr;
  text-align: center;
}
@media (min-width: 700px) {
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
}
.trust-strip div {
  padding: 1rem;
  border: 1px solid var(--green-light);
  border-radius: var(--radius);
  font-size: 0.85rem;
  color: var(--tan-light);
}
.trust-strip strong { color: #fff; display: block; font-family: "Roboto Slab", serif; margin-bottom: 0.3rem; }

/* === TESTIMONIAL === */
.testimonial {
  background: var(--bg-card);
  border-left: 4px solid var(--accent);
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius);
  font-style: italic;
  color: var(--text-muted);
}
.testimonial::before { content: "\201C"; font-size: 2.5rem; line-height: 0; vertical-align: -0.5rem; color: var(--tan); margin-right: 0.2rem; }

/* === ARTICLE / CONTENT PAGES === */
article.content {
  max-width: 70ch;
  margin: 0 auto;
  padding: 2.5rem 0 3rem;
}
article.content h1 { margin-top: 0; }
article.content .image-placeholder {
  background: var(--tan-light);
  border: 1px dashed var(--green-light);
  color: var(--green);
  padding: 2.2rem 1rem;
  text-align: center;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-style: italic;
  margin: 1.5rem 0;
}
article.content blockquote {
  border-left: 4px solid var(--accent);
  margin: 1.5rem 0;
  padding: 0.6rem 1.2rem;
  background: var(--tan-light);
  font-style: italic;
  color: var(--green-dark);
  border-radius: 0 var(--radius) var(--radius) 0;
}
article.content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
article.content th, article.content td {
  text-align: left;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid var(--border);
}
article.content th { background: var(--tan-light); color: var(--green-dark); font-family: "Roboto Slab", serif; }

.cta-box {
  background: var(--green);
  color: #fff;
  padding: 1.6rem;
  border-radius: var(--radius);
  margin: 2rem 0;
  text-align: center;
}
.cta-box h3 { color: #fff; margin-top: 0; }
.cta-box p { color: var(--tan-light); margin-bottom: 1rem; }

/* === FORM === */
.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 640px;
  margin: 0 auto;
}
.form-row {
  margin-bottom: 1.2rem;
}
.form-row label {
  display: block;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}
.form-row input[type=text],
.form-row input[type=email],
.form-row input[type=tel],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--bg);
  color: var(--text);
  min-height: 48px;
}
.form-row textarea { min-height: 100px; resize: vertical; }
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.radio-group {
  display: grid;
  gap: 0.5rem;
}
.radio-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 500;
  background: var(--bg);
  font-size: 0.95rem;
}
.radio-group label:hover { border-color: var(--accent); }
.radio-group input[type=radio] { margin-top: 4px; flex-shrink: 0; }
.consent-row {
  display: flex;
  gap: 0.7rem;
  align-items: flex-start;
  background: var(--tan-light);
  padding: 0.9rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  color: var(--text);
}
.consent-row input { margin-top: 4px; flex-shrink: 0; }
.form-disclosure {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.9rem;
  line-height: 1.5;
}

/* === FOOTER === */
.site-footer {
  background: var(--green-darker);
  color: var(--tan-light);
  padding: 3.5rem 0 2rem;
  margin-top: 0;
  font-size: 0.92rem;
  border-top: 4px solid var(--accent);
}
.site-footer a { color: var(--tan); }
.site-footer h4 { color: #fff; font-family: "Roboto Slab", serif; font-size: 1rem; margin: 0 0 0.6rem; }
.footer-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
}
.footer-grid ul { list-style: none; padding: 0; }
.footer-grid li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid var(--green-light);
  margin-top: 1.8rem;
  padding-top: 1.2rem;
  font-size: 0.8rem;
  color: var(--tan);
}

/* === UTILS === */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.placeholder-text {
  background: repeating-linear-gradient(45deg, var(--tan-light), var(--tan-light) 10px, var(--bg) 10px, var(--bg) 20px);
  border: 1px dashed var(--green-light);
  color: var(--green);
  padding: 1.2rem;
  border-radius: var(--radius);
  font-style: italic;
  font-size: 0.9rem;
}
