/* ============================================================
   NAAUTO.PRO — premium automotive / financial landing
   Графит · Белый · Жёлтый
   ============================================================ */

/* ---------- FONTS ---------- */
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+20BD, U+2116;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('../fonts/manrope-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                 U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                 U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- TOKENS ---------- */
:root {
  --bg: #0b0d10;
  --bg-1: #11141a;
  --bg-2: #161a21;
  --bg-inset: #0d1014;

  --line: rgba(255, 255, 255, 0.08);
  --line-soft: rgba(255, 255, 255, 0.05);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #f3f5f8;
  --muted: #a2aab5;
  --faint: #6b7380;

  --accent: #f5c518;
  --accent-hover: #ffd34d;
  --accent-soft: rgba(245, 197, 24, 0.1);

  --danger: #ff7a70;
  --danger-soft: rgba(255, 122, 112, 0.1);

  --radius: 18px;
  --radius-sm: 12px;

  --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.55);
  --shadow-card-hover: 0 32px 80px -24px rgba(0, 0, 0, 0.7);
  --shadow-btn: 0 12px 32px -10px rgba(245, 197, 24, 0.28);

  --header-h: 72px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: 'Manrope', -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
ul, ol { list-style: none; }
section[id], footer { scroll-margin-top: calc(var(--header-h) + 16px); }

::selection { background: var(--accent); color: #0b0d10; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- LAYOUT ---------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 112px 0; }

/* ---------- TYPOGRAPHY ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--accent);
}

.h2 {
  font-size: clamp(32px, 4.2vw, 56px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.015em;
}
.accent { color: var(--accent); }
.accent-strong { color: var(--accent); font-weight: 700; }

.lead {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text);
  max-width: 560px;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: 28px;
}
.section-head-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 22px;
  max-width: 420px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.65;
  color: var(--muted);
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px dashed rgba(245, 197, 24, 0.45);
  padding-bottom: 3px;
  transition: color 0.2s;
}
.link-arrow:hover { color: var(--accent-hover); }
.link-arrow .btn-arrow { transition: transform 0.22s var(--ease); }
.link-arrow:hover .btn-arrow { transform: translateX(4px); }

/* ---------- REVEAL ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- BUTTONS ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 30px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: background 0.22s var(--ease), color 0.22s var(--ease),
              border-color 0.22s var(--ease), transform 0.22s var(--ease),
              box-shadow 0.22s var(--ease);
  overflow: hidden;
}
.btn:active { transform: translateY(1px); }

.btn-accent {
  background: var(--accent);
  color: #0b0d10;
}
.btn-accent:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: var(--shadow-btn);
}
.btn-accent::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s var(--ease);
}
.btn-accent:hover::after { left: 130%; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--text);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(245, 197, 24, 0.08);
}

.btn-telegram {
  background: #229ed9;
  border-color: #229ed9;
  color: #fff;
  box-shadow: 0 12px 30px -14px rgba(34, 158, 217, 0.72);
}
.btn-telegram:hover {
  background: #32afe9;
  border-color: #32afe9;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 16px 38px -14px rgba(34, 158, 217, 0.78);
}

.btn-sm { padding: 11px 20px; font-size: 14px; }
.btn-block { width: 100%; }
.btn-grow { flex: 1; }

.btn-arrow { flex: none; transition: transform 0.22s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ---------- HEADER ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  height: var(--header-h);
  background: rgba(11, 13, 16, 0.82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  transition: background 0.25s, box-shadow 0.25s;
}
.header.is-scrolled {
  background: rgba(11, 13, 16, 0.94);
  box-shadow: 0 12px 40px -12px rgba(0, 0, 0, 0.6);
}
.header-in {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo { display: inline-flex; align-items: center; gap: 12px; flex: none; }
.logo-name {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--text);
}
.logo-dot { color: var(--accent); }
.logo-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
}

.nav { display: flex; gap: 8px; margin-left: auto; }
.nav-link {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--muted);
  padding: 10px 14px;
  border-radius: 10px;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: var(--text); background: rgba(255, 255, 255, 0.04); }

.header-right { display: flex; align-items: center; gap: 20px; }
.header-messenger {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15px;
  font-weight: 700;
  color: #caeefe;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}
.header-messenger:hover { color: #fff; }

.burger {
  display: none;
  flex: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}
.burger span {
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s var(--ease), opacity 0.2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- MOBILE MENU ---------- */
.mobile-menu {
  position: fixed;
  z-index: 59;
  top: var(--header-h);
  left: 0;
  right: 0;
  display: none;
  background: rgba(11, 13, 16, 0.97);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  padding: 16px 20px 28px;
  flex-direction: column;
  gap: 8px;
}
.mobile-menu:not([hidden]) {
  display: flex;
  flex-direction: column;
}
.mobile-nav { display: flex; flex-direction: column; }
.mobile-link {
  font-size: 19px;
  font-weight: 700;
  padding: 16px 6px;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-messenger { margin-top: 12px; }
.mobile-menu .btn { margin-top: 10px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + 64px) 0 96px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(11, 13, 16, 0.9) 0%,
      rgba(11, 13, 16, 0.62) 20%,
      rgba(11, 13, 16, 0.14) 46%,
      rgba(11, 13, 16, 0.42) 74%,
      rgba(11, 13, 16, 0.94) 100%);
}
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 48%;
}
.hero > .container { position: relative; z-index: 1; }
.hero-title {
  margin-top: 26px;
  font-size: clamp(46px, 7vw, 92px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 28px;
  max-width: 540px;
  font-size: clamp(17px, 1.6vw, 19px);
  line-height: 1.6;
  color: var(--muted);
}

.hero-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
  max-width: 880px;
}

