/* Большегруз Северо-Запад — официальный дилер ПАО «КАМАЗ». Прототип.
   Шрифт — только Arial (требование «Руководства по фирменному стилю»).
   Палитра — основные цвета КАМАЗ: синий, небесно-синий, светло-серый, серебро; оранжевый — только акцент акций. */

:root {
  --navy-950: #040C1C;
  --navy-900: #071735;
  --navy-800: #0B2250;
  --navy-700: #12306B;
  --blue: #0B4EA2;
  --blue-600: #0A4590;
  --blue-500: #1F63C6;
  --sky: #4D94EA;
  --sky-200: #BCD6F6;
  --sky-100: #E3EEFC;
  --g-50: #F4F6F9;
  --g-100: #EBEFF4;
  --g-200: #DCE2EA;
  --g-300: #C3CCD8;
  --g-500: #67748A;
  --g-700: #384357;
  --ink: #0A1424;
  --white: #fff;
  --orange: #F07A24;

  --font: Arial, "Liberation Sans", sans-serif;
  --font-black: "Arial Black", Arial, sans-serif;

  --wrap: 1440px;
  --pad: clamp(16px, 4vw, 56px);
  --radius: 4px;
  --hdr-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr-h) + 16px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 16px/1.5 var(--font); color: var(--ink); background: var(--white); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- Типографика ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--g-500); }
