/* Автоэкспресс — копия сайта для портфолио ROMIMAX. Стиль «Тяжёлая техника», без скриптов */
:root {
  --k: #14181B; --dk: #0E1113; --dk2: #1B2024; --lt: #EEEFEC; --wh: #FFFFFF; --ln: #D9DCD6;
  --mu: #5E676D; --y: #FFC20E; --t: #0A91AB; --t2: #087C92; --ok: #22A06B;
  --cf: "Oswald", "Arial Narrow", sans-serif; --sn: "Manrope", system-ui, sans-serif;
  --pad: 64px; --sec: 112px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--k); color: var(--k); font: 400 16px/1.55 var(--sn); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.nw { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.wrap { width: 100%; max-width: 1440px; margin: 0 auto; padding: 0 var(--pad); }
:target { scroll-margin-top: 80px; }

/* типографика */
.h1 { font: 600 100px/0.98 var(--cf); letter-spacing: -0.5px; text-transform: uppercase; color: var(--wh); }
.h1 em { font-style: normal; color: var(--y); }
.h2 { font: 600 64px/1.06 var(--cf); letter-spacing: -0.3px; text-transform: uppercase; max-width: 780px; }
.h2--loose { line-height: 1.14; }
.h3 { font: 600 26px/1.1 var(--cf); text-transform: uppercase; }
.h4 { font: 600 22px/1.1 var(--cf); text-transform: uppercase; }
.ey { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; font: 500 16px/1.2 var(--cf); letter-spacing: 2.4px; text-transform: uppercase; color: var(--mu); }
.ey i { width: 40px; height: 3px; flex: none; background: var(--y); }
.ey--d { color: rgba(255, 255, 255, .8); }
.ey--k { color: rgba(20, 24, 27, .7); }
.ey--k i { background: var(--k); }

/* кнопки, поля, значки */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 58px; padding: 0 26px; border: 1px solid transparent; font: 600 17px/1.2 var(--cf); letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s, transform .15s; }
.btn .i { width: 18px; height: 18px; transition: transform .15s; }
.btn:hover .i { transform: translateX(3px); }
.btn--y { background: var(--y); color: var(--k); }
.btn--y:hover { background: #FFD34D; }
.btn--t { background: var(--t); color: var(--wh); }
.btn--t:hover { background: var(--t2); }
.btn--ld { background: transparent; color: var(--k); border-color: rgba(20, 24, 27, .33); }
.btn--ld:hover { border-color: var(--k); }
.btn--sm { height: 46px; padding: 0 18px; font-size: 15px; }
.btn--full { width: 100%; }
.field { width: 100%; height: 56px; padding: 0 18px; border: 1px solid var(--ln); border-radius: 0; background: var(--wh); color: var(--k); font: 600 16px/1.3 var(--sn); outline: none; transition: border-color .15s; }
.field::placeholder { color: #8C949A; }
.field--d { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .2); color: var(--wh); }
.field--d::placeholder { color: rgba(255, 255, 255, .45); }
.field:focus { border-color: var(--y); }
textarea.field { height: 104px; padding: 16px 18px; resize: vertical; }
.file { display: flex; align-items: center; justify-content: center; gap: 10px; height: 56px; border: 1px dashed rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .7); font-weight: 700; font-size: 15px; cursor: pointer; }
.file:hover { border-color: var(--y); color: var(--wh); }
.file .i { width: 18px; height: 18px; }
.ibox { display: grid; place-items: center; width: 52px; height: 52px; flex: none; background: var(--y); color: var(--k); }
.ibox .i { width: 24px; height: 24px; }
.ibox--d { background: rgba(255, 194, 14, .12); color: var(--y); }
.ibox--s { width: 44px; height: 44px; }
.ibox--s .i { width: 20px; height: 20px; }
.ibox--xs { width: 40px; height: 40px; }
.ibox--xs .i { width: 20px; height: 20px; }
.chip { display: inline-block; padding: 6px 10px; background: rgba(10, 145, 171, .1); color: var(--t2); font-weight: 800; font-size: 13px; line-height: 1.2; }

