/* iOrtho — «темний мікс»: графітова база + небесно-блакитний акцент (як в останніх постах Instagram).
   Темні секції — емоція і довіра; світлі (теплий off-white) — таблиці, калькулятор, FAQ. */
:root {
  --accent: #3DB2FF;        /* небесно-блакитний: акценти, кнопки */
  --accent-hover: #6CC5FF;
  --on-accent: #06121D;     /* текст на блакитній кнопці (≈ 8:1) */
  --accent-ink: #0068B8;    /* блакитний для тексту на світлому (≥ 5:1) */

  --night: #0B0F14;         /* основний темний фон */
  --night2: #121821;        /* другий темний (чергування, картки) */
  --paper: #F5F3EF;         /* теплий світлий фон */
  --white: #FFFFFF;

  --warn: #C2410C;
  --warn-bg: #FFF4ED;
  --ok: #15803D;

  --sans: "Montserrat", "Helvetica Neue", sans-serif;
  --r: 14px;
  --r2: 22px;
  --wrap: 1160px;
  --nav-h: 64px;

  /* Теми секцій: за замовчуванням світла */
  --bg: var(--white);
  --ink: #0E141B;
  --ink2: #3C4652;
  --ink3: #5C6773;
  --card: #FFFFFF;
  --card-border: #E4E0D8;
  --line: #E4E0D8;
  --shadow: 0 10px 30px rgba(14, 20, 27, .07);
  --link: var(--accent-ink);
}

.sec--dark, .hero, .nav, .foot, .sticky {
  --bg: var(--night);
  --ink: #F3F6F9;
  --ink2: #B4BFCB;
  --ink3: #8794A2;
  --card: rgba(255, 255, 255, .045);
  --card-border: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .1);
  --shadow: none;
  --link: var(--accent);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--night); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--link); }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; color: var(--ink); }
h2 { font-size: clamp(26px, 4.2vw, 40px); font-weight: 800; text-wrap: balance; }
h3 { font-size: 19px; font-weight: 700; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.acc { color: var(--accent); }
.sec:not(.sec--dark) .acc { color: var(--accent-ink); }

.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--on-accent); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap--narrow { max-width: 820px; }

/* Buttons — одна основна кнопка на весь сайт */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 12px 26px; border-radius: 999px; font: 700 16px/1.2 var(--sans); text-decoration: none; cursor: pointer; border: 2px solid transparent; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; text-align: center; }
.btn:active { transform: scale(.98); }
.btn--sm { min-height: 44px; padding: 8px 18px; font-size: 14px; }
.btn--block { width: 100%; }
.btn--primary { background: var(--accent); color: var(--on-accent); }
.btn--primary:hover { background: var(--accent-hover); box-shadow: 0 0 0 6px rgba(61, 178, 255, .15); }
.btn--line { border-color: var(--card-border); border-color: rgba(127, 140, 155, .45); color: var(--ink); background: transparent; }
.btn--line:hover { border-color: var(--accent); }
.btn[disabled] { opacity: .65; cursor: wait; }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h); background: rgba(11, 15, 20, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav__in { height: 100%; display: flex; align-items: center; gap: 16px; }
.logo { font-size: 26px; font-weight: 500; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo b { font-weight: 800; display: inline-block; }
.logo b::first-letter { color: var(--accent); }
.nav__geo { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink2); margin-right: auto; }
.nav__geo svg { width: 16px; height: 16px; color: var(--accent); }

/* Hero */
.hero { position: relative; padding: calc(var(--nav-h) + 48px) 0 72px; background: radial-gradient(ellipse 60% 70% at 78% 40%, rgba(61, 178, 255, .16), transparent 70%), var(--night); color: var(--ink); overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(32px, 5.4vw, 56px); font-weight: 800; text-transform: uppercase; letter-spacing: -.015em; }
.lead { font-size: 18px; color: var(--ink2); max-width: 600px; }
.hero__list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.hero__list li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; color: var(--ink); }
.hero__list svg { margin-top: 2px; color: var(--accent); background: rgba(61, 178, 255, .14); border-radius: 50%; padding: 3px; width: 22px; height: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.hero__note { font-size: 14px; color: var(--ink3); margin: 0; }
.hero__note b { color: var(--ink); }
.hero__img { position: relative; margin: 0; }
.hero__img::before { content: ""; position: absolute; inset: 8% -6% -4% 6%; border-radius: var(--r2); background: radial-gradient(circle at 50% 50%, rgba(61, 178, 255, .35), transparent 65%); filter: blur(40px); z-index: 0; }
.hero__img img { position: relative; z-index: 1; border-radius: var(--r2); aspect-ratio: 4 / 5; object-fit: cover; object-position: center 20%; width: 100%; border: 1px solid var(--line); }
.chip { position: absolute; z-index: 2; left: -18px; bottom: 28px; display: flex; gap: 8px; align-items: center; background: rgba(18, 24, 33, .72); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid rgba(255, 255, 255, .14); color: var(--ink); font-size: 14px; font-weight: 700; padding: 12px 16px; border-radius: 999px; max-width: 90%; }
.chip svg { color: var(--accent); }

/* Sections */
.sec { padding: 88px 0; background: var(--bg); color: var(--ink); }
.sec--paper { --bg: var(--paper); }
.sec--dark { background: var(--night); }
.sec--dark.sec--alt { --bg: var(--night2); background: var(--night2); }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 10px; }
.sec--dark .eyebrow, .hero .eyebrow { color: var(--accent); }
.sub { font-size: 17px; color: var(--ink2); max-width: 720px; margin-bottom: 32px; }
.fine { font-size: 13px; color: var(--ink3); margin-top: 16px; max-width: 860px; }

