[hidden] { display: none !important; }
/* Geologica лежит у нас, а не на Google Fonts: так IP посетителей не уходят за границу.
   Шрифт вариативный, один файл на все начертания 300–500 */
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/fonts/geologica-cyrillic.woff2) format("woff2"); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/fonts/geologica-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Geologica"; font-style: normal; font-weight: 300 500; font-display: swap; src: url(/fonts/geologica-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 {
  --black: #0e0e0f;
  --graphite: #1c1d1f;
  --gray: #8a8d91;
  --white: #ffffff;
  --line: rgba(255, 255, 255, .18);
  --font: "Geologica", "Commissioner", system-ui, sans-serif;
  --pad: 56px;
  --sec: 120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--black); color: var(--white); font-family: var(--font); font-weight: 300; font-size: 16px; line-height: 1.45; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button, input, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; }

.wrap { max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
.muted { color: var(--gray); }
.num { font-size: 14px; font-weight: 500; color: var(--gray); }

.display { font-size: clamp(44px, 7.8vw, 112px); font-weight: 500; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; }
.h2 { font-size: clamp(34px, 4.45vw, 64px); font-weight: 500; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.lead { font-size: 18px; line-height: 1.4; }

/* buttons */
/* Ховер кнопки: из кружка со стрелкой вытекает заливка на всю кнопку, текст меняет цвет,
   стрелка улетает вправо и возвращается слева */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: space-between; gap: 16px; height: 48px; padding: 0 6px 0 24px; border-radius: 999px; border: 1px solid transparent; font-size: 15px; font-weight: 500; line-height: 1; cursor: pointer; white-space: nowrap; transition: color .2s, border-color .45s; }
.btn::before { content: ""; position: absolute; z-index: -1; top: 50%; right: 9px; width: 28px; height: 28px; border-radius: 999px; background: var(--fill, var(--black)); transform: translateY(-50%); transition: width .55s cubic-bezier(.7,0,.2,1), height .55s cubic-bezier(.7,0,.2,1), right .55s cubic-bezier(.7,0,.2,1); }
.btn__arrow { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; transition: background .45s, color .45s; }
.btn__arrow i { font-style: normal; display: block; }
.btn--light { background: var(--white); color: var(--black); border-color: var(--white); --fill: var(--black); }
.btn--light .btn__arrow { background: var(--black); color: var(--white); }
.btn--outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); --fill: var(--white); }
.btn--outline .btn__arrow { background: var(--white); color: var(--black); }
.btn--glass { background: rgba(255,255,255,.18); color: var(--white); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); --fill: var(--white); }
.btn--glass .btn__arrow { background: var(--black); color: var(--white); }
@media (hover: hover) {
  .btn:hover::before { right: -1px; width: calc(100% + 2px); height: calc(100% + 2px); }
  .btn:hover { transition: color .3s .22s, border-color .45s; }
  .btn:hover .btn__arrow i { animation: arrow-pass .55s cubic-bezier(.7,0,.2,1); }
  .btn--light:hover { color: var(--white); }
  .btn--light:hover .btn__arrow { background: var(--white); color: var(--black); }
  .btn--outline:hover { color: var(--black); border-color: var(--white); }
  .btn--outline:hover .btn__arrow { background: var(--black); color: var(--white); }
  .btn--glass:hover { color: var(--black); }
}
@keyframes arrow-pass {
  0% { transform: translateX(0); }
  45% { transform: translateX(28px); }
  46% { transform: translateX(-28px); }
  100% { transform: translateX(0); }
}
.btn[disabled] { opacity: .6; cursor: default; }
.arrow-c { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.6); font-weight: 500; transition: background .2s, color .2s; }
.arrow-c--solid { background: var(--white); color: var(--black); border-color: var(--white); }
/* Текстовая ссылка: на ховере линия стирается вправо и рисуется заново слева, стрелка пролетает насквозь */
.link { position: relative; display: inline-flex; gap: 8px; padding-bottom: 4px; font-size: 15px; font-weight: 500; }
.link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--white); }
.link span { display: inline-block; }
@media (hover: hover) {
  .link:hover::after { animation: line-redraw .7s cubic-bezier(.7,0,.2,1); }
  .link:hover span { animation: arrow-blink .55s cubic-bezier(.7,0,.2,1); }
}
@keyframes line-redraw {
  0% { transform: scaleX(1); transform-origin: 100% 50%; }
  45% { transform: scaleX(0); transform-origin: 100% 50%; }
  55% { transform: scaleX(0); transform-origin: 0 50%; }
  100% { transform: scaleX(1); transform-origin: 0 50%; }
}
@keyframes arrow-blink {
  0% { transform: translateX(0); opacity: 1; }
  45% { transform: translateX(12px); opacity: 0; }
  46% { transform: translateX(-12px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

/* header */
/* Шапка всегда как матовое стекло: размытие и затемнение плавно сходят на нет книзу, без чёткого края */
.header { position: fixed; inset: 0 0 auto; z-index: 50; }
.header::before { content: ""; position: absolute; inset: 0 0 -32px; z-index: -1; background: linear-gradient(rgba(14,14,15,.55), rgba(14,14,15,.25) 60%, rgba(14,14,15,0)); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); pointer-events: none; }
body.menu-open .header::before { opacity: 0; }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 96px; }
.header__logo img { width: 118px; height: auto; }
.nav { display: flex; gap: 36px; font-size: 14px; font-weight: 400; }
.nav a:not(.btn):hover { opacity: .7; }
.nav__cta { display: none; }
.burger { display: none; }

/* hero */
.hero { position: relative; min-height: 900px; height: 100vh; max-height: 1000px; display: flex; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(14,14,15,.75) 0%, rgba(14,14,15,.1) 60%, rgba(14,14,15,.35) 100%),
  linear-gradient(180deg, rgba(14,14,15,.55) 0%, rgba(14,14,15,.15) 35%, rgba(14,14,15,.45) 60%, rgba(14,14,15,.95) 100%),
  url(/img/hero.jpg) center / cover no-repeat; }
