/* VERESK — тёплая бумага, глубокая хвоя и акцент цвета вереска */
:root {
  --paper: #efe8dc;
  --paper-2: #e5dccc;
  --card: #f6f1e8;
  --ink: #1e231f;
  --ink-2: #565a51;
  --pine: #26332b;
  --pine-2: #33443a;
  --heather: #7e4f73;
  --heather-soft: #cdaec3;
  --line: rgba(30, 35, 31, .16);
  --line-light: rgba(239, 232, 220, .2);
  --disp: 'Oranienbaum', 'Times New Roman', serif;
  --text: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --gut: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, fieldset { margin: 0; padding: 0; }
ol, ul { list-style: none; }
fieldset { border: 0; min-width: 0; }
[hidden] { display: none !important; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--heather); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--heather-soft); }

.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 14px; border-radius: 8px; }
.skip:focus { top: 12px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.kicker { display: flex; gap: 14px; color: var(--ink-2); text-transform: uppercase; letter-spacing: .08em; }
.kicker span:first-child { color: var(--heather); }
.kicker--light { color: rgba(239, 232, 220, .62); }
.kicker--light span:first-child { color: var(--heather-soft); }
.title { font: 400 clamp(38px, 6.2vw, 92px)/1.02 var(--disp); letter-spacing: -.012em; margin-top: 22px; }
.title--sm { font-size: clamp(34px, 4.4vw, 62px); }
.lead { color: var(--ink-2); font-size: clamp(16px, 1.3vw, 18px); max-width: 46ch; }
.note { color: var(--ink-2); font-size: 12.5px; line-height: 1.45; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; background: var(--pine); color: var(--paper); font-weight: 500; font-size: 15px; transition: background .35s var(--ease), transform .35s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s var(--ease); }
.btn:hover { background: var(--heather); }
.btn:hover svg { transform: translateX(4px); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--paper { background: var(--paper); color: var(--ink); }
.btn--paper:hover { background: #fff; }
.btn--line { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 1px rgba(239, 232, 220, .5); }
.btn--line:hover { background: rgba(239, 232, 220, .14); }
.btn--wide { width: 100%; }

/* Шапка */
.nav { position: fixed; inset: 0 0 auto; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; padding: 0 var(--gut); transition: background .4s, color .4s, height .4s var(--ease), box-shadow .4s; }
.nav.is-over { color: var(--paper); }
.nav:not(.is-over) { background: rgba(239, 232, 220, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); height: 62px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo svg { width: 32px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; }
.logo svg circle { fill: var(--heather-soft); stroke: none; }
.logo b { font: 400 22px/1 var(--disp); letter-spacing: .1em; }
.nav__links { display: flex; gap: clamp(16px, 2.4vw, 34px); font-size: 14.5px; }
.nav__links a { position: relative; padding: 4px 0; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__end { display: flex; align-items: center; gap: 14px; }
.nav.is-over .btn--sm { background: var(--paper); color: var(--ink); }
.lang { display: flex; gap: 2px; font: 500 12px var(--mono); }
.lang button { padding: 6px 7px; opacity: .55; border-radius: 6px; transition: opacity .3s; }
.lang button[aria-pressed="true"] { opacity: 1; }
.burger { display: none; width: 40px; height: 40px; position: relative; }
.burger span { position: absolute; left: 9px; right: 9px; height: 1.6px; background: currentColor; transition: transform .35s var(--ease), top .35s var(--ease); }
.burger span:first-child { top: 15px; }
.burger span:last-child { top: 23px; }
.burger[aria-expanded="true"] span:first-child { top: 19px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 19px; transform: rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 35; background: var(--pine); color: var(--paper); display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 80px var(--gut) 40px; font: 400 40px/1.2 var(--disp); }

/* Первый экран */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; color: var(--paper); overflow: hidden; background: var(--pine); }
.hero__media { position: absolute; inset: 0; }
.hero__img { width: 100%; height: 112%; object-fit: cover; object-position: 50% 45%; will-change: transform; }
.hero::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(100deg, rgba(14, 18, 15, .74) 0%, rgba(14, 18, 15, .34) 34%, rgba(14, 18, 15, 0) 58%),
  linear-gradient(180deg, rgba(14, 18, 15, .4) 0%, rgba(14, 18, 15, 0) 26%, rgba(14, 18, 15, 0) 62%, rgba(14, 18, 15, .8) 100%); }
.hero__top { position: relative; z-index: 2; padding: clamp(92px, 13vh, 124px) var(--gut) 0; }
.hero__body { position: relative; z-index: 2; margin-top: auto; padding: 24px var(--gut) clamp(22px, 3.4vh, 36px); }
.hero__kicker { text-transform: uppercase; letter-spacing: .08em; opacity: .86; }
.hero__title { font: 400 clamp(52px, 7.5vw, 132px)/.98 var(--disp); letter-spacing: -.014em; margin-top: 14px; text-shadow: 0 2px 34px rgba(14, 18, 15, .62), 0 0 2px rgba(14, 18, 15, .25); }
.hero__title em { font-style: normal; color: #ecd9e6; }
.hero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.hero__lead { max-width: 50ch; font-size: clamp(16px, 1.25vw, 18px); opacity: .92; }
.hero__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-light); margin: 0 var(--gut); }
.hero__facts div { padding: 14px 18px 18px 0; }
.hero__facts dt { font: 400 11.5px var(--mono); opacity: .66; text-transform: uppercase; letter-spacing: .06em; }
.hero__facts dd { font-size: 15.5px; margin-top: 3px; }
.hero__title, .hero__kicker, .hero__row, .hero__facts { animation: rise .95s var(--ease) both; }
.hero__title { animation-delay: .08s; }
.hero__row { animation-delay: .18s; }
.hero__facts { animation-delay: .26s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* Манифест */
.manifesto { padding: clamp(90px, 15vh, 180px) var(--gut); display: grid; grid-template-columns: minmax(120px, 1fr) 5fr; gap: 24px; }
.manifesto__text { font: 400 clamp(30px, 4.5vw, 68px)/1.14 var(--disp); letter-spacing: -.008em; max-width: 21em; }
.manifesto__text .w { opacity: .16; transition: opacity .5s linear; }
.manifesto__text .w.on { opacity: 1; }

/* Раскрывающееся окно */
.win { height: 400vh; position: relative; }
.win__stick { position: sticky; top: 0; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.win__frame { position: absolute; inset: 0; clip-path: inset(24% 30% 24% 30% round 16px); will-change: clip-path; background: var(--pine); }
.win__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.14); will-change: opacity, transform; }
.win__frame img:first-child { opacity: 1; }
.win__frame::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14, 18, 15, .74), rgba(14, 18, 15, .28) 34%, rgba(14, 18, 15, 0) 62%); }
.win__caps li { position: absolute; left: var(--gut); right: var(--gut); bottom: clamp(30px, 7vh, 72px); display: grid; grid-template-columns: auto minmax(0, 34ch); align-items: end; justify-content: space-between; gap: 28px; color: var(--paper); opacity: 0; transform: translateY(18px); transition: opacity .55s var(--ease), transform .7s var(--ease); pointer-events: none; }
.win__caps li.on { opacity: 1; transform: none; }
.win__caps h2 { font: 400 clamp(64px, 13vw, 210px)/.9 var(--disp); letter-spacing: -.02em; }
.win__caps p { font-size: clamp(16px, 1.3vw, 19px); }

