/* =========================================================
   PADC Dental Implant Center — main stylesheet
   Built from Figma "figma-mcp" node 81:1430 (1728px desktop)
   ========================================================= */

:root {
  --bg: #f6f4ef;
  --white: #fff;
  --ink: #0f2328;
  --ink-2: #2d434a;
  --muted: #5d6f75;
  --line: #e4dfd4;
  --sand: #ebe7de;
  --mint: #dcedeb;
  --teal: #1b7472;
  --dark: #0d3038;
  --dark-2: #134652;
  --darker: #08232a;
  --gold: #e3c48e;
  --gold-2: #cfa45c;

  --container: 1200px;
  --gutter: 32px;
  --radius: 18px;
  --radius-lg: 28px;
  --pill: 999px;
  --shadow: 0 1px 2px rgba(18, 20, 24, .04), 0 12px 32px -12px rgba(18, 20, 24, .14);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --section-y: 112px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }

/* Keep a word like "Full-Mouth" on one line (no break at the hyphen) */
.nowrap { white-space: nowrap; }

/* Text for screen readers / search engines only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--dark); color: #fff; padding: 10px 16px; border-radius: var(--pill);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1468px; }
/* Sub pages (legal, inner pages): 1485px content box, same width as the home page panels */
.container--sub { max-width: calc(1485px + 2 * var(--gutter)); }

.section { padding-block: var(--section-y); }
.section--top { padding-bottom: 0; }

.br-lg { display: inline; }

/* ---------- Type ---------- */
.h2 {
  font-size: clamp(32px, 2.2vw + 14px, 48px);
  font-weight: 500;
  line-height: 1.13;
  letter-spacing: -0.038em;
  color: var(--ink);
  text-wrap: balance;          /* when a heading wraps, split it into even lines (no lone last word) */
}
.h3 {
  font-size: clamp(24px, 1vw + 16px, 29.5px);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
.lead { color: var(--muted); font-size: 15.3px; line-height: 27.2px; max-width: 560px; }

.section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; max-width: 760px; margin-bottom: 40px; }

/* ---------- Pills / tags ---------- */
.pill {
  display: inline-flex; align-items: center;
  padding: 6px 13.5px;
  border: 1px solid var(--line);
  border-radius: var(--pill);
  font-size: 13px; font-weight: 500; line-height: 22.4px;
  color: var(--ink-2);
  white-space: nowrap;
}
.pill--white { background: var(--white); }
.pill--glass { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .8); }
.pill--lg { font-size: 15.9px; line-height: 27.2px; color: rgba(255, 255, 255, .7); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px;
  border-radius: var(--pill);
  font-size: 15.4px; font-weight: 500; line-height: 19.2px;
  white-space: nowrap;
  transition: background-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 22px; font-size: 14.3px; }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }
.btn--gold { background: var(--gold); color: var(--dark); }
.btn--gold:hover { background: #ebd0a2; }
.btn--white { background: var(--white); color: var(--ink); font-size: 15px; }
.btn--outline { border: 1px solid rgba(255, 255, 255, .25); color: #fff; font-size: 14.6px; gap: 8px; padding: 0 25.5px; }
.btn--outline:hover { background: rgba(255, 255, 255, .08); }
.btn--outline img { width: 17.6px; height: 17.6px; }
.btn--call { background: var(--sand); color: var(--ink); font-size: 14.6px; padding: 6px 22px 6px 6px; }
.btn--call:hover { background: #e2ddd1; }
.btn--icon { padding: 6px 22px 6px 6px; font-size: 14.6px; }
.btn__icon {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; border-radius: var(--pill);
  background: var(--white);
}
.btn__icon img { width: 17.6px; height: 17.6px; }
.btn__icon--gold { background: var(--gold); }
.btn__icon--dark { background: var(--dark); }

.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }
.btn-row--center { justify-content: center; }

.text-link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 44px; padding-top: 12px; padding-bottom: 4px;
  border-bottom: .556px solid var(--ink);
  font-size: 14.8px; font-weight: 500; line-height: 25.6px; color: var(--ink);
}
.text-link img { width: 17.6px; height: 17.6px; transition: transform .2s; }
.text-link:hover img { transform: translateX(3px); }

.round-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px; border-radius: 24px;
  background: var(--white); border: 1px solid var(--line);
  transition: opacity .2s, box-shadow .2s;
}
.round-btn img { width: 17.6px; height: 17.6px; }
.round-btn:hover:not(:disabled) { box-shadow: var(--shadow); }
.round-btn:disabled { opacity: .35; cursor: default; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  padding: 14px var(--gutter) 10px;
}
.site-header__pill {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  max-width: var(--container); height: 61px; margin-inline: auto;
  padding: 7.5px 7.5px 7.5px 19.5px;
  background: rgba(255, 255, 255, .86);
  border: 1px solid var(--line);
  border-radius: var(--pill);
  box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.site-header__logo { flex: none; }
.site-header__logo img { width: 135px; height: 76px; object-fit: cover; }

.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 2px; }
.main-nav a:not(.btn) {
  display: block; padding: 10px 14px; border-radius: var(--pill);
  font-size: 14.2px; font-weight: 500; line-height: 24px; letter-spacing: -.3px;
  color: var(--ink); white-space: nowrap;
  transition: background-color .2s;
}
.main-nav a:not(.btn):hover, .main-nav a.is-active { background: rgba(18, 20, 24, .05); }

/* Dropdown (e.g. About → About PADC, Meet Dr. Amani Takher) */
.main-nav .has-sub { position: relative; }
.main-nav .has-sub > a { display: flex; align-items: center; gap: 6px; }
.nav-caret {
  width: 6px; height: 6px; margin-top: -3px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg); opacity: .6;
  transition: transform .2s, margin .2s;
}
.main-nav .has-sub:hover .nav-caret, .main-nav .has-sub:focus-within .nav-caret { transform: rotate(-135deg); margin-top: 3px; }
.main-nav .sub-menu {
  position: absolute; top: 100%; left: 50%; z-index: 60;
  display: flex; flex-direction: column; gap: 2px;
  min-width: 240px; margin-top: 10px; padding: 8px;
  background: var(--white); border: 1px solid var(--line); border-radius: 18px;
  box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translate(-50%, 6px);
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.main-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }   /* hover bridge */
.main-nav .has-sub:hover .sub-menu, .main-nav .has-sub:focus-within .sub-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s;
}
.main-nav .sub-menu a:not(.btn) { border-radius: 12px; padding: 10px 14px; }
.main-nav .sub-menu a[aria-current="page"] { color: var(--teal); background: rgba(27, 116, 114, .07); }

.site-header__actions { display: flex; align-items: center; gap: 14px; flex: none; }
.site-header__call {
  display: flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 13.6px; font-weight: 500; line-height: 24px; white-space: nowrap;
}
.site-header__call img { width: 16.5px; height: 16.5px; }
.site-header__call:hover span { text-decoration: underline; text-underline-offset: 3px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 22px; background: var(--dark); position: relative; }
.nav-toggle span {
  position: absolute; left: 13px; width: 18px; height: 1.6px; border-radius: 2px; background: #fff;
  transition: transform .25s, opacity .25s, top .25s;
}
.nav-toggle span:nth-child(1) { top: 15.5px; }
.nav-toggle span:nth-child(2) { top: 21.2px; }
.nav-toggle span:nth-child(3) { top: 27px; }

