/* Шрифты лежат на сайте (public/fonts), без запросов к Google. Лицензия SIL OFL. */
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-ext-33000.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-78339.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/golos-text-latin-ext-90204.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/golos-text-latin-7518.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-ext-33000.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-78339.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/golos-text-latin-ext-90204.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/golos-text-latin-7518.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-ext-33000.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/golos-text-cyrillic-78339.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/golos-text-latin-ext-90204.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/golos-text-latin-7518.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext-67635.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-68938.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext-30295.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-45891.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-ext-67635.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-cyrillic-68938.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-ext-30295.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/jetbrains-mono-latin-45891.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-ext-64649.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/montserrat-cyrillic-20887.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/montserrat-latin-ext-88461.woff2) format('woff2');
  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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Montserrat';
  font-style: italic;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/montserrat-latin-52797.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

: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);
  /* Поверхности и мелкие цвета: в светлой теме меняются ниже. */
  --bg: #16171a;
  --header-bg: rgba(22, 23, 26, 0.92);
  --hero-glow: #2a2d32;
  --input-bg: #121315;
  --ghost-line: #5a5e66;
  --check: #d9dce0;
  --on-chrome-muted: #3a3d43;
  --shadow: rgba(0, 0, 0, 0.5);
  color-scheme: dark;
  --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(--bg);
  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: var(--header-bg); 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 rgba(255, 255, 255, 0.6), 0 10px 30px var(--shadow); }
.btn--chrome:hover { color: var(--graphite); }
.btn--ghost { border-color: var(--ghost-line); 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%, var(--hero-glow) 0%, var(--bg) 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 rgba(255, 255, 255, 0.6), 0 10px 26px var(--shadow); 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: var(--card); 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: var(--on-chrome-muted); }
.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__city mark { background: none; color: var(--accent-text); font-weight: 700; }
.cbx__list li:hover .cbx__city mark, .cbx__list li[aria-selected="true"] .cbx__city mark { color: var(--graphite); }
.cbx__list li.cbx__head { display: block; cursor: default; padding: 6px 12px 8px; font-family: var(--f-mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.cbx__list li.cbx__head:hover { background: none; color: var(--muted); }
.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: var(--input-bg); 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: var(--input-bg); 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: var(--input-bg); 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: var(--check); }
.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: inherit; }
.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: var(--input-bg); 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; }
}

/* ---------- Опросник (anketa.html) ---------- */
.aq .lead { margin: 0 0 28px; max-width: none; }
.aq h1 { margin: 12px 0 16px; }
.aq__steps { display: flex; gap: 6px; margin: 0 0 10px; padding: 0; list-style: none; counter-reset: aq; font-size: 13px; color: var(--muted); }
.aq__steps li { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; counter-increment: aq; }
.aq__steps li::before { content: counter(aq) ". "; font-family: var(--f-mono); }
.aq__steps li.now { color: var(--white); font-weight: 700; }
.aq__steps li.done { color: var(--accent-text); }
.aq__bar { height: 4px; margin-bottom: 20px; border-radius: 4px; background: var(--line); overflow: hidden; }
.aq__bar span { display: block; height: 100%; width: 20%; background: var(--accent-grad); transition: width 0.3s ease; }
.aq__form { gap: 18px; }
.aq__step { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 0; border: 0; min-width: 0; }
.aq__step[hidden] { display: none; }
.aq__title { padding: 0; margin-bottom: 4px; font-size: 22px; font-weight: 700; color: var(--white); }
.aq__title .mono { display: block; margin-bottom: 4px; font-size: 12px; }
.aq__two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aq .seg--3 label { flex: 1 1 30%; }
.aq .seg.bad span { border-color: var(--err); }
.aq .field input.bad, .aq .field select.bad, .aq .field textarea.bad { border-color: var(--err); }
.aq .req { color: var(--accent-text); font-weight: 700; }
.aq__nav { display: flex; gap: 12px; justify-content: space-between; }
.aq__nav .btn--accent { margin-left: auto; min-width: 180px; }
.aq__done { align-items: flex-start; }
.aq__done h2 { margin: 0; font-size: 24px; }
.aq [hidden] { display: none !important; }
@media (max-width: 640px) {
  .aq__two { grid-template-columns: 1fr; }
  .aq__steps li { font-size: 0; text-align: center; }
  .aq__steps li::before { content: counter(aq); font-size: 13px; }
  .aq__nav .btn { flex: 1 1 0; min-width: 0; }
}
.nav a.nav__aq { padding: 6px 14px; margin: 6px 0; border-radius: 999px; border: 1px solid var(--accent); color: var(--accent-text); font-weight: 600; }
.nav a.nav__aq:hover { background: var(--accent-haze); }
@media (max-width: 720px) { .nav a.nav__aq { order: -1; padding: 4px 12px; margin: 4px 0; } }

