/*
  Круг 2, экран 1. Перенос первого экрана risksolved.com 1 в 1.
  Числа сняты computed style на 1440 / 1920 / 375 — см. STATUS.md, «Первый экран RS».
  У донора всё в фиксированных px, на 1440 и 1920 значения совпадают.
*/
:root {
  --font: "Manrope", system-ui, sans-serif;  /* TASA Orbiter без кириллицы; варианты: ?font=onest / ?font=geist */
  --cream: #F2E2CA;
  --accent: #E95628;
  --ink: #111111;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
body { background: #000; color: #fff; font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }

/* ШАПКА: 95px, фон появляется при прокрутке (#000, 0.95, blur 15) */
.hdr { position: fixed; inset: 0 0 auto; z-index: 20; height: 95px; }
.hdr-bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .95); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px); opacity: 0; transition: opacity .3s; }
.hdr.scrolled .hdr-bg { opacity: 1; }
.hdr-in { position: relative; height: 100%; }

.nav { position: absolute; left: 32px; top: 36.3px; display: flex; gap: 32px; }
.nav a, .pill { font-size: 16px; line-height: 22.4px; font-weight: 600; letter-spacing: -.02em; }
/* наведение на пункт меню (снято с донора): белая полоска 1px у самого верха окна, шириной с текст,
   растёт от центра; плавный разгон и торможение ~850 мс (2.5% за 150 мс, 15% за 300, почти вся к 700) */