/* Заголовки блоков */
.head { padding: 0 var(--gut); display: grid; grid-template-columns: 1fr; gap: 0; }
.head .lead { margin-top: 20px; }

/* Проекты */
.projects { padding: clamp(90px, 13vh, 170px) 0 clamp(60px, 9vh, 110px); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; padding: 30px var(--gut) 22px; }
.chip { height: 38px; padding: 0 16px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; transition: background .3s, color .3s; }
.chip:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.chip[aria-pressed="true"] { background: var(--pine); color: var(--paper); box-shadow: none; }
.rail { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x proximity; padding: 4px var(--gut) 18px; scrollbar-width: none; scroll-padding-left: var(--gut); }
.rail::-webkit-scrollbar { display: none; }
.pcard { flex: 0 0 clamp(280px, 30vw, 440px); scroll-snap-align: start; display: flex; flex-direction: column; text-align: left; }
.pcard__img { aspect-ratio: 4 / 5; overflow: hidden; border-radius: 12px; background: var(--paper-2); position: relative; }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.pcard:hover .pcard__img img { transform: scale(1.045); }
.pcard__go { position: absolute; left: 12px; right: 12px; bottom: 12px; min-height: 46px; opacity: 0; transform: translateY(8px); transition: opacity .35s, transform .45s var(--ease), background .35s; }
.pcard:hover .pcard__go, .pcard__go:focus-visible { opacity: 1; transform: none; }
.pcard__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.pcard h3 { font: 400 30px/1.1 var(--disp); }
.pcard__price { font: 500 13.5px var(--mono); white-space: nowrap; }
.pcard__spec { color: var(--ink-2); font: 400 12.5px/1.5 var(--mono); margin-top: 4px; }