/* ---------- Mobile menu drawer (slides in from the right) ---------- */
.drawer {
  display: none;
  position: fixed; inset: 0; z-index: 100;
  visibility: hidden;
  transition: visibility 0s linear .4s;
}
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__overlay {
  position: absolute; inset: 0;
  background: rgba(8, 35, 42, .5);
  opacity: 0; transition: opacity .4s ease;
}
.drawer.is-open .drawer__overlay { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0;
  width: min(380px, 88vw);
  display: flex; flex-direction: column;
  background: var(--white);
  box-shadow: -16px 0 48px rgba(8, 35, 42, .18);
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.4, 0, .2, 1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 20px 14px 24px;
  border-bottom: 1px solid var(--line);
}
.drawer__logo img { width: 135px; height: 76px; object-fit: cover; }
.drawer__close {
  position: relative; flex: none;
  width: 44px; height: 44px; border-radius: 22px;
  background: var(--bg);
  transition: background-color .2s;
}
.drawer__close:hover { background: var(--sand); }
.drawer__close span {
  position: absolute; left: 13px; top: 21.2px;
  width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink);
  transform: rotate(45deg);
}
.drawer__close span + span { transform: rotate(-45deg); }
.drawer__nav { flex: 1; overflow-y: auto; overscroll-behavior: contain; }
.drawer__nav a {
  display: flex; align-items: center;
  min-height: 57px; padding: 14px 24px;
  border-bottom: 1px solid #efebe3;
  font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -.2px; color: var(--ink);
  transition: background-color .2s, color .2s;
}
.drawer__nav a:hover { background: var(--bg); }
.drawer__nav a.is-active, .drawer__nav a[aria-current="page"] { color: var(--teal); }
/* Phone menu: item with sub pages (› arrow opens them) */
.drawer__toggle {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  min-height: 57px; padding: 14px 24px;
  border-bottom: 1px solid #efebe3;
  font-size: 16px; font-weight: 500; line-height: 24px; letter-spacing: -.2px; color: var(--ink); text-align: left;
  transition: background-color .2s, color .2s;
}
.drawer__toggle:hover { background: var(--bg); }
.drawer__toggle.is-active { color: var(--teal); }
.drawer__chev {
  width: 8px; height: 8px; margin-right: 4px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(-45deg); opacity: .7;
  transition: transform .25s;
}
.drawer__toggle[aria-expanded="true"] .drawer__chev { transform: rotate(45deg); }
.drawer__sub { background: var(--bg); }
.drawer__sub a { min-height: 50px; padding: 12px 24px 12px 40px; font-size: 15px; font-weight: 400; border-bottom-color: var(--line); }
.drawer__sub a:hover { background: var(--sand); }
.drawer__foot {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 24px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}
.drawer__foot .btn { width: 100%; }
.drawer__call {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px;
  font-size: 15px; font-weight: 500; color: var(--ink-2);
}
.drawer__call img { width: 16.5px; height: 16.5px; }
.drawer__call:hover { color: var(--ink); }
/* staggered slide-in of the menu rows */
.drawer__nav li { opacity: 0; transform: translateX(16px); transition: opacity .3s ease, transform .3s ease; }
.drawer.is-open .drawer__nav li { opacity: 1; transform: none; transition-delay: calc(.12s + var(--i, 0) * .04s); }
html.drawer-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .drawer__panel, .drawer__overlay, .drawer__nav li { transition: none; }
}

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: 64px; }
.hero__inner { display: flex; flex-direction: column; align-items: center; gap: 21px; text-align: center; }
.hero__title {
  max-width: 850px;
  font-size: clamp(40px, 4.2vw + 8px, 80.8px);
  font-weight: 500;
  line-height: 1.133;
  letter-spacing: -0.038em;
}
.hero__lead { max-width: 540px; color: var(--muted); font-size: 15.4px; line-height: 27.2px; }
.hero__figure {
  width: calc(100% - 2 * var(--gutter));
  max-width: 1016px;
  aspect-ratio: 1016 / 575.3;
  margin: 48px auto 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--sand);
}
.hero__figure img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* =========================================================
   Credentials marquee
   ========================================================= */
.creds { padding: 56px 0 8px; }
.creds__label { text-align: center; color: var(--muted); font-size: 12.6px; line-height: 22.4px; margin-bottom: 18px; }
.creds__viewport {
  overflow: hidden;
  -webkit-mask-image: url("../icons/fade-mask.svg");
  mask-image: url("../icons/fade-mask.svg");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}
.creds__track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.creds__viewport:hover .creds__track { animation-play-state: paused; }
.creds__list { display: flex; gap: 12px; padding-right: 12px; }
.creds__list li {
  display: flex; align-items: center; gap: 8px;
  padding: 11.5px 17.5px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill);
  font-size: 13.8px; font-weight: 500; line-height: 24px; white-space: nowrap;
}
.creds__list img { width: 16.5px; height: 16.5px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =========================================================
   Intro statement + stats
   ========================================================= */
.intro .container { display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center; }
.intro__statement {
  max-width: 980px; padding-inline: 33px;
  font-size: clamp(24px, 1.4vw + 12px, 36.4px);
  font-weight: 500; line-height: 1.34; letter-spacing: -1px;
}
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; width: 100%; margin-top: 16px; }
.stats__item { display: flex; flex-direction: column; gap: 4px; padding: 24px; background: var(--white); border-radius: var(--radius); }
.stats__item strong { font-size: clamp(28px, 1vw + 18px, 35px); font-weight: 500; line-height: 36px; letter-spacing: -1.44px; }
.stats__item span { color: var(--muted); font-size: 13.7px; line-height: 24px; }

/* =========================================================
   Sliders (gallery + reviews)
   ========================================================= */
