/* ==========================================================================
   CARS-CITY — монохромная дизайн-система
   Чёрно-белая палитра, крупная типографика, тонкие линии.
   Ни одного цветного акцента: только оттенки серого и белый свет.
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable.woff2') format('woff2-variations'),
       url('../fonts/InterVariable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  src: url('../fonts/InterVariable-italic.woff2') format('woff2-variations'),
       url('../fonts/InterVariable-italic.woff2') format('woff2');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #0a0a0b;
  --bg-2: #0d0d0f;
  --panel: #121214;
  --panel-2: #17171a;
  --sheet: #f2f1ee;
  --sheet-2: #e7e6e2;
  --ink: #0a0a0b;
  --text: #f3f3f4;
  --text-2: #c3c4c8;
  --muted: #8e8f95;
  --dim: #5c5d63;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .18);
  --line-3: rgba(255, 255, 255, .3);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1264px;
  --pad: clamp(18px, 3.6vw, 48px);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --head: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.62;
  font-feature-settings: 'ss01' 1, 'cv11' 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.5'/></svg>");
}

::selection { background: #fff; color: #0a0a0b; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
svg { display: block; }

h1, h2, h3, h4, h5 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.06;
  text-wrap: balance;
}

p { margin: 0; }

/* --------------------------------------------------------------- утилиты */
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(56px, 7vw, 108px) 0; position: relative; }
.section + .section { border-top: 1px solid var(--line); }
.eyebrow {
  font-size: 11px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase;
  color: var(--muted); display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 1px; background: var(--line-3); }
.eyebrow--plain::before { display: none; }
.lead { font-size: clamp(16px, 1.5vw, 19px); color: var(--text-2); line-height: 1.6; max-width: 62ch; }
.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.dim { color: var(--muted); }
.hr { height: 1px; background: var(--line); border: 0; margin: 0; }

/* --------------------------------------------------------------- кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-size: 12px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--text);
  transition: background .28s var(--ease), color .28s var(--ease), border-color .28s var(--ease), transform .28s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .07); border-color: var(--line-3); }
.btn--solid { background: var(--text); color: var(--ink); border-color: var(--text); }
.btn--solid:hover { background: #fff; border-color: #fff; transform: translateY(-1px); }
.btn--ghost { border-color: var(--line); color: var(--text-2); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 11px; letter-spacing: .11em; }
.btn--block { width: 100%; }
.btn svg { width: 15px; height: 15px; }
.btn--light { background: var(--sheet); color: var(--ink); border-color: var(--sheet); }
.btn--light:hover { background: #fff; border-color: #fff; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-2); transition: color .25s var(--ease), gap .25s var(--ease);
}
.link-arrow svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.link-arrow:hover { color: #fff; }
.link-arrow:hover svg { transform: translateX(4px); }

.chip {
  display: inline-flex; align-items: center; gap: 7px;
  height: 30px; padding: 0 13px; border-radius: 999px;
  border: 1px solid var(--line); color: var(--text-2);
  font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase;
  white-space: nowrap;
}
.chip--on { background: var(--text); border-color: var(--text); color: var(--ink); }
.chip--dark { background: var(--ink); border-color: var(--ink); color: #fff; }

/* --------------------------------------------------------------- шапка */
.topbar {
  border-bottom: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
}
.topbar .wrap { display: flex; align-items: center; gap: 26px; height: 38px; }
.topbar .sep { width: 1px; height: 12px; background: var(--line-2); flex: none; }
.topbar a:hover { color: var(--text); }
.topbar .spacer { flex: 1; }

.header {
  position: sticky; top: 0; z-index: 800;
  border-bottom: 1px solid var(--line);
  background: rgba(10, 10, 11, .82);
  backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  transition: background .3s var(--ease);
}
.header .wrap { display: flex; align-items: center; gap: 28px; height: var(--head); }
.header--solid { background: rgba(10, 10, 11, .96); }