.hero__in { position: relative; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: 40px; }
.hero__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-bottom: 40px; }
.hero__side { width: 440px; flex: none; display: flex; flex-direction: column; gap: 28px; }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; }
.stats { display: flex; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line); }
.stat__v { font-size: 28px; font-weight: 500; text-transform: uppercase; line-height: 1.2; }
.stat__l { margin-top: 6px; font-size: 13px; font-weight: 400; color: var(--gray); }
.stat:nth-child(2) { text-align: left; }
.stat:last-child { text-align: right; }

/* sections */
.sec { padding: var(--sec) 0; }
.sec--black { background: var(--black); }
.sec--graphite { background: var(--graphite); }
.sec--metal { background: linear-gradient(90deg, rgba(14,14,15,.78), rgba(14,14,15,.6) 55%, rgba(14,14,15,.42)), url(/img/supply.jpg) center / cover; }
.sec__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 56px; }
.sec__head .h2 { max-width: 760px; }
.sec__lead { max-width: 420px; font-size: 16px; line-height: 1.45; }
.sec__lead--soft { color: rgba(255,255,255,.78); }

/* services */
.services { border-top: 1px solid var(--line); }
.services li { border-bottom: 1px solid var(--line); }
.services a { position: relative; isolation: isolate; display: flex; align-items: center; gap: 40px; padding: 32px 0; }
.services .num { width: 80px; flex: none; }
.services__t { flex: 1; font-size: 30px; font-weight: 500; line-height: 1.1; text-transform: uppercase; }

/* Ховер строк услуг и соцсетей: белая заливка поднимается снизу, текст темнеет и отъезжает от края.
   Всё на transform и clip-path, без пересчёта вёрстки, поэтому при быстрой мышке анимация не дёргается */
