/* ========================================================
   TOOTH & TALE DENTAL CARE - CLINIC DESIGN SYSTEM & STYLES
   Dr. Hetvi Suthar (BDS, MDS Gold Medalist)
   Theme: Luxury White, Deep Obsidian Black, Warm Beige & Light Brown
   ======================================================== */

:root {
  /* Core Luxury Palette: Black, White, Beige, Light Brown / Golden Caramel */
  --color-teal-dark: #141312;
  /* Deep Obsidian Black */
  --color-teal-deep: #0a0a09;
  /* Purest Charcoal Black */
  --color-teal-mid: #22201e;
  /* Warm Espresso Charcoal */
  --color-teal-light: #3d3934;
  /* Warm Taupe Slate */

  --color-coral: #b88a44;
  /* Warm Caramel / Luxury Golden Brown Accent */
  --color-coral-hover: #9e7232;
  /* Deep Golden Bronze */
  --color-gold-accent: #c59b58;
  /* Luminous Warm Amber Gold */
  --color-gold-glow: rgba(197, 155, 88, 0.25);

  --color-beige-light: #f5efe6;
  /* Champagne / Pale Warm Beige */
  --color-beige-mid: #ede3d5;
  /* Soft Warm Sand Beige */
  --color-beige-dark: #cbbba7;
  /* Warm Stone Beige */
  --color-beige-surface: #faf7f2;
  /* Creamy Ivory Surface */

  --color-bg-page: #f8f6f0;
  /* Warm Off-White / Pale Cream Page Background */
  --color-bg-card: #ffffff;
  /* Crisp Pure White */
  --color-text-dark: #151413;
  /* Deep Obsidian Text */
  --color-text-muted: #6b635a;
  /* Warm Muted Brown-Gray */
  --color-text-light: #ffffff;
  /* Pure White */
  --color-text-translucent: rgba(255, 255, 255, 0.82);

  /* Brand Action Colors */
  --color-whatsapp: #25D366;
  --color-whatsapp-hover: #1ebc59;
  --color-instagram: #E1306C;
  --color-google-gold: #fbbf24;

  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', Georgia, serif;

  --radius-outer: 24px;
  --radius-card: 16px;
  --radius-pill: 999px;
  --radius-input: 12px;

  --shadow-subtle: 0 4px 20px rgba(24, 21, 18, 0.04);
  --shadow-card: 0 16px 45px rgba(20, 18, 16, 0.08);
  --shadow-floating: 0 30px 70px rgba(16, 15, 14, 0.16);
  --shadow-glass: 0 20px 50px rgba(0, 0, 0, 0.35);

  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Base Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--color-text-dark);
  background-color: var(--color-bg-page);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  line-height: 1.5;
  background-color: var(--color-bg-page);
  overflow-x: hidden;
  padding: 0;
  margin: 0;
}

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

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

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

button,
input,
select,
textarea {
  font-family: inherit;
}

/* ==================== TYPOGRAPHY & TAGS ==================== */

.section-tag-num {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: inline-block;
  opacity: 0.85;
}

.section-tag-num.light {
  color: rgba(255, 255, 255, 0.85);
}

.section-tag-num.dark {
  color: var(--color-teal-dark);
}

/* ==================== SIGNATURE CORNER FOLD TAGS ==================== */
/* Distinct folded corner triangles seen on Tooth & Tale cards */

.orange-corner-fold {
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 28px 28px 0;
  border-color: transparent var(--color-coral) transparent transparent;
  z-index: 5;
  border-top-right-radius: inherit;
  transition: transform var(--transition-fast);
}

.story-corner-fold {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 28px 28px 0 0;
  border-color: var(--color-teal-dark) transparent transparent transparent;
  z-index: 5;
  border-top-left-radius: inherit;
}

/* ==================== BUTTONS ==================== */

.pill-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
}

.pill-frosted {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.pill-frosted:hover {
  background: rgba(255, 255, 255, 0.26);
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(-1px);
}

.pill-white {
  background: #ffffff;
  color: var(--color-teal-dark);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.pill-white:hover {
  background: var(--color-beige-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pill-caramel {
  background: var(--color-coral);
  color: #ffffff;
  box-shadow: 0 4px 15px var(--color-gold-glow);
}

.pill-caramel:hover {
  background: var(--color-coral-hover);
  transform: translateY(-1px);
}

.pill-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pill-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
}

.pill-whatsapp svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.pill-instagram {
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.pill-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  transform: translateY(-1px);
}

.pill-instagram svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.pill-icon-only {
  padding: 10px 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--color-teal-dark);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--color-teal-mid);
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--color-teal-dark);
  color: #ffffff;
}

.btn-dark:hover {
  background: var(--color-teal-mid);
}

.btn-white-pill {
  background: #ffffff;
  color: var(--color-teal-dark);
}

.btn-white-pill:hover {
  background: var(--color-beige-light);
  transform: translateY(-1px);
}

.btn-outline-pill {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
}

.btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background: #20bd5a;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.42);
}

.w-full {
  width: 100%;
}

/* ==================== PAGE CONTAINER ==================== */

.page-container {
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 16px 24px 60px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-container {
    padding: 12px 14px 84px;
    gap: 18px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    overflow-x: hidden;
  }
}

/* ==================== SECTION 001: HERO ==================== */

.hero-section {
  width: 100%;
}

.hero-frame {
  position: relative;
  min-height: 76vh;
  border-radius: var(--radius-outer);
  overflow: hidden;
  border: 1px solid rgba(229, 220, 208, 0.6);
  box-shadow: 0 16px 45px rgba(24, 21, 18, 0.08);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px 24px 44px;
  width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .hero-frame {
    min-height: 520px;
    padding: 24px 18px 24px;
    border-radius: 18px;
  }
}

@media (min-width: 768px) {
  .hero-frame {
    min-height: 80vh;
    padding: 48px 56px 64px;
  }
}

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

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.02);
  filter: contrast(1.03) brightness(0.98) sepia(0.14) hue-rotate(-12deg) saturate(0.94);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-frame:hover .hero-bg-img {
  transform: scale(1.04);
}

.hero-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 72% 38%, rgba(20, 19, 18, 0.1) 0%, rgba(18, 17, 16, 0.6) 100%),
    linear-gradient(to right, rgba(16, 15, 14, 0.72) 0%, rgba(16, 15, 14, 0.35) 55%, transparent 100%),
    linear-gradient(to top, rgba(16, 15, 14, 0.7) 0%, transparent 60%);
}

/* ==================== GLOBAL SITE HEADER (WARM BEIGE THEME) ==================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: #f7f3ed;
  border-bottom: 1px solid #e5dcd0;
  z-index: 1000;
  box-shadow: 0 2px 14px rgba(24, 21, 18, 0.03);
  transition: all 0.25s ease;
}

.site-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-sizing: border-box;
  width: 100%;
}

/* Brand */
.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #151413;
  flex-shrink: 0;
}

.site-brand-logo {
  height: 42px;
  width: auto;
  max-width: 46px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.site-brand:hover .site-brand-logo {
  transform: scale(1.04);
}

.site-brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1;
}

.site-brand-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #151413;
  text-transform: uppercase;
}

.site-brand-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: #c59b58;
  margin: 3px 0 3px;
  opacity: 0.9;
}

.site-brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #7d7268;
  text-transform: uppercase;
}

