/* Dental Delhi, premium redesign
   Fraunces for display type, Manrope for UI/body. Ivory + navy + muted teal + restrained gold. */

:root {
  --ivory: #FAF7F1;
  --ivory-deep: #F1EBDD;
  --paper: #FFFFFF;
  --navy: #0F1D2E;
  --navy-2: #16283C;
  --navy-soft: #2A3D53;
  --teal: #4F8B83;
  --teal-deep: #396861;
  --teal-pale: #E4EFEC;
  --gold: #B3874E;
  --gold-soft: #DDC298;
  --ink: #1B2430;
  --ink-soft: #5B6472;
  --ink-faint: #8A93A0;
  --line: rgba(15, 29, 46, 0.09);
  --line-soft: rgba(15, 29, 46, 0.06);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 26px;
  --r-xl: 38px;

  --shadow-sm: 0 2px 10px rgba(15, 29, 46, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 29, 46, 0.10);
  --shadow-lg: 0 28px 70px rgba(15, 29, 46, 0.16);
  --shadow-gold: 0 14px 32px rgba(179, 135, 78, 0.24);

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
ul { list-style: none; margin: 0; padding: 0; }

h1, h2, h3, h4 {
  font-family: 'Fraunces', Georgia, serif;
  color: var(--navy);
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.01em;
}

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

em { font-style: italic; color: var(--teal-deep); font-family: 'Fraunces', serif; }
.gold { color: var(--gold); font-style: italic; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}

/* reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-1 { transition-delay: 0.08s; }
.reveal-2 { transition-delay: 0.16s; }
.reveal-3 { transition-delay: 0.24s; }
.reveal-4 { transition-delay: 0.32s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.94rem;
  border: 1px solid transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
}
.btn-gold {
  background: linear-gradient(135deg, #C79A5E, var(--gold));
  color: #241505;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 40px rgba(179,135,78,0.32); }
.btn-navy {
  background: var(--navy);
  color: #fff;
}
.btn-navy:hover { transform: translateY(-2px); background: var(--navy-2); box-shadow: var(--shadow-md); }
.btn-ghost {
  background: transparent;
  border-color: rgba(15,29,46,0.16);
  color: var(--navy);
}
.btn-ghost:hover { border-color: var(--navy); background: rgba(15,29,46,0.04); }
.btn-ghost-light {
  background: transparent;
  border-color: rgba(255,255,255,0.35);
  color: #fff;
}
.btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-sm { padding: 0.7rem 1.4rem; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* eyebrow tag */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--gold);
}
.eyebrow.on-dark { color: var(--gold-soft); }

.section-head {
  max-width: 640px;
  margin-bottom: 3rem;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); line-height: 1.15; }
.section-head p { color: var(--ink-soft); font-size: 1.02rem; margin-top: 1rem; }

section { padding: clamp(4rem, 8vw, 7rem) 0; }

/* ============ nav ============ */

.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  backdrop-filter: none;
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease, backdrop-filter 0.35s ease;
}
.nav-wrap.is-scrolled {
  background: rgba(250, 247, 241, 0.98);
  backdrop-filter: blur(14px) saturate(1.4);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  border-color: var(--line);
  box-shadow: 0 8px 24px rgba(15,29,46,0.06);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 1.05rem clamp(1.25rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: padding 0.3s ease;
}
.nav-wrap.is-scrolled .nav-inner { padding-block: 0.7rem; }
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255,255,255,0.96);
  padding: 0.45rem 1rem;
  border-radius: 16px;
  box-shadow: 0 8px 22px rgba(15,29,46,0.16);
  transition: box-shadow 0.3s ease, padding 0.3s ease;
}
.brand img { height: 42px; width: auto; display: block; }
.nav-wrap.is-scrolled .brand { padding: 0.3rem 0.8rem; box-shadow: 0 4px 14px rgba(15,29,46,0.1); }