.brand { display: flex; align-items: center; gap: 14px; flex: none; }
.brand__mark { width: 38px; height: auto; opacity: 1; filter: brightness(1.25) contrast(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 15px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.brand__sub { font-size: 9.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  position: relative; padding: 10px 12px; font-size: 11.5px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); white-space: nowrap;
  border-radius: 999px; transition: color .22s var(--ease), background .22s var(--ease);
}
.nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.nav a.is-active { color: #fff; }
.nav a.is-active::after {
  content: ''; position: absolute; left: 50%; bottom: 2px; width: 4px; height: 4px;
  margin-left: -2px; border-radius: 50%; background: #fff;
}

.header__cta { display: flex; align-items: center; gap: 14px; flex: none; }
.header__phone {
  display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15;
  font-size: 14px; font-weight: 600; letter-spacing: .02em; white-space: nowrap;
}
.header__phone span { font-size: 9.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.header__phone:hover { color: #fff; }

.burger { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; align-items: center; justify-content: center; }
.burger span { display: block; width: 16px; height: 1px; background: #fff; position: relative; }
.burger span::before, .burger span::after { content: ''; position: absolute; left: 0; width: 16px; height: 1px; background: #fff; }
.burger span::before { top: -5px; }
.burger span::after { top: 5px; }

.mmenu {
  position: fixed; inset: 0; z-index: 900; display: none;
  background: var(--bg); padding: 24px var(--pad) 40px; overflow-y: auto;
}
.mmenu.is-open { display: block; animation: fade .25s var(--ease); }
.mmenu__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; }
.mmenu nav { display: flex; flex-direction: column; }
.mmenu nav a {
  padding: 16px 0; border-bottom: 1px solid var(--line);
  font-size: 20px; font-weight: 500; letter-spacing: -.01em;
}
.mmenu__foot { margin-top: 30px; display: flex; flex-direction: column; gap: 14px; font-size: 14px; color: var(--text-2); }
.mmenu__foot b { color: #fff; font-size: 20px; font-weight: 600; letter-spacing: -.01em; }

@keyframes fade { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* --------------------------------------------------------------- герой */
.hero { position: relative; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero__inner { position: relative; }
.slide {
  display: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 64px); align-items: center;
  padding: clamp(34px, 5vw, 78px) 0 clamp(26px, 3vw, 44px);
}
.slide.is-active { display: grid; animation: slideIn .55s var(--ease); }
@keyframes slideIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.slide__meta { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; flex-wrap: wrap; }
.slide h1 {
  font-size: clamp(42px, 6.4vw, 88px); font-weight: 600; letter-spacing: -.035em; line-height: .94;
  margin-bottom: 20px;
}
.slide h1 em { font-style: normal; color: var(--muted); }
.slide__price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 12px; }
.slide__price b { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; letter-spacing: -.02em; }
.slide__price span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.slide__desc { color: var(--text-2); max-width: 44ch; margin-bottom: 28px; font-size: 15.5px; }
.slide__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.slide__media { position: relative; }
.slide__sheet {
  position: relative; border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, #ffffff 0%, var(--sheet) 55%, var(--sheet-2) 100%);
  aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center;
}
.slide__sheet img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 4% 3%; transition: transform 6s linear;
}
.slide.is-active .slide__sheet img { transform: scale(1.04); }
.slide__tag {
  position: absolute; left: 16px; top: 16px; z-index: 2;
  background: rgba(10, 10, 11, .82); color: #fff; border-radius: 999px;
  padding: 7px 14px; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase;
  backdrop-filter: blur(6px);
}
.slide__num {
  position: absolute; right: 18px; bottom: 14px; z-index: 2;
  font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: #2b2b2e;
  background: rgba(255, 255, 255, .7); border-radius: 999px; padding: 5px 11px;
}

.hero__ctrl {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 0 clamp(26px, 3vw, 40px);
}
.dots { display: flex; align-items: center; gap: 8px; }
.dots button {
  width: 34px; height: 3px; border-radius: 2px; background: var(--line-2);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.dots button.is-active { background: #fff; width: 56px; }
.arrows { display: flex; gap: 8px; }
.arrow {
  width: 46px; height: 46px; border-radius: 999px; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: border-color .25s var(--ease), background .25s var(--ease), transform .25s var(--ease);
}
.arrow svg { width: 16px; height: 16px; }
.arrow:hover { border-color: var(--line-3); background: rgba(255, 255, 255, .05); }

/* --------------------------------------------------------------- статистика */
.stats { border-bottom: 1px solid var(--line); }
.stats .wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 0; border-left: 1px solid var(--line); padding-left: clamp(14px, 2vw, 28px); }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat b { display: block; font-size: clamp(22px, 2.4vw, 30px); font-weight: 600; letter-spacing: -.02em; }
.stat span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------- заголовки секций */
.shead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.shead h2 { font-size: clamp(28px, 3.6vw, 46px); }
.shead .lead { margin-top: 14px; max-width: 56ch; }
.shead__right { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; flex: none; }

/* --------------------------------------------------------------- категории */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat {
  position: relative; display: flex; flex-direction: column; justify-content: space-between;
  min-height: 168px; padding: 22px; border-radius: var(--radius);
  border: 1px solid var(--line); background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  transition: border-color .3s var(--ease), transform .3s var(--ease), background .3s var(--ease);
}
.cat:hover { border-color: var(--line-2); transform: translateY(-2px); }
.cat b { font-size: clamp(20px, 2.1vw, 26px); font-weight: 600; letter-spacing: -.025em; }
.cat::after {
  content: ""; position: absolute; left: 22px; right: 22px; top: 0; height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,.26), rgba(255,255,255,0));
}
.cat span { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.cat__num { position: absolute; right: 20px; top: 18px; font-family: var(--mono); font-size: 12px; color: var(--dim); letter-spacing: .08em; }

/* --------------------------------------------------------------- каталог */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); background: var(--panel);
  transition: border-color .3s var(--ease), transform .3s var(--ease);
}
.card:hover { border-color: var(--line-2); transform: translateY(-3px); }
.card__media {
  position: relative; aspect-ratio: 16 / 10; background: radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--sheet) 60%, var(--sheet-2) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.card__media img { width: 100%; height: 100%; object-fit: contain; padding: 6%; transition: transform .6s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__badge {
  position: absolute; left: 12px; top: 12px; z-index: 2; background: rgba(10, 10, 11, .85);
  color: #fff; border-radius: 999px; padding: 5px 11px;
  font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase;
}
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.card__name { font-size: 19px; font-weight: 600; letter-spacing: -.02em; }
.card__body-type { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card__price { font-size: 16px; font-weight: 600; letter-spacing: .01em; white-space: nowrap; }
.card__price span { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; margin-right: 6px; }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; }
.card__specs i {
  font-style: normal; font-size: 11px; letter-spacing: .04em; color: var(--text-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px;
}
.card__foot { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid var(--line); }
.card__foot .link-arrow { font-size: 10.5px; }
.card--navara .card__media { background: linear-gradient(135deg, #17171a 0%, #0b0b0c 100%); align-items: center; }
.card--navara .card__media img { object-fit: contain; }
.navara-type {
  position: absolute; inset: auto 0 16px 0; text-align: center;
  font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .16);
}

/* --------------------------------------------------------------- акции */
.promos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.promo {
  position: relative; display: flex; flex-direction: column; gap: 12px;
  padding: 26px; border-radius: var(--radius); border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  transition: border-color .3s var(--ease);
}
.promo:hover { border-color: var(--line-2); }
.promo__num { font-family: var(--mono); font-size: 11px; color: var(--dim); letter-spacing: .1em; }
.promo h3 { font-size: clamp(18px, 1.9vw, 23px); max-width: 26ch; }
.promo p { color: var(--text-2); font-size: 14.5px; max-width: 46ch; }
.promo .link-arrow { margin-top: auto; }

/* --------------------------------------------------------------- услуги */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.service {
  background: var(--bg); padding: 26px 24px 28px; display: flex; flex-direction: column; gap: 12px;
  transition: background .3s var(--ease);
}
.service:hover { background: var(--panel); }
.service__ico { width: 42px; height: 42px; border: 1px solid var(--line-2); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.service__ico svg { width: 21px; height: 21px; }
.service__num { font-family: var(--mono); font-size: 11.5px; letter-spacing: .06em; color: var(--text-2); }
.service b { font-size: 16.5px; font-weight: 600; letter-spacing: -.01em; }
.service p { font-size: 13.5px; color: var(--muted); }
.service .link-arrow { margin-top: 6px; font-size: 10.5px; }

/* --------------------------------------------------------------- о компании */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: start; }
.about__mark { position: relative; }
.about__mark img { width: 100%; border-radius: var(--radius); }
.about__mark > img:first-child { width: 100%; border-radius: var(--radius); }
.about__mark > img.about__emblem {
  position: absolute; right: 20px; bottom: 20px; width: 72px; height: auto;
  opacity: .95; filter: brightness(1.3) drop-shadow(0 8px 24px rgba(0, 0, 0, .55));
}
.about__text p { color: var(--text-2); margin-bottom: 16px; font-size: 15.5px; }
.about__text p:first-child { color: var(--text); font-size: clamp(18px, 2vw, 22px); line-height: 1.45; letter-spacing: -.015em; }
.about__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px 24px; margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--line); }
.about__list div b { display: block; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; font-weight: 500; }
.about__list div span { font-size: 15px; }

/* --------------------------------------------------------------- контакты */
.contacts { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 4vw, 60px); align-items: stretch; }
.contact-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 38px);
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
  display: flex; flex-direction: column; gap: 22px;
}
.contact-row { display: flex; gap: 16px; align-items: flex-start; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.contact-row:last-of-type { border-bottom: 0; padding-bottom: 0; }
.contact-row__ico { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; flex: none; }
.contact-row__ico svg { width: 15px; height: 15px; }
.contact-row small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.contact-row b { font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
.contact-row p { font-size: 14px; color: var(--text-2); margin-top: 3px; }
.contact-card .btn { margin-top: auto; }
.map-stub {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; padding: 24px;
  background:
    radial-gradient(80% 60% at 20% 15%, rgba(255,255,255,.05) 0%, transparent 60%),
    repeating-linear-gradient(90deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px),
    repeating-linear-gradient(0deg, rgba(255,255,255,.05) 0 1px, transparent 1px 64px),
    var(--bg-2);
}
.map-stub__pin {
  position: absolute; left: 50%; top: 44%; width: 16px; height: 16px; margin: -8px;
  border-radius: 50%; background: #fff; box-shadow: 0 0 0 10px rgba(255,255,255,.09), 0 0 0 22px rgba(255,255,255,.04);
}
.map-stub__pin::after { content: ''; position: absolute; inset: -30px; border: 1px solid rgba(255,255,255,.18); border-radius: 50%; animation: pulse 3.4s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.55); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
.map-stub b { font-size: 15px; font-weight: 600; }
.map-stub span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }

/* --------------------------------------------------------------- подвал */
.footer { border-top: 1px solid var(--line); background: #070708; padding: clamp(40px, 5vw, 68px) 0 26px; }
.footer__top { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: clamp(30px, 4vw, 52px); }
.footer__brand { display: flex; flex-direction: column; gap: 16px; }
.footer__brand .brand__name { font-size: 17px; }
.footer__brand p { font-size: 13px; color: var(--muted); max-width: 30ch; }
.footer__col h4 { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; font-weight: 600; }
.footer__col a, .footer__col span { display: block; font-size: 14px; color: var(--text-2); padding: 5px 0; }
.footer__col a:hover { color: #fff; }
.footer__bottom { border-top: 1px solid var(--line); padding-top: 22px; display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__bottom p { font-size: 11.5px; color: var(--dim); line-height: 1.7; }
.footer__bottom p:last-child { max-width: 78ch; }

/* --- блок арендованных ссылок SAPE/Serpzilla в подвале --- */
.footer__partners { margin: 0; }
.footer__partners:empty { display: none; }
.footer__links { border-top: 1px solid var(--line); margin-top: 26px; padding: 20px 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 22px; }
.footer__links-title { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 600; }
.footer__links .sape-links { display: flex; flex-wrap: wrap; gap: 4px 20px; font-size: 13px; line-height: 1.9; color: var(--text-2); }
.footer__links .sape-links a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid transparent; }
.footer__links .sape-links a:hover { color: #fff; border-bottom-color: var(--line); }

/* --------------------------------------------------------------- внутренние страницы */
.phero { padding: clamp(40px, 5.5vw, 82px) 0 clamp(28px, 3.4vw, 46px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.phero h1 { font-size: clamp(32px, 4.6vw, 62px); margin: 16px 0 18px; }
.phero .lead { max-width: 66ch; }
.crumbs { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--dim); }
.crumbs a:hover { color: var(--text); }
.crumbs i { font-style: normal; color: var(--line-3); }
.crumbs .cur { color: var(--text-2); }

.prose { max-width: 76ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: clamp(21px, 2.4vw, 29px); margin-top: 40px; letter-spacing: -.02em; }
.prose h3 { font-size: clamp(17px, 1.9vw, 21px); margin-top: 30px; letter-spacing: -.015em; }
.prose p { color: var(--text-2); font-size: 15.5px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.prose li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 15px; }
.prose li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 1px; background: var(--line-3); }
.prose table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 14px; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.prose td { color: var(--text-2); }
.prose a { text-decoration: underline; text-decoration-color: var(--line-3); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: #fff; }
.prose blockquote { margin: 24px 0 0; padding: 20px 24px; border-left: 2px solid var(--line-3); color: var(--text-2); }

.split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.aside-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%); display: flex; flex-direction: column; gap: 16px;
}
.aside-card h3 { font-size: 18px; }
.aside-card p { font-size: 13.5px; color: var(--muted); }
.aside-card .btn { width: 100%; }
.aside-card__phone { font-size: 21px; font-weight: 600; letter-spacing: -.01em; }
.aside-card dl { margin: 0; display: grid; gap: 10px; }
.aside-card dt { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.aside-card dd { margin: 2px 0 0; font-size: 14.5px; }

/* --------------------------------------------------------------- модель */
.mhero { padding: clamp(28px, 3.6vw, 52px) 0 clamp(24px, 3vw, 40px); border-bottom: 1px solid var(--line); }
.mhero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: clamp(22px, 4vw, 56px); align-items: center; margin-top: 20px; }
.mhero h1 { font-size: clamp(34px, 4.8vw, 66px); letter-spacing: -.035em; margin-bottom: 10px; }
.mhero__sub { font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.mhero__price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0 18px; flex-wrap: wrap; }
.mhero__price b { font-size: clamp(26px, 3vw, 38px); font-weight: 600; letter-spacing: -.02em; }
.mhero__price span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.mhero__chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 26px; }
.mhero__actions { display: flex; gap: 10px; flex-wrap: wrap; }

.gallery-main {
  position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3;
  background: radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--sheet) 60%, var(--sheet-2) 100%);
  display: flex; align-items: center; justify-content: center; cursor: zoom-in;
}
.gallery-main img { width: 100%; height: 100%; object-fit: contain; padding: 3%; }
.gallery-thumbs { display: flex; gap: 8px; margin-top: 10px; }
.gallery-thumbs button {
  width: 86px; height: 62px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line);
  background: var(--sheet); padding: 4px; transition: border-color .25s var(--ease), opacity .25s var(--ease);
  opacity: .6;
}
.gallery-thumbs button.is-active { border-color: #fff; opacity: 1; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.spec { background: var(--bg); padding: 22px 20px; }
.spec small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.spec b { font-size: clamp(18px, 1.9vw, 23px); font-weight: 600; letter-spacing: -.01em; }
.spec span { display: block; font-size: 12px; color: var(--dim); margin-top: 4px; }

.table-wrap { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.trim-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.trim-table thead th {
  text-align: left; padding: 14px 16px; font-size: 10.5px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600;
  border-bottom: 1px solid var(--line-2); background: var(--panel); white-space: nowrap;
}
.trim-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); color: var(--text-2); }
.trim-table tbody tr:hover td { background: rgba(255, 255, 255, .025); color: var(--text); }
.trim-table tbody tr:last-child td { border-bottom: 0; }
.trim-table .t-name { color: var(--text); font-weight: 500; }
.trim-table .t-price { font-weight: 600; color: #fff; white-space: nowrap; }
.trim-table__note { padding: 14px 16px; font-size: 12px; color: var(--dim); }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.feature { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; background: var(--panel); }
.feature h3 { font-size: 17px; margin-bottom: 10px; }
.feature p { font-size: 14px; color: var(--text-2); }
.feature__num { font-family: var(--mono); font-size: 11px; color: var(--dim); display: block; margin-bottom: 14px; }

.photos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.photos button {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0;
  background: radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--sheet) 60%, var(--sheet-2) 100%);
  aspect-ratio: 4 / 3; cursor: zoom-in;
}
.photos img { width: 100%; height: 100%; object-fit: contain; padding: 3%; }

