/* ============================================================
   SMILE HAVEN DENTAL CLINIC — Master Stylesheet
   ============================================================ */

/* ── GOOGLE FONTS ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400&display=swap');

/* ── CSS RESET ────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }

/* ── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  --primary:          #5B8FA8;
  --primary-dark:     #3D6B80;
  --primary-light:    #C8E0EC;
  --primary-ultra:    #EBF4F9;

  --accent:           #D4849A;
  --accent-light:     #F5D9E2;
  --accent-ultra:     #FDF1F4;

  --glass-bg:         rgba(255,255,255,0.55);
  --glass-border:     rgba(255,255,255,0.72);
  --glass-blur:       blur(20px) saturate(160%);
  --glass-shadow:     0 8px 32px rgba(91,143,168,0.12), 0 2px 8px rgba(91,143,168,0.08);
  --glass-radius:     20px;

  --white:            #FFFFFF;
  --off-white:        #F8FAFB;
  --gray-50:          #F2F5F7;
  --gray-100:         #E8ECEF;
  --gray-300:         #BDC6CE;
  --gray-500:         #7E8E99;
  --gray-700:         #4A5966;
  --gray-900:         #1C2730;

  --success:          #5BAD8F;
  --error:            #C0626A;

  --grad-hero:        linear-gradient(135deg, #BDD9EC 0%, #EBD5E3 50%, #D4EAF5 100%);
  --grad-alt:         linear-gradient(160deg, #F5EAEE 0%, #EBF4F9 100%);
  --grad-cta:         linear-gradient(135deg, #5B8FA8 0%, #D4849A 100%);

  --font-body:        'DM Sans', sans-serif;
  --font-heading:     'Playfair Display', serif;

  --ease-smooth:      cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-expo:        cubic-bezier(0.19, 1.00, 0.22, 1.00);
  --ease-spring:      cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-gentle:      cubic-bezier(0.4, 0, 0.2, 1);

  --dur-fast:         150ms;
  --dur-normal:       280ms;
  --dur-slow:         480ms;
  --dur-slower:       700ms;

  --r-sm:             8px;
  --r-md:             12px;
  --r-lg:             16px;
  --r-xl:             24px;
  --r-2xl:            32px;
  --r-full:           9999px;

  --shadow-sm:        0 2px 8px rgba(91,143,168,0.08);
  --shadow-md:        0 4px 20px rgba(91,143,168,0.10);
  --shadow-lg:        0 8px 36px rgba(91,143,168,0.14);
  --shadow-xl:        0 16px 56px rgba(91,143,168,0.18);
  --shadow-float:     0 20px 60px rgba(91,143,168,0.22);

  --container:        1240px;
  --section-py:       96px;
  --nav-height:       112px;
  --nav-logo-size:    96px;
  --footer-logo-size: 104px;
}

/* ── BASE ─────────────────────────────────────────────────── */
body {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--gray-900);
  background: var(--white);
  overflow-x: hidden;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: var(--section-py) 0; }
.section--white { background: var(--white); }
.section--light { background: var(--off-white); }
.section--tint  { background: var(--primary-ultra); }
.section--grad  { background: var(--grad-alt); }

.section-header { text-align: center; max-width: 680px; margin: 0 auto 64px; }
.eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
  padding: 4px 14px;
  background: var(--primary-ultra);
  border: 1px solid var(--primary-light);
  border-radius: var(--r-full);
}
.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.1rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 56px;
  align-items: start;
}

.split-grid--center { align-items: center; }

.triple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}



/* ── GLASSMORPHISM ────────────────────────────────────────── */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  border-radius: var(--glass-radius);
}
.glass--elevated {
  background: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.92);
  box-shadow: 0 16px 48px rgba(91,143,168,0.18), 0 4px 16px rgba(91,143,168,0.10);
}
.glass--subtle {
  background: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.50);
}

