:root {
  --ink: #3a2521;
  --muted: #7a6259;
  --paper: #fff8f0;
  --surface: #ffffff;
  --mist: #faead6;
  --teal: #a8170f;
  --teal-dark: #73100b;
  --gold: #c99143;
  --rose: #d96f45;
  --leaf: #b77740;
  --line: #ead9ca;
  --shadow: 0 22px 70px rgba(105, 39, 20, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 8%, rgba(168, 23, 15, 0.1), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(244, 188, 121, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(168, 23, 15, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(168, 23, 15, 0.035) 1px, transparent 1px),
    var(--paper);
  background-size: auto, auto, 44px 44px, 44px 44px, auto;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(115deg, transparent 0 42%, rgba(168, 23, 15, 0.06) 48%, transparent 54% 100%),
    linear-gradient(245deg, transparent 0 62%, rgba(201, 145, 67, 0.12) 68%, transparent 74% 100%);
  background-size: 180% 180%, 160% 160%;
  animation: ambientSweep 18s ease-in-out infinite alternate;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--rose));
  box-shadow: 0 0 18px rgba(168, 23, 15, 0.4);
}

.cursor-glow {
  position: fixed;
  z-index: -1;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201, 145, 67, 0.16), transparent 62%);
  transform: translate3d(-50%, -50%, 0);
  transition: opacity 180ms ease;
}

img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { overflow-wrap: anywhere; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1 { margin-bottom: 22px; font-size: clamp(38px, 6vw, 76px); }
h2 { margin-bottom: 16px; font-size: clamp(27px, 4vw, 48px); }
h3 { margin-bottom: 10px; font-size: 20px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(16px, 4vw, 56px);
  border-bottom: 1px solid rgba(234, 217, 202, 0.9);
  background: rgba(255, 248, 240, 0.94);
  backdrop-filter: blur(14px);
  animation: headerDrop 700ms ease both;
  overflow: hidden;
  transition: padding 220ms ease, box-shadow 220ms ease, background 220ms ease;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255,255,255,0.78) 42%, transparent 52% 100%),
    radial-gradient(circle at var(--header-x, 50%) 0%, rgba(168, 23, 15, 0.16), transparent 28%);
  transform: translateX(-105%);
  animation: headerShine 6.5s ease-in-out infinite;
}

.site-header::after {
  content: "";
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  left: clamp(18px, 5vw, 72px);
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--teal), transparent);
  opacity: 0.75;
  animation: headerLine 5.5s ease-in-out infinite;
}

.site-header.scrolled {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 248, 240, 0.98);
  box-shadow: 0 16px 38px rgba(105, 39, 20, 0.12);
}

.topbar {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  padding: 8px clamp(16px, 4vw, 56px);
  color: #fff7ef;
  background: linear-gradient(90deg, var(--teal-dark), var(--teal));
  background-size: 180% 100%;
  font-size: 13px;
  font-weight: 800;
  animation: topbarGradient 8s ease-in-out infinite alternate;
}

.topbar span {
  position: relative;
  padding-left: 18px;
}

.topbar span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  transform: translateY(-50%);
  animation: topbarPulse 2.4s ease-in-out infinite;
}

.brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
  text-decoration: none;
}

.brand::after {
  content: "";
  position: absolute;
  inset: -8px -10px;
  z-index: -1;
  border-radius: 12px;
  background: radial-gradient(circle at 28px 50%, rgba(168, 23, 15, 0.14), transparent 58%);
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 220ms ease, transform 220ms ease;
}

.brand:hover::after {
  opacity: 1;
  transform: scale(1);
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  flex: 0 0 auto;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(180deg, #fff9f1, #f7cfa2);
  box-shadow: 0 10px 24px rgba(168, 23, 15, 0.2);
  font-size: 24px;
  font-weight: 800;
  overflow: hidden;
  animation: logoBreath 4.8s ease-in-out infinite;
}

.brand-mark::after {
  content: "";
  position: absolute;
  inset: -40%;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,0.8), transparent 34%);
  animation: logoSweep 4.5s linear infinite;
  mix-blend-mode: screen;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.brand strong, .brand small { display: block; }
.brand strong { color: var(--teal-dark); font-size: 18px; }
.brand small { color: var(--muted); font-size: 12px; line-height: 1.25; }

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  flex-wrap: wrap;
}

