/* ============================================
   SECTIONS — Hero + Nav (more sections added later)
   ============================================ */

/* ========== NAVIGATION ========== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: var(--space-lg) var(--space-xl);
  transition: background var(--duration-normal) var(--ease-out),
              backdrop-filter var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
}

.nav.scrolled .nav__inner {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  border-color: rgba(255, 255, 255, 0.1);
}

.nav__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  background: rgba(15, 15, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-full);
  padding: 8px 8px 8px 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: var(--weight-semibold);
  color: #ffffff;
}

.nav__brand-icon {
  width: 120px;
  height: 40px;
  border-radius: var(--border-radius-sm);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__brand-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.nav__link {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: #ffffff;
  transition: color var(--duration-fast) ease;
  position: relative;
}

.nav__link:hover {
  color: rgba(255, 255, 255, 0.75);
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  border-radius: 1px;
  transition: width var(--duration-normal) var(--ease-out);
}

.nav__link:hover::after {
  width: 100%;
}

.nav__link--book {
  display: none;
}

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 10px 24px;
  background: var(--color-text);
  color: white;
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  border-radius: var(--border-radius-full);
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.nav__cta:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 101;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform var(--duration-fast) var(--ease-out);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-height) + var(--space-4xl)) var(--space-xl) var(--space-4xl);
  overflow: hidden;
  background: linear-gradient(180deg, rgba(var(--color-primary-rgb), 0.14) 0%, rgba(var(--color-accent-rgb), 0.09) 30%, var(--color-bg-white) 60%);
}

/* Background gradient layer */
.hero__bg {
  position: absolute;
  inset: 0;
  background: transparent;
  z-index: 0;
}

/* Ambient floating orbs for depth */
.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(var(--color-primary-rgb), 0.2);
  top: -15%;
  right: -10%;
  animation: float-slow 20s ease-in-out infinite;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: rgba(var(--color-accent-rgb), 0.18);
  bottom: -10%;
  left: -10%;
  animation: float-slow 25s ease-in-out infinite reverse;
}

.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: rgba(var(--color-primary-rgb), 0.1);
  top: 40%;
  left: 35%;
  animation: float-slow 18s ease-in-out infinite 5s;
}

@keyframes float-slow {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -20px) scale(1.05); }
  50% { transform: translate(-20px, 30px) scale(0.95); }
  75% { transform: translate(20px, 20px) scale(1.02); }
}

/* Hero content layout */
.hero__inner {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--space-4xl);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.hero__content {
  flex: 1;
  max-width: 640px;
}

.hero__visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Badge above title */
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: 6px 16px 6px 8px;
  background: var(--glass-bg-strong);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  border-radius: var(--border-radius-full);
  font-size: var(--text-xs);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* Hero title */
.hero__title {
  font-size: var(--text-hero);
  font-weight: var(--weight-medium);
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-lg);
  opacity: 0;
  transform: translateY(30px);
}

.hero__title-line {
  display: block;
}

.hero__title-gradient {
  background: var(--gradient-primary);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* Hero subtitle */
.hero__subtitle {
  font-size: var(--text-body-lg);
  line-height: 1.7;
  color: var(--color-text-muted);
  max-width: 480px;
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
}

/* Hero CTAs */
.hero__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
  opacity: 0;
  transform: translateY(20px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-medium);
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
}

.btn--primary {
  background: var(--color-text);
  color: white;
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.3),
    0 2px 4px -1px rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.4),
    0 4px 8px -2px rgba(0, 0, 0, 0.2);
}

.btn--primary:active {
  transform: translateY(0px);
  box-shadow:
    0 2px 6px -2px rgba(0, 0, 0, 0.2);
}

.btn--white {
  background: var(--color-bg-white);
  color: var(--color-text);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow:
    0 4px 12px -2px rgba(0, 0, 0, 0.08),
    0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

.btn--white:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 24px -4px rgba(0, 0, 0, 0.12),
    0 4px 8px -2px rgba(0, 0, 0, 0.06);
}

.btn--white:active {
  transform: translateY(0px);
  box-shadow:
    0 2px 6px -2px rgba(0, 0, 0, 0.06);
}

.btn--secondary {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-text);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px -2px rgba(0, 0, 0, 0.08),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.btn--secondary:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.85));
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px -4px rgba(0, 0, 0, 0.1),
    0 4px 8px -2px rgba(0, 0, 0, 0.06);
}

