/* Self-hosted fonts — Fraunces + DM Sans (replaces Google Fonts: privacy/GDPR + perf).
   woff2 in /fonts/; preload the critical faces in <head>. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-400.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: italic; font-weight: 400; font-display: swap; src: url(/fonts/fraunces-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/fraunces-700.woff2) format('woff2'); }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 900; font-display: swap; src: url(/fonts/fraunces-900.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 300; font-display: swap; src: url(/fonts/dmsans-300.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/dmsans-400.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 500; font-display: swap; src: url(/fonts/dmsans-500.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/dmsans-600.woff2) format('woff2'); }

/* ==========================================================================
   Antogar — Design System
   Brand-led palette: primary #7A3B69 (AA on cream), primary-dark #3D1A35 (AAA).
   Replace primary swatches if shifting aesthetic; keep contrast ratios.
   ========================================================================== */

:root {
  /* Palette — brand */
  --primary: #7A3B69;
  --primary-dark: #3D1A35;
  --primary-surface: #EBE1E8;     /* tinted panel background */

  /* Neutral system */
  --cream: #F5F0E8;
  --cream-dark: #EDE7DB;
  --linen: #FAF7F2;
  --earth: #2C2418;
  --earth-mid: #4A3D2E;
  /* Two-token stone — no single warm-gray clears AA on BOTH cream and earth. */
  --stone: #74684F;        /* 4.78:1 on --cream — use for body labels, small captions, meta on cream/cream-dark */
  --stone-light: #B5A998;  /* 6.58:1 on --earth — use for footer body text, hint copy on dark sections */
  --white: #FFFCF7;

  /* Optional accent — assign a contrasting warm tone if your aesthetic needs one.
     Defaults below are WCAG AA-compliant on cream/cream-dark/dark; if you change
     them per brief, target ≥4.5:1 on cream (small text) and ≥5:1 for accent-on-dark. */
  --accent: #8E5527;          /* default terracotta — AA on cream (5.15:1) and cream-dark (4.89:1) */
  --accent-dark: #6F4220;     /* deeper terracotta for hover/active — AAA on cream (7.4:1) */
  --accent-on-dark: #D4956A;  /* lighter terracotta for eyebrows on dark sections (5.5:1 on #2C2418 / #0D1110) */

  /* Typography — change per aesthetic direction (NEVER Inter/Roboto/Arial) */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'DM Sans', 'Helvetica Neue', sans-serif;

  /* Sizes */
  --container: 1120px;
  --container-narrow: 720px;
  --radius: 6px;
  --radius-lg: 12px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(44, 36, 24, 0.08);
  --shadow-md: 0 4px 12px rgba(44, 36, 24, 0.1);
  --shadow-lg: 0 8px 24px rgba(44, 36, 24, 0.12);
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--earth);
  background: var(--linen);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-dark); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--earth);
}

h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 3vw, 1.6rem); }

/* Layout */
.container { max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 5rem 0; }
.section-alt { padding: 5rem 0; background: var(--cream); }
.section-dark { padding: 5rem 0; background: var(--earth); color: var(--cream); }
.section-dark h2, .section-dark h3 { color: var(--cream); }

.section-header { text-align: center; margin-bottom: 3rem; }
.section-header p { color: var(--stone); font-size: 1.1rem; margin-top: 0.5rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.8rem;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 500; font-size: 0.95rem;
  text-decoration: none; cursor: pointer;
  border: 2px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover {
  background: var(--accent-dark); border-color: var(--accent-dark); color: var(--white);
  transform: translateY(-1px); box-shadow: var(--shadow-md);
}

.btn-outline { background: transparent; color: var(--accent); border-color: var(--accent); }
.btn-outline:hover { background: var(--accent); color: var(--white); }

.btn-ghost { background: transparent; color: var(--earth); border-color: var(--stone-light); }
.btn-ghost:hover { border-color: var(--earth); color: var(--earth); }

.btn-whatsapp { background: #075E54; color: #fff; border-color: #075E54; }  /* WhatsApp accessible dark teal — white text passes WCAG AA (7.5:1); brand-compliant variant of the iconic green */
.btn-whatsapp:hover {
  background: #20BD5A; border-color: #20BD5A; color: #fff;
  transform: translateY(-1px);
}

.btn-lg { padding: 1rem 2.2rem; font-size: 1.05rem; }

/* Header & Nav */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250, 247, 242, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--cream-dark);
}

.header-inner {
  max-width: var(--container); margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}

.site-logo {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 800;
  color: var(--earth); text-decoration: none;
  display: flex; align-items: center; gap: 0.4rem;
}

.site-logo:hover { color: var(--primary-dark); }

