/* ============================================================
   АвтоВин — Проверка авто по VIN | Main Stylesheet v1.0
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── Custom Properties ─────────────────────────────────────── */
:root {
  --blue:        #1565C0;
  --blue-dark:   #0D47A1;
  --blue-deeper: #0A2E6E;
  --blue-light:  #1976D2;
  --blue-pale:   #E3F0FF;
  --accent:      #FF6D00;
  --accent-h:    #E65100;
  --accent-soft: #FFF3E0;
  --green:       #2E7D32;
  --green-soft:  #E8F5E9;
  --text:        #1A1A2E;
  --text-mid:    #4A5568;
  --text-light:  #718096;
  --bg:          #FAFBFF;
  --bg-alt:      #F0F4FB;
  --white:       #FFFFFF;
  --border:      #E2EBF6;
  --shadow-sm:   0 2px 8px rgba(21,101,192,.08);
  --shadow-md:   0 6px 24px rgba(21,101,192,.12);
  --shadow-lg:   0 12px 48px rgba(21,101,192,.16);
  --r-sm:  8px;
  --r-md:  12px;
  --r-lg:  18px;
  --r-xl:  24px;
  --r-pill:50px;
  --t: .28s ease;
  --ff-h: 'Montserrat', sans-serif;
  --ff-b: 'Inter', sans-serif;
}

/* ── Reset ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--ff-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ─────────────────────────────────────────────── */
h1,h2,h3,h4,h5 { font-family: var(--ff-h); font-weight: 700; line-height: 1.25; color: var(--text); }
h1 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); }
h4 { font-size: 1.1rem; }
p  { color: var(--text-mid); }

