/* ============================================================
   SYNDET INDIA — v4-koparo-style
   CSS Architecture: Variables → Reset → Base → Layout →
   Components → Sections → Animations → Responsive
   ============================================================ */

/* ── 1. DESIGN TOKENS ─────────────────────────────────────── */
:root {
  --bg:                #FFFFFF;
  --bg-alt:            #FAF8F3;
  --bg-tint:           #E8F0DC;
  --green-primary:     #2D5016;
  --green-primary-hov: #1E3A0C;
  --green-accent:      #6BA82E;
  --amber:             #F0A500;
  --text:              #1A1A1A;
  --text-mute:         #666666;
  --border:            #E8E8E8;
  --footer-bg:         #0F1419;
  --footer-text:       #FFFFFF;

  /* Typography scale */
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-display: 'Space Grotesk', 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Spacing */
  --section-py: 6rem;
  --section-px: 1.5rem;
  --max-w: 1200px;
  --card-gap: 1.5rem;
  --radius-card: 12px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-card: 0 2px 12px rgba(0,0,0,0.07);
  --shadow-card-hov: 0 8px 32px rgba(0,0,0,0.13);
  --shadow-modal: 0 24px 80px rgba(0,0,0,0.25);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 0.35s;
}

/* ── 2. RESET & BASE ───────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden; /* Safety net: prevents any element from causing horizontal scroll */
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent; /* Remove iOS tap flash on tappable elements */
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font: inherit;
}

/* ── 3. TYPOGRAPHY ─────────────────────────────────────────── */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); font-weight: 600; line-height: 1.1; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-accent);
  margin-bottom: 0.75rem;
}

.section-subhead {
  font-size: 1.125rem;
  color: var(--text-mute);
  line-height: 1.6;
  margin-top: 0.75rem;
  max-width: 560px;
}

/* ── 4. LAYOUT UTILITIES ──────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.section {
  padding: var(--section-py) var(--section-px);
}

.section--alt {
  background: var(--bg-alt);
}

.section--tint {
  background: var(--bg-tint);
}

.section--dark {
  background: var(--green-primary);
  color: white;
}

.section__header {
  margin-bottom: 3rem;
}

.section__header--center {
  text-align: center;
}

.section__header--center .section-subhead {
  margin-inline: auto;
}

/* ── 5. BUTTONS ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: background var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  text-decoration: none;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--green-primary);
  color: white;
}

.btn--primary:hover {
  background: var(--green-primary-hov);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(45,80,22,0.3);
}

.btn--secondary {
  background: transparent;
  color: var(--green-primary);
  border: 1.5px solid var(--green-primary);
}

.btn--secondary:hover {
  background: var(--green-primary);
  color: white;
  transform: translateY(-2px);
}

.btn--white {
  background: white;
  color: var(--green-primary);
}

.btn--white:hover {
  background: var(--bg-alt);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn--outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.btn--outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-2px);
}

.text-link {
  color: var(--green-primary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap var(--dur) var(--ease), opacity var(--dur);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: transparent;
}

.text-link:hover {
  gap: 0.5rem;
  text-decoration-color: var(--green-primary);
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
}

/* ── 6. NAV ───────────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              backdrop-filter var(--dur);
}

.site-nav.scrolled {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--green-primary);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.01em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 0.875rem;
  border-radius: 6px;
  transition: color var(--dur), background var(--dur);
  position: relative;
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--green-primary);
  background: rgba(45,80,22,0.05);
}

.nav-links a[aria-current="page"] {
  color: var(--green-primary);
  font-weight: 600;
}

.nav-links a[aria-current="page"]::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--green-primary);
  border-radius: 1px;
}

.nav-cta {
  margin-left: 0.5rem;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  /* Ensure minimum 44×44 tap target */
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  cursor: pointer;
  background: none;
  border: none;
  z-index: 1100; /* Above mobile overlay and nav */
  position: relative;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease), opacity 0.3s, width 0.3s;
  transform-origin: center;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  width: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  z-index: 1000; /* above sticky nav (900); nav-toggle sits above this at 1100 */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--text);
  padding: 0.5rem 2rem;
  transition: color var(--dur);
}

.nav-mobile a:hover,
.nav-mobile a[aria-current="page"] {
  color: var(--green-primary);
}

.nav-mobile .btn {
  margin-top: 1rem;
}

