:root {
  --bg: #f5f8fc;
  --white: #fff;
  --ink: #0e1c2f;
  --text: #24354b;
  --muted: #64748a;
  --blue: #2f6fe4;
  --blue-2: #1f5ad0;
  --blue-d: #17418f;
  --sky: #eaf2fe;
  --sky-2: #d6e5fc;
  --mint: #e4f5ef;
  --green: #18a072;
  --line: rgba(14, 28, 47, .1);
  --line-l: rgba(255, 255, 255, .22);
  --head: 'Geologica', 'Onest', system-ui, sans-serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --pad: clamp(20px, 4.5vw, 64px);
  --r: 28px;
  --edge: clamp(8px, 1.4vw, 20px);
  --shadow: 0 30px 70px -36px rgba(23, 62, 130, .32);
  --shadow-s: 0 10px 30px -14px rgba(23, 62, 130, .22);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 var(--sans); overflow-x: clip; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
em { font-style: normal; }
.wrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }

.demo-bar { background: var(--ink); color: rgba(255, 255, 255, .78); text-align: center; font-size: 12.5px; padding: 6px 12px; letter-spacing: .02em; }
.demo-bar a { color: #fff; font-weight: 600; }

.header { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; gap: 28px; padding: 14px var(--pad); background: rgba(245, 248, 252, .82); -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%); transition: box-shadow .4s, background .4s; }
.header.is-scrolled { background: rgba(255, 255, 255, .86); box-shadow: 0 1px 0 var(--line), 0 10px 30px -20px rgba(23, 62, 130, .25); }
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; margin-right: auto; color: var(--ink); }
.logo__mark { width: 38px; height: 38px; flex: none; }
.logo__mark rect { fill: var(--blue); }
.logo__mark path { fill: #fff; }
.logo span { font: 700 22px/1 var(--head); letter-spacing: -.03em; display: flex; flex-direction: column; }
.logo small { font: 500 10.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }
.nav { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line); }
.nav a { text-decoration: none; font-size: 14.5px; font-weight: 500; color: var(--text); padding: 8px 16px; border-radius: 999px; transition: background .3s, color .3s; }
.nav a:hover { background: var(--sky); color: var(--blue-2); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 28px; border-radius: 999px; border: 1px solid transparent; font: 600 15px/1.2 var(--sans); text-decoration: none; cursor: pointer; transition: transform .35s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s, opacity .3s; -webkit-tap-highlight-color: transparent; }
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 14px; }
.btn--wide { width: 100%; }
.btn--blue { background: var(--blue); color: #fff; box-shadow: 0 12px 26px -12px rgba(47, 111, 228, .7); }
.btn--blue:hover { background: var(--blue-2); }
.btn--soft { background: var(--sky); color: var(--blue-2); }
.btn--soft:hover { background: var(--sky-2); }
.btn--white { background: #fff; color: var(--blue-2); }
.btn--white:hover { background: var(--sky); }
.btn--glass { border-color: var(--line-l); color: #fff; background: rgba(255, 255, 255, .08); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--line { border-color: var(--line); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--ink); }
.btn:disabled { opacity: .4; cursor: not-allowed; transform: none; box-shadow: none; }
.btn:focus-visible, .opt:focus-visible, .calc__item:focus-visible, .calc__item button:focus-visible, summary:focus-visible, input:focus-visible, .tab:focus-visible, .nav a:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px; padding: 7px 14px; border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); font: 500 13px/1.3 var(--sans); color: var(--blue-2); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.title { font: 600 clamp(34px, 4.8vw, 62px)/1.04 var(--head); letter-spacing: -.035em; color: var(--ink); }
.title em { color: var(--blue); }
.lead { font-size: clamp(16px, 1.35vw, 18px); color: var(--muted); max-width: 52ch; margin: 20px 0 0; }
.section { padding: clamp(80px, 10vw, 140px) 0; }
.sec-head { margin-bottom: clamp(40px, 5.5vw, 64px); }
.panel { margin: 0 var(--edge); border-radius: clamp(28px, 4vw, 48px); }

.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; min-height: calc(100svh - 104px); padding: clamp(32px, 4vw, 56px) var(--pad) clamp(48px, 6vw, 80px); max-width: 1440px; margin: 0 auto; isolation: isolate; overflow-x: clip; }
.hero::before { content: ''; position: absolute; z-index: -1; inset: -10% -20% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, rgba(120, 170, 255, .28), rgba(120, 170, 255, 0)); pointer-events: none; }
.hero::after { content: ''; position: absolute; z-index: -1; left: -15%; bottom: -20%; width: 50vw; height: 50vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(110, 220, 190, .18), rgba(110, 220, 190, 0)); pointer-events: none; }
.hero__text { display: flex; flex-direction: column; align-items: flex-start; }
.hero__title { font: 700 clamp(48px, 6.6vw, 104px)/.98 var(--head); letter-spacing: -.045em; color: var(--ink); }
.hero__title .line { display: block; }
.shine { color: var(--blue); background: linear-gradient(105deg, var(--blue) 0 40%, #8fb6ff 48%, #fff 50%, #8fb6ff 52%, var(--blue) 60% 100%) 0 0 / 260% 100% no-repeat; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding: 0 .04em .06em 0; }
.js .shine { animation: shine 2.8s var(--ease) 1s both; }
@keyframes shine { from { background-position: 100% 0; } to { background-position: 0 0; } }
.hero__lead { max-width: 44ch; margin: 28px 0 0; font-size: clamp(16px, 1.3vw, 19px); color: var(--muted); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero__facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 560px; }
.hero__facts li { padding: 16px 18px; border-radius: 20px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.hero__facts b { display: block; font: 700 22px/1.1 var(--head); letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.hero__facts span { display: block; margin-top: 6px; font-size: 13px; line-height: 1.35; color: var(--muted); }
.hero__photo { position: relative; margin: 0; height: min(78svh, 760px); min-height: 520px; }
.hero__photo picture { display: block; height: 100%; border-radius: clamp(28px, 3.4vw, 44px); overflow: hidden; background: var(--sky); box-shadow: var(--shadow); }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.js .hero__photo img { animation: heroIn 1.8s var(--ease) both; }
.js .hero__photo picture { animation: heroClip 1.4s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); } to { transform: none; } }
@keyframes heroClip { from { clip-path: inset(5% 4% 5% 8% round 44px); } to { clip-path: inset(0 0 0 0 round 0); } }
.hero__badge { position: absolute; left: 22px; top: 22px; display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .88); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--ink); font-size: 13.5px; font-weight: 500; box-shadow: var(--shadow-s); }
.hero__chip { position: absolute; left: -28px; bottom: 36px; display: flex; align-items: center; gap: 12px; padding: 14px 20px 14px 14px; border-radius: 22px; background: rgba(255, 255, 255, .94); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 13px; color: var(--muted); line-height: 1.3; }
.hero__chip b { display: block; font: 600 15px/1.25 var(--head); color: var(--ink); }
.hero__ico { width: 40px; height: 40px; flex: none; border-radius: 14px; display: grid; place-items: center; background: var(--mint); }
.hero__ico svg { width: 20px; height: 20px; fill: none; stroke: var(--green); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.js .hero__chip { animation: chipIn 1s var(--ease) .9s both; }
@keyframes chipIn { from { opacity: 0; transform: translateY(16px); } }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(24, 160, 114, .5); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(24, 160, 114, 0); } 100% { box-shadow: 0 0 0 0 rgba(24, 160, 114, 0); } }