.site-nav a {
  position: relative;
  overflow: hidden;
  padding: 9px 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.site-nav a:hover, .site-nav a.active { color: var(--teal-dark); background: var(--mist); }
.site-nav a:hover { transform: translateY(-1px); }

.site-nav a::before {
  content: "";
  position: absolute;
  inset: auto 12px 5px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent, rgba(255,255,255,0.62), transparent);
  transform: translateX(-120%);
  transition: transform 420ms ease;
}

.site-nav a:hover::before,
.site-nav a.active::before {
  transform: scaleX(1);
}

.site-nav a:hover::after {
  transform: translateX(120%);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  cursor: pointer;
}

.nav-toggle span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
  min-height: calc(100vh - 78px);
  padding: clamp(34px, 7vw, 86px) clamp(18px, 5vw, 72px) clamp(40px, 7vw, 88px);
}

.home-hero::before {
  content: "";
  position: absolute;
  right: -8vw;
  top: 14%;
  width: 46vw;
  max-width: 680px;
  height: 62%;
  border: 1px solid rgba(168, 23, 15, 0.12);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,0.54), rgba(250,234,214,0.28));
  transform: skewX(-9deg);
  animation: panelDrift 9s ease-in-out infinite alternate;
}

.hero-visual-lines {
  position: absolute;
  inset: 10% 0 auto 0;
  height: 66%;
  pointer-events: none;
}

.hero-visual-lines span {
  position: absolute;
  left: -20%;
  width: 140%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 23, 15, 0.2), transparent);
  animation: lineSweep 7s linear infinite;
}

.hero-visual-lines span:nth-child(1) { top: 12%; animation-delay: 0s; }
.hero-visual-lines span:nth-child(2) { top: 46%; animation-delay: -2.5s; }
.hero-visual-lines span:nth-child(3) { top: 78%; animation-delay: -4.5s; }

.hero-copy { max-width: 720px; }
.eyebrow { margin: 0 0 12px; color: var(--teal); font-size: 12px; font-weight: 800; letter-spacing: 0; text-transform: uppercase; }
.lede, .section-lede { max-width: 720px; margin: 0 0 28px; color: var(--muted); font-size: 18px; }
.section-lede { font-size: 17px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}
.button.primary { color: #fff; background: var(--teal); }
.button.primary:hover { background: var(--teal-dark); }
.button.ghost { color: var(--teal-dark); border-color: var(--line); background: var(--surface); }
.button.light { color: var(--teal-dark); background: #fff; }
.button:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(105, 39, 20, 0.14); }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.trust-row span, .chips-grid span {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--teal-dark);
  font-weight: 800;
}
.trust-row span { padding: 9px 11px; font-size: 13px; }

.layered-card { position: relative; }
.layered-card::before {
  content: "";
  position: absolute;
  inset: -18px;
  z-index: -1;
  border: 1px solid rgba(168, 23, 15, 0.24);
  border-radius: 20px;
  transform: rotate(-2deg);
}
.hero-media img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
  animation: photoFloat 7s ease-in-out infinite;
}
.hero-note {
  position: absolute;
  right: 18px;
  bottom: 18px;
  max-width: 270px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 30px rgba(105, 39, 20, 0.16);
  animation: noteRise 900ms 400ms ease both;
  z-index: 20;
}
.hero-note strong, .hero-note span { display: block; }
.hero-note span { color: var(--muted); font-size: 14px; }

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0 clamp(18px, 5vw, 72px) clamp(40px, 6vw, 72px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}
.quick-strip div { padding: 22px; background: rgba(255, 255, 255, 0.86); }
.quick-strip div:nth-child(odd) { background: rgba(255, 245, 231, 0.92); }
.quick-strip strong, .quick-strip span { display: block; }
.quick-strip strong { color: var(--teal-dark); font-size: 24px; line-height: 1; }
.quick-strip span { margin-top: 8px; color: var(--muted); font-size: 14px; }

