/* ==========================================================================
   DENTAL REFORMS — LUXURY CLINIC STYLESHEET
   Client: Dr. Dipika Dodeja (MDS Prosthodontist & Cosmetic Dentist)
   Location: Naupada, Thane West, Maharashtra
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Brand Design Tokens (Strict Palette & Typography)
   -------------------------------------------------------------------------- */
:root {
  /* Exact Specified Brand Palette */
  --navy: #123B67;
  --navy-dark: #0D2B4D;
  --medical-blue: #2B8AC6;
  --medical-blue-hover: #2276AA;
  --medical-blue-soft: rgba(43, 138, 198, 0.12);
  --ice-blue: #EAF5FB;
  --ice-blue-subtle: #F3F9FD;
  --white: #FFFFFF;
  --text-supporting: #263746;
  --text-muted: #536A80;
  --text-light: #7E93A6;

  /* Restrained Neutral Accents */
  --border-light: rgba(18, 59, 103, 0.08);
  --border-focus: #2B8AC6;
  --border-card: rgba(43, 138, 198, 0.18);

  /* Shadows (Restrained, Medical Grade) */
  --shadow-sm: 0 2px 8px rgba(18, 59, 103, 0.04);
  --shadow-md: 0 8px 24px rgba(18, 59, 103, 0.06);
  --shadow-lg: 0 16px 40px rgba(18, 59, 103, 0.09);
  --shadow-card-hover: 0 14px 32px rgba(43, 138, 198, 0.12);

  /* Typography System */
  --font-heading: 'Plus Jakarta Sans', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-main: var(--font-heading);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout */
  --header-height: 72px;
  --container-width: 1200px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Smooth Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 280ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--text-supporting);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   3. Typography & Micro Elements (Strict System)
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

/* Important Key Phrase Highlight - Solid Medical Blue (No Gradients) */
.highlight-blue {
  color: var(--medical-blue);
  background: none;
  -webkit-text-fill-color: initial;
}

/* Restrained Blue Accent Line */
.section-accent-line {
  width: 48px;
  height: 2.5px;
  background-color: var(--medical-blue);
  margin: 1.25rem 0 1.75rem;
  border-radius: var(--radius-full);
}

/* Eyebrow Label: 11–13px, uppercase, subtle letter spacing */
.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px; /* 11–13px range */
  font-weight: 700;
  letter-spacing: 0.1em; /* subtle letter spacing */
  text-transform: uppercase;
  color: var(--medical-blue);
  background-color: var(--ice-blue);
  border: 1px solid rgba(43, 138, 198, 0.2);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
}

/* Supporting Text: Inter, 17–20px, weight 400–500 */
p {
  font-family: var(--font-body);
  font-size: 1.0625rem; /* ~17px */
  font-weight: 450; /* 400–500 */
  color: var(--text-supporting);
  line-height: 1.65;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-main);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--medical-blue);
  color: var(--white);
  border: 1px solid var(--medical-blue);
  box-shadow: 0 4px 14px rgba(43, 138, 198, 0.22);
}

.btn-primary:hover {
  background-color: var(--medical-blue-hover);
  border-color: var(--medical-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(43, 138, 198, 0.32);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
  transform: translateY(-1px);
}

.btn-text {
  color: var(--medical-blue);
  font-weight: 600;
  padding-left: 0;
  padding-right: 0;
}

.btn-text:hover {
  color: var(--navy);
  transform: translateX(3px);
}

/* --------------------------------------------------------------------------
   4. Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  max-width: var(--container-width);
  height: 100%;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.brand-name-group {
  display: flex;
  flex-direction: column;
}

.brand-main {
  font-family: var(--font-main);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.6875rem;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.01em;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-main);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-supporting);
  transition: color var(--transition-normal);
}

.nav-link:hover, .nav-link.active {
  color: var(--medical-blue);
}

.nav-btn-book {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--navy);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.nav-btn-book:hover {
  background-color: var(--medical-blue);
  transform: translateY(-1px);
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 36px;
  height: 36px;
  padding: 4px;
}

.menu-bar {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--navy);
  transition: all var(--transition-normal);
}

.mobile-menu-btn.active .menu-bar:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

.mobile-menu-btn.active .menu-bar:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
  display: none;
  padding: 1.5rem;
  transform: translateY(-10px);
  opacity: 0;
  transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.mobile-nav.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.mobile-nav-link {
  font-family: var(--font-main);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--navy);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-btn {
  display: block;
  text-align: center;
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--white);
  background-color: var(--medical-blue);
  padding: 0.85rem;
  border-radius: var(--radius-full);
  margin-top: 0.5rem;
}

.mobile-nav-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.mobile-contact-line {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.mobile-tel-link {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   5. Section 1: Floating Luxury Hero Stage (Celestia-Inspired Architecture)
   -------------------------------------------------------------------------- */
.section-hero-stage {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 1.25rem 1.25rem 3.25rem; /* Thinner, ultra-refined blue margin framing */
  background: radial-gradient(ellipse 115% 95% at 50% 46%, #1770be 0%, #104e8a 42%, #092c55 100%);
  overflow: hidden;
  box-sizing: border-box;
}

/* Ambient Backlighting & Depth */
.hero-stage-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.stage-radial-glow {
  position: absolute;
  top: 48%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(1100px, 92vw);
  height: min(720px, 80vh);
  background: radial-gradient(circle, rgba(56, 172, 245, 0.28) 0%, rgba(20, 95, 168, 0.12) 50%, transparent 75%);
  filter: blur(60px);
  border-radius: 50%;
}

.stage-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.orb-1 {
  width: 480px;
  height: 480px;
  top: -100px;
  left: -80px;
  background: rgba(30, 130, 215, 0.22);
}

.orb-2 {
  width: 520px;
  height: 520px;
  bottom: -120px;
  right: -100px;
  background: rgba(14, 65, 122, 0.35);
}

/* Outer Translucent Floating Glass Frame - Refined Hairline Bezel */
.hero-floating-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 3px; /* Thinner, sleek luxury border */
  border-radius: 40px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: 
    0 30px 80px rgba(6, 26, 52, 0.35),
    0 10px 25px rgba(6, 26, 52, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.6);
  transition: transform 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

/* Inner White Luxury Card Canvas - Generous Whitespace & Airy Editorial Spacing */
.hero-card-inner {
  position: relative;
  background: #ffffff;
  border-radius: 37px;
  padding: 3.25rem 4.5rem 2.5rem; /* Extra generous whitespace */
  overflow: hidden;
  box-shadow: 
    inset 0 1px 0 rgba(255, 255, 255, 1),
    0 8px 30px rgba(18, 59, 103, 0.04);
}

/* Integrated Top Navigation in Card */
.hero-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: 1.75rem;
  position: relative;
  z-index: 4;
}

.hero-card-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
}