.path { background: var(--white); }
.path__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 7vw, 120px); align-items: start; }
.path__head { position: sticky; top: 120px; }
.steps { list-style: none; margin: 0; padding: 0; position: relative; }
.steps::before, .steps::after { content: ''; position: absolute; left: 25px; top: 12px; bottom: 12px; width: 2px; border-radius: 2px; background: var(--sky-2); }
.steps::after { background: var(--blue); transform-origin: top; transform: scaleY(var(--p, 0)); }
.step { position: relative; display: grid; grid-template-columns: 52px 1fr; gap: 24px; padding: 0 0 clamp(18px, 2.4vw, 26px); }
.step:last-child { padding-bottom: 0; }
.step__n { position: relative; z-index: 1; width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 2px var(--sky-2); font: 600 18px/1 var(--head); color: var(--blue-2); transition: background .5s, color .5s, box-shadow .5s; }
.step.is-lit .step__n { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -10px rgba(47, 111, 228, .8); }
.step > div { padding: 22px 26px; border-radius: 24px; background: var(--bg); transition: background .5s, box-shadow .5s; }
.step.is-lit > div { background: var(--sky); }
.step h3 { font: 600 clamp(19px, 1.8vw, 23px)/1.25 var(--head); letter-spacing: -.02em; color: var(--ink); margin: 0 0 8px; }
.step p { margin: 0; color: var(--muted); max-width: 46ch; }

