/* =====================================================================
   AERO DEALS — Design System
   Concept: airport departure board + boarding-pass ticket stub.
   Deep aviation navy, split-flap amber, ticket-paper light sections.
   ===================================================================== */

/* ===== Reset & Base ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Work Sans', 'Segoe UI', sans-serif;
    line-height: 1.65;
    color: var(--ink);
    background: var(--paper);
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== Tokens ===== */
:root {
    --ink: #0B1E33;         /* deep aviation navy */
    --ink-soft: #14304F;    /* panel navy */
    --ink-2: #1C3A5E;
    --amber: #FFB627;       /* split-flap amber — signature accent */
    --amber-dark: #E89A0C;
    --sky: #3FA9E0;         /* secondary accent */
    --coral: #FF6A4D;       /* urgency / deal badges */
    --paper: #F6F3EC;       /* boarding-pass paper */
    --paper-line: #E4DECD;
    --muted: #5C7089;       /* muted navy-gray text */
    --white: #FFFFFF;
    --notch: var(--paper);  /* punched-hole color, overridden per section */
    --font-display: 'Archivo', 'Segoe UI', sans-serif;
    --font-mono: 'IBM Plex Mono', 'Consolas', monospace;
    --font-body: 'Work Sans', 'Segoe UI', sans-serif;
}

::selection { background: var(--amber); color: var(--ink); }

/* ===== Utility: perforated / dashed rule ===== */
.dash-rule {
    border: none;
    border-top: 2px dashed var(--paper-line);
    margin: 0;
}

/* ===== Top Info Strip (airport signage ticker) ===== */
.top-bar {
    background: var(--ink);
    color: var(--white);
    padding: 9px 0;
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid rgba(255,182,39,0.25);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar .info span { margin-right: 20px; color: #B9C6D8; }
.top-bar .toll-free { display: flex; align-items: center; }
.top-bar .toll-free a {
    background: var(--amber);
    padding: 6px 16px;
    border-radius: 3px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: 0.03em;
}

/* Language dropdown */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 16px;
}
.lang-switcher select {
    background: rgba(255,255,255,0.08);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 5px 26px 5px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-mono);
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path fill='white' d='M5 7L1 3h8z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 8px center;
}
.lang-switcher select option { background: var(--ink); color: #fff; }
@media (max-width: 768px) { .lang-switcher { margin-left: 0; margin-top: 4px; } }

/* ===== Header / Navigation (gate signage) ===== */
header {
    background: var(--white);
    border-bottom: 1px solid var(--paper-line);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}
.logo {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 900;
    color: var(--ink);
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
}
.logo-icon {
    background: var(--amber);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ink);
    font-size: 18px;
    transform: rotate(-45deg);
    flex-shrink: 0;
}
.logo span { color: var(--sky); }
nav ul { list-style: none; display: flex; gap: 6px; align-items: center; }
nav ul li { position: relative; }
nav ul li > a {
    color: var(--ink);
    font-weight: 600;
    padding: 10px 14px;
    display: inline-block;
    font-size: 14px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border-radius: 3px;
    transition: background 0.2s, color 0.2s;
}
nav ul li > a:hover { background: var(--ink); color: var(--amber); }
nav ul li.dropdown > a::after { content: ' ▾'; font-size: 10px; }
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--ink);
    min-width: 230px;
    border-radius: 4px;
    padding: 8px 0;
    box-shadow: 0 14px 30px rgba(11,30,51,0.28);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-menu li a {
    display: block;
    padding: 11px 18px;
    font-size: 13px;
    color: #C7D3E2;
    text-transform: none;
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 0;
}
.dropdown-menu li a:hover { background: rgba(255,182,39,0.1); color: var(--amber); }
.menu-toggle { display: none; font-size: 24px; cursor: pointer; background: none; border: none; color: var(--ink); }

nav ul li a.btn {
    background: var(--coral);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 3px;
}
nav ul li a.btn:hover { background: var(--ink); color: var(--amber); }

/* ===== Buttons ===== */
.btn {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 13px 30px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    transition: all 0.25s;
    display: inline-block;
}
.btn:hover { background: var(--ink); color: var(--amber); transform: translateY(-2px); }
.btn-primary { background: var(--sky); }
.btn-primary:hover { background: var(--ink); color: var(--sky); }
.btn-search {
    margin-top: 20px;
    width: 100%;
    padding: 17px;
    font-size: 15px;
    background: var(--amber);
    color: var(--ink);
}
.btn-search:hover { background: var(--ink); color: var(--amber); }