/* ── CARD ─────────────────────────────────────────────────── */
.card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
  border-radius: var(--glass-radius);
  padding: 32px;
  transition: transform var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--r-full);
  font-weight: 500;
  font-size: 1rem;
  line-height: 1;
  white-space: nowrap;
  transition: all var(--dur-normal) var(--ease-gentle);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn--primary {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 4px 16px rgba(91,143,168,0.30);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91,143,168,0.42);
}
.btn--outline {
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid var(--primary-light);
  color: var(--primary-dark);
}
.btn--outline:hover {
  background: var(--primary-ultra);
  border-color: var(--primary);
  transform: translateY(-2px);
}
.btn--ghost {
  background: rgba(255,255,255,0.15);
  border: 1.5px solid rgba(255,255,255,0.55);
  color: white;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--ghost:hover { background: rgba(255,255,255,0.25); transform: translateY(-2px); }
.btn--wa {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 16px rgba(37,211,102,0.28);
}
.btn--wa:hover { background: #1EBE5A; transform: translateY(-2px); }
.btn--sm { padding: 10px 20px; font-size: 0.875rem; }
.btn--lg { padding: 18px 40px; font-size: 1.1rem; }

/* ── NAVIGATION ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  transition: background var(--dur-normal) var(--ease-smooth),
              box-shadow var(--dur-normal) var(--ease-smooth),
              padding var(--dur-normal) var(--ease-smooth);
}
.nav--scrolled {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(91,143,168,0.10);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-height);
  padding: 10px 0;
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.nav__logo img {
  height: var(--nav-logo-size);
  width: var(--nav-logo-size);
  object-fit: contain;
  border-radius: 50%;
  transition: transform var(--dur-normal) var(--ease-spring);
}
.nav__logo:hover img { transform: rotate(-5deg) scale(1.05); }
.nav__logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.nav__logo-name {
  font-family: var(--font-heading);
  font-size: 1.32rem;
  font-weight: 600;
  color: var(--primary-dark);
  letter-spacing: -0.01em;
}
.nav__logo-tag {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  font-weight: 500;
}
.nav--scrolled .nav__logo-name { color: var(--gray-900); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 14px;
  border-radius: var(--r-full);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.88);
  transition: all var(--dur-fast) var(--ease-gentle);
  position: relative;
}
.nav--scrolled .nav__link { color: var(--gray-700); }
.nav__link:hover { color: var(--primary); background: var(--primary-ultra); }
.nav--scrolled .nav__link:hover { color: var(--primary); }
.nav__link--active { color: var(--primary) !important; background: var(--primary-ultra); }
.nav__link--cta {
  background: var(--grad-cta) !important;
  color: white !important;
  padding: 9px 20px;
  box-shadow: 0 3px 12px rgba(91,143,168,0.28);
}
.nav__link--cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(91,143,168,0.38);
  background: var(--grad-cta) !important;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--r-sm);
  transition: background var(--dur-fast);
}
.nav__hamburger:hover { background: var(--primary-ultra); }
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: all var(--dur-normal) var(--ease-smooth);
  color: rgba(255,255,255,0.9);
}
.nav--scrolled .nav__hamburger span { color: var(--gray-700); }
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav__drawer {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-normal) var(--ease-smooth);
}
.nav__drawer.open { opacity: 1; pointer-events: all; }
.nav__drawer-link {
  font-size: 1.5rem;
  font-weight: 500;
  font-family: var(--font-heading);
  color: var(--gray-700);
  padding: 14px 32px;
  border-radius: var(--r-full);
  transition: all var(--dur-fast);
  text-align: center;
  width: 100%;
  max-width: 280px;
}
.nav__drawer-link:hover { background: var(--primary-ultra); color: var(--primary); }
.nav__drawer-link--cta {
  background: var(--grad-cta);
  color: white !important;
  margin-top: 12px;
  box-shadow: 0 4px 16px rgba(91,143,168,0.30);
}
.nav__drawer-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--gray-100);
  font-size: 1.2rem;
  color: var(--gray-700);
  transition: background var(--dur-fast);
}
.nav__drawer-close:hover { background: var(--primary-ultra); color: var(--primary); }

/* ── FOOTER ───────────────────────────────────────────────── */
.footer {
  background: var(--grad-alt);
  border-top: 1px solid var(--gray-100);
  padding: 64px 0 0;
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer__logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer__logo img {
  width: var(--footer-logo-size);
  height: var(--footer-logo-size);
  object-fit: contain;
  border-radius: 50%;
}
.footer__logo-text .nav__logo-name { font-size: 1.1rem; }
.footer__brand p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; max-width: 240px; margin-bottom: 20px; }
.footer__socials { display: flex; gap: 10px; }
.footer__social-link {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--gray-100);
  color: var(--gray-500);
  font-size: 0.85rem;
  transition: all var(--dur-fast);
}
.footer__social-link:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); }

.footer__heading {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 20px;
}
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { font-size: 0.9rem; color: var(--gray-500); transition: color var(--dur-fast); }
.footer__links a:hover { color: var(--primary); }

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 12px;
  line-height: 1.5;
}
.footer__contact-item .icon {
  width: 20px; height: 20px;
  background: var(--primary-ultra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  font-size: 0.65rem;
}
.footer__contact-item a { color: var(--gray-500); transition: color var(--dur-fast); }
.footer__contact-item a:hover { color: var(--primary); }
.footer__contact-item--address a {
  color: var(--gray-700);
  font-weight: 500;
}

.footer__bottom {
  border-top: 1px solid var(--gray-100);
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--gray-500);
}

