/* ============== Star Car Premium — премиум светлая тема ============== */

:root {
  --bg: #faf8f4;
  --bg-2: #f3f0e9;
  --bg-3: #ffffff;
  --surface: #ffffff;
  --surface-2: #faf8f3;
  --border: #ebe5d9;
  --border-strong: #ddd6c6;
  --text: #1c1b17;
  --text-muted: #6c685e;
  --text-dim: #9a958a;
  --accent: #bf9540;
  --accent-2: #a17829;
  --accent-soft: rgba(191, 149, 64, 0.14);
  --danger: #c0392b;
  --success: #3f9d6b;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-sm: 8px;
  --container: 1280px;
  --font-sans: 'Inter', 'Manrope', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Manrope', 'Inter', sans-serif;
  --shadow-card: 0 24px 60px -34px rgba(60, 48, 22, 0.28);
  --shadow-lux: 0 30px 80px -44px rgba(60, 48, 22, 0.3), inset 0 1px 0 rgba(255,255,255,0.7);
  --shadow-soft: 0 1px 0 rgba(255, 255, 255, 0.6) inset, 0 0 0 1px var(--border);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(900px 500px at 50% -15%, rgba(191, 149, 64, 0.1), transparent 62%),
    radial-gradient(700px 420px at 100% 12%, rgba(191, 149, 64, 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s ease, opacity .2s ease; }
a:hover { color: var(--accent-2); }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }

.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--accent); color: #000; padding: 8px 16px; border-radius: 6px;
}
.skip-link:focus { left: 8px; z-index: 1000; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============== Typography ============== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700; letter-spacing: -0.02em;
  margin: 0 0 .5em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-muted); }
p { margin: 0 0 1em; }
small, .small { font-size: 0.85rem; }
.muted { color: var(--text-muted); }
.serif { font-family: 'Georgia', 'Times New Roman', serif; }
.accent { color: var(--accent-2); }
.eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; font-weight: 600;
  color: var(--accent);
  padding: 6px 14px;
  border: 1px solid var(--accent-soft);
  border-radius: 999px;
  background: var(--accent-soft);
  margin-bottom: 18px;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: transform .15s ease, background .2s, color .2s, border-color .2s, box-shadow .2s;
  cursor: pointer;
  text-align: center;
  background: transparent;
  color: var(--text);
}
.btn-lg { padding: 16px 30px; font-size: 1rem; }
.btn-primary {
  background: linear-gradient(180deg, var(--accent-2), var(--accent));
  color: #14110a;
  border-color: var(--accent);
  box-shadow: 0 10px 30px -16px rgba(200, 162, 91, 0.6);
}
.btn-primary:hover { transform: translateY(-1px); color: #0a0904; }
.btn-outline { border-color: var(--border-strong); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent-2); }
.btn-ghost { border-color: var(--border-strong); color: var(--text); background: rgba(0,0,0,.02); }
.btn-ghost:hover { background: rgba(0,0,0,.05); color: var(--accent-2); border-color: var(--accent); }
.btn-block { width: 100%; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--accent-2); font-weight: 600;
  transition: gap .2s;
}
.link-arrow:hover { gap: 10px; }

