/* VinAuto — уникальный светлый automotive-look, градиенты, живые кнопки */
:root {
  --ink: #101828;
  --ink-soft: #243044;
  --muted: #5c6b7a;
  --line: rgba(16, 24, 40, 0.1);
  --surface: rgba(255, 255, 255, 0.92);
  --cream: #f7f4ef;
  --teal: #0f7a6c;
  --teal-2: #1598a8;
  --teal-deep: #0a5c52;
  --gold: #c48a3a;
  --warn: #8a5a2b;
  --danger: #b33a3a;
  --ok: #1a7a58;
  --accent: var(--teal);
  --accent-2: var(--teal-2);
  --accent-soft: rgba(15, 122, 108, 0.12);
  --grad-brand: linear-gradient(135deg, #0f7a6c 0%, #1598a8 55%, #2aa8c4 100%);
  --grad-brand-hover: linear-gradient(135deg, #0c6a5e 0%, #128a99 55%, #1f98b4 100%);
  --grad-warm: linear-gradient(135deg, rgba(196, 138, 58, 0.18), rgba(15, 122, 108, 0.08));
  --shadow: 0 16px 48px rgba(16, 24, 40, 0.12);
  --shadow-btn: 0 10px 28px rgba(15, 122, 108, 0.35);
  --radius: 16px;
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1080px;
  --glass: rgba(255, 252, 248, 0.88);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  background: #1a2430;
  position: relative;
  overflow-x: hidden;
}

.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    url("../img/hero.jpg") right 30% center / cover no-repeat;
  transform: scale(1.04);
  animation: bgDrift 28s ease-in-out infinite alternate;
}

.site-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 85% 40%, rgba(42, 168, 196, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(196, 138, 58, 0.12), transparent 50%);
  pointer-events: none;
}

.site-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      105deg,
      rgba(247, 244, 239, 0.96) 0%,
      rgba(247, 244, 239, 0.9) 34%,
      rgba(247, 244, 239, 0.62) 58%,
      rgba(230, 240, 244, 0.28) 100%
    ),
    linear-gradient(180deg, rgba(247, 244, 239, 0.15) 0%, rgba(240, 244, 247, 0.55) 100%);
}

@keyframes bgDrift {
  from { transform: scale(1.04) translate3d(0, 0, 0); }
  to { transform: scale(1.08) translate3d(-1.2%, 0.6%, 0); }
}

a { color: var(--teal); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { color: var(--teal-2); text-decoration: underline; }
img { max-width: 100%; display: block; }

h1, h2, h3, .brand, .brand-hero {
  font-family: var(--font);
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }

/* Шапка */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 244, 239, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  border-bottom: 1px solid rgba(16, 24, 40, 0.07);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 800;
}
.brand:hover { text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 20px rgba(15, 122, 108, 0.35);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.brand:hover .brand-mark {
  transform: translateY(-2px) rotate(-4deg);
  box-shadow: 0 12px 28px rgba(15, 122, 108, 0.42);
}
.brand-mark svg { width: 20px; height: 20px; }
.nav-links { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transform: translateY(-1px);
}
.nav-phone {
  display: none;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav-phone:hover { color: var(--teal); text-decoration: none; }
.nav-cta { display: flex; gap: 8px; align-items: center; }
.menu-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}

/* Живые кнопки */
.btn {
  appearance: none;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 20px;
  border-radius: 12px;
  font-weight: 750;
  font-family: inherit;
  font-size: 0.94rem;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  transition:
    transform 0.28s var(--ease),
    box-shadow 0.28s var(--ease),
    background 0.28s var(--ease),
    border-color 0.28s var(--ease),
    color 0.28s var(--ease);
  text-decoration: none;
}
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 20%, rgba(255, 255, 255, 0.35) 45%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s var(--ease);
  z-index: -1;
  pointer-events: none;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn-primary {
  background: var(--grad-brand);
  color: #f4fffd;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--grad-brand-hover);
  box-shadow: 0 14px 34px rgba(15, 122, 108, 0.42);
  color: #fff;
}
.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  color: var(--ink);
  border: 1px solid rgba(16, 24, 40, 0.1);
  box-shadow: 0 6px 18px rgba(16, 24, 40, 0.06);
}
.btn-secondary:hover {
  background: #fff;
  border-color: rgba(15, 122, 108, 0.28);
  color: var(--teal-deep);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.65);
  border-color: rgba(15, 122, 108, 0.25);
}
.btn-block { width: 100%; }
.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.btn:disabled::after { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: min(78vh, 700px);
  display: flex;
  align-items: center;
  padding: 56px 0 44px;
}
.hero-simple { min-height: min(72vh, 640px); }
.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  max-width: 560px;
  animation: riseIn 0.7s var(--ease) both;
}
@keyframes riseIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.brand-hero {
  display: block;
  margin: 0 0 10px;
  font-size: clamp(2.45rem, 5.4vw, 3.5rem);
  background: linear-gradient(120deg, var(--ink) 20%, var(--teal-deep) 55%, var(--teal-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}
.hero h1 {
  margin: 0 0 12px;
  font-size: clamp(1.28rem, 2.6vw, 1.7rem);
  max-width: 24ch;
  color: var(--ink-soft);
  font-weight: 650;
}
.hero .lead {
  margin: 0 0 20px;
  max-width: 40ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}
.trust-strip li {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--ink-soft);
  padding: 7px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.55));
  border: 1px solid rgba(15, 122, 108, 0.14);
  box-shadow: 0 4px 14px rgba(16, 24, 40, 0.04);
}

