/* AYURRARTH — cream & gold theme with warm neutrals and subtle glow */

:root {
  /* Token names kept for compatibility; values are warm neutrals + gold */
  --green-950: #1c150f;
  --green-900: #2e251b;
  --green-800: #4d3f28;
  --green-700: #7c6035;
  --green-600: #a3813f;
  --green-500: #c9a227;
  --green-400: #d8b85b;
  --green-300: #e6c97a;
  --green-200: #ede0bc;
  --green-100: #f3ebd7;
  --green-50: #fbf6ef;
  --gold: #b8941f;
  --gold-soft: #e8d48a;
  --ink: #1c1915;
  --ink-muted: #6a5a43;
  --white: #fffdf9;
  --shadow: 0 24px 60px rgba(28, 22, 12, 0.18);
  --shadow-soft: 0 12px 40px rgba(42, 35, 20, 0.08);
  --radius: 16px;
  --radius-lg: 24px;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--green-50);
  overflow-x: hidden;
}

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

a {
  color: var(--green-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: var(--green-600);
}

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

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  background: var(--green-900);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 8px;
  z-index: 1000;
  transition: top 0.2s var(--ease-out);
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.wrap {
  width: min(1120px, 92vw);
  margin-inline: auto;
}

.mono {
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
  color: var(--green-800);
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 900;
  height: var(--header-h);
  display: flex;
  align-items: center;
  padding-left: env(safe-area-inset-left, 0px);
  padding-right: env(safe-area-inset-right, 0px);
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

/* Home: same frosted bar at top of page as after scroll (consistent with inner pages) */
.page-home .site-header {
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

/* Inner pages: always high-contrast bar (no dark-on-dark) */
.page-inner .site-header {
  background: rgba(255, 254, 251, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}

.page-inner .site-header .logo-text strong {
  color: var(--green-900);
}

.page-inner .site-header .logo-text small {
  color: var(--ink-muted);
}

.page-inner .site-header .site-nav ul a,
.page-home .site-header .site-nav ul a {
  color: var(--ink);
}

.page-inner .site-header .nav-toggle {
  background: var(--green-100);
  border: none;
}

.page-inner .site-header .nav-toggle-bar,
.page-inner .site-header .nav-toggle-bar::before,
.page-inner .site-header .nav-toggle-bar::after {
  background: var(--green-900);
}

.page-home .site-header .nav-toggle {
  background: var(--green-100);
  border: none;
}

.page-home .site-header .nav-toggle-bar,
.page-home .site-header .nav-toggle-bar::before,
.page-home .site-header .nav-toggle-bar::after {
  background: var(--green-900);
}

.site-nav ul a.is-active {
  font-weight: 600;
  color: var(--green-700);
}

.site-nav a.btn::after {
  display: none;
}

.header-inner {
  width: min(1120px, 92vw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: inherit;
}

.logo.logo-with-image {
  gap: 0;
}

.logo-image {
  display: block;
  height: clamp(38px, 9vw, 52px);
  width: auto;
  max-width: min(240px, 56vw);
  object-fit: contain;
  object-position: left center;
}

.logo-footer.logo-with-image .logo-image {
  height: clamp(52px, 11vw, 80px);
  max-width: min(320px, 92vw);
}

.logo-mark {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--white);
  border-radius: 12px;
  font-size: 1.35rem;
  box-shadow: 0 8px 24px rgba(154, 117, 40, 0.2);
  animation: pulse-soft 4s ease-in-out infinite;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

@keyframes pulse-soft {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(154, 117, 40, 0.22);
  }
  50% {
    box-shadow: 0 10px 32px rgba(201, 162, 39, 0.32);
  }
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 1.15rem;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--green-900);
}

.logo-text small {
  font-size: 0.72rem;
  color: var(--ink-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
}

.nav-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: none;
  background: var(--green-100);
  border-radius: 12px;
  cursor: pointer;
  position: relative;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--green-900);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}

.nav-toggle-bar {
  position: relative;
}

.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-bar::before {
  top: -7px;
}

.nav-toggle-bar::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  position: relative;
  transition: color 0.2s ease;
}

.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  border-radius: 2px;
  transition: width 0.28s var(--ease-out);
}

.site-nav ul a:hover::after,
.site-nav ul a:focus-visible::after {
  width: 100%;
}

.site-nav ul a.is-active::after {
  width: 100%;
  background: var(--green-600);
}