/* ============== Header ============== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82));
  border-bottom: 1px solid rgba(191, 149, 64, 0.2);
  box-shadow: 0 18px 50px -44px rgba(60, 48, 22, 0.45);
}
.header-inner {
  display: flex; align-items: center; gap: 32px;
  padding-top: 12px; padding-bottom: 12px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text);
  font-family: var(--font-display); font-weight: 800; letter-spacing: 0.02em;
}
.brand-mark { color: var(--accent); display: inline-flex; }
.brand-name { font-size: 1.1rem; }
.brand-image { gap: 12px; }
.brand-logo-shell {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 2px 0;
  min-height: 44px;
  background: transparent;
  border: 0;
}
.brand-logo {
  display: block; width: auto; max-width: 170px;
  object-fit: contain;
  filter: saturate(1.02) contrast(1.04);
  mix-blend-mode: multiply;
}
.brand-logo[height] { height: auto; max-height: 42px; }
.brand-logo-shell-footer {
  min-height: 40px;
  padding: 2px 0;
}
.site-footer .brand-logo { max-width: 130px; }
.site-footer .brand-logo[height] { max-height: 30px; }
.site-nav {
  display: flex; gap: 24px; flex: 1;
  margin-left: 24px;
}
.site-nav a {
  color: var(--text-muted); font-size: 0.95rem; font-weight: 500;
  padding: 6px 0;
  position: relative;
}
.site-nav a:hover { color: var(--text); }
.site-nav a.is-active { color: var(--accent-2); }
.site-nav a.is-active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--accent);
  border-radius: 2px;
}
.header-actions { display: flex; align-items: center; gap: 16px; }
.phone-link { font-weight: 600; color: var(--text); }
.burger { display: none; background: transparent; border: 0; flex-direction: column; gap: 4px; padding: 8px; }
.burger span { width: 22px; height: 2px; background: var(--text); border-radius: 2px; }

.mobile-nav {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  flex-direction: column; gap: 14px;
}
.mobile-nav a {
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  padding: 8px 0;
}
.mobile-nav.is-open { display: flex; }
.mobile-phone { color: var(--accent-2) !important; }

/* ============== Hero ============== */
.hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(800px 400px at 80% 10%, rgba(191, 149, 64, 0.12), transparent 60%),
    radial-gradient(700px 500px at 10% 90%, rgba(191, 149, 64, 0.07), transparent 60%),
    linear-gradient(180deg, #fbf9f5 0%, #f5f1e9 100%);
  z-index: 0;
}
.hero-bg::before,
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.hero-bg::before {
  background:
    linear-gradient(90deg, rgba(250,248,244,0.82) 0%, rgba(250,248,244,0.5) 34%, rgba(250,248,244,0.08) 60%, rgba(250,248,244,0.18) 100%),
    linear-gradient(180deg, rgba(250,248,244,0.2) 0%, rgba(250,248,244,0) 40%, rgba(250,248,244,0.55) 100%);
}
.hero-bg::after {
  background:
    radial-gradient(700px 360px at 78% 20%, rgba(191,149,64,0.16), transparent 62%);
  opacity: 0.7;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url('/img/hero/hero-main.png');
  background-position: center right;
  background-size: cover;
  background-repeat: no-repeat;
  filter: saturate(1.03) contrast(1.02);
}
.hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1fr) 360px;
  gap: 60px; align-items: center;
}
.hero-content { max-width: 720px; }
.hero-title {
  font-size: clamp(2.4rem, 6vw, 5rem);
  line-height: 1.04;
  margin-bottom: 20px;
}
.hero-title em { font-style: italic; color: var(--accent-2); font-weight: 600; }
.hero-lead {
  font-size: 1.1rem; max-width: 620px; color: var(--text-muted);
  margin-bottom: 32px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 64px; }
.hero-stats {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700; color: var(--accent-2);
  margin-bottom: 4px;
}
.hero-stats span { color: var(--text-muted); font-size: 0.9rem; }
/* ============== Hero banner «Под заказ» ============== */
.hero-banner {
  background:
    radial-gradient(400px 200px at 100% 0%, rgba(191, 149, 64, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(250, 247, 240, 0.97));
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 26px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-lux);
}
.hero-banner-eyebrow {
  display: inline-block;
  text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.68rem; font-weight: 700; color: var(--accent);
  padding: 5px 11px; border: 1px solid var(--accent-soft); background: var(--accent-soft);
  border-radius: 999px;
  margin-bottom: 14px;
}
.hero-banner-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.2rem; line-height: 1.25;
  margin: 0 0 8px;
}
.hero-banner-lead { color: var(--text-muted); font-size: 0.88rem; line-height: 1.5; margin: 0 0 18px; }

.hero-banner-list {
  list-style: none !important; padding: 0 !important; margin: 0 0 18px !important;
  display: grid !important; grid-template-columns: 1fr 1fr !important; gap: 8px !important;
}
.country-chip {
  display: flex !important; align-items: center; gap: 10px;
  padding: 9px 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.022), rgba(0,0,0,0.01));
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  min-width: 0;
  list-style: none !important;
}
.country-chip::before, .country-chip::marker { display: none !important; content: none !important; }
.country-chip:hover { border-color: var(--accent); background: rgba(191, 149, 64, 0.08); transform: translateY(-1px); }

