/* Шрифты свои, без обращений к Google: вариативный Roboto Flex (заголовки в широком
   начертании, как буквы логотипа ASMAN) и вариативный Source Sans 3 (текст).
   Подмножества latin + cyrillic + cyrillic-ext: казахские буквы ә ғ қ ң ө ұ ү һ
   лежат в cyrillic-ext, их наличие проверено по cmap. */
@font-face {
    font-family: "Roboto Flex";
    font-style: normal;
    font-weight: 100 1000;
    font-stretch: 25% 151%;
    font-display: swap;
    src: url(/fonts/robotoflex-cyrillic-ext.woff2) format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Roboto Flex";
    font-style: normal;
    font-weight: 100 1000;
    font-stretch: 25% 151%;
    font-display: swap;
    src: url(/fonts/robotoflex-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Roboto Flex";
    font-style: normal;
    font-weight: 100 1000;
    font-stretch: 25% 151%;
    font-display: swap;
    src: url(/fonts/robotoflex-latin.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;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/sourcesans3-cyrillic-ext.woff2) format("woff2");
    unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/sourcesans3-cyrillic.woff2) format("woff2");
    unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
    font-family: "Source Sans 3";
    font-style: normal;
    font-weight: 400 700;
    font-display: swap;
    src: url(/fonts/sourcesans3-latin.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;
}

/* ============================================================
   ASMAN AIRLINES · Казахстан — дизайн «Тундук»
   «Асман» по-кыргызски — небо. Тундук, деревянный круг в куполе юрты,
   это окно, через которое кочевник видит небо; он же стоит в центре флага
   Кыргызстана. Отсюда система: первый экран — дневное небо над хребтами
   Тянь-Шаня (градиент от глубокой синевы к светлому горизонту, снежные гребни
   внизу), тундук — тонкая подложка шапок и подвала (символ #tunduk в inc/mark.php).
   Птица-«V» из официального логотипа — символ #fin.
   Орнамент «кочкор мүйүз» (рога архара) повторяет узор на хвостовой части
   фюзеляжа Q400: угловые крючки, поочерёдно вверх и вниз, — лента .orn.
   Главный цвет — синий ливреи #1F5FD6 (5,7:1 к белому): кнопки, ссылки.
   Тёмно-синий логотипа #214090 — заголовки таблиц и надписи.
   Красный флага #C8102E (5,9:1 к белому) — цифры и метки на светлом,
   солнце флага #FFC72C — акцент на тёмном. Бирюза Иссык-Куля #1597B5 —
   озеро и сезонные линии из Алматы на карте сети.
   Имена переменных общесерийные (--red — акцент, --gold — метки), поменялись значения.
   ============================================================ */

:root {
    --red:      #1F5FD6;  /* синий ливреи: кнопки, ссылки, акценты */
    --red-d:    #1848A8;
    --red-l:    #3A78E8;
    --blue:     #6495EC;  /* голубой логотипа: маркеры, иконки */
    --blue-l:   #A9C6FA;  /* акцент на тёмном */
    --blue-d:   #0B1B45;
    --navy:     #214090;  /* тёмно-синий логотипа */
    --sky:      #EAF1FD;
    --sky-2:    #CEDCF7;
    --ink:      #0B1B45;  /* глубокое небо: тёмные секции и заголовки */
    --ink-2:    #081436;
    --ink-3:    #214090;
    --text:     #15203F;
    --muted:    #56627F;
    --paper:    #F7F9FE;
    --mica:     #EEF3FC;
    --line:     #DAE2F2;
    --line-2:   #C2CEE6;
    --steel:    #5B6886;
    --gold:     #C8102E;  /* красный флага: цифры и метки на светлом */
    --gold-l:   #FFC72C;  /* солнце флага: акценты на тёмном */
    --lake:     #1597B5;  /* бирюза Иссык-Куля */
    --white:    #fff;
    --shadow:   0 12px 34px rgba(11,27,69,.10);
    --shadow-s: 0 4px 14px rgba(11,27,69,.07);
    --shadow-l: 0 24px 60px rgba(11,27,69,.22);
    --r:        14px;
    /* Лента «кочкор мүйүз»: угловые крючки, как на хвосте самолёта */
    --orn-gold: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath d='M2 13V3h10v6H7M18 3v10h10V7h-5' fill='none' stroke='%23FFC72C' stroke-width='1.7'/%3E%3C/svg%3E");
    --orn-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='16' viewBox='0 0 32 16'%3E%3Cpath d='M2 13V3h10v6H7M18 3v10h10V7h-5' fill='none' stroke='%231F5FD6' stroke-width='1.7'/%3E%3C/svg%3E");
    --font-d:   "Roboto Flex", "Segoe UI", Arial, sans-serif;
    --font-h:   "Roboto Flex", "Segoe UI", Arial, sans-serif;
    --font-b:   "Source Sans 3", "Segoe UI", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font: 400 17px/1.62 var(--font-b);
    color: var(--text);
    background: var(--paper);
    -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; }
img { height: auto; }
a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-d); }

