/* ==========================================================================
   Taikangyuan Health Center — Shared Stylesheet
   "The way we treat — We Care, We Heal, We Empower."
   --------------------------------------------------------------------------
   CONTENTS
   1.  Design tokens (colors, fonts, spacing)
   2.  Reset & base
   3.  Utilities (container, buttons, badges, section helpers)
   4.  Header, topbar & navigation
   5.  Hero (home)
   6.  Generic page hero / banner (services, products)
   7.  Sections: stone therapy, pain grid, weight banner, "We Offer"
   8.  Values strip
   9.  Testimonials
   10. Contact / Visit us + map
   11. Footer
   12. Floating widgets (WhatsApp, back-to-top)
   13. Services page: core services, why choose us, reviews, CTA banner
   14. Products page: filter bar, catalog grid, disclaimers
   15. Reveal-on-scroll animations
   16. Responsive breakpoints (mobile-first)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */
:root {
  /* Brand greens — light & fresh */
  --green-950: #1b5e20;
  --green-900: #2e7d32;
  --green-800: #43a047;
  --green-700: #4caf50;
  --green-600: #66bb6a;
  --green-500: #81c784;
  --green-100: #c8e6c9;
  --green-50:  #e8f5e9;

  /* Neutrals */
  --cream: #f5faf4;
  --white: #ffffff;
  --ink:   #17331e;
  --muted: #5a7a62;
  --line:  #dcebdc;

  /* Accents */
  --gold:       #e8b21f;   /* CTA */
  --gold-hover: #c99400;
  --gold-soft:  #fdf4d9;
  --blue-700:   #16537e;   /* supplement sub-brand accent */
  --blue-500:   #3a86b5;
  --blue-50:    #eaf3fa;
  --maroon:     #8e2f4d;   /* women's product accents */
  --maroon-soft:#f9edf2;
  --pink:       #c4497a;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius:    16px;
  --radius-lg: 24px;
  --shadow-sm: 0 2px 8px rgba(46, 125, 50, 0.06);
  --shadow:    0 10px 30px rgba(46, 125, 50, 0.10);
  --shadow-lg: 0 18px 45px rgba(46, 125, 50, 0.16);

  /* Type */
  --font-head: "Poppins", "Segoe UI", Arial, sans-serif;
  --font-body: "Inter", "Open Sans", "Segoe UI", Arial, sans-serif;

  /* Layout */
  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 24px); /* offset sticky header for anchors */
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

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

a { color: var(--green-700); text-decoration: none; }
a:hover { text-decoration: none; }

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--green-900);
  font-weight: 700;
}

h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.35rem); }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Visible & accessible focus states */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection { background: var(--green-600); color: #fff; }

/* --------------------------------------------------------------------------
   3. UTILITIES
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.section { padding-block: 4rem; }
.section-tint { background: linear-gradient(180deg, var(--white), var(--green-50)); }
.section-cream { background: var(--cream); }

.section-head { max-width: 760px; margin: 0 auto 2.75rem; text-align: center; }
.section-head .eyebrow { justify-content: center; }
.section-head p.lead { color: var(--muted); font-size: 1.05rem; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-600);
  margin-bottom: 0.75rem;
}
.eyebrow::before,
.eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }

.lead { color: var(--muted); font-size: 1.05rem; }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-gold { background: var(--gold); color: var(--green-950); box-shadow: 0 8px 20px rgba(232, 178, 31, 0.35); }
.btn-gold:hover { background: var(--gold-hover); color: #fff; }

.btn-green { background: var(--green-700); color: #fff; box-shadow: 0 8px 20px rgba(27, 94, 32, 0.28); }
.btn-green:hover { background: var(--green-600); color: #fff; }

.btn-outline { background: transparent; color: var(--green-700); border-color: var(--green-700); }
.btn-outline:hover { background: var(--green-700); color: #fff; }

.btn-outline-light { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-outline-light:hover { background: #fff; color: var(--green-900); }

.btn-whatsapp { background: #25d366; color: #06301a; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32); }
.btn-whatsapp:hover { background: #1ebe5b; color: #fff; }

.btn-sm { padding: 0.6rem 1.1rem; font-size: 0.85rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }

/* Badges ------------------------------------------------------------------ */
.trust-badge {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem;
  align-items: center;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border: 1px solid #cfe3d2;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
}
.trust-badge i { color: var(--gold-hover); }

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}