/* ── 7. HERO ──────────────────────────────────────────────── */
.hero {
  background: var(--bg-tint);
  padding: 8rem 1.5rem 5rem;
  position: relative;
  overflow: hidden;
  min-height: 90vh;
  min-height: 90dvh; /* dvh handles iOS Safari dynamic toolbar; vh fallback above */
  display: flex;
  align-items: center;
}

.hero-blob {
  position: absolute;
  top: -100px;
  right: -150px;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(107,168,46,0.18) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.hero-leaf {
  position: absolute;
  top: 5%;
  right: 3%;
  opacity: 0.22;
  pointer-events: none;
}

.hero-inner {
  max-width: var(--max-w);
  margin-inline: auto;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  align-items: center;
}

.hero-content {
  grid-column: 1 / 8;
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.25rem;
  color: var(--text);
}

.hero-subhead {
  font-size: 1.125rem;
  color: var(--text-mute);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-mute);
  font-weight: 500;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.hero-trust .star {
  color: var(--amber);
}

.hero-visual {
  grid-column: 8 / 13;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.hero-img-main {
  position: relative;
  z-index: 3;
  width: 280px;
  height: 280px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.18);
  transform: rotate(-3deg);
  background: white;
}

.hero-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-sm {
  position: absolute;
  border-radius: 14px;
  overflow: hidden;
  background: white;
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.hero-img-sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-img-sm--1 {
  width: 140px;
  height: 140px;
  top: 20px;
  right: -20px;
  transform: rotate(4deg);
  z-index: 2;
}

.hero-img-sm--2 {
  width: 120px;
  height: 120px;
  bottom: 30px;
  left: -10px;
  transform: rotate(2deg);
  z-index: 4;
}

/* ── 8. MARQUEE ───────────────────────────────────────────── */
.marquee-strip {
  background: var(--green-primary);
  color: white;
  padding: 1rem 0;
  overflow: hidden;
  position: relative;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 0;
  flex-shrink: 0;
  padding-right: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 1rem;
  white-space: nowrap;
}

.marquee-dot {
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.5);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Respect users who prefer reduced motion: pause marquee, drop scroll/modal animations */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .marquee-track { animation: none !important; }
  .fade-up { opacity: 1 !important; transform: none !important; }
}

/* ── 9. STATS STRIP ───────────────────────────────────────── */
.stats-strip {
  background: var(--bg-alt);
  padding: 4rem 1.5rem;
}

.stats-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item__number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--green-primary);
  line-height: 1;
  display: block;
}

.stat-item__label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-top: 0.5rem;
  display: block;
}

/* ── 10. PRODUCT CARDS ────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--card-gap);
}

.product-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hov);
}

.product-card__img-wrap {
  background: var(--bg-alt);
  aspect-ratio: 1;
  overflow: hidden;
  position: relative;
}

.product-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-card__img-wrap img {
  transform: scale(1.05);
}

.product-card__view-btn {
  position: absolute;
  bottom: -48px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green-primary);
  color: white;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  transition: bottom 0.35s var(--ease);
  cursor: pointer;
  border: none;
}

.product-card:hover .product-card__view-btn {
  bottom: 12px;
}

.product-card__body {
  padding: 1rem 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.4rem;
}

.product-card__name {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  margin-top: 0.1rem;
}

.product-card__teaser {
  font-size: 0.875rem;
  color: var(--text-mute);
  line-height: 1.5;
  flex: 1;
}

.trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.6rem;
  margin-top: 0.4rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green-primary);
}

.trust-badge::before {
  content: '✓';
  font-size: 0.65rem;
  color: var(--green-accent);
  font-weight: 700;
}

.product-card__link {
  margin-top: 0.75rem;
}

/* ── 11. SHOP BY NEED ─────────────────────────────────────── */
.need-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}

.need-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
  text-decoration: none;
  color: inherit;
}

.need-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hov);
}

.need-card__icon {
  width: 52px;
  height: 52px;
  color: var(--green-primary);
}

.need-card__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.need-card__sub {
  font-size: 0.875rem;
  color: var(--text-mute);
  line-height: 1.5;
}

.need-card__arrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--green-accent);
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ── 12. TRUST STRIP ──────────────────────────────────────── */
.trust-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.trust-col__icon {
  width: 56px;
  height: 56px;
  color: var(--green-primary);
  margin-bottom: 1.25rem;
}

.trust-col__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.trust-col p {
  font-size: 0.9rem;
  color: var(--text-mute);
  line-height: 1.6;
}