/* ── LOADER ───────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--grad-hero);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: opacity 0.4s var(--ease-smooth);
}
#page-loader.hiding { opacity: 0; pointer-events: none; }
.loader-logo {
  width: 156px;
  height: 156px;
  object-fit: contain;
  opacity: 0;
  transform: scale(0.85);
  animation: loaderIn 0.4s var(--ease-expo) 0.1s forwards,
             loaderPulse 0.7s ease-in-out 0.5s infinite alternate;
}
.loader-name {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--primary-dark);
  margin-top: 16px;
  opacity: 0;
  animation: loaderFadeUp 0.4s var(--ease-expo) 0.3s forwards;
}
.loader-bar-wrap {
  width: 180px;
  height: 2px;
  background: rgba(91,143,168,0.18);
  border-radius: var(--r-full);
  margin-top: 20px;
  overflow: hidden;
  opacity: 0;
  animation: loaderFadeUp 0.3s ease 0.4s forwards;
}
.loader-bar {
  height: 100%;
  width: 0;
  background: var(--grad-cta);
  border-radius: var(--r-full);
  animation: loaderFill 1.4s var(--ease-gentle) 0.5s forwards;
}
.loader-text {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  margin-top: 10px;
  opacity: 0;
  animation: loaderFadeUp 0.3s ease 0.5s forwards;
}

@keyframes loaderIn {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loaderPulse {
  from { transform: scale(1); }
  to { transform: scale(1.04); }
}
@keyframes loaderFadeUp {
  to { opacity: 1; }
}
@keyframes loaderFill {
  to { width: 100%; }
}

/* ── SCROLL REVEAL ────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slow) var(--ease-smooth),
              transform var(--dur-slow) var(--ease-smooth);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: 100ms; }
.reveal--d2 { transition-delay: 200ms; }
.reveal--d3 { transition-delay: 300ms; }
.reveal--d4 { transition-delay: 400ms; }
.reveal--d5 { transition-delay: 500ms; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.visible { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* ── WHATSAPP FLOAT ───────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 88px; right: 24px;
  z-index: 9000;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.38);
  transition: transform var(--dur-normal) var(--ease-spring);
  text-decoration: none;
}
.wa-float:hover { transform: scale(1.12) translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; fill: white; }
.wa-float::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0;
  animation: waPulse 2.5s ease-out 1s infinite;
}
@keyframes waPulse {
  0% { opacity: 0.6; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.55); }
}
.wa-float .tooltip {
  position: absolute;
  right: calc(100% + 10px);
  white-space: nowrap;
  background: var(--gray-900);
  color: white;
  font-size: 0.78rem;
  padding: 6px 12px;
  border-radius: var(--r-full);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast);
}
.wa-float:hover .tooltip { opacity: 1; }

/* ── MOBILE CTA BAR ───────────────────────────────────────── */
.mobile-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 8000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--gray-100);
  padding: 8px 0 env(safe-area-inset-bottom, 0);
}
.mobile-bar__inner { display: flex; }
.mobile-bar__btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 0 8px;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.mobile-bar__btn svg { width: 20px; height: 20px; }
.mobile-bar__btn--call { color: var(--primary); }
.mobile-bar__btn--wa { color: #25D366; }
.mobile-bar__btn--book {
  background: var(--grad-cta);
  color: white !important;
  border-radius: 0;
  margin: 4px 8px;
  border-radius: var(--r-full);
  padding: 10px 0;
}

/* ── HERO ─────────────────────────────────────────────────── */
.hero {
  min-height: 100svh;
  background: var(--grad-hero);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.hero__bg-anim {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
}
.hero-orb-1 {
  width: 500px; height: 500px;
  background: rgba(200,224,236,0.55);
  top: -100px; left: -100px;
  animation: orbDrift1 12s ease-in-out infinite alternate;
}
.hero-orb-2 {
  width: 420px; height: 420px;
  background: rgba(212,132,154,0.38);
  top: 50px; right: -80px;
  animation: orbDrift2 10s ease-in-out infinite alternate;
}
.hero-orb-3 {
  width: 340px; height: 340px;
  background: rgba(235,244,249,0.65);
  bottom: -60px; left: 38%;
  animation: orbDrift3 14s ease-in-out infinite alternate;
}
@keyframes orbDrift1 {
  from { transform: translate(0,0); }
  to   { transform: translate(30px, 25px); }
}
@keyframes orbDrift2 {
  from { transform: translate(0,0); }
  to   { transform: translate(-25px, 30px); }
}
@keyframes orbDrift3 {
  from { transform: translate(0,0); }
  to   { transform: translate(20px, -20px); }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.95fr);
  gap: 64px;
  align-items: center;
  min-height: 100svh;
  padding-top: calc(var(--nav-height) + 18px);
  padding-bottom: 72px;
}
.hero__content {
  padding: 24px 0;
  max-width: 540px;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--primary-dark);
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.80);
  border-radius: var(--r-full);
  padding: 7px 16px;
  margin-bottom: 24px;
}
.hero__eyebrow .dot {
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}
.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.6rem, 5.5vw, 3.75rem);
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: italic;
  color: var(--primary-dark);
}
.hero__sub {
  font-size: 1.05rem;
  color: var(--gray-700);
  line-height: 1.75;
  max-width: 480px;
  margin-bottom: 36px;
}
.hero__btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero__trust {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.hero__trust-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--gray-700);
}
.hero__trust-item .check {
  width: 18px; height: 18px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.65rem;
  flex-shrink: 0;
}