/* ===== Hero — boarding pass search ===== */
.hero {
    background:
        radial-gradient(ellipse at 15% 20%, rgba(63,169,224,0.18), transparent 45%),
        repeating-linear-gradient(115deg, rgba(255,182,39,0.05) 0px, rgba(255,182,39,0.05) 1px, transparent 1px, transparent 90px),
        var(--ink);
    color: var(--white);
    padding: 76px 0 0;
    text-align: center;
    position: relative;
}
.hero .eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    display: inline-block;
    margin-bottom: 16px;
    border: 1px dashed rgba(255,182,39,0.5);
    padding: 6px 14px;
    border-radius: 20px;
}
.hero h1 {
    font-family: var(--font-display);
    font-size: 48px;
    margin-bottom: 16px;
    font-weight: 900;
    letter-spacing: -0.01em;
    line-height: 1.08;
}
.hero p {
    font-size: 18px;
    margin-bottom: 8px;
    opacity: 0.85;
    max-width: 620px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Departure board ticker */
.board-ticker {
    margin-top: 40px;
    background: #071523;
    border-top: 1px solid rgba(255,182,39,0.25);
    border-bottom: 1px solid rgba(255,182,39,0.25);
    overflow: hidden;
    white-space: nowrap;
    padding: 12px 0;
}
.board-ticker__track {
    display: inline-flex;
    animation: ticker-scroll 32s linear infinite;
}
.board-ticker__item {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--amber);
    padding: 0 32px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border-right: 1px dashed rgba(255,182,39,0.25);
}
.board-ticker__item b { color: #fff; font-weight: 600; }
.board-ticker__item span.px { color: var(--sky); font-weight: 700; }
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
    .board-ticker__track { animation: none; }
}

/* Boarding-pass style form */
.flight-form {
    background: var(--white);
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.35);
    max-width: 1080px;
    margin: 44px auto 0;
    color: var(--ink);
    text-align: left;
    position: relative;
    overflow: hidden;
}
.flight-form__stub {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--ink);
    color: var(--white);
    padding: 18px 32px;
}
.flight-form__stub h3 {
    font-family: var(--font-display);
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.flight-form__stub .tag {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--amber);
    border: 1px dashed rgba(255,182,39,0.5);
    padding: 4px 10px;
    border-radius: 14px;
}
.flight-form__body { padding: 30px 32px 34px; position: relative; }
/* perforation between stub and body, with punched notches */
.flight-form__body::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    border-top: 2px dashed #D8DEE7;
}
.flight-form__body::after,
.flight-form__stub .notch-l,
.flight-form__stub .notch-r { content: none; }

.trip-type {
    margin-bottom: 22px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}
.trip-type label {
    font-weight: 600;
    font-size: 13px;
    font-family: var(--font-mono);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    color: var(--muted);
}
.trip-type input[type="radio"] { accent-color: var(--coral); }
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}
.form-grid label {
    display: block;
    font-size: 11px;
    color: var(--muted);
    margin-bottom: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: var(--font-mono);
}
.form-grid input, .form-grid select {
    width: 100%;
    padding: 12px 13px;
    border: 2px solid #E4E9EF;
    border-radius: 6px;
    font-size: 14px;
    font-family: var(--font-body);
    color: var(--ink);
    transition: border-color 0.2s;
    background: var(--white);
}
.form-grid input:focus, .form-grid select:focus {
    outline: none;
    border-color: var(--sky);
}

/* ===== Sections ===== */
section { padding: 76px 0; --notch: var(--paper); }
section.section-white { background: var(--white); --notch: var(--white); }
section.section-light { background: var(--paper); --notch: var(--paper); }

.section-title { text-align: center; margin-bottom: 48px; }
.section-title .eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 10px;
}
.section-title h2 {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--ink);
    margin-bottom: 10px;
    font-weight: 900;
}
.section-title h2 span { color: var(--sky); }
.section-title p { color: var(--muted); font-size: 15px; }

