/* ==========================================================================
   HOUSE OF TOOTH — DR. SNEHA BOKADIA MOTA
   Premium, Clean, Light & Medical Aesthetic
   Palette: Fresh Soft Mint, Porcelain White, Powder Blue, Forest Slate Ink
   ========================================================================== */

/* ============ 1. DESIGN TOKENS ============ */
:root {
  /* Clean, bright, light palette (No dark mode, no purple) */
  --mint:            #E3F2E6;    /* Fresh, luminous mint background */
  --mint-soft:       #EDF7EF;    /* Ultra-light porcelain mint */
  --mint-accent:     #C5E8CE;    /* Refined mint badge border / highlight */
  --mint-deep:       #2D7A58;    /* Professional dental green accent */
  --teal:            #0DAAB8;    /* House of Tooth signature teal */
  --teal-soft:       #E4F5F7;    /* Delicate teal tint */
  --blue:            #E9F3F9;    /* Airy powder blue for online consult */
  --blue-accent:     #CBE4F3;    /* Powder blue border */
  --white:           #FFFFFF;    /* Pure clinical porcelain */
  --warm:            #FAFBF9;    /* Warm alabaster white for alternating sections */
  --card-bg:         #FFFFFF;
  --ink:             #142820;    /* Deep forest slate ink — high contrast & luxurious */
  --ink-light:       #42574E;    /* Soft muted charcoal green for body paragraphs */
  --ink-muted:       #6C8077;    /* Subtle captions & timestamps */
  --wa-green:        #25D366;    /* Official WhatsApp brand green */
  --wa-hover:        #20BD5A;
  --gold:            #F5A623;    /* Google review star rating */

  /* Typography */
  --font-head:       'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body:       'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  /* Elevations & Radii */
  --radius-sm:       12px;
  --radius-md:       20px;
  --radius-lg:       30px;
  --radius-full:     9999px;

  --shadow-sm:       0 4px 16px -4px rgba(20, 40, 32, 0.06);
  --shadow-md:       0 12px 36px -10px rgba(20, 40, 32, 0.08);
  --shadow-lg:       0 22px 55px -14px rgba(20, 40, 32, 0.12);
  --shadow-hover:    0 24px 60px -12px rgba(20, 40, 32, 0.16);

  --border-light:    1px solid rgba(20, 40, 32, 0.08);
  --border-mint:     1px solid rgba(45, 122, 88, 0.15);

  --ease:            cubic-bezier(0.22, 1, 0.36, 1);
  --container-max:   1240px;
}

/* ============ 2. BASE & RESET ============ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--mint);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
}

/* Typography Headings */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--ink);
  font-weight: 600;
}

h1 {
  font-size: clamp(2.8rem, 6.2vw, 5.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.6rem;
  font-weight: 600;
}

h4 {
  font-size: 1.25rem;
}

.center {
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mint-deep);
  margin-bottom: 0.85rem;
}

.eyebrow--teal {
  color: #0E8D99;
}

.eyebrow--accent {
  color: var(--mint-deep);
  background: rgba(45, 122, 88, 0.08);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
}

.lead-p {
  font-size: 1.12rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 1.8rem;
}

.section-sub {
  font-size: 1.15rem;
  color: var(--ink-light);
  max-width: 620px;
  margin: 0.5rem auto 3rem;
}

/* ============ 3. BUTTONS & PILLS ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(20, 40, 32, 0.3);
}

.btn--primary:hover {
  background: #0f1f18;
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -8px rgba(20, 40, 32, 0.4);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  border: 1.5px solid rgba(20, 40, 32, 0.2);
  backdrop-filter: blur(8px);
}

.btn--outline:hover {
  background: var(--white);
  border-color: var(--ink);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.btn--whatsapp {
  background: var(--wa-green);
  color: var(--white);
  box-shadow: 0 10px 24px -6px rgba(37, 211, 102, 0.4);
}

.btn--whatsapp:hover {
  background: var(--wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 16px 32px -6px rgba(37, 211, 102, 0.55);
}

.btn-icon {
  flex-shrink: 0;
}

/* Badge Pill */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.1rem;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(45, 122, 88, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  backdrop-filter: blur(10px);
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 14px -4px rgba(20, 40, 32, 0.05);
}

/* ============ 4. NAVIGATION ============ */

/* Sticky Main Navigation */
.nav {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(227, 242, 230, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(20, 40, 32, 0.07);
  transition: all 0.35s var(--ease);
  padding: 0.85rem 0;
}

.nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 30px -10px rgba(20, 40, 32, 0.08);
  padding: 0.6rem 0;
}

.nav__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
}

.nav__link {
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  position: relative;
  padding: 0.4rem 0;
  transition: color 0.3s;
}