/* шапка и меню */
.top { position: sticky; top: 0; z-index: 30; background: rgba(14, 17, 19, .94); border-bottom: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 88px; }
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wh); }
.logo img { width: 44px; height: 44px; border-radius: 50%; }
.logo span { display: flex; flex-direction: column; gap: 3px; }
.logo b { font: 600 22px/1 var(--cf); letter-spacing: 2px; text-transform: uppercase; }
.logo small { font-size: 12px; font-weight: 600; line-height: 1.2; color: rgba(255, 255, 255, .55); }
.nav { display: flex; gap: 32px; }
.nav a { font: 500 15px/1.2 var(--cf); letter-spacing: 1.4px; text-transform: uppercase; text-decoration: none; color: rgba(255, 255, 255, .7); transition: color .15s; }
.nav a:hover { color: var(--y); }
.burger { display: none; place-items: center; width: 48px; height: 48px; color: var(--wh); border: 1px solid rgba(255, 255, 255, .25); }
.burger .i { width: 24px; height: 24px; }
.menu { position: fixed; inset: 0; z-index: 50; display: none; flex-direction: column; justify-content: center; gap: 36px; padding: 88px 24px 40px; background: var(--dk); }
.menu:target { display: flex; }
.menu nav { display: flex; flex-direction: column; gap: 18px; }
.menu nav a { font: 600 34px/1.1 var(--cf); text-transform: uppercase; text-decoration: none; color: var(--wh); }
.menu__x { position: absolute; top: 20px; right: 16px; display: grid; place-items: center; width: 48px; height: 48px; color: var(--wh); border: 1px solid rgba(255, 255, 255, .25); }
.menu__x .i { width: 24px; height: 24px; }

/* 01 первый экран */
.hero { position: relative; overflow: hidden; background: var(--dk); color: var(--wh); }
.hero::before, .hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero::before { background: linear-gradient(90deg, rgba(14, 17, 19, .97) 0%, rgba(14, 17, 19, .88) 50%, rgba(14, 17, 19, .4) 100%); }
.hero::after { top: auto; height: 340px; background: linear-gradient(180deg, rgba(14, 17, 19, 0), rgba(14, 17, 19, .96)); }
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__in { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 400px; gap: 56px; align-items: start; padding-top: 72px; padding-bottom: 64px; }
.hero__sub { max-width: 600px; margin-top: 28px; font-size: 19px; line-height: 1.5; color: rgba(255, 255, 255, .78); }
.plus { display: grid; grid-template-columns: repeat(2, max-content); gap: 14px 32px; margin-top: 36px; }
.plus li { display: flex; align-items: center; gap: 12px; font-weight: 600; font-size: 15px; line-height: 1.3; color: rgba(255, 255, 255, .9); }
.hform { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: rgba(20, 24, 27, .92); border-top: 4px solid var(--t); }
.hform__h { font: 600 30px/1.1 var(--cf); letter-spacing: .5px; text-transform: uppercase; }
.hform__s { display: flex; flex-direction: column; gap: 14px; }
.hform__s li { display: flex; gap: 14px; font-size: 15px; line-height: 1.4; color: rgba(255, 255, 255, .8); }
.hform__s b { font: 600 20px/1.1 var(--cf); color: var(--t); }
.hform small, .card-form small { font-size: 12px; line-height: 1.4; color: rgba(255, 255, 255, .45); }
.facts { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); padding: 26px 0 40px; border-top: 1px solid rgba(255, 255, 255, .18); }
.facts li { display: flex; flex-direction: column; gap: 6px; padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
.facts li:first-child { padding-left: 0; border-left: 0; }
.facts b { font: 600 44px/1 var(--cf); }
.facts span { font-size: 13px; line-height: 1.3; color: rgba(255, 255, 255, .6); }

/* секции */
.sec { padding: var(--sec) 0; }
.sec--lt { background: var(--lt); }
.sec--dk { background: var(--k); color: var(--wh); }
.sec--dk2 { background: var(--dk); color: var(--wh); }
.sec--teal { background: var(--t); color: var(--wh); padding: 96px 0; }
.sec--y { background: var(--y); padding: 104px 0; }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 64px; margin-bottom: 56px; }
.head__lead { max-width: 420px; font-size: 17px; line-height: 1.55; color: var(--mu); }
.sec--dk .head__lead { color: rgba(255, 255, 255, .7); }

/* 02 почему наши */
.whys { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why { display: flex; flex-direction: column; min-height: 312px; padding: 32px; background: var(--wh); }
.why__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; }
.why__top b { font: 600 20px/1 var(--cf); color: rgba(20, 24, 27, .3); }
.why .h3 { margin-bottom: 12px; }
.why p { font-size: 15px; color: var(--mu); }