/* ---------- Светлая тема (переключатель в шапке, js/theme.js) ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f9;
  --graphite: #ffffff; /* текст на «хромовых» кнопках: в светлой теме они тёмные */
  --panel: #eef0f3;
  --line: #dcdfe4;
  --line-2: #c3c7ce;
  --white: #121417;
  --text-2: #353a41;
  --muted: #5d636b;
  --ok: #12804f;
  --err: #c0392b;
  --chrome: linear-gradient(135deg, #1b1d21 0%, #5b6068 40%, #22252a 55%, #6e737b 80%, #2c2f34 100%);
  --chrome-btn: linear-gradient(135deg, #43474e 0%, #1b1d21 45%, #30333a 60%, #0f1012 100%);
  --card: linear-gradient(180deg, #ffffff 0%, #f7f8fa 100%);
  --accent-text: #1d5bbf;
  --accent-glow: rgba(42, 100, 196, 0.25);
  --accent-haze: rgba(61, 139, 255, 0.12);
  --header-bg: rgba(255, 255, 255, 0.92);
  --hero-glow: #e3e9f3;
  --input-bg: #ffffff;
  --ghost-line: #9aa0a8;
  --check: #2a64c4;
  --on-chrome-muted: #c9ccd2;
  --shadow: rgba(20, 30, 50, 0.16);
}
:root[data-theme="light"] .card, :root[data-theme="light"] .faq details, :root[data-theme="light"] .plan { box-shadow: 0 1px 2px rgba(20, 30, 50, 0.06), 0 8px 24px rgba(20, 30, 50, 0.06); }
:root[data-theme="light"] .cbx__list, :root[data-theme="light"] .modal__box { box-shadow: 0 22px 50px rgba(20, 30, 50, 0.2); }
:root[data-theme="light"] .wa-float { box-shadow: 0 10px 24px var(--wa-glow), 0 6px 18px rgba(20, 30, 50, 0.18); }
:root[data-theme="light"] .modal::backdrop { background: rgba(20, 24, 30, 0.55); }
/* Карточка визы на первом экране остаётся тёмной: это «документ», а не фон. */
:root[data-theme="light"] .visa {
  --white: #f3f4f6; --text-2: #c9ccd2; --muted: #a7adb5; --ok: #5fd3a0; --line-2: #4a4e55;
  --chrome: linear-gradient(135deg, #ffffff 0%, #a7acb3 38%, #eef0f2 52%, #6f747b 78%, #d9dce0 100%);
  color: var(--white);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28), 0 30px 60px rgba(20, 30, 50, 0.3);
}

/* Кнопка переключения темы */
.theme-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; color: var(--text-2); font: inherit; font-size: 14px; cursor: pointer; white-space: nowrap; }
.theme-btn:hover { color: var(--white); border-color: var(--muted); }
.theme-btn__icon { font-size: 16px; line-height: 1; }
.header__end { display: flex; align-items: center; gap: 10px; }
@media (max-width: 720px) { .theme-btn__text { display: none; } .theme-btn { width: 40px; padding: 0; } }
@media (max-width: 420px) { .logo { font-size: 21px; } .header__end { gap: 8px; } .header__end .btn--sm { min-height: 40px; padding: 0 12px; font-size: 14px; } }

/* Иконка темы: солнце ↔ луна */
.theme-btn__icon { position: relative; display: inline-block; width: 18px; height: 18px; }
.ti { position: absolute; inset: 0; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1), opacity 0.4s ease; }
.ti--sun circle { fill: currentColor; stroke: none; }
.ti--moon path { fill: currentColor; stroke: none; }
.ti__rays { transform-origin: 12px 12px; transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1); }
.theme-btn[aria-pressed="false"] .ti--moon { opacity: 0; transform: rotate(-90deg) scale(0.4); }
.theme-btn[aria-pressed="true"] .ti--sun { opacity: 0; transform: rotate(90deg) scale(0.4); }
.theme-btn[aria-pressed="true"] .ti__rays { transform: rotate(45deg) scale(0.6); }
.theme-btn[aria-pressed="false"] .ti--sun { color: #ffc75a; }
.theme-btn[aria-pressed="true"] .ti--moon { color: #3d6fd1; }
.theme-btn { transition: color 0.3s, border-color 0.3s, background-color 0.3s, transform 0.2s; }
.theme-btn:active { transform: scale(0.94); }
.theme-btn.is-spin .theme-btn__icon { animation: theme-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1); }
@keyframes theme-pop { 0% { transform: scale(1); } 40% { transform: scale(1.35) rotate(-20deg); } 100% { transform: scale(1) rotate(0); } }

/* Смена темы: новая тема разливается кругом от кнопки */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { z-index: 2; }
/* Старые браузеры: цвета перетекают плавно */
.theme-fade, .theme-fade *, .theme-fade *::before, .theme-fade *::after {
  transition: background-color 0.6s ease, background 0.6s ease, color 0.6s ease, border-color 0.6s ease, fill 0.6s ease, box-shadow 0.6s ease !important;
}
@media (prefers-reduced-motion: reduce) { .ti, .ti__rays { transition: none; } .theme-btn.is-spin .theme-btn__icon { animation: none; } }

/* Компактная кнопка темы: только иконка, подпись во всплывающей подсказке */
.theme-btn { width: 40px; height: 40px; min-height: 40px; padding: 0; flex: 0 0 auto; }
.theme-btn__text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.header__row > .theme-btn { margin-left: -4px; }
@media (min-width: 721px) { .nav { gap: 4px 20px; } }
@media (min-width: 721px) and (max-width: 1100px) { .nav { gap: 4px 14px; font-size: 14px; } .logo { font-size: 21px; } .nav a.nav__aq { padding: 5px 11px; } }

/* Меню «Услуги» с выпадающей плашкой */
.nav__group { position: relative; display: flex; }
.nav__top { display: inline-flex; align-items: center; gap: 6px; }
.nav__caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.25s ease; }
.nav__menu { position: absolute; top: 100%; left: -16px; z-index: 30; display: flex; flex-direction: column; gap: 2px; min-width: 260px; padding: 8px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--card); box-shadow: 0 22px 50px var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s; }
/* Невидимый мостик, чтобы плашка не закрывалась, пока курсор идёт к ней */
.nav__menu::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__menu a { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; border-radius: 10px; text-decoration: none; color: var(--white); }
.nav__menu a b { font-weight: 600; font-size: 15px; }
.nav__menu a small { font-size: 13px; color: var(--muted); }
.nav__menu a:hover, .nav__menu a:focus-visible { background: var(--accent-haze); color: var(--white); }
.nav__menu a:hover b { color: var(--accent-text); }
.nav__group:hover .nav__menu, .nav__group:focus-within .nav__menu { opacity: 1; visibility: visible; transform: none; }
.nav__group:hover .nav__caret, .nav__group:focus-within .nav__caret { transform: rotate(180deg); }
@media (max-width: 720px) {
  /* На телефоне без плашки: пункты идут обычной строкой меню */
  .nav__group, .nav__menu { display: contents; }
  .nav__caret, .nav__menu a small { display: none; }
  .nav__menu a { display: inline; padding: 8px 0; border-radius: 0; color: inherit; }
  .nav__menu a b { font-weight: inherit; font-size: inherit; }
  .nav__menu a:hover { background: none; }
}
@media (prefers-reduced-motion: reduce) { .nav__menu, .nav__caret { transition: none; } }
@media (max-width: 720px) { .nav__menu { visibility: visible; opacity: 1; transform: none; transition: none; } }
.vz__more { align-self: flex-start; font-size: 15px; font-weight: 600; color: var(--accent-text); text-decoration: none; } .vz__more:hover { color: var(--white); text-decoration: underline; }