/* ── Hero Right: Video Frame ──────────────────────────────── */
.hero__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero__video-frame {
  position: relative;
  width: 460px;
  max-width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 24px 72px rgba(91,143,168,0.28), 0 4px 16px rgba(91,143,168,0.12);
  background: linear-gradient(160deg, #C8E0EC 0%, #EBD5E3 60%, #D4EAF5 100%);
}
.hero__video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 800ms ease;
}
.hero__video-frame.video-ready video { opacity: 1; }
.hero__video-frame .hero-jpg-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__video-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 55%, rgba(91,143,168,0.22) 100%);
  pointer-events: none;
  z-index: 1;
  border-radius: inherit;
}
.hero__video-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.95);
  border-radius: var(--r-full);
  padding: 9px 18px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: var(--shadow-sm);
}
.hero__video-badge .pulse-dot {
  width: 7px; height: 7px;
  background: var(--success);
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

/* ══════════════════════════════════════════════════════════
   MASCOT FLOAT — bottom-left, same 54px circle as WA float
   CSS tooth character with shades + interactive speech bubble
   ══════════════════════════════════════════════════════════ */

/* ── Outer container ── */
.mascot-float {
  position: fixed;
  bottom: 88px;
  left: 24px;
  z-index: 9100;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

/* ── The drawn tooth circle ── */
.mascot-float__circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffffff 0%, #EBF4F9 100%);
  border: 2px solid var(--primary-light);
  box-shadow: 0 4px 20px rgba(91,143,168,0.30);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms ease;
  overflow: hidden;
}
.mascot-float:hover .mascot-float__circle,
.mascot-float:focus .mascot-float__circle {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 8px 28px rgba(91,143,168,0.38);
}
.mascot-float:active .mascot-float__circle {
  transform: scale(0.95);
}

/* ── CSS Tooth drawn inside the circle ── */
.mascot-tooth {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* Tooth crown shape */
.mascot-tooth__crown {
  position: absolute;
  width: 28px;
  height: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f0f8ff 100%);
  border-radius: 40% 40% 28% 28% / 32% 32% 46% 46%;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0 2px 6px rgba(91,143,168,0.18);
  border: 1.5px solid rgba(200,224,236,0.7);
}
/* Tooth roots */
.mascot-tooth__root-l,
.mascot-tooth__root-r {
  position: absolute;
  bottom: 5px;
  width: 9px;
  height: 13px;
  background: linear-gradient(180deg, #f0f8ff, #e8f4fb);
  border: 1.5px solid rgba(200,224,236,0.6);
}
.mascot-tooth__root-l {
  left: calc(50% - 11px);
  border-radius: 0 0 6px 6px;
  transform: rotate(-4deg);
  transform-origin: top center;
}
.mascot-tooth__root-r {
  left: calc(50% + 2px);
  border-radius: 0 0 6px 6px;
  transform: rotate(4deg);
  transform-origin: top center;
}
/* Tiny shades on the crown */
.mascot-tooth__shades {
  position: absolute;
  bottom: 21px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 2px;
  z-index: 1;
}
.mascot-tooth__lens {
  width: 9px;
  height: 5px;
  background: linear-gradient(180deg, #1C2730, #2A3D4A);
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(28,39,48,0.22);
}
.mascot-tooth__bridge {
  width: 3px;
  height: 2px;
  background: #2A3D4A;
  border-radius: 1px;
}
/* Little smile arc */
.mascot-tooth__smile {
  position: absolute;
  bottom: 14px;
  left: 50%;
  width: 12px;
  height: 5px;
  border-bottom: 1.5px solid var(--primary-dark);
  border-radius: 0 0 8px 8px;
  transform: translateX(-50%);
}
/* Sparkle dots */
.mascot-tooth__spark {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--primary-light);
  border-radius: 50%;
  animation: sparkWink 2.4s ease-in-out infinite;
}
.mascot-tooth__spark--a { top: 9px; right: 8px; animation-delay: 0s; }
.mascot-tooth__spark--b { top: 14px; right: 5px; width: 3px; height: 3px; animation-delay: 0.4s; }
@keyframes sparkWink {
  0%, 80%, 100% { opacity: 0.9; transform: scale(1); }
  40% { opacity: 0.2; transform: scale(0.5); }
}

/* ── Pulse ring ── */
.mascot-float__circle::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 2px solid var(--primary-light);
  opacity: 0;
  animation: mascotPulse 3.5s ease-out 4s infinite;
  pointer-events: none;
}
@keyframes mascotPulse {
  0% { opacity: 0.5; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.6); }
}
@keyframes mascotWiggle {
  0%, 100% { transform: rotate(0deg); }
  20%       { transform: rotate(-12deg) scale(1.08); }
  40%       { transform: rotate(10deg) scale(1.05); }
  60%       { transform: rotate(-8deg); }
  80%       { transform: rotate(5deg); }
}

/* ── Bounce-in on page load ── */
.mascot-float {
  animation: mascotBounceIn 0.5s var(--ease-spring) 2.5s both;
}
@keyframes mascotBounceIn {
  from { opacity: 0; transform: scale(0) translateY(20px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

/* ── Speech bubble ── */
.mascot-bubble {
  position: fixed;
  bottom: 88px;
  left: 86px;          /* right of mascot */
  z-index: 9200;
  max-width: 230px;
  min-width: 180px;
  background: white;
  border: 1.5px solid var(--primary-light);
  border-radius: 18px 18px 18px 4px; /* tail points left toward mascot */
  padding: 12px 14px 11px;
  box-shadow: 0 8px 28px rgba(91,143,168,0.18), 0 2px 8px rgba(91,143,168,0.10);
  pointer-events: none;
  /* Start hidden */
  opacity: 0;
  transform: scale(0.8) translateX(-10px);
  transform-origin: bottom left;
  transition: opacity 220ms ease, transform 260ms var(--ease-spring);
}
.mascot-bubble.show {
  opacity: 1;
  transform: scale(1) translateX(0);
  pointer-events: auto;
}
/* Small tail triangle */
.mascot-bubble::before {
  content: '';
  position: absolute;
  bottom: 14px;
  left: -8px;
  width: 0; height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid var(--primary-light);
}
.mascot-bubble::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: -6px;
  width: 0; height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-right: 7px solid white;
}
.mascot-bubble__text {
  font-family: var(--font-body);
  font-size: 0.82rem;
  line-height: 1.55;
  color: var(--gray-800);
  margin-bottom: 8px;
}
.mascot-bubble__text strong { color: var(--primary-dark); }
.mascot-bubble__action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #25D366;
  text-decoration: none;
  padding: 5px 10px;
  background: rgba(37,211,102,0.08);
  border-radius: var(--r-full);
  border: 1px solid rgba(37,211,102,0.22);
  transition: background 150ms ease;
}
.mascot-bubble__action:hover { background: rgba(37,211,102,0.16); }
.mascot-bubble__close {
  position: absolute;
  top: 6px;
  right: 8px;
  font-size: 0.75rem;
  color: var(--gray-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: 2px 4px;
  line-height: 1;
  transition: color 150ms;
}
.mascot-bubble__close:hover { color: var(--gray-700); }

/* Mobile: bubble goes above the mascot */
@media (max-width: 767px) {
  .mascot-float { bottom: 80px; left: 16px; }
  .mascot-bubble {
    bottom: 140px;
    left: 12px;
    border-radius: 18px 18px 4px 18px;
    max-width: min(220px, calc(100vw - 24px));
  }
  .mascot-bubble::before {
    bottom: -8px; left: 18px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-light);
    border-bottom: none; border-right: none;
  }
  .mascot-bubble::after {
    bottom: -6px; left: 19px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid white;
    border-bottom: none; border-right: none;
  }
}

/* Hide old 3D canvas + old logo-img mascot fallback */
.hero-3d-fallback, #hero-canvas { display: none !important; }
.mascot-float > img { display: none; } /* old logo img hidden */

@keyframes blobPulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); }
  50% { transform: translate(-50%,-50%) scale(1.08); }
}