.card {
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-card);
  transition: transform 0.28s var(--ease), border-color 0.28s var(--ease),
              box-shadow 0.28s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-card-hover);
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}
.card-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.card-icon { color: var(--text); }
.card-title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.card-text {
  margin-top: 14px;
  color: var(--muted);
  line-height: 1.6;
  min-height: 52px;
}
.card-btn { margin-top: 28px; }

/* ---------- BENEFITS ---------- */
.benefits { padding: 0 0 24px; }
.benefits-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.benefit {
  display: flex;
  gap: 18px;
  padding: 36px 28px 36px 0;
  border-right: 1px solid var(--line-soft);
}
.benefit:nth-child(n+2) { padding-left: 28px; }
.benefit:last-child { border-right: 0; }
.benefit-icon {
  flex: none;
  margin-top: 2px;
  width: 48px;
  height: 48px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--accent);
}
.benefit-icon svg { width: 100%; height: 100%; }
.benefit-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.benefit-text {
  margin-top: 6px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- HOW / STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 72px;
}
.step {
  border-top: 1px solid var(--line-strong);
  padding-top: 30px;
  position: relative;
}
.step::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.35s var(--ease);
}
.step:hover::before { width: 72px; }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  transition: border-color 0.25s, color 0.25s, background 0.25s;
}
.step:hover .step-num {
  border-color: var(--accent);
  color: #0b0d10;
  background: var(--accent);
}
.step-title {
  margin-top: 22px;
  font-size: 21px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.step-text {
  margin-top: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.6;
}

/* ---------- SERVICES (две карточки) ---------- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.4vw, 46px);
}
.service-card .eyebrow { font-size: 11.5px; }
.service-title {
  margin-top: 20px;
  font-size: clamp(24px, 2.4vw, 33px);
  line-height: 1.12;
}
.service-text {
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.auto-note {
  display: inline-block;
  margin-top: 18px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-left: 2px solid var(--accent);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}
.mini-features {
  margin-top: 30px;
  padding-top: 26px;
  border-top: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mini-features li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--text);
}
.mini-features svg {
  flex: none;
  color: var(--accent);
}
.service-btn { margin-top: 36px; }

/* ---------- CASES (сложные ситуации) ---------- */
.cases-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.cases-main .eyebrow { margin-bottom: 24px; }
.cases-main .h2 { font-size: clamp(30px, 3.4vw, 46px); }
.cases-main .lead { margin-top: 24px; }
.cases-main .btn { margin-top: 36px; }
.cases-panel { padding: 18px 34px; }
.rows .row {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line-soft);
}
.rows .row:last-child { border-bottom: 0; }
.row-icon {
  flex: none;
  margin-top: 4px;
  color: var(--accent);
}
.row-title {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.row-text {
  margin-top: 5px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ---------- CONTACTS ---------- */
.contacts-in {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.contacts-main .eyebrow { margin-bottom: 24px; }
.contacts-main .lead { margin-top: 24px; }
.messengers {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.messengers .btn { padding: 13px 22px; font-size: 14.5px; }
.msg-icon { flex: none; }

.contacts-panel { padding: 38px; }
.contacts-panel-title {
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.contacts-primary { margin-top: 22px; }
.contacts-note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--faint);
}
.contacts-panel .rows { margin-top: 18px; }
.contacts-panel .row { padding: 20px 0; }

.trust-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust-stats li strong {
  display: block;
  font-size: 26px;
  font-weight: 800;
  color: var(--accent);
}
.trust-stats li span {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- FAQ ---------- */
.faq-in { max-width: 820px; }
.faq-in .h2 { margin-top: 24px; }
.faq-list { margin-top: 44px; border-bottom: 1px solid var(--line); }
.faq-item { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 4px;
  text-align: left;
  font-size: 17.5px;
  font-weight: 700;
  letter-spacing: -0.005em;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--accent); }
.faq-plus {
  flex: none;
  position: relative;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transition: border-color 0.25s, background 0.25s, transform 0.3s var(--ease);
}
.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: currentColor;
  transition: background 0.25s;
}
.faq-plus::before { width: 12px; height: 1.6px; transform: translate(-50%, -50%); }
.faq-plus::after { width: 1.6px; height: 12px; transform: translate(-50%, -50%); }
.faq-item.is-open .faq-plus {
  border-color: var(--accent);
  background: var(--accent);
  color: #0b0d10;
  transform: rotate(135deg);
}
.faq-item.is-open .faq-q { color: var(--text); }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }
.faq-a-in { overflow: hidden; }
.faq-a-in p {
  padding: 0 52px 28px 4px;
  max-width: 660px;
  color: var(--muted);
  line-height: 1.65;
}

/* ---------- FINAL CTA ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  text-align: center;
  padding: clamp(64px, 9vw, 128px) clamp(24px, 5vw, 64px);
  box-shadow: var(--shadow-card);
}
.cta-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 46%;
}
.cta-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(11, 13, 16, 0.82) 0%, rgba(11, 13, 16, 0.6) 55%, rgba(11, 13, 16, 0.82) 100%);
}
.cta-content { position: relative; z-index: 1; }
.cta-title {
  font-size: clamp(40px, 6vw, 80px);
  text-transform: uppercase;
  letter-spacing: -0.02em;
}
.cta-sub {
  margin: 24px auto 0;
  max-width: 460px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 40px;
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 16px;
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
}
.footer-in {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 48px;
}
.footer-tag {
  margin-top: 18px;
  font-size: 14.5px;
  color: var(--faint);
  line-height: 1.6;
}
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s;
  width: fit-content;
}
.footer-nav a:hover { color: var(--accent); }
.footer-primary-contact {
  display: inline-flex;
  width: fit-content;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #caeefe;
  transition: color 0.2s;
}
.footer-primary-contact:hover { color: #fff; }
.footer-schedule {
  margin-top: 8px;
  font-size: 14px;
  color: var(--faint);
}
.footer-msg { display: flex; gap: 10px; margin-top: 20px; }
.msg-circle {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s, transform 0.2s;
}
.msg-circle:hover {
  color: var(--accent);
  border-color: var(--accent);
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
  font-size: 13.5px;
  color: var(--faint);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-legal a { color: var(--faint); transition: color 0.2s; }
.footer-legal a:hover { color: var(--text); }

/* ---------- MODAL ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 8, 0.72);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  animation: fade-in 0.25s var(--ease);
}
.modal-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  background: var(--bg-1);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8);
  padding: 30px 32px 34px;
  animation: modal-in 0.35s var(--ease);
}
@keyframes modal-in {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to { opacity: 1; transform: none; }
}
@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.modal-kicker {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.modal-step {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--faint);
}
.modal-close {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--muted);
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--text); border-color: var(--line-strong); }

.modal-progress {
  height: 2px;
  background: var(--line);
  border-radius: 2px;
  margin-top: 22px;
  overflow: hidden;
}
.modal-progress span {
  display: block;
  height: 100%;
  width: 50%;
  background: var(--accent);
  border-radius: 2px;
  transition: width 0.35s var(--ease);
}

.modal-form { margin-top: 26px; }
.form-title {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.form-hint {
  margin-top: 10px;
  font-size: 14.5px;
  color: var(--muted);
  line-height: 1.55;
}

.field { margin-top: 22px; }
.field-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 9px;
}
.field-input {
  width: 100%;
  height: 54px;
  padding: 0 18px;
  background: var(--bg-inset);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field-input::placeholder { color: var(--faint); font-weight: 500; }
.field-input:hover { border-color: var(--line-strong); }
.field-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.16);
}
.field.has-error .field-input {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px var(--danger-soft);
}
.field-error {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--danger);
}

.input-affix { position: relative; }
.input-affix .field-input { padding-right: 52px; }
.input-suffix {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 17px;
  font-weight: 700;
  color: var(--faint);
  pointer-events: none;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}
.field-grid .field-wide { grid-column: 1 / -1; }

.contact-field {
  min-width: 0;
  padding: 0;
  border: 0;
}
.contact-field legend { width: 100%; }
.contact-methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.contact-method {
  position: relative;
  min-width: 0;
  cursor: pointer;
}
.contact-method input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.contact-method span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 9px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(3, 9, 12, 0.48);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  transition: color .2s, border-color .2s, background .2s, box-shadow .2s;
}
.contact-method input:checked + span {
  border-color: #229ed9;
  background: rgba(34, 158, 217, 0.14);
  color: #d9f3ff;
  box-shadow: inset 0 0 0 1px rgba(34, 158, 217, 0.2);
}
.contact-method input:focus-visible + span {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.contact-label { margin-top: 18px; }
.field-note {
  margin-top: 8px;
  color: var(--faint);
  font-size: 12px;
  line-height: 1.45;
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
}
.form-actions .btn { flex: 1; }

.form-error-banner {
  margin-top: 22px;
  padding: 14px 16px;
  border: 1px solid var(--danger);
  border-radius: var(--radius-sm);
  background: var(--danger-soft);
  font-size: 14px;
  font-weight: 600;
  color: var(--danger);
}

.form-consent {
  margin-top: 18px;
  color: var(--faint);
  font-size: 11.5px;
  line-height: 1.5;
}
.form-consent a {
  color: var(--muted);
  border-bottom: 1px solid var(--line-strong);
}
.form-consent a:hover { color: var(--text); }

.hp-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

.spinner {
  width: 18px;
  height: 18px;
  flex: none;
  border: 2px solid rgba(11, 13, 16, 0.35);
  border-top-color: #0b0d10;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.btn.is-loading { pointer-events: none; opacity: 0.9; }

/* Success */
.form-success { text-align: center; padding: 18px 8px 4px; }
.success-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--accent);
  color: #0b0d10;
  box-shadow: var(--shadow-btn);
}
.success-title { margin-top: 26px; }
.success-hint { margin-top: 10px; }
.success-telegram { margin-top: 24px; }
.success-alt {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 24px;
  font-size: 13.5px;
  color: var(--faint);
}
.success-alt a {
  font-weight: 700;
  color: var(--accent);
  border-bottom: 1px dashed rgba(245, 197, 24, 0.5);
}
.form-success .btn { margin-top: 26px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1120px) {
  .nav { gap: 2px; }
  .nav-link { padding: 10px 10px; }
}

