:root {
  --bg: #0b0b0d;
  --surface: #141418;
  --surface-2: #1c1c22;
  --border: #2a2a32;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --accent: #ff7a1a;
  --accent-2: #ff9a4d;
  --accent-soft: rgba(255, 122, 26, .12);
  --ok: #22c55e;
  --err: #f87171;
  --radius: 18px;
  --shadow: 0 20px 50px rgba(0, 0, 0, .45);
  color-scheme: dark;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.02em; margin: 0 0 12px; }
h1 { font-size: clamp(32px, 5vw, 56px); font-weight: 800; }
h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; }
h3 { font-size: 24px; }
p { margin: 0 0 16px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: 12px; border: 1px solid transparent;
  background: var(--accent); color: #140a02; font: inherit; font-weight: 700;
  cursor: pointer; transition: transform .15s, background .15s, border-color .15s;
}
.btn:hover { background: var(--accent-2); color: #140a02; transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { background: var(--surface-2); color: var(--text); border-color: #3a3a44; }
.btn--small { padding: 10px 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 11, 13, .82); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.header__inner { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 800; font-size: 19px; }
.brand img { border-radius: 50%; }
.brand b { color: var(--accent); font-weight: 800; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav a:hover { color: var(--text); }

/* ---------- hero ---------- */
.hero {
  padding: 72px 0 56px;
  background:
    radial-gradient(900px 420px at 85% 0%, rgba(255, 122, 26, .18), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(255, 122, 26, .07), transparent 60%);
}
.hero__inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero__inner > *, .calc > *, .contacts > *, .reviews > *, .grid > *, .row > * { min-width: 0; }
body { overflow-x: hidden; }
.eyebrow {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
  background: var(--accent-soft); color: var(--accent-2); font-weight: 700; font-size: 14px;
}
.hero__lead { font-size: 18px; color: #d4d4d8; max-width: 620px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 24px; }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 14px; font-weight: 600; }
.hero__card {
  display: block; border-radius: var(--radius); overflow: hidden; color: var(--text);
  background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow);
  transition: transform .2s;
}
.hero__card:hover { transform: translateY(-4px); color: var(--text); }
.hero__card-img { aspect-ratio: 4 / 3; background: var(--surface-2) center / cover no-repeat; }
.hero__card-body { padding: 18px 20px 20px; display: grid; gap: 6px; }
.hero__card-title { font-size: 20px; }
.hero__card-price { font-size: 24px; font-weight: 800; color: var(--accent); }
.tag {
  justify-self: start; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em;
  color: var(--accent-2);
}

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section--alt { background: linear-gradient(180deg, #101013, #0d0d10); border-block: 1px solid rgba(255, 255, 255, .04); }
.section__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head p { margin: 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }

/* ---------- filters ---------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.select { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600; }
select, input, textarea {
  width: 100%; font: inherit; color: var(--text); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: 10px; padding: 11px 12px; outline: none;
}
select:focus, input:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.filters select { min-width: 160px; }

/* ---------- catalog ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.car {
  display: flex; flex-direction: column; text-align: left; padding: 0; overflow: hidden; cursor: pointer;
  color: var(--text); font: inherit; background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); transition: transform .2s, border-color .2s, box-shadow .2s;
}
.car:hover { transform: translateY(-4px); border-color: #3a3a44; box-shadow: var(--shadow); }
.car__img { position: relative; aspect-ratio: 4 / 3; background: var(--surface-2); overflow: hidden; }
.car__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.car:hover .car__img img { transform: scale(1.04); }
.car__badge {
  position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 8px;
  background: rgba(11, 11, 13, .78); font-size: 13px; font-weight: 700; backdrop-filter: blur(6px);
}
.car__body { padding: 16px 18px 18px; display: grid; gap: 6px; flex: 1; }
.car__title { font-size: 18px; font-weight: 800; }
.car__trim { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.car__specs { font-size: 14px; color: #d4d4d8; }
.car__price { margin-top: auto; padding-top: 8px; font-size: 22px; font-weight: 800; color: var(--accent); }
.car__price small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.skeleton { background: linear-gradient(100deg, var(--surface-2) 30%, #26262e 50%, var(--surface-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.car--skeleton { min-height: 340px; border-radius: var(--radius); }
@keyframes shimmer { to { background-position: -200% 0; } }
.empty { text-align: center; padding: 40px 16px; color: var(--muted); }

/* ---------- calculator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.calc__form { padding: 24px; display: grid; gap: 14px; }
.ticks { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; padding: 4px; background: var(--surface-2); border-radius: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 10px 6px; border-radius: 9px; font-weight: 700; cursor: pointer; color: var(--muted); }
.seg input:checked + span { background: var(--accent); color: #140a02; }
.seg input:focus-visible + span { outline: 2px solid var(--accent-2); }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; color: var(--muted); }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--accent); flex: none; }
.result {
  display: grid; gap: 6px; padding: 18px; border-radius: 14px;
  background: var(--accent-soft); border: 1px solid rgba(255, 122, 26, .35);
}
.result strong { font-size: 34px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.notes { margin: 4px 0; padding-left: 18px; font-size: 14px; color: #e4e4e7; }
.error { color: var(--err); margin: 0; font-weight: 600; }
.success { color: var(--ok); margin: 0; font-weight: 700; }

/* ---------- steps & features ---------- */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.steps li { counter-increment: s; position: relative; padding: 56px 18px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); display: grid; gap: 6px; }
.steps li::before {
  content: counter(s); position: absolute; top: 16px; left: 18px; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: #140a02; font-weight: 800; font-size: 15px;
}
.steps span { color: var(--muted); font-size: 14px; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; }
.feature { padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.feature__icon { font-size: 26px; display: block; margin-bottom: 10px; }
.feature b { display: block; font-size: 17px; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }
.reviews__links { display: grid; gap: 12px; }
.link-card { display: grid; gap: 2px; padding: 20px 22px; color: var(--text); transition: border-color .2s, transform .2s; }
.link-card:hover { color: var(--text); border-color: var(--accent); transform: translateX(4px); }
.link-card span { color: var(--muted); font-size: 14px; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; margin-top: 24px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 28px 18px 0; font-weight: 700; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); }

/* ---------- contacts ---------- */
.contacts { display: grid; grid-template-columns: 1.2fr .8fr; gap: 32px; align-items: start; }
.lead { padding: 28px; display: grid; gap: 14px; }
.lead h2 { font-size: 30px; margin: 0; }
.lead p { margin: 0; }
.lead__context { padding: 10px 14px; border-radius: 10px; background: var(--accent-soft); color: #fde4cf; font-size: 14px; font-weight: 600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contacts__info { display: grid; gap: 10px; }
.manager { display: flex; gap: 16px; align-items: center; padding: 18px; }
.manager img { border-radius: 50%; }
.manager b { display: block; font-size: 20px; }
.contact-line { display: block; padding: 14px 18px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.contact-line:hover { border-color: var(--accent); color: var(--text); }

/* ---------- footer ---------- */
.footer { padding: 32px 0 96px; border-top: 1px solid rgba(255, 255, 255, .06); font-size: 14px; }
.footer__inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 8px; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a { color: var(--muted); }
.footer a:hover { color: var(--text); }

.mobile-cta { display: none; }

/* ---------- modal ---------- */
.modal {
  width: min(960px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: 20px; box-shadow: var(--shadow);
}
.modal::backdrop { background: rgba(0, 0, 0, .72); backdrop-filter: blur(4px); }
.modal__close {
  position: sticky; top: 12px; float: right; margin: 12px 12px -48px 0; z-index: 3; width: 38px; height: 38px;
  border-radius: 50%; border: 0; background: rgba(11, 11, 13, .8); color: var(--text); font-size: 16px; cursor: pointer;
}
.modal__gallery { position: relative; background: #000; aspect-ratio: 16 / 10; }
.modal__gallery img { width: 100%; height: 100%; object-fit: contain; }
.gal-btn {
  position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(11, 11, 13, .7); color: var(--text); font-size: 26px; cursor: pointer;
}
.gal-btn--prev { left: 12px; }
.gal-btn--next { right: 12px; }
.gal-count { position: absolute; right: 14px; bottom: 12px; padding: 3px 10px; border-radius: 8px; background: rgba(11, 11, 13, .75); font-size: 13px; }
.modal__thumbs { display: flex; gap: 8px; padding: 10px 16px; overflow-x: auto; }
.modal__thumbs button { flex: none; width: 76px; height: 56px; padding: 0; border-radius: 8px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--surface-2); }
.modal__thumbs button.is-active { border-color: var(--accent); }
.modal__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { padding: 8px 24px 24px; }
.specs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin: 16px 0; }
.specs div { padding: 10px 12px; background: var(--surface-2); border-radius: 10px; }
.specs dt { font-size: 12px; color: var(--muted); }
.specs dd { margin: 0; font-weight: 700; }
.condition { color: #d4d4d8; font-size: 15px; }
.condition:empty { display: none; }
.price-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 18px; border-radius: 14px; background: var(--accent-soft); border: 1px solid rgba(255, 122, 26, .35); }
.price-box strong { display: block; font-size: 30px; color: var(--accent); }
.price-box__cta { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .header .btn--small { margin-left: auto; }
  .hero__inner, .calc, .contacts, .reviews { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 40px 0 32px; }
  h1 br { display: none; }
  .section { padding: 56px 0; }
  .hero__lead { font-size: 16px; }
  .steps, .features { grid-template-columns: 1fr; }
  .filters { width: 100%; }
  .filters .select { flex: 1 1 140px; }
  .filters select { min-width: 0; }
  .header .btn--small { display: none; }
  .mobile-cta {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11, 11, 13, .92); backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
  }
  .modal__body { padding: 8px 16px 20px; }
  .price-box__cta, .price-box__cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- v6: icons, pages, blog, car detail ---------- */
.ic { width: 1.15em; height: 1.15em; flex: none; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.2em; }
.btn .ic { margin-right: 2px; }
.section--tight { padding: 28px 0 56px; }
h1 { overflow-wrap: anywhere; }
.crumbs { display: flex; flex-wrap: wrap; gap: 6px 8px; padding-block: 18px 0; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs [aria-current] { color: var(--text); }
.hero__card-img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; }
.car { text-decoration: none; }
.car:hover { color: var(--text); }
.car__title { margin: 0; font-size: 18px; font-weight: 800; letter-spacing: 0; }
.car__img img { display: block; }
.feature__icon { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 12px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-size: 22px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; }
.chips .ic { color: var(--accent); }
.contact-line { display: flex; align-items: center; gap: 10px; }
.contact-line .ic { color: var(--accent); }
.manager__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-size: 24px; flex: none; }
.calc-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.calc-cta > div { flex: 1 1 420px; min-width: 0; }
.calc-cta h2 { margin-bottom: 8px; }
.articles { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; margin-top: 8px; }
.article-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .2s, transform .2s; }
.article-card:hover { color: var(--text); border-color: var(--accent); transform: translateY(-3px); }
.article-card img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; background: var(--surface-2); }
.article-card > div { padding: 14px 16px 18px; display: grid; gap: 6px; }
.article-card h2, .article-card h3 { margin: 0; font-size: 17px; line-height: 1.3; letter-spacing: 0; }
.article-card p { margin: 0; }
.prose { max-width: 820px; }
.prose h1 { margin-bottom: 14px; }
.prose h2 { margin: 32px 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.prose h3 { margin: 22px 0 8px; font-size: 19px; }
.prose p, .prose li { color: #d4d4d8; }
.prose ul, .prose ol { padding-left: 22px; display: grid; gap: 8px; margin: 0 0 16px; }
.prose table { margin: 8px 0 20px; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose--article { max-width: 780px; }
.prose .tablewrap, .prose table { display: block; overflow-x: auto; max-width: 100%; }
.prose th, .prose td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; font-size: 15px; }
.prose th { background: var(--surface); }
.article__cover { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); margin: 8px 0 22px; background: var(--surface-2); }
.cta-box { display: grid; gap: 10px; padding: 22px; margin: 32px 0 0; justify-items: start; }
.cta-box p { margin: 0; }
.linklist { list-style: none; padding: 0; }
.taglist { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.taglist a { display: inline-flex; gap: 8px; align-items: baseline; padding: 10px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; color: var(--text); text-decoration: none; }
.taglist a:hover { border-color: var(--accent); color: var(--text); }
.taglist--big { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.taglist--big a { flex-direction: column; gap: 2px; padding: 16px 18px; }
.cardetail { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 32px; align-items: start; }
.gallery__main { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.gallery__main img { width: 100%; height: 100%; object-fit: contain; display: block; }
.gallery__thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: none; width: 88px; height: 66px; padding: 0; border: 2px solid transparent; border-radius: 8px; overflow: hidden; cursor: pointer; background: var(--surface-2); }
.gallery__thumbs button.is-active { border-color: var(--accent); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gal-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(11, 11, 13, .7); color: var(--text); font-size: 26px; cursor: pointer; }
.gal-btn--prev { left: 12px; }
.gal-btn--next { right: 12px; }
.gal-count { position: absolute; right: 12px; bottom: 12px; padding: 3px 10px; border-radius: 8px; background: rgba(11, 11, 13, .75); font-size: 13px; }
.cardetail__info { display: grid; gap: 16px; min-width: 0; }
.cardetail__info h1 { font-size: clamp(26px, 3vw, 34px); margin: 0; }
.price-box--col { display: grid; gap: 10px; justify-content: stretch; }
.specs { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 28px; padding-bottom: 20px; }
.footer__col { display: grid; gap: 8px; align-content: start; min-width: 0; }
.footer__col span { color: var(--muted); display: flex; gap: 8px; align-items: baseline; }
.footer__col b { font-size: 14px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.footer__legal { display: grid; gap: 6px; border-top: 1px solid rgba(255, 255, 255, .06); padding-top: 16px; }
.footer__legal p { margin: 0; }
.notice { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin: 0 auto; display: flex; gap: 16px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow); }
.notice p { margin: 0; font-size: 14px; color: #d4d4d8; }
.notice .btn { flex: none; }
.cardetail > *, .gallery { min-width: 0; }
@media (max-width: 1000px) {
  .cardetail { grid-template-columns: minmax(0, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .footer__grid { grid-template-columns: 1fr; }
  .notice { bottom: 76px; flex-direction: column; align-items: flex-start; }
  .gallery__thumbs button { width: 72px; height: 54px; }
}

.manager__photo { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; flex: none; border: 2px solid var(--accent); }
.team { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 320px)); gap: 20px; margin-top: 20px; }
.person { overflow: hidden; display: flex; flex-direction: column; }
.person img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.person__body { padding: 16px 18px 18px; display: grid; gap: 6px; }
.person__body b { font-size: 20px; }

.more { text-align: center; margin-top: 24px; }

/* ================= v7: меню, анимации, «дорогой» вид ================= */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: .18s ease both vt-out; }
::view-transition-new(root) { animation: .32s ease both vt-in; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }

/* шапка */
.header { transition: background .3s, box-shadow .3s, border-color .3s; }
.header.is-scrolled { background: rgba(11, 11, 13, .94); box-shadow: 0 10px 30px rgba(0, 0, 0, .45); border-bottom-color: rgba(255, 122, 26, .18); }
.nav a { position: relative; transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; border-radius: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav a:hover::after { transform: scaleX(1); }

/* бургер */
.burger { display: none; width: 44px; height: 44px; margin-left: 0; padding: 0; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); cursor: pointer; position: relative; flex: none; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: var(--text); transition: transform .3s, opacity .2s, top .3s; }
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; transform: rotate(-45deg); }
.drawer { position: fixed; inset: 0; z-index: 40; visibility: hidden; transition: visibility 0s .35s; }
.drawer.is-open { visibility: visible; transition-delay: 0s; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .6); backdrop-filter: blur(4px); opacity: 0; transition: opacity .3s; }
.drawer.is-open .drawer__backdrop { opacity: 1; }
.drawer__panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 380px); display: flex; flex-direction: column; gap: 4px;
  padding: 84px 20px calc(24px + env(safe-area-inset-bottom)); overflow-y: auto;
  background: linear-gradient(180deg, #15151a, #0d0d10); border-left: 1px solid var(--border);
  transform: translateX(100%); transition: transform .35s cubic-bezier(.22, 1, .36, 1);
}
.drawer.is-open .drawer__panel { transform: none; }
.drawer__panel > a:not(.btn) { padding: 14px 6px; font-size: 20px; font-weight: 700; color: var(--text); border-bottom: 1px solid rgba(255, 255, 255, .06); opacity: 0; translate: 16px 0; transition: opacity .35s, translate .35s, color .2s; }
.drawer.is-open .drawer__panel > a:not(.btn) { opacity: 1; translate: 0 0; }
.drawer.is-open .drawer__panel > a:nth-child(1) { transition-delay: .06s; }
.drawer.is-open .drawer__panel > a:nth-child(2) { transition-delay: .09s; }
.drawer.is-open .drawer__panel > a:nth-child(3) { transition-delay: .12s; }
.drawer.is-open .drawer__panel > a:nth-child(4) { transition-delay: .15s; }
.drawer.is-open .drawer__panel > a:nth-child(5) { transition-delay: .18s; }
.drawer.is-open .drawer__panel > a:nth-child(6) { transition-delay: .21s; }
.drawer.is-open .drawer__panel > a:nth-child(7) { transition-delay: .24s; }
.drawer__panel > a:not(.btn):hover { color: var(--accent); }
.drawer__cta { display: grid; gap: 10px; margin-top: auto; padding-top: 24px; }
body.menu-open { overflow: hidden; }
@media (max-width: 1000px) {
  .burger { display: block; }
  .header .btn--small { margin-left: auto; }
}
@media (max-width: 640px) {
  .burger { margin-left: auto; }
}
@media (min-width: 1001px) { .drawer { display: none; } }

/* кнопки: блик */
.btn:not(.btn--ghost) { position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(255, 122, 26, .22); }
.btn:not(.btn--ghost)::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; transform: skewX(-20deg); background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); }
.btn:not(.btn--ghost):hover::after { left: 130%; transition: left .7s ease; }
.btn:not(.btn--ghost):hover { box-shadow: 0 12px 30px rgba(255, 122, 26, .35); }

