/* ==========================================================================
   Srilaxmi Avighna Private Limited — main.css
   Shared across all pages: index.html, products.html, about.html, 404.html
   Mobile-first · No frameworks · Plain CSS

   TABLE OF CONTENTS
   1.  CSS Variables (palette, type, spacing)
   2.  Reset & Base
   3.  Typography
   4.  Layout Utilities (.container, section padding)
   5.  Skip Link
   6.  Header & Navigation
   7.  Hero (index page)
   8.  Page Hero (inner pages)
   9.  Section: Stats / Numbers
   10. Section: Innovation / Pillars
   11. Section: Product Highlights (index)
   12. Section: Testimonial / Quote band
   13. Section: Full Product Catalogue (products.html)
   14. Section: About (about.html)
   15. Section: Contact Cards (about.html)
   16. Section: Map embed
   17. Footer
   18. Buttons
   19. Badges & Tags
   20. Cards (shared)
   21. Animations & micro-interactions
   22. Responsive — 640 px
   23. Responsive — 1024 px
   24. Accessibility helpers
   25. Print
   ========================================================================== */


/* --------------------------------------------------------------------------
   1. CSS VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --c-primary:   #2B6B4A;   /* deep forest green */
  --c-primary-d: #1e4f36;   /* darker green — hover */
  --c-accent:    #A7C4A0;   /* sage */
  --c-gold:      #C8973A;   /* warm gold — price, highlight */
  --c-bg:        #F6F1EA;   /* warm cream — page bg */
  --c-surface:   #FFFFFF;
  --c-ink:       #1A1A1A;
  --c-ink-2:     #4A4542;   /* secondary text */
  --c-ink-3:     #7A736D;   /* muted text */
  --c-border:    #E0D9D0;
  --c-error:     #C0392B;
  --c-success:   #27AE60;

  /* Typography */
  --f-heading: 'Playfair Display', Georgia, serif;
  --f-body:    'Inter', system-ui, -apple-system, sans-serif;

  /* Scale */
  --t-xs:   .75rem;
  --t-sm:   .875rem;
  --t-base: 1rem;
  --t-md:   1.125rem;
  --t-lg:   1.25rem;
  --t-xl:   1.5rem;
  --t-2xl:  2rem;
  --t-3xl:  2.625rem;
  --t-4xl:  3.25rem;
  --t-5xl:  4rem;

  /* Spacing */
  --s2:  .5rem;
  --s3:  .75rem;
  --s4:  1rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s10: 2.5rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;

  /* Layout */
  --max-w: 1200px;
  --pad-x: 1.25rem;

  /* Radii */
  --r-sm:   4px;
  --r-md:   10px;
  --r-lg:   18px;
  --r-xl:   28px;
  --r-pill: 999px;

  /* Shadows */
  --sh-card:       0 2px 14px rgba(0,0,0,.07);
  --sh-card-hover: 0 10px 36px rgba(43,107,74,.18);
  --sh-btn:        0 4px 18px rgba(43,107,74,.28);

  /* Transitions */
  --tr-fast: 140ms ease;
  --tr-base: 240ms ease;
  --tr-slow: 380ms ease;
}


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

html { scroll-behavior: smooth; font-size: 16px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
}

