/* =============================================================
   REXTON · УСТЬ-КАМЕНОГОРСК — основная таблица стилей
   Визуальный язык: чёрное поле, жёлтый акцент, плотная
   конденсированная типографика, рамка-заголовок, крупные кадры.
   Адаптив — в responsive.css
   ============================================================= */

/* ---------- Шрифты (self-hosted) ----------
   Neue DIN — фирменный шрифт Rexton (пакет WSA). Кириллицы в нём нет, поэтому
   он подключён только для латиницы: REXTON, названия моделей, цифры.
   Noto Sans — запасной шрифт из гайдлайна Rexton для языков, которые Neue DIN
   не поддерживает (русский, казахский). Вариативный: насыщенность 100–900,
   ширина 62.5–100%. Лицензии — в assets/fonts. */
@font-face { font-family: 'RX DIN'; font-weight: 400; font-display: swap; src: url('../assets/fonts/NeueDIN-Regular.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'RX DIN'; font-weight: 700; font-display: swap; src: url('../assets/fonts/NeueDIN-Bold.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'RX DIN'; font-weight: 800; font-display: swap; src: url('../assets/fonts/NeueDIN-XBold.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'RX Noto'; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; src: url('../assets/fonts/noto-sans-latin-var.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'RX Noto'; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; src: url('../assets/fonts/noto-sans-cyrillic-var.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'RX Noto'; font-weight: 100 900; font-stretch: 62.5% 100%; font-display: swap; src: url('../assets/fonts/noto-sans-kazakh-var.woff2') format('woff2'); unicode-range: U+0492-0493, U+049A-049B, U+04A2-04A3, U+04AE-04AF, U+04BA-04BB, U+04D8-04D9, U+04E8-04E9; }

/* ---------- Токены ---------- */
:root {
  --c-black: #000;
  --c-ink: #0a0a0a;
  --c-panel: #121212;
  --c-panel-2: #1a1a1a;
  --c-line: rgba(255, 255, 255, .14);
  --c-line-strong: rgba(255, 255, 255, .28);
  --c-white: #fff;
  --c-muted: rgba(255, 255, 255, .72);
  --c-faint: rgba(255, 255, 255, .5);
  --c-yellow: #F8E600;
  --c-yellow-deep: #E6D400;
  --c-stone: #F2F2F2;      /* оттенок 5% из палитры Rexton */
  --c-stone-ink: #141414;

  /* Заголовки: латиница — Neue DIN, кириллица — Noto Sans полуузкий */
  --f-display: 'RX DIN', 'RX Noto', 'Noto Sans', 'Arial Narrow', sans-serif;
  --f-text: 'RX Noto', 'Noto Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-din: 'RX DIN', 'RX Noto', 'Noto Sans', sans-serif;
  --stretch-display: 87.5%;

  --container: 1320px;
  --gutter: clamp(20px, 4vw, 48px);
  --section: clamp(80px, 10vw, 148px);
  --header-h: 76px;
  --radius-pill: 999px;
  --radius: 4px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --t: .5s var(--ease);
}

/* ---------- База ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; background: var(--c-black); color: var(--c-white); font-family: var(--f-text); font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--c-yellow); outline-offset: 3px; border-radius: 2px; }
.on-yellow :focus-visible, .on-stone :focus-visible { outline-color: var(--c-black); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 200; background: var(--c-yellow); color: var(--c-black); padding: 10px 18px; font-weight: 600; text-decoration: none; border-radius: var(--radius-pill); transition: top .2s; }
.skip-link:focus { top: 12px; }
body.menu-open { overflow: hidden; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section--tight { padding: calc(var(--section) * .6) 0; }
.section + .section--flush { padding-top: 0; }
.on-stone { background: var(--c-stone); color: var(--c-stone-ink); }
.on-yellow { background: var(--c-yellow); color: var(--c-black); }
.on-panel { background: var(--c-ink); }

/* ---------- Типографика ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 800; font-stretch: var(--stretch-display); text-transform: uppercase; line-height: 1.02; letter-spacing: .005em; margin: 0 0 .5em; text-wrap: balance; overflow-wrap: break-word; }
.h-xl { font-size: clamp(44px, 7.2vw, 104px); }
.h-lg { font-size: clamp(36px, 5vw, 72px); }
.h-md { font-size: clamp(30px, 3.6vw, 52px); }
.h-sm { font-size: clamp(22px, 2vw, 28px); line-height: 1.1; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-display); font-weight: 500; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-yellow); margin: 0 0 22px; }
.eyebrow::before { content: ''; width: 28px; height: 2px; background: currentColor; }
.on-stone .eyebrow, .on-yellow .eyebrow { color: var(--c-black); }
.lead { font-size: clamp(18px, 1.5vw, 21px); line-height: 1.6; color: var(--c-muted); max-width: 62ch; }
.on-stone .lead, .on-yellow .lead { color: rgba(0, 0, 0, .72); }
.muted { color: var(--c-muted); }
.small { font-size: 14px; line-height: 1.55; color: var(--c-faint); }
.on-stone .small { color: rgba(0, 0, 0, .58); }
.text-center { text-align: center; }
.text-center .lead { margin-left: auto; margin-right: auto; }

/* Все элементы с display-шрифтом — полуузкий Noto для кириллицы */
.eyebrow, .btn, .link-arrow, .nav__link, .lang__btn, .mobile-menu__link, .breadcrumbs, .card__badge, .card__type, .filters__label,
.atex__badge-sub, .atex__item span, .atex__notes strong, .life__key span, .info-list .k, .map__city, .faq summary, .product__type,
.cmp thead th, .field label, .footer-grid h3, .ui-mock__top, .hero__scroll, .feature-row__idx { font-stretch: var(--stretch-display); }

/* Фирменная рамка заголовка: толщина = правая ножка N в логотипе */
.frame { display: inline-block; border: 6px solid var(--c-yellow); padding: clamp(18px, 2.4vw, 34px) clamp(22px, 3vw, 44px); position: relative; }
.frame > :last-child { margin-bottom: 0; }

/* ---------- Кнопки ---------- */
.btn { --bh: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--bh); padding: 0 28px; border-radius: var(--radius-pill); border: 2px solid transparent; font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease); white-space: nowrap; background: none; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--c-yellow); color: var(--c-black); }
.btn--primary:hover { background: var(--c-white); }
.btn--ghost { border-color: var(--c-line-strong); color: var(--c-white); }
.btn--ghost:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.btn--dark { background: var(--c-black); color: var(--c-white); }
.btn--dark:hover { background: #222; }
.btn--outline-dark { border-color: rgba(0, 0, 0, .8); color: var(--c-black); }
.btn--outline-dark:hover { background: var(--c-black); color: var(--c-yellow); }
.btn--sm { --bh: 42px; padding: 0 20px; font-size: 14px; }
.btn:active { transform: translateY(1px); }
.btn[aria-disabled='true'] { opacity: .45; pointer-events: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--f-display); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 15px; text-decoration: none; color: var(--c-yellow); }
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow:hover::after { transform: translateX(5px); }
.on-stone .link-arrow, .on-yellow .link-arrow { color: var(--c-black); }

/* ---------- Header ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h); background: rgba(0, 0, 0, .92); -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.site-header.is-scrolled { border-bottom-color: var(--c-line); background: rgba(0, 0, 0, .97); }
.site-header__inner { height: 100%; display: flex; align-items: center; gap: 32px; }
.logo { --logo-w: 116px; display: inline-flex; align-items: center; gap: calc(var(--logo-w) * .166); text-decoration: none; line-height: 1; flex: none; }
/* Официальный логотип из пакета WSA. Охранное поле = высота буквы R (≈16.6% ширины знака) */
.logo__img { display: block; width: var(--logo-w); height: auto; }
.logo__city { font-family: var(--f-text); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--c-faint); }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; gap: 30px; }
.nav__link { position: relative; font-family: var(--f-display); font-weight: 500; font-size: 15.5px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; color: var(--c-white); padding: 8px 0; transition: color .25s; }
.nav__link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--c-yellow); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__link:hover, .nav__link[aria-current='page'] { color: var(--c-yellow); }
.nav__link:hover::after, .nav__link[aria-current='page']::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 18px; }
.lang { display: inline-flex; border: 1.5px solid var(--c-line-strong); border-radius: var(--radius-pill); padding: 3px; }
.lang__btn { border: 0; background: none; cursor: pointer; font-family: var(--f-display); font-weight: 700; font-size: 13px; letter-spacing: .08em; min-width: 40px; height: 30px; border-radius: var(--radius-pill); color: var(--c-muted); transition: background .25s, color .25s; }
.lang__btn[aria-pressed='true'] { background: var(--c-yellow); color: var(--c-black); }
.lang__btn:not([aria-pressed='true']):hover { color: var(--c-white); }
.burger { display: none; width: 46px; height: 46px; border: 1.5px solid var(--c-line-strong); border-radius: 50%; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--c-white); transition: transform .35s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 16px; } .burger span:nth-child(2) { top: 22px; } .burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded='true'] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded='true'] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Мобильное меню */
.mobile-menu { position: fixed; inset: var(--header-h) 0 0 0; z-index: 99; background: var(--c-black); display: flex; flex-direction: column; padding: 28px var(--gutter) 32px; overflow-y: auto; visibility: hidden; opacity: 0; transform: translateY(-12px); transition: opacity .35s var(--ease), transform .45s var(--ease), visibility 0s linear .45s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .35s var(--ease), transform .45s var(--ease); }
.mobile-menu__list { list-style: none; border-top: 1px solid var(--c-line); }
.mobile-menu__list li { border-bottom: 1px solid var(--c-line); opacity: 0; transform: translateY(14px); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.mobile-menu.is-open .mobile-menu__list li { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__list li:nth-child(2) { transition-delay: .04s; } .mobile-menu.is-open .mobile-menu__list li:nth-child(3) { transition-delay: .08s; } .mobile-menu.is-open .mobile-menu__list li:nth-child(4) { transition-delay: .12s; } .mobile-menu.is-open .mobile-menu__list li:nth-child(5) { transition-delay: .16s; }
.mobile-menu__link { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(30px, 8vw, 40px); text-transform: uppercase; text-decoration: none; line-height: 1; }
.mobile-menu__link::after { content: '→'; color: var(--c-yellow); font-size: .7em; }
.mobile-menu__link[aria-current='page'] { color: var(--c-yellow); }
.mobile-menu__foot { margin-top: auto; padding-top: 32px; display: grid; gap: 14px; }
.mobile-menu__foot .btn { width: 100%; }

/* ---------- Медиа и плейсхолдеры фото ---------- */
.media { position: relative; overflow: hidden; background: var(--c-panel); aspect-ratio: var(--ar, 4 / 3); isolation: isolate; }
.media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); opacity: 0; transition: opacity .9s var(--ease), transform 1.4s var(--ease); z-index: 1; }
.media.is-loaded > img { opacity: 1; }
.media.is-missing > img { display: none; }
.media__fallback { position: absolute; inset: 0; display: none; }
.media.is-missing .media__fallback, .media:not(.has-img) .media__fallback { display: block; }
.media__fallback--photo { background:
    radial-gradient(120% 90% at 85% 10%, rgba(248, 230, 0, .10), transparent 55%),
    radial-gradient(90% 80% at 10% 100%, rgba(255, 255, 255, .06), transparent 60%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 14px),
    linear-gradient(160deg, #1b1b1b, #0b0b0b); }
.media__label { position: absolute; left: 18px; bottom: 16px; right: 18px; display: flex; align-items: center; gap: 10px; font-size: 12px; line-height: 1.35; letter-spacing: .02em; color: rgba(255, 255, 255, .55); z-index: 2; }
.media__label svg { width: 18px; height: 18px; flex: none; opacity: .7; }
.media__label code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; color: rgba(255, 255, 255, .78); }
.no-labels .media__label { display: none; }
.media__fallback--art { background: radial-gradient(80% 70% at 70% 45%, #1d1d1d, #050505 70%); }
.media__fallback--art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.zoom-hover:hover .media > img { transform: scale(1.04); }

/* Иллюстрации форм-факторов */
.illu { width: 100%; height: 100%; display: grid; place-items: center; background: radial-gradient(70% 70% at 50% 45%, #1e1e1e, #0c0c0c 75%); }
.illu svg { width: 62%; height: auto; max-height: 78%; }
.illu .st-body { fill: #2a2a2a; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; }
.illu .st-accent { fill: var(--c-yellow); }
.illu .st-line { fill: none; stroke: rgba(255, 255, 255, .85); stroke-width: 2.2; stroke-linecap: round; }
.illu .st-soft { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 1.5; }
.on-stone .illu { background: radial-gradient(70% 70% at 50% 45%, #fff, #dcd9d6 80%); }
.on-stone .illu .st-body { fill: #f2f0ee; stroke: #111; }
.on-stone .illu .st-line { stroke: #111; }
.on-stone .illu .st-soft { stroke: rgba(0, 0, 0, .12); }

/* ---------- Анимации появления ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(100svh, 900px); padding-top: var(--header-h); display: flex; align-items: flex-end; background: var(--c-black); }
.hero__media { position: absolute; inset: var(--header-h) 0 0 0; aspect-ratio: auto; }
.hero__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .78) 0%, rgba(0, 0, 0, .35) 46%, rgba(0, 0, 0, 0) 70%), linear-gradient(0deg, rgba(0, 0, 0, .7) 0%, rgba(0, 0, 0, 0) 40%); pointer-events: none; }
.hero__content { position: relative; z-index: 3; padding-bottom: clamp(48px, 7vw, 96px); padding-top: 48px; }
.hero__frame { max-width: 760px; background: rgba(0, 0, 0, .22); }
.hero__frame .eyebrow { margin-bottom: 18px; }
.hero__title { margin: 0; }
.hero__sub { margin: 28px 0 32px; max-width: 54ch; font-size: clamp(17px, 1.4vw, 20px); color: rgba(255, 255, 255, .86); }
.hero__scroll { position: absolute; right: var(--gutter); bottom: 40px; z-index: 3; writing-mode: vertical-rl; font-family: var(--f-display); font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--c-faint); display: flex; align-items: center; gap: 14px; }
.hero__scroll::after { content: ''; width: 1px; height: 64px; background: linear-gradient(var(--c-yellow), transparent); }

/* Арт «четыре фокусных луча» */
.beams .ring { fill: none; stroke: rgba(255, 255, 255, .10); stroke-width: 1; }
.beams .beam { fill: url(#beamGrad); opacity: .9; transform-origin: 1180px 450px; }
.beams .dot { fill: var(--c-white); }
.beams .dot--y { fill: var(--c-yellow); }
@media (prefers-reduced-motion: no-preference) {
  .beams .beam { animation: beam 9s var(--ease) infinite alternate; }
  .beams .beam:nth-of-type(2) { animation-delay: -2s; } .beams .beam:nth-of-type(3) { animation-delay: -4s; } .beams .beam:nth-of-type(4) { animation-delay: -6s; }
  @keyframes beam { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
}

/* ---------- Page hero (внутренние страницы) ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px); position: relative; }
.page-hero__grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero h1 { margin: 0; }
.page-hero .lead { margin: 0; }
.breadcrumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-faint); margin-bottom: 28px; font-family: var(--f-display); }
.breadcrumbs a { text-decoration: none; color: var(--c-muted); }
.breadcrumbs a:hover { color: var(--c-yellow); }
.breadcrumbs li + li::before { content: '/'; margin-right: 10px; color: var(--c-line-strong); }

/* ---------- Блоки ---------- */
.intro { max-width: 940px; margin: 0 auto; text-align: center; }
.intro .h-lg { margin-bottom: .45em; }
.intro p { color: var(--c-muted); font-size: clamp(17px, 1.4vw, 20px); }

.split { display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split--rev { grid-template-columns: 5fr 7fr; }
.split--rev .split__media { order: 2; }
.split__body > :last-child { margin-bottom: 0; }
.split__body .btn-row { margin-top: 32px; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head__text { max-width: 760px; }
.section-head__text > :last-child { margin-bottom: 0; }
.section-head .h-lg, .section-head .h-md { margin-bottom: .35em; }

/* Карточки каталога */
.grid-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-cards--4 { grid-template-columns: repeat(4, 1fr); }
.card { position: relative; display: flex; flex-direction: column; background: var(--c-panel); border: 1px solid var(--c-line); transition: border-color .4s var(--ease), transform .5s var(--ease), background .4s; }
.card:hover { border-color: rgba(248, 230, 0, .55); transform: translateY(-4px); background: #151515; }
.card__media { --ar: 4 / 3; border-bottom: 1px solid var(--c-line); }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 3; font-family: var(--f-display); font-weight: 700; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; background: var(--c-yellow); color: var(--c-black); padding: 5px 10px; }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__type { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--c-yellow); margin-bottom: 10px; }
.card__title { font-size: 28px; margin-bottom: 12px; }
.card__title a { text-decoration: none; }
.nb { white-space: nowrap; }
.card__title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card__text { color: var(--c-muted); font-size: 15.5px; line-height: 1.6; margin-bottom: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__feats { list-style: none; display: grid; gap: 8px; margin-bottom: 24px; font-size: 14.5px; }
.card__feats li { display: flex; gap: 10px; align-items: flex-start; color: rgba(255, 255, 255, .85); }
.card__feats li::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 8px; background: var(--c-yellow); }
.card__actions { margin-top: auto; display: flex; gap: 10px; flex-wrap: wrap; position: relative; z-index: 2; }
.card__actions .btn { flex: 1 1 auto; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 12.5px; letter-spacing: .02em; padding: 4px 10px; border: 1px solid var(--c-line-strong); border-radius: var(--radius-pill); color: var(--c-muted); }

/* Фильтры */
.filters { display: grid; gap: 18px; padding: 24px 0 36px; border-top: 1px solid var(--c-line); margin-bottom: 8px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.filters__label { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); min-width: 92px; }
.fbtn { border: 1.5px solid var(--c-line-strong); background: none; color: var(--c-white); border-radius: var(--radius-pill); padding: 8px 16px; font-size: 14.5px; cursor: pointer; transition: all .25s var(--ease); }
.fbtn:hover { border-color: var(--c-white); }
.fbtn[aria-pressed='true'] { background: var(--c-yellow); border-color: var(--c-yellow); color: var(--c-black); font-weight: 600; }
.filters__meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 14px; color: var(--c-faint); }
.filters__reset { background: none; border: 0; color: var(--c-yellow); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; font-size: 14px; }
.empty-state { grid-column: 1 / -1; padding: 64px 24px; border: 1px dashed var(--c-line-strong); text-align: center; color: var(--c-muted); }
.card.is-hidden { display: none; }

/* Баннер во всю ширину */
.banner { position: relative; }
.banner__media { --ar: 21 / 9; min-height: 520px; }
.banner__media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(90deg, rgba(0, 0, 0, .82), rgba(0, 0, 0, .1) 65%); }
.banner__content { position: absolute; inset: 0; z-index: 3; display: flex; align-items: center; }
.banner__content .container { max-width: var(--container); }
.banner__text { max-width: 620px; }
.banner__text p { color: rgba(255, 255, 255, .84); font-size: clamp(17px, 1.4vw, 20px); }

/* Типы — три колонки */
.types3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--c-line); border-left: 1px solid var(--c-line); }
.types3__item { border-right: 1px solid var(--c-line); border-bottom: 1px solid var(--c-line); padding: 32px 32px 36px; display: flex; flex-direction: column; transition: background .4s; }
.types3__item:hover { background: var(--c-ink); }
.types3__media { --ar: 1 / 1; margin: -32px -32px 28px; background: none; border-bottom: 1px solid var(--c-line); }
.types3__item h3 { font-size: 30px; margin-bottom: 10px; }
.types3__item p { color: var(--c-muted); font-size: 15.5px; margin: 0; }
.on-stone .types3, .on-stone .types3__item, .on-stone .types3__media { border-color: rgba(0, 0, 0, .14); }
.on-stone .types3__item:hover { background: rgba(0, 0, 0, .04); }
.on-stone .types3__item p { color: rgba(0, 0, 0, .7); }

/* Приложение — жёлтый квадрат и телефон */
.app-visual { position: relative; display: grid; place-items: center; padding: 48px 0; }
.app-visual::before { content: ''; position: absolute; width: min(78%, 460px); aspect-ratio: 1; background: var(--c-yellow); right: 4%; top: 50%; transform: translateY(-50%); }
.phone { position: relative; z-index: 1; width: min(62%, 300px); aspect-ratio: 9 / 19; border-radius: 42px; background: #050505; border: 10px solid #1c1c1c; box-shadow: 0 40px 80px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(255, 255, 255, .06); overflow: hidden; }
.phone .media { position: absolute; inset: 0; aspect-ratio: auto; background: #070707; }
.phone__notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 34%; height: 22px; background: #000; border-radius: 20px; z-index: 4; }
.ui-mock { position: absolute; inset: 0; padding: 48px 18px 20px; display: flex; flex-direction: column; gap: 14px; font-size: 11px; color: rgba(255, 255, 255, .8); }
.ui-mock__top { display: flex; justify-content: space-between; font-family: var(--f-display); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.ui-mock__dial { margin: 10px auto; width: 72%; aspect-ratio: 1; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .12); display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(248, 230, 0, .16), transparent 62%); }
.ui-mock__dial::before { content: ''; position: absolute; inset: 10%; border-radius: 50%; border: 3px solid transparent; border-top-color: var(--c-yellow); border-right-color: var(--c-yellow); transform: rotate(-20deg); }
.ui-mock__dial b { font-family: var(--f-display); font-size: 34px; color: var(--c-white); }
.ui-mock__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.ui-mock__row.is-active { background: var(--c-yellow); color: #000; font-weight: 600; }
.ui-mock__bar { height: 6px; border-radius: 6px; background: rgba(255, 255, 255, .12); position: relative; overflow: hidden; }
.ui-mock__bar::after { content: ''; position: absolute; inset: 0 40% 0 0; background: var(--c-white); border-radius: 6px; }

/* Lifeproof */
.life { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.life__keys { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: rgba(0, 0, 0, .14); border: 1px solid rgba(0, 0, 0, .14); }
.life__key { background: var(--c-stone); padding: 34px 28px; display: flex; flex-direction: column; gap: 22px; }
.life__key svg { width: 40px; height: 40px; stroke: #111; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.life__key span { font-family: var(--f-display); font-weight: 700; font-size: 24px; text-transform: uppercase; }

/* ATEX */
.atex { border-top: 1px solid var(--c-line); background: radial-gradient(60% 50% at 90% 0%, rgba(248, 230, 0, .07), transparent 60%), var(--c-black); }
.atex__head { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; margin-bottom: clamp(56px, 6vw, 88px); }
.atex__badge { justify-self: center; text-align: center; }
.atex__badge .frame { padding: clamp(26px, 3vw, 44px) clamp(34px, 4vw, 64px); }
.atex__mark { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(64px, 9vw, 132px); line-height: .9; letter-spacing: .02em; color: var(--c-yellow); }
.atex__badge-sub { margin: 18px auto 0; max-width: 28ch; font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); }
.atex__sub { margin-bottom: 24px; }
.atex__grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); }
.atex__item { background: var(--c-black); padding: 28px 24px; display: flex; flex-direction: column; gap: 18px; min-height: 168px; transition: background .35s var(--ease); }
.atex__item:hover { background: var(--c-panel); }
.atex__item svg { width: 38px; height: 38px; fill: none; stroke: var(--c-yellow); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.atex__item span { font-family: var(--f-display); font-weight: 700; font-size: 20px; line-height: 1.15; text-transform: uppercase; }
.atex__models { margin-top: clamp(48px, 5vw, 72px); }
.atex__models .bullets a { text-decoration: none; }
.atex__models .bullets li { transition: border-color .25s, color .25s; }
.atex__models .bullets li:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.atex__notes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
.atex__notes .notice { margin: 0; }
.atex__notes strong { font-family: var(--f-display); font-size: 17px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-white); }

/* Шаги подбора */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; border-top: 1px solid var(--c-line); }
.steps li { counter-increment: s; padding: 36px 28px 8px 0; position: relative; }
.steps li + li { padding-left: 28px; border-left: 1px solid var(--c-line); }
.steps li::before { content: '0' counter(s); display: block; font-family: var(--f-display); font-weight: 700; font-size: 64px; line-height: 1; color: var(--c-yellow); margin-bottom: 22px; }
.steps h3 { font-size: 24px; margin-bottom: 10px; }
.steps p { color: var(--c-muted); font-size: 15.5px; }

/* Локальный центр */
.local { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.info-list { list-style: none; border-top: 1px solid var(--c-line); margin: 28px 0 32px; }
.info-list li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--c-line); font-size: 16px; }
.info-list dt, .info-list .k { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); padding-top: 3px; }
.info-list a { text-decoration: none; border-bottom: 1px solid var(--c-line-strong); transition: border-color .25s, color .25s; }
.info-list a:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
.tbd { color: var(--c-faint); font-style: italic; }
.services { list-style: none; display: grid; gap: 10px; margin: 18px 0 0; }
.services li { display: flex; gap: 12px; color: rgba(255, 255, 255, .86); }
.services li::before { content: ''; flex: none; width: 14px; height: 2px; background: var(--c-yellow); margin-top: 13px; }
.map { position: relative; min-height: 420px; background: var(--c-panel); border: 1px solid var(--c-line); overflow: hidden; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.25) contrast(1.05); }
.map__pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--c-faint); background:
  repeating-linear-gradient(0deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 48px),
  repeating-linear-gradient(90deg, rgba(255, 255, 255, .04) 0 1px, transparent 1px 48px), #0e0e0e; }
.map__pin { width: 54px; height: 54px; margin: 0 auto 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--c-yellow); position: relative; }
.map__pin::after { content: ''; position: absolute; inset: 17px; border-radius: 50%; background: #000; }
.map__city { position: absolute; left: 22px; top: 18px; font-family: var(--f-display); font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-white); }

/* FAQ */
.faq { max-width: 980px; margin: 0 auto; border-top: 1px solid var(--c-line); }
.faq details { border-bottom: 1px solid var(--c-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font-family: var(--f-display); font-weight: 700; font-size: clamp(20px, 2vw, 26px); text-transform: uppercase; line-height: 1.15; transition: color .25s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--c-yellow); }
.faq__icon { flex: none; width: 36px; height: 36px; border: 1.5px solid var(--c-line-strong); border-radius: 50%; position: relative; transition: transform .4s var(--ease), background .3s, border-color .3s; }
.faq__icon::before, .faq__icon::after { content: ''; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq details[open] .faq__icon { background: var(--c-yellow); border-color: var(--c-yellow); color: #000; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq__body { overflow: hidden; }
.faq__body p { color: var(--c-muted); padding: 0 64px 28px 0; margin: 0; max-width: 78ch; }

/* Финальный CTA */
.cta-final { padding: clamp(72px, 9vw, 128px) 0; }
.cta-final__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.cta-final h2 { margin: 0; }
.cta-final p { font-size: clamp(17px, 1.4vw, 20px); color: rgba(0, 0, 0, .75); margin-bottom: 28px; }

/* Продукт */
.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.product__media { position: sticky; top: calc(var(--header-h) + 24px); }
.product__media .media { --ar: 1 / 1; border: 1px solid var(--c-line); }
.product__family { margin-bottom: 14px; }
.product h1 { font-size: clamp(42px, 5vw, 76px); margin-bottom: 18px; }
.product__type { display: inline-block; font-family: var(--f-display); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; font-size: 14px; padding: 6px 14px; border: 1.5px solid var(--c-yellow); color: var(--c-yellow); margin-bottom: 28px; }
.product__feats { list-style: none; border-top: 1px solid var(--c-line); margin: 26px 0; }
.product__feats li { display: flex; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--c-line); }
.product__feats li::before { content: ''; flex: none; width: 20px; height: 20px; margin-top: 3px; background: no-repeat center/12px var(--c-yellow) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath d='M1 5l3.2 3L11 1' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E"); border-radius: 50%; }
.notice { display: flex; gap: 14px; padding: 18px 20px; border-left: 3px solid var(--c-yellow); background: var(--c-ink); font-size: 15px; color: var(--c-muted); margin: 24px 0; }
.footnotes { margin-top: 28px; display: grid; gap: 8px; }

/* Таблица сравнения */
.cmp-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--c-line); }
.cmp { width: 100%; border-collapse: collapse; min-width: 720px; font-size: 15.5px; }
.cmp th, .cmp td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cmp thead th { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); background: var(--c-ink); }
.cmp tbody th { font-family: var(--f-display); font-weight: 700; font-size: 19px; text-transform: uppercase; color: var(--c-yellow); white-space: nowrap; }
.cmp tbody tr:last-child > * { border-bottom: 0; }
.cmp td { color: rgba(255, 255, 255, .85); }

/* Подробный тип / технология */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--c-line); }
.feature-row:nth-child(even) .feature-row__media { order: 2; }
.feature-row__media .media { --ar: 5 / 4; }
.feature-row__idx { font-family: var(--f-display); font-weight: 700; font-size: 15px; letter-spacing: .14em; color: var(--c-yellow); margin-bottom: 16px; display: block; }
.feature-row p { color: var(--c-muted); }
.bullets { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.bullets li { font-size: 14px; padding: 8px 14px; border: 1px solid var(--c-line-strong); border-radius: var(--radius-pill); color: rgba(255, 255, 255, .88); }

/* Ключевые цифры */
.kpis { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--c-line); }
.kpi { padding: 32px 28px 8px 0; }
.kpi + .kpi { padding-left: 28px; border-left: 1px solid var(--c-line); }
.kpi b { display: block; font-family: var(--f-display); font-weight: 700; font-size: clamp(52px, 6vw, 84px); line-height: 1; color: var(--c-yellow); margin-bottom: 12px; }
.kpi span { color: var(--c-muted); font-size: 15.5px; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.principle { padding: 32px; background: var(--c-panel); border: 1px solid var(--c-line); }
.principle h3 { font-size: 24px; }
.principle p { color: var(--c-muted); font-size: 15.5px; margin: 0; }

/* Форма */
.contact-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: start; }
.form { background: var(--c-panel); border: 1px solid var(--c-line); padding: clamp(28px, 4vw, 48px); }
.form h2 { margin-bottom: 28px; }
.field { display: grid; gap: 8px; margin-bottom: 20px; }
.field label { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-muted); }
.field input, .field select, .field textarea { width: 100%; background: var(--c-black); border: 1.5px solid var(--c-line-strong); border-radius: var(--radius); padding: 14px 16px; font-size: 16px; color: var(--c-white); transition: border-color .25s; -webkit-appearance: none; appearance: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23F8E600' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; background-size: 12px; padding-right: 44px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(255, 255, 255, .5); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-yellow); box-shadow: 0 0 0 3px rgba(248, 230, 0, .2); }
.field.is-invalid input, .field.is-invalid select { border-color: #ff6b5b; }
.field__error { font-size: 13.5px; color: #ff8d80; min-height: 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--c-muted); margin: 6px 0 24px; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 1px 0 0; accent-color: var(--c-yellow); }
.check a { color: var(--c-white); }
.form__status { margin-top: 18px; padding: 14px 16px; font-size: 15px; border-left: 3px solid var(--c-yellow); background: var(--c-black); display: none; }
.form__status.is-shown { display: block; }
.form__status.is-error { border-color: #ff6b5b; }
.form .btn { width: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--c-black); border-top: 1px solid var(--c-line); padding: clamp(64px, 7vw, 96px) 0 32px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid h3 { font-family: var(--f-display); font-weight: 500; font-size: 13px; letter-spacing: .16em; color: var(--c-faint); margin-bottom: 18px; }
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: rgba(255, 255, 255, .85); transition: color .2s; }
.footer-grid a:hover { color: var(--c-yellow); }
.footer-about p { color: var(--c-muted); max-width: 36ch; margin-top: 18px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--c-line); display: grid; gap: 10px; font-size: 13px; color: var(--c-faint); }
.footer-bottom__row { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center; }
.social { display: flex; gap: 10px; }
.social a { width: 42px; height: 42px; border: 1.5px solid var(--c-line-strong); border-radius: 50%; display: grid; place-items: center; transition: border-color .25s, color .25s; }
.social a:hover { border-color: var(--c-yellow); color: var(--c-yellow); }
.social svg { width: 18px; height: 18px; }

/* Плавающая кнопка WhatsApp на мобильных */
.fab { position: fixed; right: 16px; bottom: 16px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; background: var(--c-yellow); color: #000; display: none; place-items: center; box-shadow: 0 12px 30px rgba(0, 0, 0, .45); transition: transform .3s var(--ease); }
.fab svg { width: 28px; height: 28px; }
.fab:hover { transform: scale(1.06); }

/* 404 / prose */
.prose { max-width: 760px; }
.prose p { color: var(--c-muted); }

/* ---------- Сокращённое движение ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Бренд-пакет WSA (20.11.2026) ---------- */
.product__media .media { --ar: 4 / 3; }
.logo--footer { --logo-w: 132px; }
.heritage { font-family: var(--f-din); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); }
/* Цифры и латинские метки — фирменным Neue DIN */
.steps li::before, .kpi b, .atex__mark, .feature-row__idx, .card__title, .product h1, .cmp tbody th, .lang__btn { font-family: var(--f-din); font-weight: 800; }
.nav__link { white-space: nowrap; }
.atex__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.atex__item span { overflow-wrap: anywhere; -webkit-hyphens: auto; hyphens: auto; }
/* Герой с портретом: на широких экранах кадр смещён вправо, чтобы рамка с заголовком не закрывала аппарат */
@media (min-width: 1025px) {
  .hero__media.has-img { left: 40%; }
  .hero__media.has-img::after { background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, .55) 18%, rgba(0, 0, 0, 0) 45%), linear-gradient(0deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, 0) 35%); }
}
.page-hero__grid > * { min-width: 0; }
.site-header__inner { gap: 24px; }
.nav__list { gap: 26px; }
.header-actions { gap: 14px; }
@media (max-width: 1440px) and (min-width: 1241px) { .nav__link { font-size: 14.5px; letter-spacing: .06em; } .nav__list { gap: 22px; } }
@media (min-width: 1025px) and (max-width: 1380px) {
  .hero__media.has-img { left: 36%; }
  .hero__media.has-img > img { object-position: 70% 32%; }
  .hero__frame { max-width: 600px; }
}
.banner__media { width: 100%; }