/* 03 изготовление, 10 сервис */
.split { display: grid; grid-template-columns: 620px 1fr; gap: 64px; align-items: center; }
.split--r { grid-template-columns: 1fr 600px; }
.split__ph { position: relative; height: 560px; }
.split__ph--tall { height: 640px; }
.split__ph img { width: 100%; height: 100%; object-fit: cover; }
.split__t .h2 { margin-bottom: 28px; }
.badge18 { position: absolute; left: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; max-width: 240px; padding: 16px 20px; background: var(--y); color: var(--k); font-weight: 700; font-size: 14px; line-height: 1.3; }
.badge18 b { font: 600 44px/1 var(--cf); }
.badge-res { position: absolute; left: 24px; right: 24px; bottom: 24px; display: flex; align-items: center; gap: 14px; padding: 18px 20px; background: var(--y); color: var(--k); font: 600 22px/1.1 var(--cf); text-transform: uppercase; }
.badge-res .i { width: 24px; height: 24px; }
.ways { margin-bottom: 28px; }
.ways li { display: flex; align-items: flex-start; gap: 18px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.ways .h4 { margin-bottom: 6px; color: var(--wh); }
.ways p { max-width: 520px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .65); }
.ways--serv li { align-items: center; padding: 18px 0; }
.ways--serv .ibox { width: 48px; height: 48px; }
.ways--serv .h4 { margin-bottom: 4px; font-size: 21px; }
.lead { max-width: 560px; margin-bottom: 26px; font-size: 18px; color: rgba(255, 255, 255, .7); }
.inl { display: flex; }
.inl .btn { flex: none; }

