/* ——— Модельная страница после scroll-истории ——— */
:root {
  --line: #ffffff17;
  --line-2: #ffffff26;
  --card: #0d0c0b;
  --card-2: #121010;
  --subnav-h: 62px;
  --wrap: 1360px;
}

.model { position: relative; background: var(--bg); }
.m-sec { --sec-pad: clamp(84px, 11vh, 140px); position: relative; padding: var(--sec-pad) var(--pad); scroll-margin-top: var(--subnav-h); border-top: 1px solid var(--line); }
.m-wrap { max-width: var(--wrap); margin: 0 auto; }
.m-head { max-width: 820px; margin-bottom: clamp(36px, 5vh, 60px); }
.m-head .eyebrow { margin-bottom: 18px; }
.m-title { margin: 0; font-size: clamp(32px, min(4.2vw, 7.5vh), 76px); font-weight: 800; letter-spacing: -.05em; line-height: 1.04; hyphens: manual; }
.m-title em { color: var(--gold-soft); font-weight: 400; letter-spacing: -.03em; }
.m-lead { margin: 22px 0 0; max-width: 620px; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.75; color: #d4ccc1; font-weight: 300; }
.m-note { margin: 22px 0 0; font-size: 12px; line-height: 1.65; color: #8a8278; max-width: 760px; }
.m-note i { color: #b5ab9e; }
.m-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.m-anim .m-reveal { opacity: 0; transform: translateY(28px); }

sup.fn { font-size: .55em; line-height: 0; vertical-align: super; margin-left: .15em; font-family: var(--sans); font-style: normal; font-weight: 600; letter-spacing: 0; }
sup.fn a { color: var(--gold); padding: 0 2px; }
sup.fn a:hover { color: var(--gold-soft); }

.btn-sm { padding: 12px 18px; gap: 14px; font-size: 9.5px; }
.btn-ghost { border-color: var(--line-2); }
.btn:focus-visible, .m-chip:focus-visible, .m-tab:focus-visible, .hs-dot:focus-visible, .sw:focus-visible,
.subnav a:focus-visible, .faq-q:focus-visible, .g-item:focus-visible, .lb button:focus-visible, .lb a:focus-visible,
.mod-cmp:focus-visible, .tl-nav button:focus-visible, .td-form :focus-visible, .seg button:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* Сегмент-контрол и вкладки */
.seg { display: inline-flex; max-width: 100%; padding: 4px; gap: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: #0b0a09; overflow-x: auto; scrollbar-width: none; }
.seg::-webkit-scrollbar { display: none; }
.seg button { flex: none; white-space: nowrap; }
.seg button {
  padding: 11px 18px; border-radius: 999px; font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #a79f94;
  transition: background .35s var(--ease), color .35s var(--ease);
}
.seg button:hover { color: var(--ink); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--gold); color: #140d08; }

.m-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 30px; overflow-x: auto; scrollbar-width: none; }
.m-tabs::-webkit-scrollbar { display: none; }
.m-tab {
  position: relative; padding: 0 0 16px; white-space: nowrap;
  font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #8f877d; transition: color .3s;
}
.m-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.m-tab:hover { color: var(--ink); }
.m-tab[aria-selected="true"] { color: var(--ink); }
.m-tab[aria-selected="true"]::after { transform: scaleX(1); }
.m-panel[hidden] { display: none; }
.m-panel.is-in { animation: panelIn .6s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.m-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.m-chip {
  padding: 10px 16px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #a79f94;
  transition: border-color .3s, color .3s, background .3s;
}
.m-chip:hover { color: var(--ink); border-color: #d5a67066; }
.m-chip[aria-pressed="true"] { color: #140d08; background: var(--gold); border-color: var(--gold); }

/* ——— Подменю ——— */
.subnav {
  position: sticky; top: 0; z-index: 60; height: var(--subnav-h);
  display: flex; align-items: center; gap: 28px; padding: 0 var(--pad);
  background: #070707e6; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.subnav-brand { flex: none; font-size: 18px; font-weight: 800; letter-spacing: -.06em; }
.subnav-brand span { color: var(--gold); margin-left: 3px; }
.subnav-links { flex: 1; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 92%, transparent); }
.subnav-links::-webkit-scrollbar { display: none; }
.subnav-links a {
  position: relative; flex: none; padding: 10px 12px; border-radius: 999px;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #9a9288; transition: color .3s, background .3s;
}
.subnav-links a:hover { color: var(--ink); }
.subnav-links a.active { color: var(--ink); background: #ffffff0f; }
.subnav-cta { flex: none; }
body.model-mode .topbar { opacity: 0; pointer-events: none; }
.topbar { transition: opacity .4s; }
body.model-mode .topbar > * { pointer-events: none; }

/* ——— Обзор ——— */
.hl-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.hl { padding: 34px 26px 6px 0; border-right: 1px solid var(--line); }
.hl + .hl { padding-left: 26px; }
.hl:last-child { border-right: 0; }
.hl-val { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.hl-val b { font-size: clamp(42px, min(4.6vw, 8vh), 84px); font-weight: 800; letter-spacing: -.055em; line-height: 1; font-variant-numeric: tabular-nums; }
.hl-val small { font-size: 14px; color: var(--gold); letter-spacing: .06em; }
.hl-val .pre { font-size: .7em; color: var(--gold-soft); margin-right: -2px; font-weight: 400; }
.hl p { margin: 14px 0 0; font-size: 13px; color: #b8afa4; line-height: 1.55; }

/* ——— Хотспоты ——— */
.hs-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: stretch; }
.hs-stage { position: relative; aspect-ratio: 1672 / 941; overflow: hidden; background: #0b0b0b; border-radius: 2px; }
.hs-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hs-dot {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  display: grid; place-items: center; z-index: 2;
}
.hs-dot::before {
  content: ""; position: absolute; inset: 6px; border-radius: 50%;
  background: #0c0907cc; border: 1px solid var(--gold); box-shadow: 0 0 0 0 #d5a67066;
  transition: transform .35s var(--ease), background .35s, box-shadow .35s;
  animation: hsPulse 2.6s var(--ease) infinite;
}
.hs-dot span { position: relative; font-size: 9.5px; font-weight: 700; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.hs-dot:hover::before { transform: scale(1.18); }
.hs-dot[aria-pressed="true"]::before { background: var(--gold); transform: scale(1.25); animation: none; box-shadow: 0 0 0 8px #d5a67026; }
.hs-dot[aria-pressed="true"] span { color: #140d08; }
@keyframes hsPulse { 0% { box-shadow: 0 0 0 0 #d5a67055; } 70% { box-shadow: 0 0 0 12px #d5a67000; } 100% { box-shadow: 0 0 0 0 #d5a67000; } }
.hs-tip { position: absolute; left: 16px; top: 14px; z-index: 2; font-size: 10px; letter-spacing: .24em; text-transform: uppercase; color: #d6cdc1; text-shadow: 0 1px 10px #000; pointer-events: none; }
.hs-credit { position: absolute; right: 12px; bottom: 10px; z-index: 2; padding: 3px 8px; font-size: 10px; letter-spacing: .06em; color: #d6cdc1; background: #0c0907b3; border-radius: 2px; pointer-events: none; }
.hs-card {
  position: relative; display: flex; flex-direction: column; padding: 30px 28px; background: var(--card); border: 1px solid var(--line);
  min-height: 280px; touch-action: pan-y;
}
.hs-count { font-size: 10px; letter-spacing: .3em; color: var(--gold); font-variant-numeric: tabular-nums; }
.hs-card h3 { margin: 22px 0 0; font-size: clamp(22px, 1.9vw, 30px); font-weight: 700; letter-spacing: -.035em; line-height: 1.12; }
.hs-card p { margin: 16px 0 0; font-size: 14.5px; line-height: 1.72; color: #cfc6ba; font-weight: 300; }
.hs-card .hs-body { flex: 1; }
.hs-card .hs-body.swap { animation: panelIn .5s var(--ease); }
.hs-nav { display: flex; gap: 8px; margin-top: 26px; }
.hs-nav button { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold); font-size: 15px; transition: border-color .3s, background .3s; }
.hs-nav button:hover { border-color: var(--gold); background: #d5a67014; }
.front-pair { display: grid; grid-template-columns: 2.36fr 1fr; gap: 18px; align-items: start; }
.front-pair figure { margin: 0; position: relative; aspect-ratio: 1920 / 1084; overflow: hidden; background: #0b0b0b; }
.front-pair img { display: block; width: 100%; height: 100%; object-fit: cover; }
.front-pair figure:last-child { aspect-ratio: 1437 / 1920; }
.m-caption { margin: 18px 0 0; max-width: 720px; font-size: 14px; line-height: 1.7; color: #bcb3a8; font-weight: 300; }

/* ——— Багажник ——— */
.trunk { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
.trunk-photo { position: sticky; top: calc(var(--subnav-h) + 40px); margin: 0; }
.trunk-frames { position: relative; aspect-ratio: 1920 / 1084; overflow: hidden; background: #0b0b0b; }
.trunk-frames img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .9s var(--ease), transform 1.4s var(--ease); }
.trunk-frames .tp-down { opacity: 0; transform: scale(1.03); }
.trunk-photo.is-folded .tp-down { opacity: 1; transform: none; }
.trunk-photo.is-folded .tp-up { opacity: 0; }
.trunk-photo figcaption { margin: 14px 0 0; min-height: 3.2em; font-size: 13px; line-height: 1.6; color: #a99f93; font-weight: 300; }
.m-fig { margin: 0; }
.m-fig img { display: block; width: 100%; height: auto; }
.m-fig figcaption { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #a99f93; font-weight: 300; }
.trunk-cargo { margin-top: 30px; }
.trunk-cargo img { aspect-ratio: 16 / 10; object-fit: cover; }
.trunk-num { display: flex; align-items: baseline; gap: 12px; margin: 34px 0 6px; }
.trunk-num b { font-size: clamp(64px, min(7vw, 12vh), 128px); font-weight: 800; letter-spacing: -.06em; line-height: .95; font-variant-numeric: tabular-nums; }
.trunk-num small { font-size: 18px; color: var(--gold); }
.trunk-cap { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: #8f877d; }
.trunk-svg { width: 100%; max-width: 520px; margin-top: 26px; display: block; }
.trunk-svg .cargo { transition: width .8s var(--ease), x .8s var(--ease); }
.trunk-svg .seat-back { transition: transform .8s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.trunk-mini { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 30px; border-top: 1px solid var(--line-2); }
.trunk-mini div { padding: 18px 14px 0 0; }
.trunk-mini div + div { padding-left: 14px; border-left: 1px solid var(--line); }
.trunk-mini b { display: block; font-size: clamp(22px, 2vw, 32px); font-weight: 700; letter-spacing: -.04em; }
.trunk-mini span { display: block; margin-top: 8px; font-size: 12px; color: #9d958a; line-height: 1.5; }
.trunk-quip { margin: 26px 0 0; font-family: var(--serif); font-style: italic; color: #b9ab98; font-size: 15px; }

/* ——— Цвета ——— */
.colors { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
/* Студийное фото на чёрном: края растворяются в фоне секции */
.paint-stage {
  position: relative; aspect-ratio: 1672 / 941; overflow: hidden;
  background: radial-gradient(ellipse at 50% 85%, #1a120e 0%, #0a0808 45%, transparent 75%);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(transparent, #000 12%, #000 76%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 2.5%, #000 97.5%, transparent), linear-gradient(transparent, #000 12%, #000 76%, transparent);
  mask-composite: intersect;
}
.paint-photo {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity .55s var(--ease);
}
.paint-photo.is-on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .paint-photo { transition-duration: .01s; } }
.paint-info { margin-top: 20px; min-height: 52px; }
.paint-info strong { font-size: clamp(20px, 1.8vw, 28px); font-weight: 700; letter-spacing: -.03em; }
.paint-info span { display: block; margin-top: 6px; font-size: 13px; color: #a79f94; }
.paint-egg { color: var(--gold-soft) !important; font-family: var(--serif); font-style: italic; font-size: 15px !important; }
.sw-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 10px; }
.sw { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 2px; border-radius: 6px; text-align: center; }
.sw i {
  width: 46px; height: 46px; border-radius: 50%; background: var(--c); display: block;
  box-shadow: inset 0 -8px 14px #0000004d, inset 0 6px 10px #ffffff2e, 0 0 0 1px #ffffff1f;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.sw b { font-size: 11.5px; font-weight: 600; letter-spacing: -.01em; line-height: 1.25; color: #cfc6ba; }
.sw small { font-size: 9.5px; letter-spacing: .2em; color: #7f776d; }
.sw:hover i { transform: scale(1.08); }
.sw[aria-pressed="true"] i { box-shadow: inset 0 -8px 14px #0000004d, inset 0 6px 10px #ffffff2e, 0 0 0 2px var(--bg), 0 0 0 3px var(--gold); }
.sw[aria-pressed="true"] b { color: var(--ink); }
.sw.egg i { box-shadow: inset 0 -8px 14px #0000004d, 0 0 0 1px #ffffff1f; outline: 1px dashed #e8b92377; outline-offset: 4px; }
.ref-photo { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--line); }
.ref-photo img { width: 120px; height: auto; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 1px #d5a67033, 0 10px 30px #00000080; }
.ref-photo p { margin: 0; font-size: 12.5px; line-height: 1.6; color: #9d958a; }

/* ——— Модификации ——— */
.mods-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.mods-hint { font-size: 12px; color: #81796f; margin: 0 0 28px; }
.mods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mod {
  position: relative; display: flex; flex-direction: column; padding: 28px 26px 24px; background: var(--card); border: 1px solid var(--line);
  transition: border-color .35s, transform .5s var(--ease);
}
.mod:hover { border-color: #d5a67044; }
.mod.is-picked { border-color: var(--gold); }
.mod[hidden] { display: none; }
.mod-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.mod-nick { font-size: 10px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.mod-badge { font-size: 9px; letter-spacing: .16em; text-transform: uppercase; color: #a79f94; border: 1px solid var(--line-2); border-radius: 999px; padding: 5px 9px; white-space: nowrap; }
.mod h3 { margin: 18px 0 2px; font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(34px, 3vw, 48px); letter-spacing: -.02em; color: var(--ink); line-height: 1; }
.mod-name { font-size: 12.5px; color: #9d958a; }
.mod dl { margin: 20px 0 0; display: grid; grid-template-columns: auto 1fr; gap: 9px 16px; font-size: 13px; }
.mod dt { color: #81796f; }
.mod dd { margin: 0; color: #e2dad0; text-align: right; }
.mod-note { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: #a9a095; flex: 1; }
.mod-approx { color: var(--gold-soft); }
.mod-cmp {
  align-self: flex-start; margin-top: 12px; display: inline-flex; align-items: center; gap: 10px; min-height: 36px; padding: 0 8px 0 0;
  font-size: 10px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #bdb4a8;
}
.mod-cmp i { width: 18px; height: 18px; border: 1px solid var(--line-2); border-radius: 4px; display: grid; place-items: center; font-style: normal; font-size: 11px; color: transparent; transition: background .3s, border-color .3s, color .3s; }
.mod-cmp[aria-pressed="true"] { color: var(--ink); }
.mod-cmp[aria-pressed="true"] i { background: var(--gold); border-color: var(--gold); color: #140d08; }
.mod-cmp:disabled { opacity: .35; cursor: not-allowed; }
.cmp-tray {
  position: sticky; bottom: 18px; z-index: 20; margin: 22px auto 0; max-width: 760px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 12px 12px 22px;
  background: #15110ef2; border: 1px solid #d5a67055; border-radius: 999px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px #000c;
}
.cmp-tray[hidden] { display: none; }
.cmp-tray p { margin: 0; font-size: 13px; color: #d5ccc0; }
.cmp-tray b { color: var(--gold-soft); font-weight: 600; }
.cmp-tray-actions { display: flex; gap: 8px; }
.cmp { margin-top: 30px; border: 1px solid var(--line-2); background: var(--card); scroll-margin-top: calc(var(--subnav-h) + 24px); }
.cmp[hidden] { display: none; }
.cmp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.cmp-head h3 { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; }

/* ——— Таблицы ——— */
.m-table-wrap { overflow-x: auto; }
.m-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.m-table th, .m-table td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; line-height: 1.5; }
.m-table thead th { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); font-weight: 700; white-space: nowrap; }
.m-table tbody th { width: 34%; color: #9d958a; font-weight: 400; }
.m-table td { color: #ece5db; }
.m-table td.common { color: #cfc6ba; }
.m-table tr:last-child th, .m-table tr:last-child td { border-bottom: 0; }
.m-table .hl-col { background: #d5a6700d; }

/* ——— Характеристики ——— */
.specs-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 30px; }
.specs-tools { display: flex; gap: 10px; flex-wrap: wrap; }
.specs-box { border-top: 1px solid var(--line-2); }
.spec-gnote { margin: 18px 18px 0; font-size: 12px; color: #8a8278; line-height: 1.6; }

/* ——— Галерея ——— */
.gal-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 26px; }
.gal { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-flow: dense; gap: 12px; }
.g-item { position: relative; overflow: hidden; background: #0c0c0c; aspect-ratio: 16 / 9; cursor: zoom-in; display: block; width: 100%; padding: 0; }
.g-item.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.g-item[hidden] { display: none; }
.g-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.02); transition: transform 1.2s var(--ease), filter .8s; filter: brightness(.9) saturate(.92); }
.g-item:hover img { transform: scale(1.07); filter: brightness(1) saturate(1); }
.g-item span {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 14px; text-align: left;
  background: linear-gradient(transparent, #000c); font-size: 12px; line-height: 1.45; color: #e9e1d6;
  opacity: 0; transform: translateY(8px); transition: opacity .45s, transform .45s var(--ease);
}
.g-item:hover span, .g-item:focus-visible span { opacity: 1; transform: none; }
.gal-note { margin-top: 22px; font-size: 12px; color: #81796f; }

.lb {
  position: fixed; inset: 0; z-index: 120; display: grid; grid-template-rows: auto 1fr auto; background: #050505f7;
  opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
}
.lb.open { opacity: 1; visibility: visible; transition: opacity .4s, visibility 0s; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 18px var(--pad); }
.lb-count { font-size: 11px; letter-spacing: .3em; color: var(--gold); font-variant-numeric: tabular-nums; }
.lb-top-actions { display: flex; gap: 10px; align-items: center; }
.lb-fig { position: relative; margin: 0; display: grid; grid-template: minmax(0, 1fr) / minmax(0, 1fr); place-items: center; padding: 0 clamp(16px, 7vw, 120px); min-height: 0; touch-action: pan-y; }
.lb-fig img { grid-area: 1 / 1; max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .35s; }
.lb-fig img.loading { opacity: .25; }
.lb-cap { padding: 18px var(--pad) 26px; text-align: center; font-size: 14px; color: #d5ccc0; min-height: 70px; }
.lb-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--line-2); background: #0a0a0acc; color: var(--gold); font-size: 18px; transition: border-color .3s, background .3s;
}
.lb-arrow:hover { border-color: var(--gold); }
.lb-prev { left: clamp(10px, 2vw, 34px); }
.lb-next { right: clamp(10px, 2vw, 34px); }
.lb-close { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--ink); font-size: 16px; }
body.lb-lock { overflow: hidden; }

/* ——— История ——— */
.tl-wrap { position: relative; }
.tl {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 23%); gap: 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 0 0 6px; margin: 0; list-style: none;
  background: linear-gradient(#d5a67055, #d5a67055) 0 7px / 100% 1px no-repeat local; overscroll-behavior-x: contain;
}
.tl::-webkit-scrollbar { display: none; }
.tl-item { position: relative; scroll-snap-align: start; padding: 40px 30px 10px 0; list-style: none; }
.tl-item::before { content: ""; position: absolute; top: 4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 16px var(--gold); }
.tl-year { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(30px, min(3vw, 5.4vh), 50px); color: var(--gold-soft); letter-spacing: -.02em; line-height: 1.05; white-space: nowrap; }
.tl-item h3 { margin: 14px 0 0; font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.tl-item p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.7; color: #bdb4a8; font-weight: 300; }
.tl-mark { color: var(--gold); font-size: 11px; margin-left: 4px; cursor: help; }
.tl-nav { display: flex; gap: 8px; }
.tl-nav button { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold); transition: border-color .3s, opacity .3s; }
.tl-nav button:hover { border-color: var(--gold); }
.tl-nav button:disabled { opacity: .3; }
.tl-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: clamp(28px, 3vw, 44px); }
.tl-head .m-head { margin-bottom: 0; }
.tl-end { margin: 40px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2vw, 32px); color: var(--gold-soft); }
.tl-finale { position: relative; margin: 48px 0 0; aspect-ratio: 1920 / 1084; overflow: hidden; background: #0b0b0b; }
.tl-finale img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tl-finale::after { content: ""; position: absolute; inset: 0; background: linear-gradient(#07070700 45%, #070707d9); pointer-events: none; }
.tl-finale .tl-end { position: absolute; left: clamp(20px, 3vw, 44px); right: clamp(20px, 3vw, 44px); bottom: clamp(18px, 3vw, 40px); z-index: 1; margin: 0; text-shadow: 0 2px 18px #000; }
.m-cover { margin: 0 0 clamp(28px, 4vh, 44px); }
.m-cover img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 1084; object-fit: cover; background: #0b0b0b; }
.m-cover figcaption { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #a99f93; font-weight: 300; }
.card.has-img { overflow: hidden; }
.card .card-img, .mod .mod-ph { margin: -28px -26px 20px; }
.card .card-img .ph-cap, .mod .mod-ph .ph-cap { padding: 0 26px; min-height: 52px; align-content: start; }

/* ——— Фото в карточках ——— */
.ph { margin: 0; }
.ph-frame { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0b; }
.ph-open { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ph-open img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.94); transition: transform 1.2s var(--ease), filter .6s; }
.ph-open:hover img { transform: scale(1.04); filter: none; }
.ph-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.ph-more { position: absolute; top: 10px; right: 10px; padding: 5px 9px; border: 1px solid #d5a67055; border-radius: 999px; background: #070707cc; font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-soft); pointer-events: none; }
.ph-cap { display: grid; gap: 3px; margin: 10px 0 0; font-size: 12px; line-height: 1.5; color: #a99f93; }
.ph-cap small { font-size: 10.5px; letter-spacing: .03em; color: #7a7268; }
.ph-cap a, .cmp-ph a, .trunk-inset a { color: #b5ab9e; text-decoration: underline; text-decoration-color: #ffffff2a; text-underline-offset: 2px; }
.ph-cap a:hover, .cmp-ph a:hover, .trunk-inset a:hover { color: var(--gold-soft); }
.ph-none .ph-frame { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 100%, #1b1410 0%, #0b0b0b 62%); }
.ph-sil { width: 58%; height: auto; margin-bottom: 8%; fill: none; stroke: #d5a67038; stroke-width: 3; stroke-linejoin: round; }
.ph-none-k { position: absolute; left: 0; right: 0; bottom: 13%; text-align: center; font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: #81796f; }
.ph-none .ph-cap span { color: #7a7268; }
.hl-ph .ph-frame { aspect-ratio: 3 / 2; }
.tl-ph { margin-top: 18px; }
.tl-ph .ph-frame { aspect-ratio: 3 / 2; }
.world-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.world-strip:empty { display: none; }
.world-ph .ph-frame { aspect-ratio: 16 / 9; }
.hl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: center; }
.hl-split .hl-grid { grid-template-columns: 1fr 1fr; }
.hl-split .hl { padding: 28px 18px 22px 0; border-right: 0; }
.hl-split .hl + .hl { padding-left: 0; }
.hl-split .hl:nth-child(2n) { padding-left: 22px; border-left: 1px solid var(--line); }
.hl-split .hl:nth-child(n + 3) { border-top: 1px solid var(--line); }
.hl-split .hl-val b { font-size: clamp(40px, min(3.6vw, 7vh), 68px); }
.trunk-inset {
  position: absolute; right: 14px; bottom: 14px; z-index: 2; width: 36%; margin: 0; background: #0b0b0b; border: 1px solid #d5a67055; box-shadow: 0 18px 40px #000a;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity .5s var(--ease), transform .7s var(--ease), visibility 0s .7s;
}
.trunk-photo.is-folded .trunk-inset { opacity: 1; visibility: visible; transform: none; transition: opacity .6s var(--ease) .35s, transform .8s var(--ease) .35s, visibility 0s; }
.trunk-inset .ph-open { height: auto; aspect-ratio: 3 / 2; overflow: hidden; }
.trunk-frames .trunk-inset img { position: static; width: 100%; height: 100%; opacity: 1; transform: none; object-fit: cover; }
.trunk-inset figcaption { display: grid; gap: 2px; padding: 6px 8px 7px; font-size: 10.5px; line-height: 1.35; color: #cfc6ba; }
.trunk-inset figcaption small { font-size: 9px; color: #8f877d; }
.cmp-ph { margin: 0; max-width: 240px; }
.cmp-ph .ph-open { aspect-ratio: 4 / 3; overflow: hidden; }
.cmp-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cmp-ph figcaption { margin-top: 6px; font-size: 10.5px; line-height: 1.4; color: #7a7268; }
.cmp-nophoto { font-size: 12px; color: #7a7268; }
.lb-cap p { margin: 0; }
.lb-credit { display: block; margin-top: 6px; font-size: 11.5px; color: #8f877d; }
.lb-credit a { color: #d5ccc0; text-decoration: underline; text-decoration-color: #ffffff33; text-underline-offset: 2px; }
.lb.single .lb-arrow { display: none; }
.g-item span small { display: block; margin-top: 4px; font-size: 10px; letter-spacing: .04em; opacity: .7; }
.sources + .sources { margin-top: 16px; }
.src-note { margin: 14px 0 0; max-width: 860px; font-size: 12px; line-height: 1.6; color: #8a8278; }

/* ——— Мир и культура ——— */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { padding: 28px 26px; background: var(--card); border: 1px solid var(--line); transition: border-color .35s; }
.card:hover { border-color: #d5a67044; }
.card h3 { margin: 0; font-size: clamp(20px, 1.7vw, 26px); font-weight: 700; letter-spacing: -.03em; line-height: 1.2; }
.card .card-k { display: block; margin-bottom: 14px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--gold); }
.card p { margin: 12px 0 0; font-size: 13.5px; line-height: 1.7; color: #bdb4a8; font-weight: 300; }
.card .card-n { font-family: var(--serif); font-style: italic; font-size: 40px; color: #d5a67033; line-height: 1; display: block; margin-bottom: 10px; }
.world-line { margin: 30px 0 0; font-size: 14px; color: #bdb4a8; line-height: 1.7; }

/* ——— Тест-драйв ——— */
.testdrive { overflow: hidden; }
.td-bg { position: absolute; inset: 0; background: url("assets/gen/nature-night-field-stars-wide.webp") 78% 50% / cover no-repeat; }
.td-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070707 0%, #070707f2 34%, #070707b3 50%, #07070700 70%), linear-gradient(#070707 0%, #07070700 18%, #07070700 82%, #070707 100%); }
.td { position: relative; display: grid; grid-template-columns: minmax(0, 600px) 1fr; column-gap: clamp(32px, 5vw, 96px); align-items: start; }
.td > * { grid-column: 1; }
.td-form { padding: clamp(24px, 3vw, 40px); background: #0c0a09e8; border: 1px solid var(--line-2); backdrop-filter: blur(6px); }
.td-field { margin-bottom: 20px; }
.td-field > label:not(.td-radio):not(.td-check), .td-field > .td-legend { display: block; margin-bottom: 9px; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #a79f94; }
.td-field input[type="text"], .td-field select {
  width: 100%; padding: 14px 16px; background: #070707; border: 1px solid var(--line-2); border-radius: 0; color: var(--ink);
  font: 400 15px var(--sans); transition: border-color .3s;
}
.td-field input[type="text"]:focus, .td-field select:focus { outline: none; border-color: var(--gold); }
.td-field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
fieldset.td-field { border: 0; padding: 0; margin: 0 0 20px; }
.td-radio, .td-check { display: flex; gap: 12px; align-items: flex-start; padding: 8px 0; font-size: 14px; color: #d5ccc0; cursor: pointer; line-height: 1.45; }
.td-radio input, .td-check input { accent-color: var(--gold); width: 18px; height: 18px; margin: 1px 0 0; flex: none; }
.td-err { display: none; margin-top: 7px; font-size: 12px; color: #ff8a7a; }
.td-field.invalid .td-err { display: block; }
.td-field.invalid input[type="text"] { border-color: #c4102f; }
.td-disc { margin: 16px 0 0; font-size: 11.5px; color: #7f776d; }
.td-success { text-align: left; padding: 10px 0; }
.td-success[hidden] { display: none; }
.td-success .td-ok { width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); display: grid; place-items: center; color: var(--gold); font-size: 22px; }
.td-success h3 { margin: 24px 0 0; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.04em; }
.td-success p { margin: 14px 0 0; font-size: 15px; line-height: 1.7; color: #cfc6ba; }

/* ——— Материалы ——— */
.dl { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; }
.dl-card { padding: 30px 28px; background: var(--card); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.dl-card h3 { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.dl-card p { margin: 0; font-size: 13px; color: #9d958a; }
.dl-card .btn { align-self: flex-start; margin-top: auto; }
.dl-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 6px; }
.dl-th { position: relative; margin: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0c; }
.dl-th:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.dl-wall { container-type: inline-size; }
@container (min-width: 600px) {
  .dl-wall .dl-thumbs { grid-template-columns: repeat(6, 1fr); }
}
.dl-th-open { display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in; }
.dl-th-open:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }
.dl-th img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), filter .4s; filter: brightness(.85); }
.dl-th:hover img { transform: scale(1.08); filter: brightness(1); }
.dl-th-dl {
  position: absolute; right: 4px; bottom: 4px; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%;
  background: #070707d9; border: 1px solid #d5a67066; color: var(--gold); font-size: 12px; line-height: 1; text-decoration: none;
  opacity: 0; transition: opacity .3s, background .3s, color .3s;
}
.dl-th:hover .dl-th-dl, .dl-th-dl:focus-visible { opacity: 1; }
.dl-th-dl:hover, .dl-th-dl:focus-visible { background: var(--gold); color: #140d08; outline: none; }
@media (hover: none) { .dl-th-dl { opacity: 1; } }

.seg-sm { align-self: flex-start; }
.seg-sm button { padding: 9px 14px; font-size: 10px; letter-spacing: .12em; }
.dl-sheet {
  flex: 1; display: flex; flex-direction: column; padding: 16px 18px 12px; background: #f1ece3; color: #17130f;
  box-shadow: 0 28px 50px -30px #000, inset 0 0 0 1px #00000014;
}
.ps-top { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 9px; border-bottom: 1.5px solid #17130f; font-size: 9.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #7a6a58; }
.dl-pass { container-type: inline-size; }
.ps-img { margin: 12px 0 0; aspect-ratio: 2 / 1; overflow: hidden; background: #0b0b0b; }
.ps-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dl-card .ps-name { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin: 12px 0 0; font-size: 11.5px; color: #6b5f52; }
.ps-name b { font-size: 21px; font-weight: 800; letter-spacing: -.03em; color: #17130f; }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; margin: 10px 0 0; }
.ps-grid div { padding: 7px 0; border-top: 1px solid #17130f1f; }
.ps-grid dt { font-size: 9px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: #857767; }
.ps-grid dd { margin: 2px 0 0; font-size: 13px; font-weight: 700; color: #17130f; }
.dl-sheet.swap .ps-name, .dl-sheet.swap .ps-grid { animation: panelIn .5s var(--ease); }
@container (min-width: 470px) {
  .ps-grid { grid-template-columns: repeat(3, 1fr); }
  .ps-img { aspect-ratio: 5 / 2; }
}
.dl-pass-act { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
.dl-card .dl-pass-act .btn { margin-top: 0; }
.dl-card .dl-hint { flex: 1 1 180px; font-size: 11.5px; line-height: 1.5; color: #7f776d; }

/* ——— FAQ ——— */
.faq { max-width: 980px; border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left;
  font-size: clamp(16px, 1.3vw, 19px); font-weight: 600; letter-spacing: -.015em; color: var(--ink);
}
.faq-q i { flex: none; position: relative; width: 14px; height: 14px; }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--gold); transition: transform .45s var(--ease); }
.faq-q i::after { transform: rotate(90deg); }
.faq-q[aria-expanded="true"] i::after { transform: rotate(0deg); }
.faq-a { overflow: hidden; height: 0; transition: height .5s var(--ease); }
.faq-a p { margin: 0; padding: 0 60px 26px 0; font-size: 15px; line-height: 1.75; color: #c4bbaf; font-weight: 300; }
.faq-col { min-width: 0; }
@media (min-width: 900px) {
  .faq { max-width: none; display: grid; grid-template-columns: 1fr 1fr; align-items: start; column-gap: clamp(48px, 4.5vw, 64px); border-top: 0; }
  .faq-col { border-top: 1px solid var(--line-2); }
  .faq-a p { padding-right: 34px; }
}

/* ——— Подвал ——— */
.site-foot { padding: 80px var(--pad) 50px; border-top: 1px solid var(--line); background: #050505; }
.foot-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-brand { font-size: 14px; font-weight: 700; letter-spacing: .02em; }
.foot-brand span { color: var(--gold); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-nav a { padding: 8px 0; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #9a9288; transition: color .3s; }
.foot-nav a:hover { color: var(--gold-soft); }
.footnotes { margin: 32px 0 0; padding: 0 0 0 20px; columns: 2; column-gap: 48px; font-size: 12px; line-height: 1.6; color: #8a8278; }
.footnotes li { margin-bottom: 8px; break-inside: avoid; }
.footnotes li:target { color: var(--gold-soft); }
.sources { margin-top: 30px; }
.sources summary { cursor: pointer; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); list-style: none; }
.sources summary::-webkit-details-marker { display: none; }
.sources summary::after { content: " +"; }
.sources[open] summary::after { content: " −"; }
.sources ol { margin: 18px 0 0; padding-left: 20px; columns: 2; column-gap: 48px; font-size: 12px; line-height: 1.6; color: #8a8278; }
.sources li { margin-bottom: 6px; break-inside: avoid; }
.sources a { color: #b5ab9e; text-decoration: underline; text-decoration-color: #ffffff2a; text-underline-offset: 3px; word-break: break-word; }
.sources a:hover { color: var(--gold-soft); }
.foot-year { margin: 40px 0 0; font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.2vw, 34px); color: var(--gold-soft); }
.foot-disc { margin: 18px 0 0; max-width: 980px; font-size: 11.5px; line-height: 1.7; color: #6f675e; }
.foot-cred { margin: 14px 0 0; font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: #5d564e; }
.foot-studio { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 34px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-studio-label { font-size: 10px; font-weight: 600; letter-spacing: .28em; text-transform: uppercase; color: #8a8278; }
.foot-studio-name { font-family: var(--serif); font-style: italic; font-size: 17px; letter-spacing: .01em; color: var(--gold); transition: color .35s, text-shadow .35s; }
.foot-studio-link { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; color: inherit; text-decoration: none; border-radius: 2px; }
.foot-studio-link:hover .foot-studio-name, .foot-studio-link:focus-visible .foot-studio-name { color: var(--gold-soft); text-shadow: 0 0 18px #d5a67055; }
.foot-studio-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }

/* ——— Адаптив ——— */
.hl-hero { position: relative; margin: calc(-1 * var(--sec-pad)) calc(-1 * var(--pad)) clamp(28px, 4vh, 48px); background: #050505; }
.hl-hero-img { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 817; object-fit: cover; }
.hl-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #070707 0%, #070707d9 26%, #07070700 46%), linear-gradient(#07070700 70%, #070707); pointer-events: none; }
.hl-hero > .m-wrap { position: absolute; inset: 0; z-index: 1; display: flex; align-items: center; padding: 0 var(--pad); }
.hl-hero .m-head { max-width: min(560px, 40%); margin: 0; }
.hs-thumb { margin: 22px 0 0; aspect-ratio: 16 / 10; overflow: hidden; background: #0b0b0b; }
.hs-thumb[hidden] { display: none; }
.hs-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dl-main { display: grid; gap: 12px; }
.dl-hero { margin: 0; aspect-ratio: 1920 / 1084; overflow: hidden; position: relative; background: #0b0b0b; }
.dl-hero img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dl-hero figcaption { position: absolute; left: 14px; bottom: 10px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: #d6cdc1; text-shadow: 0 1px 10px #000; }
.dl-links { display: flex; flex-wrap: wrap; gap: 10px; }
.dl-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 40px; padding: 9px 16px; border: 1px solid #d5a67055; color: var(--gold-soft); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-decoration: none; transition: background .3s, color .3s, border-color .3s; }
.dl-links a:hover, .dl-links a:focus-visible, .dl-links a.btn-solid { background: var(--gold); border-color: var(--gold); color: #140d08; }
.dl-links a.btn-solid:hover, .dl-links a.btn-solid:focus-visible { background: var(--gold-soft); border-color: var(--gold-soft); }
.dl-links a.btn-solid b { color: #140d08; }
.dl-links a small { font-size: 10px; letter-spacing: .08em; text-transform: none; opacity: .75; }
.dl-set { display: grid; gap: 10px; margin-top: auto; }
.dl-card .dl-more { margin-top: 4px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7c746a; }
.foot-ai { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: #6f675e; }
@media (max-width: 1100px) {
  .hs-layout { grid-template-columns: 1fr; }
  .hs-card { min-height: 0; }
  .mods, .cards { grid-template-columns: repeat(2, 1fr); }
  .colors, .trunk, .td { grid-template-columns: 1fr; }
  .trunk-photo { position: relative; top: auto; }
  .testdrive { padding-top: calc(min(52vw, 520px) + 8px); }
  .td-bg { bottom: auto; height: min(56vw, 560px); background-position: 74% 50%; }
  .td-bg::after { background: linear-gradient(#070707 0%, #07070700 22%, #07070700 55%, #070707 100%); }
  .sw-grid { grid-template-columns: repeat(6, 1fr); }
}
@media (max-width: 820px) {
  :root { --subnav-h: 56px; }
  .subnav { gap: 14px; }
  .subnav-brand { display: none; }
  .subnav-cta { padding: 10px 14px; letter-spacing: .14em; }
  .subnav-cta b { display: none; }
  .hl-grid { grid-template-columns: 1fr 1fr; }
  .hl { padding: 26px 14px 18px 0; border-right: 0; }
  .hl + .hl { padding-left: 0; }
  .hl:nth-child(2n) { padding-left: 14px; border-left: 1px solid var(--line); }
  .hl:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .hl-val b { font-size: 40px; }
  .hs-dot { width: 30px; height: 30px; margin: -15px 0 0 -15px; }
  .hs-dot::before { inset: 5px; }
  .hs-dot span { font-size: 8.5px; }
  .hs-tip { display: none; }
  .hs-card { padding: 22px 20px; }
  .front-pair { gap: 8px; }
  .m-sec { --sec-pad: clamp(48px, 7vh, 64px); }
  .m-head { margin-bottom: 30px; }
  .site-foot { padding-top: 56px; padding-bottom: 40px; }
  .hl-hero-img { aspect-ratio: 3 / 2; object-position: 96% 50%; }
  .hl-hero::after { bottom: auto; aspect-ratio: 3 / 2; background: linear-gradient(#07070700 55%, #070707); }
  .hl-hero > .m-wrap { position: relative; inset: auto; display: block; padding: 6px var(--pad) 0; }
  .hl-hero .m-head { max-width: none; }
  .tl-finale { aspect-ratio: 4 / 3; }
  .tl-finale img { object-position: 80% 50%; }
  .hl-split { grid-template-columns: 1fr; gap: 26px; }
  .world-strip { grid-template-columns: 1fr; }
  .trunk-inset { right: 8px; bottom: 8px; width: 46%; }
  .trunk-inset figcaption span { display: none; }
  .card .card-img .ph-cap, .mod .mod-ph .ph-cap { min-height: 0; }
  .mods, .cards { grid-template-columns: 1fr; }
  .sw-grid { grid-template-columns: repeat(4, 1fr); }
  .gal { grid-template-columns: 1fr 1fr; gap: 8px; }
  .g-item.wide { grid-row: auto; aspect-ratio: 16 / 9; }
  .g-item span { display: none; }
  .tl { grid-auto-flow: row; grid-auto-columns: auto; overflow: visible; scroll-snap-type: none; background: none; border-left: 1px solid #d5a67055; padding-left: 22px; }
  .tl-item { padding: 0 0 34px; }
  .tl-item::before { top: 12px; left: -26px; }
  .tl-nav { display: none; }
  .dl { grid-template-columns: 1fr; }
  .dl-thumbs { grid-template-columns: repeat(3, 1fr); }
  .footnotes, .sources ol { columns: 1; }
  .faq-a p { padding-right: 10px; }
  .m-table th, .m-table td { padding: 13px 12px; font-size: 13px; }
  .m-table tbody th { width: 42%; }
  .cmp-tray { border-radius: 18px; flex-direction: column; align-items: stretch; padding: 14px; }
  .lb-arrow { top: auto; bottom: -62px; transform: none; width: 46px; height: 46px; }
  .lb-fig { padding: 0 8px; }
  .lb-cap { padding-bottom: 80px; }
}
@media (prefers-reduced-motion: reduce) {
  .hs-dot::before { animation: none; }
  .m-panel.is-in, .hs-card .hs-body.swap { animation: none; }
}

/* ——— Печать паспорта: отдельный лист .print-sheet, всё остальное скрыто ——— */
.print-sheet { display: none; }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  html:has(body.printing-specs) { background: #fff !important; }
  body.printing-specs { background: #fff !important; color: #111; height: auto !important; overflow: visible !important; }
  body.printing-specs > *:not(.print-sheet) { display: none !important; }
  body.printing-specs .print-sheet { display: block; }
  .print-sheet { font-family: var(--sans); font-size: 8.5pt; line-height: 1.35; color: #111; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .pr-top { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 2mm; border-bottom: 1.5pt solid #111; font-size: 7pt; letter-spacing: .22em; text-transform: uppercase; color: #6d6156; }
  .pr-top b { font-size: 10pt; letter-spacing: .04em; color: #111; }
  .pr-top b span { color: #a8762f; margin-left: 1mm; }
  .print-sheet h1 { margin: 4mm 0 1mm; font-size: 18pt; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
  .pr-sub { margin: 0 0 4mm; font-size: 8.5pt; color: #555; }
  .pr-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 5mm; align-items: center; break-inside: avoid; }
  .pr-hero img { display: block; width: 100%; height: auto; }
  .pr-ver { margin: 0 0 1.5mm; font-size: 14pt; font-weight: 800; letter-spacing: -.02em; }
  .pr-ver span { display: block; font-size: 8pt; font-weight: 400; letter-spacing: 0; color: #666; }
  .pr-key { display: grid; grid-template-columns: 1fr 1fr; gap: 0 4mm; margin: 0; }
  .pr-key div { padding: 1.3mm 0; border-top: .5pt solid #ccc; }
  .pr-key dt { font-size: 6.2pt; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #777; }
  .pr-key dd { margin: .4mm 0 0; font-size: 9.5pt; font-weight: 700; }
  .pr-part { margin: 5mm 0 0; font-size: 11pt; font-weight: 800; letter-spacing: -.01em; break-after: avoid; }
  .pr-part small { margin-left: 2mm; font-size: 7.5pt; font-weight: 600; color: #a8762f; }
  .pr-group { break-inside: avoid; }
  .print-sheet h2 { margin: 3mm 0 1mm; padding-bottom: .8mm; border-bottom: 1pt solid #111; font-size: 7.5pt; letter-spacing: .14em; text-transform: uppercase; break-after: avoid; }
  .print-sheet table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: 8pt; }
  .print-sheet th, .print-sheet td { padding: .9mm 1.6mm; border-bottom: .5pt solid #ddd; text-align: left; vertical-align: top; }
  .print-sheet th:first-child { width: 24%; }
  .print-sheet tbody th { font-weight: 400; color: #555; }
  .print-sheet thead th { font-size: 6.5pt; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #555; }
  .print-sheet .on { background: #f3eadc; color: #111; font-weight: 700; }
  .print-sheet sup { font-size: 5.5pt; color: #a8762f; margin-left: .3mm; }
  .pr-gnote { margin: 1mm 0 0; font-size: 6.8pt; color: #666; }
  .pr-foot { margin-top: 5mm; padding-top: 2mm; border-top: .5pt solid #bbb; columns: 2; column-gap: 6mm; font-size: 6.4pt; line-height: 1.45; color: #666; }
  .pr-foot p { margin: 0 0 1mm; }
  .pr-foot li { break-inside: avoid; }
  .pr-foot ol { margin: 0 0 1.2mm; padding-left: 4mm; }
  .pr-foot .pr-studio { margin-top: 2mm; color: #888; letter-spacing: .06em; }
}

/* ——— Моменты счастья ——— */
.mo-filters { display: flex; flex-wrap: wrap; gap: 4px 22px; margin-bottom: 14px; }
.mo-filter { position: relative; padding: 8px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: #8a8278; transition: color .3s; }
.mo-filter sup { margin-left: 6px; font-size: 8.5px; letter-spacing: .04em; color: #6c655d; font-variant-numeric: tabular-nums; }
.mo-filter::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.mo-filter:hover { color: var(--ink); }
.mo-filter[aria-pressed="true"] { color: var(--gold); }
.mo-filter[aria-pressed="true"]::after { transform: none; }
.mo-tabs {
  --fl: 0px; --fr: 0px;
  display: flex; gap: 8px; margin-bottom: clamp(26px, 3.4vh, 40px); padding: 3px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding-inline: 3px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
  mask-image: linear-gradient(90deg, transparent, #000 var(--fl), #000 calc(100% - var(--fr)), transparent);
}
.mo-tabs.fade-l { --fl: 64px; }
.mo-tabs.fade-r { --fr: 64px; }
.mo-tabs::-webkit-scrollbar { display: none; }
.mo-tab[hidden], .mo-card[hidden] { display: none; }
.mo-tab {
  flex: none; display: grid; gap: 4px; scroll-snap-align: start; padding: 12px 18px 11px; text-align: left; border: 1px solid var(--line-2); border-radius: 14px; color: #a79f94;
  transition: border-color .35s, background .35s var(--ease), color .35s;
}
.mo-tab b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); transition: color .35s; }
.mo-tab span { font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.mo-tab:hover { border-color: #d5a67066; }
.mo-tab[aria-selected="true"] { background: var(--gold); border-color: var(--gold); color: #4a3519; }
.mo-tab[aria-selected="true"] b { color: #140d08; }
.mo-tab:focus-visible, .mo-nav button:focus-visible, .mo-more:focus-visible, .mo-filter:focus-visible, .mo-all:focus-visible, .mo-card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.mo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 30px 18px; margin-bottom: 8px; }
.mo-grid[hidden], .mo.is-grid .mo-stage { display: none; }
.mo-card { display: grid; align-content: start; gap: 6px; text-align: left; color: #8a8278; }
.mo-card img { display: block; width: 100%; aspect-ratio: 4 / 5; height: auto; object-fit: cover; margin-bottom: 8px; background: #0b0b0b; filter: saturate(.8) brightness(.82); transition: filter .45s var(--ease); }
.mo-card:hover img, .mo-card[aria-current="true"] img { filter: none; }
.mo-card[aria-current="true"] img { outline: 1px solid var(--gold); outline-offset: 4px; }
.mo-card-k { font-size: 9px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.mo-card b { font-size: 14px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); }
.mo-card-t { font-family: var(--serif); font-style: italic; font-size: 15px; line-height: 1.35; color: #d4ccc1; }

.mo-stage { display: grid; }
.mo-panel {
  grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4.6vw, 80px); align-items: start;
  opacity: 0; visibility: hidden; transition: opacity .7s var(--ease), visibility 0s linear .7s;
}
.mo-panel.is-on { opacity: 1; visibility: visible; transition: opacity .7s var(--ease), visibility 0s; }
.mo-panel:focus { outline: none; }
.mo-fig { position: sticky; top: calc(var(--subnav-h) + 24px); margin: 0; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100svh - var(--subnav-h) - 48px); overflow: hidden; background: #0b0b0b; }
.mo-fig img { display: block; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.8s var(--ease); }
.mo-panel.is-on .mo-fig img { transform: none; }
.mo-fig figcaption { position: absolute; left: 14px; bottom: 12px; font-size: 9px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #ffffffa6; text-shadow: 0 1px 8px #000c; }

.mo-body { max-width: 64ch; padding-top: 4px; }
.mo-k { margin: 0 0 18px; font-size: 10.5px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }
.mo-k::before { content: ""; display: inline-block; width: 28px; height: 1px; margin-right: 14px; vertical-align: middle; background: var(--gold); }
.mo-title { margin: 0; font-size: clamp(26px, 2.5vw, 42px); font-weight: 800; letter-spacing: -.045em; line-height: 1.07; }
.mo-who { margin: 14px 0 0; font-size: 13px; line-height: 1.55; color: #a99f93; font-weight: 300; }
.mo-who b { color: var(--ink); font-weight: 600; }
.mo-quote { margin: 22px 0 0; padding: 2px 0 2px 16px; border-left: 1px solid #d5a67066; }
.mo-quote p { margin: 0; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.5; color: #d9cbb8; }
.mo-quote cite { display: block; margin-top: 8px; font-style: normal; font-size: 9.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: #8a8278; }
.mo-text { margin-top: 22px; }
.mo-text p { margin: 0 0 14px; font-size: clamp(14.5px, 1.05vw, 16px); line-height: 1.75; color: #d4ccc1; font-weight: 300; }
.mo-text p:last-child { margin-bottom: 0; }
.mo-more { display: none; }
.mo-moment {
  margin: 28px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line-2);
  font-family: var(--serif); font-style: italic; font-size: clamp(21px, 1.9vw, 30px); line-height: 1.3; letter-spacing: -.01em; color: var(--gold-soft);
}
.mo-moment span { display: block; margin-bottom: 12px; font-family: var(--sans); font-style: normal; font-size: 10px; font-weight: 700; letter-spacing: .32em; text-transform: uppercase; color: var(--gold); }

.mo-bar { display: flex; align-items: center; gap: 22px; margin-top: clamp(26px, 3.4vh, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.mo-nav { display: flex; gap: 8px; }
.mo-nav button { width: 46px; height: 46px; border: 1px solid var(--line-2); border-radius: 50%; color: var(--gold); font-size: 15px; transition: border-color .3s, background .3s; }
.mo-nav button:hover { border-color: var(--gold); background: #d5a67014; }
.mo-count { font-size: 12px; letter-spacing: .2em; color: #8a8278; font-variant-numeric: tabular-nums; }
.mo-count b { color: var(--ink); font-weight: 700; }
.mo-all {
  display: inline-flex; align-items: center; gap: 12px; margin-left: auto; padding: 0 20px; height: 46px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); white-space: nowrap; transition: border-color .3s, background .3s;
}
.mo-all i {
  flex: none; width: 12px; height: 12px;
  background: linear-gradient(var(--gold) 0 0) 0 0 / 5px 5px no-repeat, linear-gradient(var(--gold) 0 0) 100% 0 / 5px 5px no-repeat,
    linear-gradient(var(--gold) 0 0) 0 100% / 5px 5px no-repeat, linear-gradient(var(--gold) 0 0) 100% 100% / 5px 5px no-repeat;
}
.mo-all:hover, .mo-all[aria-expanded="true"] { border-color: var(--gold); background: #d5a67014; }
.mo-note { margin-top: 26px; }

@media (max-width: 820px) {
  .mo-tab { padding: 10px 14px 9px; border-radius: 12px; }
  .mo-panel { grid-template-columns: 1fr; gap: 22px; }
  .mo-fig { position: relative; top: auto; aspect-ratio: 1 / 1; max-height: none; }
  .mo-fig img { object-position: 50% 62%; }
  .mo-body { max-width: none; }
  .mo-body:not(.is-open) .mo-text { max-height: 15.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
  .mo-more { display: inline-flex; align-items: center; gap: 10px; margin-top: 6px; padding: 12px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
  .mo-more b { font-weight: 400; transition: transform .35s var(--ease); }
  .mo-body.is-open .mo-more b { transform: rotate(180deg); }
  .mo-moment { margin-top: 18px; }
  .mo-bar { gap: 14px; }
  .mo-filters { gap: 2px 16px; }
  .mo-tabs.fade-l { --fl: 36px; }
  .mo-tabs.fade-r { --fr: 36px; }
  .mo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .mo-card-t { font-size: 14px; }
  .mo-all { padding: 0 16px; gap: 10px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) {
  .mo-panel, .mo-panel.is-on { transition: none; }
  .mo-fig img, .mo-panel.is-on .mo-fig img { transform: none; transition: none; }
}

/* ——— Глава 06 — Народный тюнинг ——— */
.tun-block { margin-top: clamp(90px, 12vh, 150px); scroll-margin-top: calc(var(--subnav-h) + 20px); }
.tun-title { margin: 0; font-size: clamp(28px, min(3.3vw, 6vh), 58px); font-weight: 800; letter-spacing: -.045em; line-height: 1.06; }
.tun-title em { color: var(--gold-soft); font-weight: 400; letter-spacing: -.03em; }
.tun-intro-head .m-lead + .m-lead { margin-top: 14px; }
.tun-ico { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tun-rail-era:focus-visible, .tun-locate:focus-visible, .tun-media:focus-visible, .tun-pop-btn:focus-visible, .tun-tg:focus-visible, .tun-cfg-eras .m-chip:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 3px;
}

/* Бейджи достоверности */
.tun-badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px 4px 8px; border: 1px solid #ffffff26; border-radius: 999px;
  font-size: 9px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; line-height: 1.35; color: #c9bba9;
}
.tun-badge::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.tun-badge-confirmed { color: var(--gold); border-color: #d5a67066; background: #d5a67010; }
.tun-badge-modern { color: #ec8c98; border-color: #c4102f66; background: #c4102f12; }
.tun-warn { margin: 12px 0 0; padding-left: 10px; border-left: 2px solid #d5a67077; color: var(--gold-soft) !important; font-size: 12.5px !important; line-height: 1.55 !important; }

/* 1. Смена эпох */
.tun-morph { position: relative; margin-top: clamp(28px, 4vh, 48px); }
.tun-morph.is-scrub { height: 300vh; }
.tun-at { position: absolute; left: 0; width: 1px; height: 1px; pointer-events: none; scroll-margin-top: var(--subnav-h); }
.tun-morph-stick { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.is-scrub .tun-morph-stick { position: sticky; top: var(--subnav-h); height: calc(100vh - var(--subnav-h)); height: calc(100svh - var(--subnav-h)); padding: 2vh 0; }
.tun-morph-stage {
  position: relative; width: 100%; max-width: 1100px; margin: 0 auto; aspect-ratio: 3 / 2; overflow: hidden; background: #050505;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 6%, #000 90%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent), linear-gradient(transparent, #000 6%, #000 90%, transparent);
  mask-composite: intersect;
}
.is-scrub .tun-morph-stage { max-width: min(1100px, calc((100svh - var(--subnav-h) - 200px) * 1.5)); }
.tun-morph-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.tun-morph:not(.is-scrub) .tun-morph-img { transition: opacity .6s var(--ease); }
.tun-rail { position: relative; width: 100%; max-width: 760px; margin: 0 auto; }
.tun-rail-line { position: absolute; left: 12.5%; right: 12.5%; top: 9px; height: 1px; background: var(--line-2); }
.tun-rail-line i { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); box-shadow: 0 0 10px #d5a67088; }
.tun-rail-eras { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); }
.tun-rail-era { display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none; color: #8f877d; border-radius: 4px; transition: color .3s; }
.tun-rail-era::before {
  content: ""; width: 9px; height: 9px; margin: 5px 0 4px; border-radius: 50%; background: #070707; border: 1px solid #ffffff40;
  transition: background .35s, border-color .35s, box-shadow .35s;
}
.tun-rail-era b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(20px, 1.8vw, 30px); line-height: 1; color: #a99f93; transition: color .35s; }
.tun-rail-era span { font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.tun-rail-era:hover { color: var(--ink); }
.tun-rail-era.on { color: var(--ink); }
.tun-rail-era.on b { color: var(--gold-soft); }
.tun-rail-era.on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 14px var(--gold); }
.tun-morph-cap { max-width: 760px; min-height: 3.3em; margin: 0 auto; text-align: center; font-size: 14px; line-height: 1.6; color: #bdb4a8; font-weight: 300; }
.tun-morph-cap b { margin-right: 6px; color: var(--ink); font-weight: 600; }
.tun-morph-note { margin: 18px auto 0; text-align: center; }
.tun-morph:not(.is-scrub) + .tun-morph-note .tun-morph-hint { display: none; }

/* 2. Хотспоты и карточки */
.tun-hs { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; scroll-margin-top: calc(var(--subnav-h) + 20px); }
.tun-hs-stage { position: relative; min-width: 0; aspect-ratio: 3 / 2; overflow: hidden; background: #0b0b0b; }
.tun-hs-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .7s var(--ease); }
.tun-hs-img.on { opacity: 1; }
.tun-hs-view { position: absolute; left: 14px; bottom: 12px; z-index: 2; padding: 4px 9px; border-radius: 2px; background: #0c0907b3; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: #d6cdc1; pointer-events: none; }
.tun-hs-card { min-height: 0; }
.tun-hs-card .tun-badge { margin-top: 20px; }
.tun-hs-card h3 { margin-top: 14px; }
.tun-hs-thumb { aspect-ratio: 4 / 3; }
.tun-hs-icon { margin: 22px 0 0; display: grid; place-items: center; aspect-ratio: 16 / 9; background: radial-gradient(120% 90% at 50% 100%, #1d1510 0%, #0b0b0b 62%); color: var(--gold); }
.tun-hs-icon .tun-ico { width: 64px; height: 64px; stroke-width: 1; }

.tun-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; margin-top: 28px; }
.tun-card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); transition: border-color .35s; }
.tun-card:hover { border-color: #d5a67044; }
.tun-card.is-on { border-color: var(--gold); }
.tun-card[hidden] { display: none; }
.tun-media { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; padding: 0; overflow: hidden; background: #0b0b0b; cursor: zoom-in; }
.tun-media img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(.94); transition: transform 1.2s var(--ease), filter .6s; }
button.tun-media:hover img { transform: scale(1.04); filter: none; }
.tun-media.is-icon { display: grid; place-items: center; cursor: default; background: radial-gradient(120% 90% at 50% 100%, #1d1510 0%, #0b0b0b 62%); color: var(--gold); }
.tun-media.is-icon .tun-ico { width: 30%; max-width: 80px; height: auto; stroke-width: 1.1; opacity: .9; }
.tun-media-no { position: absolute; right: 14px; bottom: 4px; font-family: var(--serif); font-style: italic; font-size: 56px; line-height: 1; color: #d5a67024; }
.tun-card-body { flex: 1; display: flex; flex-direction: column; padding: 20px 20px 22px; }
.tun-card-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.tun-no { font-family: var(--serif); font-style: italic; font-size: 26px; line-height: 1; color: var(--gold-soft); }
.tun-card h4 { margin: 14px 0 0; font-size: 18px; font-weight: 700; letter-spacing: -.02em; line-height: 1.25; }
.tun-card p { margin: 10px 0 0; font-size: 13.5px; line-height: 1.65; color: #bdb4a8; font-weight: 300; }
.tun-locate { align-self: flex-start; margin-top: auto; padding: 16px 0 0; font-size: 10px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #a79f94; transition: color .3s; }
.tun-locate b { color: var(--gold); }
.tun-locate:hover { color: var(--ink); }

/* 3. Колёса */
.tun-wheels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tun-wheel { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); }
.tun-wheel-body { flex: 1; padding: 22px 22px 24px; }
.tun-wheel h4 { margin: 16px 0 0; font-size: clamp(24px, 2vw, 32px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.tun-sub { margin: 8px 0 0; font-size: 10.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.tun-wheel p:not(.tun-sub) { margin: 14px 0 0; font-size: 14px; line-height: 1.7; color: #c4bbaf; font-weight: 300; }
.tun-tag { font-size: 9px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #8f877d; }
.tun-pm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 16px; margin: 18px 0 0; padding-top: 14px; border-top: 1px solid var(--line); }
.tun-pm div { display: flex; gap: 8px; }
.tun-pm dt { color: var(--gold); font-weight: 700; }
.tun-pm dd { margin: 0; font-size: 12.5px; line-height: 1.5; color: #a99f93; }
.tun-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin: 34px 0 0; border-top: 1px solid var(--line-2); }
.tun-facts div { padding: 22px 22px 0 0; }
.tun-facts div + div { padding-left: 22px; border-left: 1px solid var(--line); }
.tun-facts dt { font-family: var(--serif); font-style: italic; font-size: clamp(30px, 3vw, 48px); line-height: 1; color: var(--gold-soft); white-space: nowrap; }
.tun-facts dd { margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #bdb4a8; }
.tun-callout { max-width: 860px; margin: 30px 0 0; padding: 18px 22px; border: 1px solid #d5a67033; border-left: 3px solid var(--gold); background: #d5a6700a; font-size: 14px; line-height: 1.7; color: #d4ccc1; }

/* 4. Салон и детали эпохи */
.tun-tabs small { margin-left: 4px; font-size: 9px; letter-spacing: .1em; color: #6f675e; }
.tun-tabs .m-tab[aria-selected="true"] small { color: var(--gold); }
.tun-tabs + .tun-cards { margin-top: 0; }
.tun-pops { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 2vw, 26px); padding: 6px 4px 10px; }
.tun-pop { position: relative; transform: rotate(var(--tilt, 0deg)); transition: transform .55s var(--ease); }
.tun-pop:hover, .tun-pop:focus-within, .tun-pop.is-open { transform: rotate(0deg) translateY(-4px); z-index: 1; }
.tun-pop-btn { display: block; width: 100%; padding: 10px 10px 16px; text-align: left; background: #f1ece3; color: #17130f; box-shadow: 0 22px 40px -22px #000, 0 0 0 1px #00000014; }
.tun-pop-media { display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #0b0b0b; }
.tun-pop-media img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tun-pop-btn:hover .tun-pop-media img { transform: scale(1.05); }
.tun-pop-media.is-icon { display: grid; place-items: center; background: radial-gradient(120% 90% at 50% 100%, #2a1d14 0%, #0b0b0b 66%); color: var(--gold); }
.tun-pop-media.is-icon .tun-ico { width: 40%; height: auto; stroke-width: 1; }
.tun-pop-no { position: absolute; top: 16px; right: 18px; font-family: var(--serif); font-style: italic; font-size: 22px; line-height: 1; color: #f1ece3; text-shadow: 0 1px 8px #000; pointer-events: none; }
.tun-pop-title { display: block; min-height: 2.5em; margin-top: 12px; font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.25; }
.tun-pop-text {
  position: absolute; left: 10px; right: 10px; top: 10px; aspect-ratio: 1 / 1; overflow: hidden; padding: 16px;
  background: #0d0b0af0; color: #d4ccc1; pointer-events: none;
  opacity: 0; visibility: hidden; transform: scale(.96); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
}
.tun-pop.is-open .tun-pop-text { opacity: 1; visibility: visible; transform: none; transition: opacity .35s, transform .45s var(--ease); }
.tun-pop-text p { margin: 12px 0 0; font-size: 13px; line-height: 1.55; font-weight: 300; }
.tun-pop-text .tun-warn { font-size: 11.5px !important; }

/* 5. Гаражная инженерия */
.tun-garage-fig { margin: 0 0 26px; aspect-ratio: 21 / 8; overflow: hidden; background: #0b0b0b; }
.tun-garage-fig img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tun-table-wrap { border-top: 1px solid var(--line-2); }
.tun-table tbody th { width: 24%; color: var(--ink); }
.tun-table td { color: #cfc6ba; font-size: 13.5px; }
.tun-row-t { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.tun-row-t .tun-ico { flex: none; width: 22px; height: 22px; color: var(--gold); }
.tun-table th .tun-badge { margin-top: 10px; }
.tun-table span.tun-warn { display: block; margin-top: 8px; font-size: 12px !important; }
.tun-drive2 { max-width: 860px; margin: 26px 0 0; font-size: 14px; line-height: 1.7; color: #bdb4a8; }
.tun-drive2 a { color: var(--gold-soft); text-decoration: underline; text-decoration-color: #d5a67055; text-underline-offset: 3px; }

/* 6. Конфигуратор */
.tun-cfg { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(300px, 1fr); gap: clamp(24px, 3vw, 48px); align-items: start; }
.tun-cfg-visual { position: sticky; top: calc(var(--subnav-h) + 24px); }
.tun-cfg-stage { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: #050505; }
.tun-cfg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s var(--ease); }
.tun-cfg-img.on { opacity: 1; }
.tun-mk { position: absolute; z-index: 2; width: 0; height: 0; opacity: 0; transform: scale(.6); transition: opacity .35s, transform .45s var(--ease); pointer-events: none; }
.tun-mk.on { opacity: 1; transform: none; }
.tun-mk i { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #d5a67033, 0 0 18px #d5a670aa; }
.tun-mk em {
  position: absolute; left: 13px; top: -10px; padding: 3px 7px; border-radius: 2px; white-space: nowrap;
  font-family: var(--sans); font-style: normal; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #140d08; background: var(--gold);
}
.tun-mk.is-left em { left: auto; right: 13px; }
.tun-cfg-note { margin-top: 14px; }
.tun-cfg-k { margin: 24px 0 10px; font-size: 10px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: #8f877d; }
.tun-cfg-k:first-child { margin-top: 0; }
.tun-cfg-eras { display: flex; flex-wrap: wrap; gap: 8px; }
.tun-cfg-eras b { font-weight: 800; margin-right: 2px; }
.tun-cfg-era-text { min-height: 3.2em; margin: 12px 0 0; font-size: 13px; line-height: 1.6; color: #a99f93; }
.tun-toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.tun-tg {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 13px 9px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 12px; color: #bdb4a8; transition: color .3s, border-color .3s, background .3s;
}
.tun-tg i { width: 13px; height: 13px; border-radius: 50%; border: 1px solid #ffffff40; transition: background .3s, border-color .3s, box-shadow .3s; }
.tun-tg:hover { color: var(--ink); border-color: #d5a67066; }
.tun-tg[aria-pressed="true"] { color: var(--ink); border-color: #d5a670aa; background: #d5a67014; }
.tun-tg[aria-pressed="true"] i { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 10px #d5a670aa; }
.tun-cfg-count { margin: 26px 0 0; font-size: 14px; color: #d4ccc1; }
.tun-cfg-count b { margin: 0 4px; font-size: 28px; font-weight: 800; color: var(--gold-soft); font-variant-numeric: tabular-nums; }
.tun-cfg-count span { display: block; margin-top: 4px; font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: #8f877d; }
.tun-cfg-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.tun-copy-fallback { margin-top: 14px; }
.tun-copy-fallback[hidden] { display: none; }
.tun-copy-fallback label { display: block; margin-bottom: 8px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.tun-copy-fallback textarea { width: 100%; padding: 12px; background: #070707; color: var(--ink); border: 1px solid var(--line-2); font: 400 12.5px/1.5 var(--sans); resize: vertical; }
.tun-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 130; max-width: calc(100vw - 32px); padding: 13px 20px; border: 1px solid #d5a67066; border-radius: 999px;
  background: #15110ef2; color: var(--ink); font-size: 13px; text-align: center; box-shadow: 0 20px 60px #000c;
  opacity: 0; visibility: hidden; transform: translate(-50%, 20px); transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
}
.tun-toast.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s, transform .45s var(--ease); }

@media (max-width: 1100px) {
  .tun-hs { grid-template-columns: minmax(0, 1fr) 280px; gap: 18px; }
  .tun-hs-card { padding: 22px; }
  .tun-hs-card p { font-size: 13.5px; line-height: 1.6; }
  .tun-hs-thumb, .tun-hs-icon { aspect-ratio: 16 / 9; }
  .tun-pops { grid-template-columns: repeat(3, 1fr); }
  .tun-wheel-body { padding: 18px; }
}
@media (max-width: 900px) {
  .tun-cfg { grid-template-columns: minmax(0, 1fr); }
  .tun-cfg-visual { top: var(--subnav-h); z-index: 5; margin: 0 calc(-1 * var(--pad)); padding: 8px var(--pad) 10px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .tun-cfg-note { margin-top: 8px; font-size: 11px; }
}
@media (max-width: 820px) {
  .tun-block { margin-top: 56px; }
  .tun-morph.is-scrub { height: 240vh; }
  .tun-morph:not(.is-scrub) .tun-morph-stage { touch-action: pan-y; }
  .tun-morph-cap { font-size: 13px; }
  .tun-rail-era span { font-size: 8.5px; letter-spacing: .08em; }
  .tun-hs .hs-dot, .tun-hs-card, .tun-hs-view, .tun-locate { display: none; }
  .tun-cards { grid-template-columns: 1fr; gap: 10px; }
  .tun-card { display: grid; grid-template-columns: 104px minmax(0, 1fr); align-items: start; }
  .tun-card .tun-media { aspect-ratio: 1 / 1; margin: 16px 0 0 16px; width: auto; }
  .tun-card .tun-media-no { display: none; }
  .tun-card-body { padding: 16px; }
  .tun-card h4 { margin-top: 10px; font-size: 16px; }
  .tun-card p { font-size: 13px; }
  .tun-wheels { grid-template-columns: 1fr; }
  .tun-facts { grid-template-columns: 1fr; }
  .tun-facts div, .tun-facts div + div { padding: 16px 0; border-left: 0; }
  .tun-facts div + div { border-top: 1px solid var(--line); }
  .tun-pops { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .tun-pop-btn { padding: 7px 7px 12px; }
  .tun-pop-text {
    position: static; display: none; aspect-ratio: auto; overflow: visible; padding: 12px 10px 14px;
    border: 1px solid var(--line-2); border-top: 0; opacity: 1; visibility: visible; transform: none; transition: none;
  }
  .tun-pop.is-open .tun-pop-text { display: block; }
  .tun-pop-text p { margin-top: 8px; font-size: 12px; line-height: 1.5; }
  .tun-pop-text .tun-badge { font-size: 8px; padding: 3px 7px; }
  .tun-pop-title { font-size: 14px; }
  .tun-pop-no { top: 12px; right: 13px; font-size: 18px; }
  .tun-garage-fig { aspect-ratio: 16 / 10; }
  .tun-table thead { display: none; }
  .tun-table, .tun-table tbody, .tun-table tr, .tun-table th, .tun-table td { display: block; width: auto; }
  .tun-table tr { padding: 18px 0; border-bottom: 1px solid var(--line); }
  .tun-table tbody th, .tun-table td { padding: 0; border: 0; }
  .tun-table tbody th { width: auto; margin-bottom: 12px; }
  .tun-table td { margin-top: 10px; }
  .tun-table td::before { content: attr(data-l); display: block; margin-bottom: 3px; font-size: 9.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #8f877d; }
  .tun-cfg-eras { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * var(--pad)); padding: 0 var(--pad); }
  .tun-cfg-eras::-webkit-scrollbar { display: none; }
  .tun-cfg-eras .m-chip { flex: none; }
  .tun-mk em { display: none; }
  .tun-mk i { left: -6px; top: -6px; width: 12px; height: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tun-hs-img, .tun-cfg-img, .tun-mk, .tun-pop, .tun-pop-text, .tun-toast, .tun-media img, .tun-morph-img { transition: none !important; }
}

/* ——— Обои: коллекция 16:9 / 9:16 в «Взять с собой» ——— */
.wp { margin-bottom: 16px; padding: 30px 28px 26px; background: var(--card); border: 1px solid var(--line); scroll-margin-top: calc(var(--subnav-h) + 16px); }
.wp-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 24px; }
.wp-title { margin: 0; font-size: 22px; font-weight: 700; letter-spacing: -.03em; }
.wp-sub { margin: 8px 0 0; max-width: 640px; font-size: 13px; line-height: 1.55; color: #9d958a; }
.wp-link { display: inline-flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 10.5px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-soft); text-decoration: none; white-space: nowrap; }
.wp-link b { font-weight: 400; color: var(--gold); transition: transform .35s var(--ease); }
.wp-link:hover b, .wp-link:focus-visible b { transform: translateX(4px); }
.wp-link:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wp-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px; margin: 22px 0 20px; }
.wp-n { margin-left: 3px; opacity: .6; font-variant-numeric: tabular-nums; }
.wp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 14px; }
.wp-card { container-type: inline-size; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.wp-card[hidden] { display: none; }
.wp-view { position: relative; display: block; width: 100%; padding: 0; aspect-ratio: 16 / 9; overflow: hidden; background: #0c0c0c; cursor: zoom-in; }
.wp-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: transform .9s var(--ease), filter .5s; }
.wp-view .wp-th-p { display: none; }
.wp-view:hover img { transform: scale(1.05); filter: brightness(1); }
.wp-view:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.wp-zoom {
  position: absolute; left: 10px; bottom: 10px; z-index: 1; padding: 6px 10px; border-radius: 999px; background: #070707cc;
  font-size: 9.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ink);
  opacity: 0; transform: translateY(6px); transition: opacity .35s, transform .35s var(--ease);
}
.wp-view:hover .wp-zoom, .wp-view:focus-visible .wp-zoom { opacity: 1; transform: none; }
.wp-meta { display: grid; gap: 8px; }
.wp-name { margin: 0; overflow: hidden; font-size: 14px; font-weight: 600; letter-spacing: -.01em; color: var(--ink); white-space: nowrap; text-overflow: ellipsis; }
.wp-dl { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.wp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 38px; padding: 8px 10px;
  border: 1px solid #d5a67055; font-size: 9.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-soft);
  text-decoration: none; white-space: nowrap; transition: background .3s, color .3s, border-color .3s;
}
.wp-btn small { font-size: 9px; font-weight: 600; letter-spacing: .04em; opacity: .7; }
.wp-btn b { font-weight: 400; color: var(--gold); transition: color .3s; }
a.wp-btn:hover, a.wp-btn:focus-visible { background: var(--gold); border-color: var(--gold); color: #140d08; outline: none; }
a.wp-btn:hover b, a.wp-btn:focus-visible b { color: #140d08; }
.wp-btn.is-off { border-style: dashed; border-color: var(--line-2); color: #6f675e; }
@container (max-width: 280px) {
  .wp-dl { grid-template-columns: 1fr; }
}
.wp-grid.is-phone { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.wp-grid.is-phone .wp-view { width: calc(100% - 12px); margin: 6px auto 0; aspect-ratio: 9 / 16; border-radius: 18px; box-shadow: 0 0 0 1px #ffffff26, 0 0 0 5px #0b0a09, 0 0 0 6px #ffffff1f; }
.wp-grid.is-phone .wp-view::before { content: ""; position: absolute; top: 7px; left: 50%; z-index: 1; width: 28%; height: 9px; border-radius: 999px; background: #050505; transform: translateX(-50%); }
.wp-grid.is-phone .wp-th-d { display: none; }
.wp-grid.is-phone .wp-th-p { display: block; }
.wp-grid.is-phone .wp-dl { grid-template-columns: 1fr; }
.wp-note { margin: 18px 0 0; font-size: 12px; color: #81796f; }
.wp-grid.is-phone .wp-btn:last-child { order: -1; }
.dl-main[hidden] { display: none; }
.dl-wall:has(.dl-main[hidden]) .dl-set { margin-top: 6px; }
@container (min-width: 600px) {
  .dl-wall:has(.dl-main[hidden]) .dl-thumbs { grid-template-columns: repeat(3, 1fr); }
}
.gal-bar .wp-link { margin-left: auto; }
.g-wp {
  position: absolute; top: 10px; left: 10px; padding: 4px 8px; border: 1px solid #d5a67055; border-radius: 999px; background: #070707b3;
  font-size: 9px; font-style: normal; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-soft);
  opacity: 0; transition: opacity .35s; pointer-events: none;
}
.g-item:hover .g-wp, .g-item:focus-visible .g-wp { opacity: 1; }
.lb-wp { display: flex; align-items: center; gap: 8px; }
.lb-wp[hidden], .lb-dl[hidden], .lb-wp a[hidden] { display: none; }
.lb-wp-k { margin-right: 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: #8f877d; }
@media (max-width: 1100px) {
  .wp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wp-grid.is-phone { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 820px) {
  .wp { padding: 22px 14px 18px; }
  .wp-bar { flex-direction: column; align-items: flex-start; }
  .wp-grid, .wp-grid.is-phone { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; }
  .wp-name { font-size: 13px; }
  .wp-zoom, .g-wp { display: none; }
  .lb-top { gap: 8px; padding-left: 14px; padding-right: 14px; }
  .lb-count { letter-spacing: .14em; }
  .lb-wp { gap: 6px; }
  .lb-wp-k { display: none; }
  .lb-wp .btn { padding: 10px 10px; gap: 6px; letter-spacing: .1em; }
}
@media (hover: none) {
  .wp-view:hover img { transform: none; }
}

/* ——— «Коротко о ВАЗ-2104» и дата обновления (статичная разметка из tools/build_seo.py) ——— */
.kf { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-rows: auto auto 1fr; gap: 22px clamp(28px, 4vw, 64px); margin-top: clamp(48px, 7vh, 80px); padding-top: clamp(28px, 4vh, 40px); border-top: 1px solid var(--line-2); }
.kf-title { grid-column: 1; margin: 0; font-size: clamp(24px, 2.2vw, 34px); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.kf-def { grid-column: 1; margin: 0; font-size: 15px; line-height: 1.75; color: #d4ccc1; font-weight: 300; }
.kf-list { grid-column: 2; grid-row: 1 / span 3; margin: 0; }
.kf-list div { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.kf-list div:first-child { padding-top: 0; }
.kf-list dt { padding-top: 3px; font-size: 10px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }
.kf-list dd { margin: 0; font-size: 14px; line-height: 1.6; color: #e2dad0; }
.kf-upd { grid-column: 1; align-self: start; margin: 0; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: #7c746a; }
.foot-upd { margin: 10px 0 0; font-size: 11.5px; line-height: 1.6; color: #6f675e; }
@media (max-width: 820px) {
  .kf { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .kf-title, .kf-def, .kf-list, .kf-upd { grid-column: 1; grid-row: auto; }
  .kf-list div { grid-template-columns: minmax(0, 1fr); gap: 4px; }
}
/* Без JavaScript: разметку из build_seo.py показываем целиком (site.js её заменяет) */
.mo-static { position: static; opacity: 1; visibility: visible; margin-bottom: 40px; }
.hs-list { margin: 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #cfc6ba; }
.spec-static + .spec-static { margin-top: 36px; }
.spec-h { margin: 0 0 14px; font-size: 18px; font-weight: 700; }
.tun-eras-list { margin: 20px 0 0; padding-left: 18px; font-size: 14px; line-height: 1.7; color: #cfc6ba; }
