:root {
  --bg: #F4F8F8; --surface: #FFFFFF; --ink: #0B1F22; --ink-2: #46595C; --ink-3: #5B6E71; --line: #DCE6E6;
  --teal: #50BEB4; --teal-ink: #1F7A70; --teal-soft: #E3F4F2; --teal-glow: #91DBD1;
  --dark: #061416; --dark-2: #0B2226; --dark-ink: #E8F3F2; --dark-ink-2: #9FB8B6;
  --f-display: 'Unbounded', system-ui, sans-serif; --f-text: 'Manrope', system-ui, sans-serif; --f-mono: 'JetBrains Mono', ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 48px); --maxw: 1280px; --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
html.i18n-wait body { visibility: hidden; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 var(--f-text); -webkit-font-smoothing: antialiased; overflow-x: clip; transition: background-color .6s var(--ease), color .6s var(--ease); }
html.is-dark body { background: var(--dark); }
img { display: block; max-width: 100%; height: auto; }
button { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; text-decoration: none; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; } /* a component's own display (.ai is flex) must not resurrect hidden elements */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.mono { margin: 0; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); }
.display { font-family: var(--f-display); font-weight: 400; letter-spacing: -.02em; line-height: 1.05; text-wrap: balance; }
h1.display { font-size: clamp(34px, 6vw, 80px); font-weight: 300; }
h2.display { font-size: clamp(28px, 4.2vw, 56px); }
.muted { color: var(--ink-3); font-size: 14px; }
#gl { position: fixed; inset: 0; width: 100vw; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
main, .ftr-wrap { position: relative; z-index: 1; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1 var(--f-text); text-decoration: none; cursor: pointer; transition: background-color .3s, color .3s, border-color .3s; }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { background: #17363c; }
.btn-teal { background: var(--teal-ink); color: #fff; } .btn-teal:hover { background: #17645c; }
.btn-ghost { background: transparent; border-color: var(--line); } .btn-ghost:hover { border-color: var(--ink); }

.hdr { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px; height: 72px; padding: 0 var(--gutter); background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid transparent; transition: border-color .3s, background-color .6s, color .6s; }
.hdr.is-scrolled { border-color: var(--line); }
html.is-dark .hdr { background: color-mix(in srgb, var(--dark) 76%, transparent); color: var(--dark-ink); border-color: rgba(232, 243, 242, .08); }
.hdr-logo img { width: 116px; }
.hdr-nav { display: flex; gap: 28px; margin-inline: auto; font-weight: 600; font-size: 15px; }
.hdr-nav a { text-decoration: none; opacity: .75; transition: opacity .2s; } .hdr-nav a:hover { opacity: 1; }
.hdr-end { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; font: 600 12px/1 var(--f-mono); }
.lang a { padding: 7px 10px; border-radius: 999px; text-decoration: none; }
.lang a[aria-current="true"] { background: var(--ink); color: #fff; }
html.is-dark .lang a[aria-current="true"] { background: var(--dark-ink); color: var(--dark); }
.hdr-tel { font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 1080px) { .hdr-nav { display: none; } .hdr-end { margin-left: auto; } }
@media (max-width: 640px) { .hdr { height: 60px; } .hdr-tel, .hdr-end .btn { display: none; } }

.hero { position: relative; min-height: calc(100svh - 72px); display: grid; align-content: center; padding: clamp(16px, 5vh, 64px) 0 32px; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, rgba(11, 31, 34, .13) 1px, transparent 1.3px); background-size: 22px 22px; -webkit-mask-image: radial-gradient(ellipse 70% 65% at 72% 45%, #000 15%, transparent 75%); mask-image: radial-gradient(ellipse 70% 65% at 72% 45%, #000 15%, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 32px; align-items: center; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.hero-tag .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(80, 190, 180, .55); } 70%, 100% { box-shadow: 0 0 0 10px rgba(80, 190, 180, 0); } }
.hero h1 { margin: 0 0 20px; }
.lead { font-size: clamp(17px, 1.5vw, 20px); color: var(--ink-2); max-width: 34em; margin: 0 0 28px; }
.hero-stage { position: relative; aspect-ratio: 1; width: 100%; max-width: 600px; justify-self: center; }
.tooth-fallback { width: 100%; height: 100%; object-fit: contain; display: none; }
html.no-gl .tooth-fallback { display: block; }
.stage-hud { position: absolute; inset: 5%; pointer-events: none; font: 500 11px/1 var(--f-mono); letter-spacing: .12em; color: var(--teal-ink); background:
  linear-gradient(var(--teal) 0 0) top left / 18px 1.5px no-repeat, linear-gradient(var(--teal) 0 0) top left / 1.5px 18px no-repeat,
  linear-gradient(var(--teal) 0 0) top right / 18px 1.5px no-repeat, linear-gradient(var(--teal) 0 0) top right / 1.5px 18px no-repeat,
  linear-gradient(var(--teal) 0 0) bottom left / 18px 1.5px no-repeat, linear-gradient(var(--teal) 0 0) bottom left / 1.5px 18px no-repeat,
  linear-gradient(var(--teal) 0 0) bottom right / 18px 1.5px no-repeat, linear-gradient(var(--teal) 0 0) bottom right / 1.5px 18px no-repeat; }
.stage-hud span { position: absolute; } .hud-tl { top: 10px; left: 26px; } .hud-br { bottom: 10px; right: 26px; }

.ask { margin: 0; max-width: 560px; }
.ask-label { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; font-weight: 600; font-size: 14px; color: var(--ink-2); }
.ask-row { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 22px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: 0 12px 40px -20px rgba(11, 31, 34, .35); transition: border-color .3s, box-shadow .3s; }
.ask-row:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(80, 190, 180, .18), 0 12px 40px -20px rgba(11, 31, 34, .35); }
.ask-row input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; padding: 12px 0; font: 500 16px/1.4 var(--f-text); color: var(--ink); }
.send { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 50%; background: #1A1A1A; color: #fff; cursor: pointer; }
.send svg { width: 20px; height: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { padding: 9px 14px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .72); font: 600 13.5px/1.2 var(--f-text); cursor: pointer; transition: border-color .2s, background-color .2s; }
.chip:hover { border-color: var(--teal-ink); background: #fff; }

@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.orb { flex: none; width: 22px; height: 22px; border-radius: 50%; background: conic-gradient(from var(--a), #50BEB4, #91DBD1, #fff, #319385, #50BEB4); box-shadow: inset 0 0 6px rgba(255, 255, 255, .8); animation: orb 6s linear infinite; }
.orb-s { width: 16px; height: 16px; }
@keyframes orb { to { --a: 360deg; } }

.facts { list-style: none; padding: 0; margin: clamp(28px, 6vh, 64px) auto 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.facts li { display: grid; gap: 4px; padding: 18px 20px; background: color-mix(in srgb, var(--bg) 60%, #fff); }
.facts b { font: 400 clamp(20px, 2vw, 26px)/1.1 var(--f-display); }
.facts span { color: var(--ink-2); font-size: 14px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-stage { order: -1; max-width: 340px; }
  .facts { grid-template-columns: 1fr 1fr; }
}

.offer { position: relative; margin-block: clamp(40px, 8vw, 96px); }
.offer-card { position: relative; overflow: hidden; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; padding: clamp(24px, 4vw, 48px); border: 1px solid var(--line); border-radius: 32px; background: linear-gradient(120deg, #fff 0%, var(--teal-soft) 100%); }
.offer h2 { margin: 10px 0 18px; font: 400 clamp(24px, 3vw, 40px)/1.1 var(--f-display); }
.offer-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.offer-list li { position: relative; padding-left: 22px; }
.offer-list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--teal); }
.offer-price { display: grid; justify-items: start; gap: 8px; }
.offer-price s { color: var(--ink-3); font-size: 18px; }
.offer-price b { font: 400 clamp(40px, 5vw, 64px)/1 var(--f-display); color: var(--teal-ink); }
@media (max-width: 760px) { .offer-card { grid-template-columns: 1fr; } .offer-list { grid-template-columns: 1fr; } }

/* the chapter's colors follow the page: dark text until the page turns dark, so it is readable at every moment */
.journey { position: relative; color: var(--ink); transition: color .6s var(--ease); }
html.is-dark .journey, html.still .journey { color: var(--dark-ink); }
html.still .journey { background: var(--dark); }
html.still .journey-grid { grid-template-columns: 1fr; grid-template-areas: "head" "steps" "bar"; }
html.still .journey-stage { display: none; }
.journey-pin { min-height: 100svh; display: grid; align-items: center; padding: 96px 0 48px; }
.journey-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "head head" "stage steps" "bar bar"; gap: 24px 48px; align-items: center; }
.journey-head { grid-area: head; } .journey-head .mono, .step .mono { color: var(--teal-ink); }
html.is-dark .journey .mono, html.still .journey .mono { color: var(--teal); }
.journey h2 { margin: 8px 0 0; max-width: 14em; }
.journey-stage { grid-area: stage; position: relative; aspect-ratio: 1; width: 100%; max-width: 520px; justify-self: center; overflow: hidden; }
.reticle { position: absolute; inset: 6%; border-radius: 50%; opacity: 0; transition: opacity .6s; border: 1px solid rgba(145, 219, 209, .6); box-shadow: 0 0 0 2000px rgba(6, 20, 22, .55); }
.reticle::before, .reticle::after { content: ""; position: absolute; background: rgba(145, 219, 209, .5); }
.reticle::before { left: 50%; top: 8%; bottom: 8%; width: 1px; } .reticle::after { top: 50%; left: 8%; right: 8%; height: 1px; }
.journey[data-mode="micro"] .reticle { opacity: 1; }
.steps { grid-area: steps; list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.step { padding: 18px 22px; border: 1px solid var(--line); border-radius: 18px; transition: opacity .5s, background-color .5s, border-color .5s; }
html.is-dark .step { border-color: rgba(232, 243, 242, .12); }
html.is-dark .step:not(.is-on) { opacity: .7; } /* dimmed, still AA on the dark page */
.step.is-on, html.still .step { background: rgba(80, 190, 180, .08); border-color: rgba(80, 190, 180, .45); }
.step h3 { margin: 6px 0 4px; font: 600 20px/1.25 var(--f-text); }
.step p { margin: 0; color: var(--ink-2); }
html.is-dark .step p, html.still .step p { color: var(--dark-ink-2); }
.journey-progress { grid-area: bar; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(232, 243, 242, .12); }
.journey-progress span { display: block; height: 100%; background: var(--teal); transform: scaleX(0); transform-origin: left; }
@media (max-width: 900px) {
  .journey-grid { grid-template-columns: 1fr; grid-template-areas: "head" "stage" "steps" "bar"; }
  .journey-stage { max-width: 300px; }
  html.motion .step:not(.is-on) { display: none; }
}

.sec { position: relative; padding: clamp(64px, 10vw, 128px) 0; background: var(--bg); }
.sec-head { display: grid; gap: 10px; max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sec-head h2 { margin: 0; }
.sec-sub { margin: 0; color: var(--ink-2); font-size: 17px; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: minmax(220px, auto); grid-auto-flow: dense; gap: 14px; }
.svc { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.svc::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(80, 190, 180, .18), transparent 60%); }
.svc:hover::before { opacity: 1; }
.svc-hit { all: unset; box-sizing: border-box; display: flex; flex-direction: column; gap: 10px; width: 100%; height: 100%; padding: 24px; cursor: pointer; }
.svc-hit:focus-visible { outline: 2px solid var(--teal-ink); outline-offset: -4px; border-radius: 24px; }
.svc h3 { margin: 0; font: 500 clamp(19px, 1.7vw, 23px)/1.15 var(--f-display); letter-spacing: -.01em; }
.svc p { margin: 0; color: var(--ink-2); font-size: 15px; }
.svc-num { color: var(--ink-3); }
.svc-price { margin-top: auto; font-weight: 700; }
.svc-price small { display: block; font-weight: 600; color: var(--teal-ink); }
.svc-big { font: 300 clamp(72px, 9vw, 132px)/.9 var(--f-display); color: var(--teal); letter-spacing: -.04em; }
.svc-big small { display: block; margin-top: 8px; font: 500 12px/1.4 var(--f-mono); letter-spacing: .08em; text-transform: uppercase; }
.b-xl { grid-column: span 2; grid-row: span 2; border-color: transparent; background: linear-gradient(160deg, var(--dark-2), var(--dark)); color: var(--dark-ink); }
.b-xl p { color: var(--dark-ink-2); } .b-xl .svc-num { color: var(--teal); } .b-xl h3 { font-size: clamp(26px, 2.8vw, 38px); }
.b-wide { grid-column: span 2; } .b-tall { grid-row: span 2; }
.svc-img { position: absolute; inset: 0; z-index: -2; }
.svc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc:hover .svc-img img { transform: scale(1.04); }
.has-img .svc-hit { justify-content: flex-end; color: #fff; background: linear-gradient(180deg, transparent 25%, rgba(6, 20, 22, .85)); }
.has-img p, .has-img .svc-num { color: rgba(255, 255, 255, .85); } .has-img .svc-price small { color: var(--teal-glow); }
.has-img .svc-price { margin-top: 0; }
@media (max-width: 1000px) { .bento { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .b-xl, .b-wide { grid-column: auto; } .b-xl, .b-tall { grid-row: auto; }
  .has-img { min-height: 340px; }
}

.docs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.doc { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.doc-photo { aspect-ratio: 4 / 5; overflow: hidden; background: #EEF3F3; }
.doc-photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15); transition: transform .8s var(--ease), filter .8s; }
.doc:hover .doc-photo img { transform: scale(1.04); filter: none; }
.doc-body { flex: 1; display: grid; align-content: start; gap: 8px; padding: 20px 22px 22px; }
.doc h3 { margin: 0; font: 700 19px/1.25 var(--f-text); }
.doc p { margin: 0; color: var(--ink-2); font-size: 14.5px; }
.doc .btn { justify-self: start; margin-top: 8px; }
@media (max-width: 1000px) { .docs { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .docs { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding: 0 var(--gutter) 6px; scrollbar-width: none; }
  .doc { flex: 0 0 80%; scroll-snap-align: start; }
}

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.filters button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 600 14px/1 var(--f-text); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.price-list { border-top: 1px solid var(--line); }
.price-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; padding: 16px 4px; border-bottom: 1px solid var(--line); }
.price-row small { display: block; margin-top: 2px; color: var(--ink-3); font-size: 13px; }
.price-row b { font: 600 18px/1.2 var(--f-text); white-space: nowrap; }
.price-cta { margin-top: 24px; }

.atmo { position: relative; display: grid; gap: 14px; overflow: hidden; padding: 0 0 clamp(64px, 10vw, 120px); background: var(--bg); }
.marquee { display: flex; gap: 14px; width: max-content; animation: marq 70s linear infinite; }
.marquee.rev { animation-direction: reverse; }
.marquee img { height: clamp(150px, 20vw, 250px); width: auto; border-radius: 20px; }
.atmo:hover .marquee { animation-play-state: paused; }
html.still .marquee { animation: none; }
@keyframes marq { to { transform: translateX(-50%); } }

.contacts-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.contacts-head h2 { margin-bottom: 0; }
.open-now { display: inline-flex; align-items: center; gap: 10px; margin: 0; padding: 10px 18px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); font-weight: 700; }
.open-now .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal-ink); animation: live 2s var(--ease) infinite; }
.open-now.is-closed { background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.open-now.is-closed .dot { background: var(--ink-3); animation: none; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(31, 122, 112, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(31, 122, 112, 0); } }
html.still .open-now .dot { animation: none; }
.contacts-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 16px; }
.tile { padding: 24px 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.tile p { margin: 0; }
.tile-map { grid-row: span 2; position: relative; min-height: 440px; padding: 0; overflow: hidden; background: var(--teal-soft); }
.tile-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) sepia(.25) hue-rotate(130deg) saturate(1.3) contrast(.92) brightness(1.03); }
.map-card { position: absolute; left: 14px; right: 14px; bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px 16px; flex-wrap: wrap; padding: 16px 16px 16px 20px; border-radius: 18px; background: rgba(255, 255, 255, .94); box-shadow: 0 18px 40px -18px rgba(6, 20, 22, .35); backdrop-filter: blur(12px); }
.map-card address { font: 400 clamp(17px, 1.7vw, 22px)/1.25 var(--f-display); font-style: normal; }
.map-card .btn svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.phones { display: grid; margin-top: 6px; }
.phones a { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 18px; text-decoration: none; }
.phones a:last-child { border-bottom: 0; padding-bottom: 0; }
.phones svg { flex: none; width: 20px; height: 20px; color: var(--teal-ink); }
.phones .go { margin-left: auto; color: var(--ink-3); transition: transform .3s var(--ease), color .3s; }
.phones a:hover .go, .phones a:focus-visible .go { transform: translateX(4px); color: var(--teal-ink); }
.hours { margin-top: 10px !important; font: 400 clamp(17px, 1.6vw, 20px)/1.3 var(--f-display); }
.week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.week li { padding: 10px 0; border-radius: 12px; background: var(--bg); text-align: center; font: 500 12px/1 var(--f-mono); color: var(--ink-2); }
.week li.is-today { background: var(--teal-ink); color: #fff; }
.tile-ai { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; border-color: var(--dark); background: var(--dark); color: var(--dark-ink); }
.tile-ai .orb { width: 48px; height: 48px; }
.ai-title { font: 400 clamp(18px, 1.8vw, 22px)/1.25 var(--f-display); }
.ai-sub { margin-top: 4px !important; color: var(--dark-ink-2); }
.ai-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-left: auto; }
.btn-light { background: #fff; color: var(--ink); } .btn-light:hover { background: var(--teal-soft); }
.btn-line { background: transparent; border-color: rgba(232, 243, 242, .3); color: var(--dark-ink); } .btn-line:hover { border-color: var(--dark-ink); }
.contacts-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; padding: 4px 4px 0; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; }
.socials a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color .3s; }
.socials a:hover { border-color: var(--ink); }
.socials svg { width: 18px; height: 18px; }
.pay { margin: 0; color: var(--ink-2); }
@media (max-width: 860px) {
  .contacts-grid { grid-template-columns: minmax(0, 1fr); }
  .tile-map { grid-row: auto; display: flex; flex-direction: column; min-height: 0; }
  .tile-map iframe { position: static; height: 300px; }
  .map-card { position: static; border-radius: 0; box-shadow: none; background: var(--surface); }
  .ai-actions { margin-left: 0; }
  .ai-actions .btn { flex: 1 1 auto; }
}

.ftr-wrap { background: var(--bg); }
.ftr { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); color: var(--ink-2); font-size: 14px; }
.ftr p { margin: 0; }

.sheet { width: min(560px, 100% - 32px); max-height: min(86vh, 780px); padding: 0; border: 0; border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 40px 120px -30px rgba(6, 20, 22, .55); }
.sheet::backdrop { background: rgba(6, 20, 22, .45); backdrop-filter: blur(4px); }
.sheet-in { display: grid; gap: 16px; padding: 28px; }
.sheet h2 { margin: 0; padding-right: 44px; font: 400 26px/1.15 var(--f-display); }
.sheet ul { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--ink-2); }
.sheet .x { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; cursor: pointer; }
.sheet .x svg { width: 18px; height: 18px; }
.sheet-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.owner { font-family: 'Manrope', system-ui, sans-serif; }
.owner-brand { display: flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; color: #1A1A1A; }
.owner h3 { margin: 4px 0 0; font: 700 17px/1.3 var(--f-text); }
.owner-bookings { display: grid; gap: 8px; }

.plugix-badge { position: fixed; left: 16px; bottom: 16px; z-index: 30; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border: 1px solid rgba(26, 26, 26, .1); border-radius: 999px; background: rgba(255, 255, 255, .88); backdrop-filter: blur(10px); color: #1A1A1A; font: 700 13px/1 'Manrope', sans-serif; cursor: pointer; box-shadow: 0 8px 24px -12px rgba(0, 0, 0, .3); }
.launcher { position: fixed; right: 20px; bottom: 20px; z-index: 30; display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border: 0; border-radius: 999px; background: #1A1A1A; color: #fff; font: 700 15px/1 'Manrope', sans-serif; cursor: pointer; box-shadow: 0 16px 40px -14px rgba(6, 20, 22, .55); transition: opacity .3s, transform .3s var(--ease); }
.launcher .orb { width: 30px; height: 30px; }
.launcher:hover { transform: translateY(-2px); }
html.ai-open .launcher { opacity: 0; pointer-events: none; }
.dock { display: none; }
@media (max-width: 640px) {
  .launcher, .plugix-badge { display: none; }
  .dock { position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 30; display: flex; gap: 8px; }
  .dock-ai { flex: 1; display: flex; align-items: center; justify-content: center; gap: 10px; height: 54px; border: 0; border-radius: 18px; background: #1A1A1A; color: #fff; font: 700 15px/1 'Manrope', sans-serif; }
  .dock-call, .dock-plugix { width: 54px; height: 54px; display: grid; place-items: center; border: 0; border-radius: 18px; }
  .dock-call { background: var(--teal-ink); color: #fff; } .dock-call svg { width: 22px; height: 22px; }
  .dock-plugix { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
  html.ai-open .dock { display: none; }
  .ftr-wrap { padding-bottom: 84px; }
}

html.motion [data-reveal] { opacity: 0; transform: translateY(28px); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

/* wave 2 shell: the tracks style their own parts (jaw.css, smile.css, voice.css) */
.chip-voice { display: inline-flex; align-items: center; gap: 6px; }
.chip svg { width: 16px; height: 16px; flex: none; }
.owner-room { display: grid; grid-template-columns: 132px 1fr; gap: 16px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: 20px; }
.owner-qr { width: 132px; aspect-ratio: 1; border-radius: 12px; background: var(--bg); overflow: hidden; }
.owner-qr svg { display: block; width: 100%; height: 100%; }
.owner-room-text { display: grid; gap: 8px; justify-items: start; }
.owner-room h3 { margin: 0; }
.owner-code b { font-weight: 500; letter-spacing: .18em; color: var(--ink); }
@media (max-width: 480px) { .owner-room { grid-template-columns: 1fr; } .owner-qr { width: 168px; } }

/* wave 2: the implant caption at «Гарантія» shows with its step */
.step .implant-tag { margin: 10px 0 0; color: var(--teal-ink); opacity: 0; }
.step.is-on .implant-tag, html.still .step .implant-tag { opacity: 1; }
html.motion .step.is-on .implant-tag { animation: tag-in .6s var(--ease) .15s both; }
html.is-dark .step .implant-tag, html.still .step .implant-tag { color: var(--teal); }
@keyframes tag-in { from { opacity: 0; transform: translateY(6px); } }
/* one step open at a time on a wide screen: the pinned chapter, the implant caption included, fits a laptop screen;
   the folded text stays for screen readers */
@media (min-width: 901px) {
  html.motion .step:not(.is-on) p { max-height: 0; margin: 0; overflow: hidden; }
  html.motion .step.is-on p { animation: step-in .45s var(--ease); }
}
@keyframes step-in { from { opacity: 0; } }
@media (min-width: 901px) and (max-height: 860px) { /* a laptop screen: the pinned chapter tightens to fit */
  html.motion .journey-pin { padding: 84px 0 20px; }
  html.motion .journey h2 { font-size: 40px; max-width: none; }
  html.motion .step { padding: 12px 18px; }
  html.motion .journey-stage { max-width: min(520px, 100svh - 260px); }
}

/* wave 2 polish: the cursor ring (fine pointers, motion only) */
.cursor-ring { position: fixed; left: 0; top: 0; z-index: 90; width: 34px; height: 34px; border: 1.5px solid var(--teal-ink); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s, width .3s var(--ease), height .3s var(--ease), background-color .3s, border-color .3s; }
.cursor-ring.is-on { opacity: .9; }
.cursor-ring.is-hot { width: 56px; height: 56px; background: rgba(80, 190, 180, .14); border-color: var(--teal); }
html.is-dark .cursor-ring { border-color: var(--teal); }
html.ai-open .cursor-ring, html:has(dialog[open]) .cursor-ring { opacity: 0; }
