/* =====================================================================
   Ivory Dental Studio: premium dental clinic template
   ---------------------------------------------------------------------
   1. Theme tokens (swap per clinic with <html data-theme="...">)
   2. Base & utilities
   3. Components (buttons, eyebrow, section heads)
   4. Sections, top to bottom
   5. Floating UI (action bar, cookie banner, demo customiser)
   ===================================================================== */

/* ---------- 1. Theme tokens ---------- */
:root,
[data-theme="sage"] {
  --brand: #1F3B34;
  --brand-2: #2D5449;
  --brand-ink: #F5EFE4;
  --tint: #E3EBE5;
  --accent: #B08D57;
  --accent-ink: #86683A;
  --accent-soft: #F2E8D8;
  --bg: #FAF7F1;
  --bg-alt: #F3EEE5;
  --surface: #FFFFFF;
  --ink: #17231F;
  --ink-2: #4A5753;
  --ink-3: #737D79;
  --line: #E5DDD0;
}

[data-theme="navy"] {
  --brand: #0F2340;
  --brand-2: #1D3A63;
  --brand-ink: #F3F0E8;
  --tint: #E4EAF3;
  --accent: #C3A062;
  --accent-ink: #8A6A2F;
  --accent-soft: #F4ECDD;
  --bg: #F8F7F4;
  --bg-alt: #EEF1F5;
  --surface: #FFFFFF;
  --ink: #0E1A2B;
  --ink-2: #475467;
  --ink-3: #6E7887;
  --line: #E0E5EC;
}

[data-theme="teal"] {
  --brand: #0B4A4E;
  --brand-2: #11676C;
  --brand-ink: #EFF8F6;
  --tint: #DCEFEC;
  --accent: #E0795B;
  --accent-ink: #B04A2B;
  --accent-soft: #FBE5DC;
  --bg: #F7FAF9;
  --bg-alt: #EAF3F1;
  --surface: #FFFFFF;
  --ink: #0F2425;
  --ink-2: #45595A;
  --ink-3: #6C7E7F;
  --line: #DAE6E4;
}

[data-theme="plum"] {
  --brand: #3A1E33;
  --brand-2: #57304C;
  --brand-ink: #FAF1F2;
  --tint: #F2E4EA;
  --accent: #C49A6C;
  --accent-ink: #8B6337;
  --accent-soft: #F5EADF;
  --bg: #FCF8F6;
  --bg-alt: #F5EDEA;
  --surface: #FFFFFF;
  --ink: #25141F;
  --ink-2: #5B4854;
  --ink-3: #85737E;
  --line: #EDE1DE;
}

:root {
  --radius: 18px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(20, 30, 25, .06), 0 2px 8px rgba(20, 30, 25, .05);
  --shadow: 0 18px 40px -18px rgba(20, 35, 30, .28);
  --shadow-lg: 0 34px 70px -24px rgba(20, 35, 30, .38);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 128px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .4s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
p { margin: 0; }
address { font-style: normal; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -.02em;
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 300;
  color: var(--accent);
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section); }
.section--alt { background: var(--bg-alt); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--brand);
  color: var(--brand-ink);
  font-weight: 600;
  transition: top .2s;
}
.skip-link:focus { top: 16px; }

.icon {
  width: 22px;
  height: 22px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* Market switch: hide the copy for the other region */
html[data-region="us"] [data-only="uk"],
html[data-region="uk"] [data-only="us"] { display: none !important; }

/* Scroll reveal (only when JS is running) */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.js .reveal[data-delay="1"] { transition-delay: .08s; }
.js .reveal[data-delay="2"] { transition-delay: .16s; }
.js .reveal[data-delay="3"] { transition-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- 3. Components ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 54px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .35s var(--ease), background-color .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn .icon { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }

.btn--primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--brand) 80%, transparent);
}
.btn--primary:hover { background: var(--brand-2); transform: translateY(-2px); }

.btn--ghost { background: transparent; border-color: color-mix(in srgb, var(--ink) 18%, transparent); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn--light { background: var(--brand-ink); color: var(--brand); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }

.btn--outline-light { border-color: rgba(255, 255, 255, .28); color: var(--brand-ink); }
.btn--outline-light:hover { border-color: var(--brand-ink); }

.btn--sm { height: 44px; padding: 0 20px; font-size: 14.5px; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent-ink);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 760px; }
.section-head--split {
  max-width: none;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: end;
  gap: 24px 64px;
}
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::after {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
}