/* ── 13. BRAND STORY ──────────────────────────────────────── */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.story-left h2 {
  position: sticky;
  top: 7rem;
}

.story-right p {
  color: var(--text-mute);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ── 14. CTA BANNER ───────────────────────────────────────── */
.cta-banner {
  background: var(--green-primary);
  color: white;
  padding: 7rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner__leaf {
  position: absolute;
  bottom: -40px;
  right: -60px;
  opacity: 0.12;
  color: white;
  pointer-events: none;
}

.cta-banner h2 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 1rem;
}

.cta-banner__sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5rem;
  max-width: 480px;
  margin-inline: auto;
}

/* ── 16. FAQ ──────────────────────────────────────────────── */
.faq-list {
  max-width: 760px;
  margin-inline: auto;
}

.faq-list details {
  border-bottom: 1px solid var(--border);
}

.faq-list details:first-child {
  border-top: 1px solid var(--border);
}

.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 0;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  transition: color var(--dur);
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary:hover { color: var(--green-primary); }

.faq-list details[open] summary { color: var(--green-primary); }

.faq-plus {
  width: 20px;
  height: 20px;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
  color: var(--text-mute);
  transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s;
}

details[open] .faq-plus {
  transform: rotate(45deg);
  border-color: var(--green-primary);
  color: var(--green-primary);
}

.faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.95rem;
  color: var(--text-mute);
  line-height: 1.7;
  padding-right: 2rem;
}

/* ── 17. CONTACT PROMPT ───────────────────────────────────── */
.contact-prompt {
  background: var(--bg-alt);
}

.contact-prompt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-prompt-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-prompt-right p {
  color: var(--text-mute);
  font-size: 1rem;
  line-height: 1.65;
}

/* ── 18. FOOTER ───────────────────────────────────────────── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 1.5rem 2rem;
}

.footer-grid {
  max-width: var(--max-w);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand__logo {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: white;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand__tagline {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,0.6);
  font-style: italic;
  display: block;
  margin-bottom: 0.75rem;
}

.footer-brand__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.625rem;
}

.footer-col ul li a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  transition: color var(--dur);
  text-decoration: none;
}

.footer-col ul li a:hover {
  color: white;
}

.footer-contact-item {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.875rem;
  font-size: 0.875rem;
}

.footer-contact-item span:first-child {
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.footer-contact-item a {
  color: rgba(255,255,255,0.7);
  transition: color var(--dur);
  text-decoration: none;
}

.footer-contact-item a:hover {
  color: white;
}

.footer-bottom {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
}

/* ── 19. PRODUCTS PAGE SPECIFICS ──────────────────────────── */
.page-header {
  padding: 8rem 1.5rem 4rem;
  background: var(--bg-alt);
}

.page-header__inner {
  max-width: var(--max-w);
  margin-inline: auto;
}

.page-header h1 {
  margin: 0.5rem 0 0.75rem;
}

.category-strip {
  position: sticky;
  top: 68px;
  z-index: 800;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
}

.category-strip__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

/* On phones, chips scroll horizontally instead of wrapping to many rows */
@media (max-width: 600px) {
  .category-strip__inner {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .category-strip__inner::-webkit-scrollbar { display: none; }
  .cat-chip { flex: 0 0 auto; }
}

.cat-chip {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  color: var(--text-mute);
  cursor: pointer;
  transition: background var(--dur), color var(--dur), border-color var(--dur);
  text-decoration: none;
  background: none;
}

.cat-chip:hover,
.cat-chip.active {
  background: var(--green-primary);
  color: white;
  border-color: var(--green-primary);
}

.category-section {
  padding: 4rem 1.5rem;
}

.category-section + .category-section {
  border-top: 1px solid var(--border);
}

.category-section__header {
  max-width: var(--max-w);
  margin-inline: auto 0;
  margin-bottom: 2.5rem;
}

.category-intro {
  font-size: 1rem;
  color: var(--text-mute);
  margin-top: 0.5rem;
}

.category-section .products-grid {
  max-width: var(--max-w);
  margin-inline: auto;
}

/* ── 20. MODAL ────────────────────────────────────────────── */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  backdrop-filter: blur(4px);
}

.modal-backdrop.open {
  display: flex;
  animation: fadeIn 0.25s ease-out;
}

.modal {
  background: white;
  border-radius: 24px;
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.35s var(--ease);
  position: relative;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background var(--dur);
  border: none;
  color: var(--text);
  z-index: 10;
}