.btn--secondary:active {
  transform: translateY(0px);
  box-shadow:
    0 1px 2px -1px rgba(0, 0, 0, 0.1) inset,
    0 2px 6px -2px rgba(0, 0, 0, 0.06);
}

.btn--call {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.75));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-text);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 4px 12px -2px rgba(0, 0, 0, 0.08),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-decoration: none;
}

.btn--call:hover {
  background: linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.85));
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 0 rgba(255, 255, 255, 0.9) inset,
    0 8px 24px -4px rgba(0, 0, 0, 0.1),
    0 4px 8px -2px rgba(0, 0, 0, 0.06);
}

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

.btn--call__label {
  font-weight: 600;
  letter-spacing: 0.02em;
}

.btn--call__divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.25);
  margin: 0 14px;
}

.btn--call__number {
  font-weight: 500;
  letter-spacing: 0.01em;
}

.btn__icon {
  width: 18px;
  height: 18px;
}

/* Hero trust badges */
.hero__trust {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  opacity: 0;
  transform: translateY(20px);
}

.hero__trust-item {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-small);
  color: var(--color-text-muted);
}

.hero__trust-value {
  font-weight: var(--weight-semibold);
  color: var(--color-text);
}

.hero__trust-stars {
  color: var(--color-accent);
  font-size: var(--text-body);
  letter-spacing: 1px;
}

.hero__trust-divider {
  width: 1px;
  height: 20px;
  background: var(--color-border-subtle);
}

/* ========== HERO VISUAL — The "Wow" Mockup ========== */
.hero__tooth-container {
  width: 100%;
  max-width: 350px;
  position: relative;
  opacity: 0;
  transform: translateX(80px) scale(0.95);
  display: flex;
  flex-direction: column;
  align-items: center;
}



.hero__tooth-canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.hero__tooth-video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

.hero__tooth-shadow {
  width: 60%;
  height: 20px;
  margin-top: -10px;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: shadowRevolve 3s ease-in-out infinite;
  z-index: 0;
  flex-shrink: 0;
}

@keyframes shadowRevolve {
  0%   { transform: translateX(-50%) scaleX(1) translateX(0); opacity: 0.7; }
  25%  { transform: translateX(-50%) scaleX(0.9) translateX(10px); opacity: 0.6; }
  50%  { transform: translateX(-50%) scaleX(1) translateX(0); opacity: 0.7; }
  75%  { transform: translateX(-50%) scaleX(0.9) translateX(-10px); opacity: 0.6; }
  100% { transform: translateX(-50%) scaleX(1) translateX(0); opacity: 0.7; }
}

/* Floating stat tabs around tooth */
.hero__float-tab {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transform: translateY(20px);
}

.hero__float-tab-number {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  line-height: 1.2;
}

.hero__float-tab-label {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero__float-tab--left {
  bottom: 10%;
  left: -60px;
  animation: floatTab 4s ease-in-out infinite;
}

.hero__float-tab--right {
  top: 0;
  right: -30px;
  animation: floatTab 4s ease-in-out infinite 2s;
}

@keyframes floatTab {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__orbit-badge {
  position: absolute;
  top: 5%;
  right: -20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  padding: 8px 16px;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  white-space: nowrap;
  z-index: 2;
  animation: slideBadge 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes slideBadge {
  0%   { right: -60px; opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { right: calc(100% - 80px); opacity: 0; }
}

/* (Old float/image styles removed — replaced by 3D tooth) */


/* ============================================
   STATEMENT SECTION
   ============================================ */
.statement {
  padding: 24px 0 80px;
  background: var(--color-bg-white);
}

.statement__inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.statement__pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  padding: 8px 20px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50px;
  margin-bottom: 32px;
  background: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.statement__pill:hover {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.2);
}

.statement__heading {
  font-size: 3.2rem;
  font-weight: var(--weight-medium);
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: 24px;
}

.statement__subtitle {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  max-width: 560px;
  margin: 0 auto;
}

/* Typewriter cursor */
.typewriter-cursor {
  display: inline-block;
  font-weight: 300;
  color: var(--color-primary);
  animation: cursorBlink 0.7s step-end infinite;
  margin-left: 2px;
}

.typewriter-cursor--hidden {
  opacity: 0;
  animation: none;
}

@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Statement grid — image left, content right */
.statement__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-top: 64px;
}

.statement__image-wrapper {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.12);
}

.statement__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 5;
}