.section-title { font-size: clamp(38px, 5.2vw, 64px); }
.section-lead { color: var(--ink-2); font-size: clamp(16.5px, 1.4vw, 18.5px); margin-top: 20px; }
.section-head--split .section-lead { margin-top: 0; }
.section-head--center .section-lead { max-width: 600px; margin-inline: auto; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-weight: 700;
  font-size: 15px;
  color: var(--brand);
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover .icon { transform: translateX(4px); }

.stars { display: flex; gap: 2px; color: var(--accent); }
.stars .icon { width: 16px; height: 16px; }

/* ---------- 4a. Top bar ---------- */
.topbar {
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 13.5px;
}
.topbar__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 42px;
}
.topbar__group { display: flex; align-items: center; gap: 28px; }
.topbar__item { display: inline-flex; align-items: center; gap: 8px; opacity: .88; }
.topbar a.topbar__item:hover { opacity: 1; }
.topbar .icon { width: 15px; height: 15px; }
.topbar .pill {
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
}

/* ---------- 4b. Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  backdrop-filter: saturate(1.4) blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background-color .4s;
}
.header.is-scrolled {
  border-color: var(--line);
  box-shadow: 0 10px 30px -24px rgba(0, 0, 0, .35);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__image { display: block; width: auto; max-width: min(220px, 42vw); height: 48px; object-fit: contain; object-position: left center; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-display); font-size: 27px; letter-spacing: -.02em; }
.logo__sub {
  margin-top: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav { display: flex; gap: 2px; }
.nav a {
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color .2s, background-color .2s;
}
.nav a:hover, .nav a.is-active { color: var(--ink); background: color-mix(in srgb, var(--ink) 6%, transparent); }

.header__actions { display: flex; align-items: center; gap: 16px; }
.header__phone { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; line-height: 1.2; }
.header__phone small { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-3); letter-spacing: .04em; }
.icon-circle {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
}
.icon-circle .icon { width: 18px; height: 18px; }

.menu-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  cursor: pointer;
}

.mobile-nav {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  top: var(--mobile-nav-top, 126px);
  z-index: 49;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter) 40px;
  background: var(--bg);
  overflow-y: auto;
  animation: fade-in .3s var(--ease);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav nav { display: flex; flex-direction: column; }
.mobile-nav nav a {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: -.02em;
}
.mobile-nav__foot { display: grid; gap: 12px; }
body.menu-open { overflow: hidden; }
body.menu-open .action-bar,
body.menu-open .customizer { display: none; }

@keyframes fade-in { from { opacity: 0; transform: translateY(-8px); } }

@media (max-width: 1280px) {
  .header__phone { display: none !important; }
}
@media (max-width: 1080px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
}
@media (max-width: 860px) {
  .topbar__hide-sm { display: none !important; }
  .topbar__inner { justify-content: center; }
  .topbar__group:last-child { display: none; }
}
@media (max-width: 560px) {
  :root { --header-h: 72px; }
  .topbar { display: none; }
  .header__cta { display: none; }
  .logo__image { max-width: 160px; height: 40px; }
  .logo__name { font-size: 24px; }
}

/* ---------- 4c. Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(28px, 5vw, 64px);
  padding-bottom: clamp(72px, 9vw, 120px);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -12%;
  top: -30%;
  width: min(70vw, 900px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, var(--tint), transparent 72%);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(48px, 6vw, 96px);
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 96px);
  font-weight: 350;
  line-height: .98;
  letter-spacing: -.04em;
}
.hero__lead {
  max-width: 520px;
  margin-top: 28px;
  font-size: clamp(17px, 1.5vw, 19.5px);
  color: var(--ink-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero__proof {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  max-width: 520px;
}
.avatars { display: flex; padding-left: 12px; }
.avatars img {
  width: 46px; height: 46px;
  margin-left: -12px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  object-fit: cover;
  background: var(--tint);
}
.proof__text p { font-size: 14.5px; color: var(--ink-2); margin-top: 4px; }
.proof__text strong { color: var(--ink); font-weight: 800; }

.hero__media { position: relative; justify-self: end; width: 100%; max-width: 540px; }
.arch {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--tint);
  box-shadow: var(--shadow-lg);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.arch::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, color-mix(in srgb, var(--brand) 35%, transparent));
}

.seal {
  position: absolute;
  left: -46px;
  top: 12%;
  width: 124px; height: 124px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-lg);
}
.seal__ring {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  fill: currentColor;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  animation: spin 22s linear infinite;
}
.seal__icon { width: 30px; height: 30px; color: var(--accent); }

.float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 20px 14px 14px;
  border-radius: 20px;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid color-mix(in srgb, var(--surface) 60%, transparent);
  box-shadow: var(--shadow);
  font-size: 14px;
  line-height: 1.3;
  animation: float 7s ease-in-out infinite;
}
.float-card small {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 3px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.float-card strong { font-size: 15.5px; font-weight: 700; }
.float-card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: var(--tint);
  color: var(--brand);
}
.float-card--next { left: -56px; bottom: 12%; }
.float-card--badge { right: -28px; top: 52%; animation-delay: -3.5s; }
.live-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #1F9D63;
  box-shadow: 0 0 0 0 rgba(31, 157, 99, .5);
  animation: pulse 2s infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(31, 157, 99, 0); } 100% { box-shadow: 0 0 0 0 rgba(31, 157, 99, 0); } }

@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__media { justify-self: center; max-width: 480px; margin-top: 8px; }
  .float-card--next { left: -12px; }
  .float-card--badge { right: -12px; }
  .seal { left: -12px; width: 104px; height: 104px; }
}
@media (max-width: 480px) {
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__proof { gap: 14px; }
  .float-card { padding: 10px 14px 10px 10px; gap: 10px; }
  .float-card__icon { width: 38px; height: 38px; border-radius: 12px; }
  .float-card strong { font-size: 14px; }
  .float-card--badge { top: auto; bottom: 30%; }
  .float-card--next { bottom: 6%; }
  .seal { width: 88px; height: 88px; top: 4%; }
  .seal__icon { width: 24px; height: 24px; }
}

/* ---------- 4d. Trust strip ---------- */
.trust { background: var(--surface); border-block: 1px solid var(--line); }
.trust__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 48px;
  padding-block: 28px;
}
.trust__label { max-width: 200px; font-size: 13.5px; font-weight: 600; line-height: 1.45; color: var(--ink-3); }
.trust__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 44px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.trust__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink-2);
}
.trust__list .icon { color: var(--accent); }
@media (max-width: 700px) {
  .trust__list { gap: 12px 28px; }
  .trust__list li { font-size: 17px; }
}