.services a::before, .links a::before { content: ""; position: absolute; z-index: -1; inset: -1px 0; background: var(--white); clip-path: inset(100% 0 0 0); transition: clip-path .4s cubic-bezier(.3,.7,.2,1); }
.services a > *, .links a > * { transition: transform .4s cubic-bezier(.3,.7,.2,1), color .3s, background-color .3s, border-color .3s; }
@media (hover: hover) {
  .services a:hover, .links a:hover { color: var(--black); }
  .services a:hover::before, .links a:hover::before { clip-path: inset(0 0 0 0); }
  .services a:hover > *, .links a:hover > * { transform: translateX(24px); }
  .services a:hover > .arrow-c, .links a:hover > .arrow-c { transform: translateX(-24px) rotate(-45deg); background: var(--black); color: var(--white); border-color: var(--black); }
  .services a:hover .num { color: rgba(14,14,15,.5); }
  .links a:hover small { color: rgba(14,14,15,.55); }
}


/* supply */
.supply { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.supply li { display: flex; flex-direction: column; gap: 56px; padding: 24px 24px 40px 0; border-bottom: 1px solid var(--line); }
.supply .num { color: rgba(255,255,255,.55); }
.supply__t { font-size: 22px; font-weight: 500; line-height: 1.15; text-transform: uppercase; }
.supply__foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; }
.supply__foot p { max-width: 560px; }