.nav-cta {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  /* Let the slide-down panel paint above the hero; solid bg avoids invisible text on some mobile GPUs */
  .site-header {
    overflow: visible;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    z-index: 950;
    background: rgba(255, 253, 249, 0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    align-items: stretch;
    padding: 1rem max(1.5rem, env(safe-area-inset-right, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px))
      max(1.5rem, env(safe-area-inset-left, 0px));
    gap: 0.25rem;
    border-bottom: 1px solid var(--green-100);
    box-shadow: 0 16px 40px rgba(42, 35, 20, 0.1);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.38s var(--ease-out), opacity 0.28s ease;
    max-height: min(calc(100dvh - var(--header-h)), calc(100vh - var(--header-h)));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }

  .site-nav ul li {
    width: 100%;
    border-bottom: 1px solid var(--green-100);
  }

  .site-nav ul li:last-child {
    border-bottom: none;
  }

  .site-nav ul a {
    color: var(--ink);
    -webkit-text-fill-color: var(--ink);
    text-shadow: none;
    font-size: 1rem;
    padding: 0.85rem 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .site-nav ul a::after {
    display: none !important;
  }

  .site-nav ul a:hover,
  .site-nav ul a:focus-visible {
    color: var(--green-700);
    -webkit-text-fill-color: var(--green-700);
  }

  .site-nav ul a.is-active {
    color: var(--green-700);
    -webkit-text-fill-color: var(--green-700);
    font-weight: 600;
  }

  .site-nav a.btn-primary {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
  }

  .nav-cta {
    text-align: center;
    margin-top: 0.75rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    border-radius: var(--radius);
    font-size: 0.95rem;
  }
}

/* ─── Button link-state overrides ─────────────────────────────────────────
   components.css declares  a:visited { color: var(--color-neutral-700); }
   which has specificity (0,1,1) and beats .btn-primary (0,1,0).
   We use element + class + pseudo-class combos at (0,2,1) to win cleanly.
   -webkit-text-fill-color is the reliable cross-platform override.
──────────────────────────────────────────────────────────────────────── */
a.btn-primary,
a.btn-primary:link,
a.btn-primary:visited,
a.btn-primary:active {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-primary:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-ghost,
a.btn-ghost:link,
a.btn-ghost:visited,
a.btn-ghost:active {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-ghost:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-ghost-light,
a.btn-ghost-light:link,
a.btn-ghost-light:visited,
a.btn-ghost-light:active {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-ghost-light:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

a.btn-light,
a.btn-light:link,
a.btn-light:visited,
a.btn-light:active {
  color: var(--green-900);
  -webkit-text-fill-color: var(--green-900);
}

a.btn-light:hover {
  color: var(--green-800);
  -webkit-text-fill-color: var(--green-800);
}

a.btn-outline,
a.btn-outline:link,
a.btn-outline:visited,
a.btn-outline:active {
  color: var(--green-700);
  -webkit-text-fill-color: var(--green-700);
}

a.btn-outline:hover {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.82rem 1.65rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.93rem;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 1.5px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.btn:active {
  transform: scale(0.97) !important;
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.86rem;
}

.btn-primary {
  background: var(--green-700);
  color: var(--white);
  border-color: var(--green-700);
  box-shadow: 0 2px 10px rgba(122, 95, 32, 0.18);
}

.btn-primary:hover {
  color: var(--white);
  background: var(--green-800);
  border-color: var(--green-800);
  box-shadow: 0 6px 22px rgba(122, 95, 32, 0.26);
  transform: translateY(-1px);
}

/* Kept class name but removed the looping animation for modern/minimal feel */
.btn-glow {
  box-shadow: 0 2px 12px rgba(122, 95, 32, 0.2);
}

.btn-glow:hover {
  box-shadow: 0 6px 24px rgba(122, 95, 32, 0.3);
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.8);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-light {
  background: var(--white);
  color: var(--green-900);
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
  color: var(--green-800);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  transform: translateY(-1px);
}

.btn-wa-icon {
  flex-shrink: 0;
  width: 1.3em;
  height: 1.3em;
  display: block;
}

.btn-light .btn-wa-icon {
  color: #25d366;
}

.btn-primary .btn-wa-icon {
  color: rgba(255, 255, 255, 0.95);
}

.btn-ghost-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
  color: var(--white);
  transform: translateY(-1px);
}

/* Outline variant (new) */
.btn-outline {
  background: transparent;
  border-color: var(--green-700);
  color: var(--green-700);
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--white);
  transform: translateY(-1px);
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 2rem) 0 4rem;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1.5s var(--ease-out);
  filter: saturate(1.05);
}

.hero-slide.is-active {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-slide:not(.is-active) {
    opacity: 0;
    visibility: hidden;
  }

  .hero-slide.is-active {
    visibility: visible;
  }
}

/* Light neutral vignette on the left only — keeps headline readable without green wash over photos */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    100deg,
    rgba(0, 0, 0, 0.42) 0%,
    rgba(0, 0, 0, 0.14) 38%,
    transparent 62%
  );
}

/* Home hero: stronger gold warmth on slideshow without hurting text contrast */
.page-home .hero-overlay {
  background:
    linear-gradient(
      100deg,
      rgba(28, 22, 16, 0.5) 0%,
      rgba(55, 42, 22, 0.22) 36%,
      transparent 58%
    ),
    linear-gradient(195deg, transparent 42%, rgba(107, 79, 28, 0.28) 100%),
    linear-gradient(125deg, rgba(201, 162, 39, 0.08) 0%, transparent 45%);
}

.page-home .hero-slide {
  filter: saturate(1.08) brightness(1.02);
}

.page-home .hero-eyebrow {
  color: rgba(232, 212, 168, 0.98);
}

.page-home .hero-scroll-line {
  background: linear-gradient(to bottom, rgba(232, 212, 168, 0.95), transparent);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-copy {
  max-width: min(42rem, 100%);
}

.hero-byline {
  margin: 0 0 1.15rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(201, 162, 39, 0.88);
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.hero-byline-name {
  font-family: var(--font-serif);
  font-size: clamp(1.02rem, 2.4vw, 1.22rem);
  font-weight: 600;
  color: rgba(255, 252, 245, 0.97);
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 14px rgba(0, 0, 0, 0.35);
}

.hero-byline-cred {
  font-size: clamp(0.76rem, 1.65vw, 0.86rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(250, 244, 232, 0.78);
  line-height: 1.45;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.hero-eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green-300);
  margin: 0 0 1rem;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55), 0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.35rem, 5.2vw, 3.85rem);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.2rem;
  max-width: min(22rem, 100%);
  letter-spacing: -0.02em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 4px 28px rgba(0, 0, 0, 0.45);
  color: var(--white);
}

.hero-title em {
  font-style: italic;
  color: var(--white);
}

.hero-lead {
  max-width: 38rem;
  margin: 0 0 1.85rem;
  color: rgba(250, 253, 251, 0.95);
  font-size: clamp(1.02rem, 2.1vw, 1.14rem);
  line-height: 1.65;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55), 0 2px 20px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: center;
  margin-bottom: 1.75rem;
}