.calc { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.calc__list { list-style: none; margin: 0; padding: 10px; border-radius: var(--r); background: var(--white); box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); }
.calc__item { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 18px 18px; border-radius: 20px; cursor: pointer; transition: background .3s; outline-offset: -2px; }
.calc__item + .calc__item { margin-top: 2px; }
.calc__item:hover { background: var(--bg); }
.calc__item.is-on { background: var(--sky); }
.check { width: 30px; height: 30px; border-radius: 10px; background: var(--white); box-shadow: inset 0 0 0 1.5px rgba(14, 28, 47, .18); display: grid; place-items: center; transition: background .3s, box-shadow .3s; }
.check svg { width: 16px; height: 16px; stroke: #fff; fill: none; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s var(--ease); }
.calc__item.is-on .check { background: var(--blue); box-shadow: none; }
.calc__item.is-on .check svg { stroke-dashoffset: 0; }
.calc__name { font: 600 16.5px/1.3 var(--sans); color: var(--ink); }
.calc__name small { display: block; font-weight: 400; font-size: 13.5px; color: var(--muted); margin-top: 3px; }
.calc__right { display: flex; align-items: center; gap: 14px; }
.calc__price { font: 600 17px/1 var(--head); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.qty { display: flex; align-items: center; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); border-radius: 999px; height: 36px; opacity: .35; pointer-events: none; transition: opacity .3s; }
.calc__item.is-on .qty { opacity: 1; pointer-events: auto; }
.qty button { width: 34px; height: 34px; border: 0; background: none; cursor: pointer; font-size: 18px; line-height: 1; color: var(--blue-2); border-radius: 50%; }
.qty b { min-width: 22px; text-align: center; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.receipt { position: sticky; top: 100px; overflow: hidden; background: linear-gradient(160deg, #3b7cf0, var(--blue-2) 70%); color: #fff; border-radius: var(--r); padding: 30px 28px; box-shadow: 0 34px 70px -34px rgba(31, 90, 208, .75); isolation: isolate; }
.receipt::before { content: ''; position: absolute; z-index: -1; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .25), rgba(255, 255, 255, 0)); }
.receipt__t { margin: 0 0 16px; font: 600 24px/1.1 var(--head); letter-spacing: -.02em; }
.receipt__lines { list-style: none; margin: 0; padding: 0; min-height: 40px; font-size: 14.5px; }
.receipt__lines li { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .3); animation: lineIn .45s var(--ease) both; }
.receipt__lines li span:last-child { white-space: nowrap; font-weight: 600; }
.receipt__lines .empty { color: rgba(255, 255, 255, .75); border: 0; animation: none; }
@keyframes lineIn { from { opacity: 0; transform: translateY(-6px); } }
.receipt__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 20px; }
.receipt__total span { color: rgba(255, 255, 255, .78); }
.receipt__total b { font: 700 clamp(32px, 3vw, 42px)/1 var(--head); letter-spacing: -.04em; }
.receipt__month { margin: 8px 0 22px; color: rgba(255, 255, 255, .8); font-size: 14px; min-height: 22px; }
.receipt__month b { color: #fff; font-weight: 600; }
.receipt__note { margin: 16px 0 0; font-size: 12.5px; color: rgba(255, 255, 255, .75); }

.shade { background: var(--mint); }
.shade .eyebrow { color: #0f7f5b; }
.shade .eyebrow::before { background: var(--green); }
.shade__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 100px); align-items: center; }
.shade__range { display: block; margin-top: 36px; padding: 22px 24px 16px; border-radius: 24px; background: rgba(255, 255, 255, .7); }
.shade__now { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 10px; color: var(--muted); }
.shade__now b { font: 700 34px/1 var(--head); letter-spacing: -.03em; color: var(--ink); min-width: 2.4em; }
.shade__now i { font-style: normal; font-size: 14.5px; }
.shade__ends { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--muted); margin-top: 6px; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 44px; background: transparent; cursor: pointer; touch-action: pan-y; }
input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #c9a978, #e3cda6, #fbf8f0); box-shadow: inset 0 0 0 1px rgba(14, 28, 47, .06); }
input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, #c9a978, #e3cda6, #fbf8f0); }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; margin-top: -11px; border-radius: 50%; background: var(--blue); border: 5px solid #fff; box-shadow: 0 6px 16px rgba(31, 90, 208, .4); }
input[type=range]::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: var(--blue); border: 5px solid #fff; box-shadow: 0 6px 16px rgba(31, 90, 208, .4); }
.shade__visual { background: var(--white); border-radius: calc(var(--r) + 8px); padding: clamp(24px, 4vw, 48px); box-shadow: 0 40px 80px -50px rgba(16, 90, 70, .45); }
.smile { width: 100%; height: auto; display: block; }
.smile__gum { fill: #eeaaa3; }
.smile__teeth use { fill: var(--tooth, #dcc296); transition: fill .6s var(--ease); }
.smile__teeth .gl { fill: url(#gloss); pointer-events: none; }
.tabs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.tab { border: 0; background: none; cursor: pointer; padding: 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 11.5px; color: var(--muted); border-radius: 12px; }
.tab i { width: 100%; max-width: 40px; aspect-ratio: 3 / 4.4; border-radius: 10px 10px 16px 16px; background: var(--c); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .06), 0 0 0 1px rgba(14, 28, 47, .08); transition: transform .4s var(--ease), box-shadow .3s; }
.tab.is-on { color: var(--blue-2); font-weight: 600; }
.tab.is-on i { transform: translateY(-6px); box-shadow: inset 0 -6px 10px rgba(0, 0, 0, .06), 0 0 0 2px var(--blue); }

.team { background: var(--bg); }
.docs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 26px); }
.doc { display: flex; flex-direction: column; padding: 10px 10px 24px; border-radius: calc(var(--r) + 6px); background: var(--white); box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); }
.doc__ph { position: relative; margin: 0 0 20px; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 3.6; background: var(--sky); }
.doc__ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; transition: transform 1.2s var(--ease); }
.doc:hover .doc__ph img { transform: scale(1.03); }
.doc__ph.is-empty::after { content: attr(data-initial); position: absolute; inset: 0; display: grid; place-items: center; font: 600 120px/1 var(--head); color: var(--sky-2); }
.doc__ph.is-empty img { display: none; }
.doc__exp { position: absolute; top: 14px; left: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--blue-2); font-size: 12.5px; font-weight: 600; }
.doc h3, .doc__role, .doc .btn { margin-left: 14px; margin-right: 14px; }
.doc h3 { font: 600 clamp(20px, 1.8vw, 24px)/1.2 var(--head); letter-spacing: -.025em; color: var(--ink); }
.doc__role { margin-top: 6px; margin-bottom: 18px; color: var(--muted); font-size: 14.5px; }
.doc .btn { margin-top: auto; align-self: flex-start; }