.section { padding: clamp(44px, 7vw, 86px) clamp(18px, 5vw, 72px); }
.split, .two-column, .doctor-story, .story-highlight {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: start;
  background: rgba(255, 252, 247, 0.82);
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-heading { max-width: 780px; margin-bottom: 28px; }
.feature-list { display: grid; gap: 18px; }
.feature-list article {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.feature-list h3, .feature-list p { grid-column: 2; margin: 0; }
.feature-list p, .card p, .service-card p, .contact-card p, .blog-card p, .gallery-card p, .review-card p { color: var(--muted); }
.icon-dot {
  grid-row: 1 / span 2;
  width: 14px;
  height: 14px;
  margin-top: 4px;
  border-radius: 50%;
  background: var(--rose);
  box-shadow: 0 0 0 7px rgba(168, 23, 15, 0.13);
}

.cards, .service-grid, .blog-grid, .path-grid { display: grid; gap: 18px; }
.cards.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.stacked { grid-template-columns: 1fr; }

.card, .contact-card, .contact-form, .service-card, .blog-card, .review-card, .gallery-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 14px 38px rgba(105, 39, 20, 0.08);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.card:hover, .contact-card:hover, .service-card:hover, .blog-card:hover, .review-card:hover, .gallery-card:hover {
  transform: translateY(-4px);
  border-color: rgba(168, 23, 15, 0.28);
  box-shadow: 0 18px 44px rgba(105, 39, 20, 0.13);
}

.service-card, .blog-card, .review-card, .gallery-card, .card {
  isolation: isolate;
}

.service-card::before, .blog-card::before, .review-card::before, .gallery-card::before, .card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0;
  background: linear-gradient(135deg, rgba(168, 23, 15, 0.08), rgba(201, 145, 67, 0.12));
  transition: opacity 220ms ease;
}

.service-card:hover::before, .blog-card:hover::before, .review-card:hover::before, .gallery-card:hover::before, .card:hover::before {
  opacity: 1;
}
.card, .contact-card, .contact-form, .blog-card, .review-card, .gallery-card { padding: 24px; }
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mist);
  font-weight: 800;
}

.condition-band { background: #fff; }
.chips-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.chips-grid span { padding: 14px 16px; text-align: center; }
.chips-grid span {
  position: relative;
  overflow: hidden;
}
.chips-grid span::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.65), transparent);
  transform: translateX(-110%);
  transition: transform 550ms ease;
}
.chips-grid span:hover::after { transform: translateX(110%); }

