:root {
  --ink: #16130f;
  --ink-2: #3d3830;
  --muted: #72695c;
  --paper: #f5f0e7;
  --paper-2: #ece4d6;
  --line: #e1d8c8;
  --white: #fff;
  --accent: #f5a000;
  --accent-2: #ffb829;
  --accent-ink: #9a6400;
  --dark: #16130f;
  --dark-2: #211c16;
  --dark-3: #2b251e;
  --dark-line: #3a342c;
  --on-dark: #d6cfc3;
  --header: 112px;
  --radius: 24px;
  --shadow: 0 30px 60px -30px rgba(22, 19, 15, .5), 0 10px 24px -12px rgba(22, 19, 15, .25);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header); }
body { margin: 0; font: 400 17px/1.6 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -.025em; line-height: 1.08; }
h1 { font-size: clamp(34px, 4.1vw, 58px); }
h2 { font-size: clamp(30px, 3.5vw, 50px); }
h3 { font-size: 22px; letter-spacing: -.01em; line-height: 1.25; }
p { margin: 0; }
iconify-icon { display: inline-block; width: 1em; height: 1em; vertical-align: -.125em; }

.wrap { width: min(1240px, 100% - 48px); margin-inline: auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--white); padding: 8px 14px; border-radius: 8px; }

.eyebrow { font: 600 13px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); margin-bottom: 18px; }
.eyebrow--light { color: var(--accent); }
.lead { font-size: clamp(18px, 1.45vw, 20px); color: var(--ink-2); max-width: 62ch; margin-top: 20px; }
.hl { color: var(--accent); }
.hl-dark { color: var(--accent-ink); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent; font: 700 16px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .2s, background-color .2s, box-shadow .2s, border-color .2s; }
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible, button:focus-visible, a:focus-visible, input:focus-visible + span, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 12px 28px -10px rgba(245, 160, 0, .85); }
.btn--accent:hover { background: var(--accent-2); }
.btn--glass { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .28); color: var(--white); backdrop-filter: blur(10px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--sm { min-height: 42px; padding: 0 20px; font-size: 15px; }
.btn--lg { min-height: 60px; padding: 0 30px; font-size: 17px; }
.btn--wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }

/* ---------- шапка ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header); color: var(--white); transition: background-color .3s, border-color .3s, color .3s; border-bottom: 1px solid transparent; }
.top.is-solid { background: rgba(22, 19, 15, .9); backdrop-filter: saturate(1.3) blur(14px); border-color: var(--dark-line); }
.top__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.top__logo { display: block; flex: none; padding: 8px 16px; border-radius: 16px; background: var(--white); }
.top__logo img { width: 280px; height: auto; }
.top__nav { display: flex; gap: 26px; margin-left: auto; font-weight: 600; font-size: 15px; }
.top__nav a { text-decoration: none; color: rgba(255, 255, 255, .78); }
.top__nav a:hover { color: var(--white); }
.top__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: flex; align-items: center; padding: calc(var(--header) + 48px) 0 140px; color: var(--white); background: var(--dark); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 68% 62%; animation: drift 24s ease-in-out infinite alternate; }
.hero__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 19, 15, .94) 0%, rgba(22, 19, 15, .82) 38%, rgba(22, 19, 15, .25) 70%, rgba(22, 19, 15, .1) 100%), linear-gradient(0deg, rgba(22, 19, 15, .9) 0%, rgba(22, 19, 15, 0) 35%); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 48px; align-items: end; }
.hero__text { max-width: 800px; }
.hero h1 .hl { display: block; margin-top: 10px; }
.hero .lead { color: var(--on-dark); }
.terms { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 28px 0 0; }
.terms li { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .2); font-weight: 700; font-size: 15px; backdrop-filter: blur(8px); }
.terms iconify-icon { color: var(--accent); font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero__offices p { font: 600 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.hero__offices ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hero__offices a { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 16px; background: rgba(22, 19, 15, .55); border: 1px solid rgba(255, 255, 255, .14); text-decoration: none; backdrop-filter: blur(12px); transition: border-color .2s, background-color .2s; }
.hero__offices a:hover { border-color: var(--accent); background: rgba(22, 19, 15, .75); }
.hero__offices iconify-icon { flex: none; display: grid; place-items: center; width: 40px; height: 40px; padding: 10px; border-radius: 12px; background: rgba(245, 160, 0, .16); color: var(--accent); font-size: 20px; }
.hero__offices b { display: block; font-size: 15px; line-height: 1.25; }
.hero__offices small { display: block; color: #b9b1a4; font-size: 13px; line-height: 1.35; }
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, -1%); } }

/* ---------- инфографика фактов ---------- */
.facts { position: relative; z-index: 2; margin-top: -84px; }
.facts__grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: var(--radius); background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 40px 70px -40px rgba(0, 0, 0, .7); overflow: hidden; }
.facts__grid li { display: grid; gap: 6px; padding: 30px 30px 28px; color: var(--white); border-left: 1px solid var(--dark-line); }
.facts__grid li:first-child { border-left: 0; }
.facts__grid b { font-size: clamp(36px, 3.6vw, 52px); font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--accent); }
.facts__grid small { font-size: .42em; letter-spacing: 0; color: var(--white); margin-left: 4px; }
.facts__grid span { color: var(--on-dark); font-size: 15px; }