.btn-phone-icon {
  flex-shrink: 0;
  width: 1.15em;
  height: 1.15em;
  display: block;
}

.btn-hero-call {
  padding: 0.8rem 1.35rem;
  font-size: 0.92rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1) 0%, rgba(18, 14, 10, 0.35) 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(12px);
  max-width: max-content;
}

.hero-stats .stat-card {
  margin: 0;
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-stats .stat-card-accent {
  background: rgba(201, 162, 39, 0.18);
  border-color: rgba(232, 212, 168, 0.45);
}

@media (max-width: 520px) {
  .hero-stats {
    max-width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    gap: 0.65rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  padding: 1rem 1.35rem;
  backdrop-filter: blur(8px);
  min-width: 120px;
  transition: transform 0.35s var(--ease-out), background 0.35s ease;
}

.stat-card:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-card-accent {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.15);
}

.stat-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-serif);
}

.stat-label {
  font-size: 0.8rem;
  opacity: 0.9;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--green-300), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 1;
  }
  50% {
    transform: scaleY(0.6);
    opacity: 0.5;
  }
}

/* Inner page title band — light clinic band with gold glow */
.page-hero {
  padding: calc(var(--header-h) + 2.5rem) 0 2.5rem;
  background: var(--white);
  color: var(--ink);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--green-100);
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 50vmax;
  height: 50vmax;
  top: -30%;
  right: -10%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.14) 0%, transparent 62%);
  pointer-events: none;
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  margin: 0 0 0.65rem;
  line-height: 1.15;
  color: var(--green-950);
  letter-spacing: -0.02em;
}

.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 0.75rem;
}

.page-hero-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}

.page-hero .page-lead {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink-muted);
  max-width: 38rem;
}

/* ============================================================
   Home: cinematic full-bleed section
   — No scroll-pin, no dark gap.
   — Full-viewport image with a floating cream card.
   ============================================================ */

.home-explore-cinematic {
  /* reset the old dark-bg wrapper */
  background: transparent;
  color: var(--white);
}

/* Track is now just a wrapper — no tall scroll height */
.cinematic-track {
  position: relative;
}

/* The sticky panel becomes a plain full-viewport frame */
.cinematic-sticky {
  position: relative;          /* no longer sticky */
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;       /* card sits at the bottom */
  overflow: hidden;
}

/* Full-bleed image */
.cinematic-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cinematic-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
  /* subtle Ken-Burns entrance — play once, then stop */
  animation: cinematic-zoom 14s var(--ease-out) forwards;
}