.slider-track {
  display: flex; gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-track > li { flex: none; scroll-snap-align: start; }
.slider-nav { display: flex; gap: 8px; flex: none; }

/* ---------- Gallery ---------- */
.gallery { padding-bottom: 68px; }
.gallery__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.gallery__head .pill { margin-bottom: 0; }
.gallery__track { padding-block: 21px 24px; margin-top: 0; }
.gallery__item { width: 340px; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; background: var(--dark); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; }
.gallery__more { display: flex; justify-content: center; padding-inline: var(--gutter); }

/* =========================================================
   Rounded panels (6X method, doctor)
   ========================================================= */
.panel {
  max-width: 1485px;
  margin-inline: 24px;
  padding-block: var(--section-y);
  border-radius: var(--radius-lg);
}
@media (min-width: 1533px) { .panel { margin-inline: auto; } }
.panel--light { background: var(--white); }
.panel--dark { background: var(--dark); color: #fff; }
.panel--dark .h2 { color: #fff; }

/* ---------- PADC 6X Method ---------- */
.method { display: flex; flex-direction: column; gap: 20px; }
.method__tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 6px; background: var(--bg); border-radius: 22px; }
.method__tab {
  position: relative;
  display: flex; flex-direction: column; align-items: flex-start; gap: 3.5px;
  min-height: 64px; padding: 15px 18px 20px;
  border-radius: 16px;
  text-align: left;
  font-size: 16px; font-weight: 500; line-height: 20.4px; color: var(--muted);
  transition: background-color .2s, color .2s, box-shadow .2s;
}
.method__tab small { font-size: 12px; font-weight: 400; line-height: 14.4px; color: var(--muted); }
.method__tab:hover { color: var(--ink); }
.method__tab.is-active { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .05); }
.method__tab.is-active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 10px;
  height: 2px; border-radius: 2px; background: var(--line);
}
.method__panel { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; animation: fadeIn .35s ease; }
.method__panel[hidden] { display: none; }
.method__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 15px; }
.method__copy p { color: var(--muted); font-size: 15.3px; line-height: 27.2px; }
.method__visual {
  display: flex; align-items: center; justify-content: center;
  min-height: 420px; padding: 40px 18px;
  border-radius: var(--radius);
  background:
    radial-gradient(ellipse 90% 80% at 85% 0%, rgba(227, 196, 142, .55), rgba(227, 196, 142, 0) 60%),
    radial-gradient(ellipse 90% 90% at 0% 100%, rgba(220, 237, 235, 1), rgba(220, 237, 235, 0) 70%),
    var(--bg);
}
.plan-card {
  width: 100%; max-width: 380px;
  display: flex; flex-direction: column; gap: 14px;
  padding: 20px; border-radius: 20px;
  background: var(--white); box-shadow: var(--shadow);
}
.plan-card__head { display: flex; align-items: center; justify-content: space-between; font-size: 15px; font-weight: 500; line-height: 25.6px; }
.plan-card__badge { padding: 3.5px 10px; border-radius: var(--pill); background: var(--dark); color: var(--gold); font-size: 12px; font-weight: 600; line-height: 19.2px; }
.plan-card li { display: flex; align-items: center; gap: 12px; padding-block: 12px; border-top: .556px solid var(--line); font-size: 14.8px; font-weight: 500; line-height: 25.6px; }
.plan-card__check { display: grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 13px; background: var(--mint); }
.plan-card__check img { width: 14px; height: 14px; }
.plan-card__bar { height: 6px; border-radius: 6px; background: var(--sand); overflow: hidden; }
.plan-card__bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--teal), var(--gold-2)); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ---------- Treatment options (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(240px, auto); gap: 12px; }
.bento__figure { grid-column: 1 / span 2; grid-row: 1 / span 2; border-radius: var(--radius); overflow: hidden; background: var(--dark); min-height: 0; }
.bento__figure img { width: 100%; height: 100%; object-fit: cover; }
.bento__card--a { grid-column: 3; grid-row: 1; }
.bento__card--b { grid-column: 3; grid-row: 2; }
.bento__card {
  position: relative;
  display: flex; flex-direction: column; gap: 9.4px;
  min-height: 240px; padding: 24px;
  background: var(--white); border-radius: var(--radius);
  transition: box-shadow .25s, transform .25s;
}
.bento__card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.bento__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 10px; border-radius: 14px; background: var(--mint); }
.bento__icon img { width: 22px; height: 22px; }
.bento__card h3 { padding-right: 40px; font-size: 17.3px; font-weight: 500; line-height: 23.75px; letter-spacing: -.38px; }
.bento__card p { color: var(--muted); font-size: 13.5px; line-height: 24px; }
.bento__arrow {
  position: absolute; top: 20px; right: 20px;
  display: grid; place-items: center; width: 36px; height: 36px;
  border: 1px solid var(--line); border-radius: 18px;
  transition: background-color .2s;
}
.bento__arrow img { width: 17.6px; height: 17.6px; }
.bento__card:hover .bento__arrow { background: var(--bg); }

/* ---------- Journey ---------- */
.journey { padding-top: 224px; }
.journey__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.journey__intro { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 19px; }
.journey__intro .h2 { max-width: 420px; }
.steps { display: flex; flex-direction: column; gap: 12.6px; }
.steps__item { display: flex; gap: 18px; align-items: flex-start; padding: 32px; background: var(--white); border-radius: var(--radius); }
.steps__num { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--bg); font-size: 15px; font-weight: 600; line-height: 24px; }
.steps__item h3 { font-size: 18.2px; font-weight: 500; line-height: 32px; letter-spacing: -.4px; margin-bottom: 6px; }
.steps__item p { color: var(--muted); font-size: 13.5px; line-height: 24px; }
.steps__item--dark { background: var(--dark); }
.steps__item--dark .steps__num { background: var(--gold); color: var(--dark); }
.steps__item--dark h3 { color: #fff; }
.steps__item--dark p { color: rgba(255, 255, 255, .65); }

/* ---------- Meet the doctor ---------- */
.doctor { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.doctor__photo { aspect-ratio: 532 / 558.6; border-radius: var(--radius); overflow: hidden; }
.doctor__photo img { width: 100%; height: 100%; object-fit: cover; }
.doctor__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 19px; }
.doctor__bio { color: rgba(255, 255, 255, .7); font-size: 15.3px; line-height: 27.2px; }
.doctor__creds { width: 100%; display: flex; flex-direction: column; gap: 2px; }
.doctor__creds li {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 0;
  border-top: .556px solid rgba(255, 255, 255, .1);
  font-size: 13.6px; line-height: 24px; color: rgba(255, 255, 255, .88);
}
.doctor__creds img { width: 16.5px; height: 16.5px; margin-top: 3.5px; flex: none; }

/* ---------- Reviews ---------- */
.reviews { padding-top: var(--section-y); padding-bottom: 0; }
.reviews__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.reviews__wrap { max-width: 1668px; margin-inline: auto; padding-inline: 16px; }
.reviews__track { padding-bottom: 8px; }
.reviews__track > li { width: 400px; display: flex; }
.review { display: flex; flex-direction: column; gap: 18px; width: 100%; padding: 28px; background: var(--white); border-radius: var(--radius); }
.review__stars { display: flex; gap: 2px; }
.review__stars img { width: 16px; height: 16px; }
/* Review text: 4 lines, then "Read more" turns it into a scroll box of the same height */
.review__text {
  --lines: 4;
  height: calc(26.35px * var(--lines));
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: var(--lines);
  line-clamp: var(--lines);
  font-size: 15.1px; line-height: 26.35px; letter-spacing: -.17px;
}
.review.is-open .review__text {
  display: block;
  -webkit-line-clamp: unset;
  line-clamp: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.review.is-open .review__text::-webkit-scrollbar { width: 4px; }
.review.is-open .review__text::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.review__more {
  align-self: flex-start;
  min-height: 36px; margin: -12px 0 -8px;
  font-size: 13.5px; font-weight: 500; line-height: 22px; color: var(--teal);
  text-decoration: underline; text-underline-offset: 3px;
}
.review__more:hover { color: var(--ink); }
.review__more[hidden] { display: block; visibility: hidden; }  /* keeps every card the same height */
.review figcaption { margin-top: auto; }
.review figcaption { display: flex; align-items: center; gap: 12px; padding-top: 18px; border-top: .556px solid var(--line); }
.review__avatar { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 21px; background: var(--mint); color: var(--teal); font-size: 16px; font-weight: 600; }
.review figcaption strong { display: block; font-size: 15.6px; font-weight: 600; line-height: 25.6px; }
.review figcaption small { display: block; color: var(--muted); font-size: 12.1px; line-height: 20.8px; }

/* ---------- FAQ ---------- */
.faq { padding-bottom: 72px; }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; }
.faq__intro { position: sticky; top: 110px; display: flex; flex-direction: column; align-items: flex-start; gap: 17px; }
.faq__help { width: 100%; margin-top: 13px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; padding: 24px; background: var(--white); border-radius: var(--radius); }
.faq__help h3 { font-size: 18.3px; font-weight: 500; line-height: 32px; letter-spacing: -.4px; }
.faq__help p { color: var(--muted); font-size: 14.5px; line-height: 25.6px; margin-bottom: 6px; }
.faq__list { display: flex; flex-direction: column; gap: 11.3px; }
.faq__item { background: var(--white); border-radius: var(--radius); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  min-height: 64px; padding: 14px 20px 14px 24px;
  font-size: 15.5px; font-weight: 500; line-height: 27.2px; letter-spacing: -.17px;
  cursor: pointer; list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { display: grid; place-items: center; flex: none; width: 36px; height: 36px; border-radius: 18px; background: var(--bg); transition: background-color .3s ease, transform .38s cubic-bezier(.4, 0, .2, 1); }
.faq__icon img { width: 18.7px; height: 18.7px; }
.faq__item.is-open .faq__icon,
html:not(.js) .faq__item[open] .faq__icon { background: var(--gold); transform: rotate(45deg); }
.faq__answer {
  overflow: hidden;
  color: var(--muted); font-size: 14.4px; line-height: 25.6px;
  transition: height .38s cubic-bezier(.4, 0, .2, 1), opacity .3s ease;
}
.faq__answer p { padding: 0 24px 22px; }

/* ---------- CTA / contact ---------- */
.cta { background: var(--dark); color: #fff; padding-block: 120px; }
.cta__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.cta__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 19px; }
.cta .h2 { color: #fff; max-width: 471px; }
.cta__lead { max-width: 480px; color: rgba(255, 255, 255, .7); font-size: 14.4px; line-height: 25.6px; }
.cta .btn-row { padding-top: 7px; }
.cta__info { display: flex; flex-direction: column; gap: 7.6px; padding-top: 13px; }
.cta__info li { display: flex; align-items: center; gap: 8px; min-height: 44px; color: rgba(255, 255, 255, .6); font-size: 12.7px; line-height: 22.4px; }
.cta__info img { width: 15.4px; height: 15.4px; flex: none; opacity: .6; }
.cta__info a:hover { color: #fff; }
.cta__map {
  display: block; aspect-ratio: 536 / 439; border-radius: var(--radius); overflow: hidden;
  background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1);
}
.cta__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--darker); color: rgba(255, 255, 255, .7); padding-top: 64px; }
.site-footer__grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 36px;
  padding-bottom: 40px; border-bottom: .556px solid rgba(255, 255, 255, .1);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 18px; }