/* Reveal-on-scroll (paired with IntersectionObserver in script.js) -------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.revealed { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* --------------------------------------------------------------------------
   4. HEADER, TOPBAR & NAVIGATION
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.topbar {
  background: var(--green-950);
  color: #d9e8dc;
  font-size: 0.8rem;
}
.topbar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.4rem 1.25rem;
  padding-block: 0.5rem;
}
.topbar-inner > span,
.topbar-links a,
.topbar-social a { display: inline-flex; align-items: center; gap: 0.4rem; }
.topbar-links { display: flex; flex-wrap: wrap; gap: 1.1rem; }
.topbar-links a { color: #d9e8dc; }
.topbar-links a:hover { color: var(--gold); }
.topbar-links i { color: var(--gold); }
.topbar-social { display: flex; gap: 0.7rem; }
.topbar-social a {
  color: #d9e8dc;
  width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.2s ease, color 0.2s ease;
}
.topbar-social a:hover { background: var(--gold); color: var(--green-950); }

.navbar {
  position: relative;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.site-header.scrolled .navbar { box-shadow: 0 6px 24px rgba(46, 125, 50, 0.12); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

/* Brand / logo */
.brand { display: inline-flex; align-items: center; gap: 0.7rem; }
.brand-mark { flex: 0 0 auto; width: 50px; height: 50px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.12rem;
  color: var(--green-900);
  letter-spacing: 0.01em;
}
.brand-text small { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; }
.brand-text em {
  font-style: normal;
  font-size: 0.68rem;
  color: var(--green-600);
  font-weight: 600;
}

/* Desktop nav */
.nav-menu { display: flex; align-items: center; gap: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 0.35rem; }
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  position: relative;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-links a:hover { color: var(--green-700); background: var(--green-50); }
.nav-links a.active { color: var(--green-700); background: var(--green-100); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--gold);
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle .bar {
  display: block;
  width: 100%;
  height: 3px;
  border-radius: 3px;
  background: var(--green-700);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   5. HERO (HOME)
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 88% -10%, rgba(232, 178, 31, 0.16), transparent 60%),
    linear-gradient(140deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
  color: #fff;
  overflow: hidden;
  padding-block: 4.5rem 5.5rem;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto -10% -55% -10%;
  height: 70%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.10), transparent);
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3rem;
  align-items: center;
}
.hero-copy .eyebrow { color: #bcd8c3; }
.hero-copy .eyebrow::before,
.hero-copy .eyebrow::after { background: var(--gold); }

.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5.4vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.hero h1 .accent {
  color: var(--gold);
  display: inline-block;
  position: relative;
}
.hero-sub {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: #d9e8dc;
  max-width: 34rem;
  margin-bottom: 1.4rem;
}
.hero .trust-badge {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
  margin-bottom: 1.9rem;
}
.hero .trust-badge i { color: var(--gold); }

.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.6rem;
  margin-top: 1.9rem;
  font-size: 0.92rem;
  color: #d9e8dc;
}
.hero-points li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-points i { color: var(--gold); }

.hero-media { position: relative; max-width: 560px; margin-inline: auto; width: 100%; }
.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 6px solid rgba(255, 255, 255, 0.12);
}
.hero-float-card {
  position: absolute;
  left: -8px;
  bottom: 26px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 0.85rem 1.15rem;
  max-width: calc(100% - 16px);
}
.hero-float-card .icon {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-soft);
  color: var(--gold-hover);
  font-size: 1.1rem;
}
.hero-float-card strong { display: block; font-family: var(--font-head); font-size: 0.92rem; color: var(--green-900); }
.hero-float-card span { font-size: 0.8rem; color: var(--muted); }