.country-flag {
  flex: 0 0 42px;
  width: 42px !important; height: 28px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 6px; overflow: hidden;
  background: var(--bg-3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 2px 6px rgba(60,48,22,0.18);
}
.country-flag img {
  width: 42px !important; height: 28px !important;
  max-width: 42px !important; max-height: 28px !important;
  display: block; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.country-chip-meta { display: flex; flex-direction: column; min-width: 0; gap: 1px; }
.country-chip-meta strong {
  font-size: 0.86rem; font-weight: 600; line-height: 1.2;
  color: var(--text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.country-chip-meta span {
  color: var(--text-dim); font-size: 0.7rem;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-banner-cta { margin-top: 4px; }

.hero-marquee {
  margin-top: 56px;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* ============== Баннер на главной «Подобрать авто под заказ» ============== */
.order-promo-section { padding: 80px 0; }
.order-promo {
  position: relative; overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, #ffffff 0%, #f6f1e6 46%, #ffffff 100%);
  border: 1px solid rgba(191, 149, 64, 0.28);
  box-shadow: 0 44px 120px -52px rgba(60,48,22,0.4), inset 0 1px 0 rgba(255,255,255,0.7);
}
.order-promo-bg { position: absolute; inset: 0; pointer-events: none; }
.order-promo-glow {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.5;
}
.order-promo-glow-1 {
  width: 500px; height: 500px;
  left: -150px; top: -200px;
  background: radial-gradient(circle, rgba(191,149,64,0.22), transparent 70%);
}
.order-promo-glow-2 {
  width: 600px; height: 600px;
  right: -200px; bottom: -300px;
  background: radial-gradient(circle, rgba(191,149,64,0.14), transparent 70%);
}
.order-promo-pattern {
  position: absolute; inset: 0; width: 100%; height: 100%;
  opacity: 0.35;
}

.order-promo-inner {
  position: relative; z-index: 1;
  padding: 64px 56px;
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 56px; align-items: center;
}
.order-promo-main { max-width: 720px; }
.order-promo-title {
  font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05;
  margin: 14px 0 16px; font-weight: 800;
}
.order-promo-title .accent {
  display: block;
  font-family: var(--font-display);
  font-style: italic; font-weight: 600;
  color: var(--accent-2);
  font-size: 0.7em; margin-top: 8px;
}
.order-promo-lead {
  color: var(--text-muted);
  font-size: 1.05rem; max-width: 600px;
  margin: 0 0 28px;
}

.order-promo-countries {
  list-style: none !important; padding: 0 !important; margin: 0 0 32px !important;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.order-promo-country {
  display: inline-flex !important; align-items: center; gap: 10px;
  padding: 6px 18px 6px 6px;
  background: rgba(0,0,0,0.025);
  border: 1px solid var(--border); border-radius: 999px;
  font-weight: 500; font-size: 0.95rem;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
  list-style: none !important;
}
.order-promo-country:hover {
  border-color: var(--accent);
  background: rgba(191, 149, 64, 0.1);
  transform: translateY(-1px);
}
.order-promo-flag {
  flex: 0 0 36px;
  width: 36px !important; height: 24px !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  border-radius: 4px; overflow: hidden;
  background: var(--bg-3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.06),
    0 2px 6px rgba(60,48,22,0.18);
}
.order-promo-flag img {
  width: 36px !important; height: 24px !important;
  max-width: 36px !important; max-height: 24px !important;
  display: block; object-fit: cover;
  filter: saturate(1.05) contrast(1.02);
}

.order-promo-cta {
  display: flex; gap: 14px; flex-wrap: wrap;
}

.order-promo-features {
  list-style: none; padding: 0; margin: 0;
  display: grid; gap: 16px;
}
.order-promo-features li {
  display: flex; gap: 14px; align-items: flex-start;
  font-weight: 500; color: var(--text);
  padding: 16px 18px;
  background: linear-gradient(180deg, rgba(0,0,0,0.022), rgba(0,0,0,0.01));
  border: 1px solid var(--border);
  border-radius: 16px;
  transition: border-color .2s ease, background .2s ease;
}
.order-promo-features li:hover {
  border-color: var(--accent);
  background: rgba(191, 149, 64, 0.08);
}
.order-promo-check {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
}
.order-promo-check svg { width: 16px; height: 16px; }

@media (max-width: 1024px) {
  .order-promo-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 32px; }
  .order-promo-features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .order-promo-section { padding: 48px 0; }
  .order-promo-inner { padding: 36px 24px; }
  .order-promo-features { grid-template-columns: 1fr; }
  .order-promo-cta { flex-direction: column; align-items: stretch; }
  .order-promo-cta .btn { width: 100%; }
}

/* ============== Страница «Под заказ» ============== */
.order-hero {
  position: relative;
  padding: 110px 0 90px;
  background:
    linear-gradient(90deg, rgba(250,248,244,0.97) 0%, rgba(250,248,244,0.86) 34%, rgba(250,248,244,0.45) 62%, rgba(250,248,244,0.25) 100%),
    linear-gradient(180deg, rgba(250,248,244,0.2) 0%, rgba(250,248,244,0) 45%, rgba(250,248,244,0.65) 100%),
    url('/img/hero/order-import.png');
  background-size: cover, cover, cover;
  background-position: center, center, center right;
  border-bottom: 1px solid var(--border);
}
.order-hero .eyebrow {
  display: inline-block; text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.72rem; font-weight: 700; color: var(--accent);
  padding: 6px 14px; border: 1px solid var(--accent-soft); background: var(--accent-soft);
  border-radius: 999px; margin-bottom: 18px;
}
.order-hero-title {
  font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.05; margin: 0 0 16px;
  max-width: 880px;
}
.order-hero-lead { color: var(--text-muted); max-width: 720px; font-size: 1.05rem; }

.order-steps { padding: 48px 0; border-bottom: 1px solid var(--border); }
.order-steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.order-step {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 28px;
  transition: border-color .2s ease, transform .2s ease;
}
.order-step:hover { border-color: var(--accent); transform: translateY(-2px); }
.order-step-num {
  display: inline-block; font-family: var(--font-display); font-weight: 800;
  font-size: 1.1rem; color: var(--accent);
  margin-bottom: 12px; letter-spacing: 0.1em;
}
.order-step h3 { font-size: 1.2rem; margin: 0 0 8px; }
.order-step p { color: var(--text-muted); margin: 0; }

.order-form-section { padding: 64px 0 96px; }
.order-form-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px;
  align-items: flex-start;
}
.order-form-head h2 { font-size: 1.8rem; margin: 0 0 6px; }
.order-form-head { margin-bottom: 28px; }
.order-form fieldset {
  border: none; border-top: 1px solid var(--border);
  padding: 22px 0 4px; margin: 0 0 8px; background: transparent;
}
.order-form fieldset:first-of-type { border-top: none; padding-top: 0; }
.order-form legend {
  padding: 0; color: var(--accent-2); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.78rem;
  margin-bottom: 6px;
}
.muted-inline { color: var(--text-dim); font-weight: 400; text-transform: none; letter-spacing: 0; }
.order-form label {
  display: block; margin-bottom: 14px;
}
.order-form label:last-child { margin-bottom: 0; }
.order-form label > span {
  display: block; font-size: 0.82rem; color: var(--text-muted);
  margin-bottom: 6px;
}
.req { color: var(--accent); }
.order-form input,
.order-form select,
.order-form textarea {
  width: 100%; padding: 12px 14px; font: inherit; color: var(--text);
  background: var(--bg-2); border: 1px solid var(--border);
  border-radius: 10px; transition: border-color .15s ease, background .15s ease;
}
.order-form input:focus,
.order-form select:focus,
.order-form textarea:focus {
  outline: none; border-color: var(--accent); background: var(--bg-3);
}
.order-form textarea { resize: vertical; min-height: 96px; }
.order-form .form-row.two {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.order-form .form-row.two > label { margin-bottom: 14px; }

.checkbox-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-bottom: 16px;
}
.checkbox-tile {
  position: relative; cursor: pointer;
  padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: var(--bg-2); text-align: center; transition: all .15s ease;
  margin-bottom: 0 !important;
}
.checkbox-tile:hover { border-color: var(--border-strong); }
.checkbox-tile input { position: absolute; opacity: 0; pointer-events: none; }
.checkbox-tile span { font-weight: 500; color: var(--text); display: block; margin: 0 !important; font-size: 0.95rem; }
.checkbox-tile:has(input:checked) {
  border-color: var(--accent); background: var(--accent-soft); color: var(--accent-2);
}
.checkbox-tile:has(input:checked) span { color: var(--accent-2); }

.order-form-actions {
  display: flex; flex-direction: column; gap: 10px; align-items: flex-start;
  padding-top: 8px;
}
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.small { font-size: 0.82rem; }

.form-error {
  background: rgba(226, 88, 98, 0.1); border: 1px solid rgba(226, 88, 98, 0.3);
  color: #f3a4ab; padding: 12px 16px; border-radius: 10px; margin-bottom: 20px;
}

.order-success {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 48px 40px; text-align: center;
}
.order-success-icon {
  width: 64px; height: 64px; margin: 0 auto 20px;
  border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
}
.order-success-icon svg { width: 32px; height: 32px; }
.order-success h2 { font-size: 1.6rem; margin: 0 0 10px; }
.order-success p { color: var(--text-muted); margin: 0 0 24px; }

.order-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.order-side-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
}
.order-side-card h3 {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--text-muted); font-weight: 600; margin: 0 0 14px;
}
.order-side-phone {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.4rem; color: var(--text); margin-bottom: 8px;
}
.order-side-phone:hover { color: var(--accent); }
.order-side-socials {
  display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap;
}
.order-side-socials a {
  padding: 6px 14px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.85rem; transition: all .15s ease;
}
.order-side-socials a:hover { border-color: var(--accent); color: var(--accent-2); }

.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative; padding: 6px 0 6px 26px;
  color: var(--text-muted); font-size: 0.92rem;
}
.check-list li::before {
  content: ''; position: absolute; left: 0; top: 12px;
  width: 14px; height: 8px;
  border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent);
  transform: rotate(-45deg);
}

@media (max-width: 900px) {
  .order-form-wrap { grid-template-columns: 1fr; }
  .order-side { position: static; }
  .order-steps-grid { grid-template-columns: 1fr; }
  .order-form .form-row.two { grid-template-columns: 1fr; }
  .checkbox-grid { grid-template-columns: repeat(2, 1fr); }
}
.marquee-track {
  display: inline-flex; gap: 48px; white-space: nowrap;
  animation: marquee 40s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display); font-weight: 600;
  color: var(--text-dim); font-size: 1.4rem;
  letter-spacing: 0.04em;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Sections ============== */
.section { padding: 80px 0; }
.section-pt-0 { padding-top: 0; }
.section-pt-lg { padding-top: 120px; }
.section-dark { background: linear-gradient(180deg, #ffffff, #f7f4ee); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 40px; flex-wrap: wrap;
}
.section-head h2 { margin-bottom: 6px; }
.section-sub { max-width: 600px; }

.page-head { padding: 80px 0 40px; border-bottom: 1px solid var(--border); }
.page-head h1 { margin-bottom: 12px; }
.lead { font-size: 1.15rem; color: var(--text-muted); max-width: 720px; }

/* ============== Car cards ============== */
.cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.car-card {
  background: linear-gradient(180deg, #ffffff, #fbf9f3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.car-card:hover {
  transform: translateY(-4px);
  border-color: rgba(191, 149, 64, 0.45);
  box-shadow: var(--shadow-card);
}
.car-card-link { display: block; color: inherit; }
.car-card-link:hover { color: inherit; }
.car-card-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #efeae0, #e6dfd0);
  overflow: hidden;
}
.car-card-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.car-card:hover .car-card-media img { transform: scale(1.06); }
.car-card-placeholder {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--text-dim); font-size: 0.9rem;
}
.badge-discount {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #14110a;
  padding: 4px 10px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.1em;
}

/* Маркировка «В пути под заказ» */
.badge-transit {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(20, 24, 40, 0.82); color: #fff;
  padding: 5px 11px; border-radius: 999px;
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  backdrop-filter: blur(4px);
  cursor: help; outline: none;
}
.badge-transit svg { width: 14px; height: 14px; }
.badge-transit-tip {
  position: absolute; top: calc(100% + 8px); right: 0;
  white-space: nowrap;
  background: #14182a; color: #fff;
  padding: 7px 12px; border-radius: 8px;
  font-size: 0.78rem; font-weight: 600;
  text-transform: none; letter-spacing: normal;
  box-shadow: 0 12px 30px -10px rgba(0,0,0,0.5);
  opacity: 0; transform: translateY(-4px); pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}
.badge-transit-tip::before {
  content: ''; position: absolute; bottom: 100%; right: 16px;
  border: 6px solid transparent; border-bottom-color: #14182a;
}
.badge-transit:hover .badge-transit-tip,
.badge-transit:focus .badge-transit-tip { opacity: 1; transform: translateY(0); }

/* Статус на странице авто */
.car-status {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  font-size: 0.85rem; font-weight: 700;
  margin-bottom: 16px;
}
.car-status svg { width: 16px; height: 16px; }
.car-status-stock { background: rgba(40, 160, 90, 0.12); color: #1f9d57; }
.car-status-transit { background: rgba(40, 80, 200, 0.12); color: #3358c8; }
.car-card-body { padding: 20px 22px 22px; }
.car-card-brand {
  text-transform: uppercase; letter-spacing: 0.18em;
  font-size: 0.72rem; color: var(--accent);
  margin-bottom: 8px;
}
.car-card-title {
  font-size: 1.1rem; margin-bottom: 16px; min-height: 2.5em;
}
.car-card-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.car-card-price strong { font-size: 1.2rem; font-family: var(--font-display); }
.car-card-old { color: var(--text-dim); text-decoration: line-through; font-size: 0.9rem; }

/* ============== Brands ============== */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
}
.brand-tile {
  display: flex; align-items: center; justify-content: center;
  padding: 26px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff, #fbf9f3);
  color: var(--text);
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: 0.02em;
  transition: all .2s ease;
  text-align: center;
  min-height: 90px;
}
.brand-tile:hover {
  border-color: var(--accent);
  color: var(--accent-2);
  transform: translateY(-2px);
}

/* ============== Services ============== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}
.services-grid-lg { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.service-card {
  display: flex; flex-direction: column; gap: 12px;
  background: linear-gradient(180deg, #ffffff, #fbf9f3);
  border: 1px solid var(--border);
  padding: 28px 26px;
  border-radius: var(--radius-lg);
  transition: all .25s ease;
  color: inherit;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  color: inherit;
}
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  background: var(--accent-soft);
  color: var(--accent-2);
  border-radius: 16px;
  margin-bottom: 8px;
}
.service-card h3 { margin: 0; }
.service-card p { flex: 1; }
.service-card .link-arrow { margin-top: auto; }

/* ============== Доп. услуги / Русификация ============== */
.section-head-center { justify-content: center; text-align: center; }
.section-head-center > div { margin: 0 auto; }
.section-head-center .section-sub { margin: 0 auto; }
.addon-title .accent { color: var(--accent-2); display: inline; }

.addon-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 24px;
  align-items: stretch;
}
.addon-highlight {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, #1c1b17 0%, #2a271e 55%, #3a3324 100%);
  color: #fdfaf2;
  box-shadow: var(--shadow-lux);
}
.addon-highlight-bg { position: absolute; inset: 0; z-index: 0; }
.addon-glow {
  position: absolute; width: 320px; height: 320px;
  top: -80px; right: -90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(191,149,64,0.55), rgba(191,149,64,0) 70%);
}
.addon-highlight-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: flex-start; gap: 16px;
  padding: 36px 32px;
  height: 100%;
}
.addon-badge {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: #1c1b17; background: linear-gradient(135deg, #e3c172, #bf9540);
  padding: 6px 14px; border-radius: 100px;
}
.addon-highlight-icon {
  width: 60px; height: 60px; display: grid; place-items: center;
  border-radius: 18px; color: #e7c987;
  background: rgba(191,149,64,0.16); border: 1px solid rgba(191,149,64,0.35);
}
.addon-highlight-icon svg { width: 30px; height: 30px; }
.addon-highlight h3 { margin: 0; font-size: 1.5rem; color: #fdfaf2; }
.addon-highlight p { margin: 0; color: rgba(253,250,242,0.82); line-height: 1.6; }
.addon-highlight .btn { margin-top: auto; }

.addon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.addon-card {
  display: flex; flex-direction: column; gap: 10px;
  background: linear-gradient(180deg, #ffffff, #fbf9f3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: all .25s ease;
}
.addon-card { color: inherit; text-decoration: none; }
.addon-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
.addon-card-link { margin-top: auto; color: var(--accent-2); font-weight: 600; font-size: 0.9rem; }
.addon-card:hover .addon-card-link { color: var(--accent); }
.addon-all { text-align: center; margin-top: 28px; }
.addon-card-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-2);
  border-radius: 13px;
}
.addon-card-icon svg { width: 24px; height: 24px; }
.addon-card h3 { margin: 4px 0 0; font-size: 1.05rem; }
.addon-card p { margin: 0; font-size: 0.92rem; line-height: 1.5; }