.nav-links { display: flex; align-items: center; gap: 1.8rem; list-style: none; }

.nav-links a {
  font-size: 0.9rem; font-weight: 500;
  color: var(--earth-mid); text-decoration: none;
  position: relative; transition: color 0.2s;
}

.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--primary);
  transition: width 0.25s ease;
}

.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { width: 100%; }

.nav-links .nav-cta {
  padding: 0.5rem 1.2rem;
  background: var(--accent); color: var(--white);
  border-radius: var(--radius); font-weight: 600;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover { background: var(--accent-dark); color: var(--white); }

.lang-switch {
  font-size: 0.8rem; font-weight: 600;
  color: var(--stone);
  border: 1px solid var(--stone-light);
  padding: 0.25rem 0.6rem; border-radius: 3px;
  text-decoration: none;
}
.lang-switch:hover { color: var(--earth); border-color: var(--earth); }

/* Hero */
.hero {
  position: relative; min-height: 85vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden;
  background: var(--earth);
}

.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.55;
}

.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(44, 36, 24, 0.3) 0%, rgba(44, 36, 24, 0.6) 100%);
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; padding: 2rem;
}

.hero-content h1 {
  color: var(--cream);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900; letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.hero-content p {
  color: var(--cream-dark);
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  margin-bottom: 2rem; line-height: 1.6;
}

.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* Editorial accents — eyebrow, olive rule */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--primary-dark);
  position: relative; padding: 0 1.4rem;
}
.eyebrow::before, .eyebrow::after {
  content: ''; position: absolute; top: 50%;
  width: 0.9rem; height: 1px; background: var(--primary);
}
.eyebrow::before { left: 0; }
.eyebrow::after { right: 0; }

.olive-rule {
  display: block; width: 72px; height: 1px;
  background: var(--primary); margin: 1.5rem auto 0;
  position: relative;
}
.olive-rule::after {
  content: ''; position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 6px; height: 6px;
  background: var(--primary); border-radius: 50%;
}

/* Footer */
.site-footer {
  background: var(--earth);
  color: var(--stone-light);
  padding: 3rem 0 1.5rem;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 700;
  color: var(--cream); margin-bottom: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid var(--earth-mid);
  padding-top: 1.5rem; margin-top: 2rem;
  font-size: 0.8rem;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem;
}

.footer-bottom a { color: var(--stone-light); }
.footer-bottom a:hover { color: var(--cream); }

/* Honeypot — invisible to humans, auto-filled by bots */
.honeypot-field {
  position: absolute;
  left: -10000px; top: auto;
  width: 1px; height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Forms */
.form-section {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-group { display: flex; flex-direction: column; margin-bottom: 1rem; }

.form-group label {
  font-size: 0.85rem; font-weight: 500;
  color: var(--earth-mid);
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--earth);
  background: var(--linen);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--primary);
  outline-offset: 1px;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(122, 59, 105, 0.12);
}

.form-error {
  background: #FEF2F2; color: #B91C1C;
  padding: 0.8rem 1rem;
  border-radius: var(--radius);
  margin-bottom: 1rem; font-size: 0.9rem;
}

/* Scroll fade-in */
.fade-in {
  opacity: 0; transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible { opacity: 1; transform: translateY(0); }

noscript ~ .fade-in,
html:not(.js-loaded) .fade-in { opacity: 1; transform: none; }

/* Isla Studio web design standards */
:root { color-scheme: light; }

a, button, input[type="submit"], .btn { touch-action: manipulation; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .fade-in { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px; left: 0; right: 0;
    background: var(--linen);
    flex-direction: column;
    padding: 1.5rem; gap: 1rem;
    border-bottom: 1px solid var(--cream-dark);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open { display: flex; }

  .hero { min-height: 70vh; }
  .hero-content h1 { font-size: clamp(1.8rem, 7vw, 2.8rem); }

  .section { padding: 3rem 0; }

  .footer-bottom { flex-direction: column; text-align: center; }

  /* Mobile audit lesson (Castelbio 2026-05-31):
     If you add any 7-column grid with aspect-ratio:1/1 + min-height, override min-height
     here. At 375 viewport with 24px container padding + component padding + gaps, each
     cell of a 7-col grid has ≈40px available. min-height >50 = overflow.
     Standard override pattern:
     .cell { min-height: 36px; max-height: 56px; }
     .grid { gap: 0.2rem; }
  */
}

/* a11y: 44x44 hamburger tap target */
.nav-toggle { min-width: 44px; min-height: 44px; }

/* ==========================================================================
   Antogar — components + Morado-led overrides (layered after the base system)
   ========================================================================== */

/* Skip link */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--primary-dark); color: var(--white);
  padding: 0.6rem 1rem; border-radius: 0 0 var(--radius) 0;
}
.skip-link:focus { left: 0; color: var(--white); }