/* Before & After results slideshow (home hero, right column) */
.results-slider {
  position: relative;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: #2e7d32;
}
.results-track { position: relative; aspect-ratio: 5 / 4; }
.results-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.7s ease, transform 0.9s ease;
  pointer-events: none;
}
.results-slide.is-active { opacity: 1; transform: scale(1); pointer-events: auto; z-index: 1; }
.results-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  box-shadow: none;
}
.ba-label {
  position: absolute;
  top: 14px;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.ba-before { left: 14px; background: rgba(17, 24, 39, 0.78); }
.ba-after  { right: 14px; background: var(--green-600, #2e7d32); }
.results-slide figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 3.2rem 1.1rem 1rem;
  background: linear-gradient(to top, rgba(46, 125, 50, 0.92), rgba(46, 125, 50, 0));
  color: #fff;
}
.results-slide figcaption strong {
  display: block;
  font-family: var(--font-head);
  font-size: 0.95rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}
.results-slide figcaption span { display: block; font-size: 0.85rem; line-height: 1.45; color: #e3efe6; }
.results-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 0;
  background: rgba(255,255,255,0.88);
  color: var(--green-900);
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
}
.results-arrow:hover { background: var(--gold); transform: translateY(-50%) scale(1.06); }
.results-arrow.prev { left: 10px; }
.results-arrow.next { right: 10px; }
.results-dots {
  position: absolute;
  top: 12px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex; gap: 6px;
}
.results-dots button {
  width: 8px; height: 8px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: width 0.25s, background 0.25s;
}
.results-dots button.is-active { width: 22px; background: var(--gold); }
.hero-media:has(.results-slider) .hero-float-card { bottom: -22px; }
@media (prefers-reduced-motion: reduce) {
  .results-slide { transition: none; transform: none; }
}

/* --------------------------------------------------------------------------
   6. PAGE HERO / BANNER (services & products)
   -------------------------------------------------------------------------- */
.page-hero {
  position: relative;
  background:
    radial-gradient(700px 380px at 90% -20%, rgba(232, 178, 31, 0.14), transparent 60%),
    linear-gradient(135deg, var(--green-900), var(--green-700));
  color: #fff;
  padding-block: 3.6rem 4.2rem;
  text-align: center;
  overflow: hidden;
}
.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}
.page-hero::before { width: 300px; height: 300px; top: -120px; left: -90px; }
.page-hero::after  { width: 420px; height: 420px; bottom: -260px; right: -120px; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 0.6rem; }
.page-hero p { color: #d9e8dc; max-width: 640px; margin-inline: auto; }
.breadcrumb {
  display: inline-flex;
  gap: 0.55rem;
  align-items: center;
  font-size: 0.82rem;
  font-family: var(--font-head);
  color: #bcd8c3;
  margin-bottom: 0.9rem;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb i { font-size: 0.6rem; }

/* --------------------------------------------------------------------------
   7. HOME CONTENT SECTIONS
   -------------------------------------------------------------------------- */

/* --- Germanium & Tourmaline ------------------------------------------- */
.split {
  display: grid;
  gap: 2.6rem;
  align-items: center;
}
.split-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.split-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.split-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(46, 125, 50, 0.35));
}
.split-caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.1rem;
  z-index: 1;
  color: #fff;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.split-caption i { color: var(--gold); }

.check-list { display: grid; gap: 0.8rem; margin: 1.3rem 0 1.7rem; }
.check-list li { display: flex; gap: 0.8rem; align-items: flex-start; }
.check-list li i {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.75rem;
}
.check-list li strong { display: block; font-family: var(--font-head); font-size: 0.98rem; }
.check-list li span { color: var(--muted); font-size: 0.9rem; }

/* --- Pain grid --------------------------------------------------------- */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
}
.pain-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.pain-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--green-100); }
.pain-card i {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.15rem;
}
.pain-card strong { font-family: var(--font-head); font-size: 0.95rem; color: var(--green-900); }
.pain-card small { display: block; color: var(--muted); font-size: 0.78rem; }