.mood { background: var(--white); }
.mood__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); grid-template-rows: auto auto; gap: clamp(14px, 1.8vw, 24px); align-items: start; }
.mood__head { grid-column: 1; grid-row: 1 / 3; padding-right: clamp(0px, 3vw, 40px); }
.mood__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 10px; }
.mood__list li { position: relative; padding: 16px 18px 16px 58px; border-radius: 20px; background: var(--bg); }
.mood__list li::before { content: ''; position: absolute; left: 16px; top: 17px; width: 28px; height: 28px; border-radius: 10px; background: var(--sky) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 3.8L18 8' fill='none' stroke='%232f6fe4' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.mood__list b { display: block; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.mood__list span { color: var(--muted); font-size: 15px; }
.mood__ph { margin: 0; border-radius: var(--r); overflow: hidden; background: var(--sky); }
.mood__ph img { width: 100%; height: 106%; object-fit: cover; transform: translateY(var(--y, 0)); will-change: transform; }
.mood__ph--a { grid-column: 2; grid-row: 1 / 3; aspect-ratio: 3 / 4.6; }
.mood__ph--b { grid-column: 3; grid-row: 1; aspect-ratio: 4 / 4.2; }
.mood__ph--c { grid-column: 3; grid-row: 2; aspect-ratio: 4 / 3; }

.faq { background: var(--bg); }
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 100px); align-items: start; }
.faq__list { display: grid; gap: 10px; }
details { border-radius: 22px; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s; }
details[open] { box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 20px 20px 24px; font: 500 clamp(17px, 1.5vw, 19.5px)/1.35 var(--head); letter-spacing: -.015em; color: var(--ink); border-radius: 22px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ''; flex: none; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(var(--blue), var(--blue)) center / 12px 2px no-repeat, linear-gradient(var(--blue), var(--blue)) center / 2px 12px no-repeat, var(--sky); transition: transform .45s var(--ease), background-color .3s; }
details[open] summary::after { transform: rotate(135deg); background: linear-gradient(#fff, #fff) center / 12px 2px no-repeat, linear-gradient(#fff, #fff) center / 2px 12px no-repeat, var(--blue); }
details p { margin: 0; padding: 0 70px 24px 24px; color: var(--muted); }
details[open] p { animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(-6px); } }

.book { background: var(--sky); }
.bsteps { display: grid; gap: 12px; }
.bstep { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 20px; padding: 18px 20px; border-radius: 24px; background: rgba(255, 255, 255, .6); align-items: start; }
.bstep__t { margin: 10px 0 0; display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink); }
.bstep__t b { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--white); box-shadow: inset 0 0 0 1.5px var(--sky-2); font: 600 14px/1 var(--head); color: var(--blue-2); transition: background .4s, color .4s, box-shadow .4s; }
.bstep.is-done .bstep__t b { background: var(--blue); color: #fff; box-shadow: none; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; min-height: 50px; align-content: flex-start; }
.opts:empty::before { content: 'Сначала выберите предыдущий шаг'; color: var(--muted); opacity: .8; font-size: 14px; align-self: center; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 50px; padding: 11px 18px; border-radius: 16px; border: 0; background: var(--white); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; text-align: left; font-size: 14.5px; font-weight: 500; color: var(--ink); transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease); -webkit-tap-highlight-color: transparent; }
.opt small { font-size: 12px; font-weight: 400; color: var(--muted); }
.opt:hover:not(:disabled) { box-shadow: inset 0 0 0 1.5px var(--blue); }
.opt.is-on { background: var(--blue); color: #fff; box-shadow: 0 10px 22px -12px rgba(47, 111, 228, .8); }
.opt.is-on small { color: rgba(255, 255, 255, .8); }
.opt:disabled { opacity: .35; text-decoration: line-through; cursor: not-allowed; background: transparent; }
.opts--time .opt, .opts--days .opt { min-width: 86px; align-items: center; }
.summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: 16px; padding: 18px 18px 18px 26px; border-radius: 24px; background: var(--white); box-shadow: var(--shadow-s); }
.summary p { margin: 0; color: var(--muted); }
.summary.is-ready p { color: var(--ink); font-weight: 500; }

