:root {
  --background: #fffdfa;
  --foreground: #0d1b2a;
  --brand: #0d1b2a;
  --brand-dark: #07111c;
  --brand-accent: #c8933a;
  --muted: #566475;
  --surface: #f7f3eb;
  --border: #ded8cc;
  --white: #ffffff;
  --shadow-soft: 0 1px 2px rgba(13, 27, 42, 0.04), 0 8px 24px rgba(13, 27, 42, 0.07);
  --shadow-lift: 0 2px 4px rgba(13, 27, 42, 0.06), 0 20px 44px -14px rgba(13, 27, 42, 0.22);
  --radius: 1rem;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, sans-serif;
  --header-h: 4.75rem;
  --mobile-bar-h: calc(3.5rem + env(safe-area-inset-bottom));
  --cta-green: #34d399;
  --cta-green-text: #022c22;
  --cta-cyan: #38c8e8;
  --cta-cyan-text: #032830;
  --cta-yellow: #ffd60a;
  --cta-yellow-text: #2d1f00;
}

html.dark {
  --background: #0b1220;
  --foreground: #e8eef6;
  --brand: #e8eef6;
  --brand-dark: #071018;
  --brand-accent: #d4a44c;
  --muted: #9aa8b8;
  --surface: #152536;
  --border: #2a3b4d;
  --white: #152536;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.35), 0 10px 28px rgba(0, 0, 0, 0.45);
  --shadow-lift: 0 2px 6px rgba(0, 0, 0, 0.4), 0 24px 48px -16px rgba(0, 0, 0, 0.7);
}

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

html {
  background-color: #0b1220;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

html:not(.dark) {
  background-color: #fffdfa;
  color-scheme: light;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-sans);
  line-height: 1.6;
  padding-bottom: var(--mobile-bar-h);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--brand-accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 80;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

.wrap {
  width: min(72rem, calc(100% - 2.5rem));
  margin-inline: auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--brand-accent) 44%, var(--border));
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--background));
  padding: 0.3rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--brand-accent) 76%, var(--brand-dark));
}

.muted {
  color: var(--muted);
}

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

.section {
  padding: 4.75rem 0;
}

.section-surface {
  background: var(--surface);
}

.section-dark {
  background: var(--brand-dark);
  color: #f7f3eb;
}

.section-brand {
  /* Always deep navy — never follow theme --brand (light in dark mode). */
  background: #0d1b2a;
  color: #f7f3eb;
}

html.dark .section-brand {
  background: #0d1b2a;
  color: #f7f3eb;
}

.section-trust {
  background: var(--background);
  border-top: 1px solid var(--border);
  margin-top: 1.5rem;
}

.section-reviews {
  background: #162444;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 1.5rem;
}

.section-reviews .lead {
  color: rgba(255, 255, 255, 0.7);
  margin-inline: auto;
}

.section-reviews h2 {
  color: #fff;
}

.section-blue {
  background: #2d4fa0;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 0;
}

.section-refer {
  padding: 3.5rem 0 4.5rem;
}

.section-final-cta {
  position: relative;
  overflow: hidden;
  background: #0d1b2a;
  color: #f7f3eb;
  border-top: 4px solid var(--background);
  margin-top: 2.5rem;
  text-align: center;
  padding: 5.5rem 0;
}

.section-final-cta h2,
.section-final-cta .cta-lead,
.section-final-cta .cta-mobile-tip {
  color: #f7f3eb;
}

.section-final-cta .cta-lead {
  color: rgba(247, 243, 235, 0.9);
}

.section-final-cta .cta-mobile-tip {
  color: rgba(255, 255, 255, 0.75);
}

/* Keep CTA buttons readable on the fixed navy band in both themes. */
.section-final-cta .btn-dark {
  background: #f3f4f6;
  color: #111827;
}

.section-final-cta .btn-on-dark {
  border-color: rgba(255, 255, 255, 0.35);
  color: #fff;
}

.section-final-cta .btn-primary {
  background: var(--brand-accent);
  color: #1a1205;
}

.section-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(60% 80% at 15% 0%, rgba(255, 255, 255, 0.16), transparent 60%),
    radial-gradient(50% 70% at 100% 100%, color-mix(in srgb, var(--brand-accent) 40%, transparent), transparent 60%);
}

.section-final-cta .wrap {
  position: relative;
}

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