/* ── Layout Helpers ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section--blue { background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%); }
.section-label {
  display: inline-block; font-family: var(--ff-h); font-size: .75rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale); border-radius: var(--r-pill);
  padding: 5px 16px; margin-bottom: 14px;
}
.section-label--white { color: rgba(255,255,255,.85); background: rgba(255,255,255,.12); }
.section-title { margin-bottom: 14px; }
.section-sub  { color: var(--text-mid); font-size: 1.05rem; max-width: 580px; }
.section-head  { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .section-sub { margin: 0 auto; }
.text-white { color: #fff !important; }
.text-white p, .text-white .section-sub { color: rgba(255,255,255,.8) !important; }

/* ── Grid ───────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--ff-h); font-weight: 600; font-size: .95rem;
  padding: 14px 28px; border-radius: var(--r-pill);
  transition: transform var(--t), box-shadow var(--t), background var(--t), color var(--t);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, #FF8F00 100%);
  color: #fff; box-shadow: 0 4px 20px rgba(255,109,0,.3);
}
.btn-primary:hover { box-shadow: 0 8px 32px rgba(255,109,0,.45); background: linear-gradient(135deg, var(--accent-h) 0%, var(--accent) 100%); }
.btn-secondary {
  background: var(--white); color: var(--blue);
  border: 2px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { border-color: var(--blue); box-shadow: var(--shadow-md); }
.btn-outline-white {
  border: 2px solid rgba(255,255,255,.5); color: #fff;
}
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: #fff; }
.btn-lg { padding: 17px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: .85rem; }
.btn-icon { width: 20px; height: 20px; }

/* ── Card ────────────────────────────────────────────────────── */
.card {
  background: var(--white); border-radius: var(--r-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  transition: transform var(--t), box-shadow var(--t);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card-body { padding: 28px; }

/* ── Badge / Tag ─────────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .78rem; font-weight: 600;
  padding: 4px 10px; border-radius: var(--r-pill);
}
.badge-green { background: var(--green-soft); color: var(--green); }
.badge-blue  { background: var(--blue-pale);  color: var(--blue);  }
.badge-orange{ background: var(--accent-soft);color: var(--accent); }

/* ── ───────────────────────────────────────────────────────────
   HEADER
   ─────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(21,101,192,.06);
}
.header__inner {
  display: flex; align-items: center; gap: 24px;
  height: 68px;
}
.header__logo {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}
.header__logo-mark {
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
}
.header__logo-mark svg { width: 24px; height: 24px; }
.header__logo-name { font-family: var(--ff-h); font-weight: 800; font-size: 1.2rem; color: var(--blue-dark); letter-spacing: -.02em; }
.header__logo-name span { color: var(--accent); }
.header__nav { margin-left: auto; display: flex; gap: 4px; }
.header__nav a {
  font-family: var(--ff-h); font-weight: 500; font-size: .88rem;
  color: var(--text-mid); padding: 7px 14px; border-radius: var(--r-pill);
  transition: color var(--t), background var(--t);
}
.header__nav a:hover, .header__nav a.active { color: var(--blue); background: var(--blue-pale); }
.header__phone {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--ff-h); font-weight: 700; font-size: .95rem; color: var(--text);
}
.header__phone svg { color: var(--blue); flex-shrink: 0; }
.header__cta { margin-left: 12px; }
.header__burger { display: none; width: 36px; height: 36px; padding: 6px; flex-direction: column; justify-content: space-between; margin-left: auto; border-radius: var(--r-sm); }
.header__burger span { display: block; height: 2px; background: var(--text); border-radius: 2px; transition: var(--t); }
@media (max-width: 1024px) {
  .header__nav, .header__phone, .header__cta { display: none; }
  .header__burger { display: flex; }
}
/* Mobile nav */
.mobile-nav {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: var(--white); padding: 24px 20px;
  flex-direction: column; gap: 8px;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close {
  align-self: flex-end; width: 36px; height: 36px; border-radius: 50%;
  background: var(--bg-alt); display: flex; align-items: center; justify-content: center;
  color: var(--text); font-size: 1.2rem; margin-bottom: 16px;
}
.mobile-nav a {
  font-family: var(--ff-h); font-weight: 600; font-size: 1.1rem;
  color: var(--text); padding: 14px 16px; border-radius: var(--r-md);
  border-bottom: 1px solid var(--border);
}
.mobile-nav a:hover { background: var(--bg-alt); }
.mobile-nav .btn { margin-top: 8px; justify-content: center; }

/* ── ───────────────────────────────────────────────────────────
   HERO
   ─────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--blue-deeper) 0%, var(--blue-dark) 45%, #1a56b0 100%);
  padding: 80px 0 70px;
  min-height: 90vh;
  display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E") repeat;
  opacity: .6;
}
.hero__grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hero__label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255,255,255,.85); background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2); border-radius: var(--r-pill);
  padding: 5px 14px; margin-bottom: 20px;
}
.hero__label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #4ADE80; display: block; }
.hero h1 { color: #fff; margin-bottom: 18px; }
.hero h1 strong { color: #FFB300; }
.hero__sub { font-size: 1.08rem; color: rgba(255,255,255,.8); margin-bottom: 32px; max-width: 500px; }
.hero__stats {
  display: flex; gap: 28px; flex-wrap: wrap; margin-top: 36px;
}
.hero__stat { }
.hero__stat-num { font-family: var(--ff-h); font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero__stat-label { font-size: .78rem; color: rgba(255,255,255,.65); line-height: 1.3; }
.hero__divider { width: 1px; background: rgba(255,255,255,.18); align-self: stretch; }
/* VIN Form Card */
.hero__card {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(20px);
  border-radius: var(--r-xl);
  padding: 36px 32px;
  box-shadow: 0 24px 80px rgba(0,0,0,.35);
}
.hero__card-title { font-size: 1.15rem; margin-bottom: 4px; color: var(--text); }
.hero__card-sub { font-size: .88rem; color: var(--text-light); margin-bottom: 24px; }
.vin-input-wrap {
  position: relative; margin-bottom: 14px;
}
.vin-input-wrap label {
  display: block; font-weight: 600; font-size: .82rem;
  color: var(--text-mid); margin-bottom: 6px; letter-spacing: .03em;
}
.vin-input {
  width: 100%; padding: 15px 48px 15px 18px;
  font-family: 'Courier New', monospace; font-size: 1.05rem; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: var(--text); background: var(--bg);
  border: 2px solid var(--border); border-radius: var(--r-md);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.vin-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.vin-input.valid { border-color: var(--green); }
.vin-input.invalid { border-color: #E53E3E; }
.vin-counter {
  position: absolute; right: 14px; bottom: 15px;
  font-size: .75rem; font-weight: 600; color: var(--text-light);
}
.form-field { margin-bottom: 14px; }
.form-field label { display: block; font-weight: 600; font-size: .82rem; color: var(--text-mid); margin-bottom: 6px; }
.form-input {
  width: 100%; padding: 13px 16px;
  font-size: .95rem; color: var(--text);
  background: var(--bg); border: 2px solid var(--border); border-radius: var(--r-md);
  outline: none; transition: border-color var(--t), box-shadow var(--t);
}
.form-input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21,101,192,.12); }
.form-select {
  width: 100%; padding: 13px 16px;
  font-size: .95rem; color: var(--text);
  background: var(--bg); border: 2px solid var(--border); border-radius: var(--r-md);
  outline: none; cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23718096' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.consent-wrap {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .78rem; color: var(--text-light); margin-bottom: 18px;
}
.consent-wrap input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--blue); cursor: pointer;
}
.consent-wrap a { color: var(--blue); text-decoration: underline; }
.hero__card .btn { width: 100%; justify-content: center; padding: 16px; font-size: 1rem; }
.hero__card-note { text-align: center; font-size: .75rem; color: var(--text-light); margin-top: 12px; }
.hero__card-note strong { color: var(--green); }
.vin-error { font-size: .78rem; color: #E53E3E; margin-top: 4px; display: none; }
.vin-error.show { display: block; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 60px 0 50px; min-height: unset; }
  .hero__sub { max-width: 100%; }
}

/* ── ───────────────────────────────────────────────────────────
   TRUST BAR
   ─────────────────────────────────────────────────────────── */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 20px 0; }