/* ===== Deal Cards — boarding pass ticket stub ===== */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.deal-card {
    background: var(--white);
    border-radius: 12px;
    overflow: visible;
    box-shadow: 0 6px 20px rgba(11,30,51,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
}
.deal-card:hover { transform: translateY(-6px); box-shadow: 0 18px 34px rgba(11,30,51,0.16); }
.deal-card .img-wrap { position: relative; overflow: hidden; height: 190px; border-radius: 12px 12px 0 0; }
.deal-card img { height: 100%; width: 100%; object-fit: cover; transition: transform 0.5s; }
.deal-card:hover img { transform: scale(1.06); }
.deal-card .badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--coral);
    color: #fff;
    padding: 5px 12px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 700;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    z-index: 2;
    transform: rotate(-2deg);
}
/* perforation strip with punched notches */
.deal-card .perf {
    position: relative;
    border-top: 2px dashed #DDE3EA;
    margin: 0 18px;
}
.deal-card .perf::before,
.deal-card .perf::after {
    content: '';
    position: absolute;
    top: -8px;
    width: 16px;
    height: 16px;
    background: var(--notch);
    border-radius: 50%;
}
.deal-card .perf::before { left: -26px; }
.deal-card .perf::after { right: -26px; }

.deal-info { padding: 18px 22px 22px; }
.deal-info h3 { font-family: var(--font-display); color: var(--ink); margin-bottom: 8px; font-size: 20px; font-weight: 800; }
.deal-info .route {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}
.deal-info .price {
    font-family: var(--font-mono);
    font-size: 26px;
    color: var(--ink);
    font-weight: 700;
    margin-bottom: 16px;
}
.deal-info .price span.currency-tag { color: var(--coral); font-size: 14px; font-weight: 600; margin-right: 4px; text-transform: uppercase; }
.deal-info .price small { font-size: 12px; color: var(--muted); font-weight: 500; font-family: var(--font-body); display: block; margin-top: 2px; }
.deal-info .btn { font-size: 12px; padding: 11px 22px; width: 100%; text-align: center; }