/* 04 каталог */
.cat > input:nth-of-type(1):focus-visible ~ .tabs label:nth-child(1),
.cat > input:nth-of-type(2):focus-visible ~ .tabs label:nth-child(2),
.cat > input:nth-of-type(3):focus-visible ~ .tabs label:nth-child(3) { outline: 2px solid var(--t); outline-offset: 2px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: -24px 0 32px; }
.tabs label { display: inline-flex; align-items: center; height: 48px; padding: 0 22px; border: 1px solid rgba(20, 24, 27, .2); font: 600 16px/1.2 var(--cf); letter-spacing: 1.2px; text-transform: uppercase; cursor: pointer; transition: background-color .15s, color .15s; }
.tabs label:hover { border-color: var(--k); }
#cat-1:checked ~ .tabs label[for="cat-1"], #cat-2:checked ~ .tabs label[for="cat-2"], #cat-3:checked ~ .tabs label[for="cat-3"] { background: var(--k); border-color: var(--k); color: var(--wh); }
.cat__p { display: none; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat__p--4 { grid-template-columns: repeat(4, 1fr); }
#cat-1:checked ~ .cat__p--1, #cat-2:checked ~ .cat__p--2, #cat-3:checked ~ .cat__p--3 { display: grid; }
.prod { display: flex; flex-direction: column; background: var(--wh); }
.prod__media { height: 220px; overflow: hidden; background: var(--k); }
.prod__media > img { width: 100%; height: 100%; object-fit: cover; }
.prod__strip { display: flex; align-items: center; height: 100%; padding: 0 18px; background: radial-gradient(circle at 50% 40%, #2A3137, var(--k)); }
.prod__b { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px; }
.prod__mark { width: 100%; height: auto; }
.prod__h { font: 600 28px/1.1 var(--cf); text-transform: uppercase; }
.cat__p--4 .prod__h { font-size: 24px; }
.specs { width: 100%; }
.specs div { padding: 9px 0; border-top: 1px solid var(--ln); }
.specs dt { font-weight: 700; font-size: 12px; line-height: 1.3; color: #8C949A; }
.specs dd { font-weight: 600; font-size: 15px; line-height: 1.4; }
.prod__ft { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; margin-top: auto; padding-top: 8px; }
.avail { display: flex; flex-direction: column; gap: 2px; font-weight: 600; font-size: 14px; line-height: 1.2; color: var(--mu); }
.avail span { display: flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ok); }
.avail i { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); }
.other { display: flex; flex-direction: column; align-items: flex-start; gap: 22px; padding: 32px; background: var(--k); color: var(--wh); overflow: hidden; }
.other__h { font: 600 34px/1.05 var(--cf); text-transform: uppercase; }
.other p { font-size: 16px; color: rgba(255, 255, 255, .7); }
.other__tigr { width: 100%; max-width: 350px; margin-top: auto; }

/* 05 номера и 13 заявка */
.nums { display: grid; grid-template-columns: 1fr 520px; gap: 80px; align-items: center; }
.nums__t .h2 { max-width: 640px; font-size: 60px; }
.nums__t > p { max-width: 560px; margin-top: 24px; font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, .9); }
.nums__t ul { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 32px; }
.nums__t li { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.nums__t li .i { width: 18px; height: 18px; }
.card-form { display: flex; flex-direction: column; gap: 12px; padding: 32px; background: var(--k); color: var(--wh); }
.card-form__h { margin-bottom: 8px; font: 600 26px/1.1 var(--cf); text-transform: uppercase; }
.card-form__sub { margin: -6px 0 8px; font-size: 15px; color: rgba(255, 255, 255, .6); }
.card-form .btn { margin-top: 4px; }
.sec--y .nums { grid-template-columns: 1fr 540px; }
.sec--y .nums__t .h2 { font-size: 68px; }
.sec--y .nums__t > p { font-weight: 600; font-size: 19px; color: rgba(20, 24, 27, .8); }
.sec--y .card-form { padding: 36px; }
.sec--y .card-form__h { font-size: 30px; margin-bottom: 0; }
.tigr { width: 320px; margin-top: 24px; }

/* 06 комплектующие */
.kits { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.kit { display: flex; flex-direction: column; background: var(--wh); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.kit:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(20, 24, 27, .1); }
.kit img { width: 100%; aspect-ratio: 1 / 1; height: auto; object-fit: cover; }
.kit > span { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 76px; padding: 12px 18px; font: 600 18px/1.15 var(--cf); text-transform: uppercase; }
.kit > span .i { width: 18px; height: 18px; color: var(--t); }
.kit--help { justify-content: space-between; gap: 14px; padding: 24px; background: var(--k); color: var(--wh); }
.kit--help b { font: 600 24px/1.1 var(--cf); text-transform: uppercase; }
.kit--help small { font-size: 14px; line-height: 1.45; color: rgba(255, 255, 255, .7); }
.kit--help em { display: flex; align-items: center; gap: 8px; font: 600 15px/1.2 var(--cf); font-style: normal; letter-spacing: 1.2px; text-transform: uppercase; color: var(--y); }
.kit--help em .i { width: 16px; height: 16px; }
.more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 32px; font-size: 15px; }
.more ul { display: flex; flex-wrap: wrap; gap: 8px; }
.more li { padding: 6px 12px; border: 1px solid rgba(20, 24, 27, .15); font-weight: 600; font-size: 14px; color: var(--mu); }

/* 07 кейсы */
.cases { display: flex; flex-direction: column; gap: 32px; margin-bottom: 48px; }
.case { display: grid; grid-template-columns: 700px 1fr; background: var(--dk2); }
.case__ph { display: grid; grid-template-columns: 400px 1fr; grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 8px; height: 520px; padding: 8px; }
.case__ph img { min-height: 0; }
.case__ph img { width: 100%; height: 100%; object-fit: cover; }
.case__ph img:first-child { grid-row: 1 / -1; }
.case__t { display: flex; flex-direction: column; gap: 22px; padding: 44px 48px; }
.case__k { font: 500 15px/1.2 var(--cf); letter-spacing: 2px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.case__k b { font-weight: 500; color: var(--y); }
.case__h { font: 600 40px/1.05 var(--cf); text-transform: uppercase; }
.case__f div { display: grid; grid-template-columns: 150px 1fr; gap: 20px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.case__f dt { font-weight: 700; font-size: 14px; line-height: 1.4; color: rgba(255, 255, 255, .5); }
.case__f dd { font-weight: 600; font-size: 16px; line-height: 1.4; }
.case__r { padding: 16px 18px; border-left: 3px solid var(--y); background: rgba(255, 194, 14, .08); font-size: 15px; color: rgba(255, 255, 255, .85); }

/* 08 пожар */
.fire { position: relative; overflow: hidden; background: var(--dk); color: var(--wh); }
.fire::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(14, 17, 19, .97) 0%, rgba(14, 17, 19, .85) 55%, rgba(14, 17, 19, .25) 100%); }
.fire__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fire__in { position: relative; z-index: 2; display: grid; grid-template-columns: 720px 1fr; gap: 56px; align-items: end; padding-top: 104px; padding-bottom: 104px; min-height: 860px; }
.fire__t { display: flex; flex-direction: column; align-items: flex-start; gap: 26px; }
.fire__t .ey { margin-bottom: 0; }
.fire__h { font: 600 76px/1.02 var(--cf); text-transform: uppercase; }
.fire__t p { max-width: 600px; font-size: 18px; color: rgba(255, 255, 255, .78); }
.fire__t .fire__b { font-weight: 700; color: var(--wh); }
.causes { padding: 32px; background: rgba(20, 24, 27, .92); border-top: 4px solid var(--y); }
.causes .h4 { margin-bottom: 12px; font-size: 26px; }
.causes li { display: flex; align-items: center; gap: 12px; padding: 13px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-weight: 600; font-size: 15px; line-height: 1.35; color: rgba(255, 255, 255, .88); }
.causes .i { width: 18px; height: 18px; color: var(--y); }

/* 09 как работаем */
.how { display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.how li { position: relative; padding-right: 24px; }
.how li::after { content: ""; position: absolute; top: 27px; left: 56px; right: 0; height: 2px; background: rgba(20, 24, 27, .15); }
.how li:last-child::after { display: none; }
.how__n { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; background: var(--k); color: var(--wh); font: 600 22px/1 var(--cf); }
.how li:last-child .how__n { background: var(--y); color: var(--k); }
.how .h4 { margin-bottom: 12px; font-size: 24px; }
.how p { max-width: 220px; font-size: 15px; color: var(--mu); }

/* 11 отзывы */
.revs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rev { display: flex; flex-direction: column; background: var(--wh); }
.rev__doc { display: flex; justify-content: center; height: 200px; padding-top: 20px; overflow: hidden; background: #E3E5E1; }
.rev__doc img { width: 250px; height: auto; align-self: flex-start; border: 1px solid rgba(20, 24, 27, .1); box-shadow: 0 8px 24px rgba(20, 24, 27, .12); transition: transform .25s; }
.rev__doc:hover img { transform: translateY(-6px); }
.rev__b { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 26px; }
.rev__q { width: 24px; height: 24px; color: var(--t); }
.rev__b > p { font-size: 15px; color: #2B343A; }
.rev__au { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 8px; }
.rev__au b { display: block; font-weight: 800; font-size: 15px; line-height: 1.3; }
.rev__au span { display: block; max-width: 230px; font-size: 13px; line-height: 1.35; color: var(--mu); }
.rev__au a { display: flex; align-items: center; gap: 6px; flex: none; font: 600 14px/1.2 var(--cf); letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; color: var(--t); }
.rev__au a .i { width: 16px; height: 16px; }

/* 12 сертификаты */
.serts { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.sert { display: block; padding: 8px; background: var(--wh); transition: transform .2s; }
.sert:hover { transform: translateY(-4px); }
.sert img { width: 100%; aspect-ratio: 1 / 1.41; height: auto; object-fit: cover; object-position: top; }

/* подвал */
.foot { padding: 64px 0 40px; background: var(--dk); color: var(--wh); }
.foot__top { display: grid; grid-template-columns: 1fr 260px 360px; gap: 40px; }
.foot__about p { max-width: 340px; margin-top: 16px; font-size: 15px; color: rgba(255, 255, 255, .5); }
.foot h4 { margin-bottom: 14px; font: 500 14px/1.2 var(--cf); letter-spacing: 2px; text-transform: uppercase; color: var(--y); }
.foot__nav { display: flex; flex-direction: column; gap: 12px; }
.foot__nav h4 { margin-bottom: 2px; }
.foot__nav a { font-weight: 600; font-size: 15px; line-height: 1.2; text-decoration: none; color: rgba(255, 255, 255, .8); }
.foot__nav a:hover { color: var(--y); }
.foot__cta p { margin-bottom: 16px; font-size: 15px; color: rgba(255, 255, 255, .8); }
.foot__bot { display: flex; justify-content: space-between; gap: 40px; margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: rgba(255, 255, 255, .45); }
.foot__bot p:first-child { max-width: 820px; }
.foot__bot a { color: rgba(255, 255, 255, .75); }

/* окна: письма, сертификаты, форма */
.lb, .note { position: fixed; inset: 0; z-index: 60; display: none; place-items: center; padding: 24px; background: rgba(10, 12, 14, .82); }
.lb:target, .note:target { display: grid; }
.lb__bg { position: absolute; inset: 0; }
.lb img { position: relative; width: auto; max-width: min(820px, 100%); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); background: var(--wh); box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.lb__x { position: fixed; top: 16px; right: 16px; z-index: 1; display: grid; place-items: center; width: 48px; height: 48px; background: var(--y); color: var(--k); }
.lb__x .i { width: 24px; height: 24px; }
.note__card { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; max-width: 480px; padding: 36px; background: var(--wh); border-top: 4px solid var(--y); }
.note__card p { color: var(--mu); }
.note__btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* адаптив */
@media (max-width: 1320px) {
  .nav { gap: 22px; }
  .nav a { font-size: 14px; letter-spacing: 1px; }
  .h1 { font-size: 92px; }
  .case { grid-template-columns: 1fr 1fr; }
  .case__ph { grid-template-columns: 1.4fr 1fr; }
  .cat__p--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1180px) {
  :root { --pad: 40px; --sec: 96px; }
  .nav, .top__cta { display: none; }
  .burger { display: grid; }
  .hero__in { grid-template-columns: 1fr 380px; gap: 40px; }
  .h1 { font-size: 80px; }
  .h2 { font-size: 54px; }
  .plus { grid-template-columns: 1fr; }
  .facts b { font-size: 36px; }
  .whys { grid-template-columns: repeat(2, 1fr); }
  .split, .split--r { grid-template-columns: 1fr 1fr; gap: 48px; }
  .split__ph, .split__ph--tall { height: 520px; }
  .cat__p { grid-template-columns: repeat(2, 1fr); }
  .nums, .sec--y .nums { grid-template-columns: 1fr 460px; gap: 48px; }
  .nums__t .h2, .sec--y .nums__t .h2 { font-size: 52px; }
  .kits { grid-template-columns: repeat(3, 1fr); }
  .case { grid-template-columns: 1fr; }
  .case__ph { height: 460px; }
  .fire__in { grid-template-columns: 1fr; min-height: 0; }
  .fire__h { font-size: 64px; }
  .causes { max-width: 560px; }
  .how { grid-template-columns: repeat(3, 1fr); gap: 40px 0; }
  .how li:nth-child(3)::after { display: none; }
  .revs { grid-template-columns: repeat(2, 1fr); }
  .serts { grid-template-columns: repeat(5, 1fr); }
  .foot__top { grid-template-columns: 1fr 1fr; }
  .foot__cta { grid-column: 1 / -1; }
}
@media (min-width: 721px) and (max-width: 1180px) {
  .cat__p:not(.cat__p--4) .other { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 300px; grid-template-rows: auto auto auto 1fr; column-gap: 40px; }
  .cat__p:not(.cat__p--4) .other > * { grid-column: 1; }
  .cat__p:not(.cat__p--4) .other .btn { justify-self: start; }
  .cat__p:not(.cat__p--4) .other .other__tigr { grid-column: 2; grid-row: 1 / -1; align-self: center; }
  .kit--help { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
}
@media (max-width: 900px) {
  .hero__in { grid-template-columns: 1fr; padding-top: 48px; }
  .hform { max-width: 520px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 20px 0; }
  .facts li:nth-child(4) { padding-left: 0; border-left: 0; }
  .head { flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 40px; }
  .split, .split--r, .nums, .sec--y .nums { grid-template-columns: 1fr; }
  .split--r .split__ph { order: -1; }
  .split__ph, .split__ph--tall { height: 420px; }
  .card-form { max-width: 560px; }
}
@media (max-width: 720px) {
  :root { --pad: 16px; --sec: 72px; }
  body { font-size: 15px; }
  .top__in { height: 68px; }
  .logo img { width: 38px; height: 38px; }
  .logo b { font-size: 19px; letter-spacing: 1.5px; }
  .logo small { font-size: 11px; }
  .burger { width: 44px; height: 44px; }
  .ey { font-size: 13px; letter-spacing: 1.6px; margin-bottom: 16px; }
  .ey i { width: 28px; }
  .h1 { font-size: 50px; line-height: 1.0; }
  .h2, .nums__t .h2, .sec--y .nums__t .h2 { font-size: 38px; }
  .h3 { font-size: 23px; }
  .hero__in { padding-top: 36px; padding-bottom: 40px; gap: 32px; }
  .hero__sub { margin-top: 20px; font-size: 16px; }
  .plus { margin-top: 24px; gap: 10px; }
  .plus li { font-size: 14px; }
  .hform { padding: 24px 20px; gap: 16px; }
  .hform__h { font-size: 26px; }
  .facts { grid-template-columns: repeat(2, 1fr); padding-bottom: 32px; }
  .facts li:nth-child(4) { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .18); }
  .facts li:nth-child(odd) { padding-left: 0; border-left: 0; }
  .facts b { font-size: 32px; }
  .head__lead { font-size: 15px; }
  .whys { grid-template-columns: 1fr; gap: 12px; }
  .why { min-height: 0; padding: 24px; }
  .why__top { margin-bottom: 24px; }
  .split__ph, .split__ph--tall { height: 300px; margin: 0 calc(var(--pad) * -1); }
  .badge18, .badge-res { left: 16px; bottom: 16px; }
  .badge-res { right: 16px; font-size: 18px; padding: 14px 16px; }
  .ways .h4 { font-size: 20px; }
  .inl { flex-direction: column; gap: 8px; }
  .inl .btn { width: 100%; }
  .btn { height: 54px; padding: 0 20px; font-size: 16px; }
  .tabs { margin: -16px 0 24px; flex-wrap: nowrap; overflow-x: auto; }
  .tabs label { flex: none; height: 44px; padding: 0 16px; font-size: 14px; }
  .cat__p, .cat__p--4 { grid-template-columns: 1fr; gap: 12px; }
  .prod__b { padding: 22px 20px; }
  .prod__media { height: 180px; }
  .prod__h { font-size: 24px; }
  .other { padding: 24px 20px; }
  .other__h { font-size: 28px; }
  .other__tigr { max-width: 240px; }
  .sec--teal, .sec--y { padding: 72px 0; }
  .nums__t > p { font-size: 17px; }
  .card-form, .sec--y .card-form { padding: 24px 20px; }
  .tigr { width: 220px; }
  .kits { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .kit > span { min-height: 64px; padding: 10px 12px; font-size: 15px; }
  .kit--help { padding: 18px 14px; gap: 10px; }
  .kit--help b { font-size: 19px; }
  .kit--help small { font-size: 13px; }
  .case__ph { height: 340px; grid-template-columns: 1.3fr 1fr; padding: 6px; gap: 6px; }
  .case__t { padding: 26px 20px; gap: 16px; }
  .case__h { font-size: 30px; }
  .case__f div { grid-template-columns: 110px 1fr; gap: 12px; }
  .case__f dd { font-size: 15px; }
  .fire__in { padding-top: 72px; padding-bottom: 72px; gap: 36px; }
  .fire__h { font-size: 44px; }
  .fire__t p { font-size: 16px; }
  .causes { padding: 24px 20px; }
  .how { grid-template-columns: 1fr; gap: 0; }
  .how li { display: grid; grid-template-columns: 48px 1fr; column-gap: 18px; padding: 0 0 28px; }
  .how li::after { display: block; top: 48px; bottom: 0; left: 23px; right: auto; width: 2px; height: auto; }
  .how li:nth-child(3)::after { display: block; }
  .how li:last-child { padding-bottom: 0; }
  .how li:last-child::after { display: none; }
  .how__n { grid-row: 1 / 3; width: 48px; height: 48px; margin: 0; font-size: 19px; }
  .how .h4 { margin: 10px 0 6px; font-size: 21px; }
  .how p { max-width: none; }
  .revs { grid-template-columns: 1fr; gap: 12px; }
  .rev__doc { height: 170px; }
  .rev__b { padding: 22px 20px; }
  .serts { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .sert { padding: 4px; }
  .foot { padding-top: 48px; }
  .foot__top { grid-template-columns: 1fr; gap: 32px; }
  .foot__bot { flex-direction: column; gap: 12px; }
  .lb { padding: 72px 8px 8px; }
  .lb img { max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); }
  .note__card { padding: 28px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