/* ---------- 4e. Treatments ---------- */
.t-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.t-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
  padding: 30px 28px 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .3s;
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.t-card__icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  margin-bottom: 10px;
  border-radius: 18px;
  background: var(--tint);
  color: var(--brand);
  transition: background-color .4s, color .4s;
}
.t-card__icon .icon { width: 26px; height: 26px; }
.t-card:hover .t-card__icon { background: var(--brand); color: var(--brand-ink); }
.t-card h3 { font-size: 25px; }
.t-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.t-card p { font-size: 15.5px; line-height: 1.6; color: var(--ink-2); }
.t-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
}
.t-card__price { font-size: 13.5px; color: var(--ink-3); }
.t-card__price strong {
  margin-left: 2px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.t-card__arrow {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: transform .45s var(--ease), background-color .3s, border-color .3s, color .3s;
}
.t-card__arrow .icon { width: 17px; height: 17px; }
.t-card:hover .t-card__arrow { transform: rotate(-45deg); background: var(--accent); border-color: var(--accent); color: #fff; }

.t-card--feature {
  grid-row: span 2;
  justify-content: flex-end;
  min-height: 620px;
  padding: 0;
  border: 0;
  color: #fff;
  background: var(--brand);
}
.t-card--feature img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease);
}
.t-card--feature:hover img { transform: scale(1.05); }
.t-card--feature::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, color-mix(in srgb, var(--brand) 94%, #000) 92%);
}
.t-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; padding: 32px; }
.t-card--feature h3 { font-size: clamp(30px, 3vw, 38px); }
.t-card--feature p { color: rgba(255, 255, 255, .84); }
.t-card--feature .t-card__foot { border-color: rgba(255, 255, 255, .25); }
.t-card--feature .t-card__price,
.t-card--feature .t-card__price strong { color: #fff; }
.t-card--feature .t-card__arrow { border-color: rgba(255, 255, 255, .35); }
.tag {
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .t-grid { grid-template-columns: repeat(2, 1fr); }
  .t-card--feature { grid-row: auto; grid-column: span 2; min-height: 460px; }
}
@media (max-width: 620px) {
  .t-grid { grid-template-columns: 1fr; }
  .t-card--feature { grid-column: auto; min-height: 500px; }
  .t-card { min-height: 0; }
}

/* ---------- 4f. Split layouts: about + gallery ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}

.collage { position: relative; padding-bottom: 72px; margin-right: 32px; }
.collage__main {
  aspect-ratio: 5 / 6;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint);
  box-shadow: var(--shadow);
}
.collage__main img, .collage__inset img { width: 100%; height: 100%; object-fit: cover; }
.collage__inset {
  position: absolute;
  right: -32px;
  bottom: 0;
  width: 50%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid var(--bg-alt);
  border-radius: var(--radius-lg);
  background: var(--tint);
  box-shadow: var(--shadow-lg);
}
.collage__stat {
  position: absolute;
  left: -28px;
  top: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 26px;
  border-radius: 24px;
  background: var(--brand);
  color: var(--brand-ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
}
.collage__stat-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}

.checklist { display: grid; gap: 24px; margin: 40px 0 0; padding: 0; list-style: none; }
.checklist li { display: grid; grid-template-columns: 50px 1fr; gap: 18px; }
.checklist .ic {
  width: 50px; height: 50px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--accent-soft);
  color: var(--accent-ink);
}
.checklist h3 {
  margin-bottom: 4px;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}
.checklist p { font-size: 15.5px; color: var(--ink-2); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.03em;
  font-variant-numeric: tabular-nums;
}
.stat__label { margin-top: 8px; font-size: 14px; color: var(--ink-3); }

@media (max-width: 980px) {
  .split { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin-inline: 16px 40px; }
}
@media (max-width: 520px) {
  .collage { margin-inline: 8px 20px; }
  .collage__inset { right: -20px; }
  .collage__stat { left: -12px; padding: 14px 18px; }
  .collage__stat-num { font-size: 40px; }
  .stats { gap: 12px; }
}

/* Before / after */
.split--gallery { grid-template-columns: .85fr 1.15fr; }
.case {
  display: grid;
  gap: 0;
  margin: 32px 0 36px;
  border-top: 1px solid var(--line);
}
.case div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.case dt { font-size: 14px; color: var(--ink-3); }
.case dd { margin: 0; font-weight: 700; text-align: right; }

.ba {
  --pos: 50%;
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint);
  box-shadow: var(--shadow-lg);
  user-select: none;
  touch-action: pan-y;
}
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__before img { filter: sepia(.5) saturate(.7) brightness(.88) contrast(.9) hue-rotate(-8deg); }
.ba__line {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--pos);
  width: 2px;
  transform: translateX(-1px);
  background: #fff;
  pointer-events: none;
}
.ba__handle {
  position: absolute;
  top: 50%;
  left: var(--pos);
  width: 58px; height: 58px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--brand);
  transform: translate(-50%, -50%);
  box-shadow: var(--shadow);
  pointer-events: none;
  transition: transform .3s var(--ease);
}
.ba:hover .ba__handle { transform: translate(-50%, -50%) scale(1.08); }
.ba__range {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%; height: 100%;
  margin: 0;
  opacity: 0;
  cursor: ew-resize;
}
.ba__range:focus-visible ~ .ba__handle,
.ba__range:focus-visible + .ba__handle { outline: 3px solid var(--accent); outline-offset: 3px; }
.ba__label {
  position: absolute;
  top: 20px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, .42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  pointer-events: none;
}
.ba__label--before { left: 20px; }
.ba__label--after { right: 20px; }