/* Glass card (темні секції) */
.glass { background: var(--card); border: 1px solid var(--card-border); border-radius: var(--r2); position: relative; }
.sec--dark .glass::before { content: ""; position: absolute; inset: 0 20% auto; height: 1px; background: linear-gradient(90deg, transparent, rgba(61, 178, 255, .7), transparent); }

/* For whom */
.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.fit__col { border-radius: var(--r2); padding: 32px; }
.fit__col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.fit__col li { position: relative; padding-left: 32px; color: var(--ink2); }
.fit__col li b { color: var(--ink); }
.fit__col li::before { position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.fit__col--yes { background: var(--white); border: 1px solid var(--card-border); box-shadow: var(--shadow); }
.fit__col--yes li::before { content: "✓"; background: var(--night); color: var(--accent); }
.fit__col--no { background: transparent; border: 1px dashed #CDBFAF; }
.fit__col--no li::before { content: "–"; background: #E8DED3; color: #7A4A2A; }
.fit__note { margin: 20px 0 0; font-weight: 600; color: var(--ink); }

/* Steps (консультація, темна секція) */
.steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { overflow: hidden; display: flex; flex-direction: column; }
.step__media { position: relative; overflow: hidden; }
.step img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; filter: saturate(.85); }
.step__n { display: block; font-size: 13px; font-weight: 800; color: var(--accent); padding: 18px 22px 0; letter-spacing: .1em; }
.step h3 { padding: 6px 22px 0; }
.step p { padding: 0 22px 22px; color: var(--ink2); font-size: 15px; margin: 0; }
/* Лінія сканування на кадрі 3D-скану — єдиний «живий» елемент секції */
.scan::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 36%; background: linear-gradient(to bottom, transparent, rgba(61, 178, 255, .28) 85%, rgba(150, 215, 255, .9) 100%); border-bottom: 1px solid rgba(160, 220, 255, .9); animation: scan 3.6s ease-in-out infinite; pointer-events: none; }
@keyframes scan { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(280%); } }
.callout { margin-top: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 28px; }
.callout p { margin: 0; max-width: 680px; color: var(--ink2); }
.callout b { color: var(--ink); }

/* Split */
.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.split--rev .split__img { order: 2; }
.split__img { margin: 0; }
.split__img img { border-radius: var(--r2); aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.sec--dark .split__img img { border: 1px solid var(--line); }
.split__img--sm { max-width: 320px; justify-self: center; }
.split__text p { color: var(--ink2); }
.split__text .btn { margin-top: 12px; }
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; font-weight: 600; color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--night) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233DB2FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.sec--dark .ticks li::before { background-color: rgba(61, 178, 255, .14); }

