/* ============================================================
   НИЛИНА АВТО — дизайн-система
   ============================================================ */
/* ============================================================
   КОНТРАКТ ТЕНАНТА (tenant contract)
   ------------------------------------------------------------
   Это ЕДИНСТВЕННЫЙ набор токенов, который переопределяет каждый
   тенант — через theme.js (runtime) или серверно-сгенерированный
   блок :root. Всё остальное (палитра состояний, тени, тёмные
   оттенки навигации) ВЫЧИСЛЯЕТСЯ из этих значений автоматически,
   поэтому смена одного --brand перекрашивает весь интерфейс
   консистентно. НЕ хардкодьте производные токены в теме тенанта.
   ============================================================ */
:root{
  /* — Бренд — */
  --brand:        #D81F26;   /* главный акцент: CTA, активные состояния, eyebrow */
  --brand-ink:    #15202B;   /* тёмная база: навигация, тёмные плашки */
  --brand-cta-fg: #FFFFFF;   /* цвет текста/иконок поверх --brand (для светлых брендов смените на тёмный) */
  --accent-2:     #25A95B;   /* вторичный акцент (WhatsApp / «в наличии») */

  /* — Типографика — */
  --font-head:  "Montserrat", system-ui, sans-serif;
  --font-body:  "Roboto", system-ui, sans-serif;

  /* — Форма и сетка — */
  --container:  1180px;
  --radius:     8px;
  --radius-lg:  14px;

  /* — База тени (RGB-триплет цвета тени) — */
  --shadow-rgb: 21, 32, 43;

  /* ==========================================================
     ПРОИЗВОДНЫЕ ТОКЕНЫ — вычисляются из контракта, тенант не трогает
     ========================================================== */
  --red:        var(--brand);
  --red-dark:   color-mix(in srgb, var(--brand) 84%, #000);   /* hover на CTA */
  --red-soft:   color-mix(in srgb, var(--brand) 8%,  #fff);   /* мягкий фон при hover */
  --dark:       var(--brand-ink);
  --dark-2:     color-mix(in srgb, var(--brand-ink) 92%, #fff); /* hover в тёмной навигации */
  --dark-line:  color-mix(in srgb, var(--brand-ink) 82%, #fff); /* разделители в тёмном */
  --green:      var(--accent-2);

  /* — Поверхности (часть контракта тенанта: фон страницы/секций и карточек) — */
  --bg:         #FFFFFF;   /* поверхность карточек/секций */
  --bg-soft:    #F5F6F8;   /* фон страницы и серых секций */
  --bg-soft-2:  #F9FAFB;   /* фон внутри списков/вложенных блоков */

  /* — Нейтральная шкала текста и линий (обычно общая; переопределяется опционально) — */
  --ink:        #1A2128;   /* основной текст */
  --muted:      #6B7682;   /* вторичный текст */
  --faint:      #9AA4AE;
  --line:       #E3E7EB;
  --line-2:     #EDF0F2;
  --white:      #FFFFFF;

  /* — Блочные токены (bg/fg каждого логического блока страницы)
     По умолчанию наследуют из глобального контракта;
     тенант переопределяет точечно — */
  --topbar-bg:    var(--brand-ink);
  --topbar-fg:    rgba(255,255,255,.70);
  --header-bg:    var(--bg);
  --navbar-bg:    var(--brand-ink);
  --navbar-fg:    #ffffff;
  --hero-bg:      var(--bg-soft);
  --picker-bg:    var(--brand-ink);
  --picker-fg:    #ffffff;
  --adv-bg:       var(--bg);
  --blog-bg:      var(--bg-soft);
  --social-bg:    var(--bg);
  --contacts-bg:  var(--bg);
  --footer-bg:    var(--bg-soft);
  --footer-fg:    var(--ink);

  /* — Тени (привязаны к --shadow-rgb) — */
  --shadow-sm:  0 1px 2px  rgba(var(--shadow-rgb),.06), 0 1px 3px rgba(var(--shadow-rgb),.05);
  --shadow-md:  0 4px 14px rgba(var(--shadow-rgb),.08), 0 2px 6px rgba(var(--shadow-rgb),.05);
  --shadow-lg:  0 18px 50px rgba(var(--shadow-rgb),.16);
}

*{ box-sizing:border-box; }
html{ -webkit-text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg-soft);
  font-size:16px;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
h1,h2,h3,h4{ font-family:var(--font-head); margin:0; line-height:1.2; color:var(--ink); }
a{ color:inherit; text-decoration:none; }
img,svg{ display:block; }
button{ font-family:inherit; cursor:pointer; }
input,select,button{ font-size:16px; }
ul{ margin:0; padding:0; list-style:none; }

.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 24px;
}
.site{ background:var(--bg); }

/* utility text */
.eyebrow{
  font-family:var(--font-head);
  font-weight:700;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:var(--red);
}
.section{ padding:64px 0; }
.section-head{ display:flex; align-items:baseline; justify-content:space-between; gap:16px; margin-bottom:32px; flex-wrap:wrap; }
.section-title{ font-size:30px; font-weight:800; letter-spacing:-.01em; }
.section-title .arrow{ color:var(--red); margin-left:6px; transition:transform .2s; display:inline-block; }
a.section-title:hover .arrow{ transform:translateX(6px); }

/* ============================================================
   1. ВЕРХНЯЯ СЛУЖЕБНАЯ СТРОКА
   ============================================================ */
.topbar{ background:var(--topbar-bg); color:var(--topbar-fg); font-size:13.5px; }
.topbar .container{ display:flex; align-items:center; justify-content:space-between; height:42px; }
.topbar a{ color:var(--topbar-fg); transition:color .15s; }
.topbar a:hover{ color:#fff; }
.topbar .platforms{ display:flex; align-items:center; gap:18px; }
.topbar .platforms a{ display:inline-flex; align-items:center; gap:7px; font-weight:500; }
.platform-dot{ width:18px; height:18px; border-radius:4px; display:grid; place-items:center; font-family:var(--font-head); font-weight:800; font-size:11px; color:#fff; }
.platform-dot.avito{ background:#0AF; background:#00AAFF; }
.platform-dot.drom{ background:#E03A2F; }
.cart-btn{ display:inline-flex; align-items:center; gap:9px; font-weight:600; color:#fff !important; background:none; border:0; padding:8px 0; }
.cart-btn .cart-ico{ position:relative; }
.cart-count{
  position:absolute; top:-7px; right:-9px;
  min-width:17px; height:17px; padding:0 4px;
  background:var(--red); color:var(--brand-cta-fg); border-radius:9px;
  font-size:11px; font-weight:700; display:grid; place-items:center;
  font-family:var(--font-head);
}

/* ============================================================
   2. ШАПКА
   ============================================================ */
.header{ background:var(--header-bg); border-bottom:1px solid var(--line); }
.header .container{ display:flex; align-items:center; justify-content:space-between; gap:32px; padding-top:18px; padding-bottom:18px; }
.brand{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.brand-mark{ width:54px; height:40px; color:var(--dark); flex-shrink:0; }
.brand-text .brand-name{ font-family:var(--font-head); font-weight:800; font-size:22px; letter-spacing:.02em; line-height:1; }
.brand-text .brand-name b{ color:var(--red); }
.brand-text .brand-sub{ font-size:12px; color:var(--muted); margin-top:4px; }

.contacts{ display:flex; gap:38px; }
.contact-col{ font-size:13px; }
.contact-col .city{ font-family:var(--font-head); font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); margin-bottom:5px; display:flex; align-items:center; gap:6px; }
.contact-col .city::before{ content:""; width:6px; height:6px; border-radius:50%; background:var(--red); }
.contact-col .phone{ font-family:var(--font-head); font-weight:700; font-size:18px; color:var(--ink); display:block; letter-spacing:.01em; }
.contact-col .phone:hover{ color:var(--red); }
.contact-col .phone + .phone{ margin-top:2px; }
.contact-col .msgrs{ display:flex; gap:8px; margin:8px 0 6px; }
.msgr{ width:26px; height:26px; border-radius:50%; display:grid; place-items:center; color:#fff; }
.msgr.wa{ background:#25D366; }
.msgr.vb{ background:#7360F2; }
.msgr.tg{ background:#2AABEE; }
.contact-col .hours{ font-size:12px; color:var(--faint); line-height:1.5; }

/* ============================================================
   3. ТЁМНАЯ НАВИГАЦИЯ + ПОИСК
   ============================================================ */
.navbar{ background:var(--navbar-bg); position:sticky; top:0; z-index:60; }
.navbar .container{ display:flex; align-items:stretch; justify-content:space-between; gap:24px; min-height:56px; }
.nav-menu{ display:flex; align-items:stretch; }
.nav-menu > li{ position:relative; display:flex; }
.nav-menu > li > a{
  display:flex; align-items:center; gap:6px; padding:0 18px;
  color:color-mix(in srgb, var(--navbar-fg) 80%, var(--navbar-bg)); font-family:var(--font-head); font-weight:600; font-size:14.5px;
  letter-spacing:.01em; transition:background .15s, color .15s; position:relative;
}
.nav-menu > li > a:hover, .nav-menu > li.open > a{ background:var(--dark-2); color:var(--navbar-fg); }
.nav-menu > li > a::after{ content:""; position:absolute; left:0; right:0; bottom:0; height:3px; background:var(--red); transform:scaleX(0); transition:transform .18s; }
.nav-menu > li:hover > a::after, .nav-menu > li.open > a::after{ transform:scaleX(1); }
.caret{ width:9px; height:9px; opacity:.8; }
.dropdown{
  position:absolute; top:100%; left:0; min-width:230px; background:#fff;
  box-shadow:var(--shadow-lg); border-radius:0 0 var(--radius) var(--radius);
  padding:8px; opacity:0; visibility:hidden; transform:translateY(8px);
  transition:opacity .16s, transform .16s; z-index:70; border-top:3px solid var(--red);
}
.nav-menu > li:hover .dropdown, .nav-menu > li.open .dropdown{ opacity:1; visibility:visible; transform:translateY(0); }
.dropdown a{ display:block; padding:10px 14px; border-radius:6px; font-size:14px; color:var(--ink); font-weight:500; }
.dropdown a:hover{ background:var(--bg-soft); color:var(--red); }

.search{ position:relative; display:flex; align-items:stretch; align-self:center; background:#fff; border-radius:var(--radius); overflow:visible; width:360px; max-width:38vw; box-shadow:var(--shadow-sm); }
.search input{ flex:1; border:0; outline:0; padding:11px 14px; font-size:14px; color:var(--ink); background:transparent; min-width:0; border-radius:var(--radius) 0 0 var(--radius); }
.search input::placeholder{ color:var(--faint); }
.search button{ border:0; background:var(--red); color:var(--brand-cta-fg); padding:0 16px; align-self:stretch; display:grid; place-items:center; transition:background .15s; border-radius:0 var(--radius) var(--radius) 0; }
.search button:hover{ background:var(--red-dark); }

.search-suggest{
  position:absolute; top:calc(100% + 6px); left:0; right:0;
  background:#fff; border-radius:var(--radius); box-shadow:var(--shadow-md);
  max-height:min(420px, 60vh); overflow-y:auto; z-index:80;
}
.search-suggest[hidden]{ display:none !important; }
.ss-item, .ss-all{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  padding:10px 14px; text-decoration:none; color:var(--ink);
}
.ss-item:hover, .ss-item.active{ background:var(--bg-soft); }
.ss-main{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.ss-name{ font-size:14px; font-weight:600; line-height:1.3; }
.ss-sub{ font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ss-price{ font-size:13px; font-weight:700; color:var(--ink); white-space:nowrap; flex-shrink:0; }
.ss-all{
  border-top:1px solid var(--line); font-size:13px; font-weight:600; color:var(--red);
}
.ss-all:hover{ background:var(--bg-soft); }
.ss-empty, .ss-loading{ padding:12px 14px; font-size:13px; color:var(--muted); }

.hamburger{ display:none; background:none; border:0; color:var(--navbar-fg); padding:8px; align-self:center; }

/* mobile nav drawer */
.mnav-backdrop{ display:none; position:fixed; inset:0; background:rgba(21,32,43,.5); z-index:90; opacity:0; transition:opacity .2s; }
.mnav-backdrop.show{ display:block; opacity:1; }
.mnav{ position:fixed; top:0; left:0; bottom:0; width:84%; max-width:340px; background:var(--navbar-bg); z-index:100; transform:translateX(-100%); transition:transform .25s ease; overflow-y:auto; padding:18px; }
.mnav.show{ transform:translateX(0); }
.mnav-head{ display:flex; align-items:center; justify-content:space-between; margin-bottom:14px; }
.mnav-head .brand-name{ color:var(--navbar-fg); font-family:var(--font-head); font-weight:800; font-size:18px; }
.mnav-head .brand-name b{ color:var(--red); }
.mnav-close{ background:none; border:0; color:var(--navbar-fg); padding:6px; }
.mnav a{ display:block; color:color-mix(in srgb, var(--navbar-fg) 80%, var(--navbar-bg)); padding:13px 10px; font-family:var(--font-head); font-weight:600; font-size:16px; border-bottom:1px solid var(--dark-line); }
.mnav a:hover{ color:#fff; }
.mnav .sub a{ font-weight:500; font-size:14px; padding-left:24px; color:#9FAAB5; }

/* ============================================================
   4. HERO — ПОДБОР
   ============================================================ */
.hero{ background:var(--hero-bg); padding:48px 0 56px; border-bottom:1px solid var(--line); }
.hero-grid{ display:grid; grid-template-columns:1fr; gap:28px; }
.picker{
  background:var(--picker-bg); color:var(--picker-fg); border-radius:var(--radius-lg); padding:34px 36px;
  position:relative; overflow:hidden; box-shadow:var(--shadow-md);
}
.picker::after{ content:""; position:absolute; right:-60px; top:-60px; width:260px; height:260px; background:radial-gradient(circle, rgba(216,31,38,.22), transparent 65%); pointer-events:none; }
.picker .kicker{ color:var(--red); }
.picker h1{ color:var(--picker-fg); font-size:34px; font-weight:800; letter-spacing:-.01em; margin:10px 0 6px; max-width:680px; }
.picker .lead{ color:color-mix(in srgb, var(--picker-fg) 65%, var(--picker-bg)); font-size:15.5px; max-width:560px; margin-bottom:26px; }
.picker-row{ display:grid; grid-template-columns:repeat(3,1fr) auto; gap:14px; align-items:end; }
.field label{ display:block; font-size:12.5px; font-weight:600; color:color-mix(in srgb, var(--picker-fg) 55%, var(--picker-bg)); margin-bottom:7px; font-family:var(--font-head); letter-spacing:.02em; }
.select{ position:relative; }
.select select{
  width:100%; appearance:none; -webkit-appearance:none; border:1px solid var(--dark-line); background:var(--dark-2);
  color:#fff; padding:13px 40px 13px 15px; border-radius:var(--radius); font-size:14.5px; cursor:pointer;
  transition:border-color .15s, opacity .15s;
}
.select select:hover:not(:disabled){ border-color:#3C4F60; }
.select select:focus{ outline:0; border-color:var(--red); }
.select select:disabled{ opacity:.45; cursor:not-allowed; }
.select::after{ content:""; position:absolute; right:15px; top:50%; width:9px; height:9px; border-right:2px solid #8B97A3; border-bottom:2px solid #8B97A3; transform:translateY(-65%) rotate(45deg); pointer-events:none; }
.btn-find{
  background:var(--red); color:var(--brand-cta-fg); border:0; border-radius:var(--radius); padding:13px 26px;
  font-family:var(--font-head); font-weight:700; font-size:15px; white-space:nowrap; height:48px;
  display:inline-flex; align-items:center; gap:9px; transition:background .15s, transform .08s;
}
.btn-find:hover{ background:var(--red-dark); }
.btn-find:active{ transform:translateY(1px); }

/* алфавитный справочник */
.brand-index{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:24px 28px; }
.nav-top{ display:flex; align-items:center; justify-content:space-between; gap:14px; margin-bottom:16px; flex-wrap:wrap; }
.nav-bc{ display:flex; align-items:center; gap:6px; flex-wrap:wrap; font-family:var(--font-head); }
.bc-step{ background:none; border:0; padding:3px 4px; font-family:inherit; font-weight:700; font-size:15px; color:var(--red); cursor:pointer; border-radius:4px; }
.bc-step:hover{ text-decoration:underline; }
.bc-step.is-current{ color:var(--ink); cursor:default; }
.bc-step.is-current:hover{ text-decoration:none; }
.bc-sep{ color:var(--faint); font-weight:400; }
.nav-hint{ font-size:12.5px; color:var(--faint); font-family:var(--font-head); font-weight:600; letter-spacing:.02em; text-transform:uppercase; }

.brand-list{ display:grid; grid-template-columns:repeat(5,1fr); gap:6px 10px; }
.brand-list.is-list{ grid-template-columns:repeat(2,1fr); gap:8px; }
.ni{
  display:flex; align-items:center; justify-content:space-between; gap:8px; width:100%; text-align:left;
  padding:9px 12px; border-radius:7px; font-size:14px; font-weight:500; color:var(--ink);
  background:none; border:1px solid transparent; cursor:pointer; transition:background .12s, color .12s, border-color .12s;
}
.ni .ni-name{ flex:1 1 auto; min-width:0; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.ni:hover{ background:var(--red-soft); color:var(--red); }
.ni .cnt{ color:var(--faint); font-size:12px; flex-shrink:0; }
.ni:hover .cnt{ color:var(--red); }
.ni-row{ border-color:var(--line-2); background:var(--bg-soft-2); padding:13px 14px; font-weight:600; }
.ni-row .ni-next{ color:var(--faint); flex-shrink:0; transition:transform .15s; }
.ni-row:hover{ border-color:var(--red); background:var(--red-soft); }
.ni-row:hover .ni-next{ color:var(--red); transform:translateX(3px); }
.ni-gen .ni-go{ display:inline-flex; align-items:center; gap:5px; font-family:var(--font-head); font-weight:700; font-size:13px; color:var(--red); flex-shrink:0; }

/* ============================================================
   5. ПРЕИМУЩЕСТВА
   ============================================================ */
.adv-sec{ background:var(--adv-bg); }
.adv-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; }
.adv{
  background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); padding:28px 26px;
  display:flex; gap:18px; align-items:flex-start; transition:box-shadow .18s, transform .18s, border-color .18s;
}
.adv:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); border-color:#D7DDE3; }
.adv-ico{ width:54px; height:54px; border-radius:50%; border:2px solid var(--red); color:var(--red); display:grid; place-items:center; flex-shrink:0; }
.adv h3{ font-size:16.5px; font-weight:700; margin-bottom:6px; }
.adv p{ font-size:14px; color:var(--muted); margin:0; }

/* ============================================================
   6. ИНФОБЛОГ — СЛАЙДЕР
   ============================================================ */
.blog{ background:var(--blog-bg); }
.slider-ctrls{ display:flex; gap:10px; }
.s-arrow{ width:44px; height:44px; border-radius:50%; border:1px solid var(--line); background:#fff; color:var(--ink); display:grid; place-items:center; transition:all .15s; }
.s-arrow:hover:not(:disabled){ background:var(--red); border-color:var(--red); color:var(--brand-cta-fg); }
.s-arrow:disabled{ opacity:.4; cursor:not-allowed; }
.slider-vp{ overflow:hidden; }
.slider-track{ display:flex; gap:24px; transition:transform .4s cubic-bezier(.4,0,.2,1); }
.post{ background:#fff; border:1px solid var(--line); border-radius:var(--radius-lg); overflow:hidden; flex:0 0 calc((100% - 48px)/3); display:flex; flex-direction:column; transition:box-shadow .18s, transform .18s; }
.post:hover{ box-shadow:var(--shadow-md); transform:translateY(-3px); }
.post-img{ aspect-ratio:16/10; }
.post-img--placeholder{ background:linear-gradient(135deg,#e8eaed,#d5d9e0); }
.post-body{ padding:20px 22px 24px; display:flex; flex-direction:column; gap:9px; flex:1; }
.post-date{ font-size:12.5px; color:var(--faint); }
.post-title{ font-family:var(--font-head); font-weight:700; font-size:17px; line-height:1.3; }
.post:hover .post-title{ color:var(--red); }
.post-excerpt{ font-size:14px; color:var(--muted); margin:0; }
.post-more{ margin-top:auto; padding-top:6px; font-family:var(--font-head); font-weight:600; font-size:13.5px; color:var(--red); display:inline-flex; align-items:center; gap:5px; }

/* ============================================================
   7. СОЦСЕТИ
   ============================================================ */
.social{ padding:48px 0; background:var(--social-bg); }
.social-row{ display:flex; flex-wrap:wrap; gap:14px; }
.social-cap{
  display:inline-flex; align-items:center; gap:10px; padding:12px 22px; border-radius:999px;
  border:1px solid var(--line); background:#fff; font-family:var(--font-head); font-weight:600; font-size:15px;
  transition:all .15s; box-shadow:var(--shadow-sm);
}
.social-cap:hover{ transform:translateY(-2px); box-shadow:var(--shadow-md); }
.social-cap .sc-ico{ width:24px; height:24px; border-radius:6px; display:grid; place-items:center; color:#fff; font-family:var(--font-head); font-weight:800; font-size:12px; }

/* ============================================================
   8. КОНТАКТЫ + КАРТЫ
   ============================================================ */
.contacts-sec{ background:var(--contacts-bg); }
.contact-block{ display:grid; grid-template-columns:0.85fr 1.15fr; gap:36px; align-items:start; }
.contact-block + .contact-block{ margin-top:48px; padding-top:48px; border-top:1px solid var(--line); }
.contact-info .ci-city{ font-size:26px; font-weight:800; padding-top:16px; border-top:3px solid var(--red); display:inline-block; margin-bottom:18px; }
.ci-row{ display:flex; gap:13px; padding:13px 0; border-bottom:1px solid var(--line-2); }
.ci-row:last-of-type{ border-bottom:0; }
.ci-ico{ width:22px; color:var(--red); flex-shrink:0; margin-top:2px; }
.ci-row .lbl{ font-size:12px; color:var(--faint); text-transform:uppercase; letter-spacing:.05em; font-weight:600; font-family:var(--font-head); margin-bottom:2px; }
.ci-row .val{ font-size:15px; color:var(--ink); }
.ci-row .val a{ font-weight:600; }
.ci-row .val a:hover{ color:var(--red); }
.ci-phone{ font-family:var(--font-head); font-weight:700; font-size:20px; }
.map-wrap{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--line); position:relative; }
.map-ph{ aspect-ratio:16/9; width:100%; }
.map-open{ display:flex; align-items:center; justify-content:center; gap:8px; background:#fff; border-top:1px solid var(--line); padding:13px; font-family:var(--font-head); font-weight:600; font-size:14px; color:var(--ink); transition:color .15s; }
.map-open:hover{ color:var(--red); }

/* ============================================================
   9. ФУТЕР
   ============================================================ */
.footer{ background:var(--footer-bg); border-top:1px solid var(--line); padding:54px 0 30px; }
.footer-seo{ max-width:880px; margin-bottom:32px; }
.footer-seo h2{ font-size:20px; font-weight:800; margin-bottom:12px; }
.footer-seo p{ font-size:13.5px; color:var(--muted); margin:0 0 10px; }
.footer-nav{ display:flex; flex-wrap:wrap; gap:8px 26px; padding:24px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.footer-nav a{ font-family:var(--font-head); font-weight:600; font-size:14px; color:var(--footer-fg); }
.footer-nav a:hover{ color:var(--red); }
.footer-bottom{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:14px; padding-top:22px; }
.footer-bottom .copy{ font-size:13px; color:var(--muted); }
.footer-bottom .legal{ display:flex; flex-wrap:wrap; gap:6px 20px; }
.footer-bottom .legal a{ font-size:13px; color:var(--faint); text-decoration:underline; text-underline-offset:2px; }
.footer-bottom .legal a:hover{ color:var(--red); }

/* placeholders (изображения/карты) */
.ph{
  background-color:var(--bg-soft);
  background-image:repeating-linear-gradient(135deg, rgba(21,32,43,.05) 0 12px, rgba(21,32,43,.02) 12px 24px);
  display:grid; place-items:center; color:var(--faint);
  font-family:"Roboto Mono", ui-monospace, monospace; font-size:12px; letter-spacing:.04em; text-align:center;
}
.ph span{ background:rgba(255,255,255,.78); padding:5px 12px; border-radius:5px; }

/* toast */
.toast{
  position:fixed; left:50%; bottom:28px; transform:translate(-50%,140%);
  background:var(--dark); color:#fff; padding:13px 22px; border-radius:10px; font-size:14px; font-weight:500;
  box-shadow:var(--shadow-lg); z-index:200; transition:transform .3s cubic-bezier(.2,.8,.2,1), opacity .25s; max-width:90vw;
  display:flex; align-items:center; gap:10px; font-family:var(--font-head); opacity:0; pointer-events:none;
}
.toast.show{ transform:translate(-50%,0); opacity:1; }
.toast .t-dot{ width:8px; height:8px; border-radius:50%; background:var(--red); }

/* ============================================================
   АДАПТИВ
   ============================================================ */
@media (max-width:1199px){
  .contacts{ display:none; }
  .brand-list{ grid-template-columns:repeat(4,1fr); }
  .search{ width:300px; }
  .picker-row{ grid-template-columns:repeat(2,1fr); }
  .btn-find{ grid-column:1 / -1; justify-content:center; }
}
@media (max-width:900px){
  .adv-grid{ grid-template-columns:repeat(2,1fr); }
  .post{ flex-basis:calc((100% - 24px)/2); }
  .contact-block{ grid-template-columns:1fr; gap:24px; }
}
@media (max-width:767px){
  .section{ padding:46px 0; }
  .container{ padding:0 16px; }
  .nav-menu, .search{ display:none; }
  .hamburger{ display:inline-flex; }
  .navbar .container{ min-height:54px; align-items:center; }
  .navbar-brand-m{ display:flex; }
  .section-title{ font-size:24px; }
  .picker{ padding:26px 22px; }
  .picker h1{ font-size:26px; }
  .picker-row{ grid-template-columns:1fr; }
  .brand-list{ grid-template-columns:repeat(2,1fr); }
  .adv-grid{ grid-template-columns:1fr; }
  .post{ flex-basis:100%; }
  .ci-phone{ font-size:18px; }
}
