:root {
  --ink: #0f1a2b;
  --ink-2: #33415a;
  --muted: #66728a;
  --line: #e3e7ee;
  --bg: #f4f6f9;
  --card: #ffffff;
  --accent: #d7312a;
  --accent-2: #b8241e;
  --ok: #16884a;
  --info: #1f63d6;
  --warn: #c27a00;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(15, 26, 43, .06), 0 8px 24px rgba(15, 26, 43, .06);
  --font: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font: 16px/1.55 var(--font); color: var(--ink); background: var(--bg); overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
svg { width: 20px; height: 20px; flex: none; }
[hidden] { display: none !important; }
.muted { color: var(--muted); }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

/* ---------- кнопки ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 12px; border: 1.5px solid transparent; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: background .15s, border-color .15s, transform .1s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-2); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--text { background: none; color: var(--muted); padding: 0 8px; text-decoration: underline; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-row--big .btn { min-height: 54px; padding: 0 26px; font-size: 16px; }
.hero .btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(4px); }
.hero .btn--ghost:hover { background: rgba(255, 255, 255, .22); border-color: #fff; }

/* ---------- шапка ---------- */
.header { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 16px; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.logo__mark { width: 38px; height: 38px; border-radius: 10px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text b { font-size: 19px; font-weight: 800; }
.logo__text small { font-size: 12px; color: var(--muted); }
.logo--light .logo__text small { color: #9aa6bd; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 8px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; }
.nav a:hover { background: var(--bg); color: var(--ink); }
.nav a[aria-current] { color: var(--accent); }
.header__contacts { display: flex; align-items: center; gap: 14px; }
.header__phone { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; text-decoration: none; white-space: nowrap; }
.header__phone svg { color: var(--accent); width: 18px; height: 18px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; color: var(--ink); }
.burger svg { width: 26px; height: 26px; }

@media (max-width: 1180px) {
  .burger { display: grid; place-items: center; }
  .header__contacts { margin-left: auto; }
  .nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; background: #fff; padding: 12px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(15, 26, 43, .12); transform: translateY(-8px); opacity: 0; pointer-events: none; transition: .18s; }
  .nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
  .nav a { padding: 14px 12px; font-size: 17px; }
  .burger { margin-left: 0; }
}
@media (max-width: 720px) {
  .header__contacts .btn { display: none; }
  .header__phone span { display: none; }
  .header__phone { width: 44px; height: 44px; justify-content: center; border-radius: 10px; background: var(--bg); }
}

/* ---------- главный экран ---------- */
.hero { position: relative; color: #fff; background: var(--ink) var(--bg, none) center / cover no-repeat; }
.hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 31, .92) 0%, rgba(10, 18, 31, .75) 55%, rgba(10, 18, 31, .35) 100%); }
.hero__in { position: relative; padding: 88px 20px 64px; }
.hero h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; max-width: 820px; }
.hero__text { font-size: 18px; max-width: 680px; color: #d7deea; margin-bottom: 28px; }
.hero__phone { display: inline-block; margin-top: 18px; font-size: 22px; font-weight: 800; text-decoration: none; }
.hero__facts { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 220px)); gap: 16px; }
.hero__facts li { border-left: 3px solid var(--accent); padding-left: 14px; }
.hero__facts b { display: block; font-size: 20px; }
.hero__facts span { color: #b9c3d6; font-size: 14px; }
.eyebrow { text-transform: uppercase; letter-spacing: .08em; font-size: 13px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.hero .eyebrow, .page-hero .eyebrow { color: #ff8b84; }
@media (max-width: 720px) {
  .hero__in { padding: 48px 16px 40px; }
  .hero::before { background: linear-gradient(180deg, rgba(10, 18, 31, .78), rgba(10, 18, 31, .92)); }
  .hero__text { font-size: 16px; }
  .hero__facts { grid-template-columns: 1fr; gap: 12px; margin-top: 32px; }
  .cta-row--big .btn { flex: 1 1 100%; }
}

.page-hero { position: relative; color: #fff; background: var(--ink) var(--bg, none) center / cover no-repeat; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 18, 31, .92), rgba(10, 18, 31, .6)); }
.page-hero__in { position: relative; padding: 56px 20px 48px; }
.page-hero h1 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; }
.page-hero__intro { max-width: 720px; color: #d7deea; font-size: 17px; margin: 0; }
@media (max-width: 600px) { .page-hero__in { padding: 36px 16px 32px; } }

/* ---------- секции ---------- */
.section { padding-top: 56px; padding-bottom: 8px; }
.section--tight { padding-top: 32px; }
.section__title { font-size: clamp(24px, 3vw, 34px); font-weight: 800; }
.section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--accent); text-decoration: none; }

.split-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: -40px; position: relative; }
.split-link { display: flex; flex-direction: column; gap: 6px; padding: 28px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-decoration: none; border: 1px solid var(--line); transition: transform .15s, box-shadow .15s; }
.split-link:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(15, 26, 43, .12); }
.split-link__label { font-size: 24px; font-weight: 800; }
.split-link b { color: var(--accent); font-weight: 700; }
.split-link__meta { color: var(--muted); font-size: 15px; }
.split-link__go { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; margin-top: 10px; }
@media (max-width: 720px) { .split-links { grid-template-columns: 1fr; margin-top: -24px; } .split-link { padding: 22px; } .split-link__label { font-size: 21px; } }