.site-footer__logo { width: 286px; height: 161px; object-fit: cover; }
.site-footer__brand p { max-width: 340px; font-size: 13.5px; line-height: 24px; }
.social { display: flex; gap: 8px; }
.social a { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 22px; transition: background-color .2s; }
.social a:hover { background: rgba(255, 255, 255, .08); }
.social img { width: 17.6px; height: 17.6px; }
.site-footer__col h2 { font-size: 12.3px; font-weight: 500; line-height: 20.8px; letter-spacing: 1.04px; text-transform: uppercase; color: rgba(255, 255, 255, .45); margin-bottom: 12px; }
.site-footer__col li { padding-block: 9.5px 10px; font-size: 14.5px; line-height: 25.6px; }
.site-footer__col a:hover { color: #fff; }
.site-footer__visit li { padding-block: 11.5px 12px; font-size: 14.3px; }
.site-footer a.is-white { color: #fff; }
.hours { display: flex; flex-direction: column; gap: 4px; padding-top: 2px; max-width: 280px; }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 13.3px; line-height: 22.4px; }
.hours dt { color: rgba(255, 255, 255, .5); }
.site-footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-block: 24px; font-size: 12.8px; line-height: 22.4px; }
.site-footer__legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 0 18px; }
.site-footer__legal a { display: block; padding-block: 11.5px; }
.site-footer__bottom a:hover { color: #fff; }
.back-to-top { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; white-space: nowrap; }
.back-to-top img { width: 15.4px; height: 15.4px; transform: rotate(-90deg); }

/* =========================================================
   Inner page hero + legal pages
   ========================================================= */
/* Sub-page hero: same look as the home page hero (cream, breadcrumb pill, big title, photo right) */
.page-hero { padding: 56px 0 0; }
/* Space after the hero = the normal gap between sections, whatever comes next */
.page-hero + .panel { margin-top: var(--section-y); }
.page-hero + .legal-wrap { padding-top: 40px; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.page-hero--image .page-hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.page-hero__inner { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; max-width: 880px; }
/* No photo: everything centered */
.page-hero:not(.page-hero--image) .page-hero__inner { align-items: center; text-align: center; margin-inline: auto; max-width: 940px; }
.page-hero:not(.page-hero--image) .page-hero__intro { margin-inline: auto; max-width: 760px; }
.page-hero:not(.page-hero--image) .page-hero__buttons { justify-content: center; }
.page-hero__title {
  font-size: clamp(36px, 3vw + 16px, 64px);
  font-weight: 500; line-height: 1.1; letter-spacing: -0.038em;
  text-wrap: balance;
}
.page-hero__meta { color: var(--muted); font-size: 14.4px; line-height: 24px; }
.page-hero__buttons { padding-top: 6px; }
.page-hero__media {
  aspect-ratio: 5 / 4; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--sand);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.breadcrumb ol {
  display: inline-flex; flex-wrap: wrap; align-items: center;
  padding: 6px 14px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill);
  font-size: 13px; font-weight: 500; line-height: 22.4px; color: var(--ink-2);
}
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: var(--line); }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--ink); }

.legal-wrap { padding-bottom: var(--section-y); }
.legal {
  max-width: 1485px; margin-inline: auto;
  padding: 56px 64px;
  background: var(--white); border-radius: var(--radius-lg);
  color: var(--muted); font-size: 15.3px; line-height: 27.2px;
}
.legal h2 {
  margin: 44px 0 12px;
  color: var(--ink); font-size: clamp(22px, .8vw + 16px, 26px); font-weight: 500; line-height: 1.3; letter-spacing: -.5px;
}
.legal h3 { margin: 26px 0 8px; color: var(--ink); font-size: 18.2px; font-weight: 500; line-height: 28px; letter-spacing: -.3px; }
.legal h2 + h3 { margin-top: 14px; }
.legal p + p { margin-top: 14px; }
.legal ul { display: flex; flex-direction: column; gap: 10px; margin: 16px 0; }
.legal ul + p { margin-top: 0; }
.legal li { position: relative; padding-left: 22px; }
.legal li::before {
  content: ""; position: absolute; left: 4px; top: 11px;
  width: 6px; height: 6px; border-radius: 3px; background: var(--teal);
}
.legal a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.legal a:hover { color: var(--ink); }
.legal a[href^="tel:"] { white-space: nowrap; overflow-wrap: normal; }