.poster-frame {
  align-self: stretch;
  padding: 14px;
  border: 1px solid rgba(168, 23, 15, 0.22);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.poster-frame img { width: 100%; max-height: 560px; object-fit: contain; border-radius: 6px; background: #f7e7cc; }

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(54px, 8vw, 98px) clamp(18px, 5vw, 72px);
  background:
    linear-gradient(135deg, rgba(168, 23, 15, 0.1), rgba(247, 202, 143, 0.22)),
    var(--paper);
  isolation: isolate;
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::before {
  right: -120px;
  top: -120px;
  width: min(48vw, 520px);
  height: min(48vw, 520px);
  background:
    radial-gradient(circle, rgba(168, 23, 15, 0.16), transparent 62%),
    repeating-radial-gradient(circle, rgba(168, 23, 15, 0.12) 0 2px, transparent 2px 22px);
  animation: pageOrbFloat 10s ease-in-out infinite alternate;
}

.page-hero::after {
  left: -90px;
  bottom: -130px;
  width: min(42vw, 430px);
  height: min(42vw, 430px);
  background:
    radial-gradient(circle, rgba(201, 145, 67, 0.24), transparent 64%),
    conic-gradient(from 180deg, transparent, rgba(201, 145, 67, 0.14), transparent 42%);
  animation: pageOrbSpin 14s linear infinite;
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero .lede {
  animation: heroTextIn 780ms ease both;
}

.page-hero h1 {
  text-shadow: 0 0 0 rgba(168, 23, 15, 0);
  animation: heroTextIn 780ms ease both, headlineGlow 5.5s ease-in-out infinite 900ms;
}

.page-hero .lede {
  animation-delay: 120ms;
}
.page-hero.compact h1 { max-width: 1040px; font-size: clamp(34px, 5vw, 60px); }

.portrait-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  min-height: 390px;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(145deg, rgba(115, 16, 11, 0.96), rgba(168, 23, 15, 0.92)),
    var(--teal-dark);
}
.portrait-initials {
  display: grid;
  place-items: center;
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  font-size: 42px;
  font-weight: 800;
  border-radius: 5%
}
.story-copy { max-width: 830px; }
.story-copy p { color: var(--muted); }

.service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service-card {
  position: relative;
  min-height: 275px;
  padding: 24px;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  right: -32px;
  bottom: -32px;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: rgba(168, 23, 15, 0.08);
}
.service-card span { display: block; margin-bottom: 30px; color: var(--gold); font-size: 14px; font-weight: 800; }
.service-card h2, .blog-card h2 { font-size: 22px; }
.service-card a, .blog-card a { position: relative; z-index: 1; color: var(--teal-dark); font-weight: 800; }

.path-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.path-grid div {
  padding: 22px;
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  background: #fff;
}
.path-grid strong { color: var(--gold); }
.path-grid p { margin-bottom: 0; color: var(--muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 18px;
}
.gallery-tile, .gallery-card { margin: 0; }
.gallery-tile {
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.gallery-tile img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; }
.gallery-tile:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 26px 70px rgba(105, 39, 20, 0.18); }
.gallery-tile[data-lightbox] { cursor: zoom-in; }
.gallery-tile.poster img { object-fit: contain; background: #f7e7cc; }
.gallery-tile.logo-tile img { object-fit: contain; background: #fff; padding: 28px; }
.gallery-tile.profile-preview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  align-items: stretch;
  border: 1px solid rgba(168, 23, 15, 0.16);
  background: linear-gradient(135deg, #fff, #fff2df);
}

.gallery-tile.profile-preview img {
  height: 430px;
  min-height: 0;
  object-fit: cover;
  object-position: top center;
  background: #f8e6ca;
}

.gallery-tile.profile-preview figcaption {
  display: grid;
  align-content: center;
  gap: 10px;
  padding: clamp(22px, 4vw, 44px);
  color: var(--muted);
}

.gallery-tile.profile-preview figcaption strong,
.gallery-tile.profile-preview figcaption span {
  display: block;
}

.gallery-tile.profile-preview figcaption strong {
  color: var(--teal-dark);
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.gallery-tile.profile-preview figcaption span {
  max-width: 360px;
  font-size: 16px;
}

.gallery-tile figcaption {
  padding: 14px 16px;
  color: var(--muted);
  font-weight: 800;
}
.gallery-card {
  min-height: 180px;
  display: grid;
  align-content: end;
  background: linear-gradient(145deg, #fff, #fff0df);
}
.gallery-card span { color: var(--teal-dark); font-size: 22px; font-weight: 800; }

.blog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.blog-card span {
  display: inline-block;
  margin-bottom: 18px;
  padding: 7px 10px;
  border-radius: 8px;
  color: var(--teal-dark);
  background: var(--mist);
  font-weight: 800;
}

.review-summary {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 18px;
  background: #fff;
}
.review-meter {
  display: grid;
  align-content: center;
  padding: 34px;
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(145deg, var(--teal-dark), var(--teal));
}
.review-meter strong { font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.review-meter span { margin-top: 14px; color: #e7f4f1; }
.review-platforms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.review-platforms article { padding: 26px; border: 1px solid var(--line); border-radius: 8px; background: #fbfaf6; }
.review-platforms span { color: var(--gold); font-weight: 800; }
.stars { color: var(--gold); font-size: 20px; letter-spacing: 0; }
.review-card span { color: var(--muted); font-size: 13px; font-weight: 800; }

.contact-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.featured-contact { border-color: rgba(168, 23, 15, 0.32); }
.contact-form { grid-column: 1 / -1; display: grid; gap: 12px; }
.clinic-timing-guide {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.clinic-timing-guide article {
  padding: 16px;
  border: 1px solid rgba(168, 23, 15, 0.16);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fff5e8);
}

.clinic-timing-guide span,
.clinic-timing-guide strong {
  display: block;
}

.clinic-timing-guide span {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.clinic-timing-guide strong {
  color: var(--teal-dark);
  font-size: 18px;
}

.clinic-timing-guide p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
input, select, textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}
textarea { resize: vertical; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: clamp(18px, 5vw, 72px);
  padding: clamp(28px, 5vw, 52px);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, rgba(168, 23, 15, 0.96), rgba(115, 16, 11, 0.96));
}
.cta-band .eyebrow { color: #e5c994; }
.cta-band h2 { margin-bottom: 0; }

.whatsapp-widget {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 71;
  width: min(320px, calc(100vw - 28px));
  overflow: hidden;
  border: 1px solid rgba(37, 211, 102, 0.28);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(24, 55, 51, 0.22);
  animation: fadeInUp 0.4s ease;
}

.widget-header,
#whatsapp-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  color: #fff;
  background: linear-gradient(135deg, #25d366, #128c4a);
}

.widget-header strong,
#whatsapp-header strong,
.widget-header span,
#whatsapp-header span {
  display: block;
}

.widget-header span,
#whatsapp-header span {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 11px;
  font-weight: 700;
}

.widget-header button,
#whatsapp-header button,
.minimize-btn,
.close-btn {
  width: 30px;
  height: 30px;
  margin-left: 6px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
}

.widget-form,
#whatsapp-form {
  display: grid;
  gap: 10px;
  padding: 16px;
}

.widget-form button,
#whatsapp-form button,
.widget-reopen {
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #25d366;
  font-weight: 800;
  cursor: pointer;
}

.widget-form button,
#whatsapp-form button {
  min-height: 44px;
  box-shadow: 0 10px 20px rgba(37, 211, 102, 0.22);
}

.whatsapp-widget.is-minimized .widget-form,
.whatsapp-widget.is-minimized #whatsapp-form {
  display: none;
}

.widget-reopen {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 69;
  display: none;
  min-width: 58px;
  height: 58px;
  padding: 0 13px;
  border-radius: 999px;
  box-shadow: 0 12px 34px rgba(18, 140, 74, 0.34);
  animation: whatsappPulse 2s infinite;
}

.whatsapp-widget.is-closed {
  display: none;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: #dbe9e6;
  background: #321714;
}
.site-footer p { margin: 0; }
.site-footer a { color: #fff; }

.motion-marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, #fff, #fff0df, #fff);
}

.motion-marquee div {
  display: flex;
  width: max-content;
  gap: 12px;
  padding: 14px 0;
  animation: marqueeMove 26s linear infinite;
}

.motion-marquee span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid rgba(168, 23, 15, 0.16);
  border-radius: 999px;
  color: var(--teal-dark);
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
}

.animated-showcase {
  background:
    linear-gradient(135deg, rgba(255,255,255,0.86), rgba(255,240,223,0.78)),
    #fff;
}

.showcase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.showcase-card {
  position: relative;
  min-height: 320px;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: auto -20% -35% -20%;
  height: 55%;
  background: linear-gradient(135deg, rgba(168, 23, 15, 0.12), rgba(201, 145, 67, 0.2));
  transform: skewY(-6deg);
  transition: transform 260ms ease;
}

.showcase-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 72px rgba(105, 39, 20, 0.18);
}

.showcase-card:hover::after { transform: translateY(-16px) skewY(-6deg); }
.showcase-card span { color: var(--gold); font-weight: 900; }
.showcase-card h3 { margin-top: 28px; font-size: 25px; }
.showcase-card p { color: var(--muted); }
.accent-red { border-color: rgba(168, 23, 15, 0.18); }
.accent-gold { border-color: rgba(201, 145, 67, 0.32); }
.accent-cream { background: linear-gradient(180deg, #fff, #fff4e6); }

.patient-pathway {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 1.2fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  background: #fff;
}

.appointment-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(115, 16, 11, 0.96), rgba(168, 23, 15, 0.92)),
    var(--teal-dark);
}

.appointment-panel .eyebrow {
  color: #f7d89b;
}

.appointment-panel .section-lede {
  color: #ffe8d6;
}

.mini-appointment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.18);
}

