/* =============================================================
   Medico Sattva Healthcare — Global Stylesheet (Themed)
   Theme palette: Green #2D6B47 · Navy #14385F · Cream #F8F5EE
   Fonts: Inter (body) + Poppins (headings)
   ============================================================= */

:root {
  --green-primary: #2D6B47;
  --green-deep: #225738;
  --green-light: #5A8A6E;
  --green-tint: #E8F0EB;
  --navy-primary: #14385F;
  --navy-deep: #0F2A47;
  --navy-soft: #2B4F73;
  --cream: #F8F5EE;
  --surface: #F3F6F4;
  --white: #FFFFFF;
  --ink: #1F2937;
  --gray: #4B5563;
  --gray-light: #9AA5A0;
  --border: #E2E8DD;
  --error: #B91C1C;
  --error-bg: #FEE2E2;
  --success: #166534;
  --success-bg: #DCFCE7;
  --warning: #92400E;
  --warning-bg: #FEF3C7;
  --shadow-sm: 0 1px 2px rgba(20, 56, 95, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 56, 95, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 56, 95, 0.12);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Stacking scale - the ONLY place layer order is defined (root stacking context).
     <body> and its children create no stacking context of their own (no transform/
     filter/contain), so these numbers compete directly. Chat sits above every
     navigation layer, below modal overlays (photo viewer), below toasts. */
  --z-nav-backdrop: 1005;
  --z-nav-drawer: 1010;
  --z-header: 1020;
  --z-topbar: 1030;
  --z-chat: 1100;
  --z-lightbox: 1200;
  --z-toast: 1300;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  overflow-x: clip; 
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  padding-top: 110px; 
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-primary);
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.3; }
p { color: var(--gray); }
a { color: var(--green-primary); text-decoration: none; }
a:hover { text-decoration: none; }
a:focus-visible { outline: 2px solid var(--green-primary); outline-offset: 2px; border-radius: 2px; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.eyebrow,
.section-tag {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--green-primary);
  margin-bottom: 0.75rem;
}

.heading {
  font-family: 'Poppins', 'Inter', sans-serif;
  color: var(--navy-primary);
  text-align: center;
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.heading span,
.heading em { color: var(--green-primary); font-style: normal; }

.section-description {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3rem;
  color: var(--gray);
  font-size: 1.02rem;
}

.skip-link { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.skip-link:focus {
  position: fixed; top: 0.5rem; left: 0.5rem; width: auto; height: auto;
  padding: 0.6rem 1rem; background: var(--navy-primary); color: var(--white);
  z-index: 9999; border-radius: 6px;
}

input[aria-hidden="true"] {
  position: absolute !important; left: -10000px !important;
  width: 1px !important; height: 1px !important; opacity: 0 !important;
}
#themeToggler { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.85rem 1.6rem; border-radius: 999px;
  font-weight: 600; font-size: 0.95rem;
  transition: all 0.2s ease; border: 1.5px solid transparent;
  cursor: pointer; text-align: center; justify-content: center;
  font-family: inherit; background: var(--green-primary); color: var(--white);
  text-decoration: none;
}
.btn:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); color: var(--white); }
.btn-primary { background: var(--green-primary); color: var(--white); }
.btn-primary:hover { background: var(--green-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-outline { background: transparent; color: var(--navy-primary); border-color: var(--navy-primary); }
.btn-outline:hover { background: var(--navy-primary); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy-primary); }
.btn-light:hover { background: var(--cream); color: var(--navy-primary); }
.btn-ghost { background: rgba(255, 255, 255, 0.15); color: var(--white); border: 1.5px solid rgba(255, 255, 255, 0.4); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.25); color: var(--white); }
.btn-active { background: var(--navy-primary); color: var(--white); border-color: var(--navy-primary); }
.btn-active:hover { background: var(--navy-deep); color: var(--white); }

/* ========== TOPBAR ========== */
.topbar { 
  background: var(--navy-primary); 
  color: var(--white); 
  font-size: 0.82rem; 
  padding: 0.5rem 0; 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px; 
  z-index: var(--z-topbar); 
  display: flex;
  align-items: center;
}
.topbar .container { 
  display: flex; 
  justify-content: space-between; 
  align-items: center; 
  gap: 1rem; 
  flex-wrap: wrap; 
  width: 100%;
}
.topbar a { color: var(--white); opacity: 0.9; }
.topbar a:hover { opacity: 1; color: var(--white); }

@media (max-width: 992px) {
  .topbar { font-size: 0.72rem; padding: 0.5rem 0; }
  .topbar .container { gap: 0.70rem; }
}
@media (max-width: 768px) {
  .topbar { padding: 0.4rem 0; }
}

/* ========== NAV & HEADER ========== */
.nav, .header {
  background: var(--white); 
  position: fixed; 
  top: 40px; 
  left: 0;
  width: 100%;
  z-index: var(--z-header); 
  border-bottom: 1px solid var(--border); 
  padding: 1rem 0;
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav.scrolled, .header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

.nav .container, .header .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 70px;
}

/* ── Brand logo ── */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--green-primary);
  text-decoration: none;
  flex-shrink: 0;
}
.logo .mark, .logo .logo-icon img, .logo-icon img {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 6px;
  object-fit: contain;
}
.logo small, .logo .logo-wordmark em {
  display: block;
  font-size: calc(0.65rem + 4pt);
  letter-spacing: 0.25em;
  color: var(--navy-primary);
  font-weight: 700;
  font-style: normal;
}
.logo .logo-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  color: var(--green-primary);
}
.logo .logo-wordmark em {
  margin-top: 2px;
  color: var(--navy-primary);
}