.nav-links { display: flex; gap: 1.9rem; margin-left: 0.5rem; flex: 1; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.25s ease;
}
.nav-links a:hover, .nav-links a:focus-visible { color: #fff; }
.nav-wrap.is-scrolled .nav-links a { color: var(--ink-soft); }
.nav-wrap.is-scrolled .nav-links a:hover, .nav-wrap.is-scrolled .nav-links a:focus-visible { color: var(--navy); }
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:hover::after { transform: scaleX(1); }

.nav-dropdown { position: relative; }
.nav-drop-trigger { display: inline-flex; align-items: center; gap: 0.32rem; }
.nav-drop-trigger .caret { font-size: 0.65em; transition: transform 0.25s ease; }
.nav-dropdown:hover .nav-drop-trigger .caret, .nav-dropdown:focus-within .nav-drop-trigger .caret { transform: rotate(180deg); }
.nav-drop-panel {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  margin-top: 0.9rem;
  min-width: 230px;
  background: var(--paper);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  display: grid;
  gap: 0.1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-dropdown:hover .nav-drop-panel, .nav-dropdown:focus-within .nav-drop-panel {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-drop-panel a {
  display: block;
  padding: 0.6rem 0.85rem;
  border-radius: 8px;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--navy);
}
.nav-drop-panel a::after { content: none; }
.nav-drop-panel a:hover { background: var(--teal-pale); color: var(--teal-deep); }

.nav-ctas { display: flex; align-items: center; gap: 0.9rem; }
.nav-phone { display: flex; flex-direction: column; text-align: right; font-size: 0.82rem; }
.nav-phone span { color: rgba(255,255,255,0.6); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.07em; }
.nav-phone strong { color: #fff; font-size: 0.95rem; }
.nav-wrap.is-scrolled .nav-phone span { color: var(--ink-faint); }
.nav-wrap.is-scrolled .nav-phone strong { color: var(--navy); }

.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-wrap.is-scrolled .burger { border-color: var(--line); }
.burger span { width: 18px; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease; }
.nav-wrap.is-scrolled .burger span { background: var(--navy); }
.burger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-panel {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  gap: 1.6rem;
  padding: 7rem 2rem 2.5rem;
  transform: translateY(-100%);
  transition: transform 0.45s var(--ease);
}
.mobile-panel.is-open { transform: translateY(0); }
.mobile-panel a { color: #fff; font-family: 'Fraunces', serif; font-size: 1.7rem; }
.mobile-panel .mob-ctas { display: flex; gap: 1rem; margin-top: 1rem; flex-wrap: wrap; }

.mob-drop-trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  background: none; border: none; padding: 0; margin: 0;
  color: #fff; font-family: 'Fraunces', serif; font-size: 1.7rem; text-align: left;
}
.mob-drop-trigger .caret { font-size: 0.6em; color: var(--gold-soft); transition: transform 0.3s ease; }
.mob-drop.is-open .mob-drop-trigger .caret { transform: rotate(180deg); }
.mob-drop-panel {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  transition: max-height 0.4s var(--ease);
}
.mob-drop.is-open .mob-drop-panel { max-height: 600px; margin-top: 1rem; }
.mob-drop-panel a { font-family: 'Manrope', sans-serif; font-size: 1rem; font-weight: 600; color: rgba(255,255,255,0.72); }
.mob-drop-panel a.mob-drop-all { color: var(--gold-soft); font-weight: 700; padding-top: 0.5rem; border-top: 1px solid rgba(255,255,255,0.14); }

@media (max-width: 980px) {
  .nav-links, .nav-phone { display: none; }
  .nav-inner { justify-content: space-between; }
  .burger { display: flex; }
  .nav-book-btn { display: none; }
}

/* ============ hero (full-bleed video) ============ */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
  padding-bottom: 6rem;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--navy);
}
.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.6) brightness(0.82) contrast(1.08);
}
.hero-media-tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(15,29,46,0.88) 0%, rgba(15,29,46,0.68) 38%, rgba(15,29,46,0.42) 62%, rgba(57,104,97,0.38) 100%);
}
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-copy { max-width: 660px; }
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.5rem, 5vw, 3.9rem);
  line-height: 1.08;
  margin-bottom: 1.4rem;
}
.hero-copy h1 em { color: var(--gold-soft); }
.hero-copy p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  margin-bottom: 2.1rem;
}
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(255,255,255,0.2);
}
.hero-proof .stars { color: var(--gold-soft); letter-spacing: 2px; font-size: 1.05rem; }
.hero-proof strong { display: block; color: #fff; font-size: 1rem; }
.hero-proof span { color: rgba(255,255,255,0.6); font-size: 0.82rem; }

.hero-platforms { margin-top: 0.7rem; display: flex; flex-wrap: wrap; gap: 0.4rem 1.1rem; }
.hero-platforms a {
  color: var(--gold-soft);
  font-size: 0.82rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(221,194,152,0.4);
  padding-bottom: 1px;
  transition: border-color 0.2s var(--ease), color 0.2s var(--ease);
}
.hero-platforms a:hover { color: #fff; border-color: rgba(255,255,255,0.7); }

.hero-float-cards {
  position: absolute;
  z-index: 1;
  right: clamp(1.25rem, 4vw, 3rem);
  bottom: clamp(1.5rem, 4vw, 3rem);
  display: flex;
  gap: 1rem;
}
.float-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  animation: float 6s ease-in-out infinite;
}
.float-card:nth-child(2) { animation-delay: -3s; }
.float-card .num { display: block; font-family: 'Fraunces', serif; font-size: 1.6rem; color: #fff; font-weight: 600; line-height: 1; }
.float-card .lbl { display: block; font-size: 0.72rem; color: rgba(255,255,255,0.68); line-height: 1.3; }
.float-card .ring {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.14);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) { .float-card { animation: none; } }

@media (max-width: 980px) {
  .hero { min-height: auto; padding-top: 6.5rem; padding-bottom: 3rem; flex-direction: column; align-items: stretch; }
  .hero-float-cards {
    position: static;
    flex-wrap: wrap;
    margin-top: 2.4rem;
    padding-inline: clamp(1.25rem, 4vw, 3rem);
    box-sizing: border-box;
    width: 100%;
  }
  .float-card { animation: none; }
  .float-card.rating { display: none; }
}
@media (max-width: 560px) {
  .hero-float-cards { flex-direction: row; flex-wrap: nowrap; gap: 0.6rem; }
  .float-card {
    flex: 1 1 0;
    min-width: 0;
    padding: 0.75rem 0.6rem;
    gap: 0.5rem;
    overflow: hidden;
  }
  .float-card > div { min-width: 0; }
  .float-card .ring { width: 32px; height: 32px; font-size: 0.95rem; flex-shrink: 0; }
  .float-card .num { font-size: 1.15rem; white-space: nowrap; }
  .float-card .lbl {
    font-size: 0.62rem;
    display: block;
    overflow-wrap: break-word;
  }
}

/* ============ trust / stats ============ */
.stats-band {
  background: var(--navy);
  color: #fff;
  position: relative;
}
.stats-band::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(50% 90% at 10% 0%, rgba(79,139,131,0.20), transparent 60%);
  pointer-events: none;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  position: relative;
  z-index: 1;
}
.stat-cell {
  padding: 2.4rem 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.09);
}
.stat-cell:last-child { border-right: none; }
.stat-cell .n { font-family: 'Fraunces', serif; font-size: clamp(1.8rem, 3vw, 2.5rem); color: var(--gold-soft); font-weight: 600; }
.stat-cell .l { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-top: 0.4rem; letter-spacing: 0.02em; }
@media (max-width: 860px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell { border-bottom: 1px solid rgba(255,255,255,0.09); }
}