.pain-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--green-700);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.75rem 1.25rem;
}
.pain-more:hover { background: var(--green-700); color: #fff; }
.pain-more i { color: var(--gold); }

/* --- Weight management banner ------------------------------------------ */
.weight-banner {
  position: relative;
  background: linear-gradient(120deg, var(--green-900), var(--green-700) 70%, var(--green-600));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.weight-banner::before,
.weight-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
}
.weight-banner::before { width: 260px; height: 260px; top: -130px; right: -70px; }
.weight-banner::after { width: 200px; height: 200px; bottom: -110px; left: -60px; }
.weight-banner > * { position: relative; z-index: 1; }
.weight-banner .w-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.1rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--gold);
  font-size: 1.5rem;
}
.weight-banner h2 { color: #fff; margin-bottom: 0.5rem; }
.weight-banner p { color: #d9e8dc; max-width: 620px; margin: 0 auto 1.6rem; }

/* --- "We Offer" two-column cards --------------------------------------- */
.offer-grid { display: grid; gap: 1.8rem; }
.offer-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.offer-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.offer-card img { width: 100%; height: 220px; object-fit: cover; }
.offer-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.offer-body h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.5rem; }
.offer-body h3 i { color: var(--gold-hover); }
.offer-body > p { color: var(--muted); }
.offer-list { margin: 1.1rem 0 1.5rem; display: grid; gap: 0.65rem; }
.offer-list li { display: flex; gap: 0.6rem; align-items: center; font-size: 0.95rem; }
.offer-list i { color: var(--green-600); }
.offer-foot { margin-top: auto; }

/* --- Core values strip --------------------------------------------------- */
.values-strip {
  background: linear-gradient(120deg, var(--green-950), var(--green-900));
  color: #fff;
  padding-block: 3.2rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem 1rem;
  text-align: center;
}
.value-item i {
  width: 56px;
  height: 56px;
  margin: 0 auto 0.8rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 1.25rem;
}
.value-item strong { display: block; font-family: var(--font-head); font-size: 0.95rem; margin-bottom: 0.15rem; }
.value-item span { color: #a9c4af; font-size: 0.82rem; }

/* --- Testimonials preview ---------------------------------------------- */
.review-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review-head { display: flex; align-items: center; gap: 0.85rem; }
.review-avatar {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--font-head);
  font-weight: 700;
  color: #fff;
  background: var(--green-700);
}
.review-avatar.alt { background: var(--blue-700); }
.review-avatar.pink { background: var(--pink); }
.review-name { font-family: var(--font-head); font-weight: 600; font-size: 0.95rem; color: var(--green-900); }
.review-meta { font-size: 0.78rem; color: var(--muted); }
.review-stars { color: var(--gold-hover); font-size: 0.85rem; letter-spacing: 2px; }
.review-stars .dim { color: #d6d9d2; }
.review-text { color: var(--ink); font-size: 0.94rem; margin: 0; }

.review-grid { display: grid; gap: 1.3rem; margin-top: 2.4rem; }

.center-cta { text-align: center; margin-top: 2.4rem; }

/* --------------------------------------------------------------------------
   8. CONTACT / VISIT US
   -------------------------------------------------------------------------- */
.contact-grid { display: grid; gap: 2rem; align-items: start; }
.contact-info { display: grid; gap: 1.1rem; }
.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  box-shadow: var(--shadow-sm);
}
.contact-item i {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.05rem;
}
.contact-item.whatsapp i { background: #e7f9ee; color: #23a455; }
.contact-item.mpesa i { background: var(--gold-soft); color: var(--gold-hover); }
.contact-item strong { display: block; font-family: var(--font-head); font-size: 0.95rem; color: var(--green-900); margin-bottom: 0.15rem; }
.contact-item p, .contact-item a { font-size: 0.92rem; color: var(--muted); margin: 0; }
.contact-item a:hover { color: var(--green-700); }

.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  background: #fff;
}
.map-wrap iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }

/* --------------------------------------------------------------------------
   9. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--green-950);
  color: #c4d7c9;
  padding-top: 4rem;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 2.6rem;
}
.footer-brand .brand-mark { width: 56px; height: 56px; }
.footer-brand .brand-text strong { color: #fff; font-size: 1.2rem; }
.footer-brand .brand-text small { color: #a9c4af; }
.footer-brand .brand-text em { color: var(--gold); }
.footer-brand p { color: #a9c4af; margin: 1rem 0 1.2rem; }
.footer-motto {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-col h4 {
  color: #fff;
  font-size: 0.95rem;
  font-family: var(--font-head);
  margin-bottom: 1.1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.footer-links { display: grid; gap: 0.65rem; }
.footer-links a { color: #c4d7c9; display: inline-flex; align-items: center; gap: 0.5rem; transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-links a i { color: var(--gold); font-size: 0.7rem; }
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-contact { display: grid; gap: 0.85rem; }
.footer-contact li { display: flex; gap: 0.7rem; align-items: flex-start; }
.footer-contact i { color: var(--gold); margin-top: 4px; }
.footer-contact a { color: #c4d7c9; }
.footer-contact a:hover { color: var(--gold); }
.footer-social { display: flex; gap: 0.65rem; margin-top: 1.2rem; }
.footer-social a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.2s ease, transform 0.2s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--green-950); transform: translateY(-3px); }

.till-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px dashed rgba(232, 178, 31, 0.55);
  color: var(--gold);
  border-radius: 999px;
  padding: 0.55rem 1.05rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1.3rem;
  text-align: center;
  font-size: 0.82rem;
  color: #93ad9a;
}
.footer-bottom a { color: #c4d7c9; }
.footer-bottom a:hover { color: var(--gold); }

/* --------------------------------------------------------------------------
   10. FLOATING WIDGETS
   -------------------------------------------------------------------------- */