/* ── Footer Logo Override (Forces proper size inside footer) ── */
.footer-logo {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 0.85rem !important;
  text-decoration: none !important;
}
.footer-logo .logo-icon {
  display: block !important;
  width: auto !important;
  height: auto !important;
}
/* Footer logo: native 182x150 artwork shown at its full width, aspect ratio kept. */
.footer-logo .logo-icon img {
  width: 182px !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 182 / 150;
  object-fit: contain !important;
}
@media (max-width: 600px) {
  .footer-logo .logo-icon img { width: 160px !important; }
}
.footer-logo .logo-wordmark {
  width: auto !important;
}
.footer-logo .logo-wordmark > span,
.footer-logo .logo-wordmark > em {
  text-align: left !important;
  font-size: 1.25rem !important;
  white-space: nowrap !important;
}
.footer-logo .logo-wordmark > span { color: #fff !important; }
.footer-logo .logo-wordmark > em { color: rgba(255, 255, 255, .82) !important; }

/* ── Desktop nav links ── */
.nav-links, .navbar {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-links a, .navbar a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s, border-color 0.15s;
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.nav-links a:hover, .navbar a:hover,
.nav-links a.active, .navbar a.active {
  color: var(--green-primary);
  border-bottom-color: var(--green-primary);
}
.nav-cta {
  padding: 0.55rem 1.2rem !important;
  font-size: 0.85rem !important;
  border-bottom: none !important;
}

/* ── Hamburger button ── */
.nav-toggle, .menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  color: var(--navy-primary);
  border-radius: 6px;
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-toggle:hover, .menu-toggle:hover { background: var(--green-tint); }
.nav-toggle:focus-visible, .menu-toggle:focus-visible {
  outline: 2px solid var(--green-primary);
  outline-offset: 2px;
}
.nav-toggle span, .menu-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  background: var(--navy-primary);
  border-radius: 2px;
  transition: transform 0.25s ease-in-out, opacity 0.25s ease-in-out;
  pointer-events: none;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1),
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2),
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle[aria-expanded="true"] span:nth-child(3),
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Backdrop overlay ── */
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 42, 71, 0.40);
  z-index: var(--z-nav-backdrop); 
}
body.menu-open .nav-backdrop { display: block; }

/* ═══════════════════════════════════════════════════════════
   📱 RESPONSIVE — single authoritative breakpoint ≤ 991px
═══════════════════════════════════════════════════════════ */
@media (max-width: 991px) {
  .nav-toggle, .menu-toggle { display: flex !important; }

  .nav-links, .navbar {
    position: fixed;
    top: 0;
    right: -100%;
    width: min(300px, 85vw);
    height: 100%;
    height: 100dvh;
    background: var(--white);
    box-shadow: -4px 0 30px rgba(15, 42, 71, 0.15);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 160px 1.75rem 3rem;
    gap: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transition: right 0.28s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: var(--z-nav-drawer); 
  }

  .nav-links.nav-open, .navbar.nav-open { right: 0; }

  .nav-links a, .navbar a {
    width: 100%;
    font-size: 1.05rem;
    padding: 0.75rem 0;
    color: var(--navy-primary);
    border-bottom: 1px solid var(--border);
    border-top: none;
    border-left: none;
    border-right: none;
    transition: color 0.15s, padding-left 0.15s;
  }
  .nav-links a:last-child, .navbar a:last-child { border-bottom: none; }
  .nav-links a:hover, .navbar a:hover,
  .nav-links a.active, .navbar a.active {
    color: var(--green-primary);
    border-bottom-color: var(--border);
    padding-left: 6px;
  }

  .nav-links a.nav-cta, .navbar a.nav-cta {
    margin-top: 1rem;
    text-align: center;
    border-radius: 8px;
    padding: 0.8rem 1rem !important;
    border-bottom: none !important;
    width: 100%;
  }

  body.menu-open { overflow: hidden; }
}

/* ========== CATALOGUE VIEWER ========== */
.catalogue-viewer { background: var(--surface); min-height: calc(100vh - 120px); }
.catalogue-viewer__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem; margin-bottom: 1.5rem;
}
.catalogue-viewer__head h1 { font-size: clamp(1.9rem, 3vw, 2.7rem); }
.catalogue-viewer__actions {
  display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap;
}
.catalogue-frame {
  width: 100%; height: min(78vh, 860px); min-height: 560px;
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-md);
}
.catalogue-frame iframe {
  width: 100%; height: 100%; border: 0; display: block; background: var(--white);
}

@media (max-width: 768px) {
  .catalogue-viewer__head { align-items: flex-start; flex-direction: column; }
  .catalogue-viewer__actions .btn { width: 100%; }
  .catalogue-frame { min-height: 70vh; height: 70vh; }
}

.header .icons { display: flex; align-items: center; gap: 1rem; color: var(--navy-primary); }
.header .icons a, .header .icons label {
  color: var(--navy-primary); font-size: 1.1rem; cursor: pointer; transition: color 0.15s;
}
.header .icons a:hover, .header .icons label:hover { color: var(--green-primary); }