.nav__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--mint-deep);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.nav__link:hover {
  color: var(--mint-deep);
}

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

.nav__right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav__cta {
  padding: 0.65rem 1.4rem;
  font-size: 0.88rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  background: transparent;
  padding: 0;
}

.nav__toggle-bar {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ============ 5. HERO SECTION ============ */
.hero {
  position: relative;
  min-height: auto;
  display: flex;
  align-items: center;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0 clamp(4rem, 6vw, 6rem);
  overflow: hidden;
  background:
    radial-gradient(800px circle at 85% 30%, rgba(203, 228, 243, 0.45) 0%, transparent 70%),
    radial-gradient(600px circle at 15% 80%, rgba(255, 255, 255, 0.6) 0%, transparent 60%),
    var(--mint);
  --mx: 50%;
  --my: 50%;
}

/* Desktop Mouse Spotlight */
.hero__spotlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: radial-gradient(460px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.65), transparent 70%);
  opacity: 0.8;
  transition: opacity 0.4s;
}

.hero__bubbles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.8);
  animation: float linear infinite;
}

@keyframes float {
  from { transform: translateY(0); opacity: 0; }
  15% { opacity: 0.9; }
  85% { opacity: 0.9; }
  to { transform: translateY(-110vh); opacity: 0; }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  position: relative;
  z-index: 1;
}

.hero__text {
  max-width: 650px;
  min-width: 0;
  width: 100%;
}

.hero__title {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 1.25rem;
  color: var(--ink);
}

.hero__name {
  font-family: var(--font-body);
  font-size: clamp(2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  white-space: nowrap;
  display: block;
}

.hero__creds {
  display: block;
  font-family: var(--font-body);
  font-size: clamp(0.78rem, 1.25vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--mint-deep);
  text-transform: uppercase;
  margin-top: 0.45rem;
  text-align: center;
  width: 100%;
}

.hero__sub {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1.2rem;
  min-height: 1.8em;
}

.caret {
  display: inline-block;
  color: var(--mint-deep);
  animation: blink 1s steps(1) infinite;
  margin-left: 2px;
  font-weight: 300;
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero__lead {
  font-size: 1.15rem;
  color: var(--ink-light);
  line-height: 1.75;
  margin-bottom: 2.2rem;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 3rem;
}

/* Stats Counter */
.stats {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: clamp(0.4rem, 1.2vw, 1rem);
  width: 100%;
  max-width: 100%;
}

.stat {
  flex: 1 1 0px;
  min-width: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: clamp(10px, 1.5vw, var(--radius-md));
  padding: clamp(0.55rem, 1.2vw, 1.1rem) clamp(0.25rem, 0.8vw, 1rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

.stat__number strong {
  font-family: var(--font-head);
  font-size: clamp(1.25rem, 2.3vw, 2.4rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1;
  display: inline-block;
  white-space: nowrap;
}

.stat__label {
  font-size: clamp(0.62rem, 0.88vw, 0.82rem);
  font-weight: 600;
  color: var(--ink-muted);
  margin-top: 0.3rem;
  letter-spacing: 0;
  line-height: 1.2;
  word-break: break-word;
}

.stat--highlight {
  background: #FFFFFF;
  border: 1.5px solid var(--mint-deep);
}

.stat--highlight .stat__number strong {
  color: var(--mint-deep);
}

/* Hero Right: Photo & 3D Elements */
.hero__photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 100%;
}

.hero__photo-bg {
  position: absolute;
  width: min(390px, 85vw);
  aspect-ratio: 1;
  background: radial-gradient(circle, #FFFFFF 60%, #E8F5E9 100%);
  border-radius: 50%;
  box-shadow: 0 25px 60px -15px rgba(20, 40, 32, 0.12);
  animation: morph 14s ease-in-out infinite;
  z-index: 0;
}

@keyframes morph {
  0%, 100% { border-radius: 52% 48% 54% 46% / 46% 54% 46% 54%; }
  33%      { border-radius: 58% 42% 48% 52% / 52% 46% 54% 48%; }
  66%      { border-radius: 46% 54% 56% 44% / 50% 58% 42% 50%; }
}

.hero__photo-card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  display: flex;
  justify-content: center;
}

.hero__img {
  position: relative;
  max-height: 66vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(20, 40, 32, 0.14));
  transition: transform 0.25s ease-out;
}

/* Floating 3D Tooth Element */
.floating-element--tooth {
  position: absolute;
  top: 8%;
  right: -5%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.6rem 1.1rem 0.6rem 0.6rem;
  border-radius: var(--radius-full);
  box-shadow: 0 16px 36px -10px rgba(20, 40, 32, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.95);
  animation: float-bob 6s ease-in-out infinite;
  backdrop-filter: blur(12px);
}

.element-3d {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.12));
}

.element-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.02em;
}