/* Desktop Nav Menu */
.site-nav {
  display: none;
  margin-right: auto;
}

@media (min-width: 1024px) {
  .site-nav {
    display: block;
  }
}

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

.site-nav-item {
  position: relative;
}

.site-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  color: #2b2826;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  transition: color 0.2s ease;
}

.site-nav-link:hover {
  color: #b88a44;
}

/* Active indicator matching beige/caramel theme */
.site-nav-item.active .site-nav-link {
  color: #151413;
  font-weight: 600;
}

.site-nav-item.active .site-nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: #b88a44;
  border-radius: 2px;
}

.nav-caret {
  width: 8px;
  height: 5px;
  transition: transform 0.2s ease;
  color: #7d7268;
}

.site-nav-item.has-dropdown:hover .nav-caret {
  transform: rotate(180deg);
  color: #b88a44;
}

/* ==================== 2-COLUMN MEGA MENU (VERNICA'S LUXURY STYLE) ==================== */
.nav-mega-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #fbf9f5;
  border: 1px solid #e8dfd3;
  border-radius: 22px;
  box-shadow: 0 20px 50px rgba(35, 28, 20, 0.1);
  padding: 28px 32px 20px;
  width: 640px;
  max-width: 90vw;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1010;
  pointer-events: none;
}

/* Invisible bridge so mouse hover doesn't break between link and dropdown */
.nav-mega-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 20px;
}

.site-nav-item.has-dropdown:hover .nav-mega-menu,
.site-nav-item.has-dropdown:focus-within .nav-mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.mega-menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 42px;
}

.mega-menu-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.mega-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-decoration: none;
  transition: transform 0.18s ease;
  padding: 2px 0;
}

.mega-item:hover {
  transform: translateX(3px);
}

.mega-item-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: #141312;
  transition: color 0.15s ease;
  line-height: 1.25;
}

.mega-item:hover .mega-item-title {
  color: var(--color-coral, #b88a44);
}

.mega-item-sub {
  font-size: 0.82rem;
  color: #6e675f;
  line-height: 1.35;
  font-weight: 400;
}

.mega-menu-footer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #eee5da;
  text-align: center;
}

.mega-view-all {
  font-size: 0.92rem;
  font-weight: 700;
  color: #5a2638;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}

.mega-view-all:hover {
  color: var(--color-coral, #b88a44);
  transform: translateY(-1px);
}

/* Header Actions */
.site-header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.nav-phone-link {
  display: none;
  align-items: center;
  gap: 8px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.94rem;
  font-weight: 600;
  color: #151413;
  text-decoration: none;
  transition: color 0.2s ease;
}

@media (min-width: 640px) {
  .nav-phone-link {
    display: inline-flex;
  }
}

.nav-phone-link:hover {
  color: #b88a44;
}

.nav-phone-icon {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

/* Obsidian Black & Caramel Accent Book Appointment Button */
.nav-book-btn {
  background: #141312;
  color: #ffffff;
  border: 1px solid rgba(184, 138, 68, 0.4);
  border-radius: 9999px;
  padding: 10px 24px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(20, 19, 18, 0.18);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-book-btn:hover {
  background: #b88a44;
  border-color: #b88a44;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(184, 138, 68, 0.35);
}

.nav-book-btn:active {
  transform: translateY(0);
}

/* Mobile Toggle - Vernica-style 2-line Minimal Luxury Icon */
.nav-mobile-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid #e5dcd0;
  background: #f7f3ed;
  cursor: pointer;
  padding: 8px 6px;
}

@media (min-width: 1024px) {
  .nav-mobile-toggle {
    display: none;
  }
}

.nav-mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #151413;
  border-radius: 2px;
}

/* Vernica-style Mobile Navbar (< 768px): Only Logo + Minimal Hamburger */
@media (max-width: 768px) {
  .site-header-inner {
    padding: 10px 16px;
    gap: 12px;
    justify-content: space-between;
  }

  .site-header-actions {
    gap: 10px;
  }

  /* Hide book button on phone navbar to prevent clutter & overflow; user has sticky bottom bar */
  .nav-book-btn {
    display: none !important;
  }

  .nav-phone-link {
    display: none !important;
  }

  .site-brand-logo {
    height: 36px;
    max-width: 38px;
  }

  .site-brand-name {
    font-size: 1.15rem;
    letter-spacing: 0.05em;
  }

  .site-brand-sub {
    font-size: 0.52rem;
    letter-spacing: 0.16em;
  }

  .nav-mobile-toggle {
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    padding: 8px 4px;
    gap: 6px;
  }

  /* Two lines like Vernica's minimal toggle */
  .nav-mobile-toggle span:nth-child(3) {
    display: none;
  }
}

/* Hero Title & Content */
.hero-content {
  position: relative;
  z-index: 10;
  max-width: 760px;
}



.hero-title {
  color: #ffffff;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.45);
  word-break: break-word;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 4.2rem;
  }
}

@media (min-width: 1200px) {
  .hero-title {
    font-size: 4.8rem;
  }
}

/* Hero Action Buttons (Bottom Left of Hero) */
.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
  position: relative;
  z-index: 12;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
  line-height: 1.2;
  white-space: nowrap;
}

.hero-btn:hover {
  transform: translateY(-2px);
}

.hero-btn:active {
  transform: translateY(0);
}

/* Black pill: Book an Appointment */
.hero-btn-appointment {
  background: #141414;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero-btn-appointment:hover {
  background: #242322;
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

/* WhatsApp pill: Chat on WhatsApp */
.hero-btn-whatsapp {
  background: #25D366;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.42);
}

.hero-btn-whatsapp:hover {
  background: #20bd5a;
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.58);
}

.btn-wa-icon {
  width: 22px;
  height: 22px;
  fill: #ffffff;
  flex-shrink: 0;
}

/* Instagram pill: along with instagram logo */
.hero-btn-instagram {
  background: #141414;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
}

.hero-btn-instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(225, 48, 108, 0.45);
}

.btn-insta-icon {
  width: 20px;
  height: 20px;
  fill: #ffffff;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 10px;
    margin-top: 20px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.96rem;
    gap: 8px;
    white-space: normal;
    text-align: center;
  }

  .btn-wa-icon {
    width: 20px;
    height: 20px;
  }

  .btn-insta-icon {
    width: 18px;
    height: 18px;
  }
}

