/* ==========================================================================
   СОВЕСТЬ — автомобильная компания, Волгоград
   Main stylesheet
   ========================================================================== */

:root {
  --gold: #f5c400;
  --gold-2: #ffdd55;
  --gold-dark: #c99a00;
  --gold-grad: linear-gradient(135deg, #ffe58a 0%, #f5c400 45%, #c99a00 100%);

  --bg: #ffffff;
  --bg-soft: #f5f5f2;
  --dark: #0f0f10;
  --dark-2: #17171a;
  --dark-3: #222226;
  --line-dark: rgba(255, 255, 255, 0.08);
  --line: #e7e7e3;

  --text: #18181b;
  --muted: #6b6b70;
  --muted-light: #a3a3a8;

  --green: #22a447;
  --orange: #f26a1b;

  --font-head: 'Montserrat', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;

  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;

  --sh-sm: 0 2px 10px rgba(0, 0, 0, 0.06);
  --sh-md: 0 8px 28px rgba(0, 0, 0, 0.12);
  --sh-lg: 0 18px 50px rgba(0, 0, 0, 0.22);
  --sh-gold: 0 8px 24px rgba(245, 196, 0, 0.35);

  --ease: cubic-bezier(0.22, 0.8, 0.24, 1);
  --header-h: 76px;
  --mbar-h: 0px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 10px); -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: var(--mbar-h);
}
body.no-scroll { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Typography ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-size: 12px; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; color: var(--gold-dark);
  margin-bottom: 12px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--gold); }