/* Конструктор */
.config { padding: clamp(70px, 10vh, 130px) 0; background: var(--card); }
.config__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(300px, .78fr); grid-template-rows: auto auto; gap: 18px clamp(20px, 3vw, 44px); padding: clamp(28px, 4vh, 44px) var(--gut) 0; align-items: start; }
.stage { position: sticky; top: 76px; grid-column: 1; grid-row: 1 / span 2; }
.stage__view { position: relative; height: min(66vh, 640px); min-height: 340px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #eae2d3 0%, #e3dac9 64%, #dcd3c1 100%); cursor: grab; }
.stage__view.is-drag { cursor: grabbing; }
.stage__view canvas, .proc__view canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; }
.stage__hint { position: absolute; left: 16px; top: 14px; z-index: 2; color: var(--ink-2); pointer-events: none; transition: opacity .5s; }
.is-drag .stage__hint { opacity: 0; }
.stage__load { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ink-2); pointer-events: none; }
.stage__view:has(canvas) .stage__load, .proc__view:has(canvas) .stage__load { display: none; }
.stage__view canvas, .proc__view canvas { animation: fadein .7s var(--ease) both; }
@keyframes fadein { from { opacity: 0; } to { opacity: 1; } }
.stage__view.no3d { display: grid; place-items: center; background: var(--paper-2) center/cover no-repeat; }
.stage__spec { display: flex; gap: 8px 22px; flex-wrap: wrap; padding: 12px 2px 0; color: var(--ink-2); }
.stage__price { display: none; }
.opts { grid-column: 2; grid-row: 1; display: flex; flex-direction: column; gap: 24px; }
.opts legend { display: flex; align-items: baseline; gap: 10px; width: 100%; font-weight: 500; font-size: 15px; margin-bottom: 11px; padding: 0; }
.opts legend .mono:first-child { color: var(--heather); }
.opts legend output { margin-left: auto; font-size: 15px; color: var(--ink); font-weight: 500; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 24px; background: none; margin: 0; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(90deg, var(--pine) var(--fill, 34%), var(--line) var(--fill, 34%)); }
input[type="range"]::-moz-range-track { height: 3px; border-radius: 2px; background: var(--line); }
input[type="range"]::-moz-range-progress { height: 3px; background: var(--pine); }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; margin-top: -10px; border-radius: 50%; background: var(--pine); border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--pine); }
input[type="range"]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--pine); border: 4px solid var(--card); box-shadow: 0 0 0 1px var(--pine); }
.scale { display: flex; justify-content: space-between; color: var(--ink-2); font-size: 11.5px; }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg--stack { grid-auto-flow: row; }
.opt { min-height: 44px; padding: 7px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; text-align: center; transition: background .25s, color .25s, box-shadow .25s; }
.opt small { display: block; color: var(--ink-2); font-size: 12px; line-height: 1.3; transition: color .25s; }
.seg--stack .opt { text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 14px; }
.opt:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.opt[aria-checked="true"] { background: var(--pine); color: var(--paper); box-shadow: none; }
.opt[aria-checked="true"] small { color: rgba(239, 232, 220, .7); }
.opt:disabled { opacity: .4; cursor: not-allowed; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sw { display: flex; flex-direction: column; gap: 6px; font-size: 13px; text-align: left; }
.sw i { display: block; aspect-ratio: 1 / .8; border-radius: 9px; background-size: cover; box-shadow: inset 0 0 0 1px rgba(30, 35, 31, .1); transition: box-shadow .25s; }
.sw[aria-checked="true"] i { box-shadow: 0 0 0 2px var(--card), 0 0 0 4px var(--pine); }
.toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.tog { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 44px; padding: 8px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line); font-size: 14px; text-align: left; transition: box-shadow .25s, background .25s; }
.tog::after { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--line); transition: background .25s, box-shadow .25s; }
.tog[aria-pressed="true"] { box-shadow: inset 0 0 0 1px var(--pine); background: rgba(38, 51, 43, .05); }
.tog[aria-pressed="true"]::after { background: var(--heather); box-shadow: none; }
.sum { grid-column: 2; grid-row: 2; background: var(--pine); color: var(--paper); border-radius: 16px; padding: 22px; }
.sum__label { color: rgba(239, 232, 220, .62); text-transform: uppercase; letter-spacing: .08em; }
.sum__price { font: 400 clamp(38px, 3.6vw, 52px)/1.05 var(--disp); margin-top: 6px; font-variant-numeric: lining-nums; }
.sum__meta { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 10px; margin-top: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line-light); }
.sum__meta dt { font-size: 12px; color: rgba(239, 232, 220, .62); }
.sum__meta dd { font: 500 13.5px var(--mono); margin-top: 2px; }
.bars { display: flex; flex-direction: column; gap: 9px; margin: 15px 0 18px; }
.bars li { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; font-size: 13px; }
.bars span:nth-child(2) { font: 400 12.5px var(--mono); }
.bars i { grid-column: 1 / -1; height: 2px; background: var(--line-light); position: relative; }
.bars i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w, 0%); background: var(--heather-soft); transition: width .6s var(--ease); }
.bars li.off { opacity: .42; }
.sum .btn { background: var(--paper); color: var(--ink); }
.sum .btn:hover { background: #fff; }
.sum .note { color: rgba(239, 232, 220, .6); margin-top: 11px; }

/* Как строим */
.proc { height: 640vh; position: relative; background: var(--paper); }
.proc__stick { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(300px, 34%) minmax(0, 1fr); align-items: center; overflow: hidden; }
.proc__text { padding: 80px 0 40px var(--gut); align-self: center; z-index: 2; }
.steps { position: relative; margin-top: 22px; min-height: 260px; }
.step { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(16px); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none; }
.step.on { opacity: 1; transform: none; }
.step b { display: block; font: 400 12.5px var(--mono); color: var(--heather); }
.step h3 { font: 400 clamp(38px, 4.4vw, 66px)/1.04 var(--disp); letter-spacing: -.01em; margin: 10px 0 12px; }
.step p { color: var(--ink-2); max-width: 36ch; }
.pay { display: flex; align-items: baseline; gap: 14px; padding-top: 14px; margin-top: 10px; border-top: 1px solid var(--line); color: var(--ink-2); max-width: 340px; }
.pay b { color: var(--ink); font-weight: 500; font-size: 15px; margin-left: auto; }
.proc__view { position: relative; height: 100%; min-height: 0; }
.proc__rail { position: absolute; left: var(--gut); right: var(--gut); bottom: 22px; height: 2px; background: var(--line); }
.proc__rail i { display: block; height: 100%; width: 100%; background: var(--heather); transform-origin: left; transform: scaleX(0); }

/* Эскроу */
.escrow { background: var(--pine); color: var(--paper); padding: clamp(80px, 13vh, 160px) 0; }
.flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: clamp(36px, 6vh, 64px) var(--gut) 0; }
.flow li { padding: 20px clamp(16px, 2.4vw, 36px) 6px 0; border-top: 1px solid var(--line-light); }
.flow .mono { color: var(--heather-soft); }
.flow h3 { font: 400 clamp(25px, 2.5vw, 36px)/1.12 var(--disp); margin: 12px 0 10px; }
.flow p { color: rgba(239, 232, 220, .72); font-size: 15.5px; max-width: 34ch; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: clamp(46px, 8vh, 84px) var(--gut) 0; }
.stats dd { font: 400 clamp(64px, 10vw, 150px)/1 var(--disp); font-variant-numeric: lining-nums; }
.stats dt { color: rgba(239, 232, 220, .72); font-size: 15px; margin-top: 8px; max-width: 24ch; }