.statement__content {
  display: flex;
  flex-direction: column;
}

.statement__text {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 16px;
}

.statement__text:last-of-type {
  margin-bottom: 36px;
}

.statement__highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.statement__highlight {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.statement__highlight-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(20, 184, 166, 0.08));
  color: var(--color-primary);
}

.statement__highlight-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.statement__highlight-desc {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .statement {
    padding: 80px 0;
  }

  .statement__heading {
    font-size: 2rem;
  }

  .statement__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .statement__image {
    aspect-ratio: 16 / 10;
  }
}

/* ============================================
   REVIEWS CAROUSEL
   ============================================ */
.reviews {
  padding: 80px 0 60px;
  background: var(--color-bg-white);
}

.reviews__marquee {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.reviews__marquee-inner {
  display: flex;
  width: max-content;
  will-change: transform;
}

.reviews__card {
  flex: 0 0 320px;
  min-width: 320px;
  margin-right: 24px;
  background: var(--color-bg-alt);
  border-radius: 16px;
  padding: 48px 24px 24px;
  text-align: center;
  position: relative;
  margin-top: 32px;
}

.reviews__avatar {
  position: absolute;
  top: -32px;
  left: 50%;
  transform: translateX(-50%);
}

.reviews__avatar-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-white);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.02em;
  position: relative;
}

.reviews__avatar-g {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: var(--color-bg-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.reviews__avatar-g svg {
  width: 14px;
  height: 14px;
}

.reviews__name {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 2px;
}

.reviews__date {
  display: block;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 12px;
}

.reviews__stars {
  font-size: 1.1rem;
  color: var(--color-star);
  letter-spacing: 2px;
  margin-bottom: 14px;
}

.reviews__text {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--color-text-secondary);
  margin: 0 0 12px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.reviews__readmore {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  text-decoration: none;
  cursor: pointer;
}

.reviews__readmore:hover {
  color: var(--color-text-secondary);
}



.reviews__rating {
  text-align: center;
  margin-top: 32px;
}

.reviews__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--color-text);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--border-radius-full);
  text-decoration: none;
  transition: transform var(--duration-fast) var(--ease-out),
              box-shadow var(--duration-fast) var(--ease-out);
}

.reviews__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}



@media (max-width: 768px) {
  .reviews__card {
    flex: 0 0 280px;
    min-width: 280px;
  }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
  padding: 100px 0 80px;
  background: var(--color-bg-section, var(--color-bg-section));
}

/* Intro area: text left, stats right */
.services__intro {
  display: flex;
  align-items: flex-start;
  gap: 64px;
  margin-bottom: 56px;
}

.services__intro-text {
  flex: 1.4;
}

.services__badge {
  display: inline-block;
  position: relative;
  padding: 6px 20px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-decoration: none;
  cursor: pointer;
  will-change: transform;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
}

.services__badge:hover {
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 6px -3px rgba(0, 0, 0, 0.2) !important;
}

.services__heading {
  font-family: var(--font-heading);
  font-size: var(--text-h2);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-top: 16px;
  margin-bottom: 20px;
}

.services__intro-body {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  max-width: 560px;
}

/* Stats column */
.services__intro-stats {
  flex: 0.6;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-top: 52px;
}

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

.services__stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services__stat-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Grid layout — 3 featured services in one row */
.services__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
}

@media (max-width: 1024px) and (min-width: 769px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Image-backed service card */
.services__card {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none;
  color: var(--color-bg-white);
  transition: transform var(--duration-normal) var(--ease-out),
              box-shadow var(--duration-normal) var(--ease-out);
  box-shadow:
    0 4px 20px -4px rgba(0, 0, 0, 0.12),
    0 2px 8px -2px rgba(0, 0, 0, 0.06);
}

.services__card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 20px 50px -12px rgba(0, 0, 0, 0.2),
    0 8px 20px -8px rgba(0, 0, 0, 0.1);
}

.services__card-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.services__card:hover .services__card-bg {
  transform: scale(1.05);
}

/* Dark gradient overlay — heavier at bottom for text readability */
.services__card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.72) 0%,
    rgba(0, 0, 0, 0.35) 40%,
    rgba(0, 0, 0, 0.05) 100%
  );
  transition: background var(--duration-normal) var(--ease-out);
}

.services__card:hover .services__card-overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.1) 100%
  );
}

