:root {
    --navy: #102a43;
    --navy-soft: #243b53;
    --flight: #087ede;
    --flight-deep: #0666b5;
    --sky: #eaf5ff;
    --white: #ffffff;
    --bg: #f5f7fa;
    --ink: #102a43;
    --muted: #5d7286;
    --line: #d7e3ef;
    --danger: #9b2c2c;
    --danger-bg: #fdecec;
    --ok: #0f5f57;
    --ok-bg: #e7f6f3;
    --shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
    --shadow-strong: 0 24px 60px rgba(16, 42, 67, 0.14);
    --radius: 20px;
    --header-h: 116px;
    --font-h: "Plus Jakarta Sans", "Avenir Next", "Segoe UI", sans-serif;
    --font-b: "Inter", "Avenir Next", "Segoe UI", sans-serif;
    --container: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
    margin: 0; color: var(--ink); background: var(--white);
    font-family: var(--font-b); font-size: 1.02rem; line-height: 1.65; overflow-x: clip;
}
body.has-overlay-header { padding-top: 0; }
body:not(.has-overlay-header) { padding-top: var(--header-h); }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-h); line-height: 1.15; letter-spacing: -0.03em; margin: 0 0 0.45em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(760px, calc(100% - 40px)); margin-inline: auto; }
.sr-only, .hp {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.hp { left: -10000px; }
.skip-link {
    position: absolute; left: 12px; top: -48px; z-index: 100; background: var(--navy); color: white;
    padding: 10px 14px; border-radius: 10px;
}
.skip-link:focus { top: 12px; }
.icon { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.15em; }
.eyebrow {
    display: inline-block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--flight); margin-bottom: 10px;
}
.eyebrow--light { color: #b9dcff; }
.eyebrow--blue { color: #8ec5f7; }
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 20px; border-radius: 999px; border: 1px solid transparent;
    font-weight: 700; cursor: pointer; transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--flight); color: white; box-shadow: 0 12px 28px rgba(8,126,222,0.28); }