@media (max-width: 980px) {
  .split--gallery { grid-template-columns: 1fr; }
}

/* ---------- 4g. Dentist + team ---------- */
.dentist {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  align-items: center;
  gap: clamp(48px, 7vw, 104px);
}
.dentist__media { position: relative; padding: 0 24px 24px 0; }
.dentist__media::before {
  content: "";
  position: absolute;
  inset: 24px 0 0 24px;
  border: 1px solid var(--accent);
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.dentist__photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
  background: var(--tint);
}
.dentist__photo img { width: 100%; height: 100%; object-fit: cover; }

.quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 350;
  line-height: 1.28;
  letter-spacing: -.015em;
}
.quote::before {
  content: "\201C";
  display: block;
  height: 52px;
  font-size: 110px;
  line-height: 1;
  color: var(--accent);
}
.signature {
  margin-top: 36px;
  font-family: var(--font-display);
  font-size: 30px;
  font-style: italic;
  color: var(--brand);
}
.signature__role { font-size: 14.5px; color: var(--ink-3); }
.creds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.cred {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
}

.team {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: clamp(64px, 9vw, 112px);
}
.member__photo {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--tint);
}
.member__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.member:hover .member__photo img { transform: scale(1.05); }
.member h3 { margin-top: 22px; font-size: 25px; }
.member p { margin-top: 4px; font-size: 14.5px; color: var(--ink-3); }

@media (max-width: 980px) {
  .dentist { grid-template-columns: 1fr; }
  .dentist__media { max-width: 440px; }
}
@media (max-width: 760px) {
  .team { grid-template-columns: 1fr; gap: 16px; }
  .member { display: grid; grid-template-columns: 96px 1fr; align-items: center; gap: 18px; }
  .member__photo { aspect-ratio: 1; border-radius: 22px; }
  .member h3 { margin-top: 0; font-size: 22px; }
}

/* ---------- 4h. Journey (dark) ---------- */
.journey {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--brand);
  color: var(--brand-ink);
}
.journey::before,
.journey::after {
  content: "";
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.journey::before { width: 720px; height: 720px; right: -240px; top: -300px; }
.journey::after { width: 480px; height: 480px; right: -120px; top: -180px; }
.journey .eyebrow { color: var(--accent); }
.journey .section-lead { color: color-mix(in srgb, var(--brand-ink) 78%, transparent); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.step {
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, .03);
  transition: background-color .4s, transform .5s var(--ease);
}
.step:hover { background: rgba(255, 255, 255, .07); transform: translateY(-4px); }
.step__num {
  font-family: var(--font-display);
  font-size: 64px;
  font-style: italic;
  font-weight: 300;
  line-height: 1;
  color: var(--accent);
}
.step h3 { margin: 28px 0 12px; font-size: 26px; }
.step p { font-size: 15.5px; opacity: .78; }

.journey__note {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 40px;
  padding: 22px 22px 22px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .06);
}
.journey__note p { max-width: 720px; font-size: 15.5px; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .section-head--split { grid-template-columns: 1fr; }
}

