/* BlueNova - Rich UI (v8) */

:root {
    --ink: #060D1A;
    --navy: #0B1628;
    --blue: #1A6FE8;
    --blue-dark: #1254B8;
    --cyan: #00CFF0;
    --purple: #7C5CFC;
    --bg: #EEF2F8;
    --white: #fff;
    --border: #D4DCE8;
    --text: #142033;
    --muted: #5C6B82;
    --radius: 12px;
    --radius-sm: 8px;
    --header-h: 72px;
    --grad-brand: linear-gradient(135deg, #1A6FE8 0%, #00CFF0 55%, #7C5CFC 100%);
    --grad-blue: linear-gradient(135deg, #1A6FE8 0%, #0090D4 100%);
    --shadow-md: 0 8px 32px rgba(6, 13, 26, .10);
    --shadow-lg: 0 20px 60px rgba(6, 13, 26, .14);
}

/* ── Header ── */
.site-header {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(12px);
    border-bottom: none;
    box-shadow: 0 1px 0 var(--border), 0 4px 24px rgba(6,13,26,.04);
}
.site-header::after {
    content: '';
    display: block;
    height: 3px;
    background: var(--grad-brand);
}
.header-inner { height: var(--header-h); }
.primary-nav a.active {
    background: linear-gradient(135deg, #EBF3FF, #E0F9FF);
    color: var(--blue);
    font-weight: 600;
}
.lang-switch {
    display: flex; gap: 4px; align-items: center;
    font-size: 12px; font-weight: 700;
    background: var(--bg); border-radius: 20px; padding: 3px;
}
.lang-switch a {
    color: var(--muted); padding: 5px 10px; border-radius: 16px;
    text-decoration: none; transition: all .15s;
}
.lang-switch a.active {
    background: var(--white); color: var(--blue);
    box-shadow: 0 1px 4px rgba(6,13,26,.08);
}
.lang-switch span { display: none; }

/* ── Hero ── */
.hero { min-height: 480px; align-items: flex-end; overflow: visible; }
.hero-wrap { position: relative; z-index: 1; padding: 56px 24px 0; width: 100%; overflow: visible; }
.hero-text { color: #fff; margin-bottom: 32px; max-width: 520px; }
.hero-tag {
    display: inline-block;
    font-size: 11px; font-weight: 700; letter-spacing: .12em;
    text-transform: uppercase; color: var(--cyan);
    background: rgba(0,207,240,.15); border: 1px solid rgba(0,207,240,.35);
    padding: 6px 14px; border-radius: 20px; margin-bottom: 16px;
}
.hero-text h1 {
    font-size: clamp(32px, 5vw, 48px); font-weight: 800;
    line-height: 1.1; margin-bottom: 14px;
    letter-spacing: -.02em;
}
.hero-text p { font-size: 17px; opacity: .88; line-height: 1.65; max-width: 420px; }

/* ── Search panel ── */
.search-panel {
    position: relative;
    background: var(--white);
    border-radius: 20px 20px 0 0;
    border: 1px solid rgba(255,255,255,.8);
    border-bottom: none;
    box-shadow: var(--shadow-lg);
    padding: 0;
    overflow: visible;
}

.search-panel--compact {
    border-radius: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.flight-search-form { overflow: visible; }

.search-row { padding: 0 24px; overflow: visible; }

.search-row--tabs {
    display: flex;
    gap: 6px;
    padding: 16px 20px 0;
    border-bottom: none;
}

.tab { cursor: pointer; margin: 0; }
.tab input { display: none; }
.tab span {
    display: block;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    background: var(--bg);
    border-radius: 20px;
    transition: all .2s;
}
.tab:has(input:checked) span {
    color: #fff;
    background: var(--grad-blue);
    box-shadow: 0 3px 12px rgba(26,111,232,.3);
}

.search-row--main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 14px 20px 20px;
}

/* Route: from ↔ to - full width, room for long names */
.search-route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
    gap: 10px;
    align-items: end;
    padding: 14px;
    background: linear-gradient(135deg, #F4F8FF 0%, #F8FAFF 100%);
    border: 1px solid #C8D8F0;
    border-radius: var(--radius);
}

.search-meta {
    display: grid;
    grid-template-columns: minmax(180px, 1.6fr) 72px minmax(130px, 1fr) auto;
    gap: 10px;
    align-items: end;
}

.field label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    color: var(--muted);
    margin-bottom: 6px;
}

.field__control {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
}

/* Airport picker - code badge + full city name */
.airport-field {
    position: relative;
    min-height: 50px;
}

.airport-field__display {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
    padding: 0 36px 0 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--white);
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%235C6B82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.airport-field__code {
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    color: #fff;
    background: var(--grad-blue);
    padding: 5px 8px;
    border-radius: 6px;
    min-width: 42px;
    text-align: center;
}

.airport-field__city {
    flex: 1;
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.airport-field__select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.field--airport .field__control:focus-within .airport-field__display {
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,111,232,.12);
}

.field select,
.field input,
.date-trigger {
    width: 100%;
    height: 50px;
    padding: 0 12px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    background: var(--white);
    transition: border-color .15s, box-shadow .15s;
}

.field--compact select { text-align: center; padding: 0 8px; font-weight: 700; }

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5L6 7.5L9 4.5' stroke='%235C6B82' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.field select:focus,
.date-trigger:focus {
    outline: none;
    border-color: var(--blue);
    box-shadow: 0 0 0 3px rgba(26,111,232,.12);
}

.btn-swap {
    width: 44px; height: 44px;
    border: 1.5px solid #B8D4F8;
    border-radius: 50%;
    background: var(--white);
    color: var(--blue);
    cursor: pointer;
    align-self: end;
    margin-bottom: 2px;
    display: flex; align-items: center; justify-content: center;
    transition: all .2s;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(26,111,232,.1);
}
.btn-swap:hover {
    background: var(--grad-blue);
    color: #fff;
    border-color: transparent;
    transform: rotate(180deg);
    box-shadow: 0 4px 14px rgba(26,111,232,.3);
}

.field-dates {
    position: relative;
    z-index: 50;
}

.field-dates.is-open {
    z-index: 400;
}

.date-trigger {
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: left;
    cursor: pointer;
    min-width: 0;
    padding-left: 10px !important;
}

.date-trigger.has-range {
    background: linear-gradient(135deg, #F0F7FF 0%, #F5FAFF 100%) !important;
    border-color: #93B8F0 !important;
}

.date-range-display {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
}

.date-chip {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.date-chip__lbl {
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--muted);
    line-height: 1;
}

.date-chip__val {
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    white-space: nowrap;
    line-height: 1.2;
}

.date-chip--return:not(.is-set) .date-chip__val {
    color: var(--blue);
    font-weight: 600;
}

.date-range-arrow {
    flex-shrink: 0;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    opacity: .7;
    padding: 0 2px;
}

.field__svg {
    flex-shrink: 0;
    color: var(--blue);
}

.btn-search {
    height: 50px;
    padding: 0 22px;
    gap: 8px;
    background: var(--grad-blue) !important;
    box-shadow: 0 4px 16px rgba(26,111,232,.35) !important;
    border-radius: var(--radius-sm);
    font-size: 14px;
    white-space: nowrap;
}

.date-popup {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 500;
    background: var(--white);
    border: 1px solid #D8E2EF;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(6, 13, 26, 0.18);
    padding: 20px 20px 18px;
    width: min(720px, calc(100vw - 32px));
}
.date-popup[hidden] { display: none !important; }

.date-mode-toggle {
    display: flex;
    justify-content: center;
    gap: 0;
    margin: 0 auto 18px;
    max-width: 360px;
    padding: 4px;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--white);
}

.date-mode-btn {
    flex: 1;
    border: none;
    background: transparent;
    padding: 10px 16px;
    border-radius: 999px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.date-mode-btn.is-active {
    background: var(--blue);
    color: #fff;
}

.date-month-rail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.date-month-rail__viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    padding-top: 16px;
}

.date-month-rail__track {
    display: flex;
    gap: 0;
    position: relative;
    transition: transform 0.2s ease;
}

.date-month-rail__pill {
    position: absolute;
    top: 0;
    height: 100%;
    background: var(--blue);
    border-radius: 999px;
    transition: left 0.2s ease, width 0.2s ease;
    pointer-events: none;
    z-index: 0;
}

.date-month-rail__month {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    min-width: 52px;
    padding: 10px 14px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    text-align: center;
}

.date-month-rail__month.is-in-view {
    color: #fff;
}

.date-month-rail__year {
    position: absolute;
    top: -14px;
    font-size: 11px;
    font-weight: 700;
    color: var(--ink);
    transform: translateX(-50%);
    white-space: nowrap;
}

.date-month-rail__nav,
.date-cal-nav {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
    border: none;
    background: transparent;
    color: var(--blue);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    border-radius: 8px;
    transition: background 0.15s;
}

.date-month-rail__nav:hover,
.date-cal-nav:hover {
    background: #EBF3FF;
}

.date-cal-dual {
    display: flex;
    align-items: center;
    gap: 4px;
}

.date-cal-pair {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.date-cal-month__title {
    font-size: 22px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.date-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 0;
    text-align: center;
}

.date-grid .dow {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    padding: 0 0 10px;
    text-transform: lowercase;
}

.date-grid__pad { display: block; height: 40px; }

.date-grid button {
    position: relative;
    border: none;
    background: none;
    height: 40px;
    width: 100%;
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    color: var(--text);
    z-index: 1;
    border-radius: 50%;
}

.date-grid button:hover:not(:disabled):not(.range-start):not(.range-end):not(.in-range) {
    background: #F0F7FF;
}

.date-grid button:disabled {
    color: #CBD5E1;
    cursor: default;
}

.date-grid button.is-weekend:not(:disabled):not(.range-start):not(.range-end) {
    font-weight: 700;
    color: var(--ink);
}

.date-grid button.in-range {
    background: #D6E8FF;
    color: var(--ink);
    font-weight: 600;
    border-radius: 0;
}

.date-grid button.range-start,
.date-grid button.range-end {
    color: var(--ink);
    font-weight: 800;
    z-index: 2;
    background: transparent;
    box-shadow: inset 0 0 0 2px #E5A800;
}

.date-grid button.range-start:not(.range-end)::after,
.date-grid button.range-end:not(.range-start)::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    background: #D6E8FF;
    z-index: -1;
}

.date-grid button.range-start:not(.range-end)::after {
    left: 50%;
    right: 0;
}

.date-grid button.range-end:not(.range-start)::after {
    left: 0;
    right: 50%;
}

.date-flex-title {
    font-size: 16px;
    font-weight: 800;
    color: var(--ink);
    margin: 0 0 4px;
}

.date-flex-hint {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 14px;
}

.date-flex-divider {
    height: 1px;
    background: repeating-linear-gradient(90deg, #D8E2EF 0, #D8E2EF 6px, transparent 6px, transparent 12px);
    margin: 20px 0;
}

.flex-month-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.flex-month-btn {
    padding: 12px 8px;
    border: none;
    border-radius: 10px;
    background: #EEF2F7;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.flex-month-btn.is-selected {
    background: var(--blue);
    color: #fff;
}

.flex-dow-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.flex-dow-btn {
    min-width: 52px;
    padding: 12px 14px;
    border: none;
    border-radius: 10px;
    background: #EEF2F7;
    color: var(--text);
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.flex-dow-btn.is-selected {
    background: var(--blue);
    color: #fff;
}

.date-popup__foot {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 20px;
    padding-top: 4px;
}

.date-foot-link {
    border: none;
    background: none;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--blue);
    cursor: pointer;
    padding: 8px 4px;
}

.date-foot-apply {
    padding: 12px 28px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    background: var(--white);
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
}

.date-foot-apply:not(:disabled) {
    border-color: var(--blue);
    color: var(--blue);
    background: #F0F7FF;
}

.date-foot-apply:not(:disabled):hover {
    background: var(--blue);
    color: #fff;
}

@media (max-width: 720px) {
    .date-cal-pair { grid-template-columns: 1fr; gap: 16px; }
    .flex-month-grid { grid-template-columns: repeat(3, 1fr); }
    .date-popup { left: 50%; transform: translateX(-50%); }
}

.btn-search:hover {
    box-shadow: 0 6px 24px rgba(0,207,240,.4) !important;
    transform: translateY(-1px);
}

.btn-primary {
    background: var(--grad-blue);
    box-shadow: 0 2px 12px rgba(26,111,232,.3);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(0,207,240,.35); }

/* ── Search results ── */
.search-bar-section {
    background: linear-gradient(180deg, #D8E8FF 0%, var(--bg) 100%);
    padding: 32px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: visible;
}
.search-bar-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: var(--grad-brand);
}

.section-tight { padding: 36px 0 72px; }

.results-layout { display: grid; grid-template-columns: 220px 1fr; gap: 28px; }

.sidebar-box {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.sidebar-box h3 {
    font-size: 12px; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; margin: 0; padding: 14px 16px;
    background: var(--grad-blue); color: #fff;
}
.sidebar-box .filter-line { padding: 14px 16px; }
.filter-line { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text); cursor: pointer; }
.filter-line input { accent-color: var(--blue); width: 16px; height: 16px; }

.results-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 18px; font-size: 14px; color: var(--muted);
    background: var(--white); padding: 14px 18px;
    border-radius: var(--radius-sm); border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(6,13,26,.04);
}
.results-meta--spaced { margin-top: 36px; }
.results-meta strong { color: var(--blue); font-size: 16px; }

.input-sm {
    height: 36px; padding: 0 12px;
    border: 2px solid var(--border); border-radius: var(--radius-sm);
    font-size: 13px; background: var(--bg); font-weight: 500;
}

.flight-list { display: flex; flex-direction: column; gap: 14px; }

.flight-item {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 22px 24px;
    box-shadow: 0 2px 12px rgba(6,13,26,.05);
    border-left: 4px solid var(--blue);
    transition: transform .2s, box-shadow .2s;
    position: relative;
    overflow: hidden;
}
.flight-item::after {
    content: '';
    position: absolute; top: 0; right: 0;
    width: 120px; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(26,111,232,.04));
    pointer-events: none;
}
.flight-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--cyan);
}