@media (max-width: 920px) {
  .addon-layout { grid-template-columns: 1fr; }
  .addon-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .addon-grid { grid-template-columns: 1fr; }
}

/* ============== Соцсети на контактах ============== */
.contact-socials {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 14px;
}
.contact-social {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 600; font-size: 0.95rem;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease;
}
.contact-social:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: var(--shadow-card);
  color: var(--accent-2);
}
.contact-social-ic {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-2), var(--accent));
  color: #14110a;
}
.contact-social-ic svg { width: 20px; height: 20px; }
.contact-social-ic-text { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.02em; }

/* ============== Карта на контактах ============== */
.contacts-map {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: var(--surface-2);
  line-height: 0;
}
.contacts-map iframe {
  display: block;
  width: 100%;
  min-height: 440px;
  border: 0;
}
.map-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--accent-2);
  font-weight: 600;
}
.map-link:hover { color: var(--accent); }

/* ============== Дооснащение — список ============== */
.upgrades-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 22px;
}
.upgrade-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; color: inherit;
  transition: all .25s ease;
}
.upgrade-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow-card); color: inherit; }
.upgrade-card-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface-2); }
.upgrade-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.upgrade-card:hover .upgrade-card-media img { transform: scale(1.05); }
.upgrade-card-price {
  position: absolute; bottom: 12px; left: 12px;
  padding: 6px 14px; border-radius: 999px;
  background: linear-gradient(135deg, #e3c172, #bf9540); color: #1c1b17;
  font-weight: 700; font-size: 0.9rem; box-shadow: 0 6px 18px -8px rgba(0,0,0,0.4);
}
.upgrade-card-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.upgrade-card-body h3 { margin: 0; font-size: 1.2rem; }
.upgrade-card-body p { flex: 1; }
.upgrade-card-body .link-arrow { margin-top: auto; color: var(--accent-2); font-weight: 600; }
.upgrade-points { margin: 4px 0 4px; }

/* ============== Страница услуги ============== */
.service-detail {
  display: grid; grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px; align-items: flex-start;
}
.service-detail-media {
  border-radius: var(--radius-lg); overflow: hidden;
  margin-bottom: 28px; border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
}
.service-detail-media img { width: 100%; height: auto; display: block; }
.service-detail-main .prose p { margin: 0 0 16px; line-height: 1.7; color: var(--text-muted); font-size: 1.02rem; }
.service-points { margin-top: 28px; }
.service-points h3 { font-size: 1.2rem; margin: 0 0 12px; }
.service-points .check-list li { font-size: 1rem; padding: 8px 0 8px 28px; }

.service-detail-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 100px; }
.service-side-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 26px;
}
.service-side-card h3 { font-size: 1.15rem; margin: 0 0 10px; }
.service-side-card .btn-block { margin: 16px 0 8px; }
.service-side-phone {
  display: block; font-family: var(--font-display); font-weight: 700;
  font-size: 1.35rem; color: var(--text); margin: 10px 0 4px;
}
.service-side-phone:hover { color: var(--accent-2); }
.service-side-socials { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.service-side-socials a {
  padding: 7px 16px; border: 1px solid var(--border); border-radius: 999px;
  font-size: 0.85rem; transition: all .15s ease; color: var(--text-muted);
}
.service-side-socials a:hover { border-color: var(--accent); color: var(--accent-2); }
.service-side-trust { background: var(--surface-2); }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail-side { position: static; }
}