/* Text content at bottom */
.services__card-content {
  position: relative;
  z-index: 1;
  padding: 32px;
}

.services__card-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-bg-white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.services__card-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin: 0;
}

/* CTA button */
.services__cta {
  text-align: center;
  margin-top: 56px;
}

/* Tablet */
@media (max-width: 1024px) {
  .services__intro {
    flex-direction: column;
    gap: 40px;
  }

  .services__intro-stats {
    flex-direction: row;
    gap: 40px;
    padding-top: 0;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .services {
    padding: 72px 0 60px;
  }

  .services__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .services__item {
    padding: 32px 24px;
  }

  .services__heading {
    font-size: 2rem;
  }

  .services__intro-stats {
    flex-direction: column;
    gap: 24px;
  }

  .services__intro {
    margin-bottom: 40px;
  }
}

/* ============================================
   MEET THE DOCTOR SECTION
   ============================================ */
.doctor {
  padding: 100px 0 100px;
  background: var(--color-bg-white);
  position: relative;
  overflow: hidden;
}

/* Subtle background accent blob */
.doctor::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(var(--color-primary-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

.doctor::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(var(--color-accent-rgb), 0.05) 0%, transparent 70%);
  pointer-events: none;
  border-radius: 50%;
}

/* Label row */
.doctor__label-wrap {
  text-align: center;
  margin-bottom: 56px;
}

.doctor__label {
  display: inline-block;
  position: relative;
  padding: 6px 20px;
  border: 1.5px solid var(--color-primary);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 1 !important;
  transform: none !important;
  visibility: visible !important;

}



/* ============================================
   MEET YOUR DOCTOR — Photo + Bio Grid
   ============================================ */

/* Main 2-col grid */
.doctor__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

/* ---- Photo column ---- */
.doctor__photo-col {
  position: relative;
}

.doctor__photo-wrapper {
  position: relative;
  border-radius: var(--border-radius-xl);
  overflow: visible;
}

.doctor__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--border-radius-xl);
  display: block;
  box-shadow:
    0 20px 60px -12px rgba(0, 0, 0, 0.18),
    0 8px 24px -8px rgba(0, 0, 0, 0.1);
  transition: transform var(--duration-slow) var(--ease-out);
}

.doctor__photo-wrapper:hover .doctor__photo {
  transform: scale(1.02);
}

/* Floating credential badges */
.doctor__badge {
  position: absolute;
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: 14px 20px;
  box-shadow:
    0 8px 30px rgba(0, 0, 0, 0.12),
    0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  transition: box-shadow 0.25s var(--ease-out);
  z-index: 10;
  cursor: default;
}

.doctor__badge:hover {
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.16),
    0 6px 16px rgba(0, 0, 0, 0.09);
}

.doctor__badge--years {
  bottom: 32px;
  left: -24px;
}

.doctor__badge--patients {
  top: 36px;
  right: -24px;
}

.doctor__badge-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.doctor__badge-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

.doctor__badge-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor__badge-icon svg {
  stroke: var(--color-bg-white);
}

/* Divider between doctors */
.doctor__divider {
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    var(--color-border-subtle) 20%,
    var(--color-border-subtle) 80%,
    transparent
  );
  margin: 80px 0;
}

/* Reversed grid: content left, photo right */
.doctor__grid--reverse {
  grid-template-columns: 1.1fr 1fr;
}

/* ---- Content column ---- */
.doctor__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.doctor__name {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1.15;
  margin-bottom: 8px;
}

