:root {
    --navy: #241128;
    --navy-light: #3a1638;
    --gold: #b3124f;
    --gold-light: #e1487a;
    --accent: #b3124f;
    --accent-dark: #7c0f3c;
    --accent-light: #e1487a;
    --text-dark: #1c1c1c;
    --text-muted: #6b7280;
    --border: #e0e3e8;
    --bg: #f5f6f8;
    --white: #ffffff;
    --danger: #c0392b;
    --radius: 10px;
    --shadow: 0 10px 30px rgba(36, 17, 40, 0.16);
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text-dark);
}

a { color: inherit; text-decoration: none; }

/* Icon utility */
.icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Promo ticker */
.promo-ticker {
    background: var(--accent);
    color: var(--white);
    overflow: hidden;
    white-space: nowrap;
}
.promo-ticker-track {
    display: inline-flex;
    animation: ticker-scroll 26s linear infinite;
    will-change: transform;
}
.promo-ticker-track span {
    padding: 8px 26px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-right: 1px solid rgba(255,255,255,0.35);
    white-space: nowrap;
}
@keyframes ticker-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* Floating action buttons */
.floating-actions {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 200;
    opacity: 1;
    transition: opacity 0.2s ease;
}
.floating-actions.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
    border: none;
    cursor: pointer;
}
.floating-btn:hover { background: var(--accent-dark); }
.floating-call { background: var(--navy); }
.floating-call:hover { background: var(--navy-light); }
.floating-whatsapp { background: #25D366; }
.floating-whatsapp:hover { background: #1ebe5b; }

.chat-tooltip {
    position: fixed;
    bottom: 90px;
    right: 24px;
    max-width: 240px;
    background: var(--white);
    color: var(--text-dark);
    padding: 14px 30px 14px 16px;
    border-radius: 10px;
    box-shadow: var(--shadow);
    font-size: 13px;
    line-height: 1.5;
    z-index: 200;
}
.chat-tooltip a { color: var(--accent); font-weight: 700; }
.chat-tooltip.hidden { display: none; }
.chat-tooltip-close {
    position: absolute;
    top: 6px;
    right: 10px;
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    color: var(--text-muted);
}

/* Cookie consent popup */
.cookie-consent {
    position: fixed;
    left: 20px;
    bottom: 20px;
    max-width: 380px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 20px;
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.cookie-consent.hidden { display: none; }
.cookie-consent-text strong { display: block; font-size: 14px; color: var(--text-dark); margin-bottom: 6px; }
.cookie-consent-text p { margin: 0; font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.cookie-consent-text a { color: var(--accent); font-weight: 600; }
.cookie-consent-actions { display: flex; gap: 10px; justify-content: flex-end; }
.cookie-btn {
    border: none;
    border-radius: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
}
.cookie-decline { background: var(--bg); color: var(--text-dark); border: 1px solid var(--border); }
.cookie-decline:hover { background: #e9ebee; }
.cookie-accept { background: var(--accent); color: var(--white); }
.cookie-accept:hover { background: var(--accent-dark); }

@media (max-width: 560px) {
    .cookie-consent { left: 12px; right: 12px; bottom: 12px; max-width: none; }
}

/* Header */
.site-header {
    background: var(--navy);
    color: var(--white);
    padding: 18px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 30;
}

.page-home .site-header {
    position: absolute;
    top: 34px;
    left: 0;
    right: 0;
    background: transparent;
}

.header-right { display: flex; align-items: center; gap: 16px; }

.header-phone { display: flex; align-items: center; gap: 12px; }
.header-call-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.brand span { color: var(--gold-light); }

.site-nav a {
    color: #d7ddea;
    margin-left: 24px;
    font-size: 14px;
    white-space: nowrap;
}

.site-nav a:hover { color: var(--gold-light); }

.header-phone-text { display: flex; flex-direction: column; text-align: right; font-size: 13px; }
.header-phone-label { display: block; color: #c7b8cc; font-size: 11px; }
.header-phone a { color: var(--accent-light); font-weight: 700; font-size: 15px; }

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
    color: var(--white);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
}

@media (max-width: 800px) {
    .site-header {
        padding: 14px 18px;
        position: relative;
    }
    .page-home .site-header { position: relative; background: var(--navy); }

    .nav-toggle { display: flex; }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--navy-light);
        flex-direction: column;
        padding: 8px 18px 16px;
        box-shadow: var(--shadow);
        z-index: 40;
    }
    .site-nav.open { display: flex; }
    .site-nav a {
        margin: 0;
        padding: 12px 4px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        font-size: 15px;
    }
    .site-nav a:last-child { border-bottom: none; }

    .header-phone-text { display: none; }

    /* Header is no longer an absolute overlay at this width, so the hero
       doesn't need extra top padding to clear it. */
    .page-home .hero { padding-top: 50px; }
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden;
    background: var(--navy);
    padding: 190px 20px 110px;
    text-align: center;
    color: var(--white);
}

.hero-illustration {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(19,10,34,0.35) 0%, rgba(19,10,34,0.15) 40%, rgba(5,3,8,0.75) 100%);
    z-index: 1;
}

.hero-inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 14px;
}

.hero-heading {
    font-size: 42px;
    margin: 0 0 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(4px);
    padding: 8px 20px;
    border-radius: 999px;
    color: var(--white);
}

.hero-pill .icon { color: var(--accent-light); }
#hero-pill-text { transition: opacity 0.2s ease; display: inline-block; }

.hero-sub {
    margin: 0 0 30px;
    color: #e6d9e8;
    font-size: 16px;
}

/* Trip type tabs (sit on the hero image) */
.trip-type {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 0 0 28px;
}

.trip-type label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: rgba(255,255,255,0.65);
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 2px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}