.modal__close:hover {
  background: rgba(0,0,0,0.15);
}

.modal__img {
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.modal__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal__body {
  padding: 2rem 2.5rem 2.5rem;
}

.modal__name {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.modal__desc {
  color: var(--text-mute);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.modal__specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
}

.spec-row {
  display: contents;
}

.spec-label,
.spec-value {
  padding: 0.875rem 1rem;
  font-size: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.spec-label {
  font-weight: 600;
  color: var(--text);
  background: var(--bg-alt);
}

.spec-value {
  color: var(--text-mute);
  background: white;
}

.spec-row:last-child .spec-label,
.spec-row:last-child .spec-value {
  border-bottom: none;
}

/* ── 21. CONTACT PAGE ─────────────────────────────────────── */
.quick-connect {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
  max-width: var(--max-w);
  margin-inline: auto;
}

.connect-tile {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.connect-tile:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hov);
}

.connect-tile__icon {
  width: 48px;
  height: 48px;
  background: rgba(45,80,22,0.08);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-primary);
}

.connect-tile__label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.connect-tile__value {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text);
}

.connect-tile__action {
  font-size: 0.8rem;
  color: var(--green-accent);
  font-weight: 600;
}

.form-section-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-item__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mute);
}

.contact-detail-item__value {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
}

.contact-detail-item__value a {
  color: var(--green-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
}

.form-field input,
.form-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 16px; /* 16px minimum prevents iOS Safari auto-zoom on focus */
  color: var(--text);
  background: white;
  transition: border-color var(--dur), box-shadow var(--dur);
  resize: none;
  outline: none;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--green-primary);
  box-shadow: 0 0 0 3px rgba(45,80,22,0.1);
}

.form-field textarea {
  min-height: 140px;
}

.form-submit-btn {
  align-self: flex-start;
}

.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--card-gap);
  max-width: var(--max-w);
  margin-inline: auto;
}

.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
}

.service-card h3 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  margin-bottom: 0.75rem;
}

.service-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-card ul li {
  font-size: 0.9rem;
  color: var(--text-mute);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-card ul li::before {
  content: '✓';
  color: var(--green-accent);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: var(--max-w);
  margin-inline: auto;
}

.why-item {
  padding: 1.5rem;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
}

.why-item__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-accent);
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.why-item h4 {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}

.why-item p {
  font-size: 0.85rem;
  color: var(--text-mute);
  line-height: 1.55;
}

/* ── 22. SCROLL FADE-IN ───────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

/* ── 23. DECORATIVE LEAF SVG (reusable) ────────────────────── */
.leaf-deco {
  position: absolute;
  pointer-events: none;
}

/* ── 24. RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cols { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .need-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { grid-column: 1 / -1; }
  .hero-visual { grid-column: 1 / -1; min-height: 300px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .story-grid { grid-template-columns: 1fr; gap: 2rem; }
  .story-left h2 { position: static; }
  .form-section-grid { grid-template-columns: 1fr; gap: 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
    --section-px: 1.25rem;
  }

  .nav-links,
  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    padding: 6rem 1.25rem 4rem;
    min-height: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .hero-content { grid-column: 1; }
  .hero-visual { grid-column: 1; min-height: 260px; }

  .hero-img-main {
    width: 200px;
    height: 200px;
  }

  .hero-img-sm--1 { width: 100px; height: 100px; }
  .hero-img-sm--2 { width: 90px; height: 90px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .products-grid { grid-template-columns: repeat(2, 1fr); }

  .need-grid { grid-template-columns: 1fr; }

  .trust-cols { grid-template-columns: 1fr; gap: 2rem; }

  .quick-connect { grid-template-columns: 1fr; }

  .form-row { grid-template-columns: 1fr; }

  .form-submit-btn { width: 100%; justify-content: center; }

  /* Comfortable tap targets on mobile */
  .cat-chip { padding: 0.6rem 1rem; }
  .btn { min-height: 44px; }

  .contact-prompt-grid { grid-template-columns: 1fr; gap: 2rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

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

  .category-strip { top: 60px; }

  .modal__specs { grid-template-columns: 1fr; }
  .spec-label { background: var(--bg-alt); }
  .spec-value { border-bottom: 1px solid var(--border); }
  .spec-row:last-child .spec-value { border-bottom: none; }

  .modal__body { padding: 1.5rem; }

  .why-grid { grid-template-columns: 1fr; }

  .cta-banner { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; align-items: flex-start; }
}
