/* BlueNova Airlines - v4 */

:root {
    --ink:        #060D1A;
    --navy:       #0B1628;
    --navy-mid:   #122240;
    --blue:       #1A6FE8;
    --cyan:       #00CFF0;
    --purple:     #8B5CF6;
    --white:      #FFFFFF;
    --bg:         #F0F3F8;
    --surface:    #FFFFFF;
    --border:     #DDE3ED;
    --text:       #142033;
    --muted:      #5C6B82;
    --light:      #8E9BB0;
    --success:    #0D9F6E;
    --error:      #DC2626;
    --radius:     10px;
    --radius-lg:  16px;
    --shadow:     0 4px 24px rgba(6,13,26,.10);
    --shadow-lg:  0 16px 48px rgba(6,13,26,.18);
    --font:       'Inter', system-ui, sans-serif;
    --header-h:   76px;
    --max:        1160px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main { flex: 1; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container.narrow { max-width: 680px; }
a { color: var(--blue); text-decoration: none; transition: color .15s; }
a:hover { color: var(--cyan); }
img { display: block; max-width: 100%; height: auto; }

/* Logo */
.brand-logo {
    height: 52px;
    width: auto;
    max-width: 240px;
    object-fit: contain;
}

.footer-logo {
    background: transparent;
    padding: 0;
    border-radius: 0;
    height: auto;
    max-height: 64px;
    max-width: 220px;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 200;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 1px 0 rgba(6,13,26,.04);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    gap: 24px;
}

.brand { flex-shrink: 0; line-height: 0; }

.primary-nav { display: flex; align-items: center; gap: 2px; }

.primary-nav a {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: background .15s, color .15s;
}

.primary-nav a:hover,
.primary-nav a.active { color: var(--blue); background: #EBF3FF; }

.header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.header-user {
    display: none;
    flex-direction: column;
    align-items: flex-end;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.3;
}

.header-miles { font-size: 11px; font-weight: 500; color: var(--light); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--ink);
    border-radius: 1px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 22px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all .15s;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--blue) 0%, #0090D4 100%);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 2px 12px rgba(26,111,232,.35);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1558C0 0%, #007BB8 100%);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(0,207,240,.3);
}

.btn-secondary {
    background: var(--white);
    color: var(--blue);
    border-color: var(--border);
}

.btn-secondary:hover { border-color: var(--blue); background: #EBF3FF; color: var(--blue); }

.btn-ghost { background: transparent; color: var(--text); border-color: transparent; }
.btn-ghost:hover { background: var(--bg); color: var(--text); }

.btn-light {
    background: var(--white);
    color: var(--navy);
    border-color: var(--white);
}

.btn-light:hover { background: #EBF3FF; color: var(--blue); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: #EBF3FF; color: var(--blue); }

.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 28px; }
.btn-block { width: 100%; }
.btn-search { height: 46px; padding: 0 28px; }

/* Alerts */
.alert { padding: 12px 0; font-size: 14px; font-weight: 500; border-bottom: 1px solid; }
.alert-success { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.alert-error { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.alert-info { background: #EBF3FF; color: var(--navy); border-color: #BFDBFE; }

/* ── Hero ── */
.hero {
    position: relative;
    min-height: 520px;
    background: var(--ink) var(--hero-image, none) center / cover no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0 0 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6,13,26,.55) 0%,
        rgba(6,13,26,.72) 50%,
        rgba(6,13,26,.88) 100%
    );
}

.hero-layout {
    position: relative;
    z-index: 1;
    width: 100%;
    padding: 64px 24px 0;
}

.hero-copy {
    color: var(--white);
    max-width: 560px;
    margin-bottom: 36px;
}

.hero-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 14px;
}

.hero-copy h1 {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.025em;
    margin-bottom: 14px;
}

.hero-copy p {
    font-size: 17px;
    color: rgba(255,255,255,.78);
    line-height: 1.65;
}

.tagline, .hero-badge { display: none; }

/* Search panel */
.search-panel {
    background: var(--white);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
    padding: 28px 32px 32px;
    box-shadow: var(--shadow-lg);
}

.search-tabs {
    display: flex;
    gap: 0;
    border-bottom: 2px solid var(--border);
    margin-bottom: 24px;
}

.search-tabs label {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color .15s;
}

.search-tabs label:has(input:checked) { color: var(--blue); border-bottom-color: var(--blue); }
.search-tabs input { display: none; }

.search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: end;
}

.field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 6px;
}