.trip-type label.active { color: var(--white); border-bottom-color: var(--accent-light); }
.trip-type input[type="radio"] { display: none; }

/* Search pill section (overlaps hero bottom edge) */
.search-pill-section {
    max-width: 1080px;
    margin: -34px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.search-pill {
    background: var(--white);
    border-radius: 999px;
    box-shadow: var(--shadow);
    padding: 8px 8px 8px 22px;
    display: flex;
    align-items: center;
    gap: 2px;
}

.pill-field {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    flex: 1 1 120px;
    min-width: 0;
    position: relative;
}

.pill-airport { flex: 1.6 1 150px; }
.pill-date { flex: 1 1 115px; }
.pill-field.passenger-field { flex: 1 1 150px; }

.pill-field > .icon { color: var(--accent); }

.pill-field-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; position: relative; }

.pill-field-text label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    white-space: nowrap;
}

.pill-field-text input[type="text"] {
    border: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    background: transparent;
    font-family: inherit;
}
.pill-field-text input:focus { outline: none; }

/* Custom date picker */
.date-display {
    display: block;
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    width: 100%;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.date-display.placeholder { color: var(--text-muted); font-weight: 600; }
.date-display:focus { outline: none; }

.date-picker {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 280px;
    max-width: calc(100vw - 40px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: var(--shadow);
    padding: 14px;
    z-index: 70;
}
.date-picker.open { display: block; }

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}
.date-picker-header .dp-title { font-size: 14px; font-weight: 700; color: var(--text-dark); }

.date-picker-nav {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    line-height: 1;
    padding: 0;
}
.date-picker-nav:hover:not(:disabled) { background: var(--bg); }
.date-picker-nav:disabled { opacity: 0.3; cursor: not-allowed; }

.date-picker-weekdays,
.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    text-align: center;
}

.date-picker-weekdays span {
    font-size: 10px;
    font-weight: 700;
    color: var(--text-muted);
    padding: 4px 0;
    text-transform: uppercase;
}

.date-picker-days button {
    aspect-ratio: 1;
    border: none;
    background: none;
    border-radius: 50%;
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 0;
}
.date-picker-days button:hover:not(:disabled) { background: #f1f4fa; }
.date-picker-days button:disabled { color: #cbd0d8; cursor: not-allowed; }
.date-picker-days button.dp-empty { visibility: hidden; cursor: default; }
.date-picker-days button.dp-today::after {
    content: "";
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--accent);
}
.date-picker-days button.dp-selected { background: var(--accent); color: var(--white); font-weight: 700; }
.date-picker-days button.dp-selected.dp-today::after { background: var(--white); }

.pill-divider { width: 1px; align-self: stretch; margin: 6px 2px; background: var(--border); flex-shrink: 0; }

.pill-swap {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--accent);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.15s ease, background 0.15s ease;
}
.pill-swap:hover { background: var(--bg); transform: rotate(180deg); }