/* =========================================================
   Sub-page building blocks (About, service pages …)
   ========================================================= */
.page-hero__intro {
  max-width: 680px;
  color: var(--muted); font-size: clamp(15.4px, .3vw + 14px, 17px); line-height: 1.75;
}
.page-hero__intro a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.copy a:not(.btn), .visit a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.copy a:not(.btn):hover, .visit a:hover { color: var(--ink); }

.sp-section { padding-block: var(--section-y); }
.panel + .sp-section, .sp-section + .panel { margin-top: 0; }

.section-head--center { align-items: center; text-align: center; margin-inline: auto; max-width: 1100px; }
.section-head--center .lead { margin-inline: auto; }

/* Text + photo. Photo comes first in the HTML so it stacks on top on phones. */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 1 / 1; max-height: 620px; width: 100%;
  border-radius: var(--radius-lg); overflow: hidden; background: var(--sand);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.copy p { color: var(--muted); font-size: 15.3px; line-height: 27.2px; }
.copy .h2 { margin-bottom: 4px; }

/* Book Now / Call Now under short section text (section_buttons() in config.php) */
.section-buttons { padding-top: 10px; }

/* Open list with thin dividers (lists beside a photo are never boxed) */
.check-list { width: 100%; display: flex; flex-direction: column; }
.check-list li {
  display: flex; align-items: flex-start; gap: 12px;
  padding-block: 14px;
  border-top: .556px solid var(--line);
  font-size: 15.3px; line-height: 25.6px; color: var(--ink);
}
.check-list li:last-child { border-bottom: .556px solid var(--line); }
.check-list img { width: 16.5px; height: 16.5px; margin-top: 4.5px; flex: none; }

/* Feature list: check badge + title line + grey explanation (open list, thin dividers) */
.feature-list { width: 100%; display: flex; flex-direction: column; }
.feature-list li {
  display: flex; align-items: flex-start; gap: 16px;
  padding-block: 18px;
  border-top: .556px solid var(--line);
}
.feature-list li:last-child { border-bottom: .556px solid var(--line); }
.feature-list__badge {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 16px; background: var(--mint);
}
.feature-list__badge img { width: 15px; height: 15px; }
.feature-list__text { display: flex; flex-direction: column; gap: 2px; padding-top: 3px; }
.feature-list__text strong { font-size: 17px; font-weight: 500; line-height: 26px; letter-spacing: -.3px; color: var(--ink); }
.feature-list__text span { font-size: 15px; line-height: 25.6px; color: var(--muted); text-wrap: balance; }

/* Three icon cards (3 items) */
.value-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.value-cards--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 4 items: 2 x 2 */
.value-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--bg); border-radius: var(--radius); }
.value-card__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 6px; border-radius: 14px; background: var(--mint); }
.value-card__icon img { width: 22px; height: 22px; }
.value-card h3 { font-size: 19px; font-weight: 500; line-height: 26px; letter-spacing: -.4px; }
.value-card p { color: var(--muted); font-size: 14.4px; line-height: 25.6px; }

/* Visit: text + live map */
.visit { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
/* Numbered step cards (4–6 items) */
.step-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: none; }
.step-card { display: flex; flex-direction: column; gap: 10px; padding: 28px; background: var(--bg); border-radius: var(--radius); }
.step-card__num {
  display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px;
  border-radius: 14px; background: var(--white);
  font-size: 15px; font-weight: 600; line-height: 24px; color: var(--ink);
}
.step-card h3 { font-size: 18.5px; font-weight: 500; line-height: 26px; letter-spacing: -.4px; }
.step-card p { color: var(--muted); font-size: 14.4px; line-height: 25.6px; }
.step-card:last-child { background: var(--dark); }
.step-card:last-child .step-card__num { background: var(--gold); color: var(--dark); }
.step-card:last-child h3 { color: #fff; }
.step-card:last-child p { color: rgba(255, 255, 255, .7); }

/* Smile Gallery: filters, case cards, enlarge view */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-bottom: 32px; }
.gallery-filters__btn {
  min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--white);
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  transition: background-color .2s, color .2s, border-color .2s;
}
.gallery-filters__btn:hover { border-color: var(--ink-2); }
.gallery-filters__btn.is-active { background: var(--dark); border-color: var(--dark); color: #fff; }
.case-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.case-card { display: flex; flex-direction: column; background: var(--bg); border-radius: var(--radius); overflow: hidden; }
.case-card[hidden] { display: none; }
.case-card__media { position: relative; display: block; width: 100%; aspect-ratio: 1; overflow: hidden; background: var(--dark); cursor: zoom-in; }
.case-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.case-card__media:hover img { transform: scale(1.03); }
.case-card__zoom {
  position: absolute; right: 14px; bottom: 14px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 20px;
  background: rgba(255, 255, 255, .92); box-shadow: var(--shadow);
  opacity: 0; transform: translateY(4px); transition: opacity .2s, transform .2s;
}
.case-card__zoom img { width: 18px; height: 18px; }
.case-card__media:hover .case-card__zoom, .case-card__media:focus-visible .case-card__zoom { opacity: 1; transform: none; }
.case-card__info { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; }
.case-card__title { font-size: 17px; font-weight: 500; line-height: 24px; letter-spacing: -.3px; }
.case-card__info dl { display: flex; flex-direction: column; gap: 6px; }
.case-card__info dt { font-size: 12px; font-weight: 500; letter-spacing: .4px; text-transform: uppercase; color: var(--muted); }
.case-card__info dd { font-size: 14.4px; line-height: 23px; color: var(--ink-2); }
.gallery-empty { padding: 48px 16px; text-align: center; color: var(--muted); font-size: 15px; background: var(--bg); border-radius: var(--radius); }
.gallery-note { margin-top: 28px; text-align: center; color: var(--muted); font-size: 13.5px; line-height: 22px; }

.lightbox {
  width: min(92vw, 760px); max-width: none; max-height: 92vh; padding: 0; overflow: visible;
  border: 0; border-radius: var(--radius-lg); background: transparent;
}
.lightbox::backdrop { background: rgba(8, 35, 42, .82); }
.lightbox__figure { border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); }
.lightbox__figure img { width: 100%; height: auto; max-height: 86vh; object-fit: contain; }
.lightbox__close {
  position: absolute; top: -18px; right: -18px;
  width: 44px; height: 44px; border-radius: 22px; background: var(--white); box-shadow: var(--shadow);
}
.lightbox__close span { position: absolute; left: 13px; top: 21.2px; width: 18px; height: 1.6px; border-radius: 2px; background: var(--ink); transform: rotate(45deg); }
.lightbox__close span + span { transform: rotate(-45deg); }
.lightbox__nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 24px;
  background: var(--white); box-shadow: var(--shadow);
}
.lightbox__nav img { width: 17.6px; height: 17.6px; }
.lightbox__nav--prev { left: -24px; }
.lightbox__nav--next { right: -24px; }
.lightbox__count { position: absolute; left: 0; right: 0; bottom: -34px; text-align: center; color: rgba(255, 255, 255, .8); font-size: 13.5px; }
html.lightbox-open { overflow: hidden; }