.doctor__title {
  font-size: var(--text-small);
  font-weight: 600;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.doctor__bio {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

/* Credential chips */
.doctor__credentials {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
  margin-bottom: 36px;
}

.doctor__cred {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.doctor__cred-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--border-radius-sm);
  background: linear-gradient(135deg, rgba(var(--color-primary-rgb), 0.08), rgba(var(--color-accent-rgb), 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.doctor__cred-icon svg {
  stroke: var(--color-primary);
}

.doctor__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .doctor__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
  }

  .doctor__badge--years {
    left: -12px;
  }

  .doctor__badge--patients {
    right: -12px;
  }
}

@media (max-width: 768px) {
  .doctor__grid,
  .doctor__grid--reverse {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .doctor__grid--reverse .doctor__photo-col {
    order: -1;
  }

  .doctor__photo-col {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .doctor__photo {
    aspect-ratio: 4 / 3;
  }

  .doctor__badge--years {
    left: 16px;
    bottom: -20px;
  }

  .doctor__badge--patients {
    right: 16px;
    top: -20px;
  }

  .doctor__label-wrap {
    margin-bottom: 40px;
  }

  .doctor__divider {
    margin: 48px 0;
  }
}

/* ============================================
   BOTTOM PAGE GRADIENT
   ============================================ */
.page-footer-gradient {
  height: 600px;
  margin-top: -500px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(20, 184, 166, 0.04) 30%,
    rgba(20, 184, 166, 0.065) 55%,
    rgba(59, 130, 246, 0.09) 100%
  );
  pointer-events: none;
  position: relative;
  z-index: 0;
}


/* ============================================
   INSURANCE & FINANCING SECTION
   ============================================ */

.insurance {
  padding: 100px 0 110px;
  background: linear-gradient(180deg, var(--color-bg-white) 0%, rgba(var(--color-primary-rgb), 0.08) 50%, rgba(var(--color-accent-rgb), 0.12) 100%);
  position: relative;
}

.insurance__intro {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 64px;
}

.insurance__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  background: rgba(var(--color-accent-rgb), 0.08);
  border: 1px solid rgba(var(--color-accent-rgb), 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  margin-bottom: 20px;
}

.insurance__heading {
  font-size: clamp(1.9rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: var(--color-text-primary);
  line-height: 1.15;
  margin-bottom: 16px;
}

.insurance__body {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* Cards grid */
.insurance__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: stretch;
  gap: 24px;
  max-width: 700px;
  margin: 0 auto;
}

.insurance__card {
  background: var(--color-bg-primary);
  border: 1px solid rgba(0, 0, 0, 0.18);
  border-radius: var(--border-radius-xl);
  padding: 28px 24px 24px;
  cursor: pointer;
  transition:
    transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.22s var(--ease-out),
    border-color 0.22s var(--ease-out);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
}

.insurance__card::before {
  display: none;
}

.insurance__card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
  border-color: rgba(0, 0, 0, 0.08);
}

.insurance__card:hover .insurance__card-icon svg {
  stroke: currentColor;
}

.insurance__card > * {
  position: relative;
  z-index: 1;
}

.insurance__card-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius-lg);
  background: rgba(var(--color-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: background 0.22s var(--ease-out);
  color: var(--color-primary);
}

.insurance__card:hover .insurance__card-icon {
  background: rgba(255, 255, 255, 0.15);
}

.insurance__card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 10px;
  transition: color 0.22s;
}

.insurance__card-desc {
  font-size: 0.92rem;
  color: var(--color-text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
  transition: color 0.22s;
  flex: 1;
}

.insurance__card-cta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.22s, gap 0.2s;
  margin-top: auto;
}

.insurance__card:hover .insurance__card-cta {
  gap: 10px;
}

/* ---- Modal ---- */
.ins-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s var(--ease-out);
}

.ins-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.ins-modal {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-xl);
  padding: 48px 40px 40px;
  max-width: 520px;
  width: 100%;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-height: 85vh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.ins-modal::-webkit-scrollbar {
  display: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.ins-modal-overlay.is-open .ins-modal {
  transform: translateY(0) scale(1);
}

.ins-modal__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--color-border-subtle);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  transition: background 0.18s, color 0.18s;
}

.ins-modal__close:hover {
  background: var(--color-bg-secondary);
  color: var(--color-text-primary);
}

.ins-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--border-radius-lg);
  background: rgba(var(--color-primary-rgb), 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--color-primary);
}

.ins-modal__title {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin-bottom: 20px;
}

.ins-modal__content {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.ins-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.ins-modal__list li {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-primary);
}

.ins-modal__search-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.ins-modal__search {
  width: 100%;
  padding: 10px 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  outline: none;
  transition: border-color 0.2s;
}

.ins-modal__search:focus {
  border-color: var(--color-primary);
}

.ins-modal__search::placeholder {
  color: var(--color-text-tertiary);
}

.ins-modal__pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 1fr;
  gap: 10px;
}

@media (max-width: 480px) {
  .ins-modal__pills {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ins-modal__pill {
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 12px;
  padding: 12px 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  transition: all 0.2s ease;
}

.ins-modal__pill--match {
  background: rgba(var(--color-primary-rgb), 0.12);
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: scale(1.05);
  box-shadow: 0 2px 8px rgba(var(--color-primary-rgb), 0.2);
}

.ins-modal__pill--dim {
  opacity: 0.3;
}

.ins-modal__not-found {
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-text-tertiary);
  margin-top: 12px;
}

.ins-modal__info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ins-modal__info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: var(--color-bg-secondary);
  border: 1px solid var(--color-border-subtle);
  border-radius: 14px;
  transition: border-color 0.2s;
}

