:root {
  --red: #e53832;
  --red-dark: #bb2925;
  --ink: #151313;
  --paper: #f5f3ef;
  --line: #d7d2cb;
  --muted: #6e6964;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: "Manrope", Arial, sans-serif; color: var(--ink); background: var(--paper); overflow-x: hidden; }
button, input, textarea { font: inherit; }
button:disabled { cursor: wait; opacity: .65; }
a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: "Unbounded", "Arial Black", sans-serif; letter-spacing: -.05em; text-transform: uppercase; }

.site-header {
  height: 82px; padding: 0 4vw; display: flex; align-items: center; gap: 40px;
  background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 30;
}
.brand { line-height: .9; width: 155px; flex: 0 0 auto; }
.brand-mark { display: block; font-family: "Unbounded"; font-size: 26px; font-weight: 700; letter-spacing: -.08em; }
.brand-sub { display: block; font-size: 8px; letter-spacing: .21em; margin-top: 7px; font-weight: 800; }
.nav { display: flex; gap: 30px; margin: auto; font-size: 13px; font-weight: 700; }
.nav a:hover, .header-phone:hover { color: var(--red); }
.header-phone { font-size: 13px; font-weight: 800; }
.menu-button { display: none; background: none; border: 0; font-weight: 800; }

.hero { min-height: calc(100vh - 82px); display: grid; grid-template-columns: 45% 55%; background: var(--red); color: #fff; overflow: hidden; }
.hero-copy { padding: 8vh 4vw 5vh; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; }
.eyebrow, .section-index, .modal-kicker { font-size: 11px; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.hero h1 { font-size: clamp(42px, 5.2vw, 84px); line-height: .98; max-width: 850px; margin: 5vh 0 3vh; }
.hero-lead { max-width: 660px; font-size: clamp(16px, 1.2vw, 20px); line-height: 1.6; }
.hero-actions { display: flex; align-items: center; gap: 28px; margin-top: 20px; }
.button { border: 0; border-radius: 0; cursor: pointer; padding: 17px 24px; font-weight: 800; transition: transform .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-light { background: #fff; color: var(--ink); }
.button-dark { background: var(--ink); color: #fff; }
.button-red { background: var(--red); color: #fff; width: 100%; }
.text-link { font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.5); padding: 8px 0; }
.text-link span { font-size: 20px; }
.hero-facts { margin-top: auto; display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; border-top: 1px solid rgba(255,255,255,.35); }
.hero-fact { padding: 16px 20px 0 0; }
.hero-fact strong { display: block; font-size: 18px; }
.hero-fact span { font-size: 11px; opacity: .75; }
.hero-visual { position: relative; min-height: 650px; }
.hero-word { position: absolute; font-family: "Unbounded"; font-weight: 700; font-size: clamp(80px, 14vw, 240px); color: rgba(255,255,255,.98); letter-spacing: -.08em; right: -1vw; top: 8vh; line-height: 1; }
.hero-car { position: absolute; width: 155%; height: auto; max-width: none; right: -21%; bottom: 3%; z-index: 2; filter: drop-shadow(0 28px 22px rgba(0,0,0,.28)); }
.hero-stamp { position: absolute; right: 4vw; bottom: 5vh; border: 1px solid rgba(255,255,255,.55); padding: 12px; font-size: 10px; letter-spacing: .2em; z-index: 3; }

.intro { padding: 10vw 8vw; display: grid; grid-template-columns: 1fr 3fr; border-bottom: 1px solid var(--line); }
.home-catalog { padding: 8vw 4vw; background: #fff; border-bottom: 1px solid var(--line); }
.home-catalog-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 10vw; align-items: end; margin-bottom: 4vw; }
.home-catalog-heading h2 { margin: 25px 0 0; font-size: clamp(38px, 5.5vw, 84px); line-height: 1; }
.home-catalog-intro p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.catalog-button { display: inline-block; margin-top: 18px; }
.home-cars-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.car-card { min-width: 0; background: #fff; }
.car-card-image { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #e7e3dd; }
.car-card-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .35s ease; }
.car-card:hover .car-card-image img { transform: scale(1.025); }
.car-card-body { padding: 24px; }
.car-card-meta { display: flex; justify-content: space-between; gap: 15px; color: var(--red); font-size: 10px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.car-card h3 { min-height: 70px; margin: 18px 0; font-size: 15px; line-height: 1.5; }
.car-card-specs { display: flex; flex-wrap: wrap; gap: 8px 14px; color: var(--muted); font-size: 11px; }
.car-card-price { display: block; margin-top: 26px; font: 600 clamp(21px, 2vw, 30px) "Unbounded"; }
.intro h2 { font-size: clamp(35px, 5vw, 76px); line-height: 1.05; max-width: 1100px; }
.large-copy { font-size: clamp(18px, 1.65vw, 28px); line-height: 1.55; max-width: 1100px; color: #3d3935; }
.section { padding: 8vw 4vw; }
.section-heading { display: grid; grid-template-columns: 2fr 1fr; gap: 10vw; align-items: end; margin-bottom: 6vw; }
.section-heading > *, .contacts > *, .intro > *, .equipment-layout > * { min-width: 0; }
.section-heading h2 { font-size: clamp(38px, 5.5vw, 84px); line-height: 1; margin: 25px 0 0; }
.section-heading > p { font-size: 17px; line-height: 1.65; color: var(--muted); }
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.benefit { min-height: 260px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.benefit-number { color: var(--red); font-weight: 800; margin-bottom: 45px; }
.benefit h3 { font-size: 18px; margin-bottom: 14px; }
.benefit p { color: var(--muted); line-height: 1.6; font-size: 14px; }
.notice { margin-top: 24px; padding: 20px 26px; color: var(--red); background: #fff; display: flex; gap: 20px; font-size: 14px; }
.notice strong { text-transform: uppercase; }

.routes-section { background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.routes-section::before { content:"DEXIN"; position:absolute; right:-2vw; top: 3vw; color: rgba(255,255,255,.025); font: 700 18vw "Unbounded"; letter-spacing: -.08em; }
.section-heading.light > p { color: #aaa5a0; }
.routes-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #3d3936; position: relative; }
.route-card { background: var(--paper); color: var(--ink); padding: clamp(28px, 4vw, 64px); min-height: 470px; display: flex; flex-direction: column; }
.route-code { color: var(--red); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.route-card h3 { font: 600 clamp(30px, 3vw, 50px) "Unbounded"; text-transform: uppercase; margin: 40px 0 25px; }
.route-card p { color: var(--muted); line-height: 1.7; }
.route-price { margin-top: auto; padding-top: 25px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; }
.route-price span { font-size: 12px; text-transform: uppercase; }
.route-price strong { color: var(--red); font-size: clamp(24px, 3vw, 44px); white-space: nowrap; }

.equipment-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 5vw; }
.equipment-list { counter-reset: item; }
.equipment-item { counter-increment: item; border-top: 1px solid var(--line); padding: 24px 0; display: grid; grid-template-columns: 70px 1fr; font-size: 18px; font-weight: 700; }
.equipment-item::before { content: "0" counter(item); color: var(--red); font-size: 12px; }
.profit-card { background: var(--red); color: #fff; padding: clamp(30px, 4vw, 60px); }
.profit-card > span { text-transform: uppercase; letter-spacing: .16em; font-size: 10px; font-weight: 800; }
.profit-card h3 { font: 600 clamp(24px, 2.5vw, 40px) "Unbounded"; text-transform: uppercase; margin: 40px 0; }
.profit-card dl > div { display: flex; justify-content: space-between; padding: 15px 0; border-top: 1px solid rgba(255,255,255,.35); }
.profit-card dt { opacity: .7; }
.profit-card dd { margin: 0; font-weight: 800; }
.profit-value { margin-top: 60px; display: flex; justify-content: space-between; align-items: end; }
.profit-value span { max-width: 120px; font-size: 12px; }
.profit-value strong { font: 600 clamp(38px, 5vw, 76px) "Unbounded"; }

.process-section { position: relative; min-height: 880px; padding: 8vw 4vw; background: #111; color: #fff; overflow: hidden; }
.process-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .64; }
.process-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(229,56,50,.88), rgba(0,0,0,.88) 76%); }
.process-heading, .timeline { position: relative; z-index: 2; }
.process-heading { margin-bottom: 4vw; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.4); border-left: 1px solid rgba(255,255,255,.4); }
.step { min-height: 210px; padding: 25px; border-right: 1px solid rgba(255,255,255,.4); border-bottom: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(4px); background: rgba(0,0,0,.12); }
.step-number { font-size: 11px; letter-spacing: .15em; color: #ff8984; }
.step h3 { font-size: 15px; margin: 30px 0 12px; }
.step p { font-size: 13px; line-height: 1.55; opacity: .7; }

.cta-section { display: grid; grid-template-columns: 1fr 1fr; min-height: 660px; background: var(--red); color: #fff; padding: 6vw 4vw; align-items: center; }
.cta-number { font: 700 clamp(100px, 18vw, 300px) "Unbounded"; letter-spacing: -.11em; line-height: .8; }
.cta-copy > span { font-size: 14px; display: block; max-width: 350px; margin-bottom: 60px; }
.cta-copy h2 { font-size: clamp(35px, 4vw, 68px); line-height: 1.05; }

.contacts { background: var(--paper); padding: 8vw 4vw 3vw; display: grid; grid-template-columns: 1.05fr .72fr .95fr; gap: 3vw; align-items: stretch; }
.contacts-intro { grid-column: 1; grid-row: 1; position: relative; z-index: 3; }
.contacts-intro h2 { position: relative; z-index: 3; width: max-content; max-width: none; color: var(--ink); font-size: clamp(40px, 5vw, 75px); line-height: 1; margin: 30px 0 35px; }
.contacts-intro > p { color: var(--muted); margin: 15px 0 0; }
.manager-contact { padding-top: 20px; border-top: 1px solid var(--line); }
.manager-contact:first-child { border-top-color: var(--red); }
.manager-contact-alex { grid-column: 1; grid-row: 2; border-top-color: var(--red); }
.manager-contact-denis { grid-column: 1; grid-row: 3; }
.manager-contact-name { color: var(--red); font: 600 clamp(18px, 1.5vw, 24px) "Unbounded"; text-transform: uppercase; }
.manager-contact-role { display: block; margin: 7px 0 14px; color: var(--muted); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.manager-contact-links { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; font-size: clamp(16px, 1.35vw, 22px); font-weight: 700; }
.manager-contact-links a { border-bottom: 1px solid var(--line); overflow-wrap: anywhere; max-width: 100%; }
.china-contact { grid-column: 1; grid-row: 4; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.china-contact span { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.china-contact a { font-size: clamp(16px, 1.35vw, 22px); font-weight: 700; }
.manager-portrait { grid-column: 2; margin: 0; min-height: 430px; background: var(--red); position: relative; z-index: 1; overflow: hidden; align-self: stretch; }
.manager-portrait-alex { grid-row: 1 / span 2; }
.manager-portrait-denis { grid-row: 3 / span 2; background: #ff3730; }
.manager-portrait img { position: absolute; z-index: 2; width: 116%; height: 94%; left: -8%; bottom: 0; object-fit: contain; object-position: center bottom; filter: contrast(1.04); }
.manager-portrait-denis img { width: 108%; height: 96%; left: -4%; }
.portrait-label { position: absolute; z-index: 3; top: 20px; right: 20px; color: #fff; font-size: 9px; font-weight: 800; letter-spacing: .18em; writing-mode: vertical-rl; }
.contact-card { grid-column: 3; grid-row: 1 / span 4; align-self: start; position: relative; z-index: 2; background: #fff; padding: clamp(30px, 4vw, 60px); border: 1px solid var(--line); }
.contact-card h3, .modal h2 { font: 600 clamp(25px, 2.5vw, 38px) "Unbounded"; text-transform: uppercase; }
.contact-card > p, .modal > p { color: var(--muted); line-height: 1.6; }
.lead-form { display: grid; gap: 18px; margin-top: 30px; }
.lead-form label { font-size: 12px; font-weight: 800; display: grid; gap: 8px; }
.lead-form input, .lead-form textarea, .lead-form select { width: 100%; border: 0; border-bottom: 1px solid var(--line); background: transparent; padding: 11px 0; outline: none; resize: vertical; }
.lead-form input:focus, .lead-form textarea:focus, .lead-form select:focus { border-color: var(--red); }
.lead-form .consent { grid-template-columns: 18px 1fr; align-items: start; color: var(--muted); font-weight: 500; }
.lead-form .consent input { width: auto; margin: 2px 0 0; }
.lead-form .consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.form-status { min-height: 20px; color: var(--red); font-size: 12px; }
.form-status.success { color: #177245; }
.contacts-footer { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 25px; margin-top: 3vw; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 12px; }
.legal-notice { grid-column: 1 / -1; color: var(--muted); font-size: 11px; line-height: 1.5; margin: 0; }

.modal { width: min(560px, calc(100% - 30px)); border: 0; padding: clamp(30px, 5vw, 60px); color: var(--ink); }
.modal::backdrop { background: rgba(0,0,0,.74); backdrop-filter: blur(4px); }
.modal-close { position: absolute; right: 18px; top: 12px; border: 0; background: none; font-size: 32px; cursor: pointer; }
.modal-kicker { color: var(--red); margin-bottom: 25px; }

@media (max-width: 980px) {
  .nav, .header-phone { display: none; }
  .menu-button { display: block; margin-left: auto; }
  .nav.open { display: flex; position: fixed; inset: 82px 0 auto; background: var(--paper); padding: 25px 4vw; flex-direction: column; border-bottom: 1px solid var(--line); }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 620px; padding-top: 8vh; }
  .hero-visual { min-height: 410px; }
  .hero-word { top: 10px; }
  .intro { grid-template-columns: 1fr; gap: 45px; }
  .home-catalog-heading { grid-template-columns: 1fr; gap: 25px; }
  .home-cars-grid { grid-template-columns: 1fr 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .section-heading { grid-template-columns: 1fr; gap: 25px; }
  .routes-grid, .equipment-layout { grid-template-columns: 1fr; }
  .contacts { grid-template-columns: 1fr; }
  .contacts-intro, .manager-contact, .manager-portrait, .china-contact, .contact-card { grid-column: auto; grid-row: auto; }
  .contacts-intro h2 { width: auto; max-width: 100%; }
  .manager-portrait { min-height: 590px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .cta-section { grid-template-columns: 1fr; gap: 70px; }
  .cta-number { font-size: 28vw; }
  .contacts-footer { grid-column: auto; flex-direction: column; }
}

@media (max-width: 620px) {
  .site-header { height: 68px; }
  .brand-mark { font-size: 22px; }
  .hero { min-height: 0; }
  .hero-copy { min-height: 650px; padding: 50px 20px 30px; }
  .hero h1 { font-size: 39px; margin-top: 40px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .hero-facts { grid-template-columns: 1fr; gap: 8px; }
  .hero-fact { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; }
  .hero-visual { min-height: 300px; }
  .hero-word { font-size: 26vw; }
  .hero-car { width: 135%; right: -24%; }
  .hero-stamp { display: none; }
  .intro, .section, .process-section, .contacts { padding: 80px 20px; }
  .home-catalog { padding: 80px 20px; }
  .home-cars-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr; }
  .benefit { min-height: 0; }
  .routes-section { padding-left: 20px; padding-right: 20px; }
  .route-card { min-height: 400px; padding: 28px 22px; }
  .route-price { align-items: flex-start; flex-direction: column; gap: 10px; }
  .timeline { grid-template-columns: 1fr; }
  .process-section { min-height: 0; }
  .cta-section { min-height: 600px; padding: 70px 20px; }
  .cta-copy > span { margin-bottom: 35px; }
  .contact-card { padding: 30px 20px; }
  .section-heading h2, .contacts-intro h2, .manager-contact-name { overflow-wrap: anywhere; }
  .manager-portrait { min-height: 500px; }
}

@media (min-width: 981px) and (max-width: 1500px) {
  .contacts-intro h2 { font-size: clamp(42px, 4vw, 56px); }
}

@media (min-width: 981px) {
  .manager-portrait-alex img { transform: translateY(10%); }
}

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