@keyframes float-bob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(2deg); }
}

/* Hero Trust Badge */
.hero__trust-badge {
  position: absolute;
  bottom: 6%;
  left: -2%;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #FFFFFF;
  padding: 0.85rem 1.3rem;
  border-radius: var(--radius-md);
  box-shadow: 0 18px 40px -12px rgba(20, 40, 32, 0.18);
  border: 1px solid rgba(20, 40, 32, 0.06);
  animation: float-bob-reverse 7s ease-in-out infinite;
}

@keyframes float-bob-reverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.trust-badge__icon {
  font-size: 1.6rem;
}

.trust-badge__content strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
}

.trust-badge__content span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ============ THIN INFINITE LOOPING FEATURE STRIP ============ */
.feature-strip {
  background: #FFFFFF;
  padding: 0.75rem 0;
  border-top: 1px solid rgba(20, 40, 32, 0.07);
  border-bottom: 1px solid rgba(20, 40, 32, 0.07);
  position: relative;
  z-index: 2;
  overflow: hidden;
  box-shadow: 0 4px 18px -4px rgba(20, 40, 32, 0.03);
}

.feature-strip__marquee {
  width: 100%;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 3%, black 97%, transparent 100%);
}

.feature-strip__track {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  width: max-content;
  animation: stripContinuous 32s linear infinite;
  will-change: transform;
}

.feature-strip:hover .feature-strip__track {
  animation-play-state: paused;
}

@keyframes stripContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 1.1rem));
  }
}

.strip-item {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.25s var(--ease), color 0.25s;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
}

.strip-item:hover {
  color: var(--mint-deep);
  transform: translateY(-2px);
}