/* ---------- Страница Rexton App ---------- */
.steps--3 { grid-template-columns: repeat(3, 1fr); }
.app-list { list-style: none; margin: 24px 0; padding: 0; border-top: 1px solid var(--c-line); }
.app-list li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--c-line); font-size: 16px; }
.app-list li::before { content: ''; position: absolute; left: 0; top: 21px; width: 12px; height: 12px; background: var(--c-yellow); }
.app-fix { margin: 20px 0 0; padding: 0; list-style: none; counter-reset: f; }
.app-fix li { counter-increment: f; position: relative; padding: 14px 0 14px 44px; border-top: 1px solid var(--c-line); color: var(--c-muted); font-size: 15.5px; }
.app-fix li::before { content: counter(f); position: absolute; left: 0; top: 12px; font-family: var(--f-din); font-weight: 800; font-size: 22px; color: var(--c-yellow); }

/* ---------- Скачать каталог (как на rexton.com, перед подвалом) ---------- */
.catdl { background: var(--c-black); padding: clamp(56px, 7vw, 104px) 0; border-top: 1px solid var(--c-line); }
.catdl__grid { display: grid; grid-template-columns: minmax(0, 1fr) clamp(180px, 20vw, 300px); gap: clamp(32px, 6vw, 120px); align-items: center; }
.catdl__body .lead { max-width: 62ch; margin-top: 20px; }
.catdl__body .small { margin-top: 10px; }
.catdl__action { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 30px; }
.catdl__meta { font-family: var(--f-din); font-size: 14px; letter-spacing: .06em; color: var(--c-faint); }
.catdl__cover { display: block; transition: transform .3s; }
.catdl__cover img { display: block; width: 100%; height: auto; box-shadow: 0 24px 60px rgba(0, 0, 0, .6); }
.catdl__cover:hover { transform: translateY(-4px); }
@media (max-width: 760px) {
  .catdl__grid { grid-template-columns: minmax(0, 1fr) 120px; align-items: start; gap: 24px; }
}
@media (max-width: 430px) {
  .catdl__grid { grid-template-columns: 1fr; }
  .catdl__cover { width: 150px; order: -1; }
}

