/* ==========================================================
   SuperHealth – icon refresh
   Thin line icons sitting on a soft organic shape instead of
   gradient tiles. Loaded after each page's own styles.
   ========================================================== */

:root {
  --ic-stroke: var(--sage-dark);
  --ic-blob: rgba(168, 184, 154, 0.30);
  --ic-blob-hover: rgba(196, 149, 106, 0.22);
}

/* ---------- Small / medium icons ---------- */
.service-icon, .about-feature-icon, .floating-card-icon, .featured-benefit-icon,
.why-icon, .contact-icon, .benefit-icon, .provide-icon, .detox-icon, .how-icon,
.hours-icon, .credential-icon, .portal-icon {
  position: relative;
  isolation: isolate;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--ic-stroke);
  overflow: visible;
}

.service-icon::before, .about-feature-icon::before, .floating-card-icon::before,
.featured-benefit-icon::before, .why-icon::before, .contact-icon::before,
.benefit-icon::before, .provide-icon::before, .detox-icon::before, .how-icon::before,
.hours-icon::before, .credential-icon::before, .portal-icon::before {
  content: '';
  position: absolute;
  inset: 10% 0 0 16%;
  z-index: -1;
  background: var(--ic-blob);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
  transition: border-radius .7s ease, transform .7s ease, background .5s ease;
}

:hover > .service-icon::before, :hover > .about-feature-icon::before,
:hover > .why-icon::before, :hover > .benefit-icon::before, :hover > .provide-icon::before,
:hover > .detox-icon::before, :hover > .how-icon::before, :hover > .hours-icon::before,
:hover > .credential-icon::before, :hover > .portal-icon::before, :hover > .contact-icon::before {
  border-radius: 42% 58% 38% 62% / 58% 42% 58% 42%;
  transform: rotate(-8deg) scale(1.06);
  background: var(--ic-blob-hover);
}

.service-icon svg, .about-feature-icon svg, .floating-card-icon svg, .featured-benefit-icon svg,
.why-icon svg, .contact-icon svg, .benefit-icon svg, .provide-icon svg, .detox-icon svg,
.how-icon svg, .hours-icon svg, .credential-icon svg, .portal-icon svg {
  stroke: currentColor !important;
  stroke-width: 1.4;
  color: inherit;
}

/* sizes: icon slightly offset up-left of its shape */
.service-icon        { width: 64px; height: 64px; justify-content: flex-start !important; align-items: flex-start !important; padding: 4px 0 0 4px; }
.service-icon svg    { width: 38px; height: 38px; }
.about-feature-icon, .floating-card-icon, .credential-icon { width: 46px; height: 46px; min-width: 46px; }
.about-feature-icon svg, .floating-card-icon svg, .credential-icon svg { width: 28px; height: 28px; }
.featured-benefit-icon { width: 40px; height: 40px; min-width: 40px; }
.featured-benefit-icon svg { width: 24px; height: 24px; }
.contact-icon        { width: 48px; height: 48px; min-width: 48px; }
.contact-icon svg    { width: 26px; height: 26px; }
.why-icon            { width: 88px; height: 88px; }
.why-icon svg        { width: 46px; height: 46px; stroke-width: 1.2; }
.benefit-icon, .how-icon, .hours-icon { width: 76px; height: 76px; }
.benefit-icon svg, .how-icon svg, .hours-icon svg { width: 40px; height: 40px; stroke-width: 1.25; }
.provide-icon, .detox-icon, .portal-icon { width: 60px; height: 60px; min-width: 60px; }
.provide-icon svg, .detox-icon svg, .portal-icon svg { width: 32px; height: 32px; }

/* dark sections: cream line, warm terracotta shape */
.featured-service .featured-benefit-icon,
.how-it-works .how-icon { color: var(--cream); }
.featured-service .featured-benefit-icon::before,
.how-it-works .how-icon::before { background: rgba(196, 149, 106, 0.28); }
.how-it-works h2 { color: var(--white); }

/* ---------- Large illustration panels ---------- */
.remedy-image, .related-image, .category-image, .service-card-image, .machine-image {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  color: var(--sage-dark);
  background:
    radial-gradient(120% 90% at 85% 110%, rgba(196, 149, 106, 0.18) 0%, transparent 55%),
    radial-gradient(90% 80% at 10% 0%, rgba(168, 184, 154, 0.45) 0%, transparent 60%),
    var(--cream-dark) !important;
}