.card-brand-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
}

.card-brand-text {
  display: flex;
  flex-direction: column;
}

.card-brand-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.card-brand-sub {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 500;
  color: #6a8298;
}

.hero-card-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.card-nav-link {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #263746;
  text-decoration: none;
  transition: color 0.25s ease, transform 0.25s ease;
}

.card-nav-link:hover {
  color: var(--medical-blue);
  transform: translateY(-1px);
}

.hero-card-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.btn-card-tour {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  background: var(--ice-blue);
  border: 1px solid rgba(43, 138, 198, 0.24);
  padding: 0.48rem 1.1rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-card-tour svg {
  color: var(--medical-blue);
  transition: transform 0.25s ease;
}

.btn-card-tour:hover {
  background: #d8ecf8;
  border-color: var(--medical-blue);
  transform: translateY(-1px);
}

.btn-card-tour:hover svg {
  transform: scale(1.15);
}

.card-nav-contact {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: #263746;
  text-decoration: none;
  transition: color 0.25s ease;
}

.card-nav-contact:hover {
  color: var(--medical-blue);
}

/* Main Refined 2-Column Hero Layout - Balanced & Spacious */
.hero-card-body {
  display: grid;
  grid-template-columns: 1.16fr 1fr;
  align-items: center;
  gap: 3.5rem; /* Extra whitespace */
  min-height: 500px;
  position: relative;
  z-index: 3;
}

/* Left Column: Refined Content */
.hero-col-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  z-index: 2;
}

/* Small label above h1: Dr. Dipika Dodeja • Naupada, Thane West */
.hero-eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--medical-blue);
  background: rgba(43, 138, 198, 0.08);
  border: 1px solid rgba(43, 138, 198, 0.20);
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.45rem;
  width: fit-content;
}

.eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--medical-blue);
  box-shadow: 0 0 8px rgba(43, 138, 198, 0.7);
}

/* ONE <h1> only with Luxury Editorial Typography: Oversized, bold, tight letter-spacing */
.hero-main-h1 {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  font-family: 'Playfair Display', 'Plus Jakarta Sans', Georgia, serif;
  font-size: clamp(38px, 4.3vw, 64px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.05;
  letter-spacing: -0.04em; /* Tighter letter spacing for confident editorial impact */
  margin: 0 0 1.45rem 0;
  text-wrap: balance;
}

.h1-line {
  display: block;
}

.h1-serif-italic {
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-weight: 600;
  color: var(--medical-blue);
  letter-spacing: -0.03em;
}

.h1-location {
  color: var(--navy);
  font-family: 'Playfair Display', Georgia, serif;
  font-style: normal;
  font-weight: 700;
}

/* Subheading <p> below h1: Calm, confident, uncluttered */
.hero-subheading {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.15vw, 18px);
  font-weight: 450;
  color: #4a6277;
  line-height: 1.7;
  margin: 0 0 2.25rem 0;
  max-width: 530px;
  text-wrap: pretty;
}

/* Three CTA buttons with unified height, spacing & elevation */
.hero-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.65rem;
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  height: 50px;
  min-height: 50px;
  padding: 0 1.65rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  box-sizing: border-box;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.btn-cta-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Primary CTA: Book Appointment */