/* Logo mark */
.site-logo .logo-mark { width: 26px; height: 26px; color: var(--primary); flex: 0 0 auto; }
.site-logo span { letter-spacing: 0.01em; }

/* Morado-led buttons (override terracotta defaults) */
.btn-primary { background: var(--primary); border-color: var(--primary); color: var(--white); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); color: var(--white); }
.btn-outline { color: var(--primary-dark); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.nav-links .nav-cta { background: var(--primary); color: var(--white); }
.nav-links .nav-cta:hover { background: var(--primary-dark); color: var(--white); }
.nav-links a:hover { color: var(--primary-dark); }

/* Light buttons for use on the morado bands */
.btn-outline-light { background: transparent; color: var(--cream); border-color: rgba(255,252,247,0.55); }
.btn-outline-light:hover { background: var(--white); color: var(--primary-dark); border-color: var(--white); }
.hero-home .btn-primary, .cta-band .btn-primary {
  background: var(--white); color: var(--primary-dark); border-color: var(--white);
}
.hero-home .btn-primary:hover, .cta-band .btn-primary:hover {
  background: var(--cream); border-color: var(--cream); color: var(--primary-dark);
}

/* Utilities */
.center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.lead { font-size: 1.15rem; color: var(--earth-mid); }

/* Morado eyebrow on dark bands */
.eyebrow-light { color: var(--cream); }
.eyebrow-light::before, .eyebrow-light::after { background: var(--cream-dark); }

/* Hero — morado gradient (no photo dependency) */
.hero-home {
  min-height: 78vh;
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 78%);
  position: relative;
}
.hero-home::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(60% 60% at 75% 18%, rgba(255,252,247,0.16), transparent 70%);
}
.hero-home .hero-content { max-width: 760px; }
.hero-home .hero-content h1 { letter-spacing: -0.015em; }
.hero-since {
  margin-top: 1.6rem; font-size: 0.8rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--cream-dark);
}

/* Inner page header — same morado language, shorter */
.page-head {
  background: linear-gradient(140deg, var(--primary-dark) 0%, var(--primary) 85%);
  color: var(--cream); padding: 4.5rem 0 3.5rem; text-align: center;
}
.page-head h1 { color: var(--cream); margin: 0.8rem 0 0.6rem; }
.page-head p { color: var(--cream-dark); max-width: 640px; margin: 0 auto; font-size: 1.08rem; }

/* Stat strip */
.stat-strip { background: var(--primary-surface); padding: 2.4rem 0; }
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center;
}
.stat { display: flex; flex-direction: column; gap: 0.3rem; }
.stat-num {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(1.8rem, 4vw, 2.6rem); color: var(--primary-dark); line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.82rem; letter-spacing: 0.04em; color: var(--stone);
  text-transform: uppercase;
}
.stat-grid-cards .stat {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 1.8rem 1rem; box-shadow: var(--shadow-sm);
}

/* Range cards */
.range-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
}
.range-card {
  background: var(--white); border: 1px solid var(--cream-dark);
  border-radius: var(--radius-lg); padding: 2rem 1.5rem; text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.range-card:hover {
  transform: translateY(-4px); box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}
.garlic-ico { width: 48px; height: 48px; color: var(--primary); margin: 0 auto 0.75rem; }
.garlic-ico.lg { width: 60px; height: 60px; }

/* Icon system — sprite referenced via <use>, recoloured via currentColor */
.ico { width: 1.4rem; height: 1.4rem; color: var(--primary); flex: 0 0 auto; vertical-align: middle; }
.ico-sm { width: 1rem; height: 1rem; }
.range-card h3 { margin-bottom: 0.5rem; }
.range-card p { color: var(--earth-mid); font-size: 0.95rem; }

/* Tag pills */
.tag {
  display: inline-block; vertical-align: middle;
  font-family: var(--font-body); font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--primary-dark); background: var(--primary-surface);
  border: 1px solid var(--primary); border-radius: 999px;
  padding: 0.15rem 0.6rem; margin-left: 0.4rem;
}

/* Why / values grid */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.why-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
.why-item { border-top: 3px solid var(--primary); padding-top: 1.2rem; }
.why-item .ico { width: 30px; height: 30px; display: block; margin-bottom: 0.7rem; }
.why-item h3 { margin-bottom: 0.5rem; }
.why-item p { color: var(--earth-mid); }