.btn--primary:hover { background: var(--flight-deep); }
.btn--navy { background: var(--navy); color: white; }
.btn--ghost { background: rgba(255,255,255,0.12); color: white; border-color: rgba(255,255,255,0.45); backdrop-filter: blur(8px); }
.btn:disabled { opacity: 0.65; cursor: wait; transform: none; }
.text-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--flight); }
.fine-print, .form-note, .search-panel__note { color: var(--muted); font-size: 0.86rem; }
.demo-flag {
    display: inline-flex; align-items: center; margin: 0 0 6px; padding: 4px 10px; border-radius: 999px;
    background: #fff4e5; color: #9a5b00; font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase;
}
.price { font-family: var(--font-h); font-weight: 800; letter-spacing: -0.04em; margin: 0; }
.banner-note { padding: 14px 16px; border-radius: 14px; background: var(--sky); color: var(--navy-soft); }
.banner-note--info { border: 1px solid #cfe6fb; }
.section { padding: 88px 0; }
.section--tint { background: var(--bg); }
.section-head { max-width: 680px; margin-bottom: 34px; }
.section-head--row { display: flex; justify-content: space-between; gap: 24px; align-items: end; max-width: none; }
.prose h2 { margin-top: 1.4em; }
.prose ul { list-style: disc; padding-left: 1.2em; margin-bottom: 1em; }

.site-header { position: fixed; inset: 0 0 auto 0; z-index: 80; }
.topbar { background: var(--navy); color: rgba(255,255,255,0.86); font-size: 0.84rem; }
.topbar__inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    min-height: 38px;
    text-align: center;
}
.topbar__inner > p { margin: 0; }
.topbar__contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 25px;
    margin: 0;
}
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.nav-bar { min-height: 78px; }
.nav-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}
.site-header--overlay .nav-bar { background: linear-gradient(180deg, rgba(16,42,67,0.45), rgba(16,42,67,0)); color: white; }
.site-header--overlay.is-scrolled .nav-bar,
.site-header--solid .nav-bar {
    background: rgba(255,255,255,0.96); color: var(--navy);
    box-shadow: 0 10px 30px rgba(16,42,67,0.06); backdrop-filter: blur(16px);
}
.logo { display: flex; align-items: center; gap: 10px; min-width: 0; }
.logo__mark { width: 44px; height: 44px; }
.logo__text { display: flex; flex-direction: column; line-height: 1.05; }
.logo__name { font-family: var(--font-h); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; white-space: nowrap; }
.logo__tag { font-size: 0.68rem; letter-spacing: 0.04em; opacity: 0.75; margin-top: 3px; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-link { display: inline-flex; align-items: center; min-height: 42px; padding: 0 10px; border-radius: 999px; font-weight: 600; font-size: 0.94rem; }
.nav-link.is-current { box-shadow: inset 0 -2px 0 var(--flight); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid transparent; background: transparent; color: inherit;
    display: inline-flex; align-items: center; justify-content: center;
}
.site-header--solid .icon-btn, .site-header--overlay.is-scrolled .icon-btn { border-color: var(--line); }
.nav-toggle, .nav-panel__cta, .nav-backdrop { display: none; }
.nav-toggle__close { display: none; }
body.nav-open .nav-toggle__open { display: none; }
body.nav-open .nav-toggle__close { display: inline-flex; }

.hero {
    position: relative; min-height: 100vh; min-height: 100svh;
    display: flex; align-items: center; color: white;
    padding: calc(var(--header-h) + 28px) 0 48px;
}
.hero__media, .hero__shade, .page-hero__media, .page-hero__shade { position: absolute; inset: 0; }
.hero__media picture, .page-hero__media picture { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero__media img, .page-hero__media img { width: 100%; height: 100%; object-fit: cover; animation: hero-zoom 18s ease-out forwards; }
.hero__shade {
    background: linear-gradient(105deg, rgba(16,42,67,0.78) 0%, rgba(16,42,67,0.55) 42%, rgba(8,126,222,0.28) 72%, rgba(16,42,67,0.45) 100%);
}
.hero__shell {
    position: relative; z-index: 2;
    width: min(var(--container), calc(100% - 40px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}
.hero__content { width: 100%; max-width: 34rem; }
.hero h1 { font-size: clamp(2.2rem, 3.8vw, 3.8rem); max-width: min(12em, 100%); font-weight: 800; text-wrap: balance; margin: 0 0 14px; }
.hero__lead { max-width: 32rem; font-size: 1.05rem; color: rgba(255,255,255,0.9); margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.hero__search { width: 100%; animation: rise 0.85s ease both; animation-delay: 0.12s; }
.hero__content > * { animation: rise 0.8s ease both; }
.hero__content > *:nth-child(2) { animation-delay: 0.08s; }
.hero__content > *:nth-child(3) { animation-delay: 0.16s; }
.hero__content > *:nth-child(4) { animation-delay: 0.24s; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.home-search { position: relative; z-index: 3; width: min(1240px, calc(100% - 40px)); margin-inline: auto; }
.search-panel {
    background: rgba(255,255,255,0.94); backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.85); border-radius: 24px; box-shadow: var(--shadow-strong); padding: 22px;
    color: var(--navy);
}
.flight-search { padding: 20px 20px 14px; display: grid; gap: 12px; }
.flight-search--hero { padding: 18px 18px 12px; }
.flight-search__row { display: grid; gap: 12px; align-items: end; min-width: 0; }
.flight-search__row--trip { align-items: stretch; }
.flight-search__row--airports {
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
}
.flight-search__row--dates,
.flight-search__row--meta {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.flight-search__row--submit .search-submit,
.flight-search__row--submit .btn { width: 100%; }
.trip-type {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    gap: 6px;
    background: var(--sky);
    border-radius: 999px;
    padding: 4px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}
.trip-type__option {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    height: 42px;
    min-height: 42px;
    padding: 0 12px;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.92rem;
    line-height: 1;
    color: rgba(16, 42, 67, 0.55);
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    transition: color 0.28s ease;
}
.trip-type__option > span {
    display: block;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}
.trip-type__option input { position: absolute; opacity: 0; pointer-events: none; }
.trip-type__option.is-active { color: var(--navy); }
.trip-type__pill {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 0;
    width: calc((100% - 8px - 6px) / 2);
    height: 42px;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 42, 67, 0.12);
    pointer-events: none;
    transition: transform 0.28s ease;
}
.trip-type[data-active="oneway"] .trip-type__pill {
    transform: translateX(calc(100% + 6px));
}
.flight-search .swap-btn {
    width: 44px; height: 52px; border-radius: 14px; border: 1px solid #d5e2ec; background: #fff; color: var(--flight);
    display: inline-flex; align-items: center; justify-content: center; align-self: end; transition: transform 0.35s ease, background 0.2s ease, color 0.2s ease;
}
.flight-search .swap-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.flight-search .swap-btn.is-spinning { transform: rotate(180deg); }
.field label, .field-label, .form-grid label {
    display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 6px; color: var(--navy-soft);
}
.field__control { position: relative; }
.field__control .icon { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--flight); pointer-events: none; z-index: 1; }
.field__control input, .field__control select, .form-grid input, .form-grid select, .form-grid textarea, .newsletter-form input[type="email"] {
    width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid #d5e2ec; background: white; color: var(--navy); padding: 0 14px;
}
.field__control input, .field__control select { padding-left: 42px; }
.field.is-invalid .field__control input,
.field.is-invalid .field__control select,
.field.is-invalid .travelers-toggle { border-color: var(--danger); }
.field__error { margin: 6px 0 0; color: var(--danger); font-size: 0.84rem; }
.field--return { transition: opacity 0.25s ease; }
.field--return.is-disabled { opacity: 0.45; }
.field--return.is-disabled input { cursor: not-allowed; background: #f3f7fb; }
.field--airport { position: relative; }
.airport-suggest {
    position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 20;
    margin: 0; padding: 8px; list-style: none; background: #fff; border: 1px solid var(--line);
    border-radius: 16px; box-shadow: var(--shadow-strong); max-height: 260px; overflow: auto;
}
.airport-suggest[hidden] { display: none !important; }
.airport-suggest__item {
    width: 100%; text-align: left; border: 0; background: transparent; border-radius: 12px;
    padding: 10px 12px; cursor: pointer; color: var(--navy); display: grid; gap: 2px;
}
.airport-suggest__item:hover, .airport-suggest__item.is-active { background: var(--sky); }
.airport-suggest__item strong { font-size: 0.95rem; }
.airport-suggest__item span { font-size: 0.82rem; color: var(--muted); }
.field--travelers { position: relative; }
.travelers-toggle {
    width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid #d5e2ec; background: #fff; color: var(--navy);
    display: flex; align-items: center; gap: 10px; padding: 0 14px 0 42px; position: relative; text-align: left; font-weight: 600;
}
.travelers-toggle .icon { position: absolute; left: 14px; color: var(--flight); }
.travelers-panel {
    position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 25;
    background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-strong); padding: 14px;
}
.travelers-panel[hidden] { display: none !important; }
.traveler-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 0; }
.traveler-row + .traveler-row { border-top: 1px solid var(--line); }
.traveler-row__label { margin: 0; font-weight: 700; }
.traveler-row__hint { margin: 2px 0 0; font-size: 0.82rem; color: var(--muted); }
.stepper { display: inline-flex; align-items: center; gap: 8px; }
.stepper__btn {
    width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--navy);
    display: inline-flex; align-items: center; justify-content: center;
}
.stepper input {
    width: 42px; min-height: 36px; border: 0; background: transparent; text-align: center; font-weight: 700; padding: 0;
    appearance: textfield; -moz-appearance: textfield;
}
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { appearance: none; margin: 0; }
.search-submit .btn { min-height: 52px; white-space: nowrap; }
.search-panel__note { margin-top: 12px; }
.search-panel__errors { margin-bottom: 12px; padding: 12px 14px; border-radius: 14px; background: var(--danger-bg); color: var(--danger); font-weight: 600; }
select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23102A43' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='m4 6 4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px;
}

.route-grid, .feature-grid, .faq-grid, .deal-grid, .airline-row { display: grid; gap: 18px; }
.route-grid, .feature-grid, .deal-grid { grid-template-columns: repeat(3, 1fr); }
.route-card, .feature-card, .deal-card, .info-card, .faq-item {
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.route-card { transition: transform 0.25s ease, box-shadow 0.25s ease; }
.route-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-strong); }
.route-card__codes { display: flex; align-items: center; gap: 10px; font-family: var(--font-h); font-weight: 800; font-size: 1.35rem; margin: 10px 0; }
.route-card__codes span { color: var(--flight); }
.feature-card__icon {
    width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center;
    background: var(--sky); color: var(--flight); margin-bottom: 14px;
}
.airline-row { grid-template-columns: repeat(6, 1fr); align-items: center; }
.airline-pill {
    display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 72px;
    border: 1px solid var(--line); border-radius: 18px; background: #fff; font-weight: 700;
}
.airline-mark {
    display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
    background: var(--airline, var(--flight)); color: #fff; font-family: var(--font-h); font-size: 0.78rem; font-weight: 800;
}
.faq-item h3 { font-size: 1.05rem; }
.page-hero { position: relative; min-height: 360px; display: flex; align-items: end; color: white; padding: 120px 0 48px; }
.page-hero__shade { background: linear-gradient(180deg, rgba(16,42,67,0.25), rgba(16,42,67,0.78)); }
.page-hero__content { position: relative; z-index: 1; }
.breadcrumbs { margin-bottom: 18px; }
.breadcrumbs ol { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.92rem; }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; opacity: 0.5; }
.breadcrumbs a { color: var(--flight); font-weight: 600; }