.btn-hero-book {
  background: linear-gradient(135deg, #1b7ec7 0%, #0d5ea6 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 6px 18px rgba(27, 126, 199, 0.32);
}

.btn-hero-book:hover {
  background: linear-gradient(135deg, #248de0 0%, #106cbf 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(27, 126, 199, 0.42);
  color: #ffffff;
}

/* Secondary CTA: Call Now */
.btn-hero-call {
  background: #ffffff;
  color: var(--navy);
  border: 1.5px solid rgba(18, 59, 103, 0.16);
  box-shadow: 0 4px 14px rgba(18, 59, 103, 0.06);
}

.btn-hero-call:hover {
  border-color: var(--medical-blue);
  color: var(--medical-blue);
  background: #fbfdff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(18, 59, 103, 0.12);
}

/* WhatsApp CTA */
.btn-hero-whatsapp {
  background: #ffffff;
  color: #128c46;
  border: 1.5px solid rgba(37, 211, 102, 0.38);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.08);
}

.btn-hero-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32);
}

/* Trust strip under CTAs: ★ 4.9 rating • 100+ Google reviews in small pill */
.hero-trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 0.95rem;
  background: #f4f8fb;
  border: 1px solid rgba(43, 138, 198, 0.18);
  border-radius: var(--radius-full);
  width: fit-content;
}

.trust-stars {
  color: #f59e0b;
  font-size: 0.95rem;
  line-height: 1;
}

.trust-text {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--text-supporting);
}

.trust-text strong {
  color: var(--navy);
  font-weight: 700;
}

/* Right Column: Visual 3D Luminous Crystal Molar Stage */
.hero-col-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 480px;
}

/* Giant Low-Opacity Typography Behind Tooth (Item 3) */
.tooth-backdrop-typography {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  user-select: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: visible;
}

.backdrop-word {
  font-family: var(--font-heading);
  font-size: clamp(4.4rem, 7.8vw, 7.4rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.88;
  text-transform: uppercase;
  color: rgba(18, 59, 103, 0.045);
  -webkit-text-stroke: 1.5px rgba(43, 138, 198, 0.13);
  white-space: nowrap;
}

/* Tooth Centerpiece (Item 2: Larger tooth with realistic glass reflections, cyan glow, soft floor shadow) */
.crystal-tooth-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 480px;
  z-index: 2; /* Foreground in front of backdrop typography */
}

.crystal-tooth-picture {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.crystal-tooth-video,
.crystal-tooth-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  max-height: 480px; /* Centerpiece oversized prominence */
  object-fit: contain;
  display: block;
  position: relative;
  z-index: 3;
  /* Soft radial mask-image to seamlessly feather the edges */
  -webkit-mask-image: radial-gradient(circle at 50% 50%, black 50%, rgba(0, 0, 0, 0.72) 72%, transparent 95%);
  mask-image: radial-gradient(circle at 50% 50%, black 50%, rgba(0, 0, 0, 0.72) 72%, transparent 95%);
  filter: drop-shadow(0 16px 34px rgba(27, 115, 178, 0.22)) drop-shadow(0 0 20px rgba(0, 229, 255, 0.22));
  animation: toothLuminousAura 5.16s ease-in-out infinite;
}

@keyframes toothLuminousAura {
  0%, 100% {
    filter: drop-shadow(0 16px 34px rgba(27, 115, 178, 0.22)) drop-shadow(0 0 16px rgba(0, 229, 255, 0.18));
  }
  50% {
    filter: drop-shadow(0 18px 42px rgba(27, 115, 178, 0.28)) drop-shadow(0 0 38px rgba(0, 229, 255, 0.44));
  }
}

/* Subtle Cyan Light (Item 2) */
.tooth-ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(0, 229, 255, 0.42) 0%, rgba(34, 211, 238, 0.20) 35%, rgba(43, 138, 198, 0.08) 60%, transparent 75%);
  filter: blur(48px);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: toothAmbientPulse 5.16s ease-in-out infinite;
}

@keyframes toothAmbientPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(0.95);
    opacity: 0.85;
    filter: blur(44px);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.08);
    opacity: 1;
    filter: blur(54px);
  }
}

/* Realistic Glass Reflection Sheen (Item 2) */
.tooth-glass-reflection {
  position: absolute;
  inset: 6% 12% 16% 12%;
  border-radius: 40%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.08) 32%, transparent 60%);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 4;
  opacity: 0.75;
  animation: toothReflectionShimmer 5.16s ease-in-out infinite;
}

@keyframes toothReflectionShimmer {
  0%, 100% {
    opacity: 0.65;
  }
  50% {
    opacity: 0.90;
  }
}

/* Soft Floor Shadow & Caustic Reflection Beneath Tooth Roots (Item 2) */
.tooth-floor-shadow {
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 280px;
  height: 28px;
  background: radial-gradient(ellipse at 50% 50%, rgba(18, 59, 103, 0.26) 0%, rgba(43, 138, 198, 0.10) 45%, transparent 75%);
  filter: blur(9px);
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
}