/* ---------- 4i. Fees / plans ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.plan h3 { font-size: 28px; }
.plan__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 16px;
  background: var(--tint);
  color: var(--brand);
}
.plan__text { font-size: 15.5px; color: var(--ink-2); }
.plan__price {
  font-family: var(--font-display);
  font-size: 60px;
  line-height: 1;
  letter-spacing: -.035em;
}
.plan__price small { margin-left: 4px; font-family: var(--font-body); font-size: 15px; letter-spacing: 0; opacity: .7; }
.plan__price--sm { font-size: 34px; }
.plan__price--sm { font-family: var(--font-display); }
.plan ul { display: grid; gap: 12px; margin: 4px 0 8px; padding: 0; list-style: none; font-size: 15.5px; }
.plan li { display: flex; gap: 12px; align-items: flex-start; }
.plan li .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--accent); }
.plan .btn { margin-top: auto; }
.plan--featured {
  border-color: transparent;
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-lg);
  transform: translateY(-14px);
}
.plan__badge {
  position: absolute;
  top: -14px;
  left: 32px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.chip {
  padding: 7px 14px;
  border-radius: 999px;
  background: var(--bg-alt);
  font-size: 13.5px;
  font-weight: 600;
}
.price-list { width: 100%; margin-bottom: 8px; border-collapse: collapse; font-size: 15px; }
.price-list td { padding: 11px 0; border-bottom: 1px dashed var(--line); }
.price-list td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.fine { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }

@media (max-width: 1000px) {
  .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .plan--featured { transform: none; order: -1; margin-top: 14px; }
}

/* ---------- 4j. Reviews ---------- */
.rating-card {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.rating-card__score { font-family: var(--font-display); font-size: 60px; line-height: 1; letter-spacing: -.03em; }
.rating-card p { margin-top: 4px; font-size: 14.5px; color: var(--ink-2); }

.reviews { columns: 3 300px; column-gap: 24px; }
.review {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0 0 24px;
  padding: 30px;
  break-inside: avoid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.review blockquote { margin: 0; font-size: 16.5px; line-height: 1.65; }
.review figcaption { display: flex; align-items: center; gap: 14px; }
.review figcaption img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; background: var(--tint); }
.review figcaption strong { display: block; font-size: 15px; }
.review figcaption small { font-size: 13px; color: var(--ink-3); }
@media (max-width: 900px) {
  .rating-card { justify-self: start; }
}

/* ---------- 4k. Offer ---------- */
.offer { padding-top: 0; }
#reviews + .offer { background: var(--bg-alt); }
.offer + #book { padding-top: 0; }
.offer__card {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr .6fr;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 5.5vw, 76px);
  border-radius: 36px;
  background: var(--accent-soft);
}
.offer__card::before {
  content: "";
  position: absolute;
  z-index: -1;
  right: -120px;
  bottom: -220px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}