/* ---------- Выбор города ---------- */
.brand { display: flex; align-items: center; gap: 19px; flex: none; min-width: 0; }   /* 19px ≈ высота R логотипа = охранное поле */
.city-btn { display: inline-flex; align-items: center; gap: 6px; padding: 6px 2px; background: none; border: 0; color: var(--c-faint); font-family: var(--f-text); font-weight: 500; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; cursor: pointer; white-space: nowrap; max-width: 210px; transition: color .2s; }
.city-btn span { overflow: hidden; text-overflow: ellipsis; }
.city-btn svg { width: 14px; height: 14px; flex: none; }
.city-btn svg:last-child { width: 12px; height: 12px; opacity: .7; }
.city-btn:hover, .city-btn:focus-visible { color: var(--c-yellow); }
.link-btn { background: none; border: 0; padding: 0; color: var(--c-yellow); font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.on-yellow .link-btn, .on-stone .link-btn { color: inherit; }
.center-status { margin: 0 0 18px; padding: 14px 16px; border-left: 3px solid var(--c-yellow); background: rgba(255, 255, 255, .04); font-size: 15px; color: rgba(255, 255, 255, .86); }
.center-kind { display: inline-block; margin-left: 6px; padding: 2px 8px; border: 1px solid var(--c-line-strong); border-radius: var(--radius-pill); font-size: 12px; color: var(--c-muted); vertical-align: middle; }
html.is-locked { overflow: hidden; }

.city-dialog { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; }
.city-dialog[hidden] { display: none; }
.city-dialog__backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); }
.city-dialog__panel { position: relative; width: min(640px, 100%); max-height: min(86vh, 760px); display: flex; flex-direction: column; background: #0c0c0c; border: 6px solid var(--c-yellow); padding: clamp(24px, 4vw, 40px); color: var(--c-white); }
.city-dialog__close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line-strong); background: none; color: inherit; cursor: pointer; }
.city-dialog__close::before, .city-dialog__close::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: currentColor; transform: translate(-50%, -50%) rotate(45deg); }
.city-dialog__close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.city-dialog__close:hover { color: var(--c-yellow); border-color: var(--c-yellow); }
.city-dialog h2 { margin: 0 48px 10px 0; }
.city-dialog__lead { color: var(--c-muted); margin: 0 0 20px; font-size: 15.5px; }
.city-dialog__geo { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 20px; }
.city-dialog__geo-note { margin: 0; flex: 1 1 220px; }
.city-dialog__search { width: 100%; padding: 13px 16px; background: #000; border: 1px solid var(--c-line-strong); color: var(--c-white); font: inherit; font-size: 16px; border-radius: 0; }
.city-dialog__search:focus { outline: 2px solid var(--c-yellow); outline-offset: -2px; }
.city-dialog__lists { overflow: auto; margin-top: 18px; padding-right: 4px; overscroll-behavior: contain; }
.city-dialog__group { margin: 8px 0 6px; font-family: var(--f-text); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--c-yellow); }
.city-dialog__list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; }
.city-dialog__item { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 11px 2px; background: none; border: 0; border-bottom: 1px solid var(--c-line); color: var(--c-white); font: inherit; font-size: 15.5px; text-align: left; cursor: pointer; }
.city-dialog__item:hover, .city-dialog__item:focus-visible { color: var(--c-yellow); }
.city-dialog__item[aria-current="true"] { color: var(--c-yellow); font-weight: 600; }
.city-dialog__badge { flex: none; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--c-yellow); color: #000; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
@media (max-width: 520px) { .city-dialog__list { grid-template-columns: 1fr; } .city-dialog__panel { max-height: 92vh; } }