.pill-search-btn {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 4px;
    transition: background 0.15s ease;
}
.pill-search-btn:hover { background: var(--accent-dark); }

/* Passenger + submit group: rendered inline inside the pill by default,
   moved into the multi-city card (as a normal row) via JS + .pill-tail-block */
.pill-tail { display: contents; }

.pill-tail-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}
.pill-tail-block .pill-divider { display: none; }
.pill-tail-block .passenger-field { flex: 1; }
.pill-tail-block .pill-search-btn {
    width: auto;
    height: auto;
    border-radius: 8px;
    padding: 14px 26px;
    gap: 8px;
}
.pill-tail-block .pill-search-btn::after { content: "Search Flights"; font-size: 14px; font-weight: 700; }

/* Old rectangular search card, kept for the multi-city expanded form */
.search-card {
    max-width: 1080px;
    margin: 20px auto 0;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px 22px 22px;
}

.search-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    position: relative;
    flex: 1 1 160px;
    min-width: 150px;
}

.field-airport { flex: 1.3 1 200px; }
.field-date { flex: 1 1 150px; }
.field-passenger { flex: 1 1 190px; }
.field-submit { flex: 0 0 auto; align-self: end; }

.field label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
}

.field input[type="text"],
.field input[type="date"],
.field select {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 12px;
    font-size: 15px;
    width: 100%;
    background: var(--white);
    color: var(--text-dark);
    font-family: inherit;
}

.field input:focus,
.field select:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(11, 31, 58, 0.1);
}

.swap-btn {
    align-self: center;
    justify-self: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 16px;
    color: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease, background 0.15s ease;
}

.swap-btn:hover { background: var(--bg); transform: rotate(180deg); }

.search-btn {
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    padding: 13px 26px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.15s ease;
}

.search-btn:hover { background: var(--gold-light); }

/* Autocomplete dropdown */
.autocomplete-list {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    max-height: 280px;
    overflow-y: auto;
    z-index: 50;
    display: none;
}

.autocomplete-list.open { display: block; }

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #f0f1f4;
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover,
.autocomplete-item.active { background: #f1f4fa; }

.autocomplete-item .ac-main {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.autocomplete-item .ac-sub {
    font-size: 12px;
    color: var(--text-muted);
}

.autocomplete-item .ac-code {
    font-size: 12px;
    font-weight: 700;
    color: var(--navy);
    background: #eef1f7;
    border-radius: 5px;
    padding: 2px 6px;
}

.autocomplete-empty {
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-muted);
}

/* Multi-city */
.multi-city-segments { display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }

.segment-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: end;
    background: var(--bg);
    padding: 12px;
    border-radius: 8px;
}

.remove-segment {
    background: none;
    border: 1px solid var(--border);
    color: var(--danger);
    border-radius: 8px;
    padding: 12px 14px;
    cursor: pointer;
    font-size: 13px;
    height: 46px;
}

.add-segment-btn {
    align-self: flex-start;
    background: none;
    border: 1px dashed var(--navy);
    color: var(--navy);
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.add-segment-btn:hover { background: #eef1f7; }

.form-error {
    color: var(--danger);
    font-size: 13px;
    margin: 4px 0 0;
    min-height: 18px;
}

.hidden { display: none !important; }

/* Passenger popover */
.passenger-field { position: relative; }

.passenger-summary {
    border: none;
    padding: 0;
    margin: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-dark);
    background: transparent;
    cursor: pointer;
    text-align: left;
    width: 100%;
    font-family: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.passenger-summary:focus { outline: none; }

.passenger-popover {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    width: 260px;
    max-width: calc(100vw - 40px);
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: var(--shadow);
    padding: 14px;
    z-index: 60;
    display: none;
}

.passenger-popover.open { display: block; }

.passenger-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 0;
}

.passenger-row .p-label { font-size: 14px; font-weight: 600; }
.passenger-row .p-sub { font-size: 12px; color: var(--text-muted); display: block; }

.stepper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stepper button {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--white);
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
}