/* ---------- Страницы виз (/schengen, /usa) ---------- */
.vp__hero { display: flex; flex-direction: column; gap: 22px; padding-top: 48px; padding-bottom: 72px; }
.vp__crumbs { font-size: 12px; color: var(--muted); }
.vp__crumbs a { color: var(--muted); }
.vp__h1 { font-size: clamp(38px, 6vw, 72px); }
.vp__lead { max-width: 720px; }
.vp__facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 12px 0 0; }
.vp__facts .card { padding: 18px 20px; gap: 6px; }
.vp__facts dt { font-size: 12px; }
.vp__facts dd { margin: 0; font-weight: 600; color: var(--white); }
.vp__note { margin: 0; font-size: 14px; max-width: 760px; }
.vp__sec { display: flex; flex-direction: column; gap: 22px; }
.vp__sec .h2 { margin-bottom: 0; }
.vp__intro { max-width: 760px; }
.vp__group h3 { margin: 0; font-size: 20px; }
.vp__list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.vp__list li { position: relative; padding-left: 26px; color: var(--text-2); }
.vp__list li::before { content: "✓"; position: absolute; left: 0; color: var(--accent-text); font-weight: 700; }
.vp__others { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .vp__facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .vp__facts, .vp__list { grid-template-columns: 1fr; } .vp__hero { padding-top: 28px; } }

/* ---------- Служебная страница ссылок ---------- */
.lk h2 { margin: 40px 0 14px; }
.lk__list { display: flex; flex-direction: column; gap: 10px; }
.lk__row, .lk__msg { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; }
.lk__row > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.lk__row b { color: var(--white); }
.lk__row small { color: var(--muted); font-size: 13px; }
.lk__row a { color: var(--accent-text); font-size: 14px; overflow-wrap: anywhere; }
.lk__msg p { margin: 0; color: var(--text-2); font-size: 15px; }
.lk .btn { flex: 0 0 auto; }
.lk .btn.is-ok { border-color: var(--ok); color: var(--ok); }
@media (max-width: 600px) { .lk__row, .lk__msg { flex-direction: column; align-items: stretch; } }
.lk__list .card { flex: none; }
