
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/inter-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(fonts/inter-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --bg: #f4f4f4;
  --paper: #ffffff;
  --ink: #222222;
  --ink-2: #4a4a4a;
  --mute: #7a7a7a;
  --line: #e4e4e4;
  --acc: #f1511b;          
  --acc-btn: #d4400c;      /* тот же оранжевый темнее — белый текст на кнопке читается (4,6:1) */
  --acc-btn-h: #b93709;
  --green: #4fae70;
  --dark: #222222;
  --dark-2: #2d2d2d;
  --sky: #d9e8f4;
  --r-sheet: 48px;
  --r: 32px;
  --r-sm: 14px;
  --pad: 48px;
  --max: 1344px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::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(--ink); font: 400 17px/1.55 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p, ul, dl, figure { margin: 0; }
button, input, select { font: inherit; color: inherit; }
::selection { background: var(--acc); color: #fff; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--paper); border-radius: 10px; }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 0; border-radius: var(--r-sm); background: var(--acc-btn); color: #fff; font-weight: 600; font-size: 16px; letter-spacing: -.01em; text-decoration: none; cursor: pointer; transition: background-color .2s, transform .2s var(--ease); }
.btn:hover { background: var(--acc-btn-h); }
.btn:active { transform: scale(.97); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #ececec; }
.btn--ghost { background: var(--bg); color: var(--ink); }
.btn--ghost:hover { background: #e6e6e6; }
.btn--wide { width: 100%; }

/* ---------- шапка ---------- */
.hdr { position: absolute; inset: 0 0 auto; z-index: 30; color: #fff; }
.hdr__in { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; height: 96px; display: flex; align-items: center; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 23px; letter-spacing: -.04em; }
.hdr__nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; font-weight: 500; }
.hdr__nav a { text-decoration: none; padding: 6px 0; transition: opacity .2s; }
.hdr__nav a:hover { opacity: .72; }
.hdr__navtel { display: none; }
.hdr__btn { margin-left: 24px; min-height: 48px; padding: 0 24px; font-size: 15px; }
.hdr__wa, .burger { display: none; }
.hdr.is-fixed { position: fixed; background: var(--dark); animation: hdrIn .35s var(--ease); }
.hdr.is-fixed .hdr__in { height: 72px; }
@keyframes hdrIn { from { transform: translateY(-100%); } to { transform: none; } }

/* ---------- первый экран ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: flex-end; color: #fff; background: var(--dark); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; transform-origin: 50% 60%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: rgba(18, 18, 18, .5); }
.hero__in { position: relative; padding-bottom: calc(var(--r-sheet) + 72px); }
.nw { white-space: nowrap; }
.hero__title { max-width: 12em; font-weight: 500; font-size: clamp(40px, 6.2vw, 92px); line-height: .98; letter-spacing: -.05em; }
.hero__lead { max-width: 560px; margin-top: 28px; font-size: 20px; line-height: 1.5; color: #fff; }
.hero__acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* ---------- листы ---------- */
.sheet { position: relative; z-index: 2; background: var(--paper); border-radius: var(--r-sheet); padding: 112px 0 104px; }
.company { margin-top: calc(-1 * var(--r-sheet)); border-radius: var(--r-sheet) var(--r-sheet) var(--r-sheet) var(--r-sheet); }
.h2 { font-weight: 600; font-size: clamp(30px, 4.1vw, 60px); line-height: 1.02; letter-spacing: -.045em; max-width: 22ch; }
.acc { color: var(--acc); }
.mute { color: var(--mute); }
.intro { max-width: 560px; margin-top: 28px; font-size: 17px; color: var(--ink-2); }

.company__grid { display: grid; grid-template-columns: 1.95fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 48px; }
.company__photo { grid-row: span 2; border-radius: var(--r); overflow: hidden; min-height: 500px; }
.company__photo img { width: 100%; height: 100%; object-fit: cover; }
.fact { display: flex; flex-direction: column; min-height: 248px; padding: 26px 26px 30px; border-radius: var(--r); background: var(--bg); }
.fact h3 { margin-top: auto; padding-top: 40px; font-size: 26px; line-height: 1.12; font-weight: 600; letter-spacing: -.035em; }
.fact p { margin-top: 12px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.fact--dark { background: var(--dark); color: #fff; }
.fact--dark p { color: #d4d4d4; }
.ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--paper); }
.ico svg { width: 26px; height: 26px; fill: none; stroke: var(--acc); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- услуги ---------- */
.uslugi { padding: 128px 0 120px; }
.uslugi__big { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 52px; }
.svc { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; padding: 40px 38px 38px; border-radius: var(--r); background: var(--paper); }
.uslugi__big .svc { min-height: 430px; padding-right: 40%; }
.svc h3 { font-size: 30px; line-height: 1.1; font-weight: 600; letter-spacing: -.04em; max-width: 14ch; }
.svc p { margin-top: 14px; font-size: 16px; line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.svc .btn { margin-top: auto; }
.svc .num { position: absolute; top: 34px; right: 34px; display: grid; place-items: center; min-width: 40px; height: 28px; padding: 0 10px; border-radius: 99px; background: var(--acc-btn); color: #fff; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; }
.svc--dark { background: var(--dark); color: #fff; }
.svc--dark p { color: #d4d4d4; }
.svc--dark .num { background: var(--paper); color: var(--acc-btn); }
.svc__pic { position: absolute; right: -36px; bottom: -36px; width: 46%; max-width: 300px; height: auto; aspect-ratio: 1; border-radius: 50%; object-fit: cover; }
.uslugi__big .svc .btn { margin-top: 36px; }
.uslugi__big .svc p { margin-bottom: 8px; }
.uslugi__small { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.svc--sm { position: relative; min-height: 256px; padding: 30px 28px 32px; }
.svc--sm .num { position: static; margin-bottom: 40px; }
.svc--sm h3 { font-size: 26px; }

/* ---------- конструктор ---------- */
.kon__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.badge { display: flex; align-items: center; gap: 16px; font-size: 15px; line-height: 1.35; color: var(--ink-2); flex: none; }
.badge__ico { width: 50px; height: 50px; display: grid; place-items: center; border-radius: 12px; background: var(--green); }
.badge__ico svg { width: 24px; height: 24px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.kon__panel { display: grid; grid-template-columns: 1.25fr 1fr; gap: 16px; margin-top: 44px; align-items: start; }
.stage { position: sticky; top: 92px; display: flex; flex-direction: column; border-radius: var(--r); background: var(--sky); min-height: 600px; padding: 40px 92px 28px; }
.stage__svg { width: 100%; height: auto; flex: 1; max-height: 560px; }
.stage__cap { margin-top: 12px; text-align: center; font-size: 15px; font-weight: 500; color: var(--ink); }
.arrow { position: absolute; top: 50%; width: 52px; height: 52px; margin-top: -26px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--paper); color: var(--ink); cursor: pointer; transition: transform .2s var(--ease), background-color .2s; }
.arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:hover { transform: scale(1.08); }
.arrow:active { transform: scale(.94); }
.arrow--prev { left: 24px; }
.arrow--next { right: 24px; }
.w-frame { fill: #fafafa; stroke: #9aa4ad; stroke-width: 1.2; }
.w-sash { fill: #f1f1f1; stroke: #9aa4ad; stroke-width: 1; }
.w-glass { fill: #a9cbe6; }
.w-sand { fill: #e3e3e3; }
.w-open { fill: none; stroke: #222; stroke-width: 1.4; }
.w-handle { fill: #c8c8c8; stroke: #8a939b; stroke-width: 1; }
.w-dim { stroke: var(--acc); stroke-width: 1.4; fill: none; }
.w-dimtx { fill: var(--acc-btn); font: 600 15px 'Inter', sans-serif; }
.w-wall { fill: #c7d7e5; }

.opts { display: flex; flex-direction: column; gap: 22px; padding: 34px 32px; border-radius: var(--r); background: var(--bg); }
.opt { border: 0; margin: 0; padding: 0; min-width: 0; }
.opt legend, .qty legend, .size legend { padding: 0; margin-bottom: 10px; font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.opt__note { margin-top: 10px; font-size: 14px; line-height: 1.45; color: var(--ink-2); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 5px; border-radius: 16px; background: var(--paper); }
.seg--3 { grid-template-columns: repeat(3, 1fr); }
.seg--2x2 { grid-template-columns: 1fr 1fr; }
.seg label, .chips label, .pens { position: relative; cursor: pointer; }
.seg input, .chips input, .pens input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 6px 10px; border-radius: 11px; font-size: 15px; font-weight: 500; text-align: center; line-height: 1.2; transition: background-color .2s, color .2s; }
.seg label:hover span { background: var(--bg); }
.seg input:checked + span { background: var(--dark); color: #fff; }
.seg input:focus-visible + span, .chips input:focus-visible + span, .pens input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 2px; }
.seg input:disabled + span { opacity: .35; cursor: not-allowed; }
.opt--row { display: grid; grid-template-columns: auto 1fr; gap: 16px; }
.qty, .size { border: 0; margin: 0; padding: 0; min-width: 0; }
.qty__box, .size__box { display: flex; align-items: center; gap: 6px; height: 54px; padding: 5px; border-radius: 16px; background: var(--paper); }
.qty__box button { width: 44px; height: 44px; border: 0; border-radius: 11px; background: var(--bg); font-size: 22px; cursor: pointer; transition: background-color .2s; }
.qty__box button:hover { background: #e6e6e6; }
.qty__box input { width: 48px; border: 0; text-align: center; font-weight: 600; font-size: 17px; background: none; -moz-appearance: textfield; }
.size__box input { width: 100%; min-width: 0; height: 44px; border: 0; border-radius: 11px; padding: 0 12px; background: var(--bg); font-size: 16px; -moz-appearance: textfield; }
.size__box span { color: var(--mute); }
input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { display: inline-flex; align-items: center; min-height: 42px; padding: 0 16px; border-radius: 99px; background: var(--paper); font-size: 15px; font-weight: 500; transition: background-color .2s, color .2s; }
.chips label:hover span { background: #ebebeb; }
.chips input:checked + span { background: var(--dark); color: #fff; }
.pens span { display: flex; align-items: center; gap: 12px; font-size: 15px; font-weight: 500; }
.pens span::before { content: ''; flex: none; width: 24px; height: 24px; border-radius: 7px; background: var(--paper); transition: background-color .2s; }
.pens input:checked + span::before { background: var(--acc-btn) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='%23fff' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/18px no-repeat; }
.total { margin-top: 16px; padding: 44px 26px 24px; border-radius: 22px; background: var(--dark); color: #fff; }
.total__sum { margin-top: 0; font-size: 48px; line-height: 1; font-weight: 600; letter-spacing: -.045em; font-variant-numeric: tabular-nums; }
.total__what { margin-top: 12px; font-size: 15px; font-weight: 500; }
.total .pens { margin-top: 18px; }
.total .pens span::before { background: #3a3a3a; }
.total__note { margin-top: 8px; font-size: 14px; line-height: 1.45; color: #cfcfcf; }
.lead { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.fld { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 500; }
.fld--wide, .lead .err, .lead .btn { grid-column: 1 / -1; }
.fld input { height: 52px; padding: 0 16px; border: 2px solid transparent; border-radius: 14px; background: var(--paper); font-size: 16px; transition: border-color .2s; }
.fld input:focus { outline: none; border-color: var(--acc); }
.err { font-size: 14px; font-weight: 500; color: #b3260b; }
.err--dark { color: #ffb59a; }
.kon__facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 16px; }
.mini { padding: 28px 28px 32px; border-radius: var(--r); background: var(--bg); }
.mini__ico svg { width: 30px; height: 30px; fill: none; stroke: var(--acc); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.mini h3 { margin-top: 30px; font-size: 20px; line-height: 1.2; font-weight: 600; letter-spacing: -.025em; }
.mini p { margin-top: 10px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }

/* ---------- готовые изделия ---------- */
.katalog { padding: 128px 0 40px; overflow: hidden; }
.katalog__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.katalog__arrows { display: flex; gap: 10px; flex: none; }
.katalog__arrows .arrow { position: static; margin: 0; }
.track { list-style: none; margin: 44px 0 0; padding: 0 0 8px; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.item { scroll-snap-align: start; display: flex; flex-direction: column; padding: 18px 18px 22px; border-radius: var(--r); background: var(--paper); }
.item__pic { display: grid; place-items: center; height: 260px; border-radius: 20px; background: var(--sky); padding: 18px; }
.item__pic svg { width: 100%; height: 100%; }
.item h3 { margin-top: 20px; font-size: 20px; line-height: 1.3; font-weight: 600; letter-spacing: -.02em; }
.item__size { margin-top: 6px; font-size: 16px; color: var(--ink-2); }
.item__price { margin-top: 14px; font-size: 26px; font-weight: 600; letter-spacing: -.035em; }
.item .btn { margin-top: 16px; min-height: 46px; font-size: 15px; }

/* ---------- гарантии ---------- */
.dost { padding: 112px 0 128px; }
.dost__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.ach { padding: 30px 30px 34px; border-radius: var(--r); background: var(--paper); }
.ach__ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 13px; background: var(--acc-btn); }
.ach__ico svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ach h3 { margin-top: 30px; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -.035em; }
.dots { list-style: none; padding: 0; margin-top: 18px; display: grid; gap: 12px; }
.dots li { position: relative; padding-left: 20px; font-size: 16px; line-height: 1.45; color: var(--ink-2); }
.dots li::before { content: ''; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.certs { display: grid; grid-template-columns: repeat(2, 128px); gap: 10px; margin-top: 24px; }
.certs a { display: block; border-radius: 12px; overflow: hidden; background: var(--bg); transition: transform .25s var(--ease); }
.certs a:hover { transform: translateY(-4px); }
.certs img { width: 100%; height: auto; aspect-ratio: 554 / 800; object-fit: cover; }

/* ---------- замер (тёмный блок) ---------- */
.zamer { padding: 0 0 16px; }
.zamer__in { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; min-height: 600px; padding: 88px max(var(--pad), calc((100% - var(--max)) / 2)); border-radius: var(--r-sheet); background: var(--dark); color: #fff; }
.zamer__text > p { max-width: 470px; margin-top: 24px; font-size: 17px; color: #dadada; }
.zamer .h2 { max-width: 11em; }
.zamer__form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 520px; margin-top: 36px; }
.zamer__form .err, .zamer__form .btn { grid-column: 1 / -1; }
.zamer__form .btn { justify-self: start; }
.fld--dark input { background: var(--dark-2); color: #fff; }
.fld--dark input::placeholder { color: #a8a8a8; }
.zamer__hours { margin-top: 22px; font-size: 15px; color: #cfcfcf; }
.zamer__pic { align-self: stretch; margin: -40px -16px -40px 0; border-radius: 240px 32px 32px 32px; overflow: hidden; min-height: 420px; }
.zamer__pic img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- контакты ---------- */
.kontakty { padding: 112px 0 104px; }
.kontakty__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-top: 48px; }
.kc { padding: 30px 30px 34px; border-radius: var(--r); background: var(--bg); display: flex; flex-direction: column; align-items: flex-start; }
.kc h3 { font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
.kc--dark h3.kc__big { margin-top: 0; }
.kc__big { margin-top: 14px; font-size: 26px; line-height: 1.2; font-weight: 600; letter-spacing: -.035em; }
.kc__big a { text-decoration: none; }
.kc p:not(.kc__big) { margin-top: 12px; font-size: 16px; color: var(--ink-2); }
.kc .btn { margin-top: auto; }
.kc .btn--ghost { background: var(--paper); }
.kc .btn--ghost:hover { background: #e9e9e9; }
.kc--dark { grid-row: span 2; background: var(--dark); color: #fff; padding: 36px; }
.kc--dark .kc__big { font-size: 30px; }
.kc--dark p:not(.kc__big) { color: #d4d4d4; }
.kc--dark .btn, .kc .btn { margin-top: 28px; }
.kontakty__grid .kc:nth-child(2) { grid-row: span 2; }
.kc a:not(.btn):hover { color: var(--acc-btn); }
.hours { margin-top: 14px; display: grid; gap: 8px; width: 100%; }
.hours div { display: flex; justify-content: space-between; gap: 12px; font-size: 16px; }
.hours dt { color: var(--ink-2); }
.hours dd { margin: 0; font-weight: 600; }

/* ---------- подвал ---------- */
.ftr { padding: 72px 0 40px; }
.ftr__name { display: flex; align-items: flex-end; gap: 1.5vw; font-weight: 700; font-size: clamp(56px, 14.2vw, 206px); line-height: .82; letter-spacing: -.065em; color: var(--ink); white-space: nowrap; }
.ftr__mascot { width: auto; height: .92em; }
.ftr__row { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px 32px; margin-top: 40px; font-size: 15px; }
.ftr__soc { display: flex; gap: 24px; }
.ftr__soc a { text-decoration: none; font-weight: 500; }
.ftr__soc a:hover { color: var(--acc-btn); }
.ftr__credit { margin-top: 14px; font-size: 14px; color: var(--ink-2); max-width: 900px; }

/* ---------- появления ---------- */
.js [data-rise] { opacity: 0; transform: translateY(26px); }
.js.no-anim [data-rise] { opacity: 1; transform: none; }

/* ---------- планшет ---------- */
@media (max-width: 1180px) {
  :root { --pad: 32px; }
  .hdr__nav { gap: 20px; font-size: 14px; }
  .hdr__btn { margin-left: 8px; }
  .company__grid { grid-template-columns: 1fr 1fr; }
  .company__photo { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .uslugi__small, .kon__facts { grid-template-columns: 1fr 1fr; }
  .kon__panel { grid-template-columns: 1fr; }
  .stage { position: relative; top: 0; min-height: 520px; }
  .track { grid-auto-columns: calc((100% - 32px) / 3); }
  .dost__grid { grid-template-columns: 1fr 1fr; }
  .kontakty__grid { grid-template-columns: 1fr 1fr; }
  .kc--dark { grid-row: auto; grid-column: 1 / -1; }
  .kontakty__grid .kc:nth-child(2) { grid-row: auto; }
}
@media (max-width: 960px) {
  .hdr__nav { position: fixed; inset: 0 0 auto; z-index: -1; flex-direction: column; gap: 0; padding: 88px var(--pad) 28px; margin: 0; background: var(--dark); font-size: 20px; transform: translateY(-105%); transition: transform .35s var(--ease); visibility: hidden; }
  .hdr__nav a { padding: 14px 0; }
  .hdr__navtel { display: block; font-weight: 600; color: #fff; }
  .hdr.is-open .hdr__nav { transform: none; visibility: visible; box-shadow: 0 18px 40px rgba(0, 0, 0, .35); } /* taste-skill-ignore: открытое меню — настоящий оверлей */
  .hdr.is-open { position: fixed; }
  .hdr__btn { margin-left: auto; }
  .hdr__wa { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: rgba(255, 255, 255, .14); color: #fff; }
  .burger { display: grid; align-content: center; gap: 6px; width: 48px; height: 48px; padding: 0 13px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .14); cursor: pointer; }
  .burger span { display: block; height: 2px; border-radius: 2px; background: #fff; transition: transform .3s var(--ease); }
  .hdr.is-open .burger span:first-child { transform: translateY(4px) rotate(45deg); }
  .hdr.is-open .burger span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .uslugi__big { grid-template-columns: 1fr; }
  .zamer__in { grid-template-columns: 1fr; padding-block: 64px 0; }
  .zamer__pic { margin: 0 calc(-1 * var(--pad)); border-radius: 160px 160px 0 0; min-height: 340px; }
}
/* ---------- телефон ---------- */
@media (max-width: 640px) {
  :root { --pad: 16px; --r-sheet: 28px; --r: 24px; }
  body { font-size: 16px; }
  .hdr__in { height: 72px; gap: 8px; }
  .logo { font-size: 20px; }
  .logo__mark { width: 30px; height: 30px; }
  .hdr__btn { display: none; }
  .hdr__wa { margin-left: auto; }
  .hero { min-height: 640px; }
  .hero__in { padding-bottom: calc(var(--r-sheet) + 40px); }
  .hero__title { font-size: 32px; letter-spacing: -.045em; }
  .hero__lead { font-size: 17px; margin-top: 18px; }
  .hero__acts { flex-direction: column; align-items: stretch; margin-top: 24px; }
  .sheet { padding: 64px 0 56px; }
  .h2 { font-size: 29px; letter-spacing: -.04em; }
  .intro { font-size: 16px; margin-top: 18px; }
  .company__grid, .uslugi__small, .kon__facts, .dost__grid, .kontakty__grid { grid-template-columns: 1fr; }
  .company__grid { margin-top: 32px; gap: 10px; }
  .company__photo { min-height: 240px; }
  .fact { min-height: 0; padding: 22px; }
  .fact h3 { padding-top: 28px; font-size: 24px; }
  .uslugi { padding: 72px 0; }
  .uslugi__big { margin-top: 32px; gap: 10px; }
  .uslugi__big .svc { min-height: 0; padding: 28px 22px 210px; }
  .svc h3 { font-size: 24px; }
  .svc .num { top: 24px; right: 22px; }
  .svc__pic { width: 200px; right: -20px; bottom: -30px; }
  .uslugi__small { gap: 10px; margin-top: 10px; }
  .svc--sm { min-height: 0; padding: 24px 22px; }
  .svc--sm .num { margin-bottom: 24px; }
  .svc--sm h3 { font-size: 24px; }
  .kon__head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .kon__panel { margin-top: 28px; gap: 10px; }
  .stage { min-height: 0; padding: 18px 14px 16px; border-radius: 24px; }
  .stage__svg { max-height: 330px; }
  .arrow--prev, .arrow--next { top: auto; bottom: 10px; margin: 0; width: 44px; height: 44px; }
  .arrow--prev { left: 10px; }
  .arrow--next { right: 10px; }
  .stage__cap { padding: 0 48px; min-height: 44px; display: grid; place-items: center; font-size: 14px; }
  .opts { padding: 22px 14px; gap: 20px; border-radius: 24px; }
  .seg--3 { grid-template-columns: 1fr; }
  .seg span { font-size: 14px; min-height: 42px; }
  .opt--row { grid-template-columns: 1fr; }
  .lead { grid-template-columns: 1fr; }
  .total__sum { font-size: 40px; }
  .kon__facts { gap: 10px; margin-top: 10px; }
  .mini { padding: 22px; }
  .mini h3 { margin-top: 18px; }
  .katalog { padding: 72px 0 24px; }
  .katalog__head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .track { grid-auto-columns: 82%; gap: 10px; margin-top: 28px; }
  .item__pic { height: 220px; }
  .dost { padding: 64px 0 72px; }
  .dost__grid { gap: 10px; margin-top: 32px; }
  .ach { padding: 24px 22px 28px; }
  .ach h3 { font-size: 24px; margin-top: 22px; }
  .zamer__in { padding-top: 48px; border-radius: 28px; }
  .zamer__form { grid-template-columns: 1fr; }
  .zamer__form .btn { justify-self: stretch; }
  .zamer__pic { min-height: 260px; border-radius: 120px 120px 0 0; }
  .kontakty { padding: 64px 0 56px; }
  .kontakty__grid { gap: 10px; margin-top: 32px; }
  .kc, .kc--dark { padding: 24px 22px 26px; }
  .kc--dark .kc__big, .kc__big { font-size: 24px; }
  .ftr { padding: 48px 0 32px; }
  .ftr__name { font-size: 14.6vw; }
}

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