/* Знак-маркер: две скошенные плашки из логотипа «Большегруз» (без коня и надписи) */
.eyebrow::before { content: ""; flex-shrink: 0; width: 40px; height: 9px; background: no-repeat center / contain
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 60 14'%3E%3Cpath d='M0 0H33L44.2 12H0Z' fill='%23222B50' stroke='%23222B50' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M38.2 0H46.2L57.2 12H49.2Z' fill='%2327B6CC' stroke='%2327B6CC' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.eyebrow--light { color: var(--sky-200); }
.eyebrow--light::before { background-image:
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-1 -1 60 14'%3E%3Cpath d='M0 0H33L44.2 12H0Z' fill='%23fff' stroke='%23fff' stroke-width='1.4' stroke-linejoin='round'/%3E%3Cpath d='M38.2 0H46.2L57.2 12H49.2Z' fill='%2327B6CC' stroke='%2327B6CC' stroke-width='1.4' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.h-display { font-family: var(--font-black); font-weight: 900; letter-spacing: -.045em; line-height: .9; margin: 0; }
.h2 { font-family: var(--font-black); font-weight: 900; font-size: clamp(34px, 4.6vw, 68px); line-height: .95; letter-spacing: -.04em; margin: 14px 0 0; }
.h3 { font-size: 22px; font-weight: 700; letter-spacing: -.01em; line-height: 1.2; margin: 0; }
.lead { font-size: clamp(17px, 1.4vw, 20px); line-height: 1.5; color: var(--g-700); max-width: 640px; }
.muted { color: var(--g-500); }
.mono { font-family: var(--font); font-variant-numeric: tabular-nums; }

/* ---------- Кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 56px; padding: 0 28px; border-radius: var(--radius);
  font-weight: 700; font-size: 15px; letter-spacing: .01em; transition: background .2s, color .2s, border-color .2s, transform .2s var(--ease); white-space: nowrap; }
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: var(--white); }
.btn--primary:hover { background: var(--blue-500); }
.btn--white { background: var(--white); color: var(--navy-900); }
.btn--white:hover { background: var(--sky-100); }
.btn--ghost { border: 1.5px solid rgba(255,255,255,.35); color: var(--white); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.06); }
.btn--line { border: 1.5px solid var(--g-300); color: var(--ink); }
.btn--line:hover { border-color: var(--ink); }
.btn--sm { height: 44px; padding: 0 18px; font-size: 14px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; color: var(--blue); }
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow--light { color: var(--white); }

/* ---------- Верхняя полоса ---------- */
.topbar { background: var(--navy-950); color: rgba(255,255,255,.72); font-size: 13px; }
.topbar .wrap { display: flex; align-items: center; gap: 28px; min-height: 40px; }
.topbar__status { color: var(--white); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.topbar__status i { width: 7px; height: 7px; border-radius: 50%; background: #3BD46A; box-shadow: 0 0 0 3px rgba(59,212,106,.18); }
.topbar__spacer { flex: 1; }
.topbar a:hover { color: var(--white); }
.topbar b { color: var(--white); font-weight: 700; }

/* ---------- Шапка ---------- */
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--g-200); transition: box-shadow .3s; }
.hdr.is-scrolled { box-shadow: 0 8px 32px rgba(7,23,53,.08); }
.hdr .wrap { display: flex; align-items: center; gap: 28px; height: var(--hdr-h); }
.brand { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.brand__mark { height: 58px; width: auto; }
.brand__sep { width: 1px; height: 40px; background: var(--g-300); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__logo { height: 42px; width: auto; align-self: flex-start; }
.brand__role { font-size: 12px; color: var(--blue); font-weight: 700; margin-top: 5px; white-space: nowrap; }
.ftr__brand .brand__logo { height: 64px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__link { white-space: nowrap; position: relative; display: inline-flex; align-items: center; gap: 6px; height: var(--hdr-h); padding: 0 12px; font-size: 15px; font-weight: 700; color: var(--g-700); transition: color .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"], .nav__link.is-active { color: var(--blue); }
.nav__link::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: -1px; height: 3px; background: var(--blue); transform: scaleX(0); transition: transform .3s var(--ease); }
.nav__link:hover::after, .nav__link[aria-expanded="true"]::after, .nav__link.is-active::after { transform: scaleX(1); }
.nav__link svg { width: 12px; height: 12px; transition: transform .25s; }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav__mobile { display: none; }
.hdr__cta { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.hdr__phone { display: flex; flex-direction: column; line-height: 1.15; text-align: right; }
.hdr__phone a { font-weight: 700; font-size: 17px; white-space: nowrap; }
.hdr__phone span { font-size: 12px; color: var(--g-500); }
.burger { display: none; width: 48px; height: 48px; align-items: center; justify-content: center; border: 1.5px solid var(--g-300); border-radius: var(--radius); }
.burger span, .burger span::before, .burger span::after { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; transition: transform .3s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

/* Мега-меню каталога */
.mega { position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--g-200); box-shadow: 0 30px 60px rgba(7,23,53,.12);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .3s var(--ease), visibility .25s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr) 1.1fr; gap: 40px; padding: 40px var(--pad) 44px; max-width: var(--wrap); margin: 0 auto; }
.mega__col h4 { margin: 0 0 16px; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-500); }
.mega__col h4 a:hover { color: var(--blue); }
.mega__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.mega__col li a { display: flex; align-items: center; gap: 14px; padding: 8px 10px; margin: 0 -10px; border-radius: var(--radius); font-weight: 700; transition: background .2s; }
.mega__col li a:hover { background: var(--g-50); color: var(--blue); }
.mega__col li svg { width: 64px; height: 28px; color: var(--navy-900); --cab: var(--blue); --body: var(--sky-200); --frame: var(--navy-800); --tyre: var(--navy-900); --rim: #fff; --glass: #fff; flex-shrink: 0; }
.mega__promo { background: var(--navy-900); color: var(--white); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.mega__promo p { margin: 0; color: rgba(255,255,255,.7); font-size: 14px; }
.mega__promo strong { display: block; font-family: var(--font-black); font-size: 26px; letter-spacing: -.03em; line-height: 1; margin: 10px 0; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.hero__grid-bg { position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1200px 600px at 78% 30%, rgba(31,99,198,.55), transparent 60%),
    radial-gradient(700px 500px at 10% 100%, rgba(11,78,162,.45), transparent 70%),
    linear-gradient(180deg, var(--navy-900) 0%, var(--navy-950) 100%); }
.hero__grid-bg::after { content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px);
  background-size: 48px 48px; mask-image: linear-gradient(180deg, transparent 0%, #000 30%, #000 70%, transparent 100%); }
.hero__word { position: absolute; z-index: -1; left: 50%; top: 52px; transform: translateX(-50%); font-family: var(--font-black); font-size: clamp(160px, 27vw, 420px);
  letter-spacing: -.06em; line-height: .8; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.12); white-space: nowrap; user-select: none; pointer-events: none; }
.hero__photo { position: absolute; z-index: -1; top: 0; bottom: 0; left: 34%; right: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 18% 55%; }
.hero__photo::after { content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, var(--navy-900) 0%, rgba(7,23,53,.75) 14%, rgba(7,23,53,0) 38%),
    linear-gradient(0deg, var(--navy-950) 0%, rgba(4,12,28,.7) 20%, rgba(4,12,28,0) 42%),
    linear-gradient(180deg, rgba(7,23,53,.45) 0%, rgba(7,23,53,0) 22%); }
.hero__tag { position: absolute; right: var(--pad); bottom: 168px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 12px;
  background: rgba(4,12,28,.55); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; color: var(--white); font-size: 13px; font-weight: 700; }
.bp__ring-static { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); box-shadow: 0 0 0 4px rgba(77,148,234,.25); }
.hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; align-items: end; padding-top: clamp(56px, 7vw, 104px); padding-bottom: 40px; min-height: min(760px, calc(100svh - var(--hdr-h) - 40px)); }
.hero__copy { position: relative; z-index: 2; padding-bottom: 24px; }
.hero h1 { font-size: clamp(42px, 5.2vw, 82px); margin-top: 22px; }
.hero h1 em { font-style: normal; color: var(--sky); }
.hero__lead { margin: 28px 0 36px; font-size: clamp(16px, 1.25vw, 19px); color: rgba(255,255,255,.74); max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; z-index: 1; margin-right: calc(var(--pad) * -1); margin-left: -8%; }
.hero__art svg { width: 100%; height: auto; overflow: visible; }
.hero__facts { position: relative; z-index: 2; grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.14); margin-top: 8px; }
.hero__facts div { padding: 24px 24px 4px 0; }
.hero__facts div + div { padding-left: 24px; border-left: 1px solid rgba(255,255,255,.14); }
.hero__facts b { display: block; font-family: var(--font-black); font-size: clamp(26px, 2.6vw, 40px); letter-spacing: -.04em; line-height: 1; }
.hero__facts span { display: block; margin-top: 8px; font-size: 14px; color: rgba(255,255,255,.6); }

/* Чертёж в hero */
.bp { color: rgba(255,255,255,.92); --cab: var(--blue); --body: #7FA8E0; --frame: #0E1D3D; --tyre: #050C1A; --rim: #DCE7F7; --glass: rgba(220,235,255,.85); --light: #FFE7A8; }
.bp__ghost { fill: none; stroke: rgba(255,255,255,.28); stroke-width: 1.5; stroke-dasharray: 6 6; }
.bp__dim { stroke: var(--sky); stroke-width: 1.2; fill: none; }
.bp__tick { stroke: var(--sky); stroke-width: 1.2; }
.bp__label { fill: var(--sky-200); font: 700 13px var(--font); letter-spacing: .06em; text-transform: uppercase; }
.bp__label--big { fill: var(--white); font: 700 15px var(--font); letter-spacing: .02em; text-transform: none; }
.bp__dot { fill: var(--sky); }
.bp__ring { fill: none; stroke: var(--sky); stroke-width: 1.2; opacity: .6; transform-box: fill-box; transform-origin: center; animation: ping 2.6s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.6); opacity: .9; } 100% { transform: scale(2.2); opacity: 0; } }
.bp__ground { stroke: rgba(255,255,255,.35); stroke-width: 1.5; }
.bp__draw { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* Быстрые разделы под hero */
.quick { background: var(--navy-950); }
.quick__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255,255,255,.1); border-top: 1px solid rgba(255,255,255,.1); }
.quick a { position: relative; background: var(--navy-950); color: var(--white); padding: 26px 24px 24px; min-height: 168px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; transition: background .3s; }
.quick a:hover { background: var(--navy-800); }
.quick__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; opacity: .62; transition: transform .8s var(--ease), opacity .4s; }
.quick a:has(.quick__photo)::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(4,12,28,.95) 0%, rgba(4,12,28,.55) 45%, rgba(4,12,28,.15) 100%); }
.quick a:hover .quick__photo { transform: scale(1.06); opacity: .8; }
.quick__draw { position: absolute; z-index: 1; right: 20px; top: 16px; width: min(230px, 62%); height: auto; opacity: .62; transition: opacity .3s, transform .5s var(--ease); }
.quick a:hover .quick__draw { opacity: 1; transform: translateX(-8px); }
.quick__cut { position: absolute; z-index: 1; right: 14px; top: 8px; height: 82%; width: auto; transition: transform .6s var(--ease); }
.quick a:hover .quick__cut { transform: translateX(-6px) rotate(-2deg); }
.quick__n, .quick__t { position: relative; z-index: 2; }
.quick__n { font-size: 12px; color: rgba(255,255,255,.45); letter-spacing: .12em; }
.quick__t { font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.quick__t svg { width: 20px; height: 20px; transition: transform .3s var(--ease); flex-shrink: 0; }
.quick a:hover .quick__t svg { transform: translateX(4px); }
.quick__img { position: absolute; right: 20px; top: 18px; width: 170px; height: 74px; color: rgba(255,255,255,.55); --cab: rgba(77,148,234,.35); --body: rgba(255,255,255,.08); --frame: rgba(255,255,255,.12); --tyre: rgba(4,12,28,.9); --rim: rgba(255,255,255,.18); --glass: rgba(255,255,255,.12); --light: rgba(255,231,168,.6); transition: transform .5s var(--ease), color .3s; }
.quick a:hover .quick__img { transform: translateX(-10px); color: rgba(255,255,255,.9); }

/* ---------- Секции ---------- */
.section { padding: clamp(72px, 9vw, 136px) 0; }
.section--gray { background: var(--g-50); }
.section--dark { background: var(--navy-900); color: var(--white); }
.section--dark .lead { color: rgba(255,255,255,.7); }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 4vw, 56px); }
.section__head .lead { margin: 18px 0 0; }

