/* =========================================================
   Premierlux Dental Clinic: website styles
   Brand: royal violet from the logo's tooth, the crown's
   coral-to-gold gradient, and a Cinzel wordmark.
   ========================================================= */
:root {
  /* Premierlux brand palette (clinic, Nov 2026): #482287 #a959fa #d377ff #ffa8ff #f2b646.
     The three light purples/pinks are decoration only: too light for text on white. */
  --ink: #22103F;          /* brand violet, deepened: headings and text */
  --ink-2: #36186A;
  --violet: #482287;       /* brand primary: buttons, links (11:1 on white) */
  --violet-600: #5B2DA6;   /* hover */
  --lilac: #a959fa;
  --orchid: #d377ff;
  --blush: #ffa8ff;
  --violet-100: #F0E2FF;
  --violet-50: #FAF4FF;
  --gold: #f2b646;         /* brand gold: main call to action, with dark text */
  --gold-deep: #9F5F00;    /* small gold text; 5.1:1 on white (WCAG AA) */
  --crown: linear-gradient(90deg, #a959fa, #d377ff 55%, #ffa8ff);
  --paper: #FFFFFF;
  --cream: #FCF8FF;
  --body: #3B2E57;
  --muted: #66598A;
  --line: #ECDDF8;
  --ok: #17803D;
  --err: #B42318;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(34, 16, 63, .06), 0 12px 32px -16px rgba(34, 16, 63, .28);
  --shadow-lg: 0 2px 6px rgba(34, 16, 63, .08), 0 30px 60px -28px rgba(34, 16, 63, .45);
  --f-display: "DM Serif Display", Georgia, serif;
  --f-logo: "Cinzel", "Trajan Pro", Georgia, serif;
  --f-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
/* Menu links (#services, #braces, #reviews, #branches, #book, #faq): land with the section heading
   just under the sticky header instead of after the section's full top padding. */
.section[id], .braces[id] { scroll-margin-top: -40px; }
@media (max-width: 640px) { .section[id], .braces[id] { scroll-margin-top: -32px; } }
body { margin: 0; background: var(--paper); color: var(--body); font: 400 16.5px/1.6 var(--f-body); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet); }
h1, h2, h3 { color: var(--ink); margin: 0; line-height: 1.12; text-wrap: balance; }
h1, h2 { font-family: var(--f-display); font-weight: 400; letter-spacing: -.01em; }
h3 { font-weight: 700; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }
.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 12px; }
.stars { color: var(--gold); letter-spacing: .06em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font: 700 15px/1 var(--f-body); text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 14px; }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 20px -10px rgba(72, 34, 135, .8); }
.btn-primary:hover { background: var(--violet-600); }
.btn-ghost { background: transparent; color: var(--violet); border-color: var(--violet-100); }
.btn-ghost:hover { background: var(--violet-50); border-color: var(--violet); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px -12px rgba(242, 182, 70, .9); }
.btn-gold:hover { filter: brightness(1.05); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 12.5px/1.2 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--violet); margin-bottom: 14px; }
.eyebrow::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--crown); }
.eyebrow-light { color: var(--gold); }