.nav a { position: relative; }
.nav a::before { content: ""; position: absolute; left: 0; right: 0; top: -36px; height: 1px; background: #fff; transform: scaleX(0); transition: transform 850ms cubic-bezier(.65, 0, .35, 1); }
@media (hover: hover) { .nav a:hover::before { transform: scaleX(1); } }

.logo { position: absolute; left: 50%; top: 25.5px; transform: translateX(-50%); height: 46px; display: flex; align-items: center; gap: 12px; font-family: "Tektur", sans-serif; font-size: 27px; line-height: 1; font-weight: 500; }
.logo svg { width: 46px; height: 46px; flex: none; }
/* название в две строки, как RISK / SOLVED у RS */
.logo-t { display: flex; flex-direction: column; font-size: 20px; line-height: 19px; letter-spacing: .06em; }

.acts { position: absolute; right: 32px; top: 24px; display: flex; gap: 8px; }
/*
  Наведение — снято с донора по кадрам (40…600 мс после наведения, STATUS.md).
  Кривая — их пружина без отскока, кусочно-линейно по замеренным точкам.
*/
:root { --spring: linear(0, .37 6.7%, .52 13.3%, .64 20%, .72 26.7%, .84 36.7%, .92 50%, .97 66.7%, 1); --t: 600ms; }

/* Кнопки шапки: текст +30 сразу; стрелки через 100 мс (правая уезжает +42, левая въезжает +44);
   обводка через 300 мс: .25 → 1 и сжатие до .96 */
.pill { position: relative; display: inline-flex; align-items: center; height: 47px; padding: 0 48px 0 20px; overflow: hidden; }
.pill::before { content: ""; position: absolute; inset: 0; border: 1.5px solid #fff; border-radius: 200px; opacity: .25; transition: opacity var(--t) var(--spring), transform var(--t) var(--spring); }
.pill-t { position: relative; transition: transform var(--t) var(--spring); }
.pill .ci { position: absolute; top: 11px; width: 24px; height: 25px; transition: transform var(--t) var(--spring) 100ms; }
.pill .ci.out { right: 18px; }
.pill .ci.in { left: 20px; transform: translateX(-44px); opacity: .94; }
@media (hover: hover) {
  .pill:hover::before { opacity: 1; transform: translateX(1.1px) scale(.96); transition-delay: 300ms; }
  .pill:hover .pill-t { transform: translateX(30px); }
  .pill:hover .ci.out { transform: translateX(42px); }
  .pill:hover .ci.in { transform: none; opacity: 1; }
}

.burger { display: none; position: absolute; z-index: 3; right: 16px; top: 20px; width: 48px; height: 48px; margin: -12px -13px 0 0; }
/* как у донора: коробка 22×18 с обрезкой; видны две линии бургера (18 и 22, y 37 и 43);
   при открытии они уезжают вниз за край, а сверху въезжают две линии крестика под ±45° (коробки 16×16 с центром в 348,40) */
.bb { position: absolute; left: 13px; top: 23px; width: 22px; height: 18px; overflow: hidden; }
.bb i { position: absolute; left: 0; height: 1px; background: #fff; transition: transform var(--t) var(--spring); }
.bb i:nth-child(1) { top: 6px; width: 18px; }
.bb i:nth-child(2) { top: 12px; width: 22px; }
.bb i:nth-child(3), .bb i:nth-child(4) { top: 8.5px; left: -.3px; width: 22.6px; }
.bb i:nth-child(3) { transform: translateY(-18px) rotate(45deg); }
.bb i:nth-child(4) { transform: translateY(-18px) rotate(-45deg); }
.hdr.menu-open .bb i:nth-child(1), .hdr.menu-open .bb i:nth-child(2) { transform: translateY(18px); }
.hdr.menu-open .bb i:nth-child(3) { transform: rotate(45deg); }
.hdr.menu-open .bb i:nth-child(4) { transform: rotate(-45deg); }

/* МОБИЛЬНОЕ МЕНЮ — Risk Solved 1 в 1 (замер 375): панель 230, справа 8, сверху 15, #111, r 6, поля 20;
   пункты 19/22 полужирные, шаг 34.9; подпись группы 16px белым .25, до и после групп 29.9; шапка при открытом меню — rgba(0,0,0,.4).
   Тень донора (10px 11px 22px) не ставим — правило студии. */
.m-nav { position: fixed; z-index: 2; top: 15px; right: 8px; width: 230px; padding: 20px; border-radius: 6px; background: #111; display: none; flex-direction: column; opacity: 0; transform: translateY(40px); transition: opacity .3s, transform var(--t) var(--spring); pointer-events: none; }
.m-nav a, .m-nav span { display: block; height: 22px; line-height: 22px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; color: #fff; opacity: 0; transform: translateY(8px); transition: opacity .4s, transform var(--t) var(--spring); }
.m-nav a + a { margin-top: 12.9px; }
.m-nav span { font-size: 16px; font-weight: 400; margin-top: 29.9px; margin-bottom: 13px; height: 22.4px; }
.hdr.menu-open .m-nav { opacity: 1; transform: none; pointer-events: auto; }
.hdr.menu-open .m-nav a, .hdr.menu-open .m-nav span { opacity: 1; transform: none; }
.hdr.menu-open .m-nav span { opacity: .25; }
.m-nav > :nth-child(1) { transition-delay: .15s; } .m-nav > :nth-child(2) { transition-delay: .27s; }
.m-nav > :nth-child(3) { transition-delay: .39s; } .m-nav > :nth-child(4) { transition-delay: .51s; }
.m-nav > :nth-child(5) { transition-delay: .63s; } .m-nav > :nth-child(6) { transition-delay: .75s; }
.m-nav > :nth-child(7) { transition-delay: .87s; }
.hdr:not(.menu-open) .m-nav > * { transition-delay: 0s; transition-duration: .15s; }
.hdr.menu-open .hdr-bg { opacity: 1; background: rgba(0, 0, 0, .4); }

/* ПЕРВЫЙ ЭКРАН */
.hero { position: relative; height: 100vh; min-height: 640px; background: #000; overflow: hidden; }
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-ring { position: absolute; z-index: 1; left: 50%; top: 50%; width: 1130px; height: 1145px; transform: translate(-50%, -50%); pointer-events: none; }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 0%, rgba(17, 17, 17, .9) 100%); }

/* «Blur Down»: 8 слоёв backdrop-filter, маски шагом 12.5%, высота 115 */
.blur-down { position: absolute; left: 0; right: 0; bottom: 0; height: 115px; z-index: 2; pointer-events: none; }
.blur-down i { position: absolute; inset: 0; }
.blur-down i:nth-child(1) { backdrop-filter: blur(.078125px); mask: linear-gradient(rgba(0,0,0,0) 0%, #000 12.5%, #000 25%, rgba(0,0,0,0) 37.5%); }
.blur-down i:nth-child(2) { backdrop-filter: blur(.15625px); mask: linear-gradient(rgba(0,0,0,0) 12.5%, #000 25%, #000 37.5%, rgba(0,0,0,0) 50%); }
.blur-down i:nth-child(3) { backdrop-filter: blur(.3125px); mask: linear-gradient(rgba(0,0,0,0) 25%, #000 37.5%, #000 50%, rgba(0,0,0,0) 62.5%); }
.blur-down i:nth-child(4) { backdrop-filter: blur(.625px); mask: linear-gradient(rgba(0,0,0,0) 37.5%, #000 50%, #000 62.5%, rgba(0,0,0,0) 75%); }
.blur-down i:nth-child(5) { backdrop-filter: blur(1.25px); mask: linear-gradient(rgba(0,0,0,0) 50%, #000 62.5%, #000 75%, rgba(0,0,0,0) 87.5%); }
.blur-down i:nth-child(6) { backdrop-filter: blur(2.5px); mask: linear-gradient(rgba(0,0,0,0) 62.5%, #000 75%, #000 87.5%, rgba(0,0,0,0) 100%); }
.blur-down i:nth-child(7) { backdrop-filter: blur(5px); mask: linear-gradient(rgba(0,0,0,0) 75%, #000 87.5%, #000 100%); }
.blur-down i:nth-child(8) { backdrop-filter: blur(10px); mask: linear-gradient(rgba(0,0,0,0) 87.5%, #000 100%); }

/* Контент: блок 860, по центру экрана, между элементами 56 */
.hero-in { position: absolute; z-index: 3; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 860px; display: flex; flex-direction: column; align-items: center; gap: 56px; text-align: center; }
.hero h1 { margin: 0; font-size: 80px; line-height: 80px; font-weight: 700; letter-spacing: -.02em; color: var(--cream); }
.hero p { margin: 0; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
/* Большая кнопка: подложка .96, текст −10, круг 24 → 34 (центр на месте), стрелки меняются сдвигом 31 */
.btn { position: relative; display: flex; align-items: center; width: 275px; height: 77px; padding: 0 32px; font-size: 19px; line-height: 20.9px; font-weight: 500; letter-spacing: -.02em; }
.btn::before { content: ""; position: absolute; inset: 0; border-radius: 8px; background: var(--accent); transition: transform var(--t) var(--spring); }
.btn-t { position: relative; transition: transform var(--t) var(--spring); }
.btn-c { position: absolute; left: calc(100% - 44px); top: 50%; top: round(up, 50%, 1px); width: 24px; height: 24px; transform: translate(-50%, -50%); border-radius: 100px; background: #fff; overflow: hidden; transition: width var(--t) var(--spring), height var(--t) var(--spring); }
/* стрелки на целых пикселях, как у донора: 10×9 в (7, 8) круга 24; 14×13 в (10, 11) круга 34 —
   центрирование через translate(-50%) давало y 7.5 и размазывало линию 1.5px */
.btn-c svg { position: absolute; transition: transform var(--t) var(--spring); }
.btn-c .a1 { width: 10px; height: 9px; left: calc(50% - 5px); top: calc(50% - 4px); }
.btn-c .a2 { width: 14px; height: 13px; left: calc(50% - 7px); top: calc(50% - 6px); transform: translateX(-31px); }
@media (hover: hover) {
  .btn:hover::before { transform: scale(.96); }
  .btn:hover .btn-t { transform: translateX(-10px); }
  .btn:hover .btn-c { width: 34px; height: 34px; }
  .btn:hover .btn-c .a1 { transform: translateX(31px); }
  .btn:hover .btn-c .a2 { transform: none; }
}

/* 375: заголовок 50/50, текст 24/31.2, промежутки 30, кнопка 275×60 */
/* КУБИКИ: снято с ose-engineering.fr (createHeaderMosaicTransition).
   Сетка квадратов цвета следующего блока; по прокрутке первого экрана (низ у низа → низ у верха)
   проявляются в порядке «нижний ряд раньше + случайность + волна по колонкам»; каждый — opacity 0→1 за .5 с (power2.out). */
.mosaic { position: absolute; inset: 0; z-index: 4; display: grid; pointer-events: none; }
.mosaic i { background: #fff; opacity: 0; transition: opacity .5s cubic-bezier(.33, 1, .68, 1); }
.mosaic i.on { opacity: 1; }

/* ВТОРОЙ ЭКРАН — секция «Personas» Risk Solved 1 в 1 (замеры 375 / 1440 / 1920 — STATUS.md).
   Белый фон; утверждение 50/50; переключатель-капсула; лента карточек 775×404 шагом 795; стрелки 66×41. */
.s2 { background: #fff; color: #111; padding: 120px 30px; overflow: hidden; }
.s2-in { max-width: 1440px; margin: 0 auto; }
.s2 h2 { margin: 0; padding-bottom: 64px; font-size: 50px; line-height: 50px; font-weight: 600; letter-spacing: -.02em; color: #111; max-width: 1380px; }

.tabs { display: inline-flex; gap: 12px; padding: 8px; border: 1px solid #F3F4F4; border-radius: 50px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; flex: none; height: 48px; padding: 16px 20px; border-radius: 9999px; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -.02em; color: #565656; white-space: nowrap; transition: color .25s; display: inline-flex; align-items: center; }
/* наведение на неактивную вкладку (снято с донора): тот же слой #111 проявляется до .1 — светло-серый; общая пружина */
.tab::before { content: ""; position: absolute; inset: 0; border-radius: 50px; background: #111; opacity: 0; transition: opacity var(--t) var(--spring); }
@media (hover: hover) { .tab:not(.on):hover::before { opacity: .1; } }
.tab span { position: relative; }
.tab.on { color: #fff; }
.tab.on::before { opacity: 1; }

.cards { margin-top: 50px; position: relative; }
.track { display: flex; gap: 20px; cursor: grab; user-select: none; -webkit-user-select: none; transition: transform 500ms linear(0, .29 10%, .6 20%, .79 30%, .9 40%, .98 60%, .999 80%, 1); will-change: transform; touch-action: pan-y; }
.track.dragging { cursor: grabbing; }
.track.dragging a { pointer-events: none; }
.card { position: relative; flex: none; width: 775px; height: 404px; border-radius: 16px; overflow: hidden; background: #2A2F33; color: #fff; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* у донора фото затемнены заранее; наши светлые — затемняем слоем, чтобы белый текст читался */
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .75) 100%); }
.card-c { position: absolute; left: 0; bottom: 0; z-index: 1; width: 510px; padding: 50px 40px 30px; display: grid; gap: 10px; }
.card h3 { margin: 0; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
.card p { margin: 0; font-size: 16px; line-height: 22.4px; font-weight: 400; letter-spacing: -.02em; }
.card-none { position: absolute; left: 40px; top: 30px; z-index: 1; font-family: "JetBrains Mono", ui-monospace, monospace; font-size: 12px; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.card a.cover { position: absolute; inset: 0; z-index: 3; }
/* наведение (просьба Павлона): цена под описанием и оранжевый круг со стрелкой в правом нижнем углу — «переход»;
   заливку цветом логотипа убрали. На тач-экранах цена и круг видны всегда. */
.card-c { z-index: 2; }
/* низ = бокам (правило Павлона), по видимым краям: у цены при lh 24 буквы на 2.42px выше края строки,
   слева у первой буквы 0.75px поля — поэтому снизу поле «бок − 1.67px»; круг — геометрия, ему ровно бок */
.card-price { display: block; font-size: 24px; line-height: 24px; font-weight: 600; letter-spacing: -.02em; }
.card-c { padding-bottom: calc(40px - 1.67px) !important; }
.card-go { position: absolute; z-index: 2; right: 40px; bottom: 40px; width: 56px; height: 56px; border-radius: 50%; background: #E95628; display: grid; place-items: center; overflow: hidden; }
.card-go svg { width: 18px; height: 16px; }
@media (hover: hover) {
  .card-price { max-height: 0; opacity: 0; transform: translateY(8px); transition: max-height .45s cubic-bezier(.33, 1, .68, 1), opacity .35s, transform .45s cubic-bezier(.33, 1, .68, 1); }
  .card:hover .card-price { max-height: 30px; opacity: 1; transform: none; }
  .card-go { opacity: 0; transform: scale(.6); transition: opacity .35s, transform var(--t) var(--spring); }
  .card-go svg { transform: translateX(-28px); transition: transform var(--t) var(--spring) 80ms; }
  .card:hover .card-go { opacity: 1; transform: none; }
  .card:hover .card-go svg { transform: none; }
  .track.dragging .card:hover .card-price, .track.dragging .card:hover .card-go { opacity: 0; }
}
@media (max-width: 809px) { .card-go { right: 20px; bottom: 20px; width: 48px; height: 48px; } .card-c { padding-right: 80px !important; padding-bottom: calc(20px - 1.67px) !important; } }

.s2-nav { display: flex; gap: 6px; margin-top: 30px; }
.s2-nav button { width: 66px; height: 41px; border-radius: 100px; background: #F1F2F4; display: grid; place-items: center; }
.s2-nav button:disabled { opacity: .4; cursor: default; }
.s2-nav svg { width: 17px; height: 12px; }
.s2-nav .prev svg { transform: scaleX(-1); }

@media (min-width: 1920px) { .s2 { padding: 140px 30px; } }
@media (max-width: 809px) {
  .s2 { padding: 72px 16px; }
  .s2 h2 { font-size: 30px; line-height: 30px; }
  .tabs { gap: 6px; }
  .tab { padding: 8px 14px; }
  .track { gap: 15px; }
  .card { width: 315px; }
  .card-c { width: 100%; padding: 50px 20px 30px; }
  .card-none { left: 20px; }
}

@media (max-width: 809px) {
  .nav, .acts { display: none; }
  .burger { display: block; }
  .m-nav { display: flex; }
  /* шапка по логотипу: видимый знак 25.4…55.6 → снизу столько же, сколько сверху (25.4) */
  .hdr { height: 81px; }
  .logo { left: 16px; top: 17.5px; transform: none; }
  .hero-in { width: calc(100% - 32px); gap: 30px; }
  .hero h1 { font-size: 50px; line-height: 50px; }
  .btn { height: 60px; }
}

/* переключатель гарнитуры для сравнения — ?font=onest / ?font=geist */
html.f-onest { --font: "Onest", system-ui, sans-serif; }
html.f-geist { --font: "Geist", system-ui, sans-serif; }

/* =====================================================================
   ЭКРАНЫ 3–9 И ВНУТРЕННИЕ СТРАНИЦЫ (02.11.2026)
   Один язык с экранами 1–2 (Risk Solved): Manrope, заголовки 50/50 600 −.02em,
   лид 24/31.2, текст 16/22.4, фото-карточки r16 с затемнением снизу,
   капсулы #F1F2F4, оранжевый круг со стрелкой. Никаких моно-подписей и контурных цифр.
   ===================================================================== */
.sec { position: relative; padding: 120px 30px; }
.sec-in { max-width: 1440px; margin: 0 auto; }
.sec--white { background: #fff; color: #111; }
.sec--light { background: #F1F2F4; color: #111; }
.sec--dark { background: #111; color: #fff; }
.h2 { margin: 0; font-size: 50px; line-height: 50px; font-weight: 600; letter-spacing: -.02em; }
.lead { margin: 0; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
.muted { color: #565656; }
.sec--dark .muted, .trust .muted { color: rgba(255, 255, 255, .6); }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin-bottom: 64px; }
.head .h2 { max-width: 1040px; }
[id] { scroll-margin-top: 0; }

/* раскладка «заголовок слева стоит, содержимое справа» — одна на всю страницу */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: 20px; }
.split-l { position: sticky; top: 135px; align-self: start; display: grid; gap: 32px; justify-items: start; }
.split-l .lead { max-width: 480px; }

/* вторичная кнопка-капсула (без иконки): высота 48, как вкладки второго экрана */
.lnk { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 22px; border-radius: 100px; background: #F1F2F4; color: #111; font-size: 16px; line-height: 22.4px; font-weight: 600; letter-spacing: -.02em; transition: background .3s, color .3s; }
.lnk svg { width: 15px; height: 11px; transition: transform var(--t) var(--spring); }
.sec--dark .lnk, .trust .lnk, .phero .lnk { background: rgba(255, 255, 255, .12); color: #fff; }
@media (hover: hover) {
  .lnk:hover { background: #111; color: #fff; }
  .sec--dark .lnk:hover, .phero .lnk:hover { background: #fff; color: #111; }
  .lnk:hover svg { transform: translateX(4px); }
}

/* ЭКРАН 3 — ДОВЕРИЕ: фото замера во весь экран, утверждение сверху, четыре факта снизу */
.trust { position: relative; min-height: calc(100vh - 95px); min-height: calc(100svh - 95px); padding: 100px 30px 56px; display: flex; flex-direction: column; background: #111; color: #fff; overflow: hidden; }
.trust > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.trust::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .7) 0%, rgba(17, 17, 17, .35) 45%, rgba(17, 17, 17, .92) 100%); }
.trust .sec-in { position: relative; z-index: 1; width: 100%; flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 80px; }
.trust .h2 { max-width: 900px; }
.facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
/* кегль −20% от лида (24 → 19.2); справа пятая часть колонки свободна, чтобы текст не упирался в конец линии */
.facts li { padding: 20px 20% 0 0; border-top: 1px solid rgba(255, 255, 255, .3); font-size: 19.2px; line-height: 25px; letter-spacing: -.02em; }

/* ЭКРАН 4 — КОМУ ПОМОГАЕМ: четыре фото-карточки в языке ленты второго экрана */
.who-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.who-card { position: relative; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: #2A2F33; color: #fff; }
.who-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.who-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .3) 45%, rgba(0, 0, 0, .8) 100%); }
.who-card div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 30px; display: grid; gap: 10px; }
.who-card h3, .cc h3 { margin: 0; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
.who-card p { margin: 0; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .85); }

/* ЭКРАН 5 — КАК МЫ РАБОТАЕМ (и «Как проходит» на страницах услуг) */
.steps { list-style: none; margin: 0; padding: 0; }
.steps li { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding: 40px 0; border-top: 1px solid rgba(255, 255, 255, .15); }
.steps li:last-child { border-bottom: 1px solid rgba(255, 255, 255, .15); }
.sec--white .steps li, .sec--light .steps li { border-color: #E3E4E6; }
.step-n { font-size: 24px; line-height: 31.2px; font-weight: 600; letter-spacing: -.02em; color: #E95628; }
.steps h3 { margin: 0 0 10px; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
.steps p { margin: 0; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .6); }
.sec--white .steps p, .sec--light .steps p { color: #565656; }
/* шаги из одной строки (памятка «что делать», «когда нужна») — без заголовка, текст крупнее */
.steps.plain h3 { margin: 0; }

/* ЭКРАН 6 — КЕЙСЫ */
.case-feat { position: relative; display: block; height: 600px; border-radius: 16px; overflow: hidden; background: #2A2F33; color: #fff; }
.case-feat > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.33, 1, .68, 1); }
.case-feat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .15) 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .85) 100%); }
.cf-c { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 40px; display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.cf-t { display: grid; gap: 16px; justify-items: start; max-width: 680px; }
.cf-t h3 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.cf-t p { margin: 0; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .85); }
.cf-r { flex: none; display: grid; gap: 6px; text-align: right; }
.sum { font-size: 72px; line-height: 72px; font-weight: 600; letter-spacing: -.03em; color: #F2E2CA; white-space: nowrap; }
.sum-l { font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .7); }
.tag { display: inline-flex; align-items: center; height: 32px; padding: 0 14px; border-radius: 50px; background: rgba(255, 255, 255, .16); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-size: 14px; line-height: 20px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }

.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px 20px; margin-top: 20px; }
.cc { position: relative; display: grid; gap: 20px; align-content: start; color: #111; }
.cc-img { position: relative; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; background: #111; }
.cc-img > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.33, 1, .68, 1); }
.cc-img .tag { position: absolute; left: 20px; top: 20px; z-index: 1; }
.cc-img .tag, .noimg .tag { background: rgba(0, 0, 0, .35); }
.cc-b { display: grid; gap: 12px; }
.cc-sum { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; }
.cc-l { margin-top: -6px; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: #565656; }
.cc .card-go, .case-feat .card-go { z-index: 2; }
.cc .card-go { right: 20px; bottom: 20px; width: 48px; height: 48px; }
@media (hover: hover) {
  .case-feat:hover > img, .cc:hover .cc-img > img { transform: scale(1.04); }
  .case-feat .card-go, .cc .card-go { opacity: 0; transform: scale(.6); transition: opacity .35s, transform var(--t) var(--spring); }
  .case-feat .card-go svg, .cc .card-go svg { transform: translateX(-28px); transition: transform var(--t) var(--spring) 80ms; }
  .case-feat:hover .card-go, .cc:hover .card-go { opacity: 1; transform: none; }
  .case-feat:hover .card-go svg, .cc:hover .card-go svg { transform: none; }
}
.case-feat .card-go { top: 40px; right: 40px; bottom: auto; }

/* нет фото: тёмное поле со знаком и кольцами, как на первом экране */
.noimg { position: absolute; inset: 0; background: #161616; overflow: hidden; }
.noimg::before, .noimg::after { content: ""; position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .08); transform: translate(-50%, -50%); }
.noimg::before { width: 70%; aspect-ratio: 1; }
.noimg::after { width: 130%; aspect-ratio: 1; }
.noimg svg.mark { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; transform: translate(-50%, -50%); }
.card .noimg { z-index: 0; }
.card .noimg svg.mark { top: 42%; }

/* ЭКРАН 7 — ВОПРОСЫ */
.acc { display: grid; gap: 10px; }
.acc-i { background: #fff; border-radius: 16px; }
.sec--white .acc-i { background: #F1F2F4; }
.acc-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 28px; text-align: left; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; color: #111; }
.pm { position: relative; flex: none; width: 41px; height: 41px; border-radius: 50%; background: #F1F2F4; transition: background .3s, transform var(--t) var(--spring); }
.sec--white .pm { background: #fff; }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; margin: -.75px 0 0 -7px; background: #111; transition: background .3s; }
.pm::after { transform: rotate(90deg); }
.acc-i.open .pm { background: #E95628; transform: rotate(45deg); }
.acc-i.open .pm::before, .acc-i.open .pm::after { background: #fff; }
@media (hover: hover) { .acc-q:hover .pm { background: #111; } .acc-q:hover .pm::before, .acc-q:hover .pm::after { background: #fff; } .acc-i.open .acc-q:hover .pm { background: #E95628; } }
.acc-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.65, 0, .35, 1); }
.acc-a > div { overflow: hidden; }
.acc-a p { margin: 0; padding: 0 28px 28px; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: #565656; }
.acc-i.open .acc-a { grid-template-rows: 1fr; }

/* ЭКРАН 8 — ФОРМА ЗАЯВКИ */
.lead-c { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.lead-c a.big { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; }
.lead-c li { font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .6); }
.form { display: grid; gap: 44px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field { display: grid; gap: 6px; }
.field > span, .f-lbl { font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .6); }
.field input, .field textarea { width: 100%; padding: 6px 0 12px; border: 0; border-bottom: 1px solid rgba(255, 255, 255, .25); border-radius: 0; background: transparent; color: #fff; font: inherit; font-size: 24px; line-height: 31.2px; letter-spacing: -.02em; outline: none; resize: none; transition: border-color .3s; }
.field textarea { height: 81px; }
.field input::placeholder, .field textarea::placeholder { color: rgba(255, 255, 255, .25); }
.field input:focus, .field textarea:focus { border-color: #fff; }
.field.bad input { border-color: #E95628; }
.f-err { font-size: 14px; line-height: 20px; color: #E95628; min-height: 20px; }
/* автозаполнение браузера: без жёлтой/голубой подложки и чужого цвета текста */
.field input:-webkit-autofill { -webkit-text-fill-color: #fff; caret-color: #fff; transition: background-color 600000s 0s, color 600000s 0s; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span { display: inline-flex; align-items: center; height: 48px; padding: 0 20px; border-radius: 50px; border: 1px solid rgba(255, 255, 255, .25); font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; cursor: pointer; transition: background .3s, color .3s, border-color .3s; }
.chip input:checked + span { background: #fff; border-color: #fff; color: #111; }
.chip input:focus-visible + span { outline: 2px solid #E95628; outline-offset: 2px; }
@media (hover: hover) { .chip span:hover { border-color: #fff; } }
.form-foot { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.consent { display: flex; gap: 12px; align-items: center; min-height: 48px; padding: 0; font-size: 14px; line-height: 20px; letter-spacing: -.01em; color: rgba(255, 255, 255, .6); cursor: pointer; }
.consent input { position: absolute; opacity: 0; pointer-events: none; }
.box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 6px; border: 1px solid rgba(255, 255, 255, .4); transition: background .2s, border-color .2s; }
.box svg { width: 12px; height: 10px; opacity: 0; transition: opacity .2s; }
.consent input:checked + .box { background: #E95628; border-color: #E95628; }
.consent input:checked + .box svg { opacity: 1; }
.consent input:focus-visible + .box { outline: 2px solid #fff; outline-offset: 2px; }
.consent.bad .box { border-color: #E95628; }
.consent a { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.form .btn { flex: none; }
.form-ok { display: none; gap: 20px; align-content: start; }
.form-ok .mark-ok { width: 56px; height: 56px; border-radius: 50%; background: #E95628; display: grid; place-items: center; }
.form-ok h3 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 600; letter-spacing: -.02em; }
.lead-wrap.sent .form { display: none; }
.lead-wrap.sent .form-ok { display: grid; }


/* ВНУТРЕННИЕ СТРАНИЦЫ: первый экран */
.phero { position: relative; min-height: 88vh; min-height: 88svh; padding: 160px 30px 64px; display: flex; align-items: flex-end; background: #111; color: #fff; overflow: hidden; }
.phero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .55) 0%, rgba(17, 17, 17, .4) 40%, rgba(17, 17, 17, .93) 100%); }
.phero .noimg { background: #111; }
.phero .noimg svg.mark { left: 76%; width: 120px; height: 120px; opacity: .9; }
.phero .noimg::before { left: 76%; width: 40vw; }
.phero .noimg::after { left: 76%; width: 75vw; }
.phero .sec-in { position: relative; z-index: 1; width: 100%; }
.crumbs { display: flex; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 32px; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .6); }
.crumbs a { transition: color .3s; }
@media (hover: hover) { .crumbs a:hover { color: #fff; } }
.phero h1 { margin: 0; max-width: 1100px; font-size: 64px; line-height: 64px; font-weight: 700; letter-spacing: -.02em; color: var(--cream); }
.phero .lead { margin-top: 32px; max-width: 820px; }
.phero-foot { display: flex; align-items: center; flex-wrap: wrap; gap: 24px 48px; margin-top: 56px; }
.price { display: grid; gap: 2px; }
.price b { font-size: 32px; line-height: 36px; font-weight: 600; letter-spacing: -.02em; }
.price span { font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: rgba(255, 255, 255, .6); }
.phero .tag { margin-bottom: 24px; }
.phero-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; }
.phero-row .cf-r .sum { font-size: 80px; line-height: 80px; }

/* страница услуги: «Об услуге», карточки «что учитываем», смежные услуги */
.about p { margin: 0; font-size: 24px; line-height: 31.2px; letter-spacing: -.02em; }
.about p + p { margin-top: 24px; color: #565656; }
.inc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.inc > div { padding: 40px; border-radius: 16px; background: #F1F2F4; display: grid; gap: 12px; align-content: start; }
.sec--light .inc > div { background: #fff; }
.inc h3 { margin: 0; font-size: 24px; line-height: 31.2px; font-weight: 400; letter-spacing: -.02em; }
.inc p { margin: 0; font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: #565656; }
.rel { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rel .card { width: auto; height: 420px; }
.rel .card-c { width: 100%; }

/* страница кейса */
.cbody { display: grid; grid-template-columns: 4fr 8fr; gap: 20px; }
.cside { position: sticky; top: 135px; align-self: start; padding: 32px; border-radius: 16px; background: #F1F2F4; display: grid; gap: 0; }
.cside dl { margin: 0 0 32px; display: grid; }
.cside dt { font-size: 16px; line-height: 22.4px; letter-spacing: -.02em; color: #565656; }
.cside dd { margin: 4px 0 0; padding-bottom: 20px; font-size: 20px; line-height: 28px; letter-spacing: -.02em; }
.cside dd + dt { padding-top: 20px; border-top: 1px solid #E3E4E6; }
.cside dd a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.cside dd.big { font-size: 40px; line-height: 44px; font-weight: 600; }
.cside .btn { width: 100%; }
.cmain { display: grid; gap: 80px; padding-left: 60px; }
.cmain h2 { margin: 0 0 24px; font-size: 32px; line-height: 38.4px; font-weight: 600; letter-spacing: -.02em; }
.cmain .lead + .lead { margin-top: 20px; }
.cmain .steps li { grid-template-columns: 64px 1fr; padding: 28px 0; }
.cmain .steps h3 { font-size: 20px; line-height: 28px; }
.result { padding: 40px; border-radius: 16px; background: #111; color: #fff; display: grid; gap: 28px; }
.result h2 { margin: 0; }
.result .sum { font-size: 64px; line-height: 64px; }

/* галерея кейса */
.gal { --gc: 4; --gg: 20px; display: grid; grid-template-columns: repeat(var(--gc), 1fr); gap: var(--gg); grid-auto-rows: calc((min(100vw, 1500px) - 60px - (var(--gc) - 1) * var(--gg)) / var(--gc) * .75); }
@media (min-width: 1101px) { .gal .a2 { grid-column: span 2; } .gal .a3 { grid-column: span 3; } .gal .a4 { grid-column: span 4; } }
@media (min-width: 810px) and (max-width: 1100px) { .gal .b2 { grid-column: span 2; } .gal .b3 { grid-column: span 3; } }
@media (max-width: 809px) { .gal .c2 { grid-column: span 2; } }
.gal button { position: relative; border-radius: 16px; overflow: hidden; background: #F1F2F4; cursor: zoom-in; }
.gal .big { grid-column: span 2; grid-row: span 2; }
.gal img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.33, 1, .68, 1); }
@media (hover: hover) { .gal button:hover img { transform: scale(1.04); } }
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(0, 0, 0, .94); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: calc(100vw - 200px); max-height: calc(100vh - 140px); border-radius: 8px; user-select: none; }
.lb button { position: absolute; width: 56px; height: 56px; border-radius: 50%; background: rgba(255, 255, 255, .12); display: grid; place-items: center; transition: background .3s; }
@media (hover: hover) { .lb button:hover { background: rgba(255, 255, 255, .25); } }
.lb .lb-x { top: 24px; right: 24px; }
.lb .lb-p { left: 32px; top: 50%; margin-top: -28px; }
.lb .lb-n { right: 32px; top: 50%; margin-top: -28px; }
.lb .lb-p svg { transform: scaleX(-1); }
.lb-c { position: absolute; left: 0; right: 0; bottom: 28px; text-align: center; font-size: 16px; line-height: 22.4px; color: rgba(255, 255, 255, .6); }

/* юридические страницы */
.hdr.solid .hdr-bg { opacity: 1; }
.doc { max-width: 880px; margin: 0 auto; padding: 195px 30px 120px; color: #111; }
.doc-page { background: #fff; }
.doc h1 { margin: 0 0 16px; font-size: 50px; line-height: 50px; font-weight: 600; letter-spacing: -.02em; }
.doc .muted { margin: 0 0 56px; font-size: 16px; line-height: 22.4px; }
.doc h2 { margin: 48px 0 16px; font-size: 24px; line-height: 31.2px; font-weight: 600; letter-spacing: -.02em; }
.doc p, .doc li { font-size: 16px; line-height: 25.6px; letter-spacing: -.01em; color: #333; }
.doc p { margin: 0 0 14px; }
.doc ul { margin: 0 0 14px; padding-left: 22px; }
.doc li + li { margin-top: 6px; }
.doc a { text-decoration: underline; text-underline-offset: 3px; }
.doc .fill { background: #FCEBE4; border-radius: 4px; padding: 0 4px; }

/* ПЛАНШЕТ */
@media (max-width: 1100px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid, .rel { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .inc { grid-template-columns: 1fr; }
  .cmain { padding-left: 20px; }
  .gal { --gc: 3; }
}

/* ТЕЛЕФОН (порог экранов 1–2) */
@media (max-width: 809px) {
  .sec { padding: 72px 16px; }
  .h2 { font-size: 30px; line-height: 30px; }
  .lead, .about p { font-size: 20px; line-height: 26px; }
  .head { display: grid; gap: 24px; margin-bottom: 40px; }
  .split, .cbody { grid-template-columns: 1fr; gap: 40px; }
  .split-l, .cside { position: static; }
  .cmain { padding-left: 0; gap: 56px; }

  .trust { min-height: 0; padding: 72px 16px 56px; }
  .trust .sec-in { gap: 160px; }
  .facts { grid-template-columns: 1fr; row-gap: 0; }
  .facts li { padding: 14px 20% 18px 0; font-size: 16px; line-height: 22px; }

  .who-grid { display: flex; gap: 15px; margin: 0 -16px; padding: 0 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 16px; scrollbar-width: none; }
  .who-grid::-webkit-scrollbar { display: none; }
  .who-card { flex: none; width: 280px; scroll-snap-align: start; }
  .who-card div { padding: 20px; }

  .steps li { grid-template-columns: 48px 1fr; gap: 12px; padding: 28px 0; }
  .steps h3 { font-size: 20px; line-height: 26px; }

  .case-feat { height: 560px; }
  .cf-c { flex-direction: column; align-items: flex-start; gap: 24px; padding: 20px; }
  .cf-r { text-align: left; }
  .cf-t h3 { font-size: 28px; line-height: 32px; }
  .sum { font-size: 48px; line-height: 48px; }
  .case-feat .card-go { top: 20px; right: 20px; }
  .case-grid, .rel { grid-template-columns: 1fr; gap: 40px; }
  .rel .card { height: 404px; }

  .acc-q { padding: 18px 20px; font-size: 18px; line-height: 24px; gap: 16px; }
  .acc-a p { padding: 0 20px 20px; }

  .f-row { grid-template-columns: 1fr; gap: 32px; }
  .field input, .field textarea { font-size: 20px; line-height: 26px; }
  .form { gap: 36px; }
  .form-foot { align-items: stretch; gap: 16px; }
  .consent { align-items: flex-start; padding-top: 12px; }
  .form .btn { width: 100%; }
  .lead-c a.big { font-size: 26px; line-height: 30px; }


  .phero { min-height: 92svh; padding: 120px 16px 40px; }
  .phero h1 { font-size: 40px; line-height: 42px; }
  .phero .lead { margin-top: 20px; }
  .phero-foot { margin-top: 36px; gap: 24px; }
  .phero-foot .btn { width: 100%; }
  .phero-row { flex-direction: column; align-items: flex-start; gap: 28px; }
  .phero-row .cf-r { text-align: left; }
  .phero-row .cf-r .sum { font-size: 48px; line-height: 48px; }
  .phero .noimg svg.mark { left: 50%; top: 170px; width: 88px; height: 88px; }
  .phero .noimg::before { left: 50%; top: 170px; width: 80vw; }
  .phero .noimg::after { left: 50%; top: 170px; width: 150vw; }
  .inc > div { padding: 24px; }
  .cside { padding: 24px; }
  .result { padding: 24px; }
  .result .sum { font-size: 44px; line-height: 44px; }
  .gal { --gc: 2; --gg: 10px; grid-auto-rows: calc((100vw - 32px - 10px) / 2 * .75); }
  .lb img { max-width: 100vw; max-height: calc(100vh - 160px); border-radius: 0; }
  .lb .lb-p, .lb .lb-n { top: auto; bottom: 16px; margin: 0; }
  .lb .lb-p { left: 16px; } .lb .lb-n { right: 16px; }
  .lb .lb-x { top: 16px; right: 16px; }
  .lb-c { bottom: 32px; }
  .doc { padding: 130px 16px 72px; }
  .doc h1 { font-size: 32px; line-height: 34px; }
}
.f-err { display:block; font-style: normal; }
.lb button svg { width: 18px; height: 16px; }

/* ПОДВАЛ — по образцу tl52.oxboxdigital.ru: две панели на чёрной подложке с зазором 8,
   слева ролик с логотипом и «Мы на связи», справа меню, услуги, контакты, документы и строка © / «Разработано в OXBOX». */
.ftr { background: #000; color: #fff; padding: 8px; }
.ftr .logo-t { white-space: nowrap; }
.ftr-in { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; min-height: 600px; }
.ftr-a, .ftr-b { position: relative; background: #161616; padding: 32px; border-radius: 16px; }
.ftr-a { overflow: hidden; min-height: 420px; }
.ftr-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.ftr-v { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ftr-a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, .55) 0%, rgba(17, 17, 17, .15) 45%, rgba(17, 17, 17, .7) 100%); pointer-events: none; }
.ftr-a > :not(.ftr-v) { position: relative; z-index: 1; }
.ftr .logo { position: relative; left: auto; top: auto; transform: none; }
.ftr-tag { margin: 14px 0 0; font-size: 20px; line-height: 26px; letter-spacing: -.02em; }
.ftr-ico { display: flex; gap: 10px; }
.ftr-ico { flex: none; }
.ftr-ico a { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 8px; background: #fff; color: #111; transition: background .3s, color .3s; }
.ftr-ico svg { width: 26px; height: 26px; }
@media (hover: hover) { .ftr-ico a:hover { background: #E95628; color: #fff; } }
.ftr-b { display: flex; flex-direction: column; }
.ftr-cols { flex: 1; display: grid; grid-template-columns: 1fr 1.4fr 1fr; gap: 32px; align-content: start; }
.ftr-nav { display: grid; gap: 6px; align-content: start; justify-items: start; }
.ftr-nav a { font-size: 18px; line-height: 24px; letter-spacing: -.02em; transition: color .3s; }
.ftr h4 { margin: 0 0 14px; font-size: 16px; line-height: 22px; font-weight: 400; letter-spacing: -.02em; }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ftr li, .ftr-doc, .ftr-down { font-size: 14px; line-height: 20px; letter-spacing: -.01em; color: #B9BBBB; }
.ftr-svc ul { gap: 10px; }
.ftr-svc li { white-space: nowrap; }
.ftr li a, .ftr-doc a { transition: color .3s; }
.ftr-tel { font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -.02em; color: #fff; white-space: nowrap; }
@media (hover: hover) { .ftr li a:hover, .ftr-doc a:hover, .ftr-nav a:hover { color: #E95628; } .ftr-tel:hover { color: #E95628; } }
.ftr-doc { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 56px; }
.ftr-down { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 16px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .34); font-size: 15px; line-height: 21px; }
.ftr-by { color: #fff; font-weight: 400; }
@media (max-width: 1100px) {
  .ftr-in { grid-template-columns: 1fr; min-height: 0; }
  .ftr-a { min-height: 360px; }
}
@media (max-width: 809px) {
  .ftr-a, .ftr-b { padding: 24px 20px; }
  .ftr-a { min-height: 320px; }
  .ftr-ico a { width: 48px; height: 48px; }
  .ftr-ico svg { width: 22px; height: 22px; }
  .ftr-cols { grid-template-columns: 1fr; gap: 36px; }
  .ftr-svc li { white-space: normal; }
  .ftr-doc { flex-direction: column; margin-top: 40px; }
  .ftr-down { flex-direction: column; }
}

/* «Как мы работаем»: на телефоне кнопка — под списком шагов, а не между заголовком и шагами */
.steps-cta { display: none; }
@media (max-width: 809px) {
  .steps-sec .split-l .btn { display: none; }
  .steps-sec .steps-cta { display: block; }
  .steps-sec .steps-cta .btn { width: 100%; }
  .steps-sec .split { gap: 32px; }
}