/* ========== HERO ========== */
.hero, section.home {
  padding: clamp(2rem, 4.5vw, 4rem) 0 clamp(2rem, 3.5vw, 3rem);
  background:
    radial-gradient(ellipse at 90% 10%, rgba(90, 138, 110, 0.08), transparent 50%),
    radial-gradient(ellipse at 0% 90%, rgba(20, 56, 95, 0.05), transparent 50%),
    var(--cream);
  overflow: clip;
  position: relative;
}
.hero.home .container {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: center;
  width: min(100% - 3rem, 1200px);
  max-width: 1200px;
  margin-inline: auto;
  padding: 0;
}
.hero.home .container > :first-child { min-width: 0; }
.hero.home #home-heading {
  max-width: 19ch;
  margin: 0;
  font-size: clamp(2rem, 3.1vw, 2.8rem);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: break-word;
}
.hero.home #home-heading span { color: var(--green-primary); }
.hero.home .hero-visual {
  position: relative;
  display: block;
  align-self: center;
  justify-self: stretch;
  width: 100%;
  min-width: 0;
  max-width: none;
  aspect-ratio: 1338 / 1176;
  margin: 0;
  padding: .65rem;
  border: 1px solid rgba(45, 107, 71, .18);
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, #f8fbfa, #edf4f1);
  box-shadow: 0 24px 70px rgba(20, 56, 95, .16);
  overflow: hidden;
}
.hero.home .hero-visual > img {
  position: absolute;
  inset: .65rem;
  display: block;
  width: calc(100% - 1.3rem);
  height: calc(100% - 1.3rem);
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
}
.hero h1 span, section.home h1 span { color: var(--green-primary); }
.hero p.lead, .hero-sub {
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.7;
  max-width: 58ch;
  margin: 1.1rem 0 1.5rem;
  color: var(--gray);
  text-align: left;
  text-align-last: auto;
}
.hero-ctas, .hero-cta {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}
.hero.home .hero-cta .btn { min-height: 44px; max-width: 100%; }
.trust-strip {
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  padding-top: 1.1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1rem;
  align-items: center;
  font-size: .75rem;
  line-height: 1.5;
  color: var(--navy-primary);
  font-weight: 600;
  letter-spacing: .035em;
}
.trust-strip span { display: inline-flex; align-items: center; gap: .4rem; min-width: 0; }
.trust-strip span::before { content: ""; width: 6px; height: 6px; flex: 0 0 6px; background: var(--green-primary); border-radius: 50%; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: .45rem;
  max-width: 100%;
  padding: .4rem .8rem;
  background: var(--green-tint);
  color: var(--green-primary);
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .055em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.hero-badge .badge-dot { width: 7px; height: 7px; flex: 0 0 7px; background: var(--green-primary); border-radius: 50%; display: inline-block; }
.hero-stats { display: flex; gap: 1.5rem; margin-top: 2rem; flex-wrap: wrap; }
.hero-stat {
  background: var(--white); border: 1px solid var(--border);
  padding: .8rem 1.2rem; border-radius: var(--radius-md);
  min-width: 110px; box-shadow: var(--shadow-sm);
}
.hero-stat strong { display: block; font-family: 'Poppins', sans-serif; color: var(--green-primary); font-size: 1.4rem; line-height: 1.1; }
.hero-stat span { display: block; font-size: .75rem; color: var(--gray); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.hero-anim { display: none; }

@media (max-width: 900px) {
  .hero.home .container {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.75rem;
    width: min(100% - 2.5rem, 680px);
  }
  .hero.home .hero-visual {
    grid-row: 2;
    width: min(100%, 520px);
    justify-self: center;
  }
  .hero.home #home-heading { max-width: 24ch; font-size: clamp(2rem, 5vw, 2.65rem); }
}
@media (max-width: 600px) {
  .hero.home, section.home.hero { padding-block: 1.75rem 2rem; }
  .hero.home .container { width: calc(100% - 2rem); gap: 1.4rem; }
  .hero.home #home-heading { font-size: clamp(1.8rem, 7.2vw, 2.25rem); line-height: 1.15; letter-spacing: -.025em; }
  .hero.home #home-heading .hero-heading-break { display: none; }
  .hero.home .hero-sub { margin: 1rem 0 1.25rem; font-size: 1rem; line-height: 1.65; }
  .hero.home .hero-visual { width: 100%; padding: .45rem; border-radius: var(--radius-md); }
  .hero.home .hero-visual > img { inset: .45rem; width: calc(100% - .9rem); height: calc(100% - .9rem); }
  .hero.home .hero-cta { gap: .65rem; }
  .hero.home .hero-cta .btn { flex: 1 1 100%; justify-content: center; width: 100%; }
  .hero.home .trust-strip { gap: .55rem .85rem; margin-top: 1.35rem; padding-top: 1rem; font-size: .7rem; }
  .hero.home .hero-badge { border-radius: .8rem; }
}
@media (max-width: 359px) {
  .hero.home .container { width: calc(100% - 1.5rem); }
  .hero.home #home-heading { font-size: 1.75rem; }
  .hero.home .hero-badge { font-size: .68rem; padding: .35rem .55rem; }
  .hero.home .trust-strip { letter-spacing: 0; }
}
/* ========== STATS ========== */
.stats { background: var(--navy-primary); color: var(--white); padding: 2.5rem 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
.stat .num { font-family: 'Poppins', sans-serif; font-weight: 800; font-size: clamp(2rem, 4vw, 2.8rem); color: var(--white); line-height: 1; }
.stat .num span { color: var(--green-light); }
.stat .label { margin-top: 0.5rem; font-size: 0.85rem; color: rgba(255, 255, 255, 0.75); text-transform: uppercase; letter-spacing: 0.1em; }

/* ========== SECTIONS ========== */
section.s, section.about, section.classes, section.products, section.book,
section.reviews, section.certifications, section.why-us, section.intro {
  padding: 5rem 0; max-width: 1200px; margin: 0 auto;
  padding-left: 1.5rem; padding-right: 1.5rem;
}
section.about, section.classes, section.products, section.book,
section.reviews, section.certifications, section.why-us { text-align: center; }
.s-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.s-head p { margin-top: 0.75rem; }

/* ========== ABOUT / INTRO ========== */
.about, .intro { background: var(--white); }
.about .row, .intro .container {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem;
  align-items: center; text-align: left;
}
@media (max-width: 900px) { .about .row, .intro .container { grid-template-columns: 1fr; } }
.about .image img, .intro img { border-radius: var(--radius-lg); width: 100%; max-width: 520px; }
.about .content h3 { font-size: 1.6rem; margin: 0.5rem 0 1rem; }
.about .content h3 em { color: var(--green-primary); font-style: normal; }
.intro .container.about-story {
  grid-template-columns: 0.85fr 1.15fr;
  align-items: start;
}
.about-story__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}
.about-story__visual img {
  width: 100%;
  max-width: none;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(45, 107, 71, 0.16);
  border-radius: var(--radius-lg);
  box-shadow: 0 18px 44px rgba(20, 56, 95, 0.12);
}
.about-story__content p,
.about-story__statements p,
.about-value p {
  text-align: justify;
  text-align-last: left;
}
.about-story__content p + p { margin-top: 0.9rem; }
.about-story__statements {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.about-story__statements article,
.about-value {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}
.about-story__statements article {
  padding: 1.25rem;
  border-left: 4px solid var(--green-primary);
}
.about-story__kicker {
  display: block;
  color: var(--navy-primary);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.about-story__values {
  grid-column: 1 / -1;
  padding-top: 0.5rem;
}
.about-story__cta {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
}
.about-story__values h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.8rem);
  margin-bottom: 1.25rem;
}
.about-values-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
}
.about-value {
  padding: 1.15rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.about-value:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.about-value__icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-primary);
  margin-bottom: 0.8rem;
}
.about-value h4 {
  color: var(--navy-primary);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.45rem;
}
.about-value p { font-size: 0.92rem; }
@media (max-width: 1100px) {
  .about-values-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .intro .container.about-story,
  .about-story__statements { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .about-values-grid { grid-template-columns: 1fr; }
  .about-story__content p,
  .about-story__statements p,
  .about-value p { text-align: left; }
}
.about .box-container, .classes .box-container, .why-us .box-container {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem; margin-top: 3rem; text-align: left;
}
.about .box, .why-us .box {
  background: var(--cream); padding: 1.75rem; border-radius: var(--radius-lg);
  border-left: 4px solid var(--green-primary); transition: transform 0.2s, box-shadow 0.2s;
}
.about .box:hover, .why-us .box:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about .box .icon-wrap, .why-us .box .icon-wrap {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--green-tint); color: var(--green-primary);
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem; font-size: 1.2rem;
}
.about .box h3, .why-us .box h3 { font-size: 1.1rem; margin-bottom: 0.5rem; color: var(--navy-primary); }
.about .box p, .why-us .box p { font-size: 0.95rem; }