@keyframes cinematic-zoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}

/* Gradient scrim — bottom-heavy so card is readable */
.cinematic-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to bottom,
      rgba(8, 6, 4, 0.18) 0%,
      rgba(8, 6, 4, 0.08) 30%,
      rgba(8, 6, 4, 0.38) 68%,
      rgba(8, 6, 4, 0.65) 100%
    ),
    linear-gradient(
      100deg,
      rgba(8, 6, 4, 0.42) 0%,
      transparent 55%
    );
}

/* UI layer — holds the card */
.cinematic-ui {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: clamp(2rem, 5vw, 3rem) clamp(1rem, 4vw, 1.5rem) clamp(2.5rem, 7vh, 4rem);
}

@media (min-width: 720px) {
  .cinematic-ui {
    padding-inline: clamp(1.5rem, 4vw, 2.5rem);
    padding-bottom: clamp(3rem, 8vh, 5rem);
  }
}

@media (min-width: 1100px) {
  .cinematic-ui {
    padding-left: clamp(2.5rem, 5vw, 4rem);
    padding-bottom: clamp(3.5rem, 9vh, 5.5rem);
  }
}

/* Floating cream card */
.cinematic-card {
  max-width: min(30rem, 100%);
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(250, 244, 234, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: var(--green-900);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow:
    0 20px 55px rgba(0, 0, 0, 0.28),
    0 0 0 1px rgba(255, 255, 255, 0.3) inset;
  /* entrance animation */
  opacity: 0;
  transform: translateY(28px);
  animation: cinematic-card-in 0.85s 0.6s var(--ease-out) forwards;
}

@keyframes cinematic-card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 720px) {
  .cinematic-card {
    max-width: 30rem;
  }
}

.cinematic-eyebrow {
  margin: 0 0 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.cinematic-eyebrow::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.cinematic-card h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--green-950);
}

.cinematic-text {
  margin: 0 0 1.25rem;
  font-size: 0.97rem;
  line-height: 1.65;
  color: var(--ink-muted);
}

/* CTA link → styled as a small pill button */
.cinematic-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.01em;
  color: var(--white);
  background: var(--green-800);
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.22s ease, transform 0.22s var(--ease-out), box-shadow 0.22s ease;
  box-shadow: 0 4px 14px rgba(42, 35, 20, 0.25);
}

.cinematic-link::after {
  content: "→";
  font-size: 0.9em;
  transition: transform 0.2s ease;
}

.cinematic-link:hover {
  background: var(--green-700);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 8px 22px rgba(42, 35, 20, 0.3);
}

.cinematic-link:hover::after {
  transform: translateX(3px);
}

/* Respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .cinematic-media img {
    animation: none;
  }

  .cinematic-card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Home: explore — main tiles (#discover) then cinematic section */
.section.home-explore {
  padding-top: 0;
  background: transparent;
}

.home-explore-main {
  padding-top: clamp(3rem, 8vw, 5.5rem);
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
  border-top: 1px solid rgba(201, 162, 39, 0.12);
}

.home-explore-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.home-explore-label::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.65;
  flex-shrink: 0;
}

.explore-featured {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
  margin-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .explore-featured {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.explore-tile {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 2px 12px rgba(42, 35, 20, 0.05);
  transition: transform 0.32s var(--ease-out), box-shadow 0.32s ease, border-color 0.25s ease;
  position: relative;
}

.explore-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1.5px solid transparent;
  transition: border-color 0.28s ease;
  pointer-events: none;
  z-index: 1;
}

.explore-tile:hover {
  transform: translateY(-5px);
  border-color: rgba(201, 162, 39, 0.2);
  box-shadow: 0 16px 40px rgba(42, 35, 20, 0.1);
  color: inherit;
}

.explore-tile:hover::after {
  border-color: rgba(201, 162, 39, 0.4);
}

.explore-tile-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--green-100);
}

.explore-tile-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out);
}

.explore-tile:hover .explore-tile-media img {
  transform: scale(1.06);
}

.explore-tile-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.35rem 0.75rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-950);
  background: rgba(255, 254, 251, 0.94);
  border-radius: 999px;
  border: 1px solid var(--green-100);
  box-shadow: 0 4px 14px rgba(42, 35, 20, 0.08);
}

.explore-tile-body {
  padding: 1.5rem 1.5rem 1.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.explore-tile-body h2,
.explore-tile-body h3 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.2;
}

.explore-tile-body p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--ink-muted);
  flex: 1;
}

.explore-tile-cta {
  margin-top: 0.5rem;
  font-weight: 600;
  font-size: 0.86rem;
  color: var(--green-600);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.01em;
  transition: gap 0.22s ease, color 0.22s ease;
}

