/* Uzairways.su — дизайн 2026 (по макету «Uzairways.su — новый дизайн главной»).
   Все классы с префиксом ua-, чтобы не пересекаться с Bootstrap. */

:root {
    --ua-navy: #0B1F42;
    --ua-blue: #0B5CD6;
    --ua-blue-dark: #083F94;
    --ua-accent: #F5B026;
    --ua-bg: #F4F6FA;
    --ua-muted: #5A6478;
    --ua-border: #D5DCE8;
    --ua-chip: #EEF3FB;
    --ua-chip-text: #0B3A82;
    --ua-soft-blue: #E6EEFB;
    --ua-eyebrow: #B26B00;
    --ua-beige: #FFF4DC;
    --ua-beige-text: #4A4030;
    --ua-nav-link: #D6E0F2;
    --ua-lead: #B9C6DE;
    --ua-prose: #25324D;
    --ua-shadow: 0 2px 6px rgba(11, 31, 66, .06);
    --ua-head: Manrope, Inter, system-ui, sans-serif;
}

body.ua-body {
    margin: 0;
    background: var(--ua-bg);
    font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ua-navy);
    -webkit-font-smoothing: antialiased;
}
.ua-body a { color: var(--ua-blue); text-decoration: none; }
.ua-body a:hover { color: var(--ua-blue-dark); text-decoration: none; }
.ua-body h1, .ua-body h2, .ua-body h3 { color: inherit; }
/* старая тема Bootstrap ставит абзацам Georgia — в новом дизайне везде Inter */
.ua-body p, .ua-body li, .ua-body blockquote, .ua-body td, .ua-body th { font-family: inherit; }
.ua-body *:focus-visible { outline: 3px solid rgba(11, 92, 214, .45); outline-offset: 2px; }
.ua-sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.ua-wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; box-sizing: border-box; }
.ua-main { flex: 1 0 auto; }

