/* Мир антенн — стили сайта sput-tv.ru
   Layout: витрина-прайс — тёмно-синяя «ночная» шапка, светлая доска с ценами
   на точечных выносках, одна янтарная полоса «Вызов мастера». */
:root {
  --night: #0d1f3a;
  --night-2: #16305a;
  --night-deep: #071428;
  --night-line: #2a4470;
  --on-night: #eef3f9;
  --on-night-muted: #a9b9cf;
  --paper: #eef2f6;
  --card: #ffffff;
  --ink: #0f1b2c;
  --muted: #536175;
  --line: #d3dbe4;
  --line-strong: #b9c5d3;
  --amber: #e8eef7;
  --amber-soft: #eef2f8;
  --open: #1d7f54;
  --closed: #a63f32;
  --focus: #2563d6;

  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.1875rem;
  --step-2: 1.4rem;
  --step-3: clamp(1.55rem, 1.2rem + 1.4vw, 2.1rem);
  --step-4: clamp(1.85rem, 1.3rem + 2.8vw, 3.1rem);
  --radius: 12px;
  --max: 72rem;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; font-size: 106.25%; }
@media (min-width: 900px) { html { font-size: 112.5%; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--step-0);
  line-height: 1.55;
}

img, svg { max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; letter-spacing: -0.015em; }
h1 { font-size: var(--step-4); font-weight: 800; }
h2 { font-size: var(--step-3); font-weight: 800; }
h3 { font-size: var(--step-1); font-weight: 700; letter-spacing: -0.005em; }
ul { margin: 0; padding: 0; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50;
  background: var(--card); color: var(--ink); padding: .6rem 1rem; border-radius: 8px;
}
.skip:focus { top: 12px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.wrap {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 900px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

.eyebrow {
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Шапка ---------- */
.site-header {
  background: var(--card);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas: "brand phones" "nav nav";
  align-items: center;
  column-gap: 1.5rem;
  padding-block: .6rem 0;
}
.brand {
  grid-area: brand;
  display: inline-flex; align-items: center; gap: .65rem;
  text-decoration: none; color: var(--ink);
  min-width: 0;
}
.brand .logo { width: 42px; height: 42px; flex: none; color: var(--night); }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-sub { font-size: .78rem; color: var(--muted); margin-top: .2rem; }

.logo-dish, .logo-lnb { fill: currentColor; }
.logo-arm { stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; fill: none; }
.logo-wave { stroke: var(--amber); stroke-width: 2.6; stroke-linecap: round; fill: none; }

.nav {
  grid-area: nav;
  display: flex; gap: .25rem;
  overflow-x: auto; scrollbar-width: none;
  padding-block: .55rem;
  margin-inline: -4px;
}
.nav::-webkit-scrollbar { display: none; }
.nav a {
  flex: none;
  padding: .45rem .85rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
}
.nav a:hover { background: var(--paper); }
.nav a[aria-current="page"] { background: var(--night); color: var(--on-night); }

.header-phones {
  grid-area: phones;
  display: none;
  text-align: right;
  font-size: .9rem;
  line-height: 1.35;
}
.header-phones a { display: block; text-decoration: none; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.header-phones a span { font-weight: 500; color: var(--muted); margin-right: .35rem; }
.header-phones a:hover { color: var(--focus); }
@media (min-width: 720px) { .header-phones { display: block; } }

/* ---------- Кнопки ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .7rem 1.2rem;
  border-radius: 10px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn-amber { background: var(--amber); color: var(--night); }
.btn-amber:hover { background: var(--card); }
.btn-line { border-color: var(--line-strong); color: var(--ink); background: var(--card); }
.btn-line:hover { border-color: var(--ink); }
.btn svg { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

/* ---------- Главный экран ---------- */
.hero { background: var(--night); color: var(--on-night); }
.hero-grid {
  display: grid; gap: 2.25rem;
  grid-template-columns: minmax(0, 1fr);
  padding-block: 2.5rem 3rem;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; padding-block: 3.75rem 4.25rem; gap: 3.5rem; }
}
.hero .eyebrow { color: var(--amber); }
.hero h1 { margin-top: .75rem; max-width: 18ch; }
.hero .lead { margin-top: 1.1rem; font-size: var(--step-1); color: var(--on-night-muted); max-width: 38rem; }
.hero-phones {
  margin-top: 1.8rem;
  display: grid; gap: .75rem;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  max-width: 40rem;
}
.hero-phone {
  display: block; text-decoration: none;
  padding: .9rem 1rem;
  border: 1px solid var(--night-line);
  border-radius: var(--radius);
  background: var(--night-2);
}
.hero-phone:hover { border-color: var(--amber); }
.hero-phone .town { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--amber); font-weight: 700; }
.hero-phone .num { display: block; font-size: 1.3rem; font-weight: 800; margin-top: .15rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hero-phone .addr { display: block; font-size: .88rem; color: var(--on-night-muted); margin-top: .2rem; }

/* ---------- Секции ---------- */
.section { padding-block: 3rem; }
@media (min-width: 900px) { .section { padding-block: 4.25rem; } }
.section-head { display: grid; gap: .6rem; margin-bottom: 1.75rem; max-width: 46rem; }
.section-head p { color: var(--muted); }

.page-head { padding-block: 2.25rem 1.5rem; }
@media (min-width: 900px) { .page-head { padding-block: 3.25rem 2rem; } }
.page-head h1 { font-size: var(--step-4); margin-top: .5rem; max-width: 22ch; }
.page-head .lead { margin-top: 1rem; font-size: var(--step-1); color: var(--muted); max-width: 44rem; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }
.chips a {
  padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--line-strong);
  background: var(--card); text-decoration: none; font-weight: 600; font-size: .95rem;
}
.chips a:hover { border-color: var(--ink); }

/* Карточки направлений на главной */
.offers { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); }
@media (min-width: 760px) { .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.offer {
  display: flex; flex-direction: column; gap: .6rem;
  padding: 1.35rem 1.4rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  min-width: 0;
}
.offer:hover { border-color: var(--ink); }
.offer p { color: var(--muted); }
.offer-foot {
  margin-top: auto; padding-top: .9rem;
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  border-top: 1px dashed var(--line);
}
.offer-price { font-weight: 800; font-size: var(--step-1); font-variant-numeric: tabular-nums; }
.offer-more { font-weight: 600; color: var(--focus); }

/* Янтарная полоса: вызов мастера */
.master { background: var(--amber); color: var(--night); }
.master-grid { display: grid; gap: 2rem; padding-block: 2.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .master-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); padding-block: 3.75rem; gap: 3.5rem; align-items: start; } }
.master .eyebrow { color: var(--night); }
.master h2 { margin-top: .5rem; }
.master-text { margin-top: 1rem; font-size: var(--step-1); max-width: 36rem; }
.master-call { display: grid; gap: .75rem; }
.master-call > p { font-weight: 600; }
.call-card {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .15rem .9rem; align-items: center;
  padding: 1rem 1.1rem; border-radius: var(--radius);
  background: var(--night); color: var(--on-night); text-decoration: none;
}
.call-card:hover { background: var(--night-2); }
.call-card svg { grid-row: span 2; width: 28px; height: 28px; fill: var(--amber); }
.call-card .town { font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; color: var(--on-night-muted); font-weight: 700; }
.call-card .num { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.master-link { font-weight: 700; }

/* Магазины */
.stores { display: grid; gap: 1rem; }
@media (min-width: 760px) { .stores { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.store {
  display: flex; flex-direction: column; gap: 1rem;
  padding: 1.4rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  min-width: 0;
}
.store-head { display: flex; flex-direction: column; align-items: flex-start; gap: .6rem; }
.store h3 { font-size: var(--step-2); font-weight: 800; }
.store-addr { color: var(--muted); }
.status {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .88rem; font-weight: 700;
  padding: .3rem .7rem; border-radius: 8px;
  background: var(--paper);
}
.status::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: currentColor; }
.status[data-state="open"] { color: var(--open); }
.status[data-state="closed"] { color: var(--closed); }
.hours { margin: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .35rem 1.25rem; font-variant-numeric: tabular-nums; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; }
.store-phone { font-size: 1.45rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.store-phone:hover { color: var(--focus); }
.store-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: auto; }

/* ---------- Прайс с точечными выносками ---------- */
.price-block { max-width: 48rem; }
.price-block + .price-block { margin-top: 2.5rem; }
.price-block h3 { font-size: var(--step-2); font-weight: 800; }
.price-block .sub { color: var(--muted); margin-top: .35rem; }
.pricelist { list-style: none; margin-top: 1rem; border-top: 2px solid var(--ink); }
.pricelist li {
  display: flex; align-items: flex-end; gap: .6rem;
  padding-block: .7rem;
  border-bottom: 1px solid var(--line);
}
.pricelist .name { flex: 0 1 auto; min-width: 0; }
.pricelist .name small { display: block; color: var(--muted); font-size: .88rem; margin-top: .15rem; }
.pricelist .dots { flex: 1 1 1.5rem; min-width: 1.5rem; border-bottom: 2px dotted var(--line-strong); margin-bottom: .4rem; }
.pricelist .price { flex: none; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricelist .price.ask { font-weight: 500; color: var(--muted); }

/* Установка под ключ: две карточки */
.install { display: grid; gap: 1rem; }
@media (min-width: 820px) { .install { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.install-card {
  display: flex; flex-direction: column; gap: 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem;
  min-width: 0;
}
.install-card ol, .install-card ul.ticks { margin: 0; padding-left: 1.25rem; display: grid; gap: .35rem; }
.install-card .note { color: var(--muted); font-size: .92rem; }
.install-prices { margin: auto 0 0; display: grid; gap: .5rem; padding-top: 1rem; border-top: 1px dashed var(--line); }
.install-prices div { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.install-prices dd { margin: 0; font-weight: 800; font-size: var(--step-1); white-space: nowrap; font-variant-numeric: tabular-nums; }

.trip { display: grid; gap: 1rem; max-width: 48rem; }
.trip-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .35rem 1.5rem; align-items: baseline;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem;
}
.trip-row b { font-size: var(--step-2); white-space: nowrap; font-variant-numeric: tabular-nums; }
.trip-row p { grid-column: 1 / -1; color: var(--muted); }

/* ---------- Комплекты ---------- */
.kit-group + .kit-group { margin-top: 3rem; }
.kit-group > h2 { margin-bottom: 1.25rem; }
.kits { display: grid; gap: 1rem; }
.kit {
  display: grid; gap: 1rem 2rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem 1.4rem;
  min-width: 0;
}
@media (min-width: 820px) { .kit { grid-template-columns: minmax(0, 1fr) 19rem; } }
.kit-info { display: grid; gap: .6rem; align-content: start; min-width: 0; }
.kit h3 { font-size: var(--step-2); font-weight: 800; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: .85rem; font-weight: 600; padding: .2rem .6rem; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); }
.tags li.local { background: var(--amber-soft); border-color: color-mix(in srgb, var(--amber) 45%, #fff); }
.kit-contents { color: var(--muted); }
.kit-contents b { color: var(--ink); font-weight: 600; }
.kit .note { font-size: .9rem; color: var(--muted); }
.kit-side { display: grid; gap: .75rem; align-content: start; }
.kit-prices { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.kit-prices div { padding: .7rem .8rem; border-radius: 10px; border: 1px solid var(--line); }
.kit-prices div.main { background: var(--night); border-color: var(--night); color: var(--on-night); }
.kit-prices dt { font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .8; }
.kit-prices dd { margin: .15rem 0 0; font-size: 1.3rem; font-weight: 800; white-space: nowrap; font-variant-numeric: tabular-nums; }
.kit-alt { font-size: .9rem; color: var(--muted); }
.kit-alt .kit-prices { margin-top: .4rem; }
.kit-alt .kit-prices dd { font-size: 1.1rem; color: var(--ink); }
.kit.compact h3 { font-size: var(--step-1); }

/* ---------- Тарифы ---------- */
.operator + .operator { margin-top: 3.5rem; }
.operator-head { display: grid; gap: .5rem; margin-bottom: 1.25rem; max-width: 46rem; }
.operator-head p { color: var(--muted); }
.operator h3 { font-size: var(--step-1); margin: 1.75rem 0 .75rem; }
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); max-width: 56rem; }
table.tariffs { width: 100%; border-collapse: collapse; }
.tariffs th, .tariffs td { padding: .75rem 1rem; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.tariffs tbody tr:last-child > * { border-bottom: 0; }
.tariffs thead th { font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; background: var(--paper); white-space: nowrap; }
.tariffs thead th:not(:first-child) { text-align: right; }
.tariffs tbody th { font-weight: 700; }
.tariffs tbody th .meta { display: block; font-weight: 400; font-size: .9rem; color: var(--muted); margin-top: .1rem; }
.tariffs td { text-align: right; white-space: nowrap; font-weight: 700; font-variant-numeric: tabular-nums; }
.tariffs td.na { color: var(--line-strong); font-weight: 400; }
.tariffs td small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; }
@media (max-width: 640px) {
  .tariffs thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .tariffs, .tariffs tbody, .tariffs tr, .tariffs th, .tariffs td { display: block; }
  .tariffs tbody tr { padding: .85rem 1rem; border-bottom: 1px solid var(--line); }
  .tariffs tbody tr:last-child { border-bottom: 0; }
  .tariffs tbody th { padding: 0 0 .45rem; border: 0; }
  .tariffs td { display: flex; justify-content: space-between; gap: 1rem; padding: .3rem 0; border: 0; }
  .tariffs td::before { content: attr(data-label); font-weight: 400; color: var(--muted); }
  .tariffs td small { display: inline; margin-left: .35rem; }
  .tariffs td.na { display: none; }
}
.footnotes { margin-top: .75rem; display: grid; gap: .25rem; font-size: .9rem; color: var(--muted); max-width: 56rem; }

.infobox {
  display: grid; gap: .4rem;
  background: var(--amber-soft); border: 1px solid color-mix(in srgb, var(--amber) 45%, #fff); border-radius: var(--radius);
  padding: 1rem 1.2rem; max-width: 46rem; margin-top: 1.5rem;
}

/* Контакты */
.contact-extra { display: grid; gap: 1rem; margin-top: 1rem; }
@media (min-width: 760px) { .contact-extra { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.plain-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.4rem; display: grid; gap: .5rem; align-content: start; min-width: 0; }
.plain-card p { color: var(--muted); }

/* ---------- Подвал ---------- */
.site-footer { background: var(--night); color: var(--on-night); margin-top: 0; }
.footer-grid { display: grid; gap: 2rem; padding-block: 2.75rem 2rem; }
@media (min-width: 860px) { .footer-grid { grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 3rem; } }
.footer-brand { display: grid; gap: .7rem; align-content: start; }
.footer-brand .logo { width: 44px; height: 44px; color: var(--on-night); }
.footer-brand .name { font-weight: 800; font-size: 1.25rem; }
.footer-brand p { color: var(--on-night-muted); max-width: 26rem; }
.footer-nav { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem 1.1rem; margin-top: .3rem; }
.footer-nav a { color: var(--on-night); font-weight: 600; }
.footer-store { display: grid; gap: .35rem; align-content: start; }
.footer-store .town { font-size: .82rem; text-transform: uppercase; letter-spacing: .09em; color: var(--amber); font-weight: 700; }
.footer-store p { color: var(--on-night-muted); }
.footer-store a.num { font-size: 1.2rem; font-weight: 800; text-decoration: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.footer-legal { border-top: 1px solid var(--night-line); padding-block: 1.25rem 1.5rem; display: grid; gap: .35rem; font-size: .85rem; color: var(--on-night-muted); }

/* ---------- Кнопки звонка внизу экрана (телефоны) ---------- */
.callbar { display: none; }
@media (max-width: 719px) {
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
  .callbar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 25;
    padding: 8px max(10px, env(safe-area-inset-right, 0px)) calc(8px + env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
    background: var(--card); border-top: 1px solid var(--line);
  }
  .callbar a {
    display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: .4rem;
    min-height: 52px; padding: .35rem .5rem; border-radius: 10px;
    background: var(--night); color: var(--on-night); text-decoration: none; line-height: 1.15;
  }
  .callbar svg { grid-row: span 2; width: 20px; height: 20px; fill: var(--amber); }
  .callbar b { font-size: .95rem; }
  .callbar span { font-size: .74rem; color: var(--on-night-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; }
}

/* 404 */
.notfound { padding-block: 4rem 5rem; display: grid; gap: 1.2rem; max-width: 40rem; }
.notfound .chips { margin-top: .5rem; }

/* =========================================================
   Живые элементы: сцена со спутником, кнопки, карточки
   ========================================================= */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(60rem 30rem at 85% 10%, color-mix(in srgb, var(--amber) 13%, transparent), transparent 60%),
    radial-gradient(50rem 40rem at 0% 100%, color-mix(in srgb, var(--night-line) 55%, transparent), transparent 60%),
    var(--night);
}
.hero-grid { padding-block: 2.5rem 2rem; }
@media (min-width: 960px) { .hero-grid { padding-block: 3.5rem 3rem; } }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .55rem; }
.live { width: .55rem; height: .55rem; border-radius: 50%; background: #3fbf7f; box-shadow: 0 0 0 0 rgba(63, 191, 127, .6); animation: live 2s infinite; }
@keyframes live { 70% { box-shadow: 0 0 0 .55rem rgba(63, 191, 127, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 191, 127, 0); } }
.hero h1 .hl {
  background: linear-gradient(90deg, color-mix(in srgb, var(--amber) 55%, #fff), var(--amber) 55%, color-mix(in srgb, var(--amber) 70%, #ff2d2d));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Телефоны в шапке-герое: стеклянные карточки */
.hero-phone {
  display: flex; align-items: center; gap: .9rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-radius: 16px;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.hero-phone:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--amber) 80%, transparent); background: rgba(255, 255, 255, .1); box-shadow: 0 14px 30px -12px color-mix(in srgb, var(--amber) 45%, transparent); }
.hp-text { display: grid; min-width: 0; }
.hero-phone .num { font-size: 1.22rem; }

.ring {
  position: relative; flex: none;
  display: grid; place-items: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber);
}
.ring svg { width: 22px; height: 22px; fill: var(--night); }
.ring::before, .ring::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid var(--amber); opacity: 0;
  animation: ring 2.4s ease-out infinite;
}
.ring::after { animation-delay: 1.2s; }
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.7); opacity: 0; } }
.hero-phone:hover .ring svg, .call-card:hover .ring svg { animation: shake .5s ease-in-out; }
@keyframes shake { 20%, 60% { transform: rotate(-14deg); } 40%, 80% { transform: rotate(14deg); } }

.hero-links { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.25rem; }

/* Кнопки */
.btn { transition: transform .2s ease, box-shadow .25s ease, background .25s ease, border-color .25s ease, color .25s ease; }
.btn:active { transform: scale(.97); }
.btn-arrow { display: inline-grid; place-items: center; transition: transform .25s ease; }
.btn-arrow svg, .offer-go svg, .cc-go svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-arrow, .master-link:hover .btn-arrow { transform: translateX(4px); }

.btn-glow {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: 999px; padding-inline: 1.4rem;
  background: var(--amber); color: var(--night);
  box-shadow: 0 10px 28px -10px color-mix(in srgb, var(--amber) 75%, transparent);
}
.btn-glow::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: shine 4.5s ease-in-out infinite 1s;
}
.btn-glow:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -10px color-mix(in srgb, var(--amber) 90%, transparent); }
@keyframes shine { 0%, 60% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
.btn-ghost {
  border-radius: 999px; padding-inline: 1.4rem;
  color: var(--on-night); border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .04);
}
.btn-ghost:hover { border-color: var(--on-night); background: rgba(255, 255, 255, .1); transform: translateY(-2px); }
.btn-line { border-radius: 999px; }
.btn-line:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -14px color-mix(in srgb, var(--night) 60%, transparent); }
.nav a { transition: background .2s ease, color .2s ease; }
.chips a { transition: transform .2s ease, border-color .2s ease, background .2s ease; }
.chips a:hover { transform: translateY(-2px); background: var(--night); color: var(--on-night); border-color: var(--night); }

/* Сцена со спутником */
.hero-art { display: grid; place-items: center; }
.scene { width: 100%; max-width: 34rem; height: auto; display: block; }
@media (max-width: 959px) { .scene { max-width: 26rem; margin-top: -.5rem; } }
.stars circle { fill: #ffffff; opacity: .55; }
.stars .tw { opacity: .9; }
.orbit { fill: none; stroke: rgba(169, 185, 207, .28); stroke-width: 1.2; stroke-dasharray: 3 7; }
.beam { fill: url(#beam); }
.ray { fill: none; stroke: var(--amber); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 2 18; opacity: .95; }
.ray.r2, .ray.r3 { stroke-width: 2; opacity: .55; }
.panel { fill: #2d5aa8; stroke: #8fb3ef; stroke-width: 1.2; }
.panel-lines { stroke: #8fb3ef; stroke-width: .8; opacity: .7; fill: none; }
.strut { stroke: #c8d4e4; stroke-width: 2.4; }
.body { fill: #e3e9f2; }
.body-line { stroke: #a6b4c8; stroke-width: 1; }
.sat-dish { fill: #c8d4e4; }
.blink { fill: #ff5a4f; }
.ground { fill: color-mix(in srgb, var(--night) 55%, var(--night-2)); }
.ground-front { fill: var(--night-deep); }
.trees path { fill: var(--night-2); }
.wall { fill: color-mix(in srgb, var(--night-line) 65%, var(--night-2)); }
.roof { fill: color-mix(in srgb, var(--night-line) 85%, #fff); }
.chimney { fill: var(--night-line); }
.door { fill: var(--night-deep); }
.win { fill: color-mix(in srgb, var(--amber) 70%, #fff); }
.win.tv { fill: #9fd0ff; }
.win-frame { stroke: color-mix(in srgb, var(--night-line) 65%, var(--night-2)); stroke-width: 2; }
.tvhalo { opacity: .8; }
.pole { stroke: #c8d4e4; stroke-width: 3; stroke-linecap: round; }
.bowl { fill: #eef3f9; }
.arm { stroke: #c8d4e4; stroke-width: 2.4; stroke-linecap: round; }
.lnb { fill: var(--amber); }
.halo { transform-box: fill-box; transform-origin: center; }
@media (prefers-reduced-motion: no-preference) {
  .ray { animation: ray 1.1s linear infinite; }
  .ray.r2 { animation-duration: 1.5s; } .ray.r3 { animation-duration: 1.3s; }
  .sat { animation: float 6s ease-in-out infinite; }
  .blink { animation: blink 1.6s steps(1) infinite; }
  .stars .tw { animation: tw 3s ease-in-out infinite; }
  .halo { animation: halo 2.2s ease-in-out infinite; }
  .tv, .tvhalo { animation: tv 3.2s steps(6) infinite; }
}
@media (prefers-reduced-motion: reduce) {
  .live, .ring::before, .ring::after, .btn-glow::after { animation: none; }
}
@keyframes ray { to { stroke-dashoffset: -40; } }
@keyframes float { 50% { transform: translateY(-6px); } }
@keyframes blink { 50% { opacity: .15; } }
@keyframes tw { 50% { opacity: .2; } }
@keyframes halo { 50% { transform: scale(1.35); opacity: .5; } }
@keyframes tv { 0% { opacity: 1; } 33% { opacity: .75; } 50% { opacity: .95; } 66% { opacity: .65; } 100% { opacity: 1; } }

/* Карточки направлений */
.offer {
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.offer:hover { transform: translateY(-5px); border-color: var(--amber); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--night) 45%, transparent); }
.offer-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: .35rem; }
.offer-icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px;
  background: var(--night); transition: transform .3s ease;
}
.offer-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.offer:hover .offer-icon { transform: rotate(-6deg) scale(1.06); }
.offer-go {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink);
  transition: background .25s ease, border-color .25s ease, transform .25s ease, color .25s ease;
}
.offer:hover .offer-go { background: var(--amber); border-color: var(--amber); color: var(--night); transform: rotate(-45deg); }
.offer-more { color: var(--muted); font-weight: 600; font-size: .95rem; }

/* Вызов мастера */
.trip-big { display: flex; align-items: baseline; gap: .9rem; flex-wrap: wrap; margin-top: 1.5rem; }
.trip-price { font-size: clamp(2.6rem, 2rem + 3vw, 3.6rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1; white-space: nowrap; }
.trip-label { font-size: var(--step-1); font-weight: 600; max-width: 18rem; line-height: 1.3; }
.places { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.places li {
  padding: .35rem .8rem; border-radius: 999px;
  background: rgba(255, 255, 255, .55); border: 1px solid color-mix(in srgb, var(--night) 14%, transparent);
  font-weight: 600; font-size: .92rem;
  transition: background .2s ease, transform .2s ease;
}
.places li:hover { background: var(--card); transform: translateY(-2px); }
.trip-far { margin-top: 1rem; font-weight: 600; }

.call-card {
  display: flex; align-items: center; gap: 1rem;
  border-radius: 16px; padding: .95rem 1.1rem;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.call-card:hover { transform: translateY(-3px); box-shadow: 0 18px 32px -16px color-mix(in srgb, var(--night) 80%, transparent); }
.cc-text { display: grid; min-width: 0; flex: 1; }
.cc-go { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--night-line); color: var(--on-night); transition: transform .25s ease, background .25s ease, color .25s ease; flex: none; }
.call-card:hover .cc-go { background: var(--amber); color: var(--night); border-color: var(--amber); transform: translateX(3px); }
.master-link { display: inline-flex; align-items: center; gap: .3rem; }

/* Карточки магазинов */
.store { transition: transform .25s ease, box-shadow .25s ease; }
.store:hover { transform: translateY(-3px); box-shadow: 0 20px 36px -24px color-mix(in srgb, var(--night) 50%, transparent); }
.callbar a { transition: transform .15s ease; }
.callbar a:active { transform: scale(.97); }
.master-call { min-width: 0; }
@media (max-width: 480px) {
  .cc-go { display: none; }
  .call-card .num, .hero-phone .num { font-size: 1.15rem; }
}
.scene {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, #000 82%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent, #000 14%, #000 86%, transparent), linear-gradient(to bottom, #000 82%, transparent);
  mask-composite: intersect;
}
@media (min-width: 960px) { .scene { max-width: 38rem; } }
.ground-front { fill: var(--night-deep); }
@media (max-width: 719px) {
  .hero-phones { display: none; }
  .hero-links { margin-top: 1.5rem; }
}

/* Белый акцент: то, что стоит на светлом фоне, делаем синим */
.brand .logo-wave { stroke: var(--focus); }
.offer:hover { border-color: var(--night); }
.offer:hover .offer-go { background: var(--night); border-color: var(--night); color: var(--on-night); }
.tags li.local { border-color: var(--line-strong); }
.infobox { border-color: var(--line-strong); }
.places li { background: var(--card); }
.btn-amber:hover { background: var(--card); }

.hero h1 .hl { background: linear-gradient(90deg, #ffffff, #9fc4ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* =========================================================
   Полезные советы
   ========================================================= */
.page-hero {
  position: relative; overflow: hidden; color: var(--on-night);
  background:
    radial-gradient(1.2px 1.2px at 12% 30%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 28% 70%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(1.4px 1.4px at 46% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 63% 58%, rgba(255,255,255,.5), transparent 60%),
    radial-gradient(1.3px 1.3px at 78% 28%, rgba(255,255,255,.8), transparent 60%),
    radial-gradient(1px 1px at 90% 66%, rgba(255,255,255,.6), transparent 60%),
    radial-gradient(50rem 30rem at 90% 0%, color-mix(in srgb, var(--night-line) 60%, transparent), transparent 60%),
    var(--night);
}
.page-hero .wrap { padding-block: 2.5rem 2.25rem; }
@media (min-width: 900px) { .page-hero .wrap { padding-block: 3.5rem 3rem; } }
.page-hero .eyebrow { color: var(--on-night-muted); }
.page-hero h1 { margin-top: .5rem; }
.page-hero .lead { margin-top: 1rem; font-size: var(--step-1); color: var(--on-night-muted); max-width: 40rem; }

.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.6rem; }
.filter {
  font: inherit; font-weight: 600; font-size: .95rem; cursor: pointer;
  padding: .55rem 1rem; border-radius: 999px;
  color: var(--on-night); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.22);
  transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}
.filter:hover { transform: translateY(-2px); border-color: var(--on-night); }
.filter.is-on { background: var(--on-night); color: var(--night); border-color: var(--on-night); }

.tips-section { padding-top: 2rem; }
.tips { display: grid; gap: 1rem; align-items: start; }
@media (min-width: 900px) { .tips { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tip {
  background: var(--card); border: 1px solid var(--line); border-radius: 18px;
  transition: box-shadow .25s ease, border-color .25s ease, transform .25s ease;
  min-width: 0;
}
.tip:hover { border-color: var(--line-strong); box-shadow: 0 18px 34px -24px color-mix(in srgb, var(--night) 55%, transparent); }
.tip[open] { border-color: var(--night); box-shadow: 0 22px 40px -26px color-mix(in srgb, var(--night) 70%, transparent); }
.tip[hidden] { display: none; }
.tip summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 1rem; align-items: start;
  padding: 1.25rem 1.3rem;
}
.tip summary::-webkit-details-marker { display: none; }
.tip-icon {
  display: grid; place-items: center; width: 50px; height: 50px; border-radius: 14px; flex: none;
  background: var(--night); transition: transform .3s ease;
}
.tip-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--on-night); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tip:hover .tip-icon, .teaser:hover .tip-icon { transform: rotate(-6deg) scale(1.06); }
.tip-head { display: grid; gap: .25rem; min-width: 0; }
.tip-cat { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tip-title { font-size: var(--step-1); font-weight: 800; line-height: 1.25; }
.tip-lead { color: var(--muted); }
.tip-chev {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--line-strong); transition: transform .3s ease, background .25s ease, color .25s ease;
}
.tip-chev svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tip[open] .tip-chev { transform: rotate(180deg); background: var(--night); color: var(--on-night); border-color: var(--night); }
.tip-body { padding: 0 1.3rem 1.4rem; display: grid; gap: 1rem; }
@media (min-width: 560px) { .tip-body { padding-left: calc(1.3rem + 50px + 1rem); } }
@media (prefers-reduced-motion: no-preference) { .tip[open] .tip-body { animation: tipin .35s ease; } }
@keyframes tipin { from { transform: translateY(-6px); opacity: .4; } }
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; gap: .75rem; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .75rem; align-items: start; }
.steps li::before {
  content: counter(s); display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-strong); font-weight: 800; font-size: .9rem;
}
.tip-note { padding: .85rem 1rem; border-radius: 12px; background: var(--paper); font-weight: 600; }
.tip-link { justify-self: start; }

.help-band { background: var(--night); color: var(--on-night); }
.help-grid { display: grid; gap: 1.75rem; padding-block: 2.75rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .help-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; padding-block: 3.5rem; gap: 3rem; } }
.help-grid p { margin-top: .75rem; color: var(--on-night-muted); font-size: var(--step-1); max-width: 30rem; }
.help-band .call-card { background: var(--night-2); border: 1px solid var(--night-line); }
.help-band .master-call { display: grid; gap: .75rem; }

/* Советы на главной */
.teaser-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; max-width: none; }
.teaser-grid { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) { .teaser-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.teaser {
  display: flex; flex-direction: column; gap: .5rem; min-width: 0;
  padding: 1.35rem; border-radius: 18px; text-decoration: none;
  background: var(--card); border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.teaser:hover { transform: translateY(-5px); border-color: var(--night); box-shadow: 0 22px 40px -22px color-mix(in srgb, var(--night) 45%, transparent); }
.teaser .tip-icon { margin-bottom: .4rem; }
.teaser-title { font-size: var(--step-1); font-weight: 800; line-height: 1.25; }
.teaser-lead { color: var(--muted); }
.teaser-more { margin-top: auto; padding-top: .6rem; font-weight: 700; display: inline-flex; align-items: center; gap: .3rem; }
.teaser:hover .btn-arrow { transform: translateX(4px); }
.offer-foot { justify-content: flex-start; }
.offer-more { color: var(--ink); font-weight: 700; }
@media (max-width: 559px) {
  .tip summary { gap: .75rem; padding: 1.1rem 1rem; }
  .tip summary .tip-icon { width: 40px; height: 40px; border-radius: 12px; }
  .tip summary .tip-icon svg { width: 22px; height: 22px; }
  .tip-chev { width: 32px; height: 32px; }
  .tip-body { padding: 0 1rem 1.2rem; }
}

/* =========================================================
   Оплата ТВ: вкладки операторов и карточки тарифов
   ========================================================= */
.op-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; margin-top: 1.75rem; max-width: 52rem; }
@media (min-width: 760px) { .op-tabs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.op-tab {
  display: flex; flex-direction: column; align-items: center; gap: .55rem;
  padding: .9rem .7rem .8rem; border-radius: 16px; text-decoration: none; color: var(--on-night);
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.18);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.op-tab:hover { transform: translateY(-3px); border-color: var(--on-night); }
.op-tab.is-on { background: var(--on-night); color: var(--night); border-color: var(--on-night); }
.op-tab-name { font-weight: 700; font-size: .95rem; }
.op-logo {
  display: grid; place-items: center; width: 100%; max-width: 9rem; height: 3.2rem;
  border-radius: 12px; background: #ffffff; color: #0f1b2c; padding: .4rem .7rem;
}
.op-logo span { font-weight: 900; font-size: 1.05rem; letter-spacing: -0.02em; white-space: nowrap; }
.op-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }
.op-tab .op-logo:not(.has-img) { display: none; }

.operator { scroll-margin-top: 1rem; }
.operator + .operator { margin-top: 3.5rem; padding-top: 3rem; border-top: 1px solid var(--line); }
.js-tabs .operator + .operator { margin-top: 0; padding-top: 0; border-top: 0; }
.js-tabs .operator:not(.is-on) { display: none; }
.op-head { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-bottom: 1.25rem; }
.op-head .op-logo { width: 9.5rem; height: 4.2rem; border: 1px solid var(--line); flex: none; }
.op-head .op-logo span { font-size: 1.25rem; }
.op-head h2 { font-size: var(--step-3); }
.op-head p { color: var(--muted); margin-top: .25rem; }
.op-head .op-note { font-size: .92rem; }
.op-sub { font-size: var(--step-1); font-weight: 800; margin: 1.75rem 0 .9rem; }

.plans { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 15.5rem), 1fr)); }
.plan {
  display: flex; flex-direction: column; gap: .6rem; min-width: 0;
  background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 1.2rem 1.25rem 1.1rem;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.plan:hover { transform: translateY(-4px); border-color: var(--night); box-shadow: 0 20px 36px -24px color-mix(in srgb, var(--night) 55%, transparent); }
.plan-top { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.plan h4 { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.plan-ch { font-size: .82rem; font-weight: 700; padding: .2rem .55rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); white-space: nowrap; }
.plan-extra { font-size: .9rem; color: var(--muted); }
.plan-flag { align-self: flex-start; font-size: .78rem; font-weight: 700; padding: .2rem .55rem; border-radius: 6px; background: var(--night); color: var(--on-night); }
.plan-prices { list-style: none; margin-top: auto; padding-top: .7rem; border-top: 1px dashed var(--line); display: grid; gap: .35rem; }
.plan-prices li { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; flex-wrap: wrap; }
.plan-prices span { color: var(--muted); }
.plan-prices b { font-size: 1.3rem; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.plan-prices small { width: 100%; text-align: right; color: var(--muted); font-size: .8rem; margin-top: -.2rem; }
.plans-small .plan-prices b { font-size: 1.1rem; }

.archive { margin-top: 1rem; background: var(--card); border: 1px dashed var(--line-strong); border-radius: 16px; }
.archive summary { cursor: pointer; padding: 1rem 1.2rem; font-weight: 800; list-style: none; display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; margin-left: auto; font-size: 1.3rem; line-height: 1; }
.archive[open] summary::after { content: "−"; }
.archive summary span { font-weight: 500; color: var(--muted); font-size: .92rem; }
.archive .plans { padding: 0 1.2rem 1.2rem; }

.addons { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.addons li { display: flex; justify-content: space-between; align-items: center; gap: .6rem 1.25rem; flex-wrap: wrap; padding: .9rem 1.2rem; }
.addons li + li { border-top: 1px solid var(--line); }
.addon-name { display: grid; gap: .15rem; min-width: 0; justify-items: start; }
.addon-name small { color: var(--muted); font-size: .88rem; }
.addon-prices { display: flex; flex-wrap: wrap; gap: .4rem; }
.pill { display: inline-flex; align-items: baseline; gap: .4rem; padding: .35rem .7rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill i { font-style: normal; font-weight: 500; color: var(--muted); font-size: .85rem; }
.pill em { font-style: normal; font-weight: 500; color: var(--muted); font-size: .8rem; }
.op-disclaimer { margin-top: 2.5rem; color: var(--muted); font-size: .9rem; max-width: 46rem; }
.op-head .op-logo:not(.has-img) { display: none; }
.pill { white-space: normal; flex-wrap: wrap; max-width: 100%; }
.pill b { white-space: nowrap; font-weight: 800; }
.addon-prices { min-width: 0; max-width: 100%; }
.op-logo { overflow: hidden; }
.op-logo img { width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.op-tab .op-logo:not(.has-img) { display: grid; }
.op-tab .op-logo { height: 4rem; max-width: 8.5rem; }
.op-head .op-logo { width: 7rem; height: 5rem; }
.op-head .op-logo:not(.has-img) { display: none; }

/* Карточки тарифов v2: одинаковая структура */
.plan { display: flex; flex-direction: column; gap: .55rem; }
.plan h4 { font-size: 1.2rem; line-height: 1.25; }
.plan-tags { display: flex; flex-wrap: wrap; gap: .35rem; min-height: 1.6rem; }
.plan-ch, .plan-tag { font-size: .8rem; font-weight: 700; padding: .22rem .6rem; border-radius: 999px; white-space: nowrap; line-height: 1.3; }
.plan-ch { background: var(--paper); border: 1px solid var(--line); }
.plan-tag { background: var(--night); color: var(--on-night); border: 1px solid var(--night); }
.plan-tag.is-arch { background: transparent; color: var(--muted); border: 1px dashed var(--line-strong); }
.plan-tag.is-star { background: #3fbf7f; border-color: #3fbf7f; color: #062a18; }
.plan-desc { font-size: .95rem; color: var(--ink); line-height: 1.45; }
.plan-note { font-size: .85rem; color: var(--muted); }
.plan.is-star { border: 2px solid var(--night); box-shadow: 0 18px 36px -24px color-mix(in srgb, var(--night) 70%, transparent); }
@media (min-width: 760px) { .plans .plan.is-star { grid-column: span 2; } }
.op-hint { color: var(--muted); margin: -.4rem 0 .9rem; max-width: 46rem; }
.addon-name .plan-tag { justify-self: start; margin-top: .2rem; }
.plans { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 620px) and (max-width: 979px) { .plans .plan.is-star { grid-column: span 2; } }
.plan-ch, .plan-tag { font-size: .76rem; padding: .2rem .55rem; }
#mts .plans { max-width: 26rem; grid-template-columns: minmax(0, 1fr); }
.shop-only {
  display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; max-width: 46rem;
  padding: .9rem 1.1rem; border-radius: 14px;
  background: var(--on-night); color: var(--night);
}
.shop-only p { color: var(--night); }
.shop-only-icon { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 12px; background: var(--night); }
.shop-only-icon svg { width: 22px; height: 22px; fill: none; stroke: var(--on-night); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.shop-only { display: inline-flex; padding: .55rem 1rem .55rem .6rem; } .shop-only-icon { width: 34px; height: 34px; border-radius: 10px; } .shop-only-icon svg { width: 18px; height: 18px; }

/* Подробности тарифа во всплывающем окне */
.plan { cursor: pointer; }
.plan:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.plan-more-btn { display: inline-flex; align-items: center; gap: .3rem; font-weight: 700; font-size: .92rem; margin-top: .2rem; color: var(--ink); }
.plan:hover .plan-more-btn .btn-arrow { transform: translateX(4px); }
.plan-dialog {
  width: min(34rem, calc(100vw - 24px)); max-height: min(88vh, 46rem); padding: 0; border: 0;
  border-radius: 22px; background: var(--card); color: var(--ink);
  box-shadow: 0 40px 80px -30px rgba(7, 20, 40, .65);
}
.plan-dialog::backdrop { background: rgba(7, 20, 40, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.plan-dialog[open] { display: flex; flex-direction: column; }
@media (prefers-reduced-motion: no-preference) {
  .plan-dialog[open] { animation: pdin .28s ease; }
  .plan-dialog[open]::backdrop { animation: fadein .28s ease; }
}
@keyframes pdin { from { transform: translateY(18px) scale(.98); opacity: 0; } }
@keyframes fadein { from { opacity: 0; } }
@media (max-width: 559px) {
  .plan-dialog { width: 100vw; max-width: 100vw; margin: auto 0 0; border-radius: 22px 22px 0 0; max-height: 90vh; }
}
.pd-close {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card);
  font-size: 1.5rem; line-height: 1; cursor: pointer; color: var(--ink);
}
.pd-close:hover { background: var(--night); color: var(--on-night); border-color: var(--night); }
.pd-body { overflow-y: auto; padding: 1.6rem 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); display: grid; gap: .8rem; }
.pd-op { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-right: 3rem; }
.pd-title { font-size: var(--step-2); font-weight: 800; padding-right: 3rem; }
.pd-body h4 { margin: .6rem 0 0; font-size: 1rem; font-weight: 800; }
.pd-list { list-style: none; display: grid; gap: .45rem; }
.pd-list li { display: grid; grid-template-columns: 1.4rem minmax(0, 1fr); gap: .5rem; }
.pd-list li::before { content: "✓"; display: grid; place-items: center; width: 1.4rem; height: 1.4rem; border-radius: 50%; background: var(--night); color: var(--on-night); font-size: .75rem; font-weight: 800; }
.pd-prices { margin-top: 0; border-top: 0; padding: .7rem 1rem; border-radius: 12px; background: var(--paper); }
.pd-note { padding: .75rem 1rem; border-radius: 12px; border: 1px dashed var(--line-strong); color: var(--muted); font-size: .92rem; }
.pd-calls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; margin-top: .4rem; }
.pd-call {
  display: flex; align-items: center; gap: .55rem; padding: .7rem .8rem; border-radius: 12px;
  background: var(--night); color: var(--on-night); text-decoration: none; transition: transform .2s ease;
}
.pd-call:hover { transform: translateY(-2px); }
.pd-call svg { width: 20px; height: 20px; fill: var(--on-night); flex: none; }
.pd-call span { display: grid; font-size: .8rem; line-height: 1.25; font-variant-numeric: tabular-nums; min-width: 0; }
.pd-call b { font-size: .95rem; }
.pd-warn li::before { content: "!"; background: var(--paper); color: var(--ink); border: 1px solid var(--line-strong); }

/* =========================================================
   Обмен оборудования
   ========================================================= */
.sw-steps { list-style: none; margin: 1.6rem 0 0; padding: 0; display: grid; gap: .6rem; grid-template-columns: minmax(0, 1fr); max-width: 56rem; }
@media (min-width: 760px) { .sw-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.sw-steps li { display: flex; align-items: center; gap: .75rem; padding: .8rem 1rem; border-radius: 14px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.sw-steps b { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--on-night); color: var(--night); font-weight: 900; }
.sw-steps span { font-weight: 600; }

.sw-group { font-size: var(--step-2); margin: 0 0 1rem; }
.swaps + .sw-group { margin-top: 2.75rem; }
.swaps { display: grid; gap: 1rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 620px) { .swaps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .swaps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.swap {
  display: flex; flex-direction: column; min-width: 0; cursor: pointer; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.swap:hover { transform: translateY(-5px); box-shadow: 0 24px 44px -26px color-mix(in srgb, var(--night) 70%, transparent); }
.swap:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.sw-head { position: relative; padding: 1.25rem 1.3rem 1.15rem; color: #ffffff; overflow: hidden; }
.sw-head::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  border: 18px solid rgba(255,255,255,.08); box-shadow: 0 0 0 26px rgba(255,255,255,.04);
}
.sw-head h3 { position: relative; font-size: 1.3rem; font-weight: 800; line-height: 1.2; }
.sw-head p { position: relative; margin-top: .25rem; color: rgba(255,255,255,.82); font-weight: 600; }
.sw-star { position: relative; display: inline-block; margin-bottom: .55rem; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .22rem .6rem; border-radius: 999px; background: #ffffff; color: var(--night); }
.sw-tv .sw-head { background: linear-gradient(135deg, #4f46e5 0%, #1e3a8a 55%, var(--night) 100%); }
.sw-ultra .sw-head { background: linear-gradient(135deg, #2563eb 0%, #1e3a8a 60%, var(--night) 100%); }
.sw-max .sw-head { background: linear-gradient(135deg, #0e9488 0%, #115e59 55%, var(--night) 100%); }
.sw-tk .sw-head { background: linear-gradient(135deg, #be185d 0%, #831843 55%, var(--night) 100%); }
.sw-body { display: flex; flex-direction: column; gap: .9rem; padding: 1.15rem 1.3rem 1.3rem; flex: 1; }
.sw-feats { list-style: none; display: grid; gap: .55rem; }
.sw-feats li { display: grid; grid-template-columns: 1.9rem minmax(0, 1fr); gap: .6rem; align-items: center; line-height: 1.3; }
.sw-ic { display: grid; place-items: center; width: 1.9rem; height: 1.9rem; border-radius: 9px; background: var(--paper); border: 1px solid var(--line); }
.sw-ic svg { width: 17px; height: 17px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sw-foot { margin-top: auto; padding-top: .8rem; border-top: 1px dashed var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.sw-label { color: var(--muted); }
.sw-price { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.btn-sw { width: 100%; border-radius: 12px; background: var(--night); color: var(--on-night); }
.swap:hover .btn-sw { background: var(--night-2); }
.swap:hover .btn-sw .btn-arrow { transform: translateX(4px); }
.sw-specs { margin: 0; display: grid; gap: 0; border-radius: 12px; background: var(--paper); padding: .3rem 1rem; }
.sw-specs div { display: grid; grid-template-columns: minmax(0, 9rem) minmax(0, 1fr); gap: .75rem; padding: .5rem 0; }
.sw-specs div + div { border-top: 1px solid var(--line); }
.sw-specs dt { color: var(--muted); font-size: .9rem; }
.sw-specs dd { margin: 0; font-weight: 600; font-size: .92rem; }
@media (min-width: 980px) { .swap.is-wide { grid-column: span 1; } }

/* Баннер акции на главной */
.promo-wrap { padding-top: 2rem; }
.promo {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; align-items: center;
  padding: 1.4rem 1.5rem; border-radius: 22px; text-decoration: none; color: #ffffff;
  background: linear-gradient(120deg, #2563eb 0%, #1e3a8a 45%, var(--night) 100%);
  transition: transform .25s ease, box-shadow .25s ease;
}
.promo::after { content: ""; position: absolute; z-index: -1; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; border: 30px solid rgba(255,255,255,.07); box-shadow: 0 0 0 40px rgba(255,255,255,.035); }
.promo:hover { transform: translateY(-3px); box-shadow: 0 26px 46px -26px rgba(30, 58, 138, .8); }
@media (min-width: 820px) { .promo { grid-template-columns: auto minmax(0, 1fr) auto; gap: 1.5rem; padding: 1.6rem 1.9rem; } }
.promo-badge { justify-self: start; font-size: .8rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; background: #ffffff; color: var(--night); }
.promo-text { display: grid; gap: .3rem; }
.promo-text b { font-size: var(--step-2); line-height: 1.2; }
.promo-text span { color: rgba(255,255,255,.82); }
.promo-btn { justify-self: start; }
.promo:hover .promo-btn .btn-arrow { transform: translateX(4px); }
@media (min-width: 1100px) { .swaps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.swaps-one { grid-template-columns: minmax(0, 1fr); max-width: 26rem; }