/* comparison table, used on implant/treatment pages to weigh options side by side */
.compare-wrap { overflow-x: auto; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
.compare-table { width: 100%; min-width: 560px; border-collapse: collapse; background: var(--paper); }
.compare-table th, .compare-table td { padding: 1rem 1.2rem; text-align: left; font-size: 0.9rem; border-bottom: 1px solid var(--line); }
.compare-table thead th { background: var(--navy); color: #fff; font-family: 'Fraunces', serif; font-weight: 600; font-size: 0.95rem; }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table td:first-child, .compare-table th:first-child { font-weight: 700; color: var(--navy); white-space: nowrap; }
.compare-table td.is-highlight { background: var(--teal-pale); font-weight: 600; color: var(--teal-deep); }
.compare-table th.is-highlight { background: var(--teal-deep); }

/* services */
.services { background: var(--ivory); }
.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.svc-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 320px;
  grid-column: span 1;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.45s var(--ease), transform 0.45s var(--ease);
}
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.14);
  pointer-events: none;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.svc-card.large { grid-column: span 2; min-height: 420px; }
.svc-card.wide { grid-column: span 3; min-height: 190px; }
.svc-card.wide .svc-body { flex-direction: row; align-items: center; justify-content: space-between; gap: 2rem; padding: 1.6rem 2.2rem; }
.svc-card.wide .svc-body p { margin-bottom: 0; max-width: 46ch; }
.svc-card.wide .svc-link { flex-shrink: 0; }
.svc-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.svc-card:hover img { transform: scale(1.07); }
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(15,29,46,0.94) 4%, rgba(15,29,46,0.56) 40%, rgba(15,29,46,0.08) 68%, rgba(15,29,46,0.18) 100%);
}
.svc-body { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.7rem; color: #fff; }
.svc-tag {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.68rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.22);
  padding: 0.35rem 0.75rem 0.35rem 0.6rem;
  border-radius: 999px;
  margin-bottom: 0.9rem;
  font-weight: 700;
}
.svc-tag::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--gold-soft); flex-shrink: 0; }
.svc-body h3 {
  color: #fff;
  font-size: 1.32rem;
  margin-bottom: 0.55rem;
  position: relative;
  display: inline-block;
  width: fit-content;
}
.svc-body h3::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  height: 2px; width: 28px;
  background: var(--gold-soft);
  transition: width 0.4s var(--ease);
}
.svc-card:hover .svc-body h3::after { width: 100%; }
.svc-body p { font-size: 0.87rem; color: rgba(255,255,255,0.8); margin: 0 0 1.2rem; max-width: 34ch; }
.svc-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
}
.svc-link .arrow {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--ease), background 0.35s ease, border-color 0.35s ease;
}
.svc-card:hover .svc-link .arrow { transform: translateX(3px); background: var(--gold); border-color: var(--gold); color: var(--navy); }

.tile-collage { margin-top: 3rem; padding-top: 2.6rem; border-top: 1px solid var(--line); }
.tile-collage-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal-deep);
  margin-bottom: 1.1rem;
}
.tile-collage-label::before { content: ''; width: 22px; height: 1px; background: var(--teal-deep); }
.tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}
.tile {
  position: relative;
  display: block;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.tile:hover img { transform: scale(1.08); }
.tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.7rem 0.7rem 0.65rem;
  background: linear-gradient(0deg, rgba(15,29,46,0.9) 35%, transparent 92%);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
}
@media (max-width: 900px) { .tile-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .tile-grid { grid-template-columns: repeat(2, 1fr); } }

@media (max-width: 900px) {
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-card, .svc-card.large, .svc-card.wide { grid-column: span 2; min-height: 280px; }
  .svc-card.wide .svc-body { flex-direction: column; align-items: flex-start; gap: 0.4rem; }
  .svc-card.wide .svc-body p { margin-bottom: 1.2rem; }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-card, .svc-card.large, .svc-card.wide { grid-column: span 1; }
}

/* ============ why choose us ============ */
.why {
  background: var(--ivory-deep);
}
.why-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}
.why-visual { position: relative; }
.why-visual img {
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/4.6;
  object-fit: cover;
  width: 100%;
}
.why-badge {
  position: absolute;
  bottom: -1.6rem;
  left: -1.6rem;
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
  padding: 1.3rem 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 220px;
}
.why-badge .n { font-family: 'Fraunces', serif; font-size: 2rem; color: var(--gold-soft); }
.why-badge p { font-size: 0.8rem; color: rgba(255,255,255,0.72); margin: 0.2rem 0 0; }

.why-list { margin-top: 2.2rem; }
.why-item {
  display: flex;
  gap: 1.2rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--line);
}
.why-item:last-child { border-bottom: 1px solid var(--line); }
.why-index { font-family: 'Fraunces', serif; font-size: 1rem; color: var(--gold); font-weight: 600; padding-top: 0.1rem; }
.why-item h4 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.why-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; max-width: 48ch; }

@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-visual { max-width: 420px; margin: 0 auto 2.4rem; }
  .why-badge { left: 1rem; bottom: -1.2rem; }
}

