/* РЕКЛАМЩИК — тёмный сайт: чёрный фон, оранжевый акцент, белый и серый текст.
   Палитра заказчика: #000000, #FF6600, #FFFFFF, #999999. Шрифт без жирного и курсива, не растягиваем. */

@font-face {
  font-family: "Bahnschrift";
  src: url("../assets/fonts/Bahnschrift.ttf") format("truetype");
  font-weight: 300 700;
  font-stretch: 75% 100%;
  font-display: swap;
}

:root {
  --bg: #000000;
  --text: #ffffff;
  --mute: #999999;
  --spot: #ff6600;
  --spot-hi: #ff8533;
  --line: rgba(153, 153, 153, 0.38);
  --line-hi: #999999;
  --soft: rgba(255, 102, 0, 0.1);
  --f: "Bahnschrift", "DIN Alternate", "Arial Narrow", "Segoe UI", sans-serif;
  --gutter: clamp(20px, 6vw, 56px);
  --max: 640px;
  --r: 0px;
  --header-h: 68px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; font-weight: 400 !important; font-style: normal !important; font-stretch: 100% !important; font-synthesis: none; }

html {
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  color-scheme: dark;
  scrollbar-color: #555 #000;
}
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--f); font-size: 1rem; line-height: 1.5; letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums; overflow-x: hidden;
}
::selection { background: var(--spot); color: #000; }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 1px; }
a:hover { color: var(--spot); }
button { font: inherit; color: inherit; letter-spacing: inherit; }
:focus-visible { outline: 2px solid var(--spot); outline-offset: 3px; }
p { margin: 0 0 1em; max-width: 66ch; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; letter-spacing: 0.04em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: var(--gutter); top: -80px; z-index: 100; background: var(--spot); color: #000; padding: 12px 18px; }
.skip:focus { top: 8px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sec { padding-block: clamp(16px, 4vw, 32px) clamp(32px, 6vw, 56px); }
.sec + .sec { border-top: 1px solid var(--line); }
.sec--tight { padding-block: clamp(24px, 4vw, 48px); }

/* ——— Типографика ——— */
.h1 { font-size: clamp(1.5rem, 6.6vw, 1.95rem); color: var(--spot); }
.h2 { font-size: clamp(1.5rem, 6.4vw, 1.9rem); color: var(--spot); }
.h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
.lede { font-size: clamp(1.0625rem, 1.6vw, 1.25rem); color: var(--text); max-width: 56ch; }
.mute, .label { color: var(--mute); }
.label { font-size: 0.875rem; letter-spacing: 0.04em; }
.spot { color: var(--spot); }
.head { display: grid; gap: 12px; margin-bottom: clamp(20px, 3.5vw, 40px); }
.head p { margin: 0; color: var(--mute); max-width: 60ch; }

/* ——— Кнопки ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 12px 28px; background: var(--spot); color: #000; border: 1px solid var(--spot); text-decoration: none; cursor: pointer; font-size: 1rem; letter-spacing: 0.04em; transition: background-color 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { background: var(--spot-hi); border-color: var(--spot-hi); color: #000; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line-hi); }
.btn--ghost:hover { background: transparent; border-color: var(--spot); color: var(--spot); }
.btn--block { display: flex; width: 100%; }
.btn svg { width: 18px; height: 18px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--spot); text-decoration: none; }
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* Мессенджеры: настоящие ссылки, цель нажатия не меньше 44 px */
.social { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.social a { width: 40px; height: 40px; flex: none; display: grid; place-items: center; color: var(--text); border: 0; text-decoration: none; transition: color 0.2s; }
.social a:hover { color: var(--spot); }
.social svg { width: 28px; height: 28px; display: block; flex: none; }
.social--lg a { width: 64px; height: 64px; }
.social--lg svg { width: 52px; height: 52px; }

/* ——— Шапка ——— */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; border-bottom: 1px solid transparent; }
.site-header__in { display: flex; align-items: center; gap: 20px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { height: 36px; width: auto; }
.nav { display: none; }
.header-tel { display: none !important; }
.nav-old { display: none; margin-inline: auto; gap: clamp(14px, 2vw, 30px); flex-wrap: nowrap; }
.nav a { position: relative; text-decoration: none; font-size: 1rem; padding: 8px 0; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: var(--spot); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
.nav a:hover { color: var(--text); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--spot); }
.header-tel { display: none; text-decoration: none; white-space: nowrap; }
.burger { margin-left: auto; width: 48px; height: 48px; display: grid; place-items: center; background: none; border: 1px solid var(--line-hi); cursor: pointer; }
.burger span, .burger span::before, .burger span::after { display: block; width: 26px; height: 2px; background: var(--line-hi); position: relative; transition: transform 0.3s var(--ease), background-color 0.2s; }
.burger span::before, .burger span::after { content: ""; position: absolute; left: 0; }
.burger span::before { top: -8px; }
.burger span::after { top: 8px; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(8px) rotate(45deg); background: var(--spot); }
.burger[aria-expanded="true"] span::after { transform: translateY(-8px) rotate(-45deg); background: var(--spot); }
.mnav { display: grid; grid-template-rows: 0fr; visibility: hidden; background: #000; border-bottom: 1px solid transparent; transition: grid-template-rows 0.45s var(--ease), visibility 0s linear 0.45s, border-color 0.3s; }
.mnav.is-open { grid-template-rows: 1fr; visibility: visible; border-bottom-color: var(--line); transition: grid-template-rows 0.45s var(--ease), visibility 0s, border-color 0.3s; }
.mnav__in { overflow: hidden; min-height: 0; }
.mnav .wrap > a { display: flex; align-items: center; min-height: 56px; text-decoration: none; font-size: 1.5rem; border-top: 1px solid var(--line); opacity: 0; transform: translateY(-14px); transition: opacity 0.3s ease, transform 0.45s var(--ease), color 0.2s; }
.mnav.is-open .wrap > a { opacity: 1; transform: none; }
.mnav.is-open .wrap > a:nth-child(1) { transition-delay: 0.08s; } .mnav.is-open .wrap > a:nth-child(2) { transition-delay: 0.13s; } .mnav.is-open .wrap > a:nth-child(3) { transition-delay: 0.18s; }
.mnav.is-open .wrap > a:nth-child(4) { transition-delay: 0.23s; } .mnav.is-open .wrap > a:nth-child(5) { transition-delay: 0.28s; } .mnav.is-open .wrap > a:nth-child(6) { transition-delay: 0.33s; }
.mnav .wrap > a[aria-current="page"] { color: var(--spot); }
.mnav .wrap > a::after { content: ""; margin-left: auto; width: 10px; height: 10px; border-top: 2px solid var(--spot); border-right: 2px solid var(--spot); transform: rotate(45deg); opacity: 0; transition: opacity 0.2s, transform 0.3s var(--ease); }
.mnav .wrap > a:hover::after, .mnav .wrap > a[aria-current="page"]::after { opacity: 1; transform: translateX(-4px) rotate(45deg); }
.mnav__foot { padding-block: 20px 24px; display: grid; gap: 16px; border-top: 1px solid var(--line); opacity: 0; transform: translateY(-10px); transition: opacity 0.3s ease, transform 0.45s var(--ease); }
.mnav.is-open .mnav__foot { opacity: 1; transform: none; transition-delay: 0.38s; }
.burger span, .burger span::before, .burger span::after { transition: transform 0.35s var(--ease), background-color 0.2s, top 0.35s var(--ease); }
.burger:hover span, .burger:hover span::before, .burger:hover span::after { background: var(--spot); }
.burger { transition: border-color 0.2s; }
.burger:hover, .burger[aria-expanded="true"] { border-color: var(--spot); }
/* Вход меню и ссылок шапки на ПК */
@keyframes navin { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
.nav a, .header-tel { animation: navin 0.6s var(--ease) both; }
.nav a:nth-child(2) { animation-delay: 0.05s; } .nav a:nth-child(3) { animation-delay: 0.1s; } .nav a:nth-child(4) { animation-delay: 0.15s; } .nav a:nth-child(5) { animation-delay: 0.2s; } .nav a:nth-child(6) { animation-delay: 0.25s; }
.header-tel { animation-delay: 0.3s; }
.site-header { transition: border-color 0.3s, background-color 0.3s; }

/* ——— Главный экран ——— */
.hero { padding-block: clamp(24px, 5vw, 64px) clamp(32px, 6vw, 72px); }
.hero__grid { display: grid; gap: clamp(20px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); } }
.hero h1 { font-size: clamp(2rem, 5.6vw, 4rem); color: var(--spot); }
.hero__aud { margin: 14px 0 0; font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--text); }
.hero__aud b { color: var(--spot); }
.hero__sub { margin: 18px 0 0; color: var(--mute); max-width: 44ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.regionmap { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1005 / 941; container-type: inline-size; }
.regionmap .rm-t, .regionmap .rm-p { position: absolute; transform: translate(-50%, -50%); white-space: nowrap; text-decoration: none; line-height: 1; z-index: 1; }
.regionmap .rm-t { color: var(--spot); font-size: 5.57cqw; }
.regionmap .rm-p { color: var(--text); font-size: 3.6cqw; }
.regionmap .rm-t:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.regionmap__bg { width: 100%; height: 100%; background: url(../assets/img/bashkiria-2.png?v=g2) center / contain no-repeat; }
.regionmap__tag { position: absolute; right: 2%; top: 2%; display: grid; gap: 2px; font-size: clamp(0.7rem, 2vw, 0.85rem); color: var(--mute); text-align: right; }
.regionmap__tag span { color: var(--text); }

/* Список носителей */
.carriers { display: grid; border-top: 1px solid var(--line); margin: 0; padding: 0; list-style: none; }
.carriers a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 0; border-bottom: 1px solid var(--line); text-decoration: none; font-size: clamp(1.2rem, 3.4vw, 1.75rem); transition: color 0.2s, padding 0.3s var(--ease); }
.carriers a:hover { color: var(--spot); padding-left: 10px; }
.carriers small { display: block; color: var(--mute); font-size: 0.9375rem; margin-top: 2px; }
.carriers svg { width: 22px; height: 22px; color: var(--spot); flex: none; }
@media (min-width: 880px) { .carriers { grid-template-columns: 1fr 1fr; column-gap: 48px; } }

/* Цифры */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.stat { padding: clamp(16px, 3vw, 28px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 6px; align-content: start; }
.stat b { font-size: clamp(2.4rem, 8vw, 4.4rem); line-height: 0.95; color: var(--spot); }
.stat span { color: var(--mute); font-size: 0.9375rem; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .stats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }

/* ——— Фильтры-кнопки (без горизонтальной прокрутки: переносятся) ——— */
.chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 16px; padding: 0; border: 0; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span, .chip button { display: flex; width: 100%; justify-content: center; text-align: center; align-items: center; min-height: 42px; padding: 6px 14px; cursor: pointer; border: 2px solid var(--line-hi); background: transparent; color: var(--mute); font-size: 1rem; transition: border-color 0.2s, color 0.2s; }
.chip span:hover, .chip button:hover { border-color: var(--text); color: var(--text); }
.chip input:checked + span, .chip button[aria-pressed="true"] { border-color: var(--text); color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--spot); outline-offset: 2px; }
.chips--types .chip input:checked + span, .chips--types .chip button[aria-pressed="true"] { border-color: var(--spot); color: var(--spot); }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-bottom: 16px; }
.count { color: var(--mute); font-size: 0.875rem; margin: 0 0 14px; }
.search { width: min(100%, 420px); min-height: 48px; padding: 8px 16px; background: transparent; color: var(--text); border: 2px solid var(--line-hi); font: inherit; border-radius: 0; }
.search::placeholder { color: var(--mute); }
.search:focus { outline: none; border-color: var(--spot); }

/* ——— Карта и список ——— */
.mapbox { display: grid; border: 1px solid var(--line); background: #000; }
.mapbox__stage { position: relative; height: clamp(340px, 62vh, 520px); background: #0a0a0a; touch-action: pan-y; }
.mapbox__stage.is-expanded { position: fixed !important; inset: 0 !important; z-index: 10000 !important; width: 100vw !important; height: 100vh !important; height: 100dvh !important; min-height: 100vh !important; border: 0; }
.mapbox__expand { position: absolute; top: 10px; right: 10px; z-index: 20; min-height: 42px; padding: 8px 14px; border: 1px solid #999; background: rgba(0,0,0,.9); color: #fff; font: inherit; cursor: pointer; }
.mapbox__expand:hover, .mapbox__expand:focus-visible { border-color: #fff; }
html.map-expanded { overflow: hidden; }
.mapbox__stage > [data-stage] { position: absolute; inset: 0; }
.mapbox__hint { display: none; position: absolute; left: 10px; bottom: 10px; z-index: 3; padding: 6px 10px; background: rgba(0, 0, 0, 0.82); border: 1px solid var(--line); color: var(--mute); font-size: 0.8125rem; pointer-events: none; }
@media (hover: none) and (pointer: coarse) { .mapbox__hint.is-ymap { display: block; } }
.mapbox__list { border-top: 1px solid var(--line); }
.mapbox__count { padding: 12px 16px; border-bottom: 1px solid var(--line); color: var(--mute); font-size: 0.9375rem; }
.pt { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 12px; align-items: center; width: 100%; text-align: left; padding: 12px 16px; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; min-height: 60px; }
.pt:hover, .pt.is-active { background: var(--soft); }
.pt b { display: block; }
.pt small { color: var(--mute); display: block; font-size: 0.875rem; }
.pt em { font-style: normal; color: var(--spot); font-size: 0.875rem; text-align: right; }
.pt__ic svg { display: block; }
.more { display: block; width: 100%; min-height: 56px; background: none; border: 0; border-top: 1px solid var(--line); color: var(--spot); cursor: pointer; font-size: 1.0625rem; }
.more:hover { background: var(--soft); }
.soon { padding: 28px 16px; text-align: center; color: var(--spot); font-size: clamp(1.4rem, 5vw, 2rem); letter-spacing: 0.04em; border-bottom: 1px solid var(--line); }
.note-soon { color: var(--mute); margin: 0 0 16px; font-size: 0.9375rem; }
.note-soon b { color: var(--spot); }
@media (min-width: 1000px) {
  .mapbox--side { grid-template-columns: minmax(0, 1fr) 380px; }
  .mapbox--side .mapbox__stage { height: 600px; }
  .mapbox--side .mapbox__list { border-top: 0; border-left: 1px solid var(--line); height: 600px; overflow: auto; overscroll-behavior: contain; }
  .mapbox--side .mapbox__count { position: sticky; top: 0; background: #000; z-index: 1; }
}
.map-note { position: absolute; left: 10px; bottom: 10px; z-index: 3; background: rgba(0, 0, 0, 0.85); border: 1px solid var(--line); padding: 6px 10px; font-size: 0.8125rem; color: var(--mute); max-width: 300px; }
.scheme { background: #000; }
.scheme svg { width: 100%; height: 100%; }
.scheme .pin { cursor: pointer; }
.scheme .pin:focus-visible { outline: none; }
.scheme .pin.is-active .body, .scheme .pin:focus-visible .body { stroke: var(--spot); stroke-width: 3.5; }
.scheme text { font-family: var(--f); }
.mk { display: block; line-height: 0; transform-origin: 50% 50%; transition: transform 0.2s var(--ease); }
.mk.is-active { transform: scale(1.3); }
.mk svg { display: block; }

/* Карточка точки на карте */
.mapcard { position: relative; grid-column: 1 / -1; min-width: 0; width: 100%; max-height: 360px; overflow: auto; background: #000; border-top: 1px solid var(--line-hi); overscroll-behavior: contain; }
.mapcard[hidden] { display: none; }
.mapcard__x { position: absolute; z-index: 2; right: 8px; top: 8px; width: 44px; height: 44px; border: 1px solid var(--line-hi); background: #000; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.mapcard__x:hover { border-color: var(--spot); color: var(--spot); }
.mapcard__x svg { width: 16px; height: 16px; }
.mapcard__photo { max-width: 350px; aspect-ratio: 3 / 2; background: #111; }
.mapcard__photo img { width: 100%; height: 100%; object-fit: cover; }
.mapcard__body { padding: 16px 18px 20px; display: grid; gap: 10px; }
.mapcard__body p { margin: 0; }
.mapcard__type { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 0.875rem; padding-right: 50px; }
.mapcard__addr { color: var(--mute); }
.mapcard__list { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; font-size: 0.9375rem; }
.mapcard__list li { padding-left: 16px; position: relative; }
.mapcard__list li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--spot); }
.mapcard .btn { margin-top: 4px; min-height: 48px; }

/* ——— Карточки уличных экранов ——— */
.cards { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { border: 1px solid var(--line-hi); background: #000; display: grid; grid-template-rows: auto 1fr; transition: border-color 0.25s; }
.card:hover { border-color: var(--spot); }
.card__photo { aspect-ratio: 3 / 2; overflow: hidden; background: #111; }
.card__photo img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.card__title { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.card__title h3 { font-size: 1.2rem; }
.card__city { color: var(--mute); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.card__size { color: var(--mute); margin: 0; font-size: 1rem; }
.card__addr { margin: 0; font-size: 1.0625rem; }
.card__meta { margin: 0; color: var(--mute); font-size: 0.9375rem; }
.card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.card__wifi { display: inline-flex; align-items: center; gap: 8px; color: var(--mute); font-size: 0.75rem; line-height: 1.2; text-align: right; max-width: 15ch; }
.card__wifi svg { width: 28px; height: 28px; flex: none; color: var(--mute); }
.btn-line { display: inline-flex; align-items: center; min-height: 48px; padding: 8px 16px; border: 2px solid var(--line-hi); background: none; color: var(--text); cursor: pointer; text-decoration: none; font-size: 1rem; transition: border-color 0.2s, color 0.2s; }
.btn-line:hover { border-color: var(--spot); color: var(--spot); }

/* ——— Строки таблицы (всегда целиком в ширину экрана) ——— */
.rows { border-top: 1px solid var(--line-hi); }
.rowhead { display: none; }
.trow { display: grid; grid-template-columns: 2.2rem minmax(0, 1fr) auto; grid-template-areas: "n v d" "n a a" "n p h"; gap: 2px 12px; padding: 12px 8px; border-bottom: 1px solid var(--line); cursor: pointer; }
.trow:hover, .trow.is-active { background: var(--soft); }
.trow > * { min-width: 0; overflow-wrap: anywhere; }
.c-n { grid-area: n; color: var(--mute); }
.c-v { grid-area: v; }
.c-a { grid-area: a; color: var(--mute); font-size: 0.9375rem; }
.c-p { grid-area: p; color: var(--mute); font-size: 0.9375rem; }
.c-h { grid-area: h; color: var(--mute); font-size: 0.9375rem; text-align: right; }
.c-d { grid-area: d; text-align: right; color: var(--spot); white-space: nowrap; }
@media (min-width: 760px) {
  .rowhead, .trow { grid-template-columns: 3rem minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 1.1fr) 7rem 6rem; grid-template-areas: "n v a p h d"; gap: 0 16px; align-items: baseline; }
  .rowhead { display: grid; padding: 10px 8px; color: var(--mute); font-size: 0.875rem; border-bottom: 1px solid var(--line-hi); }
  .rowhead span:last-child { text-align: right; }
  .c-a, .c-p, .c-h { font-size: 1.0625rem; color: var(--text); }
  .c-h { text-align: left; }
}
.rows--radio .trow { grid-template-areas: "n v d" "n a a" "n p h"; }
@media (min-width: 760px) { .rows--radio .rowhead, .rows--radio .trow { grid-template-columns: 3rem minmax(0, 1.35fr) minmax(0, 1.5fr) minmax(0, 1.1fr) 7rem 6rem; } }

/* ——— Размещение: список носителей и панели ——— */
.picker { display: grid; border-top: 1px solid var(--line); margin: 0 0 clamp(20px, 4vw, 36px); }
.picker button { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 58px; padding: 12px 0; background: none; border: 0; border-bottom: 1px solid var(--line); cursor: pointer; text-align: left; font-size: clamp(1.2rem, 3.6vw, 1.6rem); color: var(--text); transition: color 0.2s; }
.picker button:hover { color: var(--spot); }
.picker button[aria-selected="true"] { color: var(--spot); }
.picker small { color: var(--mute); font-size: 0.9375rem; }
.panel[hidden] { display: none; }
.banner { margin: 0 0 20px; border: 1px solid var(--line); background: #000; overflow: hidden; }
.banner img { width: 100%; height: auto; }
@media (max-width: 879px) { .banner--hero img { max-height: 300px; object-fit: cover; object-position: center 30%; } }
.twocol { display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 880px) { .twocol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.fm { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 800px) { .fm { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fm__card { border: 0; }
.fm__card img { width: 100%; height: auto; }
.fm__body { padding: 14px 16px 16px; display: grid; gap: 8px; border: 1.5px solid var(--line-hi); border-top: 0; }
.fm__body h3 { font-size: 1.05rem; display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.fm__body h3 span { color: var(--mute); font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.06em; }
.fm__body p { margin: 0; color: var(--mute); font-size: 0.8125rem; }
.fm__body p.big { color: var(--text); font-size: 0.9375rem; }

/* ——— Блок-симулятор ——— */
.sim { border: 1px solid var(--line-hi); }
.sim__screen { position: relative; aspect-ratio: 21 / 9; background: #000; display: grid; place-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.sim__screen::before { content: ""; position: absolute; inset: 0; opacity: 0.5; background-image: radial-gradient(circle at center, rgba(255, 255, 255, 0.22) 0.9px, transparent 1.4px); background-size: 6px 6px; }
.sim__ad { position: relative; text-align: center; padding: 12px; }
.sim__ad b { display: block; font-size: clamp(1.6rem, 6vw, 3.2rem); color: #555; line-height: 1; transition: color 0.2s; }
.sim__ad small { display: block; margin-top: 8px; color: #555; font-size: 0.8125rem; letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s; }
.sim__screen.is-live .sim__ad b { color: var(--spot); }
.sim__screen.is-live .sim__ad small { color: #ffb380; }
.sim__tag { position: absolute; left: 12px; top: 10px; display: flex; align-items: center; gap: 8px; z-index: 1; color: var(--mute); font-size: 0.8125rem; }
.sim__tag i { width: 8px; height: 8px; background: #555; border-radius: 50%; }
.sim__screen.is-live .sim__tag i { background: var(--spot); }
.sim__body { padding: clamp(14px, 3vw, 24px); display: grid; gap: 18px; }
.sim__controls { display: flex; flex-wrap: wrap; gap: 16px 32px; }
.sim__controls > div { display: grid; gap: 8px; }
.seg { display: inline-flex; flex-wrap: wrap; gap: 8px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg label { min-width: 64px; min-height: 48px; padding: 8px 16px; display: grid; place-items: center; cursor: pointer; border: 2px solid var(--line-hi); color: var(--mute); }
.seg label:hover { border-color: var(--text); color: var(--text); }
.seg input:checked + label { border-color: var(--spot); color: var(--spot); }
.seg input:focus-visible + label { outline: 2px solid var(--spot); outline-offset: 2px; }
.strip { position: relative; padding-top: 6px; }
.strip__ticks { display: grid; grid-template-columns: repeat(72, 1fr); gap: 1px; height: 56px; align-items: end; }
.strip__ticks i { background: #333; min-width: 1px; }
.strip__ticks i.is-you { background: var(--spot); height: 100% !important; }
.strip__play { position: absolute; top: 0; bottom: 22px; left: 0; width: 2px; background: #fff; z-index: 2; pointer-events: none; will-change: transform; }
.strip__ruler { display: flex; justify-content: space-between; margin-top: 6px; font-size: 0.75rem; color: var(--mute); }
.sim__facts { margin: 0; color: var(--text); }
.sim__facts b { color: var(--spot); }

/* ——— Изготовление: видео и аудио ——— */
.vgroup { margin-bottom: clamp(28px, 5vw, 48px); }
.vgroup > .label { display: block; margin-bottom: 12px; font-size: 1rem; }
.vgrid { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .vgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.vid { position: relative; background: #000; border: 0; aspect-ratio: 16 / 9; overflow: hidden; }
.vid video, .vid img { width: 100%; height: 100%; object-fit: cover; }
.vid__play { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0, 0, 0, 0.25); border: 0; cursor: pointer; width: 100%; }
.vid__play span { width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: rgba(0, 0, 0, 0.35); border: 2px solid rgba(255, 255, 255, 0.85); color: #fff; transition: transform 0.25s var(--ease), background-color 0.2s; }
.vid__play:hover span { transform: scale(1.08); background: rgba(255, 255, 255, 0.18); }
.vid__play svg { width: 26px; height: 26px; margin-left: 3px; }
.vid.is-playing .vid__play { display: none; }
.audio { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 4px 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.audio:first-of-type { border-top: 1px solid var(--line-hi); }
.audio__btn { grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.85); background: transparent; color: #fff; display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
.audio__btn:hover, .audio.is-playing .audio__btn { background: #fff; color: #000; }
.audio__btn svg { width: 22px; height: 22px; }
.audio__btn .i-pause { display: none; }
.audio.is-playing .i-pause { display: block; }
.audio.is-playing .i-play { display: none; }
.audio__name { font-size: 1.125rem; }
.audio__bar { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr) 3.2rem; gap: 10px; align-items: center; color: var(--mute); font-size: 0.875rem; }
.audio__bar span:last-child { text-align: right; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 32px; background: transparent; cursor: pointer; margin: 0; --p: 0%; }
.range::-webkit-slider-runnable-track { height: 4px; background: linear-gradient(90deg, var(--spot) var(--p), #444 var(--p)); }
.range::-moz-range-track { height: 4px; background: #444; }
.range::-moz-range-progress { height: 4px; background: var(--spot); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; margin-top: -7px; border: 0; }
.range::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; }
.draw svg { max-width: 100%; height: auto; overflow: visible; }
.draw .scr { fill: rgba(255, 102, 0, 0.08); stroke: #999; stroke-width: 1.5; }
.draw .dim { stroke: #999; stroke-width: 1; fill: none; }
.draw text { fill: #999; font-family: var(--f); font-size: 13px; }
.spec { margin: 0; display: grid; border-top: 1px solid var(--line); }
.spec > div { display: grid; grid-template-columns: minmax(110px, 0.8fr) 1.4fr; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--mute); font-size: 0.9375rem; }
.spec dd { margin: 0; }

/* ——— Файлы и новости ——— */
.files { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .files { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .files { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.file { border: 1px solid var(--line-hi); display: grid; grid-template-rows: auto 1fr; transition: border-color 0.25s; }
.file:hover { border-color: var(--spot); }
.file__prev { position: relative; aspect-ratio: 4 / 3; background: #0b0b0b; overflow: hidden; border-bottom: 1px solid var(--line); display: grid; place-items: center; }
.file__prev img, .file__prev video { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.file__ext { position: absolute; left: 10px; top: 10px; padding: 3px 9px; background: #000; border: 1px solid var(--spot); color: var(--spot); font-size: 0.8125rem; letter-spacing: 0.08em; }
.file__body { padding: 16px 18px 18px; display: grid; gap: 8px; align-content: start; }
.file__body h3 { font-size: 1.25rem; }
.file__body p { margin: 0; color: var(--mute); font-size: 0.9375rem; }
.file__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.empty { padding: 40px 0; color: var(--mute); border-top: 1px solid var(--line); }
.posts { display: grid; gap: 0; border-top: 1px solid var(--line-hi); }
.post { display: grid; gap: 16px; padding-block: clamp(20px, 4vw, 36px); border-bottom: 1px solid var(--line); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .post { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; } .post--text { grid-template-columns: minmax(0, 1fr); } }
.post__media { background: #0b0b0b; border: 1px solid var(--line); position: relative; }
.post__media img, .post__media video { width: 100%; height: auto; max-height: 560px; object-fit: contain; background: #000; }
.post__body { display: grid; gap: 10px; align-content: start; }
.post__body h2 { font-size: clamp(1.4rem, 3.4vw, 2rem); color: var(--text); }
.post__body p { margin: 0; color: var(--mute); }
.post__date { color: var(--spot); font-size: 0.9375rem; }

/* ——— Контакты ——— */
.contact-grid { display: grid; gap: clamp(20px, 4vw, 48px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); } }
.cfield { display: grid; gap: 6px; margin-bottom: 20px; }
.cfield .label { font-size: 0.8125rem; }
.cbox { display: block; padding: 14px 16px; border: 1.5px solid #fff; text-align: center; text-decoration: none; font-size: 1.15rem; overflow-wrap: anywhere; transition: border-color 0.2s, color 0.2s; }
a.cbox:hover { border-color: var(--spot); color: var(--spot); }
.mini-map { border: 1.5px solid #fff !important; position: relative; height: clamp(300px, 52vh, 460px); border: 1px solid var(--line); background: #0a0a0a; }
.mini-map [data-stage] { position: absolute; inset: 0; }

/* ——— О компании ——— */
.about { display: grid; gap: clamp(24px, 4vw, 56px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .about { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; } }
.about__text p { max-width: 62ch; }
.about__photos { display: grid; gap: 16px; }
.about__photos figure { margin: 0; border: 1px solid var(--line); }
.about__photos img { width: 100%; height: auto; }

/* ——— Форма-окно ——— */
.dlg { width: min(560px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0; background: #000; color: var(--text); border: 1px solid var(--spot); overflow: auto; margin: auto; }
.dlg::backdrop { background: rgba(0, 0, 0, 0.82); }
.dlg__in { padding: clamp(18px, 4vw, 32px); position: relative; }
.dlg__x { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border: 1px solid var(--line-hi); background: none; color: var(--text); cursor: pointer; display: grid; place-items: center; }
.dlg__x:hover { border-color: var(--spot); color: var(--spot); }
.dlg__x svg { width: 16px; height: 16px; }
.dlg h2 { color: var(--spot); font-size: 1.9rem; margin-bottom: 8px; padding-right: 52px; }
.dlg .lead { color: var(--mute); margin-bottom: 18px; }
.form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { color: var(--mute); font-size: 0.9375rem; }
.input { width: 100%; min-height: 52px; padding: 12px 14px; background: #000; color: var(--text); border: 1px solid var(--line-hi); font: inherit; font-size: 1.0625rem; border-radius: 0; }
.input::placeholder { color: #666; }
textarea.input { min-height: 110px; resize: vertical; }
.input:focus { outline: none; border-color: var(--spot); }
.input[aria-invalid="true"] { border-color: #ff4d3d; }
.field__err { color: #ff6b5c; font-size: 0.9375rem; margin: 0; min-height: 1.2em; }
.consent { display: flex; gap: 12px; align-items: flex-start; font-size: 0.9375rem; color: var(--mute); }
.consent input { width: 24px; height: 24px; accent-color: var(--spot); margin-top: 1px; flex: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form__ok { display: grid; gap: 12px; padding: 8px 0; }
.form__ok[hidden], .form[hidden] { display: none; }
.form__alt { display: grid; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); margin-top: 6px; color: var(--mute); font-size: 0.9375rem; }

/* ——— Подвал (как в макете) ——— */
.site-footer { padding-block: clamp(32px, 6vw, 56px) 32px; }
.footer__in { display: grid; gap: 22px; justify-items: center; text-align: center; }
.footer__mark { width: min(100%, 300px); height: auto; }
.footer__in .btn { width: 100%; }
.footer__line { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 10px; }
.footer__line .social { gap: 6px; flex-wrap: nowrap; align-items: center; }
.footer__tel { font-size: 1.3rem; text-decoration: none; white-space: nowrap; }
.footer__mail { font-size: 1.15rem; text-decoration: none; overflow-wrap: anywhere; }
.footer__copy { color: var(--mute); display: grid; gap: 4px; font-size: 0.9375rem; }
.footer__copy a { text-decoration: underline; text-underline-offset: 0.2em; }
.footer__copy a:hover { color: var(--spot); }
.footer__legal { color: #777; font-size: 0.8125rem; max-width: 56ch; line-height: 1.5; }
.footer__legal a { text-decoration: underline; text-underline-offset: 0.2em; }
.footer__legal a:hover { color: var(--spot); }

/* ——— Юридические документы ——— */
.legal-grid { display: grid; gap: 28px 56px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .legal-grid { grid-template-columns: 250px minmax(0, 1fr); align-items: start; } }
.legal-nav { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .legal-nav { position: sticky; top: calc(var(--header-h) + 24px); flex-direction: column; } }
.legal-nav a { padding: 12px 16px; border: 1px solid var(--line-hi); text-decoration: none; }
.legal-nav a:hover { border-color: var(--spot); color: var(--spot); }
.legal article { margin-bottom: clamp(40px, 7vw, 80px); scroll-margin-top: calc(var(--header-h) + 16px); }
.legal h2 { margin-bottom: 24px; }
.legal h3 { margin: 28px 0 10px; font-size: 1.2rem; color: var(--text); }
.legal p, .legal li { max-width: 74ch; overflow-wrap: break-word; color: #ddd; }
.legal ul { margin: 0 0 1em; padding-left: 1.25em; }
.legal li::marker { color: var(--spot); }

.rv { opacity: 1; }
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .js .rv { opacity: 1; transform: none; }
}
@media (max-width: 400px) { .btn { padding-inline: 18px; } .card__title h3 { font-size: 1.3rem; } }

/* ——— Шапка страницы «Размещение» ——— */
.phead { display: grid; gap: clamp(20px, 4vw, 64px); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .phead { grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: center; } }
.phead .banner { margin: 0; }
.phead .banner img { width: 100%; max-height: 520px; object-fit: cover; object-position: center 35%; }
.phead .picker { margin: 0; }
.phead .head { margin-bottom: clamp(12px, 2vw, 24px); }

/* ——— Карта Leaflet: тёмная ——— */
.leaflet-container { background: #0a0a0a; font-family: var(--f); isolation: isolate; z-index: 0; outline: none; }
.leaflet-tile-pane { filter: invert(1) hue-rotate(180deg) brightness(1.2) contrast(1.1) saturate(0.2); }
.leaflet-bar a, .leaflet-bar a:hover { background: #000; color: #fff; border-color: #555; width: 40px; height: 40px; line-height: 40px; font-size: 20px; }
.leaflet-bar a:hover { color: var(--spot); }
.leaflet-bar { border: 1px solid #555; box-shadow: none; }
.leaflet-control-attribution { background: rgba(0, 0, 0, 0.75) !important; color: #999 !important; font-size: 11px; }
.leaflet-control-attribution a { color: #bbb !important; }
.mk-wrap { background: none; border: 0; }
.mk-cluster { background: none; }
.mk-cluster span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #000; border: 2px solid var(--spot); color: #fff; font-size: 16px; box-shadow: 0 0 0 5px rgba(255, 102, 0, 0.25); }
.mk-cluster:hover span { background: var(--spot); color: #000; }
.leaflet-marker-icon:focus-visible { outline: 2px solid var(--spot); outline-offset: 2px; border-radius: 50%; }

/* Окно заявки: плавное появление */
@keyframes dlgin { from { opacity: 0; transform: translateY(18px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.dlg[open] { animation: dlgin 0.4s var(--ease); }
.dlg[open]::backdrop { animation: fade 0.3s ease; }
@media (prefers-reduced-motion: reduce) { .nav a, .header-tel, .dlg[open] { animation: none; } .mnav .wrap > a, .mnav__foot { transition: none; opacity: 1; transform: none; } }

/* ——— Главная по макету ——— */
.lead-o { margin: 0 auto; text-align: center; color: var(--spot); font-size: clamp(0.95rem, 4.5vw, 1.5rem); line-height: 1.35; white-space: nowrap; }
.regionmap { max-width: 520px; margin-top: 8px; }
.regionmap__legend { position: absolute; right: 5%; top: 19.7%; z-index: 2; margin: 0; padding: 0; list-style: none; text-align: right; font-size: 3.04cqw; line-height: 3.95cqw; color: #fff; }
.regionmap__mark { position: absolute; left: 6.3%; bottom: 3.2%; width: 50.5%; aspect-ratio: 832 / 148; background: url(../assets/img/vash-reklamshik.png) left center / contain no-repeat; z-index: 2; }
.bigmenu { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.bigmenu a { display: block; padding: 8px 0; text-decoration: none; font-size: 1.3rem; }
.bigmenu a:hover { color: var(--spot); }
.sub-mute { color: var(--mute); font-size: 0.875rem; margin: 0 0 20px; }
.pick { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 2px; }
.pick a { display: block; padding: 8px 0; text-decoration: none; font-size: 1.3rem; }
.pick a:hover { color: var(--spot); }
.pic { margin: 0 0 24px; }
.pic img { width: 100%; height: auto; }
.cap { color: var(--mute); font-size: 0.8125rem; margin: 6px 0 0; }
.vstack { display: grid; gap: 22px; margin-bottom: 28px; }
.mapbox--plain { border: 1px solid var(--line-hi); }
/* окно заявки: два отдельных согласия */
.checks2 { display: grid; gap: 12px; }
.mapbox--nolist .mapbox__list { display: none; }
.social--row { justify-content: center; gap: 28px; }
.mapbox__stage ymaps[class*="ground-pane"], .mini-map ymaps[class*="ground-pane"] { filter: invert(1) hue-rotate(180deg) brightness(1.15) contrast(1.05) saturate(0.25); }

/* ================= КОМПЬЮТЕР И ПЛАНШЕТ: широкая раскладка (телефон остаётся как в макете) ================= */
.twocol, .contact-grid, .home-top { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
.footer__contacts { display: grid; gap: 22px; justify-items: center; }

@media (min-width: 960px) {
  :root { --max: 1200px; --gutter: 40px; --header-h: 80px; }
  .brand img { height: 42px; }
  .burger, .mnav { display: none !important; }
  .nav { display: flex; margin-left: auto; gap: clamp(20px, 2.6vw, 40px); animation: none; }
  .nav a { position: relative; text-decoration: none; font-size: 1.0625rem; padding: 10px 0; white-space: nowrap; animation: navin 0.6s var(--ease) both; }
  .nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; background: var(--spot); transform: scaleX(0); transform-origin: left; transition: transform 0.3s var(--ease); }
  .nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
  .nav a[aria-current="page"] { color: var(--spot); }
  .site-header { border-bottom-color: var(--line); }

  .sec { padding-block: 40px 72px; }
  .h1 { font-size: 2.75rem; margin-bottom: 8px; }
  .sub-mute { font-size: 1rem; }

  /* кнопки городов и типов в один ряд */
  .chips { display: flex; flex-wrap: wrap; gap: 12px; }
  .chip span, .chip button { width: auto; min-width: 150px; min-height: 46px; font-size: 1rem; }

  /* главная: карточка и меню рядом */
  .home-top { grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 80px; align-items: center; }
  .home-card { max-width: 600px; }
  .lead-o { font-size: 1.5rem; }
  .bigmenu { gap: 8px; }
  .bigmenu a { font-size: 2rem; padding: 10px 0; }
  .mapbox__stage { height: 560px; }
  .mapbox--side { grid-template-columns: minmax(0, 1fr) 400px; }
  .mapbox--side .mapbox__list { height: 560px; }

  /* размещение, страницы носителей: текст и картинка рядом */
  .twocol { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
  .twocol.place .pick a { font-size: 1.75rem; padding: 12px 0; }
  .twocol .pic { margin: 0; }
  .twocol.top .pic img { max-height: 320px; width: 100%; object-fit: cover; }
  .twocol.place .pic img { max-height: 520px; width: 100%; object-fit: cover; object-position: center 35%; }
  .twocol.top { margin-bottom: 8px; }
  .search { max-width: 480px; }

  /* карточки и видео */
  .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
  .fm { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .vstack { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px 24px; }
  #audios { max-width: 760px; }
  .files { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  /* таблицы: все колонки на всю ширину */
  .rowhead, .trow { font-size: 1.0625rem; }

  /* контакты: поля слева, карта справа */
  .contact-grid { grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
  .mini-map { height: 100%; min-height: 460px; }
  .cbox { font-size: 1.35rem; }

  /* о компании */
  .about { gap: 64px; }

  /* подвал в одну строку блоков */
  .site-footer { padding-block: 56px 40px; }
  .footer__in { grid-template-columns: auto 1fr auto; grid-template-areas: "mark contacts btn" "copy copy copy"; justify-items: start; align-items: center; text-align: left; gap: 32px 56px; }
  .footer__mark { grid-area: mark; width: 300px; }
  .footer__contacts { grid-area: contacts; justify-items: start; gap: 8px; }
  .footer__line { justify-content: flex-start; }
  .footer__in .btn { grid-area: btn; width: 320px; }
  .footer__copy { grid-area: copy; display: flex; flex-wrap: wrap; gap: 8px 32px; padding-top: 24px; border-top: 1px solid var(--line); width: 100%; }
}

@media (min-width: 1280px) {
  .home-top { gap: 120px; }
}
@media (min-width: 960px) { .twocol .chip span { min-width: 112px; padding-inline: 10px; } .twocol.top > div:first-child { padding-right: 8px; } }

/* Компьютер: карточка главной масштабируется целиком, как картинка (пропорции утверждённой карточки) */
@media (min-width: 960px) {
  html { font-variation-settings: "wght" 400, "wdth" 100; }
  .home-card { container-type: inline-size; width: 100%; max-width: 640px; }
  .home-top { grid-template-columns: minmax(0, 640px) minmax(0, 1fr); gap: 96px; align-items: start; }
  .lead-o { font-size: 4.4cqw; margin-bottom: 1.2cqw; }
  .regionmap { max-width: none; margin-top: 0; }
  .bigmenu { align-self: center; gap: 4px; }
  .bigmenu a { font-size: 1.9rem; padding: 12px 0; }
}
.mapbox__stage [data-stage], .mini-map [data-stage] { isolation: isolate; z-index: 0; }
ymaps[class*="copyrights-pane"], ymaps[class*="controls__bottom"] { z-index: 1; }

/* ——— Переключатель носителей внутри «Размещения» ——— */
.pnav { display: flex; flex-wrap: wrap; gap: 4px 20px; margin: 0 0 14px; font-size: 0.875rem; }
.pnav a { color: var(--mute); text-decoration: none; padding: 7px 0; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.pnav a:hover { color: var(--text); }
.pnav a[aria-current="page"] { color: var(--spot); border-bottom-color: var(--spot); }
.pnav__back { color: #666; }
.pnav__back::after { content: "/"; margin-left: 20px; color: #444; }

/* ——— Исправления широкой раскладки ——— */
@media (min-width: 760px) {
  .rows--radio .trow { grid-template-areas: "n v a p h d"; }
}
@media (min-width: 960px) {
  .pnav { gap: 6px 32px; font-size: 1rem; margin-bottom: 18px; }
  .twocol.top { align-items: start; }
  .twocol.top .pic img { width: 100%; height: auto; max-height: 420px; object-fit: contain; object-position: top right; }
  .footer__in { grid-template-columns: auto 1fr; grid-template-areas: "mark contacts" "copy copy"; }
}

/* Значки в подвале: плотный ряд одного размера, как в макете (страницы 1 и 3) */
.footer__line .social { gap: 0; }
.footer__line .social a { width: 36px; height: 36px; }
.footer__line .social svg { width: 32px; height: 32px; }
.footer__line { gap: 4px 12px; }

/* Картинки не реагируют на мышь: браузерные панельки поверх изображений не появляются */
main img, .site-header img, .site-footer img { pointer-events: none; -webkit-user-drag: none; user-select: none; }