body {
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img, picture, video, svg { display: block; max-width: 100%; }
ul, ol { list-style: none; }
a { color: var(--c-primary); text-decoration: underline; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
button { cursor: pointer; font-family: var(--f-body); border: none; background: none; }
input, textarea, select { font-family: var(--f-body); }


/* --------------------------------------------------------------------------
   3. TYPOGRAPHY
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-heading);
  line-height: 1.22;
  color: var(--c-ink);
}
h1 { font-size: var(--t-2xl); }
h2 { font-size: var(--t-xl);  }
h3 { font-size: var(--t-lg);  }
h4 { font-size: var(--t-md);  font-family: var(--f-body); font-weight: 600; }

p { max-width: 68ch; }
p + p { margin-top: var(--s4); }

.lead {
  font-size: var(--t-md);
  color: var(--c-ink-2);
  max-width: 60ch;
  line-height: 1.75;
}

.section-label {
  display: inline-block;
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s3);
}

.section-title {
  font-size: var(--t-2xl);
  margin-bottom: var(--s4);
}

.section-subtitle {
  font-size: var(--t-md);
  color: var(--c-ink-2);
  max-width: 58ch;
  margin-bottom: var(--s10);
}

.text-center { text-align: center; }
.text-center p, .text-center .section-subtitle { margin-inline: auto; }


/* --------------------------------------------------------------------------
   4. LAYOUT UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: var(--s16); }
.section--lg { padding-block: var(--s24); }
.section--sm { padding-block: var(--s10); }

.section--cream   { background: var(--c-bg); }
.section--white   { background: var(--c-surface); }
.section--green   { background: var(--c-primary); color: #fff; }
.section--dark    { background: #141f19; color: #fff; }

/* Two-column split */
.split {
  display: flex;
  flex-direction: column;
  gap: var(--s10);
  align-items: flex-start;
}
.split--reverse { flex-direction: column-reverse; }


/* --------------------------------------------------------------------------
   5. SKIP LINK (critical CSS inlined in <head> too)
   -------------------------------------------------------------------------- */
.skip-link {
  position: absolute;
  top: -9999px; left: 1rem;
  padding: .5rem 1rem;
  background: var(--c-primary); color: #fff;
  font-size: var(--t-sm); border-radius: 0 0 4px 4px;
  z-index: 9999; text-decoration: none;
}
.skip-link:focus { top: 0; }


/* --------------------------------------------------------------------------
   6. HEADER & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid var(--c-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 66px; gap: var(--s4);
}

/* Logo */
.logo { text-decoration: none; flex-shrink: 0; }
.logo-wordmark {
  font-family: var(--f-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.logo-tagline {
  display: block;
  font-size: .6rem;
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-ink-3);
  margin-top: 1px;
}

/* Hamburger */
.nav-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  color: var(--c-ink); border-radius: var(--r-sm);
  transition: background var(--tr-fast);
}
.nav-toggle:hover { background: var(--c-bg); }
.nav-toggle:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

/* Nav */
.primary-nav {
  display: none;
  position: absolute; top: 66px; left: 0; right: 0;
  background: #fff;
  border-bottom: 1px solid var(--c-border);
  padding: var(--s4) var(--pad-x) var(--s6);
}
.primary-nav.is-open { display: block; }
.primary-nav ul { display: flex; flex-direction: column; gap: 2px; }

.primary-nav a {
  display: block;
  padding: var(--s3) var(--s3);
  color: var(--c-ink); font-weight: 500; font-size: var(--t-md);
  text-decoration: none; border-radius: var(--r-sm);
  transition: background var(--tr-fast), color var(--tr-fast);
}
.primary-nav a:hover,
.primary-nav a.active { background: var(--c-bg); color: var(--c-primary); }
.primary-nav a:focus-visible { outline: 3px solid var(--c-primary); outline-offset: -2px; }

.nav-cta {
  background: var(--c-primary) !important;
  color: #fff !important;
  border-radius: var(--r-pill) !important;
  text-align: center;
  padding-inline: var(--s6) !important;
  margin-top: var(--s3);
}
.nav-cta:hover { background: var(--c-primary-d) !important; }


/* --------------------------------------------------------------------------
   7. HERO (index page)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex; align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
}
/* Rich gradient overlay — readable text on any photo */
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    120deg,
    rgba(14, 38, 25, .82) 0%,
    rgba(14, 38, 25, .55) 55%,
    rgba(14, 38, 25, .22) 100%
  );
}
/* Fallback when no image */
.hero-bg--fallback {
  background: linear-gradient(135deg, #1e4f36 0%, #2B6B4A 60%, #3a8a60 100%);
}

.hero-content {
  position: relative; z-index: 1;
  padding-block: var(--s24);
  color: #fff;
}

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s4);
}
.hero-eyebrow::before {
  content: '';
  display: inline-block;
  width: 28px; height: 2px;
  background: var(--c-accent);
}

.hero h1 {
  font-size: var(--t-2xl);
  color: #fff;
  max-width: 16ch;
  line-height: 1.15;
  margin-bottom: var(--s6);
}
.hero h1 em {
  font-style: italic;
  color: var(--c-accent);
}

.hero-sub {
  font-size: var(--t-md);
  color: rgba(255,255,255,.85);
  max-width: 48ch;
  margin-bottom: var(--s8);
  line-height: 1.7;
}

.hero-ctas {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-bottom: var(--s10);
}

/* Trust pill row */
.trust-row {
  display: flex; flex-wrap: wrap; gap: var(--s3);
}
.trust-pill {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-xs); font-weight: 600;
  color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--r-pill);
  padding: var(--s2) var(--s4);
  backdrop-filter: blur(4px);
}
.trust-pill svg { flex-shrink: 0; }