/* ---------- top bar & header ---------- */
.topbar { background: var(--ink); color: #D9D0F7; font-size: 13.5px; }
.topbar-inner { display: flex; justify-content: space-between; gap: 16px; padding: 8px 0; }
.topbar strong { color: #fff; }
.topbar-hours { display: inline-flex; align-items: center; gap: 6px; }
.topbar-ic { width: 15px; height: 15px; fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 28px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--violet-100); }
.logo-words { display: grid; gap: 3px; }
.logo-name { font: 600 21px/1 var(--f-logo); letter-spacing: .08em; color: var(--ink-2); }
.logo-band { justify-self: stretch; text-align: center; font: 700 9px/1 var(--f-logo); letter-spacing: .28em; color: #fff; background: linear-gradient(90deg, #A8641A, #C88A2E 50%, #A8641A); padding: 3px 4px 2px; border-radius: 2px; }
.logo-light .logo-name { color: #fff; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { color: var(--body); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--violet); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(60% 70% at 90% 10%, rgba(169, 89, 250, .16), transparent 70%),
  radial-gradient(40% 50% at 0% 100%, rgba(242, 182, 70, .14), transparent 70%),
  var(--cream); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 40px 0 56px; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); line-height: 1.04; }
.hero h1 em { font-style: italic; color: var(--violet); }
.lede { font-size: 18.5px; color: var(--muted); margin-top: 20px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 14px 34px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.hero-proof li { display: grid; }
.hero-proof strong { font: 400 28px/1.1 var(--f-display); color: var(--gold-deep);
  /* clinic gold: a soft gold gradient, kept dark enough to read on the light hero (all stops >= 3.5:1) */
  background: linear-gradient(120deg, #9F5F00 0%, #B97B0E 45%, #9F5F00 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero-proof span { font-size: 14px; color: var(--muted); }

.hero-art { position: relative; }
/* Wide screens: the arch would grow taller than the window. Cap its height to the space under
   the top bar and header (keeping its 4:4.6 shape) so the whole hero fits on first load. */
@media (min-width: 1021px) {
  .hero-art { width: 100%; max-width: max(360px, calc((100svh - 210px) * 4 / 4.6)); justify-self: end; }
  /* Fill the window under the top bar (38px) and header (73px), so the next section doesn't peek in */
  /* ...but no taller than a normal laptop window, so big monitors / zoomed-out views stay balanced */
  .hero { min-height: min(calc(100svh - 111px), 760px); display: grid; align-items: center; }
}
/* ...and on short laptop-style windows, tighten the text column too so the rating row shows */
@media (min-width: 1021px) and (max-height: 980px) {
  .hero-grid { padding: 28px 0 40px; }
  .hero-art { max-width: max(360px, calc((100svh - 182px) * 4 / 4.6)); }
  .hero h1 { font-size: clamp(40px, min(5.4vw, 7.6svh), 70px); }
  .lede { font-size: 19.5px; margin-top: 20px; }
  .hero-actions { margin-top: 30px; }
  .hero-actions .btn { min-height: 56px; padding: 0 30px; font-size: 17px; }
  .hero-proof { margin-top: 32px; padding-top: 22px; }
  .hero-proof strong { font-size: 32px; }
  .hero-proof span { font-size: 15px; }
}
.arch { position: relative; aspect-ratio: 4 / 4.6; border-radius: 999px 999px 28px 28px; overflow: hidden; box-shadow: var(--shadow-lg); }
.arch::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 6px rgba(255, 255, 255, .6); pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero-art::before { content: ""; position: absolute; inset: -14px -14px auto auto; width: 70%; height: 55%; border-radius: 999px 999px 0 0; border: 3px solid transparent; border-bottom: 0;
  background: var(--crown) border-box; -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: .85; }
.quote-card { position: absolute; left: -36px; bottom: 34px; width: min(300px, 80%); margin: 0; background: #fff; border-radius: var(--radius); padding: 16px 18px; box-shadow: var(--shadow-lg); border-left: 4px solid var(--gold); }
.quote-card blockquote { margin: 4px 0 8px; font-size: 14.5px; line-height: 1.5; color: var(--ink); }
.quote-card figcaption { font-size: 12.5px; color: var(--muted); }

/* Cut-out hero portrait (transparent PNG/WebP): no frame. She stands on the bottom edge of the
   hero, where the dark band starts, so there's no visible cut; a soft violet glow sits behind her. */
.hero-art--cutout::before { display: none; }
.hero-art--cutout .arch { aspect-ratio: auto; border-radius: 0; box-shadow: none; overflow: visible; display: flex; justify-content: center; align-items: flex-end;
  background: radial-gradient(closest-side at 50% 52%, rgba(169, 89, 250, .30), rgba(169, 89, 250, .12) 55%, transparent 100%); }
.hero-art--cutout .arch::after { display: none; }
.hero-art--cutout .arch img { width: 100%; height: auto; object-fit: contain; display: block; }
@media (min-width: 1021px) {
  .hero:has(.hero-art--cutout) { align-items: stretch; }
  .hero-art--cutout { align-self: end; justify-self: start; max-width: none; width: auto; margin-bottom: -56px; }
  .hero-art--cutout .arch img { width: auto; height: min(calc(100svh - 150px), 640px); max-width: 118%; }
}
@media (max-width: 1020px) {
  /* phone/tablet: she stands on the hero's bottom edge too (cancels the grid's 60px bottom padding) */
  .hero .hero-art--cutout { margin-bottom: -60px; }
}
@media (min-width: 1021px) and (max-height: 980px) {
  .hero-art--cutout { margin-bottom: -40px; }
}

/* ---------- why ---------- */
.why { background: var(--ink); color: #D9D0F7; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; padding: 38px 0; }
.why-item { display: flex; gap: 14px; align-items: flex-start; }
.why-ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.why-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.why h2 { font: 700 16px/1.3 var(--f-body); color: #fff; margin-bottom: 4px; }
.why p { font-size: 14.5px; line-height: 1.5; }

/* ---------- sections ---------- */
.section { padding: 72px 0; }
.section-tint { background: var(--cream); }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(32px, 4vw, 46px); }
.section-sub { font-size: 17.5px; color: var(--muted); margin-top: 14px; }

/* services */
/* Services: square photo tiles with no gaps, 5 across on computers (2 rows of 5), 2 across on
   phones and tablets. The photo fills the tile; the text sits on a violet fade at the bottom. */
.services { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; box-shadow: var(--shadow-lg); }
.service { position: relative; display: flex; flex-direction: column; justify-content: flex-end; aspect-ratio: 1 / 1; overflow: hidden; isolation: isolate; background: var(--crown); }
.service:focus-within { outline: 3px solid var(--gold); outline-offset: -3px; }
.service-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .5s ease; }
.service:hover .service-img { transform: scale(1.05); }
.service::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(34, 16, 63, 0) 40%, rgba(34, 16, 63, .62) 58%, rgba(34, 16, 63, .9) 72%, rgba(34, 16, 63, .96) 100%); }
.service-body { display: flex; flex-direction: column; gap: 6px; padding: 18px 16px 16px; color: #fff; text-shadow: 0 1px 3px rgba(20, 8, 40, .55); }
.service-group { align-self: flex-start; padding: 3px 8px; border-radius: 999px; background: rgba(34, 16, 63, .9); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); text-shadow: none; }
.service h3 { font-size: 18px; line-height: 1.2; color: #fff; }
.service p { font-size: 13.5px; line-height: 1.45; color: rgba(255, 255, 255, .86); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.service-price { color: #fff !important; }
.service-link { margin-top: 4px; font-weight: 700; font-size: 14px; color: var(--gold); text-decoration: none; }
.service-link:focus-visible { outline: none; }
.service-link::after { content: ""; position: absolute; inset: 0; }

/* braces */
.braces { background:
  radial-gradient(50% 60% at 100% 0%, rgba(242, 182, 70, .18), transparent 70%),
  linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%); color: #D9D0F7; padding: 96px 0; }
.braces-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.braces-photo { margin: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); }
.braces-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.braces h2 { color: #fff; font-size: clamp(32px, 4vw, 46px); margin-bottom: 16px; }
.braces-copy > p { font-size: 17px; }
.braces-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 22px; margin: 30px 0 34px; }
.braces-steps li { display: flex; gap: 12px; font-size: 14.5px; line-height: 1.45; }
.braces-steps span { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--crown); color: var(--ink); font-weight: 800; font-size: 14px; }
.braces-steps strong { display: block; color: #fff; font-size: 15.5px; margin-bottom: 2px; }
.braces-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.link-light { color: #fff; font-weight: 600; font-size: 15px; }

/* Braces, light version: soft pink background; the photo is a cut-out (no frame) and she stands on
   a thin clinic-gold line at the bottom of the section. */
.braces--light { color: var(--body); padding: 72px 0 0; border-bottom: 3px solid var(--gold);
  background:
    radial-gradient(42% 60% at 22% 62%, rgba(255, 255, 255, .75), transparent 70%),
    radial-gradient(40% 55% at 100% 0%, rgba(242, 182, 70, .16), transparent 70%),
    radial-gradient(50% 70% at 0% 100%, rgba(169, 89, 250, .14), transparent 70%),
    linear-gradient(160deg, #FDEBF5 0%, #F9DDEF 55%, #F1DAF7 100%); }
.braces--light .braces-grid { align-items: end; grid-template-columns: 1fr 1fr; gap: 40px; }
.braces--light .braces-copy { padding-bottom: 80px; align-self: center; }
.braces--light .braces-photo { border-radius: 0; box-shadow: none; overflow: visible; align-self: end; }
.braces--light .braces-photo { justify-self: center; }
.braces--light .braces-photo img { aspect-ratio: auto; display: block; width: auto; height: min(640px, 70vw); max-width: 100%; object-fit: contain; object-position: 50% 100%; }
.braces--light h2 { color: var(--ink); }
.braces--light .braces-steps strong { color: var(--ink); }
.braces--light .braces-steps li { color: var(--muted); }
.braces--light .link-light { color: var(--violet); }
@media (max-width: 1020px) {
  .braces.braces--light { padding: 60px 0 0; }
  .braces--light .braces-copy { padding-bottom: 8px; }
  .braces--light .braces-grid { grid-template-columns: 1fr; }
  .braces--light .braces-photo { order: 2; max-width: 520px; margin: 0 auto; }
  .braces--light .braces-photo img { width: 100%; height: auto; }
}

/* band */
.band-wrap { padding: 72px 0 0; }
.band { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; }
/* Two real clinic photos side by side (waiting lounge + treatment room) */
.band-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.band img { width: 100%; height: clamp(240px, 34vw, 440px); object-fit: cover; display: block; }
.band .band-room { object-position: 55% 65%; }
.band figcaption { position: absolute; inset: auto 0 0 0; padding: 70px 36px 30px; background: linear-gradient(transparent, rgba(34, 16, 63, .86)); color: #fff; display: grid; gap: 6px; }
.band-eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.band-title { font: 400 clamp(22px, 2.6vw, 32px)/1.2 var(--f-display); max-width: 28em; }

/* reviews */
.rating-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 30px; }
.rating { display: grid; gap: 2px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; color: var(--body); transition: border-color .15s, box-shadow .15s; }
.rating:hover { border-color: var(--violet-100); box-shadow: var(--shadow); }
.rating strong { font: 400 30px/1 var(--f-display); color: var(--ink); }
.rating strong .stars { font-size: 20px; margin-left: 4px; vertical-align: 4px; }
.rating-name { font-weight: 700; color: var(--ink); margin-top: 6px; }
.rating-count { font-size: 13.5px; color: var(--muted); }
/* Google reviews strip: drifts left to right, pauses on hover/focus */
.marquee { overflow: hidden; padding: 6px 0 18px; cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee.dragging { cursor: grabbing; }
.marquee:focus-visible { outline: 2px solid var(--violet); outline-offset: -2px; }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: flex-start; gap: 18px; padding-right: 18px; }
.rv { margin: 0; width: 340px; flex: none; display: flex; flex-direction: column; gap: 12px; background: #fff; border-radius: var(--radius); padding: 22px 22px 18px; border-top: 4px solid var(--gold); box-shadow: var(--shadow); }
.rv-stars { margin: 0; color: var(--gold); font-size: 17px; letter-spacing: 2px; line-height: 1; }
.rv blockquote { margin: 0; font-size: 15px; line-height: 1.6; color: var(--ink); height: calc(1.6em * 8); overflow: hidden; }
.rv blockquote p + p { margin-top: .7em; }
.rv.open blockquote { height: auto; }
.rv.clamped:not(.open) blockquote { -webkit-mask-image: linear-gradient(#000 72%, transparent); mask-image: linear-gradient(#000 72%, transparent); }
/* Every card keeps the "Read more" row, invisible when not needed, so all cards match in height */
.rv-more { visibility: hidden; }
.rv.clamped .rv-more { visibility: visible; }
.rv-more { align-self: flex-start; margin-top: -4px; padding: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 700; color: var(--violet); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.rv figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid var(--line); }
.rv-avatar { width: 36px; height: 36px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--violet-100); color: var(--violet); font-weight: 700; font-size: 15px; }
.rv-who { display: grid; line-height: 1.3; min-width: 0; }
.rv-who strong { color: var(--ink); font-size: 14.5px; }
.rv-who span { color: var(--muted); font-size: 13px; }
.g-logo { width: 18px; height: 18px; margin-left: auto; flex: none; }
@media (max-width: 640px) { .rv { width: 290px; } }

/* branches */
.branch-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; }
.branch { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold); border-radius: var(--radius); padding: 22px; }
.branch-phone { display: inline-flex; align-items: center; gap: 8px; width: max-content; font-size: 15.5px; font-weight: 700; color: var(--ink); text-decoration: none; font-variant-numeric: tabular-nums; }
.branch-phone svg { width: 17px; height: 17px; fill: none; stroke: var(--gold-deep); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.branch-phone:hover span { text-decoration: underline; }
.branch-head { display: flex; gap: 12px; align-items: center; }
.branch-pin { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--violet-50); color: var(--violet); }
.branch-pin svg, .icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.branch-area { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.branch h3 { font-size: 19px; }
.branch-addr { font-size: 15px; color: var(--muted); }
.branch-rate { font-size: 14px; font-weight: 600; color: var(--ink); }
.branch-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: auto; padding-top: 6px; }
.icon-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 12px; border-radius: 999px; border: 1.5px solid var(--line); color: var(--ink); text-decoration: none; font-size: 14px; font-weight: 600; }
.icon-btn:hover { border-color: var(--violet); color: var(--violet); }
.branch-actions .btn { flex: 1 1 100%; margin-top: 4px; }

/* ---------- booking ---------- */
.book { background: linear-gradient(180deg, var(--paper), var(--violet-50)); }

/* One soft, flowing gradient from the clinic photos down to the FAQ, in the clinic colours:
   lilac -> blush pink -> warm gold cream -> lilac. Each section starts on the colour the one
   above ends on, so there are no visible seams. */
.band-wrap { background: linear-gradient(180deg, #FFFFFF 0%, #F7EFFF 100%); }
#reviews { background:
  radial-gradient(55% 45% at 88% 8%, rgba(242, 182, 70, .10), transparent 70%),
  linear-gradient(180deg, #F7EFFF 0%, #FCEEF7 100%); }
#branches { background: linear-gradient(180deg, #FCEEF7 0%, #FFF5EA 100%); }
#book { background:
  radial-gradient(50% 40% at 8% 20%, rgba(169, 89, 250, .08), transparent 70%),
  linear-gradient(180deg, #FFF5EA 0%, #F3EBFF 100%); }
#faq { background: linear-gradient(180deg, #F3EBFF 0%, #FBF5FF 100%); }
.booker { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.book-form { background: #fff; border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.progress { display: flex; gap: 8px; margin-bottom: 26px; }
.progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); padding-bottom: 12px; border-bottom: 3px solid var(--line); }
.progress li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-50); font-size: 12.5px; flex: none; }
.progress li.is-active { color: var(--ink); border-color: var(--violet); }
.progress li.is-active span { background: var(--violet); color: #fff; }
.progress li.is-done { border-color: var(--gold); }
.progress li.is-done span { background: var(--gold); color: var(--ink); }
.step { border: 0; padding: 0; margin: 0; display: grid; gap: 22px; min-width: 0; }
.step-title { font: 400 25px/1.2 var(--f-display); color: var(--ink); padding: 0; margin-bottom: 18px; }
.branch-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.branch-opt { display: grid; gap: 4px; align-content: center; min-height: 64px; padding: 10px 14px; text-align: left; border-radius: var(--radius); border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: border-color .12s, background .12s; }
.branch-opt:hover { border-color: var(--violet); }
.branch-opt[aria-checked="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.branch-opt-name { font: 700 15px/1.25 var(--f-body); }
.branch-opt-meta { font: 500 13px/1.2 var(--f-body); color: var(--muted); }
.branch-opt-meta span { color: var(--gold-deep); }
.branch-opt[aria-checked="true"] .branch-opt-meta, .branch-opt[aria-checked="true"] .branch-opt-meta span { color: #E9E2FC; }
/* Computers: all five branches in one row on the main booking form */
@media (min-width: 1021px) {
  #bookForm .branch-picker { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
  #bookForm .branch-opt { padding: 10px 12px; }
}
.time-note { margin: 0 0 10px; font-size: 14px; color: var(--ink); background: var(--violet-50); border-radius: 10px; padding: 8px 12px; }
.time-group-name, .field-label { font-size: 13px; font-weight: 700; color: var(--ink); letter-spacing: .02em; }
.field-label em { font-style: normal; font-weight: 500; color: var(--muted); }
.time-options { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 600 14.5px/1 var(--f-body); cursor: pointer; transition: border-color .12s, background .12s; }
.chip:hover:not(:disabled) { border-color: var(--violet); }
.chip[aria-checked="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.chip:disabled { opacity: .4; cursor: not-allowed; text-decoration: line-through; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
input[type=text], input[type=tel], input[type=email], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  font: 500 16px/1.4 var(--f-body); color: var(--ink); }
textarea { resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-50); }
.is-invalid { border-color: var(--err) !important; }
.seg { display: inline-flex; background: var(--violet-50); border-radius: 999px; padding: 4px; width: max-content; max-width: 100%; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.seg input:checked + span { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(34, 16, 63, .15); }
.seg input:focus-visible + span { outline: 3px solid var(--gold); }
.date-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; scroll-snap-type: x mandatory; }
.date-chip { flex: none; scroll-snap-align: start; width: 66px; padding: 10px 0; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; cursor: pointer; display: grid; justify-items: center; gap: 1px; font-family: var(--f-body); color: var(--ink); }
.date-chip .dow { font-size: 12px; font-weight: 600; color: var(--muted); }
.date-chip .day { font-size: 21px; font-weight: 800; line-height: 1.2; }
.date-chip .mon { font-size: 12px; color: var(--muted); }
.date-chip:hover:not(:disabled) { border-color: var(--violet); }
.date-chip[aria-checked="true"] { background: var(--violet); border-color: var(--violet); color: #fff; }
.date-chip[aria-checked="true"] span { color: #fff; }
.date-chip:disabled { opacity: .4; cursor: not-allowed; }
.time-groups { display: grid; gap: 14px; }
.time-group { display: grid; gap: 8px; }
.hint { font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--violet); flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.step-error { color: var(--err); font-weight: 600; font-size: 14.5px; }
.field-error { margin: 4px 0 0; color: var(--err); font-weight: 600; font-size: 14px; }
.step-title:focus { outline: none; }
.form-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; }
.form-nav [data-act=next], .form-nav [type=submit] { margin-left: auto; }
.fallback { margin-top: 22px; padding: 18px; border-radius: 14px; background: #FFF6E6; border: 1.5px solid #F5C77A; color: var(--ink); display: grid; gap: 10px; font-size: 15px; }
.fallback-text { background: #fff; border-radius: 10px; padding: 10px 12px; font-size: 14px; color: var(--muted); }
.fallback-actions { display: flex; flex-wrap: wrap; gap: 8px; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); background: var(--ink); color: #D9D0F7; border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-lg); }
.summary-kicker { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.summary-list { margin: 0; display: grid; gap: 0; }
.summary-list div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.summary-list dt { font-size: 12.5px; color: #A99FCC; }
.summary-list dd { margin: 0; font-weight: 700; color: #fff; }
.summary-list dd.is-empty { color: #8E84B3; font-weight: 500; }
.summary-note { margin-top: 16px; font-size: 14px; }
.summary-note a { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; font-weight: 700; color: var(--ink); font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--muted); }

/* ---------- CTA & footer ---------- */
.cta { background: var(--crown); }
.cta-inner { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 72px 0; }
.cta h2 { font-size: clamp(32px, 4vw, 46px); }
.cta p { color: var(--ink); font-size: 17px; }
.cta .btn-gold { background: var(--ink); color: #fff; box-shadow: none; }

.footer { background: var(--ink); color: #B9AEDF; padding: 64px 0 100px; font-size: 15px; border-top: 3px solid var(--gold); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-brand p { margin-top: 16px; max-width: 30em; }
.footer-brand .footer-legal { margin-top: 12px; font-size: 13px; color: #9A8FC4; line-height: 1.6; }
.footer h3 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.footer li + li { margin-top: 8px; }
.footer a { color: #E0D8FA; text-decoration: none; }
.footer a:hover { color: var(--gold); }
.copyright { margin-top: 44px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 13.5px; }

/* floating chat & mobile bar */
.float-chat { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; background: var(--violet); color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; box-shadow: 0 14px 30px -12px rgba(72, 34, 135, .9); }
.float-chat svg { width: 24px; height: 24px; fill: currentColor; }
.float-chat:hover { background: var(--violet-600); }
.mobilebar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .header-cta { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; padding: 44px 0 60px; }
  .hero-art { max-width: 520px; margin: 0 auto; width: 100%; }
  .quote-card { left: -8px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr 1fr; }
  .braces-grid { grid-template-columns: 1fr; gap: 40px; }
  .rating-row { grid-template-columns: repeat(3, 1fr); }
  .booker { grid-template-columns: 1fr; }
  /* phones/tablets: the form comes first; the "Your visit" summary follows it as a recap */
  .summary { position: static; order: 1; }
  .faq-wrap { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { width: min(1180px, 100% - 32px); }
  .topbar-inner > span:first-child { display: none; }
  .topbar-inner { justify-content: center; flex-wrap: wrap; gap: 2px 14px; padding: 6px 0; font-size: 12.5px; }
  .logo-name { font-size: 18px; }
  .logo-mark { width: 38px; height: 38px; }
  .header-cta { display: none; }
  .hero h1 { font-size: 40px; }
  .lede { font-size: 17px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-proof { gap: 14px 24px; }
  .hero-proof strong { font-size: 24px; }
  .quote-card { position: relative; left: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .why-grid { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .section, .braces { padding: 56px 0; }
  /* phone: 2 photo cards per row, name and "Book this" only */
  .service-body { padding: 14px 12px 12px; gap: 4px; }
  .service-group { display: none; }
  .service h3 { font-size: 15.5px; }
  .service-link { font-size: 13px; }
  .band-wrap { padding-top: 56px; }
  .band figcaption { padding: 50px 20px 20px; }
  .braces-steps { grid-template-columns: 1fr; }
  .rating-row { grid-template-columns: 1fr 1fr; }
  .branch-list { grid-template-columns: 1fr; }
  .book-form { padding: 22px 18px; }
  .progress li { font-size: 0; gap: 0; justify-content: center; }
  .progress li span { font-size: 12.5px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .float-chat { display: none; }
  .mobilebar { display: grid; grid-template-columns: 1fr 1fr 1.3fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); gap: 8px; box-shadow: 0 -8px 24px -12px rgba(34, 16, 63, .3); }
  .mobilebar a { display: grid; place-items: center; min-height: 46px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14.5px; color: var(--ink); background: var(--violet-50); }
  .mobilebar .mobilebar-book { background: var(--violet); color: #fff; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- legal pages (/privacy, /terms) and legal links ---------- */
.legal-head { border-bottom: 1px solid var(--line); background: #fff; }
.legal-head-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.legal { max-width: 780px; margin: 0 auto; padding: 48px 0 80px; }
.legal h1 { font: 400 clamp(34px, 5vw, 48px)/1.1 var(--f-display); color: var(--ink); margin-bottom: 10px; }
.legal-meta { color: var(--muted); font-size: 15px; margin-bottom: 24px; }
.legal-note { background: var(--violet-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin-bottom: 28px; font-size: 15.5px; }
.legal-toc { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 22px; margin-bottom: 36px; }
.legal-toc p { font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.legal-toc ol { margin: 0; padding-left: 20px; columns: 2 220px; column-gap: 28px; }
.legal-toc li { margin: 3px 0; break-inside: avoid; }
.legal h2 { font: 700 21px/1.3 var(--f-body); color: var(--ink); margin: 38px 0 10px; scroll-margin-top: 20px; }
.legal h3 { font: 700 17px/1.35 var(--f-body); color: var(--ink); margin: 22px 0 6px; }
.legal p, .legal li { font-size: 16.5px; }
.legal p { margin: 0 0 12px; }
.legal ul, .legal ol { padding-left: 22px; margin: 0 0 14px; }
.legal li { margin: 5px 0; }
.legal a { color: var(--violet); }
.legal table { width: 100%; border-collapse: collapse; margin: 6px 0 16px; font-size: 15px; }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.legal th { background: var(--violet-50); color: var(--ink); }
.legal .todo { background: #FFF1CC; color: #5A3A00; padding: 1px 5px; border-radius: 4px; font-weight: 600; }
/* Policy text (Privacy Notice, Terms of Use) in Arial for a more formal, document-like look */
.legal, .legal h1, .legal h2, .legal h3, .legal p, .legal li, .legal th, .legal td { font-family: Arial, "Helvetica Neue", Helvetica, sans-serif; }
.legal h1 { font-weight: 700; letter-spacing: -.01em; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; } .legal li::marker { color: var(--muted); }
.legal-foot { background: var(--ink); color: #B9AEDF; padding: 28px 0; font-size: 14px; }
.legal-foot a { color: #fff; }
.legal-links { display: inline-flex; flex-wrap: wrap; gap: 4px 16px; }
.copyright .legal-links { margin-left: 16px; }
.check a { color: var(--violet); font-weight: 600; }
@media (max-width: 640px) {
  .legal table, .legal thead, .legal tbody, .legal tr, .legal th, .legal td { display: block; }
  .legal thead { display: none; }
  .legal td { border-bottom: 0; padding: 4px 0; }
  .legal tr { border-bottom: 1px solid var(--line); padding: 10px 0; }
  .copyright .legal-links { display: flex; margin: 8px 0 0; }
  .legal-head .btn { display: none; }
}