/* ========== PRODUCT CATEGORIES (.classes) ========== */
.classes { background: var(--surface); }
.classes .box-container { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: center; }
.classes .box {
  background: var(--white); border-radius: var(--radius-lg); overflow: clip;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; align-items: center; padding: 1.5rem;
}
.classes .box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.classes .box .img-wrap {
  background: var(--cream); padding: 1rem; border-radius: var(--radius-md);
  margin-bottom: 1rem; width: 100%;
  display: flex; align-items: center; justify-content: center; aspect-ratio: 4 / 3; 
  overflow: hidden;
}
.classes .box .img-wrap img { max-height: 100%; width: auto; object-fit: contain; }
.classes .box h3 { color: var(--navy-primary); font-size: 1.1rem; }

/* ========== PRODUCTS / FEATURED ========== */
.products { background: var(--surface); }
.product-grid, .products .box-container {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; text-align: left;
}
@media (max-width: 900px) { .product-grid, .products .box-container { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .product-grid, .products .box-container { grid-template-columns: 1fr; } }
.product-card, .products .box {
  background: var(--white); border-radius: var(--radius-lg); overflow: clip;
  box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column;
}
.product-card-link { color: inherit; text-decoration: none; cursor: pointer; }
.product-card-link:focus-visible { outline: 3px solid var(--green-primary); outline-offset: 3px; }
.product-card:hover, .products .box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .img-wrap, .products .box .image {
  background: var(--cream); 
  padding: 1rem; 
  border-radius: var(--radius-md);
  margin-bottom: 1rem; 
  width: 100%;
  display: flex; 
  align-items: center; 
  justify-content: center; 
  aspect-ratio: 4 / 3; 
  overflow: hidden;
}
.product-card .img-wrap img, .products .box .image img { 
  max-height: 100%; 
  width: auto; 
  object-fit: contain;
}
.product-card .img-wrap-tinted { background: linear-gradient(135deg, var(--green-tint), var(--cream)); }
.product-card .body, .products .box .content {
  padding: 1.5rem 1.5rem 1.75rem; flex: 1;
  display: flex; flex-direction: column;
}
.product-card h3, .products .box h3 { color: var(--navy-primary); margin-bottom: 0.5rem; font-size: 1.1rem; }
.product-card .meta, .products .box .product-cat-label {
  font-size: 0.78rem; color: var(--green-primary); font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.5rem;
}
.product-card p { font-size: 0.92rem; flex: 1; }
.product-card .link { margin-top: 1rem; color: var(--green-primary); font-weight: 600; font-size: 0.9rem; }
.product-card .link::after { content: " →"; transition: transform 0.2s; display: inline-block; font-weight: 700;font-size: 1.2rem;}
.product-card:hover .link::after { transform: translateX(4px); color: var(--navy-primary);}
.products .box .image .icons { position: absolute; top: 0.75rem; right: 0.75rem; opacity: 0; transition: opacity 0.2s; }
.products .box:hover .image .icons { opacity: 1; }
.products .box .cart-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.9rem; background: var(--green-primary); color: var(--white);
  border-radius: 999px; font-size: 0.78rem; font-weight: 600;
  text-decoration: none; box-shadow: var(--shadow-md);
}
.products .box .cart-btn:hover { background: var(--green-deep); color: var(--white); }
.category-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin: 0 auto 2.5rem; }
.section-cta { text-align: center; margin-top: 3rem; }
.products-empty { grid-column: 1 / -1; text-align: center; padding: 4rem 1rem; color: var(--gray); }
.products-empty i { color: var(--gray-light); }

/* ========== PILLARS / WHY US ========== */
.pillars { background: var(--white); }
.pillar-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 900px) { .pillar-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar { background: var(--cream); padding: 1.75rem; border-radius: 14px; border-left: 4px solid var(--green-primary); transition: transform 0.2s; }
.pillar:hover { transform: translateY(-2px); }
.pillar img { width: 56px; height: 56px; margin-bottom: 1rem; }
.pillar h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.pillar p { font-size: 0.9rem; }

/* ========== GLOBAL ========== */
.global { background: var(--cream); }
.global .map-wrap { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-sm); }
.global .global-visual { padding: 0; overflow: clip; border: 1px solid var(--border); }
.global .global-visual img { width: 100%; border-radius: inherit; }
.regions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; }
@media (max-width: 900px) { .regions { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .regions { grid-template-columns: 1fr; } }
.region { background: var(--white); padding: 1.25rem; border-radius: var(--radius-md); border: 1px solid var(--border); }
.region h4 { color: var(--green-primary); font-size: 0.78rem; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 0.5rem; }
.region p { color: var(--ink); font-size: 0.88rem; line-height: 1.5; }

/* ========== QUALITY ========== */
.quality { background: var(--white); }
.quality .container > svg, .quality .container > img { margin: 0 auto; display: block; }

/* ========== CERTS ========== */
.certs { background: var(--surface); }
section.certifications { background: var(--surface); }
.cert-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; align-items: stretch; max-width: 960px; margin: 0 auto; }
.cert { text-align: center; background: var(--white); padding: 1.5rem; border-radius: var(--radius-md); border: 1px solid var(--border); }
.cert img { width: 140px; height: 140px; margin: 0 auto 0.75rem; }
.cert .name { font-weight: 700; color: var(--navy-primary); font-size: 0.9rem; }
.cert .sub { font-size: 0.78rem; color: var(--gray); }
.cert-note { text-align: center; margin-top: 2rem; font-size: 0.85rem; color: var(--gray-light); }
.cert-card { background: var(--white); padding: 2rem 1.5rem; border-radius: var(--radius-lg); border: 1px solid var(--border); text-align: center; transition: transform 0.2s, box-shadow 0.2s; }
.cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-card i { font-size: 2.5rem; color: var(--green-primary); margin-bottom: 1rem; display: block; }
.cert-card h3 { color: var(--navy-primary); margin-bottom: 0.5rem; font-size: 1.05rem; }
.cert-card p { font-size: 0.9rem; }
.cert-img-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; max-width: 800px; margin: 0 auto 2.5rem; align-items: stretch; }
.cert-img-item {
  position: relative; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-md); padding: 1rem; cursor: pointer; overflow: clip;
  transition: transform 0.2s, box-shadow 0.2s; width: 100%; font-family: inherit;
}
.cert-img-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.cert-img-item img { width: 100%; height: auto; border-radius: var(--radius-sm); }
.cert-doc-badge {
  min-height: 242px; display: flex; align-items: center; justify-content: center;
}
.cert-doc-badge img {
  max-height: 242px; object-fit: contain;
}
.cert-img-overlay {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(20, 56, 95, 0.65); color: var(--white); opacity: 0;
  font-size: 1.5rem; transition: opacity 0.2s;
}
.cert-img-item:hover .cert-img-overlay { opacity: 1; }
.cert-preview-note {
  text-align: center; color: var(--gray); font-size: 0.875rem; margin: -0.5rem auto 0;
}