/* cases */
.filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 20px 0; margin-bottom: 56px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.filter__label { font-size: 14px; font-weight: 500; color: var(--gray); margin-right: 16px; }
.chip { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; font-size: 14px; font-weight: 400; cursor: pointer; user-select: none; transition: background .2s, color .2s, border-color .2s; }
.chip i { width: 16px; height: 16px; border-radius: 4px; border: 1px solid rgba(255,255,255,.6); flex: none; }
.chip:hover { border-color: rgba(255,255,255,.5); }
.chip.is-on, .chip:has(input:checked) { background: var(--white); color: var(--black); border-color: var(--white); }
.chip.is-on i, .chip:has(input:checked) i { background: var(--black); border-color: var(--black); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip:has(input:focus-visible) { outline: 2px solid var(--white); outline-offset: 3px; }

.case img { width: 100%; height: auto; aspect-ratio: 424 / 320; object-fit: cover; background: #2a2b2e; }
.case--big { margin-bottom: 56px; }
.case--big img { aspect-ratio: 1328 / 600; }
.case--big__info { display: flex; justify-content: space-between; gap: 40px; margin-top: 24px; }
.case--big__info > div:last-child { max-width: 560px; }
.cases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 28px; }
.case__t { margin-top: 12px; font-size: 24px; font-weight: 500; text-transform: uppercase; line-height: 1.25; }
.case__t--big { margin-top: 0; font-size: 44px; letter-spacing: -.02em; }
.case__m { margin-top: 8px; font-size: 14px; font-weight: 400; color: var(--gray); }
.case__d { margin-top: 12px; font-size: 15px; font-weight: 400; line-height: 1.45; }
.case__d--big { margin-top: 0; font-size: 17px; font-weight: 300; }
.case__tags { margin-top: 12px; font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.case--big .case__tags { font-size: 12px; }
.case[hidden] { display: none; }
.cases__empty { color: var(--gray); }
.cases.is-collapsed .case.is-extra { display: none; }
.cases__more { display: flex; width: fit-content; margin: 56px auto 0; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0 24px; border-top: 1px solid var(--line); }
.steps li { padding: 40px 0; display: flex; flex-direction: column; gap: 12px; }
.steps li:nth-child(n+6) { border-top: 1px solid var(--line); }
.steps__n { font-size: 48px; font-weight: 300; letter-spacing: -.02em; line-height: 1; margin-bottom: 12px; }
.steps h3 { font-size: 15px; font-weight: 500; text-transform: uppercase; line-height: 1.25; }
.steps p { font-size: 14px; font-weight: 400; color: var(--gray); }

/* about */
.about { display: flex; gap: 80px; align-items: flex-start; }
.about__img { width: 560px; height: auto; flex: none; aspect-ratio: 560 / 640; object-fit: cover; }
.about__body { display: flex; flex-direction: column; gap: 32px; }
.about__lead { font-size: 18px; line-height: 1.45; }
.principles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.principles div { padding: 24px 0; border-top: 1px solid var(--line); }
.principles h3 { font-size: 16px; font-weight: 500; text-transform: uppercase; margin-bottom: 8px; }
.principles p { font-size: 15px; font-weight: 400; color: var(--gray); }

/* faq */
.faq { display: flex; justify-content: space-between; gap: 80px; }
.faq__side { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; max-width: 420px; }
.acc { width: 830px; max-width: 100%; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 28px 0; font-size: 22px; font-weight: 500; cursor: pointer; list-style: none; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-size: 28px; font-weight: 300; line-height: 1; }
.acc details.is-open summary::after { content: "−"; }
.acc__body { overflow: hidden; }
.acc details p { padding: 0 0 28px; max-width: 640px; font-size: 16px; color: var(--gray); }

/* forms */
.formsec { display: flex; justify-content: space-between; gap: 80px; }
.formsec__side { max-width: 560px; display: flex; flex-direction: column; gap: 24px; }
.formsec__side .about__lead { max-width: 460px; }
.form { width: 680px; flex: none; display: flex; flex-direction: column; gap: 36px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.field { position: relative; display: block; border-bottom: 1px solid var(--line); }
.field input, .field textarea { width: 100%; padding: 22px 0 12px; border: 0; background: transparent; font-size: 17px; font-weight: 300; outline: none; resize: none; }
.field span { position: absolute; left: 0; top: 18px; font-size: 17px; color: var(--gray); pointer-events: none; transition: transform .2s, font-size .2s, top .2s; }
.field input:focus + span, .field input:not(:placeholder-shown) + span,
.field textarea:focus + span, .field textarea:not(:placeholder-shown) + span { top: 0; font-size: 12px; }
.field:focus-within { border-color: var(--white); }
.field.is-err { border-color: #e07a6c; }
.field textarea { min-height: 50px; field-sizing: content; }
.q { border: 0; display: flex; flex-direction: column; gap: 14px; }
.q legend { padding: 0; margin-bottom: 14px; font-size: 14px; font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.field--other { margin-top: 6px; }
.form__send { display: flex; align-items: center; gap: 24px; }
/* Согласие на обработку ПД: отдельная галочка, по умолчанию снята */
.consent { position: relative; display: flex; align-items: flex-start; gap: 12px; max-width: 520px; font-size: 13px; font-weight: 400; line-height: 1.45; color: var(--gray); cursor: pointer; user-select: none; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.consent i { position: relative; flex: none; width: 18px; height: 18px; margin-top: 1px; border: 1px solid rgba(255,255,255,.6); border-radius: 4px; transition: background .2s, border-color .2s; }
.consent i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--black); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform .15s; }
.consent:hover i { border-color: var(--white); }
.consent input:checked + i { background: var(--white); border-color: var(--white); }
.consent input:checked + i::after { transform: rotate(45deg) scale(1); }
.consent input:focus-visible + i { outline: 2px solid var(--white); outline-offset: 3px; }
.consent a { color: var(--white); text-decoration: underline; text-decoration-color: rgba(255,255,255,.4); text-underline-offset: 2px; transition: text-decoration-color .2s; }
.consent a:hover { text-decoration-color: var(--white); }
.consent.is-err i { border-color: #e07a6c; }
.consent.is-err { color: #e07a6c; }
.form__status { font-size: 15px; min-height: 1px; }
.form__status.is-err { color: #e07a6c; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* contacts */
.contacts { display: flex; justify-content: space-between; gap: 80px; }
.display--contacts { font-size: clamp(44px, 6.7vw, 96px); letter-spacing: -.02em; }
.people { display: flex; gap: 28px 40px; margin-top: 48px; }
.people__n { font-size: 18px; font-weight: 500; }
.people .muted { font-size: 14px; font-weight: 400; margin-top: 4px; }
.people__p { display: block; width: fit-content; margin-top: 8px; font-size: 20px; font-weight: 500; line-height: 1.2; }
/* Ссылки растягиваются на высоту левой колонки: заголовок и контакты */
.links { width: 560px; flex: none; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.links li { flex: 1; display: flex; border-bottom: 1px solid var(--line); }
.links a { position: relative; isolation: isolate; flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 12px 0; }
.links b { display: block; font-size: 28px; font-weight: 500; text-transform: uppercase; }
.links small { display: block; margin-top: 4px; font-size: 14px; font-weight: 400; color: var(--gray); transition: color .3s; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 56px; padding-top: 40px; border-top: 1px solid var(--line); font-size: 14px; font-weight: 400; color: var(--gray); }
.footer img { width: 118px; height: auto; }
.footer p:nth-of-type(1) { width: 320px; }
.footer a:hover { color: var(--white); }

/* inner pages */
.page-top { padding-top: calc(96px + 56px); }
.crumbs { display: flex; gap: 8px; margin-bottom: 32px; font-size: 14px; font-weight: 400; color: var(--gray); }
.crumbs a:hover { color: var(--white); }
.svc-hero { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.svc-hero .num { display: block; margin-bottom: 20px; }
.display--svc { font-size: clamp(36px, 5.85vw, 84px); max-width: 840px; }
.svc-hero__side { width: 440px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; }
.sec--tight { padding-top: 0; }
.h3 { font-size: clamp(28px, 3.05vw, 44px); font-weight: 500; line-height: .95; letter-spacing: -.02em; text-transform: uppercase; }
.block-t { margin-bottom: 56px; }
.twocol { display: grid; grid-template-columns: 424px 1fr; gap: 28px; }
.twocol__side { display: flex; flex-direction: column; gap: 16px; }
.twocol__side .muted { max-width: 300px; font-size: 15px; font-weight: 400; }
.rows { border-top: 1px solid var(--line); }
.rows li { display: grid; grid-template-columns: 56px 300px 1fr; gap: 28px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.rows h3 { font-size: 22px; font-weight: 500; line-height: 1.2; }
.rows p { font-size: 16px; color: var(--gray); }
.steps--4 { grid-template-columns: repeat(4, 1fr); gap: 0 28px; }
.steps--4 li { padding: 20px 0 0; }
.sec__head--end { align-items: flex-end; }
.cta { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cta__text { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.cta__text .muted { max-width: 520px; font-size: 18px; }

/* thanks, 404 */
.screen { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; }
.screen > .wrap { width: 100%; }
.page-thanks .screen { background: linear-gradient(rgba(14,14,15,.72), rgba(14,14,15,.72)), url(/img/hero.jpg) center / cover no-repeat; }
.screen__in { flex: 1; width: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 40px; padding-top: 136px; padding-bottom: 72px; }
.eyebrow { font-size: 12px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--gray); }
.screen__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; padding-top: 32px; border-top: 1px solid var(--line); }
.screen__foot .lead { max-width: 520px; font-weight: 300; }
.screen__contacts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; font-size: 14px; font-weight: 400; }
.screen__contacts a:hover { color: var(--white); }
.screen__btns { display: flex; flex-wrap: wrap; gap: 12px; }
.nf { flex: 1; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 48px; padding-top: 136px; padding-bottom: 56px; }
.nf__code { font-size: clamp(140px, 25vw, 360px); font-weight: 500; line-height: .85; letter-spacing: -.04em; color: #727270; }
.nf__text { width: 560px; display: flex; flex-direction: column; gap: 24px; }
.nf__text .lead { max-width: 520px; font-weight: 300; }
.nf__text .screen__btns { margin-top: 16px; }
.page-404 .footer { margin-top: 0; margin-bottom: 40px; }

/* tablet */
@media (max-width: 1200px) {
  :root { --pad: 32px; --sec: 96px; }
  .nav { gap: 24px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li:nth-child(n+6) { border-top: 0; }
  .steps li:nth-child(n+4) { border-top: 1px solid var(--line); }
  .about { gap: 48px; }
  .about__img { width: 42%; }
  .faq, .formsec, .contacts { flex-direction: column; gap: 48px; }
  .form, .links, .acc { width: 100%; }
  .links a { padding: 24px 0; }
  .cases { grid-template-columns: repeat(2, 1fr); }
  .svc-hero { flex-direction: column; align-items: flex-start; }
  .svc-hero__side { width: 100%; max-width: 560px; }
  .twocol { grid-template-columns: 1fr; gap: 40px; }
  .rows li { grid-template-columns: 56px 240px 1fr; }
  .steps--4 { grid-template-columns: repeat(2, 1fr); }
  .steps--4 li:nth-child(n+3) { margin-top: 40px; border-top: 1px solid var(--line); }
  .nf { flex-direction: column; align-items: flex-start; justify-content: center; }
  .nf__text { width: 100%; max-width: 560px; }
}

/* mobile */
@media (max-width: 860px) {
  :root { --pad: 20px; --sec: 72px; }
  .header__in { height: 80px; }
  .header__cta { display: none; }
  .burger { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px; width: 48px; height: 48px; border: 0; border-radius: 50%; background: var(--white); cursor: pointer; position: relative; z-index: 2; }
  .burger span { width: 18px; height: 1.5px; background: var(--black); transition: transform .25s; }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; flex-direction: column; gap: 0; padding: 104px var(--pad) 32px; background: var(--black); font-size: 28px; font-weight: 500; text-transform: uppercase; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; overflow-y: auto; }
  .nav a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: inline-flex; margin-top: 32px; text-transform: none; font-size: 15px; align-self: stretch; }
  body.menu-open { overflow: hidden; }
  body.menu-open .nav { opacity: 1; visibility: visible; }

  .hero { min-height: 0; height: 700px; max-height: none; }
  .hero__bg { background-position: 60% center; }
  .hero__bottom { flex-direction: column; align-items: stretch; gap: 16px; padding-bottom: 32px; }
  .hero__side { width: 100%; gap: 28px; }
  .hero__btns { flex-direction: column; }
  .hero__btns .btn { width: 100%; }
  .stats { flex-wrap: wrap; gap: 20px 16px; }
  .stat { width: calc(50% - 8px); text-align: left !important; }
  .stat__v { font-size: 20px; }

  .sec__head { flex-direction: column; gap: 16px; margin-bottom: 40px; }
  .services a { gap: 16px; padding: 24px 0; }
  .services .num { width: auto; }
  .services__t { font-size: 20px; }
  .supply { grid-template-columns: 1fr; }
  .supply li { gap: 12px; padding: 16px 0 20px; }
  .supply__t { font-size: 20px; }
  .supply__foot { flex-direction: column; align-items: flex-start; margin-top: 40px; }

  .filter { border: 0; padding: 0; margin-bottom: 40px; }
  .filter__label { display: none; }
  .case--big { margin-bottom: 40px; }
  .case--big img { aspect-ratio: 350 / 240; }
  .case--big__info { flex-direction: column; gap: 16px; margin-top: 16px; }
  .case__t--big { font-size: 30px; }
  .cases { grid-template-columns: 1fr; gap: 40px; }
  .case img { aspect-ratio: 350 / 240; }
  .cases__more { width: 100%; margin-top: 40px; }

  .steps { grid-template-columns: 1fr; }
  .steps li { padding: 28px 0; gap: 8px; border-top: 1px solid var(--line); }
  .steps li:first-child { border-top: 0; }
  .steps__n { margin-bottom: 8px; }

  .about { flex-direction: column; gap: 32px; }
  .about__img { width: 100%; aspect-ratio: 350 / 300; }
  .principles { grid-template-columns: 1fr; }
  .about__lead { font-size: 16px; }

  .acc summary { font-size: 18px; padding: 20px 0; align-items: flex-start; }
  .acc details p { padding-bottom: 20px; }

  .form__row { grid-template-columns: 1fr; gap: 36px; }
  .form__send { flex-direction: column; align-items: flex-start; gap: 16px; }

  .people { flex-direction: column; margin-top: 32px; }
  .links b { font-size: 22px; }
  .footer { flex-direction: column; align-items: flex-start; gap: 16px; margin-top: 40px; }
  .footer p:nth-of-type(1) { width: auto; }

  .page-top { padding-top: calc(80px + 32px); }
  .crumbs { margin-bottom: 24px; }
  .svc-hero { gap: 28px; }
  .svc-hero__side .btn { width: 100%; }
  .rows li { grid-template-columns: 40px 1fr; gap: 6px 12px; padding: 20px 0; }
  .rows p { grid-column: 2; font-size: 15px; }
  .rows h3 { font-size: 18px; }
  .block-t { margin-bottom: 32px; }
  .steps--4 { grid-template-columns: 1fr; }
  .steps--4 li, .steps--4 li:nth-child(n+3) { margin-top: 0; padding: 28px 0; }
  .sec__head--end { flex-direction: row; align-items: center; justify-content: space-between; }
  .cta { flex-direction: column; align-items: stretch; }
  .cta__text .muted { font-size: 16px; }

  .screen__in { gap: 28px; padding-top: 112px; padding-bottom: 40px; }
  .screen__foot { flex-direction: column; align-items: stretch; gap: 28px; }
  .screen__btns { flex-direction: column; }
  .screen__btns .btn { width: 100%; }
  .nf { padding-top: 112px; gap: 16px; }
  .page-404 .footer { margin-bottom: 32px; }
}

/* юридические страницы: политика и согласие */
.policy { max-width: 820px; padding: 140px 0 96px; }
.policy h1 { margin-bottom: 16px; }
.policy__sub { margin-bottom: 48px; color: var(--gray); }
.policy h2 { margin: 48px 0 16px; font-size: 18px; font-weight: 500; line-height: 1.25; text-transform: uppercase; }
.policy p, .policy li { margin-bottom: 12px; font-size: 16px; color: rgba(255,255,255,.85); }
.policy li > p { margin: 0; }
.policy ol { list-style: decimal; padding-left: 24px; }
.policy ul { list-style: disc; padding-left: 20px; }
.policy li ol, .policy li ul { margin-top: 12px; }
.policy b { font-weight: 500; color: var(--white); }
.policy a { text-decoration: underline; overflow-wrap: anywhere; }
.policy__table { overflow-x: auto; margin: 8px 0 24px; }
.policy table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; }
.policy th, .policy td { padding: 12px 16px 12px 0; border-top: 1px solid var(--line); text-align: left; vertical-align: top; color: rgba(255,255,255,.85); }
.policy th { font-weight: 500; color: var(--white); }
.policy__app { margin-top: 80px; padding-top: 40px; border-top: 1px solid var(--line); }
.policy__app .num { margin-bottom: 0; }
.policy__app h2 { margin-top: 12px; }
.policy__blank { overflow-wrap: anywhere; }
@media (max-width: 760px) { .policy { padding: 112px 0 64px; } .policy h2 { margin-top: 40px; } }