.visit { position: relative; overflow: hidden; margin-top: var(--edge); background: linear-gradient(150deg, #3b7cf0, var(--blue-2) 55%, var(--blue-d)); color: #fff; padding: clamp(70px, 9vw, 120px) 0; isolation: isolate; }
.visit::before { content: ''; position: absolute; z-index: -1; right: -10%; top: -40%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0)); }
.visit__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) auto; gap: clamp(28px, 4vw, 60px); align-items: end; }
.visit__title { font: 700 clamp(42px, 6vw, 84px)/.98 var(--head); letter-spacing: -.045em; }
.visit__title em { color: #bcd3ff; }
.visit__info { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; margin: 0; }
.visit__info dt { color: rgba(255, 255, 255, .7); font-size: 14px; }
.visit__info dd { margin: 0; font-weight: 500; }
.visit__cta { display: flex; flex-direction: column; gap: 10px; }

.footer { background: var(--bg); color: var(--muted); padding: 40px 0 calc(40px + env(safe-area-inset-bottom)); font-size: 13.5px; }
.footer__inner { display: flex; gap: 30px; align-items: flex-start; justify-content: space-between; }
.footer__logo { font: 700 28px/1 var(--head); letter-spacing: -.04em; color: var(--ink); }
.footer p { margin: 0; max-width: 70ch; text-align: right; }

.fab, .calc-bar { position: fixed; z-index: 50; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom)); transform: translate(-50%, 140%); transition: transform .5s var(--ease); }
.fab { display: none; padding: 16px 32px; border-radius: 999px; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 0 0 4px rgba(255, 255, 255, .7), 0 16px 32px -10px rgba(31, 90, 208, .7); }
.fab.is-on, .calc-bar.is-on { transform: translate(-50%, 0); }
.calc-bar { display: none; align-items: center; gap: 16px; width: min(92vw, 420px); justify-content: space-between; padding: 8px 8px 8px 22px; border-radius: 999px; background: var(--blue); color: #fff; box-shadow: 0 0 0 4px rgba(255, 255, 255, .7), 0 16px 32px -10px rgba(31, 90, 208, .7); }
.calc-bar[hidden] { display: none !important; }

.modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; visibility: hidden; }
.modal.is-open { visibility: visible; }
.modal__bg { position: absolute; inset: 0; background: rgba(14, 28, 47, .4); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; transition: opacity .4s; }
.modal__card { position: relative; width: min(460px, 100%); background: var(--white); border-radius: calc(var(--r) + 4px); padding: 32px 28px 26px; display: grid; gap: 12px; box-shadow: var(--shadow); opacity: 0; transform: translateY(24px) scale(.98); transition: opacity .4s, transform .5s var(--ease); }
.modal.is-open .modal__bg, .modal.is-open .modal__card { opacity: 1; transform: none; }
.modal__card .eyebrow { margin: 0; justify-self: start; }
.modal__card h3 { font: 700 30px/1.1 var(--head); letter-spacing: -.035em; color: var(--ink); }
.modal__card p { margin: 0 0 10px; color: var(--muted); }