.mini-appointment-form .button {
  grid-column: 1 / -1;
  background: var(--gold);
}

.path-orbit {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(145deg, #fff, #fff0df);
  overflow: hidden;
}

.path-orbit::before {
  content: "";
  position: absolute;
  inset: 50% 8%;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--teal));
  animation: pathwayPulse 2.6s ease-in-out infinite;
}

.path-orbit div {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 132px;
  border: 1px solid rgba(168, 23, 15, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.9);
  animation: stepFloat 4.4s ease-in-out infinite;
}

.path-orbit div:nth-child(2) { animation-delay: -0.7s; }
.path-orbit div:nth-child(3) { animation-delay: -1.4s; }
.path-orbit div:nth-child(4) { animation-delay: -2.1s; }
.path-orbit strong {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  font-size: 22px;
}
.path-orbit span { color: var(--teal-dark); font-weight: 900; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(50, 23, 20, 0.82);
  backdrop-filter: blur(8px);
}

.lightbox.open { display: grid; animation: fadeIn 180ms ease; }
.lightbox img {
  max-width: min(1060px, 94vw);
  max-height: 86vh;
  border: 10px solid #fff;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 28px 90px rgba(0,0,0,0.34);
}
.lightbox button {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  color: #fff;
  background: rgba(255,255,255,0.08);
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 90px;
  z-index: 58;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--teal);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 180ms ease, transform 180ms ease;
  cursor: pointer;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