/* ============ team ============ */
.team { background: var(--ivory); }
.lead-doctor {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  align-items: stretch;
  background: var(--paper);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 2.2rem;
}
.lead-doctor:last-of-type { margin-bottom: 0; }
.ld-photo { position: relative; min-height: 420px; }
.ld-photo img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) saturate(1.06) brightness(1.02);
}
.ld-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(0deg, rgba(15,29,46,0.72) 0%, rgba(15,29,46,0) 34%);
}
.ld-photo .tag {
  position: absolute; left: 1.4rem; bottom: 1.3rem; z-index: 3;
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.ld-info { position: relative; padding: clamp(2rem, 4vw, 3.2rem); }
.ld-watermark {
  position: absolute;
  top: 0.5rem;
  right: clamp(1.5rem, 3vw, 2.5rem);
  font-family: 'Fraunces', serif;
  font-size: 5.5rem;
  font-weight: 600;
  color: var(--teal-pale);
  line-height: 1;
  z-index: 0;
  pointer-events: none;
}
.ld-info > *:not(.ld-watermark) { position: relative; z-index: 1; }
.ld-creds { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.ld-creds span {
  font-size: 0.74rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--teal-pale);
  color: var(--teal-deep);
  font-weight: 700;
}
.ld-name { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ld-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0.5rem 0 1.2rem;
}
.ld-bio { color: var(--ink-soft); font-size: 0.95rem; max-width: 62ch; margin-bottom: 1.4rem; }
.ld-specialties { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.6rem; }
.ld-specialties span { font-size: 0.78rem; color: var(--navy); border: 1px solid var(--line); padding: 0.32rem 0.75rem; border-radius: 8px; }

@media (max-width: 860px) {
  .lead-doctor { grid-template-columns: 1fr; }
  .ld-photo { min-height: 320px; }
  .ld-watermark { display: none; }
}

.team-divider { position: relative; margin: 3.2rem 0 2rem; text-align: center; }
.team-divider::before { content: ''; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.team-divider span {
  position: relative;
  display: inline-block;
  background: var(--ivory);
  padding: 0 1.1rem;
  font-size: 0.78rem;
  color: var(--ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.team-scroll {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem 1.6rem;
}
.member { position: relative; }
.member:nth-child(even) { transform: translateY(1.6rem); }
.member .member-index {
  position: absolute;
  top: -0.6rem; right: 0.2rem;
  font-family: 'Fraunces', serif;
  font-size: 2.6rem;
  font-weight: 600;
  color: var(--teal-pale);
  z-index: 0;
  line-height: 1;
}
.member .avatar-wrap {
  position: relative;
  z-index: 1;
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 1/1.05;
  margin-bottom: 1.1rem;
  background: var(--ivory-deep);
}
.member .avatar {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(0.35) contrast(1.05);
  transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.member:hover .avatar { filter: grayscale(0); transform: scale(1.04); }
.member .mono {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(155deg, var(--teal-pale), var(--ivory-deep));
  color: var(--teal-deep);
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 600;
}
.member::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 3px; height: 0;
  background: var(--gold);
  transition: height 0.4s var(--ease);
  z-index: 1;
}
.member:hover::after { height: 100%; }
.member strong { position: relative; z-index: 1; display: block; font-size: 1rem; color: var(--navy); font-family: 'Fraunces', serif; font-weight: 600; }
.member .role-pill {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--teal-deep);
  font-weight: 700;
  margin-top: 0.35rem;
  padding: 0.2rem 0.55rem;
  background: var(--teal-pale);
  border-radius: 999px;
}
.member small { display: block; font-size: 0.76rem; color: var(--ink-faint); margin-top: 0.5rem; line-height: 1.45; }

@media (max-width: 900px) { .team-scroll { grid-template-columns: repeat(2, 1fr); gap: 2rem 1.4rem; } .member:nth-child(even) { transform: none; } }
@media (max-width: 520px) { .team-scroll { grid-template-columns: 1fr 1fr; gap: 1.6rem 1rem; } }

/* ============ before / after ============ */
.transform { background: var(--navy); color: #fff; }
.transform .section-head h2 { color: #fff; }
.transform .section-head p { color: rgba(255,255,255,0.6); }
.transform .eyebrow { color: var(--gold-soft); }

.compare-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.compare-card { border-radius: var(--r-lg); overflow: hidden; background: var(--navy-2); box-shadow: var(--shadow-lg); }
.compare-frame {
  position: relative;
  display: flex;
  aspect-ratio: 4/3.4;
  overflow: hidden;
}
.compare-half {
  position: relative;
  width: 50%;
  height: 100%;
  overflow: hidden;
}
.compare-half:first-child { border-right: 2px solid rgba(255,255,255,0.85); }
.compare-half img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.compare-label {
  position: absolute; top: 0.9rem; z-index: 2;
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem; border-radius: 6px;
  background: rgba(15,29,46,0.55); color: #fff; backdrop-filter: blur(4px);
}
.compare-label.l-before { left: 0.9rem; }
.compare-label.l-after { right: 0.9rem; }
.compare-meta { padding: 1.2rem 1.4rem 1.5rem; }
.compare-meta h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.3rem; }
.compare-meta p { color: rgba(255,255,255,0.55); font-size: 0.8rem; margin: 0; }

@media (max-width: 900px) { .compare-grid { grid-template-columns: 1fr; } }

/* ============ testimonials ============ */
.testimonials { background: var(--ivory-deep); padding: clamp(2.6rem, 5vw, 4rem) 0; }
.rating-summary {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 0.9rem 1.3rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.6rem;
  max-width: fit-content;
}
.rating-summary .big { font-family: 'Fraunces', serif; font-size: 1.7rem; color: var(--navy); }
.rating-summary .stars { color: var(--gold); font-size: 0.92rem; letter-spacing: 2px; }
.rating-summary p { margin: 0.15rem 0 0; font-size: 0.74rem; color: var(--ink-soft); }

.testi-slider {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}
.testi-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: testi-scroll 38s linear infinite;
}
.testi-slider:hover .testi-track { animation-play-state: paused; }
.testi-card {
  flex: 0 0 300px;
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 1.15rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.testi-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@keyframes testi-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}
.testi-card .stars { color: var(--gold); font-size: 0.78rem; letter-spacing: 2px; margin-bottom: 0.55rem; }
.testi-card p { font-size: 0.82rem; color: var(--ink); margin: 0 0 0.9rem; line-height: 1.5; }
.testi-who { display: flex; align-items: center; gap: 0.6rem; }
.testi-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-weight: 600;
  font-size: 0.85rem;
}
.testi-who strong { display: block; font-size: 0.8rem; color: var(--navy); }
.testi-who span { display: block; font-size: 0.7rem; color: var(--ink-faint); }

@media (max-width: 640px) { .testi-card { flex-basis: 250px; } }

/* ============ clinic gallery ============ */
.clinic-gallery { background: var(--ivory); }
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 160px;
  gap: 1rem;
}
.mosaic figure {
  margin: 0; border-radius: var(--r-md); overflow: hidden; position: relative;
  box-shadow: var(--shadow-sm);
}
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.mosaic figure:hover img { transform: scale(1.07); }
.mosaic .m1 { grid-column: span 2; grid-row: span 2; }
.mosaic .m2 { grid-column: span 2; grid-row: span 1; }
.mosaic .m3 { grid-column: span 1; grid-row: span 1; }
.mosaic .m4 { grid-column: span 1; grid-row: span 1; }
.mosaic .m5 { grid-column: span 2; grid-row: span 1; }
.mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 0.8rem 1rem;
  font-size: 0.76rem; font-weight: 700; color: #fff;
  background: linear-gradient(0deg, rgba(15,29,46,0.75), transparent);
}