.vin-box {
  background: var(--glass);
  backdrop-filter: blur(16px) saturate(1.15);
  color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
}
.vin-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(15, 122, 108, 0.35), rgba(196, 138, 58, 0.2), transparent 60%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.vin-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.vin-row input,
.input,
select,
textarea {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.vin-row input:focus,
.input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(15, 122, 108, 0.45);
  box-shadow: 0 0 0 4px rgba(15, 122, 108, 0.12);
}
.hint { font-size: 0.85rem; color: var(--muted); margin-top: 8px; }
.vin-status { font-size: 0.85rem; margin-top: 8px; min-height: 1.2em; font-weight: 650; }
.vin-status.ok { color: var(--ok); }
.vin-status.bad { color: var(--danger); }
.vin-label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 0.92rem; }

.section { padding: 48px 0; }
.section-alt { background: transparent; }
.section-panel {
  background: linear-gradient(160deg, rgba(255, 252, 248, 0.92), rgba(255, 255, 255, 0.78));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 22px;
  padding: 34px 30px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, 0.06);
}
.section-head { max-width: 560px; margin-bottom: 26px; }
.section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.42rem, 2.3vw, 1.9rem);
}
.section-head p,
.muted { color: var(--muted); margin: 0; }

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s var(--ease), transform 0.55s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.card {
  background: var(--surface);
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: var(--radius);
  padding: 22px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.08);
  border-color: rgba(15, 122, 108, 0.2);
}
.card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.card p { margin: 0; color: var(--muted); }

.list-check { list-style: none; padding: 0; margin: 14px 0 0; }
.list-check li {
  position: relative;
  padding-left: 22px;
  margin: 8px 0;
  color: inherit;
  font-size: 0.94rem;
}
.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad-brand);
}

.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 100%;
  background: rgba(255, 255, 255, 0.95);
}
.price-card .price {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(120deg, var(--ink), var(--teal-deep));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.price-card .price span {
  font-size: 1rem;
  font-weight: 650;
  color: var(--muted);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.price-note {
  font-size: 0.8rem;
  color: var(--muted);
  margin: -4px 0 0;
}
.badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--grad-brand);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 750;
  padding: 5px 11px;
  border-radius: 999px;
  box-shadow: 0 6px 16px rgba(15, 122, 108, 0.3);
}
.price-card ul { flex: 1; }
.price-card-hl {
  border-color: rgba(15, 122, 108, 0.35);
  box-shadow: 0 14px 36px rgba(15, 122, 108, 0.12);
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(135deg, rgba(15, 122, 108, 0.45), rgba(42, 168, 196, 0.35), rgba(196, 138, 58, 0.25)) border-box;
  border: 1.5px solid transparent;
}

