/* ==========================================================================
   Air Business Fares — lite site stylesheet
   Hand-written port of the Tailwind design (same palette, type scale and breakpoints:
   mobile 390px · tablet 768px · laptop 1024px · desktop 1496px)
   ========================================================================== */

@font-face { font-family: "Open Sans"; font-style: normal; font-weight: 300 800; font-display: swap; src: url("../fonts/open-sans.woff2") format("woff2"); }
@font-face { font-family: "Raleway"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/raleway.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/playfair-display.woff2") format("woff2"); }

:root {
    --primary: #3b4d42;
    --primary-900: #2b362f;
    --primary-400: #728f7c;
    --primary-100: #dfe8e1;
    --secondary: #8a9288;
    --secondary-500: #636b61;
    --secondary-200: #c7cbc4;
    --secondary-100: #e3e5e2;
    --accent: #a6b18e;
    --accent-400: #94a17a;
    --biege: #fafaf9;
    --sand: #ecebe6;
    --success: #9bc17c;
    --danger: #d66d6d;
    --white: #fff;
    --font-sans: "Open Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
    --font-overline: "Raleway", "Open Sans", system-ui, sans-serif;
    --radius: .625rem;
    --radius-base: .25rem;
    --shadow-base: 0 4px 4px rgba(0, 0, 0, .25);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
    --ease: cubic-bezier(.4, 0, .2, 1);
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; border: 0 solid transparent; }
html { -webkit-text-size-adjust: 100%; overflow-y: scroll; scroll-behavior: smooth; }
html.scroll-lock { overflow: hidden; }
body {
    margin: 0; min-width: 360px; min-height: 100vh; overflow-x: hidden;
    background: var(--white); color: var(--secondary);
    font-family: var(--font-sans); font-size: 1rem; line-height: 1.5;
    -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "lnum"; -webkit-tap-highlight-color: transparent;
}
img, svg, picture, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 600; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; margin: 0; }
button { background: none; cursor: pointer; padding: 0; }
button:disabled { cursor: default; }
::selection { background: rgba(166, 177, 142, .9); color: #fff; }
* { scrollbar-width: auto; scrollbar-color: var(--secondary-100) var(--primary); }
*::-webkit-scrollbar { width: 6px; }
*::-webkit-scrollbar-track { background: var(--secondary-100); }
*::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 999px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
a.link { color: var(--primary); text-underline-position: under; }
a.link:hover { color: var(--accent); text-decoration: underline; }
.icon { width: 3rem; height: 3rem; flex: none; display: flex; align-items: center; justify-content: center; padding: .375rem; }
.icon svg { width: 100%; height: 100%; }
.icon--small { width: 2rem; height: 2rem; }

/* --- Layout -------------------------------------------------------------- */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1.25rem; padding-right: 1.25rem; }
@media (min-width: 390px) { .container { max-width: 390px; } }
@media (min-width: 768px) { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1496px) { .container { max-width: 1496px; } }

.section { position: relative; padding-top: 6rem; padding-bottom: 6rem; }
.section--bg { background: var(--sand); }
.section--bg-light { background: var(--biege); }
.section--bg-dark { background: var(--primary); color: #fff; }
.section--tight { padding-top: 0; padding-bottom: 0; }
.section--no-top { padding-top: 0; }
.section__overline { font-family: var(--font-overline); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--secondary-500); font-size: 1rem; }
.section__overline + .section__title { margin-top: 1rem; }
.section__title { color: var(--primary); font-family: var(--font-serif); font-weight: 600; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 768px) { .section__title { font-size: 3rem; line-height: 3.5rem; } }
.section__description { max-width: 740px; margin: 1.5rem auto 0; }
.text-center { text-align: center; }
.mt-16 { margin-top: 4rem; }