.ins-modal__info-card:hover {
  border-color: var(--color-primary);
}

.ins-modal__info-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--color-primary-rgb), 0.08);
  border-radius: 12px;
  color: var(--color-primary);
}

.ins-modal__info-body {
  flex: 1;
}

.ins-modal__info-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0 0 6px;
}

.ins-modal__info-desc {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin: 0;
}

.ins-modal__fin-item {
  margin-bottom: 8px;
}
.ins-modal__fin-item .ins-modal__pill {
  margin-bottom: 4px;
}
.ins-modal__fin-desc {
  font-size: 0.82rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  margin: 2px 0 0 12px;
}

.ins-modal__note {
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--color-text-tertiary);
}

.ins-modal__call-verify {
  text-align: center;
  padding: 24px 0 8px;
}
.ins-modal__call-text {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text-secondary);
  max-width: 400px;
  margin: 0 auto 20px;
}
.ins-modal__call-action {
  margin-top: 8px;
}
.ins-modal__phone-link {
  display: inline-block;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  padding: 12px 32px;
  border: 2px solid var(--color-accent);
  border-radius: 12px;
  transition: all 0.2s ease;
}
.ins-modal__phone-link:hover {
  background: var(--color-accent);
  color: #fff;
}

@media (max-width: 768px) {
  .insurance {
    padding: 72px 0 80px;
  }

  .insurance__grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .ins-modal {
    padding: 40px 24px 32px;
  }
}

/* ============================================
   BOOKING SECTION
   ============================================ */

.booking {
  padding: 20px 0 80px;
  background: var(--color-bg-secondary);
}

.booking__header {
  text-align: center;
  margin-bottom: 48px;
}

.booking__title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 12px;
}

.booking__subtitle {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 480px;
  margin: 0 auto;
}

/* Option A: Embed */
.booking__embed-frame {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--border-radius-xl);
  overflow: hidden;
  border: 1px solid var(--color-border-subtle);
  background: var(--color-bg-white);
}

.booking__iframe {
  width: 100%;
  min-height: 600px;
  border: none;
}

/* Option B: Form */
.booking__form-wrap {
  max-width: 680px;
  margin: 0 auto;
}

.booking__form {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-xl);
  padding: 40px 36px;
  border: 1px solid var(--color-border-subtle);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.booking__form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 28px;
}

.booking__field--full {
  grid-column: 1 / -1;
}

.booking__label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-primary);
  margin-bottom: 6px;
}

.booking__optional {
  font-weight: 400;
  color: var(--color-text-tertiary);
}

.booking__input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border-subtle);
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--color-text-primary);
  background: var(--color-bg-secondary);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.booking__input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.1);
}

.booking__input::placeholder {
  color: var(--color-text-tertiary);
}

.booking__select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.booking__textarea {
  resize: vertical;
  min-height: 80px;
}

.booking__submit {
  width: 100%;
  padding: 16px 24px;
  background: var(--color-primary);
  color: var(--color-bg-white);
  border: none;
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.booking__submit:hover {
  background: var(--color-primary-dark, var(--color-primary-dark));
  transform: translateY(-1px);
}

.booking__submit:active {
  transform: translateY(0);
}

.booking__disclaimer {
  text-align: center;
  font-size: 0.82rem;
  color: var(--color-text-tertiary);
  margin-top: 16px;
}

/* Success state */
.booking__success {
  text-align: center;
  padding: 60px 24px;
}

.booking__success-icon {
  color: var(--color-success);
  margin-bottom: 16px;
}

.booking__success-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-text-primary);
  margin: 0 0 8px;
}

.booking__success-text {
  font-size: 1rem;
  color: var(--color-text-secondary);
}

@media (max-width: 768px) {
  .booking {
    padding: 72px 0 64px;
  }

  .booking__form {
    padding: 28px 20px;
  }

  .booking__form-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   CONTACT / HOURS / BOOKING SECTION
   ============================================ */

.contact {
  padding: 100px 0 110px;
  background: var(--color-dark);
  position: relative;
  overflow: clip;
}

/* Side-by-side layout */
.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact__layout > * {
  min-width: 0;
}

/* ---- Map side ---- */
.contact__map-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  max-width: 100%;
}