/* ============== CTA ============== */
.section-cta { padding: 60px 0; }
.cta-card {
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: 48px;
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(200, 162, 91, 0.12), transparent 60%),
    linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}
.cta-card h2 { margin-bottom: 8px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============== Posts ============== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.post-card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding-bottom: 24px;
  color: inherit;
  transition: transform .25s ease, border-color .25s;
}
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); color: inherit; }
.post-media { aspect-ratio: 16 / 10; overflow: hidden; }
.post-media img { width: 100%; height: 100%; object-fit: cover; }
.post-card h3, .post-card p { padding-left: 24px; padding-right: 24px; }
.post-card h3 { margin: 20px 0 8px; }

/* ============== Catalog ============== */
.catalog-layout {
  display: grid; grid-template-columns: 280px 1fr; gap: 32px;
  align-items: flex-start;
}
.catalog-filters {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky; top: 96px;
}
.catalog-filters form { display: flex; flex-direction: column; gap: 16px; }
.filter-group label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.filter-group input,
.filter-group select {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font: inherit;
}
.filter-group input:focus,
.filter-group select:focus { border-color: var(--accent); outline: none; }
.filter-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.empty { text-align: center; padding: 80px 0; }

/* ============== Car page ============== */
.car-page {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px;
  margin-top: 24px;
}
.car-gallery-main {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.car-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 46px; height: 46px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.86); border: 1px solid var(--border);
  color: var(--text); cursor: pointer; z-index: 2;
  box-shadow: 0 6px 20px -8px rgba(0,0,0,0.35);
  transition: all .15s ease;
}
.gallery-nav svg { width: 22px; height: 22px; }
.gallery-nav:hover { background: #fff; color: var(--accent-2); border-color: var(--accent); }
.gallery-prev { left: 14px; }
.gallery-next { right: 14px; }
.gallery-counter {
  position: absolute; bottom: 14px; right: 14px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  background: rgba(28,27,23,0.7); color: #fff;
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.03em;
}
.car-gallery-thumbs {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 8px; margin-top: 12px;
}
.thumb {
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  transition: border-color .2s;
}
.thumb.is-active { border-color: var(--accent); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }

.car-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: sticky; top: 96px;
}
.car-info-brand {
  text-transform: uppercase; letter-spacing: 0.2em; font-size: 0.75rem;
  color: var(--accent); margin-bottom: 8px;
}
.car-info h1 { font-size: 1.8rem; margin-bottom: 24px; }
.car-price-block {
  display: flex; align-items: baseline; gap: 14px;
  padding: 18px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.car-price { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--accent-2); }