/* ========== TESTIMONIALS / REVIEWS ========== */
.reviews { background: var(--cream); }
.reviews-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; text-align: left; margin-top: 2rem; }
@media (max-width: 900px) { .reviews-layout { grid-template-columns: 1fr; } }
.reviews-meta h3 { font-size: 1.6rem; margin-bottom: 0.75rem; }
.reviews-meta h3 em { color: var(--green-primary); font-style: normal; }
.reviews-meta p { margin-bottom: 1.5rem; }
.review-dots { display: flex; gap: 0.5rem; margin: 1.5rem 0 1rem; }
.review-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: var(--gray-light); cursor: pointer; transition: background 0.2s, transform 0.2s; }
.review-dots button.active { background: var(--green-primary); transform: scale(1.2); }
.review-arrows { display: flex; gap: 0.75rem; }
.arrow-btn { width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--navy-primary); background: transparent; color: var(--navy-primary); cursor: pointer; transition: background 0.2s, color 0.2s; }
.arrow-btn:hover { background: var(--navy-primary); color: var(--white); }
.reviews-carousel { overflow: clip; position: relative; }
.carousel-track { display: flex; transition: transform 0.4s ease-in-out; width: 100%; }
.review-card { min-width: 100%; flex: 0 0 100%; background: var(--white); padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.review-card .stars { color: #F59E0B; margin-bottom: 0.75rem; letter-spacing: 0.1em; }
.review-card blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.6; margin-bottom: 1rem; }
.review-card .meta { display: flex; align-items: center; gap: 0.75rem; }
.review-card .meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.review-card .meta strong { color: var(--navy-primary); display: block; }
.review-card .meta small { color: var(--gray); font-size: 0.82rem; }

.quote-band { background: var(--navy-primary); color: var(--white); padding: 4rem 0; text-align: center; }
.quote-band .quote-mark { font-family: 'Poppins', sans-serif; font-size: 4rem; line-height: 1; color: var(--green-light); margin-bottom: 0.5rem; }
.quote-band blockquote { font-family: 'Poppins', sans-serif; font-weight: 600; font-size: clamp(1.2rem, 2.4vw, 1.7rem); line-height: 1.4; max-width: 800px; margin: 0 auto 1.5rem; color: var(--white); }
.quote-band cite { font-style: normal; opacity: 0.8; font-size: 0.9rem; letter-spacing: 0.05em; }

/* ========== CTA BAND / CONTACT ========== */
.cta-band, section.book {
  background: linear-gradient(135deg, var(--green-primary), var(--green-deep));
  color: var(--white); padding: 4.5rem 1.5rem; text-align: center; max-width: none;
}
.cta-band h2, section.book .heading, section.book h2 { color: var(--white); }
.cta-band p, section.book p { color: rgba(255, 255, 255, 0.92); font-size: 1.05rem; margin: 1rem auto 2rem; max-width: 640px; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
section.book .row { display: grid; grid-template-columns: 1fr 1.3fr; gap: 2.5rem; max-width: 1100px; margin: 2rem auto 0; text-align: left; }
@media (max-width: 900px) { section.book .row { grid-template-columns: 1fr; } }
section.book .image img { border-radius: var(--radius-lg); width: 100%; margin-bottom: 1.5rem; }
section.book .contact-info { font-style: normal; color: rgba(255, 255, 255, 0.95); display: flex; flex-direction: column; gap: 0.5rem; }
section.book .contact-info h3 { color: var(--white); margin-bottom: 0.5rem; }
section.book .contact-info > a, section.book .contact-info > span { color: var(--white); display: inline-flex; align-items: center; gap: 0.5rem; text-decoration: none; }
section.book .contact-info a:hover { opacity: 0.85; }

.contact-info-card {
  margin-top: 1rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1px solid rgba(226, 232, 221, 0.9);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  color: var(--navy-primary);
  gap: 0.8rem;
}
section.book .contact-info-card { color: var(--navy-primary); }
section.book .contact-info-card h3 {
  color: var(--navy-primary);
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}
section.book .contact-info-card .contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  width: 100%;
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none;
}
section.book .contact-info-card a.contact-info__item:hover {
  color: var(--green-deep);
  opacity: 1;
}
.contact-info__icon {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--green-tint);
  color: var(--green-primary);
  font-size: 0.95rem;
}
.contact-info__icon--whatsapp { color: #128C7E; }
.contact-info__content {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
  min-width: 0;
}
.contact-info__label {
  color: var(--green-primary);
  font-family: 'Poppins', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.contact-info__content strong {
  color: var(--navy-primary);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

/* Contact form */
.contact-form, form.form, form#contactForm {
  max-width: 720px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.08); padding: 2rem;
  border-radius: var(--radius-lg); border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(4px); text-align: left; color: var(--white);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; }
.contact-form .form-field { margin-bottom: 1rem; }
form.form .flex, form#contactForm .flex { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (max-width: 600px) { form.form .flex, form#contactForm .flex { grid-template-columns: 1fr; } }
form.form .input, form#contactForm .input { display: flex; flex-direction: column; }
.form-title { font-family: 'Poppins', sans-serif; font-size: 1.4rem; font-weight: 700; color: var(--white); margin-bottom: 0.25rem; }
.form-subtitle { color: rgba(255, 255, 255, 0.78); font-size: 0.92rem; margin-bottom: 1.25rem; }
.form-field label, form.form label, form#contactForm label {
  display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.92); letter-spacing: 0.04em; text-transform: uppercase;
}
form.form label .optional, form#contactForm label .optional { text-transform: none; letter-spacing: 0; font-weight: 500; opacity: 0.7; }
.form-field input, .form-field textarea, .form-field select,
form.form input, form.form textarea, form.form select,
form#contactForm input, form#contactForm textarea, form#contactForm select,
.form-control {
  width: 100%; padding: 0.75rem 1rem; font-family: inherit; font-size: 0.95rem;
  border-radius: var(--radius-sm); border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.95); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus,