.scroll-indicator {
  position: absolute;
  bottom: 32px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator span {
  display: block;
  width: 1.5px; height: 28px;
  background: linear-gradient(to bottom, transparent, rgba(91,143,168,0.5));
  border-radius: 1px;
}
.scroll-indicator .chevron {
  width: 10px; height: 10px;
  border-right: 1.5px solid rgba(91,143,168,0.5);
  border-bottom: 1.5px solid rgba(91,143,168,0.5);
  transform: rotate(45deg);
}
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50% { transform: translateX(-50%) translateY(6px); opacity: 1; }
}

/* ── STATS BAR ────────────────────────────────────────────── */
.media-frame {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  /* Gradient shows as background until/if video loads */
  background: linear-gradient(135deg, #C8E0EC 0%, #EBD5E3 55%, #D4EAF5 100%);
}

.media-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg, rgba(255,255,255,0.06), rgba(91,143,168,0.04) 40%, rgba(212,132,154,0.16));
  pointer-events: none;
  z-index: 1;
}

/* ── Video fills the frame — always absolutely positioned ── */
.media-frame__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 600ms ease;
  /* No poster attribute — gradient bg shows while loading */
}

/* JPG fallback image — shown until video is ready */
.media-frame__jpg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Stays visible underneath; video fades in over it */
}

/* Video fades in once it can play */
.media-frame--ready .media-frame__video {
  opacity: 1;
}

.media-frame__shine {
  position: absolute;
  inset: auto -12% 58% 34%;
  height: 34%;
  background: linear-gradient(135deg, rgba(255,255,255,0.6), rgba(255,255,255,0));
  filter: blur(28px);
  z-index: 1;
  pointer-events: none;
}

.media-frame__glyph {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(255,255,255,0.74);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.media-frame__caption {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-full);
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.88);
  color: var(--gray-800);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.stats-bar {
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.85);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 12px 16px;
  border-right: 1px solid var(--gray-100);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
  font-size: 1.5rem;
  margin-bottom: 6px;
  filter: drop-shadow(0 2px 4px rgba(91,143,168,0.15));
}
.stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 4px;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--gray-500);
  letter-spacing: 0.02em;
}

/* ── ABOUT SNAPSHOT ───────────────────────────────────────── */
.about-snap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-snap__img-wrap {
  position: relative;
}
.about-snap__img {
  width: 100%;
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-xl);
  object-fit: cover;
  min-height: 420px;
  background: var(--grad-alt);
  display: flex; align-items: center; justify-content: center;
}
.about-snap__img-placeholder {
  width: 100%;
  min-height: 420px;
  border-radius: var(--r-xl);
  background: var(--grad-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}
.about-snap__img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,224,236,0.4), rgba(212,132,154,0.2));
}
.about-snap__badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: white;
  border-radius: var(--r-xl);
  padding: 16px 22px;
  box-shadow: var(--shadow-lg);
  text-align: center;
}
.about-snap__badge-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-dark);
  line-height: 1;
}
.about-snap__badge-label { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }
.about-snap__content { }
.about-snap__content .section-title { text-align: left; }
.about-snap__content p { color: var(--gray-700); line-height: 1.8; margin-bottom: 28px; }
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.95rem;
  transition: gap var(--dur-fast);
}
.link-arrow:hover { gap: 12px; }

/* ── SERVICES GRID ────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  padding: 32px 28px;
  transition: transform var(--dur-normal) var(--ease-smooth), box-shadow var(--dur-normal);
  text-decoration: none;
  color: inherit;
  display: block;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card__icon {
  width: 56px; height: 56px;
  background: var(--primary-ultra);
  border-radius: var(--r-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 18px;
  transition: background var(--dur-fast);
}
.service-card:hover .service-card__icon { background: var(--primary-light); }
.service-card__name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.service-card__tag {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 16px;
  line-height: 1.5;
}
.service-card__link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--dur-fast);
}
.service-card:hover .service-card__link { gap: 8px; }

/* ── DOCTOR SPOTLIGHT ─────────────────────────────────────── */
.doctor-spot {
  max-width: 820px;
  margin: 0 auto;
}
.doctor-spot__inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: center;
  padding: 40px;
}
.doctor-spot__photo-wrap { position: relative; flex-shrink: 0; }
.doctor-spot__photo {
  width: 180px; height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-lg);
  background: var(--grad-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
  overflow: hidden;
}
.doctor-spot__photo-placeholder {
  width: 180px; height: 180px;
  border-radius: 50%;
  border: 4px solid var(--primary-light);
  box-shadow: var(--shadow-lg);
  background: var(--grad-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem;
}
.doctor-spot__badge {
  position: absolute;
  bottom: 4px; right: -4px;
  background: white;
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--primary-light);
}
.doctor-spot__name {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 4px;
  color: var(--gray-900);
}
.doctor-spot__role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-size: 0.75rem;
}
.doctor-spot__bio { color: var(--gray-700); line-height: 1.7; margin-bottom: 20px; font-size: 0.95rem; }
.doctor-spot__specs {
  display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px;
}
.spec-tag {
  padding: 5px 14px;
  background: var(--primary-ultra);
  border: 1px solid var(--primary-light);
  border-radius: var(--r-full);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--primary-dark);
}