/* Вопросы */
.faq { padding: clamp(90px, 13vh, 170px) 0; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 34px; }
.faq__list { padding-right: var(--gut); padding-left: var(--gut); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 18px; padding: 19px 0; cursor: pointer; font: 400 clamp(22px, 2vw, 28px)/1.2 var(--disp); list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 20px var(--mono); color: var(--heather); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 34px 20px 0; max-width: 58ch; }

/* Заявка */
.req { position: relative; padding: clamp(70px, 12vh, 140px) var(--gut); overflow: hidden; background: var(--pine); }
.req__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.req__box { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 60px); max-width: 1120px; margin: 0 auto; background: var(--card); border-radius: 18px; padding: clamp(24px, 4vw, 52px); }
.req__sum { margin-top: 20px; color: var(--ink-2); line-height: 1.7; }
.req__sum b { color: var(--ink); font-weight: 500; }
#reqForm { display: flex; flex-direction: column; gap: 14px; }
#reqForm label span { display: block; font-size: 13.5px; color: var(--ink-2); margin-bottom: 5px; }
#reqForm input, #reqForm select { width: 100%; height: 50px; padding: 0 14px; border: 0; border-radius: 10px; background: var(--paper); color: var(--ink); font: 400 16px var(--text); box-shadow: inset 0 0 0 1px var(--line); }
#reqForm input:focus, #reqForm select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--pine); }
#reqForm .bad { box-shadow: inset 0 0 0 1.5px #a34a3f; }
.req__ok { background: var(--paper); border-radius: 10px; padding: 12px 14px; font-size: 14.5px; }