.related { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.related a { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--panel); transition: border-color .25s var(--ease); }
.related a:hover { border-color: var(--line-2); }
.related .rel-media { aspect-ratio: 16 / 10; background: radial-gradient(120% 100% at 50% 0%, #fff 0%, var(--sheet) 60%, var(--sheet-2) 100%); display: flex; align-items: center; justify-content: center; }
.related img { width: 100%; height: 100%; object-fit: contain; padding: 8%; }
.related .rel-body { padding: 14px 16px 16px; }
.related b { font-size: 15px; font-weight: 600; display: block; }
.related span { font-size: 12px; color: var(--muted); }

.cta {
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 46px);
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(22px, 3vw, 48px); align-items: center;
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(255,255,255,.07) 0%, transparent 55%),
    linear-gradient(180deg, var(--panel) 0%, var(--bg-2) 100%);
}
.cta h2 { font-size: clamp(26px, 3.2vw, 40px); margin-bottom: 14px; }
.cta p { color: var(--text-2); max-width: 44ch; }
.cta__actions { display: flex; flex-direction: column; gap: 12px; }
.cta__phone { font-size: clamp(22px, 2.6vw, 32px); font-weight: 600; letter-spacing: -.02em; }
.cta__phone small { display: block; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); font-weight: 500; margin-bottom: 6px; }