/* Table */
.tbl { margin-top: 32px; overflow-x: auto; border-radius: var(--r2); box-shadow: var(--shadow); background: var(--white); border: 1px solid var(--card-border); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; vertical-align: top; padding: 18px 20px; border-bottom: 1px solid var(--line); font-size: 15px; }
thead th { font-size: 16px; font-weight: 800; background: var(--night); color: #F3F6F9; }
thead small { display: block; font-weight: 500; font-size: 12px; color: #8794A2; }
.th-a { color: var(--accent) !important; }
tbody th { font-weight: 700; width: 18%; }
tbody td:nth-child(2) { background: rgba(61, 178, 255, .06); font-weight: 500; }
tbody td:nth-child(3) { color: var(--ink2); }
tbody tr:last-child > * { border-bottom: 0; }

/* Calculator */
.calc { display: grid; grid-template-columns: 1fr 1.25fr; gap: 24px; }
.calc__controls, .calc__result, .calc__aligners { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r2); padding: 28px; box-shadow: var(--shadow); }
.calc__result { grid-row: span 2; }
.calc__aligners { --ink: #F3F6F9; --ink2: #B4BFCB; background: var(--night); border-color: var(--night); color: var(--ink); }
.calc__aligners p { color: var(--ink2); }
.seg { border: 0; padding: 0; margin: 0 0 24px; }
.seg legend { font-weight: 700; margin-bottom: 10px; padding: 0; }
.seg label { position: relative; display: inline-block; margin: 0 6px 6px 0; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 999px; border: 2px solid var(--line); font-weight: 600; font-size: 15px; transition: all .2s; }
.seg input:checked + span { background: var(--night); border-color: var(--night); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.range label { font-weight: 700; display: block; margin-bottom: 10px; }
.range output { color: var(--accent-ink); }
input[type=range] { width: 100%; accent-color: var(--accent-ink); height: 32px; cursor: pointer; }
.range__scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink3); }
.check { display: flex; gap: 10px; align-items: flex-start; margin-top: 18px; font-size: 14px; color: var(--ink2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent-ink); flex-shrink: 0; cursor: pointer; }
.calc__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.kpi { border-radius: var(--r); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.kpi--muted { background: var(--paper); }
.kpi--warn { background: var(--warn-bg); }
.kpi__lbl { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink3); }
.kpi__val { font-size: clamp(22px, 3vw, 30px); font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpi--warn .kpi__val { color: var(--warn); }
.kpi__hint { font-size: 13px; color: var(--ink2); }
.bars { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 8px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; font-size: 14px; }
.bars .bar { grid-column: 1 / -1; height: 6px; border-radius: 3px; background: var(--paper); overflow: hidden; }
.bars .bar i { display: block; height: 100%; background: var(--warn); border-radius: 3px; transition: width .35s ease; }
.bars li:first-child .bar i { background: var(--ink3); }
.bars b { font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.calc__visits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; border-top: 1px solid var(--line); padding-top: 16px; }
.calc__visits > div { display: flex; flex-direction: column; gap: 4px; }
.vs { font-size: 14px; color: var(--ink2); }
.vs b { font-size: 18px; color: var(--warn); }
.vs--a b { color: var(--accent-ink); }

/* Journey */
.journey { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; position: relative; }
.journey li { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r2); padding: 24px 20px; position: relative; }
.journey li > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--night); color: var(--accent); font-weight: 800; margin-bottom: 14px; }
.journey p { font-size: 15px; color: var(--ink2); margin: 0; }

