@font-face { font-family: Onest; src: url(fonts/onest-cyr.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: Onest; src: url(fonts/onest-lat.woff2) format("woff2"); font-weight: 400 800; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root { --ink: #15181e; --paper: #f5f2ea; --accent: #f5b301; --muted: #5d6068; --line: #dcd7ca; --soft: #ece7da; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background: var(--paper); color: var(--ink); font: 400 17px/1.5 Onest, -apple-system, "Segoe UI", Arial, sans-serif; }
a { color: inherit; }
ul, ol { list-style: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 40px; }

/* первый экран */
.hero { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(0, .84fr); }
.hero-text { padding: 22px 52px 32px 64px; display: flex; flex-direction: column; }
.top { display: flex; align-items: center; gap: 24px; }
.brand { font-weight: 800; font-size: 20px; letter-spacing: -.01em; text-decoration: none; }
.where { color: var(--muted); font-size: 15px; }
.top-call { margin-left: auto; font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.top-call:hover { text-decoration: underline; }
.tc-short { display: none; }
h1 { margin-top: auto; padding-top: 28px; font-size: 66px; line-height: 1.03; letter-spacing: -.028em; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(transparent 14%, var(--accent) 14%, var(--accent) 94%, transparent 94%); padding: 0 .12em; margin-left: -.12em; }
.lead { margin-top: 20px; font-size: 21px; line-height: 1.42; max-width: 690px; }
.chips { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 20px; }
.chips li { border: 1.5px solid var(--ink); border-radius: 100px; padding: 7px 14px; font-size: 15px; font-weight: 600; }
.m-photo, .m-proof { display: none; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.quick { margin-top: 34px; margin-bottom: auto; background: var(--ink); color: #fff; border-radius: 18px; padding: 22px 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: end; }
.quick h2 { font-size: 24px; line-height: 1.12; letter-spacing: -.015em; font-weight: 800; margin-bottom: 12px; }
.btn-call { display: flex; align-items: center; justify-content: center; height: 58px; width: 100%; border: 0; border-radius: 10px; background: var(--accent); color: var(--ink); font: 800 20px Onest, Arial, sans-serif; text-decoration: none; cursor: pointer; transition: filter .15s; }
.btn-call:hover { filter: brightness(1.06); }
.or { color: #b9bcc4; font-size: 14px; margin-bottom: 10px; }
.row { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.field { width: 100%; height: 58px; border: 1.5px solid transparent; border-radius: 10px; background: #fff; color: var(--ink); font: 500 16px Onest, Arial, sans-serif; padding: 0 14px; outline: none; }
.field:focus { border-color: var(--accent); }
.btn-ghost { height: 58px; padding: 0 16px; border: 1.5px solid #5d6068; border-radius: 10px; background: transparent; color: #fff; font: 700 15px Onest, Arial, sans-serif; cursor: pointer; }
.btn-ghost:hover { border-color: #fff; }
.fine { grid-column: 1 / -1; color: #8d9099; font-size: 12px; line-height: 1.4; margin-top: -12px; }
.fine a { color: inherit; }
.form-msg { grid-column: 1 / -1; font-size: 15px; font-weight: 600; line-height: 1.4; }
.quick .form-msg { color: var(--accent); margin-top: -10px; }

.hero-photo { position: relative; background: url(img/mihail-audi.webp) 88% 50% / cover no-repeat; }
.proof { position: absolute; left: 26px; top: 26px; width: 336px; background: var(--paper); border-radius: 14px; padding: 16px 18px; box-shadow: 0 10px 34px rgba(0, 0, 0, .22); }
.proof b { font-size: 30px; font-weight: 800; letter-spacing: -.02em; }
.proof span { display: block; font-size: 14px; color: var(--muted); }
.proof q { display: block; quotes: none; font-size: 17px; font-weight: 600; margin-top: 8px; }
.proof cite { font-style: normal; font-size: 13px; color: var(--muted); }
.note { margin-top: 9px; padding-top: 9px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.36; }

/* цифры */
.facts { background: var(--ink); color: #fff; }
.facts-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-row div { padding: 28px 0 30px; border-left: 1px solid #2c3039; padding-left: 24px; }
.facts-row div:first-child { border-left: 0; padding-left: 0; }
.facts-row b { display: block; font-size: 40px; line-height: 1.05; font-weight: 800; letter-spacing: -.02em; color: var(--accent); }
.facts-row span { color: #c9ccd3; font-size: 16px; }

/* секции */
.sec { padding: 104px 0; }
.sec.soft { background: var(--soft); }
.sec.dark { background: var(--ink); color: #fff; }
.kicker { font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.dark .kicker { color: var(--accent); }
.sec h2 { font-size: 48px; line-height: 1.06; letter-spacing: -.025em; font-weight: 800; max-width: 820px; }
.sec h3 { font-size: 21px; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }

/* оценка */
.ocenka { display: grid; grid-template-columns: 1fr 470px; gap: 72px; align-items: start; }
.sub { font-size: 19px; line-height: 1.5; margin-top: 18px; max-width: 560px; }
.docs { margin-top: 34px; border-top: 2px solid var(--ink); padding-top: 18px; max-width: 560px; }
.docs-h { font-weight: 800; font-size: 18px; margin-bottom: 10px; }
.docs ul { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 24px; }
.docs li { padding-left: 18px; position: relative; }
.docs li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; background: var(--accent); border-radius: 2px; }
.card-form { background: #fff; border-radius: 18px; padding: 28px; display: grid; gap: 14px; box-shadow: 0 18px 50px rgba(21, 24, 30, .10); }
.card-form label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.card-form .field { border-color: var(--line); background: var(--paper); }
.card-form .field:focus { border-color: var(--ink); }
.card-form select.field { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 26px, calc(100% - 14px) 26px; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.card-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.card-form .btn-call { margin-top: 6px; }
.card-form .fine { margin-top: 0; }
.card-form .form-msg { color: var(--ink); background: var(--soft); border-radius: 10px; padding: 12px 14px; }

/* шаги */
.steps { margin-top: 54px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 26px 26px 6px 0; border-top: 2px solid #3a3e48; margin-right: 22px; }
.steps .n { display: block; font-size: 15px; font-weight: 800; color: var(--accent); margin-bottom: 30px; }
.steps h3 { margin-bottom: 10px; }
.steps p { color: #c9ccd3; font-size: 16.5px; }

/* какие авто */
.take { margin-top: 48px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 24px; }
.take-col { border-radius: 18px; padding: 30px 32px; }
.take-col.yes { background: var(--ink); color: #fff; }
.take-col.no { border: 2px solid var(--ink); }
.take-col h3 { margin-bottom: 16px; }
.take-col li { padding: 11px 0 11px 30px; position: relative; border-top: 1px solid rgba(128, 128, 128, .25); font-size: 17.5px; }
.take-col li:first-child { border-top: 0; }
.yes li::before { content: ""; position: absolute; left: 2px; top: 18px; width: 14px; height: 8px; border-left: 3px solid var(--accent); border-bottom: 3px solid var(--accent); transform: rotate(-45deg); }
.no li::before, .no li::after { content: ""; position: absolute; left: 3px; top: 21px; width: 16px; height: 3px; background: var(--ink); transform: rotate(45deg); }
.no li::after { transform: rotate(-45deg); }
.hint { margin-top: 18px; font-weight: 600; }

/* почему */
.why { padding-top: 0; }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.why-photo img { border-radius: 18px; aspect-ratio: 4 / 3; object-fit: cover; }
.why-text blockquote { font-size: 30px; line-height: 1.22; letter-spacing: -.015em; font-weight: 700; }
.why-text blockquote::before { content: "«"; } .why-text blockquote::after { content: "»"; }
.why-text p { font-size: 18px; margin-top: 22px; color: #34373f; }
.why-text .sign { font-weight: 800; color: var(--ink); }

/* гарантии */
.guar { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.guar div { background: var(--paper); border-radius: 16px; padding: 26px 26px 28px; }
.guar h3 { margin-bottom: 8px; }
.guar h3::before { content: ""; display: block; width: 28px; height: 4px; background: var(--accent); margin-bottom: 16px; }
.guar p { color: #34373f; font-size: 16.5px; }

/* районы */
.areas { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.areas div { border-top: 2px solid var(--ink); padding-top: 18px; }
.areas h3 { margin-bottom: 10px; }
.areas p { color: #34373f; }

/* выкупленные авто */
.cars { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.cars img { border-radius: 16px; aspect-ratio: 4 / 3; object-fit: cover; background: var(--soft); }
.cars figcaption { margin-top: 12px; }
.cars figcaption b { display: block; font-size: 18px; }
.cars figcaption span { color: var(--muted); font-size: 15px; }

/* отзывы */
.reviews { margin-top: 44px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reviews figure { background: var(--paper); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.reviews blockquote { font-size: 22px; line-height: 1.3; font-weight: 700; letter-spacing: -.01em; }
.reviews blockquote::before { content: "«"; } .reviews blockquote::after { content: "»"; }
.reviews figcaption b { display: block; }
.reviews figcaption span { color: var(--muted); font-size: 15px; }
.all-rev { display: inline-block; margin-top: 28px; font-weight: 700; text-underline-offset: 4px; }

/* вопросы */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; }
.faq details { border-top: 1.5px solid var(--ink); }
.faq details:last-child { border-bottom: 1.5px solid var(--ink); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; font-size: 20px; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font-size: 30px; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding: 0 44px 22px 0; color: #34373f; font-size: 17.5px; }

/* финал */
.final { background: var(--accent); }
.final-in { padding-top: 88px; padding-bottom: 88px; text-align: center; }
.final h2 { font-size: 48px; line-height: 1.06; letter-spacing: -.025em; font-weight: 800; }
.final-phone { display: inline-block; margin-top: 22px; font-size: 64px; font-weight: 800; letter-spacing: -.02em; text-decoration: none; }
.final p { margin-top: 10px; font-size: 18px; }

.foot { background: var(--ink); color: #c9ccd3; font-size: 15px; }
.foot-in { display: flex; justify-content: space-between; gap: 24px; padding-top: 34px; padding-bottom: 34px; }
.foot b { display: block; color: #fff; font-size: 17px; }
.foot-in div:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.foot a { text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.mbar { display: none; }

@media (max-width: 1180px) {
  .hero-text { padding: 22px 36px 28px 40px; }
  h1 { font-size: 54px; }
  .quick { grid-template-columns: 1fr; gap: 14px; }
  .fine { margin-top: 0; }
  .ocenka { grid-template-columns: 1fr 420px; gap: 48px; }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 32px; }
}

@media (max-width: 860px) {
  body { font-size: 16px; padding-bottom: 72px; }
  .wrap { padding: 0 16px; }
  .hero { display: block; min-height: 0; }
  .hero-photo { display: none; }
  .hero-text { padding: 12px 16px 26px; }
  .where { display: none; }
  .brand { font-size: 17px; white-space: nowrap; }
  .tc-num { display: none; } .tc-short { display: inline; }
  .top-call { font-size: 15px; border: 2px solid var(--ink); padding: 6px 10px; border-radius: 10px; }
  h1 { margin-top: 18px; padding-top: 0; font-size: 37px; }
  .m-photo { display: block; height: 240px; margin: 14px -16px 0; background: url(img/mihail-audi-800.webp) 92% 40% / cover no-repeat; }
  .lead { font-size: 16.5px; margin-top: 14px; }
  .chips { gap: 7px; margin-top: 14px; }
  .chips li { font-size: 13.5px; padding: 6px 11px; }
  .quick { margin-top: 18px; margin-bottom: 0; padding: 16px; gap: 12px; }
  .quick h2 { font-size: 21px; margin-bottom: 10px; }
  .m-proof { display: block; margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; }

  .facts-row { grid-template-columns: 1fr 1fr; }
  .facts-row div { padding: 18px 0 18px 16px; }
  .facts-row div:nth-child(odd) { border-left: 0; padding-left: 0; }
  .facts-row div:nth-child(-n+2) { border-bottom: 1px solid #2c3039; }
  .facts-row b { font-size: 28px; }
  .facts-row span { font-size: 14px; }

  .sec { padding: 64px 0; }
  .why { padding-top: 0; }
  .sec h2, .final h2 { font-size: 31px; }
  .kicker { font-size: 13px; }
  .ocenka { grid-template-columns: 1fr; gap: 30px; }
  .sub { font-size: 17px; }
  .docs ul { grid-template-columns: 1fr; }
  .card-form { padding: 20px 18px; }
  .steps { grid-template-columns: 1fr; margin-top: 34px; row-gap: 0; }
  .steps li { margin-right: 0; padding: 20px 0 18px; display: grid; grid-template-columns: 44px 1fr; column-gap: 8px; }
  .steps .n { margin: 3px 0 0; grid-row: span 2; }
  .take { grid-template-columns: 1fr; margin-top: 30px; gap: 14px; }
  .take-col { padding: 22px 20px; }
  .take-col li { font-size: 16px; }
  .why-grid { grid-template-columns: 1fr; gap: 26px; }
  .why-text blockquote { font-size: 23px; }
  .why-text p { font-size: 16.5px; }
  .guar { grid-template-columns: 1fr; margin-top: 30px; gap: 10px; }
  .guar div { padding: 20px; }
  .areas { grid-template-columns: 1fr; gap: 24px; margin-top: 30px; }
  .cars { grid-template-columns: 1fr 1fr; margin-top: 30px; gap: 18px 10px; }
  .cars figcaption b { font-size: 15.5px; }
  .cars figcaption span { font-size: 13.5px; }
  .reviews { grid-template-columns: 1fr; margin-top: 30px; gap: 10px; }
  .reviews figure { padding: 22px; gap: 18px; }
  .reviews blockquote { font-size: 19px; }
  .faq-wrap { grid-template-columns: 1fr; gap: 20px; }
  .faq summary { font-size: 17.5px; padding: 17px 40px 17px 0; }
  .faq summary::after { top: 10px; }
  .faq details p { font-size: 16px; padding-right: 0; }
  .final-in { padding-top: 56px; padding-bottom: 56px; }
  .final-phone { font-size: 38px; }
  .final p { font-size: 16px; }
  .foot-in { flex-direction: column; }
  .foot-in div:last-child { align-items: flex-start; }

  .mbar { display: grid; transform: translateY(110%); transition: transform .25s; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 24, 30, .96); }
  .mbar.on { transform: none; }
  .mbar a { height: 50px; display: flex; align-items: center; justify-content: center; border-radius: 10px; font-weight: 800; font-size: 17px; text-decoration: none; }
  .mbar-call { background: var(--accent); color: var(--ink); }
  .mbar-form { border: 1.5px solid #5d6068; color: #fff; }
}

@media (min-width: 1500px) {
  .hero-text { padding-left: calc((100vw - 1500px) / 2 + 64px); }
}