/* --------------------------------------------------------------- лайтбокс */
.lightbox {
  position: fixed; inset: 0; z-index: 9500; background: rgba(6, 6, 7, .94);
  display: none; align-items: center; justify-content: center; padding: 4vw;
  backdrop-filter: blur(4px);
}
.lightbox.is-open { display: flex; animation: fade .2s var(--ease); }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 12px; background: var(--sheet); }
.lightbox__close { position: absolute; top: 22px; right: 22px; width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px; display: flex; align-items: center; justify-content: center; }
.lightbox__close svg { width: 16px; height: 16px; }

/* --------------------------------------------------------------- анимации появления */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .slide.is-active { animation: none; }
  .slide.is-active .slide__sheet img { transform: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------- адаптив */
@media (max-width: 1100px) {
  .nav { display: none; }
  .burger { display: flex; margin-left: auto; }
  .header__cta .btn { display: none; }
  .cards, .services, .related { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .slide { grid-template-columns: 1fr; }
  .slide__media { order: -1; }
  .slide__sheet { aspect-ratio: 16 / 10; }
  .mhero__grid { grid-template-columns: 1fr; }
  .mhero__media { order: -1; }
  .about, .contacts, .split, .cta { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .specs { grid-template-columns: repeat(2, 1fr); }
  .aside-card { position: static; }
}

@media (max-width: 720px) {
  :root { --head: 62px; }
  html, body { overflow-x: clip; }
  .brand { gap: 10px; }
  .brand__sub { display: none; }
  .brand__name { font-size: 13px; letter-spacing: .16em; }
  .brand__mark { width: 30px; }
  .header .wrap { gap: 10px; }
  .header__phone { font-size: 12.5px; }
  .burger { width: 40px; height: 40px; }
  .slide__actions .btn, .mhero__actions .btn { flex: 1 1 100%; }
  .slide__desc { font-size: 14.5px; }
  .topbar { display: none; }
  .section { padding: 48px 0; }
  .shead { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cards, .services, .promos, .cats, .features, .related { grid-template-columns: 1fr; }
  .photos { grid-template-columns: 1fr; }
  .footer__bottom { flex-direction: column; }
  .slide h1 { font-size: clamp(34px, 10vw, 46px); }
  .mhero__actions .btn, .slide__actions .btn, .shead__right .btn { flex: 1 1 auto; }
  .trim-table { font-size: 13px; }
  .trim-table thead th, .trim-table td { padding: 10px 11px; }
  .table-wrap { overflow-x: auto; }
  .trim-table { min-width: 620px; }
  .gallery-thumbs button { width: 64px; height: 48px; }
  .stats .wrap { grid-template-columns: 1fr 1fr; }
  .about__list { grid-template-columns: 1fr; }
}

/* Navara: заглушка вместо фото — типографика вместо картинки */
.navara-hero {
  background: linear-gradient(150deg, #17171a 0%, #0a0a0b 70%);
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  cursor: default;
}
.navara-hero img { width: 30%; height: auto; opacity: .5; padding: 0; }
.navara-hero__word {
  position: absolute; inset: 16% 0 auto; text-align: center;
  font-size: clamp(34px, 5vw, 64px); font-weight: 700; letter-spacing: .3em; text-transform: uppercase;
  color: rgba(255, 255, 255, .1); pointer-events: none;
}
.navara-hero__note {
  position: absolute; left: 0; right: 0; bottom: 20px; text-align: center;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim);
}