/* hero */
.hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; will-change: transform; }
.hero::before { width: 520px; height: 520px; right: -140px; top: -180px; background: rgba(255, 122, 26, .30); animation: drift-a 14s ease-in-out infinite alternate; }
.hero::after { width: 420px; height: 420px; left: -160px; bottom: -200px; background: rgba(255, 154, 77, .16); animation: drift-b 17s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(-90px, 70px) scale(1.15); } }
@keyframes drift-b { to { transform: translate(110px, -60px) scale(1.2); } }
.hero__inner { position: relative; }
.hero__inner::before {
  content: ""; position: absolute; inset: -72px -40px -56px; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%); mask-image: radial-gradient(ellipse at 60% 40%, #000 20%, transparent 70%);
}
.hero h1 .accent {
  background: linear-gradient(100deg, #ff7a1a 20%, #ffc48a 45%, #ff7a1a 70%); background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: sheen 5s ease-in-out infinite;
}
@keyframes sheen { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }
.hero__text > * { animation: rise .8s cubic-bezier(.22, 1, .36, 1) backwards; }
.hero__text > :nth-child(1) { animation-delay: .05s; }
.hero__text > :nth-child(2) { animation-delay: .15s; }
.hero__text > :nth-child(3) { animation-delay: .27s; }
.hero__text > :nth-child(4) { animation-delay: .38s; }
.hero__text > :nth-child(5) { animation-delay: .5s; }
@keyframes rise { from { opacity: 0; translate: 0 26px; } }
.hero__card { position: relative; animation: card-in 1s cubic-bezier(.22, 1, .36, 1) .25s backwards, float 7s ease-in-out 1.3s infinite; transform-style: preserve-3d;
  transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .25s ease-out, box-shadow .3s; }
.hero__card:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-4px); box-shadow: 0 30px 70px rgba(0, 0, 0, .55), 0 0 40px rgba(255, 122, 26, .15); }
@keyframes card-in { from { opacity: 0; translate: 40px 20px; scale: .96; } }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }
.hero__card::after {
  content: ""; position: absolute; inset: 0; padding: 1.5px; border-radius: inherit; pointer-events: none;
  background: conic-gradient(from var(--ang), transparent 0 62%, rgba(255, 122, 26, .95) 82%, transparent 100%); animation: spin 6s linear infinite;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
@keyframes spin { to { --ang: 360deg; } }
.hero__card .tag { display: inline-flex; align-items: center; gap: 8px; }
.hero__card .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(34, 197, 94, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }

/* карточки и блоки */
.car, .feature, .article-card, .person, .steps > li { transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .3s; }
.feature:hover, .steps > li:hover, .article-card:hover { transform: translateY(-4px); }
.car:hover, .person:hover { border-color: rgba(255, 122, 26, .45); box-shadow: 0 22px 50px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 122, 26, .12); }
.person img { transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.person:hover img { transform: scale(1.04); }
h2 { position: relative; }
.section > .wrap > h2::after, .section__head h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 12px; border-radius: 3px; background: linear-gradient(90deg, var(--accent), transparent); }