.stepper button:disabled { opacity: 0.4; cursor: not-allowed; }

.passenger-done {
    width: 100%;
    margin-top: 10px;
    background: var(--navy);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-weight: 600;
    cursor: pointer;
}

/* Trust strip */
.trust-strip {
    max-width: 1040px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.trust-item {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    max-width: 200px;
}

.trust-item strong { display: block; color: var(--text-dark); font-size: 15px; margin-bottom: 4px; }

/* Results page */
.results-wrap {
    max-width: 960px;
    margin: 30px auto 60px;
    padding: 0 20px;
}

.results-summary {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 22px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.results-summary .route {
    font-size: 18px;
    font-weight: 700;
}

.results-summary .meta {
    font-size: 13px;
    color: var(--text-muted);
}

.modify-search-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
}

.segment-heading {
    font-size: 15px;
    font-weight: 700;
    margin: 24px 0 12px;
    color: var(--navy);
}

.flight-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 18px 22px;
    margin-bottom: 14px;
    display: grid;
    grid-template-columns: auto 1fr auto auto;
    gap: 20px;
    align-items: center;
}

.airline-block { min-width: 130px; }
.airline-block .airline-name { font-weight: 700; font-size: 14px; }
.airline-block .flight-num { font-size: 12px; color: var(--text-muted); }

.route-block { display: flex; align-items: center; gap: 14px; }

.route-block .time-block { text-align: center; }
.route-block .time { font-size: 20px; font-weight: 700; }
.route-block .code { font-size: 12px; color: var(--text-muted); }

.route-line {
    flex: 1;
    text-align: center;
    position: relative;
}

.route-line .duration { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.route-line .line { height: 2px; background: var(--border); position: relative; }
.route-line .line::after {
    content: "✈";
    position: absolute;
    right: 0;
    top: -9px;
    color: var(--navy);
    font-size: 14px;
}
.route-line .stops { font-size: 11px; color: var(--text-muted); margin-top: 4px; }

.class-block { text-align: center; }
.cabin-badge {
    display: inline-block;
    background: #eef1f7;
    color: var(--navy);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
}

.price-block { text-align: right; min-width: 130px; }
.price-block .price { font-size: 22px; font-weight: 800; color: var(--navy); }
.price-block .price-sub { font-size: 11px; color: var(--text-muted); }

.select-btn {
    margin-top: 8px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 6px;
    padding: 9px 18px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
}

.select-btn:hover { background: var(--gold-light); }

.no-results {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 40px;
    text-align: center;
    color: var(--text-muted);
}

.no-results strong { display: block; font-size: 17px; color: var(--text-dark); margin-bottom: 6px; }

.site-footer {
    text-align: center;
    padding: 24px;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===================================================================
   Homepage marketing sections
   =================================================================== */

.section { padding: 60px 20px; }
.section-alt { background: var(--white); }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-head { text-align: center; margin-bottom: 36px; }
.section-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 8px;
}
.section-title { font-size: 28px; font-weight: 800; color: var(--navy); margin: 0 0 8px; }
.section-subtitle { font-size: 15px; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* Airline strip in hero */
.airline-strip {
    max-width: 700px;
    margin: 26px auto 0;
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    opacity: 0.85;
}
.airline-strip span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #cfd8ec;
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 6px;
    padding: 6px 12px;
}

/* Trust badges */
.badge-strip {
    max-width: 1040px;
    margin: 0 auto 50px;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}
.badge-item { display: flex; align-items: center; gap: 10px; }
.badge-icon {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: #eef1f7;
    color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}
.badge-text strong { display: block; font-size: 14px; color: var(--text-dark); }
.badge-text span { font-size: 12px; color: var(--text-muted); }

/* Homepage "Get in touch" contact cards */
.contact-cta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.contact-cta-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.contact-cta-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(36, 17, 40, 0.18); }
.contact-cta-icon {
    width: 54px; height: 54px; border-radius: 50%;
    background: #fbe7ee; color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 8px;
}
.contact-cta-card.is-whatsapp .contact-cta-icon { background: #e3f9ec; color: #1ebe5b; }
.contact-cta-card h3 { margin: 0; font-size: 16px; color: var(--text-dark); }
.contact-cta-card .contact-cta-value { font-size: 14px; font-weight: 700; color: var(--navy); }
.contact-cta-card .contact-cta-sub { font-size: 12.5px; color: var(--text-muted); margin: 0; }

/* Deals carousel */
.deals-scroller {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 4px 16px;
    scroll-snap-type: x proximity;
}
.deals-scroller::-webkit-scrollbar { height: 8px; }
.deals-scroller::-webkit-scrollbar-thumb { background: var(--border); border-radius: 8px; }

.deal-card {
    scroll-snap-align: start;
    flex: 0 0 260px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.deal-card .deal-route { font-size: 16px; font-weight: 700; color: var(--navy); }
.deal-card .deal-cities { font-size: 12px; color: var(--text-muted); }
.deal-card .deal-save {
    align-self: flex-start;
    background: #e9f7ee;
    color: #1c7c3f;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
}
.deal-card .deal-prices { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.deal-card .old-price { font-size: 13px; color: var(--text-muted); text-decoration: line-through; }
.deal-card .new-price { font-size: 20px; font-weight: 800; color: var(--navy); }

.carousel-controls { display: flex; justify-content: center; gap: 10px; margin-top: 8px; }
.carousel-controls button {
    width: 34px; height: 34px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--white);
    cursor: pointer; font-size: 15px; color: var(--navy);
}
.carousel-controls button:hover { background: var(--bg); }

/* Methodology steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.step-card { text-align: center; padding: 10px; }
.step-num {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; margin: 0 auto 12px;
}
.step-card h3 { font-size: 15px; margin: 0 0 6px; color: var(--text-dark); }
.step-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Split section (philosophy / CTA) */
.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.split-visual {
    height: 260px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--navy), var(--accent-dark));
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
}
.split-text .section-eyebrow { margin-bottom: 10px; }
.split-text h2 { font-size: 26px; color: var(--navy); margin: 0 0 14px; }
.split-text p { font-size: 15px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; }
.split-text .cta-link { font-weight: 700; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }

/* Support banner */
.support-banner {
    background: var(--navy);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}
.support-banner h2 { font-size: 26px; margin: 0 0 10px; }
.support-banner p { max-width: 560px; margin: 0 auto; color: #c7cfe0; font-size: 15px; }

/* Reasons grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.reason-card { display: flex; gap: 14px; }
.reason-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: #fbe7ee; color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.reason-card h3 { font-size: 15px; margin: 0 0 4px; color: var(--text-dark); }
.reason-card p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Stat banner */
.stat-banner {
    text-align: center;
    padding: 40px 20px;
}
.stat-banner .stat-number { font-size: 40px; font-weight: 800; color: var(--navy); }
.stat-banner .stat-label { font-size: 15px; color: var(--text-muted); margin-top: 6px; }
.stat-banner a { color: var(--navy); font-weight: 700; border-bottom: 2px solid var(--gold); }

/* Booking steps */
.booking-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}
.booking-step {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 24px 18px;
    position: relative;
}
.booking-step .step-index {
    font-size: 34px; font-weight: 800; color: #eef1f7;
    position: absolute; top: 10px; right: 16px;
}
.booking-step h3 { font-size: 15px; margin: 6px 0 6px; color: var(--navy); }
.booking-step p { font-size: 13px; color: var(--text-muted); margin: 0; }