.contact__map-frame {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,0.14);
  aspect-ratio: 4/3;
  position: relative;
  width: 100%;
  max-width: 100%;
}

.contact__map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.35s ease;
}

.contact__map-frame:hover .contact__map-iframe {
  filter: grayscale(0%) contrast(1);
}

/* Pill below map */
.contact__pin-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-bg-white);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 10px 18px;
  font-size: 0.82rem;
  color: var(--color-dark);
}

.contact__pin-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-mid);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.25);
}

.contact__directions-link {
  margin-left: auto;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  text-decoration: none;
  transition: color 0.18s ease;
}

.contact__directions-link:hover {
  color: var(--color-primary);
}

/* ---- Info side ---- */
.contact__info {
  padding-top: 8px;
}

.contact__info * {
  color: var(--color-bg-white) !important;
}

.contact__heading {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  color: var(--color-bg-white) !important;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.contact__subtext {
  font-size: 0.97rem;
  color: var(--color-bg-white) !important;
  line-height: 1.65;
  margin-bottom: 40px;
}

.contact__section-block {
  margin-bottom: 32px;
}

.contact__section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-bg-white) !important;
  margin-bottom: 14px;
}

/* Hours */
.contact__hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contact__hours-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  font-size: 0.92rem;
}

.contact__hours-list li:last-child {
  border-bottom: none;
}

.contact__day {
  color: var(--color-bg-white) !important;
  font-weight: 500;
}

.contact__time {
  color: var(--color-bg-white) !important;
  font-size: 0.88rem;
}

.contact__hours-closed .contact__day,
.contact__hours-closed .contact__time {
  color: rgba(255,255,255,0.45) !important;
}

/* Phone + address row */
.contact__section-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact__phone {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-bg-white);
  text-decoration: none;
  transition: color 0.18s ease;
}

.contact__phone:hover {
  color: rgba(255,255,255,0.65);
}

.contact__address-link {
  font-size: 0.92rem;
  color: var(--color-bg-white);
  text-decoration: none;
  line-height: 1.65;
  transition: color 0.18s ease;
}

.contact__address-link:hover {
  color: var(--color-bg-white);
}

/* Book block */
.contact__book-block {
  margin-top: 40px;
  padding-top: 36px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.contact__book-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-dark);
  color: var(--color-bg-white);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 15px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: gap 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
  margin-bottom: 14px;
}

.contact__book-btn:hover {
  gap: 14px;
  box-shadow: 0 10px 28px rgba(15,23,42,0.18);
  transform: translateY(-2px);
}

.contact__book-note {
  font-size: 0.8rem;
  color: var(--color-bg-white) !important;
}

/* Responsive */
@media (max-width: 860px) {
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .contact__map-frame {
    aspect-ratio: 16/9;
  }
}

@media (max-width: 600px) {
  .contact {
    padding: 60px 0 70px;
    overflow: visible;
  }
  .contact__map-frame {
    aspect-ratio: 4/3;
    border-radius: 16px;
  }
  .contact__map-wrap,
  .contact__info {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }
  .contact__heading {
    font-size: 1.6rem;
  }
}

@media (max-width: 500px) {
  .contact__section-row {
    grid-template-columns: 1fr;
  }
}