.awards {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.awards::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(55% 70% at 50% 0%, rgba(179,135,78,0.14), transparent 65%);
  pointer-events: none;
}
.awards .section-head h2 { color: #fff; }
.awards .section-head p { color: rgba(255,255,255,0.6); }
.awards-mosaic {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.awards-mosaic figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(221,194,152,0.35);
}
.awards-mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.awards-mosaic figure:hover img { transform: scale(1.06); }
.awards-mosaic figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.1rem 1.1rem;
  background: linear-gradient(0deg, rgba(15,29,46,0.92) 15%, transparent 85%);
}
.awards-mosaic figcaption strong { display: block; color: #fff; font-size: 0.9rem; font-family: 'Fraunces', serif; font-weight: 600; }
.awards-mosaic figcaption span { display: block; color: var(--gold-soft); font-size: 0.7rem; margin-top: 0.2rem; font-weight: 700; letter-spacing: 0.02em; }

@media (max-width: 860px) {
  .awards-mosaic { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .awards-mosaic { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }
  .mosaic .m1 { grid-column: span 2; }
}

/* ============ booking form ============ */
.booking { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.booking::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(45% 60% at 90% 100%, rgba(179,135,78,0.14), transparent 60%);
}
.booking-grid {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: flex-start;
}
.booking-side .eyebrow { color: var(--gold-soft); }
.booking-side h2 { color: #fff; font-size: clamp(1.9rem, 3vw, 2.5rem); margin-bottom: 1.1rem; }
.booking-side p.lead { color: rgba(255,255,255,0.62); max-width: 42ch; margin-bottom: 2rem; }
.assure-list { display: flex; flex-direction: column; gap: 1.1rem; margin-bottom: 2rem; }
.assure-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.assure-item .ico {
  width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 0.95rem;
}
.assure-item strong { display: block; font-size: 0.92rem; color: #fff; }
.assure-item span { font-size: 0.82rem; color: rgba(255,255,255,0.55); }

.wa-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-md);
  padding: 1.2rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.wa-card strong { display: block; color: #fff; font-size: 0.92rem; }
.wa-card span { font-size: 0.8rem; color: rgba(255,255,255,0.55); }

.booking-form {
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 3vw, 2.4rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.booking-form h3 { font-size: 1.3rem; margin-bottom: 0.4rem; }
.booking-form > p { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 1.6rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: 0.8rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
  background: var(--ivory);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-pale);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.76rem; color: var(--ink-faint); margin-top: 1rem; text-align: center; }
.form-success {
  display: none;
  align-items: center;
  gap: 0.7rem;
  background: var(--teal-pale);
  color: var(--teal-deep);
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}
.form-success.is-shown { display: flex; }

@media (max-width: 980px) { .booking-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* ============ location ============ */
.location { background: var(--ivory-deep); }
.loc-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: stretch;
}
.map-box { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 360px; }
.map-box iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
.loc-cards { display: flex; flex-direction: column; gap: 1rem; }
.loc-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 1.4rem 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
}
.loc-card .ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; flex-shrink: 0;
}
.loc-card h4 { font-size: 0.98rem; margin-bottom: 0.3rem; }
.loc-card p, .loc-card a { font-size: 0.87rem; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.loc-card a:hover { color: var(--teal-deep); }

@media (max-width: 900px) { .loc-grid { grid-template-columns: 1fr; } .map-box { min-height: 280px; } }

/* ============ footer ============ */
.site-footer { background: var(--navy); color: rgba(255,255,255,0.68); }
.footer-top { padding: clamp(3.5rem, 6vw, 5rem) 0 3rem; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1fr;
  gap: 2.5rem;
}
.footer-brand img { height: 44px; margin-bottom: 1rem; }
.footer-brand p { font-size: 0.86rem; max-width: 32ch; line-height: 1.6; }
.footer-social { display: flex; gap: 0.7rem; margin-top: 1.3rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.25s ease, transform 0.25s ease;
}
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-2px); }
.site-footer h5 { color: #fff; font-family: 'Manrope', sans-serif; font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 1.1rem; }
.site-footer ul li { margin-bottom: 0.7rem; }
.site-footer ul a { font-size: 0.88rem; transition: color 0.2s ease; }
.site-footer ul a:hover { color: var(--gold-soft); }
.foot-contact li { display: flex; gap: 0.6rem; font-size: 0.86rem; align-items: flex-start; }
.foot-contact .ico { flex-shrink: 0; opacity: 0.75; }

.narrow-list { max-width: 640px; margin: 0 auto; }
.centered-ctas { justify-content: center; margin-top: 1.5rem; }

.process-steps { max-width: 760px; margin: 2.6rem auto 0; }
.process-step { display: flex; gap: 1.6rem; position: relative; padding-bottom: 2.6rem; }
.process-step:last-child { padding-bottom: 0; }
.process-step:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 56px;
  bottom: -0.2rem;
  width: 1px;
  background: var(--line);
}
.process-num {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.process-body { padding-top: 0.5rem; }
.process-body h4 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--navy); }
.process-body p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; max-width: 50ch; }
@media (max-width: 560px) { .process-body p { max-width: none; } }