/* ---------- Акции (слайдер) ---------- */
.promo { position: relative; }
.promo__viewport { overflow: hidden; border-radius: var(--radius); }
.promo__track { display: flex; transition: transform .8s var(--ease); }
.promo__slide { flex: 0 0 100%; position: relative; min-height: 420px; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; color: var(--white); overflow: hidden; isolation: isolate; }
.promo__slide--a { background: linear-gradient(110deg, var(--navy-800) 0%, var(--blue) 100%); }
.promo__slide--b { background: linear-gradient(110deg, #0A1A36 0%, #193E7C 100%); }
.promo__slide--c { background: linear-gradient(110deg, #10213F 0%, #2C4B78 100%); }
.promo__body { padding: clamp(32px, 5vw, 72px); position: relative; z-index: 2; }
.promo__tag { display: inline-block; padding: 6px 10px; background: var(--orange); color: var(--white); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; border-radius: 2px; }
.promo__title { font-family: var(--font-black); font-size: clamp(32px, 4vw, 60px); letter-spacing: -.04em; line-height: .95; margin: 20px 0 16px; }
.promo__text { color: rgba(255,255,255,.78); max-width: 460px; margin: 0 0 28px; }
.promo__art { position: relative; height: 100%; min-height: 300px; }
.promo__art svg { position: absolute; right: 6%; bottom: 14%; width: 88%; height: auto; color: rgba(255,255,255,.9); --cab: #fff; --body: rgba(255,255,255,.18); --frame: rgba(4,12,28,.6); --tyre: #061226; --rim: #C9D9F2; --glass: var(--sky-200); --light: #FFE7A8; }
.promo__leasing { position: absolute; right: 40px; top: 36px; width: 240px; opacity: .95; }
.promo__big { position: absolute; right: -2%; top: 50%; transform: translateY(-50%); font-family: var(--font-black); font-size: 300px; line-height: .8; letter-spacing: -.06em; color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); }
.promo__ctrl { display: flex; align-items: center; gap: 16px; margin-top: 20px; }
.promo__dots { display: flex; gap: 8px; flex: 1; }
.promo__dot { position: relative; height: 3px; flex: 0 0 64px; background: var(--g-200); overflow: hidden; }
.promo__dot i { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.promo__dot.is-active i { animation: fill 6s linear forwards; }
.promo__dot.is-done i { transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
.promo__arrows { display: flex; gap: 8px; }
.icon-btn { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid var(--g-300); border-radius: 50%; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--ink); }
.icon-btn svg { width: 18px; height: 18px; }
.promo__note { font-size: 13px; color: var(--g-500); }

/* ---------- Каталог ---------- */
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--g-100); border-radius: 6px; }
.tab { white-space: nowrap; height: 44px; padding: 0 20px; border-radius: 4px; font-weight: 700; font-size: 15px; color: var(--g-700); transition: background .2s, color .2s; }
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--white); color: var(--blue); box-shadow: 0 1px 3px rgba(7,23,53,.1); }
.filters { display: flex; flex-wrap: wrap; gap: 28px; align-items: center; margin: 28px 0 32px; padding-bottom: 24px; border-bottom: 1px solid var(--g-200); }
.filter { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.filter__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--g-500); margin-right: 4px; }
.chip { height: 36px; padding: 0 14px; border-radius: 18px; border: 1.5px solid var(--g-300); font-size: 14px; font-weight: 700; color: var(--g-700); transition: all .2s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.filters__count { margin-left: auto; font-size: 14px; color: var(--g-500); }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--g-50); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .3s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px rgba(7,23,53,.1); background: var(--white); }
.card.is-hidden { display: none; }
/* Фото и габаритные чертежи моделей (kamaz.ru) */
.card__media:has(img) { padding: 0; background: var(--white); }
.card__media:has(img)::after { display: none; }
.card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .45s var(--ease), transform .8s var(--ease); }
.card__media--studio .card__photo { object-fit: contain; padding: 10px 14px; }
.card__draw { object-fit: contain !important; padding: 14px 16px; background: var(--white); opacity: 0; }
.card__media--draw .card__draw { opacity: 1; }
.card:hover .card__photo { transform: scale(1.04); }
.card:hover .card__media:has(.card__photo) .card__draw { opacity: 1; }
.card__hint { position: absolute; right: 12px; bottom: 12px; z-index: 2; height: 26px; padding: 0 10px; display: inline-flex; align-items: center; gap: 6px; border-radius: 13px;
  background: rgba(10,20,36,.72); color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); transition: background .3s; }