.tooth-caustic-shadow {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 38px;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 229, 255, 0.20) 0%, rgba(18, 59, 103, 0.06) 50%, transparent 80%);
  filter: blur(18px);
  border-radius: 50%;
  z-index: 1;
  pointer-events: none;
  animation: toothCausticPulse 5.16s ease-in-out infinite;
}

@keyframes toothCausticPulse {
  0%, 100% {
    transform: translateX(-50%) scaleX(0.92);
    opacity: 0.70;
  }
  50% {
    transform: translateX(-50%) scaleX(1.08);
    opacity: 1;
  }
}

/* Bottom Ambient Typographic Watermark (Fitted, Never Cut Off) */
.hero-card-watermark {
  position: relative;
  width: 100%;
  margin-top: 1.5rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(18, 59, 103, 0.06);
  display: flex;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  user-select: none;
}

.hero-card-watermark span {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(12px, 1.8vw, 18px);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(18, 59, 103, 0.28);
  text-align: center;
  white-space: nowrap;
  max-width: 100%;
}

/* Staggered Animated Reveal Sequence (Total Duration < 1.3s) */
.hero-eyebrow-pill,
.h1-line,
.hero-subheading,
.hero-actions-row,
.hero-trust-strip,
.hero-col-visual {
  animation: heroReveal 0.65s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.hero-eyebrow-pill {
  animation-delay: 0.08s;
}

.hero-main-h1 .h1-line:nth-child(1) {
  animation-delay: 0.18s;
}

.hero-main-h1 .h1-line:nth-child(2) {
  animation-delay: 0.30s;
}

.hero-subheading {
  animation-delay: 0.44s;
}

.hero-actions-row {
  animation-delay: 0.58s;
}

.hero-trust-strip {
  animation-delay: 0.72s;
}

.hero-col-visual {
  animation-delay: 0.25s;
}

@keyframes heroReveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow-pill,
  .h1-line,
  .hero-subheading,
  .hero-actions-row,
  .hero-trust-strip,
  .hero-col-visual {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .crystal-tooth-wrapper,
  .crystal-tooth-video,
  .crystal-tooth-image,
  .tooth-ambient-glow,
  .tooth-glass-reflection,
  .tooth-caustic-shadow {
    animation: none !important;
  }
}

/* Bottom Stage Scroll Cue */
.hero-stage-scroll-cue {
  position: absolute;
  bottom: 1.35rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 5;
}

.hero-stage-scroll-cue:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}

.stage-cue-text {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

.stage-cue-line {
  width: 1.5px;
  height: 20px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9), transparent);
  animation: stageCuePulse 2s infinite ease-in-out;
}

@keyframes stageCuePulse {
  0%, 100% { transform: scaleY(0.4); transform-origin: top; opacity: 0.4; }
  50% { transform: scaleY(1); transform-origin: top; opacity: 1; }
}

/* Responsive Breakpoints & Mobile Operative */
@media (max-width: 1024px) {
  .hero-card-inner {
    padding: 2.25rem 2.5rem 2rem;
  }
  .hero-card-body {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 2rem;
  }
  .tooth-backdrop-typography .backdrop-word {
    font-size: clamp(3.2rem, 6.2vw, 5.2rem);
  }
  .crystal-tooth-wrapper {
    max-width: 360px;
  }
  .crystal-tooth-video,
  .crystal-tooth-image {
    max-height: 360px;
  }
}