/* ===== Exclusive Deals Banner ===== */
.exclusive {
    background: var(--ink);
    color: #fff;
    padding: 64px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.exclusive::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(135deg, rgba(255,182,39,0.05) 0 2px, transparent 2px 26px);
}
.exclusive h2 {
    font-family: var(--font-display);
    font-size: 34px;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    font-weight: 900;
}
.exclusive p {
    font-size: 17px;
    margin-bottom: 26px;
    color: #B9C6D8;
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}
.exclusive .btn { background: var(--amber); color: var(--ink); position: relative; z-index: 1; }
.exclusive .btn:hover { background: #fff; color: var(--ink); }

/* ===== Why Choose Us — info-field style ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 2px;
    background: var(--paper-line);
    border: 1px solid var(--paper-line);
    border-radius: 12px;
    overflow: hidden;
}
.feature {
    text-align: left;
    padding: 32px 26px;
    background: var(--white);
    transition: background 0.25s;
}
.feature:hover { background: #FFF8E9; }
.feature .icon {
    width: 44px;
    height: 44px;
    margin-bottom: 16px;
    background: var(--ink);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--amber);
}
.feature .label {
    font-family: var(--font-mono);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--coral);
    display: block;
    margin-bottom: 8px;
}
.feature h3 { font-family: var(--font-display); color: var(--ink); margin-bottom: 8px; font-size: 17px; font-weight: 800; }
.feature p { color: var(--muted); font-size: 14px; }

/* ===== Page Banner (sub-pages) ===== */
.page-banner {
    background:
        repeating-linear-gradient(115deg, rgba(255,182,39,0.06) 0px, rgba(255,182,39,0.06) 1px, transparent 1px, transparent 90px),
        var(--ink);
    color: #fff;
    padding: 62px 0 54px;
    text-align: center;
}
.page-banner .eyebrow {
    font-family: var(--font-mono);
    font-size: 11px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--amber);
}
.page-banner h1 { font-family: var(--font-display); font-size: 36px; margin: 10px 0 12px; font-weight: 900; }
.breadcrumb { font-size: 13px; color: #B9C6D8; font-family: var(--font-mono); }
.breadcrumb a { color: var(--amber); }
.breadcrumb a:hover { color: #fff; }

/* ===== Content / Policy Pages ===== */
.content-page {
    background: var(--white);
    padding: 52px 48px;
    margin: 46px auto;
    max-width: 980px;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(11,30,51,0.06);
    border-top: 4px solid var(--amber);
}
.content-page h2 {
    font-family: var(--font-display);
    color: var(--ink);
    margin-top: 34px;
    margin-bottom: 16px;
    font-size: 23px;
    font-weight: 800;
    padding-bottom: 10px;
    border-bottom: 2px dashed var(--paper-line);
}
.content-page h2:first-child { margin-top: 0; }
.content-page h3 {
    color: var(--sky);
    margin-top: 26px;
    margin-bottom: 12px;
    font-size: 17px;
    font-family: var(--font-display);
    font-weight: 700;
}
.content-page p { margin-bottom: 15px; color: #445266; font-size: 15px; }
.content-page ul, .content-page ol { margin-left: 22px; margin-bottom: 18px; }
.content-page ul li, .content-page ol li { margin-bottom: 9px; color: #445266; padding-left: 4px; }
.content-page ol { counter-reset: step; list-style: none; margin-left: 0; }
.content-page ol li {
    counter-increment: step;
    position: relative;
    padding-left: 40px;
    margin-bottom: 14px;
}
.content-page ol li::before {
    content: counter(step);
    position: absolute;
    left: 0;
    top: -1px;
    width: 26px;
    height: 26px;
    background: var(--amber);
    color: var(--ink);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 12px;
}
.content-page a { color: var(--sky); text-decoration: underline; font-weight: 600; }
.content-page a:hover { color: var(--coral); }

.disclaimer-box {
    background: #FFF8E9;
    border-left: 4px solid var(--amber);
    padding: 18px 22px;
    margin: 22px 0;
    border-radius: 0 8px 8px 0;
}
.disclaimer-box strong { color: var(--ink); }

/* ===== Footer — gate directory board ===== */
footer { background: var(--ink); color: #fff; padding: 58px 0 0; }
.footer-disclaimer {
    background: rgba(255,255,255,0.04);
    padding: 22px;
    border-radius: 10px;
    margin-bottom: 28px;
    font-size: 12.5px;
    color: #93A4BA;
    line-height: 1.8;
    border-left: 3px solid var(--coral);
}
.footer-disclaimer strong { color: var(--amber); }
.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 36px;
    margin-bottom: 36px;
}
.footer-col h4 {
    margin-bottom: 18px;
    color: var(--amber);
    font-family: var(--font-mono);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding-bottom: 10px;
    border-bottom: 1px dashed rgba(255,182,39,0.3);
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #93A4BA; font-size: 14px; transition: all 0.2s; }
.footer-col ul li a:hover { color: var(--amber); padding-left: 4px; }
.footer-col p { color: #93A4BA; font-size: 14px; line-height: 1.8; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 22px 0;
    text-align: center;
    font-size: 13px;
    color: #7C8DA4;
    font-family: var(--font-mono);
}

/* ===== Toast ===== */
.aero-toast {
    position: fixed;
    top: 24px;
    right: 24px;
    max-width: 380px;
    background: var(--ink);
    color: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.3);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    z-index: 9999;
    transform: translateX(420px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), opacity 0.4s ease;
    font-family: var(--font-body);
    border-left: 4px solid var(--amber);
}
.aero-toast.show { transform: translateX(0); opacity: 1; }
.aero-toast .toast-icon { font-size: 22px; line-height: 1; flex-shrink: 0; }
.aero-toast .toast-content h4 { margin: 0 0 4px; font-size: 14px; font-weight: 700; }
.aero-toast .toast-content p { margin: 0; font-size: 13px; opacity: 0.85; line-height: 1.4; }
.aero-toast .toast-close { background: none; border: none; color: #fff; opacity: 0.6; font-size: 18px; cursor: pointer; line-height: 1; padding: 0; margin-left: auto; flex-shrink: 0; }
.aero-toast .toast-close:hover { opacity: 1; }
.aero-toast .toast-progress { position: absolute; bottom: 0; left: 0; height: 3px; background: var(--amber); border-radius: 0 0 0 10px; animation: toastProgress 5s linear forwards; }
@keyframes toastProgress { from { width: 100%; } to { width: 0%; } }
@media (max-width: 480px) {
    .aero-toast { right: 12px; left: 12px; max-width: none; transform: translateY(-100px); }
    .aero-toast.show { transform: translateY(0); }
}

/* ===== Scroll reveal ===== */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}

/* ===== Focus visibility ===== */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible {
    outline: 2px solid var(--sky);
    outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .menu-toggle { display: block; }
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
        gap: 4px;
        box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    }
    nav ul.active { display: flex; }
    .dropdown-menu { position: static; box-shadow: none; padding-left: 14px; background: transparent; }
    .dropdown-menu li a { color: var(--muted); }
    .hero h1 { font-size: 30px; }
    .hero p { font-size: 15px; }
    .flight-form__stub { padding: 16px 20px; }
    .flight-form__body { padding: 24px 20px 28px; }
    .top-bar .container { justify-content: center; text-align: center; }
    .content-page { padding: 34px 22px; }
    .section-title h2 { font-size: 25px; }
    .exclusive h2 { font-size: 26px; }
    .deal-card .perf::before { left: -8px; }
    .deal-card .perf::after { right: -8px; }
}