.path-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
.path-step {
  background: transparent;
  border: 0;
  padding: 8px 18px 8px 0;
  text-align: left;
  position: relative;
}
.path-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 22px;
  left: 48px;
  right: 12px;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(15, 122, 108, 0.45), rgba(42, 168, 196, 0.15));
}
.path-num {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  box-shadow: 0 8px 20px rgba(15, 122, 108, 0.32);
}
.path-step h3 { margin: 0 0 4px; font-size: 1.05rem; }
.path-step p { margin: 0; color: var(--muted); font-size: 0.92rem; }

.faq details {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(16, 24, 40, 0.07);
  border-radius: 14px;
  padding: 14px 18px;
  margin-bottom: 8px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.faq details:hover,
.faq details[open] {
  border-color: rgba(15, 122, 108, 0.22);
  box-shadow: 0 8px 22px rgba(16, 24, 40, 0.05);
}
.faq summary {
  cursor: pointer;
  font-weight: 750;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before {
  content: "+ ";
  color: var(--teal);
  font-weight: 800;
}
.faq details[open] summary::before { content: "− "; }
.faq p { color: var(--muted); margin: 10px 0 0; }

.disclaimer {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--grad-warm);
  border: 1px solid rgba(15, 122, 108, 0.16);
  font-size: 0.9rem;
  color: var(--ink);
}
.disclaimer p { margin: 0; color: var(--ink); }

.flash {
  margin: 18px auto;
  width: min(var(--max), calc(100% - 40px));
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 650;
  animation: riseIn 0.4s var(--ease);
}
.flash-success {
  background: rgba(26, 122, 88, 0.12);
  border: 1px solid rgba(26, 122, 88, 0.25);
  color: #1f4a37;
}
.flash-error {
  background: rgba(179, 58, 58, 0.1);
  border: 1px solid rgba(179, 58, 58, 0.25);
  color: #7a2c2c;
}

.page-hero { padding: 40px 0 8px; }
.page-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
}

.auth-wrap { max-width: 440px; margin: 0 auto; padding: 12px 0 56px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 650;
  font-size: 0.92rem;
}
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 10px; }
.check-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 10px 0;
  font-size: 0.9rem;
}
.check-row input { margin-top: 4px; }
.steps-reg { display: flex; gap: 8px; margin-bottom: 18px; }
.steps-reg span {
  flex: 1;
  text-align: center;
  padding: 8px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 750;
  color: var(--muted);
}
.steps-reg span.on {
  background: var(--accent-soft);
  color: var(--teal-deep);
}

.table { width: 100%; border-collapse: collapse; }
.table th,
.table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--teal-deep);
  font-size: 0.8rem;
  font-weight: 750;
  margin: 2px;
}
.tag-warn { background: rgba(154, 107, 47, 0.14); color: var(--warn); }
.status-ok { color: var(--ok); font-weight: 750; }

.cabinet-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
  padding-bottom: 60px;
}
.side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  height: fit-content;
}
.side .user-name { font-weight: 800; font-size: 1.1rem; margin-bottom: 4px; }
.side nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--muted);
  font-weight: 650;
  margin-top: 4px;
}
.side nav a:hover,
.side nav a.active {
  background: var(--accent-soft);
  color: var(--ink);
  text-decoration: none;
}

.legal { max-width: 860px; padding-bottom: 60px; }
.legal h2 { margin-top: 28px; font-size: 1.15rem; }
.legal p,
.legal li { color: var(--muted); }

.notice-box {
  border-left: 4px solid transparent;
  border-image: var(--grad-brand) 1;
  background: var(--accent-soft);
  padding: 14px 16px;
  border-radius: 0 12px 12px 0;
  margin: 16px 0;
}
.notice-box p { margin: 0; color: var(--ink); font-size: 0.95rem; }

.footer {
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  padding: 40px 0 24px;
  margin-top: 16px;
  background: linear-gradient(180deg, rgba(247, 244, 239, 0.72), rgba(255, 255, 255, 0.88));
  backdrop-filter: blur(12px);
  color: var(--muted);
}
.footer a,
.footer p {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 0.92rem;
}
.footer .brand { color: var(--ink); }
.footer-bottom {
  border-top: 1px solid rgba(16, 24, 40, 0.08);
  padding-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  color: rgba(92, 107, 122, 0.9);
  font-size: 0.85rem;
}
.requisites { font-size: 0.88rem; line-height: 1.7; }