.trust-bar__inner {
  display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 8px;
  font-size: .85rem; font-weight: 600; color: var(--text-mid);
}
.trust-item svg { color: var(--blue); }

/* ── ───────────────────────────────────────────────────────────
   ADVANTAGES
   ─────────────────────────────────────────────────────────── */
.adv-card {
  padding: 28px 24px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--border);
  box-shadow: var(--shadow-sm); transition: transform var(--t), box-shadow var(--t);
}
.adv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.adv-card__icon {
  width: 56px; height: 56px; border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  background: var(--blue-pale);
}
.adv-card__icon svg { width: 28px; height: 28px; color: var(--blue); }
.adv-card__icon--accent { background: var(--accent-soft); }
.adv-card__icon--accent svg { color: var(--accent); }
.adv-card__icon--green { background: var(--green-soft); }
.adv-card__icon--green svg { color: var(--green); }
.adv-card h4 { margin-bottom: 8px; }
.adv-card p { font-size: .9rem; }

/* ── ───────────────────────────────────────────────────────────
   WHAT'S CHECKED
   ─────────────────────────────────────────────────────────── */
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
@media (max-width: 640px) { .check-grid { grid-template-columns: 1fr; } }
.check-item {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 18px 20px; border-radius: var(--r-md);
  background: var(--white); border: 1px solid var(--border);
  transition: border-color var(--t), box-shadow var(--t);
}
.check-item:hover { border-color: var(--blue); box-shadow: var(--shadow-sm); }
.check-item__dot {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
  color: var(--blue);
}
.check-item__dot svg { width: 18px; height: 18px; }
.check-item h4 { font-size: .95rem; margin-bottom: 3px; }
.check-item p { font-size: .82rem; color: var(--text-light); }
.report-preview {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.report-preview__header {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue));
  padding: 20px 24px; display: flex; align-items: center; gap: 14px;
}
.report-preview__header h3 { color: #fff; font-size: 1rem; }
.report-preview__header p { color: rgba(255,255,255,.75); font-size: .82rem; }
.report-preview__vin {
  font-family: 'Courier New', monospace; font-size: 1rem; letter-spacing: .12em;
  color: #FFB300; font-weight: 700;
}
.report-preview__body { padding: 20px 24px; }
.report-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0; border-bottom: 1px solid var(--border);
}
.report-row:last-child { border-bottom: none; }
.report-row__label { font-size: .88rem; color: var(--text-mid); }
.report-row__val {
  display: flex; align-items: center; gap: 6px;
  font-size: .88rem; font-weight: 600;
}
.dot-green  { width: 8px; height: 8px; border-radius: 50%; background: var(--green);  flex-shrink: 0; }
.dot-red    { width: 8px; height: 8px; border-radius: 50%; background: #E53E3E; flex-shrink: 0; }
.dot-yellow { width: 8px; height: 8px; border-radius: 50%; background: #ECC94B; flex-shrink: 0; }

/* ── ───────────────────────────────────────────────────────────
   HOW IT WORKS
   ─────────────────────────────────────────────────────────── */
.steps { display: flex; gap: 0; position: relative; }
.step {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  text-align: center; position: relative; padding: 0 20px;
}
.step:not(:last-child)::after {
  content: ''; position: absolute;
  top: 36px; left: calc(50% + 36px); right: calc(-50% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue), rgba(21,101,192,.2));
}
.step__num {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-h); font-size: 1.5rem; font-weight: 800;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.step__num--1 { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; box-shadow: 0 8px 24px rgba(21,101,192,.3); }
.step__num--2 { background: linear-gradient(135deg, var(--accent), #FF8F00); color: #fff; box-shadow: 0 8px 24px rgba(255,109,0,.3); }
.step__num--3 { background: linear-gradient(135deg, var(--green), #43A047); color: #fff; box-shadow: 0 8px 24px rgba(46,125,50,.3); }
.step h3 { margin-bottom: 10px; }
.step p  { font-size: .9rem; }
@media (max-width: 700px) {
  .steps { flex-direction: column; gap: 32px; }
  .step:not(:last-child)::after { display: none; }
  .step { align-items: flex-start; text-align: left; flex-direction: row; gap: 20px; }
  .step__num { margin-bottom: 0; flex-shrink: 0; }
  .step > div { flex: 1; }
}

/* ── ───────────────────────────────────────────────────────────
   PRICING
   ─────────────────────────────────────────────────────────── */
.price-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 2px solid var(--border); padding: 32px 28px;
  display: flex; flex-direction: column; gap: 0;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
  position: relative; overflow: hidden;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card--featured { border-color: var(--blue); }
.price-card--featured::before {
  content: 'Популярный'; position: absolute; top: 16px; right: -28px;
  background: var(--blue); color: #fff;
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  padding: 5px 36px; transform: rotate(45deg); transform-origin: center;
}
.price-card__name { font-family: var(--ff-h); font-size: .85rem; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .1em; margin-bottom: 8px; }
.price-card__price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 6px; }
.price-card__price-amount { font-family: var(--ff-h); font-size: 2.5rem; font-weight: 800; color: var(--text); }
.price-card__price-cur { font-size: 1rem; font-weight: 600; color: var(--text-mid); }
.price-card__time { font-size: .82rem; color: var(--text-light); margin-bottom: 20px; }
.price-card__divider { height: 1px; background: var(--border); margin-bottom: 20px; }
.price-features { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pf-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .88rem; color: var(--text-mid);
}
.pf-item svg { flex-shrink: 0; }
.pf-check { color: var(--green); }
.pf-cross { color: var(--text-light); }
.price-card .btn { margin-top: 24px; justify-content: center; }
.price-note { text-align: center; font-size: .82rem; color: var(--text-light); margin-top: 20px; }
.price-note strong { color: var(--blue); }

/* ── ───────────────────────────────────────────────────────────
   SOURCES
   ─────────────────────────────────────────────────────────── */
.source-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px; background: var(--white);
  border-radius: var(--r-md); border: 1px solid var(--border);
}
.source-item__logo {
  width: 48px; height: 48px; border-radius: var(--r-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--ff-h); font-size: .72rem; font-weight: 800;
  letter-spacing: -.02em;
}
.source-item p { font-size: .82rem; color: var(--text-light); }
.source-item h4 { font-size: .95rem; }

/* ── ───────────────────────────────────────────────────────────
   VIN ANATOMY
   ─────────────────────────────────────────────────────────── */
.vin-anatomy {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border); padding: 32px;
  box-shadow: var(--shadow-sm);
}
.vin-anatomy__seq {
  display: flex; gap: 4px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px;
}
.vin-char {
  width: 48px; height: 56px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--r-sm); font-family: 'Courier New', monospace;
  font-size: 1.1rem; font-weight: 700; cursor: default; transition: transform var(--t);
  border: 2px solid transparent;
}
.vin-char:hover { transform: translateY(-2px); }
.vin-char--wmi { background: rgba(21,101,192,.1); color: var(--blue); border-color: rgba(21,101,192,.2); }
.vin-char--vds { background: rgba(255,109,0,.1); color: var(--accent); border-color: rgba(255,109,0,.2); }
.vin-char--vis { background: rgba(46,125,50,.1); color: var(--green); border-color: rgba(46,125,50,.2); }
.vin-anatomy__legend {
  display: flex; gap: 24px; justify-content: center; flex-wrap: wrap;
}
.vin-legend-item { display: flex; align-items: center; gap: 6px; font-size: .82rem; }
.vin-legend-dot { width: 12px; height: 12px; border-radius: 3px; }
.vin-legend-dot--wmi { background: rgba(21,101,192,.5); }
.vin-legend-dot--vds { background: rgba(255,109,0,.5); }
.vin-legend-dot--vis { background: rgba(46,125,50,.5); }

/* ── ───────────────────────────────────────────────────────────
   FAQ
   ─────────────────────────────────────────────────────────── */
.faq-item {
  border-bottom: 1px solid var(--border); overflow: hidden;
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer; gap: 16px;
  font-family: var(--ff-h); font-weight: 600; font-size: 1rem; color: var(--text);
}
.faq-q svg { flex-shrink: 0; color: var(--blue); transition: transform var(--t); }
.faq-item.open .faq-q svg { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .3s ease; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding-bottom: 20px; color: var(--text-mid); font-size: .95rem; line-height: 1.7; }
.faq-a-inner a { color: var(--blue); text-decoration: underline; }

/* ── ───────────────────────────────────────────────────────────
   CTA SECTION
   ─────────────────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--blue-deeper) 0%, var(--blue-dark) 50%, #1a56b0 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-section::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='rgba(255,255,255,.04)'/%3E%3C/svg%3E") repeat;
}
.cta-section > * { position: relative; z-index: 1; }
.cta-section h2 { color: #fff; margin-bottom: 14px; }
.cta-section p  { color: rgba(255,255,255,.8); margin-bottom: 32px; font-size: 1.05rem; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── ───────────────────────────────────────────────────────────
   FOOTER
   ─────────────────────────────────────────────────────────── */
.footer {
  background: var(--blue-deeper); color: rgba(255,255,255,.75);
  padding: 60px 0 28px;
}
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 48px;
}
.footer__brand {}
.footer__brand .header__logo-name { color: #fff; }
.footer__brand p { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 12px; line-height: 1.7; max-width: 280px; }
.footer__heading {
  font-family: var(--ff-h); font-weight: 700; font-size: .85rem;
  color: #fff; text-transform: uppercase; letter-spacing: .1em; margin-bottom: 16px;
}
.footer__links { display: flex; flex-direction: column; gap: 8px; }
.footer__links a {
  font-size: .88rem; color: rgba(255,255,255,.65); transition: color var(--t);
}
.footer__links a:hover { color: #fff; }
.footer__contacts { display: flex; flex-direction: column; gap: 10px; }
.footer__contact-item {
  display: flex; align-items: flex-start; gap: 8px; font-size: .88rem; color: rgba(255,255,255,.65);
}
.footer__contact-item svg { flex-shrink: 0; margin-top: 2px; color: rgba(255,255,255,.4); }
.footer__contact-item a { color: rgba(255,255,255,.65); }
.footer__contact-item a:hover { color: #fff; }
.footer__divider { border: none; border-top: 1px solid rgba(255,255,255,.1); margin-bottom: 24px; }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap;
}
.footer__bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer__bottom-links a { font-size: .82rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer__bottom-links a:hover { color: rgba(255,255,255,.85); }
.footer__copy { font-size: .82rem; color: rgba(255,255,255,.4); }
.footer__rekvizity { margin-top: 16px; font-size: .78rem; color: rgba(255,255,255,.35); line-height: 1.8; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; } .footer__bottom { flex-direction: column; align-items: flex-start; } }

/* ── ───────────────────────────────────────────────────────────
   DISCLAIMER BAR
   ─────────────────────────────────────────────────────────── */
.disclaimer {
  background: var(--accent-soft); border-top: 3px solid var(--accent);
  padding: 12px 0; text-align: center;
}
.disclaimer p { font-size: .8rem; color: var(--text-mid); }

/* ── ───────────────────────────────────────────────────────────
   PAGE HERO (inner pages)
   ─────────────────────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(140deg, var(--blue-deeper) 0%, var(--blue-dark) 60%, var(--blue) 100%);
  padding: 60px 0;
}
.page-hero h1 { color: #fff; margin-bottom: 10px; }
.page-hero p  { color: rgba(255,255,255,.75); font-size: 1rem; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: .82rem; color: rgba(255,255,255,.55); margin-bottom: 20px;
}
.breadcrumb a { color: rgba(255,255,255,.55); transition: color var(--t); }
.breadcrumb a:hover { color: rgba(255,255,255,.9); }
.breadcrumb span { color: rgba(255,255,255,.85); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ── ───────────────────────────────────────────────────────────
   LEGAL pages
   ─────────────────────────────────────────────────────────── */
.legal-content {
  max-width: 820px; margin: 0 auto;
}
.legal-content h2 { font-size: 1.3rem; margin: 36px 0 12px; color: var(--text); }
.legal-content h3 { font-size: 1.05rem; margin: 24px 0 8px; color: var(--text); }
.legal-content p  { margin-bottom: 12px; color: var(--text-mid); font-size: .95rem; line-height: 1.75; }
.legal-content ul { margin: 8px 0 16px 20px; }
.legal-content li { font-size: .95rem; color: var(--text-mid); margin-bottom: 6px; list-style: disc; }
.legal-content a  { color: var(--blue); text-decoration: underline; }
.legal-date { font-size: .82rem; color: var(--text-light); margin-bottom: 32px; }

/* ── ───────────────────────────────────────────────────────────
   CONTACTS PAGE
   ─────────────────────────────────────────────────────────── */
.contact-card {
  background: var(--white); border-radius: var(--r-xl);
  border: 1px solid var(--border); padding: 36px;
  box-shadow: var(--shadow-sm);
}
.contact-info-item {
  display: flex; align-items: flex-start; gap: 16px;
  padding: 20px 0; border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border-bottom: none; }
.contact-info-item__icon {
  width: 44px; height: 44px; border-radius: var(--r-sm); flex-shrink: 0;
  background: var(--blue-pale); display: flex; align-items: center; justify-content: center;
}
.contact-info-item__icon svg { color: var(--blue); }
.contact-info-item h4 { font-size: .82rem; color: var(--text-light); font-weight: 500; margin-bottom: 3px; }
.contact-info-item p, .contact-info-item a {
  font-size: 1rem; font-weight: 600; color: var(--text);
}
.contact-info-item a:hover { color: var(--blue); }

/* ── ───────────────────────────────────────────────────────────
   ABOUT PAGE
   ─────────────────────────────────────────────────────────── */
.about-photo {
  width: 100%; border-radius: var(--r-xl); aspect-ratio: 4/3;
  object-fit: cover; box-shadow: var(--shadow-lg);
}
.rekvizity-table { width: 100%; border-collapse: collapse; }
.rekvizity-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); font-size: .9rem; }
.rekvizity-table td:first-child { color: var(--text-light); font-weight: 500; width: 200px; }
.rekvizity-table td:last-child { font-weight: 600; color: var(--text); }