/* появление при прокрутке (включается скриптом) */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0s), translate .8s cubic-bezier(.22, 1, .36, 1) var(--d, 0s); }
.js .reveal.in { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero::after, .hero__card, .hero__card::after, .hero h1 .accent, .hero__text > * { animation: none !important; }
  .js .reveal { opacity: 1; translate: none; }
  @view-transition { navigation: none; }
}

.header { z-index: 50; }

/* ================= v8: полноэкранный hero-слайдер ================= */
.hero--slider { padding: 0; min-height: calc(100svh - 64px); min-height: max(620px, calc(100svh - 64px)); display: flex; background: var(--bg); }
.hero--slider::before, .hero--slider::after { display: none; }
.hero__slides, .hero__shade { position: absolute; inset: 0; z-index: -2; }
.slide { position: absolute; inset: 0; margin: 0; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s 1.1s; }
.slide.is-active { opacity: 1; visibility: visible; transition-delay: 0s; }
.slide img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); }
.slide.is-active img { animation: kenburns 9s ease-out forwards; }
@keyframes kenburns { to { transform: scale(1.1); } }
.hero__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .94) 0%, rgba(11, 11, 13, .78) 38%, rgba(11, 11, 13, .25) 75%, rgba(11, 11, 13, .1) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .95) 0%, rgba(11, 11, 13, 0) 38%),
    radial-gradient(700px 400px at 90% 0%, rgba(255, 122, 26, .16), transparent 60%);
}
.hero__flex { display: flex; flex-direction: column; flex: 1; }
.hero__main { flex: 1; display: flex; align-items: center; padding: 56px 0 32px; }
.hero--slider .hero__text { max-width: 680px; }
.hero--slider h1 { text-shadow: 0 2px 30px rgba(0, 0, 0, .5); }
.hero--slider .hero__lead { color: #e4e4e7; }
.hero__bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding-bottom: 32px; flex-wrap: wrap; animation: rise .9s cubic-bezier(.22, 1, .36, 1) .55s backwards; }
.infos { display: grid; min-width: 0; }
.info {
  grid-area: 1 / 1; display: grid; gap: 6px; align-content: start; padding: 18px 22px; min-width: 280px; border-radius: var(--radius);
  background: rgba(20, 20, 24, .62); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, .1);
  color: var(--text); opacity: 0; visibility: hidden; translate: 0 14px; transition: opacity .5s, translate .5s, visibility 0s .5s, border-color .2s;
}
.info.is-active { opacity: 1; visibility: visible; translate: 0 0; transition-delay: .35s, .35s, 0s, 0s; }
.info:hover { color: var(--text); border-color: rgba(255, 122, 26, .5); }
.info .tag { display: inline-flex; align-items: center; gap: 8px; }
.info .tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); animation: pulse 2s infinite; }
.info__title { font-size: 22px; line-height: 1.25; }
.info__price { font-size: 26px; font-weight: 800; color: var(--accent); }
.info__price small { font-size: 13px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.hero__ctrl { display: flex; align-items: center; gap: 14px; }
.hero__arrow {
  display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--text);
  background: rgba(20, 20, 24, .62); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .14); transition: background .2s, border-color .2s, transform .2s;
}
.hero__arrow:hover { background: var(--accent); border-color: var(--accent); color: #140a02; }
.hero__arrow:not(.hero__arrow--next) .ic { transform: scaleX(-1); }
.dots { display: flex; gap: 8px; align-items: center; }
.dot { width: 34px; height: 24px; padding: 0; background: none; border: 0; cursor: pointer; display: grid; align-items: center; }
.dot i { display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); position: relative; overflow: hidden; }
.dot i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.dot.is-done i::after { transform: scaleX(1); }
.dot.is-active i::after { animation: fill var(--dur, 6.5s) linear forwards; }
.hero.is-paused .dot.is-active i::after { animation-play-state: paused; }
.hero.no-auto .dot.is-active i::after { animation: none; transform: scaleX(1); }
@keyframes fill { to { transform: scaleX(1); } }
@media (max-width: 1000px) {
  .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .78) 0%, rgba(11, 11, 13, .72) 55%, rgba(11, 11, 13, .95) 100%); }
}
@media (max-width: 640px) {
  .hero--slider { min-height: calc(100svh - 64px); }
  .hero__main { padding: 32px 0 20px; }
  .hero--slider .chips { display: none; }
  .hero__bar { padding-bottom: 92px; gap: 14px; }
  .infos, .info { width: 100%; min-width: 0; }
  .info { padding: 14px 16px; }
  .info__title { font-size: 18px; }
  .info__price { font-size: 22px; }
  .hero__ctrl { width: 100%; justify-content: space-between; }
  .dots { flex: 1; justify-content: center; }
  .dot { width: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .slide, .info { transition: none !important; }
  .slide.is-active img { animation: none !important; transform: none; }
}

.hero--slider h1 { font-size: clamp(30px, 3.9vw, 50px); }
.hero--slider .hero__text { max-width: 620px; }
.hero--slider .hero__lead { font-size: 17px; }
.hero--slider .hero__cta { margin: 22px 0 18px; }
.hero__main { padding: 40px 0 24px; }
.footer__col a .ic, .footer__col span .ic { margin-right: 4px; }
@media (max-height: 800px) and (min-width: 1001px) { .hero--slider .chips { display: none; } }
.footer nav.footer__col { display: grid; gap: 8px; align-content: start; }
.footer__col a { display: flex; gap: 8px; align-items: baseline; }
@media (max-width: 640px) {
  .hero--slider .hero__lead { display: none; }
  .hero--slider h1 { font-size: 30px; margin-bottom: 4px; }
  .hero--slider .eyebrow { margin-bottom: 12px; font-size: 13px; }
  .hero--slider .hero__cta { margin: 16px 0 0; flex-wrap: nowrap; }
  .hero--slider .hero__cta .btn { flex: 1 1 0; padding: 13px 10px; font-size: 14px; }
  .hero--slider .hero__cta .btn--ghost .ic { display: none; }
  .hero__main { padding: 24px 0 16px; }
  .hero__bar { padding-bottom: 88px; }
}
.footer .brand b { text-transform: none; font-size: inherit; letter-spacing: 0; color: var(--accent); }
@media (max-width: 640px) { .hero--slider .hero__cta .btn { white-space: nowrap; font-size: 13px; padding: 13px 6px; } }

/* ================= v9: направления и флаги ================= */
.dirs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.dir {
  position: relative; display: flex; align-items: flex-end; min-height: 220px; padding: 24px; overflow: hidden; color: var(--text);
  border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(145deg, #17171c, #0f0f12);
  transition: transform .3s cubic-bezier(.22, 1, .36, 1), border-color .3s, box-shadow .3s;
}
.dir:hover { color: var(--text); transform: translateY(-4px); border-color: rgba(255, 122, 26, .5); box-shadow: 0 22px 50px rgba(0, 0, 0, .5); }
.dir__art { position: absolute; right: -6px; top: 8px; height: 78%; width: auto; max-width: 62%; object-fit: contain; object-position: right top; pointer-events: none; transition: transform .6s cubic-bezier(.22, 1, .36, 1); }
.dir--japan .dir__art { top: auto; bottom: 46px; right: -18px; height: auto; width: 82%; max-width: none; opacity: .95; }
.dir:hover .dir__art { transform: scale(1.06) rotate(-1.5deg); }
.dir__body { position: relative; display: grid; gap: 4px; }
.dir__body b { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.dir__count { margin-top: 8px; display: inline-flex; align-items: center; gap: 6px; color: var(--accent); font-weight: 700; font-size: 14px; }
.dir:hover .dir__count .ic { transform: translateX(4px); }
.dir__count .ic { transition: transform .25s; }
.dir--japan .dir__body { text-shadow: 0 2px 18px rgba(0, 0, 0, .8); }
@media (max-width: 900px) { .dirs { grid-template-columns: 1fr; } .dir { min-height: 170px; } .dir--japan .dir__art { width: 60%; bottom: 40px; } }

.country-hero { position: relative; overflow: hidden; isolation: isolate; }
.country-hero__art { position: absolute; z-index: -1; right: max(0px, calc(50% - 640px)); top: 0; height: 100%; width: auto; max-width: 52%; object-fit: contain; object-position: right top; opacity: .9; pointer-events: none; animation: art-in 1.2s cubic-bezier(.22, 1, .36, 1) backwards; }
.country-hero--avto-iz-korei .country-hero__art { height: 78%; top: 18px; right: max(24px, calc(50% - 560px)); opacity: .95; }
.country-hero--avto-iz-yaponii .country-hero__art, .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__art { height: auto; width: 460px; max-width: 46%; top: 34px; right: max(0px, calc(50% - 600px)); opacity: .95; }
@keyframes art-in { from { opacity: 0; translate: 40px 0; } }
.country-hero .prose > p, .country-hero .prose > h1 { max-width: 640px; }
@media (max-width: 900px) { .country-hero__art { opacity: .28; max-width: 70%; } .country-hero--avto-iz-korei .country-hero__art { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .country-hero__art { animation: none; } }
/* правки по макету */
.dir { min-height: 250px; }
.dir__art { right: 10px; }
.dir--japan .dir__art { top: 14px; bottom: auto; right: -8px; width: 72%; }
.country-hero__art { height: 340px; max-width: 44%; right: max(0px, calc(50% - 600px)); }
.country-hero--avto-iz-korei .country-hero__art { height: 300px; top: 14px; right: max(40px, calc(50% - 540px)); }
.country-hero--avto-iz-yaponii .country-hero__art, .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__art { width: 420px; max-width: 40%; top: 20px; right: max(0px, calc(50% - 600px)); }
.country-hero .prose > h1, .country-hero .prose > p { max-width: 560px; }
@media (max-width: 900px) { .dir--japan .dir__art { width: 62%; top: 10px; } .dir { min-height: 210px; } .country-hero .prose > h1, .country-hero .prose > p { max-width: none; } .country-hero__art { height: 220px; } .country-hero--avto-iz-korei .country-hero__art { height: 220px; } }

.ticks { list-style: none; padding: 0; margin: 18px 0 24px; display: grid; gap: 8px; }
/* более тонированная карусель */
.slide img { filter: brightness(.62) saturate(.8) contrast(1.05); }
.hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .96) 0%, rgba(11, 11, 13, .86) 42%, rgba(11, 11, 13, .55) 80%, rgba(11, 11, 13, .45) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .98) 0%, rgba(11, 11, 13, 0) 42%),
    radial-gradient(700px 400px at 90% 0%, rgba(255, 122, 26, .14), transparent 60%);
}
@media (max-width: 1000px) { .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .86) 0%, rgba(11, 11, 13, .82) 55%, rgba(11, 11, 13, .97) 100%); } }