.center { text-align: center; }
.section-head.center { margin-left: auto; margin-right: auto; }
.narrow { max-width: 720px; }

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 250, 248, 0.9));
  border: 1px solid rgba(15, 122, 108, 0.14);
  border-radius: var(--radius);
  padding: 20px 22px;
  margin-top: 28px;
  box-shadow: 0 10px 28px rgba(15, 122, 108, 0.08);
}
.cta-band h3 { margin: 0 0 4px; }
.fineprint {
  margin-top: 22px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.5;
}
.fineprint.center,
.form-note.center,
.page-hero.center { text-align: center; }
.crumb { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px; }
.crumb a { color: var(--muted); }
.form-shell { max-width: 520px; margin: 0 auto; padding-bottom: 50px; }
.form-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.95);
}
.progress-line { display: flex; gap: 8px; margin-bottom: 16px; }
.progress-line span {
  flex: 1;
  text-align: center;
  padding: 8px 6px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.8rem;
  font-weight: 750;
  color: var(--muted);
}
.progress-line span.on {
  background: var(--accent-soft);
  color: var(--teal-deep);
}
.form-block { border: 0; margin: 0 0 18px; padding: 0; }
.form-block legend {
  font-weight: 800;
  margin-bottom: 12px;
  padding: 0;
  font-size: 1rem;
}
.label-like {
  display: block;
  font-weight: 650;
  margin-bottom: 8px;
  font-size: 0.92rem;
}
.optional { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.pkg-options { display: grid; gap: 8px; }
.pkg-option {
  display: flex;
  gap: 10px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.pkg-option:hover { transform: translateY(-1px); }
.pkg-option:has(input:checked) {
  border-color: var(--teal);
  background: var(--accent-soft);
}
.pkg-option strong { display: block; }
.pkg-option em {
  font-style: normal;
  color: var(--muted);
  font-size: 0.9rem;
}
.footer-simple {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-content: flex-start;
}
.footer-links a { margin: 0; }
.app-list { display: grid; gap: 0; }
.app-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}
.app-item:last-child { border-bottom: 0; }
.app-item:hover { text-decoration: none; color: var(--teal-deep); }
.app-item strong { display: block; margin-bottom: 2px; }
.app-item-right {
  text-align: right;
  display: grid;
  gap: 4px;
  justify-items: end;
}
.list-check-short { margin-top: 10px; }
.receipt-ok {
  text-align: center;
  color: var(--ok);
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 4px;
}
.company-card .requisites { margin-top: 8px; }

@media (min-width: 961px) {
  .nav-phone { display: inline-flex; margin-right: 4px; }
}

@media (max-width: 960px) {
  .grid-3,
  .grid-4,
  .cabinet-layout,
  .path-steps {
    grid-template-columns: 1fr 1fr;
  }
  .path-step:not(:last-child)::after { display: none; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 16px;
    right: 16px;
    flex-direction: column;
    background: rgba(255, 252, 248, 0.98);
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
  }
  .menu-toggle { display: inline-flex; }
  .cta-band {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
  .section-panel { padding: 26px 18px; }
}

@media (max-width: 640px) {
  .grid-3,
  .grid-4,
  .grid-2,
  .cabinet-layout,
  .vin-row,
  .path-steps {
    grid-template-columns: 1fr;
  }
  .hero,
  .hero-simple { min-height: auto; }
  .hero { padding: 32px 0 28px; }
  .progress-line { flex-direction: column; }
  .site-bg { background-position: 72% center; animation: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn,
  .card,
  .brand-mark,
  .reveal,
  .hero-inner { transition: none; animation: none; }
  .btn::after { display: none; }
  .site-bg { animation: none; }
}

/* Уведомление о cookie */
.cookie-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  background: rgba(16, 24, 40, 0.96);
  color: rgba(255, 252, 248, 0.92);
  padding: 0.9rem 0;
  transform: translateY(110%);
  transition: transform 0.35s var(--ease);
}

.cookie-bar.is-visible { transform: translateY(0); }

.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cookie-inner p {
  margin: 0;
  font-size: 0.92rem;
  max-width: 70ch;
}

.cookie-inner a { color: #7fd8cb; }

@media (max-width: 560px) {
  .cookie-inner { justify-content: stretch; }
  .cookie-inner .btn { width: 100%; }
}