/* ── ───────────────────────────────────────────────────────────
   THANKS page
   ─────────────────────────────────────────────────────────── */
.thanks-wrap { text-align: center; padding: 100px 0; }
.thanks-icon {
  width: 96px; height: 96px; margin: 0 auto 28px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: var(--green-soft);
}
.thanks-icon svg { width: 48px; height: 48px; color: var(--green); }
.thanks-wrap h1 { margin-bottom: 14px; }
.thanks-wrap p  { margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* ── ───────────────────────────────────────────────────────────
   404 page
   ─────────────────────────────────────────────────────────── */
.notfound-wrap { text-align: center; padding: 100px 0; }
.notfound-num { font-family: var(--ff-h); font-size: 8rem; font-weight: 800; color: var(--blue-pale); line-height: 1; margin-bottom: 16px; }
.notfound-wrap h2 { margin-bottom: 12px; }

/* ── ───────────────────────────────────────────────────────────
   TOAST
   ─────────────────────────────────────────────────────────── */
.toast {
  position: fixed; bottom: 24px; right: 24px; z-index: 9999;
  background: var(--text); color: #fff;
  padding: 14px 20px; border-radius: var(--r-md);
  font-size: .9rem; font-weight: 500;
  box-shadow: var(--shadow-lg);
  transform: translateY(80px); opacity: 0;
  transition: transform .3s ease, opacity .3s ease;
  max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast--success { border-left: 4px solid var(--green); }
.toast--error   { border-left: 4px solid #E53E3E; }

/* ── ───────────────────────────────────────────────────────────
   Misc utility
   ─────────────────────────────────────────────────────────── */
.mt-auto { margin-top: auto; }
.mb-0 { margin-bottom: 0 !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