form.form input:focus, form.form textarea:focus, form.form select:focus,
form#contactForm input:focus, form#contactForm textarea:focus, form#contactForm select:focus,
.form-control:focus {
  outline: none; border-color: var(--white); box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.25);
}
.form-field textarea, form.form textarea, form#contactForm textarea { resize: vertical; min-height: 110px; }
.form-submit, form#contactForm .btn, form.form .btn { margin-top: 0.5rem; padding: 0.95rem 2rem; background: var(--white); color: var(--navy-primary); }
form#contactForm .btn:hover, form.form .btn:hover { background: var(--cream); color: var(--navy-primary); }
.form-note { margin-top: 1rem; font-size: 0.82rem; color: rgba(255, 255, 255, 0.7); text-align: center; }

.form-errors, .field-error {
  background: rgba(255, 255, 255, 0.92); color: var(--error);
  border-left: 3px solid var(--error); padding: 0.5rem 0.75rem;
  margin-top: 0.4rem; border-radius: var(--radius-sm); font-size: 0.85rem;
}
.form-errors ul, .field-error ul { list-style: none; margin: 0; padding: 0; }

/* Light variant of contact form (cream bg, dark text) */
.contact-section-light { background: var(--cream); }
.contact-section-light form#contactForm, .contact-section-light form.form { background: var(--white); color: var(--ink); border: 1px solid var(--border); }
.contact-section-light form#contactForm label, .contact-section-light form.form label { color: var(--navy-primary); }
.contact-section-light form#contactForm .form-title, .contact-section-light form.form .form-title { color: var(--navy-primary); }
.contact-section-light form#contactForm .form-subtitle, .contact-section-light form.form .form-subtitle { color: var(--gray); }
.contact-section-light form#contactForm input, .contact-section-light form#contactForm textarea, .contact-section-light form#contactForm select,
.contact-section-light form.form input, .contact-section-light form.form textarea, .contact-section-light form.form select {
  background: var(--white); border-color: var(--border); color: var(--ink);
}
.contact-section-light form#contactForm input:focus, .contact-section-light form#contactForm textarea:focus, .contact-section-light form#contactForm select:focus,
.contact-section-light form.form input:focus, .contact-section-light form.form textarea:focus, .contact-section-light form.form select:focus {
  border-color: var(--green-primary); box-shadow: 0 0 0 3px rgba(45, 107, 71, 0.15);
}
.contact-section-light form#contactForm .btn, .contact-section-light form.form .btn { background: var(--green-primary); color: var(--white); }
.contact-section-light form#contactForm .btn:hover, .contact-section-light form.form .btn:hover { background: var(--green-deep); color: var(--white); }

/* ========== CLIENTS MARQUEE ========== */
.clients-section { background: var(--white); padding: 2rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.clients-row { margin-bottom: 1.25rem; --marquee-duration: 30s; }
.clients-row--indian { --marquee-duration: 146s; }
.clients-row--overseas { --marquee-duration: 158s; }
.clients-row:last-child { margin-bottom: 0; }
.clients-row__label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--green-tint); color: var(--green-primary);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.4rem 0.9rem; border-radius: 999px; margin: 0 1.5rem 0.75rem;
}
.scroll-slide, .clients-marquee { overflow: clip; position: relative; }
.marquee-track { display: flex; width: max-content; animation: marquee var(--marquee-duration) linear infinite; }
.marquee-inner { display: flex; align-items: center; gap: 2rem; padding-right: 2rem; white-space: nowrap; color: var(--navy-primary); font-weight: 600; font-size: 0.95rem; }
.marquee-inner.marquee-reverse { animation-direction: reverse; }
.scroll-slide:hover .marquee-track, .clients-marquee:hover .marquee-track { animation-play-state: paused; }
.client-item { display: inline-flex; align-items: center; gap: 0.5rem; }
.client-item img { height: 36px; width: auto; filter: grayscale(20%); transition: filter 0.2s; }
.client-item img:hover { filter: grayscale(0%); }
.client-text { font-weight: 600; color: var(--navy-primary); }
.client-sep { color: var(--green-primary); opacity: 0.6; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.scroll-slide { background: var(--cream); padding: 0.8rem 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.scroll-slide .marquee-inner span { text-transform: uppercase; letter-spacing: 0.08em; }

/* ========== GALLERY ========== */
.gallery-hero {
  text-align: center; padding: 6rem 1.5rem 2rem;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(90, 138, 110, 0.08), transparent 50%),
    radial-gradient(ellipse at 0% 90%, rgba(20, 56, 95, 0.05), transparent 50%),
    var(--cream);
}
.gallery-hero h1 { margin-bottom: 1rem; }
.gallery-hero h1 span { color: var(--green-primary); }
.gallery-grid { max-width: 1200px; margin: 0 auto; padding: 3rem 1.5rem; column-count: 3; column-gap: 1.25rem; }
@media (max-width: 900px) { .gallery-grid { column-count: 2; } }
@media (max-width: 600px) { .gallery-grid { column-count: 1; } }
.gallery-item {
  position: relative; break-inside: avoid; margin-bottom: 1.25rem;
  border-radius: var(--radius-lg); overflow: clip;
  background: var(--cream); border: 1px solid var(--border);
  cursor: pointer; opacity: 0; transform: translateY(12px);
  transition: opacity 0.5s, transform 0.5s, box-shadow 0.2s;
}
.gallery-item.visible { opacity: 1; transform: translateY(0); }
.gallery-item:hover { box-shadow: var(--shadow-md); }
.gallery-item img { width: 100%; height: auto; display: block; }
.gallery-overlay {
  position: absolute; inset: auto 0 0 0; padding: 1rem;
  background: linear-gradient(to top, rgba(15, 42, 71, 0.9), rgba(15, 42, 71, 0));
  color: var(--white); opacity: 0; transition: opacity 0.2s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay-title { font-weight: 700; }
.gallery-overlay-desc { font-size: 0.85rem; opacity: 0.85; }
.gallery-zoom-icon {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.92); color: var(--green-primary);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(0.85); transition: opacity 0.2s, transform 0.2s;
}
.gallery-item:hover .gallery-zoom-icon { opacity: 1; transform: scale(1); }
.gallery-empty { text-align: center; padding: 5rem 1rem; color: var(--gray); }
.gallery-empty i { font-size: 4rem; color: var(--gray-light); display: block; margin-bottom: 1rem; }

.gallery-lightbox { position: fixed; inset: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; }
.gallery-lightbox[hidden] { display: none; }
.gallery-lightbox__backdrop { position: absolute; inset: 0; background: rgba(15, 42, 71, 0.85); }
.gallery-lightbox__panel {
  position: relative; z-index: 1; max-width: 90vw; max-height: 90vh;
  background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.gallery-lightbox__img { max-width: 80vw; max-height: 70vh; border-radius: var(--radius-md); }
.gallery-lightbox__close, .gallery-lightbox__prev, .gallery-lightbox__next {
  position: absolute; width: 40px; height: 40px; border-radius: 50%;
  background: var(--white); color: var(--navy-primary); border: 1px solid var(--border);
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; z-index: 2;
}
.gallery-lightbox__close { top: 0.75rem; right: 0.75rem; }
.gallery-lightbox__prev { left: -1.25rem; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__next { right: -1.25rem; top: 50%; transform: translateY(-50%); }
.gallery-lightbox__close:hover, .gallery-lightbox__prev:hover, .gallery-lightbox__next:hover { background: var(--green-primary); color: var(--white); }
.gallery-lightbox__info { text-align: center; color: var(--ink); }
.gallery-lightbox__title { font-weight: 700; color: var(--navy-primary); }
.gallery-lightbox__desc { color: var(--gray); font-size: 0.92rem; }

/* ========== DJANGO MESSAGES (Toasts) ========== */
#django-messages { position: fixed; top: 5.5rem; right: 1rem; z-index: var(--z-toast); display: flex; flex-direction: column; gap: 0.5rem; max-width: 360px; }
.django-toast {
  padding: 0.85rem 1rem; border-radius: var(--radius-md); box-shadow: var(--shadow-md);
  background: var(--white); border-left: 4px solid var(--green-primary);
  font-size: 0.92rem; color: var(--ink); animation: toastIn 0.25s ease;
}
.django-toast--success { border-left-color: var(--success); }
.django-toast--error, .django-toast--danger { border-left-color: var(--error); }
.django-toast--warning { border-left-color: var(--warning); }
.django-toast--info { border-left-color: var(--navy-primary); }
@keyframes toastIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }

/* ========== FOOTER ========== */
footer.site-footer, footer.footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.75); padding: 4rem 0 2rem; font-size: 0.92rem; }
footer.site-footer .container, footer.footer .footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.foot-grid, .footer-inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 1.5rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
@media (max-width: 800px) { .foot-grid, .footer-inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .foot-grid, .footer-inner { grid-template-columns: 1fr; } }
.footer-logo, .footer-logo span { color: var(--white) !important; }
.footer-logo small,
.footer-logo .logo-wordmark em { color: var(--white) !important; }
.footer-brand .logo-wrap { font-family: 'Poppins', sans-serif; color: var(--white); font-size: 1.2rem; font-weight: 700; display: block; margin-bottom: 0.75rem; }
.footer-brand .logo-wrap em { font-style: normal; color: var(--green-light); }
.footer-desc, .foot-tag { color: rgba(255, 255, 255, 0.85); margin: 0.75rem 0 1rem; font-size: 0.95rem; }
.foot-sub { font-size: 0.82rem; color: rgba(255, 255, 255, 0.55); }
footer h4, footer .footer-col h3 { color: var(--white); font-size: 0.9rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1rem; }
footer ul { list-style: none; }
footer li { margin-bottom: 0.5rem; }
footer a, footer .footer-col a, footer address a, footer address span {
  color: rgba(255, 255, 255, 0.75); transition: color 0.15s;
  display: block; margin-bottom: 0.5rem; font-style: normal; text-decoration: none;
}
footer a:hover, footer .footer-col a:hover { color: var(--green-light); }
footer .footer-col i { margin-right: 0.45rem; color: var(--green-light); }
footer .legal, footer .credit {
  padding-top: 2rem; display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); text-align: center;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
  position: fixed; right: 1.25rem; bottom: 5.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--green-primary); color: var(--white);
  display: none; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 700; box-shadow: var(--shadow-md);
  transition: opacity 0.25s, transform 0.25s, background 0.2s;
  z-index: 60; text-decoration: none; border: 0; cursor: pointer;
}
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--green-deep); transform: translateY(-3px); color: var(--white); }