/* ── WHY US ───────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.why-card { padding: 36px 28px; text-align: center; }
.why-card__icon-wrap {
  width: 68px; height: 68px;
  background: var(--primary-ultra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(91,143,168,0.12);
}
.why-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.why-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card { padding: 32px 28px; }
.testi-quote {
  font-size: 2.5rem;
  color: var(--primary-light);
  font-family: Georgia, serif;
  line-height: 0.8;
  margin-bottom: 12px;
}
.testi-text {
  font-size: 0.92rem;
  color: var(--gray-700);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 20px;
}
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--grad-cta);
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 0.85rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.88rem; color: var(--gray-800); }
.testi-loc { font-size: 0.75rem; color: var(--gray-500); }
.testi-stars { color: #F4B942; font-size: 0.8rem; margin-top: 2px; }

/* ── CTA BANNER ───────────────────────────────────────────── */
.cta-banner {
  background: var(--grad-cta);
  position: relative;
  overflow: hidden;
  padding: 80px 0;
  text-align: center;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -100px; left: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -80px;
  width: 320px; height: 320px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.cta-banner__content { position: relative; z-index: 1; max-width: 600px; margin: 0 auto; }
.cta-banner h2 {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 500;
  color: white;
  margin-bottom: 14px;
}
.cta-banner p { color: rgba(255,255,255,0.82); margin-bottom: 32px; font-size: 1.05rem; line-height: 1.65; }
.cta-banner__btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero {
  min-height: 42vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -80px; right: -80px;
  width: 350px; height: 350px;
  background: rgba(212,132,154,0.22);
  border-radius: 50%;
  filter: blur(60px);
}
.page-hero__content { text-align: center; max-width: 680px; margin: 0 auto; padding: 40px 0; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 16px;
}
.breadcrumb a { color: var(--primary); transition: color var(--dur-fast); }
.breadcrumb a:hover { color: var(--primary-dark); }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--gray-900);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--gray-700);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── ABOUT PAGE ───────────────────────────────────────────── */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mission-card { padding: 32px; text-align: center; }
.mission-card__icon { font-size: 2.2rem; margin-bottom: 16px; }
.mission-card h3 { font-family: var(--font-heading); font-size: 1.2rem; font-weight: 500; margin-bottom: 10px; }
.mission-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

.clinic-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
/*
 * .clinic-photo-card is now a pure media-frame container.
 * The video fills it via .media-frame__video absolute positioning.
 * Gradient background shows until video loads — no emoji, no text span.
 */
.clinic-photo-card {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 4/3;
  /* Gradient bg: visible until video loads */
  background: linear-gradient(135deg, #C8E0EC 0%, #EBD5E3 55%, #D4EAF5 100%);
  position: relative;
  /* Remove old flex centering — video is absolute, no inner text */
}
/* No ::before pseudo needed — media-frame::after handles the light overlay */

/* ── DOCTOR PAGE ──────────────────────────────────────────── */
.doctor-hero-card {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 56px;
  align-items: start;
  padding: 48px;
  background: rgba(255,255,255,0.80);
  border: 1px solid rgba(255,255,255,0.90);
  backdrop-filter: blur(50px);
  -webkit-backdrop-filter: blur(50px);
  box-shadow: var(--shadow-xl);
  border-radius: var(--r-2xl);
}
.doctor-photo-large {
  width: 100%;
  aspect-ratio: 4/5;
  border-radius: var(--r-xl);
  background: var(--grad-alt);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  border-radius: var(--r-2xl);
}
.doctor-photo-large__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  border-radius: inherit;
}
/* Clean placeholder until actual photo is added */
.doctor-photo-large--placeholder {
  font-size: 5.5rem;
  background: linear-gradient(145deg, var(--primary-ultra) 0%, var(--accent-ultra) 100%);
  border: none;
  box-shadow: var(--shadow-lg);
}
.doctor-photo-large--placeholder span {
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 12px rgba(91,143,168,0.18));
}

.doctor-photo-large--placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(200,224,236,0.4), rgba(212,132,154,0.2));
}
.doctor-photo-large span { position: relative; z-index: 1; }
.doctor-info__name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 500;
  margin-bottom: 6px;
}
.doctor-info__title { font-size: 0.82rem; color: var(--accent); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 20px; }
.doctor-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0;
  padding: 20px;
  background: var(--primary-ultra);
  border-radius: var(--r-lg);
}
.doctor-stat { text-align: center; }
.doctor-stat__num { font-family: var(--font-heading); font-size: 1.5rem; font-weight: 500; color: var(--primary-dark); }
.doctor-stat__label { font-size: 0.72rem; color: var(--gray-500); font-weight: 500; }
.qual-list { list-style: none; }
.qual-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
  font-size: 0.92rem;
}
.qual-list li:last-child { border-bottom: none; }
.qual-list .q-icon {
  width: 32px; height: 32px;
  background: var(--primary-ultra);
  border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 0.9rem;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.hours-table tr:not(:last-child) { border-bottom: 1px solid var(--gray-100); }
.hours-table td { padding: 14px 20px; }
.hours-table td:first-child { color: var(--gray-700); font-weight: 500; }
.hours-table td:last-child { color: var(--primary-dark); font-weight: 500; text-align: right; }
.hours-table tr.closed td { color: var(--gray-400); }

/* ── SERVICES PAGE ────────────────────────────────────────── */
.service-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  padding: 64px 0;
  border-bottom: 1px solid var(--gray-100);
}
.service-section:last-child { border-bottom: none; }
.service-section--flip { direction: rtl; }
.service-section--flip > * { direction: ltr; }
.service-illust {
  aspect-ratio: 4/3;
  border-radius: var(--r-xl);
  background: var(--grad-alt);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.service-illust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(200,224,236,0.3), rgba(212,132,154,0.15));
  z-index: 1;
}
.service-illust .media-frame__glyph,
.service-illust .media-frame__caption { z-index: 2; }
.service-content h2 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 12px;
}
.service-content .eyebrow { margin-bottom: 14px; }
.service-points { margin: 20px 0 28px; }
.service-points li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-50);
}
.service-points li:last-child { border-bottom: none; }
.service-points .check {
  width: 18px; height: 18px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 0.65rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.service-for {
  font-size: 0.82rem;
  color: var(--gray-500);
  font-style: italic;
  margin-bottom: 24px;
  padding: 10px 16px;
  background: var(--primary-ultra);
  border-radius: var(--r-md);
  border-left: 3px solid var(--primary-light);
}

/* ── BOOKING FORM ─────────────────────────────────────────── */
.booking-wrap {
  max-width: 720px;
  margin: 0 auto;
}
.booking-review-layout {
  display: block;
}
.booking-review-main {
  min-width: 0;
}
.booking-experience-card {
  display: none;
}
.booking-wrap--review .booking-experience-card {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}
.booking-experience-card__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--r-2xl);
  box-shadow: var(--shadow-lg);
}
.booking-experience-card__body {
  padding: 28px;
}
.booking-experience-card__body p + p {
  margin-top: 12px;
}
.booking-experience-card__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.booking-steps {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  position: relative;
}
.booking-steps::before {
  content: '';
  position: absolute;
  left: 0; right: 0;
  top: 18px;
  height: 2px;
  background: var(--gray-100);
  z-index: 0;
}
.step-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--gray-100);
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all var(--dur-normal);
}
.step-item.active .step-num {
  background: var(--grad-cta);
  color: white;
  box-shadow: 0 4px 12px rgba(91,143,168,0.35);
}
.step-item.done .step-num {
  background: var(--success);
  color: white;
}
.step-label { font-size: 0.7rem; font-weight: 500; color: var(--gray-400); text-align: center; white-space: nowrap; }
.step-item.active .step-label { color: var(--primary); }
.step-item.done .step-label { color: var(--success); }