.results-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; align-items: start; }
.filters {
    position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line);
    border-radius: 22px; padding: 18px; box-shadow: var(--shadow);
}
.filters h2 { font-size: 1.05rem; margin-bottom: 14px; }
.filter-group { padding: 12px 0; border-top: 1px solid var(--line); }
.filter-group label { display: flex; align-items: center; gap: 8px; margin: 8px 0; font-weight: 600; text-transform: none; letter-spacing: 0; font-size: 0.95rem; }
.filter-group input[type="number"], .filter-group select {
    width: 100%; min-height: 44px; border-radius: 12px; border: 1px solid var(--line); padding: 0 12px; margin-top: 6px;
}
.results-toolbar { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 16px; flex-wrap: wrap; }
.flight-result-list { display: grid; gap: 14px; }
.flight-card {
    display: grid; grid-template-columns: 0.95fr 1.35fr 0.75fr; gap: 18px; align-items: center;
    background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 20px; box-shadow: var(--shadow);
}
.flight-card__airline { display: flex; gap: 12px; align-items: center; }
.flight-card__airline h3 { margin: 0 0 4px; font-size: 1.05rem; }
.flight-card__route { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; }
.flight-card__time { margin: 0; font-family: var(--font-h); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; }
.flight-card__code { margin: 4px 0 0; font-weight: 700; color: var(--flight); }
.flight-card__mid { text-align: center; color: var(--muted); font-size: 0.88rem; }
.flight-card__line {
    display: block; height: 2px; margin: 8px 0; border-radius: 999px;
    background: linear-gradient(90deg, transparent, var(--flight), transparent);
}
.flight-card__fare .price { margin: 4px 0 8px; font-size: 1.5rem; }
.flight-card__fare .btn { width: 100%; }