@media (max-width: 860px) {
  .hero-card-header .hero-card-nav {
    display: none;
  }
  .hero-card-body {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-col-content {
    align-items: center;
    text-align: center;
  }
  .hero-eyebrow-pill {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-subheading {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions-row {
    justify-content: center;
  }
  .hero-trust-strip {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-col-visual {
    order: -1;
    min-height: auto;
    padding: 0.5rem 0 1rem;
  }
  .tooth-backdrop-typography .backdrop-word {
    font-size: clamp(2.8rem, 8.5vw, 4.4rem);
    letter-spacing: -0.03em;
  }
  .crystal-tooth-wrapper {
    max-width: 280px;
    margin: 0 auto;
  }
  .crystal-tooth-image,
  .crystal-tooth-video {
    max-height: 280px;
  }
  .tooth-ambient-glow {
    width: 260px;
    height: 260px;
  }
  .tooth-floor-shadow {
    width: 220px;
  }
  .tooth-caustic-shadow {
    width: 280px;
  }
}

@media (max-width: 640px) {
  .section-hero-stage {
    min-height: 100svh;
    padding: 1rem 0.65rem 5.5rem;
  }
  .hero-floating-frame {
    border-radius: 26px;
    padding: 3px;
  }
  .hero-card-inner {
    border-radius: 23px;
    padding: 1.5rem 1.15rem 1.5rem;
  }
  .card-brand-logo {
    height: 32px;
  }
  .card-brand-name {
    font-size: 0.95rem;
  }
  .card-brand-sub {
    font-size: 0.65rem;
  }
  .btn-card-tour {
    padding: 0.35rem 0.75rem;
    font-size: 0.74rem;
  }
  .hero-eyebrow-pill {
    font-size: 10.5px;
    padding: 0.32rem 0.75rem;
    letter-spacing: 0.05em;
    max-width: 100%;
    white-space: normal;
    text-align: center;
  }
  .hero-main-h1 {
    font-size: clamp(28px, 7.2vw, 36px);
    line-height: 1.08;
    letter-spacing: -0.035em;
    margin-bottom: 1rem;
  }
  .hero-subheading {
    font-size: 14.5px;
    line-height: 1.6;
    margin-bottom: 1.4rem;
  }
  .hero-actions-row {
    flex-direction: column;
    width: 100%;
    gap: 0.65rem;
    margin-bottom: 1.15rem;
  }
  .btn-hero-cta {
    width: 100%;
    height: 48px;
    min-height: 48px;
    padding: 0 1.25rem;
    font-size: 0.9rem;
  }
  .hero-trust-strip {
    padding: 0.35rem 0.85rem;
    font-size: 0.75rem;
  }
  .tooth-backdrop-typography .backdrop-word {
    font-size: clamp(2.2rem, 11vw, 3.4rem);
    letter-spacing: -0.025em;
  }
  .crystal-tooth-wrapper {
    max-width: 240px;
    margin: 0 auto;
  }
  .crystal-tooth-image,
  .crystal-tooth-video {
    max-height: 240px;
  }
  .tooth-ambient-glow {
    width: 220px;
    height: 220px;
  }
  .tooth-floor-shadow {
    width: 180px;
  }
  .tooth-caustic-shadow {
    width: 220px;
  }
  .hero-card-watermark {
    margin-top: 1rem;
    padding-top: 0.65rem;
  }
  .hero-card-watermark span {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}

/* Mobile Operative Sticky Bottom Bar */
.mobile-sticky-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-sticky-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 0.5rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border-light);
    box-shadow: 0 -4px 20px rgba(18, 59, 103, 0.12);
    padding: 0.65rem 0.85rem calc(0.65rem + env(safe-area-inset-bottom, 0px));
  }

  .mobile-bar-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.65rem 0.4rem;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.2s ease;
  }

  .mobile-bar-btn:active {
    transform: scale(0.97);
  }

  .btn-bar-call {
    background: var(--ice-blue);
    color: var(--navy);
    border: 1px solid rgba(43, 138, 198, 0.25);
  }

  .btn-bar-whatsapp {
    background: rgba(37, 211, 102, 0.12);
    color: #0c8a3f;
    border: 1px solid rgba(37, 211, 102, 0.35);
  }

  .btn-bar-book {
    background: var(--medical-blue);
    color: #ffffff;
    border: 1px solid var(--medical-blue);
    box-shadow: 0 4px 12px rgba(43, 138, 198, 0.3);
  }

  body {
    padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px));
  }
}

/* --------------------------------------------------------------------------
   6. Section 2: About Dr. Dipika Dodeja (Aesthetic Glass Architecture)
   -------------------------------------------------------------------------- */
.section-doctor {
  position: relative;
  padding: 6.5rem 0;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FD 50%, #FFFFFF 100%);
  border-top: 1px solid var(--border-light);
  overflow: hidden;
}

.doctor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* --- Left Column: Doctor Portrait Area --- */
.doctor-visual-col {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.doctor-visual-stage {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Soft blue glow circle behind the photo */
.doctor-glow-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(390px, 90vw);
  height: min(390px, 90vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(43, 138, 198, 0.28) 0%, rgba(43, 138, 198, 0.08) 50%, transparent 72%);
  filter: blur(40px);
  z-index: 1;
  pointer-events: none;
  transition: transform 1.2s var(--ease-out), opacity 1.2s ease;
}

/* Thin outlined arc drawing itself (SVG stroke-dashoffset animation) */
.doctor-arc-svg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(480px, 105vw);
  height: min(480px, 105vw);
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}

.doctor-arc-path {
  stroke-dasharray: 100;
  stroke-dashoffset: 0; /* Default visible when no JS */
}

/* Portrait photo frame with frosted glass aesthetic */
.doctor-portrait-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(43, 138, 198, 0.18);
  box-shadow: 
    0 24px 60px rgba(18, 59, 103, 0.12),
    0 8px 24px rgba(43, 138, 198, 0.08);
  /* Default visible state without JS */
  transform: none;
  clip-path: none;
  opacity: 1;
}

.doctor-portrait-img,
.doctor-portrait-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scale(1);
  transform-origin: center center;
  background-color: #f7fafc;
}

/* Ambient Subtle Glass Caption Badge */
.doctor-portrait-badge {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.15rem;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(43, 138, 198, 0.22);
  border-radius: var(--radius-full);
  box-shadow: 0 8px 20px rgba(18, 59, 103, 0.08);
  white-space: nowrap;
  max-width: calc(100% - 2.5rem);
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--medical-blue);
  box-shadow: 0 0 6px rgba(43, 138, 198, 0.8);
  flex-shrink: 0;
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.01em;
}

/* --- Right Column: Doctor Information --- */
.doctor-info-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.doctor-eyebrow-wrap {
  margin-bottom: 0.85rem;
}