.field input, .field select,
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    height: 46px;
    padding: 0 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 14px;
    color: var(--text);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
}

.field input:focus, .field select:focus,
.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,111,232,.12);
}

.return-field.hidden { opacity: .35; pointer-events: none; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }

/* legacy search compat */
.search-fields { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr 1fr auto; gap: 14px; align-items: end; }
.search-widget { background: var(--white); border-radius: var(--radius-lg) var(--radius-lg) 0 0; padding: 28px 32px; box-shadow: var(--shadow-lg); }
.trip-type { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 24px; }
.trip-type label { padding: 10px 20px; font-size: 14px; font-weight: 600; color: var(--muted); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.trip-type label:has(input:checked) { color: var(--blue); border-bottom-color: var(--blue); }
.trip-type input { display: none; }

/* Service bar */
.service-bar {
    background: var(--white);
    border-bottom: 1px solid var(--border);
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.service-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 22px 20px;
    color: var(--text);
    border-right: 1px solid var(--border);
    transition: background .15s;
}

.service-link:last-child { border-right: none; }
.service-link:hover { background: var(--bg); color: var(--blue); }
.service-link svg { flex-shrink: 0; color: var(--blue); }
.service-link strong { display: block; font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.service-link span { font-size: 12px; color: var(--muted); }

/* Sections */
.section { padding: 72px 0; }
.section-deals { background: var(--white); }

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 36px;
    gap: 20px;
}

.section-head h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--ink);
    letter-spacing: -.02em;
}

.eyebrow {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-bottom: 8px;
}

.eyebrow-light { color: var(--cyan); }

.link-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--blue);
    white-space: nowrap;
}

.section-header { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 32px; }
.section-header h2 { font-size: 28px; font-weight: 800; color: var(--ink); }
.section-header.centered { flex-direction: column; align-items: center; text-align: center; }
.link-arrow { font-size: 14px; font-weight: 600; }

/* Deals */
.deals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.deal-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow .2s, transform .2s;
}

.deal-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.deal-photo {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.deal-photo-lg { height: 260px; }

.deal-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--blue);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 20px;
}

.deal-body { padding: 22px 24px 24px; }

.deal-route {
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
    letter-spacing: .04em;
    margin-bottom: 6px;
}

.deal-body h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 8px;
}

.deal-body p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.55;
    margin-bottom: 20px;
}

.deal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.deal-price { font-size: 13px; color: var(--muted); }
.deal-price strong { font-size: 22px; font-weight: 800; color: var(--blue); }

.deals-grid-page { grid-template-columns: 1fr; gap: 28px; }
.deal-card-lg { display: grid; grid-template-columns: 380px 1fr; }
.deal-card-lg .deal-body { display: flex; flex-direction: column; justify-content: center; padding: 32px; }

/* legacy deal classes */
.deal-image { display: none; }
.deal-content { padding: 22px 24px; }
.deal-card-large { display: grid; grid-template-columns: 380px 1fr; }

/* Destinations */
.destinations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.dest-card {
    display: block;
    height: 280px;
    border-radius: var(--radius-lg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    transition: transform .2s, box-shadow .2s;
}

.dest-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    color: inherit;
}

.dest-card-sm { height: 220px; }

.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,13,26,.92) 0%, rgba(6,13,26,.35) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px 22px 22px;
    color: var(--white);
}

.dest-code {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    color: var(--cyan);
    background: rgba(0,207,240,.15);
    border: 1px solid rgba(0,207,240,.35);
    padding: 5px 10px;
    border-radius: 20px;
    line-height: 1;
}

.dest-overlay h3 {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 4px;
    letter-spacing: -.01em;
    line-height: 1.15;
}

.dest-overlay p {
    font-size: 13px;
    color: rgba(255,255,255,.72);
    margin: 0 0 12px;
    line-height: 1.3;
}