/* флаги в одном стиле */
.dir--japan .dir__art { top: 8px; bottom: auto; right: 10px; height: 78%; width: auto; max-width: 62%; opacity: 1; }
.dir--korea .dir__art { height: 74%; top: 14px; }
.dir--japan .dir__body { text-shadow: none; }
.country-hero .country-hero__art { display: none; }
.country-hero__arts { position: absolute; z-index: -1; right: max(0px, calc(50% - 600px)); top: 8px; height: 340px; display: flex; align-items: flex-start; gap: 0; pointer-events: none; animation: art-in 1.2s cubic-bezier(.22, 1, .36, 1) backwards; }
.country-hero__arts img { height: 100%; width: auto; max-width: none; object-fit: contain; opacity: .95; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 300px; margin-left: -50px; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img:first-child { margin-left: 0; }
@media (max-width: 900px) { .country-hero__arts { height: 220px; opacity: .35; right: 0; } .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 200px; } }
@media (prefers-reduced-motion: reduce) { .country-hero__arts { animation: none; } }

/* ================= лента с промо-роликом перед подвалом ================= */
.reel { position: relative; isolation: isolate; overflow: hidden; min-height: clamp(300px, 40vw, 520px); display: flex; align-items: center; background: #000 url(/video/poster.jpg) center / cover no-repeat; border-top: 1px solid rgba(255, 255, 255, .06); }
.reel__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.reel__shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 11, 13, .88) 0%, rgba(11, 11, 13, .55) 55%, rgba(11, 11, 13, .25) 100%), linear-gradient(0deg, rgba(11, 11, 13, .6), transparent 40%); }
.reel__body { padding-block: 56px; }
.reel__body h2 { max-width: 640px; font-size: clamp(26px, 3.6vw, 44px); }
.reel__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
@media (max-width: 640px) { .reel__body { padding-block: 40px; } .reel__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .7), rgba(11, 11, 13, .8)); } }