.section-head.center,
.center {
  text-align: center;
}

.section-head.center .lead,
.center .lead {
  margin-inline: auto;
}

.section-head h2 {
  margin-top: 0.75rem;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
}

.section-head .lead {
  margin-top: 0.85rem;
}

.wrap.narrow {
  width: min(36rem, calc(100% - 2.5rem));
}

.eyebrow-on-dark {
  border-color: color-mix(in srgb, var(--brand-accent) 50%, transparent);
  background: transparent;
  color: var(--brand-accent);
}

.why-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.premium-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border-radius: 1.5rem;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}

.premium-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand);
  box-shadow: var(--shadow-lift);
}

.pillar-banner {
  position: relative;
  height: 7rem;
  flex-shrink: 0;
}

.pillar-banner svg {
  width: 100%;
  height: 100%;
  display: block;
}

.pillar-emoji {
  position: absolute;
  bottom: 0;
  left: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  transform: translateY(50%);
  border-radius: 0.75rem;
  font-size: 1.35rem;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.7), 0 2px 8px rgba(0, 0, 0, 0.12);
}

.pillar-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 2.5rem 1.25rem 1.25rem;
}

.pillar-body h3 {
  font-size: 1.2rem;
  line-height: 1.25;
}

.pillar-body p {
  margin-top: 0.75rem;
  flex: 1;
  color: var(--muted);
  font-size: 0.95rem;
}

.pillar-link {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
}

html.dark .pillar-link {
  color: var(--brand-accent);
}

.review-stats {
  list-style: none;
  margin: 2rem auto 0;
  padding: 0.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  max-width: 48rem;
  border-radius: 1rem;
  background: #b4c5f5;
  box-shadow: var(--shadow-lift);
}

.review-stats li {
  overflow: hidden;
  border-radius: 0.75rem;
  background: #c4d4fc;
  text-align: center;
}

.review-stats a {
  display: block;
  padding: 1.25rem 0.75rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  letter-spacing: -0.02em;
  color: #c8933a;
}

.stat-label {
  margin-top: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: #1a2236;
}

.review-grid {
  margin-top: 2.5rem;
}

.review-card {
  background: #131d2e;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
}

.review-card .review-author {
  color: rgba(255, 255, 255, 0.65);
}

.google-review-cta {
  text-align: center;
}

.google-review-cta a {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s var(--ease-out);
}

.google-review-cta a:hover {
  transform: translateY(-2px);
}

.g-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  background: #fff;
}

.g-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  background: #4285f4;
  padding: 0.75rem 1.25rem;
  color: #fff;
  text-align: left;
}

.g-line1 {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
}

.g-line2 {
  font-size: 0.875rem;
  font-weight: 700;
}

.refer-card {
  max-width: 40rem;
  margin-inline: auto;
  border-radius: 1rem;
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
  background: var(--surface);
  color: var(--foreground);
  padding: 2rem 1.5rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.refer-card h2 {
  font-size: clamp(1.6rem, 4vw, 2rem);
}

.refer-card .lead {
  margin: 1rem auto 0;
  color: var(--muted);
}

.refer-card .fine-print {
  color: var(--muted);
}

.cta-row.center {
  justify-content: center;
}

.cta-lead {
  color: rgba(247, 243, 235, 0.9);
  margin-top: 1.25rem;
}

.cta-row.cta-desktop-only {
  display: none;
}

.cta-mobile-tip {
  margin: 1.5rem auto 0;
  max-width: 22rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.1rem;
}

.card {
  background: var(--background);
  border: 1px solid color-mix(in srgb, var(--border) 86%, transparent);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: 1.4rem;
}

.card.lift,
.gallery-card,
.tour-card,
.team-card {
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.card.lift:hover,
.gallery-card:hover,
.tour-card:hover,
.team-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lift);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.08);
  transition: transform 0.25s var(--ease-out), background-color 0.25s var(--ease-out),
    border-color 0.25s var(--ease-out), color 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lift);
}

.btn-primary {
  background: var(--brand-accent);
  color: #1a1205;
}

.btn-primary:hover {
  background: color-mix(in srgb, var(--brand-accent) 86%, white);
}

.btn-dark {
  background: var(--brand);
  color: #fff;
}

html.dark .btn-dark {
  background: #f3f4f6;
  color: #111827;
}