.container { max-width: 1560px; margin: 0 auto; padding: 0 clamp(18px, 2.5vw, 40px); }
.section { padding: 54px 0; }
.section--mica { background: var(--mica); }
.section--sky { background: linear-gradient(180deg, var(--sky) 0%, #fff 100%); }
.section--ink {
    position: relative; overflow: hidden;
    color: rgba(255,255,255,.86);
    background:
        radial-gradient(760px 380px at 92% 0%, rgba(100,149,236,.22) 0%, transparent 62%),
        radial-gradient(700px 380px at 4% 100%, rgba(21,151,181,.14) 0%, transparent 66%),
        linear-gradient(160deg, #081436 0%, #16307A 100%);
}
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink a { color: var(--gold-l); }
.section--ink .container { position: relative; z-index: 2; }

/* Roboto Flex в широком начертании (font-stretch 118%) перекликается с буквами
   логотипа ASMAN. Кегли скромнее обычного: казахские строки длиннее русских. */
h1, h2 { font-family: var(--font-d); font-weight: 700; font-stretch: 118%; line-height: 1.16; color: var(--ink); }
h3, h4 { font-family: var(--font-h); font-weight: 650; font-stretch: 110%; line-height: 1.28; color: var(--ink); }
h1 { font-size: clamp(28px, 3.7vw, 46px); letter-spacing: -.5px; }
h2 { font-size: clamp(22px, 2.4vw, 31px); letter-spacing: -.3px; }
h3 { font-size: 18px; }

/* ---------- Общие мелочи ---------- */
.section__head { max-width: 820px; margin-bottom: 34px; }
.section__head .after { color: var(--muted); margin-top: 16px; font-size: 17px; }
/* Черта под заголовком: синяя линия и солнце флага на конце */
.brush { position: relative; display: inline-block; }
.brush::after {
    content: ''; position: absolute; left: 0; right: 16px; bottom: -11px; height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--red) 0 72%, var(--blue) 72% 100%);
}
.brush::before {
    content: ''; position: absolute; right: 0; bottom: -14px; width: 9px; height: 9px;
    border-radius: 50%; border: 2px solid var(--gold); background: #fff;
}
.section--ink .brush::after { background: linear-gradient(90deg, var(--gold-l) 0 72%, var(--blue-l) 72% 100%); }
.section--ink .brush::before { border-color: var(--gold-l); background: transparent; }

/* Лента орнамента «кочкор мүйүз» */
.orn { height: 16px; background: var(--navy) var(--orn-gold) repeat-x center / 32px 16px; }
.orn--light { height: 16px; background: var(--orn-blue) repeat-x center / 32px 16px; opacity: .55; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 9px;
    padding: 13px 24px; border-radius: 10px;
    font: 600 16px/1 var(--font-b);
    border: 0; cursor: pointer; transition: .18s;
    white-space: nowrap;
}
.btn .ic { width: 17px; height: 17px; fill: currentColor; flex: none; }
.btn--red { background: var(--red); color: #fff !important; box-shadow: 0 8px 20px rgba(31,95,214,.30); }
.btn--red:hover { background: var(--red-d); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--red) !important; border: 1.5px solid var(--sky-2); }
.btn--ghost:hover { border-color: var(--red); }
.hero .btn--ghost, .section--ink .btn--ghost { background: rgba(255,255,255,.08); color: #fff !important; border-color: rgba(255,255,255,.42); }
.hero .btn--ghost:hover, .section--ink .btn--ghost:hover { border-color: #fff; background: rgba(255,255,255,.16); }
.btn--line { background: #fff; color: var(--ink) !important; border: 1.5px solid var(--line-2); }
.btn--line:hover { border-color: var(--red); }
.btn--sm { padding: 9px 15px; font-size: 14.5px; border-radius: 8px; }

.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px; border-radius: 999px;
    background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.26);
    color: #fff; font: 500 14.5px/1.3 var(--font-b);
}
.chip .ic { width: 13px; height: 13px; fill: var(--gold-l); flex: none; }
.tag {
    display: inline-block; padding: 4px 10px; border-radius: 6px;
    font: 700 11.5px/1.5 var(--font-b); letter-spacing: 1px; text-transform: uppercase;
}
.tag--red { background: #E3ECFC; color: var(--red-d); }
.tag--steel { background: #E9EDF4; color: var(--steel); }
.tag--blue { background: #DDEBFD; color: var(--navy); }
.tag--gold { background: #FBE5E8; color: #9E0C24; }
.tag--lake { background: #DCF2F7; color: #0D6A80; }

.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; }
.prose { max-width: 860px; }
.prose p { margin-bottom: 14px; color: #222D4A; }
.prose p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

/* ---------- Верхняя служебная полоса: тёмно-синий логотипа ---------- */
.topbar { background: var(--navy); color: rgba(255,255,255,.90); font: 500 13.5px/1 var(--font-b); }
.topbar__in { display: flex; align-items: center; gap: 22px; height: 36px; }
.topbar b { color: #fff; font-weight: 700; }
.topbar__i { display: inline-flex; align-items: center; gap: 7px; }
.topbar__i svg { width: 13px; height: 13px; fill: var(--gold-l); flex: none; }
.topbar__spacer { margin-left: auto; }

/* ---------- Шапка: белая, логотип в родных цветах ---------- */
.site-header {
    position: sticky; top: 0; z-index: 60;
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--line);
}
.site-header.scrolled { box-shadow: 0 8px 26px rgba(11,27,69,.10); }
.header-in { display: flex; align-items: center; gap: 18px; height: 70px; }

.logo { display: inline-flex; flex-direction: column; align-items: flex-start; flex: none; }
.logo__img { display: block; height: 30px; width: auto; }

.nav { display: flex; gap: 1px; margin-left: auto; }
.nav a {
    padding: 9px 11px; border-radius: 8px;
    color: var(--ink); font: 600 15px/1 var(--font-b);
    transition: .15s;
}
.nav a:hover { background: var(--sky); color: var(--red); }

.lang-switch {
    display: inline-flex; align-items: center; gap: 2px; flex: none;
    background: var(--mica); border: 1px solid var(--line-2);
    border-radius: 999px; padding: 3px;
}
.lang-switch a {
    padding: 5px 10px; border-radius: 999px;
    font: 700 12px/1 var(--font-b); letter-spacing: .8px;
    color: var(--muted); transition: .15s;
}
.lang-switch a:hover { color: var(--red); }
.lang-switch a.active { background: var(--navy); color: #fff; }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; margin: 5px 0; transition: .25s; }

/* ---------- Hero: дневное небо над хребтами ---------- */
.hero {
    position: relative; overflow: hidden; color: rgba(255,255,255,.9);
    background:
        radial-gradient(780px 420px at 84% 8%, rgba(169,198,250,.34) 0%, transparent 64%),
        radial-gradient(600px 360px at 10% 30%, rgba(255,199,44,.10) 0%, transparent 70%),
        linear-gradient(180deg, #0B2466 0%, #1A45A8 52%, #4E86E2 86%, #8DB4F2 100%);
}
.hero__in { position: relative; z-index: 3; padding: 54px 20px 150px; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 46px; align-items: center; }
.hero h1 { color: #fff; }
.hero__lead { color: rgba(255,255,255,.88); font-size: 18.5px; margin: 16px 0 22px; max-width: 610px; }
.hero__lead b { color: #fff; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 26px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
/* Хребты: три слоя, передний сливается с фоном следующей секции */
.hero__mnt { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; height: 150px; pointer-events: none; }
.hero__mnt svg { display: block; width: 100%; height: 100%; }
/* Тундук и птица из логотипа — подложка */
.hero__fin { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.hero__fin .bl { position: absolute; }
.hero__fin .b1 { width: 460px; height: 460px; top: -150px; right: -110px; color: #fff; opacity: .09; }
.hero__fin .b2 { width: 90px; height: 50px; top: 13%; left: 44%; fill: #fff; opacity: .10; }
.hero__fin .b3 { width: 48px; height: 27px; top: 58%; left: 4%; fill: var(--gold-l); opacity: .20; }

/* Карточка поиска */
.searchcard {
    background: #fff; border-radius: 18px; box-shadow: var(--shadow-l);
    padding: 20px 20px 16px; color: var(--text);
    border: 1px solid var(--line);
}
.searchcard__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.searchcard__top h2 { font-size: 18px; letter-spacing: -.3px; }
.searchcard__note { font-size: 14px; color: var(--muted); margin-top: 10px; line-height: 1.5; }
.searchcard__tabs { display: flex; gap: 6px; margin: 12px 0 14px; flex-wrap: wrap; }
.searchcard__tabs button {
    padding: 7px 13px; border-radius: 999px; cursor: pointer;
    font: 600 13.5px/1 var(--font-b); color: var(--ink);
    background: var(--mica); border: 1px solid var(--line-2); transition: .15s;
}
.searchcard__tabs button.on { background: var(--red); border-color: var(--red); color: #fff; }
.searchcard__trust { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--line-2); }
.searchcard__trust span { display: inline-flex; align-items: center; gap: 6px; font: 500 13.5px/1.4 var(--font-b); color: var(--muted); }
.searchcard__trust svg { width: 13px; height: 13px; fill: var(--blue); flex: none; }

/* ---------- Лента рейсов (посадочные талоны) ---------- */
.rail-wrap { background: var(--paper); padding: 6px 0 30px; }
.rail-head { display: flex; align-items: baseline; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.rail-head h2 { font-size: 18px; }
.rail-head span { color: var(--muted); font-size: 15px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(238px, 1fr); gap: 14px; overflow-x: auto; padding-bottom: 6px; }

/* Карточка-талон */
.pass {
    position: relative; background: #fff; border: 1px solid var(--line);
    border-radius: 14px; box-shadow: var(--shadow-s); overflow: hidden;
    display: flex; flex-direction: column; transition: .18s; color: var(--text);
}
.pass:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-2); color: var(--text); }
.pass__top { padding: 15px 17px 13px; }
.pass__air { display: flex; align-items: center; justify-content: space-between; font: 600 12px/1 var(--font-b); letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.pass__air b { color: var(--gold); font-weight: 700; }
.pass__iata { display: flex; align-items: center; gap: 10px; }
.pass__iata .code { font: 700 25px/1 var(--font-h); font-stretch: 125%; color: var(--ink); letter-spacing: .4px; }
.pass__iata .path { flex: 1; position: relative; height: 14px; min-width: 26px; }
.pass__iata .path::before { content: ''; position: absolute; left: 0; right: 0; top: 7px; border-top: 1.5px dotted var(--line-2); }
.pass__iata .path svg { position: absolute; left: 50%; top: 0; width: 14px; height: 14px; transform: translateX(-50%) rotate(90deg); fill: var(--red); background: #fff; padding: 0 1px; }
.pass__city { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; color: var(--muted); margin-top: 6px; }
/* перфорация */
.pass__perf { position: relative; height: 14px; }
.pass__perf::before { content: ''; position: absolute; left: 12px; right: 12px; top: 50%; border-top: 1.5px dashed var(--line-2); }
.pass__perf::after {
    content: ''; position: absolute; left: -8px; right: -8px; top: 50%; height: 16px; transform: translateY(-50%);
    background:
        radial-gradient(circle 8px at 0 50%, var(--paper) 98%, transparent 100%),
        radial-gradient(circle 8px at 100% 50%, var(--paper) 98%, transparent 100%);
    background-repeat: no-repeat; background-size: 16px 16px, 16px 16px; background-position: left center, right center;
}
.section--mica .pass__perf::after {
    background:
        radial-gradient(circle 8px at 0 50%, var(--mica) 98%, transparent 100%),
        radial-gradient(circle 8px at 100% 50%, var(--mica) 98%, transparent 100%);
    background-repeat: no-repeat; background-size: 16px 16px, 16px 16px; background-position: left center, right center;
}
.pass__bot { padding: 11px 17px 15px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.pass__price small { display: block; font: 500 11.5px/1 var(--font-b); color: var(--muted); text-transform: uppercase; letter-spacing: .8px; }
.pass__price b { font: 700 16px/1.3 var(--font-h); color: var(--red); white-space: nowrap; }
.pass__freq { font-size: 13.5px; color: var(--muted); text-align: right; line-height: 1.35; }

/* ---------- Карточки-цифры ---------- */
.stat {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px 18px 16px; text-align: center; box-shadow: var(--shadow-s);
}
.stat b { display: block; font: 700 30px/1.05 var(--font-h); color: var(--navy); }
.stat p { color: var(--muted); font-size: 14.5px; margin-top: 7px; }

/* ---------- О компании: фото борта ---------- */
.about { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.photo {
    background: linear-gradient(180deg, #CFE0FA 0%, #EAF1FD 100%);
    border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow);
}
.photo img { display: block; width: 100%; height: auto; }
.photo figcaption { padding: 10px 16px 13px; font-size: 14px; color: var(--muted); background: #fff; border-top: 1px solid var(--line); }

/* ---------- Карточка пути из Казахстана ---------- */
.hub {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 18px; box-shadow: var(--shadow-s); display: flex; flex-direction: column; gap: 12px;
}
.hub--own { border-top: 3px solid var(--gold); }
.hub--lake { border-top: 3px solid var(--lake); }
.hub__h { display: flex; align-items: center; gap: 10px; }
.hub__h .n { width: 30px; height: 30px; border-radius: 9px; background: var(--sky); color: var(--red-d); font: 700 14px/30px var(--font-h); text-align: center; flex: none; }
.hub--own .hub__h .n { background: #FBE5E8; color: #9E0C24; }
.hub--lake .hub__h .n { background: #DCF2F7; color: #0D6A80; }
.hub p { color: var(--muted); font-size: 15px; }
.leg { display: grid; grid-template-columns: 78px minmax(0,1fr) auto; gap: 10px; align-items: center; font-size: 15px; }
.leg > * { min-width: 0; }
.leg + .leg { border-top: 1px dashed var(--line-2); padding-top: 9px; margin-top: 9px; }
.leg .lc { font: 700 13px/1.2 var(--font-h); color: var(--ink); letter-spacing: .3px; }
.leg .ld { color: var(--muted); font-size: 14px; }
.leg .lt { font: 600 14px/1.2 var(--font-b); color: var(--red); white-space: nowrap; }

/* ---------- Цепочка (город → город → город) ---------- */
.chain { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); }
.chain__st { padding: 18px 20px; position: relative; min-width: 0; }
.chain__st + .chain__st { border-left: 1px dashed var(--line-2); }
.chain__st small { display: block; font: 600 12px/1.3 var(--font-b); letter-spacing: 1.1px; text-transform: uppercase; color: var(--muted); }
.chain__st b { display: block; font: 700 22px/1.15 var(--font-h); color: var(--ink); margin: 6px 0 4px; }
.chain__st span { color: var(--text); font-size: 15px; }
.chain__st em { font-style: normal; color: var(--gold); font-weight: 600; }

/* ---------- Карта сети ---------- */
.netmap { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px; box-shadow: var(--shadow-s); max-width: 1180px; }
.nw { white-space: nowrap; }
.netmap svg { display: block; width: 100%; height: auto; }
.netmap__scroll { overflow-x: auto; }
@media (max-width: 720px) { .netmap__scroll svg { min-width: 760px; } }
.netmap figcaption { color: var(--muted); font-size: 14px; margin-top: 8px; line-height: 1.5; }
.netmap__lg { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 2px 0 8px; font-size: 14.5px; }
.netmap__lg span { display: inline-flex; align-items: center; gap: 7px; color: var(--text); }
.netmap__lg i { display: inline-block; width: 24px; border-top: 2.5px solid; }

/* ---------- Карточки ---------- */
.card {
    background: #fff; border: 1px solid var(--line); border-radius: 14px;
    padding: 20px; box-shadow: var(--shadow-s); height: 100%;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15.5px; }
.card ul { list-style: none; margin-top: 11px; }
.card ul li { position: relative; padding-left: 20px; font-size: 15px; color: var(--text); margin-bottom: 6px; }
.card ul li::before {
    content: ''; position: absolute; left: 2px; top: 8px; width: 7px; height: 7px;
    border: 2px solid var(--blue); border-radius: 50%;
}
.card--accent { border-top: 3px solid var(--red); }
.card__price { font: 700 20px/1.2 var(--font-h); color: var(--navy); margin: 4px 0 10px; }

/* Шаги регистрации */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px; counter-reset: st; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px 18px 16px; box-shadow: var(--shadow-s); counter-increment: st; }
.step__n { display: block; font: 700 13px/1 var(--font-h); color: var(--gold); letter-spacing: 1px; margin-bottom: 9px; }
.step__n::before { content: counter(st, decimal-leading-zero) ' · '; }
.step p { color: var(--muted); font-size: 15px; margin-top: 6px; }

/* ---------- Таблицы ---------- */
table { width: 100%; border-collapse: collapse; background: #fff; min-width: 560px; }
table th, table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 15.5px; vertical-align: top; }
table th { background: var(--ink-3); color: #fff; font: 700 14px/1.4 var(--font-b); letter-spacing: .3px; }
table tr:last-child td { border-bottom: 0; }
table tbody tr:nth-child(even) td { background: #F4F7FD; }
.tbl { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-s); max-width: 1180px; }
.tbl.table-scroll { overflow-x: auto; overflow-y: hidden; }

/* ---------- Флот ---------- */
.plane-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; box-shadow: var(--shadow-s); }
.plane-card .pl { background: var(--mica); border-radius: 10px; padding: 12px; margin: 12px 0; }
.plane-card .pl--top svg { display: block; margin: 0 auto; max-height: 210px; width: auto; }
.plane-card .pl--photo { padding: 0; overflow: hidden; }
.plane-card__photo { display: block; width: 100%; height: 170px; object-fit: cover; border-radius: 10px; }
.section--mica .plane-card .pl { background: var(--paper); }
.specs { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; color: var(--muted); margin: 15px 0 13px; }
.specs b { color: var(--ink); font: 700 15px/1.3 var(--font-h); display: block; }
.plane-card .specs { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 14px; color: var(--muted); }
.plane-card .specs b { color: var(--ink); font: 700 14px/1.1 var(--font-h); display: block; }
.cabin { display: flex; height: 9px; border-radius: 5px; overflow: hidden; margin-top: 12px; }
.cabin i { display: block; height: 100%; }
.cabin-l { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; font-size: 13px; color: var(--muted); }
.cabin-l span { display: inline-flex; align-items: center; gap: 6px; }
.cabin-l b { width: 9px; height: 9px; border-radius: 3px; display: inline-block; }

.fleet-row {
    display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; align-items: start;
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 22px; box-shadow: var(--shadow-s); margin-bottom: 20px;
}
.fleet-row__pic { overflow: hidden; border-radius: 12px; max-width: 900px; width: 100%; margin: 0 auto; }
.fleet-row__pic img { display: block; width: 100%; height: auto; border-radius: 12px; }
.fleet-row__txt h2 { margin: 4px 0 10px; }
.fleet-row__txt p { color: #222D4A; margin-bottom: 14px; }

/* Фотография на маршрутной странице */
.routepic {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px; box-shadow: var(--shadow-s); margin: 0 0 26px; max-width: 940px;
}
.routepic img { display: block; width: 100%; max-width: 900px; height: auto; margin: 0 auto; border-radius: 10px; }
.routepic figcaption { color: var(--muted); font-size: 14.5px; margin-top: 10px; text-align: center; }

/* Схема салона */
.seatmap {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 16px; box-shadow: var(--shadow-s); margin: 4px 0 26px; max-width: 940px;
    overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.seatmap svg { display: block; width: 100%; min-width: 620px; height: auto; }
.seatmap figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); line-height: 1.5; }

/* ---------- Тёмные карточки ---------- */
.tier {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: 14px; padding: 18px;
}
.tier h3 { font-size: 16.5px; }
.tier p { color: rgba(255,255,255,.76); font-size: 15px; margin-top: 8px; }
.tier b { color: var(--gold-l); }

/* ---------- FAQ ---------- */
.faq { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: #fff; box-shadow: var(--shadow-s); max-width: 1180px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
    list-style: none; cursor: pointer; padding: 16px 46px 16px 18px; position: relative;
    font: 700 15.5px/1.45 var(--font-h); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
    content: ''; position: absolute; right: 18px; top: 22px; width: 9px; height: 9px;
    border-right: 2px solid var(--red); border-bottom: 2px solid var(--red);
    transform: rotate(45deg); transition: .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq .faq__a { padding: 0 18px 17px; color: var(--text); font-size: 16px; max-width: 900px; }
.faq .faq__a p + p { margin-top: 10px; }

/* ---------- Подвал: вечернее небо, тундук в углу ---------- */
.site-footer {
    position: relative; overflow: hidden;
    background: var(--ink-2); color: rgba(255,255,255,.64); padding: 50px 0 26px; font-size: 15px;
}
.site-footer::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 16px; background: var(--navy) var(--orn-gold) repeat-x center / 32px 16px; }
.site-footer h4 { color: #fff; font-size: 14.5px; margin-bottom: 12px; letter-spacing: .2px; }
.site-footer a { color: rgba(255,255,255,.76); }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr)); gap: 28px; }
.footer-grid ul { list-style: none; }
.footer-grid ul li { margin-bottom: 8px; }
.footer-bot { margin-top: 34px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); font-size: 13.5px; color: rgba(255,255,255,.46); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.footer-fin { position: absolute; inset: 0; pointer-events: none; }
.footer-fin .bl { position: absolute; width: 340px; height: 340px; right: -90px; top: -80px; color: #fff; opacity: .06; }
.site-footer .container { position: relative; z-index: 2; }
.logo--foot img { display: block; height: 28px; width: auto; }
.footer-about { margin-top: 14px; max-width: 380px; }
.footer-addr { margin-top: 12px; font-style: normal; font-size: 14.5px; color: rgba(255,255,255,.56); }
.footer-addr a { color: rgba(255,255,255,.76); }

/* ---------- Липкая мобильная панель CTA ---------- */
.mobile-cta {
    display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70;
    background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 22px rgba(11,27,69,.12);
    align-items: center; gap: 12px;
}
.mobile-cta .mc-t { min-width: 0; }
.mobile-cta .mc-t b { display: block; font: 700 13.5px/1.2 var(--font-h); color: var(--ink); }
.mobile-cta .mc-t small { color: var(--muted); font-size: 12.5px; }
.mobile-cta .btn { margin-left: auto; }

/* ---------- Шапка внутренней страницы: светлое небо и гребни ---------- */
.page-hero {
    position: relative; overflow: hidden; color: var(--text);
    background:
        radial-gradient(720px 360px at 94% -10%, rgba(100,149,236,.30) 0%, transparent 64%),
        linear-gradient(180deg, #E4EEFD 0%, #F4F8FE 100%);
    padding: 34px 0 62px;
}
.page-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 46px; pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 46' preserveAspectRatio='none'%3E%3Cpath d='M0 34 70 20 130 28 210 6 280 24 350 14 430 30 520 10 600 26 690 16 760 32 850 8 930 26 1010 18 1090 30 1180 12 1260 26 1340 16 1440 28V46H0z' fill='%23CEDCF7' fill-opacity='.7'/%3E%3Cpath d='M0 40 90 30 170 38 260 26 350 38 440 30 540 40 630 28 720 38 820 30 910 40 1000 32 1100 40 1190 30 1290 38 1380 32 1440 36V46H0z' fill='%23F7F9FE'/%3E%3C/svg%3E") no-repeat bottom / 100% 100%;
}
.page-hero h1 { color: var(--ink); font-size: clamp(25px, 3.3vw, 38px); max-width: 1100px; }
.page-hero__lead { color: #33405E; margin-top: 14px; max-width: 800px; font-size: 18px; }
.page-hero__fin { position: absolute; inset: 0; pointer-events: none; }
.page-hero__fin .bl { position: absolute; }
.page-hero__fin .b1 { width: 300px; height: 300px; top: -90px; right: -60px; color: var(--navy); opacity: .08; }
.page-hero__fin .b2 { width: 70px; height: 39px; top: 22%; right: 26%; fill: var(--red); opacity: .12; }
.page-hero__fin .b3 { width: 34px; height: 19px; bottom: 34%; right: 38%; fill: var(--gold); opacity: .18; }
.page-hero .container { position: relative; z-index: 2; }

.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; margin-bottom: 14px; color: var(--muted); }
.crumbs a { color: var(--red); }
.crumbs a:hover { color: var(--red-d); }
.crumbs__here { color: var(--muted); }

/* ---------- Верхняя полоса с формой поиска (выше h1) ---------- */
.section--top { padding: 24px 0 30px; background: #fff; border-bottom: 1px solid var(--line); }
.crumbs--light { color: var(--muted); }

/* ---------- Мобильное меню ---------- */
.nav.open {
    display: flex; flex-direction: column; gap: 2px;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 14px 30px rgba(11,27,69,.14);
    padding: 10px 20px 16px; margin: 0; z-index: 61;
}
.nav.open a { padding: 11px 8px; border-radius: 8px; font-size: 16px; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Кнопка «наверх» ---------- */
.to-top {
    position: fixed; right: 18px; bottom: 18px; z-index: 65;
    width: 42px; height: 42px; border-radius: 50%; border: 0; cursor: pointer;
    background: var(--navy); color: #fff; font-size: 19px; line-height: 1;
    box-shadow: 0 8px 20px rgba(11,27,69,.28);
    opacity: 0; visibility: hidden; transition: .2s;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--red); }

/* ---------- Варианты карточки поиска ---------- */
.searchcard--block { max-width: none; }
.searchcard--block .searchcard__top h2 { font-size: 21px; }
.searchcard__form { min-height: 96px; }
.searchcard__form iframe { max-width: 100% !important; }

/* Таблица дешёвых билетов ТП */
.pricetable {
    background: #fff; border: 1px solid var(--line); border-radius: 16px;
    padding: 20px; box-shadow: var(--shadow-s); margin-top: 26px;
}
.pricetable h2 { font-size: 20px; margin-bottom: 14px; }
.pricetable iframe, .pricetable table { max-width: 100% !important; }

/* ---------- Маршрутная страница ---------- */
.route-top { display: grid; grid-template-columns: minmax(0, 330px) minmax(0, 1fr); gap: 36px; align-items: start; }
.pass--big { position: sticky; top: 92px; }
.pass--big .pass__iata .code { font-size: 29px; }
.pass__bot--stats { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
.pass__stat b { display: block; font: 700 15px/1.25 var(--font-h); color: var(--ink); }
.pass__stat small { color: var(--muted); font-size: 13px; }
.pass__nos { padding: 0 17px 15px; display: flex; flex-wrap: wrap; gap: 6px; }

.card--link { display: block; position: relative; transition: .18s; }
.card--link:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: var(--sky-2); }
.card--link h3 { color: var(--ink); padding-right: 18px; }
.card--link .card__go { position: absolute; right: 18px; bottom: 14px; color: var(--red); font-size: 18px; }

/* ---------- Карта представительства ---------- */
.ymap {
    position: relative; margin: 16px 0 24px;
    border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
    box-shadow: var(--shadow-s); background: var(--mica);
    width: 100%; aspect-ratio: 16 / 9; min-height: 240px; max-width: 1180px;
}
.ymap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Проза внутренних страниц ---------- */
.article { max-width: 880px; }
.article h2 { margin: 32px 0 12px; }
.article h2:first-child { margin-top: 0; }
.article h3 { margin: 22px 0 8px; }
.article p { margin-bottom: 13px; color: #222D4A; }
.article ul, .article ol { margin: 0 0 15px 0; padding-left: 0; list-style: none; }
.article li { position: relative; padding-left: 22px; margin-bottom: 7px; color: #222D4A; }
.article ul li::before { content: ''; position: absolute; left: 2px; top: 9px; width: 7px; height: 7px; border: 2px solid var(--blue); border-radius: 50%; }
.article ol { counter-reset: n; }
.article ol li { counter-increment: n; }
.article ol li::before { content: counter(n); position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--sky-2); color: var(--navy); font: 700 11px/18px var(--font-h); text-align: center; }
.article .tbl { margin: 18px 0 22px; }
.wide { max-width: 1180px; }
.note {
    background: var(--sky); border-radius: 10px; border: 1px solid var(--sky-2);
    padding: 14px 16px; margin: 18px 0; font-size: 16px; color: var(--text); max-width: 880px;
}
.note b { color: var(--navy); }
.note--warn { background: #FDF0F2; border-color: #F4C9D0; }
.note--warn b { color: #9E0C24; }

/* ---------- Адаптив ---------- */
.cta-short { display: none; }
@media (max-width: 1240px) {
    .hero__in { gap: 30px; }
    .nav a { padding: 9px 8px; font-size: 14.5px; }
    .header-in { gap: 12px; }
    .cta-long { display: none; }
    .cta-short { display: inline; }
}
@media (max-width: 1140px) {
    .nav { display: none; }
    .burger { display: block; margin-left: auto; }
}
@media (max-width: 1020px) {
    .hero__in { grid-template-columns: minmax(0,1fr); padding-bottom: 120px; }
    .about { grid-template-columns: minmax(0,1fr); gap: 26px; }
    .route-top { grid-template-columns: minmax(0,1fr); gap: 24px; }
    .pass--big { position: static; max-width: 440px; }
    .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .steps { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 900px) {
    .header-in > .btn { display: none; }
    .logo__img { height: 26px; }
}
@media (max-width: 980px) {
    .topbar__i--hide-m { display: none; }
}
@media (max-width: 760px) {
    .section { padding: 44px 0; }
    .btn { white-space: normal; text-align: center; max-width: 100%; }
    .topbar__i--hide-s { display: none; }
    .page-hero { padding: 24px 0 52px; }
    .to-top { bottom: 76px; right: 12px; }
    .grid-2, .grid-3 { grid-template-columns: minmax(0,1fr); }
    .topbar__in { height: auto; padding: 8px 0; flex-wrap: wrap; gap: 10px 18px; }
    .mobile-cta { display: flex; }
    body { padding-bottom: 68px; }
    .chain { grid-template-columns: minmax(0,1fr); }
    .chain__st + .chain__st { border-left: 0; border-top: 1px dashed var(--line-2); }
    .hero__fin .b1 { width: 300px; height: 300px; }
    .hero__mnt { height: 90px; }
    .hero__in { padding-bottom: 90px; }
    .hero__lead { font-size: 17.5px; }
}
@media (max-width: 560px) {
    .leg { grid-template-columns: 70px minmax(0,1fr); row-gap: 4px; }
    .leg .lt { grid-column: 2; white-space: normal; line-height: 1.35; }
}
@media (max-width: 520px) {
    .grid-4 { grid-template-columns: minmax(0,1fr); }
    .footer-grid { grid-template-columns: minmax(0,1fr); }
    .hero__in { padding: 30px 18px 80px; }
    .searchcard { padding: 16px 14px 14px; }
}