.form-grid { display: grid; gap: 14px; }
.form-grid .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-layout { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(280px,0.8fr); gap: 24px; align-items: start; }
.book-card {
    position: sticky; top: calc(var(--header-h) + 16px); background: #fff; border: 1px solid var(--line);
    border-radius: 22px; padding: 22px; box-shadow: var(--shadow);
}
.passenger-block {
    border: 1px solid var(--line); border-radius: 18px; padding: 16px 18px 8px; margin: 0;
}
.passenger-block legend {
    padding: 0 8px; font-family: var(--font-h); font-weight: 700; color: var(--navy);
}
.status-pill {
    display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px;
    background: var(--sky); color: var(--flight); font-weight: 700; font-size: 0.85rem; text-transform: capitalize;
}
.reference {
    font-family: var(--font-h); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800;
    letter-spacing: -0.03em; color: var(--navy); margin: 8px 0 16px;
}
.summary-list { display: grid; gap: 10px; margin: 18px 0; }
.summary-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 10px; border-bottom: 1px solid var(--line); padding-bottom: 8px; }
.summary-list dt { color: var(--muted); font-weight: 600; }
.summary-list dd { margin: 0; font-weight: 700; color: var(--navy); }
.support-layout { display: grid; grid-template-columns: minmax(260px,0.85fr) minmax(0,1.15fr); gap: 24px; align-items: start; }
.faq-list { display: grid; gap: 10px; }
.faq {
    background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px;
}
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); }
.faq p { margin: 10px 0 4px; color: var(--muted); }
.section--sky { background: linear-gradient(180deg, var(--sky), #fff); }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.why-card {
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow);
}
.why-card__icon {
    width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center;
    background: var(--sky); color: var(--flight); margin-bottom: 12px;
}
.check-list { margin: 16px 0 0; display: grid; gap: 8px; }
.check-list li { padding-left: 22px; position: relative; color: var(--muted); }
.check-list li::before {
    content: ""; position: absolute; left: 0; top: 0.45em; width: 10px; height: 10px; border-radius: 50%;
    background: var(--flight);
}
.consent { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; }
.info-card h2 { margin-top: 0; }
.split { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 28px; align-items: start; }
.frame { border-radius: 24px; overflow: hidden; min-height: 320px; }
.frame img { width: 100%; height: 100%; object-fit: cover; }