.footer-map-wrap { padding-bottom: 2.5rem; }
.footer-map { border-radius: var(--r-lg); overflow: hidden; }
.footer-map iframe { width: 100%; height: 200px; border: 0; display: block; filter: grayscale(0.5) contrast(1.05); opacity: 0.88; transition: filter 0.3s ease, opacity 0.3s ease; }
.footer-map:hover iframe { filter: none; opacity: 1; }

.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 1.4rem 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; font-size: 0.78rem; }
.footer-bottom-inner .links { display: flex; gap: 1.3rem; }
.footer-bottom-inner a:hover { color: #fff; }

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* floating action buttons */
.fab-stack {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.fab {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}
.fab:hover { transform: scale(1.08); }
.fab-wa { background: #25D366; color: #fff; }
.fab-call { background: var(--navy); color: #fff; }
.fab-top {
  background: var(--paper); color: var(--navy); border: 1px solid var(--line);
  opacity: 0; pointer-events: none; transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fab-top.is-shown { opacity: 1; pointer-events: auto; transform: none; }

@media (max-width: 980px) {
  /* keep the WhatsApp/call bubbles off the hero stat cards until the visitor scrolls past them */
  .fab-wa, .fab-call {
    opacity: 0;
    transform: translateY(10px) scale(0.85);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
  }
  .fab-wa.is-shown, .fab-call.is-shown {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
}

/* subpage banner (about, doctors, contact, services...) — smaller cousin of the home hero */
.page-hero {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: clamp(7.5rem, 13vw, 9.5rem) 0 clamp(3.2rem, 6vw, 4.6rem);
}
.page-hero-media { position: absolute; inset: 0; z-index: 0; }
.page-hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.5) brightness(0.46) contrast(1.05);
}
.page-hero-media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(15,29,46,0.94) 0%, rgba(15,29,46,0.8) 40%, rgba(15,29,46,0.58) 100%);
}
.page-hero-inner { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { color: #fff; font-size: clamp(2.1rem, 4.4vw, 3.1rem); line-height: 1.12; margin: 0.9rem 0 1rem; }
.page-hero h1 em { color: var(--gold-soft); }
.page-hero .lead { color: rgba(255,255,255,0.72); font-size: 1.04rem; max-width: 58ch; margin: 0; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 0.45rem; align-items: center; font-size: 0.78rem; color: rgba(255,255,255,0.45); margin-bottom: 1.3rem; }
.breadcrumb a { color: rgba(255,255,255,0.75); font-weight: 600; }
.breadcrumb a:hover { color: var(--gold-soft); }

/* two-column intro block: photo + copy, used across about/doctors/service pages */
.intro-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.4rem, 5vw, 5rem);
  align-items: center;
}
.intro-media { position: relative; }
.intro-media img { border-radius: var(--r-xl); box-shadow: var(--shadow-lg); aspect-ratio: 4/4.4; object-fit: cover; width: 100%; }
.intro-badge {
  position: absolute; bottom: -1.3rem; right: 1.4rem;
  background: var(--navy); color: #fff;
  border-radius: var(--r-md); padding: 1rem 1.3rem;
  box-shadow: var(--shadow-lg); text-align: center; min-width: 116px;
}
.intro-badge strong { display: block; font-family: 'Fraunces', serif; font-size: 1.2rem; color: var(--gold-soft); font-weight: 600; }
.intro-badge span { display: block; font-size: 0.68rem; color: rgba(255,255,255,0.68); margin-top: 0.2rem; }

.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0.85rem 1.4rem; margin: 1.6rem 0 2rem; }
.check-list .cl-row { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.87rem; color: var(--ink-soft); }
.check-list .cl-ico {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 0.72rem; margin-top: 0.05rem;
}

@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; }
  .intro-media { max-width: 420px; margin: 0 auto 2.6rem; }
}
@media (max-width: 560px) { .check-list { grid-template-columns: 1fr; } }

/* icon feature cards — "what we offer" grids */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; }
.feature-card {
  background: var(--paper);
  border-radius: var(--r-md);
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-card .f-ico {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.03rem; margin-bottom: 0.5rem; }
.feature-card p { font-size: 0.87rem; color: var(--ink-soft); margin: 0; }

@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .feature-grid { grid-template-columns: 1fr; } }

/* horizontal trust strip of small stats/credentials */
.trust-strip {
  background: var(--paper);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.5rem clamp(1.2rem, 3vw, 2.2rem);
  display: flex; flex-wrap: wrap; gap: 1.4rem;
}
.trust-strip .ts-item { display: flex; gap: 0.75rem; align-items: center; flex: 1 1 190px; }
.trust-strip .ts-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.trust-strip strong { display: block; font-size: 0.9rem; color: var(--navy); }
.trust-strip span { display: block; font-size: 0.76rem; color: var(--ink-soft); margin-top: 0.1rem; }