.dest-price {
    display: inline-block;
    font-size: 14px;
    font-weight: 700;
    color: var(--cyan);
    background: rgba(0,207,240,.12);
    border: 1px solid rgba(0,207,240,.25);
    padding: 6px 12px;
    border-radius: 8px;
    line-height: 1;
    width: fit-content;
}

.destinations-grid-page { grid-template-columns: repeat(3, 1fr); }

/* legacy destination cards */
.destination-card, .destination-full-card { display: none; }
.destinations-full-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Experience banner */
.experience-banner {
    background: var(--navy);
    padding: 0;
}

.experience-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.experience-copy {
    padding: 72px 48px 72px 0;
    color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.experience-copy h2 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 14px;
}

.experience-copy p {
    font-size: 16px;
    color: rgba(255,255,255,.72);
    line-height: 1.65;
    margin-bottom: 28px;
    max-width: 420px;
}

.experience-photo {
    background-size: cover;
    background-position: center;
    min-height: 400px;
}

/* Trust strip */
.trust-strip {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 56px 0;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.trust-num {
    font-size: 36px;
    font-weight: 800;
    color: var(--blue);
    letter-spacing: -.02em;
    margin-bottom: 6px;
    line-height: 1;
}

.trust-item h3 {
    font-size: 15px;
    font-weight: 700;
    color: var(--ink);
    margin-bottom: 6px;
}

.trust-item p { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* Page hero (subpages) */
.page-hero {
    position: relative;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.page-hero-short { min-height: 220px; }

.page-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(6,13,26,.85), rgba(6,13,26,.45));
}

.page-hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 24px;
    color: var(--white);
}

.page-hero-content h1 {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin-bottom: 8px;
}

.page-hero-content p { font-size: 16px; color: rgba(255,255,255,.75); }

.page-header {
    background: var(--navy);
    color: var(--white);
    padding: 44px 0;
}

.page-header h1 { font-size: 28px; font-weight: 800; }
.page-header p { font-size: 15px; color: rgba(255,255,255,.7); margin-top: 8px; }
.page-header.compact { padding: 32px 0; }
.back-link { color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500; display: inline-block; margin-bottom: 12px; }

/* Auth - premium split layout */
body.page-auth main { padding: 0; }

.auth-section {
    padding: 0;
    min-height: calc(100vh - var(--header-h));
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.auth-visual {
    position: relative;
    background:
        linear-gradient(135deg, rgba(6,13,26,.88), rgba(18,34,64,.82)),
        url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?w=1200&q=80') center/cover;
    display: flex;
    align-items: flex-end;
    padding: 48px;
    color: var(--white);
    overflow: hidden;
}

.auth-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 30% 40%, rgba(26,111,232,.35), transparent 55%),
        radial-gradient(ellipse 50% 40% at 80% 60%, rgba(0,207,240,.15), transparent 50%);
    pointer-events: none;
}

.auth-visual blockquote {
    position: relative;
    z-index: 1;
    font-size: clamp(1.25rem, 2.5vw, 1.625rem);
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -.02em;
}

.auth-visual cite {
    display: block;
    font-size: 13px;
    font-style: normal;
    opacity: .65;
    margin-top: 14px;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.auth-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    background:
        radial-gradient(ellipse at 80% 20%, rgba(26,111,232,.06), transparent 50%),
        var(--bg);
}

.auth-container { max-width: 420px; width: 100%; margin: 0; }

.auth-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 42px;
    box-shadow: 0 24px 64px rgba(6,13,26,.1);
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    right: 20px;
    height: 4px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, #1A6FE8, #00CFF0, #7C5CFC);
}