/* Scroll indicator */
.scroll-hint {
  position: absolute; bottom: var(--s8); left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s2);
  color: rgba(255,255,255,.5);
  font-size: var(--t-xs);
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: bobble 2.2s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}


/* --------------------------------------------------------------------------
   8. PAGE HERO (inner pages — products, about)
   -------------------------------------------------------------------------- */
.page-hero {
  background: linear-gradient(135deg, var(--c-primary-d) 0%, var(--c-primary) 100%);
  padding-block: var(--s16);
  color: #fff;
}
.page-hero-inner { max-width: 680px; }
.page-hero .breadcrumb {
  display: flex; align-items: center; gap: var(--s2);
  font-size: var(--t-xs); font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: var(--s4);
}
.page-hero .breadcrumb a { color: var(--c-accent); text-decoration: none; }
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 { color: #fff; font-size: var(--t-2xl); margin-bottom: var(--s4); }
.page-hero p  { color: rgba(255,255,255,.82); font-size: var(--t-md); max-width: 52ch; }


/* --------------------------------------------------------------------------
   9. STATS BAND
   -------------------------------------------------------------------------- */
.stats-band {
  background: var(--c-primary);
  padding-block: var(--s10);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s8) var(--s6);
}
.stat-item { text-align: center; }
.stat-number {
  font-family: var(--f-heading);
  font-size: var(--t-3xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-unit {
  font-size: var(--t-lg);
  color: var(--c-accent);
}
.stat-label {
  font-size: var(--t-sm);
  color: rgba(255,255,255,.7);
  margin-top: var(--s2);
  letter-spacing: .03em;
}


/* --------------------------------------------------------------------------
   10. INNOVATION / PILLAR CARDS
   -------------------------------------------------------------------------- */
.pillar-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

.pillar-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  padding: var(--s8) var(--s6);
  border: 1px solid var(--c-border);
  transition: transform var(--tr-base), box-shadow var(--tr-base);
}
.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--sh-card-hover);
}

.pillar-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--c-primary), #3a8a60);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--s4);
  flex-shrink: 0;
}
.pillar-icon svg { color: #fff; }

.pillar-card h3 {
  font-size: var(--t-lg);
  margin-bottom: var(--s3);
}
.pillar-card p {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  max-width: none;
}


/* --------------------------------------------------------------------------
   11. PRODUCT HIGHLIGHTS (index — featured 3 cards)
   -------------------------------------------------------------------------- */
.product-highlights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}

/* Shared with full catalogue — see section 13 */


/* --------------------------------------------------------------------------
   12. QUOTE BAND
   -------------------------------------------------------------------------- */
.quote-band {
  background: var(--c-primary);
  padding-block: var(--s16);
  text-align: center;
}
.quote-band blockquote {
  font-family: var(--f-heading);
  font-size: var(--t-xl);
  font-style: italic;
  color: #fff;
  max-width: 36ch;
  margin-inline: auto;
  line-height: 1.5;
}
.quote-band blockquote::before { content: '\201C'; }
.quote-band blockquote::after  { content: '\201D'; }
.quote-band cite {
  display: block;
  margin-top: var(--s4);
  font-size: var(--t-sm);
  font-style: normal;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--c-accent);
}


/* --------------------------------------------------------------------------
   13. FULL PRODUCT CATALOGUE (products.html)
   -------------------------------------------------------------------------- */
.filter-bar {
  display: flex; flex-wrap: wrap; gap: var(--s3);
  margin-bottom: var(--s8);
}
.filter-btn {
  padding: var(--s2) var(--s5, 1.25rem);
  border-radius: var(--r-pill);
  border: 1.5px solid var(--c-border);
  background: var(--c-surface);
  font-size: var(--t-sm); font-weight: 600;
  color: var(--c-ink-2);
  cursor: pointer;
  transition: all var(--tr-fast);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.filter-btn:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 2px; }

.catalogue-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s8);
}

/* Product card — used on both index highlights and products page */
.product-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-card);
  display: flex; flex-direction: column;
  transition: transform var(--tr-base), box-shadow var(--tr-base);
  border: 1px solid var(--c-border);
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-card-hover);
}

.product-card__img-wrap {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--c-bg);
}
/* Square ratio on products page */
.product-card--square .product-card__img-wrap { aspect-ratio: 1/1; }

.product-card__img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform var(--tr-slow);
}
.product-card:hover .product-card__img { transform: scale(1.05); }

/* Category badge */
.product-card__badge {
  position: absolute; top: var(--s3); left: var(--s3);
  background: var(--c-primary); color: #fff;
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px var(--s3);
  border-radius: var(--r-pill);
}