.offer__card h2 { max-width: 640px; font-size: clamp(32px, 4.2vw, 54px); }
.offer__text { max-width: 520px; margin: 18px 0 32px; color: var(--ink-2); }
.offer__price { display: flex; flex-direction: column; align-items: center; text-align: center; }
.offer__price strong {
  font-family: var(--font-display);
  font-size: clamp(72px, 9vw, 124px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: -.05em;
  color: var(--brand);
}
.offer__value { font-size: 14px; font-weight: 600; color: var(--ink-3); text-decoration: line-through; }
.offer__price small { margin-top: 8px; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
@media (max-width: 860px) {
  .offer__card { grid-template-columns: 1fr; }
  .offer__price { align-items: flex-start; text-align: left; order: -1; }
}

/* ---------- 4l. Booking ---------- */
.booking__grid {
  display: grid;
  grid-template-columns: 1.3fr .7fr;
  align-items: start;
  gap: 28px;
  scroll-margin-top: calc(var(--header-h) + 16px);
}
.form-card {
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.form-card[aria-busy="true"] { opacity: .7; pointer-events: none; }
.booking-wizard__progress { margin: 24px 0 30px; }
.booking-wizard__actions { display: flex; justify-content: flex-end; margin: 0 0 16px; }
.booking-wizard__cancel { color: var(--brand); text-decoration: none; }
.booking-wizard__progress ol { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 0; padding: 0; list-style: none; }
.booking-wizard__progress li { display: grid; justify-items: center; gap: 6px; padding-top: 10px; border-top: 2px solid var(--line); color: var(--ink-3); text-align: center; }
.booking-wizard__progress li.is-current, .booking-wizard__progress li.is-done { border-color: var(--brand); color: var(--brand); }
.booking-wizard__progress li span { display: grid; width: 27px; height: 27px; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: 12px; font-weight: 700; }
.booking-wizard__progress li.is-current span, .booking-wizard__progress li.is-done span { background: var(--brand); color: var(--brand-ink); }
.booking-wizard__progress li small { font-size: 11px; font-weight: 700; }
.booking-wizard__panel h4 { margin-bottom: 8px; font-size: clamp(22px, 3vw, 30px); }
.booking-wizard__panel h4:focus { outline: none; }
.booking-wizard__options { display: grid; gap: 10px; max-height: 380px; overflow-y: auto; margin-top: 22px; }
.booking-wizard__option { display: grid; gap: 3px; padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none; transition: border-color .2s, background-color .2s; }
.booking-wizard__option:hover, .booking-wizard__option:focus-visible { border-color: var(--brand); background: var(--tint); }
.booking-wizard__option strong { font-size: 16px; }
.booking-wizard__option small, .booking-wizard__option span { color: var(--ink-3); font-size: 13px; }
.booking-wizard__calendar {
  width: 100%;
  max-width: 560px;
  margin: 22px auto 0;
  padding: clamp(14px, 3vw, 24px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--bg);
}
.booking-wizard__calendar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.booking-wizard__calendar-head strong { color: var(--ink); font-family: var(--font-display); font-size: 24px; font-weight: 500; }
.booking-wizard__calendar-nav { display: flex; gap: 6px; }
.booking-wizard__calendar-nav a, .booking-wizard__calendar-nav span { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--line); border-radius: 10px; color: var(--ink); text-decoration: none; }
.booking-wizard__calendar-nav a:hover, .booking-wizard__calendar-nav a:focus-visible { border-color: var(--brand); background: var(--tint); }
.booking-wizard__calendar-nav .is-disabled { color: var(--ink-3); opacity: .45; }
.booking-wizard__calendar table { width: 100%; border-spacing: 3px; table-layout: fixed; text-align: center; }
.booking-wizard__calendar th { padding: 0 0 8px; color: var(--ink-3); font-size: 11px; font-weight: 700; }
.booking-wizard__calendar th abbr { text-decoration: none; }
.booking-wizard__calendar td { padding: 0; }
.booking-wizard__calendar-day {
  position: relative;
  display: grid;
  width: 100%;
  min-height: 40px;
  aspect-ratio: 1;
  place-items: center;
  padding: 4px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
}
.booking-wizard__calendar-day.is-available { border-color: color-mix(in srgb, var(--brand) 45%, transparent); background: var(--tint); color: var(--brand); }
.booking-wizard__calendar-day.is-available:hover, .booking-wizard__calendar-day.is-available:focus-visible { border-color: var(--brand); background: var(--brand); color: var(--brand-ink); }
.booking-wizard__calendar-day.is-available { min-height: 48px; align-content: center; gap: 1px; }
.booking-wizard__calendar-day.is-available small { font-size: 9px; font-weight: 700; line-height: 1; }
.booking-wizard__calendar-day.is-unavailable { color: var(--ink-3); cursor: not-allowed; }
.booking-wizard__calendar-day.is-outside-window { color: var(--ink-3); font-weight: 500; }
.booking-wizard__calendar-day.is-adjacent { color: var(--ink-3); opacity: .65; font-weight: 400; }
.booking-wizard__calendar-day.is-today { box-shadow: inset 0 0 0 1px var(--brand); }
.booking-wizard__calendar-key { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; color: var(--ink-3); font-size: 12px; }
.booking-wizard__calendar-key span { display: inline-flex; align-items: center; gap: 7px; }
.booking-wizard__calendar-key i { width: 9px; height: 9px; border-radius: 50%; }
.booking-wizard__calendar-key .is-available { background: var(--brand); }
.booking-wizard__calendar-key .is-unavailable { background: var(--line); }
.booking-wizard__back { display: inline-block; margin-top: 24px; color: var(--brand); font-weight: 700; text-decoration: none; }
.booking-wizard__back:hover { text-decoration: underline; }
.booking-wizard__summary { display: grid; gap: 10px; margin: 20px 0 26px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg); }
.booking-wizard__summary div { display: flex; justify-content: space-between; gap: 16px; }
.booking-wizard__summary dt { color: var(--ink-3); }
.booking-wizard__summary dd { margin: 0; font-weight: 700; text-align: right; }
.booking-wizard__confirm .form-foot { margin-top: 22px; }
.booking-wizard__confirm .booking-wizard__back { margin-top: 0; }
@media (max-width: 520px) {
  .booking-wizard__progress li small { font-size: 9px; }
  .booking-wizard__calendar { padding: 12px; }
  .booking-wizard__calendar table { border-spacing: 1px; }
  .booking-wizard__calendar-day { min-height: 0; border-radius: 8px; font-size: 12px; }
  .booking-wizard__confirm .form-grid { grid-template-columns: 1fr; }
  .booking-wizard__confirm .field { grid-column: 1 / -1; }
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label, .legend { padding: 0; font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.optional { font-weight: 500; color: var(--ink-3); }
.input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg);
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
textarea.input { height: auto; min-height: 110px; padding: 14px 18px; resize: vertical; }
select.input {
  appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23737D79' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 18px;
}
.input:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.input:focus {
  outline: none;
  border-color: var(--brand);
  background-color: var(--surface);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 4px rgba(180, 35, 24, .1); }
.error { font-size: 13px; font-weight: 600; color: #B42318; }
.error:empty { display: none; }
.hint { font-size: 13px; color: var(--ink-3); }

.segmented { display: flex; flex-wrap: wrap; gap: 8px; }
.segmented label { position: relative; flex: 1 1 0; min-width: max-content; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 54px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s;
}
.segmented span:hover { border-color: color-mix(in srgb, var(--ink) 25%, transparent); }
.segmented input:checked + span { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.segmented input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

.consent { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; line-height: 1.55; color: var(--ink-2); cursor: pointer; }
.consent input { width: 20px; height: 20px; margin-top: 1px; flex: none; accent-color: var(--brand); }
.consent a { text-decoration: underline; text-underline-offset: 2px; }

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.secure-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.secure-note .icon { width: 17px; height: 17px; }
.booking-form button[type="submit"][aria-busy="true"] { opacity: .7; pointer-events: none; }

.form-success { display: grid; justify-items: center; gap: 14px; padding: 48px 12px; text-align: center; outline: none; }
.form-success[hidden] { display: none; }
.form-success__icon {
  width: 76px; height: 76px;
  display: grid; place-items: center;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--tint);
  color: var(--brand);
  animation: pop .6s var(--ease);
}
.form-success__icon .icon { width: 36px; height: 36px; stroke-width: 2; }
.form-success h3 { font-size: 36px; }
.form-success p { max-width: 420px; color: var(--ink-2); margin-bottom: 12px; }
@keyframes pop { from { transform: scale(.5); opacity: 0; } }

.contact-card {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 34px;
  border-radius: 32px;
  background: var(--brand);
  color: var(--brand-ink);
}
.contact-card__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.contact-card h3 { font-size: 30px; }
.open-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .1);
  font-size: 12.5px;
  font-weight: 700;
}
.open-status .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: .6; }
.open-status.is-open .dot { background: #3DDC97; opacity: 1; box-shadow: 0 0 0 3px rgba(61, 220, 151, .25); }
.open-status.is-closed .dot { background: #F59E8B; opacity: 1; }

.contact-row { display: grid; grid-template-columns: 44px 1fr; gap: 14px; font-size: 15.5px; }
.contact-row a { display: block; }
.contact-row a:hover { color: var(--accent); }
.contact-row__icon {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .08);
  color: var(--accent);
}
.contact-row__icon .icon { width: 19px; height: 19px; }
.contact-row small {
  display: block;
  margin-bottom: 2px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  opacity: .6;
}

.hours { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-weight: 500; text-align: left; }
.hours td { text-align: right; opacity: .85; }
.hours tr.is-today th, .hours tr.is-today td { color: var(--accent); font-weight: 700; opacity: 1; }

.map {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 170px;
  padding: 16px;
  overflow: hidden;
  border-radius: 20px;
  background-color: rgba(255, 255, 255, .06);
  background-image:
    linear-gradient(115deg, transparent 47%, rgba(255, 255, 255, .14) 47.5%, rgba(255, 255, 255, .14) 50%, transparent 50.5%),
    linear-gradient(20deg, transparent 60%, rgba(255, 255, 255, .1) 60.5%, rgba(255, 255, 255, .1) 62%, transparent 62.5%),
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 22px 22px, 22px 22px;
}
.map__pin {
  position: absolute;
  left: 50%; top: 42%;
  width: 48px; height: 48px;
  display: grid; place-items: center;
  border-radius: 50% 50% 50% 0;
  background: var(--accent);
  color: #fff;
  transform: translate(-50%, -50%) rotate(-45deg);
  box-shadow: 0 10px 20px -6px rgba(0, 0, 0, .4);
}
.map__pin .icon { transform: rotate(45deg); width: 20px; height: 20px; }
.map__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--brand-ink);
  color: var(--brand);
  font-size: 13.5px;
  font-weight: 700;
}
.map__cta .icon { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.map:hover .map__cta .icon { transform: translateX(3px); }

@media (max-width: 980px) {
  .booking__grid { grid-template-columns: 1fr; }
  .contact-card { position: static; }
}
@media (max-width: 600px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-foot .btn { width: 100%; }
  .contact-card { padding: 26px; }
}

/* ---------- 4m. FAQ ---------- */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  list-style: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.3;
  letter-spacing: -.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand); }