/* ---------- общие секции ---------- */
.sec { padding: 112px 0; }
.sechead { max-width: 820px; margin-bottom: 56px; }
.sechead--center { margin-inline: auto; text-align: center; }
.sechead--center .lead { margin-inline: auto; }
.divider { display: flex; align-items: center; gap: 20px; margin-bottom: 28px; font: 600 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-ink); }
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.divider span { display: inline-flex; align-items: center; gap: 10px; }
.divider span::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--accent); transform: rotate(45deg); }

/* ---------- для кого ---------- */
.who { padding-top: 136px; }
.scenes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.scene { position: relative; display: grid; align-content: start; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); overflow: hidden; box-shadow: 0 20px 40px -32px rgba(22, 19, 15, .5); }
.scene__img { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark); }
.scene__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.scene__img--paper { background: var(--paper); }
.scene__img--paper img[src*="plan"] { object-fit: contain; }
.scene:hover .scene__img img { transform: scale(1.05); }
.scene__n { position: absolute; left: 18px; top: 18px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--accent); font: 800 17px/1 var(--font); box-shadow: 0 10px 20px -10px rgba(0, 0, 0, .5); }
.scene p { padding: 24px 26px 28px; font-size: 19px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; }

/* ---------- зачем приезжать ---------- */
.why { background: var(--dark); color: var(--white); overflow: hidden; }
.why .lead { color: var(--on-dark); }
.why__in { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.flow { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 0; position: relative; }
.flow li { position: relative; display: grid; grid-template-columns: 56px 1fr; column-gap: 18px; padding-bottom: 26px; }
.flow li:not(:last-child)::after { content: ''; position: absolute; left: 27px; top: 56px; bottom: 0; width: 2px; background: linear-gradient(var(--accent), rgba(245, 160, 0, .15)); }
.flow__ic { grid-row: span 2; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px; background: var(--dark-3); border: 1px solid var(--dark-line); color: var(--accent); font-size: 26px; }
.flow b { font-size: 19px; padding-top: 4px; }
.flow span:last-child { color: #b9b1a4; font-size: 15.5px; }
.why__media { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); aspect-ratio: 4 / 3; }
.why__media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 50%; transform: scale(1.22); }
.why__media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; border-radius: 999px; background: rgba(22, 19, 15, .8); font: 600 12px/1 var(--mono); }