.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero .reveal { transition-duration: 1.1s, 1.2s; }

@media (max-width: 1100px) {
  .nav { display: none; }
  .hero__chip { left: 16px; }
  .mood__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mood__head { grid-column: 1 / 3; grid-row: auto; padding: 0; margin-bottom: 20px; }
  .mood__ph--a { grid-column: 1; grid-row: 2 / 4; aspect-ratio: 3 / 4.4; }
  .mood__ph--b { grid-column: 2; grid-row: 2; }
  .mood__ph--c { grid-column: 2; grid-row: 3; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .header { gap: 12px; padding: 10px 16px; }
  .logo__mark { width: 34px; height: 34px; }
  .logo span { font-size: 20px; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 0; min-height: 0; padding: 22px 16px 44px; }
  .hero__text { display: contents; }
  .hero .eyebrow { order: 1; justify-self: start; margin-bottom: 14px; }
  .hero__title { order: 2; font-size: clamp(44px, 13vw, 64px); }
  .hero__photo { order: 3; height: auto; min-height: 0; aspect-ratio: 4 / 4.3; margin-top: 22px; }
  .hero__lead { order: 4; margin-top: 22px; }
  .hero__cta { order: 5; margin-top: 24px; }
  .hero__facts { order: 6; margin-top: 26px; gap: 8px; max-width: none; }
  .hero__photo picture { border-radius: 30px; }
  .hero__photo img { object-position: 50% 30%; }
  .js .hero__photo picture { animation: none; }
  .hero__badge { left: 14px; top: 14px; font-size: 12.5px; padding: 8px 13px; }
  .hero__chip { left: 14px; right: auto; bottom: 14px; padding: 11px 16px 11px 11px; border-radius: 18px; }
  .hero__ico { width: 34px; height: 34px; border-radius: 12px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__facts li { padding: 13px 12px; border-radius: 16px; }
  .hero__facts b { font-size: 17px; }
  .hero__facts span { font-size: 12px; }
  .path__grid, .calc, .shade__grid, .faq__grid { grid-template-columns: 1fr; }
  .path__head { position: static; }
  .step { grid-template-columns: 44px 1fr; gap: 14px; }
  .step__n { width: 44px; height: 44px; border-radius: 15px; font-size: 16px; }
  .steps::before, .steps::after { left: 21px; }
  .step > div { padding: 18px 18px; border-radius: 20px; }
  .calc__list { padding: 6px; border-radius: 24px; }
  .calc__item { grid-template-columns: 26px minmax(0, 1fr); gap: 14px; padding: 16px 14px; border-radius: 18px; }
  .check { width: 26px; height: 26px; border-radius: 9px; }
  .calc__right { grid-column: 2; justify-content: space-between; }
  .receipt { position: relative; top: 0; }
  .calc-bar { display: flex; }
  .docs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--pad); margin: 0 calc(var(--pad) * -1); padding: 4px var(--pad) 16px; scrollbar-width: none; }
  .docs::-webkit-scrollbar { display: none; }
  .doc { scroll-snap-align: start; }
  .bstep { grid-template-columns: 1fr; gap: 12px; padding: 16px 0 16px 16px; border-radius: 22px; }
  .bstep__t { margin-top: 0; }
  .opts { flex-wrap: nowrap; overflow-x: auto; margin: 0; padding: 2px 16px 6px 0; scrollbar-width: none; }
  .opts::-webkit-scrollbar { display: none; }
  .opt { flex: none; }
  .opts:empty { padding: 0; min-height: 0; }
  .summary { flex-direction: column; align-items: stretch; text-align: left; padding: 18px; }
  .visit__grid { grid-template-columns: 1fr; align-items: start; }
  .visit__cta { flex-direction: row; flex-wrap: wrap; }
  .visit__cta .btn { flex: 1 1 200px; }
  .footer__inner { flex-direction: column; }
  .footer p { text-align: left; }
  .fab { display: block; }
  details p { padding-right: 24px; }
}

@media (max-width: 480px) {
  .header .btn--sm { padding: 0 16px; }
  .logo small { display: none; }
  .tabs { gap: 5px; }
  .tab { font-size: 10px; }
  .shade__visual { padding: 18px 14px; }
  .shade__range { padding: 18px 16px 12px; }
  .mood__grid { grid-template-columns: 1fr; }
  .mood__head { grid-column: 1; }
  .mood__ph--a, .mood__ph--b, .mood__ph--c { grid-column: 1; grid-row: auto; }
  .mood__ph--a { aspect-ratio: 4 / 5; }
  .mood__ph--b { display: none; }
  .modal__card { padding: 28px 22px 22px; }
  summary { padding: 18px 16px 18px 18px; }
  details p { padding: 0 18px 20px; }
}

@media (hover: hover) {
  .doc .btn:hover, .hero__cta .btn:hover { transform: translateY(-2px); }
}

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

.shot .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
.shot *, .shot *::before, .shot *::after { animation: none !important; }
.shot .hero { min-height: 760px; }