.card__hint::before { content: ""; width: 12px; height: 8px; border: 1.5px solid currentColor; border-radius: 1px; }
.card:hover .card__hint { background: var(--blue); }
/* Слайды акций с фото */
.promo__photo { position: absolute; inset: 0 0 0 38%; z-index: 0; }
.promo__photo img { width: 100%; height: 100%; object-fit: cover; }
.promo__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--slide-bg, #0B2250) 0%, rgba(11,34,80,.55) 22%, rgba(11,34,80,0) 50%); }
.promo__slide--a { --slide-bg: #0B2250; }
.promo__slide--b { --slide-bg: #0A1A36; }
.promo__art { z-index: 1; }
/* Чертёж-подложка в тёмной секции */
.section--blueprint { position: relative; overflow: hidden; isolation: isolate; }
.section--blueprint::before { content: ""; position: absolute; z-index: -1; right: -12%; top: 260px; width: min(1100px, 80%); aspect-ratio: 1200 / 584;
  background: url("../img/k5-top-bg.jpg") center / contain no-repeat; opacity: .6; }
.card__media { position: relative; aspect-ratio: 16 / 9; display: flex; align-items: flex-end; padding: 24px 20px 18px; background:
   linear-gradient(var(--g-200) 1px, transparent 1px) 0 0 / 24px 24px, linear-gradient(90deg, var(--g-200) 1px, transparent 1px) 0 0 / 24px 24px; background-color: var(--g-100); }
.card__media::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 1px; background: var(--g-300); }
.card__media svg { position: relative; z-index: 1; width: 100%; height: auto; color: var(--navy-900); --cab: var(--blue); --body: var(--sky-200); --frame: var(--navy-800); --tyre: var(--navy-900); --rim: #fff; --glass: #fff; --light: #FFE7A8; transition: transform .6s var(--ease); }
.card:hover .card__media svg { transform: translateX(-8px); }
.card__badges { position: absolute; left: 16px; top: 16px; display: flex; gap: 6px; z-index: 2; }
.badge { height: 26px; padding: 0 10px; display: inline-flex; align-items: center; border-radius: 2px; font-size: 12px; font-weight: 700; letter-spacing: .04em; background: var(--white); color: var(--ink); }
.badge--blue { background: var(--blue); color: var(--white); }
.badge--k5 { background: var(--ink); color: var(--white); }
.card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.card__type { font-size: 13px; color: var(--g-500); font-weight: 700; }
.card__name { font-family: var(--font-black); font-size: 26px; letter-spacing: -.03em; line-height: 1.05; margin: 6px 0 16px; }
.specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--g-200); border: 1px solid var(--g-200); margin: 0 0 20px; }
.specs div { background: var(--white); padding: 10px 12px; }
.card:hover .specs div { background: var(--g-50); }
.specs dt { font-size: 11px; color: var(--g-500); letter-spacing: .06em; text-transform: uppercase; }
.specs dd { margin: 2px 0 0; font-weight: 700; font-size: 15px; }
.card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card__price { font-weight: 700; }
.card__price small { display: block; font-weight: 400; font-size: 12px; color: var(--g-500); }
.card__link::before { content: ""; position: absolute; inset: 0; z-index: 3; }
.cards__more { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 32px; padding: 24px 28px; border: 1.5px dashed var(--g-300); border-radius: var(--radius); }
.cards__more p { margin: 0; color: var(--g-700); }
.cards__empty { display: none; padding: 48px; text-align: center; color: var(--g-500); background: var(--g-50); }
.cards__empty.is-shown { display: block; grid-column: 1 / -1; }

