/* Шрифт Onest (лицензия OFL, см. fonts/LICENSE.txt) лежит на нашем хостинге */
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-cyrillic-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-ext-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Onest";
  src: url("fonts/onest-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Фирменные цвета взяты из логотипа */
:root {
  color-scheme: dark;
  --bg: #111519;
  --bg-alt: #161b21;
  --card: #1c222a;
  --card-hi: #222932;
  --line: #2c343e;
  --line-soft: rgb(255 255 255 / .07);
  --ink: #f5f7f9;
  --muted: #9fabb8;
  --blue: #2891fe;
  --blue-light: #67b1ff;
  --blue-ink: #04101d;
  --glow: rgb(40 145 254 / .45);
  --radius: 22px;
  --wrap: 1200px;
  --gutter: clamp(18px, 4vw, 40px);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
h1, h2, h3 { line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(30px, 4.4vw, 54px); font-weight: 780; letter-spacing: -.04em; }
h3 { font-weight: 700; }
p { text-wrap: pretty; }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--blue-light); outline-offset: 4px; border-radius: 6px; }
.wrap { width: min(var(--wrap), 100% - var(--gutter) * 2); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 30; background: var(--blue); color: var(--blue-ink); padding: 10px 14px; }
.ico { width: 1.25em; height: 1.25em; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Шапка */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgb(17 21 25 / .78);
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid var(--line-soft);
}
.header-in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.logo { flex: 0 0 auto; display: block; }
/* поля внутри svg обрезаются отрицательными отступами */
.logo img { width: 164px; height: auto; margin: -14px -9px; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font-size: 15px; color: var(--muted); text-decoration: none; white-space: nowrap; transition: color .15s; }
.nav a:hover { color: var(--ink); }
.phone {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 12px; border: 1px solid var(--line);
  font-weight: 650; text-decoration: none; white-space: nowrap; word-spacing: -.1em;
  transition: border-color .15s, background-color .15s;
}
.phone .ico { color: var(--blue); width: 18px; height: 18px; }
.phone:hover { border-color: var(--blue); background: rgb(40 145 254 / .08); }

/* Кнопки */
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 12px 26px;
  border-radius: 14px; border: 1px solid var(--blue);
  background: var(--blue); color: var(--blue-ink);
  font-weight: 700; text-decoration: none; text-align: center;
  box-shadow: 0 10px 30px -10px var(--glow);
  transition: background-color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn .ico { width: 20px; height: 20px; stroke-width: 2.2; transition: translate .15s; }
.btn:hover { background: var(--blue-light); border-color: var(--blue-light); transform: translateY(-1px); box-shadow: 0 14px 36px -10px var(--glow); }
.btn:hover .ico { translate: 3px 0; }
.btn-line { background: rgb(255 255 255 / .03); border-color: var(--line); color: var(--ink); box-shadow: none; }
.btn-line:hover { background: var(--card); border-color: var(--blue); box-shadow: none; }
.btn-light { background: #fff; border-color: #fff; color: var(--blue-ink); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .5); }
.btn-light:hover { background: #e8f2ff; border-color: #e8f2ff; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--blue-light); font-size: 14px; font-weight: 650; letter-spacing: .08em; text-transform: uppercase;
}
.eyebrow .num { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); opacity: .55; font-variant-numeric: tabular-nums; }
.eyebrow .num::after { content: ""; width: 26px; height: 1px; background: currentColor; }