.flight-item__info { min-width: 0; }

.flight-item__route {
    display: grid;
    grid-template-columns: 90px 1fr 90px;
    gap: 16px; align-items: center;
}

.time-col strong { display: block; font-size: 22px; font-weight: 800; color: var(--ink); }
.time-col span {
    display: inline-block; font-size: 12px; color: #fff; font-weight: 700;
    background: var(--grad-blue); padding: 2px 8px; border-radius: 6px; margin-top: 4px;
}
.time-col--end { text-align: right; }
.time-col--end span { background: linear-gradient(135deg, var(--cyan), var(--purple)); }

.path-col { text-align: center; }
.path-col span { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.path-line {
    height: 2px; margin: 8px 0;
    background: linear-gradient(90deg, var(--blue), var(--cyan), var(--purple));
    border-radius: 2px; position: relative;
}
.path-line::after {
    content: '✈';
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px; background: var(--white); padding: 0 6px;
}

.flight-item__meta {
    display: flex; gap: 10px; margin-top: 12px;
}
.flight-item__meta span {
    font-size: 11px; font-weight: 600; color: var(--muted);
    background: var(--bg); padding: 4px 10px; border-radius: 20px;
}

.flight-item__book { display: flex; align-items: center; gap: 20px; text-align: right; z-index: 1; }

.price-block small { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; }
.price-block strong { font-size: 26px; font-weight: 800; background: var(--grad-blue); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.fare-tag {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    letter-spacing: .02em;
}
.fare-tag--deal { background: #dcfce7; color: #166534; }
.fare-tag--mid { background: #fef3c7; color: #92400e; }
.fare-tag--high { background: #fee2e2; color: #991b1b; }

.results-date-hint {
    flex: 1 1 100%;
    font-size: 13px;
    color: var(--muted);
    margin-top: 4px;
}

.class-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}
.class-option:has(input:checked) {
    border-color: var(--cyan);
    background: rgba(0, 174, 239, .06);
}
.class-option input { accent-color: var(--cyan); }
.class-option__body { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.class-option__body small { color: var(--muted); font-weight: 700; }

.manage-booking--locked {
    border-style: dashed;
    opacity: .92;
}

.empty-box {
    text-align: center; padding: 56px 32px;
    background: var(--white); border: 2px dashed var(--border);
    border-radius: var(--radius);
}
.empty-box p { color: var(--muted); margin-bottom: 8px; }
.empty-box .btn { margin-top: 20px; }

/* ── Service row ── */
.service-row {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 20px rgba(6,13,26,.04);
}
.service-row__grid { display: grid; grid-template-columns: repeat(4,1fr); }
.service-item {
    padding: 22px 20px;
    text-align: center;
    font-size: 14px; font-weight: 600;
    color: var(--text);
    border-right: 1px solid var(--border);
    position: relative;
    transition: all .2s;
    text-decoration: none;
}
.service-item::before {
    content: '';
    display: block; width: 40px; height: 40px;
    margin: 0 auto 10px; border-radius: 12px;
    background: linear-gradient(135deg, #EBF3FF, #E0F9FF);
}
.service-item:nth-child(1)::before { content: '🎫'; font-size: 20px; line-height: 40px; background: linear-gradient(135deg, #EBF3FF, #D4E8FF); }
.service-item:nth-child(2)::before { content: '🧳'; font-size: 20px; line-height: 40px; background: linear-gradient(135deg, #E0F9FF, #C8F0FF); }
.service-item:nth-child(3)::before { content: '🛫'; font-size: 20px; line-height: 40px; background: linear-gradient(135deg, #F0EBFF, #E0D4FF); }
.service-item:nth-child(4)::before { content: '💼'; font-size: 20px; line-height: 40px; background: linear-gradient(135deg, #FFF0EB, #FFE0D4); }
.service-item:last-child { border-right: none; }
.service-item:hover {
    background: linear-gradient(180deg, #F8FAFF, #fff);
    color: var(--blue);
}

/* ── Sections & cards ── */
.section { padding: 64px 0; }
.section-muted {
    background: linear-gradient(180deg, var(--bg) 0%, #E4ECF8 100%);
}
.section-title {
    font-size: 26px; font-weight: 800; color: var(--ink);
    margin-bottom: 28px; position: relative; padding-bottom: 12px;
}
.section-title::after {
    content: '';
    position: absolute; bottom: 0; left: 0;
    width: 48px; height: 4px; border-radius: 2px;
    background: var(--grad-brand);
}

.card-grid { display: grid; gap: 24px; }
.card-grid--2 { grid-template-columns: repeat(2,1fr); }
.card-grid--3 { grid-template-columns: repeat(3,1fr); }

.card-deal {
    display: flex;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .2s, box-shadow .2s;
}
.card-deal:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-deal__img { width: 150px; background-size: cover; background-position: center; flex-shrink: 0; }
.card-deal__body { padding: 20px; flex: 1; }
.card-deal__body h3 { font-size: 17px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.card-deal__body p { font-size: 13px; color: var(--muted); margin-bottom: 16px; line-height: 1.55; }
.card-deal__foot { display: flex; justify-content: space-between; align-items: center; }
.card-deal__foot strong { color: var(--blue); font-size: 20px; font-weight: 800; }

.card-dest {
    display: block;
    height: 240px;
    border-radius: var(--radius);
    background-size: cover;
    background-position: center;
    background-color: var(--navy);
    color: #fff;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform .25s, box-shadow .25s;
    text-decoration: none;
}
.card-dest:hover { transform: scale(1.02); box-shadow: var(--shadow-lg); color: #fff; }

.card-dest__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0;
    padding: 18px 20px 20px;
    background: linear-gradient(to top, rgba(6,13,26,.92) 0%, rgba(6,13,26,.35) 50%, rgba(6,13,26,.05) 100%);
}

.card-dest__code {
    position: absolute;
    top: 16px;
    left: 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .1em;
    background: rgba(0,207,240,.2);
    border: 1px solid rgba(0,207,240,.45);
    padding: 5px 10px;
    border-radius: 20px;
    line-height: 1;
}

.card-dest__city {
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 4px;
    letter-spacing: -.01em;
}

.card-dest__country {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,.72);
    margin: 0 0 10px;
    line-height: 1.3;
}

.card-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;
}

/* ── Footer ── */
.site-footer {
    position: relative;
    background: linear-gradient(160deg, #060D1A 0%, #0B2540 50%, #122240 100%);
    padding: 48px 0 32px;
    overflow: hidden;
}
.footer-glow {
    position: absolute; top: -60px; left: 50%; transform: translateX(-50%);
    width: 600px; height: 120px;
    background: radial-gradient(ellipse, rgba(0,207,240,.15), transparent 70%);
    pointer-events: none;
}
.footer-inner { text-align: center; position: relative; z-index: 1; }
.footer-logo {
    margin: 0 auto 24px;
    background: #fff; padding: 12px 18px;
    border-radius: var(--radius);
    display: inline-block; max-height: 56px; width: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.footer-nav { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 20px; }
.footer-nav a { color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500; text-decoration: none; transition: color .15s; }
.footer-nav a:hover { color: var(--cyan); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.35); }

/* ── Cookie banner - full width ── */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 900;
    background: linear-gradient(135deg, #060D1A 0%, #0F2847 60%, #122240 100%);
    border-top: none;
    box-shadow: 0 -8px 40px rgba(6,13,26,.25);
    animation: cookie-in .4s ease;
}

.cookie-banner[hidden] { display: none !important; }
.cookie-banner--hide { animation: cookie-out .3s ease forwards; }

@keyframes cookie-in {
    from { opacity: 0; transform: translateY(100%); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes cookie-out {
    to { opacity: 0; transform: translateY(100%); }
}

.cookie-banner__strip {
    height: 3px;
    background: var(--grad-brand);
}

.cookie-banner__inner {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
}

.cookie-banner__icon {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,207,240,.12);
    border: 1px solid rgba(0,207,240,.25);
    color: var(--cyan);
    border-radius: 14px;
}

.cookie-banner__body { flex: 1; min-width: 0; }

.cookie-banner__body strong {
    display: block;
    font-size: 14px; font-weight: 700;
    color: #fff; margin-bottom: 4px;
}

.cookie-banner__body p {
    font-size: 13px; line-height: 1.5;
    color: rgba(255,255,255,.65); margin: 0;
}

.cookie-banner__actions {
    flex-shrink: 0;
    display: flex; align-items: center; gap: 12px;
}

.cookie-banner__link {
    font-size: 13px; font-weight: 600;
    color: rgba(255,255,255,.55);
    text-decoration: none; padding: 10px 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: var(--radius-sm);
    transition: all .15s;
    white-space: nowrap;
}
.cookie-banner__link:hover { color: #fff; border-color: rgba(255,255,255,.35); background: rgba(255,255,255,.06); }

.cookie-banner__accept {
    border: none;
    background: var(--grad-blue);
    color: #fff;
    font-family: inherit;
    font-size: 14px; font-weight: 700;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    box-shadow: 0 4px 20px rgba(26,111,232,.45);
    transition: all .15s;
}
.cookie-banner__accept:hover {
    box-shadow: 0 6px 28px rgba(0,207,240,.5);
    transform: translateY(-1px);
}

body:has(.cookie-banner:not([hidden])) { padding-bottom: 90px; }

/* Hide old UI */
.search-page-hero, .search-page-bar, .search-v5-clutter { display: none !important; }

/* ── Responsive ── */
@media (max-width: 1024px) {
    .search-meta { grid-template-columns: 1fr 1fr; }
    .field-dates { grid-column: 1 / -1; }
    .btn-search { grid-column: 1 / -1; width: 100%; }
    .results-layout { grid-template-columns: 1fr; }
    .card-grid--2, .card-grid--3 { grid-template-columns: 1fr; }
    .service-row__grid { grid-template-columns: 1fr 1fr; }
    .flight-item { grid-template-columns: 1fr; }
    .flight-item__book { justify-content: space-between; text-align: left; }
}

@media (max-width: 768px) {
    .search-route { grid-template-columns: 1fr; gap: 8px; }
    .btn-swap { margin: 0 auto; transform: rotate(90deg); }
    .btn-swap:hover { transform: rotate(270deg); }
    .search-meta { grid-template-columns: 1fr; }
    .service-row__grid { grid-template-columns: 1fr; }
    .service-item { border-right: none; border-bottom: 1px solid var(--border); }
    .card-deal { flex-direction: column; }
    .card-deal__img { width: 100%; height: 140px; }
    .cookie-banner__inner { flex-wrap: wrap; padding: 16px; gap: 14px; }
    .cookie-banner__actions { width: 100%; justify-content: flex-end; }
    body:has(.cookie-banner:not([hidden])) { padding-bottom: 130px; }
}