/* Region deals grid */
.region-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.region-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: var(--white);
}
.region-visual {
    height: 110px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--navy), var(--accent-dark));
    color: var(--white);
}
.region-body { padding: 16px; }
.region-body h3 { margin: 0 0 4px; font-size: 15px; color: var(--text-dark); }
.region-body .region-save { font-size: 12px; color: #1c7c3f; font-weight: 700; }
.region-body .region-price { font-size: 18px; font-weight: 800; color: var(--navy); margin-top: 6px; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
    border-bottom: 1px solid var(--border);
}
.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 18px 4px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.faq-question .faq-icon { color: var(--gold); font-size: 18px; transition: transform 0.15s ease; flex-shrink: 0; }
.faq-item.open .faq-question .faq-icon { transform: rotate(45deg); }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease;
}
.faq-answer p { margin: 0 4px 18px; font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.faq-item.open .faq-answer { max-height: 220px; }

/* Newsletter */
.newsletter-section {
    background: linear-gradient(135deg, var(--navy), var(--accent-dark));
    color: var(--white);
    padding: 50px 20px;
    text-align: center;
}
.newsletter-section h2 { font-size: 24px; margin: 0 0 8px; }
.newsletter-section p { color: #c7cfe0; font-size: 14px; margin: 0 0 24px; }
.newsletter-form {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}
.newsletter-form input {
    flex: 1 1 200px;
    padding: 12px 14px;
    border-radius: 8px;
    border: none;
    font-size: 14px;
}
.newsletter-form button {
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    padding: 12px 22px;
    font-weight: 700;
    cursor: pointer;
}
.newsletter-form button:hover { background: var(--gold-light); }
.newsletter-msg { margin-top: 12px; font-size: 13px; color: var(--gold-light); min-height: 18px; }

/* Airline grid */
.airline-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}
.airline-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 10px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--navy);
}
.airline-card .airline-mark {
    width: 36px; height: 36px; border-radius: 50%;
    background: #eef1f7; margin: 0 auto 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800;
}