/* Contact page: info cards, map, consultation form */
.value-card__icon .icon-dark, .contact-group__icon .icon-dark { filter: brightness(0); opacity: .8; }
/* Contact: details + map sidebar (left) and consultation form (right) in one section */
.contact-combo { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.contact-combo__info {
  display: flex; flex-direction: column;
  padding: 32px; background: var(--bg); border-radius: var(--radius);
  position: sticky; top: 104px;   /* stays in view beside the longer form on desktop */
}
.contact-combo__form { display: flex; flex-direction: column; gap: 12px; scroll-margin-top: 16px; }
.contact-combo__form > .lead { margin-bottom: 18px; }
.contact-group { display: flex; flex-direction: column; gap: 14px; padding-block: 22px; border-top: .556px solid var(--line); }
.contact-group:first-child { padding-top: 0; border-top: 0; }
.contact-group__head { display: flex; align-items: center; gap: 12px; }
.contact-group__head h2 { font-size: 19px; font-weight: 500; line-height: 26px; letter-spacing: -.3px; }
.contact-group__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); }
.contact-group__icon img { width: 18px; height: 18px; }
.contact-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-lines li { display: flex; flex-direction: column; }
.contact-lines li span { font-size: 12.5px; line-height: 18px; color: var(--muted); }
.contact-lines a { font-size: 19px; font-weight: 500; line-height: 28px; letter-spacing: -.2px; color: var(--ink); white-space: nowrap; }
.contact-lines a:hover { color: var(--teal); }
.contact-address { font-size: 16px; line-height: 26px; }
.contact-address a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.contact-address a:hover { color: var(--teal); }
.contact-map { height: 240px; margin-top: 6px; border-radius: 14px; overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.contact-map iframe { display: block; width: 100%; height: 100%; border: 0; }

.contact-form { display: flex; flex-direction: column; gap: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; border: 0; padding: 0; margin: 0; }
.field--full { grid-column: 1 / -1; }
.field label, .field legend { font-size: 14.4px; font-weight: 500; color: var(--ink); padding: 0; }
.field .req, .field .opt { font-weight: 400; color: var(--muted); font-size: 13px; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px;
  border: 1px solid var(--line); border-radius: 14px; background: var(--bg);
  font: inherit; font-size: 15.5px; color: var(--ink);
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #a7adae; }
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); background: var(--white); box-shadow: 0 0 0 3px rgba(27, 116, 114, .15); }
.field.has-error input, .field.has-error textarea { border-color: #c2412d; background: #fdf3f1; }
.field__error { font-size: 13px; color: #b3341f; }
.field__hint { font-size: 13px; line-height: 20px; color: var(--muted); }
.field__hint a { color: var(--teal); text-decoration: underline; text-underline-offset: 2px; }
.choice-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.choice { position: relative; cursor: pointer; }
.choice input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.choice span {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border: 1px solid var(--line); border-radius: var(--pill); background: var(--bg);
  font-size: 14.4px; color: var(--ink-2); transition: background-color .2s, border-color .2s, color .2s;
}
.choice:hover span { border-color: var(--ink-2); }
.choice input:checked + span { background: var(--dark); border-color: var(--dark); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.consent { gap: 12px; }
.check { display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 13.5px !important; font-weight: 400 !important; line-height: 21px; color: var(--muted) !important; }
.check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: var(--dark); cursor: pointer; }
.contact-form__submit { align-self: flex-start; min-width: 240px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert { display: flex; flex-direction: column; gap: 4px; margin-bottom: 24px; padding: 18px 20px; border-radius: 14px; font-size: 15px; line-height: 24px; }
.form-alert--ok { background: var(--mint); color: var(--ink); }
.form-alert--error { background: #fdf3f1; color: #8a2a18; }
.form-alert a { color: inherit; font-weight: 500; text-decoration: underline; white-space: nowrap; }

/* Benefit cards (check badge + short line), 3 per row */
.benefit-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.benefit-card {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 24px; background: var(--bg); border-radius: var(--radius);
  font-size: 16px; line-height: 26px; color: var(--ink); text-wrap: pretty;
}
.benefit-card .feature-list__badge { margin-top: -2px; }

/* Odd number of benefit cards: centre the last row */
.benefit-cards--center { display: flex; flex-wrap: wrap; justify-content: center; }
.benefit-cards--center > li { flex: 0 1 calc((100% - 24px) / 3); }

/* Comparison table: our option highlighted */
.compare { max-width: 980px; margin-inline: auto; overflow-x: auto; }
.compare__table { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 15.5px; line-height: 24px; }
.compare__table th, .compare__table td { padding: 18px 22px; text-align: left; border-bottom: .556px solid var(--line); }
.compare__table thead th { font-size: 16px; font-weight: 500; color: var(--ink); border-bottom: 0; padding-top: 22px; padding-bottom: 22px; }
.compare__table tbody th { font-weight: 500; color: var(--ink); width: 30%; }
.compare__table td { color: var(--muted); }
.compare__table .compare__ours { background: var(--dark); color: #fff; border-bottom-color: rgba(255, 255, 255, .12); }
.compare__table thead .compare__ours { border-radius: 18px 18px 0 0; color: var(--gold); }
.compare__table tbody tr:last-child .compare__ours { border-radius: 0 0 18px 18px; border-bottom: 0; }
.compare__table tbody tr:last-child th, .compare__table tbody tr:last-child td { border-bottom: 0; }

/* Navy feature panel with the photo on the LEFT (first photo on a page) */
.feature-panel--media-left .feature-panel__media { order: 0; }
.feature-panel--media-left .feature-panel__copy { padding-left: 0; padding-right: 16px; }

/* Links inside navy cards */
.pair-card--dark a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.pair-card--dark a:hover { color: #fff; }

.sp-section--flush { padding-top: 0; }
.note-card p a { color: var(--teal); text-decoration: underline; text-underline-offset: 3px; }
.note-card p a:hover { color: var(--ink); }

/* Option cards: a pair card that links to its page */
.pair-card.option-card { position: relative; padding-right: 88px; transition: transform .25s, box-shadow .25s; }
.option-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.option-card__arrow {
  position: absolute; top: 36px; right: 36px;
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 20px;
  border: 1px solid var(--line); background: var(--white);
}
.pair-card--dark .option-card__arrow { border-color: rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); }
.option-card__arrow img { width: 17.6px; height: 17.6px; }

/* FAQs page: topic links (sticky) + grouped accordions */
.faq-page { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 64px; align-items: start; }
.faq-page__nav { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 24px; }
.faq-page__nav ul, .link-list { display: flex; flex-direction: column; border-top: .556px solid var(--line); }
.faq-page__nav li a, .link-list a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-height: 52px; padding: 12px 4px; border-bottom: .556px solid var(--line);
  font-size: 16px; font-weight: 500; color: var(--ink); transition: color .2s, padding .2s;
}
.faq-page__nav li a img, .link-list a img { width: 16px; height: 16px; opacity: .6; transition: transform .2s; }
.faq-page__nav li a:hover, .link-list a:hover { color: var(--teal); padding-left: 8px; }
.faq-page__nav li a:hover img, .link-list a:hover img { transform: translateX(3px); }
.faq-page__nav .section-buttons { flex-direction: column; align-items: stretch; padding-top: 0; }
.faq-page__nav .section-buttons .btn { width: 100%; }
.faq-group { scroll-margin-top: 110px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group > .h3 { margin-bottom: 16px; }
.faq-page .faq__item { background: var(--bg); }
.faq-page .faq__icon { background: var(--white); }

/* Sitemap page: one cream card per group, link list (same as the FAQ topic list) */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; align-items: start; }
.sitemap-card { display: flex; flex-direction: column; gap: 16px; padding: 40px; background: var(--bg); border-radius: var(--radius); }

/* 404 page: big number over the centered hero, then the sitemap cards */
.error-hero__code {
  font-size: clamp(96px, 9vw + 40px, 180px); font-weight: 500; line-height: .9; letter-spacing: -0.06em;
  background: linear-gradient(180deg, var(--teal), var(--dark)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.error-end { height: var(--section-y); }

/* Two items: light card next to a navy card */
.pair-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
.pair-card { display: flex; flex-direction: column; gap: 14px; padding: 40px; background: var(--bg); border-radius: var(--radius); }
.pair-card .check-list li { font-size: 15px; }
.pair-card--dark { background: var(--dark); color: #fff; }
.pair-card--dark .h3 { color: #fff; }
.pair-card > p { color: var(--muted); font-size: 15.3px; line-height: 27.2px; }
.pair-card--dark > p { color: rgba(255, 255, 255, .75); }
.pair-cards--on-cream .pair-card:not(.pair-card--dark) { background: var(--white); }
.pair-card .text-link { align-self: flex-start; margin-top: auto; }
.pair-card--dark .check-list li { color: rgba(255, 255, 255, .9); border-color: rgba(255, 255, 255, .14); }

/* Dark feature panel: text left, photo right (photo first in HTML → on top when stacked) */
.sp-section--tight { padding-block: var(--section-y) 0; }
.feature-panel {
  max-width: 1485px; margin-inline: auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center;
  padding: 56px; background: var(--dark); border-radius: var(--radius-lg);
}
.feature-panel__media { order: 2; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--dark-2); }
.feature-panel__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.feature-panel__copy { display: flex; flex-direction: column; gap: 18px; padding-left: 16px; }
.feature-panel__copy .h2 { color: #fff; }
.feature-panel__copy p { color: rgba(255, 255, 255, .78); font-size: 17px; line-height: 30px; max-width: 560px; }

/* Compact note card: heading left, text right */
.note-card-wrap { padding-top: 24px; }
.note-card {
  max-width: 1485px; margin-inline: auto;
  display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 40px; align-items: center;   /* heading column fits its heading */
  padding: 40px 48px; background: var(--white); border-radius: var(--radius-lg);
}
.note-card__head { display: flex; align-items: center; gap: 14px; padding-right: 40px; border-right: .556px solid var(--line); min-height: 56px; }
.note-card__head .h3 { white-space: nowrap; }
.note-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--mint); }
.note-card__icon img { width: 22px; height: 22px; }
.note-card p { color: var(--muted); font-size: 16px; line-height: 28px; }

/* Phone + hours cards under the Visit text */
.info-cards { width: 100%; display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px 40px; margin-top: 14px; }
.info-card { display: flex; flex-direction: column; gap: 6px; }
.info-card__head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.info-card__head h3 { font-size: 16.5px; font-weight: 500; line-height: 24px; letter-spacing: -.3px; color: var(--ink); }
.info-card__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--mint); }
.info-card__icon img { width: 18px; height: 18px; }
.info-card__icon .icon-dark { filter: brightness(0); opacity: .8; }   /* clock icon file is white */
.visit a.info-card__phone {
  display: flex; flex-direction: column;
  padding: 8px 0; border-top: .556px solid var(--line);
  font-size: 18px; font-weight: 500; line-height: 26px; letter-spacing: -.2px;
  color: var(--ink); text-decoration: none; white-space: nowrap;
}
.info-card__phone small { font-size: 12.5px; font-weight: 400; line-height: 18px; letter-spacing: 0; color: var(--muted); }
.visit a.info-card__phone:hover { color: var(--teal); }
.info-card__hours { display: flex; flex-direction: column; }
.info-card__hours div {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 7px 0; border-top: .556px solid var(--line);
  font-size: 14px; line-height: 22px;
}
.info-card__hours dt { color: var(--muted); white-space: nowrap; }
.info-card__hours dd { color: var(--ink); text-align: right; }

.visit__map { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); border: 1px solid var(--line); }
.visit__map iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Suggested internal links */
.related { padding-block: 48px 0; }
.related__inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.related__link {
  display: inline-flex; align-items: center; gap: 8px;
  min-height: 48px; padding: 0 20px;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--pill);
  font-size: 14.6px; font-weight: 500; color: var(--ink);
  transition: box-shadow .2s, transform .2s;
}
.related__link img { width: 17.6px; height: 17.6px; transition: transform .2s; }
.related__link:hover { box-shadow: var(--shadow); transform: translateY(-1px); }
.related__link:hover img { transform: translateX(3px); }

/* Dark call-to-action panel (shared include, page's own words) */
.cta-panel-wrap { padding-block: 48px var(--section-y); }
.cta-panel {
  max-width: 1485px; margin-inline: auto;
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 72px 40px; text-align: center;
  background: var(--dark); color: #fff; border-radius: var(--radius-lg);
}
.cta-panel .h2 { color: #fff; max-width: 820px; }
.cta-panel__text { max-width: 640px; color: rgba(255, 255, 255, .72); font-size: 16px; line-height: 27px; }
.cta-panel__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; }
.cta-panel .btn-row { padding-top: 6px; }
.btn--gold img { width: 17.6px; height: 17.6px; }

@media (max-width: 1099px) {
  .split, .visit { gap: 48px; }
  .benefit-cards--center > li { flex-basis: calc((100% - 12px) / 2); }
  .benefit-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero--image .page-hero__grid { gap: 40px; }
}
@media (max-width: 900px) {
  .pair-cards { grid-template-columns: minmax(0, 1fr); }
  .faq-page { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .faq-page__nav { position: static; }
  .faq-page__nav ul { flex-direction: row; flex-wrap: wrap; gap: 8px; border-top: 0; }
  .faq-page__nav li a { min-height: 44px; padding: 0 16px; border: 1px solid var(--line); border-radius: var(--pill); background: var(--bg); font-size: 14.4px; }
  .faq-page__nav li a:hover { padding-left: 16px; }
  .faq-page__nav .section-buttons { display: none; }
  .sitemap-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-combo { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .contact-combo__info { position: static; }
  .step-cards { grid-template-columns: minmax(0, 1fr); }
  .feature-panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; }
  .feature-panel__media { order: 0; }          /* photo above text when stacked */
  .feature-panel__copy { padding-left: 0; }
  .feature-panel--media-left .feature-panel__copy { padding-right: 0; }
  .note-card { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 32px; }
  .note-card__head { border-right: 0; padding-right: 0; min-height: 0; }
  .note-card__head .h3 { white-space: normal; }
  .page-hero--image .page-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .page-hero__media { max-width: 620px; aspect-ratio: 16 / 11; }
  .split, .visit { grid-template-columns: minmax(0, 1fr); }
  .split--reverse .split__media { order: 0; }        /* photo always on top when stacked */
  .split__media { max-width: 520px; }
  .value-cards { grid-template-columns: minmax(0, 1fr); }
  .visit__map { aspect-ratio: 16 / 11; }
}
@media (max-width: 600px) {
  .sitemap-card { padding: 28px 22px; }
  .page-hero__intro { font-size: 15.3px; }
  .split__media { border-radius: 20px; }
  .value-card { padding: 22px; }
  .pair-card { padding: 26px 22px; }
  .section-buttons { width: 100%; }
  .section-buttons .btn { width: 100%; }
  .benefit-cards { grid-template-columns: minmax(0, 1fr); }
  .benefit-cards--center > li { flex-basis: 100%; }
  .compare__table { font-size: 14px; line-height: 21px; }
  .compare__table th, .compare__table td { padding: 14px 10px; }
  .compare__table thead th { font-size: 14px; }
  .benefit-card { padding: 18px; }
  .pair-card.option-card { padding-right: 22px; padding-top: 70px; }
  .option-card__arrow { top: 20px; right: auto; left: 22px; }
  .contact-combo__info { padding: 22px 18px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .contact-form__submit { width: 100%; }
  .contact-map { height: 220px; }
  .contact-lines { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .case-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .lightbox__nav--prev { left: 8px; }
  .lightbox__nav--next { right: 8px; }
  .lightbox__close { top: -54px; right: 0; }
  .step-card { padding: 22px; }
  .feature-panel { padding: 20px 20px 28px; border-radius: 22px; gap: 24px; }
  .feature-panel__copy { padding-inline: 4px; }
  .feature-panel__copy p { font-size: 15.5px; line-height: 27px; }
  .note-card { padding: 26px 22px; border-radius: 22px; }
  .cta-panel { padding: 48px 22px; border-radius: 22px; }
  .cta-panel .btn-row .btn { width: 100%; }
  .related { padding-top: 32px; }
}

/* =========================================================
   Scroll reveal
   ========================================================= */
.js .reveal { opacity: 0; transform: translateY(18px); filter: blur(4px); transition: opacity .7s ease, transform .7s ease, filter .7s ease; transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.is-visible { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .creds__track { animation: none; }
  .creds__viewport { overflow-x: auto; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .main-nav a { padding-inline: 10px; font-size: 13.8px; }
  .site-header__call span { display: none; }
}

@media (max-width: 1099px) {
  :root { --section-y: 88px; }
  /* mobile menu */
  .nav-toggle { display: block; }
  .site-header__call { display: none; }
  .site-header__pill { justify-content: space-between; }
  .main-nav { display: none; }
  .drawer { display: block; }

  .doctor { gap: 48px; }
  .journey { padding-top: 160px; }
  .journey__grid { gap: 48px; }
  .faq__grid { gap: 48px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 900px) {
  :root { --section-y: 72px; }
  .br-lg { display: none; }
  .method__tab { padding: 12px 14px 18px; font-size: 14.5px; }
  .method__panel { grid-template-columns: 1fr; gap: 32px; }
  .method__visual { min-height: 0; padding: 48px 18px; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento__figure { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 10; }
  .bento__card--a, .bento__card--b { grid-column: auto; grid-row: auto; }
  .bento { grid-auto-rows: auto; }
  .bento__card { min-height: 0; }
  .journey { padding-top: var(--section-y); }
  .journey__grid, .faq__grid, .doctor, .cta__grid { grid-template-columns: minmax(0, 1fr); }
  .bento__card:last-child { grid-column: 1 / -1; }
  .journey__intro, .faq__intro { position: static; }
  .doctor__photo { max-width: 520px; width: 100%; }
  .cta { padding-block: var(--section-y); }
  .faq { padding-bottom: var(--section-y); }
  .cta__grid { gap: 48px; }
}

@media (max-width: 767px) {
  .stats { grid-template-columns: 1fr; }
  .intro__statement { padding-inline: 0; }
  .gallery__head, .reviews__head { flex-direction: column; align-items: flex-start; }
  .gallery__item { width: min(300px, 78vw); }
  .reviews__track > li { width: min(360px, 84vw); }
  .method__tabs { grid-template-columns: 1fr; }
  .method__tab.is-active::after { display: none; }
  .panel { margin-inline: 12px; border-radius: 22px; }
}

@media (max-width: 600px) {
  :root { --gutter: 16px; --section-y: 64px; }
  .site-header { padding: 10px 12px 8px; }
  .site-header__pill { padding-left: 14px; height: 58px; }
  .site-header__logo img { width: 110px; height: 62px; }
  .site-header__actions .btn--sm { padding: 0 16px; }
  .hero { padding-top: 40px; }
  .page-hero { padding: 32px 0 0; }
  .page-hero__media { border-radius: 20px; }
  .page-hero__buttons { width: 100%; }
  .page-hero__buttons .btn { width: 100%; }
  .legal { padding: 28px 20px; border-radius: 22px; font-size: 14.8px; line-height: 26px; }
  .legal h2 { margin-top: 34px; }
  .creds { padding-top: 44px; }
  .gallery { padding-bottom: 48px; }
  .gallery__track { padding-block: 18px 20px; }
  .panel { margin-inline: 8px; }
  .section-head { margin-bottom: 28px; }
  .hero__figure { margin-top: 36px; border-radius: 20px; aspect-ratio: 4 / 3; }
  .btn-row--center .btn { width: 100%; max-width: 340px; }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .steps__item { padding: 22px; gap: 14px; }
  .steps__num { width: 42px; height: 42px; }
  .review { padding: 22px; }
  .faq__item summary { padding-left: 18px; padding-right: 14px; }
  .faq__answer p { padding-inline: 18px; }
  .cta .btn-row { width: 100%; }
  .cta .btn-row .btn { flex: 1 1 100%; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer__logo { width: 220px; height: auto; }
}

@media (max-width: 380px) {
  .compare__table { font-size: 13px; line-height: 19px; }
  .compare__table th, .compare__table td { padding: 12px 7px; }
  .compare__table tbody th { width: 28%; }
  .site-header__actions .btn--sm { display: none; }
  .btn { padding-inline: 18px; font-size: 14.5px; }
  .btn--call, .btn--icon { padding-right: 18px; }
  .gallery__item { width: 82vw; }
  .faq__help { padding: 18px; }
  .faq__help .btn { white-space: normal; text-align: left; }
}