/* ── Footer ── */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 0;
  background: var(--color-dark, #0f172a);
  color: var(--color-muted-gray, #94a3b8);
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.88rem;
  line-height: 1.6;
}

/* ---- Footer top: social + contact info ---- */
.site-footer__top {
  max-width: 1200px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.site-footer__practice-name {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}
.site-footer__tagline {
  font-size: 0.85rem;
  opacity: 0.7;
}
.site-footer__social {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}
.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: var(--color-muted-gray, #94a3b8);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.site-footer__social a:hover {
  background: var(--color-primary, #6B3A5E);
  color: #ffffff;
  transform: translateY(-2px);
}
.site-footer__social svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Contact column */
.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.site-footer__contact-heading {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}
.site-footer__contact a {
  color: var(--color-muted-gray, #94a3b8);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__contact a:hover {
  color: #ffffff;
}

/* Hours column */
.site-footer__hours {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.site-footer__hours-heading {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 4px;
}

/* ---- Footer bottom: copyright bar ---- */
.site-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  opacity: 0.7;
}
.site-footer__sep {
  opacity: 0.4;
}
.site-footer__bottom a {
  color: var(--color-muted-gray, #94a3b8);
  text-decoration: none;
  transition: color 0.2s;
}
.site-footer__bottom a:hover {
  color: #ffffff;
}

/* ---- Footer responsive ---- */
@media (max-width: 768px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 36px 20px 28px;
  }
  .site-footer__social {
    justify-content: center;
  }
  .site-footer__contact,
  .site-footer__hours {
    align-items: center;
  }
}

/* ============================================
   DOCTOR SECTION (homepage + about)
   ============================================ */
.about-doctors {
  background: var(--color-bg-white);
  padding: 80px 24px;
  margin-top: 80px;
}
.about-doctors__inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ============================================
   SERVICES PAGE — tile icon & link resets
   (moved from inline styles for Stark-readiness)
   ============================================ */
.services-tile__link {
  text-decoration: none;
  color: inherit;
}

.services-tile__icon {
  width: 48px;
  height: 48px;
  filter: brightness(0) invert(1);
}

/* ============================================
   SHARED — bottom CTA / old footer inline styles
   ============================================ */
.page-bottom-cta {
  background: var(--color-dark);
  color: var(--color-bg-white);
  padding: 40px 24px;
  text-align: center;
}

.page-bottom-cta__copy {
  opacity: 0.7;
  font-size: 0.9rem;
}

.page-bottom-cta__link {
  color: var(--color-bg-white);
  margin-top: 12px;
  display: inline-block;
  font-size: 0.9rem;
}

/* Services page CTA button (white on dark) */
.btn--cta-white {
  display: inline-flex;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-bg-white);
  color: var(--color-primary);
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--cta-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.3);
}

/* About page CTA button (white on dark) */
.btn--about-cta {
  align-self: flex-start;
  margin-top: 4px;
  display: inline-flex;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  background: var(--color-bg-white);
  color: var(--color-dark);
  border-radius: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn--about-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.3);
}


/* ========== TEAM SECTION — Flip Cards ========== */

.team-section {
  padding: 5rem 1.5rem;
  background: var(--gradient-cloud, #f8fafc);
}

.team-section__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.team-section__subtitle {
  color: var(--color-text-secondary);
  font-size: 1.1rem;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

/* ---- Flip Card Container ---- */
.team-card {
  perspective: 1000px;
  height: 480px;
}

.team-card__inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
  cursor: pointer;
}

.team-card:hover .team-card__inner,
.team-card.flipped .team-card__inner {
  transform: rotateY(180deg);
}

/* ---- Front & Back shared ---- */
.team-card__front,
.team-card__back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  border-radius: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
}

/* ---- Front ---- */
.team-card__front {
  background: var(--color-bg-white, #fff);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  padding: 0.75rem;
  justify-content: flex-start;
  gap: 0.5rem;
}

.team-card__photo {
  width: 100%;
  flex: 1;
  border-radius: 0.75rem;
  object-fit: cover;
  object-position: top center;
  min-height: 0;
}

.team-card__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
  line-height: 1.2;
}

.team-card__role {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  margin: 0;
  line-height: 1.2;
}

.team-card__flip-hint {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: auto;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.team-card:hover .team-card__flip-hint {
  opacity: 1;
}

/* ---- Back ---- */
.team-card__back {
  background: var(--gradient-primary, linear-gradient(135deg, #6B3A5E, #8B5A7E));
  color: #fff;
  transform: rotateY(180deg);
  padding: 2rem 1.5rem;
  justify-content: center;
  text-align: left;
}

.team-card__back .team-card__name {
  color: #fff;
  font-size: 1.1rem;
  text-align: center;
}

.team-card__back .team-card__role {
  color: rgba(255,255,255,0.85);
  text-align: center;
  margin-bottom: 1.25rem;
}

.team-card__creds {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-card__creds li {
  font-size: 0.85rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  line-height: 1.4;
}

.team-card__creds li:last-child {
  border-bottom: none;
}

/* ---- Responsive: stack on mobile ---- */
@media (max-width: 640px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  .team-card {
    height: 380px;
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ---- Touch support: toggle flip on tap ---- */
@media (hover: none) {
  .team-card:hover .team-card__inner {
    transform: none;
  }
  .team-card.flipped .team-card__inner {
    transform: rotateY(180deg);
  }
}