.adv { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 14px; }
.adv__item { display: flex; gap: 14px; padding: 20px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.adv__item p { margin: 0; font-weight: 500; }
.adv__icon { width: 34px; height: 34px; border-radius: 50%; background: #fdecea; color: var(--accent); display: grid; place-items: center; flex: none; }
.adv__icon svg { width: 18px; height: 18px; }

.band { margin-top: 56px; background: var(--ink); color: #fff; }
.band__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 40px; padding-bottom: 40px; flex-wrap: wrap; }
.band h2 { font-size: 28px; }
.band p { margin: 0; color: #b9c3d6; max-width: 620px; }

.cta { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); flex-wrap: wrap; margin-bottom: 56px; }
.cta h2 { font-size: 26px; }
.cta p { margin: 0; color: var(--muted); max-width: 560px; }
@media (max-width: 600px) { .cta { padding: 22px; } .cta .cta-row .btn { flex: 1 1 100%; } }

/* ---------- каталог ---------- */
.brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 15px var(--font); color: var(--ink); cursor: pointer; }
.chip span { color: var(--muted); font-weight: 600; font-size: 13px; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip.is-active span { color: #9aa6bd; }

.filters { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.filters .field { flex: 1 1 150px; max-width: 220px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 600; color: var(--muted); }
.field input, .field select, .field textarea { font: 500 16px var(--font); color: var(--ink); min-height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--ink); }
.field select:disabled { background: var(--bg); color: var(--muted); }
.filters-toggle { display: none; }
@media (max-width: 720px) {
  .filters-toggle { display: inline-flex; width: 100%; margin-bottom: 10px; }
  .filters { display: none; }
  .filters.is-open { display: grid; grid-template-columns: 1fr 1fr; }
  .filters .field { max-width: none; }
  .brands { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; scrollbar-width: none; }
  .brands .chip { flex: none; }
}
.result-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 20px 0 16px; flex-wrap: wrap; font-weight: 700; }
.sort { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); font-size: 14px; }
.sort select { font: 600 15px var(--font); min-height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; color: var(--ink); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-top: 16px; }
.card { display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .15s, transform .15s; }
.card:hover { box-shadow: 0 14px 40px rgba(15, 26, 43, .12); transform: translateY(-2px); }
.card--sold { opacity: .7; }
.card__img { position: relative; display: block; aspect-ratio: 4 / 3; background: #e9edf3; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; }
.card__count { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 26, 43, .75); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 6px; }
.badge { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 6px; font-size: 12px; font-weight: 800; color: #fff; background: var(--ok); }
.badge--info { background: var(--info); }
.badge--warn { background: var(--warn); }
.badge--sold { background: #5c6575; }
.card__body { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px 18px; flex: 1; }
.card__title { font-size: 19px; font-weight: 800; margin: 0; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card__meta { margin: 0; color: var(--ink-2); font-size: 14.5px; font-weight: 600; }
.card__meta i { font-style: normal; color: #b4bccb; margin: 0 6px; }
.card__color { margin: 0; color: var(--muted); font-size: 14px; }
.card__price { margin-top: auto; padding-top: 12px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.card__price b { font-size: 23px; font-weight: 800; }
.card__price small { color: var(--muted); font-size: 13.5px; font-weight: 600; }

.ph { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #9aa6bd; background: linear-gradient(135deg, #eef1f6, #e2e7ef); font-size: 13px; font-weight: 600; }
.ph svg { width: 45%; height: auto; max-width: 160px; }
.ph--big { aspect-ratio: 4 / 3; border-radius: var(--radius); }

.empty { text-align: center; padding: 40px 20px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); margin-top: 16px; }
.empty .cta-row { justify-content: center; margin-top: 12px; }
.empty-page { text-align: center; padding: 80px 20px; }

/* ---------- страница автомобиля ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 20px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.car { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(320px, 1fr); gap: 28px; padding-top: 16px; grid-template-areas: 'gallery aside' 'info aside'; align-items: start; }
.car__gallery { grid-area: gallery; }
.car__main { position: relative; border-radius: var(--radius); overflow: hidden; background: #e9edf3; }
.car__main img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #1b2434; cursor: zoom-in; }
.car__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; }
.car__thumbs button { flex: none; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; opacity: .7; }
.car__thumbs button.is-active { border-color: var(--accent); opacity: 1; }
.car__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.car__aside { grid-area: aside; position: sticky; top: 88px; display: flex; flex-direction: column; gap: 16px; }
.car__title { font-size: clamp(26px, 3vw, 34px); font-weight: 800; margin: 0; }
.car__sub { margin: -6px 0 0; color: var(--ink-2); font-weight: 600; }
.pricebox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.pricebox__price { font-size: 34px; font-weight: 800; line-height: 1.1; }
.pricebox__note { color: var(--muted); font-weight: 600; margin-top: 2px; }
.pricebox__status { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; font-weight: 700; font-size: 14px; }
.pricebox .cta-row .btn { flex: 1 1 100%; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); }
.dot--info { background: var(--info); } .dot--warn { background: var(--warn); } .dot--sold { background: #5c6575; }
.car__info { grid-area: info; }
.car__info h2 { font-size: 24px; margin-top: 8px; }
.specs { margin: 0 0 24px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.specs div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; padding: 12px 18px; border-bottom: 1px solid var(--line); }
.specs div:last-child { border-bottom: 0; }
.specs dt { color: var(--muted); font-weight: 600; }
.specs dd { margin: 0; font-weight: 700; }
.disclaimer { font-size: 14px; color: var(--muted); background: #fff; border-left: 3px solid var(--accent); padding: 12px 16px; border-radius: 0 10px 10px 0; }
.lead { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 12px; }
.lead h2 { font-size: 20px; margin: 0; }
.lead p { margin: 0; }
.lead__msg { font-weight: 700; }
.lead__msg.is-ok { color: var(--ok); } .lead__msg.is-err { color: var(--accent); }
.hp { position: absolute; left: -9999px; }
@media (max-width: 900px) {
  .car { grid-template-columns: 1fr; grid-template-areas: 'gallery' 'aside' 'info'; }
  .car__aside { position: static; }
  .specs div { grid-template-columns: 1fr 1fr; }
}

.lightbox { position: fixed; inset: 0; z-index: 80; background: rgba(5, 9, 16, .95); display: flex; align-items: center; justify-content: center; }
.lightbox img { max-width: 94vw; max-height: 90vh; object-fit: contain; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .1); color: #fff; border: 0; border-radius: 50%; width: 52px; height: 52px; cursor: pointer; font-size: 34px; line-height: 1; display: grid; place-items: center; }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; } .lightbox__nav--next { right: 16px; }

/* ---------- мессенджеры ---------- */
.msgs { display: flex; flex-wrap: wrap; gap: 8px; }
.msg { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border-radius: 10px; text-decoration: none; font-weight: 700; color: #fff; }
.msg--tg { background: #229ed9; } .msg--wa { background: #1fa855; } .msg--max { background: linear-gradient(135deg, #3b5bff, #9b3bff); }
.msgs--row { margin-top: 10px; }
.msgs--row .msg { flex: 1 1 0; justify-content: center; }
.msgs--big { flex-direction: column; margin: 16px 0; }
.msgs--big .msg { min-height: 56px; font-size: 17px; justify-content: center; }
.msgs--big .msg svg { width: 24px; height: 24px; }
.msgs--compact .msg { min-height: 36px; padding: 0 10px; font-size: 13px; }

/* ---------- модальное окно «Написать» ---------- */
.sheet { position: fixed; inset: 0; z-index: 70; display: flex; align-items: center; justify-content: center; }
.sheet__backdrop { position: absolute; inset: 0; background: rgba(5, 9, 16, .55); }
.sheet__panel { position: relative; width: min(420px, calc(100% - 32px)); background: #fff; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px rgba(0, 0, 0, .3); }
.sheet__panel h2 { font-size: 24px; margin: 0 0 4px; }
.sheet__close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; background: var(--bg); border-radius: 50%; cursor: pointer; display: grid; place-items: center; }
.sheet__phone { display: flex; align-items: center; gap: 8px; justify-content: center; text-decoration: none; color: var(--ink-2); font-size: 15px; }
.sheet__phone svg { color: var(--accent); }
@media (max-width: 600px) {
  .sheet { align-items: flex-end; }
  .sheet__panel { width: 100%; border-radius: 18px 18px 0 0; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
}

/* ---------- плавающая панель на телефоне ---------- */
.mobile-bar { display: none; }
@media (max-width: 900px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(15, 26, 43, .08); }
  body { padding-bottom: 76px; }
}

/* ---------- условия поставки ---------- */
.steps { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.step { display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.step p { margin: 0; font-weight: 500; font-size: 16.5px; }
.step__n { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 800; }
.step--pay .step__n { background: var(--accent); }
.tag { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--accent); background: #fdecea; padding: 3px 8px; border-radius: 6px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; }
.ticks svg { color: var(--accent); margin-top: 2px; }
.pricing { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pricing__list { list-style: none; margin: 16px 0; padding: 0; display: grid; gap: 10px; }
.pricing__list li { display: grid; grid-template-columns: 32px 1fr auto; gap: 12px; align-items: center; padding: 12px 14px; background: var(--bg); border-radius: 10px; }
.pricing__n { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.pricing__cur { font-size: 13px; font-weight: 700; color: var(--ink-2); background: #fff; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pricing__total { margin: 0; font-weight: 800; color: var(--accent); }
@media (max-width: 600px) { .pricing { padding: 20px; } .pricing__list li { grid-template-columns: 32px 1fr; } .pricing__cur { grid-column: 2; justify-self: start; } }

/* ---------- отзывы ---------- */
.reviews { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 18px; margin-top: 16px; }
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.review__photos { display: grid; gap: 2px; }
.review__photos--2 { grid-template-columns: 1fr 1fr; }
.review__photos--3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.review__photos--3 a:first-child { grid-row: span 2; }
.review__photos img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.review__photos--3 a:not(:first-child) img { aspect-ratio: auto; }
.review__body { padding: 20px; }
.review h3 { font-size: 19px; margin: 0 0 4px; }
.review__meta { color: var(--muted); font-size: 14px; font-weight: 600; }
.review__contract { font-size: 14.5px; background: #edf7f1; border-radius: 10px; padding: 10px 12px; }
.review__contract b { color: var(--ok); }
.review blockquote { margin: 0; padding-left: 14px; border-left: 3px solid var(--accent); font-style: italic; color: var(--ink-2); }
.review blockquote p:last-child { margin: 0; }

/* ---------- контакты ---------- */
.contacts { display: grid; grid-template-columns: minmax(260px, 380px) 1fr; gap: 40px; align-items: start; }
.owner { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.owner img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.owner figcaption { padding: 16px 18px; display: flex; flex-direction: column; }
.owner figcaption span { color: var(--muted); font-size: 14px; }
.contacts__phone { display: inline-block; font-size: clamp(28px, 4vw, 40px); font-weight: 800; text-decoration: none; margin-bottom: 16px; }
.contacts__list { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 12px; }
.contacts__list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contacts__list svg { color: var(--accent); }
.requisites { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.requisites h2 { font-size: 20px; }
.requisites dl { margin: 0; display: grid; gap: 8px; }
.requisites dl div { display: grid; grid-template-columns: 140px 1fr; gap: 12px; }
.requisites dt { color: var(--muted); }
.requisites dd { margin: 0; font-weight: 700; }
.map { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); margin-bottom: 56px; }
.map iframe { width: 100%; height: 400px; border: 0; display: block; }
@media (max-width: 800px) {
  .contacts { grid-template-columns: 1fr; gap: 24px; }
  .owner { max-width: 360px; }
  .requisites dl div { grid-template-columns: 1fr; gap: 0; }
}

/* ---------- подвал ---------- */
.footer { background: var(--ink); color: #c9d2e2; margin-top: 24px; }
.footer__in { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding-top: 48px; padding-bottom: 32px; }
.footer__legal { margin-top: 16px; font-size: 14px; color: #9aa6bd; }
.footer__nav { display: flex; flex-direction: column; gap: 8px; }
.footer__nav a, .footer__contacts a { text-decoration: none; }
.footer__nav a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 8px; }
.footer__phone { font-size: 22px; font-weight: 800; color: #fff; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 18px; padding-bottom: 24px; font-size: 13px; color: #7f8ba3; }
@media (max-width: 800px) { .footer__in { grid-template-columns: 1fr; } }
.prose p { margin: 0 0 .8em; }