.booking-step { display: none; }
.booking-step.active { display: block; }

.service-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.service-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-lg);
  cursor: pointer;
  transition: all var(--dur-fast);
  background: white;
}
.service-option:hover {
  border-color: var(--primary-light);
  background: var(--primary-ultra);
}
.service-option input[type="radio"] { display: none; }
.service-option.selected {
  border-color: var(--primary);
  background: var(--primary-ultra);
  box-shadow: 0 0 0 3px rgba(91,143,168,0.12);
}
.service-option .s-icon {
  font-size: 1.5rem;
  width: 40px; height: 40px;
  background: var(--gray-50);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.service-option.selected .s-icon { background: var(--primary-light); }
.service-option .s-name { font-size: 0.9rem; font-weight: 600; color: var(--gray-800); }

.form-group { margin-bottom: 22px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 8px;
}
.form-label .opt { font-weight: 400; color: var(--gray-400); font-size: 0.78rem; }
.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-lg);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: white;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
}
.form-input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,143,168,0.12);
}
.form-input.error { border-color: var(--error); }
.form-error {
  display: none;
  font-size: 0.78rem;
  color: var(--error);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.form-error.show { display: flex; }
.phone-wrap { position: relative; }
.phone-prefix {
  position: absolute;
  left: 16px; top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--gray-500);
  pointer-events: none;
  font-weight: 500;
}
.phone-wrap .form-input { padding-left: 46px; }
.radio-group { display: flex; gap: 12px; flex-wrap: wrap; }
.radio-opt {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-full);
  cursor: pointer;
  font-size: 0.88rem;
  transition: all var(--dur-fast);
  background: white;
}
.radio-opt input { display: none; }
.radio-opt.selected {
  border-color: var(--primary);
  background: var(--primary-ultra);
  color: var(--primary-dark);
}
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--gray-100);
  border-radius: var(--r-lg);
  font-size: 0.95rem;
  color: var(--gray-900);
  background: white;
  resize: vertical;
  min-height: 110px;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  font-family: var(--font-body);
}
.form-textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(91,143,168,0.12);
}
.char-count { font-size: 0.72rem; color: var(--gray-400); text-align: right; margin-top: 5px; }
.form-note {
  font-size: 0.8rem;
  color: var(--gray-500);
  background: var(--primary-ultra);
  border-radius: var(--r-md);
  padding: 12px 14px;
  margin-top: 20px;
  border-left: 3px solid var(--primary-light);
  line-height: 1.6;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.booking-nav { display: flex; gap: 12px; margin-top: 32px; }
.booking-nav .btn { flex: 1; justify-content: center; }

.review-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-50);
  font-size: 0.92rem;
}
.review-item:last-of-type { border-bottom: none; }
.review-label { color: var(--gray-500); font-weight: 500; }
.review-val { color: var(--gray-900); font-weight: 600; }
.review-edit {
  font-size: 0.78rem;
  color: var(--primary);
  cursor: pointer;
  background: none;
  border: none;
  text-decoration: underline;
  font-weight: 500;
}

.success-state {
  display: none;
  text-align: center;
  padding: 48px 32px;
}
.success-state.show { display: block; }
.success-check {
  width: 64px; height: 64px;
  background: var(--success);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
  animation: successPop 0.4s var(--ease-spring) forwards;
}
@keyframes successPop {
  from { transform: scale(0); }
  to { transform: scale(1); }
}
.success-state h2 { font-family: var(--font-heading); font-size: 1.5rem; margin-bottom: 12px; }
.success-state p { color: var(--gray-500); line-height: 1.7; margin-bottom: 28px; }
.success-state .wa-fallback {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 20px;
}
.success-state .wa-fallback a { color: #25D366; font-weight: 600; }

@media (min-width: 1024px) {
  .booking-wrap--review {
    max-width: 1160px;
  }
  .booking-wrap--review .booking-review-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(320px, 380px);
    gap: 32px;
    align-items: start;
  }
  .booking-wrap--review .booking-experience-card {
    margin-top: 0;
    position: sticky;
    top: calc(var(--nav-height) + 24px);
  }
}

/* Honeypot */
.hp-field { display: none !important; visibility: hidden !important; }