/* Первый экран */
.hero { position: relative; overflow: hidden; isolation: isolate; padding-bottom: clamp(36px, 5vw, 64px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 80% 20%, rgb(40 145 254 / .22), transparent 70%),
    radial-gradient(40% 50% at 10% 90%, rgb(40 145 254 / .08), transparent 70%);
}
/* Тонкая сетка, тающая к краям */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(var(--line-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-soft) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70% 60% at 60% 30%, #000 10%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 60% 30%, #000 10%, transparent 75%);
}
.hero-in {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center; gap: clamp(32px, 5vw, 72px);
  padding-block: clamp(36px, 6vw, 80px) clamp(36px, 5vw, 64px);
}
.badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px; border-radius: 99px;
  background: rgb(40 145 254 / .1); border: 1px solid rgb(40 145 254 / .35);
  color: #cfe5ff; font-size: 14px; font-weight: 600;
}
.dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--blue); }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--blue); opacity: 0; }
h1 { margin-top: 22px; font-size: clamp(40px, 5.4vw, 74px); font-weight: 820; letter-spacing: -.05em; line-height: .98; }
h1 span {
  display: block;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 60%, #a9d3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-bottom: .06em;
}
.lead { margin-top: 22px; max-width: 31em; color: var(--muted); font-size: clamp(17px, 1.5vw, 19px); }
.offer {
  display: inline-flex; align-items: center; gap: 18px;
  margin-block: 30px; padding: 14px 22px 14px 18px;
  border-radius: 18px; border: 1px dashed rgb(40 145 254 / .55);
  background: linear-gradient(135deg, rgb(40 145 254 / .16), rgb(40 145 254 / .03));
}
.offer strong { font-size: clamp(40px, 4.4vw, 54px); font-weight: 840; letter-spacing: -.05em; line-height: 1; white-space: nowrap; color: #fff; }
.offer span { display: flex; flex-direction: column; padding-left: 18px; border-left: 1px solid rgb(40 145 254 / .4); font-weight: 650; font-size: 17px; line-height: 1.3; }
.offer small { color: var(--muted); font-weight: 500; font-size: 14px; margin-top: 2px; }

.hero-visual { position: relative; }
/* Рамка-арка повторяет портал из логотипа */
.arch {
  position: relative;
  border: 8px solid var(--blue); border-bottom: 0;
  border-radius: 60px 60px 0 0;
  padding: 10px 10px 0;
  box-shadow: 0 -10px 60px -12px var(--glow), inset 0 10px 40px -20px var(--glow);
}
.arch img { width: 100%; height: auto; border-radius: 42px 42px 0 0; }
/* Световая полоса проходит сверху вниз, как портал над машиной */
.sweep {
  position: absolute; left: 10px; right: 10px; top: 10px; height: 26%;
  border-radius: 42px 42px 0 0; pointer-events: none;
  background: linear-gradient(180deg, transparent, rgb(103 177 255 / .22) 70%, rgb(190 225 255 / .5) 96%, transparent);
  mix-blend-mode: screen; opacity: 0;
}
.float {
  position: absolute; display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px;
  background: rgb(17 21 25 / .72); border: 1px solid rgb(255 255 255 / .12);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  font-size: 14px; font-weight: 600; box-shadow: 0 16px 40px -12px rgb(0 0 0 / .6);
}
.float .ico { color: var(--blue-light); }
.float b { font-size: 20px; letter-spacing: -.03em; color: var(--blue-light); }
.float-a { left: -22px; top: 34%; }
.float-b { right: -18px; bottom: 12%; }

/* Факты */
.facts {
  list-style: none; display: grid; grid-template-columns: repeat(4, 1fr);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 30px 60px -30px rgb(0 0 0 / .7);
}
.facts li { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; align-items: start; padding: 24px 26px; border-left: 1px solid var(--line); }
.facts li:first-child { border-left: 0; }
.facts .ico { grid-row: span 2; width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgb(40 145 254 / .12); color: var(--blue-light); }
.facts b { font-size: 24px; font-weight: 760; letter-spacing: -.03em; line-height: 1.2; }
.facts span { color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 3px; }

/* Разделы */
.section { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.section-alt { background: var(--bg-alt); }
/* Светящаяся линия по верхней границе раздела */
.section-alt::before, .cta::before {
  content: ""; position: absolute; left: 50%; top: 0; translate: -50% 0;
  width: min(960px, 86%); height: 1px;
  background: linear-gradient(90deg, transparent, rgb(40 145 254 / .7), transparent);
}
.section-head { display: grid; gap: 16px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head.split { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); align-items: end; gap: 20px 64px; }
.section-head h2 { margin-top: 16px; }
h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue-light) 60%, #a9d3ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-lead { color: var(--muted); font-size: 17px; max-width: 30em; padding-bottom: 8px; }

/* Подсветка под курсором (координаты ставит скрипт внизу страницы) */
.spot { --x: 50%; --y: 0%; }
.spot::before {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none;
  background: radial-gradient(380px circle at var(--x) var(--y), rgb(103 177 255 / .14), transparent 45%);
  opacity: 0; transition: opacity .3s;
}
.spot:hover::before { opacity: 1; }

/* Почему мы: мозаика */
.bento { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 16px; }
.tile {
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
  padding: 24px 26px 28px; border-radius: var(--radius);
  background: linear-gradient(180deg, var(--card-hi), var(--card));
  border: 1px solid var(--line);
  transition: border-color .25s, transform .25s;
}
.tile:hover { border-color: rgb(40 145 254 / .45); transform: translateY(-3px); }
.tile h3 { margin-top: 20px; font-size: 22px; letter-spacing: -.02em; }
.tile p { margin-top: 8px; color: var(--muted); }
.viz {
  position: relative; height: 124px; overflow: hidden;
  display: grid; place-items: center;
  border-radius: 16px; border: 1px solid var(--line-soft);
  background: radial-gradient(80% 110% at 50% 100%, rgb(40 145 254 / .18), transparent 70%), rgb(255 255 255 / .02);
}
.viz svg { width: 100%; height: 100%; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.viz-jets .arch-line { stroke: var(--blue); stroke-width: 5; filter: drop-shadow(0 0 6px var(--glow)); }
.viz-jets .jet { stroke: #cfe5ff; stroke-width: 2.6; stroke-dasharray: 5 9; }
.viz-jets .car { fill: #2b333d; stroke: #44505e; stroke-width: 1.5; }
.viz-247 span {
  font-size: 66px; font-weight: 860; letter-spacing: -.05em; line-height: 1;
  background: linear-gradient(180deg, #fff 10%, var(--blue-light) 90%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 8px 26px var(--glow));
}
.viz-warm { background: radial-gradient(80% 110% at 50% 100%, rgb(255 160 80 / .24), transparent 70%), rgb(255 255 255 / .02); }
.viz-warm path { stroke: #ffb36b; stroke-width: 4; filter: drop-shadow(0 0 8px rgb(255 160 80 / .6)); }
.tile-warm:hover { border-color: rgb(255 170 90 / .45); }
.viz-pay { display: flex; justify-content: center; align-items: center; gap: 10px; }
.pay-card, .pay-sbp {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 18px; border-radius: 14px; font-size: 15px; font-weight: 720;
}
.pay-card { background: linear-gradient(135deg, #2e3843, #1d232b); border: 1px solid #3e4957; rotate: -6deg; box-shadow: 0 12px 26px -12px #000; }
.viz-pay .ico { width: 20px; height: 20px; }
.pay-card .ico { color: var(--blue-light); }
.pay-sbp { background: linear-gradient(135deg, var(--blue), #6db7ff); color: var(--blue-ink); rotate: 5deg; box-shadow: 0 12px 30px -10px var(--glow); }
.tile-photo { grid-row: span 2; justify-content: flex-end; min-height: 520px; padding: 0; }
.tile-photo > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transition: scale .8s; }
.tile-photo:hover > img { scale: 1.04; }
.tile-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgb(10 13 16 / .94) 90%); }
.tile-photo-text { position: relative; z-index: 3; padding: 30px 32px 34px; }
.pill {
  display: inline-flex; padding: 6px 12px; margin-bottom: 14px; border-radius: 99px;
  background: rgb(17 21 25 / .6); border: 1px solid rgb(255 255 255 / .16);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font-size: 13px; font-weight: 650;
}
.tile .tile-photo-text h3 { margin-top: 0; font-size: 34px; }
.tile .tile-photo-text p:last-child { color: #c9d2dc; max-width: 26em; }

/* Программы */
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .25s, border-color .25s, box-shadow .25s;
}
.plan:hover { transform: translateY(-5px); border-color: rgb(40 145 254 / .5); box-shadow: 0 28px 56px -28px rgb(0 0 0 / .9); }
/* У рекомендуемой программы рамка-градиент медленно обегает карточку */
.plan-main {
  border: 1.5px solid transparent;
  background:
    linear-gradient(var(--card), var(--card)) padding-box,
    conic-gradient(from var(--a), var(--blue), #b8dcff, var(--blue), #0d3f78, var(--blue)) border-box;
  box-shadow: 0 30px 70px -26px var(--glow);
}
.plan-main:hover { border-color: transparent; box-shadow: 0 34px 80px -24px var(--glow); }
.plan-flag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 6px 12px; border-radius: 99px; background: var(--blue); color: var(--blue-ink);
  font-size: 13px; font-weight: 760; box-shadow: 0 8px 20px -8px var(--glow);
}
.plan-pic { position: relative; overflow: hidden; }
.plan-pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, var(--card)); }
.plan-pic img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; transition: scale .6s; }
.plan:hover .plan-pic img { scale: 1.05; }
.plan-body { display: flex; flex-direction: column; flex: 1; padding: 2px 22px 24px; }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan h3 { font-size: 22px; letter-spacing: -.025em; }
.time { flex: 0 0 auto; padding: 4px 10px; border-radius: 99px; background: rgb(255 255 255 / .06); color: var(--muted); font-size: 13px; font-weight: 600; white-space: nowrap; }
.plan-note { margin-top: 10px; color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.meter { display: flex; align-items: center; gap: 4px; margin-top: 18px; }
.meter i { width: 24px; height: 6px; border-radius: 3px; background: var(--line); }
.meter i.on { background: linear-gradient(90deg, var(--blue), var(--blue-light)); box-shadow: 0 0 10px var(--glow); }
.meter span { margin-left: 8px; color: var(--muted); font-size: 13px; font-weight: 600; }
.price { margin-top: auto; padding-top: 20px; font-size: 46px; font-weight: 830; letter-spacing: -.045em; line-height: 1; white-space: nowrap; }
.price small { font-size: 26px; font-weight: 700; color: var(--muted); letter-spacing: 0; }
.tags { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.tags li { padding: 5px 10px; border-radius: 8px; background: rgb(40 145 254 / .1); color: #cfe5ff; font-size: 13px; font-weight: 560; }

/* Сравнение программ */
.compare { margin-top: clamp(48px, 6vw, 80px); }
.compare-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 20px; }
.compare-head h3 { font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -.025em; }
.compare-head p { color: var(--muted); font-size: 14px; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 15px 18px; text-align: center; border-top: 1px solid var(--line-soft); }
thead th { border-top: 0; padding-block: 18px; font-size: 15px; font-weight: 720; color: var(--ink); }
thead th small { display: block; margin-top: 2px; color: var(--muted); font-size: 13px; font-weight: 600; }
tbody th, tfoot th { text-align: left; font-weight: 560; color: #d6dde5; }
thead th:first-child { text-align: left; color: var(--muted); font-weight: 600; }
td { color: #d6dde5; }
tbody tr { transition: background-color .15s; }
tbody tr:hover { background: rgb(255 255 255 / .025); }
tfoot th, tfoot td { font-weight: 720; color: var(--ink); background: rgb(255 255 255 / .025); white-space: nowrap; }
.hl { background: rgb(40 145 254 / .08); }
thead .hl { color: var(--blue-light); box-shadow: inset 0 3px 0 var(--blue); }
tfoot .hl { background: rgb(40 145 254 / .14); }
/* Галочка и прочерк вместо слов «Есть» и «Нет»; слова остаются для чтения с экрана */
i.y, i.n { display: inline-block; position: relative; width: 22px; height: 22px; overflow: hidden; text-indent: 100px; white-space: nowrap; vertical-align: middle; }
i.y { border-radius: 50%; background: rgb(40 145 254 / .2); }
i.y::after { content: ""; position: absolute; left: 8px; top: 4px; width: 5px; height: 10px; border: solid var(--blue-light); border-width: 0 2px 2px 0; rotate: 45deg; }
i.n::after { content: ""; position: absolute; left: 6px; right: 6px; top: 10px; height: 2px; border-radius: 2px; background: #4a5562; }

/* Акция: купон с перфорацией */
.promo { padding-block: clamp(72px, 9vw, 120px) 0; }
.promo-in {
  --pb: clamp(30px, 4vw, 48px);
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: clamp(24px, 4vw, 56px);
  padding: var(--pb) clamp(24px, 5vw, 64px);
  border-radius: 28px;
  background: linear-gradient(120deg, #1466c6 0%, var(--blue) 45%, #62b2ff 100%);
  color: #fff;
  box-shadow: 0 40px 90px -40px var(--glow);
}
/* Арка портала как водяной знак */
.promo-in::before {
  content: ""; position: absolute; z-index: -1; right: -50px; top: 26px; width: 440px; height: 320px;
  border: 28px solid rgb(255 255 255 / .12); border-bottom: 0; border-radius: 130px 130px 0 0;
}
/* Блик, пробегающий по купону */
.promo-in::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / .22) 48%, transparent 60%);
  translate: -100% 0;
}
.promo-big { font-size: clamp(64px, 9vw, 132px); font-weight: 870; letter-spacing: -.06em; line-height: .9; text-shadow: 0 10px 40px rgb(0 40 100 / .35); }
.promo-text {
  position: relative; align-self: stretch;
  display: flex; flex-direction: column; justify-content: center;
  margin-block: calc(-1 * var(--pb)); padding-block: var(--pb); padding-left: clamp(24px, 4vw, 56px);
  border-left: 2px dashed rgb(255 255 255 / .4);
}
.promo-text::before, .promo-text::after { content: ""; position: absolute; left: -16px; width: 30px; height: 30px; border-radius: 50%; background: var(--bg); }
.promo-text::before { top: -15px; }
.promo-text::after { bottom: -15px; }
.promo-kicker { font-size: 13px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; color: rgb(255 255 255 / .8); }
.promo h2 { margin-top: 8px; font-size: clamp(28px, 3.2vw, 42px); }
.promo-text p:last-child { margin-top: 10px; color: rgb(255 255 255 / .88); font-size: 17px; }

/* Шаги: линия маршрута с арками-порталами */
.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.steps::before {
  content: ""; position: absolute; left: 12.5%; right: 12.5%; top: 40px; height: 2px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
  opacity: .6;
}
.steps li { position: relative; text-align: center; padding-inline: 6px; }
.step-mark {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  width: 88px; height: 82px; margin: 0 auto 24px;
  border: 4px solid var(--blue); border-bottom: 0; border-radius: 32px 32px 0 0;
  background: radial-gradient(80% 100% at 50% 100%, rgb(40 145 254 / .3), transparent 75%), var(--bg);
  box-shadow: 0 -10px 34px -12px var(--glow);
  color: var(--blue-light);
  transition: translate .25s;
}
.steps li:hover .step-mark { translate: 0 -4px; }
.step-mark .ico { width: 32px; height: 32px; }
.step-num { display: block; color: var(--blue-light); font-size: 13px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.steps h3 { margin-top: 8px; font-size: 22px; letter-spacing: -.02em; }
.steps p { margin: 10px auto 0; max-width: 16em; color: var(--muted); }

/* Вопросы */
.faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { margin-top: 16px; }
.ask {
  position: relative; overflow: hidden; margin-top: 32px; padding: 26px;
  border-radius: var(--radius); border: 1px solid rgb(40 145 254 / .35);
  background: linear-gradient(135deg, rgb(40 145 254 / .18), rgb(40 145 254 / .03));
}
.ask-title { font-size: 20px; font-weight: 720; letter-spacing: -.02em; }
.ask p:not(.ask-title) { margin-top: 6px; color: var(--muted); font-size: 15px; }
.ask-phone { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: 24px; font-weight: 740; letter-spacing: -.02em; text-decoration: none; }
.ask-phone .ico { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: var(--blue); color: var(--blue-ink); }
.ask-phone:hover { color: var(--blue-light); }
.faq-list { display: grid; gap: 10px; counter-reset: q; }
.faq details { border-radius: 18px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, background-color .2s, box-shadow .2s; }
.faq details:hover { border-color: #3a4552; }
.faq details[open] { border-color: rgb(40 145 254 / .5); background: var(--card-hi); box-shadow: 0 20px 50px -30px var(--glow); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 20px 22px; font-size: 18px; font-weight: 620; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); min-width: 24px; color: var(--blue); font-size: 14px; font-weight: 720; font-variant-numeric: tabular-nums; }
.faq summary::after {
  content: ""; flex: 0 0 auto; margin-left: auto; width: 32px; height: 32px; border-radius: 50%;
  background:
    linear-gradient(var(--blue-light), var(--blue-light)) center / 12px 2px no-repeat,
    linear-gradient(var(--blue-light), var(--blue-light)) center / 2px 12px no-repeat,
    rgb(40 145 254 / .12);
  transition: rotate .25s, background-color .25s;
}
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 22px 22px 62px; color: var(--muted); max-width: 42em; }

/* Адрес и карта */
.location { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 72px); align-items: stretch; }
.place { display: flex; flex-direction: column; justify-content: center; }
.place h2 { margin-top: 16px; }
.place-list { list-style: none; display: grid; gap: 14px; margin-block: 32px; }
.place-list li { display: flex; gap: 16px; align-items: center; padding: 14px 16px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.place-list .ico { width: 44px; height: 44px; padding: 10px; border-radius: 12px; background: rgb(40 145 254 / .12); color: var(--blue-light); }
.place-list span { color: var(--muted); font-size: 14.5px; line-height: 1.4; }
.place-list b { display: block; color: var(--ink); font-size: 17px; font-weight: 680; }
/* Карта в такой же арке-портале, как фото на первом экране */
.map-frame {
  display: flex; min-height: 540px;
  border: 6px solid var(--blue); border-bottom: 0; border-radius: 52px 52px 0 0;
  padding: 8px 8px 0;
  box-shadow: 0 -10px 60px -14px var(--glow);
}
.map { flex: 1; width: 100%; border: 0; border-radius: 40px 40px 0 0; background: var(--card); }

/* Финальный призыв */
.cta {
  position: relative; overflow: hidden; isolation: isolate;
  padding-block: clamp(88px, 12vw, 160px) clamp(72px, 9vw, 120px);
  text-align: center;
  background: radial-gradient(50% 70% at 50% 100%, rgb(40 145 254 / .24), transparent 70%);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; left: 50%; bottom: 0; translate: -50% 0;
  width: min(940px, 92%); height: 78%;
  border: 3px solid rgb(40 145 254 / .4); border-bottom: 0; border-radius: 220px 220px 0 0;
  box-shadow: 0 -24px 90px -36px var(--glow), inset 0 24px 90px -50px var(--glow);
}
.cta-in { display: grid; justify-items: center; }
.cta h2 { font-size: clamp(38px, 6.4vw, 84px); letter-spacing: -.05em; }
.cta p { margin-top: 16px; color: var(--muted); font-size: clamp(17px, 1.6vw, 20px); }
.cta .actions { justify-content: center; margin-top: 34px; }

/* Подвал */
.footer { position: relative; overflow: hidden; padding: 64px 0 32px; color: var(--muted); font-size: 15px; background: #0b0e11; border-top: 1px solid var(--line-soft); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px 48px; align-items: start; }
.footer-brand img { width: 150px; height: auto; margin: -14px -8px; }
.footer-brand p { margin-top: 14px; max-width: 22em; }
.footer-title { margin-bottom: 14px; color: var(--ink); font-size: 13px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.footer-nav { display: grid; gap: 8px; justify-items: start; }
.footer-nav a { text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: var(--ink); }
.footer-phone { display: inline-block; margin-bottom: 8px; color: var(--ink); font-size: 24px; font-weight: 740; letter-spacing: -.02em; text-decoration: none; }
.footer-phone:hover { color: var(--blue-light); }
/* Логотип во всю ширину, обрезанный по надписи, как водяной знак */
.footer-mark {
  width: 100%; height: auto; aspect-ratio: 1774 / 340; object-fit: cover;
  margin-top: 48px; opacity: .08;
  mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 40%, transparent 100%);
}
.fine { margin-top: 8px; padding-top: 20px; border-top: 1px solid var(--line-soft); font-size: 12px; color: #6b7682; }

.bar { display: none; }

/* Движение — только если человек не просил его убрать */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .sweep { animation: sweep 5.5s cubic-bezier(.45, 0, .25, 1) infinite 1s; }
  .dot::after { animation: ping 2.4s ease-out infinite; }
  .float-a { animation: bob 6s ease-in-out infinite; }
  .float-b { animation: bob 6s ease-in-out infinite -3s; }
  .viz-jets .jet { animation: flow .7s linear infinite; }
  .viz-warm path { animation: heat 2.4s ease-in-out infinite alternate; }
  .viz-warm path:nth-child(2) { animation-delay: -.8s; }
  .viz-warm path:nth-child(3) { animation-delay: -1.6s; }
  .plan-main { animation: spin 6s linear infinite; }
  .promo-in::after { animation: shine 7s ease-in-out infinite 2s; }
  .steps::before { animation: dash 1.4s linear infinite; }
  @supports (animation-timeline: view()) {
    .reveal { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% entry 35%; }
    .plan-main.reveal { animation: rise linear both, spin 6s linear infinite; animation-timeline: view(), auto; animation-range: entry 0% entry 35%, normal; }
  }
}
@keyframes sweep { 0% { top: 10px; opacity: 0; } 12% { opacity: 1; } 70% { opacity: 1; } 85%, 100% { top: 74%; opacity: 0; } }
@keyframes ping { 0% { opacity: .8; scale: .6; } 100% { opacity: 0; scale: 1.8; } }
@keyframes bob { 50% { translate: 0 -8px; } }
@keyframes rise { from { opacity: 0; translate: 0 28px; } }
@keyframes flow { to { stroke-dashoffset: -14; } }
@keyframes heat { from { translate: 0 6px; opacity: .55; } to { translate: 0 -6px; opacity: 1; } }
@keyframes spin { to { --a: 360deg; } }
@keyframes shine { 0%, 55% { translate: -100% 0; } 100% { translate: 100% 0; } }
@keyframes dash { to { background-position: 20px 0; } }

@media (max-width: 1080px) {
  .nav { display: none; }
  .phone { margin-left: auto; }
  .bento { grid-template-columns: 1fr 1fr; }
  .tile-photo { grid-column: 1 / -1; grid-row: auto; min-height: 400px; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
  .steps::before { display: none; }
}
@media (max-width: 900px) {
  .hero-in { grid-template-columns: 1fr; }
  .float-a { left: 12px; }
  .float-b { right: 12px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts li:nth-child(3) { border-left: 0; }
  .facts li:nth-child(n+3) { border-top: 1px solid var(--line); }
  .section-head.split { grid-template-columns: 1fr; }
  .faq, .location { grid-template-columns: 1fr; }
  .faq-side { position: static; }
  .map-frame { min-height: 420px; }
  .promo-in { grid-template-columns: 1fr; row-gap: 22px; }
  .promo-text { margin: 0; padding: 22px 0 0; border-left: 0; border-top: 2px dashed rgb(255 255 255 / .4); }
  .promo-text::before, .promo-text::after { display: none; }
  .promo-in .btn { justify-self: start; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .header-in { min-height: 62px; gap: 12px; }
  .logo img { width: 134px; margin-block: -12px; }
  .phone { font-size: 14px; padding: 8px 12px; }
  .phone .ico { display: none; }
  .hero-in { padding-top: 18px; gap: 26px; }
  /* на телефоне сначала картинка, затем текст */
  .hero-visual { order: -1; }
  .arch { border-width: 5px; border-bottom: 0; border-radius: 36px 36px 0 0; padding: 6px 6px 0; }
  .arch img { aspect-ratio: 16 / 11; object-fit: cover; border-radius: 26px 26px 0 0; }
  .sweep { left: 6px; right: 6px; top: 6px; border-radius: 26px 26px 0 0; }
  .float { padding: 8px 12px; font-size: 13px; }
  .float b { font-size: 17px; }
  .float-a { top: auto; bottom: 14px; left: 14px; }
  .float-b { bottom: 14px; right: 14px; }
  h1 { margin-top: 16px; }
  .lead { margin-top: 14px; }
  .offer { display: flex; margin-block: 22px; }
  .hero .actions .btn { flex: 1 1 100%; }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 16px 18px; border-left: 0; }
  .facts li:nth-child(n+2) { border-top: 1px solid var(--line); }
  .facts b { font-size: 20px; }
  .section-lead { font-size: 16px; }
  .bento { grid-template-columns: 1fr; }
  .tile { padding: 20px 20px 24px; }
  .tile-photo { min-height: 340px; padding: 0; }
  .tile-photo-text { padding: 22px 22px 26px; }
  .tile .tile-photo-text h3 { font-size: 28px; }
  .viz { height: 110px; }
  .plans { grid-template-columns: 1fr; }
  .plan-pic img { aspect-ratio: 16 / 8; }
  .compare-head { display: block; }
  .compare-head p { margin-top: 6px; }
  /* первая колонка таблицы стоит на месте при прокрутке вбок */
  tbody th, tfoot th, thead th:first-child { position: sticky; left: 0; z-index: 1; background: var(--card); }
  .promo-in { border-radius: 22px; }
  .promo-in .btn { justify-self: stretch; }
  .steps { grid-template-columns: 1fr; row-gap: 0; }
  .steps::before { display: block; left: 35px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--blue) 0 10px, transparent 10px 20px); animation: none; }
  .steps li { display: grid; grid-template-columns: 72px 1fr; column-gap: 18px; align-items: start; text-align: left; padding: 0 0 28px; }
  .step-mark { grid-row: span 3; width: 72px; height: 66px; margin: 0; border-width: 3px; border-radius: 26px 26px 0 0; }
  .step-mark .ico { width: 26px; height: 26px; }
  .step-num { margin-top: 6px; }
  .steps h3 { margin-top: 4px; font-size: 20px; }
  .steps p { margin: 6px 0 0; max-width: none; }
  .faq summary { font-size: 16.5px; padding: 18px; gap: 12px; }
  .faq details p { padding: 0 18px 18px 54px; }
  .ask-phone { font-size: 21px; }
  .place-list { margin-block: 24px; }
  .map-frame { min-height: 380px; border-width: 5px; border-bottom: 0; border-radius: 38px 38px 0 0; padding: 6px 6px 0; }
  .map { border-radius: 28px 28px 0 0; }
  .cta .actions .btn, .place .actions .btn { flex: 1 1 100%; }
  .cta .actions { width: 100%; }
  .footer-top { grid-template-columns: 1fr; }
  .footer { padding-bottom: calc(110px + env(safe-area-inset-bottom)); }
  .bar {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
    position: fixed; inset: auto 0 0 0; z-index: 20;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgb(17 21 25 / .92); border-top: 1px solid var(--line);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  }
  .bar .btn { min-height: 48px; }
}