/* Refund policy page */
.refund-layout {
    display: grid;
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}
.refund-toc {
    position: sticky;
    top: calc(var(--header-h) + 16px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    box-shadow: var(--shadow);
}
.refund-toc__title {
    margin: 0 0 12px;
    font-family: var(--font-h);
    font-weight: 800;
    color: var(--navy);
    font-size: 0.95rem;
}
.refund-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}
.refund-toc__list a {
    display: block;
    color: var(--muted);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.35;
    padding: 4px 0;
    border-left: 2px solid transparent;
    padding-left: 10px;
}
.refund-toc__list a:hover {
    color: var(--flight);
    border-left-color: var(--flight);
}
.refund-policy__meta {
    color: var(--muted);
    font-size: 0.92rem;
    margin-bottom: 16px;
}
.refund-section {
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
}
.refund-section:last-child { border-bottom: 0; }
.refund-section h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 0;
    font-size: 1.25rem;
}
.refund-section__num {
    display: inline-grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: var(--sky);
    color: var(--flight);
    font-size: 0.85rem;
    font-weight: 800;
    flex: 0 0 auto;
}
.refund-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.refund-policy .contact-list { margin: 12px 0 8px; }
.refund-policy .contact-list li { margin-top: 8px; }

.site-footer { background: #0b1f33; color: rgba(255,255,255,0.86); padding: 64px 0 0; margin-top: 48px; overflow-x: hidden; }
.site-footer > .footer-base { padding-bottom: 28px; }
.footer-news { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 24px; align-items: end; margin-bottom: 42px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 28px; }
.footer-brand p, .site-footer li { color: rgba(255,255,255,0.78); }
.site-footer a:hover { color: #fff; }
.site-footer h2 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.site-footer li + li { margin-top: 8px; }
.social-list { display: flex; gap: 10px; margin-top: 16px; }
.social-list a {
    width: 42px; height: 42px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.18);
    display: grid; place-items: center;
}
.contact-list li { display: flex; gap: 8px; align-items: flex-start; }
.footer-base {
    display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
    margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.9rem;
}
.footer-legal { display: flex; gap: 16px; flex-wrap: wrap; }
.newsletter-form__row { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.toast-stack { position: fixed; right: 16px; bottom: 16px; z-index: 70; display: grid; gap: 8px; width: min(360px, calc(100% - 32px)); }
.toast { margin: 0; background: white; color: var(--navy); border-radius: 16px; padding: 14px 16px; box-shadow: var(--shadow-strong); border-left: 4px solid var(--flight); }
.toast--error { border-left-color: var(--danger); }
.toast--info { border-left-color: var(--navy); }
:focus-visible { outline: 3px solid var(--flight); outline-offset: 2px; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (max-width: 1200px) {
    .flight-card { grid-template-columns: 1fr; }
    .airline-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 1100px) {
    .hero__shell { grid-template-columns: 1fr; gap: 28px; align-items: stretch; }
    .hero__content { max-width: 40rem; }
    .hero__search { max-width: 560px; }
    .results-layout, .book-layout, .split, .footer-news, .footer-grid, .support-layout, .refund-layout { grid-template-columns: 1fr; }
    .filters, .book-card, .refund-toc { position: static; }
    .route-grid, .feature-grid, .deal-grid, .why-grid { grid-template-columns: 1fr 1fr; }
    .summary-list > div { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 800px) {
    .why-grid, .route-grid, .feature-grid, .deal-grid, .airline-row, .form-grid .row-2 { grid-template-columns: 1fr; }
    :root { --header-h: 72px; }
    .logo__tag, .nav-cta { display: none; }
    .topbar__inner {
        justify-content: center;
        align-items: center;
        gap: 12px 25px;
        padding-top: 8px;
        padding-bottom: 8px;
    }
    .topbar__contacts { gap: 12px 25px; }
    .nav-toggle { display: inline-flex; }
    .nav-backdrop { position: fixed; inset: 0; background: rgba(16,42,67,0.45); z-index: 70; border: 0; }
    body.nav-open .site-header .nav-bar { background: #fff; color: var(--navy); box-shadow: 0 10px 30px rgba(16,42,67,0.06); }
    body.nav-open .nav-backdrop { display: block; }
    .nav-panel {
        position: fixed; top: 0; right: 0; z-index: 75; width: min(420px, 100%); height: 100vh; height: 100dvh;
        background: white; color: var(--navy); transform: translateX(100%); transition: transform 0.35s ease;
        padding: 96px 24px 28px; display: flex; flex-direction: column; gap: 12px; overflow: auto;
    }
    body.nav-open .nav-panel { transform: none; }
    .nav-list { flex-direction: column; align-items: stretch; }
    .nav-link { color: var(--navy); font-size: 1.15rem; min-height: 48px; }
    .nav-panel__cta { display: inline-flex; }
    .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 18px); padding-bottom: 36px; min-height: auto; }
    .hero h1 { font-size: clamp(2.1rem, 9vw, 3.2rem); }
    .hero__search { max-width: none; }
    .section { padding: 64px 0; }
    .section-head--row { flex-direction: column; align-items: start; }
    .form-grid .row-2, .newsletter-form__row, .footer-base { display: grid; grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .container, .home-search, .hero__shell { width: min(var(--container), calc(100% - 28px)); }
    .route-grid, .feature-grid, .deal-grid, .airline-row { grid-template-columns: 1fr; }
    .flight-search__row--airports {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .flight-search__row--airports .swap-btn {
        width: 100%; height: 44px; order: 2; justify-self: stretch;
    }
    .flight-search__row--airports .field--airport:first-child { order: 1; }
    .flight-search__row--airports .field--airport:last-child { order: 3; }
    .flight-search__row--dates,
    .flight-search__row--meta {
        grid-template-columns: 1fr;
    }
    .trip-type__option { padding: 0 10px; font-size: 0.88rem; }
}
/* Modern datepicker */
.datepicker-input { cursor: pointer; }
.datepicker-popover {
    position: absolute; left: 0; top: calc(100% + 8px); z-index: 40;
    width: min(320px, calc(100vw - 32px));
    background: #fff; border: 1px solid var(--line); border-radius: 18px;
    box-shadow: var(--shadow-strong); padding: 14px; color: var(--navy);
}
.datepicker-popover[hidden] { display: none !important; }
.datepicker-popover__nav {
    display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px;
}
.datepicker-popover__nav strong { font-family: var(--font-h); font-size: 1rem; }
.datepicker-popover__nav button {
    width: 36px; height: 36px; border-radius: 12px; border: 1px solid var(--line);
    background: #fff; color: var(--navy); font-weight: 700; cursor: pointer;
}
.datepicker-popover__nav button:hover { background: var(--sky); }
.datepicker-popover__weekdays,
.datepicker-popover__days {
    display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; text-align: center;
}
.datepicker-popover__weekdays span {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); padding: 6px 0;
}
.datepicker-popover__days button {
    aspect-ratio: 1; border: 0; border-radius: 12px; background: transparent; color: var(--navy);
    font-weight: 600; cursor: pointer;
}
.datepicker-popover__days button:hover:not(:disabled) { background: var(--sky); }
.datepicker-popover__days button.is-today { box-shadow: inset 0 0 0 1.5px var(--flight); }
.datepicker-popover__days button.is-selected { background: var(--flight); color: #fff; }
.datepicker-popover__days button:disabled { opacity: 0.28; cursor: not-allowed; }
.datepicker-popover__days button.is-muted { color: var(--muted); }

/* Richer flight cards */
.flight-card { grid-template-columns: 0.9fr 1.5fr 0.75fr; align-items: start; }
.flight-card__body { display: grid; gap: 10px; }
.flight-card__route--compact { margin-top: 4px; }
.flight-card__return {
    margin-top: 4px; padding-top: 10px; border-top: 1px dashed var(--line);
}
.flight-card__meta, .flight-card__conditions { margin: 0; font-size: 0.86rem; color: var(--muted); }
.flight-card__conditions { color: var(--navy-soft); font-weight: 600; }
.flight-card__details summary {
    cursor: pointer; font-weight: 700; color: var(--flight); font-size: 0.9rem;
}
.flight-segments { margin: 8px 0 0; padding-left: 18px; color: var(--muted); font-size: 0.86rem; }
.flight-segments li + li { margin-top: 4px; }
.fare-label {
    margin: 0; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em;
    text-transform: uppercase; color: var(--navy-soft);
}

/* Payment panel */
.payment-panel {
    border: 1px solid var(--line); border-radius: 20px; padding: 20px;
    background: linear-gradient(180deg, #f7fbff 0%, #ffffff 48%);
    box-shadow: var(--shadow);
}
.payment-panel__head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; flex-wrap: wrap; }
.payment-panel__head h2 { margin: 0; }
.payment-panel__sub { margin: 8px 0 4px; font-size: 1.05rem; }
.payment-panel__brands {
    display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 16px;
}
.payment-panel__brands span {
    display: inline-flex; align-items: center; min-height: 28px; padding: 0 10px;
    border-radius: 8px; border: 1px solid var(--line); background: #fff;
    font-size: 0.78rem; font-weight: 800; letter-spacing: 0.02em; color: var(--navy);
}
.payment-panel__secure {
    display: flex; gap: 8px; align-items: flex-start; margin: 14px 0 0;
    font-size: 0.88rem; color: var(--muted);
}
.payment-panel__secure .icon { flex: 0 0 auto; color: var(--flight); margin-top: 2px; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation: none !important; transition: none !important; }
}