.doctor-heading {
  font-size: clamp(1.85rem, 3.4vw, 2.65rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
}

.doctor-bio-lead {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  color: var(--text-supporting);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

/* Credentials List with Placeholders */
.doctor-credentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 620px;
  margin-bottom: 1.75rem;
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 1rem;
  background: var(--white);
  border: 1px solid rgba(43, 138, 198, 0.16);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 8px rgba(18, 59, 103, 0.03);
  transition: border-color var(--transition-normal), transform var(--transition-normal);
}

.credential-item:hover {
  border-color: var(--medical-blue);
  transform: translateY(-1px);
}

.credential-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--medical-blue);
  background: var(--ice-blue);
  width: 28px;
  height: 28px;
  border-radius: 6px;
  flex-shrink: 0;
}

.credential-tag {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
}

.credential-val {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--medical-blue);
}

/* 3 Small Feature Chips */
.doctor-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.doctor-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.42rem 0.95rem;
  background: rgba(43, 138, 198, 0.08);
  border: 1px solid rgba(43, 138, 198, 0.22);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--navy);
  transition: all var(--transition-normal);
}

.doctor-chip:hover {
  background: rgba(43, 138, 198, 0.14);
  border-color: var(--medical-blue);
  transform: translateY(-1px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--medical-blue);
}

/* Stat Counters Row */
.doctor-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  width: 100%;
  max-width: 620px;
  margin-bottom: 2.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid rgba(43, 138, 198, 0.18);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(18, 59, 103, 0.04);
}

.doctor-stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num-box {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.stat-star {
  color: #f59e0b;
  font-size: 1.15rem;
}

.stat-desc {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.25rem;
}

/* Doctor CTAs Row */
.doctor-ctas-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.doctor-cta-book {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

.doctor-cta-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.75rem;
  font-weight: 700;
  color: #0c8a3f;
  background: rgba(37, 211, 102, 0.12);
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
}

.doctor-cta-whatsapp:hover {
  background: #25d366;
  color: #ffffff;
  border-color: #25d366;
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

/* ==========================================================================
   Section 2 Animation States (Progressive Enhancement with IntersectionObserver)
   ========================================================================== */
/* Initial states when JS is active (before in-view) */
.section-doctor.js-scroll-animate:not(.is-visible) .doctor-portrait-frame {
  opacity: 0;
  transform: translateX(-50px);
  clip-path: inset(0 100% 0 0 round 28px);
}

.section-doctor.js-scroll-animate:not(.is-visible) .doctor-portrait-img,
.section-doctor.js-scroll-animate:not(.is-visible) .doctor-portrait-video {
  transform: scale(1.05);
}

.section-doctor.js-scroll-animate:not(.is-visible) .doctor-glow-circle {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.85);
}

.section-doctor.js-scroll-animate:not(.is-visible) .doctor-arc-path {
  stroke-dashoffset: 100;
}

.section-doctor.js-scroll-animate:not(.is-visible) .stagger-line {
  opacity: 0;
  transform: translateY(22px);
}

/* Revealed states when Section 2 intersects into view */
.section-doctor.is-visible .doctor-portrait-frame {
  opacity: 1;
  transform: translateX(0);
  clip-path: inset(0 0% 0 0 round 28px);
  transition: 
    clip-path 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1.25s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.75s ease;
}

.section-doctor.is-visible .doctor-portrait-img,
.section-doctor.is-visible .doctor-portrait-video {
  transform: scale(1);
  transition: transform 1.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-doctor.is-visible .doctor-glow-circle {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: opacity 1s ease 0.15s, transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
}

.section-doctor.is-visible .doctor-arc-path {
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1.45s cubic-bezier(0.16, 1, 0.3, 1) 0.25s;
}

/* Staggered text line-by-line fade up with 100ms stagger */
.section-doctor.is-visible .stagger-line {
  opacity: 1;
  transform: translateY(0);
  transition: 
    opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.section-doctor.is-visible .stagger-line:nth-child(1) { transition-delay: 0.1s; }
.section-doctor.is-visible .stagger-line:nth-child(2) { transition-delay: 0.2s; }
.section-doctor.is-visible .stagger-line:nth-child(3) { transition-delay: 0.3s; }
.section-doctor.is-visible .stagger-line:nth-child(4) { transition-delay: 0.4s; }
.section-doctor.is-visible .stagger-line:nth-child(5) { transition-delay: 0.5s; }
.section-doctor.is-visible .stagger-line:nth-child(6) { transition-delay: 0.6s; }
.section-doctor.is-visible .stagger-line:nth-child(7) { transition-delay: 0.7s; }

/* --------------------------------------------------------------------------
   7. Section 3: The Tooth Journey (Interactive 3D Molar Scene)
   -------------------------------------------------------------------------- */
.section-treatments {
  position: relative;
  padding: 6rem 0 7rem;
  background-color: var(--white);
  transition: background-color 0.8s var(--ease-out);
}

.treatments-header-wrap {
  text-align: center;
  max-width: 780px;
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.treatments-headline {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}

.treatments-lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 580px;
}

/* 3D Stage Grid Layout */
.treatments-interactive-stage {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
  position: relative;
}

/* Canvas Viewport */
.canvas-viewport {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  width: 100%;
  height: 380px;
  border-radius: var(--radius-lg);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.6s var(--ease-out), box-shadow 0.6s var(--ease-out);
}

#toothCanvas {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

/* Restrained Medical-Blue Accent Glow When Movement Completes */
.canvas-medical-accent {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  pointer-events: none;
  box-shadow: inset 0 0 0 2px var(--medical-blue), 0 0 24px rgba(43, 138, 198, 0.2);
  opacity: 0;
  transition: opacity 0.8s var(--ease-out);
}

.canvas-viewport.highlight-active .canvas-medical-accent {
  opacity: 1;
}

/* Fallback Tooth Visual (for reduced motion or WebGL issues) */
.fallback-tooth-visual {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.fallback-tooth-svg {
  width: 120px;
  height: 140px;
}

.fallback-note {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
}

/* Live Stage Phase Status */
.stage-status-indicator {
  position: absolute;
  bottom: 0.85rem;
  left: 1rem;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(4px);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-light);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--navy);
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--medical-blue);
}

/* Treatment Cards Progression Column */
.treatments-cards-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.treatment-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  position: relative;
}