.explore-tile:hover .explore-tile-cta {
  color: var(--green-800);
  gap: 0.55rem;
}

.explore-more-grid {
  display: grid;
  gap: 1.15rem;
  grid-template-columns: 1fr;
}

@media (min-width: 600px) {
  .explore-more-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .explore-more-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
  }
}

.explore-mini {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(42, 35, 20, 0.04);
  transition: transform 0.28s var(--ease-out), border-color 0.25s ease, box-shadow 0.28s ease;
}

@media (max-width: 599px) {
  .explore-mini {
    flex-direction: column;
  }
}

.explore-mini:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 10px 30px rgba(42, 35, 20, 0.08);
  color: inherit;
}

.explore-mini-media {
  flex: 0 0 38%;
  max-width: 160px;
  min-height: 120px;
  overflow: hidden;
  background: var(--green-100);
}

@media (max-width: 599px) {
  .explore-mini-media {
    flex: none;
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 0;
  }
}

.explore-mini-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease-out);
}

.explore-mini:hover .explore-mini-media img {
  transform: scale(1.05);
}

.explore-mini-text {
  padding: 1rem 1.15rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-width: 0;
}

.explore-mini-text h3 {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--green-900);
  line-height: 1.25;
}

.explore-mini-text p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--ink-muted);
  flex: 1;
}

.explore-mini-cta {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--green-600);
  margin-top: 0.25rem;
}

.explore-mini:hover .explore-mini-cta {
  color: var(--green-700);
}

/* Home explore: richer gold on image frames and photo overlays */
.page-home .explore-tile,
.page-home .explore-mini {
  border-color: rgba(201, 162, 39, 0.28);
}

.page-home .explore-tile-media {
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.35);
}

.page-home .explore-tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    165deg,
    rgba(255, 252, 245, 0.06) 0%,
    transparent 38%,
    rgba(166, 124, 42, 0.2) 100%
  );
}

.page-home .explore-tile-tag {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(255, 251, 240, 0.96);
  box-shadow: 0 4px 16px rgba(166, 124, 42, 0.18);
}

.page-home .explore-mini-media {
  position: relative;
  box-shadow: inset 0 0 0 1px rgba(201, 162, 39, 0.32);
}

.page-home .explore-mini-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 45%, rgba(201, 162, 39, 0.14) 100%);
}

/* Entrance animations */
.animate-in {
  opacity: 0;
  transform: translateY(28px);
  animation: rise-in 1s var(--ease-out) forwards;
  animation-delay: var(--d, 0s);
}

@keyframes rise-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Sections */
.section {
  padding: clamp(4rem, 10vw, 6.5rem) 0;
}

.section-eyebrow {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  opacity: 0.7;
  flex-shrink: 0;
}

.section-eyebrow.light {
  color: var(--green-300);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.4vw, 2.55rem);
  font-weight: 700;
  color: var(--green-950);
  margin: 0 0 0.9rem;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

.section-title.light {
  color: var(--white);
}

.section-sub {
  margin: 0;
  color: var(--ink-muted);
  max-width: 42rem;
}

.section-sub.light {
  color: rgba(250, 253, 251, 0.85);
  margin-inline: auto;
}

.section-text {
  color: var(--ink-muted);
  margin: 0 0 1.25rem;
}

.section-head {
  margin-bottom: 2.5rem;
}

.section-head.center {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.section-head.center .section-eyebrow {
  justify-content: center;
}

.section-head.center .section-eyebrow::before {
  display: none;
}

.grid-2 {
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 880px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

/* Doctor profile (About) */
.doctor-profile {
  background: var(--white);
  border-block: 1px solid var(--green-100);
}

.doctor-profile-inner {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 880px) {
  .doctor-profile-inner {
    grid-template-columns: minmax(280px, 420px) 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.doctor-profile-frame {
  margin: 0;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--green-900);
}

.doctor-profile-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.doctor-profile-frame img {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 18%;
}

.doctor-profile-accent {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-500), var(--gold));
  pointer-events: none;
}

.doctor-profile-name {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  color: var(--green-950);
  margin: 0 0 1.25rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.doctor-profile-credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.doctor-profile-credentials li {
  position: relative;
  padding-left: 1.5rem;
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.5;
}

.doctor-profile-credentials li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-500), var(--green-700));
  box-shadow: 0 0 0 2px var(--green-100);
}

.doctor-profile-divider {
  width: 48px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  margin: 0 0 1.25rem;
}

/* About */
.about {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 100%);
}

.about-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.about-frame img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 1.2s var(--ease-out);
}

.about-visual:hover .about-frame img {
  transform: scale(1.06);
}