.faq__icon {
  position: relative;
  flex: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  transition: background-color .3s, border-color .3s, color .3s;
}
.faq__icon::before,
.faq__icon::after {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 14px; height: 1.5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform .35s var(--ease);
}
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon { background: var(--brand); border-color: var(--brand); color: var(--brand-ink); }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq__answer { padding: 0 64px 26px 0; color: var(--ink-2); }
@media (max-width: 900px) {
  .faq { grid-template-columns: 1fr; }
  .faq__answer { padding-right: 0; }
}

/* ---------- 4n. Footer ---------- */
.footer {
  padding-top: clamp(64px, 8vw, 104px);
  background: color-mix(in srgb, var(--brand) 82%, #000);
  color: var(--brand-ink);
  font-size: 15px;
}
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.footer__cta h2 { max-width: 720px; font-size: clamp(38px, 5.2vw, 68px); }
.footer__cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-block: 56px;
}
.footer .logo__sub { color: inherit; opacity: .6; }
.footer__about { max-width: 300px; margin-top: 20px; opacity: .72; }
.footer__heading {
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
}
.footer ul { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.footer__grid a, .footer address { opacity: .85; transition: opacity .2s, color .2s; }
.footer__grid a:hover { opacity: 1; color: var(--accent); }
.footer__contact { display: grid; gap: 6px; margin-top: 16px; }
.socials { display: flex; gap: 10px; margin-top: 24px; }
.socials a {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
}
.socials a:hover { border-color: var(--accent); }
.socials .icon { width: 19px; height: 19px; }
.footer__legal {
  display: grid;
  gap: 14px;
  padding-block: 28px 44px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: 13px;
}
.footer__legal > p { max-width: 860px; opacity: .62; }
.footer__legal-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; opacity: .75; }
.footer__legal nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer__legal a:hover { color: var(--accent); }
@media (max-width: 960px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- 5. Floating UI ---------- */
.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: 88px; }
  .action-bar {
    position: fixed;
    left: 12px; right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 60;
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 8px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
  }
  .action-bar .btn,
  .action-bar .chat-launch {
    min-width: 0;
    height: 48px;
    min-height: 48px;
    padding: 0 8px;
    overflow: hidden;
    font-size: 12px;
    white-space: nowrap;
  }
  .action-bar.action-bar--with-chat { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr); }
  .action-bar .btn { text-overflow: ellipsis; }
  .action-bar .chat-launch { width: 100%; justify-content: center; gap: 5px; }
  .action-bar .chat-launch__icon { width: 24px; height: 24px; font-size: 14px; }
}