/* Certifications */
.certs { padding: 3.5rem 0; background: var(--cream); text-align: center; }
.cert-badges {
  display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: center;
  margin: 1.4rem 0 1rem;
}
.cert-badge {
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  color: var(--primary-dark); background: var(--white);
  border: 1px solid var(--cream-dark); border-radius: var(--radius);
  padding: 0.6rem 1.1rem;
}
.certs-note { font-size: 0.82rem; color: var(--stone); max-width: 620px; margin: 0 auto; }

/* CTA band */
.cta-band {
  background: linear-gradient(140deg, var(--primary-dark), var(--primary));
  color: var(--cream); padding: 4.5rem 0; text-align: center;
}
.cta-band h2 { color: var(--cream); }
.cta-band p { color: var(--cream-dark); max-width: 560px; margin: 0.8rem auto 1.8rem; }

/* Variety rows (garlic page) */
.variety {
  display: flex; gap: 1.8rem; align-items: flex-start;
  padding: 2rem 0; border-bottom: 1px solid var(--cream-dark);
}
.variety:last-child { border-bottom: none; }
.variety-mark {
  flex: 0 0 auto; width: 84px; height: 84px; border-radius: 50%;
  background: var(--primary-surface); display: flex; align-items: center; justify-content: center;
}
.variety-mark .garlic-ico { margin: 0; }
.variety-body h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 0.4rem; }
.variety-body p { color: var(--earth-mid); max-width: 70ch; }

/* Spec table */
.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.spec-table {
  width: 100%; border-collapse: collapse; background: var(--white);
  font-size: 0.92rem; min-width: 640px;
}
.spec-table th {
  background: var(--primary-dark); color: var(--cream);
  font-family: var(--font-body); font-weight: 600; text-align: left;
  padding: 0.9rem 1rem; font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.spec-table td { padding: 0.9rem 1rem; border-bottom: 1px solid var(--cream-dark); color: var(--earth-mid); }
.spec-table tbody tr:nth-child(even) { background: var(--linen); }
.spec-table tbody tr:last-child td { border-bottom: none; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 2.5rem; align-items: start; }
.contact-details h2 { font-size: 1.4rem; margin-bottom: 1.2rem; }
.contact-details dl { margin-bottom: 1.6rem; }
.contact-details dt {
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--primary-dark); font-weight: 700; margin-top: 1.1rem;
  display: flex; align-items: center; gap: 0.5rem;
}
.contact-details dt .ico { color: var(--primary); }
.contact-details dd { color: var(--earth-mid); margin-top: 0.2rem; }
.contact-details dd a { color: var(--primary-dark); }
.contact-details dd a:hover { color: var(--primary); }

/* Form success */
.form-success { text-align: center; padding: 1.5rem 0; }
.form-success h3 { color: var(--primary-dark); margin-bottom: 0.5rem; }
.form-success p { color: var(--earth-mid); }

/* Footer additions */
.footer-cols { display: flex; flex-wrap: wrap; gap: 2.5rem; justify-content: space-between; }
.footer-addr { color: var(--stone-light); font-size: 0.9rem; line-height: 1.6; }
.footer-contact { display: flex; flex-direction: column; gap: 0.4rem; }
.footer-contact a { color: var(--stone-light); font-size: 0.9rem; }
.footer-contact a:hover { color: var(--cream); }
.footer-tagline {
  font-family: var(--font-display); font-style: italic; color: var(--cream-dark);
  margin-top: 2rem; font-size: 1.05rem;
}

/* Responsive */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .why-grid, .why-grid-2 { grid-template-columns: 1fr; gap: 1.5rem; }
  .range-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); gap: 1.8rem; }
}
@media (max-width: 560px) {
  .range-grid { grid-template-columns: 1fr; }
  .variety { flex-direction: column; gap: 1rem; align-items: center; text-align: center; }
  .variety-body p { text-align: left; }

  /* Spec table -> stacked cards on phones */
  .spec-table { min-width: 0; }
  .spec-table thead { display: none; }
  .spec-table, .spec-table tbody, .spec-table tr, .spec-table td { display: block; width: 100%; }
  .spec-table tr { border-bottom: 2px solid var(--cream-dark); padding: 0.6rem 0; }
  .spec-table td { border: none; padding: 0.35rem 1rem; }
  .spec-table td::before {
    content: attr(data-th); display: block;
    font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase;
    color: var(--primary-dark); font-weight: 700;
  }
}

/* Nav toggle: styled flat; hidden on desktop, shown on mobile.
   The min-width query avoids the cascade trap (a plain rule after the
   max-width:768 block would override display:block at all widths). */
.nav-toggle { background: none; border: none; color: var(--earth-mid); cursor: pointer; }
@media (min-width: 769px) { .nav-toggle { display: none; } }