.about-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(250, 253, 251, 0.95);
  backdrop-filter: blur(8px);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
  animation: float-badge 5s ease-in-out infinite;
}

@keyframes float-badge {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.about-badge span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
}

.about-badge strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--green-900);
}

.doctor-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
  box-shadow: var(--shadow-soft);
  margin: 1.5rem 0;
}

.doctor-card-icon {
  font-size: 1.75rem;
  line-height: 1;
}

.doctor-name {
  margin: 0 0 0.25rem;
  font-size: 1.35rem;
  color: var(--green-900);
}

.doctor-creds {
  margin: 0;
  color: var(--green-700);
  font-weight: 600;
}

.doctor-creds.subtle {
  font-weight: 500;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  color: var(--ink-muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green-400), var(--green-600));
  box-shadow: 0 0 0 3px var(--green-100);
}

/* Treatments */
.treatments {
  background: var(--white);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* Treatments page: three columns + larger imagery */
.treatments .card-grid {
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .treatments .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 900px) {
  .treatments .card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2vw, 2rem);
  }
}

.treatments .treat-card-media {
  margin: 0;
  line-height: 0;
  background: var(--green-100);
}

.treatments .treat-card-media img {
  height: clamp(220px, 32vw, 340px);
  object-fit: cover;
  object-position: center;
}

.treat-card {
  background: var(--white);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(42, 35, 20, 0.04);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.25s ease;
}

.treat-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(42, 35, 20, 0.1);
  border-color: rgba(201, 162, 39, 0.3);
}

.treat-card-media img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.treat-card-content {
  padding: 1.5rem 1.65rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.treat-card-icon {
  font-size: 2rem;
  margin: 0;
}

.treat-card h2,
.treat-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  color: var(--green-900);
}

.treat-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.therapy-lead {
  margin: 0 0 1.5rem;
  max-width: 42rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
}

.products-section {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding-top: clamp(2rem, 4vw, 2.75rem);
  border-top: 1px solid var(--green-100);
}

.products-panel {
  display: grid;
  gap: 1.5rem;
  margin-top: 1.25rem;
}

@media (min-width: 720px) {
  .products-panel {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

.products-column {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
}

.products-column h3 {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--green-900);
}

.products-column ul {
  margin: 0;
  padding: 0 0 0 1.2rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.products-column li {
  margin-bottom: 0.45rem;
}

/* Panchakarma — warm espresso with gold highlights */
.panchakarma {
  background: linear-gradient(160deg, #2a2318 0%, #1f1a14 45%, #17130f 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.panchakarma .wrap {
  position: relative;
  z-index: 1;
}

.panchakarma::before {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  top: -20%;
  right: -15%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.16) 0%, transparent 65%);
  pointer-events: none;
  animation: orb 12s ease-in-out infinite alternate;
}

@keyframes orb {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(-40px, 20px) scale(1.08);
  }
}

.pancha-grid {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 720px) {
  .pancha-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pancha-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: background 0.28s ease, border-color 0.28s ease, transform 0.28s var(--ease-out), box-shadow 0.28s ease;
}

.pancha-item:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(201, 162, 39, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}

.pancha-item-media {
  margin: 0;
  line-height: 0;
}

.pancha-item-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.pancha-item-body {
  padding: 1.65rem 1.85rem 1.85rem;
}

.pancha-item h2,
.pancha-item h3 {
  margin: 0 0 0.5rem;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-soft);
}

.pancha-item p {
  margin: 0;
  color: rgba(250, 253, 251, 0.82);
  font-size: 0.98rem;
}

/* Video */
.video-spotlight {
  background: linear-gradient(180deg, var(--green-50), var(--white));
}

.grid-video {
  display: grid;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 900px) {
  .grid-video {
    grid-template-columns: 1fr 1.1fr;
    gap: 3rem;
  }
}

.rounded-video {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  background: var(--green-900);
}

.video-shell {
  position: relative;
}

.video-shell::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: calc(var(--radius-lg) + 4px);
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  z-index: -1;
  opacity: 0.4;
  filter: blur(12px);
}

/* Gallery */
.gallery {
  background: linear-gradient(180deg, var(--green-50) 0%, var(--white) 18%);
}