.auth-card-wide { max-width: 520px; margin: 0 auto; }
.auth-card h1 { font-size: 26px; font-weight: 800; color: var(--ink); margin-bottom: 8px; letter-spacing: -.025em; }
.auth-subtitle { color: var(--muted); margin-bottom: 28px; font-size: 14px; line-height: 1.55; }
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row.between { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--muted); cursor: pointer; }
.text-link { font-size: 13px; font-weight: 600; }
.auth-footer-text { text-align: center; margin-top: 24px; font-size: 14px; color: var(--muted); }
.demo-box { margin-top: 24px; padding: 14px 16px; background: #EBF3FF; border-radius: var(--radius); font-size: 13px; color: var(--navy); border: 1px solid #C8DDF5; }

/* Dashboard */
.dashboard-grid { display: grid; grid-template-columns: 220px 1fr; gap: 32px; }
.dashboard-nav { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 8px; height: fit-content; position: sticky; top: calc(var(--header-h) + 24px); }
.dashboard-nav a { display: block; padding: 10px 14px; border-radius: var(--radius); font-size: 14px; font-weight: 500; color: var(--text); }
.dashboard-nav a:hover, .dashboard-nav a.active { background: #EBF3FF; color: var(--blue); }
.stats-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-bottom: 24px; }
.stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.stat-card.large { text-align: center; padding: 40px; }
.stat-label { display: block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--light); margin-bottom: 8px; }
.stat-value { display: block; font-size: 32px; font-weight: 800; color: var(--ink); }
.stat-meta { font-size: 13px; color: var(--muted); }
.dashboard-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.card-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.card-header h2 { font-size: 17px; font-weight: 700; color: var(--ink); }
.booking-row { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); gap: 12px; }
.booking-row:last-child { border-bottom: none; }
.booking-route strong { display: block; font-size: 14px; color: var(--ink); }
.booking-route span { font-size: 13px; color: var(--muted); }
.booking-meta { display: flex; align-items: center; gap: 10px; }
.quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.quick-links a { padding: 12px 16px; background: var(--bg); border-radius: var(--radius); font-size: 13px; font-weight: 600; color: var(--blue); border: 1px solid var(--border); }

/* Badges */
.badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; }
.badge-confirmed { background: #ECFDF5; color: #065F46; }
.badge-completed { background: var(--bg); color: var(--muted); }
.badge-cancelled { background: #FEF2F2; color: #991B1B; }

/* Flight route */
.flight-route-large { display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 16px; align-items: center; padding: 16px 0; }
.flight-route-large.compact { padding: 0; }
.route-point { text-align: center; }
.route-time { display: block; font-size: 22px; font-weight: 800; color: var(--ink); }
.route-code { display: block; font-size: 15px; font-weight: 700; color: var(--blue); }
.route-city { display: block; font-size: 12px; color: var(--muted); }
.route-point small { display: block; font-size: 11px; color: var(--light); margin-top: 4px; }
.route-line { text-align: center; }
.route-line .line { height: 2px; background: var(--border); margin: 8px 0; }
.flight-num { font-size: 12px; font-weight: 600; color: var(--light); }
.duration { font-size: 11px; color: var(--light); }

/* Bookings */
.filter-tabs { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.filter-tabs a { padding: 8px 18px; border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--muted); border: 1.5px solid var(--border); background: var(--white); }
.filter-tabs a.active { background: var(--blue); color: var(--white); border-color: var(--blue); }
.filter-tabs a:not(.active):hover { border-color: var(--blue); color: var(--blue); }
.bookings-list { display: flex; flex-direction: column; gap: 16px; }
.booking-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }
.booking-card-header { display: flex; justify-content: space-between; align-items: center; padding: 14px 24px; background: var(--bg); border-bottom: 1px solid var(--border); }
.booking-ref { font-weight: 700; font-size: 13px; color: var(--ink); font-family: monospace; letter-spacing: .04em; }
.booking-card-body { padding: 24px; }
.booking-details-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.booking-details-grid small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--light); margin-bottom: 4px; }
.booking-card-footer { padding: 14px 24px; background: var(--bg); display: flex; gap: 10px; flex-wrap: wrap; border-top: 1px solid var(--border); }

/* Detail */
.booking-detail-grid { display: grid; grid-template-columns: 1fr 320px; gap: 28px; }
.detail-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px; margin-bottom: 20px; }
.detail-card h2, .detail-card h3 { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }
.info-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; margin-top: 16px; }
.info-grid small { display: block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--light); margin-bottom: 4px; }
.price-large { font-size: 28px; font-weight: 800; color: var(--blue); }

