:root {
  --bg: #080909;
  --surface: #111313;
  --surface-2: #181a1a;
  --text: #f4f4ef;
  --muted: #a7aaa5;
  --orange: #087cff;
  --orange-light: #2ba8ff;
  --cyan: #31d5ff;
  --line: rgba(255,255,255,.14);
  --light: #eff0eb;
  --dark-text: #111212;
  --radius: 10px;
  --container: min(1200px, calc(100vw - 48px));
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font-family: Inter, Arial, sans-serif; font-size: 16px; line-height: 1.5; }
body::selection { background: var(--orange); color: #fff; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
svg { width: 1.15rem; height: 1.15rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: "Arial Narrow", "Roboto Condensed", Arial, sans-serif; font-weight: 700; text-transform: uppercase; line-height: .96; letter-spacing: -.035em; }
h1 { font-size: clamp(3.4rem, 8.8vw, 8.4rem); margin-bottom: 1.5rem; }
h2 { font-size: clamp(2.3rem, 5vw, 4.8rem); margin-bottom: 1.25rem; }
h3 { font-size: 1.55rem; margin-bottom: .75rem; }
.section { width: var(--container); margin-inline: auto; padding: 110px 0; }
.eyebrow { color: var(--muted); font-size: .75rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow--accent { color: var(--orange); }
.site-header { position: fixed; z-index: 50; top: 0; left: 0; right: 0; height: 78px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 0 max(24px, calc((100vw - 1200px)/2)); background: rgba(8,9,9,.84); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: .65rem; font-size: .86rem; font-weight: 800; letter-spacing: .12em; }
.brand-logo { width: 52px; height: 44px; object-fit: cover; object-position: 50% 48%; border-radius: 3px; }
.desktop-nav { display: flex; gap: 28px; }
.desktop-nav a { color: #b9bbb7; font-size: .8rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; transition: color .2s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: #fff; }
.header-cta { justify-self: end; }
.button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 9px; padding: 0 24px; border: 1px solid var(--orange); border-radius: 2px; background: var(--orange); color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; cursor: pointer; transition: transform .2s ease, background .2s ease; }
.button:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(8,124,255,.28); }
.button--compact { min-height: 42px; padding-inline: 18px; }
.button--ghost { background: rgba(0,0,0,.2); border-color: rgba(255,255,255,.45); backdrop-filter: blur(10px); }
.button--dark { background: #0b0c0c; border-color: #0b0c0c; }
.button--ghost-dark { background: transparent; border-color: #3a3b3b; color: var(--dark-text); }
.icon-button { display: inline-grid; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); background: transparent; cursor: pointer; }
.menu-toggle, .mobile-nav { display: none; }
.hero { position: relative; min-height: 100svh; overflow: hidden; display: flex; align-items: flex-end; padding: 140px max(24px, calc((100vw - 1200px)/2)) 130px; }
.hero__image, .hero__shade { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__image { object-position: center; animation: hero-drift 16s ease-in-out infinite alternate; }
.hero__shade { background: linear-gradient(90deg, rgba(2,8,18,.94) 0%, rgba(2,8,18,.72) 39%, rgba(2,8,18,.08) 74%), linear-gradient(0deg, rgba(2,6,14,.86), transparent 50%); }
.hero__glow { position: absolute; inset: 0; background: linear-gradient(112deg, transparent 38%, rgba(49,213,255,.14) 52%, transparent 65%); mix-blend-mode: screen; transform: translateX(-35%); animation: port-light 8s ease-in-out infinite; }
.hero__content { position: relative; z-index: 2; max-width: 870px; }
.hero h1 span { color: var(--orange); }
.hero__lead { max-width: 590px; color: #d7d8d4; font-size: clamp(1rem, 1.7vw, 1.3rem); }
.button-row { display: flex; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero__rail { position: absolute; z-index: 2; right: max(24px, calc((100vw - 1200px)/2)); bottom: 34px; left: max(24px, calc((100vw - 1200px)/2)); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.28); }
.hero__rail span { padding-top: 14px; color: #aaa; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.quick-search { display: grid; grid-template-columns: .7fr 1.3fr; gap: 80px; align-items: end; }
.quick-search h2 { font-size: clamp(2.5rem, 4vw, 4rem); margin-bottom: 0; }
.search-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: 12px; align-items: end; }
label { display: grid; gap: 8px; color: var(--muted); font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
input, select, textarea { width: 100%; border: 1px solid #393b3b; border-radius: 2px; outline: none; background: #151717; color: var(--text); padding: 14px; text-transform: none; letter-spacing: 0; }
input, select { min-height: 52px; }
input:focus, select:focus, textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(255,91,22,.18); }
.section--light { width: 100%; max-width: none; padding-inline: max(24px, calc((100vw - 1200px)/2)); background: var(--light); color: var(--dark-text); }
.section-head { display: flex; justify-content: space-between; gap: 40px; align-items: end; margin-bottom: 42px; }
.section-head h2 { margin-bottom: 0; }
.section-head > p { max-width: 460px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.text-link svg { transition: transform .2s ease; }
.text-link:hover svg { transform: translateX(5px); }
.car-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px; }
.car-grid--featured { grid-template-columns: repeat(2, minmax(0,1fr)); }
.car-card { overflow: hidden; background: #fff; color: var(--dark-text); border: 1px solid #d6d8d2; }
.car-card[hidden] { display: none; }
.car-card__image { position: relative; display: block; overflow: hidden; aspect-ratio: 16/10; background: #222; }
.car-card__image img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.car-card:hover .car-card__image img { transform: scale(1.035); }
.demo-badge { position: absolute; top: 14px; left: 14px; padding: 6px 9px; background: var(--orange); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.demo-badge--real { background: #087cff; }
.car-card__body { padding: 24px; }
.car-card__head { display: flex; justify-content: space-between; gap: 18px; }
.car-card__head h3 { margin: 0; }
.car-card__head strong { white-space: nowrap; font-size: 1.08rem; }
.spec-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 24px 0; padding: 18px 0; border-block: 1px solid #ddd; }
.spec-row dt { color: #747773; font-size: .7rem; text-transform: uppercase; }
.spec-row dd { margin: 3px 0 0; font-size: .85rem; font-weight: 700; }
.process-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; padding: 1px; background: var(--line); }
.step { min-height: 230px; padding: 24px; background: var(--bg); }
.step + .step { padding-left: 24px; }
.step span { color: var(--orange); font-size: .74rem; font-weight: 800; }
.step h3 { margin-top: 58px; }
.step p { color: var(--muted); }
.section--orange { width: 100%; max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 80px; padding-inline: max(24px, calc((100vw - 1200px)/2)); background: linear-gradient(130deg, #087cff, #35c8ff); }
.section--orange .eyebrow, .section--orange p { color: #2d1004; }
.section--orange > div:last-child { max-width: 440px; align-self: end; }
.contact-band { text-align: center; max-width: 840px; }
.contact-band p { color: var(--muted); }
.button-row--center { justify-content: center; }
.button--telegram { background: #1f9ed8; border-color: #1f9ed8; }
.route-band { padding-block: 70px; border-block: 1px solid var(--line); }
.route-line { display: grid; grid-template-columns: repeat(4, 1fr); align-items: center; margin: 22px 0; }
.route-line span, .route-line strong { position: relative; padding: 18px 12px 18px 24px; border-top: 1px solid rgba(255,255,255,.24); font-size: clamp(1rem,2vw,1.45rem); text-transform: uppercase; }
.route-line span::before, .route-line strong::before { content: ""; position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #738195; }
.route-line strong { color: var(--cyan); }
.route-line strong::before { background: var(--cyan); box-shadow: 0 0 24px var(--cyan); }
.page-main { padding-top: 78px; }
.page-hero { width: var(--container); margin: 0 auto; overflow: hidden; padding: 100px 0 64px; border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 1000px; margin-bottom: 28px; }
.page-hero > p:last-child { max-width: 590px; color: var(--muted); font-size: 1.1rem; }
.catalog-layout { display: grid; grid-template-columns: 280px 1fr; gap: 54px; align-items: start; }
.filters { position: sticky; top: 104px; display: grid; gap: 22px; padding: 24px; background: var(--surface); border: 1px solid var(--line); }
.filter-head { display: flex; justify-content: space-between; align-items: center; }
.filter-head h2 { margin: 0; font-size: 1.8rem; }
.text-button { padding: 0; border: 0; background: none; color: var(--orange); font-size: .72rem; text-transform: uppercase; cursor: pointer; }
.filters output { color: var(--text); font-size: .9rem; letter-spacing: 0; }
input[type="range"] { min-height: 26px; padding: 0; accent-color: var(--orange); }
.catalog-toolbar { display: flex; justify-content: space-between; margin-bottom: 20px; color: var(--muted); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.catalog-layout .car-card__body { padding: 20px; }
.empty-state { padding: 80px 20px; text-align: center; border: 1px solid var(--line); }
.detail-head { display: flex; justify-content: space-between; align-items: end; padding-bottom: 38px; }
.detail-head h1 { font-size: clamp(3.8rem, 8vw, 7rem); margin-bottom: .5rem; }
.detail-head p { color: var(--muted); }
.detail-head > div:last-child { text-align: right; }
.detail-head strong { display: block; font-size: clamp(1.8rem, 3vw, 3.2rem); }
.price-label { color: var(--muted); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; }
.gallery { padding-top: 0; }
.gallery-main { aspect-ratio: 16/9; overflow: hidden; background: #0d1014; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(6,1fr); gap: 10px; margin-top: 10px; }
.gallery-thumb { padding: 0; border: 2px solid transparent; background: none; cursor: pointer; aspect-ratio: 4/3; overflow: hidden; }
.gallery-thumb.is-active { border-color: var(--orange); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }
.detail-grid { display: grid; grid-template-columns: 1fr .72fr; gap: 80px; align-items: start; padding-top: 20px; }
.spec-table { border-top: 1px solid var(--line); }
.spec-table div { display: flex; justify-content: space-between; padding: 20px 0; border-bottom: 1px solid var(--line); }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; font-weight: 700; }
.request-card { padding: 38px; background: var(--light); color: var(--dark-text); }
.request-card p { color: #666; }
.request-card .button { width: 100%; margin-top: 8px; }
.request-card .button + .button { margin-top: 10px; }
.feature-list { display: grid; gap: 11px; margin: 22px 0 28px; padding: 0; list-style: none; }
.feature-list li { display: grid; grid-template-columns: 22px 1fr; gap: 9px; align-items: start; color: #303434; }
.feature-list svg { color: var(--orange); }
.notice { display: grid; grid-template-columns: 120px 1fr; gap: 30px; padding: 30px; border-block: 1px solid var(--line); }
.notice strong { color: var(--orange); text-transform: uppercase; }
.notice p { margin: 0; color: var(--muted); }
.calculator-shell { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; }
.form-section { display: grid; grid-template-columns: 50px 1fr; gap: 24px; padding: 38px 0; border-top: 1px solid var(--line); }
.form-section > span { color: var(--orange); font-size: .8rem; font-weight: 800; }
.form-section label + label, .form-section .field-pair + label { margin-top: 20px; }
.field-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
label small { color: #717470; font-weight: 400; letter-spacing: 0; text-transform: none; }
.calc-result { position: sticky; top: 104px; padding: 38px; background: var(--light); color: var(--dark-text); }
.result-total { margin: 18px 0 30px; padding-bottom: 28px; border-bottom: 1px solid #c9cbc5; }
.result-total span { display: block; color: #656762; font-size: .75rem; text-transform: uppercase; }
.result-total strong { display: block; margin-top: 8px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1; }
.calc-result dl div { display: flex; justify-content: space-between; margin: 12px 0; }
.calc-result dd { margin: 0; font-weight: 700; }
.calc-warning { margin: 28px 0; padding: 16px; background: #fff; color: #60625e; font-size: .85rem; }
.calc-result .button { width: 100%; }
.contacts-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 90px; }
.contact-link { display: block; font-size: clamp(2rem, 4vw, 4rem); font-weight: 700; line-height: 1.15; }
.contact-link + .contact-link { margin-top: 14px; color: var(--orange); font-size: clamp(1.3rem, 2.5vw, 2.3rem); }
.contact-link--telegram { color: #35b6ff !important; }
.contact-email { display: inline-block; margin-top: 14px; color: #cbd1d7; font-size: clamp(1.1rem,2vw,1.65rem); }
.contact-details dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 50px 0; }
.contact-details dt { color: var(--muted); font-size: .75rem; text-transform: uppercase; }
.contact-details dd { margin: 5px 0 0; }
.map-placeholder { min-height: 260px; display: grid; place-content: center; text-align: center; border: 1px solid var(--line); background: repeating-linear-gradient(135deg, #101212, #101212 10px, #131515 10px, #131515 20px); }
.map-placeholder span { color: var(--orange); font-weight: 800; text-transform: uppercase; }
.map-placeholder small { color: var(--muted); }
.contact-form { display: grid; gap: 20px; padding: 38px; background: var(--light); color: var(--dark-text); }
.contact-form input, .contact-form textarea { background: #fff; color: #111; border-color: #c9cbc5; }
.checkbox { grid-template-columns: auto 1fr; align-items: start; text-transform: none; letter-spacing: 0; font-weight: 400; }
.checkbox input { width: 18px; min-height: 18px; accent-color: var(--orange); }
.form-note { margin: -8px 0 0; color: #777; font-size: .78rem; }
.lead-modal { width: min(560px, calc(100vw - 32px)); padding: 34px; border: 1px solid #3e4141; background: #111313; color: var(--text); }
.lead-modal::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(7px); }
.modal-head { display: flex; justify-content: space-between; gap: 24px; }
.modal-head h2 { font-size: 2.4rem; }
.lead-modal form { display: grid; gap: 18px; }
.form-success { padding: 28px 0; text-align: center; }
.form-success svg { width: 48px; height: 48px; padding: 10px; border-radius: 50%; background: var(--orange); }
.site-footer { width: var(--container); margin: 0 auto; display: grid; grid-template-columns: 1.4fr .8fr 1fr; gap: 60px; padding: 70px 0 28px; border-top: 1px solid var(--line); color: var(--muted); }
.site-footer > div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.site-footer .brand { color: var(--text); }
.footer-label { color: var(--orange); font-size: .7rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
.footer-bottom { grid-column: 1/-1; flex-direction: row !important; justify-content: space-between; padding-top: 32px; border-top: 1px solid var(--line); font-size: .75rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }
@keyframes hero-drift { from { transform: scale(1.02) translate3d(0,0,0); } to { transform: scale(1.07) translate3d(-1%, -1%, 0); } }
@keyframes port-light { 0%, 25% { transform: translateX(-45%); opacity: 0; } 50% { opacity: 1; } 75%, 100% { transform: translateX(55%); opacity: 0; } }

@media (max-width: 900px) {
  :root { --container: min(calc(100% - 32px), 720px); }
  .site-header { grid-template-columns: 1fr auto; height: 68px; padding-inline: 16px; }
  .desktop-nav, .header-cta { display: none; }
  .menu-toggle { display: grid; }
  .mobile-nav { position: absolute; top: 68px; left: 0; right: 0; display: none; padding: 24px 16px 28px; background: #0b0c0c; border-bottom: 1px solid var(--line); }
  .mobile-nav.is-open { display: grid; gap: 0; }
  .mobile-nav a { padding: 17px 0; border-bottom: 1px solid var(--line); font-size: 1.25rem; font-weight: 700; text-transform: uppercase; }
  .mobile-nav .button { margin-top: 20px; }
  .page-main { padding-top: 68px; }
  .section { padding-block: 76px; }
  .quick-search, .section--orange, .catalog-layout, .detail-grid, .calculator-shell, .contacts-grid { grid-template-columns: 1fr; gap: 40px; }
  .car-grid--featured { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .filters, .calc-result { position: static; }
  .detail-head { display: block; }
  .detail-head > div:last-child { margin-top: 24px; text-align: left; }
}

@media (max-width: 600px) {
  h1, .detail-head h1 { max-width: 100%; font-size: clamp(3rem, 13.8vw, 4.2rem); letter-spacing: -.055em; }
  h2 { font-size: clamp(2.25rem, 12vw, 3.5rem); }
  .hero { min-height: 800px; padding: 110px 16px 155px; align-items: center; }
  .hero__image { object-position: 65% center; }
  .hero__shade { background: linear-gradient(180deg, rgba(2,3,3,.25), rgba(2,3,3,.65) 45%, rgba(2,3,3,.98) 86%); }
  .hero__lead { font-size: 1rem; }
  .button-row .button { width: 100%; }
  .hero__rail { grid-template-columns: 1fr 1fr; gap: 8px; left: 16px; right: 16px; }
  .quick-search { align-items: stretch; }
  .search-grid, .car-grid, .car-grid--featured, .process-grid, .field-pair, .contact-details dl { grid-template-columns: 1fr; }
  .section-head, .catalog-toolbar { display: block; }
  .section-head .text-link { margin-top: 18px; }
  .process-grid { border: 0; grid-template-columns: 1fr; }
  .step, .step + .step { min-height: auto; padding: 24px; border-right: 0; }
  .step h3 { margin-top: 44px; }
  .car-card__head { display: block; }
  .car-card__head strong { display: block; margin-top: 14px; }
  .spec-row { gap: 8px; }
  .page-hero { padding-top: 70px; }
  .detail-head { padding-top: 70px; }
  .gallery-main { aspect-ratio: 4/3; }
  .gallery-thumbs { overflow-x: auto; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 42vw; padding-bottom: 6px; }
  .route-line { grid-template-columns: 1fr 1fr; }
  .request-card, .calc-result, .contact-form { padding: 26px 20px; }
  .notice { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; gap: 34px; }
  .footer-bottom { grid-column: 1; gap: 10px; }
}

@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; }
}