/* ========== WHATSAPP FAB ========== */
.whatsapp-float { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 56px; height: 56px; z-index: 70; display: flex; align-items: center; justify-content: center; }
.whatsapp-float .whatsapp-svg { width: 56px; height: 56px; filter: drop-shadow(0 6px 14px rgba(20, 56, 95, 0.3)); }
.whatsapp-float .wa-ring { position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; opacity: 0.6; animation: waPulse 2s infinite; }
@keyframes waPulse { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.6); opacity: 0; } }
.whatsapp-float .wa-tooltip {
  position: absolute; right: 70px; white-space: nowrap;
  background: var(--white); color: var(--navy-primary);
  font-size: 0.82rem; font-weight: 600; padding: 0.4rem 0.75rem;
  border-radius: 999px; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateX(8px); transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.whatsapp-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

/* ========== FADE / REVEAL ========== */
.fade-up, .fade-left, .fade-right { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.is-revealed, .fade-left.is-revealed, .fade-right.is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .fade-up { opacity: 0; transform: translateY(16px); }
  .fade-left { opacity: 0; transform: translateX(-16px); }
  .fade-right { opacity: 0; transform: translateX(16px); }
  .fade-up.is-revealed, .fade-left.is-revealed, .fade-right.is-revealed { opacity: 1; transform: none; }
}

/* ========== MOTION REDUCTION ========== */
@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;
  }
}