.float-whatsapp {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  z-index: 900;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s ease;
}
.float-whatsapp:hover { transform: scale(1.08); color: #fff; }
.float-whatsapp::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.55);
  animation: wa-pulse 2s infinite;
}
@keyframes wa-pulse {
  0% { transform: scale(0.9); opacity: 1; }
  70% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.25); opacity: 0; }
}

.to-top {
  position: fixed;
  right: 1.35rem;
  bottom: 5.6rem;
  z-index: 899;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-700);
  color: #fff;
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: var(--shadow);
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--green-600); color: #fff; }

/* --------------------------------------------------------------------------
   11. SERVICES PAGE
   -------------------------------------------------------------------------- */

/* Core services cards */
.core-services {
  display: grid;
  gap: 1.4rem;
}
.core-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.core-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-600), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.core-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.core-card:hover::before { transform: scaleX(1); }
.core-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.3rem;
  margin-bottom: 1.1rem;
}
.core-card h3 { margin-bottom: 0.5rem; }
.core-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 0.9rem; }
.core-card ul { display: grid; gap: 0.45rem; margin-bottom: 0; }
.core-card ul li { display: flex; gap: 0.5rem; align-items: center; font-size: 0.88rem; }
.core-card ul i { color: var(--gold-hover); font-size: 0.75rem; }

/* Why choose us */
.why-grid { display: grid; gap: 1.3rem; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card i {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.35rem;
  border: 1px solid var(--green-100);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p { color: var(--muted); font-size: 0.9rem; margin: 0; }

/* Reviews */
.reviews-section { background: var(--white); border-top: 1px solid var(--line); }
.review-summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.8rem;
  max-width: 620px;
  margin: 0 auto 1.8rem;
}
.review-summary .big {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 2.6rem;
  color: var(--green-900);
  line-height: 1;
}
.review-summary .of-five { font-size: 0.85rem; color: var(--muted); }
.review-summary .review-stars { font-size: 1.05rem; margin: 0.35rem 0 0.2rem; }
.review-summary .count { font-family: var(--font-head); font-weight: 600; color: var(--green-700); }

.reviews-grid { display: grid; gap: 1.3rem; }

.load-more-wrap { text-align: center; margin-top: 2.2rem; }
.load-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: 2px solid var(--green-700);
  background: transparent;
  color: var(--green-700);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.load-more-btn:hover { background: var(--green-700); color: #fff; transform: translateY(-2px); }
.load-more-btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* Leave a review form */
.review-form-card {
  max-width: 720px;
  margin: 2.6rem auto 0;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
}
.review-form-card h3 { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.35rem; }
.review-form-card h3 i { color: var(--gold-hover); }
.review-form-card > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.3rem; }

.form-grid { display: grid; gap: 1rem; }
.form-group label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--green-900);
  margin-bottom: 0.4rem;
}
.form-group input,
.form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--ink);
  padding: 0.8rem 1rem;
  background: #fff;
  border: 1px solid #cfd8cc;
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--green-600);
  box-shadow: 0 0 0 4px rgba(46, 125, 50, 0.15);
}
.form-group textarea { resize: vertical; min-height: 110px; }