.product-card__body {
  padding: var(--s6);
  display: flex; flex-direction: column;
  flex: 1; gap: var(--s3);
}

.product-card__category {
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary);
}

.product-card__title {
  font-size: var(--t-lg);
  font-family: var(--f-heading);
  line-height: 1.3;
  color: var(--c-ink);
}

.product-card__desc {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  max-width: none;
  line-height: 1.65;
}

.product-card__meta {
  display: flex; align-items: center;
  justify-content: space-between;
  flex-wrap: wrap; gap: var(--s3);
  margin-top: auto; padding-top: var(--s4);
  border-top: 1px solid var(--c-border);
}

.product-card__price {
  font-size: var(--t-xl);
  font-weight: 700;
  color: var(--c-gold);
}
.product-card__price--note {
  font-size: var(--t-xs);
  color: var(--c-ink-3);
  font-weight: 400;
  display: block;
}

.product-card__bullets {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--s2);
}
.product-card__bullets li {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  padding-left: var(--s5, 1.25rem);
  position: relative;
}
.product-card__bullets li::before {
  content: '✓';
  position: absolute; left: 0;
  color: var(--c-primary); font-weight: 700;
}

/* Ingredient tags */
.ingredient-tags {
  display: flex; flex-wrap: wrap; gap: var(--s2);
  margin-top: var(--s2);
}
.ingredient-tag {
  font-size: var(--t-xs); font-weight: 600;
  background: #EBF5EE; color: var(--c-primary);
  border-radius: var(--r-pill);
  padding: 2px var(--s3);
}


/* --------------------------------------------------------------------------
   14. ABOUT PAGE
   -------------------------------------------------------------------------- */
.about-intro { max-width: 760px; }

/* Director / team cards */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
.team-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: var(--sh-card);
}
.team-card__img-wrap {
  aspect-ratio: 1/1;
  background: linear-gradient(135deg, var(--c-primary) 0%, #3a8a60 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem; /* emoji / initials fallback */
  color: rgba(255,255,255,.7);
  overflow: hidden;
}
.team-card__img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
}
.team-card__body {
  padding: var(--s6);
}
.team-card__role {
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: var(--s2);
}
.team-card__name {
  font-size: var(--t-xl);
  font-family: var(--f-heading);
  margin-bottom: var(--s2);
}
.team-card__email {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  text-decoration: none;
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-top: var(--s3);
}
.team-card__email:hover { text-decoration: underline; }


/* --------------------------------------------------------------------------
   15. CONTACT CARDS (about.html)
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}
.contact-card {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  padding: var(--s8);
  box-shadow: var(--sh-card);
  display: flex; flex-direction: column; gap: var(--s4);
}
.contact-card__icon {
  width: 48px; height: 48px;
  background: #EBF5EE;
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-primary);
}
.contact-card h3 {
  font-size: var(--t-lg);
  margin-bottom: var(--s2);
}
.contact-card p, .contact-card a {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  text-decoration: none;
  max-width: none;
}
.contact-card a:hover { text-decoration: underline; color: var(--c-primary); }

/* Address block */
.address-block {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  padding: var(--s8);
  box-shadow: var(--sh-card);
}
.address-block h3 { margin-bottom: var(--s4); }
address {
  font-style: normal;
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  line-height: 2;
}