/* Hero Bottom Bar */
.hero-bottom-bar {
  position: relative;
  z-index: 10;
  background: rgba(18, 44, 47, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 20px;
  padding: 24px 28px;
  color: #ffffff;
  box-shadow: var(--shadow-glass);
}

@media (min-width: 768px) {
  .hero-bottom-bar {
    padding: 26px 36px;
  }
}

.hero-bottom-top {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: flex-start;
}

@media (min-width: 768px) {
  .hero-bottom-top {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hero-subtext {
  font-size: 0.95rem;
  color: var(--color-text-translucent);
  max-width: 580px;
  line-height: 1.45;
}

.scroll-down-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.scroll-down-indicator:hover {
  color: #ffffff;
}

.mouse-icon {
  width: 16px;
  height: 24px;
  border: 1.5px solid currentColor;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.mouse-wheel {
  width: 2px;
  height: 5px;
  background: currentColor;
  border-radius: 1px;
  animation: mouseScroll 1.6s infinite ease;
}

@keyframes mouseScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }

  100% {
    transform: translateY(8px);
    opacity: 0;
  }
}

.hero-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 20px 0 16px;
}

.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

@media (min-width: 768px) {
  .hero-stats-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.stat-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

/* ==================== SECTION 002: EXPERIENCE & APPOINTMENT ==================== */

.experience-section {
  width: 100%;
  background: #decab0;
  border-radius: var(--radius-outer);
}

.experience-frame {
  position: relative;
  min-height: 72vh;
  border-radius: var(--radius-outer);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  padding: 24px 24px 20px;
  background: linear-gradient(135deg, #d9c0a0 0%, #caa57d 45%, #c39a67 100%);
  border: 1px solid rgba(104, 76, 49, 0.2);
}

@media (min-width: 992px) {
  .experience-frame {
    padding: 38px 48px 30px;
    min-height: 74vh;
  }
}

.experience-bg-container,
.experience-bg-img,
.experience-backdrop-tint {
  display: none;
}

.experience-grid {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: stretch;
  min-height: 100%;
}

@media (min-width: 992px) {
  .experience-grid {
    grid-template-columns: 1.12fr 0.88fr;
    gap: 42px;
    min-height: 580px;
  }
}

.experience-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-text-dark);
}

.experience-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  margin: 16px 0 28px;
  color: var(--color-text-dark);
}

@media (min-width: 768px) {
  .experience-title {
    font-size: 3.5rem;
  }
}

.experience-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.feature-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.feature-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-coral);
}

/* Appointment Card */
.appointment-card-container {
  display: flex;
  justify-content: flex-end;
  align-items: stretch;
}

.appointment-card {
  position: relative;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(124, 106, 83, 0.15);
  border-radius: var(--radius-card);
  box-shadow: 0 20px 60px rgba(41, 29, 18, 0.12);
  width: 100%;
  max-width: 520px;
  min-height: 500px;
  height: 100%;
  padding: 28px 26px 24px;
  overflow: hidden;
}

@media (min-width: 992px) {
  .appointment-card {
    min-height: 560px;
  }
}

.appointment-card-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-text-dark);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.form-field input,
.form-field select {
  width: 100%;
  height: 48px;
  background: #f8faf9;
  border: 1px solid #e1e8e6;
  border-radius: var(--radius-input);
  padding: 0 16px;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  transition: all var(--transition-fast);
  outline: none;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--color-teal-mid);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 61, 65, 0.12);
}

.input-with-icon {
  position: relative;
}

.field-icon {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1rem;
  pointer-events: none;
  opacity: 0.6;
}

.select-wrapper {
  position: relative;
}

.select-wrapper select {
  appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.select-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Always-visible clinic schedule above the live booking availability */
.clinic-hours-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 2px;
}
.clinic-hours-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  border: 1px solid #e8dfd3;
  border-radius: 12px;
  background: #fffdf9;
}
.clinic-hours-period {
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.clinic-hours-row strong {
  color: var(--color-text-dark);
  font-size: 0.88rem;
  line-height: 1.35;
}
@media (max-width: 420px) {
  .clinic-hours-summary { grid-template-columns: 1fr; }
}

/* Appointment slot picker */
.slot-availability-message {
  margin: 0 0 12px;
  padding: 9px 12px;
  border: 1px solid #e8e0d5;
  border-radius: 10px;
  background: #faf7f2;
  color: #655d54;
  font-size: 0.78rem;
  line-height: 1.45;
}
.slot-availability-message[data-state="success"] {
  border-color: #d6eadb;
  background: #f2f8f2;
  color: #28633e;
}
.slot-availability-message[data-state="warning"] {
  border-color: #f0dfb9;
  background: #fff9ed;
  color: #795719;
}
.slot-availability-message[data-state="error"] {
  border-color: #ead8d3;
  background: #fbf4f2;
  color: #875047;
}
.slot-availability-message[data-state="loading"] { color: #756b60; }

.slot-retry-button {
  margin: -3px 0 14px;
  padding: 7px 12px;
  border: 1px solid #c7a36c;
  border-radius: 999px;
  background: #fffaf2;
  color: #78582d;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
}
.slot-retry-button[hidden] { display: none; }
.slot-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 0.7rem;
  color: #756d64;
}
.slot-legend span { display: inline-flex; align-items: center; gap: 6px; }
.slot-legend-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: #2c9b61; }
.slot-legend-dot.booked { background: #aaa39a; }

.appointment-slots { display: flex; flex-direction: column; gap: 18px; }
.appointment-slot-group { display: flex; flex-direction: column; gap: 9px; }
.appointment-slot-heading-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}
.appointment-slot-heading {
  margin: 0;
  color: #211d19;
  font-size: 0.86rem;
  font-weight: 800;
}
.appointment-slot-hours {
  color: #81766a;
  font-size: 0.7rem;
  font-weight: 600;
}
.appointment-slot-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.appointment-slot {
  display: flex;
  min-width: 0;
  min-height: 52px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 7px 3px;
  border: 1px solid #d9e6dc;
  border-radius: 11px;
  background: #f5faf5;
  color: #24643e;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}
.appointment-slot-time {
  font-size: 0.76rem;
  line-height: 1.2;
  font-weight: 750;
  white-space: nowrap;
}
.appointment-slot-state {
  font-size: 0.61rem;
  line-height: 1.2;
  font-weight: 600;
  color: #578367;
}
.appointment-slot.available:hover:not(:disabled) {
  border-color: #8dbb99;
  background: #edf7ef;
  transform: translateY(-1px);
}
.appointment-slot.selected,
.appointment-slot.selected:hover {
  border-color: #171513;
  background: #171513;
  color: #fff;
  box-shadow: 0 3px 10px rgba(23, 21, 19, 0.16);
}
.appointment-slot.selected .appointment-slot-state { color: #e4d5b9; }
.appointment-slot.booked,
.appointment-slot.unverified,
.appointment-slot.checking {
  border-color: #e8e3dc;
  background: #f5f3f0;
  color: #a29a90;
  cursor: not-allowed;
  opacity: 1;
}
.appointment-slot.booked .appointment-slot-state,
.appointment-slot.unverified .appointment-slot-state,
.appointment-slot.checking .appointment-slot-state { color: #a29a90; }
.appointment-slot.booked .appointment-slot-state { color: #a16b5f; }
.slot-help-text { margin-top: 10px; font-size: 0.72rem; line-height: 1.5; color: var(--color-text-muted); }
#submitAppointmentBtn:disabled { opacity: 0.65; cursor: wait; }

@media (max-width: 420px) {
  .appointment-slot-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
  .appointment-slot { min-height: 49px; }
  .appointment-slot-time { font-size: 0.72rem; }
  .appointment-slot-hours { font-size: 0.65rem; }
}

.btn-submit {
  width: 100%;
  height: 50px;
  background: var(--color-teal-dark);
  color: #ffffff;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  transition: all var(--transition-fast);
}

.btn-submit:hover {
  background: var(--color-teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(18, 44, 47, 0.22);
}

.submit-arrow {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

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

/* ==================== SECTION 003: STORY ==================== */

.story-section {
  background: #ffffff;
  border-radius: var(--radius-outer);
  padding: 48px 28px;
  box-shadow: var(--shadow-subtle);
}

@media (min-width: 992px) {
  .story-section {
    padding: 64px 56px;
  }
}

.story-container {
  display: flex;
  gap: 36px;
}

.story-side-indicator {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  color: var(--color-text-muted);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding-top: 20px;
}

@media (min-width: 992px) {
  .story-side-indicator {
    display: flex;
  }
}

.side-mouse-icon {
  width: 14px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 3px;
  transform: rotate(180deg);
}

.story-main-content {
  flex: 1;
}

.story-header-row {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .story-header-row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.story-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-top: 8px;
}

@media (min-width: 768px) {
  .story-title {
    font-size: 3.4rem;
  }
}

.crafting-tagline {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--color-teal-mid);
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 992px) {
  .story-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 60px;
  }
}

.story-paragraph {
  font-size: 1.12rem;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 32px;
}

.story-milestones {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid #ede4d8;
  border-bottom: 1px solid #ede4d8;
}

.milestone-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.milestone-year {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-teal-dark);
}

.milestone-desc {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  border: none;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-dark);
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.read-more-btn:hover {
  gap: 16px;
  color: var(--color-coral);
}

.arrow-right-icon {
  width: 18px;
  height: 18px;
}

/* Story Doctor Card */
.story-portrait-card {
  position: relative;
  background: #d8c2a4;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(104, 76, 49, 0.15);
}

.portrait-wrapper {
  aspect-ratio: 4/5;
  overflow: hidden;
}

.doctor-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.03) brightness(0.98) sepia(0.14) hue-rotate(-12deg) saturate(0.94);
  transition: transform var(--transition-smooth);
}

.story-portrait-card:hover .doctor-portrait-img {
  transform: scale(1.03);
}

.portrait-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(16, 15, 14, 0.94) 0%, rgba(16, 15, 14, 0.6) 60%, transparent 100%);
  padding: 32px 24px 20px;
  color: #ffffff;
}