/* Star rating selector */
.star-rating { display: inline-flex; gap: 0.25rem; }
.star-rating input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label {
  font-size: 1.7rem;
  color: #d6d9d2;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}
.star-rating label:hover,
.star-rating label.checked,
.star-rating input:checked + label { color: var(--gold-hover); }
.star-rating input:focus-visible + label { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }

.form-success {
  display: none;
  align-items: center;
  gap: 0.6rem;
  background: #e7f9ee;
  color: #14672f;
  border: 1px solid #bfe9cd;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.1rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}
.form-success.show { display: flex; }

/* CTA banner (services bottom) */
.cta-banner {
  background:
    radial-gradient(600px 320px at 10% -30%, rgba(232, 178, 31, 0.18), transparent 60%),
    linear-gradient(120deg, var(--green-950), var(--green-700));
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.cta-banner h2 { color: #fff; margin-bottom: 0.6rem; }
.cta-banner p { color: #d9e8dc; max-width: 600px; margin: 0 auto 1.8rem; }

/* --------------------------------------------------------------------------
   12. PRODUCTS PAGE
   -------------------------------------------------------------------------- */
.product-tools {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.8rem;
}
.result-count { font-family: var(--font-head); font-size: 0.9rem; color: var(--muted); }
.result-count strong { color: var(--green-700); }

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem;
  box-shadow: var(--shadow-sm);
}
.filter-btn {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 999px;
  padding: 0.6rem 1rem;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}
.filter-btn:hover { background: var(--green-50); color: var(--green-700); }
.filter-btn.active { background: var(--green-700); color: #fff; }
.filter-btn.active i { color: var(--gold); }
.filter-btn i { margin-right: 0.35rem; font-size: 0.75rem; }

.product-grid { display: grid; gap: 1.6rem; }

.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  animation: card-in 0.4s ease both;
}
@keyframes card-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

.product-media { position: relative; }
.product-media img { width: 100%; height: 210px; object-fit: cover; }
.product-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-family: var(--font-head);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #fff;
  background: var(--green-700);
  border-radius: 999px;
  padding: 0.32rem 0.7rem;
  box-shadow: var(--shadow-sm);
}
.product-badge.b-blue { background: var(--blue-700); }
.product-badge.b-navy { background: #2b4d8e; }
.product-badge.b-heart { background: var(--maroon); }
.product-badge.b-women { background: var(--pink); }
.product-badge.b-men { background: #2b4d8e; }

.product-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.product-brand {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-700);
  margin-bottom: 0.4rem;
}
.product-brand i { color: var(--gold-hover); }
.product-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.product-tagline { color: var(--muted); font-size: 0.9rem; margin-bottom: 0.85rem; }

.benefit-list { display: grid; gap: 0.4rem; margin-bottom: 1rem; }
.benefit-list li {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--ink);
}
.benefit-list i {
  flex: 0 0 auto;
  margin-top: 3px;
  width: 16px;
  height: 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-100);
  color: var(--green-700);
  font-size: 0.55rem;
}

.product-flags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem; }
.product-flags span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 0.22rem 0.55rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px dashed var(--line);
}
.pack-size { display: inline-flex; align-items: center; gap: 0.4rem; font-size: 0.8rem; color: var(--muted); }
.pack-size i { color: var(--green-600); }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; color: var(--green-900); }
.price small { font-weight: 600; font-size: 0.72rem; color: var(--muted); display: block; }
.price-on-request { color: var(--muted); font-size: 0.9rem; }

.product-actions { margin-top: 1.1rem; display: grid; gap: 0.6rem; }
.product-actions .btn { width: 100%; }
.till-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
}
.till-note i { color: var(--green-600); }
.till-note strong { color: var(--green-800); }

.category-chip-set { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.category-chip {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--green-700);
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 0.25rem 0.7rem;
}

.no-results {
  display: none;
  text-align: center;
  padding: 3rem 1rem;
  background: #fff;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
}
.no-results.show { display: block; }
.no-results i { font-size: 2rem; color: var(--gold-hover); display: block; margin-bottom: 0.8rem; }

/* Delivery & disclaimer notes */
.info-notes { display: grid; gap: 1.2rem; margin-top: 3rem; }
.info-note {
  display: flex;
  gap: 1rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.info-note i {
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue-700);
  font-size: 1.2rem;
}
.info-note.disclaimer i { background: var(--gold-soft); color: var(--gold-hover); }
.info-note h3 { font-size: 1rem; margin-bottom: 0.3rem; }
.info-note p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* --------------------------------------------------------------------------
   13. RESPONSIVE (mobile-first)
   -------------------------------------------------------------------------- */
