:root {
  --graphite: #16171a;
  --panel: #1b1d20;
  --line: #33363c;
  --line-2: #4a4e55;
  --white: #f3f4f6;
  --text-2: #c9ccd2;
  --muted: #9aa0a8;
  --ok: #5fd3a0;
  --err: #ff9a9a;
  --chrome: linear-gradient(135deg, #ffffff 0%, #a7acb3 38%, #eef0f2 52%, #6f747b 78%, #d9dce0 100%);
  --chrome-btn: linear-gradient(135deg, #ffffff 0%, #b4b8bf 45%, #f1f2f4 60%, #8a8f97 100%);
  --card: linear-gradient(180deg, #26282c 0%, #1b1d20 100%);
  /* Акцент: синий (выбран 11.11.2026) — кнопки «Оформить», «Отправить», подсветки. */
  --accent: #3d8bff;
  --accent-text: #8cc0ff;
  --accent-grad: linear-gradient(135deg, #4f8ee0 0%, #2a64c4 45%, #173f8c 100%);
  --on-accent: #ffffff;
  --accent-glow: rgba(42, 100, 196, 0.22);
  --accent-haze: rgba(61, 139, 255, 0.1);
  /* WhatsApp */
  --wa-grad: linear-gradient(135deg, #3fe07e 0%, #1db954 45%, #0b7a34 100%);
  --wa-glow: rgba(29, 185, 84, 0.4);
  --f-display: Montserrat, "Arial Black", Arial, sans-serif;
  --f-body: "Golos Text", "Segoe UI", Roboto, Arial, sans-serif;
  --f-mono: "JetBrains Mono", Consolas, "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--graphite);
  color: var(--white);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
}
a { color: var(--text-2); }
a:hover { color: var(--white); }
:focus-visible { outline: 2px solid var(--white); outline-offset: 3px; border-radius: 4px; }
[id] { scroll-margin-top: 90px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--white); color: var(--graphite); padding: 10px 14px; border-radius: 8px; z-index: 20; }
.skip:focus { left: 8px; }

.chrome { background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mono { font-family: var(--f-mono); font-size: 14px; letter-spacing: 0.06em; }
.muted { color: var(--muted); }
.eyebrow { margin: 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.lead { margin: 0; color: var(--text-2); font-size: 19px; max-width: 520px; }
.display, .h2, .h3, .logo, .visa__title, .visa__dv, .steps__n {
  font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase;
}
.display { margin: 0; font-size: clamp(44px, 7vw, 84px); line-height: 0.98; padding-right: 0.08em; }
.h2 { margin: 0 0 36px; font-size: clamp(28px, 4vw, 44px); line-height: 1.05; }
.h3 { margin: 0; font-size: 24px; line-height: 1.1; }

/* Шапка */
.header { position: sticky; top: 0; z-index: 10; background: rgba(22, 23, 26, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.logo { font-size: 24px; letter-spacing: 0.02em; text-decoration: none; padding: 8px 4px 8px 0; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 24px; font-size: 15px; }
.nav a { text-decoration: none; padding: 12px 0; }

/* Кнопки */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; border-radius: 10px; border: 1px solid transparent; background: transparent; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; transition: transform 0.15s, filter 0.15s; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--chrome { background: var(--chrome-btn); color: var(--graphite); box-shadow: inset 0 1px 0 #fff, 0 10px 30px rgba(0, 0, 0, 0.5); }
.btn--chrome:hover { color: var(--graphite); }
.btn--ghost { border-color: #5a5e66; color: var(--white); font-weight: 500; }
.btn--accent { background: var(--accent-grad); color: var(--on-accent); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 22px var(--accent-glow); text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12); }
.btn--accent:hover { color: var(--on-accent); filter: brightness(1.08) saturate(1.05); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), 0 14px 38px var(--accent-glow); }
.btn--wa { gap: 8px; background: var(--wa-grad); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 8px 22px var(--wa-glow); text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); }
.btn--wa:hover { color: #fff; filter: brightness(1.08); }
.btn--wa::before { content: ""; width: 20px; height: 20px; flex: 0 0 auto; background: currentColor; -webkit-mask: url("../img/wa.svg") center / contain no-repeat; mask: url("../img/wa.svg") center / contain no-repeat; }
.btn--sm { min-height: 46px; padding: 0 20px; font-size: 15px; }
.btn--wide { width: 100%; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }

/* Первый экран */
.hero { background: radial-gradient(520px 340px at 82% 46%, var(--accent-haze) 0%, rgba(0, 0, 0, 0) 70%), radial-gradient(900px 420px at 78% 10%, #2a2d32 0%, var(--graphite) 70%); }
.eyebrow::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent-glow); vertical-align: 1px; }
.header { box-shadow: 0 1px 0 var(--accent-haze); }
.visa { border-top-color: var(--accent); }
.hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 80px; padding-bottom: 88px; }
.hero__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero__card { flex: 1 1 340px; min-width: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }

.gloss { position: relative; overflow: hidden; }
.gloss::before { content: ""; position: absolute; top: -40%; left: -20%; width: 70%; height: 180%; transform: rotate(22deg); background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.1) 50%, rgba(255, 255, 255, 0) 100%); pointer-events: none; }
.visa { display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: 20px; background: linear-gradient(160deg, #34373d 0%, #1e2024 42%, #0f1012 100%); border: 1px solid var(--line-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 30px 60px rgba(0, 0, 0, 0.55); }
.visa__top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.visa__dv { font-size: 22px; padding-right: 0.1em; }
.visa__title { font-size: 40px; line-height: 1; }.visa__rows { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.visa__rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid #3a3d43; }
.visa__rows div:last-child { border-bottom: 0; padding-bottom: 0; }
.visa__rows dt { color: var(--muted); }
.visa__rows dd { margin: 0; text-align: right; }
.visa__rows .visa__ok { color: var(--ok); font-weight: 600; text-shadow: 0 0 14px rgba(95, 211, 160, 0.45); }
.visa__ok::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); vertical-align: 2px; }
.mrz { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.18em; color: var(--muted); white-space: nowrap; overflow: hidden; }

/* Секции */
.section { padding: 80px 0; border-top: 1px solid var(--line); }
.section--panel { background: var(--panel); }
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 28px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.card p { margin: 0; color: var(--text-2); }
.card--photo { padding-top: 0; overflow: hidden; }
.card__img { display: block; width: calc(100% + 56px); max-width: none; height: auto; aspect-ratio: 3 / 2; object-fit: cover; margin: 0 -28px 6px; filter: saturate(0.85) contrast(1.05); border-bottom: 1px solid var(--line); }

/* Лента услуг */
.rail__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 36px; }
.rail__head .h2 { margin: 0; }
.rail__nav { display: flex; gap: 10px; flex: 0 0 auto; }
.rail__nav[hidden] { display: none; }
.rail__btn { display: inline-flex; align-items: center; justify-content: center; width: 56px; height: 56px; padding: 0; border-radius: 50%; border: 1px solid transparent; background: var(--chrome-btn); color: var(--graphite); cursor: pointer; box-shadow: inset 0 1px 0 #fff, 0 10px 26px rgba(0, 0, 0, 0.5); transition: transform 0.15s, filter 0.15s, opacity 0.2s; }
.rail__btn svg { display: block; }
.rail__btn:hover:not([disabled]) { transform: translateY(-1px); filter: brightness(1.06); }
.rail__btn[disabled] { background: transparent; border-color: var(--line-2); color: var(--muted); box-shadow: none; opacity: 0.55; cursor: default; }
.rail { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 4px; }
.rail::-webkit-scrollbar { display: none; }
.rail__item { flex: 0 0 calc((100% - 40px) / 3); scroll-snap-align: start; text-decoration: none; color: var(--white); transition: border-color 0.2s, transform 0.2s; }
.rail__item:hover { color: var(--white); border-color: var(--accent); transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 16px 40px var(--accent-haze); }
.rail__more { margin-top: auto; font-weight: 700; font-size: 15px; color: var(--accent-text); }
@media (max-width: 900px) { .rail__item { flex-basis: calc((100% - 20px) / 2); } }
@media (max-width: 600px) { .rail__item { flex-basis: 84%; } .rail__btn { width: 46px; height: 46px; } }

/* Поиск авиабилетов */
.fl { gap: 18px; }
.fl__grid { display: grid; grid-template-columns: 1fr auto 1fr 170px 170px 190px; gap: 14px; align-items: end; }
.cbx { position: relative; display: block; }
.cbx:focus-within { z-index: 20; }
.cbx__list { position: absolute; left: 0; min-width: max(100%, 280px); max-width: calc(100vw - 48px); top: calc(100% + 6px); z-index: 12; margin: 0; padding: 6px; list-style: none; max-height: 300px; overflow-y: auto; border-radius: 12px; border: 1px solid var(--line-2); background: linear-gradient(180deg, #26282c 0%, #1b1d20 100%); box-shadow: 0 22px 50px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1); animation: cbx-in 0.16s ease-out; transform-origin: top; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
.cbx__list[hidden] { display: none; }
@keyframes cbx-in { from { opacity: 0; transform: translateY(-6px) scaleY(0.96); } to { opacity: 1; transform: none; } }
.cbx__list li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; border-radius: 8px; cursor: pointer; }
.cbx__list li:hover, .cbx__list li[aria-selected="true"] { background: var(--chrome-btn); color: var(--graphite); }
.cbx__list li:hover .cbx__country, .cbx__list li[aria-selected="true"] .cbx__country { color: #3a3d43; }
.cbx__city { font-size: 16px; color: inherit; }
.cbx__country { font-family: var(--f-mono); font-size: 12px; letter-spacing: 0.06em; color: var(--muted); text-transform: uppercase; white-space: nowrap; }
.cbx__list li.cbx__none { cursor: default; color: var(--muted); font-size: 14px; }
.cbx__list li.cbx__none:hover { background: none; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .cbx__list { animation: none; } }
.fl__swap { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); background: #121315; color: var(--white); font-size: 20px; cursor: pointer; }
.fl__swap:hover { border-color: var(--muted); }
.fl input[disabled] { opacity: 0.45; }
.fl__act { display: flex; flex-wrap: wrap; gap: 12px; }
.fl__status { margin: 0; min-height: 1.4em; font-size: 15px; }
.fl__status.err { color: var(--err); }
.fl__note { margin: 0; font-size: 14px; }
@media (max-width: 1000px) { .fl__grid { grid-template-columns: repeat(2, 1fr); } .fl__swap { display: none; } }
@media (max-width: 520px) { .fl__grid { grid-template-columns: 1fr; } .fl__act .btn { width: 100%; } }

/* Визы по странам */
.vz__tools { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-bottom: 24px; }
.vz__search { flex: 1 1 320px; max-width: 460px; }
.vz__regions { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: inherit; font-size: 15px; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--chrome-btn); color: var(--graphite); border-color: transparent; font-weight: 700; }
.vz__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.vz[hidden] { display: none; }
.vz__top { display: flex; justify-content: space-between; gap: 12px; }
.vz__rows { margin: 0; display: flex; flex-direction: column; gap: 10px; }
.vz__rows div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.vz__rows dt { color: var(--muted); }
.vz__rows dd { margin: 0; text-align: right; color: var(--white); }
.vz__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; }
.vz__act .btn { flex: 1 1 auto; }
.vz__empty { margin: 0 0 20px; }
.vz__inc { margin-top: 28px; }
.vz__inc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px 24px; }
.vz__inc-list li { position: relative; padding-left: 26px; color: var(--text-2); }
.vz__inc-list li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.vz:hover, .plan:hover { border-color: var(--line-2); }
.steps__n { background: var(--accent-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vz__inc p { margin: 0; font-size: 15px; }
.modal__body ol { padding-left: 1.3em; }

/* Плавающая кнопка WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 15; display: inline-flex; align-items: center; gap: 8px; min-height: 54px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--wa-grad); color: #fff; font-weight: 700; text-decoration: none; text-shadow: 0 1px 1px rgba(0, 0, 0, 0.25); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 10px 24px var(--wa-glow), 0 6px 18px rgba(0, 0, 0, 0.5); }
.wa-float:hover { color: #fff; filter: brightness(1.08); }
.footer { padding-bottom: 96px; }

/* Цены */
.table-box { overflow-x: auto; }
.prices { width: 100%; min-width: 620px; border-collapse: collapse; }
.prices th, .prices td { padding: 20px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.prices th:first-child, .prices td:first-child { padding-left: 0; }
.prices th:last-child, .prices td:last-child { padding-right: 0; }
.prices thead th { padding-top: 0; padding-bottom: 12px; font-family: var(--f-mono); font-size: 12px; font-weight: 400; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border-bottom: 2px solid var(--line-2); }
.prices tbody th { font-weight: 700; white-space: nowrap; }
.prices td { color: var(--text-2); }
.prices .mono { color: var(--white); white-space: nowrap; }
.prices .num { text-align: right; }

/* Шаги */
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 28px; }
.steps li { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.steps li span:last-child { color: var(--text-2); }
.steps__n { font-size: 52px; line-height: 1; align-self: flex-start; padding-right: 0.12em; }

/* Отзывы */
.section[hidden] { display: none; }
.rv { align-items: flex-start; }
.rv__item { flex: 0 0 auto; width: 260px; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #121315; cursor: zoom-in; }
.rv__item img { display: block; width: 100%; height: 440px; object-fit: cover; object-position: top; }
.rv__note { margin: 18px 0 0; font-size: 14px; }
@media (max-width: 600px) { .rv__item { width: 72%; flex-basis: auto; } .rv__item img { height: 380px; } }
.modal--img { max-width: min(520px, calc(100vw - 32px)); }
.modal--img img { display: block; max-width: 100%; max-height: calc(100dvh - 90px); margin: 0 auto; border-radius: 10px; }

/* Частые вопросы */
.faq__row { display: flex; flex-wrap: wrap; gap: 32px 56px; align-items: flex-start; }
.faq__head { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq__head .h2 { margin: 0; }
.faq__head p { margin: 0; }
.faq { flex: 2 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.faq details { border-radius: 14px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08); transition: border-color 0.2s; }
.faq details[open] { border-color: var(--line-2); border-left: 3px solid var(--accent); }
.faq summary { position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; border-color: var(--accent-text); }
.faq summary:hover { color: var(--white); }
.faq summary:hover::after { border-color: var(--white); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--text-2); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* Форма */
.form__row { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.form__text { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.form__text .h2 { margin-bottom: 0; }
.form__text p { margin: 0; }
.form { flex: 1 1 420px; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--text-2); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); background: #121315; color: var(--white); font: inherit; font-size: 16px; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--white); outline-offset: 1px; }
.field .bad { border-color: var(--err); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #d9dce0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status { margin: 0; min-height: 1.5em; font-size: 15px; }
.form__status.ok { color: var(--ok); }
.form__status.err { color: var(--err); }

/* Калькулятор страховки */
.ins { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ins__form { flex: 1 1 360px; gap: 16px; }
.ins__side { flex: 1.3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ins__dates { display: flex; flex-wrap: wrap; gap: 12px; }
.ins__dates .field { flex: 1 1 140px; min-width: 0; }
.ins__days { margin: -6px 0 0; min-height: 1.4em; }
.field input[type="date"] { color-scheme: dark; }
.field input:disabled { opacity: 0.6; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.dob { margin: 0; padding: 0; border: 0; min-width: 0; }
.dob legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--text-2); }
.dob__row { display: flex; gap: 8px; }
.dob__row .field { flex: 1 1 0; min-width: 0; gap: 0; }
.dob__row .dob__month { flex: 1.6 1 0; }
.dob__row select { padding-left: 10px; padding-right: 4px; }
.seg { margin: 0; padding: 0; border: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { padding: 0; margin-bottom: 6px; font-size: 14px; color: var(--text-2); }
.seg label { flex: 1 1 150px; position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 15px; text-align: center; cursor: pointer; }
.seg input:checked + span { background: var(--chrome-btn); color: var(--graphite); border-color: transparent; font-weight: 700; }
.seg input:focus-visible + span { outline: 2px solid var(--white); outline-offset: 2px; }
.ins__plans { display: flex; flex-wrap: wrap; gap: 12px; }
.plan { flex: 1 1 170px; min-width: 0; display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.plan__price { font-family: var(--f-display); font-style: italic; font-weight: 900; font-size: 26px; line-height: 1.1; }
.plan__kgs { color: var(--text-2); font-size: 15px; }
.plan .btn { margin-top: 10px; }
.plan--off { opacity: 0.6; }
.ins__note { margin: 0; color: var(--text-2); font-size: 15px; min-height: 1.5em; }
.ins__warn { margin: 0; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-2); background: #121315; color: var(--text-2); font-size: 15px; }
.ins__warn strong { color: var(--white); }

/* Подвал */
.footer { border-top: 1px solid var(--line); padding: 36px 0; }
.footer__row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 18px; font-size: 15px; color: var(--text-2); }
.footer__row a { padding: 6px 0; }

/* Текстовые страницы */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 24px 80px; }
.doc h1 { font-family: var(--f-display); font-style: italic; font-weight: 900; text-transform: uppercase; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; margin: 24px 0; }
.doc h2 { font-size: 20px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--text-2); }

/* Всплывающее окно (политика) */
.modal { padding: 0; border: 0; background: transparent; color: var(--white); max-width: min(720px, calc(100vw - 32px)); width: 100%; max-height: calc(100dvh - 32px); }
.modal::backdrop { background: rgba(8, 9, 11, .78); backdrop-filter: blur(4px); }
.modal__box { position: relative; display: flex; flex-direction: column; gap: 16px; max-height: calc(100dvh - 32px); padding: 20px; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.modal__body { overflow-y: auto; padding: 8px 8px 0; margin: 0; max-width: none; overscroll-behavior: contain; }
.modal__body h1 { margin-top: 4px; padding-right: 44px; font-size: clamp(19px, 5.7vw, 34px); text-transform: none; }
.modal__close { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: 50%; background: var(--panel); color: var(--white); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__close:hover { border-color: var(--muted); }
body:has(.modal[open]) { overflow: hidden; }

@media (max-width: 720px) {
  .wa-float span { display: none; }
  .wa-float { width: 56px; padding: 0; justify-content: center; }
  .nav { order: 3; width: 100%; flex-wrap: nowrap; gap: 0 18px; font-size: 14px; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a { padding: 8px 0; }
  .hide-sm { display: none; }
  .header__row { padding-top: 8px; padding-bottom: 4px; }
  [id] { scroll-margin-top: 120px; }
  .header__row .btn { min-height: 44px; padding: 0 14px; }
  .hero__row { padding-top: 48px; padding-bottom: 56px; gap: 36px; }
  .section { padding: 56px 0; }
  .visa, .card { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