/* ---------- Лизинг ---------- */
.leasing { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--white); border: 1px solid var(--g-200); }
.leasing__main { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 28px; }
.leasing__logo { width: min(340px, 100%); }
.leasing__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.leasing__steps li { counter-increment: s; border-top: 2px solid var(--blue); padding-top: 14px; font-size: 15px; }
.leasing__steps li::before { content: "0" counter(s); display: block; font-family: var(--font-black); font-size: 13px; color: var(--blue); margin-bottom: 8px; }
.leasing__side { background: var(--blue); color: var(--white); padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 24px; position: relative; overflow: hidden; }
.leasing__side::after { content: "%"; position: absolute; right: -30px; bottom: -110px; font-family: var(--font-black); font-size: 380px; line-height: 1; color: rgba(255,255,255,.07); }
.leasing__side h3 { font-family: var(--font-black); font-size: clamp(22px, 2vw, 28px); letter-spacing: -.03em; line-height: 1; margin: 0; }
.fin-list { list-style: none; margin: 0; padding: 0; position: relative; z-index: 1; }
.fin-list li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.fin-list li span { font-weight: 400; color: rgba(255,255,255,.7); text-align: right; font-size: 14px; }

/* ---------- Сервис ---------- */
.service { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: start; }
.works { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.works li { display: grid; grid-template-columns: 48px 1fr auto; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 17px; font-weight: 700; transition: padding .3s var(--ease), color .2s; }
.works li:hover { padding-left: 8px; color: var(--sky-200); }
.works li span { font-size: 12px; color: rgba(255,255,255,.4); font-weight: 400; letter-spacing: .1em; }
.works li em { font-style: normal; font-weight: 400; font-size: 13px; color: rgba(255,255,255,.5); text-align: right; }
.service__aside { display: grid; gap: 16px; position: sticky; top: calc(var(--hdr-h) + 24px); }
.panel { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); padding: 28px; }
.panel--white { background: var(--white); color: var(--ink); border-color: transparent; }
.panel h3 { margin: 0 0 6px; font-size: 20px; }
.panel p { margin: 0; }
.hotline { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.hotline__num { font-family: var(--font-black); font-size: clamp(26px, 2.4vw, 34px); letter-spacing: -.03em; color: var(--white); white-space: nowrap; }
.rate { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rate b { display: block; font-family: var(--font-black); font-size: 30px; letter-spacing: -.03em; }
.quality { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
.quality__icon { width: 56px; height: 56px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; }
.quality__icon svg { width: 26px; height: 26px; color: #fff; }

/* ---------- Формы ---------- */
.form { display: grid; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { position: relative; }
.field input, .field select, .field textarea { width: 100%; height: 56px; padding: 22px 16px 8px; border: 1.5px solid var(--g-300); border-radius: var(--radius); background: var(--white); outline: none; transition: border-color .2s; appearance: none; }
.field textarea { height: 112px; resize: vertical; padding-top: 26px; }
.field label { position: absolute; left: 17px; top: 18px; color: var(--g-500); font-size: 15px; pointer-events: none; transition: all .2s var(--ease); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label,
.field select + label { top: 8px; font-size: 12px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2367748A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--g-500); }
.check input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--blue); flex-shrink: 0; }
.check a { text-decoration: underline; }
.form__ok { display: none; padding: 16px; border-radius: var(--radius); background: #E6F6EC; color: #145C2E; font-weight: 700; }
.form.is-sent .form__ok { display: block; }

/* ---------- Запчасти ---------- */
.parts { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; }
.parts__card { grid-column: span 4; background: var(--white); border: 1px solid var(--g-200); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 260px; transition: border-color .3s, transform .4s var(--ease); }
.parts__card:hover { border-color: var(--blue); transform: translateY(-3px); }
.parts__card h3 { font-size: 21px; margin: 0; }
.parts__card p { margin: 0; color: var(--g-700); font-size: 15px; }
.parts__card .link-arrow { margin-top: auto; }
.parts__num { font-family: var(--font-black); font-size: 13px; color: var(--blue); letter-spacing: .08em; }
.parts__card--feature { grid-column: span 12; display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; background: var(--ink); color: var(--white); border: 0; padding: clamp(28px, 4vw, 56px); overflow: hidden; position: relative; min-height: 0; }
.parts__card--feature:hover { transform: none; }
.parts__card--feature p { color: rgba(255,255,255,.7); }
.parts__card--feature .h2 { font-size: clamp(30px, 3.4vw, 50px); }
.parts__gear { position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; color: rgba(255,255,255,.18); --body: rgba(255,255,255,.04); --cab: rgba(77,148,234,.15); --rim: var(--ink); animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.parts__form { position: relative; z-index: 1; background: var(--white); color: var(--ink); padding: 24px; border-radius: var(--radius); }

/* ---------- О компании (тизер) ---------- */
.about-teaser { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--g-200); border: 1px solid var(--g-200); }
.nums div { background: var(--white); padding: 28px 24px; }
.nums b { display: block; font-family: var(--font-black); font-size: clamp(40px, 4.4vw, 64px); letter-spacing: -.05em; line-height: .9; color: var(--blue); }
.nums span { display: block; margin-top: 10px; font-size: 15px; color: var(--g-700); }
.cert { display: grid; grid-template-columns: 132px 1fr; gap: 24px; align-items: center; margin-top: 32px; padding: 20px; border: 1px solid var(--g-200); border-radius: var(--radius); background: var(--white); transition: border-color .3s; }
.cert:hover { border-color: var(--blue); }
.cert__doc { aspect-ratio: 210 / 297; background: var(--white); border: 1px solid var(--g-300); box-shadow: 6px 6px 0 var(--g-100); position: relative; padding: 12px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cert__doc img { width: 34px; }
.cert__doc i { display: block; height: 3px; width: 80%; background: var(--g-200); }
.cert__doc i:nth-child(3) { width: 90%; height: 5px; background: var(--blue); margin-top: 4px; }
.cert__doc i:last-child { width: 30px; height: 30px; border-radius: 50%; background: none; border: 2px solid rgba(11,78,162,.5); margin-top: auto; }
.cert h3 { font-size: 18px; margin: 0 0 6px; }
.cert p { margin: 0 0 10px; font-size: 14px; color: var(--g-500); }

/* ---------- Новости ---------- */
.news { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 20px; }
.news__item { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px; border: 1px solid var(--g-200); border-radius: var(--radius); background: var(--white); min-height: 300px; transition: border-color .3s, transform .4s var(--ease); }
.news__item:hover { border-color: var(--blue); transform: translateY(-3px); }
.news__item--main { background: var(--navy-900); color: var(--white); border-color: transparent; }
.news__item--main .news__date { color: var(--sky-200); }
.news .news__item--main p { color: rgba(255,255,255,.7); }
.news__date { font-size: 13px; color: var(--g-500); font-weight: 700; display: flex; gap: 10px; align-items: center; }
.news__src { padding: 3px 8px; border-radius: 2px; background: var(--sky-100); color: var(--blue); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.news__item--main .news__src { background: rgba(255,255,255,.12); color: var(--white); }
.news__item h3 { margin: 0; font-size: 20px; line-height: 1.25; }
.news__item--main h3 { font-family: var(--font-black); font-size: clamp(24px, 2.2vw, 32px); letter-spacing: -.03em; line-height: 1.08; }
.news__item p { margin: 0; font-size: 15px; color: var(--g-700); }
.news__item .link-arrow { margin-top: auto; }
.news__item a::before { content: ""; position: absolute; inset: 0; }
.rss-note { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--g-500); }
.rss-note i { width: 8px; height: 8px; border-radius: 50%; background: #3BD46A; }

/* ---------- Обратная связь ---------- */
.feedback { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(32px, 6vw, 96px); }
.ftypes { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.14); }
.ftype { width: 100%; display: grid; grid-template-columns: 40px 1fr 24px; align-items: center; gap: 12px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.14); text-align: left; color: rgba(255,255,255,.6); transition: color .2s, padding .3s var(--ease); }
.ftype b { display: block; font-size: 19px; color: inherit; }
.ftype small { display: block; font-size: 14px; margin-top: 2px; color: rgba(255,255,255,.5); }
.ftype > span:first-child { font-size: 12px; letter-spacing: .1em; }
.ftype svg { width: 20px; height: 20px; opacity: 0; transition: opacity .2s, transform .3s var(--ease); transform: translateX(-6px); }
.ftype:hover { color: var(--white); }
.ftype[aria-selected="true"] { color: var(--white); padding-left: 10px; }
.ftype[aria-selected="true"] svg { opacity: 1; transform: none; }
.feedback__card { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 48px); align-self: start; }
.feedback__card h3 { font-family: var(--font-black); font-size: clamp(26px, 2.4vw, 36px); letter-spacing: -.03em; line-height: 1; margin: 0 0 8px; }
.feedback__card > p { margin: 0 0 28px; color: var(--g-500); }
.is-off { display: none !important; }

/* ---------- Контакты ---------- */
.contacts { display: grid; grid-template-columns: 1fr 1.4fr; border: 1px solid var(--g-200); border-radius: var(--radius); overflow: hidden; }
.contacts__info { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; gap: 26px; }
.contacts__row { display: grid; gap: 4px; }
.contacts__row dt { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--g-500); font-weight: 700; }
.contacts__row dd { margin: 0; font-size: 18px; font-weight: 700; }
.contacts__row dd span { display: block; font-size: 14px; font-weight: 400; color: var(--g-500); }
.map { position: relative; min-height: 460px; background: #E9EDF2; overflow: hidden; }
.map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.map__pin { position: absolute; left: 54%; top: 46%; transform: translate(-50%, -100%); display: flex; flex-direction: column; align-items: center; }
.map__pin-card { background: var(--ink); color: var(--white); padding: 12px 16px; border-radius: var(--radius); font-size: 14px; white-space: nowrap; box-shadow: 0 12px 30px rgba(7,23,53,.25); }
.map__pin-card b { display: block; font-size: 15px; }
.map__pin::after { content: ""; width: 2px; height: 26px; background: var(--ink); }
.map__pin-dot { width: 16px; height: 16px; border-radius: 50%; background: var(--blue); border: 3px solid var(--white); box-shadow: 0 0 0 6px rgba(11,78,162,.25); margin-top: -2px; }
.map__actions { position: absolute; left: 20px; bottom: 20px; display: flex; gap: 8px; flex-wrap: wrap; }

/* ---------- Подвал ---------- */
.ftr { background: var(--g-50); padding: clamp(56px, 7vw, 96px) 0 0; overflow: hidden; }
.ftr__top { display: grid; grid-template-columns: 1.3fr repeat(4, 1fr); gap: 32px; padding-bottom: 48px; border-bottom: 1px solid var(--g-200); }
.ftr__brand p { font-size: 14px; color: var(--g-500); margin: 16px 0 0; max-width: 300px; }
.ftr h4 { margin: 0 0 16px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--g-500); }
.ftr ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; }
.ftr ul a:hover { color: var(--blue); }
.ftr__partners { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--g-200); border: 1px solid var(--g-200); margin: 40px 0; }
.ftr__partners a { background: var(--white); padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; transition: background .2s; min-height: 96px; justify-content: center; }
.ftr__partners a:hover { background: var(--sky-100); }
.ftr__partners b { font-size: 15px; }
.ftr__partners span { font-size: 13px; color: var(--g-500); }
.ftr__partners img { height: 34px; width: auto; align-self: flex-start; }
.ftr__legal { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 13px; color: var(--g-500); padding-bottom: 24px; }
.ftr__legal a { text-decoration: underline; }
.ftr__word { font-family: var(--font-black); font-size: clamp(44px, 12.2vw, 186px); letter-spacing: -.06em; line-height: .78; color: var(--ink); margin: 8px 0 -0.06em; white-space: nowrap; text-align: center; user-select: none; }
.ftr__word span { color: var(--blue); }