/* organic shape behind the icon */
.remedy-image::before, .related-image::before, .category-image::before,
.service-card-image::before, .machine-image::before {
  content: '';
  position: absolute;
  width: 46%;
  aspect-ratio: 1;
  max-width: 170px;
  left: 50%; top: 50%;
  transform: translate(-44%, -42%) rotate(-6deg);
  z-index: -1;
  background: rgba(139, 154, 124, 0.22);
  border-radius: 62% 38% 55% 45% / 48% 60% 40% 52%;
  transition: border-radius .8s ease, transform .8s ease;
}

/* fine contour lines, like a topographic leaf vein */
.remedy-image::after, .related-image::after, .category-image::after,
.service-card-image::after, .machine-image::after {
  content: '';
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  max-width: 300px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  z-index: -1;
  border-radius: 50%;
  border: 1px solid rgba(107, 122, 92, 0.16);
  outline: 1px solid rgba(107, 122, 92, 0.10);
  outline-offset: 22px;
  pointer-events: none;
}

:hover > .remedy-image::before, :hover > .related-image::before, :hover > .category-image::before,
:hover > .service-card-image::before, :hover > .machine-image::before,
.remedy-image:hover::before, .related-image:hover::before, .category-image:hover::before,
.service-card-image:hover::before, .machine-image:hover::before {
  border-radius: 42% 58% 38% 62% / 58% 42% 58% 42%;
  transform: translate(-50%, -50%) rotate(6deg) scale(1.05);
}

.remedy-image svg, .related-image svg, .category-image svg,
.service-card-image svg, .machine-image svg {
  width: 64px !important;
  height: 64px !important;
  stroke: currentColor !important;
  stroke-width: 1.1;
  color: var(--sage-dark);
}
.related-image svg { width: 52px !important; height: 52px !important; }
.machine-image { color: var(--charcoal); }
.machine-image svg { stroke-width: 1.1; }