@media (min-width: 640px) {
  .container { padding-inline: 1.6rem; }
  .pain-grid { grid-template-columns: repeat(3, 1fr); }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .core-services { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .review-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr 1fr; }
  .form-grid .form-group-full { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .pain-grid { grid-template-columns: repeat(4, 1fr); }
  .values-grid { grid-template-columns: repeat(5, 1fr); }
  .core-services { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .hero { padding-block: 5.5rem 6.5rem; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; }
  .split { grid-template-columns: 1fr 1fr; gap: 4rem; }
  .split.split-reverse { grid-template-columns: 1fr 1fr; }
  .offer-grid { grid-template-columns: 1fr 1fr; }
  .review-grid { grid-template-columns: repeat(3, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; }
  .map-wrap { min-height: 100%; }
  .map-wrap iframe { min-height: 100%; }
  .footer-grid { grid-template-columns: 1.35fr 0.8fr 1.25fr; }
  .footer-grid .footer-col:last-child { grid-column: auto; }
}

@media (min-width: 1280px) {
  .product-grid { grid-template-columns: repeat(4, 1fr); }
}

/* Tablet / mobile navigation */
@media (max-width: 899px) {
  .nav-toggle { display: inline-flex; }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.4rem;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 1rem 1.25rem 1.4rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.35s ease, opacity 0.25s ease, visibility 0.25s, padding 0.35s ease;
  }
  .navbar .nav-menu.open {
    max-height: 520px;
    opacity: 1;
    visibility: visible;
  }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0.2rem; }
  .nav-links a { display: block; border-radius: var(--radius-sm); }
  .nav-links a.active::after { display: none; }
  .nav-cta { justify-content: center; margin-top: 0.5rem; }

  /* Hide less important topbar information on small screens */
  .topbar-inner > span { display: none; }
  .topbar-inner { justify-content: center; }
}

@media (max-width: 479px) {
  .brand-text strong { font-size: 1rem; }
  .brand-text small { font-size: 0.62rem; }
  .brand-text em { font-size: 0.6rem; }
  .pain-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .filter-bar { border-radius: var(--radius-lg); }
  .filter-btn { flex: 1 1 auto; }
  .hero-float-card { left: 50%; transform: translateX(-50%); bottom: 14px; }
  .review-summary { padding: 1.2rem 1rem; }
}

/* ==========================================================================
   14. FEATURED SERVICES + ADMIN / SUPABASE CMS
   ========================================================================== */

/* --- Featured Weight Loss service (most pronounced) --------------------- */
.core-card.featured-service {
  border: 2px solid var(--gold);
  background:
    radial-gradient(420px 220px at 90% -20%, rgba(232, 178, 31, 0.16), transparent 60%),
    linear-gradient(180deg, #ffffff, #fbfcfa);
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}
.core-card.featured-service::before {
  content: "";
  transform: scaleX(1);
  background: linear-gradient(90deg, var(--gold), var(--green-600));
}
.core-card.featured-service:hover { transform: translateY(-4px) scale(1.02); }
.featured-flag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-start;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a5a00;
  background: var(--gold-soft);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
  margin-bottom: 0.7rem;
}
.featured-service .core-icon { background: var(--gold-soft); color: var(--gold-hover); }

/* --- Admin helper classes ---------------------------------------------- */
.tk-admin-shell { font-family: var(--font-body); font-size: 16px; color: var(--ink); }

.tk-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(20, 48, 28, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.tk-overlay.show { opacity: 1; visibility: visible; }

.tk-card {
  width: min(100%, 560px);
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 30px 60px rgba(20, 48, 28, 0.35);
  padding: 1.6rem;
}
.tk-admin-card { width: min(100%, 760px); }

.tk-login-head { text-align: center; margin-bottom: 1.2rem; }
.tk-login-head i {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
  font-size: 1.4rem;
}
.tk-login-head h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.tk-login-head p { color: var(--muted); font-size: 0.9rem; margin: 0; }

.tk-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-800);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s;
}
.tk-close:hover { background: var(--green-100); }
.tk-card { position: relative; }
.tk-admin-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.tk-admin-head h3 { margin: 0; }