/* Footer mega section */
.footer-mega {
    background: var(--navy-light);
    color: #c7cfe0;
    padding: 50px 20px 20px;
}
.footer-columns {
    max-width: 1100px;
    margin: 0 auto 30px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.footer-columns h4 {
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 14px;
}
.footer-columns ul { list-style: none; margin: 0; padding: 0; }
.footer-columns li { margin-bottom: 9px; font-size: 13px; }
.footer-columns a { color: #aab6cf; }
.footer-columns a:hover { color: var(--gold-light); }

.footer-contact {
    max-width: 1100px;
    margin: 0 auto 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 26px 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.footer-contact-item strong { display: block; color: var(--white); font-size: 14px; margin-bottom: 4px; }
.footer-contact-item span, .footer-contact-item a { font-size: 13px; color: #aab6cf; }
.footer-social { max-width: 1100px; margin: 0 auto 20px; display: flex; gap: 14px; }
.footer-social a {
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.25);
    display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #c7cfe0;
}

.footer-legal {
    max-width: 1100px;
    margin: 0 auto 20px;
    font-size: 11px;
    line-height: 1.7;
    color: #8794b0;
}

.footer-bottom {
    max-width: 1100px;
    margin: 0 auto;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
}
.footer-bottom .footer-links a { color: #aab6cf; margin-left: 16px; }
.footer-bottom .payment-marks { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-bottom .payment-marks span {
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    padding: 3px 7px;
    font-size: 10px;
    font-weight: 700;
    color: #aab6cf;
}

@media (max-width: 900px) {
    .field, .field-airport, .field-date, .field-passenger { flex-basis: 100%; }
    .swap-btn { align-self: center; }
    .flight-card { grid-template-columns: 1fr; text-align: center; }
    .route-block { flex-direction: column; }
    .price-block { text-align: center; }

    .steps-grid, .reasons-grid, .booking-steps, .region-grid, .contact-cta-grid { grid-template-columns: repeat(2, 1fr); }
    .airline-grid { grid-template-columns: repeat(3, 1fr); }
    .split-section { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: repeat(2, 1fr); }
    .footer-contact { grid-template-columns: 1fr; }

    .hero { padding: 130px 16px 90px; }
    .hero-heading { font-size: 30px; }
    .trip-type { gap: 18px; flex-wrap: wrap; }

    .search-pill {
        flex-direction: column;
        align-items: stretch;
        border-radius: 20px;
        padding: 14px;
        gap: 0;
    }
    .pill-field,
    .pill-airport,
    .pill-date,
    .pill-field.passenger-field {
        flex: 0 0 auto;
        width: 100%;
        padding: 10px 4px;
    }
    .pill-divider { width: auto; height: 1px; align-self: stretch; margin: 0; flex: 0 0 auto; }
    .pill-swap { align-self: center; margin: 4px 0; flex: 0 0 auto; }
    .pill-search-btn { width: 100%; border-radius: 12px; margin: 8px 0 0; gap: 8px; flex: 0 0 auto; }
    .pill-search-btn::after { content: "Search Flights"; font-size: 14px; font-weight: 700; }
    .pill-tail { display: block; width: 100%; }
    .pill-tail .pill-divider { display: none; }
}

@media (max-width: 560px) {
    .steps-grid, .reasons-grid, .booking-steps, .region-grid, .airline-grid, .contact-cta-grid { grid-template-columns: 1fr; }
    .footer-columns { grid-template-columns: 1fr; }
    .floating-actions { bottom: 16px; right: 16px; }
    .chat-tooltip { right: 16px; left: 16px; max-width: none; bottom: 84px; }

    .hero { padding-left: 14px; padding-right: 14px; }
    .hero-heading { font-size: 24px; gap: 8px; }
    .hero-eyebrow { font-size: 11px; }
    .hero-sub { font-size: 14px; }
    .airline-strip { gap: 10px; }
    .airline-strip span { font-size: 11px; padding: 5px 9px; }

    .search-pill-section { padding: 0 12px; }
    .search-pill { padding: 12px; border-radius: 16px; }
    .pill-field-text input[type="text"],
    .date-display { font-size: 13px; }
}

/* ===================================================================
   Static inner pages (About, Contact, Privacy, Terms, Careers)
   =================================================================== */

.page-banner {
    background: linear-gradient(135deg, var(--navy), var(--accent-dark));
    color: var(--white);
    text-align: center;
    padding: 54px 20px;
}
.page-banner h1 { font-size: 30px; margin: 0 0 8px; font-weight: 800; }
.page-banner p { margin: 0; color: #e6d9e8; font-size: 15px; max-width: 560px; margin: 0 auto; }

/* Stat strip (About page) */
.stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}
.stat-strip .stat-card { text-align: center; }
.stat-strip .stat-card .stat-number { font-size: 32px; font-weight: 800; color: var(--navy); }
.stat-strip .stat-card .stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; }

/* Legal / policy content */
.legal-content {
    max-width: 820px;
    margin: 0 auto;
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.7;
}
.legal-content .legal-updated {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 30px;
}
.legal-content h2 {
    font-size: 19px;
    color: var(--navy);
    margin: 34px 0 10px;
}
.legal-content h2:first-of-type { margin-top: 0; }
.legal-content p { margin: 0 0 14px; color: var(--text-dark); }
.legal-content ul { margin: 0 0 14px; padding-left: 22px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent); font-weight: 600; }

/* Contact page */
.contact-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: start;
}

.contact-form-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 28px;
}

.form-group { margin-bottom: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    margin-bottom: 6px;
}
.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 11px 13px;
    font-size: 14px;
    font-family: inherit;
    color: var(--text-dark);
    background: var(--white);
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(179, 18, 79, 0.1);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-submit-btn {
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 13px 28px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s ease;
}
.form-submit-btn:hover { background: var(--accent-dark); }
.form-msg { margin-top: 14px; font-size: 13px; min-height: 18px; }
.form-msg.ok { color: #1c7c3f; }
.form-msg.error { color: var(--danger); }

.contact-info-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 26px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-info-card h3 { margin: 0; font-size: 16px; color: var(--navy); }
.contact-info-row { display: flex; align-items: flex-start; gap: 12px; }
.contact-info-row .badge-icon { flex-shrink: 0; }
.contact-info-row strong { display: block; font-size: 14px; color: var(--text-dark); margin-bottom: 2px; }
.contact-info-row a, .contact-info-row span { font-size: 13.5px; color: var(--text-muted); }
.contact-info-row a { color: var(--accent); font-weight: 600; }

/* Careers page */
.jobs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; max-width: 900px; margin: 0 auto; }
.job-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 22px;
}
.job-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--navy); }
.job-card .job-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.4px; }
.job-card p { font-size: 14px; color: var(--text-muted); margin: 0 0 14px; }
.job-card a { font-size: 13px; font-weight: 700; color: var(--accent); }

@media (max-width: 900px) {
    .contact-grid { grid-template-columns: 1fr; }
    .stat-strip { grid-template-columns: repeat(2, 1fr); }
    .jobs-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
