@font-face {
  font-family: "Open Sans";
  src: url("../fonts/OpenSans-Variable.ttf") format("truetype-variations");
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --ink: #111315;
  --ink-2: #181b1d;
  --ink-3: #222628;
  --paper: #f6f5f0;
  --white: #fff;
  --muted: #666c6f;
  --muted-dark: #abb0b2;
  --line: #dedfd9;
  --line-dark: rgba(255, 255, 255, .13);
  --accent: #c8ff2e;
  --accent-hover: #b5ef16;
  --danger: #c42a2a;
  --radius-sm: 14px;
  --radius: 22px;
  --radius-lg: 32px;
  --shadow: 0 24px 70px rgba(19, 23, 24, .09);
  --container: 1240px;
  --header-height: 78px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-height) + 24px); }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Open Sans", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, select { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(200, 255, 46, .65); outline-offset: 3px; }

.container { width: min(calc(100% - 48px), var(--container)); margin-inline: auto; }
.section { padding: 112px 0; }
.section-soft { background: #efefe9; }
.section-dark { color: var(--white); background: var(--ink); }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; opacity: 0 !important; pointer-events: none !important; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 10px; padding: 10px 16px; background: var(--accent); transform: translateY(-140%); }
.skip-link:focus { transform: translateY(0); }
.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ui-icon { display: block; width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.site-header {
  position: sticky; z-index: 100; top: 0; height: var(--header-height);
  color: var(--white); background: rgba(10, 12, 13, .94); border-bottom: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(16px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 40px; }
.brand { font-weight: 900; font-size: 23px; line-height: 1; letter-spacing: -.04em; white-space: nowrap; }
.brand::after { content: ""; display: inline-block; width: 9px; height: 9px; margin-left: 5px; border-radius: 50%; background: var(--accent); }
.main-nav { display: flex; align-items: center; gap: 30px; margin-left: auto; font-size: 16px; color: #d9dcdd; }
.main-nav a, .footer-nav a { transition: color .2s ease; }
.main-nav a:hover, .footer-nav a:hover { color: var(--accent); }
.header-actions { display: flex; align-items: center; gap: 20px; }
.phone-link { display: flex; gap: 8px; align-items: center; font-weight: 750; white-space: nowrap; }
.phone-link__icon { width: 18px; height: 18px; color: var(--accent); }
.menu-toggle { display: none; width: 42px; height: 42px; margin-left: auto; padding: 10px; color: var(--white); background: transparent; border: 1px solid var(--line-dark); border-radius: 10px; }
.menu-toggle span { display: block; width: 100%; height: 2px; margin: 4px 0; background: currentColor; transition: transform .2s, opacity .2s; }

.button {
  display: inline-flex; min-height: 54px; align-items: center; justify-content: center;
  padding: 13px 24px; color: #0e110b; background: var(--accent); border: 1px solid var(--accent);
  border-radius: 10px; font-weight: 850; line-height: 1.2; transition: background .2s, border-color .2s, transform .2s;
}
.button:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); }
.button--small { min-height: 44px; padding: 10px 17px; font-size: 16px; }
.button--outline { color: var(--white); background: transparent; border-color: rgba(255,255,255,.5); }
.button--outline:hover { color: var(--ink); background: var(--white); border-color: var(--white); }
.button--ghost-light { color: var(--ink); background: transparent; border-color: #b8bcba; }
.button--ghost-light:hover { background: #e6e7e1; border-color: #a7aca9; }

.hero { position: relative; min-height: 760px; overflow: hidden; }
.hero-image { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-shade { position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(8,10,11,.98) 0%, rgba(8,10,11,.82) 38%, rgba(8,10,11,.16) 69%, rgba(8,10,11,.2) 100%), linear-gradient(0deg, rgba(8,10,11,.75), transparent 40%); }
.hero-inner { position: relative; z-index: 2; min-height: 760px; display: grid; grid-template-columns: minmax(0, 700px) 1fr; grid-template-rows: 1fr auto; align-items: center; padding-top: 80px; padding-bottom: 42px; }
.hero-copy { padding: 42px 0 80px; }
.eyebrow, .kicker { margin: 0 0 18px; color: var(--accent); font-size: 15px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow { display: inline-flex; gap: 9px; align-items: center; padding: 8px 13px; color: #e9ece5; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 999px; letter-spacing: .03em; text-transform: none; }
h1, h2 { margin: 0; font-family: "Open Sans", "Segoe UI", sans-serif; font-stretch: 75%; font-weight: 800; letter-spacing: -.045em; line-height: .94; text-transform: uppercase; }
h1 { max-width: 720px; font-size: clamp(58px, 6.1vw, 94px); }
h1::after { content: ""; display: block; width: 120px; height: 9px; margin-top: 24px; background: var(--accent); }
h2 { font-size: clamp(42px, 4.8vw, 66px); }
h3 { margin: 0; font-size: 20px; font-weight: 750; line-height: 1.25; letter-spacing: -.015em; }
p { margin-top: 0; }
.hero-lead { max-width: 600px; margin: 28px 0 34px; color: #d2d6d7; font-size: 20px; line-height: 1.55; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.estimate-badge { align-self: end; justify-self: end; width: min(340px, 100%); margin-bottom: 32px; padding: 22px 24px; background: rgba(22,26,28,.86); border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); box-shadow: 0 18px 50px rgba(0,0,0,.3); backdrop-filter: blur(12px); }
.estimate-badge span { display: block; color: #b8bdbe; font-size: 15px; }
.estimate-badge__label { color: var(--accent) !important; font-weight: 800; }
.estimate-badge strong { display: block; margin: 5px 0; font-size: 23px; }
.hero-stats { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.15); }
.stat { display: flex; gap: 14px; align-items: center; min-width: 0; }
.stat-icon { display: grid; flex: 0 0 40px; width: 40px; height: 40px; place-items: center; color: var(--accent); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; }
.stat-icon .ui-icon { width: 22px; height: 22px; stroke-width: 1.6; }
.stat strong, .stat span { display: block; }
.stat strong { color: var(--accent); font-size: 19px; }
.stat div span { color: #bcc1c2; font-size: 15px; }

/* Desktop hero follows the approved composition. Mobile rules below stay independent. */
@media (min-width: 821px) {
  .site-header .container, .hero .container { width: min(calc(100% - 44px), 1680px); }
  .site-header { height: 66px; }
  .header-inner { gap: 34px; }
  .brand { font-size: 22px; text-transform: uppercase; }
  .main-nav { gap: 42px; font-size: 15px; }
  .header-actions { gap: 24px; }
  .header-actions .button { min-width: 136px; }

  .hero { height: 720px; min-height: 620px; max-height: calc(100vh - 66px); }
  .hero-image { object-position: center; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(5,7,8,.99) 0%, rgba(5,7,8,.93) 26%, rgba(5,7,8,.58) 43%, rgba(5,7,8,.08) 68%, rgba(5,7,8,.12) 100%),
      linear-gradient(0deg, rgba(5,7,8,.82) 0%, transparent 38%);
  }
  .hero-inner {
    height: 100%; min-height: 0;
    grid-template-columns: minmax(540px, 620px) 1fr;
    grid-template-rows: minmax(0, 1fr) 92px;
    padding-top: 26px; padding-bottom: 24px;
  }
  .hero-copy { align-self: center; padding: 0 0 52px; }
  .eyebrow { margin-bottom: 20px; padding: 8px 15px; font-size: 12px; background: rgba(255,255,255,.07); }
  .eyebrow .ui-icon { color: var(--accent); }
  h1 { max-width: 620px; font-size: clamp(59px, 4.15vw, 76px); line-height: .94; letter-spacing: -.05em; }
  h1::after { display: none; }
  .hero-title-accent { display: block; color: var(--accent); font-size: .72em; line-height: 1.08; letter-spacing: -.035em; }
  .hero-lead { max-width: 520px; margin: 18px 0 28px; font-size: 16px; line-height: 1.5; }
  .hero-buttons { gap: 20px; }
  .hero-buttons .button { min-width: 208px; min-height: 48px; }
  .hero-buttons .button--outline { min-width: 188px; }

  .hero-stats {
    grid-column: 1; grid-row: 2;
    width: 620px; gap: 22px; padding: 0; border: 0;
    grid-template-columns: .8fr 1.15fr 1.15fr;
    align-self: center;
  }
  .stat { gap: 11px; }
  .stat-icon { display: grid; flex-basis: 46px; width: 46px; height: 46px; padding: 5px; place-items: center; border-radius: 9px; }
  .stat-icon .ui-icon { width: 100%; height: 100%; align-self: center; justify-self: center; stroke-width: 1.55; }
  .stat strong { font-size: 21px; line-height: 1.2; }
  .stat div span { font-size: 11px; line-height: 1.35; }

  .estimate-badge {
    position: absolute; right: 0; bottom: 24px;
    display: grid; width: 360px; min-height: 98px; margin: 0; padding: 16px 18px 14px 64px;
    align-content: center; border-radius: 10px;
    background: rgba(24,27,28,.9); border-color: rgba(255,255,255,.28);
  }
  .estimate-badge__icon {
    position: absolute; left: 17px; top: 17px;
    display: grid !important; width: 34px; height: 34px; place-items: center;
    color: var(--accent) !important; border: 1px solid rgba(200,255,46,.38); border-radius: 7px;
  }
  .estimate-badge__icon .ui-icon { width: 20px; height: 20px; }
  .estimate-badge__label { color: #e4e7e8 !important; font-size: 15px !important; font-weight: 750; }
  .estimate-badge strong { margin: 2px 0 1px; color: var(--accent); font-size: 22px; line-height: 1.15; text-transform: uppercase; }
  .estimate-badge__note { font-size: 11px !important; }
}

.section-heading { max-width: 850px; margin: 0 auto 52px; text-align: center; }
.section-heading h2 { margin-bottom: 20px; }
.section-heading > p:last-child { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 18px; }
.estimate-section .kicker, .section-soft .kicker, .vehicles-section .kicker, .faq-section .kicker { color: #506900; }
.cta-panel .kicker { color: var(--accent); }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-heading--left > p:last-child { margin-left: 0; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.estimate-section { background: radial-gradient(circle at 50% 0, #fff 0, var(--paper) 55%); }
.estimate-form { padding: 34px; }
.form-progress { display: flex; gap: 12px; margin-bottom: 28px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.form-progress span { padding: 7px 12px; color: #8b9092; background: #f2f2ed; border-radius: 999px; font-size: 15px; font-weight: 800; }
.form-progress span.is-active { color: var(--ink); background: var(--accent); }
.form-step { display: none; min-width: 0; padding: 0; border: 0; }
.form-step.is-active { display: block; }
.field-grid { display: grid; gap: 18px; }
.field-grid--vehicle { grid-template-columns: 1.2fr 1.2fr .85fr 1fr; }
.field-grid--contact { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { display: grid; gap: 8px; min-width: 0; color: #3f4446; font-size: 15px; font-weight: 800; }
.field small { color: #8a8f90; font-weight: 500; }
.field input, .field select, .quick-form > input {
  width: 100%; min-height: 54px; padding: 12px 15px; color: var(--ink); background: #fbfbf8;
  border: 1px solid #d6d8d4; border-radius: 10px; outline: none; transition: border .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .quick-form > input:focus { border-color: #91b921; box-shadow: 0 0 0 4px rgba(200,255,46,.18); }
.field input:disabled { background: #eeeeea; cursor: not-allowed; }
.field input.is-invalid, .field select.is-invalid, .quick-form input.is-invalid { border-color: var(--danger); }
.form-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 28px; }
.form-actions--end { justify-content: flex-end; }
.condition-grid { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 22px; }
.check { position: relative; cursor: pointer; }
.check input { position: absolute; opacity: 0; }
.check span { display: block; padding: 9px 14px; background: #f0f1ec; border: 1px solid #dfe0db; border-radius: 999px; font-size: 16px; }
.check input:checked + span { background: rgba(200,255,46,.22); border-color: #a9d52d; }
.consent-check { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; color: #626769; font-size: 15px; }
.consent-check input { margin-top: 4px; accent-color: #7fa600; }
.consent-check a { text-decoration: underline; text-underline-offset: 2px; }
.form-status { min-height: 24px; margin: 18px 0 0; color: #47610a; font-size: 16px; font-weight: 700; }
.form-status.is-error { color: var(--danger); }

.benefit-grid, .guarantee-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.benefit-card { min-height: 300px; padding: 30px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); }
.line-icon { position: relative; display: grid; width: 66px; height: 66px; margin-bottom: 34px; place-items: center; color: #657d18; background: linear-gradient(145deg, rgba(200,255,46,.22), rgba(200,255,46,.05)); border: 1px solid rgba(101,125,24,.2); border-radius: 20px; box-shadow: inset 0 1px 0 rgba(255,255,255,.8), 0 12px 28px rgba(82,102,18,.1); }
.line-icon::after { content: ""; position: absolute; right: 8px; bottom: 8px; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 0 4px rgba(200,255,46,.18); }
.line-icon .ui-icon { width: 36px; height: 36px; stroke-width: 1.55; }
.benefit-card h3 { margin-bottom: 14px; }
.benefit-card p, .vehicle-card p, .guarantee-card p { margin: 0; color: var(--muted); font-size: 16px; }

/* Exact mockup geometry: "Почему выбирают нас" */
#benefits { padding: 64px 0 72px; }
#benefits .section-heading { margin-bottom: 28px; }
#benefits .section-heading h2 { margin-bottom: 0; font-size: clamp(36px, 3.15vw, 48px); }
#benefits .benefit-grid { gap: 30px; }
#benefits .benefit-card { min-height: 255px; padding: 28px 34px; border-radius: 11px; box-shadow: 0 8px 26px rgba(18,22,23,.035); }
#benefits .line-icon { width: 58px; height: 58px; margin-bottom: 17px; color: #647717; background: transparent; border: 0; border-radius: 0; box-shadow: none; }
#benefits .line-icon::after { display: none; }
#benefits .line-icon .ui-icon { width: 50px; height: 50px; stroke-width: 1.35; }
#benefits .benefit-card h3 { margin-bottom: 11px; font-size: 18px; line-height: 1.15; }
#benefits .benefit-card p { font-size: 15px; line-height: 1.45; }

.process-section { background: linear-gradient(135deg, #0d0f10, #171a1c 70%, #121516); }
.process-section .section-heading > p:last-child { color: var(--muted-dark); }
.process-heading { max-width: 740px; margin: 0 0 48px; }
.process-main { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 24px; align-items: stretch; }
.step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step-card { position: relative; display: flex; min-height: 390px; flex-direction: column; padding: 30px; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); }
.step-card:not(:last-child)::after { content: ""; position: absolute; z-index: 2; top: 55px; right: -21px; width: 21px; border-top: 1px dashed rgba(200,255,46,.7); }
.step-number { display: block; margin-bottom: 50px; color: var(--accent); font-family: "Open Sans", "Segoe UI", sans-serif; font-stretch: 75%; font-size: 54px; font-weight: 800; line-height: 1; }
.step-card h3 { margin-bottom: 12px; }
.step-card p { margin: 0; color: var(--muted-dark); font-size: 16px; }
.step-action { display: grid; width: 44px; height: 44px; margin-top: auto; place-items: center; color: var(--accent); background: rgba(255,255,255,.07); border: 1px solid var(--line-dark); border-radius: 50%; }
.step-action .ui-icon { width: 20px; height: 20px; }
.process-photo { min-height: 390px; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; box-shadow: 0 22px 60px rgba(0,0,0,.35); }
.process-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 54% center; }
.process-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 22px; padding: 20px 24px; color: #d8dcdd; border: 1px solid var(--line-dark); border-radius: var(--radius-sm); font-size: 16px; }
.process-notes span { display: flex; gap: 13px; align-items: center; }
.process-notes i { display: grid; flex: 0 0 42px; width: 42px; height: 42px; place-items: center; color: var(--accent); background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.09); border-radius: 50%; font-style: normal; }
.process-notes .ui-icon { width: 23px; height: 23px; }
.process-notes b { color: #e1e4e5; font-size: 15px; font-weight: 600; line-height: 1.4; }

.vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.vehicle-card { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 16px 40px rgba(18,22,23,.06); }
.vehicle-card > div:last-child { min-height: 150px; padding: 24px; }
.vehicle-card h3 { margin-bottom: 10px; }
.vehicle-photo { height: 220px; background-image: url("../images/vehicle-categories.png"); background-repeat: no-repeat; background-size: 400% auto; }
.vehicle-photo--1 { background-position: 0 50%; }
.vehicle-photo--2 { background-position: 33.333% 50%; }
.vehicle-photo--3 { background-position: 66.666% 50%; }
.vehicle-photo--4 { background-position: 100% 50%; }

.guarantee-card { display: flex; min-height: 118px; align-items: center; gap: 18px; padding: 22px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: 0 10px 30px rgba(18,22,23,.04); }
.guarantee-card > span { display: grid; flex: 0 0 50px; width: 50px; height: 50px; place-items: center; color: #647d13; }
.guarantee-card > span .ui-icon { width: 40px; height: 40px; stroke-width: 1.45; }
.guarantee-card h3 { font-size: 16px; font-weight: 700; line-height: 1.35; }

/* Exact mockup geometry: "Сделка без сюрпризов" */
#guarantees { padding: 58px 0 70px; }
#guarantees .section-heading { margin-bottom: 22px; }
#guarantees .section-heading h2 { margin-bottom: 4px; font-size: clamp(36px, 3.15vw, 46px); }
#guarantees .section-heading p { font-size: 15px; line-height: 1.35; }
#guarantees .guarantee-grid { max-width: 1080px; margin: 0 auto; gap: 28px; }
#guarantees .guarantee-card { min-height: 104px; gap: 16px; padding: 18px 22px; border-radius: 10px; }
#guarantees .guarantee-card > span { flex-basis: 48px; width: 48px; height: 48px; }
#guarantees .guarantee-card > span .ui-icon { width: 39px; height: 39px; stroke-width: 1.4; }
#guarantees .guarantee-card h3 { font-size: 15px; line-height: 1.3; }

.faq-layout { display: grid; grid-template-columns: 340px 1fr; gap: 80px; align-items: start; }
.text-link { display: inline-block; margin-top: 24px; font-size: 20px; font-weight: 900; border-bottom: 2px solid var(--accent); }
.faq-list { display: grid; gap: 16px; }
.faq-list details { overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-list summary { position: relative; padding: 22px 58px 22px 24px; font-weight: 800; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; top: 50%; right: 24px; color: #789d0b; font-size: 27px; line-height: 1; transform: translateY(-50%); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin: 0; padding: 0 58px 24px 24px; color: var(--muted); }

.cta-section { padding: 0 0 112px; }
.cta-panel { position: relative; overflow: hidden; min-height: 270px; padding: 38px 44px; color: var(--white); background: #090b0c; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; }
.cta-panel::after { content: ""; position: absolute; z-index: 1; inset: 0; background: linear-gradient(90deg, rgba(5,7,8,.98) 0%, rgba(5,7,8,.9) 42%, rgba(5,7,8,.15) 72%, rgba(5,7,8,.05)); pointer-events: none; }
.cta-car { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.cta-content { position: relative; z-index: 2; width: min(570px, 58%); }
.cta-panel h2 { margin-bottom: 10px; font-size: clamp(34px, 3.4vw, 48px); }
.cta-panel p:not(.form-status) { margin: 0 0 18px; color: var(--muted-dark); font-size: 16px; }
.quick-form { display: grid; grid-template-columns: minmax(190px, 1fr) auto; gap: 10px; }
.quick-form > input { color: var(--ink); background: var(--white); }
.quick-form .consent-check, .quick-form .form-status { grid-column: 1 / -1; }
.consent-check--dark { color: #c3c7c8; }
.quick-form .consent-check { margin-top: 2px; }

.site-footer { padding: 72px 0 0; color: var(--white); background: #0b0d0e; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 72px; padding-bottom: 64px; }
.brand--footer { display: inline-block; margin-bottom: 20px; }
.footer-grid p { max-width: 330px; margin: 0; color: var(--muted-dark); }
.footer-nav { display: grid; gap: 12px; align-content: start; color: #d0d4d5; }
.footer-contacts { display: grid; gap: 20px; align-content: start; }
.footer-phone { display: inline-flex; width: fit-content; align-items: center; gap: 10px; color: var(--accent); font-size: 22px; font-weight: 900; }
.footer-phone .ui-icon { flex: 0 0 1em; width: 1em; height: 1em; stroke-width: 1.8; }
.messenger-list { display: flex; gap: 10px; flex-wrap: wrap; }
.messenger-list a { display: grid; width: 44px; height: 44px; padding: 0; place-items: center; color: #d6dadb; background: rgba(255,255,255,.035); border: 1px solid var(--line-dark); border-radius: 12px; font-size: 15px; transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease; }
.messenger-list .ui-icon { width: 25px; height: 25px; stroke-width: 1.55; }
.messenger-list a[data-messenger="whatsapp"] { color: #36d66b; background: rgba(54,214,107,.08); border-color: rgba(54,214,107,.28); }
.messenger-list a[data-messenger="telegram"] { color: #48b9ea; background: rgba(72,185,234,.08); border-color: rgba(72,185,234,.28); }
.messenger-list a[data-messenger="max"] { color: #f3f5f5; background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.22); }
.messenger-list a[data-messenger="email"] { color: var(--accent); background: rgba(200,255,46,.07); border-color: rgba(200,255,46,.25); }
.messenger-list a:hover { color: var(--white); background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }
.messenger-list a[hidden] { display: none; }
.footer-bottom { display: flex; justify-content: space-between; gap: 24px; padding-top: 24px; padding-bottom: 28px; color: #8f9597; border-top: 1px solid var(--line-dark); font-size: 12px; }
.footer-bottom > div { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }
.floating-call { position: fixed; z-index: 80; right: 20px; bottom: 20px; display: none; width: 56px; height: 56px; place-items: center; color: var(--ink); background: var(--accent); border-radius: 50%; box-shadow: 0 15px 40px rgba(0,0,0,.28); font-size: 22px; }
.floating-call .ui-icon { width: 24px; height: 24px; }

.legal-page { min-height: 100vh; background: #eeeee8; }
.legal-header { padding: 28px 0; color: var(--white); background: var(--ink); }
.legal-header .container { display: flex; justify-content: space-between; gap: 24px; align-items: center; }
.legal-header a:last-child { color: var(--accent); font-weight: 750; }
.legal-main { padding: 80px 0 110px; }
.legal-document { max-width: 900px; margin: 0 auto; padding: 58px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.legal-document h1 { margin-bottom: 34px; font-family: inherit; font-size: clamp(36px, 5vw, 56px); line-height: 1.05; text-transform: none; }
.legal-document h1::after { height: 6px; }
.legal-document h2 { margin: 38px 0 14px; font-family: inherit; font-size: 22px; line-height: 1.25; text-transform: none; }
.legal-document p, .legal-document li { color: #4e5456; }
.legal-document .notice { padding: 18px 20px; color: #403f2f; background: #f6f9df; border-left: 4px solid #9fc619; border-radius: 8px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .main-nav { gap: 18px; }
  .header-actions .phone-link { display: none; }
  .field-grid--vehicle { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .benefit-grid, .vehicle-grid, .guarantee-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-main { grid-template-columns: minmax(0, 1fr) 230px; }
  .faq-layout { grid-template-columns: 280px 1fr; gap: 50px; }
}

@media (max-width: 820px) {
  :root { --header-height: 68px; }
  .container { width: min(calc(100% - 32px), var(--container)); }
  .section { padding: 82px 0; }
  .header-inner { gap: 14px; }
  .brand { font-size: 20px; }
  .header-actions { margin-left: auto; }
  .header-actions .button { display: none; }
  .menu-toggle { display: block; margin-left: 0; }
  .main-nav { position: fixed; z-index: 99; inset: var(--header-height) 0 auto; display: none; gap: 0; margin: 0; padding: 16px; background: #0d0f10; border-top: 1px solid var(--line-dark); box-shadow: 0 24px 50px rgba(0,0,0,.4); }
  .main-nav.is-open { display: grid; }
  .main-nav a { padding: 16px; border-bottom: 1px solid var(--line-dark); font-size: 17px; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .hero, .hero-inner { min-height: 760px; }
  .hero-image { object-position: 62% center; opacity: .76; }
  .hero-shade { background: linear-gradient(90deg, rgba(8,10,11,.96), rgba(8,10,11,.48)), linear-gradient(0deg, #090b0c 0%, transparent 50%); }
  .hero-inner { grid-template-columns: 1fr; grid-template-rows: 1fr auto auto; padding-top: 30px; }
  .hero-copy { align-self: end; padding: 36px 0 28px; }
  h1 { max-width: 680px; font-size: clamp(46px, 11vw, 70px); }
  .hero-lead { max-width: 560px; font-size: 17px; }
  .estimate-badge { display: none; }
  .hero-stats { grid-column: 1; gap: 10px; }
  .stat-icon { flex-basis: 40px; width: 40px; height: 40px; }
  .stat strong { font-size: 16px; }
  .field-grid--contact { grid-template-columns: 1fr; }
  .step-grid { grid-template-columns: 1fr; }
  .process-main { grid-template-columns: 1fr; }
  .step-card { min-height: 250px; }
  .step-number { margin-bottom: 24px; }
  .step-card:not(:last-child)::after { display: none; }
  .process-photo { height: 420px; min-height: 0; }
  .process-photo img { object-position: center 42%; }
  .process-notes { grid-template-columns: 1fr; }
  .faq-layout { grid-template-columns: 1fr; gap: 34px; }
  .cta-content { width: min(620px, 70%); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-contacts { grid-column: 1 / -1; }
  .floating-call { display: grid; }
}

@media (max-width: 580px) {
  html, body { width: 100%; max-width: 100%; }
  body { overflow-x: hidden; }
  main, section, header, footer, form, fieldset, .card,
  .field-grid, .benefit-grid, .vehicle-grid, .guarantee-grid,
  .process-main, .step-grid, .process-notes, .faq-layout,
  .footer-grid, .quick-form { min-width: 0; max-width: 100%; }
  .container { width: auto; max-width: none; margin-inline: 0; padding-inline: 16px; }
  .section { padding: 58px 0; }
  h1, h2 { max-width: 100%; overflow-wrap: anywhere; }
  h2 { font-size: clamp(30px, 9vw, 34px); line-height: 1; text-wrap: balance; }
  .section-heading { width: 100%; max-width: 100%; margin-bottom: 30px; }
  .section-heading > p:last-child { font-size: 15px; line-height: 1.5; }
  .site-header { width: 100%; }
  .header-inner { width: 100%; min-width: 0; padding-inline: 16px; }
  .brand { min-width: 0; font-size: 18px; }
  .brand::after { width: 7px; height: 7px; }
  .header-actions { display: none; }
  .menu-toggle { display: block; flex: 0 0 42px; margin-left: auto; }
  .main-nav { width: 100%; max-width: 100%; }
  .hero { min-height: 0; }
  .hero-inner { min-height: 0; display: block; padding-top: 38px; padding-bottom: 34px; }
  .hero-image { inset: 0; width: 100%; height: 100%; object-position: 67% center; opacity: .56; }
  .hero-shade { background: linear-gradient(90deg, rgba(7,9,10,.95), rgba(7,9,10,.58)), linear-gradient(0deg, #090b0c 0%, rgba(9,11,12,.38) 62%, rgba(9,11,12,.45)); }
  .hero-copy { padding: 0 0 34px; }
  h1 { font-size: clamp(34px, 10.5vw, 40px); line-height: .96; }
  h1::after { height: 6px; margin-top: 18px; }
  .eyebrow { display: flex; width: fit-content; max-width: 100%; align-items: flex-start; white-space: normal; font-size: 10px; line-height: 1.35; }
  .eyebrow .ui-icon { flex: 0 0 17px; width: 17px; height: 17px; }
  .eyebrow span { min-width: 0; overflow-wrap: anywhere; }
  .hero-lead { margin: 22px 0 26px; font-size: 15px; line-height: 1.5; }
  .hero-buttons { display: grid; grid-template-columns: 1fr; }
  .hero-buttons .button { width: 100%; min-width: 0; }
  .hero-stats { grid-template-columns: 1fr; padding-top: 18px; }
  .estimate-form { width: 100%; max-width: 100%; padding: 20px 14px; overflow: hidden; border-radius: 16px; }
  .form-progress { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; overflow: visible; }
  .form-progress span { min-width: 0; padding: 7px 5px; text-align: center; font-size: 11px; }
  .form-step, .field-grid, .field, .form-actions { width: 100%; max-width: 100%; min-width: 0; }
  .field input, .field select, .quick-form > input { width: 100%; max-width: 100%; min-width: 0; }
  .field-grid--vehicle { grid-template-columns: 1fr; }
  .form-actions { flex-direction: column-reverse; }
  .form-actions .button { width: 100%; }
  .benefit-grid, .vehicle-grid, .guarantee-grid { grid-template-columns: 1fr; }
  .benefit-card { min-height: auto; }
  #benefits, #guarantees { padding: 56px 0; }
  #benefits .section-heading, #guarantees .section-heading { margin-bottom: 26px; }
  #benefits .section-heading h2, #guarantees .section-heading h2 { max-width: 100%; font-size: clamp(29px, 8.6vw, 33px); line-height: 1; overflow-wrap: anywhere; }
  #benefits .benefit-grid, #guarantees .guarantee-grid { gap: 16px; }
  #benefits .benefit-card { min-width: 0; min-height: 0; padding: 24px; }
  #benefits .line-icon { width: 48px; height: 48px; }
  #benefits .line-icon .ui-icon { width: 44px; height: 44px; }
  #guarantees .guarantee-card { min-width: 0; min-height: 90px; padding: 16px 18px; }
  .process-heading { margin-bottom: 30px; }
  .step-card { min-width: 0; min-height: 230px; padding: 24px; }
  .process-photo { width: 100%; height: 280px; }
  .process-notes { padding: 16px; }
  .vehicle-card { min-width: 0; }
  .vehicle-photo { height: 220px; }
  .faq-list summary { padding: 18px 48px 18px 18px; font-size: 15px; line-height: 1.4; }
  .faq-list summary::after { right: 18px; }
  .faq-list details p { padding: 0 18px 20px; font-size: 16px; }
  .cta-section { padding-bottom: 68px; }
  .cta-panel { width: 100%; min-width: 0; min-height: 440px; padding: 28px 20px; border-radius: 16px; }
  .cta-panel::after { background: linear-gradient(180deg, rgba(5,7,8,.98) 0%, rgba(5,7,8,.9) 58%, rgba(5,7,8,.28)); }
  .cta-car { object-position: 67% bottom; opacity: .76; }
  .cta-content { width: 100%; }
  .cta-panel h2 { max-width: 310px; }
  .cta-panel p:not(.form-status) { max-width: 320px; }
  .quick-form { width: 100%; grid-template-columns: minmax(0, 1fr); }
  .quick-form .button { width: 100%; min-width: 0; padding-inline: 14px; }
  .consent-check { min-width: 0; }
  .consent-check span { min-width: 0; overflow-wrap: anywhere; }
  .quick-form .consent-check, .quick-form .form-status { grid-column: 1; }
  .site-footer { padding-top: 58px; }
  .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-contacts { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .footer-bottom > div { display: grid; gap: 10px; }
  .footer-phone { font-size: 19px; overflow-wrap: anywhere; }
  .floating-call { right: 14px; bottom: 14px; }
  .legal-main { padding: 36px 0 70px; }
  .legal-document { padding: 30px 20px; }
  .legal-header .container { align-items: flex-start; flex-direction: column; }
}

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