.portrait-caption h4 {
  font-size: 1.25rem;
  font-weight: 700;
}

.portrait-caption p {
  font-size: 0.85rem;
  color: var(--color-text-translucent);
}

/* ==================== SECTION 004: OUR BENEFIT ==================== */

.benefits-section {
  width: 100%;
}

.benefits-header {
  margin-bottom: 32px;
}

.benefits-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-top: 6px;
}

@media (min-width: 768px) {
  .benefits-title {
    font-size: 3.2rem;
  }
}

.benefits-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

@media (min-width: 1100px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 36px 28px 30px;
  box-shadow: var(--shadow-subtle);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.benefit-idx {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.benefit-heading {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--color-text-dark);
  margin-bottom: 16px;
}

.benefit-desc {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex: 1;
}

.benefit-footer {
  margin-top: auto;
}

.benefit-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #f1f6f5;
  color: var(--color-teal-mid);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}

/* ==================== SECTION 005: SERVICES (DARK SPRUCE) ==================== */

.services-dark-section {
  background: var(--color-teal-dark);
  border-radius: var(--radius-outer);
  padding: 44px 28px;
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
  .services-dark-section {
    padding: 64px 56px;
  }
}

.services-top-bar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

@media (min-width: 992px) {
  .services-top-bar {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }
}

.services-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.orange-accent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-coral);
}

.services-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 12px;
}

@media (min-width: 768px) {
  .services-title {
    font-size: 2.8rem;
  }
}

.services-intro {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.5;
}

.services-top-right {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
}

@media (min-width: 992px) {
  .services-top-right {
    align-items: flex-end;
  }
}

.clinic-location-chip,
.clinic-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.8);
}

.get-started-btn {
  margin-top: 8px;
}

.chevron-right {
  width: 16px;
  height: 16px;
}

/* Services Grid (Clean 2x3 or 3x2 with sleek borders) */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
}

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

@media (min-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-cell {
  background: var(--color-teal-dark);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.service-cell:hover {
  background: #22201d;
}

.service-cell-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-number {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
}

.service-cell-body {
  margin-bottom: 28px;
  flex: 1;
}

.service-name {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #ffffff;
}

.service-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.service-cell-action {
  margin-top: auto;
}

.book-service-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  transition: gap var(--transition-fast), color var(--transition-fast);
}

.book-service-btn .arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}

.book-service-btn:hover {
  color: var(--color-coral);
  gap: 12px;
}

.book-service-btn:hover .arrow {
  transform: translateX(4px);
}

/* ==================== SECTION 006: SPECIALISTS & AWARDS ==================== */

.specialists-section {
  width: 100%;
}

.specialists-header {
  margin-bottom: 32px;
}

.specialists-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-top: 6px;
}

@media (min-width: 768px) {
  .specialists-title {
    font-size: 3.2rem;
  }
}

.specialists-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.specialists-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
}

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

.doctor-award-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-subtle);
  border: 1px solid #ede4d8;
  display: grid;
  grid-template-columns: 1fr;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

@media (min-width: 640px) {
  .doctor-award-card {
    grid-template-columns: 1.15fr 1fr;
  }
}

.doctor-award-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.award-col {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.award-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: var(--color-teal-dark);
}

.laurel-wreath-icon {
  width: 24px;
  height: 24px;
  color: var(--color-coral);
}

.award-title {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.award-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.award-list li {
  display: flex;
  gap: 18px;
  align-items: baseline;
  border-bottom: 1px solid #ede4d8;
  padding-bottom: 12px;
}

.award-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.award-list .year {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-coral);
  min-width: 38px;
}

.award-list .title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-text-dark);
}

.doctor-info-col {
  background: var(--color-beige-surface);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px 0;
  border-left: 1px solid #ede4d8;
}

.doctor-meta {
  margin-bottom: 16px;
}

.doctor-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-text-dark);
  margin-bottom: 4px;
}

.doctor-exp {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--color-coral);
  margin-bottom: 8px;
}

.doctor-spec {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #151413;
  background: var(--color-beige-mid);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

.doctor-photo-wrap {
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 12px 12px 0 0;
}

/* FIXED: previously this rule closed too early, leaving orphaned lines */
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  filter: contrast(1.03) brightness(0.98) sepia(0.14) hue-rotate(-12deg) saturate(0.94);
  transition: transform var(--transition-smooth);
}

.doctor-award-card:hover .doctor-photo {
  transform: scale(1.04);
}

/* ==================== SECTION 007: TRANSFORMATION & TEAM BANNER ==================== */

.transformation-section {
  width: 100%;
}

.transformation-header {
  margin-bottom: 32px;
}

.transformation-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
  margin-top: 6px;
}

@media (min-width: 768px) {
  .transformation-title {
    font-size: 3.2rem;
  }
}