.treatment-card:hover {
  border-color: var(--border-card);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}

.treatment-card.active {
  border-color: var(--medical-blue);
  box-shadow: 0 10px 28px rgba(43, 138, 198, 0.14);
  background-color: var(--white);
}

.card-step-num {
  font-family: var(--font-main);
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--medical-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.75rem;
  line-height: 1.25;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-supporting);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.card-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.btn-detail-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--medical-blue);
  transition: color var(--transition-normal), transform var(--transition-normal);
}

.btn-detail-trigger .arrow {
  transition: transform var(--transition-normal);
}

.btn-detail-trigger:hover {
  color: var(--navy);
}

.btn-detail-trigger:hover .arrow {
  transform: translateX(4px);
}

.card-direct-book {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition-normal);
}

.card-direct-book:hover {
  color: var(--medical-blue);
}

/* --------------------------------------------------------------------------
   8. Section 4: Appointment Booking
   -------------------------------------------------------------------------- */
.section-booking {
  position: relative;
  padding: 6rem 0;
  background-color: var(--ice-blue-subtle);
  border-top: 1px solid var(--border-light);
}

.booking-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3.5rem;
  align-items: start;
}

.booking-context-col {
  display: flex;
  flex-direction: column;
}

.booking-headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.booking-lead {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.booking-description {
  font-size: 0.95rem;
  color: var(--text-supporting);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.booking-contact-card {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-card-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.contact-item-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-item-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-item-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--medical-blue);
}

.contact-item-link:hover {
  text-decoration: underline;
}

.whatsapp-link {
  color: #128C7E;
}

/* Booking Form Wrapper */
.form-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
}

.form-header-row {
  margin-bottom: 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.form-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy);
}

.form-subtitle {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Form Controls */
.form-group {
  margin-bottom: 1.35rem;
  display: flex;
  flex-direction: column;
}

.form-label {
  font-family: var(--font-main);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required-star {
  color: #D32F2F;
}

.optional-pill {
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--text-light);
  background-color: var(--ice-blue);
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
}

.form-input, .form-select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--navy);
  background-color: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal);
  outline: none;
}

.form-input:focus, .form-select:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(43, 138, 198, 0.15);
}

.form-input.error-state {
  border-color: #D32F2F;
  background-color: #FFF8F8;
}

.phone-input-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  transition: border-color var(--transition-normal);
}

.phone-input-wrap:focus-within {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(43, 138, 198, 0.15);
}

.phone-prefix {
  padding: 0.75rem 0.85rem;
  background-color: var(--ice-blue);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.875rem;
  border-right: 1px solid var(--border-light);
}

.phone-field {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.field-error-msg {
  font-size: 0.75rem;
  color: #D32F2F;
  margin-top: 0.35rem;
  min-height: 1.1rem;
  display: block;
}

/* Consent Checkbox */
.form-consent-wrap {
  margin-bottom: 1.5rem;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  margin-top: 0.2rem;
  accent-color: var(--medical-blue);
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

/* Submit Button & Spinner */
.btn-submit-booking {
  width: 100%;
  padding: 0.95rem;
  font-size: 1rem;
  position: relative;
}

.btn-submit-booking:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none !important;
}

.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-left: 0.5rem;
}

.btn-submit-booking.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Banner Error */
.form-banner-error {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  background-color: #FDEDED;
  border: 1px solid #F5C6CB;
  border-radius: var(--radius-md);
  color: #721C24;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.error-icon {
  font-weight: 800;
  width: 20px;
  height: 20px;
  background-color: #721C24;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* Success Card */
.form-success-card {
  text-align: center;
  padding: 1.5rem 0.5rem;
}

.success-icon-wrap {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
}

.success-check-svg {
  width: 100%;
  height: 100%;
}

.success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 0.85rem;
}