.cookie {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 80;
  display: grid;
  gap: 16px;
  max-width: 420px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  font-size: 14.5px;
  line-height: 1.55;
  animation: fade-in .4s var(--ease);
}
.cookie[hidden] { display: none; }
.cookie__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie__actions .btn { padding: 0 12px; }
@media (max-width: 760px) {
  .cookie { left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); max-width: none; }
  body.has-cookie .customizer { display: none; }
}

.customizer { position: fixed; right: 20px; bottom: 20px; z-index: 70; }
.customizer--with-chat { display: flex; align-items: center; gap: 8px; z-index: 1001; }
.customizer__toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 52px;
  padding: 0 22px 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: transform .3s var(--ease);
}
.customizer__toggle:hover { transform: translateY(-2px); }
.customizer__panel {
  position: absolute;
  right: 0;
  bottom: 64px;
  display: grid;
  gap: 22px;
  width: 320px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--shadow-lg);
  animation: fade-in .3s var(--ease);
}
.customizer__panel[hidden] { display: none; }
.customizer__title { margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-3); }
.customizer__hint { font-size: 12.5px; line-height: 1.5; color: var(--ink-3); }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  background: none;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
}
.swatch .dot {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c1) 55%, var(--c2) 55%);
  box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px var(--line);
  transition: box-shadow .2s, transform .3s var(--ease);
}
.swatch:hover .dot { transform: scale(1.06); }
.swatch[aria-pressed="true"] { color: var(--ink); }
.swatch[aria-pressed="true"] .dot { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--ink); }
.toggle-group { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 16px; background: var(--bg-alt); }
.toggle-group button {
  height: 42px;
  border: 0;
  border-radius: 12px;
  background: none;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-2);
  cursor: pointer;
}
.toggle-group button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }

@media (max-width: 760px) {
  .customizer { right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); }
  .customizer__toggle { width: 52px; padding: 0; justify-content: center; }
  .customizer__label { display: none; }
  .customizer__panel { width: min(320px, calc(100vw - 24px)); }
}