.gallery-intro {
  margin: -0.5rem 0 2rem;
  max-width: 40rem;
  color: var(--ink-muted);
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Masonry-style columns: fewer columns = larger, easier-to-see photos */
.gallery-showcase {
  column-count: 1;
  column-gap: 16px;
}

@media (min-width: 520px) {
  .gallery-showcase {
    column-count: 2;
  }
}

@media (min-width: 900px) {
  .gallery-showcase {
    column-count: 3;
    column-gap: 18px;
  }
}

/* Show gallery photos immediately (skip scroll-in fade so images are visible right away) */
.gallery-showcase > [data-reveal] {
  opacity: 1;
  transform: none;
  transition: none;
}

.gallery-card-wrap {
  margin: 0 0 14px;
  display: block;
  width: 100%;
  break-inside: avoid;
  page-break-inside: avoid;
  -webkit-column-break-inside: avoid;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--green-100);
  box-shadow: 0 2px 10px rgba(42, 35, 20, 0.04);
  transition: transform 0.28s var(--ease-out), box-shadow 0.28s ease, border-color 0.22s ease;
  vertical-align: top;
}

@media (min-width: 1024px) {
  .gallery-card-wrap {
    margin-bottom: 16px;
  }
}

.gallery-card-wrap:hover {
  transform: translateY(-3px);
  border-color: rgba(201, 162, 39, 0.3);
  box-shadow: 0 12px 30px rgba(42, 35, 20, 0.09);
}

.gallery-card-media {
  position: relative;
  overflow: hidden;
  background: var(--green-100);
  line-height: 0;
}

.gallery-card-media img {
  width: 100%;
  height: auto;
  display: block;
}

/* CTA */
.cta-band {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-900) 55%, var(--green-950) 100%);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
}

.cta-band::before {
  content: "";
  position: absolute;
  width: 60vmax;
  height: 60vmax;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(201, 162, 39, 0.13) 0%, transparent 58%);
  pointer-events: none;
}

.cta-band .wrap {
  position: relative;
  z-index: 1;
}

.cta-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.65rem, 2.8vw, 2.2rem);
  margin: 0 0 0.65rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.cta-inner p {
  margin: 0 0 1.75rem;
  opacity: 0.75;
  max-width: 34rem;
  font-size: 1rem;
  margin-inline: auto;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* Contact */
.contact {
  background: var(--green-50);
}

.contact-grid .section-title {
  margin-bottom: 0.75rem;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.5rem;
}

.contact-card {
  background: var(--white);
  padding: 1.35rem 1.6rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-100);
  border-left: 3px solid var(--gold);
  box-shadow: 0 2px 10px rgba(42, 35, 20, 0.04);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease, border-left-color 0.25s ease;
}

.contact-card:hover {
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(42, 35, 20, 0.08);
  border-left-color: var(--green-600);
}

.contact-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-600);
}

.contact-card a {
  font-weight: 600;
  font-size: 1.1rem;
  text-decoration: none;
  color: var(--green-900);
}

.contact-card a:hover {
  color: var(--green-600);
}

.closed-note {
  margin: 0.75rem 0 0;
  color: var(--ink-muted);
}

/* ── Map container ── */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(42, 35, 20, 0.13);
  border: 1px solid var(--green-100);
  position: relative;
  background: var(--green-50);
}

/* The Leaflet map div — explicit pixel height so Leaflet always
   gets a concrete measurement, no aspect-ratio tricks needed */
.map-frame {
  display: block;
  width: 100%;
  height: 440px;
  border: none;
  z-index: 0;
}

@media (max-width: 880px) {
  .map-frame { height: 380px; }
}

@media (max-width: 640px) {
  .map-frame { height: 340px; }
}

/* ── "Get Directions" floating badge ── */
.map-directions-btn {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  z-index: 800;             /* above Leaflet tiles (z-index 400) */
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.05rem;
  background: var(--white);
  color: var(--green-900);
  -webkit-text-fill-color: var(--green-900);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid var(--green-100);
  box-shadow: 0 4px 18px rgba(42, 35, 20, 0.14);
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s ease, background 0.2s ease;
}

.map-directions-btn svg {
  color: var(--gold);
  flex-shrink: 0;
}

.map-directions-btn:hover {
  background: var(--green-900);
  color: var(--white);
  -webkit-text-fill-color: var(--white);
  border-color: var(--green-900);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(42, 35, 20, 0.22);
}

.map-directions-btn:hover svg {
  color: var(--gold-soft);
}

/* ── Leaflet attribution bar — make it subtle ── */
.map-wrap .leaflet-control-attribution {
  font-size: 0.68rem;
  background: rgba(255, 253, 249, 0.82);
  backdrop-filter: blur(4px);
  border-radius: 6px 0 0 0;
  padding: 2px 6px;
}