.price-breakdown { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.price-breakdown__row { display: flex; justify-content: space-between; align-items: center; gap: 12px; color: var(--muted); }
.price-breakdown__row strong { color: var(--text); font-weight: 700; }
.price-breakdown__row--sub { padding-top: 8px; border-top: 1px dashed var(--border); font-weight: 600; }
.price-breakdown__row--total { padding-top: 12px; margin-top: 4px; border-top: 2px solid var(--border); font-size: 15px; font-weight: 700; color: var(--text); }
.action-list { list-style: none; }
.action-list li { padding: 10px 0; border-bottom: 1px solid var(--border); }
.action-list a { font-size: 14px; font-weight: 600; }

/* Boarding pass */
.boarding-pass { background: var(--navy); color: var(--white); border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 20px; }
.bp-header { padding: 16px 20px; font-weight: 700; font-size: 14px; border-bottom: 1px dashed rgba(255,255,255,.2); display: flex; align-items: center; gap: 10px; }
.bp-logo { width: 32px; height: 32px; border-radius: 6px; object-fit: cover; }
.bp-body { padding: 24px 20px; }
.bp-route { font-size: 28px; font-weight: 800; }
.bp-flight { font-size: 14px; opacity: .7; margin: 8px 0; }
.bp-passenger { font-size: 14px; margin-bottom: 16px; opacity: .85; }
.bp-details { display: flex; gap: 24px; font-size: 13px; margin-bottom: 20px; opacity: .8; }
.bp-qr { font-size: 28px; letter-spacing: 2px; padding: 16px; background: rgba(255,255,255,.06); border-radius: var(--radius); text-align: center; margin-bottom: 12px; opacity: .5; }

/* Search results */
.search-layout { display: grid; grid-template-columns: 240px 1fr; gap: 28px; }
.search-filters { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; height: fit-content; position: sticky; top: calc(var(--header-h) + 24px); }
.search-filters h3 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 20px; }
.filter-group { margin-bottom: 24px; }
.filter-group > label:first-child { display: block; font-weight: 600; font-size: 13px; margin-bottom: 10px; }
.flight-result-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 12px; transition: border-color .15s; }
.flight-result-card:hover { border-color: var(--blue); }
.flight-result-main { flex: 1; }
.flight-meta { display: flex; gap: 16px; margin-top: 8px; font-size: 12px; color: var(--muted); }
.flight-result-price { text-align: right; min-width: 150px; }
.price-from { display: block; font-size: 11px; color: var(--light); text-transform: uppercase; letter-spacing: .05em; font-weight: 600; }
.price-amount { display: block; font-size: 22px; font-weight: 800; color: var(--blue); }
.flight-result-price small { display: block; font-size: 11px; color: var(--light); margin-bottom: 10px; }
.return-heading { margin: 36px 0 16px; font-size: 17px; font-weight: 700; color: var(--ink); }
.search-results > h2 { font-size: 15px; font-weight: 700; color: var(--ink); margin-bottom: 16px; }

/* Content */
.content-block { margin-bottom: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.content-block h2 { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.content-block p { color: var(--muted); line-height: 1.7; }
.content-list { list-style: none; }
.content-list li { padding: 12px 0; border-bottom: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.info-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; text-align: center; }
.empty-state { text-align: center; padding: 48px; color: var(--muted); }
.empty-state.large { padding: 80px 40px; }
.empty-state h2, .empty-state h3 { color: var(--ink); margin-bottom: 8px; font-size: 20px; }
.inline-form { display: flex; gap: 12px; align-items: end; flex-wrap: wrap; }
.inline-form .form-group { flex: 1; min-width: 180px; }
.mt-lg { margin-top: 28px; }
.success-text { color: var(--success); font-weight: 600; margin: 16px 0; }
.warning-text { color: var(--error); margin: 16px 0; font-weight: 500; }
.checkin-form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px; }

/* 404 */
.page-404 main { flex: 1; display: flex; }
.error-page {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 72px 0 96px;
    background:
        radial-gradient(circle at top, rgba(26, 111, 232, 0.12), transparent 42%),
        linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}
.error-page__inner {
    max-width: 640px;
    text-align: center;
    padding: 0 20px;
}
.error-page__code {
    margin: 0 0 12px;
    font-size: clamp(72px, 16vw, 120px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    color: rgba(26, 111, 232, 0.18);
}
.error-page h1 {
    margin: 0 0 12px;
    font-size: clamp(28px, 5vw, 40px);
    color: var(--ink);
}
.error-page__body {
    margin: 0 auto 28px;
    max-width: 520px;
    color: var(--muted);
    line-height: 1.7;
    font-size: 16px;
}
.error-page__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

/* Footer */
.site-footer {
    background: var(--ink);
    color: rgba(255,255,255,.6);
    padding: 56px 0 28px;
    margin-top: auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-tagline {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--cyan);
    margin-top: 16px;
}

.footer-desc { font-size: 14px; line-height: 1.65; margin-top: 10px; max-width: 280px; }

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.footer-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,.5);
    margin-bottom: 10px;
    transition: color .15s;
}