.strip-item__icon {
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  background: var(--mint-soft);
  border: 1px solid rgba(45, 122, 88, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.strip-item__title {
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.strip-item__sep {
  color: #C59828;
  font-size: 0.72rem;
  margin-left: 1.4rem;
  opacity: 0.75;
}

/* ============ 6. SECTION COMMONS ============ */
.section {
  padding: clamp(4.5rem, 8vw, 7.5rem) 0;
  position: relative;
}

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

.section--blue {
  background: #DCEAF2;
  overflow: hidden;
}

.section--clinic {
  background: #FFFFFF;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 3.5rem;
}

/* Split Layout (2 Columns) */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.split--reverse .split__img {
  order: 2;
}

.split__title {
  font-size: clamp(1.75rem, 4.2vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.split__tagline {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 600;
  font-style: italic;
  line-height: 1.35;
  color: var(--mint-deep);
  margin-bottom: 1.25rem;
}

.split__tagline--teal {
  color: #0E8D99;
}


.split__img,
.split__graphic {
  position: relative;
  width: 100%;
}

.img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.img-frame img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.8s var(--ease);
}

.img-frame:hover img {
  transform: scale(1.02);
}

.badge {
  position: absolute;
  bottom: -15px;
  left: 30px;
  background: var(--ink);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 25px -5px rgba(20, 40, 32, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.badge__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4EEDA0;
}

.badge__dot--blue {
  background: #4EC8ED;
}

.img-badge-corner {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255, 255, 255, 0.92);
  padding: 0.7rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(10px);
  text-align: right;
}

.img-badge-corner strong {
  display: block;
  font-size: 0.88rem;
  color: var(--mint-deep);
}

.img-badge-corner span {
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.img-badge-corner--teal strong {
  color: #0E8D99;
}

/* Benefit List in Home Visit */
.benefit-list {
  list-style: none;
  display: grid;
  gap: 1.25rem;
  margin: 1.8rem 0 2.2rem;
}

.benefit-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.benefit-icon {
  width: 26px;
  height: 26px;
  background: #D5EDE0;
  color: var(--mint-deep);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit-list strong {
  display: block;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 0.2rem;
}

.benefit-list p {
  font-size: 0.92rem;
  color: var(--ink-light);
  line-height: 1.55;
}

.action-box {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-start;
}

/* ============ CLINIC COMES TO YOU: SCROLL JOURNEY STRIP ============ */
.clinic-journey {
  position: relative;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 2.8rem 2.2rem 2.2rem;
  margin: 0;
  width: 100%;
  border: 1px solid rgba(23, 25, 24, 0.08);
  box-shadow: 0 20px 48px -12px rgba(23, 25, 24, 0.09);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* Faint powder-blue (#DCEAF2) blurred depth element */
.clinic-journey__backdrop {
  position: absolute;
  top: -30px;
  right: 15%;
  width: 280px;
  height: 220px;
  background: radial-gradient(circle, rgba(220, 234, 242, 0.85) 0%, rgba(220, 234, 242, 0) 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
}

.clinic-journey__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* SVG Viewports */
.journey-svg {
  width: 100%;
  height: auto;
  overflow: visible;
}

.journey-svg--desktop {
  display: block;
  max-width: 100%;
}

.journey-svg--mobile {
  display: none;
  max-width: 220px;
}

/* Path styles */
#routeDesktop,
#routeMobile {
  transition: opacity 0.4s ease;
  will-change: stroke-dashoffset, opacity;
}

/* Traveler */
.journey-traveler {
  will-change: transform, opacity;
  transition: opacity 0.4s ease;
}

/* Node circle base */
.node-circle {
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* Clinic Icon Idle Floating Motion (translateY 4px, 4s ease-in-out infinite) */
.journey-node-float {
  animation: clinicIdleFloat 4s ease-in-out infinite;
  transform-origin: center;
}

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

/* Home Arrival Pulse */
.journey-node--home.pulse .node-circle--home {
  animation: homeGentlePulse 0.85s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes homeGentlePulse {
  0% {
    transform: scale(1);
  }
  45% {
    transform: scale(1.12);
  }
  75% {
    transform: scale(0.96);
  }
  100% {
    transform: scale(1);
  }
}

/* Arrival Checkmark Badge */
.journey-badge {
  transform: translate(26px, -26px) scale(0);
  transform-origin: 0 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-badge.is-visible {
  transform: translate(26px, -26px) scale(1);
}

#arrivalBadgeMobile {
  transform: translate(22px, -22px) scale(0);
}

#arrivalBadgeMobile.is-visible {
  transform: translate(22px, -22px) scale(1);
}

/* SVG Text labels */
.node-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  fill: #171918;
  letter-spacing: 0.01em;
  user-select: none;
}

/* Caption (Real HTML Text) */
.clinic-journey__caption {
  position: relative;
  z-index: 1;
  margin-top: 0.85rem;
  display: flex;
  justify-content: center;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.clinic-journey__caption.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.caption-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  background: rgba(220, 234, 203, 0.55);
  border: 1px solid rgba(23, 25, 24, 0.08);
  box-shadow: 0 2px 10px -2px rgba(23, 25, 24, 0.06);
}

.caption-pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

.caption-text {
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: #171918;
  letter-spacing: -0.01em;
}

/* Responsive breakpoint: switch to vertical on screens < 600px */
@media (max-width: 599px) {
  .journey-svg--desktop {
    display: none;
  }
  .journey-svg--mobile {
    display: block;
  }
  .clinic-journey {
    padding: 1.8rem 1.4rem 1.4rem;
    margin: 0 auto;
  }
  .caption-text {
    font-size: 1rem;
  }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .journey-node-float,
  .caption-pulse,
  .journey-node--home.pulse .node-circle--home {
    animation: none !important;
  }
  .clinic-journey__caption {
    opacity: 1 !important;
    transform: none !important;
  }
  .journey-badge {
    transform: translate(26px, -26px) scale(1) !important;
  }
  #arrivalBadgeMobile {
    transform: translate(22px, -22px) scale(1) !important;
  }
}

.action-note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ============ ONLINE CONSULTATION: PHONE MOCKUP & CHAT ANIMATION ============ */
.split--online {
  align-items: center;
}

/* Phone Showcase Container (Right Column) */
.phone-showcase {
  position: relative;
  width: 100%;
  max-width: 440px;
  min-height: 640px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Ambient Background Details */
.phone-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 380px;
  height: 480px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.phone-bg-grid {
  position: absolute;
  bottom: 10px;
  right: -10px;
  width: 160px;
  height: 160px;
  background-image: radial-gradient(circle, rgba(23, 25, 24, 0.16) 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.55;
  mask-image: radial-gradient(circle at bottom right, black 35%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at bottom right, black 35%, transparent 75%);
}

/* Phone Mockup Frame (CSS-built) */
.phone-mockup {
  position: relative;
  z-index: 2;
  width: 300px;
  height: 590px;
  background: #171918;
  border-radius: 40px;
  border: 10px solid #171918;
  box-shadow: 0 25px 60px -15px rgba(23, 25, 24, 0.28), 0 0 0 1px rgba(23, 25, 24, 0.08);
  animation: phoneIdleFloat 6s ease-in-out infinite;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  user-select: none;
}

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

/* Hardware Notch */
.phone-mockup__notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 115px;
  height: 22px;
  background: #171918;
  border-radius: 0 0 14px 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.phone-mockup__speaker {
  width: 42px;
  height: 4px;
  border-radius: 2px;
  background: #2A2D2B;
}

.phone-mockup__camera {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0E100F;
  border: 1px solid #1f2220;
}

/* Phone Screen */
.phone-screen {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  background: #F8F8F6;
  border-radius: 30px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Screen Top Bar */
.phone-screen__header {
  position: relative;
  z-index: 10;
  background: #FFFFFF;
  padding: 1.7rem 0.95rem 0.75rem;
  border-bottom: 1px solid rgba(23, 25, 24, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px -2px rgba(23, 25, 24, 0.03);
}

.phone-screen__doctor {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.doctor-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid #DCEACB;
  background: #E3F2E6;
}

.doctor-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.doctor-name {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 700;
  color: #171918;
}

.doctor-status {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 500;
  color: #142820;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 2px rgba(37, 211, 102, 0.2);
}

.header-action-pill {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  background: #E6F8ED;
  color: #0E8045;
  border-radius: var(--radius-full);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

/* Phone Screen Chat Stream */
.phone-screen__chat {
  flex: 1;
  padding: 1rem 0.85rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.phone-screen__chat::-webkit-scrollbar {
  width: 4px;
}
.phone-screen__chat::-webkit-scrollbar-thumb {
  background: rgba(23, 25, 24, 0.1);
  border-radius: 4px;
}

/* Chat Bubbles */
.chat-bubble {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.42;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: opacity, transform;
}

.chat-bubble.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* Patient Bubble (Right, soft-black #171918) */
.chat-bubble--patient {
  align-self: flex-end;
  background: #171918;
  color: #FFFFFF;
  border-radius: 16px 16px 4px 16px;
  padding: 0.65rem 0.95rem;
  max-width: 82%;
  box-shadow: 0 4px 14px -3px rgba(23, 25, 24, 0.15);
}

/* Doctor Bubble (Left, white #FFFFFF) */
.chat-bubble--doctor {
  align-self: flex-start;
  background: #FFFFFF;
  color: #171918;
  border-radius: 16px 16px 16px 4px;
  padding: 0.65rem 0.95rem;
  max-width: 85%;
  border: 1px solid rgba(23, 25, 24, 0.06);
  box-shadow: 0 4px 14px -3px rgba(23, 25, 24, 0.05);
}

/* Typing Indicator Bubble */
.chat-bubble--typing {
  display: inline-flex;
  gap: 4.5px;
  align-items: center;
  padding: 0.75rem 1rem;
  width: fit-content;
}

.typing-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #171918;
  animation: typingBounce 1.2s infinite ease-in-out;
}

.typing-dot:nth-child(1) { animation-delay: 0s; }
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.35;
  }
  40% {
    transform: translateY(-6px);
    opacity: 1;
  }
}

/* Floating UI Cards */
.floating-card {
  position: absolute;
  z-index: 10;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 14px 30px -12px rgba(23, 25, 24, 0.3);
  font-family: var(--font-body);
  font-size: 14px;
  color: #171918;
  padding: 0.7rem 1rem;
  border: 1px solid rgba(23, 25, 24, 0.06);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform, opacity;
}

.floating-card__inner {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* Stagger reveal when showcase enters view */
.phone-showcase.in .floating-card {
  opacity: 1;
  transform: scale(1);
}

.phone-showcase.in .floating-card--1 { transition-delay: 0.15s; }
.phone-showcase.in .floating-card--2 { transition-delay: 0.35s; }
.phone-showcase.in .floating-card--3 { transition-delay: 0.55s; }
.phone-showcase.in .floating-card--4 { transition-delay: 0.75s; }

/* Floating Card Positions & Oscillation Animations */
.floating-card--1 {
  top: 40px;
  left: -28px;
}
.floating-card--1 .floating-card__inner {
  animation: cardFloat1 5.8s infinite alternate ease-in-out;
}

.floating-card--2 {
  top: 135px;
  right: -32px;
}
.floating-card--2 .floating-card__inner {
  animation: cardFloat2 7.2s infinite alternate ease-in-out;
}

.floating-card--3 {
  top: 330px;
  left: -36px;
}
.floating-card--3 .floating-card__inner {
  animation: cardFloat3 6.4s infinite alternate ease-in-out;
}

.floating-card--4 {
  bottom: 45px;
  right: -24px;
}
.floating-card--4 .floating-card__inner {
  animation: cardFloat4 7.6s infinite alternate ease-in-out;
}

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

@keyframes cardFloat2 {
  0% { transform: translateX(0); }
  100% { transform: translateX(12px); }
}

@keyframes cardFloat3 {
  0% { transform: translateY(0); }
  100% { transform: translateY(-14px); }
}

@keyframes cardFloat4 {
  0% { transform: translateY(0); }
  100% { transform: translateY(10px); }
}

/* Card Icons & Badges */
.card-dot-live {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  animation: cardLivePulse 2s infinite;
}

@keyframes cardLivePulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.text-online {
  color: #0E8045;
  font-weight: 700;
}

.card-icon-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 0.82rem;
  flex-shrink: 0;
}

.card-icon-circle--mint {
  background: #DCEACB;
  color: #171918;
}

.card-icon-circle--soft {
  background: #F8F8F6;
  color: #171918;
  border: 1px solid rgba(23, 25, 24, 0.08);
}

.card-icon-circle--check {
  font-weight: 800;
  font-size: 0.86rem;
  color: #171918;
}

/* Responsive Rules */
@media (max-width: 1024px) {
  .split--home,
  .split--online {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    justify-items: center;
    text-align: center;
  }
  .split--home .split__text,
  .split--online .split__text {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .split--home .split__title,
  .split--home .split__tagline,
  .split--home .lead-p,
  .split--online .split__title,
  .split--online .split__tagline,
  .split--online .lead-p {
    text-align: center;
  }
  .split--home .action-box,
  .split--online .action-box {
    align-items: center;
    text-align: center;
  }
  .split--home .action-note,
  .split--online .action-note {
    text-align: center;
  }
}

@media (max-width: 599px) {
  .phone-showcase {
    transform: scale(0.8);
    transform-origin: top center;
    margin-bottom: -75px;
    max-width: 100%;
  }
  .floating-card--2,
  .floating-card--3 {
    display: none !important;
  }
  .floating-card--1 {
    top: 15px;
    left: 2px;
  }
  .floating-card--4 {
    bottom: 25px;
    right: 2px;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  .phone-mockup,
  .floating-card__inner,
  .card-dot-live,
  .typing-dot {
    animation: none !important;
  }
  .floating-card {
    opacity: 1 !important;
    transform: none !important;
  }
  .chat-bubble {
    opacity: 1 !important;
    transform: none !important;
  }
}



/* ============ 8. REAL TESTIMONIALS CAROUSEL ============ */
.carousel-wrapper {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.carousel__track {
  display: flex;
  transition: transform 0.65s var(--ease);
  will-change: transform;
}

.carousel__slide {
  flex: 0 0 100%;
  width: 100%;
}

.tcard {
  background: #FFFFFF;
  padding: 3rem;
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2.8rem;
  align-items: center;
  min-height: 290px;
}

.tcard--featured {
  background: linear-gradient(135deg, #FFFFFF 0%, #F5FAF6 100%);
}

.tcard__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.65rem;
  padding-right: 2rem;
  border-right: 1px solid rgba(20, 40, 32, 0.08);
}

.patient-avatar {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #E8F5E9;
  color: var(--mint-deep);
  font-size: 1.6rem;
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px -4px rgba(20, 40, 32, 0.1);
}

.patient-avatar--m { background: #E1F5FE; color: #0288D1; }
.patient-avatar--t { background: #FFF3E0; color: #F57C00; }
.patient-avatar--s { background: #E8F5E9; color: #2E7D32; }
.patient-avatar--dhy { background: #F3E5F5; color: #7B1FA2; }
.patient-avatar--a { background: #E0F2F1; color: #00796B; }
.patient-avatar--sh { background: #FFF8E1; color: #FFA000; }

.tcard__patient-meta strong {
  display: block;
  font-size: 1.12rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.tcard__verified {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.75rem;
  color: var(--mint-deep);
  font-weight: 600;
}

.check-icon {
  background: var(--mint-deep);
  color: #fff;
  border-radius: 50%;
  width: 14px;
  height: 14px;
  font-size: 0.65rem;
  display: grid;
  place-items: center;
}

.tcard__badge-special {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: #0E8D99;
  background: #E4F5F7;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.tcard__stars {
  display: block;
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin-top: 0.3rem;
}

.tcard__body {
  position: relative;
}

.quote-mark {
  font-family: var(--font-head);
  font-size: 5rem;
  line-height: 1;
  position: absolute;
  top: -2.2rem;
  left: -0.5rem;
  color: rgba(45, 122, 88, 0.15);
  pointer-events: none;
}

.tcard blockquote {
  font-family: var(--font-head);
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 500;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 1;
}

.tcard__highlight {
  font-size: 0.86rem;
  color: var(--mint-deep);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Carousel Controls */
.carousel__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel__btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: #FFFFFF;
  color: var(--ink);
  display: grid;
  place-items: center;
  transition: all 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
}

.carousel__btn:hover {
  background: var(--ink);
  color: #FFFFFF;
  transform: scale(1.06);
}

.carousel__dots {
  display: flex;
  gap: 0.55rem;
}

.carousel__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(20, 40, 32, 0.2);
  border: none;
  cursor: pointer;
  transition: all 0.35s var(--ease);
}

.carousel__dot.active {
  width: 26px;
  border-radius: 6px;
  background: var(--mint-deep);
}

/* ============ 9. CLINIC INFO & LOCATION (Clean, Light Theme) ============ */
.clinic-card-wrap {
  background: var(--warm);
  border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(20, 40, 32, 0.08);
}

.clinic-card-header {
  margin-bottom: 3.5rem;
}

.clinic__doc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--mint-deep);
  margin-top: 0.2rem;
}

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

.clinic__details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.info-block {
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
}

.info-block__icon {
  font-size: 1.8rem;
  width: 54px;
  height: 54px;
  background: var(--white);
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.06);
  flex-shrink: 0;
}

.info-block__text h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.info-block__text address {
  font-style: normal;
  font-size: 0.98rem;
  color: var(--ink-light);
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.direction-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--mint-deep);
  transition: gap 0.25s;
}

.direction-link:hover {
  gap: 0.65rem;
  text-decoration: underline;
}

.timing-badge strong {
  display: block;
  font-size: 0.95rem;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.time-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.time-slots .slot {
  background: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  border: 1px solid rgba(20, 40, 32, 0.08);
}

.timing-sub {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: 0.5rem;
}

.phone-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.35rem;
}

.phone-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--mint-deep);
}

.phone-sub {
  font-size: 0.85rem;
  color: var(--ink-muted);
}

.info-block__icon--insta {
  color: #C13584;
  background: #FFF2F5;
  border-color: rgba(193, 53, 132, 0.18);
}

.clinic-insta-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #C13584;
  margin-bottom: 0.25rem;
  transition: gap 0.25s, color 0.2s;
}

.clinic-insta-link:hover {
  gap: 0.65rem;
  color: #833AB4;
  text-decoration: underline;
}

/* Map Frame */
.map-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(20, 40, 32, 0.08);
}

.map-header {
  padding: 0.85rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  background: #FAFBF9;
  border-bottom: 1px solid rgba(20, 40, 32, 0.06);
}

.map-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #E53935;
}

.map-frame {
  width: 100%;
  flex: 1;
  min-height: 320px;
  border: none;
}

.map-footer {
  padding: 0.75rem 1.2rem;
  font-size: 0.8rem;
  color: var(--ink-muted);
  background: #FAFBF9;
  border-top: 1px solid rgba(20, 40, 32, 0.06);
}

/* ============ 10. CLEAN PREMIUM FOOTER ============ */
.footer {
  background: #172F24;
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 4rem;
}

.footer__brand-col {
  max-width: 380px;
}

.footer__logo {
  height: 48px;
  width: auto;
  margin-bottom: 1.4rem;
  /* Filter to render dark logo visible and crisp in footer */
  filter: brightness(0) invert(1);
}

.footer__lead {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.4rem;
}

.footer__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: #FFFFFF;
}

.badge-star {
  color: var(--gold);
}

.footer__socials {
  margin-top: 1.2rem;
}

.footer__insta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #FFFFFF;
  text-decoration: none;
  transition: all 0.25s ease;
}

.footer__insta-btn svg {
  color: #E1306C;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.footer__insta-btn:hover {
  background: rgba(225, 48, 108, 0.2);
  border-color: rgba(225, 48, 108, 0.6);
  color: #FFFFFF;
  transform: translateY(-2px);
}

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

.footer h5 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
}

.footer__links, .footer__contact-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.25s, padding-left 0.25s;
}

.footer__links a:hover {
  color: #4EEDA0;
  padding-left: 4px;
}

.footer__contact-list li {
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

.footer__link-highlight {
  color: #4EEDA0;
  font-weight: 600;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.8rem 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__disclaimer {
  font-size: 0.76rem;
  max-width: 520px;
}

/* ============ 11. FLOATING WHATSAPP BUTTON ============ */
.wa-float {
  position: fixed;
  right: 28px;
  bottom: 28px;
  z-index: 90;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--wa-green);
  display: grid;
  place-items: center;
  box-shadow: 0 14px 34px -8px rgba(37, 211, 102, 0.75);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}

.wa-float:hover {
  transform: scale(1.1) rotate(-6deg);
  box-shadow: 0 20px 40px -6px rgba(37, 211, 102, 0.9);
}

.wa-float::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--wa-green);
  animation: wa-pulse 2.2s ease-out infinite;
  z-index: -1;
}

@keyframes wa-pulse {
  to {
    transform: scale(1.7);
    opacity: 0;
  }
}

.wa-float__tooltip {
  position: absolute;
  right: 76px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--ink);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: var(--shadow-sm);
}

.wa-float:hover .wa-float__tooltip {
  opacity: 1;
}

/* ============ 12. TEXT & SCROLL ANIMATIONS ============ */
.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}

.reveal-up.in, .reveal-left.in, .reveal-right.in {
  opacity: 1;
  transform: none;
}

/* Pan-slide masked headline */
.line {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}

.line__inner {
  display: block;
  transform: translateY(115%);
  transition: transform 1.05s var(--ease);
  will-change: transform;
}

.in .line__inner, .line.in .line__inner, .hero__title.in .line__inner {
  transform: none;
}

.hero__title .line:nth-child(2) .line__inner {
  transition-delay: 0.12s;
}

/* ============ 13. CUSTOM CURSOR (Desktop only) ============ */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--ink);
}

.cursor-ring {
  width: 38px;
  height: 38px;
  border: 1.5px solid var(--ink);
  transition: width 0.3s var(--ease), height 0.3s var(--ease), background 0.3s;
}

.cursor-ring.hover {
  width: 60px;
  height: 60px;
  background: rgba(20, 40, 32, 0.08);
  border-color: var(--mint-deep);
}

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring, .hero__spotlight {
    display: none !important;
  }
}

@media (hover: hover) and (pointer: fine) {
  body {
    cursor: none;
  }
  a, button {
    cursor: none;
  }
}

/* ============ 14. RESPONSIVE BREAKPOINTS ============ */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .hero__photo-wrapper {
    order: -1;
  }

  .hero__img {
    max-height: 46vh;
  }

  .floating-element--tooth {
    top: 2%;
    right: 2%;
  }

  .hero__trust-badge {
    bottom: 2%;
    left: 2%;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .split--reverse .split__img {
    order: 0;
  }

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

  .tcard {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  .tcard__left {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(20, 40, 32, 0.08);
    padding-bottom: 1.5rem;
  }

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

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .nav {
    padding: 0.75rem 0;
  }

  .nav__logo {
    height: 36px;
  }

  .nav__cta {
    display: none;
  }

  .nav__container {
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .nav__toggle {
    display: flex;
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav__links {
    position: fixed;
    top: 56px;
    left: 0;
    width: 100%;
    background: #FFFFFF;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s var(--ease);
  }

  .hero__photo-card {
    position: relative;
    width: 100%;
    max-width: 285px;
    margin: 0 auto;
  }

  .hero__photo-bg {
    width: min(270px, 78vw);
  }

  .hero__img {
    max-height: 40vh;
  }

  .floating-element--tooth {
    top: 4px;
    right: 4px;
    transform: none;
    max-width: 65%;
    padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  }

  .element-label {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .element-3d {
    width: 28px;
    height: 28px;
  }

  .hero__trust-badge {
    bottom: 6px;
    left: 6px;
    padding: 0.55rem 0.85rem;
  }

  .hero__trust-badge strong {
    font-size: 0.85rem;
  }

  .hero__trust-badge span {
    font-size: 0.72rem;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__toggle {
    display: flex;
  }

  .nav__toggle.open .nav__toggle-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }

  .nav__toggle.open .nav__toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .nav__toggle.open .nav__toggle-bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  .hero {
    padding: 2.5rem 0 4rem;
  }

  .hero__title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
    margin-bottom: 1.1rem;
  }

  .hero__name {
    font-family: var(--font-body);
    font-size: clamp(1.18rem, 4.8vw, 1.65rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    white-space: nowrap;
    text-align: center;
  }

  .hero__creds {
    font-size: clamp(0.7rem, 2.8vw, 0.85rem);
    letter-spacing: 0.08em;
    text-align: center;
    margin-top: 0.35rem;
  }

  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .stats {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .stat {
    flex: 1 1 0px !important;
    min-width: 0 !important;
    padding: 0.65rem 0.25rem !important;
    border-radius: 12px !important;
  }

  .stat__number strong {
    font-size: 1.25rem !important;
  }

  .stat__label {
    font-size: 0.62rem !important;
    line-height: 1.15 !important;
  }

  .treatment-cta {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }

  .feature-grid-compact {
    grid-template-columns: 1fr;
  }

  .wa-float {
    bottom: 24px;
    right: 20px;
    width: 56px;
    height: 56px;
  }

  .footer {
    padding-bottom: 3rem;
  }
}

/* ============ 15. ACCESSIBILITY ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal-up, .reveal-left, .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
  .line__inner {
    transform: none !important;
  }
}