.btn-ghost {
  border-color: color-mix(in srgb, var(--foreground) 18%, transparent);
  background: color-mix(in srgb, var(--background) 70%, transparent);
}

.btn-on-dark {
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.btn-on-dark.btn-primary {
  color: #1a1205;
  border-color: transparent;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--background) 88%, transparent);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-soft);
}

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

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  transition: transform 0.3s var(--ease-out);
}

.brand:hover {
  transform: translateY(-1px);
}

.brand img,
.footer-brand img {
  height: 3rem;
  width: auto;
  max-width: min(15rem, 68vw);
  object-fit: contain;
}

.logo-dark {
  display: none;
}

html.dark .logo-light {
  display: none;
}

html.dark .logo-dark {
  display: block;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
}

.nav-desktop,
.header-actions {
  display: none;
  align-items: center;
  gap: 0.95rem;
}

.nav-desktop a {
  position: relative;
  font-size: 0.9rem;
  font-weight: 500;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-accent);
  transition: width 0.25s var(--ease-out);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--foreground);
}

.nav-desktop a:hover::after,
.nav-desktop a[aria-current="page"]::after {
  width: 100%;
}

.header-call {
  font-size: 0.9rem;
  font-weight: 600;
  color: color-mix(in srgb, var(--foreground) 80%, transparent);
}

.header-call:hover {
  color: var(--foreground);
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.theme-toggle-track {
  position: relative;
  width: 2rem;
  height: 1.125rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--surface);
}

html.dark .theme-toggle-track {
  background: var(--brand);
  border-color: var(--brand);
}

.theme-toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(13, 27, 42, 0.2);
  transition: transform 0.25s var(--ease-out);
}

html.dark .theme-toggle-thumb {
  transform: translateX(13px);
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.menu-toggle-bars,
.menu-toggle-bars::before,
.menu-toggle-bars::after {
  display: block;
  width: 1.1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--foreground);
}

.menu-toggle-bars {
  position: relative;
}

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

.menu-toggle-bars::before {
  top: -5px;
}

.menu-toggle-bars::after {
  top: 5px;
}

.nav-mobile {
  display: none;
  padding: 0 1.25rem 1.25rem;
}

.nav-mobile.is-open {
  display: block;
}

.nav-mobile a,
.nav-mobile .btn {
  display: flex;
  width: 100%;
  margin-top: 0.5rem;
  min-height: 48px;
  align-items: center;
  border-radius: 0.75rem;
  padding: 0.75rem 0.85rem;
}

.nav-mobile a:hover {
  background: var(--surface);
}

.mobile-theme-row {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.hero {
  position: relative;
  background: var(--brand-dark);
  color: #f7f3eb;
  padding: 0 0 4.25rem;
  overflow-x: clip;
  overflow-y: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(70% 65% at 15% 15%, rgba(200, 147, 58, 0.16), transparent 68%),
    radial-gradient(55% 60% at 96% 18%, rgba(255, 255, 255, 0.08), transparent 72%);
}

.hero-doctors {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.75);
}

.hero-grid {
  display: grid;
  gap: 1.25rem;
  padding-top: 1rem;
  position: relative;
}

.hero-photo {
  order: 1;
}

.hero-copy {
  order: 2;
}

.hero-kicker {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: color-mix(in srgb, var(--background) 95%, transparent);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-badge,
.status-badge {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0.8rem 1rem;
  color: var(--foreground);
}

.status-badge {
  min-width: 8.5rem;
  border-left: 1px solid color-mix(in srgb, var(--foreground) 10%, transparent);
}

.hero-location {
  margin-top: 0.45rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--foreground) 60%, transparent);
}

.status-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #6ee7b7;
  display: inline-block;
  margin-right: 0.4rem;
}

.status-dot.is-closed {
  background: #f3b0a2;
}

.kicker-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand-accent);
}

.hero h1 {
  font-size: clamp(2.2rem, 8vw, 4.4rem);
  color: #fff;
}

.hero .lead {
  margin-top: 1rem;
  color: rgba(247, 243, 235, 0.82);
}

.hero-support {
  margin-top: 0.85rem;
  color: rgba(247, 243, 235, 0.68);
}

.hero-actions {
  display: none;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.6rem;
}

.hero-note {
  margin-top: 0.85rem;
  font-size: 0.85rem;
  color: rgba(247, 243, 235, 0.58);
}