/* ---------- как проходит ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before { content: ''; position: absolute; left: 12%; right: 12%; top: 36px; height: 2px; background: repeating-linear-gradient(90deg, var(--accent) 0 10px, transparent 10px 18px); opacity: .7; }
.steps li { position: relative; display: grid; justify-items: center; gap: 16px; padding: 0 10px; text-align: center; }
.steps__n { position: relative; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; background: var(--dark); color: var(--accent); font: 800 26px/1 var(--font); box-shadow: 0 0 0 8px var(--paper); }
.steps iconify-icon { font-size: 30px; color: var(--accent-ink); }
.steps p { font-size: 18px; font-weight: 700; line-height: 1.35; letter-spacing: -.01em; max-width: 26ch; }
.how__note { display: flex; align-items: center; gap: 18px; margin-top: 56px; padding: 24px 28px; border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); }
.how__note iconify-icon { flex: none; font-size: 34px; color: var(--accent); }
.how__note p { flex: 1; font-size: 18px; font-weight: 600; }

/* ---------- клип ---------- */
.clip { background: var(--dark); color: var(--white); padding-top: 112px; }
.clip .lead { color: var(--on-dark); }
.clip__head { margin-bottom: 40px; }
.clip__track { position: relative; height: calc(var(--steps, 5) * 80vh + 100vh); }
.clip__sticky { position: sticky; top: var(--header); height: calc(100vh - var(--header)); display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; align-items: center; width: min(1400px, 100% - 48px); margin-inline: auto; padding: 24px 0 32px; }
.clip__stage { position: relative; aspect-ratio: 16 / 9; max-height: 100%; width: 100%; margin: auto; border-radius: var(--radius); overflow: hidden; background: var(--paper); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.clip__badge { position: absolute; left: 16px; bottom: 16px; z-index: 5; padding: 8px 12px; border-radius: 999px; background: rgba(22, 19, 15, .78); color: var(--white); font: 600 12px/1 var(--mono); }
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .7s ease; transform: scale(calc(1 + (var(--z, 1) - 1) * var(--local, 0))); will-change: transform, opacity; }
.frame.is-on { opacity: 1; }
.frame img { width: 100%; height: 100%; }
.frame--cover img { object-fit: cover; }
.frame--contain img { object-fit: contain; background: var(--paper); }
.clip__side { display: grid; gap: 22px; align-content: center; }
.tabs { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--dark-2); border: 1px solid var(--dark-line); justify-self: start; }
.tabs button { border: 0; background: none; color: #bdb6aa; font: 700 14px/1 var(--font); padding: 10px 16px; border-radius: 999px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--ink); }
.rail { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.rail button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 0; border: 0; background: none; color: #7f796f; font: 600 15px/1.2 var(--font); text-align: left; cursor: pointer; transition: color .3s; }
.rail button span { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--dark-line); font: 600 12px/1 var(--mono); transition: background-color .3s, border-color .3s, color .3s; }
.rail button:hover { color: #d9d3c8; }
.rail button.is-done { color: #a9a296; }
.rail button.is-done span { border-color: #6b655b; }
.rail button.is-on { color: var(--white); }
.rail button.is-on span { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.cap { min-height: 200px; padding: 22px; border-radius: 20px; background: var(--dark-2); border: 1px solid var(--dark-line); animation: capIn .5s ease; }
.cap__n { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.cap h3 { margin: 10px 0 8px; font-size: 22px; }
.cap p { color: var(--on-dark); font-size: 15.5px; }
.cap__fact { display: inline-block; margin-top: 14px; padding: 6px 10px; border-radius: 8px; background: rgba(245, 160, 0, .14); color: var(--accent-2); font: 600 14px/1.3 var(--mono); }
@keyframes capIn { from { opacity: .4; } to { opacity: 1; } }
.clip__list { display: none; }
.lcard { display: grid; gap: 18px; padding-bottom: 40px; }
.lcard__media { border-radius: 16px; overflow: hidden; background: var(--paper); aspect-ratio: 16 / 10; }
.lcard__media > img { width: 100%; height: 100%; object-fit: contain; }
.lcard--cover .lcard__media > img { object-fit: cover; }
.lcard__n { font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.lcard h3 { margin: 8px 0 6px; }
.lcard p { color: var(--on-dark); }
.lcard b { display: inline-block; margin-top: 10px; color: var(--accent-2); font: 600 14px/1.3 var(--mono); }

/* ---------- результат ---------- */
.result { background: var(--white); }
.result .divider::before, .result .divider::after { background: var(--line); }
.gets { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.get { display: grid; align-content: start; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); overflow: hidden; }
.get figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--dark); }
.get figure img { width: 100%; height: 100%; object-fit: cover; }
.get__paper { background: var(--paper) !important; }
.get__estimate img { object-fit: cover; object-position: 0 0; transform: scale(2.4); transform-origin: 0 4%; }
.get > div { display: flex; gap: 14px; align-items: flex-start; padding: 24px 26px 28px; }
.get iconify-icon { flex: none; font-size: 28px; color: var(--accent-ink); margin-top: 1px; }
.get b { font-size: 19px; line-height: 1.35; letter-spacing: -.01em; }
.result__note { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 28px; padding: 16px 22px; border-radius: 16px; background: var(--paper); border: 1px dashed #cdbfa6; font-weight: 700; color: var(--ink-2); text-align: center; }
.result__note iconify-icon { flex: none; font-size: 22px; color: var(--accent-ink); }

.samples { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: center; margin-top: 72px; padding: 48px; border-radius: 32px; background: var(--dark); color: var(--white); overflow: hidden; }
.samples h3 { font-size: clamp(26px, 2.4vw, 34px); }
.samples p { margin-top: 14px; color: var(--on-dark); }
.samples__pages { display: flex; justify-content: center; align-items: center; min-height: 360px; }
.page { margin: 0 -2%; width: 34%; }
.page button { display: block; width: 100%; padding: 0; border: 0; border-radius: 8px; background: var(--white); overflow: hidden; cursor: zoom-in; box-shadow: 0 30px 50px -24px rgba(0, 0, 0, .8); transition: transform .35s ease; }
.page:nth-child(1) button { transform: rotate(-7deg) translateY(10px); }
.page:nth-child(2) { position: relative; z-index: 2; }
.page:nth-child(2) button { transform: translateY(-12px); }
.page:nth-child(3) button { transform: rotate(7deg) translateY(10px); }
.page button:hover { transform: translateY(-20px) rotate(0); }
.page figcaption { margin-top: 18px; text-align: center; font-size: 14px; font-weight: 600; color: #b9b1a4; }
.lightbox { max-width: min(920px, 94vw); max-height: 94vh; padding: 0; border: 0; border-radius: 12px; background: var(--white); overflow: auto; }
.lightbox::backdrop { background: rgba(22, 19, 15, .85); }
.lightbox img { width: 100%; height: auto; }
.lightbox__x { position: sticky; top: 10px; float: right; margin: 10px; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--dark); color: var(--white); font-size: 26px; cursor: pointer; display: grid; place-items: center; }

/* ---------- менеджер ---------- */
.manager__in { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: center; }
.badge { padding: 40px; border-radius: 32px; background: var(--accent); color: var(--ink); box-shadow: 0 40px 70px -40px rgba(154, 100, 0, .9); }
.badge__num { font-size: clamp(80px, 9vw, 128px); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.badge__num span { font-size: .3em; letter-spacing: -.01em; margin-left: 10px; }
.badge__cap { margin-top: 14px; font-weight: 700; font-size: 18px; line-height: 1.35; max-width: 32ch; }
.badge ul { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 10px; }
.badge li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: rgba(22, 19, 15, .1); font-weight: 700; }
.badge iconify-icon { font-size: 22px; }

/* ---------- завод ---------- */
.factory { background: var(--dark); color: var(--white); }
.factory__in { display: block; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.perks li { display: grid; align-content: start; gap: 8px; padding: 28px; border-radius: 22px; background: var(--dark-2); border: 1px solid var(--dark-line); }
.perks iconify-icon, .perk-ico { width: 34px; height: 34px; font-size: 34px; color: var(--accent); margin-bottom: 10px; }
.perks b { font-size: 22px; letter-spacing: -.015em; line-height: 1.2; }
.perks span { color: #b9b1a4; }

/* ---------- вопросы ---------- */
.faq__in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq__cta { margin-top: 28px; }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; list-style: none; padding: 22px 48px 22px 0; font-weight: 700; font-size: 19px; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); transition: transform .25s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq details p { padding: 0 48px 24px 0; color: var(--ink-2); }

/* ---------- запись ---------- */
.book { position: relative; color: var(--white); background: var(--dark); overflow: hidden; isolation: isolate; }
.book__bg { position: absolute; inset: 0; z-index: -1; }
.book__bg img { width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.book__bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(22, 19, 15, .96) 0%, rgba(22, 19, 15, .86) 45%, rgba(22, 19, 15, .7) 100%); }
.book .lead { color: var(--on-dark); }
.book__in { display: grid; grid-template-columns: .85fr 1.15fr; gap: 64px; align-items: start; }
.book .terms { margin: 28px 0 32px; }
.offices { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.offices li { display: flex; gap: 14px; padding: 16px 0; border-top: 1px solid var(--dark-line); }
.offices iconify-icon { flex: none; font-size: 22px; color: var(--accent); margin-top: 2px; }
.offices div { display: grid; gap: 2px; }
.offices span { color: #b9b1a4; font-size: 15px; }
.offices a { font-weight: 700; text-decoration: none; }
.book__call { color: var(--on-dark); }
.book__call a { color: var(--white); font-weight: 800; font-size: 22px; text-decoration: none; }
.book__call small { color: #8f887d; font-size: 14px; }
.form { display: grid; gap: 22px; padding: 36px; border-radius: 28px; background: var(--paper); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .7); }
.form__row { border: 0; padding: 0; margin: 0; min-width: 0; }
.form__row legend, .field > span { display: block; margin-bottom: 8px; font-weight: 700; font-size: 14px; color: var(--ink-2); }
.form__when { display: grid; grid-template-columns: 200px 1fr; gap: 20px; }
.form__pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); font: 500 16px/1.4 var(--font); color: var(--ink); }
.field textarea { resize: vertical; min-height: 0; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--accent); outline-offset: 0; border-color: var(--accent); }
.field--file input { padding: 12px; min-height: 0; }
.field small { display: block; margin-top: 6px; color: var(--muted); font-size: 13px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 600; font-size: 15px; transition: background-color .2s, border-color .2s; }
.chip input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--white); }
.chip input:hover + span { border-color: #bfb6a4; }
.chips--time .chip span { min-width: 64px; justify-content: center; padding: 0 10px; font-family: var(--mono); font-size: 14px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--ink); flex: none; }
.form__error { padding: 12px 14px; border-radius: 10px; background: #fde8e4; color: #8a1f0f; font-weight: 600; }
.ok { display: grid; gap: 12px; justify-items: start; padding: 12px 4px; }
.ok iconify-icon { font-size: 52px; color: #2f9e44; }
.ok h3 { font-size: 28px; }
.ok p { color: var(--ink-2); }
.ok__test { padding: 10px 12px; border-radius: 10px; background: var(--paper-2); font-size: 14px; }

/* ---------- подвал и мобильная кнопка ---------- */
.foot { padding: 48px 0 96px; background: var(--paper); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot__in { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.foot__in > div { display: grid; gap: 10px; max-width: 560px; }
.foot__phone { font-size: 22px; font-weight: 800; color: var(--ink); text-decoration: none; }
.mbar { display: none; }

/* ---------- появление ---------- */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- адаптив ---------- */
@media (max-width: 1280px) {
  :root { --header: 100px; }
  .top__logo img { width: 230px; }
  .top__nav { gap: 18px; }
}

@media (max-width: 1100px) {
  .top__nav { display: none; }
  .top__phone { margin-left: auto; }
  .hero__in { grid-template-columns: 1fr; }
  .hero__offices ul { grid-template-columns: repeat(3, 1fr); }
  .clip__sticky { grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; }
  .perks { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cap { min-height: 230px; }
  .facts__grid { grid-template-columns: repeat(2, 1fr); }
  .facts__grid li:nth-child(3) { border-left: 0; }
  .facts__grid li:nth-child(n+3) { border-top: 1px solid var(--dark-line); }
}

@media (max-width: 899px), (prefers-reduced-motion: reduce) {
  .clip__track { display: none; }
  .clip__list { display: block; }
  .clip { padding-bottom: 72px; }
}

@media (max-width: 899px) {
  :root { --header: 88px; }
  body { font-size: 16px; }
  .sec { padding: 80px 0; }
  .who { padding-top: 100px; }
  .hero { min-height: 0; padding: calc(var(--header) + 40px) 0 120px; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(22, 19, 15, .7) 0%, rgba(22, 19, 15, .88) 45%, rgba(22, 19, 15, .96) 100%); }
  .hero__offices ul { grid-template-columns: 1fr; }
  .top__logo { padding: 6px 12px; border-radius: 14px; }
  .top__logo img { width: 196px; }
  .scenes, .gets, .steps { grid-template-columns: 1fr; }
  .perks { grid-template-columns: 1fr 1fr; }
  .steps { gap: 28px; }
  .steps::before { left: 35px; right: auto; top: 20px; bottom: 20px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--accent) 0 10px, transparent 10px 18px); }
  .steps li { grid-template-columns: 72px 1fr; justify-items: start; align-items: center; text-align: left; gap: 18px; padding: 0; }
  .steps iconify-icon { display: none; }
  .how__note { flex-wrap: wrap; }
  .how__note .btn { width: 100%; }
  .why__in, .manager__in, .faq__in, .book__in, .samples { grid-template-columns: 1fr; gap: 40px; }
  .samples { padding: 32px 20px; }
  .samples__pages { min-height: 0; }
  .form { padding: 22px; }
  .form__when, .form__pair { grid-template-columns: 1fr; }
  .mbar { display: flex; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; min-height: 54px; transition: transform .3s, opacity .3s; }
  .mbar.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
}

@media (max-width: 560px) {
  .wrap { width: calc(100% - 32px); }
  :root { --header: 92px; }
  .top__logo img { width: 220px; }
  .top__phone span { display: none; }
  .top__phone { font-size: 22px; }
  .top .btn--sm { display: none; }
  .hero__cta .btn { width: 100%; }
  .facts { margin-top: -70px; }
  .facts__grid li { padding: 20px 18px; }
  .facts__grid b { font-size: 32px; white-space: nowrap; }
  .perks { grid-template-columns: 1fr; }
  .badge { padding: 28px; }
  .page figcaption { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