.car-price-old { color: var(--text-dim); text-decoration: line-through; font-size: 1.05rem; }
.car-specs {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px;
}
.car-specs li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.car-specs span { color: var(--text-muted); font-size: 0.9rem; }
.car-specs strong { font-weight: 600; }
.car-actions { display: flex; flex-direction: column; gap: 10px; }

.car-description { margin-top: 60px; max-width: 900px; }
.prose p { color: var(--text-muted); line-height: 1.7; }

.breadcrumbs { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 28px; }
.breadcrumbs a:hover { color: var(--accent-2); }

/* ============== About ============== */
.about-stats {
  list-style: none; padding: 0; margin: 0 0 60px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.about-stats li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 22px;
}
.about-stats strong { display: block; font-family: var(--font-display); font-size: 2.2rem; color: var(--accent-2); }
.about-stats span { color: var(--text-muted); font-size: 0.9rem; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 12px 0 12px 32px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 12px;
  color: var(--accent-2); font-weight: 700;
}

/* ============== Article ============== */
.article { max-width: 800px; }
.article h1 { margin-bottom: 24px; }
.article-cover { width: 100%; border-radius: var(--radius-lg); margin-bottom: 32px; }
.article-cta { margin-top: 40px; }

/* ============== Contacts ============== */
.contacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contacts-delivery {
  margin-top: 10px; padding: 12px 16px;
  background: var(--accent-soft); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); font-size: 0.95rem;
}
.footer-delivery { color: var(--accent-2) !important; }
.contacts-grid h3 { margin: 24px 0 8px; font-family: var(--font-display); font-size: 1.1rem; }
.contacts-grid h3:first-child { margin-top: 0; }
.big-phone { font-size: 1.8rem; font-family: var(--font-display); font-weight: 700; color: var(--accent-2); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); margin: 0;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em;
  transition: all .18s ease;
}
.socials a:hover { color: var(--accent-2); border-color: var(--accent); transform: translateY(-2px); }
.socials .social-max { font-size: 0.62rem; }
.socials-lg a { width: auto; height: auto; border: none; background: transparent; border-radius: 0; font-size: 1.05rem; font-weight: 400; }
.socials-lg a:hover { transform: none; }
.contact-form-wrap {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.contact-form input, .contact-form textarea { width: 100%; }

/* ============== Modals ============== */
.modal {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}
.modal-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 460px; width: 100%;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6);
  animation: pop .22s ease;
}
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-card h3 { font-size: 1.5rem; margin-bottom: 8px; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: transparent; border: 1px solid var(--border);
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--text-muted); font-size: 1.1rem;
}
.modal-close:hover { color: var(--accent-2); border-color: var(--accent); }
.modal form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.modal label { display: flex; flex-direction: column; gap: 6px; font-size: 0.85rem; color: var(--text-muted); }
.modal input, .modal textarea, .contact-form input, .contact-form textarea {
  background: var(--bg-3);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font: inherit;
  resize: vertical;
}
.modal input:focus, .modal textarea:focus,
.contact-form input:focus, .contact-form textarea:focus {
  border-color: var(--accent); outline: none;
}
.form-policy { font-size: 0.78rem; color: var(--text-dim); }