/* Contact form (about page) */
.contact-form-wrap {
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  padding: var(--s8);
  box-shadow: var(--sh-card);
}
.contact-form { display: flex; flex-direction: column; gap: var(--s4); }
.form-row { display: flex; flex-direction: column; gap: var(--s4); }
.form-group { display: flex; flex-direction: column; gap: var(--s2); }
.form-group label { font-size: var(--t-sm); font-weight: 600; }
.form-group input,
.form-group textarea,
.form-group select {
  padding: var(--s3) var(--s4);
  border: 1.5px solid var(--c-border);
  border-radius: var(--r-md);
  background: var(--c-bg);
  font-size: var(--t-base); color: var(--c-ink);
  transition: border-color var(--tr-fast), box-shadow var(--tr-fast);
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(43,107,74,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-status {
  font-size: var(--t-sm); padding: var(--s3) var(--s4);
  border-radius: var(--r-md); display: none;
}
.form-status.success { display: block; background: #ebf9f0; color: var(--c-success); border: 1px solid var(--c-success); }
.form-status.error   { display: block; background: #fdecea; color: var(--c-error);   border: 1px solid var(--c-error); }


/* --------------------------------------------------------------------------
   16. MAP / EMBED BAND
   -------------------------------------------------------------------------- */
.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--c-border);
  height: 320px;
  background: var(--c-bg);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-ink-3);
  font-size: var(--t-sm);
  text-align: center;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }


/* --------------------------------------------------------------------------
   17. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: #0e1a13;
  color: rgba(255,255,255,.68);
  padding-block: var(--s16);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s10);
}
.footer-brand .logo-wordmark { color: #fff; font-size: var(--t-lg); }
.footer-brand .logo-tagline  { color: rgba(255,255,255,.45); }
.footer-brand p {
  margin-top: var(--s4);
  font-size: var(--t-sm);
  color: rgba(255,255,255,.55);
  max-width: 34ch;
}

.footer-col h4 {
  font-size: var(--t-sm); font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.9);
  margin-bottom: var(--s4);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a {
  font-size: var(--t-sm); color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color var(--tr-fast);
}
.footer-col a:hover { color: var(--c-accent); }

.footer-bottom {
  margin-top: var(--s10);
  padding-top: var(--s6);
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex; flex-direction: column; align-items: center;
  gap: var(--s3); text-align: center;
  font-size: var(--t-xs); color: rgba(255,255,255,.35);
}
.footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.footer-bottom a:hover { color: var(--c-accent); }

/* Social icons in footer */
.social-row {
  display: flex; gap: var(--s3); flex-wrap: wrap;
  margin-top: var(--s4);
}
.social-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.18);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: background var(--tr-fast), color var(--tr-fast), border-color var(--tr-fast);
}
.social-btn:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
}
.social-btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }


/* --------------------------------------------------------------------------
   18. BUTTONS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--s2);
  padding: .75rem 1.75rem;
  border-radius: var(--r-pill);
  font-family: var(--f-body);
  font-size: var(--t-base); font-weight: 600;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer; min-height: 48px;
  transition: background var(--tr-fast), color var(--tr-fast),
              border-color var(--tr-fast), transform var(--tr-fast),
              box-shadow var(--tr-fast);
}
.btn:focus-visible { outline: 3px solid var(--c-primary); outline-offset: 3px; }

.btn-primary {
  background: var(--c-primary); color: #fff; border-color: var(--c-primary);
}
.btn-primary:hover {
  background: var(--c-primary-d); border-color: var(--c-primary-d);
  color: #fff; transform: translateY(-2px); box-shadow: var(--sh-btn);
}

.btn-outline {
  background: transparent; color: #fff; border-color: rgba(255,255,255,.65);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12); border-color: #fff; color: #fff;
}

.btn-outline-green {
  background: transparent; color: var(--c-primary); border-color: var(--c-primary);
}
.btn-outline-green:hover {
  background: var(--c-primary); color: #fff;
  transform: translateY(-2px); box-shadow: var(--sh-btn);
}

.btn-gold {
  background: var(--c-gold); color: #fff; border-color: var(--c-gold);
}
.btn-gold:hover {
  background: #b5822e; border-color: #b5822e; color: #fff;
  transform: translateY(-2px);
}

.btn:disabled, .btn[aria-disabled="true"] {
  opacity: .5; cursor: not-allowed; transform: none; box-shadow: none;
}
.btn--full { width: 100%; }


/* --------------------------------------------------------------------------
   19. BADGES & TAGS
   -------------------------------------------------------------------------- */