/* Care */
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.facts > div { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r); padding: 16px; }
.facts b { display: block; font-size: 22px; font-weight: 800; color: var(--accent-ink); }
.facts span { font-size: 13px; color: var(--ink2); }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
.reel { position: relative; border: 1px solid var(--line); padding: 0; border-radius: var(--r2); overflow: hidden; cursor: pointer; background: #000; aspect-ratio: 9 / 16; font-family: var(--sans); }
.reel img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease, opacity .3s; opacity: .85; }
.reel:hover img { transform: scale(1.03); opacity: 1; }
.reel__play { position: absolute; top: 50%; left: 50%; width: 60px; height: 60px; margin: -30px 0 0 -30px; border-radius: 50%; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.35); }
.reel__play::after { content: ""; position: absolute; left: 24px; top: 19px; border-left: 16px solid #fff; border-top: 11px solid transparent; border-bottom: 11px solid transparent; }
.reel__t { position: absolute; inset: auto 0 0; padding: 40px 16px 16px; color: #fff; font-weight: 700; font-size: 15px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.85)); }
.modal { border: 0; padding: 0; background: transparent; max-width: min(420px, 92vw); width: 100%; overflow: visible; margin-top: 70px; }
.modal::backdrop { background: rgba(5, 8, 12, .86); }
.modal__frame { aspect-ratio: 9 / 16; background: #000; border-radius: var(--r2); overflow: hidden; max-height: 86vh; }
.modal__frame iframe { width: 100%; height: 100%; border: 0; }
.modal__close { position: absolute; top: -48px; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 26px; line-height: 1; cursor: pointer; color: #0E141B; }

/* FAQ */
.faq { margin-top: 28px; display: grid; gap: 10px; }
.faq details { background: var(--white); border-radius: var(--r); border: 1px solid var(--card-border); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 22px; font-weight: 700; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; font-weight: 500; color: var(--accent-ink); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 22px 20px; margin: 0; color: var(--ink2); }

/* Form (темна секція, біла картка) */
.sec--form { background: radial-gradient(ellipse 50% 60% at 85% 30%, rgba(61, 178, 255, .14), transparent 70%), var(--night); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form-intro__price { font-size: 17px; margin-bottom: 20px; color: var(--ink2); }
.form-intro__price b { color: var(--ink); }
.addr { font-style: normal; display: flex; gap: 10px; margin-bottom: 24px; color: var(--ink2); }
.addr svg { color: var(--accent); }
.addr a { font-weight: 700; }
.card { --ink: #0E141B; --ink2: #3C4652; --ink3: #5C6773; --line: #E4E0D8; background: var(--white); color: var(--ink); border-radius: var(--r2); padding: 32px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); }
.card a { color: var(--accent-ink); }
.field { margin-bottom: 18px; }
.field > label, .field legend { display: block; font-weight: 700; font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.field input[type=text], .field input[type=tel], .field select { width: 100%; min-height: 52px; padding: 12px 16px; font: 500 16px var(--sans); color: var(--ink); background: #fff; border: 2px solid var(--line); border-radius: var(--r); transition: border-color .2s; appearance: none; }
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233C4652' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center / 20px no-repeat; padding-right: 44px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--accent-ink); box-shadow: 0 0 0 3px rgba(61,178,255,.3); }
.field [aria-invalid=true] { border-color: var(--warn); }
.seg--form { margin-bottom: 18px; }
.seg--form label { margin: 0 6px 0 0; }
.err { color: var(--warn); font-size: 14px; font-weight: 600; margin: 6px 0 0; }
.err--form { margin-top: 12px; }
.warn { background: var(--warn-bg); color: #7C2D12; font-size: 14px; border-radius: 10px; padding: 10px 12px; margin: 8px 0 0; }
.check--consent { margin: 4px 0 6px; }
.check--consent + .err { margin-bottom: 10px; }
.btn--block { margin-top: 12px; }
.card .btn--primary { background: var(--night); color: #fff; }
.card .btn--primary:hover { background: #1B2430; box-shadow: none; }
.card .btn--line { color: var(--ink); border-color: var(--line); }
.micro { font-size: 13px; color: var(--ink3); margin: 10px 0 0; text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-turnstile:empty { display: none; }
.cf-turnstile { margin: 6px 0 12px; }
.success { text-align: center; padding: 16px 0; }
.success__icon { width: 64px; height: 64px; border-radius: 50%; background: #DCFCE7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.success__icon svg { width: 32px; height: 32px; stroke-width: 3; }
.success p { color: var(--ink2); }
.success .btn { margin-top: 14px; }

/* Footer */
.foot { background: #06090D; color: var(--ink2); padding: 40px 0 120px; font-size: 14px; border-top: 1px solid var(--line); }
.foot__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; }
.foot a { color: var(--ink); }
.foot .fine { color: var(--ink3); margin-top: 8px; }

/* Sticky mobile */
.sticky { display: none; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .4s ease, transform .4s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero__grid, .form-grid, .split, .calc { grid-template-columns: 1fr; }
  .split--rev .split__img { order: 0; }
  .hero__img, .split__img { max-width: 440px; }
  .split__img--sm { max-width: 320px; justify-self: start; }
  .calc__result { grid-row: auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .journey { grid-template-columns: 1fr 1fr; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .foot__in { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  :root { --nav-h: 58px; }
  .nav__geo { font-size: 12px; }
  .nav__tel span { display: none; }
  .nav__tel { min-width: 44px; padding: 8px 12px; }
  .nav__cta { display: none; }
  .sec { padding: 56px 0; }
  .hero { padding-top: calc(var(--nav-h) + 28px); padding-bottom: 44px; }
  .hero__img img { aspect-ratio: 16 / 11; object-position: center 25%; }
  .chip { left: 12px; bottom: 12px; font-size: 13px; padding: 10px 14px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .lead { font-size: 16px; }
  .fit { grid-template-columns: 1fr; }
  .fit__col { padding: 24px 20px; }
  .steps { grid-template-columns: 1fr; }
  .step { display: grid; grid-template-columns: 112px 1fr; }
  .step__media { grid-row: span 3; }
  .step img { aspect-ratio: auto; height: 100%; }
  .step__n { padding: 14px 16px 0; }
  .step h3 { padding: 2px 16px 0; font-size: 17px; }
  .step p { padding: 0 16px 14px; font-size: 14px; }
  .callout { flex-direction: column; align-items: stretch; padding: 20px; }
  .journey { grid-template-columns: 1fr; }
  .facts { gap: 8px; }
  .facts > div { padding: 12px; }
  .facts b { font-size: 17px; }
  .calc__controls, .calc__result, .calc__aligners, .card { padding: 22px 18px; }
  .calc__pair, .calc__visits { grid-template-columns: 1fr; }
  .split__img img { aspect-ratio: 16 / 11; }
  .split__img--sm { max-width: 220px; }
  .split__img--sm img { aspect-ratio: 4 / 5; }

  /* Порівняльна таблиця — картками */
  .tbl { overflow: visible; background: transparent; box-shadow: none; border: 0; }
  table, tbody, tr, th, td { display: block; min-width: 0; width: 100%; }
  thead { display: none; }
  tbody tr { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r); margin-bottom: 12px; overflow: hidden; }
  tbody th { width: 100%; padding: 14px 16px 6px; font-size: 16px; border: 0; }
  tbody td { padding: 6px 16px 12px; border: 0; font-size: 15px; }
  tbody td:nth-child(2) { background: transparent; }
  tbody td::before { display: block; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
  tbody td:nth-child(2)::before { content: "Елайнери"; color: var(--accent-ink); }
  tbody td:nth-child(3)::before { content: "Брекети"; color: var(--ink3); }
  tbody td:nth-child(3) { border-top: 1px dashed var(--line); padding-top: 10px; padding-bottom: 16px; }

  .sticky { display: grid; grid-template-columns: 1fr 1.3fr; gap: 8px; position: fixed; inset: auto 0 0; z-index: 40; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 15, 20, .9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-top: 1px solid var(--line); transition: transform .25s ease; }
  .sticky .btn { min-height: 48px; padding: 10px 12px; font-size: 15px; }
  .sticky.hide { transform: translateY(110%); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scan::after { display: none; }
  * { transition-duration: 0s !important; animation-duration: 0s !important; }
}

/* Великий заголовок-питання (блок порівняння) */
.h2-xl { font-size: clamp(32px, 5.6vw, 60px); text-transform: uppercase; letter-spacing: -.015em; }

/* Плюс / мінус у таблиці порівняння */
td.plus, td.minus { position: relative; padding-left: 50px; }
td.plus::after, td.minus::after { content: ""; position: absolute; left: 18px; top: 19px; width: 22px; height: 22px; border-radius: 50%; background: center / 12px no-repeat; }
td.plus::after { background-color: #DDF3E4; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2315803D' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
td.minus::after { background-color: #FBE3D6; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C2410C' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M6 12h12'/%3E%3C/svg%3E"); }

/* Оплата частинами */
.pay { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
.pay__card { background: var(--white); border: 1px solid var(--card-border); border-radius: var(--r2); padding: 26px; box-shadow: var(--shadow); }
.pay__card p { color: var(--ink2); margin: 0; }
.pay__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--night); color: var(--accent); margin-bottom: 16px; }
.pay__icon svg { width: 24px; height: 24px; }
.pay__note { margin: 20px 0 0; color: var(--ink2); font-weight: 600; }
.hero__list a { color: var(--accent); font-weight: 600; }
.calc__aligners a:not(.btn) { color: var(--accent); }

@media (max-width: 960px) { .pay { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  td.plus, td.minus { padding-left: 16px; }
  td.plus::after, td.minus::after { display: none; }
  tbody td.plus::before { content: "✓  Елайнери"; color: var(--ok); }
  tbody td.minus::before { content: "–  Брекети"; color: var(--warn); }
}

/* Друга частина H1 — дрібніша, щоб перший екран не розтягувався */
.h1-sub { display: block; font-size: .56em; line-height: 1.2; margin-top: .3em; letter-spacing: 0; }
[data-cfg="consultPrice"] { white-space: nowrap; }

/* Перший екран: художній рядок про 8 років над H1 */
.hero__kicker { display: inline-flex; align-items: center; gap: 10px; font-size: clamp(15px, 1.6vw, 18px); font-weight: 600; font-style: italic; color: var(--ink2); margin-bottom: 18px; }
.hero__kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex-shrink: 0; }

/* Плашка «3D-план» — над головою лікарки */
.hero__img .chip { top: 18px; bottom: auto; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 15px; padding: 12px 18px; }

/* Повна адреса у футері */
.foot__addr { font-style: normal; margin-top: 8px; line-height: 1.6; }
.foot__addr a { font-weight: 600; }

@media (max-width: 700px) {
  .hero__img .chip { top: 12px; font-size: 13px; padding: 9px 14px; }
}

/* Перший екран: страхи пацієнтів → відповіді */
.hero .hero__cta { margin-bottom: 28px; }
.fears { border-top: 1px solid var(--line); padding-top: 20px; max-width: 620px; }
.fears__title { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink3); margin-bottom: 12px; }
.fears ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.fears li { display: grid; gap: 2px; padding-left: 16px; border-left: 2px solid var(--accent); }
.fears q { font-weight: 700; color: var(--ink); quotes: "«" "»"; }
.fears span { font-size: 15px; color: var(--ink2); }

/* Фото лікаря: тримаємо обличчя в кадрі на будь-якому екрані */
.hero__img img, .img-top { object-position: center top; }
@media (max-width: 700px) { .hero__img img { object-position: center top; } }

/* Сторінка політики конфіденційності (без inline-стилів через CSP) */
.legal-page { --bg: var(--paper); padding-top: calc(var(--nav-h) + 40px); }
.legal-page h1 { font-size: 32px; }
.legal-page h2 { font-size: 22px; margin-top: 28px; }
.legal-page li, .legal-page p { color: var(--ink2); }

/* Фото без обрізання: лікар з елайнерами, модель щелеп */
.split--photo { grid-template-columns: 1.1fr 1fr; }
.split__img--full img { aspect-ratio: auto; height: auto; }

@media (max-width: 960px) {
  .split--photo { grid-template-columns: 1fr; }
  .split__img--full { max-width: 560px; }
}
@media (max-width: 700px) {
  /* мобайл: фото в розворотах у натуральних пропорціях, перший екран 4:5 від верху */
  .split__img img { aspect-ratio: auto; height: auto; }
  .hero__img img { aspect-ratio: 4 / 5; }
}