.success-message {
  font-size: 0.95rem;
  color: var(--text-supporting);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.success-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.btn-whatsapp-direct {
  background-color: #25D366;
  color: var(--white);
  font-family: var(--font-main);
  font-weight: 700;
  padding: 0.85rem;
  border-radius: var(--radius-full);
  transition: background-color var(--transition-normal);
}

.btn-whatsapp-direct:hover {
  background-color: #1EBE5D;
}

.btn-reset-form {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  text-decoration: underline;
  padding: 0.4rem;
}

.btn-reset-form:hover {
  color: var(--navy);
}

/* --------------------------------------------------------------------------
   9. Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 5rem 0 2rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-logo {
  height: 44px;
  width: auto;
  filter: brightness(0) invert(1);
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-family: var(--font-main);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ice-blue);
  margin-bottom: 0.5rem;
}

.footer-doctor-cred {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
  max-width: 340px;
}

.footer-heading {
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medical-blue);
  margin-bottom: 1.25rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition-normal);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-address {
  font-style: normal;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
}

.footer-phone-line a {
  color: var(--medical-blue);
  font-weight: 700;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
}

.footer-bottom-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
}

/* --------------------------------------------------------------------------
   10. Treatment Detail Modal
   -------------------------------------------------------------------------- */
.treatment-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 43, 77, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.treatment-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.treatment-modal-dialog {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out);
}

.treatment-modal-overlay.open .treatment-modal-dialog {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  font-size: 1.75rem;
  line-height: 1;
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

.modal-close-btn:hover {
  background-color: var(--ice-blue);
  color: var(--navy);
}

.modal-category-pill {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medical-blue);
  background-color: var(--ice-blue);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.modal-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.75rem;
}

.modal-accent-line {
  width: 36px;
  height: 2px;
  background-color: var(--medical-blue);
  margin: 1rem 0 1.25rem;
}

.modal-lead {
  font-size: 1rem;
  color: var(--text-supporting);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.modal-section-block {
  margin-bottom: 1.5rem;
}

.modal-subheading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.modal-body-text {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.modal-steps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.modal-steps-list li {
  font-size: 0.875rem;
  color: var(--text-supporting);
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.5;
}

.modal-steps-list li::before {
  content: "•";
  color: var(--medical-blue);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

.modal-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* Video Tour Modal Dialog */
.video-modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(13, 43, 77, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
}

.video-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-dialog {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  max-width: 900px;
  width: 100%;
  max-height: 94vh;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 59, 103, 0.25);
  transform: translateY(20px);
  transition: transform 0.35s var(--ease-out);
  display: flex;
  flex-direction: column;
}

.video-modal-overlay.open .video-modal-dialog {
  transform: translateY(0);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.video-modal-badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--medical-blue);
  background-color: var(--ice-blue);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
}

.video-modal-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-top: 0.25rem;
}

.video-modal-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #000000;
}

#modalVideoPlayer {
  width: 100%;
  height: 100%;
  display: block;
  outline: none;
}

.video-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--ice-blue-subtle);
  border-top: 1px solid var(--border-light);
}

.video-modal-caption {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 580px;
}

/* --------------------------------------------------------------------------
   11. Responsive Breakpoints (Tablet & Desktop)
   -------------------------------------------------------------------------- */
@media (min-width: 768px) {
  .desktop-nav {
    display: flex;
  }

  .mobile-menu-btn {
    display: none;
  }

  .doctor-grid {
    grid-template-columns: 420px 1fr;
    gap: 4.5rem;
  }

  .booking-grid {
    grid-template-columns: 1fr 1.15fr;
    gap: 4.5rem;
  }

  .footer-inner {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  }

  .footer-bottom-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (max-width: 767px) {
  .doctor-credentials-list {
    grid-template-columns: 1fr;
  }
  .doctor-stats-row {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1rem 1.25rem;
  }
  .doctor-ctas-row {
    flex-direction: column;
    width: 100%;
  }
  .doctor-cta-book,
  .doctor-cta-whatsapp {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 1024px) {
  :root {
    --header-height: 80px;
  }

  /* 3D Tooth Journey Split Screen Layout */
  .treatments-interactive-stage {
    grid-template-columns: 480px 1fr;
    gap: 4rem;
  }

  .canvas-viewport {
    height: 520px;
  }
}

/* --------------------------------------------------------------------------
   12. Motion & Accessibility (Strict Reduced Motion Respect)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-line-1,
  .hero-line-2,
  .hero-subtext,
  .hero-actions,
  .hero-accent-line,
  .hero-eyebrow-wrap,
  .hero-bg-overlay {
    opacity: 1 !important;
    transform: none !important;
    width: auto !important;
    transition: none !important;
  }

  .doctor-portrait-frame,
  .doctor-portrait-img,
  .doctor-portrait-video,
  .doctor-glow-circle,
  .doctor-arc-path,
  .stagger-line {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    stroke-dashoffset: 0 !important;
    transition: none !important;
    animation: none !important;
  }

  .fallback-tooth-visual {
    display: flex !important;
  }

  #toothCanvas {
    display: none !important;
  }
}