@keyframes ambientSweep {
  from { background-position: 0% 50%, 100% 50%; }
  to { background-position: 100% 50%, 0% 50%; }
}

@keyframes headerDrop {
  from { opacity: 0; transform: translateY(-16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headerShine {
  0%, 35% { transform: translateX(-105%); opacity: 0; }
  48% { opacity: 1; }
  70%, 100% { transform: translateX(105%); opacity: 0; }
}

@keyframes headerLine {
  0%, 100% { transform: scaleX(0.42); opacity: 0.34; }
  50% { transform: scaleX(1); opacity: 0.85; }
}

@keyframes topbarGradient {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

@keyframes logoBreath {
  0%, 100% { transform: scale(1); box-shadow: 0 10px 24px rgba(168, 23, 15, 0.2); }
  50% { transform: scale(1.035); box-shadow: 0 14px 32px rgba(168, 23, 15, 0.28); }
}

@keyframes logoSweep {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pageOrbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-32px, 26px, 0) scale(1.08); }
}

@keyframes pageOrbSpin {
  from { transform: rotate(0deg) translateY(0); }
  to { transform: rotate(360deg) translateY(-12px); }
}

@keyframes heroTextIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes headlineGlow {
  0%, 100% { text-shadow: 0 0 0 rgba(168, 23, 15, 0); }
  50% { text-shadow: 0 12px 38px rgba(168, 23, 15, 0.16); }
}

@keyframes panelDrift {
  from { transform: translateX(0) skewX(-9deg); }
  to { transform: translateX(-22px) skewX(-9deg); }
}

@keyframes lineSweep {
  from { transform: translateX(-22%); opacity: 0; }
  20%, 80% { opacity: 1; }
  to { transform: translateX(22%); opacity: 0; }
}

@keyframes photoFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes noteRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marqueeMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes pathwayPulse {
  0%, 100% { opacity: 0.35; transform: scaleX(0.85); }
  50% { opacity: 1; transform: scaleX(1); }
}

@keyframes stepFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes whatsappPulse {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.58); }
  70% { transform: scale(1.06); box-shadow: 0 0 0 13px rgba(37, 211, 102, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@keyframes topbarPulse {
  0%, 100% { transform: translateY(-50%) scale(1); opacity: 0.72; }
  50% { transform: translateY(-50%) scale(1.35); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

@media (max-width: 1080px) {
  .cards.four, .blog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero, .split, .two-column, .doctor-story, .story-highlight, .review-summary, .contact-layout, .gallery-grid, .patient-pathway, .appointment-panel { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .quick-strip, .chips-grid, .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-orbit { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .path-orbit::before { display: none; }
  .gallery-tile.profile-preview { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .site-header { align-items: flex-start; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 14px;
    left: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .site-nav a { text-align: left; }
  .brand { min-width: 0; }
  .brand small { display: none; }
  .cards.three, .cards.four, .service-grid, .blog-grid, .review-platforms, .quick-strip, .chips-grid, .path-grid, .form-grid, .showcase-grid, .path-orbit, .mini-appointment-form, .clinic-timing-guide { grid-template-columns: 1fr; }
  .cta-band { align-items: flex-start; flex-direction: column; }
  .hero-note { position: static; max-width: none; margin-top: 12px; }
  .whatsapp-widget { right: 12px; bottom: 82px; }
  .widget-reopen { right: 12px; bottom: 82px; }
  .cursor-glow { display: none; }
}

@media (max-width: 520px) {
  h1 { font-size: 36px; }
  .hero { padding-top: 26px; }
  .hero-actions .button { width: 100%; }
  .hero-media img { aspect-ratio: 4 / 3; }
  .gallery-tile.profile-preview img { height: 320px; }
  .quick-strip { margin-right: 18px; margin-left: 18px; }
  .card, .contact-card, .contact-form, .service-card, .blog-card, .review-card, .gallery-card { padding: 20px; }
}