@media (max-width: 768px) {
  .why-icon { width: 76px; height: 76px; }
  .why-icon svg { width: 40px; height: 40px; }
  .remedy-image svg, .category-image svg, .service-card-image svg, .machine-image svg { width: 56px !important; height: 56px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *::before { transition: none !important; }
}

/* ---------- In-site Zoho panel (patient sign in) ---------- */
html.zp-lock, html.zp-lock body { overflow: hidden; }
.zp-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(45, 58, 46, 0.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease;
}
.zp-overlay.open { opacity: 1; visibility: visible; }
.zp-sheet {
  width: min(960px, calc(100% - 48px)); height: min(860px, calc(100vh - 64px));
  background: var(--cream); border-radius: 24px; overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25);
  transform: translateY(24px); transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.zp-overlay.open .zp-sheet { transform: none; }
.zp-bar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px 14px 24px; border-bottom: 1px solid var(--cream-dark);
}
.zp-title { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; color: var(--charcoal); }
.zp-close {
  width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--cream-dark); color: var(--charcoal);
  display: flex; align-items: center; justify-content: center; transition: background .2s;
}
.zp-close:hover { background: var(--sage-light); color: #fff; }
.zp-body { position: relative; flex: 1; background: #fff; }
.zp-body iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.zp-loading { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 15px; }

@media (max-width: 768px) {
  .zp-overlay { align-items: flex-end; }
  .zp-sheet {
    width: 100%; height: calc(100% - 24px); height: calc(100dvh - 24px);
    border-radius: 22px 22px 0 0; transform: translateY(100%);
  }
  .zp-bar { padding: 10px 12px 10px 20px; }
  .zp-title { font-size: 21px; }
}

/* ==========================================================
   Mobile spacing & type normalisation (all pages)
   ========================================================== */
html, body { overflow-x: clip; }

@media (max-width: 768px) {
  .container { padding-left: 20px !important; padding-right: 20px !important; }

  /* rhythm: consistent section spacing */
  section:not(.hero):not(.map-section) { padding-top: 64px !important; padding-bottom: 64px !important; }
  .page-header { padding: 132px 0 48px !important; }
  .section-header { margin-bottom: 36px !important; }
  [class$="-grid"] { row-gap: 20px !important; }
  [class$="-grid"][class*="footer"] { row-gap: 32px !important; }

  /* type scale: hero > section > card */
  .hero h1 { font-size: 38px !important; line-height: 1.12 !important; margin-bottom: 16px !important; }
  .page-header h1 { font-size: 38px !important; line-height: 1.12 !important; }
  section h2 { font-size: 30px !important; line-height: 1.18 !important; }
  section .section-header p, .hero p { font-size: 16px !important; line-height: 1.65 !important; }
  .cta-section h2, .cta-content h2 { font-size: 30px !important; }

  /* cards: a little less padding so text has room */
  .service-card, .why-card, .benefit-card, .provide-card, .faq-item, .hours-card,
  .how-card, .testimonial-card, .contact-form-wrapper { padding: 28px 24px !important; }
  .why-card .why-icon, .benefit-card .benefit-icon, .hours-card .hours-icon { margin-bottom: 16px !important; }

  /* stack two-up layouts that are too narrow at phone width */
  .about-features { grid-template-columns: 1fr !important; gap: 18px !important; }
  .form-row { grid-template-columns: 1fr !important; gap: 0 !important; }
  .form-group input, .form-group select, .form-group textarea { font-size: 16px !important; } /* stops iOS zoom */

  /* decorative elements that pushed the page sideways */
  .hero-decoration, .about-image-accent, .mission-image-accent { display: none !important; }
  .hero-card-2 { right: 12px !important; }
  .hero-card-1 { left: 12px !important; }

  /* practitioner block: drop the half-width tint band, add breathing room */
  .practitioner-section::before, .practitioner-section::after { display: none !important; }
  .practitioner-grid { gap: 36px !important; }

  /* illustration panels: shorter on phones */
  .remedy-image, .category-image, .service-card-image { aspect-ratio: 16 / 10 !important; height: auto !important; }
  .related-image, .machine-image { height: 150px !important; }
  .featured-image-box { aspect-ratio: 4 / 3 !important; }

  /* round 2 */
  .practitioner-bg { display: none !important; }
  .practitioner-image, .practitioner-photo, .overview-sidebar { position: relative !important; top: auto !important; }
  .why-card { padding: 12px 8px !important; }
  .contact-form { padding: 28px 22px !important; border-radius: 22px !important; }
  .why-us-header, .services-header { margin-bottom: 32px !important; }
}

@media (max-width: 480px) {
  .hero h1, .page-header h1 { font-size: 34px !important; }
  section h2 { font-size: 28px !important; }
}

/* consistent header actions on every page */
.nav-actions { display: flex; align-items: center; gap: 16px; }
@media (max-width: 768px) { .nav-actions { gap: 14px; } }

/* mobile header: fixed height so the menu button never shifts while scrolling */
@media (max-width: 768px) {
  .nav, .nav.scrolled { padding: 12px 0 !important; }
  .nav-inner { min-height: 85px; }
  .mobile-menu-btn { flex-shrink: 0; }
}

/* ==========================================================
   Spa-style full-bleed photo headers: light, warm, airy
   ========================================================== */
:root { --sand: #F3EEE6; --warm-cream: 248,246,241; }

/* ---- Home hero ---- */
.hero {
  min-height: 100vh; min-height: 100svh;
  background: linear-gradient(135deg, var(--cream) 0%, var(--sand) 100%) !important;
  padding: 150px 0 110px !important;
}
.hero-media {
  position: absolute; inset: -2%;
  background: url('https://images.unsplash.com/photo-1600753230816-94fc22e82859?auto=format&fit=crop&w=2000&q=78') center right / cover no-repeat;
  animation: heroDrift 30s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@keyframes heroDrift { from { transform: scale(1.02); } to { transform: scale(1.08) translate3d(-1%, -0.5%, 0); } }
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(var(--warm-cream),0.96) 0%, rgba(var(--warm-cream),0.88) 32%, rgba(var(--warm-cream),0.45) 58%, rgba(var(--warm-cream),0) 80%),
    radial-gradient(60% 50% at 85% 15%, rgba(212,168,122,0.20) 0%, transparent 70%);
}
.hero .container { position: relative; z-index: 2; width: 100%; }
.hero-content { display: block !important; max-width: 640px; }
.hero-text { text-align: left !important; }
.hero h1 { color: var(--charcoal) !important; font-size: clamp(44px, 6vw, 76px) !important; line-height: 1.05 !important; font-weight: 400 !important; }
.hero h1 span { color: var(--sage-dark) !important; }
.hero .hero-description { color: var(--charcoal-light) !important; max-width: 540px; }
.hero-badge { background: rgba(255,255,255,0.75) !important; color: var(--sage-dark) !important; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1.5px solid rgba(45,58,46,0.35); border-radius: 14px;
}
.hero-scroll span {
  position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px;
  background: var(--sage-dark); border-radius: 2px; animation: scrollDot 1.8s ease-in-out infinite;
}
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---- Inner page headers ---- */
.page-header {
  background:
    linear-gradient(90deg, rgba(var(--warm-cream),0.97) 0%, rgba(var(--warm-cream),0.88) 45%, rgba(var(--warm-cream),0.25) 85%),
    url('https://images.unsplash.com/photo-1618130070080-91f4d55a2383?auto=format&fit=crop&w=2000&q=78') center right / cover no-repeat,
    var(--sand) !important;
  padding: 190px 0 110px !important;
}
.page-header::before, .page-header::after { display: none !important; }

/* ---- Service page heroes (now light to match) ---- */
.service-hero {
  color: var(--charcoal) !important;
  background:
    linear-gradient(100deg, rgba(var(--warm-cream),0.97) 0%, rgba(var(--warm-cream),0.90) 50%, rgba(var(--warm-cream),0.55) 100%),
    url('https://images.unsplash.com/photo-1599148401005-fe6d7497cb5e?auto=format&fit=crop&w=2000&q=78') center / cover no-repeat,
    var(--sand) !important;
}
.service-hero::before { display: none !important; }
.service-hero h1 { color: var(--charcoal) !important; }
.service-hero p { color: var(--charcoal-light) !important; opacity: 1 !important; }
.service-hero-content .breadcrumb a { color: var(--sage-dark) !important; }
.service-hero-content .breadcrumb, .service-hero-content .breadcrumb span { color: var(--text-muted) !important; }
.service-badge { background: rgba(255,255,255,0.7) !important; border-color: rgba(107,122,92,0.25) !important; color: var(--sage-dark) !important; }
.service-hero .btn-secondary { color: var(--charcoal) !important; border-color: var(--charcoal) !important; }

.nav { transition: background .35s ease, box-shadow .35s ease, padding .35s ease; }

@media (max-width: 768px) {
  .hero { min-height: 92vh; min-height: 92svh; padding: 140px 0 72px !important; align-items: flex-end !important; }
  .hero-media { background-image: url('https://images.unsplash.com/photo-1600753230816-94fc22e82859?auto=format&fit=crop&w=1000&q=72'); background-position: 70% center; }
  .hero-overlay { background: linear-gradient(180deg, rgba(var(--warm-cream),0.15) 0%, rgba(var(--warm-cream),0.55) 35%, rgba(var(--warm-cream),0.94) 62%, rgba(var(--warm-cream),0.99) 100%); }
  .hero h1 { font-size: 42px !important; }
  .hero-buttons { flex-direction: column; align-items: stretch !important; gap: 12px !important; }
  .hero-buttons a { width: 100% !important; justify-content: center; }
  .hero-scroll { display: none; }
  .page-header {
    background:
      linear-gradient(180deg, rgba(var(--warm-cream),0.80) 0%, rgba(var(--warm-cream),0.95) 100%),
      url('https://images.unsplash.com/photo-1618130070080-91f4d55a2383?auto=format&fit=crop&w=1000&q=72') center / cover no-repeat, var(--sand) !important;
    padding: 150px 0 64px !important;
  }
  .page-header h1 { font-size: 40px !important; }
  .service-hero {
    background:
      linear-gradient(180deg, rgba(var(--warm-cream),0.85) 0%, rgba(var(--warm-cream),0.96) 100%),
      url('https://images.unsplash.com/photo-1599148401005-fe6d7497cb5e?auto=format&fit=crop&w=1000&q=72') center / cover no-repeat, var(--sand) !important;
  }
}
@media (prefers-reduced-motion: reduce) { .hero-media, .hero-scroll span { animation: none !important; } }
/* header sits transparently over the photo on every page until you scroll */
.nav:not(.scrolled):not(.nav-solid) { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-bottom: 0 !important; }
.nav-solid { background: rgba(248,246,241,0.98) !important; }

/* phones: skip decorative section photos (the header photo already sets the mood) */
@media (max-width: 768px) {
  .about .about-image, .services-intro-image { display: none !important; }
  .about-grid, .services-intro-grid { gap: 0 !important; }
}


/* ==========================================================
   Header clarity pass: crisp, vibrant photos; fade only behind text
   ========================================================== */
.hero-media {
  background-image: url('https://images.unsplash.com/photo-1570295835271-04c05b4ed943?auto=format&fit=crop&w=2000&q=82') !important;
  background-position: 70% center !important;
  filter: saturate(1.12) contrast(1.04);
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,246,241,0.94) 0%, rgba(248,246,241,0.82) 30%, rgba(248,246,241,0.35) 46%, rgba(248,246,241,0) 60%),
    linear-gradient(180deg, rgba(248,246,241,0.55) 0%, rgba(248,246,241,0) 140px) !important;
}
.page-header {
  background:
    linear-gradient(90deg, rgba(248,246,241,0.96) 0%, rgba(248,246,241,0.85) 34%, rgba(248,246,241,0.2) 56%, rgba(248,246,241,0) 70%),
    url('https://images.unsplash.com/photo-1618130070080-91f4d55a2383?auto=format&fit=crop&w=2000&q=82') center right / cover no-repeat,
    var(--sand) !important;
}
.service-hero {
  background:
    linear-gradient(100deg, rgba(248,246,241,0.97) 0%, rgba(248,246,241,0.90) 40%, rgba(248,246,241,0.30) 62%, rgba(248,246,241,0) 78%),
    url('https://images.unsplash.com/photo-1599148401005-fe6d7497cb5e?auto=format&fit=crop&w=2000&q=82') center / cover no-repeat,
    var(--sand) !important;
}