/* ── CONTACT PAGE ─────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.contact-card { padding: 32px 24px; text-align: center; }
.contact-card__icon {
  width: 54px; height: 54px;
  background: var(--primary-ultra);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 16px;
}
.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 10px;
}
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--gray-500);
  line-height: 1.65;
}
.contact-card a:hover { color: var(--primary); }
.contact-map-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 64px;
}
.map-wrap {
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 0;
}
.map-wrap iframe {
  display: block;
  width: 100%;
  min-height: 100%;
}






.direction-list li::before {
  counter-increment: direction-step;
  content: counter(direction-step);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-ultra);
  border: 1px solid var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}
.hours-card { padding: 36px; max-width: 600px; margin: 0 auto 48px; }
.hours-card h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  text-align: center;
}

/* ── 404 ──────────────────────────────────────────────────── */
.not-found {
  min-height: 100vh;
  background: var(--grad-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
}
.not-found__card {
  max-width: 520px;
  padding: 56px 48px;
}
.not-found__num {
  font-family: var(--font-heading);
  font-size: 7rem;
  font-weight: 500;
  color: var(--primary-dark);
  line-height: 1;
  margin-bottom: 8px;
  opacity: 0.3;
}
.not-found__icon { font-size: 3.5rem; margin-bottom: 20px; }
.not-found h1 { font-family: var(--font-heading); font-size: 1.8rem; font-weight: 500; margin-bottom: 12px; }
.not-found p { color: var(--gray-500); line-height: 1.7; margin-bottom: 32px; }
.not-found__btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 1023px) {
  :root {
    --section-py: 72px;
    --nav-height: 98px;
    --nav-logo-size: 82px;
    --footer-logo-size: 88px;
  }
  .split-grid { grid-template-columns: 1fr; gap: 36px; }
  
  .triple-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero__inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
    padding-top: calc(var(--nav-height) + 10px);
    padding-bottom: 54px;
  }
  .hero__content { margin: 0 auto; }
  .hero__sub { margin: 0 auto 36px; }
  .hero__btns { justify-content: center; }
  .hero__trust { justify-content: center; }
  .hero__canvas-wrap { order: -1; }
  #hero-canvas { width: min(360px, 92vw); height: min(360px, 92vw); }
  .hero__video-frame { width: min(340px, 88vw); aspect-ratio: 3/2; border-radius: 20px; }
  .about-snap { grid-template-columns: 1fr; gap: 40px; }
  .about-snap__content .section-title { text-align: center; }
  .about-snap__content { text-align: center; }
  .doctor-hero-card { grid-template-columns: 1fr; }
  .doctor-photo-large { max-height: 320px; }
  .service-section { grid-template-columns: 1fr; gap: 36px; }
  .service-section--flip { direction: ltr; }
  .contact-map-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 767px) {
  :root {
    --section-py: 56px;
    --nav-height: 82px;
    --nav-logo-size: 68px;
    --footer-logo-size: 78px;
  }
  .nav__inner { padding: 8px 0; }
  .nav__logo { gap: 12px; }
  .nav__logo-name { font-size: 1.15rem; }
  .nav__logo-tag { font-size: 0.68rem; }
  .nav__links { display: none; }
  .nav__hamburger { display: flex; }
  .hero__inner { padding-top: calc(var(--nav-height) + 8px); padding-bottom: 42px; }
  .hero__title { font-size: clamp(2.35rem, 11vw, 3.15rem); }
  .hero__content { width: 100%; }
  #hero-canvas { width: min(320px, 92vw); height: min(320px, 92vw); }
  .hero__video-frame { width: min(300px, 86vw); aspect-ratio: 3/2; }
  .media-frame__glyph {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    font-size: 1.45rem;
  }
  .media-frame__caption {
    left: 14px;
    top: 14px;
    padding: 7px 12px;
    font-size: 0.72rem;
  }
  .triple-grid { grid-template-columns: 1fr; }
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .services-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .mission-grid { grid-template-columns: 1fr; }
  .clinic-photos { grid-template-columns: 1fr; }
  .clinic-photo-card { aspect-ratio: 16/9; }
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .service-options { grid-template-columns: 1fr; }
  .doctor-stats { grid-template-columns: repeat(3, 1fr); }
  .wa-float { bottom: 80px; right: 16px; }
  .mobile-bar { display: block; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .doctor-hero-card { padding: 8px 24px; }
  .doctor-spot__inner { grid-template-columns: 1fr; text-align: center; }
  .doctor-spot__photo-wrap { margin: 0 auto; }
  .doctor-spot__specs { justify-content: center; }
  .contact-map-grid { margin-bottom: 48px; }
  
  .hours-card { padding: 24px; }
  .card { padding: 24px 20px; }
  /* Mascot bubble: better mobile positioning */
  .mascot-bubble { font-size: 0.8rem; }
  .mascot-bubble__text { font-size: 0.8rem; }

  /* About page mobile */
  .values-strip { grid-template-columns: 1fr 1fr; }
  .team-promise { padding: 28px 20px; gap: 24px; }
  .team-promise h2 { font-size: 1.35rem; }

  /* Doctor page mobile */
  .doctor-stats { gap: 8px; }
  .doctor-stat__num { font-size: 1.3rem; }
  .qual-list li { gap: 8px; }

  /* Services mobile */
  .service-section { gap: 28px; padding: 40px 0; }
  .service-content h2 { font-size: 1.5rem; }

  /* Hero video frame mobile */
  .hero__video-badge { font-size: 0.72rem; padding: 7px 13px; }

  /* Testi cards stack better */
  .testi-card { padding: 24px 20px; }

  /* CTA banner mobile */
  .cta-banner { padding: 56px 0; }
  .cta-banner h2 { font-size: 1.6rem; }

  /* Footer single column */
  .footer { padding: 48px 0 0; }
  .footer__grid { gap: 28px; }
  .booking-steps { overflow-x: auto; }
  .step-label { display: none; }
}