.transformation-sub {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

/* Before / After Interactive Slider */
.interactive-slider-wrapper {
  background: #ffffff;
  border-radius: var(--radius-outer);
  padding: 24px;
  border: 1px solid rgba(229, 220, 208, 0.85);
  box-shadow: 0 10px 30px rgba(30, 22, 16, 0.04);
  /* UPDATED: narrower + centered for the new 5:4 clinical photos */
  max-width: 760px;
  margin: 0 auto 32px;
}

/* Case 1 / Case 2 tabs (NEW) */
.case-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.case-tab {
  background: var(--color-beige-surface);
  border: 1px solid var(--color-beige-mid);
  color: var(--color-text-muted);
  padding: 8px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.case-tab:hover {
  border-color: var(--color-coral);
  color: var(--color-text-dark);
}

.case-tab.active {
  background: var(--color-teal-dark);
  border-color: var(--color-teal-dark);
  color: #ffffff;
}

.comparison-container {
  position: relative;
  width: 100%;
  /* UPDATED: was 3 / 2 with max-height 520px */
  aspect-ratio: 5 / 4;
  max-height: none;
  border-radius: var(--radius-card);
  overflow: hidden;
  user-select: none;
  cursor: ew-resize;
  touch-action: pan-y;
  background: var(--color-beige-light);
  border: 1px solid rgba(229, 220, 208, 0.8);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.04);
}

@media (max-width: 640px) {
  .comparison-container {
    /* UPDATED: was 4 / 3 with max-height 380px */
    aspect-ratio: 5 / 4;
    max-height: none;
  }

  .interactive-slider-wrapper {
    padding: 14px;
  }
}

.image-after,
.image-before {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.image-after img,
.image-before img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  /* UPDATED: was center */
  object-position: center 40% !important;
  display: block !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
  /* NEW: smooth fade when switching cases */
  transition: opacity 0.3s ease;
}

.comparison-container.is-swapping .image-after img,
.comparison-container.is-swapping .image-before img {
  opacity: 0;
}

.image-before {
  z-index: 2 !important;
  clip-path: inset(0 calc(100% - var(--slider-pos, 50%)) 0 0) !important;
  will-change: clip-path;
}

/* Range input element overlay */
.slider-range-input {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  margin: 0;
  padding: 0;
  cursor: ew-resize;
  z-index: 10;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
}

.slider-range-input:focus {
  outline: none;
}

.slider-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 60px;
  height: 600px;
  cursor: ew-resize;
  background: transparent;
}

.slider-range-input::-moz-range-thumb {
  width: 60px;
  height: 600px;
  cursor: ew-resize;
  border: none;
  background: transparent;
}

.comparison-tag {
  position: absolute;
  top: 18px;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  backdrop-filter: blur(10px);
  z-index: 3;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  transition: opacity 0.25s ease;
}

.tag-after {
  right: 18px;
  background: rgba(20, 19, 18, 0.9);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.tag-before {
  left: 18px;
  background: rgba(184, 138, 68, 0.92);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.slider-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--slider-pos, 50%);
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.45);
  z-index: 4;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Replacement for the slider handle */
/* Replacement for the slider handle */
.handle-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  border: 2px solid var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px; /* Space between the two vertical lines */
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  pointer-events: none; /* Prevents the handle from blocking clicks to the invisible range slider */
}

/* Two sleek vertical bars */
.handle-pill::before,
.handle-pill::after {
  content: '';
  display: block; /* This makes the lines visible */
  width: 2px;
  height: 14px;
  background-color: var(--color-coral);
  border-radius: 2px;
}

.comparison-container:hover .handle-pill,
.comparison-container.is-dragging .handle-pill {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 22px rgba(184, 138, 68, 0.45);
}

/* Hide the old case tabs class if you kept any CSS for it */
.case-tabs {
  display: none;
}

/* .handle-pill {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  border: 2.5px solid var(--color-coral);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  color: var(--color-teal-dark);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
  animation: pulseHandle 3.2s infinite ease-in-out;
}

@keyframes pulseHandle {

  0%,
  100% {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.28);
  }

  50% {
    box-shadow: 0 0 0 7px rgba(184, 138, 68, 0.22), 0 6px 22px rgba(0, 0, 0, 0.35);
  }
}

.comparison-container:hover .handle-pill,
.comparison-container.is-dragging .handle-pill {
  transform: translate(-50%, -50%) scale(1.1);
  border-color: var(--color-gold-accent);
  box-shadow: 0 8px 25px rgba(184, 138, 68, 0.45);
  animation: none;
} */

.slider-instruction {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 14px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* Team Overhead Banner */
.team-banner-card {
  position: relative;
  min-height: 480px;
  border-radius: var(--radius-outer);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  padding: 48px 36px;
}

@media (min-width: 768px) {
  .team-banner-card {
    min-height: 520px;
    padding: 60px 56px;
  }
}

.team-banner-img-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.team-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: contrast(1.03) brightness(0.98) sepia(0.14) hue-rotate(-12deg) saturate(0.94);
}

.team-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(16, 15, 14, 0.94) 0%, rgba(28, 26, 24, 0.72) 60%, rgba(16, 15, 14, 0.88) 100%);
}

.team-banner-content {
  position: relative;
  z-index: 5;
  max-width: 620px;
  color: #ffffff;
}

.banner-kicker {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-coral);
  display: inline-block;
  margin-bottom: 12px;
}

.banner-title {
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .banner-title {
    font-size: 3rem;
  }
}

.banner-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 32px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==================== SITE FOOTER ==================== */

.site-footer {
  background: var(--color-teal-deep);
  border-radius: var(--radius-outer);
  padding: 56px 28px 36px;
  color: #ffffff;
  box-shadow: var(--shadow-card);
}

@media (min-width: 992px) {
  .site-footer {
    padding: 72px 56px 40px;
  }
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

@media (min-width: 1024px) {
  .footer-top {
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  }
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.footer-mission {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  max-width: 320px;
}

.footer-links-col h4,
.footer-contact-col h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.footer-links-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

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

.footer-links-col a:hover {
  color: #ffffff;
}

.footer-contact-col .f-item {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  line-height: 1.4;
}

.emergency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  background: rgba(255, 90, 54, 0.15);
  color: #ff9179;
  border: 1px solid rgba(255, 90, 54, 0.3);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
}

.emergency-badge span {
  color: var(--color-coral);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.8);
  }
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding-top: 32px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

.footer-legal {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-legal a {
  color: inherit;
  transition: color var(--transition-fast);
}

.footer-legal a:hover {
  color: #ffffff;
}

/* ==================== VERNICA-STYLE LUXURY MENU DRAWER ==================== */

.menu-drawer {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  visibility: hidden;
  pointer-events: none;
  transition: visibility var(--transition-fast);
}

.menu-drawer.open {
  visibility: visible;
  pointer-events: auto;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 19, 18, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

.menu-drawer.open .menu-backdrop {
  opacity: 1;
}

.menu-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 360px;
  height: 100%;
  background: #fbf9f5;
  color: #151413;
  padding: 24px 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform var(--transition-smooth);
  box-shadow: 12px 0 45px rgba(20, 19, 18, 0.15);
  overflow-y: auto;
  box-sizing: border-box;
}

.menu-drawer.open .menu-content {
  transform: translateX(0);
}

.drawer-top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid #eae1d5;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #151413;
}

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

.drawer-brand-col {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.drawer-brand-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #151413;
}

.drawer-brand-line {
  display: block;
  width: 100%;
  height: 1px;
  background: #c59b58;
  margin: 3px 0;
}

.drawer-brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.54rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #7d7268;
}

.close-btn {
  background: transparent;
  border: none;
  color: #151413;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.close-btn:hover {
  color: #b88a44;
  transform: rotate(90deg);
}

.drawer-nav {
  margin: 20px 0;
  flex: 1;
}

.drawer-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.drawer-item {
  display: flex;
  flex-direction: column;
}

.drawer-main-link {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #151413;
  text-decoration: none;
  transition: color 0.18s ease, transform 0.18s ease;
  line-height: 1.2;
}

.drawer-main-link:hover {
  color: #b88a44;
  transform: translateX(4px);
}

.drawer-sub-list {
  border-left: 2px solid #e8dfd3;
  padding-left: 16px;
  margin: 10px 0 6px 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-sub-link {
  font-family: 'Outfit', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: #554f47;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.drawer-sub-link:hover {
  color: #b88a44;
  transform: translateX(3px);
}

.drawer-footer-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  border-top: 1px solid #eae1d5;
}