/* about-page milestones — a plain left-rail timeline, not the zigzag cliché */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  padding-left: clamp(1.5rem, 4vw, 2.3rem);
  border-left: 2px solid var(--line);
}
.tl-item { position: relative; padding-bottom: 2.3rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before {
  content: '';
  position: absolute; top: 0.3rem;
  left: calc(-1 * clamp(1.5rem, 4vw, 2.3rem) - 6px);
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--ivory);
}
.tl-year { font-family: 'Fraunces', serif; font-weight: 600; color: var(--gold); font-size: 0.94rem; margin-bottom: 0.4rem; }
.tl-item h3 { font-size: 1.08rem; margin-bottom: 0.4rem; }
.tl-item p { font-size: 0.89rem; color: var(--ink-soft); margin: 0; max-width: 62ch; }

/* named-award cards on a dark band, reusing .awards for the glow background */
.trophy-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.1rem; position: relative; z-index: 1; }
.trophy-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(221,194,152,0.22);
  border-radius: var(--r-md);
  padding: 1.6rem 1.3rem;
  text-align: center;
}
.trophy-card.is-featured { border-color: var(--gold); background: rgba(179,135,78,0.12); }
.trophy-card .t-ico { font-size: 1.7rem; margin-bottom: 0.6rem; }
.trophy-card .t-year { display: block; font-family: 'Fraunces', serif; color: var(--gold-soft); font-size: 1.05rem; margin-bottom: 0.5rem; }
.trophy-card .t-title { display: block; font-weight: 700; font-size: 0.9rem; color: #fff; margin-bottom: 0.2rem; }
.trophy-card .t-body { display: block; font-size: 0.76rem; color: rgba(255,255,255,0.55); }

@media (max-width: 860px) { .trophy-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trophy-grid { grid-template-columns: 1fr; } }

/* FAQ accordion + side contact card */
.faq-layout { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(2rem, 4vw, 3rem); align-items: start; }
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 1.25rem 0;
  font-family: 'Fraunces', serif; font-size: 1rem; font-weight: 600; color: var(--navy);
}
.faq-q::after {
  content: '+'; flex-shrink: 0; font-family: 'Manrope', sans-serif; font-weight: 400;
  font-size: 1.3rem; color: var(--gold); transition: transform 0.3s var(--ease);
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq-a p { margin: 0 0 1.25rem; font-size: 0.89rem; color: var(--ink-soft); max-width: 64ch; }
.faq-item.is-open .faq-a { max-height: 420px; }

.faq-contact-card {
  background: var(--navy); color: #fff;
  border-radius: var(--r-lg);
  padding: clamp(1.8rem, 3vw, 2.3rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.faq-contact-card h3 { color: #fff; font-size: 1.15rem; margin-bottom: 0.6rem; }
.faq-contact-card p { color: rgba(255,255,255,0.65); font-size: 0.87rem; margin: 0 0 1.4rem; }
.faq-contact-card .faq-links { display: flex; flex-direction: column; gap: 0.65rem; }
.faq-contact-card .faq-links a {
  font-size: 0.85rem; font-weight: 700; padding: 0.7rem 1rem; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.16);
  transition: background 0.25s ease, border-color 0.25s ease;
}
.faq-contact-card .faq-links a:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }

@media (max-width: 900px) { .faq-layout { grid-template-columns: 1fr; } }

/* final call-to-action band with a background photo, used to close out most subpages */
.cta-band { position: relative; overflow: hidden; background: var(--navy); }
.cta-band-media { position: absolute; inset: 0; z-index: 0; }
.cta-band-media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.5) brightness(0.4); }
.cta-band-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15,29,46,0.84), rgba(15,29,46,0.93)); }
.cta-band-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; text-align: center; }
.cta-band .eyebrow { justify-content: center; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin: 0.7rem 0 1rem; }
.cta-band p { color: rgba(255,255,255,0.65); margin: 0 0 2rem; }
.cta-band .cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* related-treatments row at the foot of a service page */
.related-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0.9rem; }
.related-card {
  background: var(--paper); border-radius: var(--r-md); padding: 1.3rem 1rem; text-align: center;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.related-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.related-card .r-ico { font-size: 1.4rem; margin-bottom: 0.55rem; }
.related-card strong { display: block; font-size: 0.83rem; color: var(--navy); margin-bottom: 0.15rem; }
.related-card span { display: block; font-size: 0.7rem; color: var(--ink-faint); }

@media (max-width: 900px) { .related-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .related-grid { grid-template-columns: repeat(2, 1fr); } }

/* static testimonial wall (grid version of the home carousel's .testi-card) */
.testi-wall { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
@media (max-width: 860px) { .testi-wall { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .testi-wall { grid-template-columns: 1fr; } }

/* patient video wall + lightbox, testimonials page */
.video-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.1rem; }
.video-thumb { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16/9; cursor: pointer; background: var(--navy); box-shadow: var(--shadow-sm); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.video-thumb:hover img { transform: scale(1.06); }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(15,29,46,0.7) 0%, rgba(15,29,46,0.05) 55%); }
.vt-play { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; justify-content: center; }
.vt-play-ico {
  width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,0.92); color: var(--navy);
  display: flex; align-items: center; justify-content: center; transition: transform 0.3s var(--ease), background 0.3s ease;
}
.vt-play-ico svg { width: 17px; height: 17px; }
.video-thumb:hover .vt-play-ico { transform: scale(1.1); background: var(--gold); }
.vt-num { position: absolute; z-index: 1; left: 0.75rem; bottom: 0.6rem; font-size: 0.7rem; color: rgba(255,255,255,0.72); font-weight: 700; }