.section-title {
  font-family: var(--font-head); font-weight: 800;
  font-size: clamp(24px, 3.4vw, 38px); line-height: 1.15;
  text-transform: uppercase; letter-spacing: .3px;
}
.section-sub { color: var(--muted); font-size: 16px; margin-top: 12px; max-width: 640px; margin-left: auto; margin-right: auto; }
.on-dark .section-title { color: #fff; }
.on-dark .section-sub { color: var(--muted-light); }
.text-gold { color: var(--gold); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font-family: var(--font-head); font-weight: 700; font-size: 13px;
  letter-spacing: .6px; text-transform: uppercase; white-space: nowrap;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s, color .25s, border-color .25s;
  position: relative; overflow: hidden;
}
.btn i { transition: transform .25s var(--ease); }
.btn:hover i { transform: translateX(4px); }
.btn-gold { background: var(--gold-grad); color: #111; box-shadow: var(--sh-gold); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 30px rgba(245, 196, 0, .5); }
.btn-gold::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%;
  background: linear-gradient(110deg, transparent, rgba(255,255,255,.6), transparent);
  transition: left .7s var(--ease);
}
.btn-gold:hover::after { left: 140%; }
.btn-outline { border: 1.5px solid rgba(255,255,255,.35); color: #fff; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: #000; transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 0 16px; font-size: 12px; }

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.topbar { background: #0a0a0b; color: #bdbdc2; font-size: 13px; border-bottom: 1px solid var(--line-dark); }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.topbar-info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar-info span { display: inline-flex; align-items: center; gap: 7px; }
.topbar-info i { color: var(--gold); }
.topbar-links { display: flex; gap: 20px; }
.topbar-links a:hover { color: var(--gold); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: sticky; top: 0; z-index: 900;
  background: rgba(15, 15, 16, .92);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line-dark);
  transition: box-shadow .3s, background .3s;
}
.header.scrolled { box-shadow: 0 10px 30px rgba(0,0,0,.35); background: rgba(12,12,13,.97); }
.header-inner { display: flex; align-items: center; gap: 20px; height: var(--header-h); }

.logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; color: #fff; text-decoration: none; }
.logo-emblem { width: 48px; height: 48px; flex-shrink: 0; transition: transform .4s var(--ease); filter: drop-shadow(0 2px 8px rgba(245,196,0,.25)); }
.logo:hover .logo-emblem { transform: scale(1.06) rotate(-4deg); }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-head); font-weight: 800; font-size: 20px; letter-spacing: 1.5px;
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-transform: uppercase;
}
.logo-tag {
  font-size: 11px; letter-spacing: 1.2px; color: #e2e2e7; margin-top: 3px; font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.logo-tag-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 8px rgba(245,196,0,.7); }

.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a {
  color: #d6d6da; font-size: 13.5px; font-weight: 500; padding: 8px 10px; border-radius: 6px;
  position: relative; transition: color .2s; white-space: nowrap; text-decoration: none;
}
.nav a::after {
  content: ""; position: absolute; left: 10px; right: 10px; bottom: 2px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

/* Header actions: Phone (трубка), MAX, Telegram, 3 риски */
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Phone button & Popover */
.header-phone-box { position: relative; }
.header-phone-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(245,196,0,.35); border-radius: 30px;
  padding: 5px 14px 5px 6px; color: #fff; cursor: pointer; transition: all .25s var(--ease);
}
.header-phone-btn:hover {
  background: rgba(245,196,0,.14); border-color: var(--gold); transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(245,196,0,.2);
}
.phone-ico {
  width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: #111;
  display: inline-flex; align-items: center; justify-content: center; font-size: 14px;
  box-shadow: 0 2px 8px rgba(245,196,0,.4);
}
.phone-text { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }
.phone-num { font-family: var(--font-head); font-size: 14px; font-weight: 800; letter-spacing: .2px; color: #fff; }
.phone-sub { font-size: 10px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; }

/* Interactive Phone Popover */
.phone-popover {
  position: absolute; top: calc(100% + 12px); right: 0; width: 330px;
  background: rgba(18, 18, 20, 0.98); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(245,196,0,.4); border-radius: 16px; box-shadow: 0 16px 40px rgba(0,0,0,.7);
  padding: 18px 20px; z-index: 1000; animation: popoverDown .22s ease-out;
}
@keyframes popoverDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.phone-popover[hidden] { display: none !important; }
.phone-popover-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.popover-badge { font-size: 11.5px; color: var(--gold); font-weight: 700; display: inline-flex; align-items: center; gap: 6px; }
.popover-close { background: transparent; border: none; color: #888; font-size: 16px; cursor: pointer; padding: 4px; transition: color .2s; }
.popover-close:hover { color: #fff; }
.popover-label { font-size: 11.5px; color: #999; margin-bottom: 4px; }
.popover-phone-link {
  display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 14px;
  background: rgba(245,196,0,.12); border: 1.5px solid var(--gold); border-radius: 12px;
  color: #fff; font-size: 19px; font-family: var(--font-head); font-weight: 900;
  text-decoration: none; margin-bottom: 12px; transition: all .2s;
}
.popover-phone-link:hover { background: var(--gold); color: #111; transform: translateY(-1px); }
.popover-phone-link i { font-size: 18px; }
.popover-meta { font-size: 12px; color: #a5a5aa; display: grid; gap: 5px; margin-bottom: 16px; }
.popover-meta span { display: inline-flex; align-items: center; gap: 7px; }
.popover-meta i { color: var(--gold); width: 14px; }
.popover-btns { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }

/* Messenger Buttons (MAX, Telegram) */
.header-action-btn {
  height: 40px; padding: 0 14px; border-radius: 22px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: #fff; text-decoration: none; border: 1px solid rgba(255,255,255,.15);
  transition: all .25s var(--ease); white-space: nowrap;
}
.action-max {
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%);
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.action-max:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(79,70,229,.55); border-color: rgba(255,255,255,.4);
}
.action-tg {
  background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%);
  box-shadow: 0 4px 12px rgba(0,136,204,.35);
}
.action-tg i { font-size: 16px; }
.action-tg:hover {
  transform: translateY(-2px); box-shadow: 0 6px 18px rgba(0,136,204,.55); border-color: rgba(255,255,255,.4);
}

/* 3 риски (Burger Menu Button) - Always available for General Menu */
.burger {
  display: inline-flex; width: 42px; height: 42px; border-radius: 10px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(245,196,0,.35);
  position: relative; cursor: pointer; align-items: center; justify-content: center;
  transition: all .25s var(--ease);
}
.burger:hover { background: rgba(245,196,0,.15); border-color: var(--gold); }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: .3s var(--ease); }
.burger span:nth-child(1) { top: 13px; }
.burger span:nth-child(2) { top: 19px; }
.burger span:nth-child(3) { top: 25px; }
.burger.open span:nth-child(1) { top: 19px; transform: rotate(45deg); background: var(--gold); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 19px; transform: rotate(-45deg); background: var(--gold); }

/* Drawer (Общее меню) */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,.65); z-index: 950; opacity: 0; visibility: hidden; transition: .3s; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(380px, 90vw); z-index: 960;
  background: var(--dark-2); color: #fff; padding: 22px 22px 30px; overflow-y: auto;
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; gap: 18px;
  border-left: 1px solid var(--line-dark);
}
.drawer.open { transform: none; }
.drawer.open + .drawer-backdrop, .drawer-backdrop.show { opacity: 1; visibility: visible; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line-dark); padding-bottom: 16px; }
.drawer-close { background: transparent; border: none; color: #fff; font-size: 22px; cursor: pointer; padding: 6px; }
.drawer-badge-title { font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--gold); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.drawer-nav { display: flex; flex-direction: column; }
.drawer-nav a {
  padding: 13px 4px; border-bottom: 1px solid rgba(255,255,255,.06); font-family: var(--font-head);
  font-weight: 600; font-size: 15px; display: flex; align-items: center; gap: 10px; color: #eaeaea; text-decoration: none;
  transition: all .2s;
}
.drawer-nav a i:not(.fa-chevron-right) { color: var(--gold); width: 20px; font-size: 14px; text-align: center; }
.drawer-nav a .fa-chevron-right { margin-left: auto; color: #777; font-size: 12px; }
.drawer-nav a:hover { color: var(--gold); padding-left: 6px; }
.drawer-contacts { display: grid; gap: 8px; color: #bcbcc1; font-size: 13.5px; padding: 14px 0; border-top: 1px solid var(--line-dark); }
.drawer-phone { font-family: var(--font-head); font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.drawer-phone i { color: var(--gold); }
.drawer-contacts span { display: inline-flex; align-items: center; gap: 8px; }
.drawer-messengers { display: grid; gap: 10px; }
.btn-max-block {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%); color: #fff; font-weight: 700;
  border-radius: 12px; text-decoration: none; font-size: 14px;
}
.btn-tg-block {
  display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px;
  background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%); color: #fff; font-weight: 700;
  border-radius: 12px; text-decoration: none; font-size: 14px;
}

/* ==========================================================================
   HERO CENTERPIECE (Центральная фотография)
   ========================================================================== */
.hero-centerpiece {
  position: relative; background: radial-gradient(circle at 50% 25%, #1c1c20 0%, #0a0a0b 75%);
  padding: 24px 0 36px; overflow: hidden; border-bottom: 1px solid var(--line-dark);
}
.hero-centerpiece-card {
  display: flex; flex-direction: column; align-items: center; max-width: 1140px; margin: 0 auto;
}
.hero-image-wrap {
  position: relative; width: 100%; border-radius: 20px; overflow: hidden;
  border: 1.5px solid rgba(245,196,0,.25);
  box-shadow: 0 24px 70px rgba(0,0,0,.7), 0 0 30px rgba(245,196,0,.08);
  background: #080809;
}
.hero-centerpiece-img {
  width: 100%; height: auto; display: block; object-fit: contain; aspect-ratio: 1024 / 571;
  transition: transform .6s var(--ease);
}
.hero-image-wrap:hover .hero-centerpiece-img {
  transform: scale(1.015);
}
.hero-image-glow {
  position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 50px rgba(10,10,11,.6);
  background: linear-gradient(180deg, rgba(10,10,11,.2) 0%, transparent 40%, rgba(10,10,11,.5) 100%);
}

/* Action CTA Toolbar below Centerpiece Photo */
.hero-center-cta {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; width: 100%;
}
.btn-hero-stock {
  min-height: 48px; padding: 0 26px; font-weight: 800; font-size: 14px; letter-spacing: .3px;
}
.btn-max-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  background: linear-gradient(135deg, #4f46e5 0%, #3b82f6 100%); color: #fff; font-weight: 700;
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.2); font-size: 14px;
  box-shadow: 0 4px 16px rgba(79,70,229,.4); transition: all .25s var(--ease); text-decoration: none;
}
.btn-max-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(79,70,229,.6); color: #fff; }
.btn-tg-cta {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px;
  background: linear-gradient(135deg, #0088cc 0%, #29b6f6 100%); color: #fff; font-weight: 700;
  border-radius: var(--r-md); border: 1px solid rgba(255,255,255,.2); font-size: 14px;
  box-shadow: 0 4px 16px rgba(0,136,204,.4); transition: all .25s var(--ease); text-decoration: none;
}
.btn-tg-cta:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,136,204,.6); color: #fff; }
.btn-hero-calc { min-height: 48px; padding: 0 22px; font-size: 14px; }

/* ==========================================================================
   SAFE DEAL SECTION (Безопасная покупка автомобиля из Европы)
   ========================================================================== */
.section-safe-deal {
  background: #141417;
  padding: 80px 0 90px;
  position: relative;
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.safe-deal-head {
  max-width: 960px;
  margin: 0 auto 36px;
  text-align: left;
}

.safe-deal-title {
  font-family: var(--font-head);
  font-size: clamp(26px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.safe-deal-subtitle {
  font-family: var(--font-head);
  font-size: clamp(14px, 1.8vw, 17px);
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.safe-deal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 0 auto;
}

.safe-deal-card {
  display: flex;
  align-items: center;
  gap: 22px;
  background: #1f1f25;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 22px 26px;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease), background 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.safe-deal-card:hover {
  transform: translateY(-2px);
  background: #25252d;
  border-color: rgba(245, 196, 0, 0.45);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 24px rgba(245, 196, 0, 0.08);
}

.safe-deal-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.safe-deal-icon img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s var(--ease);
}

.safe-deal-card:hover .safe-deal-icon img {
  transform: scale(1.08);
}

.safe-deal-text {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #f2f2f7;
  line-height: 1.38;
}

@media (min-width: 769px) {
  .safe-deal-card:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    max-width: 580px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section-safe-deal {
    padding: 50px 0 60px;
  }
  .safe-deal-head {
    margin-bottom: 24px;
  }
  .safe-deal-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .safe-deal-card {
    padding: 16px 18px;
    gap: 16px;
    border-radius: 14px;
  }
  .safe-deal-icon {
    width: 48px;
    height: 48px;
  }
  .safe-deal-icon img {
    width: 44px;
    height: 44px;
  }
  .safe-deal-text {
    font-size: 14.5px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   BRANDS MARQUEE
   ========================================================================== */
.brands { padding: 26px 0; border-bottom: 1px solid var(--line); overflow: hidden; background: #fff; }
.marquee { display: flex; width: max-content; animation: marquee 30s linear infinite; }
.brands:hover .marquee { animation-play-state: paused; }
.marquee-group { display: flex; align-items: center; gap: 70px; padding-right: 70px; }
.marquee img { height: 46px; width: auto; object-fit: contain; filter: grayscale(100%); opacity: .7; transition: .3s; }
.marquee img:hover { filter: none; opacity: 1; transform: scale(1.1); }
.brand-text-item { font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: 0.14em; color: #777; opacity: .75; transition: .3s; white-space: nowrap; user-select: none; }
.brand-text-item:hover { color: var(--gold-dark); opacity: 1; transform: scale(1.06); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   FINANCIAL SOLUTIONS (Два выгодных финансовых решения)
   ========================================================================== */
.section-solutions {
  background: #111114;
  padding: 85px 0 95px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.solutions-head {
  max-width: 860px;
  margin: 0 auto 40px;
  text-align: center;
}

.solutions-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 38px);
  font-weight: 800;
  line-height: 1.22;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 10px 0 14px;
}

.solutions-sub {
  font-size: clamp(15px, 1.8vw, 17px);
  color: #b5b5be;
  line-height: 1.5;
  max-width: 720px;
  margin: 0 auto;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  max-width: 1160px;
  margin: 0 auto;
  gap: 28px;
  align-items: stretch;
}

.solution-card {
  background: #191920;
  border: 2px solid #f5c400;
  border-radius: 22px;
  padding: 36px 32px 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 26px rgba(245, 196, 0, 0.12);
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.solution-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 34px rgba(245, 196, 0, 0.18);
}

.solution-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #f5c400;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.solution-card-title {
  font-family: var(--font-head);
  font-size: clamp(19px, 2.2vw, 24px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 24px;
  letter-spacing: -0.01em;
}

.solution-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 0 auto;
}

.solution-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.solution-check-wrap {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 196, 0, 0.12);
  border-radius: 50%;
  margin-top: 2px;
}

.solution-check {
  width: 16px;
  height: 16px;
}

.solution-item-content h4 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0 0 4px;
}

.solution-item-content p {
  font-size: 14px;
  color: #b5b5be;
  line-height: 1.45;
  margin: 0;
}

.solution-for {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  margin: 26px 0 22px;
}

.solution-for-title {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 800;
  color: #f5c400;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution-for-text {
  font-size: 14px;
  color: #e5e5ec;
  line-height: 1.48;
  margin: 0;
}

.solution-cta .btn {
  font-size: 15px;
  padding: 16px 24px;
}

@media (max-width: 980px) {
  .solutions-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .section-solutions {
    padding: 55px 0 65px;
  }
  .solutions-head {
    text-align: left;
    margin-bottom: 26px;
  }
  .solution-card {
    padding: 24px 20px;
    border-radius: 18px;
  }
  .solution-card-title {
    margin-bottom: 20px;
  }
  .solution-item {
    gap: 12px;
  }
  .solution-for {
    padding: 16px 16px;
    margin: 22px 0 18px;
  }
}

/* ==========================================================================
   FOUNDER SECTION (Обращение основателя)
   ========================================================================== */
.section-founder {
  background: #141418;
  padding: 85px 0 95px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.founder-wrap {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
}

.founder-info {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.founder-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.founder-speech-bubble {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 3px solid var(--gold);
  border-radius: 16px;
  padding: 24px 28px;
  position: relative;
}

.founder-speech-bubble p {
  font-size: 15.5px;
  line-height: 1.55;
  color: #d1d1d8;
  margin: 0 0 12px;
}

.founder-speech-bubble p:last-child {
  margin-bottom: 0;
}

.founder-speech-lead {
  font-size: 18px !important;
  color: #ffffff !important;
}

.founder-speech-highlight {
  color: #f5c400 !important;
  font-weight: 600;
}

.founder-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.founder-actions .btn-sm {
  min-height: 44px;
  padding: 0 20px;
  font-size: 13.5px;
}

.founder-media-wrap {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #18181c;
}

.founder-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: left center;
}

/* White badge overlaid on the photo */
.founder-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ffffff;
  border-radius: 14px;
  padding: 14px 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  max-width: 220px;
  z-index: 2;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.founder-badge-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: #111111;
  line-height: 1.2;
  margin-bottom: 3px;
}

.founder-badge-role {
  font-size: 11.5px;
  color: #666666;
  font-weight: 500;
  line-height: 1.25;
}

.founder-badge-company {
  font-size: 11.5px;
  color: #222222;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 8px;
}

.founder-badge-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding: 6px 12px;
  background: #f4f4f6;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: #111111;
  text-decoration: none;
  border: 1px solid #e2e2e6;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.founder-badge-btn:hover {
  background: #ebebee;
  border-color: #d0d0d5;
}

.founder-badge-arrow {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .founder-wrap {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 640px;
  }
  .founder-badge {
    top: 14px;
    right: 14px;
    padding: 10px 14px;
    max-width: 190px;
  }
  .founder-badge-name {
    font-size: 14.5px;
  }
  .founder-badge-role,
  .founder-badge-company {
    font-size: 11px;
  }
}

@media (max-width: 768px) {
  .section-founder {
    padding: 50px 0 60px;
  }
  .founder-speech-bubble {
    padding: 18px 20px;
  }
  .founder-speech-bubble p {
    font-size: 14px;
  }
  .founder-speech-lead {
    font-size: 16px !important;
  }
  .founder-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .founder-badge {
    top: 10px;
    right: 10px;
    padding: 9px 12px;
    max-width: 170px;
    border-radius: 12px;
  }
  .founder-badge-name {
    font-size: 12.5px;
    margin-bottom: 2px;
  }
  .founder-badge-role,
  .founder-badge-company {
    font-size: 10px;
  }
  .founder-badge-company {
    margin-bottom: 6px;
  }
  .founder-badge-btn {
    padding: 4px 8px;
    font-size: 8.5px;
  }
  .founder-badge-arrow {
    width: 15px;
    height: 15px;
    font-size: 6px;
  }
}

/* ==========================================================================
   WHY US (ПОЧЕМУ МЫ?)
   ========================================================================== */
.section-why-us {
  position: relative;
  background-color: #0c0c0f;
  background-image: 
    radial-gradient(ellipse 80% 50% at 50% 15%, rgba(20, 20, 26, 0.45) 0%, #0c0c0f 100%),
    linear-gradient(180deg, rgba(12, 12, 15, 0.94) 0%, rgba(12, 12, 15, 0.82) 40%, #0c0c0f 100%),
    url('../assets/brand/fleet-showroom.jpg');
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 85px 0 95px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.why-us-header {
  text-align: center;
  margin-bottom: 48px;
}

.why-us-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
  position: relative;
  display: inline-block;
}

.why-us-title::after {
  content: '';
  display: block;
  width: 44px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  margin: 14px auto 0;
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  max-width: 760px;
  margin: 0 auto;
}

.why-us-item {
  display: flex;
  flex-direction: column;
}

.why-us-num {
  font-family: var(--font-head);
  font-size: clamp(38px, 5.5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.why-us-unit {
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 700;
  color: #ededf2;
  letter-spacing: -0.01em;
  margin-left: 2px;
}

.why-us-desc {
  color: var(--gold);
  font-size: clamp(13.5px, 1.2vw, 15px);
  line-height: 1.4;
  font-weight: 500;
  margin-top: 10px;
  max-width: 320px;
}

.why-us-slogan {
  text-align: center;
  font-family: var(--font-head);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  max-width: 780px;
  margin: 52px auto 44px;
  padding: 0 16px;
  letter-spacing: -0.01em;
}

.why-us-media {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  background: #141418;
}

.why-us-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 16 / 9;
  transition: transform 0.6s var(--ease);
}

.why-us-media:hover .why-us-img {
  transform: scale(1.02);
}

.why-us-media-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: rgba(12, 12, 16, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 30px;
  color: #ffffff;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  z-index: 2;
}

@media (max-width: 768px) {
  .section-why-us {
    padding: 60px 0 70px;
    background-image: 
      linear-gradient(180deg, rgba(12, 12, 15, 0.95) 0%, rgba(12, 12, 15, 0.88) 50%, #0c0c0f 100%),
      url('../assets/brand/fleet-showroom.jpg');
  }
  .why-us-header {
    margin-bottom: 34px;
  }
  .why-us-grid {
    gap: 30px 20px;
    padding: 0 6px;
  }
  .why-us-num {
    font-size: clamp(32px, 8vw, 46px);
  }
  .why-us-desc {
    font-size: 13px;
    margin-top: 6px;
  }
  .why-us-slogan {
    font-size: 18px;
    margin: 36px auto 28px;
  }
  .why-us-media {
    border-radius: 14px;
  }
  .why-us-media-badge {
    bottom: 12px;
    left: 12px;
    padding: 7px 12px;
    font-size: 11px;
  }
}

@media (max-width: 480px) {
  .why-us-grid {
    gap: 26px 14px;
  }
  .why-us-num {
    font-size: 30px;
  }
  .why-us-unit {
    font-size: 15px;
  }
  .why-us-desc {
    font-size: 12px;
    line-height: 1.32;
  }
  .why-us-slogan {
    font-size: 16px;
    line-height: 1.35;
  }
}

/* ==========================================================================
   CLIENT FOCUS (АВТО ДЛЯ КАЖДОГО КЛИЕНТА)
   ========================================================================== */
.section-client-focus {
  background: #0e0e12;
  padding: 85px 0 95px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.client-focus-card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  background: linear-gradient(135deg, rgba(24, 24, 30, 0.75) 0%, rgba(16, 16, 20, 0.9) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 44px 48px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

.client-focus-card::before {
  content: '';
  position: absolute;
  top: -120px;
  left: -80px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(230, 180, 20, 0.09) 0%, transparent 70%);
  pointer-events: none;
}

.client-focus-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.client-focus-title {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.22;
  letter-spacing: -0.02em;
  margin: 0;
}

.client-focus-title .text-gold {
  color: var(--gold);
}

.client-focus-text {
  font-size: 16px;
  line-height: 1.6;
  color: #cfcfe0;
  margin: 0;
}

.client-focus-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 6px;
}

.client-focus-feat {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  border-radius: 14px;
}

.feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(230, 180, 20, 0.12);
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  flex-shrink: 0;
}

.client-focus-feat b {
  display: block;
  font-size: 14px;
  color: #ffffff;
  font-family: var(--font-head);
  margin-bottom: 2px;
}

.client-focus-feat span {
  font-size: 12px;
  color: #9a9aa4;
  line-height: 1.35;
}

.client-focus-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 4px;
}

.client-focus-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #141418;
  aspect-ratio: 1024 / 622;
}

.client-focus-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.client-focus-media:hover .client-focus-img {
  transform: scale(1.025);
}

.client-focus-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(14, 14, 18, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 10px 14px;
  color: #ffffff;
  z-index: 2;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.badge-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--gold);
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.badge-text b {
  display: block;
  font-size: 13px;
  color: #ffffff;
  font-family: var(--font-head);
  line-height: 1.2;
}

.badge-text span {
  font-size: 11px;
  color: #c0c0c8;
}

.client-focus-container {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.client-focus-lead {
  font-size: 17.5px;
  color: #ffffff;
  margin: 0;
  line-height: 1.4;
}

.client-focus-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 4px 0 6px;
}

.focus-step {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 12px 18px;
  border-radius: 14px;
}

.step-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(230, 180, 20, 0.12);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.focus-step b {
  display: block;
  font-size: 14px;
  color: #ffffff;
  font-family: var(--font-head);
  margin-bottom: 2px;
}

.focus-step span {
  font-size: 12px;
  color: #9a9aa4;
  line-height: 1.35;
}

/* 2GIS Callout in Card 4 */
.client-focus-callout {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(39, 174, 96, 0.08);
  border: 1px solid rgba(39, 174, 96, 0.28);
  border-radius: 16px;
  padding: 16px 20px;
  margin: 4px 0 6px;
}

.callout-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(39, 174, 96, 0.18);
  color: #2ecc71;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.callout-text {
  flex: 1;
}

.callout-text b {
  display: block;
  font-size: 14.5px;
  color: #ffffff;
  font-family: var(--font-head);
  margin-bottom: 3px;
  line-height: 1.25;
}

.callout-text p {
  font-size: 12.5px;
  color: #c4c4cf;
  margin: 0;
  line-height: 1.35;
}

.btn-2gis {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #27ae60;
  color: #ffffff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13.5px;
  padding: 11px 18px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35);
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}

.btn-2gis:hover {
  background: #2ecc71;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.45);
}

@media (min-width: 961px) {
  .client-focus-card--reverse {
    grid-template-columns: 1.05fr 1fr;
  }
}

@media (max-width: 960px) {
  .client-focus-container {
    gap: 32px;
  }
  .client-focus-card {
    grid-template-columns: 1fr;
    padding: 30px 22px;
    gap: 32px;
  }
  .client-focus-card--reverse .client-focus-body {
    order: 1;
  }
  .client-focus-card--reverse .client-focus-media {
    order: 2;
  }
}

@media (max-width: 600px) {
  .section-client-focus {
    padding: 50px 0 60px;
  }
  .client-focus-card {
    padding: 20px 16px;
    border-radius: 18px;
  }
  .client-focus-title {
    font-size: 21px;
  }
  .client-focus-lead {
    font-size: 15.5px;
  }
  .client-focus-text {
    font-size: 14px;
  }
  .client-focus-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
  }
  .btn-2gis {
    width: 100%;
    justify-content: center;
  }
  .client-focus-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .client-focus-badge {
    bottom: 10px;
    left: 10px;
    right: 10px;
    padding: 8px 10px;
  }
  .badge-text b {
    font-size: 11.5px;
  }
  .badge-text span {
    font-size: 9.5px;
  }
}

/* ==========================================================================
   STOCK
   ========================================================================== */
.section { padding: 90px 0; }
.section-soft { background: var(--bg-soft); }
.section-dark { background: var(--dark); color: #fff; }

.stock-toolbar { display: flex; gap: 16px; justify-content: space-between; align-items: center; flex-wrap: wrap; margin-bottom: 30px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 10px 18px; border-radius: 30px; background: #fff; border: 1px solid var(--line);
  font-size: 13.5px; font-weight: 600; color: #444; transition: .25s;
}
.chip:hover { border-color: var(--gold); color: #111; }
.chip.active { background: var(--dark); color: #fff; border-color: var(--dark); }
.search-field { position: relative; flex: 0 1 320px; }
.search-field input {
  width: 100%; height: 46px; border-radius: 30px; border: 1px solid var(--line); background: #fff;
  padding: 0 46px 0 20px; font-size: 14px; outline: none; transition: .25s;
}
.search-field input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(245,196,0,.15); }
.search-field i { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: #888; pointer-events: none; }
.sort-select {
  height: 46px; border-radius: 30px; border: 1px solid var(--line); background: #fff; padding: 0 18px; font-size: 14px; outline: none; cursor: pointer;
}

.stock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 22px; }
.car-card {
  background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm);
  display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  border: 1px solid rgba(0,0,0,.04); position: relative; cursor: pointer;
}
.car-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.car-card.hidden { display: none; }
.car-img { position: relative; aspect-ratio: 16 / 10; background: linear-gradient(180deg, #f3f3f1, #e9e9e6); overflow: hidden; }
.car-img img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .6s var(--ease); transform-origin: center top; }
.car-img img.crop { height: 124%; object-position: center top; }
.car-card:hover .car-img img { transform: scale(1.07); }
.car-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge { font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 20px; background: #fff; color: var(--green); box-shadow: var(--sh-sm); }
.badge.hot { background: var(--orange); color: #fff; }
.fav-btn {
  position: absolute; top: 10px; right: 10px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: #777; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: var(--sh-sm); transition: .25s; z-index: 2;
}
.fav-btn:hover { color: #e0245e; transform: scale(1.1); }
.fav-btn.active { color: #e0245e; }
.fav-btn.active i { animation: heart .4s var(--ease); }
@keyframes heart { 50% { transform: scale(1.4); } }
.car-body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.car-title { font-family: var(--font-head); font-weight: 800; font-size: 15.5px; line-height: 1.3; margin-bottom: 12px; }
.car-specs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; font-size: 12.5px; color: var(--muted); margin-bottom: 16px; }
.car-specs span { display: flex; align-items: center; gap: 7px; min-width: 0; }
.car-specs span i { color: var(--gold-dark); width: 14px; flex-shrink: 0; }
.car-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); }
.car-price b { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 800; line-height: 1.2; }
.car-price b.sale { color: var(--orange); }
.car-price s, .car-price small { font-size: 12.5px; color: #999; }
.car-more {
  width: 42px; height: 42px; border-radius: 50%; background: var(--dark); color: #fff; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center; transition: .25s;
}
.car-card:hover .car-more { background: var(--gold); color: #111; transform: rotate(-45deg); }
.empty-state { display: none; text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state.show { display: block; }
.empty-state i { font-size: 40px; color: var(--gold); margin-bottom: 12px; }
.center-cta { text-align: center; margin-top: 24px; }

/* Telegram Catalog Banner */
.stock-tg-banner {
  background: linear-gradient(135deg, #101c26 0%, #0c141d 100%);
  border: 1.5px solid #24a1de;
  border-radius: var(--r-lg);
  padding: 26px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  box-shadow: 0 12px 34px rgba(36, 161, 222, 0.22);
}

.stock-tg-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.stock-tg-icon {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, #29b6f6, #0288d1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 6px 18px rgba(41, 182, 246, 0.4);
}

.stock-tg-text h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: #ffffff !important;
  margin-bottom: 5px;
  line-height: 1.25;
}

.stock-tg-text p {
  font-size: 14px;
  color: #d2e7f7 !important;
  margin: 0;
  line-height: 1.45;
}

.btn-tg-banner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #24a1de;
  color: #ffffff !important;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  padding: 13px 22px;
  border-radius: 12px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 20px rgba(36, 161, 222, 0.4);
  transition: all 0.25s var(--ease);
  flex-shrink: 0;
}

.btn-tg-banner:hover {
  background: #29b6f6;
  transform: translateY(-2px);
  box-shadow: 0 8px 26px rgba(41, 182, 246, 0.55);
}

@media (max-width: 860px) {
  .stock-tg-banner {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 20px;
  }
  .stock-tg-left {
    flex-direction: column;
    text-align: center;
  }
  .btn-tg-banner {
    justify-content: center;
    width: 100%;
  }
}

/* ==========================================================================
   HONEST DEAL (Безопасная покупка)
   ========================================================================== */
.honest { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--dark-2); color: #fff; display: grid; grid-template-columns: 1.1fr 1fr; min-height: 460px; box-shadow: var(--sh-lg); }
.honest-media { position: relative; background: url('../assets/brand/hero-banner.jpg') center/cover; min-height: 300px; }
.honest-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--dark-2) 100%); }
.honest-body { padding: 54px 50px; display: flex; flex-direction: column; justify-content: center; }
.honest-body h2 { font-family: var(--font-head); font-weight: 800; font-size: clamp(24px, 2.8vw, 34px); line-height: 1.2; text-transform: uppercase; margin-bottom: 14px; }
.honest-body > p { color: #c4c4c9; margin-bottom: 26px; }
.honest-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 30px; }
.honest-item { display: flex; gap: 12px; align-items: flex-start; }
.honest-item i { width: 38px; height: 38px; border-radius: 10px; background: rgba(245,196,0,.14); color: var(--gold); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.honest-item b { display: block; font-size: 14px; }
.honest-item span { font-size: 12.5px; color: #a7a7ac; }

/* ==========================================================================
   HITS
   ========================================================================== */
.hits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hit {
  position: relative; height: 270px; border-radius: var(--r-md); overflow: hidden; color: #fff; cursor: pointer;
  isolation: isolate; box-shadow: var(--sh-sm);
}
.hit-bg { position: absolute; inset: 0; background-size: cover; background-position: center; z-index: -2; transition: transform .8s var(--ease); }
.hit::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.05) 45%, rgba(0,0,0,.8) 100%); transition: .4s; }
.hit:hover .hit-bg { transform: scale(1.08); }
.hit-top { padding: 20px 22px; }
.hit h3 { font-family: var(--font-head); font-size: 20px; font-weight: 800; }
.hit em { font-style: normal; color: var(--gold); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.hit-link { position: absolute; left: 22px; bottom: 20px; font-size: 12px; font-weight: 700; letter-spacing: 1px; display: flex; align-items: center; gap: 10px; }
.hit-link::before { content: ""; width: 40px; height: 3px; background: var(--gold); transition: width .35s var(--ease); }
.hit:hover .hit-link::before { width: 70px; }

/* ==========================================================================
   CATALOG TYPES
   ========================================================================== */
.types-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.type-card {
  background: #fff; border-radius: var(--r-md); padding: 22px 16px 20px; text-align: center; border: 1px solid var(--line);
  transition: .3s var(--ease); cursor: pointer;
}
.type-card:hover, .type-card.active { border-color: var(--gold); box-shadow: var(--sh-md); transform: translateY(-4px); }
.type-card img { height: 100px; width: 100%; object-fit: contain; margin-bottom: 14px; transition: transform .4s var(--ease); }
.type-card:hover img { transform: scale(1.08) translateX(4px); }
.type-card span { font-family: var(--font-head); font-size: 13px; font-weight: 800; letter-spacing: .8px; text-transform: uppercase; }
.type-card small { display: block; color: var(--muted); font-size: 12px; margin-top: 4px; }

/* ==========================================================================
   CALCULATOR
   ========================================================================== */
.calc { display: grid; grid-template-columns: 1.3fr 1fr; gap: 30px; align-items: stretch; }
.calc-panel { background: var(--dark-2); border: 1px solid var(--line-dark); border-radius: var(--r-lg); padding: 34px; }
.calc-tabs { display: inline-flex; background: rgba(255,255,255,.06); border-radius: 30px; padding: 4px; margin-bottom: 28px; }
.calc-tab { padding: 10px 22px; border-radius: 30px; color: #bbb; font-weight: 600; font-size: 14px; transition: .25s; }
.calc-tab.active { background: var(--gold); color: #111; }
.range-row { margin-bottom: 26px; }
.range-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; gap: 10px; }
.range-head label { color: #b5b5ba; font-size: 14px; }
.range-head output { font-family: var(--font-head); font-weight: 800; font-size: 18px; color: #fff; white-space: nowrap; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--gold) var(--p, 50%), rgba(255,255,255,.12) var(--p, 50%)); outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.4); transition: transform .2s; }
input[type=range]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 5px solid var(--gold); cursor: pointer; }
.range-limits { display: flex; justify-content: space-between; font-size: 12px; color: #77777c; margin-top: 8px; }
.calc-result {
  background: var(--gold-grad); color: #111; border-radius: var(--r-lg); padding: 34px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 20px; position: relative; overflow: hidden;
}
.calc-result::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.18); }
.calc-result small { font-size: 13px; font-weight: 600; opacity: .75; text-transform: uppercase; letter-spacing: 1px; }
.calc-monthly { font-family: var(--font-head); font-size: clamp(34px, 4vw, 48px); font-weight: 900; line-height: 1.1; position: relative; }
.calc-lines { display: grid; gap: 10px; font-size: 14px; position: relative; }
.calc-lines div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px dashed rgba(0,0,0,.2); padding-bottom: 8px; }
.calc-note { font-size: 11.5px; opacity: .7; position: relative; }

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services { background: var(--dark); }
.service { display: grid; grid-template-columns: 1.15fr 1fr; min-height: 460px; color: #fff; position: relative; border-top: 1px solid var(--line-dark); }
.service:nth-child(even) { grid-template-columns: 1fr 1.15fr; }
.service:nth-child(even) .service-media { order: 2; }
.service-media { position: relative; overflow: hidden; min-height: 280px; }
.service-media div { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform 1.2s var(--ease); }
.service:hover .service-media div { transform: scale(1.05); }
.service-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, var(--dark) 100%); }
.service:nth-child(even) .service-media::after { background: linear-gradient(270deg, transparent 55%, var(--dark) 100%); }
.service-body { padding: 60px 56px; display: flex; flex-direction: column; justify-content: center; position: relative; }
.service-body::before { content: ""; position: absolute; top: 60px; bottom: 60px; left: 0; width: 4px; background: var(--gold); border-radius: 2px; }
.service-num { font-family: var(--font-head); font-weight: 900; font-size: 56px; line-height: 1; color: rgba(245,196,0,.15); margin-bottom: 6px; }
.service h3 { font-family: var(--font-head); font-weight: 800; font-size: clamp(22px, 2.4vw, 30px); color: var(--gold); text-transform: uppercase; line-height: 1.2; margin-bottom: 16px; }
.service p { color: #c6c6cb; margin-bottom: 18px; max-width: 520px; }
.service ul { margin-bottom: 26px; display: grid; gap: 10px; }
.service li { position: relative; padding-left: 26px; color: #dcdce0; font-size: 15px; }
.service li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: 1px; color: var(--gold); font-size: 13px; }
.service .tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 22px; }
.service .tags span { padding: 8px 16px; border-radius: 30px; border: 1px solid rgba(245,196,0,.4); color: var(--gold); font-weight: 700; font-size: 13px; }
.service .btn { align-self: flex-start; }

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-media { position: relative; }
.about-media img { border-radius: var(--r-lg); box-shadow: var(--sh-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.about-card {
  position: absolute; right: -20px; bottom: -26px; background: var(--dark); color: #fff; border-radius: var(--r-md);
  padding: 20px 24px; display: flex; gap: 14px; align-items: center; box-shadow: var(--sh-lg); max-width: 300px;
}
.about-card img { width: 46px; height: 46px; box-shadow: none; aspect-ratio: auto; border-radius: 0; }
.about-card b { display: block; font-family: var(--font-head); color: var(--gold); }
.about-card span { font-size: 12.5px; color: #aaa; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 16px; }
.about-text p strong { color: var(--text); }
.counters { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 28px 0 30px; }
.counter { background: var(--bg-soft); border-radius: var(--r-md); padding: 20px; border-left: 4px solid var(--gold); }
.counter b { display: block; font-family: var(--font-head); font-size: 30px; font-weight: 900; line-height: 1.1; }
.counter span { font-size: 13px; color: var(--muted); }

/* ==========================================================================
   REVIEWS
   ========================================================================== */
.slider { position: relative; }
.slider-track {
  display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 6px 4px 24px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.review {
  flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; background: #fff; border-radius: var(--r-lg);
  padding: 26px; box-shadow: var(--sh-sm); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px;
  transition: .3s var(--ease);
}
.review:hover { box-shadow: var(--sh-md); transform: translateY(-4px); }
.review-head { display: flex; gap: 14px; align-items: center; }
.avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--gold-grad); color: #111; display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-weight: 800; font-size: 18px; flex-shrink: 0; }
.review-head b { display: block; font-family: var(--font-head); font-size: 15px; }
.review-head small { color: var(--muted); font-size: 12.5px; }
.stars { color: #f6b800; letter-spacing: 2px; font-size: 14px; }
.review p { color: #3a3a3f; font-size: 14.5px; }
.review-car { margin-top: auto; font-size: 12.5px; color: var(--gold-dark); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.slider-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 10px; }
.slider-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; transition: .25s; }
.slider-btn:hover { background: var(--gold); border-color: var(--gold); }
.slider-progress { width: 200px; height: 4px; background: #e5e5e2; border-radius: 2px; overflow: hidden; }
.slider-progress span { display: block; height: 100%; width: 30%; background: var(--gold); border-radius: 2px; transition: width .2s, transform .2s; }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--gold); box-shadow: var(--sh-md); }
.faq-q { width: 100%; text-align: left; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-family: var(--font-head); font-weight: 700; font-size: 15.5px; }
.faq-q i { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-soft); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; transition: .3s var(--ease); font-size: 12px; }
.faq-item.open .faq-q i { transform: rotate(45deg); background: var(--gold); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding: 0 22px 20px; color: var(--muted); }

/* ==========================================================================
   SOCIAL + NEWS
   ========================================================================== */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.social-card {
  border-radius: var(--r-md); padding: 26px 22px; color: #fff; position: relative; overflow: hidden; min-height: 190px;
  display: flex; flex-direction: column; gap: 10px; transition: .35s var(--ease);
}
.social-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.social-card i.big { font-size: 34px; }
.social-card b { font-family: var(--font-head); font-size: 18px; }
.social-card span { font-size: 13.5px; opacity: .85; }
.social-card .go { margin-top: auto; font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.social-card::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.1); transition: transform .5s var(--ease); }
.social-card:hover::after { transform: scale(1.6); }
.sc-vk { background: linear-gradient(135deg, #0077ff, #0050b3); }
.sc-tg { background: linear-gradient(135deg, #2aabee, #1b7fc0); }
.sc-max { background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.sc-yt { background: linear-gradient(135deg, #ff2d2d, #b30000); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card { background: #fff; border-radius: var(--r-md); overflow: hidden; box-shadow: var(--sh-sm); display: flex; flex-direction: column; transition: .35s var(--ease); cursor: pointer; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--sh-lg); }
.news-img { aspect-ratio: 16 / 10; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.07); }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.news-date { font-size: 12.5px; color: var(--gold-dark); font-weight: 700; }
.news-body h3 { font-family: var(--font-head); font-size: 16px; font-weight: 800; line-height: 1.35; }
.news-body p { font-size: 14px; color: var(--muted); }
.news-body .more { margin-top: auto; font-size: 13px; font-weight: 700; display: inline-flex; gap: 8px; align-items: center; }
.news-card:hover .more { color: var(--gold-dark); }

/* ==========================================================================
   CONTACTS (REFERENCE TABLE DESIGN)
   ========================================================================== */
.contacts {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 30px;
  align-items: start;
}

.contact-card-table {
  background: var(--dark-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh-md);
  display: flex;
  flex-direction: column;
}

.contact-table-rows {
  display: flex;
  flex-direction: column;
}

.contact-table-row {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  padding: 18px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.015);
  transition: background 0.2s ease;
}

.contact-table-row:nth-child(even) {
  background: rgba(255, 255, 255, 0.035);
}

.contact-table-row:hover {
  background: rgba(245, 196, 0, 0.03);
}

.contact-row-label {
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: #9d9da6;
  padding-top: 2px;
}

.contact-row-content {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.contact-phone-primary {
  font-family: var(--font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.contact-phone-primary a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: color 0.2s;
}

.contact-phone-primary a:hover {
  color: var(--gold);
}

.contact-msgr-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin: 2px 0 3px;
}

.msgr-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.msgr-tag img, .msgr-tag i {
  flex-shrink: 0;
}

.msgr-tag.msgr-max {
  color: #f5c400;
}
.msgr-tag.msgr-max:hover {
  color: #ffda33;
}

.msgr-tag.msgr-tg {
  color: #29b6f6;
}
.msgr-tag.msgr-tg:hover {
  color: #81d4fa;
}

.msgr-sep {
  color: #8d8d96;
  font-weight: 600;
  margin-right: 4px;
}

.contact-phone-item {
  font-size: 14.5px;
  color: #d1d1d8;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.contact-phone-item a {
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-phone-item a:hover {
  color: var(--gold);
}

.contact-phone-badge {
  font-size: 11.5px;
  color: var(--gold);
  background: rgba(245, 196, 0, 0.12);
  border: 1px solid rgba(245, 196, 0, 0.28);
  padding: 2px 8px;
  border-radius: 6px;
  font-weight: 600;
}

.contact-email-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.contact-email-link {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.contact-email-link:hover {
  color: var(--gold);
}

.contact-email-sep {
  color: #8d8d96;
  font-weight: 600;
}

.contact-addr-item {
  margin-bottom: 6px;
}

.contact-addr-item:last-child {
  margin-bottom: 0;
}

.contact-addr-title {
  font-family: var(--font-head);
  font-size: 13.5px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.contact-addr-val {
  font-size: 14.5px;
  color: #f0f0f5;
  line-height: 1.45;
}

.contact-addr-desc {
  font-size: 13px;
  color: #a5a5ad;
  line-height: 1.4;
}

.contact-schedule-list {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-schedule-row {
  display: flex;
  gap: 8px;
  font-size: 14.5px;
  color: #e0e0e6;
}

.contact-schedule-row span {
  min-width: 55px;
  color: #9fa0a8;
}

.contact-schedule-row b {
  color: #ffffff;
  font-weight: 700;
}

.contact-schedule-row.off-day span {
  min-width: unset;
  color: #8d8d96;
}

.contact-schedule-row.off-day b {
  color: #ff7675;
}

.contact-feedback-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 14.5px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 4px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.contact-feedback-link:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.contact-card-footer {
  padding: 22px 24px;
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-buttons-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.requisites {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-size: 13px;
  color: #a3a3a8;
}

.requisites b {
  color: #fff;
  font-weight: 600;
  display: block;
  font-size: 13.5px;
}

.copy-btn {
  color: var(--gold);
  margin-left: 6px;
  font-size: 12px;
}

.map-wrap {
  border-radius: var(--r-lg);
  overflow: hidden;
  min-height: 480px;
  position: relative;
  background: #1d1d20;
  box-shadow: var(--sh-lg);
  border: 1px solid var(--line-dark);
}

.map-wrap iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.15) contrast(1.05);
}

@media (max-width: 600px) {
  .contact-table-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 14px 18px;
  }
  .contact-row-label {
    color: var(--gold);
    font-size: 13.5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .requisites {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .contact-buttons-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Lead form block */
.lead { background: var(--gold-grad); border-radius: var(--r-lg); padding: 44px; display: grid; grid-template-columns: 1fr 1.3fr; gap: 34px; align-items: center; margin-top: 30px; position: relative; overflow: hidden; }
.lead::before { content: ""; position: absolute; left: -80px; bottom: -120px; width: 300px; height: 300px; border-radius: 50%; background: rgba(255,255,255,.18); }
.lead h3 { font-family: var(--font-head); font-weight: 900; font-size: clamp(22px, 2.6vw, 32px); text-transform: uppercase; line-height: 1.15; position: relative; }
.lead p { margin-top: 10px; position: relative; color: #2a2a2a; }
.lead-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; position: relative; }

/* ---------- Form fields ---------- */
.field { position: relative; }
.field input, .field select, .field textarea {
  width: 100%; height: 52px; border-radius: var(--r-sm); border: 1.5px solid rgba(0,0,0,.12); background: #fff;
  padding: 0 16px; font-size: 15px; outline: none; transition: .25s;
}
.field textarea { height: 96px; padding: 14px 16px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--dark); box-shadow: 0 0 0 4px rgba(0,0,0,.06); }
.field.error input, .field.error select { border-color: #e0245e; animation: shake .35s; }
.field .err { display: none; color: #e0245e; font-size: 12px; margin-top: 4px; }
.field.error .err { display: block; }
@keyframes shake { 25% { transform: translateX(-5px);} 75% { transform: translateX(5px);} }
.agree { display: flex; gap: 10px; align-items: flex-start; font-size: 12.5px; color: var(--muted); }
.agree input { margin-top: 3px; accent-color: var(--gold-dark); width: 16px; height: 16px; flex-shrink: 0; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #0a0a0b; color: #9d9da3; padding: 70px 0 30px; font-size: 14px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-dark); }
.footer-about p { margin: 18px 0 20px; max-width: 320px; }
.footer h4 { color: #fff; font-family: var(--font-head); font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { transition: color .2s, transform .2s; display: inline-block; }
.footer-links a:hover { color: var(--gold); transform: translateX(3px); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 24px; font-size: 12.5px; color: #6e6e74; }

/* ==========================================================================
   FLOATING UI
   ========================================================================== */
.to-top {
  position: fixed; right: 20px; bottom: calc(24px + var(--mbar-h)); z-index: 800;
  width: 50px; height: 50px; border-radius: 50%; background: var(--gold-grad); color: #111; box-shadow: var(--sh-gold);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
  opacity: 0; visibility: hidden; transform: translateY(20px); transition: .3s var(--ease);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-4px); }
.to-top svg { position: absolute; inset: -3px; width: 56px; height: 56px; transform: rotate(-90deg); }
.to-top circle { fill: none; stroke: #111; stroke-width: 2.5; stroke-dasharray: 163; stroke-dashoffset: 163; opacity: .35; }

.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; background: var(--gold-grad); z-index: 1000; width: 0; }

.mbar { display: none; }

.cookie {
  position: fixed; left: 20px; bottom: calc(20px + var(--mbar-h)); z-index: 850; max-width: 420px;
  background: #fff; border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 18px 20px; display: flex; gap: 16px; align-items: center;
  transform: translateY(150%); transition: transform .5s var(--ease); border: 1px solid var(--line);
}
.cookie.show { transform: none; }
.cookie p { font-size: 13px; color: #444; }
.cookie p b { display: block; color: #111; font-family: var(--font-head); margin-bottom: 3px; }

/* Toast */
.toast-wrap { position: fixed; top: calc(var(--header-h) + 16px); right: 20px; z-index: 1200; display: grid; gap: 10px; pointer-events: none; }
.toast {
  background: var(--dark); color: #fff; padding: 14px 18px; border-radius: var(--r-sm); box-shadow: var(--sh-lg);
  display: flex; align-items: center; gap: 12px; font-size: 14px; border-left: 4px solid var(--gold); max-width: 340px;
  animation: toastIn .4s var(--ease); pointer-events: auto;
}
.toast i { color: var(--gold); }
.toast.out { animation: toastOut .3s forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px);} }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px);} }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 1100; display: flex; align-items: center; justify-content: center; padding: 20px; visibility: hidden; opacity: 0; transition: .3s; }
.modal.open { visibility: visible; opacity: 1; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(5,5,6,.7); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.modal-box {
  position: relative; background: #fff; border-radius: var(--r-lg); width: 100%; max-width: 480px; max-height: calc(100vh - 40px); overflow-y: auto;
  padding: 36px 32px 32px; transform: translateY(30px) scale(.97); transition: transform .4s var(--ease); box-shadow: var(--sh-lg);
}
.modal.open .modal-box { transform: none; }
.modal-box.wide { max-width: 900px; padding: 0; }
.modal-close {
  position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; background: var(--bg-soft);
  display: inline-flex; align-items: center; justify-content: center; z-index: 3; transition: .25s;
}
.modal-close:hover { background: var(--gold); transform: rotate(90deg); }
.modal-box h3 { font-family: var(--font-head); font-weight: 800; font-size: 24px; margin-bottom: 6px; padding-right: 40px; }
.modal-box .modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 22px; }
.modal-form { display: grid; gap: 14px; }
.success { text-align: center; padding: 20px 0; display: none; }
.success.show { display: block; }
.success i { font-size: 54px; color: var(--green); margin-bottom: 14px; animation: pop .5s var(--ease); }
@keyframes pop { from { transform: scale(0); } }
.success h4 { font-family: var(--font-head); font-size: 22px; margin-bottom: 8px; }
.success p { color: var(--muted); }

/* Car detail modal */
.car-detail { display: grid; grid-template-columns: 1.1fr 1fr; }
.car-detail-img { background: linear-gradient(180deg, #f3f3f1, #e4e4e0); min-height: 320px; overflow: hidden; position: relative; }
.car-detail-img img { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.car-detail-img img.crop { height: 124%; object-position: center top; }
.car-detail-body { padding: 36px 30px 30px; display: flex; flex-direction: column; gap: 16px; }
.car-detail-body h3 { font-size: 22px; }
.detail-specs { display: grid; gap: 10px; }
.detail-specs div { display: flex; justify-content: space-between; gap: 14px; border-bottom: 1px solid var(--line); padding-bottom: 8px; font-size: 14px; }
.detail-specs span { color: var(--muted); }
.detail-specs b { text-align: right; }
.detail-price { font-family: var(--font-head); font-size: 28px; font-weight: 900; }
.detail-price small { display: block; font-size: 13px; color: var(--muted); font-weight: 500; font-family: var(--font-body); }
.detail-actions { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: auto; }
.detail-actions .fav-btn { position: static; width: 48px; height: 48px; border: 1px solid var(--line); }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; } .reveal-d3 { transition-delay: .3s; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1360px) {
  #headerCallBtn { display: none; }
}

@media (max-width: 1180px) {
  .nav a { padding: 10px 8px; font-size: 13.5px; }
  .header-phone small { display: none; }
}

@media (max-width: 1060px) {
  .nav { display: none; }
  .header-phone-btn .phone-text { display: none; }
  .header-phone-btn { padding: 4px; border-radius: 50%; }
  .header-actions { margin-left: auto; }
  .hits-grid { grid-template-columns: repeat(2, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .review { flex-basis: calc((100% - 20px) / 2); }
  .calc { grid-template-columns: 1fr; }
  .lead { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; --mbar-h: 64px; }
  .topbar { display: none; }
  #headerCallBtn { display: none; }
  .header-inner { gap: 10px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 32px; }
  .logo-emblem { width: 40px; height: 40px; }
  .logo-name { font-size: 17px; letter-spacing: 1px; }
  .logo-tag { font-size: 9.5px; letter-spacing: 1px; }

  /* Compact header action buttons for mobile */
  .header-action-btn .action-text { display: none; }
  .header-action-btn { width: 38px; height: 38px; padding: 0; justify-content: center; border-radius: 50%; }
  .phone-popover { right: -50px; width: min(320px, 92vw); }

  /* Hero centerpiece mobile */
  .hero-centerpiece { padding: 16px 0 28px; }
  .hero-image-wrap { border-radius: 14px; }
  .hero-center-cta { flex-direction: column; width: 100%; gap: 10px; }
  .hero-center-cta .btn { width: 100%; justify-content: center; }

  .honest { grid-template-columns: 1fr; }
  .honest-media { min-height: 220px; }
  .honest-media::after { background: linear-gradient(180deg, transparent 40%, var(--dark-2) 100%); }
  .honest-body { padding: 30px 22px 32px; }

  .types-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .type-card img { height: 72px; }

  .service, .service:nth-child(even) { grid-template-columns: 1fr; min-height: 0; }
  .service:nth-child(even) .service-media { order: 0; }
  .service-media { min-height: 230px; }
  .service-media::after, .service:nth-child(even) .service-media::after { background: linear-gradient(180deg, transparent 50%, var(--dark) 100%); }
  .service-body { padding: 10px 22px 44px; }
  .service-body::before { display: none; }
  .service-num { font-size: 42px; }

  .about { grid-template-columns: 1fr; gap: 40px; }
  .about-card { right: 12px; bottom: -22px; left: 12px; max-width: none; }

  .contacts { grid-template-columns: 1fr; }
  .map-wrap { min-height: 320px; }
  .news-grid { grid-template-columns: 1fr; }
  .lead { padding: 30px 22px; }
  .lead-form { grid-template-columns: 1fr; }

  .car-detail { grid-template-columns: 1fr; }
  .car-detail-img { min-height: 220px; max-height: 260px; }
  .car-detail-body { padding: 24px 20px 24px; }

  /* Mobile bottom action bar */
  .mbar {
    display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 870;
    height: var(--mbar-h); background: rgba(15,15,16,.97); backdrop-filter: blur(12px); border-top: 1px solid var(--line-dark);
    padding-bottom: env(safe-area-inset-bottom);
  }
  .mbar a, .mbar button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #c9c9ce; font-size: 10.5px; font-weight: 600; }
  .mbar i { font-size: 18px; }
  .mbar .mbar-main { color: #111; background: var(--gold-grad); }
  .mbar a:active, .mbar button:active { transform: scale(.95); }

  .to-top { right: 14px; bottom: calc(14px + var(--mbar-h)); width: 46px; height: 46px; }
  .footer { padding-bottom: 80px; }
  .footer-bottom { padding-right: 56px; }
  .to-top svg { width: 52px; height: 52px; }
  .cookie { left: 12px; right: 12px; bottom: calc(12px + var(--mbar-h)); max-width: none; }
  .toast-wrap { left: 12px; right: 12px; }
  .toast { max-width: none; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .phone-popover { position: fixed; top: 68px; left: 12px; right: 12px; width: auto; }
  .hits-grid { grid-template-columns: 1fr; }
  .hit { height: 220px; }
  .social-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .social-card { min-height: 160px; padding: 20px 16px; }
  .social-card span { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .footer-about { grid-column: 1 / -1; }
  .review { flex-basis: 88%; }
  .stock-toolbar { flex-direction: column; align-items: stretch; }
  .chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; scrollbar-width: none; }
  .chips::-webkit-scrollbar { display: none; }
  .chip { flex-shrink: 0; }
  .search-field { flex-basis: auto; }
  .tools-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .honest-list { grid-template-columns: 1fr; }
  .requisites { grid-template-columns: 1fr; }
  .calc-panel, .calc-result, .contact-card { padding: 24px 20px; }
  .calc-tabs { display: flex; }
  .calc-tab { flex: 1; padding: 10px 8px; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: var(--r-lg) var(--r-lg) 0 0; max-height: 92vh; padding: 30px 20px 24px; }
  .modal-box.wide { padding: 0; }
  .hero-cta .btn { flex-basis: 100%; }
  .cookie { flex-direction: column; align-items: stretch; text-align: left; }
}

/* ==========================================================================
   CATALOG FROM SUPABASE — statuses, skeletons, gallery
   ========================================================================== */
.chip-count { font-size: 11px; opacity: .6; margin-left: 2px; }
.chip-count:empty { display: none; }

.toggle { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 14px; border-radius: 30px; background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: #444; cursor: pointer; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { width: 34px; height: 20px; border-radius: 10px; background: #d5d5d2; position: relative; transition: .25s; flex-shrink: 0; }
.toggle-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: .25s var(--ease); }
.toggle input:checked + .toggle-ui { background: var(--gold); }
.toggle input:checked + .toggle-ui::after { transform: translateX(14px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--gold); outline-offset: 2px; }

/* Status badges */
.badge.st-available { color: var(--green); }
.badge.st-reserved  { background: #fff4d6; color: #a86b00; }
.badge.st-order     { background: #eef2ff; color: #3b4fd1; }
.badge.st-sold      { background: #2a2a2e; color: #fff; }
.car-card.is-sold .car-img img { filter: grayscale(1) brightness(.85); }
.car-card.is-sold .car-price b { color: #999; }
.sold-ribbon {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none;
}
.sold-ribbon span {
  transform: rotate(-12deg); border: 3px solid #fff; color: #fff; padding: 6px 22px; border-radius: 6px;
  font-family: var(--font-head); font-weight: 900; font-size: 22px; letter-spacing: 4px; text-transform: uppercase;
  background: rgba(15,15,16,.55); backdrop-filter: blur(2px);
}
.car-card.is-reserved .car-img::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: repeating-linear-gradient(45deg, var(--gold) 0 10px, #111 10px 20px);
}
.car-photo-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.6); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 12px; display: inline-flex; gap: 5px; align-items: center; }

/* Skeleton loading */
.car-card.skeleton { pointer-events: none; }
.skeleton .car-img, .sk-line { background: linear-gradient(90deg, #ececea 0%, #f7f7f5 50%, #ececea 100%); background-size: 200% 100%; animation: shimmer 1.3s infinite linear; }
.sk-line { display: block; height: 14px; border-radius: 7px; margin-bottom: 12px; }
.sk-line.short { width: 55%; }
@keyframes shimmer { to { background-position: -200% 0; } }

.demo-note { display: none; margin: -14px auto 24px; max-width: 640px; text-align: center; font-size: 13px; color: #8a6d00; background: #fff8dc; border: 1px dashed #e5c84a; padding: 10px 14px; border-radius: 10px; }
.demo-note.show { display: block; }

/* Car modal gallery */
.car-gallery { display: flex; flex-direction: column; background: #f1f1ee; min-width: 0; }
.car-gallery .car-detail-img { flex: 1; }
.status-pill { position: absolute; left: 16px; top: 16px; z-index: 2; font-size: 12px; font-weight: 700; padding: 5px 12px; border-radius: 20px; background: #fff; box-shadow: var(--sh-sm); }
.status-pill.st-available { color: var(--green); }
.status-pill.st-reserved { background: #fff4d6; color: #a86b00; }
.status-pill.st-order { background: #eef2ff; color: #3b4fd1; }
.status-pill.st-sold { background: #2a2a2e; color: #fff; }
.gal-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.92); box-shadow: var(--sh-sm); display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.gal-arrow:hover { background: var(--gold); }
.gal-arrow.prev { left: 12px; } .gal-arrow.next { right: 12px; }
.gal-arrow[hidden] { display: none; }
.gal-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: thin; }
.gal-thumbs:empty { display: none; }
.gal-thumbs button { flex: 0 0 68px; height: 50px; border-radius: 6px; overflow: hidden; border: 2px solid transparent; opacity: .7; transition: .2s; }
.gal-thumbs button.active { border-color: var(--gold); opacity: 1; }
.gal-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.detail-desc { color: var(--muted); font-size: 14px; white-space: pre-line; }
.detail-desc:empty { display: none; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.car-detail-body { max-height: calc(100vh - 40px); overflow-y: auto; }
@media (max-width: 860px) {
  .car-detail-body { max-height: none; overflow: visible; }
  .toggle { height: 46px; }
}