/* ── Leaflet zoom controls ── */
.map-wrap .leaflet-control-zoom {
  border: none !important;
  box-shadow: 0 4px 16px rgba(42, 35, 20, 0.14) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.map-wrap .leaflet-control-zoom a {
  background: var(--white) !important;
  color: var(--green-900) !important;
  -webkit-text-fill-color: var(--green-900) !important;
  border: none !important;
  font-size: 1rem !important;
  width: 34px !important;
  height: 34px !important;
  line-height: 34px !important;
  transition: background 0.18s ease !important;
  text-decoration: none !important;
}

.map-wrap .leaflet-control-zoom a:hover {
  background: var(--green-50) !important;
  color: var(--green-800) !important;
  -webkit-text-fill-color: var(--green-800) !important;
}

/* ── Custom popup ── */
.map-popup-wrap .leaflet-popup-content-wrapper {
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(42, 35, 20, 0.18);
  border: 1px solid var(--green-100);
  padding: 0;
}

.map-popup-wrap .leaflet-popup-content {
  margin: 0;
  padding: 0;
}

.map-popup-wrap .leaflet-popup-tip-container {
  filter: drop-shadow(0 4px 6px rgba(42, 35, 20, 0.12));
}

.map-popup-wrap .leaflet-popup-tip {
  background: var(--white);
}

.map-popup {
  display: flex;
  flex-direction: column;
  gap: 0.18rem;
  padding: 0.75rem 1.1rem;
}

.map-popup strong {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green-950);
  display: block;
}

.map-popup span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* On mobile */
@media (max-width: 640px) {
  .map-wrap {
    aspect-ratio: 3 / 4;
    min-height: 380px;
  }
}

/* Footer */
.site-footer {
  background: var(--green-950);
  color: rgba(255, 254, 251, 0.82);
  padding-top: 0;
  padding-bottom: 0;
  border-top: none;
}

.site-footer::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--green-500), var(--gold));
  opacity: 0.7;
}

.logo-footer .logo-text strong {
  color: var(--white);
}

.logo-footer .logo-text small {
  color: rgba(250, 253, 251, 0.7);
}

.footer-tag {
  margin: 1rem 0 0;
  font-size: 0.92rem;
  max-width: 28rem;
  line-height: 1.5;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  padding-top: 3rem;
  padding-bottom: 2.75rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.6fr 1fr 1fr;
    gap: 3rem;
  }
}

.footer-heading {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.45);
  margin: 0 0 1.1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Explicit :link / :visited so mailto matches other footer links (global a:visited in components.css loads later) */
.site-footer .footer-links a:link,
.site-footer .footer-links a:visited {
  color: rgba(255, 254, 251, 0.65);
  text-decoration: none;
  display: block;
  padding: 0.38rem 0;
  font-weight: 400;
  font-size: 0.95rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:active {
  color: var(--gold-soft);
  padding-left: 4px;
}

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-bar-inner {
  padding: 1.1rem 0;
  font-size: 0.83rem;
  color: rgba(255, 254, 251, 0.38);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-copyright {
  margin: 0.65rem 0 0;
  font-size: 0.83rem;
  color: rgba(255, 254, 251, 0.35);
}

.footer-tag {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  max-width: 28rem;
  line-height: 1.55;
  color: rgba(255, 254, 251, 0.55);
}

/* FAB WhatsApp */
.fab-wa {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
  right: max(1.5rem, env(safe-area-inset-right, 0px));
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 850;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s ease;
  text-decoration: none;
}

.fab-wa:hover {
  transform: translateY(-3px);
  color: var(--white);
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
}

.fab-wa:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

main > section:first-of-type {
  scroll-margin-top: var(--header-h);
}

section[id] {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

/* Mobile: ensure CTA buttons are easy to tap */
@media (max-width: 480px) {
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-row .btn {
    width: 100%;
    justify-content: center;
  }

  .explore-mini {
    flex-direction: column;
  }

  .explore-mini-media {
    max-width: none;
    width: 100%;
    aspect-ratio: 16 / 7;
  }

  .contact-cards {
    gap: 0.85rem;
  }

  .contact-card {
    padding: 1.15rem 1.25rem;
  }
}

/* Ensure stat cards are readable at all sizes */
@media (max-width: 360px) {
  .stat-card {
    min-width: 100px;
    padding: 0.85rem 1rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }
}

/* Reviews Section */
.home-reviews {
  background: var(--white);
  padding: 5rem 0;
}
.home-reviews .section-head {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto 3rem;
}
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
.review-card {
  background: var(--green-50);
  border: 1px solid var(--green-100);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(42, 35, 20, 0.12);
}
.review-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  font-style: italic;
  margin: 0;
}
.review-content p::before {
  content: '"';
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.2em;
  margin-right: 0.2rem;
}
.review-content p::after {
  content: '"';
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 2rem;
  line-height: 0;
  vertical-align: -0.4em;
  margin-left: 0.2rem;
}
.review-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--green-200);
  padding-top: 1.5rem;
}
.review-author-info h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--green-900);
  margin: 0 0 0.2rem 0;
}
.review-author-info p {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0;
}