/* ---------- Плавающие элементы ---------- */
.chat { position: fixed; right: 24px; bottom: 24px; z-index: 40; display: flex; align-items: center; gap: 12px; height: 60px; padding: 0 24px 0 8px; border-radius: 30px; background: var(--blue); color: var(--white); box-shadow: 0 16px 40px rgba(11,78,162,.35); font-weight: 700; transition: transform .3s var(--ease); }
.chat:hover { transform: translateY(-2px); }
.chat__ava { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.16); display: flex; align-items: center; justify-content: center; position: relative; }
.chat__ava svg { width: 22px; height: 22px; }
.chat__ava::after { content: ""; position: absolute; right: 1px; bottom: 1px; width: 11px; height: 11px; border-radius: 50%; background: #3BD46A; border: 2px solid var(--blue); }
.chat small { display: block; font-weight: 400; font-size: 12px; opacity: .75; }


/* ---------- Внутренние страницы ---------- */
.crumbs { display: flex; gap: 10px; font-size: 13px; color: rgba(255,255,255,.55); }
.crumbs a:hover { color: var(--white); }
.page-hero { position: relative; background: var(--navy-900); color: var(--white); overflow: hidden; isolation: isolate; }
.page-hero .wrap { padding-top: clamp(40px, 5vw, 72px); padding-bottom: clamp(48px, 6vw, 88px); display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.page-hero h1 { font-size: clamp(52px, 8vw, 128px); margin-top: 28px; }
.page-hero__lead { font-size: clamp(17px, 1.4vw, 21px); color: rgba(255,255,255,.75); margin: 0; max-width: 560px; }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 2px solid var(--ink); }
.timeline li { list-style: none; padding: 28px 28px 0 0; position: relative; }
.timeline li::before { content: ""; position: absolute; top: -8px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
.timeline li.is-now::before { background: var(--blue); border-color: var(--blue); box-shadow: 0 0 0 6px rgba(11,78,162,.18); }
.timeline b { display: block; font-family: var(--font-black); font-size: clamp(34px, 3.6vw, 52px); letter-spacing: -.05em; line-height: 1; }
.timeline h3 { margin: 14px 0 8px; font-size: 18px; }
.timeline p { margin: 0; color: var(--g-700); font-size: 15px; }
.timeline-wrap { padding: 0; margin: 0; }
.acts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--g-200); border: 1px solid var(--g-200); }
.act { background: var(--white); padding: clamp(24px, 3vw, 40px); display: grid; grid-template-columns: 56px 1fr; gap: 20px; }
.act__n { font-family: var(--font-black); font-size: 14px; color: var(--blue); padding-top: 4px; }
.act h3 { margin: 0 0 10px; font-size: 22px; }
.act ul { margin: 0; padding: 0 0 0 18px; color: var(--g-700); display: grid; gap: 6px; font-size: 15px; }
.site { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.site__plan { position: relative; background: var(--navy-900); border-radius: var(--radius); min-height: 480px; overflow: hidden; color: var(--white); }
.site__plan svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.site__plan-cap { position: absolute; left: 24px; top: 22px; z-index: 1; }
.site__facts { display: grid; gap: 1px; background: var(--g-200); border: 1px solid var(--g-200); align-content: start; }
.site__facts div { background: var(--white); padding: 22px 24px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: baseline; }
.site__facts dt { color: var(--g-700); }
.site__facts dd { margin: 0; font-weight: 700; font-size: 18px; text-align: right; }
.team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.person { border: 1px solid var(--g-200); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 4px; background: var(--white); }
.person__ava { width: 56px; height: 56px; border-radius: 50%; background: var(--g-100); margin-bottom: 14px; display: flex; align-items: center; justify-content: center; font-family: var(--font-black); color: var(--g-500); }
.person b { font-size: 17px; }
.person span { color: var(--g-500); font-size: 14px; }
.person a { margin-top: 10px; font-weight: 700; }
.person a + a { margin-top: 0; font-weight: 400; color: var(--blue); font-size: 14px; }
.reqs { width: 100%; border-collapse: collapse; font-size: 15px; }
.reqs th, .reqs td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--g-200); vertical-align: top; }
.reqs th { width: 40%; color: var(--g-500); font-weight: 400; padding-right: 24px; }
.reqs td { font-weight: 700; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.quote { font-family: var(--font-black); font-size: clamp(28px, 3vw, 44px); letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.quote span { color: var(--blue); }

/* ---------- Появление при скролле ---------- */
.rv { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .rv { opacity: 1; transform: none; }
  .bp__draw { stroke-dashoffset: 0; }
}

/* ---------- Адаптив ---------- */
@media (max-width: 1280px) {
  .nav__link { padding: 0 9px; font-size: 14px; }
  .hdr__phone span { display: none; }
  .brand__name { font-size: 15px; }
}
@media (max-width: 1140px) {
  .nav, .hdr__cta .btn { display: none; }
  .hdr__cta { margin-left: auto; }
  .burger { display: inline-flex; }
  /* backdrop-filter делает шапку контейнером для position:fixed — на мобильных отключаем */
  .hdr { backdrop-filter: none; background: var(--white); }
  .nav.is-open { display: flex; position: fixed; inset: var(--nav-top, var(--hdr-h)) 0 0 0; z-index: 60; background: var(--white); flex-direction: column; align-items: stretch; padding: 16px var(--pad); overflow: auto; gap: 0; }
  .nav.is-open .nav__link { height: 60px; border-bottom: 1px solid var(--g-200); font-size: 18px; padding: 0; }
  .nav.is-open .nav__link::after { display: none; }
  .nav.is-open .nav__mobile { display: grid; gap: 10px; margin-top: auto; padding: 28px 0 12px; }
  .nav__phone { font-family: var(--font-black); font-size: 24px; letter-spacing: -.02em; }
  .nav__mobile span { font-size: 13px; color: var(--g-500); }
  .nav__mobile span a { color: var(--ink); font-weight: 700; white-space: nowrap; }
  .nav__mobile .btn { margin-top: 8px; }
  .mega { position: static; box-shadow: none; border: 0; display: none; opacity: 1; visibility: visible; transform: none; }
  .mega.is-open { display: block; }
  .mega__grid { grid-template-columns: 1fr; padding: 16px 0; gap: 24px; }
  .hero .wrap { grid-template-columns: minmax(0, 1fr); min-height: 0; padding-top: min(62vw, 480px); }
  .hero__photo { left: 0; bottom: auto; height: min(80vw, 620px); -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero__photo img { object-position: 30% 50%; }
  .hero__photo::after { background: linear-gradient(0deg, rgba(7,23,53,.5) 0%, rgba(7,23,53,0) 50%); }
  .hero__tag { display: none; }
  .hero__art { margin: 0 calc(var(--pad) * -1) 0 0; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .service, .about-teaser, .feedback, .split { grid-template-columns: 1fr; }
  .service__aside { position: static; }
  .leasing { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr 1fr; }
  .news__item--main { grid-column: 1 / -1; }
  .ftr__top { grid-template-columns: 1fr 1fr 1fr; }
  .ftr__brand { grid-column: 1 / -1; }
  .ftr__partners { grid-template-columns: 1fr 1fr; }
  .page-hero .wrap, .site { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .topbar__addr { display: none; }
}
@media (max-width: 760px) {
  :root { --hdr-h: 64px; }
  .topbar__hot, .topbar .wrap > span:last-child { display: none; }
  .brand__mark { height: 46px; }
  .brand__sep { height: 32px; }
  .brand__role { font-size: 11px; }
  .brand__logo { height: 34px; }
  .hdr__phone { display: none; }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .hero__facts div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .hero__actions .btn { flex: 1 1 100%; }
  .quick__grid { grid-template-columns: 1fr 1fr; }
  .quick a { min-height: 132px; padding: 18px 16px; }
  .quick__img { width: 120px; height: 52px; top: 12px; }
  .quick__t { font-size: 16px; }
  .quick__cut { height: 62%; right: 8px; top: 10px; }
  .section__head { flex-direction: column; align-items: flex-start; }
  .promo__slide { grid-template-columns: 1fr; min-height: 520px; }
  .promo__art { min-height: 200px; }
  .promo__photo { inset: auto 0 0 0; height: 44%; }
  .promo__photo::after { background: linear-gradient(180deg, var(--slide-bg, #0B2250) 0%, rgba(11,34,80,0) 45%); }
  .section--blueprint::before { width: 140%; right: -40%; top: 20px; opacity: .6; }
  .promo__leasing { position: static; width: 180px; margin-bottom: 18px; }
  .promo__big { font-size: 180px; }
  .tabs { display: flex; overflow-x: auto; max-width: 100%; }
  .tab { flex-shrink: 0; padding: 0 14px; }
  .filters { gap: 16px; }
  .filters__count { margin-left: 0; }
  .cards { grid-template-columns: 1fr; }
  .leasing__steps { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .parts__card { grid-column: span 12; }
  .parts__card--feature { grid-template-columns: 1fr; }
  .news { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .map { min-height: 340px; }
  .ftr__top { grid-template-columns: 1fr 1fr; }
  .ftr__partners { grid-template-columns: 1fr; }
  .works li { grid-template-columns: 36px 1fr; }
  .works li em { display: none; }
  .chat { right: 16px; bottom: 16px; padding: 0 8px; }
  .chat > span:last-child { display: none; }
  .timeline { grid-template-columns: 1fr; border-top: 0; border-left: 2px solid var(--ink); }
  .timeline li { padding: 0 0 32px 28px; }
  .timeline li::before { left: -8px; top: 8px; }
  .acts { grid-template-columns: 1fr; }
  .act { grid-template-columns: 1fr; gap: 8px; }
  .team { grid-template-columns: 1fr; }
  .reqs th { width: 45%; }
}