/* ---------- Header ---------- */
.ua-header { background: var(--ua-navy); color: #fff; position: relative; z-index: 20; }
.ua-hdr { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 16px; padding-bottom: 16px; }
.ua-logo { display: flex; align-items: center; gap: 10px; color: #fff !important; font: 800 22px var(--ua-head); letter-spacing: -.3px; }
.ua-logo-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--ua-accent); display: flex; align-items: center; justify-content: center; flex: none; }
.ua-logo-tld, .ua-tld { color: var(--ua-accent); }
.ua-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; flex: 1 1 auto; font-size: 15px; font-weight: 500; }
.ua-nav a { color: var(--ua-nav-link) !important; }
.ua-nav a:hover, .ua-nav a[aria-current="page"] { color: #fff !important; }
.ua-nav a[aria-current="page"] { font-weight: 600; }
.ua-langs { display: flex; background: rgba(255, 255, 255, .08); border-radius: 10px; padding: 4px; gap: 2px; }
.ua-langs a { min-width: 44px; min-height: 36px; border-radius: 8px; font: 700 13px Inter, sans-serif; display: flex; align-items: center; justify-content: center; color: var(--ua-nav-link) !important; box-sizing: border-box; padding: 0 6px; }
.ua-langs a:hover { background: rgba(255, 255, 255, .1); color: #fff !important; }
.ua-langs a[aria-current="true"] { background: var(--ua-accent); color: var(--ua-navy) !important; }
.ua-burger { display: none; width: 44px; height: 44px; border: 0; border-radius: 10px; background: rgba(255, 255, 255, .08); align-items: center; justify-content: center; cursor: pointer; }
.ua-mnav { display: none; border-top: 1px solid rgba(255, 255, 255, .1); padding: 8px 16px 16px; }
.ua-mnav a { display: flex; align-items: center; min-height: 44px; color: var(--ua-nav-link) !important; font-size: 16px; font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.ua-header.is-open .ua-mnav { display: block; }

/* ---------- Common blocks ---------- */
.ua-eyebrow { margin: 0 0 8px; font-size: 14px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; }
.ua-h2 { margin: 0; font: 800 clamp(28px, 3vw, 40px)/1.15 var(--ua-head); letter-spacing: -.6px; }
.ua-sec { padding-top: 72px; padding-bottom: 24px; }
.ua-card-shadow { background: #fff; box-shadow: var(--ua-shadow); }
.ua-lift { transition: transform .2s, box-shadow .2s; }
.ua-lift:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(11, 31, 66, .12) !important; }
.ua-pill { min-height: 40px; padding: 8px 16px; border-radius: 999px; font: 600 14px Inter, sans-serif; cursor: pointer; border: 1.5px solid var(--ua-border); background: #fff; color: var(--ua-navy); }
.ua-pill[aria-selected="true"] { border-color: var(--ua-blue); background: var(--ua-blue); color: #fff; }
.ua-btn-accent { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 14px 22px; border-radius: 12px; background: var(--ua-accent); color: var(--ua-navy) !important; font-weight: 700; box-sizing: border-box; border: 0; cursor: pointer; }
.ua-btn-accent:hover { filter: brightness(.96); }
.ua-btn-dark { display: inline-flex; align-items: center; min-height: 44px; padding: 14px 22px; border-radius: 12px; background: var(--ua-navy); color: #fff !important; font-weight: 600; font-size: 15px; box-sizing: border-box; }
.ua-btn-dark:hover { background: #142c57; }
.ua-btn-white { display: inline-flex; align-items: center; min-height: 44px; padding: 14px 20px; border-radius: 12px; background: #fff; color: var(--ua-navy) !important; font-weight: 600; box-sizing: border-box; }
.ua-scroll { display: flex; flex-wrap: wrap; gap: 8px; }

/* ---------- Hero / search band ---------- */
.ua-hero {
    color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(90deg, rgba(11,31,66,.9) 0%, rgba(11,31,66,.55) 45%, rgba(11,31,66,.1) 75%), url(../image/home/hero.jpg) center right / cover no-repeat, var(--ua-navy);
}
.ua-hero-in { padding-top: 88px; padding-bottom: 72px; }
.ua-hero h1 { margin: 0 0 12px; font: 800 clamp(32px, 4.4vw, 54px)/1.08 var(--ua-head); letter-spacing: -1px; max-width: 780px; color: #fff; }
.ua-lead { margin: 0 0 32px; font-size: 18px; line-height: 1.5; color: var(--ua-lead); max-width: 640px; }
.ua-band {
    color: #fff;
    background: linear-gradient(90deg, rgba(11,31,66,.94) 0%, rgba(11,31,66,.8) 60%, rgba(11,31,66,.55) 100%), url(../image/home/hero.jpg) center right / cover no-repeat, var(--ua-navy);
}
.ua-band-in { padding-top: 28px; padding-bottom: 32px; }

/* ---------- Search form ---------- */
.ua-form { background: #fff; color: var(--ua-navy); border-radius: 20px; padding: 20px; box-shadow: 0 24px 60px rgba(0, 0, 0, .35); position: relative; }
.ua-trips { margin-bottom: 16px; }
.ua-trip { min-height: 40px; padding: 8px 16px; border-radius: 10px; font: 600 15px Inter, sans-serif; cursor: pointer; border: 1.5px solid var(--ua-border); background: #fff; color: var(--ua-navy); }
.ua-trip[aria-selected="true"] { border-color: var(--ua-navy); background: var(--ua-navy); color: #fff; }
.ua-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: stretch; }
.ua-route { display: flex; flex: 2 1 400px; position: relative; min-width: 0; }
.ua-dates { display: flex; flex: 1.4 1 280px; min-width: 0; }
.ua-field { flex: 1 1 0; min-width: 0; border: 1.5px solid var(--ua-border); border-radius: 14px; padding: 10px 16px; display: flex; flex-direction: column; gap: 2px; cursor: text; background: #fff; position: relative; margin: 0; box-sizing: border-box; }
.ua-field:focus-within { border-color: var(--ua-blue); box-shadow: 0 0 0 3px rgba(11, 92, 214, .15); z-index: 2; }
.ua-field.is-error { border-color: #C62828; box-shadow: 0 0 0 3px rgba(198, 40, 40, .12); z-index: 2; }
.ua-label { font-size: 12px; font-weight: 600; color: var(--ua-muted); line-height: 1.3; }
.ua-input { border: 0; outline: 0; font: 600 17px Inter, sans-serif; color: var(--ua-navy); width: 100%; min-width: 0; padding: 0; background: transparent; line-height: 1.4; }
.ua-input::placeholder { color: #6B7488; font-weight: 500; }
.ua-input[type="date"] { min-height: 24px; }
.ua-input[type="date"]::-webkit-calendar-picker-indicator { opacity: .55; cursor: pointer; }
.ua-code { font-size: 13px; color: var(--ua-muted); font-weight: 600; flex: none; }
.ua-inline { display: flex; align-items: baseline; gap: 8px; }
.ua-f1 { border-radius: 14px 0 0 14px; }
.ua-f2 { border-left: 0; border-radius: 0 14px 14px 0; padding-left: 28px; }
.ua-d1 { border-radius: 14px 0 0 14px; }
.ua-d2 { border-left: 0; border-radius: 0 14px 14px 0; }
.ua-form.is-oneway .ua-d2 { display: none; }
.ua-form.is-oneway .ua-d1 { border-radius: 14px; }
.ua-swap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--ua-border); background: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; padding: 0; }
.ua-swap:hover { border-color: var(--ua-blue); }
.ua-pax { flex: 1 1 180px; min-width: 0; position: relative; display: flex; }
.ua-pax-btn { width: 100%; text-align: left; cursor: pointer; font: inherit; }
.ua-pax-val { font: 600 17px Inter, sans-serif; display: flex; justify-content: space-between; align-items: center; gap: 8px; color: var(--ua-navy); }
.ua-pax-panel { position: absolute; top: calc(100% + 8px); right: 0; width: 300px; max-width: calc(100vw - 32px); background: #fff; border-radius: 16px; box-shadow: 0 18px 44px rgba(11, 31, 66, .22); padding: 16px; z-index: 30; box-sizing: border-box; }
.ua-pax-panel[hidden] { display: none; }
.ua-pax-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.ua-pax-row + .ua-pax-row { border-top: 1px solid #EEF1F6; }
.ua-pax-name { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; }
.ua-pax-name small { font-size: 12px; color: var(--ua-muted); font-weight: 500; }
.ua-step { display: flex; align-items: center; gap: 10px; }
.ua-step button { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--ua-border); background: #fff; color: var(--ua-navy); font: 700 18px Inter, sans-serif; cursor: pointer; line-height: 1; padding: 0; }
.ua-step button:disabled { opacity: .35; cursor: default; }
.ua-step output { min-width: 20px; text-align: center; font-weight: 700; }
.ua-class { display: flex; gap: 8px; margin-top: 10px; }
.ua-class label { flex: 1; margin: 0; }
.ua-class input { position: absolute; opacity: 0; }
.ua-class span { display: flex; align-items: center; justify-content: center; min-height: 40px; border-radius: 10px; border: 1.5px solid var(--ua-border); font-weight: 600; font-size: 14px; cursor: pointer; }
.ua-class input:checked + span { border-color: var(--ua-navy); background: var(--ua-navy); color: #fff; }
.ua-class input:focus-visible + span { outline: 3px solid rgba(11, 92, 214, .45); }
.ua-pax-done { margin-top: 12px; width: 100%; }
.ua-submit { flex: 1 1 200px; min-height: 64px; border: 0; border-radius: 14px; background: var(--ua-accent); color: var(--ua-navy); font: 800 18px var(--ua-head); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; }
.ua-submit:hover { filter: brightness(.96); }
.ua-often { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 16px; font-size: 14px; }
.ua-often-label { color: var(--ua-muted); font-weight: 500; margin-right: 4px; }
.ua-chip { padding: 6px 12px; border-radius: 999px; background: var(--ua-chip); color: var(--ua-chip-text); font: 500 14px Inter, sans-serif; border: 0; cursor: pointer; min-height: 32px; }
.ua-chip:hover { background: #DCE7F8; }
.ua-error { color: #C62828; font-size: 14px; font-weight: 600; margin: 10px 0 0; }
.ua-error[hidden] { display: none; }

/* compact (inner pages) */
.ua-form.is-compact { border-radius: 18px; padding: 16px; box-shadow: 0 18px 44px rgba(0, 0, 0, .3); }
.ua-form.is-compact .ua-trips { margin-bottom: 12px; }
.ua-form.is-compact .ua-trip { min-height: 36px; padding: 6px 14px; font-size: 14px; }
.ua-form.is-compact .ua-field { padding-top: 8px; padding-bottom: 8px; }
.ua-form.is-compact .ua-input, .ua-form.is-compact .ua-pax-val { font-size: 16px; }
.ua-form.is-compact .ua-submit { min-height: 58px; font-size: 17px; flex-basis: 180px; }
.ua-form.is-compact .ua-swap { width: 38px; height: 38px; }
.ua-form.is-compact .ua-route { flex-basis: 380px; }
.ua-form.is-compact .ua-dates { flex: 1.3 1 270px; }
.ua-form.is-compact .ua-pax { flex-basis: 170px; }

/* autocomplete */
.ua-ac { position: absolute; left: -1.5px; right: -1.5px; top: calc(100% + 6px); background: #fff; border-radius: 14px; box-shadow: 0 18px 44px rgba(11, 31, 66, .22); margin: 0; padding: 6px; list-style: none; z-index: 40; max-height: 320px; overflow-y: auto; min-width: 260px; }
.ua-ac[hidden] { display: none; }
.ua-ac li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 10px; cursor: pointer; min-height: 44px; box-sizing: border-box; }
.ua-ac li[aria-selected="true"], .ua-ac li:hover { background: var(--ua-chip); }
.ua-ac-name { display: flex; flex-direction: column; font-weight: 600; font-size: 15px; color: var(--ua-navy); }
.ua-ac-name small { font-weight: 500; font-size: 13px; color: var(--ua-muted); }
.ua-ac-code { font-weight: 700; font-size: 13px; color: var(--ua-muted); }
.ua-ac-empty { color: var(--ua-muted); font-size: 14px; cursor: default !important; background: none !important; }

/* ---------- Home: offers ---------- */
.ua-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.ua-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.ua-offer { display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; color: var(--ua-navy) !important; box-shadow: var(--ua-shadow); }
.ua-offer[hidden] { display: none; }
.ua-tile { position: relative; aspect-ratio: 16/9; overflow: hidden; display: flex; align-items: flex-end; justify-content: flex-end; padding: 14px 16px; box-sizing: border-box; color: #fff; }
.ua-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ua-tile-code { position: relative; padding: 4px 10px; border-radius: 8px; background: rgba(11, 31, 66, .85); color: #fff; font: 800 14px var(--ua-head); letter-spacing: 1px; }
.ua-tag { position: absolute; top: 14px; left: 14px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--ua-navy); font-size: 12px; font-weight: 600; }
.ua-offer-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.ua-offer-route { font-size: 13px; color: var(--ua-muted); font-weight: 500; }
.ua-offer-city { font: 700 22px var(--ua-head); }
.ua-offer-go { margin-top: auto; padding-top: 12px; font-size: 14px; font-weight: 600; color: var(--ua-blue); display: flex; align-items: center; gap: 4px; }
.ua-banner { margin-top: 36px; background: var(--ua-beige); border-radius: 20px; padding: 28px 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; }
.ua-banner img { width: 260px; max-width: 100%; height: auto !important; border-radius: 14px; flex: none; mix-blend-mode: multiply; }
.ua-banner-text { flex: 1 1 420px; }
.ua-banner h3 { margin: 0 0 6px; font: 800 22px var(--ua-head); }
.ua-banner p { margin: 0; font-size: 16px; line-height: 1.5; color: var(--ua-beige-text); }

/* ---------- Home: help ---------- */
.ua-help { display: flex; flex-wrap: wrap; gap: 20px; }
.ua-steps { flex: 999 1 560px; min-width: 0; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.ua-steps li { background: #fff; border-radius: 18px; padding: 22px; display: flex; gap: 16px; align-items: flex-start; box-shadow: var(--ua-shadow); }
.ua-step-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--ua-soft-blue); color: var(--ua-blue); font: 800 18px var(--ua-head); display: flex; align-items: center; justify-content: center; }
.ua-step-t { display: flex; flex-direction: column; gap: 4px; }
.ua-step-t b { font-weight: 600; font-size: 17px; }
.ua-step-t span { font-size: 14px; line-height: 1.5; color: var(--ua-muted); }
.ua-support { flex: 1 1 320px; background: var(--ua-navy); color: #fff; border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 14px; overflow: hidden; box-sizing: border-box; }
.ua-support > img { margin: -28px -28px 6px; width: calc(100% + 56px); height: 200px; object-fit: cover; object-position: 70% 30%; }
.ua-support h3 { margin: 0; font: 800 24px var(--ua-head); }
.ua-support p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ua-lead); }
.ua-contact { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 12px; font-weight: 700; min-height: 44px; box-sizing: border-box; word-break: break-all; }
.ua-contact-main { background: var(--ua-accent); color: var(--ua-navy) !important; }
.ua-contact-alt { background: rgba(255, 255, 255, .1); color: #fff !important; font-weight: 600; }
.ua-hours { font-size: 13px; color: #8FA2C4; }

/* tips */
.ua-tips-head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.ua-tips-head h3 { margin: 0; font: 800 26px var(--ua-head); }
.ua-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; }
.ua-tip { background: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; color: var(--ua-navy) !important; box-shadow: var(--ua-shadow); overflow: hidden; }
.ua-tip img { margin: -20px -20px 4px; width: calc(100% + 40px); height: auto; aspect-ratio: 3/2; object-fit: cover; display: block; max-width: none; }
.ua-tip-tag { font-size: 12px; font-weight: 600; color: var(--ua-eyebrow); text-transform: uppercase; letter-spacing: 1px; }
.ua-tip-title { font: 700 18px/1.3 var(--ua-head); }
.ua-tip-text { font-size: 14px; line-height: 1.5; color: var(--ua-muted); }
.ua-read { margin-top: auto; font-size: 14px; font-weight: 600; color: var(--ua-blue); }

/* ---------- Article ---------- */
.ua-crumbs { font-size: 14px; color: var(--ua-muted); display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; padding: 20px 0 0; list-style: none; }
.ua-crumbs li + li::before { content: "›"; margin-right: 6px; color: var(--ua-muted); }
.ua-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.ua-art { flex: 999 1 560px; min-width: 0; background: #fff; border-radius: 20px; padding: 40px 44px; box-shadow: var(--ua-shadow); box-sizing: border-box; }
.ua-art h1 { margin: 0 0 12px; font: 800 40px/1.15 var(--ua-head); letter-spacing: -.8px; }
.ua-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ua-muted); margin-bottom: 24px; }
.ua-cover { display: block; width: 100%; height: 380px; object-fit: cover; border-radius: 16px; margin-bottom: 28px; }
.ua-prose { font-size: 17px; line-height: 1.7; color: var(--ua-prose); }
.ua-prose > :first-child { margin-top: 0; }
.ua-prose p { margin: 0 0 16px; }
.ua-prose h2, .ua-prose h3 { margin: 36px 0 12px; font: 800 26px/1.25 var(--ua-head); letter-spacing: -.3px; color: var(--ua-navy); scroll-margin-top: 16px; }
.ua-prose h3 { font-size: 21px; }
.ua-prose ul, .ua-prose ol { margin: 0 0 16px; padding-left: 22px; }
.ua-prose li { margin-bottom: 6px; }
.ua-prose img { max-width: 100%; height: auto; border-radius: 14px; }
.ua-prose .text-center { text-align: center; }
.ua-prose .btn { display: inline-flex; align-items: center; min-height: 44px; padding: 14px 22px; border-radius: 12px; background: var(--ua-accent); border: 0; color: var(--ua-navy) !important; font: 700 16px Inter, sans-serif; box-shadow: none; }
.ua-prose .btn:hover { filter: brightness(.96); }
.ua-cta { background: var(--ua-navy); color: #fff; border-radius: 16px; padding: 22px 24px; margin: 24px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.ua-cta-text { flex: 1 1 260px; }
.ua-cta-text b { display: block; font: 800 20px var(--ua-head); margin-bottom: 4px; }
.ua-cta-text span { font-size: 15px; color: var(--ua-lead); }
.ua-share { border-top: 1px solid #E3E8F0; margin-top: 28px; padding-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ua-share-label { font-size: 14px; color: var(--ua-muted); font-weight: 500; margin-right: 6px; }
.ua-share a, .ua-share button { padding: 10px 16px; border-radius: 10px; background: var(--ua-chip); color: var(--ua-chip-text) !important; font: 600 14px Inter, sans-serif; min-height: 44px; box-sizing: border-box; display: flex; align-items: center; border: 0; cursor: pointer; }
.ua-share a:hover, .ua-share button:hover { background: #DCE7F8; }
.ua-pager { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 20px; font-size: 14px; }
.ua-pager a { display: flex; flex-direction: column; gap: 2px; max-width: 48%; font-weight: 600; }
.ua-pager small { color: var(--ua-muted); font-weight: 500; }
.ua-pager .is-next { margin-left: auto; text-align: right; }

.ua-side { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.ua-box { background: #fff; border-radius: 18px; padding: 20px 22px; box-shadow: var(--ua-shadow); }
.ua-box h2 { margin: 0 0 12px; font: 800 17px var(--ua-head); }
.ua-toc { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.ua-cheap { display: flex; flex-direction: column; }
.ua-cheap a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid #EEF1F6; color: var(--ua-navy) !important; min-height: 44px; box-sizing: border-box; }
.ua-cheap img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.ua-cheap-city { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; }
.ua-cheap-go { font-weight: 700; font-size: 14px; color: var(--ua-blue); white-space: nowrap; }
.ua-more-link { display: block; margin-top: 10px; font-weight: 600; font-size: 14px; }
.ua-side-help { background: var(--ua-navy); color: #fff; border-radius: 18px; overflow: hidden; }
.ua-side-help img { display: block; width: 100%; height: 150px; object-fit: cover; object-position: 70% 30%; }
.ua-side-help-in { padding: 18px 22px 22px; display: flex; flex-direction: column; gap: 10px; }
.ua-side-help h2 { margin: 0; font: 800 18px var(--ua-head); }
.ua-side-help p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ua-lead); }
.ua-side-help .ua-contact { padding: 12px 14px; }
.ua-popular { display: flex; flex-direction: column; gap: 14px; }
.ua-popular a { display: flex; gap: 12px; align-items: center; color: var(--ua-navy) !important; }
.ua-popular img { width: 72px; height: 54px; border-radius: 10px; object-fit: cover; flex: none; }
.ua-popular span { font-weight: 600; font-size: 14px; line-height: 1.35; }

.ua-rail { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }
.ua-rail.is-wide { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.ua-mini { background: #fff; border-radius: 16px; overflow: hidden; color: var(--ua-navy) !important; display: flex; flex-direction: column; box-shadow: var(--ua-shadow); }
.ua-mini img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.ua-rail.is-wide .ua-mini img { aspect-ratio: 3/2; }
.ua-mini-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; }
.ua-rail.is-wide .ua-mini-body { padding: 16px 18px 18px; gap: 8px; }
.ua-mini-title { font: 700 18px/1.3 var(--ua-head); }
.ua-mini-sub { font-size: 14px; font-weight: 600; color: var(--ua-blue); }
.ua-h2-sm { margin: 0; font: 800 28px var(--ua-head); letter-spacing: -.4px; }
.ua-askbar { background: var(--ua-beige); border-radius: 20px; padding: 24px 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.ua-askbar > div:first-child { flex: 1 1 360px; }
.ua-askbar h2 { margin: 0 0 6px; font: 800 22px var(--ua-head); }
.ua-askbar p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ua-beige-text); }
.ua-askbar-btns { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- Footer ---------- */
.ua-footer { margin-top: 72px; background: var(--ua-navy); color: var(--ua-lead); flex-shrink: 0; }
.ua-foot { padding-top: 40px; padding-bottom: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; font-size: 14px; }
.ua-foot-brand { display: flex; flex-direction: column; gap: 8px; max-width: 360px; }
.ua-foot-brand b { font: 800 20px var(--ua-head); color: #fff; }
.ua-foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: flex-start; }
.ua-foot a { color: var(--ua-nav-link) !important; }
.ua-foot a:hover { color: #fff !important; }
.ua-foot-langs { color: var(--ua-nav-link); font-weight: 600; }
.ua-foot-langs a[aria-current="true"] { color: #fff !important; text-decoration: underline; text-underline-offset: 3px; }
.ua-disclaimer { border-top: 1px solid rgba(255, 255, 255, .1); padding-top: 16px; padding-bottom: 28px; font-size: 13px; line-height: 1.5; color: #8FA2C4; }

/* ---------- Mobile (как в макете: до 760 px) ---------- */
@media (max-width: 760px) {
    .ua-nav, .ua-side { display: none !important; }
    .ua-burger { display: flex; }
    .ua-langs { margin-left: auto; padding: 3px; flex: none; }
    .ua-langs a { min-width: 34px; padding: 0; }
    .ua-hdr { padding-top: 12px; padding-bottom: 12px; gap: 8px; flex-wrap: nowrap; }
    .ua-wrap { padding-left: 16px; padding-right: 16px; }
    .ua-logo { font-size: 18px; gap: 8px; min-width: 0; }
    .ua-logo-mark { width: 32px; height: 32px; }
    .ua-burger { flex: none; }
    .ua-sec { padding-top: 48px; }
    .ua-hero-in { padding-top: 36px; padding-bottom: 32px; }
    .ua-lead { font-size: 16px; margin-bottom: 20px; }
    .ua-form, .ua-form.is-compact { padding: 14px; border-radius: 16px; }
    .ua-route { flex-direction: column; flex-basis: 100%; }
    .ua-f1 { border-radius: 14px 14px 0 0; }
    .ua-f2 { border-left: 1.5px solid var(--ua-border); border-top: 0; border-radius: 0 0 14px 14px; padding-left: 16px; }
    .ua-swap { left: auto; right: 14px; transform: translateY(-50%) rotate(90deg); }
    .ua-f1, .ua-f2 { padding-right: 64px; }
    .ua-scroll, .ua-often { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
    .ua-scroll > *, .ua-often > * { flex: none; white-space: nowrap; }
    .ua-pax-panel { left: 0; right: auto; width: 100%; max-width: none; }
    .ua-offer { flex-direction: row; }
    .ua-offer .ua-tile { width: 120px; aspect-ratio: auto; flex: none; min-height: 120px; }
    .ua-offer .ua-tag, .ua-offer .ua-offer-go { display: none; }
    .ua-offer-body { padding: 12px 14px; }
    .ua-banner { padding: 20px; }
    .ua-tips, .ua-rail, .ua-rail.is-wide { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; }
    .ua-tips > *, .ua-rail > * { scroll-snap-align: start; }
    .ua-art { padding: 22px 18px; border-radius: 16px; }
    .ua-art h1 { font-size: 28px; }
    .ua-cover { height: 200px; margin: 0 -18px 20px; width: calc(100% + 36px); max-width: none; border-radius: 0; }
    .ua-prose { font-size: 16px; }
    .ua-prose h2 { font-size: 22px; }
    .ua-pager a { max-width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .ua-lift { transition: none; }
    .ua-lift:hover { transform: none; }
}