@media (max-width: 1024px) {
  .section { padding: 88px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-head-side { max-width: 520px; }
  .services-grid { grid-template-columns: 1fr; gap: 20px; }
  .cases-in, .contacts-in { grid-template-columns: 1fr; gap: 44px; }
  .benefit, .benefit:nth-child(n+2) { padding: 30px 20px 30px 0; }
  .steps { gap: 28px; }
}

@media (max-width: 860px) {
  .container { padding: 0 20px; }
  .nav { display: none; }
  .burger { display: flex; }
  .header-right { gap: 10px; }
  .header-messenger { display: none; }
  .logo-tag { display: none; }

  .hero { padding: calc(var(--header-h) + 48px) 0 64px; }
  .hero-cards { gap: 16px; margin-top: 44px; }
  .card { padding: 26px; }
  .card-text { min-height: 0; }

  .benefits-list { grid-template-columns: 1fr 1fr; }
  .benefit:nth-child(2n) { border-right: 0; padding-left: 28px; }
  .benefit:nth-child(n+3) { border-top: 1px solid var(--line-soft); }
  .benefit { padding: 30px 20px 30px 0; }

  .steps { grid-template-columns: 1fr; gap: 44px; margin-top: 56px; }
  .step-num { width: 52px; height: 52px; }

  .footer-in { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .section { padding: 64px 0; }
  .hero { padding: calc(var(--header-h) + 36px) 0 56px; }
  .hero-bg img { object-position: 58% 30%; }
  .header .btn-sm { padding: 11px 16px; font-size: 13.5px; }
  .hero-cards { grid-template-columns: 1fr; }
  .benefits-list { grid-template-columns: 1fr; }
  .benefit:nth-child(2n) { border-right: 1px solid var(--line-soft); padding-left: 0; }
  .benefit, .benefit:nth-child(n+2) { padding: 26px 0; border-right: 0; }
  .benefit { border-bottom: 1px solid var(--line-soft); }
  .benefit:last-child { border-bottom: 0; }
  .benefits-list { border-bottom: 1px solid var(--line); }

  .messengers { width: 100%; }
  .messengers .btn { flex: 1; min-width: 140px; justify-content: center; }

  .cases-panel { padding: 10px 24px; }

  .footer-in { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 44px; }

  .modal-dialog { padding: 24px 20px 28px; }
  .field-grid { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column; }
  .form-actions .btn { width: 100%; }
  .form-actions .btn-ghost { order: 2; }
}

@media (max-width: 380px) {
  .container { padding: 0 14px; }
  .header-in { gap: 12px; }
  .logo-name { font-size: 17px; letter-spacing: 0.04em; }
  .header-right { gap: 8px; }
  .header .btn-sm { padding: 10px 12px; font-size: 12.5px; }
  .hero-title { font-size: clamp(40px, 13vw, 52px); }
  .card { padding: 22px; }
  .cta-actions .btn { width: 100%; }
  .cta-title { font-size: 36px; }
  .step-num { width: 48px; height: 48px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ============================================================
   VISUAL REFRESH — cinematic automotive direction
   ============================================================ */

:root {
  --bg: #050b0f;
  --bg-1: #091217;
  --bg-2: #0d181e;
  --bg-inset: #050d12;
  --line: rgba(166, 199, 213, 0.14);
  --line-soft: rgba(166, 199, 213, 0.08);
  --line-strong: rgba(184, 216, 229, 0.28);
  --text: #f4f7f8;
  --muted: #a5b0b6;
  --faint: #6d7d85;
  --accent: #ffd21c;
  --accent-hover: #ffe05a;
  --accent-soft: rgba(255, 210, 28, 0.1);
  --radius: 12px;
  --radius-sm: 9px;
  --shadow-card: 0 28px 80px -34px rgba(0, 0, 0, 0.92);
  --shadow-card-hover: 0 38px 100px -36px rgba(0, 0, 0, 0.96);
  --shadow-btn: 0 14px 34px -12px rgba(255, 210, 28, 0.48);
  --header-h: 76px;
}

body {
  background:
    radial-gradient(circle at 16% 5%, rgba(26, 65, 77, 0.2), transparent 25rem),
    linear-gradient(180deg, #050a0e 0%, var(--bg) 100%);
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.18;
  background-image: linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 62%);
}
.menu-open { overflow: hidden; }
.container { max-width: 1280px; padding-inline: 40px; }
.section { padding: 82px 0; }
.h2 { letter-spacing: -0.04em; }
.eyebrow { font-size: 10px; letter-spacing: 0.16em; }
.eyebrow::before { width: 15px; }

.btn {
  min-height: 48px;
  padding: 15px 28px;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
}
.btn-accent {
  background: linear-gradient(180deg, #ffdc38 0%, var(--accent) 100%);
  color: #10120d;
  box-shadow: inset 0 1px rgba(255,255,255,.45), 0 8px 22px -12px rgba(255,210,28,.7);
}
.btn-outline, .btn-ghost { background: rgba(5, 12, 16, 0.46); }

/* Brand and navigation */
.header {
  background: rgba(4, 10, 14, 0.7);
  border-color: rgba(193, 221, 232, 0.1);
}
.header.is-scrolled { background: rgba(4, 10, 14, 0.94); }
.logo { gap: 9px; }
.logo-mark {
  position: relative;
  display: inline-block;
  width: 27px;
  height: 27px;
  transform: skewX(-17deg);
}
.logo-mark::before,
.logo-mark::after,
.logo-mark span {
  content: '';
  position: absolute;
  bottom: 2px;
  width: 8px;
  border-radius: 1px;
  background: var(--accent);
  box-shadow: 0 0 20px rgba(255, 210, 28, 0.18);
}
.logo-mark::before { left: 1px; height: 16px; }
.logo-mark::after { left: 11px; height: 24px; }
.logo-mark span:first-child { left: 21px; height: 12px; background: #f4f7f8; }
.logo-mark span:last-child { display: none; }
.logo-name { font-size: 20px; letter-spacing: 0.04em; }
.logo-tag { border: 0; padding: 0; color: #75858d; }
.nav { margin-right: auto; margin-left: 42px; gap: 22px; }
.nav-link { position: relative; padding: 28px 0 24px; border-radius: 0; font-size: 12px; }
.nav-link:first-child::after {
  content: '';
  position: absolute;
  inset: auto 0 -1px;
  height: 2px;
  background: var(--accent);
}
.nav-link:hover { background: none; }
.header-right { gap: 24px; }
.header-messenger { font-size: 12px; }
.btn-sm { min-height: 42px; padding: 12px 22px; font-size: 11px; }

/* Hero */
.hero {
  min-height: 760px;
  padding: calc(var(--header-h) + 48px) 0 58px;
  border-bottom: 1px solid var(--line-soft);
}
.hero::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 150px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero-bg::after {
  background:
    linear-gradient(90deg, rgba(4,10,14,.98) 0%, rgba(4,10,14,.86) 25%, rgba(4,10,14,.23) 64%, rgba(4,10,14,.22) 100%),
    linear-gradient(180deg, rgba(4,10,14,.45) 0%, transparent 24%, rgba(4,10,14,.16) 58%, rgba(4,10,14,.95) 100%);
}
.hero-bg img { object-position: 54% 50%; filter: saturate(.88) contrast(1.05); }
.hero .eyebrow { color: #9eabb1; }
.hero-title {
  max-width: 600px;
  margin-top: 15px;
  font-size: clamp(58px, 7vw, 96px);
  line-height: .9;
  letter-spacing: -0.055em;
  text-shadow: 0 4px 30px rgba(0,0,0,.44);
}
.hero-sub { max-width: 410px; margin-top: 23px; font-size: 16px; line-height: 1.48; color: #c1c9cd; }
.hero-cards { max-width: 1100px; gap: 28px; margin-top: 42px; }
.hero-card {
  position: relative;
  min-height: 226px;
  overflow: hidden;
  padding: 28px;
  isolation: isolate;
  background: rgba(4, 12, 16, 0.84);
  border-color: rgba(173, 207, 220, 0.3);
  box-shadow: 0 26px 70px -30px #000, inset 0 1px rgba(255,255,255,.035);
}
.hero-card::before,
.hero-card::after { content: ''; position: absolute; inset: 0; z-index: -2; }
.hero-card::before {
  background-size: cover;
  background-position: 76% center;
  opacity: .38;
  transform: scale(1.03);
  transition: transform .55s var(--ease), opacity .4s;
}
.hero-card--buyback::before { background-image: url('../img/service-buyback.webp?v=1'); }
.hero-card--loan::before { background-image: url('../img/service-loan.webp?v=1'); }
.hero-card::after { z-index: -1; background: linear-gradient(90deg, #061015 0%, rgba(6,16,21,.94) 53%, rgba(6,16,21,.22) 100%); }
.hero-card:hover::before { transform: scale(1.08); opacity: .52; }
.hero-card .card-top { margin-bottom: 12px; }
.hero-card .card-icon { width: 32px; height: 32px; color: var(--accent); }
.hero-card .card-title { font-size: 25px; }
.hero-card .card-text { max-width: 330px; min-height: 46px; margin-top: 8px; font-size: 13px; line-height: 1.5; }
.hero-card .card-btn { width: auto; min-width: 190px; margin-top: 18px; }

/* Benefits rail */
.benefits {
  position: relative;
  z-index: 2;
  padding: 0;
  background: rgba(4, 11, 15, .92);
  border-bottom: 1px solid var(--line-soft);
}
.benefits-list { border-top: 0; }
.benefit { padding-block: 28px; gap: 13px; }
.benefit:nth-child(n+2) { padding-left: 26px; }
.benefit-icon { width: 38px; height: 38px; padding: 7px; border: 0; border-radius: 0; }
.benefit-title { font-size: 12px; }
.benefit-text { max-width: 180px; margin-top: 5px; font-size: 10px; line-height: 1.5; color: #7d8c93; }

/* Process panorama */
.how { position: relative; overflow: hidden; isolation: isolate; padding-block: 78px 86px; }
.how::before,
.how::after { content: ''; position: absolute; inset: 0; z-index: -2; }
.how::before {
  background: url('../img/service-buyback.webp?v=1') 70% 50% / cover no-repeat;
  opacity: .28;
  filter: saturate(.72) contrast(1.12);
}
.how::after {
  z-index: -1;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(5,11,15,.94) 35%, rgba(5,11,15,.54) 68%, rgba(5,11,15,.3)), linear-gradient(180deg, var(--bg), transparent 16%, transparent 80%, var(--bg));
}
.how .section-head { max-width: 390px; margin-top: 16px; }
.how .section-head-side { gap: 18px; }
.how .h2 { font-size: clamp(34px, 4vw, 52px); }
.how .section-sub { font-size: 13px; color: #c1c9cc; }
.how .link-arrow { padding: 10px 18px; border: 1px solid var(--line-strong); border-radius: 7px; font-size: 11px; color: var(--text); }
.steps { max-width: 800px; margin: -112px 0 0 auto; gap: 24px; }
.step { border-top: 0; padding: 0 0 0 44px; }
.step::before { display: none; }
.step-num { position: absolute; left: 0; top: 0; width: 28px; height: 28px; border: 0; background: var(--accent); color: #11140d; font-size: 12px; }
.step:hover .step-num { background: var(--accent-hover); }
.step-title { margin-top: 4px; font-size: 15px; line-height: 1.25; }
.step-text { margin-top: 9px; font-size: 11px; line-height: 1.55; color: #94a1a7; }

/* Image-led service cards */
.services { padding-top: 32px; }
.services-grid { gap: 18px; }
.service-card {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  isolation: isolate;
  justify-content: flex-end;
  padding: 32px;
  background: #071116;
  border-color: rgba(163, 198, 211, .2);
}
.service-media { position: absolute; inset: 0; z-index: -2; }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.service-card--buyback .service-media img { object-position: 60% center; }
.service-card--loan .service-media img { object-position: 66% center; }
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(4,12,16,.98) 0%, rgba(4,12,16,.89) 49%, rgba(4,12,16,.2) 100%), linear-gradient(0deg, rgba(4,12,16,.92), transparent 65%);
}
.service-card:hover .service-media img { transform: scale(1.045); }
.service-card > :not(.service-media) { max-width: 62%; }
.service-card .eyebrow { margin-bottom: auto; }
.service-title { margin-top: 20px; font-size: clamp(26px, 3vw, 38px); }
.service-text { margin-top: 12px; font-size: 13px; line-height: 1.55; color: #c0c9cd; }
.mini-features { flex-direction: row; gap: 0; margin-top: 25px; padding-top: 19px; }
.mini-features li { min-width: 0; flex: 1; padding-right: 12px; font-size: 10px; line-height: 1.35; }
.mini-features li + li { padding-left: 12px; border-left: 1px solid var(--line); }
.mini-features svg { width: 18px; height: 18px; }
.service-btn { width: fit-content; min-width: 180px; margin-top: 24px; }

/* Wide situations banner */
.cases { padding-top: 18px; }
.cases-in {
  position: relative;
  min-height: 290px;
  overflow: hidden;
  isolation: isolate;
  grid-template-columns: 1.1fr .9fr;
  gap: 30px;
  padding-block: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cases-in::before,
.cases-in::after { content: ''; position: absolute; inset: 0; z-index: -2; }
.cases-in::before { background: url('../img/service-loan.webp?v=1') 58% center / cover; opacity: .48; }
.cases-in::after { z-index: -1; background: linear-gradient(90deg, rgba(4,12,16,.98), rgba(4,12,16,.84) 48%, rgba(4,12,16,.42)); }
.cases-main { padding-left: 38px; }
.cases-main .eyebrow { margin-bottom: 13px; }
.cases-main .h2 { font-size: clamp(28px, 3.2vw, 42px); }
.cases-main .lead { margin-top: 12px; font-size: 12px; color: #b6c0c5; }
.cases-main .btn { margin-top: 22px; }
.cases-panel { margin-right: 22px; padding: 12px 24px; background: rgba(4,12,16,.52); backdrop-filter: blur(8px); }
.cases-panel .rows .row { padding: 13px 0; }
.cases-panel .row-title { font-size: 12px; }
.cases-panel .row-text { display: none; }

/* Contact, FAQ and final CTA */
.contacts { padding-bottom: 58px; }
.contacts-in { gap: clamp(30px, 5vw, 70px); }
.contacts-main .h2 { font-size: clamp(36px, 4.5vw, 58px); }
.contacts-main .lead { max-width: 480px; font-size: 15px; color: var(--muted); }
.contacts-panel { background: linear-gradient(145deg, rgba(14,29,36,.96), rgba(7,16,21,.96)); border-color: var(--line-strong); }
.faq { border-top: 1px solid var(--line-soft); background: rgba(4,10,14,.55); }
.faq-in { max-width: 900px; }
.faq-item { border-color: var(--line-soft); }
.faq-q { font-size: 15px; }
.faq-plus { width: 30px; height: 30px; }
.final { padding-top: 38px; }
.cta-band { min-height: 380px; border: 1px solid var(--line-strong); border-radius: var(--radius); text-align: left; padding: 72px 64px; }
.cta-picture { position: absolute; inset: 0; }
.cta-bg { object-position: 50% 48%; }
.cta-overlay { background: linear-gradient(90deg, rgba(4,11,15,.98) 0%, rgba(4,11,15,.84) 43%, rgba(4,11,15,.22) 76%), linear-gradient(0deg, rgba(4,11,15,.7), transparent); }
.cta-content { max-width: 540px; }
.cta-title { font-size: clamp(44px, 6vw, 76px); line-height: .92; }
.cta-sub { margin: 18px 0 0; font-size: 14px; color: #c0c8cc; }
.cta-actions { justify-content: flex-start; margin-top: 28px; }
.footer { background: #040a0e; }

/* Forms */
.modal-dialog { background: linear-gradient(145deg, #0d1a20, #071116); border-color: var(--line-strong); border-radius: 14px; }
.field-input { background: rgba(3,9,12,.7); }

@media (max-width: 1024px) {
  .container { padding-inline: 26px; }
  .hero { min-height: auto; }
  .hero-cards { max-width: 900px; }
  .how .section-head { max-width: 440px; }
  .steps { max-width: none; margin: 50px 0 0; }
  .service-card { min-height: 420px; }
  .service-card > :not(.service-media) { max-width: 68%; }
}

@media (max-width: 860px) {
  .nav { display: none; }
  .hero-bg img { object-position: 62% center; }
  .hero-bg::after { background: linear-gradient(90deg, rgba(4,10,14,.97), rgba(4,10,14,.66) 58%, rgba(4,10,14,.28)), linear-gradient(180deg, rgba(4,10,14,.4), transparent 30%, rgba(4,10,14,.92)); }
  .hero-cards { grid-template-columns: 1fr 1fr; }
  .service-card > :not(.service-media) { max-width: 78%; }
  .cases-in { margin-inline: 20px; width: auto; }
}

@media (max-width: 720px) {
  :root { --header-h: 68px; }
  .container { padding-inline: 18px; }
  .section { padding-block: 58px; }
  .header .logo-mark { width: 23px; transform: skewX(-17deg) scale(.85); transform-origin: left center; margin-right: -3px; }
  .logo-name { font-size: 17px; }
  .header .btn-sm { min-height: 38px; padding: 10px 12px; font-size: 10px; }
  .burger { width: 38px; height: 38px; border-radius: 8px; }
  .hero { padding: calc(var(--header-h) + 30px) 0 42px; }
  .hero-bg img { object-position: 67% center; }
  .hero-title { font-size: clamp(48px, 15vw, 70px); }
  .hero-sub { max-width: 310px; font-size: 14px; }
  .hero-cards { grid-template-columns: 1fr; margin-top: 34px; gap: 12px; }
  .hero-card { min-height: 216px; padding: 24px; }
  .hero-card .card-btn { width: 100%; }
  .benefit { gap: 10px; }
  .benefit-text { max-width: none; }
  .how { padding-block: 58px; }
  .how::before { background-position: 65% center; opacity: .2; }
  .steps { gap: 30px; margin-top: 42px; }
  .service-card { min-height: 520px; padding: 25px; }
  .service-card > :not(.service-media) { max-width: 100%; }
  .service-card::before { background: linear-gradient(0deg, rgba(4,12,16,.99) 0%, rgba(4,12,16,.94) 57%, rgba(4,12,16,.2) 100%); }
  .service-media { height: 52%; }
  .service-card--buyback .service-media img,
  .service-card--loan .service-media img { object-position: center; }
  .mini-features { flex-direction: column; gap: 12px; }
  .mini-features li { padding: 0; }
  .mini-features li + li { padding: 0; border-left: 0; }
  .service-btn { width: 100%; }
  .cases { padding-top: 6px; }
  .cases-in { grid-template-columns: 1fr; margin-inline: 14px; padding-block: 32px; }
  .cases-in::after { background: rgba(4,12,16,.82); }
  .cases-main { padding-inline: 12px; }
  .cases-panel { margin: 0 12px; }
  .cta-band { min-height: 440px; padding: 46px 28px; display: flex; align-items: flex-end; }
  .cta-overlay { background: linear-gradient(0deg, rgba(4,11,15,.98) 8%, rgba(4,11,15,.75) 58%, rgba(4,11,15,.2)); }
  .cta-actions .btn { flex: 1; }
}

@media (max-width: 380px) {
  .header-in { gap: 8px; }
  .header .logo-mark { display: none; }
  .hero-title { font-size: 47px; }
  .hero-card { padding: 21px; }
  .cta-actions .btn { width: 100%; flex: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-card::before,
  .service-media img { transition: none; }
  .hero-card:hover::before,
  .service-card:hover .service-media img { transform: none; }
}