/* видео в hero */
.hero__video { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; background: #000; filter: brightness(.8) saturate(.9); }
.hero--video .hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .9) 0%, rgba(11, 11, 13, .62) 45%, rgba(11, 11, 13, .22) 85%, rgba(11, 11, 13, .12) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .95) 0%, rgba(11, 11, 13, 0) 40%);
}
@media (max-width: 1000px) { .hero--video .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .7) 0%, rgba(11, 11, 13, .62) 50%, rgba(11, 11, 13, .95) 100%); } }

/* единый размер флагов */
.dir .dir__art, .dir--japan .dir__art, .dir--korea .dir__art { height: 92%; top: -4%; right: 0; width: auto; max-width: 70%; }
.country-hero__arts img, .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 360px; width: auto; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { margin-left: -120px; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img:first-child { margin-left: 0; }
@media (max-width: 900px) { .country-hero__arts img, .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 230px; } .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { margin-left: -80px; } }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 290px; margin-left: -110px; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img:first-child { margin-left: 0; }
.country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts { right: max(-20px, calc(50% - 640px)); }
@media (max-width: 900px) { .country-hero--avto-iz-yaponii-i-korei-vladivostok .country-hero__arts img { height: 190px; margin-left: -70px; } }
/* видео в hero потемнее */
.hero__video { filter: brightness(.58) saturate(.85); }
.hero--video .hero__shade {
  background:
    linear-gradient(90deg, rgba(11, 11, 13, .92) 0%, rgba(11, 11, 13, .7) 45%, rgba(11, 11, 13, .38) 85%, rgba(11, 11, 13, .3) 100%),
    linear-gradient(0deg, rgba(11, 11, 13, .96) 0%, rgba(11, 11, 13, 0) 40%);
}
@media (max-width: 1000px) { .hero--video .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .8) 0%, rgba(11, 11, 13, .74) 50%, rgba(11, 11, 13, .96) 100%); } }
/* телефон: видео показывается целым кадром 16:9 сверху, текст под ним */
@media (max-width: 800px) {
  .hero__video { inset: 0 0 auto 0; height: auto; aspect-ratio: 16 / 9; filter: brightness(.7) saturate(.9);
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .hero--video .hero__shade { background: linear-gradient(180deg, rgba(11, 11, 13, .25) 0%, rgba(11, 11, 13, .15) calc(56.25vw * .5), rgba(11, 11, 13, .9) calc(56.25vw + 40px), rgba(11, 11, 13, .98) 100%); }
  .hero--video .hero__main { padding-top: calc(56.25vw - 28px); }
}

/* логотип-надпись вместо текста */
.brand__word { height: 26px; width: auto; border-radius: 0; }
.footer .brand__word { height: 24px; }
@media (max-width: 640px) { .brand__word { height: 24px; } }
.brand .brand__word, .footer .brand .brand__word { border-radius: 0; }

/* круглый логотип: во всю высоту шапки, мягкая неоновая рамка */
.header__inner { overflow: visible; }
.brand { gap: 12px; }
.brand .brand__logo {
  width: 62px; height: 62px; flex: none; border-radius: 50%; background: #000; object-fit: cover;
  border: 1.5px solid rgba(255, 122, 26, .7);
  box-shadow: 0 0 10px rgba(255, 122, 26, .38), 0 0 26px rgba(255, 122, 26, .16), inset 0 0 12px rgba(255, 122, 26, .18);
  animation: neon 4.5s ease-in-out infinite;
}
@keyframes neon {
  0%, 100% { box-shadow: 0 0 9px rgba(255, 122, 26, .32), 0 0 22px rgba(255, 122, 26, .12), inset 0 0 10px rgba(255, 122, 26, .14); border-color: rgba(255, 122, 26, .6); }
  50% { box-shadow: 0 0 14px rgba(255, 122, 26, .5), 0 0 32px rgba(255, 122, 26, .22), inset 0 0 14px rgba(255, 122, 26, .24); border-color: rgba(255, 138, 52, .85); }
}
.footer .brand .brand__logo { width: 52px; height: 52px; }
@media (prefers-reduced-motion: reduce) { .brand .brand__logo { animation: none; } }
/* без контура, свечение только снаружи */
.brand .brand__logo { border: 0; box-shadow: 0 0 12px rgba(255, 122, 26, .42), 0 0 28px rgba(255, 122, 26, .2); animation: neon-glow 4.5s ease-in-out infinite; }
@keyframes neon-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(255, 122, 26, .34), 0 0 24px rgba(255, 122, 26, .15); }
  50% { box-shadow: 0 0 16px rgba(255, 122, 26, .52), 0 0 34px rgba(255, 122, 26, .26); }
}
@media (prefers-reduced-motion: reduce) { .brand .brand__logo { animation: none; } }
/* свечение укладывается ровно в высоту шапки */
.header { overflow: hidden; }
.brand .brand__logo { width: 46px; height: 46px; box-shadow: 0 0 8px rgba(255, 122, 26, .5), 0 0 15px rgba(255, 122, 26, .2); animation: neon-fit 4.5s ease-in-out infinite; }
@keyframes neon-fit {
  0%, 100% { box-shadow: 0 0 7px rgba(255, 122, 26, .4), 0 0 13px rgba(255, 122, 26, .16); }
  50% { box-shadow: 0 0 9px rgba(255, 122, 26, .58), 0 0 16px rgba(255, 122, 26, .24); }
}
.footer .brand .brand__logo { width: 46px; height: 46px; }
@media (prefers-reduced-motion: reduce) { .brand .brand__logo { animation: none; } }