/* ========== UTILITY ========== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.marquee-track {
  display: flex;
  overflow: clip;
  user-select: none;
}

.marquee-inner {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  white-space: nowrap;
  animation: scroll var(--marquee-duration) linear infinite;
}

.marquee-reverse {
  animation-direction: reverse;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

.client-item img {
  filter: grayscale(100%);
  transition: 0.3s;
  margin: 0 20px;
}

.client-item img:hover {
  filter: grayscale(0%);
}


/* ========== TESTIMONIAL CAROUSEL (2 up on desktop) ========== */
.testimonial-carousel { --per-view: 2; --gap: 1.5rem; max-width: 1100px; margin: 0 auto; }
@media (max-width: 899px) { .testimonial-carousel { --per-view: 1; } }
.testimonial-viewport { overflow: hidden; padding: 4px; margin: -4px; }
.testimonial-track { display: flex; transition: transform 0.45s ease; will-change: transform; }
.testimonial-card { flex: 0 0 calc(100% / var(--per-view)); min-width: 0; padding: 0 calc(var(--gap) / 2); display: flex; }
.testimonial-card__inner {
  display: flex; flex-direction: column; width: 100%; text-align: left;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm); padding: 1.75rem;
}
.testimonial-card .stars { color: #F59E0B; letter-spacing: 0.1em; margin-bottom: 0.75rem; }
.testimonial-card blockquote { flex: 1 1 auto; color: var(--ink); line-height: 1.65; margin-bottom: 1.25rem; }
.testimonial-card blockquote p { color: inherit; }
.testimonial-card .meta { display: flex; align-items: center; gap: 0.75rem; }
.testimonial-card .meta img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: 0 0 44px; }
.testimonial-card .meta strong { color: var(--navy-primary); display: block; }
.testimonial-card .meta small { color: var(--gray); font-size: 0.82rem; }
.testimonial-controls { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.75rem; flex-wrap: wrap; }
.testimonial-controls [hidden] { display: none; }
.testimonial-controls .review-dots { margin: 0; flex-wrap: wrap; justify-content: center; }
.testimonial-controls .review-dots button { width: 12px; height: 12px; }
.testimonial-controls .arrow-btn:focus-visible,
.testimonial-controls .review-dots button:focus-visible { outline: 2px solid var(--green-primary); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { .testimonial-track { transition: none; } }

/* ========== PRODUCTS: download button, search, filters, pagination ========== */
/* Download Catalogue button: breathing room above and below, tighter on phones */
.products-download { margin: 1.75rem 0 1.25rem; display: flex; justify-content: center; }
.products-download .btn { max-width: 100%; }
@media (min-width: 768px) { .products-download { margin: 2.25rem 0 1.75rem; } }
@media (max-width: 480px) { .products-download .btn { width: 100%; justify-content: center; } }

.product-toolbar { padding: 1.5rem 0; }
.product-search {
  position: relative; display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) auto;
  gap: 0.75rem; align-items: stretch; margin-bottom: 1.5rem;
  padding: 0.75rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
}
.product-search__field { position: relative; }
.product-search__field > i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--green-primary); pointer-events: none; }
.product-search input[type="search"],
.product-search select {
  width: 100%; min-height: 48px; padding: 0.75rem 1rem; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.product-search input[type="search"] { padding-left: 2.7rem; padding-right: 3rem; -webkit-appearance: none; appearance: none; }
/* We draw our own clear button, so hide the browser's. */
.product-search input[type="search"]::-webkit-search-cancel-button,
.product-search input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.product-search input:hover, .product-search select:hover { border-color: var(--gray-light); }
.product-search input:focus-visible, .product-search select:focus-visible,
.product-search input:focus, .product-search select:focus { outline: none; border-color: var(--green-primary); box-shadow: 0 0 0 3px var(--green-tint); }
.product-search__clear {
  position: absolute; right: 0.3rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center; border: 0; border-radius: 50%;
  background: transparent; color: var(--gray); cursor: pointer; transition: background-color 0.15s;
}
.product-search__clear:hover { background: var(--surface); color: var(--navy-primary); }
.product-search__clear:focus-visible { outline: 2px solid var(--green-primary); outline-offset: 1px; }
.product-search__clear[hidden], .product-search__actions [hidden] { display: none !important; }
.product-search__actions { display: flex; gap: 0.5rem; }
.product-search__actions .btn { min-height: 48px; white-space: nowrap; }
/* Loading state: slim indeterminate bar along the bottom edge of the search card. */
.product-search__bar { position: absolute; left: 1rem; right: 1rem; bottom: 0; height: 3px; border-radius: 3px; overflow: clip; opacity: 0; transition: opacity 0.15s; pointer-events: none; }
.product-search__bar::after { content: ''; display: block; width: 40%; height: 100%; background: var(--green-primary); border-radius: 3px; }
.product-search.is-loading .product-search__bar { opacity: 1; }
.product-search.is-loading .product-search__bar::after { animation: productBar 1s ease-in-out infinite; }
@keyframes productBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }

.product-toolbar .filter-tabs { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.product-results { scroll-margin-top: 160px; transition: opacity 0.15s; }
.product-results[aria-busy="true"] { opacity: 0.5; pointer-events: none; }
.product-results.is-updated .product-card { animation: productIn 0.22s ease-out both; }
@keyframes productIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.product-results-count { text-align: center; color: var(--gray); font-size: 0.9rem; margin: 0 0 1.25rem; }
@media (max-width: 767px) {
  .product-search { grid-template-columns: 1fr; padding: 0.6rem; gap: 0.6rem; }
  .product-search__actions .btn { flex: 1 1 0; justify-content: center; }
  /* Category select replaces the long tab list on phones. */
  .product-toolbar .filter-tabs { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .product-search.is-loading .product-search__bar::after, .product-results.is-updated .product-card { animation: none; }
  .product-results, .product-search input, .product-search select { transition: none; }
}
.products-empty { grid-column: 1 / -1; text-align: center; padding: 3rem 1rem; color: var(--gray); }
.products-empty h3 { margin: 0.75rem 0 0.5rem; }
.products-empty .btn { margin-top: 1rem; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination__link { padding: 0.6rem 1.1rem; border: 1.5px solid var(--green-primary); border-radius: var(--radius-sm); font-weight: 600; }
.pagination__link:hover { background: var(--green-tint); }
.pagination__status { color: var(--gray); font-size: 0.9rem; }

/* ========== FAQ ACCORDION ========== */
.faq-container { max-width: 860px; }
.faq-list { display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.faq-item.is-open { border-color: var(--green-primary); box-shadow: var(--shadow-md); }
.faq-heading { margin: 0; font-size: 1rem; line-height: 1.4; }
.faq-question {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; width: 100%; min-height: 56px;
  padding: 1rem 1.25rem; background: none; border: 0; cursor: pointer; text-align: left;
  font-family: 'Poppins', 'Inter', sans-serif; font-size: 1rem; font-weight: 600; color: var(--navy-primary);
}
.faq-question:hover { background: var(--surface); }
.faq-question:focus-visible { outline: 2px solid var(--green-primary); outline-offset: -2px; }
.faq-chevron { flex: 0 0 auto; color: var(--green-primary); transition: transform 0.25s ease; }
.faq-question[aria-expanded="true"] .faq-chevron { transform: rotate(180deg); }
.faq-answer__inner { padding: 0 1.25rem 1.25rem; color: var(--gray); line-height: 1.7; }
.faq-answer__inner p + p { margin-top: 0.75rem; }
.faq-more { text-align: center; margin-top: 3rem; padding: 2rem 1.25rem; background: var(--cream); border-radius: var(--radius-lg); }
.faq-more__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; margin-top: 1.25rem; }
@media (max-width: 480px) { .faq-more__actions .btn { width: 100%; justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .faq-chevron, .faq-item { transition: none; } }