.trust-chips {
  display: none;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
}

.chip {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.82);
}

.hero-photo {
  position: relative;
  /* Match Vercel: inset card, rounded, 16:9 on mobile */
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lift);
  width: auto;
  max-width: none;
  margin: 0;
  min-height: 0;
  background: rgba(255, 255, 255, 0.1);
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -1rem;
  z-index: -1;
  border-radius: 2rem;
  background: radial-gradient(60% 60% at 70% 20%, color-mix(in srgb, var(--brand-accent) 28%, transparent), transparent);
}

.hero-photo img {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 18%;
}

.why-grid,
.service-grid,
.review-grid,
.team-grid,
.tour-grid,
.gallery-grid {
  display: grid;
  gap: 1rem;
}

button.gallery-card {
  width: 100%;
  text-align: left;
  padding: 0.7rem;
}

.service-card img,
.tour-card img,
.gallery-card img,
.team-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: 0.85rem;
  margin-bottom: 1rem;
}

.team-card img {
  aspect-ratio: 4 / 5;
}

.service-card h3,
.why-card h3,
.team-card h3 {
  margin-bottom: 0.45rem;
}

.role {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--brand-accent);
  margin-bottom: 0.45rem;
}

.stars {
  color: var(--brand-accent);
  letter-spacing: 0.08em;
  margin-bottom: 0.45rem;
}

.review-author {
  margin-top: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.fine-print {
  margin-top: 0.85rem;
  font-size: 0.8rem;
  color: var(--muted);
}

.hours {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
}

.hours div,
.phone-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.95rem;
}

.map-frame {
  width: 100%;
  min-height: 18rem;
  border: 0;
  border-radius: var(--radius);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
}

.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.25rem;
}

.footer-brand {
  display: inline-flex;
  margin-bottom: 0.85rem;
}

.footer-brand img {
  height: 2.4rem;
  max-width: 12rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

.footer-nav {
  display: grid;
  gap: 0.45rem;
}

.footer-nav a,
.social-row a {
  color: var(--muted);
  font-size: 0.92rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.copyright {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  color: var(--muted);
}

.mobile-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--background);
  padding-bottom: env(safe-area-inset-bottom);
  box-shadow: 0 -4px 20px rgba(21, 33, 43, 0.1);
}

.mobile-bar a {
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12);
}

.mobile-bar svg {
  width: 1.2rem;
  height: 1.2rem;
}

.mobile-bar-call {
  background: var(--cta-green);
  color: var(--cta-green-text);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 0 14px rgba(52, 211, 153, 0.3);
}

.mobile-bar-call:active {
  background: #10b981;
}

.mobile-bar-directions {
  background: var(--cta-cyan);
  color: var(--cta-cyan-text);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 0 14px rgba(56, 200, 232, 0.3);
}

.mobile-bar-directions:active {
  background: #0ea5c9;
}

.mobile-bar-appointments {
  background: var(--cta-yellow);
  color: var(--cta-yellow-text);
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 0 14px rgba(255, 214, 10, 0.3);
}

.mobile-bar-appointments:active {
  background: #e6c000;
}

.chat-launcher {
  position: fixed;
  right: 0.35rem;
  bottom: calc(var(--mobile-bar-h) + 0.75rem);
  z-index: 60;
  width: 100px;
  height: 100px;
  padding: 0;
  background: none;
  border: 0;
  touch-action: none;
}

.chat-launcher img {
  width: 100px;
  height: 100px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(7, 17, 28, 0.28));
  transition: transform 0.2s var(--ease-out);
}

.chat-launcher:hover img {
  transform: scale(1.08);
}

.chat-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: rgba(8, 24, 30, 0.56);
}

.chat-panel[hidden],
.chat-backdrop[hidden],
.chat-launcher[hidden] {
  display: none !important;
}

.chat-panel {
  position: fixed;
  left: 0.75rem;
  right: 0.75rem;
  bottom: calc(var(--mobile-bar-h) + 0.65rem);
  z-index: 60;
  display: flex;
  flex-direction: column;
  max-height: min(34rem, calc(100dvh - var(--mobile-bar-h) - 5.5rem));
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-radius: 1rem;
  background: var(--background);
  box-shadow: var(--shadow-lift);
}

.chat-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.8rem 1rem;
  background: color-mix(in srgb, var(--surface) 80%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
}