@media (max-width: 900px) { .video-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .video-grid { grid-template-columns: repeat(2, 1fr); } }

.video-modal { position: fixed; inset: 0; z-index: 200; display: none; align-items: center; justify-content: center; padding: 2rem; }
.video-modal.is-open { display: flex; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(15,29,46,0.92); }
.video-modal-box { position: relative; z-index: 1; width: 100%; max-width: 880px; }
.video-modal-frame { position: relative; aspect-ratio: 16/9; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-lg); }
.video-modal-frame iframe { width: 100%; height: 100%; border: 0; }
.video-modal-close { position: absolute; top: -2.5rem; right: 0; background: none; border: none; color: #fff; font-size: 1.5rem; }

.lead-modal { position: fixed; inset: 0; z-index: 210; display: none; align-items: center; justify-content: center; padding: 1.5rem; }
.lead-modal.is-open { display: flex; }
.lead-modal-backdrop { position: absolute; inset: 0; background: rgba(15,29,46,0.6); backdrop-filter: blur(3px); }
.lead-modal-box {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: clamp(1.6rem, 4vw, 2.2rem);
  box-shadow: var(--shadow-lg);
  color: var(--ink);
}
.lead-modal-box h3 { font-size: 1.4rem; margin-bottom: 0.4rem; }
.lead-modal-sub { color: var(--ink-soft); font-size: 0.88rem; margin: 0 0 1.4rem; }
.lead-modal-close { position: absolute; top: 1rem; right: 1rem; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--ivory); color: var(--ink-soft); font-size: 1rem; }
.lead-modal-close:hover { background: var(--teal-pale); color: var(--teal-deep); }
@media (max-width: 560px) { .lead-modal-box { max-height: 90vh; overflow-y: auto; } }

/* quick-contact row, contact page */
.quick-contact { display: flex; flex-wrap: wrap; gap: 1rem; }
.quick-contact a {
  flex: 1 1 190px; display: flex; gap: 0.8rem; align-items: center;
  background: var(--paper); border-radius: var(--r-md); padding: 1.1rem 1.3rem; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.quick-contact a:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quick-contact .qc-ico {
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; font-size: 1.05rem;
}
.quick-contact strong { display: block; font-size: 0.88rem; color: var(--navy); }
.quick-contact span { display: block; font-size: 0.74rem; color: var(--ink-soft); margin-top: 0.1rem; }

/* inline icon sprite sizing, used wherever an emoji glyph used to sit */
.cl-ico svg { width: 14px; height: 14px; display: block; }
.f-ico svg { width: 22px; height: 22px; display: block; }
.related-card .r-ico svg { width: 26px; height: 26px; color: var(--teal-deep); }
.foot-contact .ico svg { width: 16px; height: 16px; display: block; }
.fab-call svg { width: 22px; height: 22px; }
.ico-big { width: 50px; height: 50px; color: var(--gold-soft); }
.ico-inline { width: 15px; height: 15px; flex-shrink: 0; vertical-align: -3px; margin-right: 0.3rem; }
.faq-contact-card .faq-links a { display: flex; align-items: center; justify-content: center; }
.footer-social a svg, .fab svg { display: block; }

/* benefit cards — icon, headline, short explanation, used for the implant benefits grid */
.benefit-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.3rem; margin-top: 1.8rem; }
.benefit-card {
  background: var(--paper); border-radius: var(--r-lg); padding: 1.7rem 1.6rem;
  box-shadow: var(--shadow-sm); border-left: 3px solid var(--gold);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.benefit-card .b-ico {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center; margin-bottom: 1rem;
}
.benefit-card .b-ico svg { width: 22px; height: 22px; }
.benefit-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.88rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 700px) { .benefit-grid { grid-template-columns: 1fr; } }

/* horizontal stepper for a treatment procedure, connected by a single rail */
.steps-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; margin-top: 2.8rem; position: relative; }
.steps-row::before { content: ''; position: absolute; top: 22px; left: 10%; right: 10%; height: 2px; background: var(--line); z-index: 0; }
.step-col { position: relative; z-index: 1; text-align: center; padding: 0 0.3rem; }
.step-col .step-num {
  width: 44px; height: 44px; border-radius: 50%; margin: 0 auto 1rem;
  background: var(--navy); color: var(--gold-soft);
  font-family: 'Fraunces', serif; font-weight: 600; font-size: 1.05rem;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}
.step-col h4 { font-size: 0.92rem; margin-bottom: 0.4rem; }
.step-col p { font-size: 0.78rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 980px) {
  .steps-row { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; }
  .steps-row::before { display: none; }
}
@media (max-width: 620px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }

/* row-list card — icon, headline, explanation, used for aftercare and "why choose us" */
.care-list { background: var(--paper); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; margin-top: 1.7rem; }
.care-row { display: flex; gap: 1.1rem; align-items: flex-start; padding: 1.3rem 1.6rem; border-bottom: 1px solid var(--line); }
.care-row:last-child { border-bottom: none; }
.care-row .c-ico {
  flex-shrink: 0; width: 38px; height: 38px; border-radius: 10px; margin-top: 0.1rem;
  background: var(--teal-pale); color: var(--teal-deep);
  display: flex; align-items: center; justify-content: center;
}
.care-row .c-ico svg { width: 19px; height: 19px; }
.care-row h4 { font-size: 0.95rem; margin-bottom: 0.3rem; }
.care-row p { font-size: 0.86rem; color: var(--ink-soft); margin: 0; max-width: 62ch; }
@media (max-width: 700px) { .care-row { padding: 1.1rem 1.2rem; } }