.drawer-btn-book {
  width: 100%;
  background: #141312;
  color: #ffffff;
  padding: 14px 20px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  border: 1px solid rgba(184, 138, 68, 0.4);
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.18);
  text-align: center;
}

.drawer-btn-book:hover {
  background: #b88a44;
  border-color: #b88a44;
}

.drawer-btn-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.drawer-btn-call {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #22201e;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.drawer-btn-call:hover {
  background: #383430;
}

.drawer-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #25D366;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 9999px;
  font-family: 'Outfit', sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
  transition: background 0.2s ease;
}

.drawer-btn-wa:hover {
  background: #1ebc59;
}

.drawer-icon {
  width: 17px;
  height: 17px;
}

/* ==================== CONTACT MODAL ==================== */

.contact-modal {
  border: none;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-card);
  max-width: 720px;
  width: 90%;
  margin: auto;
  box-shadow: var(--shadow-glass);
}

.contact-modal::backdrop {
  background: rgba(14, 35, 38, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-card {
  position: relative;
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 40px 32px 36px;
  overflow: hidden;
}

.close-modal-btn {
  position: absolute;
  top: 18px;
  right: 20px;
  background: transparent;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--color-text-muted);
  cursor: pointer;
  z-index: 10;
}

.close-modal-btn:hover {
  color: var(--color-coral);
}

.modal-header {
  margin-bottom: 28px;
}

.badge-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-coral);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

@media (min-width: 640px) {
  .contact-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #f7faf9;
  padding: 24px;
  border-radius: 12px;
}

.info-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.info-item .icon {
  font-size: 1.2rem;
}

.info-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--color-text-dark);
}

.info-item p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.quick-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quick-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quick-contact-form label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.quick-contact-form input,
.quick-contact-form textarea {
  width: 100%;
  background: #f8faf9;
  border: 1px solid #e1e8e6;
  border-radius: var(--radius-input);
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--color-text-dark);
  outline: none;
  transition: all var(--transition-fast);
}

.quick-contact-form input:focus,
.quick-contact-form textarea:focus {
  border-color: var(--color-teal-mid);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(27, 61, 65, 0.12);
}

/* ==================== TOAST NOTIFICATION ==================== */

.toast-notification {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--color-teal-dark);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  z-index: 2000;
  transform: translateY(150%);
  opacity: 0;
  transition: transform var(--transition-bounce), opacity var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.toast-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-coral);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
}

/* ==================== FREE INVISALIGN SCANNING VIP BANNER ==================== */
.invisalign-banner-section {
  width: 100%;
}

.invisalign-vip-card {
  position: relative;
  background: linear-gradient(135deg, #181715 0%, #24211e 60%, #1a1816 100%);
  border: 1px solid rgba(197, 155, 88, 0.4);
  border-radius: var(--radius-outer);
  padding: 44px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

@media (min-width: 992px) {
  .invisalign-vip-card {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 56px 52px;
  }
}

.invisalign-glow-accent {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(197, 155, 88, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

@media (max-width: 768px) {
  .invisalign-glow-accent {
    display: none;
  }

  .invisalign-vip-card {
    padding: 32px 18px;
    border-radius: 18px;
  }

  .invisalign-vip-actions {
    flex-direction: column;
    width: 100%;
  }

  .invisalign-vip-actions .btn {
    width: 100%;
  }
}

.invisalign-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(197, 155, 88, 0.18);
  border: 1px solid rgba(197, 155, 88, 0.45);
  color: var(--color-gold-accent);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.invisalign-vip-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 14px;
  color: #ffffff;
}

@media (min-width: 768px) {
  .invisalign-vip-title {
    font-size: 2.8rem;
  }
}

.invisalign-vip-desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 620px;
  line-height: 1.6;
}

.invisalign-vip-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.invisalign-features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 16px;
}

.invisalign-feat-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.invisalign-feat-tag span {
  color: var(--color-gold-accent);
  font-weight: 700;
}

/* ==================== SECTION 008: GOOGLE RATINGS & REVIEWS ==================== */
.google-ratings-section {
  width: 100%;
}

.google-ratings-card {
  background: #ffffff;
  border-radius: var(--radius-outer);
  padding: 44px 28px;
  box-shadow: var(--shadow-card);
  border: 1px solid #ede4d8;
}

@media (min-width: 992px) {
  .google-ratings-card {
    padding: 64px 56px;
  }
}

.google-ratings-header {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #ede4d8;
}

@media (min-width: 992px) {
  .google-ratings-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.google-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-beige-light);
  border: 1px solid var(--color-beige-mid);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.google-g-logo {
  width: 18px;
  height: 18px;
  display: block;
}

.google-badge-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-dark);
  letter-spacing: 0.04em;
}

.google-ratings-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-text-dark);
}

@media (min-width: 768px) {
  .google-ratings-title {
    font-size: 2.8rem;
  }
}

.google-score-banner {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-beige-surface);
  padding: 16px 24px;
  border-radius: var(--radius-card);
  border: 1px solid #ede4d8;
}

.google-big-score {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-text-dark);
  letter-spacing: -0.02em;
}

.google-score-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.google-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.google-score-sub {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

.google-reviews-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 1100px) {
  .google-reviews-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.google-review-cell {
  background: var(--color-beige-surface);
  border: 1px solid #ede4d8;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.google-review-cell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(24, 21, 18, 0.08);
  border-color: var(--color-gold-accent);
}

.reviewer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.reviewer-profile {
  display: flex;
  align-items: center;
  gap: 12px;
}

.reviewer-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-teal-dark);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
}

.reviewer-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-dark);
}

.reviewer-date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.review-stars-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
}

.review-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 18px;
}

.review-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-coral);
  background: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid #ede4d8;
}

.google-footer-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid #ede4d8;
}

.google-trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.google-trust-badge .check {
  color: #10b981;
  font-weight: 700;
}

/* ==================== FLOATING WHATSAPP BUTTON ==================== */
.floating-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #ffffff !important;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-bounce), box-shadow var(--transition-fast);
  text-decoration: none;
}

.floating-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.6);
}

.floating-whatsapp svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.floating-pulse {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #25D366;
  opacity: 0.4;
  animation: pulseAura 2s infinite ease-out;
  z-index: -1;
  pointer-events: none;
}

@keyframes pulseAura {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

/* Vernica-style Mobile Sticky Bottom Action Bar */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  .floating-whatsapp {
    display: none !important;
  }

  .mobile-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: #141312;
    border-top: 1px solid rgba(184, 138, 68, 0.45);
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    z-index: 1500;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.28);
  }

  .mobile-bar-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #ffffff;
    font-family: 'Outfit', sans-serif;
    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;
    background: transparent;
    border: none;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.15s ease;
    padding: 0;
    height: 100%;
  }

  .mobile-bar-action:last-child {
    border-right: none;
  }

  .mobile-bar-action:active {
    background: rgba(255, 255, 255, 0.12);
  }

  .mobile-bar-action .bar-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
  }
}

/* ==================== DOCTOR BADGES & CREDENTIALS ==================== */
.gold-medalist-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #fff7ed 0%, #fef3c7 100%);
  border: 1px solid #f59e0b;
  color: #b45309;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.gold-medal-icon {
  font-size: 1rem;
}