/* --- Buttons ------------------------------------------------------------- */
.btn {
    --btn-text: #fff; --btn-bg: var(--primary); --btn-bg-hover: var(--accent); --btn-ring: rgba(59, 77, 66, .5);
    display: inline-flex; align-items: center; justify-content: center; flex: none;
    padding: .75rem 1.5rem; border-radius: 9999px; font-weight: 700; font-size: 1rem; line-height: 1.5;
    background: var(--btn-bg); color: var(--btn-text); text-decoration: none; white-space: nowrap;
    transition: all .2s ease-in-out;
}
.btn:hover { background: var(--btn-bg-hover); }
.btn:focus { outline: none; box-shadow: 0 0 0 2px var(--btn-ring); }
.btn--large { padding: 1rem 2rem; font-size: 1.125rem; }
.btn--small { padding: .5rem 1rem; font-size: .75rem; line-height: 2; }
.btn--secondary { --btn-bg: var(--sand); --btn-bg-hover: var(--secondary-200); --btn-ring: rgba(236, 235, 230, .5); --btn-text: var(--primary); }
.btn--accent { --btn-bg: var(--accent); --btn-bg-hover: var(--accent-400); --btn-ring: rgba(166, 177, 142, .5); --btn-text: #fff; }
.btn--outline { background: transparent; border: 2px solid var(--btn-bg); color: var(--btn-bg); }
.btn--outline:hover { background: transparent; border-color: var(--btn-bg-hover); color: var(--btn-bg-hover); }
.btn--block { width: 100%; }
.btn .icon { width: 1.25rem; height: 1.25rem; padding: 0; margin-right: .5rem; }
.btn svg.inline { width: 1rem; height: 1rem; margin-right: .5rem; }

/* --- Header -------------------------------------------------------------- */
.header { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 1.25rem; }
.logo { font-weight: 600; font-size: .875rem; color: var(--sand); }
@media (min-width: 390px) { .logo { font-size: 1.25rem; } }
.header__call { display: none; margin-left: auto; margin-right: 1rem; font-weight: 700; color: var(--biege); }
@media (min-width: 768px) { .header__call { display: block; } }
@media (max-width: 767px) { .header .btn { padding: .5rem 1rem; font-size: .75rem; line-height: 2; } }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100%; min-height: 100vh; padding: 5rem 0; background: #000; }
.hero > * { position: relative; }
.hero--half { min-height: 300px; height: 50vh; }
.hero__picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; user-select: none; pointer-events: none; }
.hero__picture img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.hero .section__overline { color: var(--secondary); text-align: center; }
.hero__title { color: #fff; text-align: center; margin: 5rem auto; font-family: var(--font-serif); font-weight: 600; font-size: 1.875rem; line-height: 2.25rem; }
@media (min-width: 390px) { .hero__title { padding: 0 1.25rem; } }
@media (min-width: 768px) { .hero__title { font-size: 3rem; line-height: 3.5rem; } }
@media (min-width: 1024px) { .hero__title { font-size: 3.75rem; line-height: 1.1; max-width: 800px; padding: 0; } }
.hero--half .hero__title { margin: 1rem auto 0; }
.hero__body { margin-top: auto; margin-bottom: 5rem; }
.hero__form { min-height: 360px; }
@media (min-width: 768px) { .hero__form { min-height: 176px; } }
@media (min-width: 1024px) { .hero__form { min-height: 112px; } }
.hero__airlines { margin-top: auto; opacity: .4; width: 745px; max-width: none; min-width: 768px; }
.hero__airlines-wrap { width: 100%; overflow: hidden; display: flex; justify-content: center; margin-top: auto; }

/* --- Flight search form --------------------------------------------------- */
.ff { opacity: 0; transform: translateY(40px); transition: all .3s ease; }
.ff--ready { opacity: 1; transform: none; }
.ff__params { display: flex; justify-content: center; margin: 0 -1.25rem .75rem; }
@media (min-width: 768px) { .ff__params { margin: 0 auto .75rem; gap: 1rem; } }
.ff__param { position: relative; z-index: 1; min-width: .25rem; }
.ff__param-toggle, .ff__param select {
    appearance: none; -webkit-appearance: none; display: flex; align-items: center; gap: .5rem;
    background: transparent; color: #fff; border-radius: var(--radius); padding: .5rem 2rem .5rem 1rem;
    font-size: .75rem; font-weight: 600; cursor: pointer; user-select: none; white-space: nowrap; transition: all .15s;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'><path d='m1 2 3 3 3-3' stroke='white' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    background-repeat: no-repeat; background-position: right .9rem center; background-size: 8px;
}
.ff__param select option { color: var(--primary); background: var(--biege); font-weight: 400; }
.ff__param-toggle:hover, .ff__param select:hover, .ff__param--open .ff__param-toggle { background-color: var(--biege); color: var(--primary); background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='8' height='8' viewBox='0 0 8 8' fill='none'><path d='m1 2 3 3 3-3' stroke='%233b4d42' stroke-linecap='round' stroke-linejoin='round'/></svg>"); }
.ff__param select:focus, .ff__param-toggle:focus { outline: none; }
@media (min-width: 768px) { .ff__param-toggle, .ff__param select { font-size: 1.125rem; background-size: 10px; padding-right: 2.25rem; } }
.ff__pax-pop { position: absolute; top: 100%; left: 0; z-index: 30; margin-top: .5rem; background: var(--biege); border-radius: var(--radius); box-shadow: var(--shadow-base); padding: 1rem; color: var(--primary); }
.ff__pax { display: grid; grid-template-columns: 10px 1fr 4rem; gap: .5rem 1rem; width: 220px; align-items: center; }
.ff__pax-title { color: var(--primary); }
.pax-num { display: flex; align-items: center; }
.pax-num__btn { width: 2rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; background: var(--sand); color: var(--primary); user-select: none; }
.pax-num__btn:first-child { border-radius: var(--radius) 0 0 var(--radius); }
.pax-num__btn:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
.pax-num__btn:not(:disabled):hover { background: var(--secondary); color: #fff; }
.pax-num__btn:disabled { opacity: .5; }
.pax-num__btn svg { width: .875rem; height: .875rem; }

.ff__form { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1.25rem; }
.ff__routes { display: flex; flex-direction: column; gap: 1.25rem; }
.ff__route { position: relative; display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 1024px) { .ff__route { flex-direction: row; } }
.ff__row { display: flex; flex-direction: column; gap: .5rem; width: 100%; }
@media (min-width: 768px) {
    .ff__row { display: grid; grid-template-columns: 1fr 3.5rem 1fr; }
    .ff__row--dates { grid-template-columns: 1fr 3.5rem; }
    .ff--multicity .ff__row--dates { grid-template-columns: 1fr; }
    .ff--multicity .ff__route { display: grid; grid-template-columns: 2fr 1fr; gap: .5rem; }
}
@media (min-width: 1496px) { .ff--multicity { max-width: 1000px; margin-left: auto; margin-right: auto; } }
.ff__cell { position: relative; min-width: .25rem; }
.ff__cell--open { z-index: 20; }
.ff__toggle { display: flex; align-items: center; gap: .5rem; min-height: 3.5rem; padding: .75rem 1rem; border-radius: var(--radius); background: var(--sand); cursor: pointer; }
.ff__cell--error .ff__toggle { box-shadow: 0 0 0 2px var(--danger); }
.ff__cell--active .ff__toggle { background: var(--biege); }
.ff__cell--airport .ff__toggle { padding: .25rem .5rem; }
.ff__cell--airport .ff__toggle .icon { margin-right: .5rem; color: var(--primary); }
.ff__cell--airport.ff__cell--open .ff__toggle { padding: .75rem 1rem; }
.ff__value { flex: 1; min-width: 0; color: var(--primary); font-size: 1.125rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ff__value--placeholder { color: var(--secondary); }
.ff__cell--airport .ff__placeholder { padding: .5rem; color: var(--secondary); font-weight: 600; font-size: 1.125rem; }
.ff__input { width: 100%; border: 0; background: transparent; padding: 0; color: var(--primary); font-size: 1.125rem; font-weight: 600; }
.ff__input:focus { outline: none; }
.ff__input::placeholder { color: var(--secondary); }
.ff__chip { display: flex; align-items: center; gap: .5rem; max-width: 100%; width: fit-content; padding: .5rem 1rem; line-height: 1.5rem; background: var(--biege); border-radius: var(--radius); color: var(--primary); }
.ff__chip-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ff__chip-code { color: var(--secondary); font-family: var(--font-serif); }
.ff__chip-close { display: block; padding: .25rem; border-radius: var(--radius); background: var(--sand); color: var(--primary); }
.ff__chip-close:hover { background: var(--accent); color: #fff; }
.ff__chip-close svg { width: .75rem; height: .75rem; }
.ff__dropdown { position: absolute; left: 0; right: 0; top: 100%; z-index: 30; margin: .5rem 0; padding: 1rem 0; background: var(--biege); border-radius: var(--radius); box-shadow: var(--shadow-base); max-height: 380px; overflow-y: auto; max-width: 100vw; }
.ff__dropdown-empty { padding: 0 1rem; text-align: center; }
.airport { position: relative; display: flex; align-items: center; padding: .25rem 1rem; cursor: pointer; }
.airport:hover, .airport--focused { background: rgba(236, 235, 230, .4); }
.airport__indent { flex: none; width: 2.25rem; color: var(--secondary); }
.airport__indent svg { width: 1rem; height: 1rem; margin: 0 auto; }
.airport__icon { flex: none; display: flex; align-items: center; justify-content: center; width: 2.25rem; height: 2.25rem; margin-right: 1rem; border-radius: var(--radius); background: var(--sand); font-family: var(--font-serif); font-size: .875rem; color: var(--primary); }
.airport__icon--airport { background: transparent; margin-right: .5rem; }
.airport__icon svg { width: 1rem; height: 1rem; }
.airport__info { flex: 1; min-width: 0; margin-right: 1rem; overflow: hidden; }
.airport__title { color: var(--primary); font-size: .75rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airport__code { flex: none; color: var(--secondary); font-family: var(--font-serif); font-size: .875rem; font-weight: 600; }
.airport__country { font-family: var(--font-overline); font-size: .75rem; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airport__check { flex: none; display: flex; align-items: center; justify-content: center; width: 1.25rem; height: 1.25rem; border: 1px solid var(--sand); border-radius: 3px; }
.airport__check svg { width: 10px; height: 7px; color: var(--primary); }
.ff__swap { position: absolute; right: 0; top: 3.5rem; z-index: 30; margin: -.75rem 1rem 0 0; width: 1.5rem; height: 1.5rem; display: flex; align-items: center; justify-content: center; flex: none; border-radius: 3px; background: var(--accent); color: #fff; }
.ff__swap:hover { background: var(--accent-400); }
.ff__swap svg { width: .75rem; height: .75rem; }
@media (min-width: 768px) {
    .ff__swap { position: static; margin: 0; width: 3.5rem !important; height: 3.5rem !important; border-radius: var(--radius); background: var(--sand); color: var(--secondary); transform: rotate(90deg); }
    .ff__swap:hover { background: var(--sand); color: var(--primary); }
    .ff__swap svg { width: 1rem; height: 1rem; }
}
.ff__search { display: none; }
@media (min-width: 768px) { .ff__search { display: flex; height: 3.5rem; padding: 0; border-radius: var(--radius); align-items: center; justify-content: center; } }
.ff__search .icon { margin: 0; width: 2rem; height: 2rem; }
.ff__buttons { display: flex; flex-direction: column; gap: 1rem; }
@media (min-width: 768px) { .ff:not(.ff--multicity) .ff__buttons { display: none; } .ff__buttons { flex-direction: row; justify-content: space-between; } }
.ff__buttons .btn { padding: .75rem 1.5rem; font-size: 1rem; line-height: 1.5; }
.ff__remove { display: none; }
.ff__remove--small { display: none; position: absolute; top: .25rem; right: .25rem; z-index: 30; width: 1.5rem; height: 1.5rem; transform: translate(50%, -50%); align-items: center; justify-content: center; border-radius: 9999px; background: var(--biege); color: var(--primary); box-shadow: var(--shadow-lg); }
.ff__remove--small svg { width: .75rem; height: .75rem; }
.ff__remove--small:hover { background: var(--accent); color: #fff; }
.ff--multicity .ff__route--extra .ff__remove { display: inline-flex; }
@media (min-width: 768px) { .ff--multicity .ff__route--extra .ff__remove { display: none; } .ff--multicity .ff__route--extra .ff__remove--small { display: flex; } }
.ff__error { color: #fff; background: rgba(214, 109, 109, .9); border-radius: var(--radius); padding: .5rem 1rem; text-align: center; font-size: .875rem; }
.ff__loading .ff__search, .ff__loading .ff__submit { opacity: .6; pointer-events: none; }

/* --- Forms (contact / subscribe / offer) --------------------------------- */
.form { display: flex; flex-direction: column; gap: 1rem; text-align: left; }
.form__error { color: var(--danger); }
.form-control { position: relative; }
.form-control .input-text, .form-control .input-textarea {
    appearance: none; display: block; width: 100%; padding: .75rem 1.5rem; border-radius: var(--radius);
    background: var(--sand); border: 1px solid var(--sand); color: var(--primary); font-family: var(--font-overline); font-size: 1rem; line-height: 1.5;
}
.form-control .input-text:focus, .form-control .input-textarea:focus { outline: none; box-shadow: 0 0 0 2px var(--accent); }
.form-control .input-text::placeholder, .form-control .input-textarea::placeholder { color: var(--secondary); }
.form-control .input-textarea { min-height: 8.7rem; min-width: 100%; max-width: 100%; resize: vertical; }
.form-control--error .input-text, .form-control--error .input-textarea { box-shadow: 0 0 0 2px var(--danger); }
.form-control__placeholder { position: absolute; top: 0; left: 0; width: 100%; height: 100%; padding: .875rem 1.5rem; pointer-events: none; font-family: var(--font-overline); font-size: 1rem; color: var(--secondary); line-height: 1.5; }
.form-control__placeholder b { font-weight: 700; }
.form-control--filled .form-control__placeholder { display: none; }
.form-control__helper { margin-top: .25rem; font-size: .875rem; }
.form-control__helper--error { color: var(--danger); }
.form-control--white .input-text, .form-control--white .input-textarea { background: #fff; border-color: rgba(236, 235, 230, .5); }
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }
.loader-dots { display: inline-block; width: .625rem; text-align: left; }

/* --- Welcome ------------------------------------------------------------- */
.welcome > .container { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 768px) { .welcome > .container { flex-direction: column-reverse; } }
@media (min-width: 1024px) { .welcome > .container { flex-direction: row-reverse; } }
@media (min-width: 1496px) { .welcome > .container { align-items: center; max-width: 1370px; } }
.welcome picture { flex: none; }
.welcome__text p { margin-top: 2.5rem; }
.welcome__image { width: 100%; height: 360px; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1024px) { .welcome__image { width: 430px; height: 422px; } }
@media (min-width: 1496px) { .welcome__image { width: 527px; height: 592px; } }
.welcome__numbers { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 3rem; text-align: center; }
@media (min-width: 768px) { .welcome__numbers { flex-direction: row; } }
@media (min-width: 1024px) { .welcome__numbers { gap: 4rem; justify-content: center; } }
@media (min-width: 1496px) { .welcome__numbers { justify-content: flex-start; text-align: left; margin-top: 5rem; } }
.welcome__number { flex: 1; }
@media (min-width: 1024px) { .welcome__number { flex: none; } }
.welcome__number-value { font-size: 2.25rem; line-height: 2.5rem; font-weight: 700; color: var(--primary); }
.welcome__number-label { margin-top: .25rem; }

/* --- Advantages / reasons / steps ---------------------------------------- */
.advantages { display: grid; gap: 4rem 2rem; }
@media (min-width: 768px) { .advantages { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .advantages { column-gap: 4rem; } }
@media (min-width: 1496px) { .advantages { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.advantage { text-align: left; }
.advantage__image { display: block; width: 290px; height: 217px; margin: 0 auto 1rem; }
.advantage__title, .reason__title, .step__title { color: var(--primary); font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.advantage__description { margin-top: .75rem; }

.section--reasons .section__container { margin-bottom: 4rem; }
@media (min-width: 768px) { .section--reasons .section__container { display: flex; align-items: center; justify-content: space-between; } }
.section--reasons .section__container .btn { margin-top: 2rem; }
@media (max-width: 767px) { .section--reasons .section__container .btn { padding: .5rem 1rem; font-size: .75rem; line-height: 2; } }
@media (min-width: 768px) { .section--reasons .section__container .btn { margin-top: 0; } }
.reasons { display: grid; gap: 3rem 2rem; }
@media (min-width: 768px) { .reasons { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .reasons { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.reason, .step { display: flex; }
.reason__icon, .step__icon { color: var(--primary); margin-right: 1rem; }
@media (min-width: 1496px) { .reason__icon, .step__icon { margin-right: 1.5rem; } }
.reason__description, .step__description { margin-top: .5rem; }
.step__description a { color: var(--primary); }
.steps { display: grid; gap: 3rem 2rem; text-align: left; }
@media (min-width: 768px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1496px) { .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* --- Subscribe / success / error cards ----------------------------------- */
.subscribe, .section-success, .section-error { display: grid; gap: 4rem 3rem; padding: 6rem 1.5rem; border-radius: var(--radius); }
.subscribe { background: var(--primary); }
.section-success, .section-error { background: var(--sand); color: var(--primary); }
@media (min-width: 1024px) { .subscribe, .section-success, .section-error { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 1.5rem 3rem; } }
@media (min-width: 1496px) { .subscribe, .section-success, .section-error { padding-left: 6rem; padding-right: 1.5rem; } }
.subscribe .section__overline, .subscribe .section__title { color: var(--biege); }
.section-success .section__overline, .section-error .section__overline, .section-success .section__title, .section-error .section__title { color: var(--primary); }
.subscribe__titles, .section-success__titles, .section-error__titles { width: 100%; max-width: 370px; margin: 0 auto; text-align: center; }
@media (min-width: 1024px) { .subscribe__titles, .section-success__titles, .section-error__titles { display: flex; flex-direction: column; justify-content: center; } }
@media (min-width: 1496px) { .subscribe__titles, .section-success__titles, .section-error__titles { max-width: 470px; margin-left: 0; text-align: left; } }
.subscribe__image, .section-success__image, .section-error__image { width: 100%; height: 430px; object-fit: cover; border-radius: var(--radius); }
.subscribe .form { margin-top: 2.5rem; }
.subscribe .btn--block { display: inline-flex; }
.subscribe .btn--inline { display: none; position: absolute; top: 0; right: 0; width: 139px; padding: .75rem 1rem; border-radius: var(--radius); background: var(--sand); color: var(--primary); text-align: center; }
.subscribe .btn--inline:hover, .subscribe .btn--inline:focus { color: var(--primary-900); box-shadow: none; }
.subscribe .btn--inline::before { content: ""; position: absolute; top: .5rem; bottom: .5rem; right: 100%; width: 2px; border-radius: var(--radius); background: var(--secondary); transition: all .2s; }
.subscribe .btn--inline:hover::before { top: .25rem; bottom: .25rem; }
@media (min-width: 1496px) { .subscribe .btn--block { display: none; } .subscribe .btn--inline { display: inline-flex; } }
.section-success__code, .section-error__code { letter-spacing: 3px; text-transform: uppercase; font-size: 3.75rem; line-height: 1; margin-bottom: 1rem; }
.section-success__text { margin: 3rem 0; }
.section-success a, .section-error a { text-decoration: underline; text-underline-position: under; }
.section-success .btn, .section-error .btn { text-decoration: none; margin-top: 2rem; }

/* --- Contacts ------------------------------------------------------------ */
.contacts { padding: 6rem 1.25rem; background: var(--primary); color: #fff; border-radius: var(--radius); }
@media (min-width: 768px) { .contacts { padding-left: 3rem; padding-right: 3rem; } }
@media (min-width: 1024px) { .contacts { margin-bottom: 4rem; } }
@media (min-width: 1496px) { .contacts { padding-left: 8rem; padding-right: 8rem; } }
.contacts__header { font-family: var(--font-serif); font-size: 1.875rem; line-height: 2.25rem; font-weight: 600; }
.contacts__info { display: flex; flex-direction: column; gap: 1.5rem; padding-bottom: 6rem; }
@media (min-width: 768px) { .contacts__info { padding-bottom: 10rem; } }
@media (min-width: 1024px) { .contacts__info { padding-bottom: 0; width: 50%; } }
.contacts__call { border-left: 2px solid var(--secondary); padding-left: 1.5rem; padding-top: .25rem; }
.contacts .section__overline { color: var(--biege); margin-bottom: .5rem; }
.contacts__phone { font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
@media (min-width: 360px) { .contacts__phone { font-size: 1.875rem; line-height: 2.25rem; } }
.contacts__partners { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; align-items: center; }
.contacts__form { position: relative; z-index: 10; width: 100%; max-width: 470px; margin-top: -6rem; padding: 1.5rem; background: var(--biege); border-radius: var(--radius); }
@media (min-width: 768px) { .contacts__form { margin-left: auto; margin-right: auto; margin-top: -10rem; } }
@media (min-width: 1024px) { .contacts__form { position: absolute; top: 6rem; right: 3rem; margin: 0 1.25rem 0 0; width: 370px; } }
@media (min-width: 1496px) { .contacts__form { right: 8rem; width: 470px; } }

/* --- Footer -------------------------------------------------------------- */
.footer .container { display: flex; flex-direction: column; gap: 3rem; }
@media (min-width: 1496px) { .footer .container { flex-direction: row; } }
.footer__contacts { flex: none; display: flex; flex-direction: column; gap: 1.5rem 8rem; text-align: center; font-weight: 600; }
@media (min-width: 1496px) { .footer__contacts { text-align: left; max-width: 350px; } }
.footer__contacts-label { text-transform: uppercase; letter-spacing: .1em; color: var(--secondary); }
.footer__contacts-value { display: block; color: var(--primary); font-size: 1.125rem; font-style: normal; }
.footer__socials { display: flex; gap: 1rem; justify-content: center; }
@media (min-width: 1496px) { .footer__socials { justify-content: flex-start; } }
.footer__socials svg { width: 36px; height: 36px; }
.footer__info { display: flex; flex-direction: column; gap: 1.5rem; }
.footer__terms { font-size: .75rem; line-height: 1rem; }
@media (min-width: 768px) { .footer__terms { font-size: .875rem; line-height: 1.25rem; } }
.footer__bottom { display: flex; flex-direction: column; gap: 1rem; text-align: center; color: var(--primary); font-size: 1.125rem; }
@media (min-width: 768px) { .footer__bottom { flex-direction: row; justify-content: space-between; align-items: center; } }
.nav__list { display: flex; justify-content: center; margin: 0 -1rem; padding: 0; list-style: none; }
.nav__link { display: inline-block; padding: .5rem 1rem; white-space: nowrap; }

/* --- Text pages (terms / privacy) ---------------------------------------- */
.text-block { color: var(--primary); font-size: .875rem; line-height: 1.5; font-variant-numeric: tabular-nums; }
.text-block h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 600; }
.text-block a { text-decoration: underline; text-underline-position: under; }
.text-block .font-bold { font-weight: 700; }
.text-block .text-base { font-size: 1rem; line-height: 1.5rem; }
.text-block .mt-1 { margin-top: .25rem; } .text-block .mt-2 { margin-top: .5rem; } .text-block .mt-4 { margin-top: 1rem; } .text-block .mt-5 { margin-top: 1.25rem; } .text-block .mt-8 { margin-top: 2rem; }
.text-block .ml-6 { margin-left: 1.5rem; } .text-block .ml-8 { margin-left: 2rem; }
.text-block .pl-6 { padding-left: 1.5rem; } .text-block .pl-10 { padding-left: 2.5rem; }
@media (max-width: 767px) { .text-block .ml-6, .text-block .ml-8 { margin-left: .75rem; } .text-block .pl-6, .text-block .pl-10 { padding-left: .75rem; } }

/* --- Modal + offer ------------------------------------------------------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1.25rem .25rem; background: rgba(0, 0, 0, .5); overflow: auto; opacity: 1; transition: opacity .15s ease; }
.modal--hidden { opacity: 0; pointer-events: none; }
.modal__container { min-height: 0; margin: auto; transition: transform .15s ease; }
.modal--hidden .modal__container { transform: translateY(15px); }
.offer { position: relative; display: block; width: 100%; max-width: 670px; flex: none; overflow: hidden; background: var(--sand); border-radius: var(--radius); }
.offer__header { margin-top: -1px; padding: 2rem 1rem; border-radius: var(--radius); background: var(--primary); color: var(--biege); font-weight: 600; }
@media (min-width: 768px) { .offer__header { padding-left: 2rem; padding-right: 2rem; } }
.offer__body { padding: 2rem 1rem; }
@media (min-width: 768px) { .offer__body { padding-left: 2rem; padding-right: 2rem; } }
.offer__locations { display: flex; justify-content: space-between; gap: 1rem; }
.offer__location:last-child { text-align: right; }
.offer__location .section__overline { font-size: .75rem; color: var(--secondary); }
.offer__location-title { font-size: 1.125rem; }
.offer__plane { position: relative; margin: 1rem 0; }
.offer__plane::before { content: ""; position: absolute; top: 50%; left: 0; right: 0; margin-top: -1px; border-bottom: 1px dashed var(--success); }
.offer__plane svg { position: relative; width: 1.5rem; height: 1.5rem; margin: 0 auto; color: var(--success); transform: rotate(90deg); }
.offer__options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
@media (min-width: 768px) { .offer__options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; } }
.offer__option { display: flex; align-items: center; padding: .75rem; border: 1px solid rgba(250, 250, 249, .1); border-radius: var(--radius); background: rgba(250, 250, 249, .1); cursor: pointer; user-select: none; }
.offer__option:first-child { grid-column: span 2; }
@media (min-width: 768px) { .offer__option:first-child { grid-column: span 1; } }
.offer__option:hover, .offer__option--selected { border-color: var(--success); }
.offer__option input { display: none; }
.offer__option-radio { width: .625rem; height: .625rem; margin-right: .75rem; border: 1px solid rgba(250, 250, 249, .5); border-radius: var(--radius); flex: none; }
.offer__option--selected .offer__option-radio { border-color: var(--success); }
.offer__option--selected .offer__option-radio::after { content: ""; display: block; width: .25rem; height: .25rem; margin: .125rem; border-radius: var(--radius); background: var(--success); }
.offer__option-body { margin: 0 auto; }
.offer__option-price { font-size: 1.25rem; }
@media (min-width: 390px) { .offer__option-price { font-size: 1.5rem; } }
.offer__option-price sup { font-size: .75rem; }
.offer__option-title { font-size: .75rem; }
.offer__option:not(.offer__option--selected) .offer__option-price { opacity: .8; }
.offer__option:not(.offer__option--selected) .offer__option-title { opacity: .5; }
.offer__title { margin-bottom: 1.25rem; text-align: center; color: var(--primary); font-family: var(--font-serif); font-size: 1.125rem; font-weight: 600; }
.offer__form { max-width: 436px; margin: 0 auto; gap: .5rem; }
.offer__form .input-text { background: #fff; }
.offer__call { margin: 1.25rem 0; text-align: center; font-size: .75rem; }
.offer__call .btn { display: block; width: fit-content; margin: .5rem auto; color: var(--primary); }
.offer__call-back { font-weight: 600; }
.offer__terms { text-align: center; font-size: .75rem; }
.offer__terms a { color: var(--primary); text-decoration: underline; }
.offer__close { position: absolute; top: .75rem; right: .75rem; z-index: 20; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; color: var(--biege); background: rgba(250, 250, 249, .1); }
.offer__close:hover { background: rgba(250, 250, 249, .25); }
.offer__close svg { width: 1rem; height: 1rem; }
.offer__success { position: absolute; inset: 0; z-index: 10; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 1rem; text-align: center; background: var(--primary); color: #fff; }
@media (min-width: 1496px) { .offer__success { padding: 2rem; } }
.offer__success .section__overline { color: var(--accent); margin-bottom: .75rem; }
.offer__success-title { color: var(--biege); font-family: var(--font-serif); font-size: 1.5rem; font-weight: 600; }
@media (min-width: 390px) { .offer__success-title { font-size: 1.875rem; line-height: 2.25rem; } }
.offer__success-description { margin: 3rem 0; }
.offer__success-description a { color: var(--accent); white-space: nowrap; text-decoration: underline; }
.offer__success-call { display: block; width: fit-content; margin: 0 auto; color: var(--biege); font-weight: 700; }
.offer__features { display: flex; justify-content: center; gap: 2.5rem; padding: 1.25rem 0; color: var(--biege); font-family: var(--font-overline); font-weight: 700; }
@media (min-width: 768px) { .offer__features { gap: 3.5rem; } }
.offer__feature { text-align: left; }
@media (min-width: 768px) { .offer__feature { display: flex; gap: 1.25rem; } }
.offer__feature-icon { display: flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; margin-bottom: .75rem; border-radius: var(--radius); background: var(--primary); color: var(--accent); }
.offer__feature-icon svg { width: 1.25rem; height: 1.25rem; }

/* plane loader (shown while the offer modal is opening) */
.modal__loader { position: absolute; inset: 0; z-index: 60; width: 100%; height: 100%; background: var(--primary); color: var(--biege); animation: plane-splash 2s ease-in forwards; }
.modal__loader-content { position: absolute; left: 50%; top: 0; margin-left: 7px; transform: translate(-50%, 0); }
.modal__loader-content::after { content: ""; position: absolute; left: 50%; margin-left: -8px; bottom: -170px; width: 3px; height: 200px; background: linear-gradient(to bottom, rgba(250, 250, 249, 1) 0%, rgba(250, 250, 249, 1) 50%, rgba(250, 250, 249, 0) 100%); }
.modal__loader-content::before { content: ""; position: absolute; left: 50%; margin-left: 8px; bottom: -190px; width: 3px; height: 200px; background: linear-gradient(to bottom, rgba(0, 0, 0, .1) 0%, rgba(0, 0, 0, .1) 50%, rgba(0, 0, 0, 0) 100%); }
.modal__loader-animation { position: absolute; left: 50%; width: 100px; height: 100%; transform: translate(-50%, 100%); animation: plane-loader 3s linear forwards; }
.modal__loader-shadow { color: #000; }
@keyframes plane-loader { 0% { transform: translate(-50%, 110%); } 30% { transform: translate(-50%, 50%); } 100% { transform: translate(-50%, 0%); } }
@keyframes plane-splash { 0% { transform: translate(0, 0); } 50% { transform: translate(0, 0); } 100% { transform: translate(0, -100%); } }
@media (prefers-reduced-motion: reduce) { .modal__loader { display: none; } .ff { transition: none; } html { scroll-behavior: auto; } }

/* --- addenda -------------------------------------------------------------- */
.relative { position: relative; }
.ff--multicity .ff__search { display: none !important; }

.text-block .mt-10 { margin-top: 2.5rem; }
.text-block .text-gradient { font-weight: 700; }
.ff__dropdown { min-width: min(340px, calc(100vw - 2.5rem)); }
.ff__cell[data-cell="to"] .ff__dropdown { left: auto; right: 0; }
@media (min-width: 1024px) { .ff__cell[data-cell="to"] .ff__dropdown { left: 0; right: auto; } }

/* --- calendar --------------------------------------------------------------- */
.ff__dates-inner { display: flex; flex-direction: column; gap: .5rem; }
@media (min-width: 768px) { .ff__dates-inner { display: grid; grid-template-columns: 1fr 1fr; } .ff--multicity .ff__dates-inner { grid-template-columns: 1fr; } }
.ff__dates .ff__cell[hidden] { display: none !important; }
.ff__toggle--selectable:hover .ff__value--placeholder { background: var(--biege); padding: .5rem; margin: -.5rem; border-radius: var(--radius); box-sizing: content-box; }
.ff__calendar { min-width: fit-content; padding: .5rem; }
.cal { position: relative; padding: .5rem; }
.cal__nav { position: absolute; top: .75rem; left: .75rem; right: .75rem; display: flex; justify-content: space-between; pointer-events: none; }
.cal__arrow { pointer-events: auto; width: 2rem; height: 2rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; color: var(--primary); font-size: 1.25rem; font-weight: 700; line-height: 1; user-select: none; }
.cal__arrow:hover { background: var(--sand); }
.cal__arrow:disabled { opacity: .25; cursor: default; background: none; }
.cal__months { display: flex; justify-content: center; gap: 1.5rem; }
.cal__month { width: fit-content; padding: .5rem 0; }
.cal__header { margin-bottom: 1.25rem; text-align: center; color: var(--primary); font-weight: 700; }
.cal__header span { font-weight: 400; }
.cal__weekdays, .cal__days { display: grid; grid-template-columns: repeat(7, 2rem); }
.cal__weekdays { margin-bottom: .25rem; border-bottom: 1px solid var(--sand); color: var(--primary); text-transform: uppercase; font-size: .75rem; }
.cal__weekdays div { height: 2rem; line-height: 2rem; text-align: center; }
.cal__days { gap: 5px; user-select: none; }
.cal__day { width: 2rem; height: 2rem; line-height: 2rem; border-radius: 3px; text-align: center; font-size: .75rem; font-weight: 700; color: var(--primary); background: rgba(236, 235, 230, .35); cursor: pointer; }
.cal__day--other { visibility: hidden; }
.cal__day--disabled { color: var(--secondary-100); background: transparent; cursor: default; }
.cal__day:not(.cal__day--disabled):hover { background: rgba(59, 77, 66, .7); color: #fff; }
.cal__day--selected, .cal__day--range { background: var(--primary); color: #fff; }
.cal__day--range { opacity: .75; }
.cal__hint { margin-top: .75rem; text-align: center; font-size: .75rem; color: var(--secondary); }
.ff__calendar { left: auto; right: 0; max-width: calc(100vw - 2.5rem); overflow-x: auto; }

/* ==========================================================================
   v2 redesign: warm gold accent, left-aligned hero with a form panel, route cards, stats band, FAQ
   ========================================================================== */
:root { --gold: #c9a96e; --gold-600: #b4915a; --gold-100: #f1e6cf; }
.btn--accent { --btn-bg: var(--gold); --btn-bg-hover: var(--gold-600); --btn-ring: rgba(201, 169, 110, .5); --btn-text: var(--primary-900); }
.section__overline { color: var(--gold-600); }
.section--bg-dark .section__overline, .contacts .section__overline, .subscribe .section__overline, .offer__header .section__overline { color: var(--gold-100); }
.offer__success .section__overline { color: var(--gold); }
.section__head { margin-bottom: 3rem; }
.section__head--center { text-align: center; }
.section__head .section__title::after { content: ""; display: block; width: 3rem; height: 3px; margin-top: 1.25rem; border-radius: 2px; background: var(--gold); }
.section__head--center .section__title::after { margin-left: auto; margin-right: auto; }
.section__lead { max-width: 720px; margin: 1.25rem auto 0; }
.section__head:not(.section__head--center) .section__lead { margin-left: 0; }
.container--narrow { max-width: 860px; }

/* hero */
.hero--v2 { justify-content: flex-start; padding-top: 6.5rem; background: var(--primary-900); }
.hero--v2 .hero__picture img { opacity: .38; }
.hero__inner { width: 100%; display: flex; flex-direction: column; gap: 2rem; margin-top: 1rem; margin-bottom: 3rem; }
@media (min-width: 1024px) { .hero--v2 { padding-top: 8rem; } .hero__inner { gap: 2.5rem; } }
.hero__copy { color: #fff; max-width: 780px; }
.hero__overline { font-family: var(--font-overline); font-weight: 600; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-100); }
.hero__title--left { text-align: left; margin: .75rem 0 1rem; padding: 0; max-width: none; }
@media (min-width: 1024px) { .hero__title--left { font-size: 3.5rem; line-height: 1.1; } }
@media (min-width: 1496px) { .hero__title--left { font-size: 4rem; } }
.hero__sub { max-width: 640px; font-size: 1.0625rem; line-height: 1.6; color: rgba(255, 255, 255, .84); }
@media (min-width: 768px) { .hero__sub { font-size: 1.125rem; } }
.hero__trust { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .875rem; font-weight: 600; color: var(--gold-100); }
.hero__trust li { display: flex; align-items: center; gap: .5rem; }
.hero__trust svg { width: .75rem; height: .5rem; color: var(--gold); }
.hero__panel { position: relative; padding: 1rem .875rem 1.25rem; border: 1px solid rgba(255, 255, 255, .12); border-radius: 1rem; background: rgba(43, 54, 47, .78); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (min-width: 768px) { .hero__panel { padding: 1.25rem 1.5rem 1.5rem; } }
.hero--v2 .ff__params { justify-content: flex-start; margin-left: 0; margin-right: 0; }
.hero--v2 .ff__param-toggle, .hero--v2 .ff__param select { padding-left: .75rem; }
.hero--v2 .hero__form { min-height: 0; }
.hero--v2 .hero__airlines { opacity: .3; }

/* route cards */
.routes { display: grid; gap: 1rem; }
@media (min-width: 768px) { .routes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .routes { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; } }
.route { display: flex; flex-direction: column; align-items: flex-start; gap: .25rem; padding: 1.25rem 1.25rem 1.125rem; border: 1px solid var(--sand); border-radius: var(--radius); background: #fff; text-align: left; color: var(--secondary); transition: transform .2s var(--ease), box-shadow .2s var(--ease), border-color .2s; }
.route:hover, .route:focus-visible { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--gold); outline: none; }
.route__cities { display: flex; align-items: center; gap: .5rem; font-family: var(--font-serif); font-weight: 600; font-size: 1.25rem; color: var(--primary); }
.route__plane { width: 1rem; height: 1rem; color: var(--gold); transform: rotate(90deg); flex: none; }
.route__meta { font-family: var(--font-overline); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; }
.route__price { margin-top: .75rem; font-size: 1.5rem; font-weight: 700; color: var(--primary); }
.route__alt { font-size: .8125rem; }
.routes__note { margin-top: 1.5rem; text-align: center; font-size: .8125rem; }

/* stats band */
.stats { background: var(--primary-900); color: #fff; padding: 3rem 0; }
.stats__grid { display: grid; gap: 2rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); text-align: center; }
@media (min-width: 1024px) { .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stat__value { font-family: var(--font-serif); font-size: 2.25rem; line-height: 1.1; font-weight: 600; color: var(--gold); }
.stat__label { margin-top: .5rem; font-size: .9375rem; color: rgba(255, 255, 255, .8); }

/* steps + advantages as cards */
.steps--v2 .step { padding: 1.5rem; border-radius: var(--radius); background: var(--biege); }
.steps--v2 .step__icon { color: var(--gold-600); }
.advantage--card { padding: 1.5rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--sand); }
.advantage--card .advantage__image { width: 100%; height: auto; max-width: 240px; }

/* faq */
.faq { display: flex; flex-direction: column; gap: .75rem; }
.faq__item { border: 1px solid var(--sand); border-radius: var(--radius); background: #fff; }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.125rem 3rem 1.125rem 1.5rem; position: relative; font-weight: 600; color: var(--primary); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); width: 1.75rem; height: 1.75rem; display: flex; align-items: center; justify-content: center; border-radius: 9999px; background: var(--biege); color: var(--gold-600); font-size: 1.25rem; font-weight: 400; }
.faq__item[open] summary::after { content: "–"; }
.faq__item[open] summary { border-bottom: 1px solid var(--sand); }
.faq__body { padding: 1rem 1.5rem 1.375rem; }

/* subscribe tweaks */
.subscribe__text { margin-top: 1.25rem; color: rgba(255, 255, 255, .8); }
.subscribe .form { margin-top: 1.5rem; }
.route__cities { flex-wrap: wrap; row-gap: .125rem; font-size: 1.125rem; }
.route__cities > span { white-space: nowrap; }
@media (min-width: 1496px) { .route__cities { font-size: 1.25rem; } }
@media (max-width: 767px) { .ff__dropdown, .ff__cell[data-cell="to"] .ff__dropdown { left: 0; right: 0; min-width: 0; max-width: none; } }

/* --- trip type toggle + params row (and the passengers popover above the fields) --- */
.ff__top { position: relative; z-index: 5; display: flex; flex-direction: column; gap: .75rem; margin-bottom: .75rem; }
@media (min-width: 768px) { .ff__top { flex-direction: row; align-items: center; justify-content: space-between; } }
.ff__types { display: flex; gap: .25rem; padding: .25rem; border-radius: 9999px; background: rgba(255, 255, 255, .1); }
@media (min-width: 768px) { .ff__types { display: inline-flex; } }
.ff__type { position: relative; flex: 1; }
@media (min-width: 768px) { .ff__type { flex: none; } }
.ff__type input { position: absolute; opacity: 0; width: 0; height: 0; }
.ff__type span { display: block; padding: .5rem .5rem; border-radius: 9999px; text-align: center; font-size: .8125rem; font-weight: 600; color: rgba(255, 255, 255, .8); cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; user-select: none; }
@media (min-width: 768px) { .ff__type span { padding: .5rem 1rem; font-size: .875rem; } }
.ff__type:hover span { color: #fff; }
.ff__type input:checked + span { background: var(--gold); color: var(--primary-900); }
.ff__type input:focus-visible + span { box-shadow: 0 0 0 2px rgba(201, 169, 110, .6); }
.ff__top .ff__params { margin: 0; justify-content: flex-start; }
.ff__param--open { z-index: 40; }
.ff__pax-pop { z-index: 40; }
.cal__oneway { display: block; margin: .75rem auto 0; padding: .375rem .875rem; border: 1px solid var(--sand); border-radius: 9999px; background: #fff; font-size: .75rem; font-weight: 600; color: var(--primary); }
.cal__oneway:hover { border-color: var(--gold); }
@media (max-width: 767px) { #ff-pax .ff__pax-pop { left: auto; right: 0; } }
.hero--v2 { z-index: 2; } /* popovers (calendar, airport list) may extend below the hero and must stay above the next section */