.chat-panel-head h2 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  letter-spacing: 0;
}

.chat-close {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--background);
  font-size: 1.25rem;
  line-height: 1;
}

.chat-thread {
  min-height: 10rem;
  flex: 1;
  overflow: auto;
  padding: 0.95rem;
}

.chat-msg {
  max-width: 92%;
  margin-bottom: 0.65rem;
  padding: 0.65rem 0.8rem;
  border-radius: 1.1rem;
  font-size: 0.86rem;
  line-height: 1.5;
}

.chat-msg-user {
  margin-left: auto;
  max-width: 82%;
  border-bottom-right-radius: 0.4rem;
  background: #0d1b2a;
  color: #fff;
}

html.dark .chat-msg-user {
  background: #e8eef6;
  color: #0b1220;
}

.chat-msg-assistant {
  margin-right: auto;
  border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  border-bottom-left-radius: 0.4rem;
  background: var(--surface);
}

.chat-msg-urgent {
  border-color: color-mix(in srgb, var(--brand-accent) 45%, var(--border));
  background: color-mix(in srgb, var(--brand-accent) 10%, var(--surface));
}

.chat-msg-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.75rem;
  margin-top: 0.55rem;
}

.chat-msg-actions a {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0d1b2a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

html.dark .chat-msg-actions a {
  color: var(--brand-accent);
}

.chat-form {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}

.chat-privacy,
.chat-label {
  font-size: 0.68rem;
  color: var(--muted);
}

.chat-label {
  display: block;
  margin-top: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.chat-input-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.chat-input-row input {
  min-height: 44px;
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--background);
  color: var(--foreground);
  padding: 0 0.9rem;
  font: inherit;
  font-size: 1rem;
}

.chat-input-row button {
  min-height: 44px;
  border-radius: 999px;
  background: #0d1b2a;
  color: #fff;
  padding: 0 1rem;
  font-weight: 600;
}

html.dark .chat-input-row button {
  background: #e8eef6;
  color: #0b1220;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  place-items: center;
  background: rgba(7, 17, 28, 0.84);
  padding: 1.25rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(92vw, 56rem);
  max-height: 82vh;
  border-radius: 1rem;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  background: #fff;
  color: #0d1b2a;
  font-size: 1.4rem;
}

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

[data-reveal="shown"] {
  opacity: 1;
  transform: none;
}

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

  .service-grid,
  .gallery-grid,
  .tour-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand img {
    height: 3.25rem;
    max-width: 16rem;
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    min-height: 0;
    object-position: center 18%;
  }

  .hero-photo {
    margin: 0;
    width: auto;
    max-width: none;
    min-height: 0;
    border-radius: 1.5rem;
  }

  .hero-doctors {
    gap: 1.25rem;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
  }

  .chat-panel {
    left: auto;
    right: 1.25rem;
    width: 22rem;
  }

  .chat-backdrop {
    background: rgba(8, 24, 30, 0.2);
    backdrop-filter: blur(3px);
  }

  .refer-card {
    padding: 2.5rem 2.5rem;
  }
}

@media (min-width: 960px) {
  body {
    padding-bottom: 0;
  }

  .section {
    padding: 5.5rem 0;
  }

  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-bar,
  .nav-mobile,
  .nav-mobile.is-open {
    display: none;
  }

  .hero-grid,
  .visit-grid,
  .footer-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  .hero-copy {
    order: 1;
  }

  .hero-photo {
    order: 2;
    margin: 0;
    width: auto;
    max-width: none;
    min-height: 0;
    border-radius: 1.5rem;
  }

  .hero-actions {
    display: flex;
  }

  .trust-chips {
    display: flex;
  }

  .cta-row.cta-desktop-only {
    display: flex;
  }

  .cta-mobile-tip {
    display: none;
  }

  .why-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-photo img {
    aspect-ratio: 4 / 3;
    max-height: 34rem;
    min-height: 0;
    object-position: center 18%;
  }

  .service-grid,
  .gallery-grid,
  .tour-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .chat-launcher {
    right: 0.5rem;
    bottom: 1.5rem;
  }

  .chat-panel {
    bottom: 1.5rem;
    max-height: min(34rem, calc(100dvh - 7rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal],
  [data-reveal="shown"] {
    opacity: 1;
    transform: none;
  }
}