/* ============== Toast ============== */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 22px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  color: var(--text);
  border-radius: var(--radius);
  z-index: 1000;
  opacity: 0;
  transition: all .25s ease;
  pointer-events: none;
}
.toast.is-show {
  opacity: 1; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.toast.is-success { border-color: rgba(92, 194, 141, 0.4); }
.toast.is-error { border-color: rgba(226, 88, 98, 0.5); }

/* ============== Flash ============== */
.flash {
  padding: 14px 18px; margin: 16px auto;
  border-radius: var(--radius); border: 1px solid var(--border);
  background: var(--surface);
}
.flash-success { border-color: rgba(92, 194, 141, 0.45); color: var(--success); }
.flash-error { border-color: rgba(226, 88, 98, 0.45); color: var(--danger); }

/* ============== Footer ============== */
.site-footer {
  margin-top: 40px;
  background: linear-gradient(180deg, #ffffff, #f1ede5);
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid var(--border);
}
.footer-grid h4 { margin-bottom: 14px; color: var(--text); font-size: 0.85rem; }
.links { list-style: none; padding: 0; margin: 0; }
.links li { padding: 4px 0; }
.links a { color: var(--text-muted); }
.links a:hover { color: var(--accent-2); }
.footer-phone { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding-top: 24px;
  font-size: 0.85rem; color: var(--text-dim);
}
.footer-bottom a { color: var(--text-muted); }
.footer-bottom a:hover { color: var(--accent-2); }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .catalog-filters { position: static; }
  .car-page { grid-template-columns: 1fr; }
  .car-info { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contacts-grid { grid-template-columns: 1fr; gap: 32px; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-banner { max-width: 500px; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .burger { display: inline-flex; }
  .phone-link { display: none; }
  .hero { padding: 56px 0 40px; }
  .section { padding: 56px 0; }
  .section-pt-lg { padding-top: 80px; }
  .cta-card { padding: 32px 24px; flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .car-specs { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
}