/* Список центров на странице контактов */
.centers-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 24px; }
.center-card { display: flex; flex-direction: column; gap: 14px; padding: 28px; background: var(--c-black); border: 1px solid var(--c-line); }
.center-card.is-active { border-color: var(--c-yellow); }
.center-card__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.center-card h3 { margin: 0; font-size: 26px; }
.center-card__kind { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); white-space: nowrap; }
.center-card__name { margin: 0; color: var(--c-muted); }
.center-card__rows { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.center-card__rows li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--c-line); font-size: 15px; }
.center-card__rows .k { color: var(--c-faint); font-size: 13px; }
.center-card .bullets { margin-top: 4px; }
.center-card .btn-row { margin-top: auto; }
.center-card__current { font-family: var(--f-din); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-yellow); }
.center-card__head { flex-wrap: wrap; }

/* ---------- Раздел «Для профессионалов» и поддержка ---------- */
.pro-teaser { padding-top: 0; }
.pro-teaser .split { grid-template-columns: 6fr 5fr; }
.pro-hero__media { margin-top: clamp(32px, 5vw, 64px); }
.ext-note { font-style: normal; font-weight: 400; text-transform: none; letter-spacing: 0; opacity: .6; font-size: .85em; }
.pro-points { list-style: none; margin: 28px 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; border-top: 1px solid rgba(0, 0, 0, .14); }
.pro-points li { padding: 16px 0; border-bottom: 1px solid rgba(0, 0, 0, .14); display: grid; gap: 4px; }
.pro-points strong { font-family: var(--f-display); font-stretch: var(--stretch-display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: 17px; }
.pro-points span { font-size: 15px; color: rgba(0, 0, 0, .72); }
.pro-callout { align-self: stretch; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: clamp(28px, 4vw, 48px); background: var(--c-black); color: var(--c-white); border: 6px solid var(--c-yellow); }
.pro-callout .lead { color: rgba(255, 255, 255, .8); }
.pro-callout .link-arrow { color: var(--c-yellow); }
.tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.tool { display: flex; flex-direction: column; background: var(--c-panel); border: 1px solid var(--c-line); }
.tool__body { display: flex; flex-direction: column; gap: 10px; padding: 28px; flex: 1; }
.tool__body h3 { margin: 0; font-size: 24px; }
.tool__body p { margin: 0 0 8px; color: var(--c-muted); font-size: 15.5px; flex: 1; }
.docs-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: center; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--c-line); border-left: 6px solid var(--c-yellow); }
.docs-band .h-md { margin-top: 0; }
.docs-band p:last-child { margin-bottom: 0; }
.principles--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.on-stone .principle { background: #fff; border-color: rgba(0, 0, 0, .1); }
.on-stone .principle p { color: rgba(0, 0, 0, .7); }
.res-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.res { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 24px; background: var(--c-black); border: 1px solid var(--c-line); color: var(--c-white); text-decoration: none; transition: border-color .3s; }
.res:hover, .res:focus-visible { border-color: var(--c-yellow); }
.res strong { font-family: var(--f-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: 20px; text-transform: uppercase; color: var(--c-yellow); }
.res span { color: var(--c-muted); font-size: 15px; }
.stat-band__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px 64px; align-items: center; }
.stat-band__num b { display: block; font-family: var(--f-din); font-weight: 800; font-size: clamp(72px, 10vw, 140px); line-height: .9; }
.stat-band__num p { max-width: 46ch; margin: 12px 0 16px; }
.atex__mark--dark { justify-self: center; color: var(--c-black); border-color: var(--c-black); }
.atex-models { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 20px; }
.atex-models li { display: flex; flex-direction: column; gap: 14px; padding: 16px 16px 20px; background: var(--c-panel); border: 1px solid var(--c-line); }
.atex-models__img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: #0a0a0a; }
.atex-models__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.atex-models__img--none { display: grid; place-items: center; font-family: var(--f-din); font-weight: 800; font-size: 28px; letter-spacing: .08em; color: rgba(248, 230, 0, .35); border: 1px dashed rgba(248, 230, 0, .25); }
.atex-models strong { font-family: var(--f-din); font-weight: 800; font-size: 18px; }
.support-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.support-tile { display: flex; flex-direction: column; gap: 8px; height: 100%; padding: 28px; background: var(--c-panel); border: 1px solid var(--c-line); color: var(--c-white); text-decoration: none; transition: border-color .3s, transform .3s; }
.support-tile:hover, .support-tile:focus-visible { border-color: var(--c-yellow); transform: translateY(-3px); }
.support-tile svg { width: 40px; height: 40px; color: var(--c-yellow); margin-bottom: 10px; }
.support-tile strong { font-family: var(--f-display); font-stretch: var(--stretch-display); font-weight: 800; font-size: 22px; text-transform: uppercase; }
.support-tile span { color: var(--c-muted); font-size: 15px; }
.support-more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.prose-wide { max-width: 860px; }
.lib-sec { display: grid; grid-template-columns: 5fr 7fr; gap: 32px 64px; align-items: start; }
.docs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--c-line); }
.doc { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; align-items: center; padding: 20px 0; border-bottom: 1px solid var(--c-line); }
.doc strong { display: block; font-size: 17px; line-height: 1.35; }
.doc__meta { display: block; margin-top: 6px; color: var(--c-faint); font-size: 13.5px; }
.doc__act { display: flex; align-items: center; gap: 12px; }
.doc__soon { font-family: var(--f-din); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--c-faint); }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.pro-side { display: flex; flex-direction: column; gap: 16px; }
.pro-side .principle p { color: rgba(255, 255, 255, .82); margin-bottom: 10px; }
.pro-side .principle a { color: var(--c-yellow); }
@media (max-width: 1024px) {
  .tools, .support-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .res-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lib-sec, .stat-band__grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .pro-teaser .split { grid-template-columns: 1fr; }
  .pro-points, .principles--2, .support-more, .field-row, .docs-band { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  .tools, .support-tiles, .res-grid { grid-template-columns: 1fr; }
  .doc { grid-template-columns: 1fr; }
}
.support-more .principle, .pro-side .principle { min-width: 0; overflow-wrap: anywhere; }