.badge {
  display: inline-block;
  font-size: var(--t-xs); font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 3px var(--s3);
  border-radius: var(--r-pill);
}
.badge-green  { background: #EBF5EE; color: var(--c-primary); }
.badge-gold   { background: #FBF0E0; color: var(--c-gold); }
.badge-cream  { background: var(--c-bg); color: var(--c-ink-2); }


/* --------------------------------------------------------------------------
   20. SHARED CARDS
   -------------------------------------------------------------------------- */
.icon-card {
  display: flex; flex-direction: column; gap: var(--s4);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1px solid var(--c-border);
  padding: var(--s8) var(--s6);
  box-shadow: var(--sh-card);
}


/* --------------------------------------------------------------------------
   21. ANIMATIONS
   -------------------------------------------------------------------------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.anim-fadeup {
  animation: fadeUp .55s ease both;
}
.anim-delay-1 { animation-delay: .1s; }
.anim-delay-2 { animation-delay: .2s; }
.anim-delay-3 { animation-delay: .3s; }

/* JS-driven: add .is-visible via IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}


/* --------------------------------------------------------------------------
   22. RESPONSIVE — 640 px
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  :root { --pad-x: 2rem; }

  h1 { font-size: var(--t-3xl); }
  h2 { font-size: var(--t-2xl); }
  .section-title { font-size: var(--t-3xl); }

  /* Hide hamburger, show desktop nav */
  .nav-toggle { display: none; }
  .primary-nav {
    display: flex !important;
    position: static; border: none; padding: 0; background: transparent;
    align-items: center;
  }
  .primary-nav ul { flex-direction: row; align-items: center; gap: var(--s2); }
  .primary-nav a { font-size: var(--t-sm); padding: var(--s2) var(--s3); }
  .nav-cta { margin-top: 0 !important; }

  /* Hero */
  .hero h1 { font-size: var(--t-3xl); }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(4, 1fr); }

  /* Pillars */
  .pillar-grid { grid-template-columns: repeat(2, 1fr); }

  /* Products */
  .product-highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .catalogue-grid { grid-template-columns: repeat(2, 1fr); }

  /* About */
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  /* Form */
  .form-row { flex-direction: row; }
  .form-row .form-group { flex: 1; }

  /* Split */
  .split, .split--reverse {
    flex-direction: row;
    align-items: center;
  }
  .split > *, .split--reverse > * { flex: 1; }

  /* Page hero */
  .page-hero h1 { font-size: var(--t-3xl); }

  /* Map */
  .map-wrap { height: 420px; }
}


/* --------------------------------------------------------------------------
   23. RESPONSIVE — 1024 px
   -------------------------------------------------------------------------- */
@media (min-width: 1024px) {
  :root { --pad-x: 3rem; }

  h1 { font-size: var(--t-4xl); }
  h2 { font-size: var(--t-3xl); }
  .section-title { font-size: var(--t-4xl); }

  .hero h1 { font-size: var(--t-4xl); }
  .hero { min-height: 95vh; }

  /* Products */
  .product-highlights-grid { grid-template-columns: repeat(3, 1fr); }
  .catalogue-grid { grid-template-columns: repeat(3, 1fr); }

  /* About */
  .team-grid { grid-template-columns: repeat(2, 1fr); }

  /* Pillars */
  .pillar-grid { grid-template-columns: repeat(3, 1fr); }

  /* Footer */
  .footer-grid { grid-template-columns: 2.5fr 1fr 1fr 1.5fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }

  /* Stats */
  .stat-number { font-size: var(--t-4xl); }
}


/* --------------------------------------------------------------------------
   24. ACCESSIBILITY
   -------------------------------------------------------------------------- */
:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
:focus:not(:focus-visible) { outline: none; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}


/* --------------------------------------------------------------------------
   25. PRINT
   -------------------------------------------------------------------------- */
@media print {
  .site-header, .site-footer, .hero-bg, .scroll-hint { display: none !important; }
  body { background: #fff; color: #000; }
  a { color: #000; text-decoration: underline; }
}


/* ==========================================================================
   GATEWAY CARDS (home page — links to other pages)
   ========================================================================== */
.gateway-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s6);
}

.gateway-card {
  display: flex;
  flex-direction: column;
  gap: var(--s4);
  background: var(--c-surface);
  border-radius: var(--r-lg);
  border: 1.5px solid var(--c-border);
  padding: var(--s8);
  text-decoration: none;
  color: var(--c-ink);
  box-shadow: var(--sh-card);
  transition: transform var(--tr-base), box-shadow var(--tr-base), border-color var(--tr-base);
}

.gateway-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sh-card-hover);
  border-color: var(--c-accent);
  text-decoration: none;
  color: var(--c-ink);
}

.gateway-card:focus-visible {
  outline: 3px solid var(--c-primary);
  outline-offset: 3px;
}

.gateway-card__icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--c-primary), #3a8a60);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

.gateway-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
  flex: 1;
}

.gateway-card__body h3 {
  font-size: var(--t-xl);
  color: var(--c-primary);
}

.gateway-card__body p {
  font-size: var(--t-sm);
  color: var(--c-ink-2);
  line-height: 1.7;
  max-width: none;
}

.gateway-card__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  font-size: var(--t-sm);
  font-weight: 700;
  color: var(--c-primary);
  margin-top: auto;
  padding-top: var(--s4);
  border-top: 1px solid var(--c-border);
  transition: gap var(--tr-fast);
}

.gateway-card:hover .gateway-card__cta {
  gap: var(--s3);
}

@media (min-width: 640px) {
  .gateway-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
