:root {
  --ink: #07120f;
  --ink-2: #0d1d18;
  --ink-3: #162923;
  --cream: #f4f2e9;
  --paper: #fbfaf6;
  --lime: #d7ff43;
  --lime-dark: #bfe628;
  --mint: #9ec9b8;
  --line: rgba(7, 18, 15, .14);
  --white-line: rgba(255, 255, 255, .16);
  --shadow: 0 24px 80px rgba(7, 18, 15, .12);
  --radius: 22px;
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  width: min(calc(100% - 48px), var(--max));
  height: 94px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--white-line);
  color: #fff;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: grid;
  width: 43px;
  height: 43px;
  place-items: center;
  border-radius: 13px;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
  line-height: 1;
  box-shadow: inset 0 0 0 1px rgba(7, 18, 15, .08);
}
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { letter-spacing: .16em; font-size: .96rem; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.62); font-size: .66rem; letter-spacing: .24em; }
.desktop-nav { display: flex; align-items: center; gap: 34px; }
.desktop-nav a { color: rgba(255,255,255,.74); font-size: .93rem; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a:focus-visible { color: #fff; }
.header-phone { display: grid; text-align: right; line-height: 1.1; }
.header-phone span { font-weight: 700; letter-spacing: .025em; }
.header-phone b { margin-top: 5px; color: var(--lime); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 790px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background: var(--ink);
}
.hero-image { position: absolute; z-index: -3; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 63%; }
.hero-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4,15,12,.98) 0%, rgba(4,15,12,.82) 32%, rgba(4,15,12,.2) 64%, rgba(4,15,12,.1) 100%),
    linear-gradient(0deg, rgba(4,15,12,.72) 0%, transparent 34%, rgba(4,15,12,.22) 100%);
}
.hero-content { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; padding: 150px 0 66px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; color: var(--lime); font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.eyebrow span { width: 29px; height: 2px; background: currentColor; }
.eyebrow.dark { color: #577a6c; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 740px; margin-bottom: 22px; font-size: clamp(3.2rem, 6.8vw, 6.1rem); line-height: .92; letter-spacing: -.065em; }
.hero-lead { max-width: 560px; margin-bottom: 28px; color: rgba(255,255,255,.78); font-size: 1.15rem; line-height: 1.58; }
.hero-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.hero-price span { width: 100%; color: rgba(255,255,255,.55); font-size: .84rem; text-transform: uppercase; letter-spacing: .12em; }
.hero-price strong { color: var(--lime); font-size: 2rem; line-height: 1; }
.hero-price small { color: rgba(255,255,255,.6); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 23px;
  cursor: pointer;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, a:focus-visible { outline: 3px solid rgba(215,255,67,.45); outline-offset: 3px; }
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary:hover { background: #e3ff75; }
.button-ghost { color: #fff; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.06); backdrop-filter: blur(8px); }
.hero-facts { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 36px 0 0; padding: 24px 0 0; border-top: 1px solid var(--white-line); list-style: none; color: rgba(255,255,255,.72); }
.hero-facts li::before { content: "✓"; margin-right: 9px; color: var(--lime); font-weight: 900; }

.section { padding: 108px max(24px, calc((100% - var(--max)) / 2)); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.section-heading h2, .about h2, .booking h2, .faq h2, .conditions h2 { margin-bottom: 0; font-size: clamp(2.25rem, 4vw, 4rem); line-height: 1.02; letter-spacing: -.055em; }
.section-heading > p { max-width: 470px; margin-bottom: 3px; color: #5d6a65; line-height: 1.7; }
.car-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.car-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 8px 34px rgba(7,18,15,.05); transition: transform .25s ease, box-shadow .25s ease; }
.car-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.car-card.featured { border-color: rgba(7,18,15,.32); }
.car-photo { position: relative; height: 252px; overflow: hidden; background: #c3cac5; }
.car-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.car-card:hover .car-photo img { transform: scale(1.025); }
.car-photo-camry50 img { object-position: center 56%; }
.car-photo-camry55 img { object-position: center 61%; }
.car-photo-buyout img { object-position: center 42%; }
.car-status { position: absolute; top: 15px; left: 15px; padding: 7px 11px; border-radius: 999px; color: #fff; background: rgba(7,18,15,.74); backdrop-filter: blur(8px); font-size: .72rem; font-weight: 700; }
.buyout-card { border-color: rgba(190, 222, 54, .75); }
.buyout-status { color: var(--ink); background: var(--lime); }
.car-body { padding: 25px; }
.car-kicker { margin-bottom: 7px; color: #6c7c75; font-size: .69rem; font-weight: 800; letter-spacing: .15em; }
.car-body h3 { margin-bottom: 6px; font-size: 1.35rem; letter-spacing: -.025em; }
.car-color { display: flex; align-items: center; gap: 7px; margin-bottom: 22px; color: #68746f; font-size: .86rem; }
.swatch { width: 12px; height: 12px; border: 1px solid #aeb7b3; border-radius: 50%; }
.swatch-white { background: #f1f1ed; }
.swatch-black { background: #101412; }
.swatch-graphite { background: #4f5855; }
.spec-list { display: grid; gap: 9px; margin: 0 0 25px; padding: 0; list-style: none; color: #43514c; }
.spec-list li { position: relative; padding-left: 20px; font-size: .93rem; }
.spec-list li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: #8eb51d; }
.car-footer { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 21px; border-top: 1px solid var(--line); }
.car-footer p { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px; margin: 0; }
.car-footer span { width: 100%; color: #86908c; font-size: .7rem; text-transform: uppercase; }
.car-footer strong { font-size: 1.3rem; }
.car-footer small { color: #727f79; }
.button-dark { min-height: 43px; padding: 0 19px; color: #fff; background: var(--ink); }
.photo-note { margin: 16px 0 0; color: #7d8984; font-size: .8rem; }

.conditions { display: grid; grid-template-columns: 1.25fr .75fr; gap: 68px; align-items: center; color: #fff; background: var(--ink); }
.conditions-copy > p:not(.eyebrow) { max-width: 650px; margin: 26px 0 42px; color: rgba(255,255,255,.66); font-size: 1.05rem; line-height: 1.7; }
.condition-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--white-line); border-radius: 18px; background: var(--white-line); }
.condition-grid div { display: grid; gap: 7px; padding: 24px; background: var(--ink-2); }
.condition-grid strong { color: var(--lime); font-size: 1.7rem; }
.condition-grid span { color: rgba(255,255,255,.57); font-size: .82rem; }
.bonus-card { padding: 35px; border: 1px solid rgba(215,255,67,.24); border-radius: var(--radius); background: linear-gradient(150deg, #1a3028, #0a1713); box-shadow: 0 40px 90px rgba(0,0,0,.25); }
.bonus-label { margin-bottom: 12px; color: var(--lime); font-size: .7rem; font-weight: 800; letter-spacing: .15em; }
.bonus-card h3 { margin-bottom: 27px; font-size: 1.65rem; line-height: 1.2; letter-spacing: -.03em; }
.bonus-row { display: flex; align-items: center; justify-content: space-between; padding: 17px 0; border-top: 1px solid var(--white-line); }
.bonus-row span { color: rgba(255,255,255,.7); }
.bonus-row span b { color: #fff; }
.bonus-row strong { color: var(--lime); font-size: 1.1rem; }
.bonus-note { margin: 19px 0 0; color: rgba(255,255,255,.45); font-size: .79rem; }

.about { display: grid; grid-template-columns: .85fr 1.15fr; gap: 90px; }
.about-intro { position: sticky; top: 40px; align-self: start; }
.about-copy > p { margin-bottom: 42px; color: #54615c; font-size: 1.1rem; line-height: 1.78; }
.support-list { display: grid; border-top: 1px solid var(--line); }
.support-list > div { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.support-list > div > span { color: #7f938a; font-size: .76rem; font-weight: 800; }
.support-list p { margin: 0; color: #61706a; }
.support-list strong { display: block; margin-bottom: 5px; color: var(--ink); font-size: 1.05rem; }

.booking { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; color: #fff; background: #0b1a15; }
.booking h2 { max-width: 520px; }
.steps { display: grid; gap: 20px; margin: 44px 0 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: flex-start; gap: 16px; }
.steps li > span { display: grid; flex: 0 0 36px; height: 36px; place-items: center; border: 1px solid rgba(215,255,67,.38); border-radius: 50%; color: var(--lime); font-size: .8rem; font-weight: 800; }
.steps p { margin: 0; color: rgba(255,255,255,.54); }
.steps strong { display: block; margin-bottom: 3px; color: #fff; }
.booking-form { padding: 36px; border-radius: var(--radius); color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.24); }
.form-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 27px; padding-bottom: 19px; border-bottom: 1px solid var(--line); }
.form-top span { color: #728079; font-size: .67rem; font-weight: 800; letter-spacing: .16em; }
.form-top strong { font-size: 1rem; }
.booking-form label:not(.consent) { display: block; margin: 0 0 7px; color: #415049; font-size: .82rem; font-weight: 700; }
.booking-form input:not([type="checkbox"]), .booking-form select {
  width: 100%;
  height: 52px;
  margin-bottom: 17px;
  border: 1px solid #ccd2ce;
  border-radius: 12px;
  padding: 0 14px;
  color: var(--ink);
  background: #fff;
}
.booking-form input::placeholder { color: #9aa49f; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 13px; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 16px; color: #65726c; font-size: .78rem; cursor: pointer; }
.consent input { flex: 0 0 auto; width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--ink); }
.form-error { min-height: 20px; margin: 0 0 6px; color: #a33030; font-size: .82rem; font-weight: 700; }
.form-submit { width: 100%; }
.form-hint { margin: 12px 0 0; text-align: center; color: #7b8681; font-size: .75rem; }
.request-result { margin-top: 23px; padding: 22px; border: 1px solid #bfd65f; border-radius: 15px; background: #f4fad9; }
.result-title { margin-bottom: 8px; font-weight: 900; }
#request-preview { white-space: pre-line; margin-bottom: 17px; color: #506057; font-size: .84rem; }
.result-actions { display: flex; gap: 8px; }
.result-actions .button { flex: 1; min-height: 44px; padding-inline: 14px; font-size: .82rem; }
.button-copy { border: 1px solid #b9c3bd; background: #fff; color: var(--ink); }

.faq { display: grid; grid-template-columns: .65fr 1.35fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 25px 0; cursor: pointer; list-style: none; font-size: 1.05rem; font-weight: 800; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: #749087; font-size: 1.45rem; font-weight: 400; transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 680px; margin: -7px 0 25px; color: #5b6963; line-height: 1.7; }

.site-footer { position: relative; padding: 64px max(24px, calc((100% - var(--max)) / 2)) 35px; color: #fff; background: #050d0a; }
.site-footer::before { content: ""; position: absolute; top: 0; left: max(24px, calc((100% - var(--max)) / 2)); right: max(24px, calc((100% - var(--max)) / 2)); height: 1px; background: var(--white-line); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand strong { letter-spacing: .08em; }
.footer-brand p { margin: 4px 0 0; color: rgba(255,255,255,.45); font-size: .84rem; }
.footer-contact { display: grid; justify-items: end; gap: 5px; margin-top: -42px; }
.footer-contact span { color: rgba(255,255,255,.43); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; }
.footer-contact a:first-of-type { color: var(--lime); font-size: 1.2rem; font-weight: 800; }
.footer-contact a:not(:first-of-type) { color: rgba(255,255,255,.6); font-size: .84rem; text-decoration: underline; text-underline-offset: 4px; }
.footer-contact a.footer-telegram-button { min-height: 38px; display: inline-flex; align-items: center; padding: 0 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(255,255,255,.06); font-size: .82rem; font-weight: 750; text-decoration: none; }
.footer-contact a.footer-telegram-button:hover { border-color: rgba(215,255,67,.5); color: var(--lime); }
.copyright { margin: 56px 0 0; padding-top: 25px; border-top: 1px solid var(--white-line); color: rgba(255,255,255,.35); font-size: .75rem; }
.mobile-bar { display: none; }

@media (max-width: 980px) {
  .desktop-nav { display: none; }
  .hero { min-height: 740px; }
  .hero-image { object-position: center 61%; }
  .car-grid { grid-template-columns: 1fr 1fr; }
  .car-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 9px); }
  .conditions, .about, .booking, .faq { grid-template-columns: 1fr; }
  .about-intro { position: static; }
  .conditions, .about, .booking, .faq { gap: 46px; }
  .booking h2 { max-width: none; }
  .faq-heading { max-width: 540px; }
}

@media (max-width: 680px) {
  body { padding-bottom: 68px; }
  .site-header { width: calc(100% - 32px); height: 78px; }
  .brand-mark { width: 38px; height: 38px; border-radius: 11px; }
  .brand-copy strong { font-size: .85rem; }
  .header-phone span { display: none; }
  .header-phone b { margin: 0; font-size: .66rem; }
  .hero { min-height: 720px; align-items: flex-end; }
  .hero-image { object-position: center 55%; }
  .hero-shade { background: linear-gradient(0deg, rgba(4,15,12,.98) 0%, rgba(4,15,12,.87) 50%, rgba(4,15,12,.2) 100%); }
  .hero-content { width: calc(100% - 32px); padding: 120px 0 34px; }
  h1 { font-size: clamp(2.8rem, 14vw, 4.4rem); }
  .hero-lead { font-size: 1rem; }
  .hero-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .hero-actions .button-telegram { grid-column: 1 / -1; }
  .hero-facts { display: grid; gap: 10px; margin-top: 27px; padding-top: 20px; font-size: .88rem; }
  .section { padding: 76px 16px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 20px; }
  .section-heading h2, .about h2, .booking h2, .faq h2, .conditions h2 { font-size: 2.45rem; }
  .car-grid { grid-template-columns: 1fr; }
  .car-card:last-child { grid-column: auto; max-width: none; }
  .car-photo { height: 238px; }
  .car-photo img { width: 100%; height: 100%; }
  .conditions { padding-block: 80px; }
  .condition-grid { grid-template-columns: 1fr 1fr; }
  .condition-grid div { padding: 19px 15px; }
  .condition-grid strong { font-size: 1.35rem; }
  .bonus-card, .booking-form { padding: 25px 20px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .result-actions { flex-direction: column; }
  .faq { gap: 30px; }
  .site-footer { padding-inline: 16px; }
  .site-footer::before { left: 16px; right: 16px; }
  .footer-contact { justify-items: start; margin-top: 38px; }
  .copyright { margin-top: 38px; }
  .mobile-bar { position: fixed; z-index: 50; bottom: 0; left: 0; right: 0; display: grid; grid-template-columns: .8fr 1.2fr; gap: 8px; padding: 8px; border-top: 1px solid rgba(255,255,255,.13); background: rgba(5,13,10,.94); backdrop-filter: blur(16px); }
  .mobile-bar a { min-height: 50px; display: grid; place-items: center; border-radius: 999px; color: #fff; font-weight: 800; }
  .mobile-bar .mobile-primary { color: var(--ink); background: var(--lime); }
}

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