.tk-field { margin-bottom: 0.9rem; }
.tk-field label { display: block; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; margin-bottom: 0.35rem; }
.tk-field input,
.tk-form input,
.tk-form textarea {
  width: 100%;
  padding: 0.72rem 0.85rem;
  border: 1px solid #cfe0cf;
  border-radius: 10px;
  font: inherit;
  font-size: 0.92rem;
  background: #fff;
}
.tk-field input:focus,
.tk-form input:focus,
.tk-form textarea:focus { border-color: var(--green-600); outline: none; box-shadow: 0 0 0 3px rgba(102, 187, 106, 0.2); }
.tk-form textarea { resize: vertical; min-height: 90px; }
.tk-error { color: #b3261e; font-size: 0.85rem; min-height: 1.2em; }

.tk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.72rem 1.15rem;
  border: 1px solid #cfe0cf;
  border-radius: 999px;
  background: #fff;
  color: var(--green-800);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, color 0.2s;
}
.tk-btn:hover { background: var(--green-50); transform: translateY(-1px); }
.tk-btn-primary { background: var(--green-700); border-color: var(--green-700); color: #fff; }
.tk-btn-primary:hover { background: var(--green-600); color: #fff; }
.tk-btn-sm { padding: 0.5rem 0.85rem; font-size: 0.78rem; }
.tk-full { width: 100%; }

.tk-admin-bar {
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 2500;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: #fff;
  border: 1px solid var(--green-100);
  border-radius: 999px;
  padding: 0.4rem 0.7rem;
  box-shadow: var(--shadow);
  font-size: 0.82rem;
}
.tk-admin-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2fbf57;
}
.tk-bar-btn {
  border: 0;
  background: var(--green-50);
  color: var(--green-800);
  border-radius: 999px;
  padding: 0.42rem 0.75rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.tk-bar-btn:hover { background: var(--green-100); }

.tk-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.7rem;
  margin-bottom: 1.1rem;
}
.tk-tab {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
}
.tk-tab.is-active { background: var(--green-700); border-color: var(--green-700); color: #fff; }

.tk-section-title {
  font-family: var(--font-head);
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--green-900);
}

.tk-list { display: grid; gap: 0.5rem; margin-bottom: 1.3rem; }
.tk-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.tk-row-main { min-width: 0; }
.tk-row-main strong { display: block; font-size: 0.9rem; color: var(--green-900); }
.tk-row-main span {
  display: block;
  max-width: 45ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 0.8rem;
}
.tk-row-actions { display: flex; gap: 0.35rem; flex: 0 0 auto; }
.tk-mini {
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--green-700);
  cursor: pointer;
}
.tk-mini:hover { background: var(--green-100); }
.tk-danger { color: #b3261e; }

.tk-form { display: grid; gap: 0.8rem; border-top: 1px solid var(--line); padding-top: 1rem; }
.tk-form h4 { font-size: 1rem; }
.tk-form label { display: grid; gap: 0.35rem; font-family: var(--font-head); font-weight: 600; font-size: 0.82rem; color: var(--green-900); }
.tk-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; }
.tk-form-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.tk-empty { color: var(--muted); font-size: 0.88rem; padding: 0.6rem 0; }

.tk-img-list { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.tk-img-row { display: grid; gap: 0.5rem; justify-items: start; }
.tk-img-row img { width: 140px; height: 100px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.tk-img-row strong { font-size: 0.78rem; color: var(--green-900); }
.tk-img-row span { font-size: 0.72rem; color: var(--muted); display: block; margin-bottom: 0.4rem; }
.tk-muted { color: var(--muted); font-weight: 400; }

.tk-toast {
  position: fixed;
  left: 50%;
  bottom: 1.6rem;
  transform: translate(-50%, 20px);
  z-index: 4000;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #1d3a27;
  color: #fff;
  border-radius: 999px;
  padding: 0.8rem 1.15rem;
  font-size: 0.88rem;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
  max-width: min(90vw, 520px);
}
.tk-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.tk-toast.success { background: #24663a; }
.tk-toast.error { background: #b3261e; }
.tk-toast i { color: var(--gold); flex: 0 0 auto; }

/* Inline edit affordances */
.tk-edit-host { position: relative; }
.tk-image-edit {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 12;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--green-800);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.72rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(20, 48, 28, 0.24);
}
.tk-image-edit:hover { background: var(--green-50); color: var(--green-900); }
.tk-file-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.tk-edit-host-text { position: relative; display: inline-block; }
.tk-edit-host-text .tk-text-edit {
  position: absolute;
  top: 0.45rem;
  right: 0.45rem;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: #6b4f00;
  font-size: 0.7rem;
  cursor: pointer;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

@media (max-width: 640px) {
  .tk-admin-bar { top: auto; bottom: 88px; right: 12px; }
  .tk-form-grid { grid-template-columns: 1fr; }
  .tk-admin-card { padding: 1.15rem; }
}

/* Dynamic CMS content */
.core-card .cms-more { margin-top: 0.4rem; font-size: 0.88rem; color: var(--muted); }
.product-card .product-detail { font-size: 0.86rem; color: var(--muted); margin-bottom: 0.8rem; }

/* Empty CMS containers stay hidden until records exist */
.core-services[hidden], .product-grid[hidden] { display: none; }
.tk-admin-bar[hidden] { display: none; }