.specialty-subtitle {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-coral);
  margin-top: 2px;
}

/* Tagline below logo */
.brand-tagline-text {
  font-size: 0.72rem;
  color: var(--color-gold-accent);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.footer-brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
  display: block;
  text-transform: uppercase;
}

.footer-brand-subtitle {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-gold-accent);
  display: block;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  display: block;
}

/* ========================================================
   SUBPAGE DESIGN SYSTEM & VERNICA'S CLONE COMPONENTS
   Theme: Warm Luxury Beige, Champagne, Obsidian & Golden Caramel
   ======================================================== */

.subpage-body {
  background-color: #f8f6f0;
}

.subpage-main {
  padding: 10px 0 60px;
}

/* Breadcrumb Navigation */
.breadcrumb-bar {
  margin-bottom: 20px;
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  font-size: 0.85rem;
  color: #7a7268;
}

.breadcrumb-list a {
  color: #7a7268;
  text-decoration: none;
  transition: color 0.15s ease;
}

.breadcrumb-list a:hover {
  color: var(--color-coral);
}

.breadcrumb-list .separator {
  opacity: 0.5;
}

.breadcrumb-list .active {
  color: var(--color-teal-dark);
  font-weight: 600;
}

/* Treatment Hero Card */
.treatment-hero-card {
  background: #faf7f2;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 48px 36px;
  box-shadow: 0 10px 30px rgba(35, 28, 20, 0.04);
  margin-bottom: 32px;
}

@media (min-width: 768px) {
  .treatment-hero-card {
    padding: 64px 56px;
  }
}

.treatment-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 138, 68, 0.12);
  color: #946b2d;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

.treatment-hero-title {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--color-teal-dark);
  line-height: 1.15;
  margin-bottom: 18px;
}

@media (min-width: 768px) {
  .treatment-hero-title {
    font-size: 3.2rem;
  }
}

.treatment-hero-sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #6e675f;
  max-width: 820px;
  margin-bottom: 28px;
}

.treatment-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-dark-pill {
  background: #141312;
  color: #ffffff;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(20, 19, 18, 0.2);
}

.btn-dark-pill:hover {
  background: #2a2825;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(20, 19, 18, 0.3);
}

.btn-caramel-pill {
  background: #b88a44;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(184, 138, 68, 0.3);
}

.btn-caramel-pill:hover {
  background: #9e7232;
  transform: translateY(-2px);
}

.btn-white-pill {
  background: #ffffff;
  color: #141312;
  padding: 12px 26px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-white-pill:hover {
  background: #f7f3ed;
  transform: translateY(-2px);
}

.btn-outline-pill {
  background: transparent;
  color: currentColor;
  border: 1.5px solid currentColor;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-outline-pill:hover {
  background: rgba(20, 19, 18, 0.05);
  transform: translateY(-1px);
}

/* Section Common Headings */
.section-title-wrap {
  margin-bottom: 28px;
}

.section-pill {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b88a44;
  margin-bottom: 8px;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-teal-dark);
}

@media (min-width: 768px) {
  .section-heading {
    font-size: 2.4rem;
  }
}

.section-subtext {
  font-size: 1.05rem;
  color: #6e675f;
  max-width: 700px;
  margin-top: 8px;
  line-height: 1.6;
}

/* At a Glance Grid */
.treatment-glance-section {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 40px 32px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(35, 28, 20, 0.03);
}

.glance-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 1024px) {
  .glance-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.glance-card {
  background: #faf7f2;
  border: 1px solid #ece4d8;
  border-radius: var(--radius-card);
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.glance-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(35, 28, 20, 0.05);
}

.glance-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
}

.glance-content strong {
  display: block;
  font-size: 0.85rem;
  color: #7a7268;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.glance-content p {
  font-size: 1.05rem;
  font-weight: 700;
  color: #141312;
  line-height: 1.3;
}

/* Treatment Options Grid */
.treatment-options-section {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 40px 32px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(35, 28, 20, 0.03);
}

.treatment-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

.treatment-option-card {
  background: #faf7f2;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-card);
  padding: 28px 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.treatment-option-card:hover {
  transform: translateY(-3px);
  border-color: #b88a44;
  box-shadow: 0 10px 30px rgba(184, 138, 68, 0.1);
}

.option-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.option-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(184, 138, 68, 0.15);
  color: #946b2d;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.option-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}

.option-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6e675f;
}

/* Treatment Steps Grid */
.treatment-steps-section {
  background: #faf7f2;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 40px 32px;
  margin-bottom: 32px;
}

.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

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

@media (min-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.step-card {
  background: #ffffff;
  border: 1px solid #e8ded2;
  border-radius: var(--radius-card);
  padding: 28px 22px;
  position: relative;
  transition: transform 0.2s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(35, 28, 20, 0.05);
}

.step-number-tag {
  font-size: 1.8rem;
  font-weight: 800;
  color: #b88a44;
  margin-bottom: 12px;
  line-height: 1;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6e675f;
}

/* Why Choose Us Banner */
.why-choose-banner {
  background: #141312;
  color: #ffffff;
  border-radius: var(--radius-outer);
  padding: 48px 36px;
  margin-bottom: 32px;
  box-shadow: 0 16px 45px rgba(20, 19, 18, 0.15);
  border: 1px solid rgba(184, 138, 68, 0.35);
}

@media (min-width: 768px) {
  .why-choose-banner {
    padding: 60px 56px;
  }
}

.gold-badge {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #c59b58;
  display: block;
  margin-bottom: 12px;
}

.why-title {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.why-points-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 1.05rem;
  line-height: 1.6;
}

.why-points-list li {
  position: relative;
  padding-left: 28px;
}

.why-points-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #b88a44;
  font-weight: 800;
}

.why-points-list strong {
  color: #ffffff;
}

/* FAQs Accordion */
.treatment-faqs-section {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 40px 32px;
  margin-bottom: 32px;
  box-shadow: 0 6px 20px rgba(35, 28, 20, 0.03);
}

.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 900px;
}

.faq-accordion-item {
  border: 1px solid #e8dfd3;
  border-radius: 12px;
  overflow: hidden;
  background: #faf7f2;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.faq-accordion-item.active {
  border-color: #b88a44;
  background: #ffffff;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: transparent;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.4rem;
  color: #b88a44;
  transition: transform 0.2s ease;
  line-height: 1;
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer-pane {
  display: none;
  padding: 0 22px 18px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #6e675f;
}

.faq-accordion-item.active .faq-answer-pane {
  display: block;
}

/* Subpage Final CTA Card */
.subpage-cta-card {
  background: #faf7f2;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 48px 36px;
  text-align: center;
  margin-bottom: 32px;
}

.cta-kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #b88a44;
  display: block;
  margin-bottom: 12px;
}

.cta-heading {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-teal-dark);
  margin-bottom: 14px;
}

.cta-sub {
  font-size: 1.05rem;
  color: #6e675f;
  max-width: 650px;
  margin: 0 auto 28px;
  line-height: 1.6;
}

.cta-btn-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* Treatments Hub Grid */
.treatment-hub-grid-section {
  margin-bottom: 32px;
}

.hub-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.treatment-hub-card {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 36px 32px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(35, 28, 20, 0.03);
}

.treatment-hub-card:hover {
  transform: translateY(-4px);
  border-color: #b88a44;
  box-shadow: 0 16px 40px rgba(184, 138, 68, 0.12);
}