/* Подвал */
.foot { background: var(--paper); padding: 26px var(--gut) 24px; overflow: hidden; }
.foot__big { font: 400 min(21.5vw, 340px)/.86 var(--disp); letter-spacing: .01em; text-align: center; color: var(--pine); white-space: nowrap; }
.foot__row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; padding-top: 22px; margin-top: 16px; border-top: 1px solid var(--line); }
.foot__row nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot__row nav a:hover { color: var(--heather); }
.foot__legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--ink-2); font-size: 12.5px; margin-top: 16px; }
.foot__legal a { text-decoration: underline; text-underline-offset: 3px; }

/* Появление блоков */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .nav__links { display: none; }
  .burger { display: block; }
  .config__grid { grid-template-columns: minmax(0, 1fr); padding-left: 0; padding-right: 0; }
  .stage { grid-column: 1; grid-row: 1; top: 56px; z-index: 5; }
  .stage__view { height: 40svh; min-height: 250px; border-radius: 0; }
  .stage__spec { background: var(--card); padding: 8px var(--gut); gap: 2px 12px; box-shadow: 0 1px 0 var(--line); }
  .stage__price { display: block; width: 100%; color: var(--ink); font: 400 24px/1.15 var(--disp); }
  .opts { grid-column: 1; grid-row: 2; padding: 8px var(--gut) 0; }
  .sum { grid-column: 1; grid-row: 3; margin: 0 var(--gut); }
}

@media (max-width: 760px) {
  .nav { height: 62px; }
  .nav .btn--sm, .lang { display: none; }
  .menu .lang { display: flex; }
  .hero::after { background: linear-gradient(180deg, rgba(14, 18, 15, .78) 0%, rgba(14, 18, 15, .62) 38%, rgba(14, 18, 15, .5) 58%, rgba(14, 18, 15, .9) 100%); }
  .hero__title { font-size: clamp(50px, 15.5vw, 92px); }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts div { padding: 10px 12px 10px 0; }
  .hero__facts dd { font-size: 14px; }
  .hero__cta .btn { flex: 1 1 auto; }
  .manifesto { grid-template-columns: 1fr; }
  .win { height: 340vh; }
  .win__frame { clip-path: inset(26% 12% 34% 12% round 14px); }
  .win__caps li { grid-template-columns: 1fr; gap: 10px; }
  .pcard { flex-basis: 78vw; }
  .pcard__go { opacity: 1; transform: none; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .proc { height: 560vh; }
  .proc__stick { grid-template-columns: 1fr; grid-template-rows: minmax(0, 46%) auto; }
  .proc__view { grid-row: 1; }
  .proc__text { grid-row: 2; padding: 0 var(--gut) 44px; align-self: start; }
  .proc__text .kicker { display: none; }
  .steps { margin-top: 6px; min-height: 196px; }
  .step h3 { font-size: 34px; margin: 6px 0 8px; }
  .step p { font-size: 15px; }
  .flow, .stats { grid-template-columns: 1fr; gap: 22px; }
  .faq { grid-template-columns: 1fr; gap: 20px; }
  .req__box { grid-template-columns: 1fr; }
}

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

/* очень узкое окно: варианты переносятся, длинные кнопки в две строки */
@media (max-width: 340px) {
  .seg { grid-auto-flow: row; grid-template-columns: 1fr 1fr; }
  .btn { white-space: normal; text-align: center; line-height: 1.25; }
}