@media (max-width: 768px) {
  /* split layout: full-colour photo on top, text on cream below */
  .hero { min-height: 0 !important; display: block !important; padding: 0 0 56px !important; background: var(--cream) !important; }
  .hero-media {
    inset: 0 0 auto 0 !important; height: 58vh; height: 58svh;
    background-image: url('https://images.unsplash.com/photo-1570295835271-04c05b4ed943?auto=format&fit=crop&w=1000&q=80') !important; background-position: center !important;
    animation: none !important; transform: none !important;
  }
  .hero-overlay {
    inset: 0 0 auto 0 !important; height: 58vh; height: 58svh;
    background: linear-gradient(180deg, rgba(248,246,241,0.65) 0%, rgba(248,246,241,0) 120px, rgba(248,246,241,0) 72%, rgba(248,246,241,1) 100%) !important;
  }
  .hero .container { padding-top: calc(58svh - 40px) !important; }
  .hero-badge { background: #fff !important; box-shadow: 0 6px 20px rgba(45,58,46,0.10) !important; }

  .page-header {
    background:
      linear-gradient(180deg, rgba(248,246,241,0.65) 0%, rgba(248,246,241,0) 110px, rgba(248,246,241,0) 165px, rgba(248,246,241,1) 238px),
      url('https://images.unsplash.com/photo-1618130070080-91f4d55a2383?auto=format&fit=crop&w=1000&q=80') center top / 100% auto no-repeat,
      var(--cream) !important;
    padding: 250px 0 48px !important;
  }
  .service-hero {
    background:
      linear-gradient(180deg, rgba(248,246,241,0.65) 0%, rgba(248,246,241,0) 110px, rgba(248,246,241,0) 165px, rgba(248,246,241,1) 238px),
      url('https://images.unsplash.com/photo-1599148401005-fe6d7497cb5e?auto=format&fit=crop&w=1000&q=80') center top / 100% auto no-repeat,
      var(--cream) !important;
    padding-top: 250px !important;
  }
}

/* ==========================================================
   Phones: full-screen photo, text overlaid at the bottom,
   white logo over a soft dark band at the top
   ========================================================== */
@media (max-width: 768px) {
  /* header over the photo */
  .nav.nav-on-photo:not(.scrolled):not(.nav-solid) { background: linear-gradient(180deg, rgba(20,28,21,0.55) 0%, rgba(20,28,21,0) 100%) !important; }
  .nav.nav-on-photo .mobile-menu-btn span { background: #fff !important; }
  .nav.nav-on-photo .nav-login { background: rgba(255,255,255,0.18) !important; border: 1px solid rgba(255,255,255,0.45); }

  /* home hero */
  .hero { min-height: 100vh !important; min-height: 100svh !important; display: flex !important; align-items: flex-end !important;
          padding: 0 0 44px !important; background: #1F2A20 !important; }
  .hero-media { inset: 0 !important; height: auto !important; background-position: center !important;
                animation: heroDrift 30s ease-in-out infinite alternate !important; }
  .hero-overlay { inset: 0 !important; height: auto !important;
    background: linear-gradient(180deg, rgba(20,28,21,0.45) 0%, rgba(20,28,21,0) 20%, rgba(20,28,21,0) 38%, rgba(20,28,21,0.72) 64%, rgba(20,28,21,0.92) 100%) !important; }
  .hero .container { padding-top: 0 !important; }
  .hero h1 { color: #fff !important; font-size: 40px !important; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
  .hero h1 span { color: #CFE0BF !important; }
  .hero .hero-description { color: rgba(255,255,255,0.88) !important; font-size: 16px !important; }
  .hero-badge { background: rgba(255,255,255,0.16) !important; color: #fff !important; border: 1px solid rgba(255,255,255,0.35) !important; box-shadow: none !important; }
  .hero .btn-primary { background: var(--cream) !important; color: var(--charcoal) !important; }
  .hero .btn-secondary { color: #fff !important; border-color: rgba(255,255,255,0.75) !important; background: transparent !important; }

  /* inner page headers and service heroes: same treatment */
  .page-header, .service-hero { min-height: 72vh; min-height: 72svh; display: flex; align-items: flex-end; padding: 130px 0 40px !important; }
  .page-header {
    background:
      linear-gradient(180deg, rgba(20,28,21,0.45) 0%, rgba(20,28,21,0) 24%, rgba(20,28,21,0.15) 45%, rgba(20,28,21,0.85) 100%),
      url('https://images.unsplash.com/photo-1618130070080-91f4d55a2383?auto=format&fit=crop&w=1000&q=80') center / cover no-repeat,
      #1F2A20 !important;
  }
  .service-hero {
    background:
      linear-gradient(180deg, rgba(20,28,21,0.45) 0%, rgba(20,28,21,0) 24%, rgba(20,28,21,0.15) 40%, rgba(20,28,21,0.88) 100%),
      url('https://images.unsplash.com/photo-1599148401005-fe6d7497cb5e?auto=format&fit=crop&w=1000&q=80') center / cover no-repeat,
      #1F2A20 !important;
  }
  .page-header .container, .service-hero .container { width: 100%; }
  .page-header h1, .service-hero h1 { color: #fff !important; text-shadow: 0 2px 18px rgba(0,0,0,0.25); }
  .page-header h1 span { color: #CFE0BF !important; }
  .page-header p, .service-hero p { color: rgba(255,255,255,0.88) !important; }
  .page-header .breadcrumb, .page-header .breadcrumb span,
  .service-hero-content .breadcrumb, .service-hero-content .breadcrumb span { color: rgba(255,255,255,0.75) !important; }
  .page-header .breadcrumb a, .service-hero-content .breadcrumb a { color: #CFE0BF !important; }
  .service-badge { background: rgba(255,255,255,0.16) !important; color: #fff !important; border-color: rgba(255,255,255,0.35) !important; }
  .service-hero .btn-secondary { color: #fff !important; border-color: rgba(255,255,255,0.75) !important; }
  .service-hero-image { display: none !important; }   /* keep the phone header to photo + text */
}

/* ==========================================================
   Homepage header photo: SuperHealth consultation room
   (bright wall on the left holds the headline)
   ========================================================== */
.hero-media {
  background-image: url('../images/hero.jpg') !important;
  background-position: right center !important;
  filter: none;
}
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,246,241,0.80) 0%, rgba(248,246,241,0.55) 30%, rgba(248,246,241,0) 50%),
    linear-gradient(180deg, rgba(248,246,241,0.45) 0%, rgba(248,246,241,0) 130px) !important;
}
@media (max-width: 768px) {
  .hero-media { background-image: url('../images/hero-mobile.jpg') !important; background-position: center 30% !important; }
}
/* keep the bright wall under the headline on desktop */
.hero-media { background-position: left center !important; }
.hero-overlay {
  background:
    linear-gradient(90deg, rgba(248,246,241,0.70) 0%, rgba(248,246,241,0.40) 32%, rgba(248,246,241,0) 48%),
    linear-gradient(180deg, rgba(248,246,241,0.40) 0%, rgba(248,246,241,0) 130px) !important;
}

/* phones: this photo is bright, so use dark text on a soft cream fade (not white text) */
@media (max-width: 768px) {
  body.light-hero .hero { background: var(--cream) !important; }
  body.light-hero .hero-media { background-position: center top !important; }
  body.light-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(248,246,241,0.35) 0%, rgba(248,246,241,0) 16%, rgba(248,246,241,0) 30%,
                rgba(248,246,241,0.86) 47%, rgba(248,246,241,0.97) 62%, rgba(248,246,241,1) 100%) !important;
  }
  body.light-hero .hero h1 { color: var(--charcoal) !important; text-shadow: none; }
  body.light-hero .hero h1 span { color: var(--sage-dark) !important; }
  body.light-hero .hero .hero-description { color: var(--charcoal-light) !important; }
  body.light-hero .hero-badge { background: #fff !important; color: var(--sage-dark) !important; border-color: transparent !important; box-shadow: 0 6px 20px rgba(45,58,46,0.10) !important; }
  body.light-hero .hero .btn-primary { background: var(--charcoal) !important; color: #fff !important; }
  body.light-hero .hero .btn-secondary { color: var(--charcoal) !important; border-color: var(--charcoal) !important; }
}
/* desktop: size the header close to the photo's own proportions so the whole room shows */
@media (min-width: 769px) {
  .hero { min-height: clamp(640px, 48vw, 100vh) !important; padding: 150px 0 70px !important; }
  .hero-media { background-position: center center !important; animation-name: heroDriftSoft !important; }
  @keyframes heroDriftSoft { from { transform: scale(1.0); } to { transform: scale(1.04); } }
  .hero-scroll { display: none; }
}
@media (max-width: 768px) {
  body.light-hero .hero-overlay {
    background: linear-gradient(180deg, rgba(248,246,241,0.75) 0%, rgba(248,246,241,0) 15%, rgba(248,246,241,0) 30%,
                rgba(248,246,241,0.86) 47%, rgba(248,246,241,0.97) 62%, rgba(248,246,241,1) 100%) !important;
  }
}
/* phones: show the herb counter, flowers and tincture at the top, text below on cream */
@media (max-width: 768px) {
  body.light-hero .hero { padding-bottom: 40px !important; }
  body.light-hero .hero-media {
    inset: 0 0 auto 0 !important; height: calc(100vw * 1.098) !important;
    background-size: cover !important; background-position: center top !important; animation: none !important;
  }
  body.light-hero .hero-overlay {
    background: linear-gradient(180deg,
      rgba(248,246,241,0.70) 0px, rgba(248,246,241,0) 110px,
      rgba(248,246,241,0) calc(100vw * 1.098 - 150px),
      rgba(248,246,241,0.92) calc(100vw * 1.098 - 30px),
      rgba(248,246,241,1) calc(100vw * 1.098)) !important;
  }
}

/* ==========================================================
   Phones, homepage: photo block on top, text fully below it,
   frosted bar behind the logo (from real-device check)
   ========================================================== */
@media (max-width: 768px) {
  body.light-hero { --hh: min(54svh, 112vw); }
  body.light-hero .nav:not(.scrolled):not(.nav-solid) {
    background: rgba(248,246,241,0.86) !important;
    backdrop-filter: blur(12px) !important; -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 0 rgba(45,58,46,0.06) !important;
  }
  body.light-hero .hero { display: block !important; min-height: 0 !important; padding: 0 0 48px !important; }
  body.light-hero .hero-media { inset: 0 0 auto 0 !important; height: var(--hh) !important; background-position: center 12% !important; }
  body.light-hero .hero-overlay {
    inset: 0 0 auto 0 !important; height: var(--hh) !important;
    background: linear-gradient(180deg, rgba(248,246,241,0) 0%, rgba(248,246,241,0) calc(100% - 70px), rgba(248,246,241,1) 100%) !important;
  }
  body.light-hero .hero .container { padding-top: calc(var(--hh) - 22px) !important; }
  body.light-hero .hero-badge { position: relative; z-index: 3; }
  body.light-hero .hero h1 { margin-top: 18px !important; }
}

/* ==========================================================
   Phones, homepage: full-screen photo, frosted glass header,
   text on a frosted glass panel fused into the photo
   ========================================================== */
@media (max-width: 768px) {
  body.light-hero .nav:not(.scrolled):not(.nav-solid) {
    background: rgba(248,246,241,0.55) !important;
    backdrop-filter: blur(14px) saturate(1.2) !important; -webkit-backdrop-filter: blur(14px) saturate(1.2) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.35) !important;
  }
  body.light-hero .hero {
    display: flex !important; align-items: flex-end !important;
    min-height: 100vh !important; min-height: 100svh !important;
    padding: 120px 0 20px !important; background: #EDE6DA !important;
  }
  body.light-hero .hero-media {
    inset: 0 !important; height: auto !important;
    background-image: url('../images/hero.jpg') !important;
    background-size: cover !important; background-position: 74% center !important;
    animation: heroDrift 30s ease-in-out infinite alternate !important;
  }
  body.light-hero .hero-overlay {
    inset: 0 !important; height: auto !important;
    background: linear-gradient(180deg, rgba(248,246,241,0) 55%, rgba(248,246,241,0.25) 100%) !important;
  }
  body.light-hero .hero .container { padding-top: 0 !important; }
  body.light-hero .hero-text {
    background: rgba(248,246,241,0.70);
    backdrop-filter: blur(16px) saturate(1.25); -webkit-backdrop-filter: blur(16px) saturate(1.25);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 26px;
    padding: 22px 20px 20px;
    box-shadow: 0 18px 50px rgba(45,58,46,0.18);
  }
  body.light-hero .hero-badge { background: rgba(255,255,255,0.85) !important; box-shadow: none !important; margin-bottom: 14px !important; }
  body.light-hero .hero h1 { margin-top: 0 !important; font-size: 36px !important; margin-bottom: 12px !important; }
  body.light-hero .hero .hero-description { font-size: 15px !important; line-height: 1.6 !important; margin-bottom: 18px !important; }
  body.light-hero .hero-buttons { gap: 10px !important; }
  body.light-hero .hero-buttons a { padding-top: 15px !important; padding-bottom: 15px !important; }
}
/* browsers without frosted-glass support get a solid panel instead */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  @media (max-width: 768px) { body.light-hero .hero-text { background: rgba(248,246,241,0.94); } }
}
@media (max-width: 768px) {
  body.light-hero .hero-media { background-position: 82% center !important; }
  body.light-hero .hero-buttons { display: flex !important; flex-direction: column !important; align-items: stretch !important; }
  body.light-hero .hero-buttons a { width: 100% !important; max-width: none !important; justify-content: center !important; }
}

/* ==========================================================
   Phones, homepage (final): text directly on the photo,
   dark green fade from the bottom for readability, no panel
   ========================================================== */
@media (max-width: 768px) {
  body.light-hero .hero-text {
    background: none !important; border: 0 !important; box-shadow: none !important;
    backdrop-filter: none !important; -webkit-backdrop-filter: none !important;
    padding: 0 !important; border-radius: 0 !important;
  }
  body.light-hero .hero { padding: 120px 0 28px !important; }
  body.light-hero .hero-overlay {
    background: linear-gradient(180deg,
      rgba(25,34,26,0) 0%, rgba(25,34,26,0) 28%,
      rgba(25,34,26,0.45) 44%, rgba(25,34,26,0.78) 62%, rgba(25,34,26,0.90) 100%) !important;
  }
  body.light-hero .hero h1 { color: #fff !important; text-shadow: 0 2px 16px rgba(0,0,0,0.30); font-size: 40px !important; }
  body.light-hero .hero h1 span { color: #D3E3C4 !important; }
  body.light-hero .hero .hero-description { color: rgba(255,255,255,0.90) !important; text-shadow: 0 1px 10px rgba(0,0,0,0.25); }
  body.light-hero .hero-badge {
    background: rgba(255,255,255,0.18) !important; color: #fff !important;
    border: 1px solid rgba(255,255,255,0.40) !important;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  }
  body.light-hero .hero .btn-primary { background: var(--cream) !important; color: var(--charcoal) !important; }
  body.light-hero .hero .btn-secondary { color: #fff !important; border-color: rgba(255,255,255,0.80) !important; background: transparent !important; }
}

/* ---------- Buttons: identical layout for solid and outlined ---------- */
.btn-primary, .btn-secondary {
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  gap: 10px; text-align: center !important; box-sizing: border-box !important;
  border-width: 2px !important; border-style: solid !important; line-height: 1.2 !important;
}
.btn-primary { border-color: transparent !important; }
.btn-primary span, .btn-secondary span { display: inline-block; line-height: 1; }
.hero-buttons { display: flex !important; flex-wrap: wrap; align-items: stretch !important; gap: 14px !important; }
@media (max-width: 768px) {
  .hero-buttons { flex-direction: column !important; gap: 12px !important; }
  .hero-buttons a { width: 100% !important; min-height: 56px; padding: 0 24px !important; }
}

/* Instagram link in the footer: icon + handle */
.ig-link { display: inline-flex !important; align-items: center; gap: 8px; }
.ig-link .ig-icon { flex-shrink: 0; opacity: 0.9; }

/* Instagram in the contact sections: round icon + handle */
.contact-social { display: flex !important; align-items: center !important; gap: 14px !important; }
.social-handle { display: flex; flex-direction: column; gap: 2px; text-decoration: none; }
.social-handle-label { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.social-handle-name { font-size: 16px; color: var(--charcoal); font-weight: 600; }
.social-handle:hover .social-handle-name { color: var(--sage-dark); }

/* Phones: lighter, more see-through frosted header */
@media (max-width: 768px) {
  body.light-hero .nav:not(.scrolled):not(.nav-solid) {
    background: rgba(248,246,241,0.28) !important;
    backdrop-filter: blur(18px) saturate(1.35) !important; -webkit-backdrop-filter: blur(18px) saturate(1.35) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.30) !important;
  }
  .nav.scrolled:not(.nav-solid) {
    background: rgba(248,246,241,0.72) !important;
    backdrop-filter: blur(16px) saturate(1.3) !important; -webkit-backdrop-filter: blur(16px) saturate(1.3) !important;
  }
}
/* Phones: header over the homepage photo, even lighter */
@media (max-width: 768px) {
  body.light-hero .nav:not(.scrolled):not(.nav-solid) {
    background: rgba(248,246,241,0.12) !important;
    backdrop-filter: blur(20px) saturate(1.4) !important; -webkit-backdrop-filter: blur(20px) saturate(1.4) !important;
    box-shadow: 0 1px 0 rgba(255,255,255,0.25) !important;
  }
}