.hub-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.hub-card-icon {
  font-size: 2.4rem;
}

.hub-arrow-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: #b88a44;
}

.hub-card-title {
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-teal-dark);
  margin-bottom: 10px;
  transition: color 0.15s ease;
}

.treatment-hub-card:hover .hub-card-title {
  color: #b88a44;
}

.hub-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6e675f;
  flex: 1;
  margin-bottom: 24px;
}

.hub-card-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid #f2ede4;
}

.hub-tag {
  font-size: 0.8rem;
  font-weight: 600;
  color: #7a7268;
  background: #faf7f2;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.hub-analysis-callout {
  background: #faf7f2;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 48px 36px;
  margin-bottom: 32px;
}

.analysis-callout-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

@media (min-width: 992px) {
  .analysis-callout-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.analysis-pill {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #b88a44;
  margin-bottom: 8px;
  display: block;
}

.analysis-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-teal-dark);
  margin-bottom: 10px;
}

.analysis-desc {
  font-size: 1.05rem;
  color: #6e675f;
  max-width: 600px;
  line-height: 1.6;
}

/* Smile Analysis Wizard */
.wizard-container {
  margin-bottom: 40px;
}

.wizard-card {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 36px 28px;
  box-shadow: 0 12px 40px rgba(35, 28, 20, 0.05);
  max-width: 800px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .wizard-card {
    padding: 48px 44px;
  }
}

.wizard-progress-bar {
  width: 100%;
  height: 6px;
  background: #eee7dd;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin-bottom: 24px;
}

.wizard-progress-fill {
  height: 100%;
  background: #b88a44;
  border-radius: var(--radius-pill);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.wizard-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f2ece3;
}

.step-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: #b88a44;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.step-title-text {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-teal-dark);
}

.wizard-step-pane {
  display: none;
}

.wizard-step-pane.active {
  display: block;
}

.step-question {
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-teal-dark);
  margin-bottom: 18px;
  line-height: 1.3;
}

.step-subquestion {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-teal-dark);
  margin-bottom: 14px;
}

.step-desc-note {
  font-size: 0.95rem;
  color: #6e675f;
  margin-bottom: 24px;
  line-height: 1.6;
}

.option-grid {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.multi-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

.wizard-choice-pill,
.wizard-checkbox-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #faf7f2;
  border: 1.5px solid #e5dcd0;
  border-radius: 12px;
  padding: 12px 18px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b2825;
  cursor: pointer;
  transition: all 0.18s ease;
  user-select: none;
}

.wizard-choice-pill:hover,
.wizard-checkbox-pill:hover {
  background: #f4eee5;
  border-color: #b88a44;
}

.wizard-choice-pill input,
.wizard-checkbox-pill input {
  accent-color: #b88a44;
}

.wizard-choice-pill:has(input:checked),
.wizard-checkbox-pill:has(input:checked) {
  background: #fdfaf5;
  border-color: #b88a44;
  color: #141312;
  box-shadow: 0 4px 14px rgba(184, 138, 68, 0.15);
}

.wizard-btn-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #f2ece3;
}

.photo-upload-box {
  background: #faf7f2;
  border: 2px dashed #d5c8b7;
  border-radius: var(--radius-card);
  padding: 36px 24px;
  text-align: center;
  margin-bottom: 24px;
}

.upload-icon {
  font-size: 2.4rem;
  display: block;
  margin-bottom: 8px;
}

.upload-prompt strong {
  display: block;
  font-size: 1.05rem;
  color: var(--color-teal-dark);
  margin-bottom: 6px;
}

.upload-prompt p {
  font-size: 0.85rem;
  color: #7a7268;
  margin-bottom: 16px;
}

.upload-preview img {
  max-width: 240px;
  max-height: 240px;
  border-radius: 12px;
  margin: 0 auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.analysis-contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 auto;
}

/* Timeline Components */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 32px;
}

.timeline-card {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-card);
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 4px 16px rgba(35, 28, 20, 0.03);
}

@media (min-width: 768px) {
  .timeline-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 32px;
  }
}

.timeline-time {
  background: #b88a44;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
  width: fit-content;
}

.timeline-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-teal-dark);
  margin-bottom: 6px;
}

.timeline-body p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6e675f;
}

/* Luxury Pricing Table */
.luxury-pricing-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(35, 28, 20, 0.04);
  margin-bottom: 32px;
}

.table-responsive-wrapper {
  overflow-x: auto;
  margin-bottom: 32px;
}

.luxury-pricing-table th,
.luxury-pricing-table td {
  padding: 18px 24px;
  text-align: left;
  border-bottom: 1px solid #f2ede4;
}

.luxury-pricing-table th {
  background: #faf7f2;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7a7268;
}

.luxury-pricing-table tr:last-child td {
  border-bottom: none;
}

.price-highlight {
  color: #946b2d;
  font-weight: 800;
}

.table-action-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-coral);
  text-decoration: none;
}

.table-action-link:hover {
  text-decoration: underline;
}

/* Contact Grid */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 992px) {
  .contact-page-grid {
    grid-template-columns: 1fr 1.2fr;
  }
}

.contact-details-card,
.contact-form-card {
  background: #ffffff;
  border: 1px solid #e8dfd3;
  border-radius: var(--radius-outer);
  padding: 36px 32px;
  box-shadow: 0 10px 30px rgba(35, 28, 20, 0.04);
}

.contact-detail-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.detail-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  padding-top: 2px;
}

/* ========================================================
   BEFORE / AFTER SLIDER - FINAL COMPATIBILITY OVERRIDES
   Works with app.js targeting .image-before
   ======================================================== */
.comparison-container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  touch-action: pan-y;
  cursor: ew-resize;
}

.comparison-container .image-after,
.comparison-container .image-before {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

.comparison-container .image-after {
  z-index: 1 !important;
}

.comparison-container .image-before {
  z-index: 2 !important;
  clip-path: inset(0 50% 0 0) !important;
  -webkit-clip-path: inset(0 50% 0 0) !important;
  will-change: clip-path;
}

.comparison-container .image-after img,
.comparison-container .image-before img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover !important;
  object-position: center 40% !important;
  display: block !important;
  pointer-events: none !important;
  user-select: none !important;
  -webkit-user-drag: none !important;
}

.comparison-container .slider-divider {
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 50%;
  width: 3px !important;
  z-index: 4 !important;
  transform: translateX(-50%);
  pointer-events: none !important;
}

.comparison-container .handle-pill {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  z-index: 5 !important;
  transform: translate(-50%, -50%);
  pointer-events: none !important;
}

.comparison-container .slider-range-input {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  opacity: 0 !important;
  z-index: 10 !important;
  cursor: ew-resize !important;
  touch-action: pan-y !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  background: transparent !important;
}

.comparison-container .slider-range-input::-webkit-slider-thumb {
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 44px;
  height: 100%;
  cursor: ew-resize;
  background: transparent;
}

.comparison-container .slider-range-input::-moz-range-thumb {
  width: 44px;
  height: 100%;
  border: 0;
  cursor: ew-resize;
  background: transparent;
}

.comparison-container .slider-range-input:focus-visible {
  opacity: 0.08 !important;
  outline: 2px solid var(--color-coral);
  outline-offset: -3px;
}

@media (prefers-reduced-motion: reduce) {
  .comparison-container .handle-pill {
    transition: none !important;
  }
}