.footer-col a:hover { color: var(--cyan); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 13px;
}

.footer-legal { display: flex; gap: 20px; }
.footer-legal a { color: rgba(255,255,255,.4); font-size: 13px; }
.footer-legal a:hover { color: var(--cyan); }

/* Hide legacy clutter */
.values-section, .app-section, .newsletter-section,
.features-section, .hero-flow-lines, .hero-stats,
.action-cards, .action-icon, .feature-icon,
.quick-actions { display: none !important; }

/* Responsive */
@media (min-width: 900px) { .header-user { display: flex; } }

@media (max-width: 1024px) {
    .search-grid, .search-fields { grid-template-columns: 1fr 1fr; }
    .btn-search { grid-column: 1 / -1; width: 100%; }
    .service-grid { grid-template-columns: 1fr 1fr; }
    .service-link:nth-child(2) { border-right: none; }
    .service-link { border-bottom: 1px solid var(--border); }
    .destinations-grid, .destinations-grid-page, .destinations-full-grid { grid-template-columns: 1fr 1fr; }
    .deals-grid { grid-template-columns: 1fr; }
    .deal-card-lg { grid-template-columns: 1fr; }
    .deal-card-lg .deal-photo-lg { height: 220px; }
    .experience-inner { grid-template-columns: 1fr; }
    .experience-copy { padding: 48px 0; }
    .experience-photo { min-height: 280px; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .footer-top { grid-template-columns: 1fr; }
    .footer-links { grid-template-columns: 1fr 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .dashboard-nav { position: static; display: flex; flex-wrap: wrap; }
    .booking-detail-grid { grid-template-columns: 1fr; }
    .search-layout { grid-template-columns: 1fr; }
    .search-filters { position: static; }
}

@media (max-width: 768px) {
    .menu-toggle { display: flex; }

    .primary-nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 12px 24px 20px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        align-items: stretch;
    }

    .primary-nav.open { display: flex; }
    .primary-nav a { padding: 12px 0; border-radius: 0; border-bottom: 1px solid var(--border); }
    .primary-nav a:last-child { border-bottom: none; }

    .site-header { position: sticky; }
    .brand-logo { height: 44px; max-width: 190px; }

    .search-grid, .search-fields { grid-template-columns: 1fr; }
    .search-panel, .search-widget { padding: 20px; border-radius: var(--radius-lg); margin-bottom: 24px; }
    .hero { min-height: auto; }
    .hero-layout { padding: 40px 24px 0; }
    .service-grid { grid-template-columns: 1fr; }
    .destinations-grid, .destinations-grid-page { grid-template-columns: 1fr; }
    .dest-card { height: 240px; }
    .trust-grid { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .booking-details-grid { grid-template-columns: 1fr 1fr; }
    .flight-route-large { grid-template-columns: 1fr; }
    .form-grid-2 { grid-template-columns: 1fr; }
    .flight-result-card { flex-direction: column; align-items: stretch; }
    .flight-result-price { text-align: left; }
    .footer-links { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .section { padding: 48px 0; }
    .page-hero-content h1 { font-size: 28px; }
    .auth-section { grid-template-columns: 1fr; min-height: auto; }
    .auth-visual { min-height: 220px; padding: 32px 24px; }
    .auth-wrap { padding: 32px 20px 48px; }
    .auth-card { padding: 32px 28px; }
}
