:root {
    --ink-navy: #0D1B2E;
    --ink-navy-deep: #081221;
    --runway-gold: #C9974A;
    --runway-gold-dark: #B07F36;
    --cloud-white: #FAF8F4;
    --altitude-blue: #35577A;
    --slate: #5B6B7F;
    --hairline: #E4DFD5;
    --success-teal: #2F7D6B;
    --danger: #B3432B;
}

* { box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink-navy);
    background: var(--cloud-white);
    margin: 0;
}

.wordmark {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 19px;
    color: var(--cloud-white);
}

.wordmark span { color: var(--runway-gold); }

.site-header {
    background: var(--ink-navy);
}

.nav-link-custom {
    color: rgba(250, 248, 244, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 14.5px;
}

.nav-link-custom:hover { color: var(--runway-gold); }

.btn-gold {
    background: var(--runway-gold);
    border-color: var(--runway-gold);
    color: var(--ink-navy);
    font-weight: 700;
}

.btn-gold:hover { background: var(--runway-gold-dark); border-color: var(--runway-gold-dark); color: var(--ink-navy); }

.site-footer {
    border-top: 1px solid var(--hairline);
    background: #fff;
}

.footer-link { color: var(--slate); text-decoration: none; }
.footer-link:hover { color: var(--altitude-blue); }

/* ---------- Hero + Search Card ---------- */

.hero {
    background: linear-gradient(160deg, var(--ink-navy) 0%, var(--ink-navy-deep) 100%);
    padding: 56px 0 120px;
    position: relative;
    /* overflow: hidden; */
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 85% 20%, rgba(201, 151, 74, 0.15), transparent 40%);
}

.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    color: var(--cloud-white);
    font-size: 34px;
    max-width: 560px;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    color: rgba(250, 248, 244, 0.7);
    font-size: 15px;
    max-width: 480px;
    position: relative;
    z-index: 1;
}


.search-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 30px 60px -20px rgba(13, 27, 46, 0.35);
    margin-top: -70px;
    position: relative;
    z-index: 2;
    padding: 28px 28px 22px;
}

.trip-tabs {
    display: flex;
    gap: 6px;
    margin-bottom: 22px;
}

.trip-tab {
    border: none;
    background: transparent;
    padding: 8px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--slate);
    cursor: pointer;
}

.trip-tab.active {
    background: var(--ink-navy);
    color: var(--runway-gold);
}

.field-label-sm {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--slate);
    margin-bottom: 4px;
    display: block;
}

.search-input {
    width: 100%;
    border: none;
    border-bottom: 2px solid var(--hairline);
    background: transparent;
    padding: 8px 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-navy);
    outline: none;
}

.search-input:focus { border-color: var(--altitude-blue); }

.swap-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid var(--hairline);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--altitude-blue);
    font-weight: 700;
}

.swap-btn:hover { border-color: var(--altitude-blue); }

.autocomplete-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 12px 30px -10px rgba(13, 27, 46, 0.3);
    z-index: 20;
    max-height: 260px;
    overflow-y: auto;
    display: none;
}

.autocomplete-panel.show { display: block; }

.autocomplete-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid var(--hairline);
}

.autocomplete-item:last-child { border-bottom: none; }
.autocomplete-item:hover, .autocomplete-item.active { background: rgba(53, 87, 122, 0.08); }
.autocomplete-item .code { font-weight: 800; color: var(--ink-navy); margin-right: 6px; }
.autocomplete-item .sub { color: var(--slate); font-size: 12.5px; }

.pax-summary {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--hairline);
    padding: 8px 2px;
    font-size: 15px;
    font-weight: 600;
    color: var(--ink-navy);
    cursor: pointer;
}

.pax-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px -10px rgba(13, 27, 46, 0.3);
    padding: 18px;
    z-index: 30;
    display: none;
}

.pax-dropdown.show { display: block; }

.pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pax-row .label { font-weight: 700; font-size: 14px; }
.pax-row .hint { font-size: 11.5px; color: var(--slate); }

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

.stepper button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid var(--hairline);
    background: #fff;
    font-weight: 800;
    color: var(--ink-navy);
    cursor: pointer;
}

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

.segment-row {
    border-top: 1px dashed var(--hairline);
    padding-top: 14px;
    margin-top: 14px;
}

.remove-segment {
    background: none;
    border: none;
    color: var(--danger);
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
}

.search-submit {
    background: var(--runway-gold);
    border: none;
    color: var(--ink-navy);
    font-weight: 800;
    padding: 12px 34px;
    border-radius: 10px;
    font-size: 15px;
}

.search-submit:hover { background: var(--runway-gold-dark); }

/* ---------- Results page ---------- */

.filters-panel {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 4px 20px -8px rgba(13, 27, 46, 0.12);
}

.filters-panel h6 {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 10px;
}

.flight-card {
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 4px 20px -8px rgba(13, 27, 46, 0.12);
    padding: 20px;
    margin-bottom: 16px;
}

.flight-card:hover {
    box-shadow: 0 10px 30px -8px rgba(13, 27, 46, 0.2);
}

.airline-name { font-weight: 700; font-size: 14px; }
.flight-time { font-family: 'Fraunces', serif; font-size: 20px; font-weight: 600; }
.flight-airport { font-size: 12.5px; color: var(--slate); font-weight: 700; }
.flight-duration { font-size: 12px; color: var(--slate); text-align: center; }

.stop-line {
    height: 2px;
    background: var(--hairline);
    position: relative;
    margin: 6px 0;
}

.stop-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--runway-gold);
    position: absolute;
    top: -2px;
}

.price-total {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 700;
    color: var(--ink-navy);
}

.badge-refundable {
    background: rgba(47, 125, 107, 0.12);
    color: var(--success-teal);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
}

.badge-nonrefundable {
    background: rgba(179, 67, 43, 0.1);
    color: var(--danger);
    font-weight: 700;
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 999px;
}

.book-btn {
    background: var(--ink-navy);
    color: var(--runway-gold);
    border: none;
    font-weight: 700;
    padding: 10px 24px;
    border-radius: 10px;
}

.book-btn:hover { background: var(--ink-navy-deep); color: var(--runway-gold); }

.status-banner {
    background: rgba(47, 125, 107, 0.1);
    color: var(--success-teal);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 14px;
    font-weight: 600;
}

.field-error {
    color: var(--danger);
    font-size: 12.5px;
}

.cms-content {
    font-size: 15.5px;
    line-height: 1.75;
    color: var(--ink-navy);
}

.cms-content h2 {
    font-family: 'Fraunces', serif;
    font-size: 24px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 12px;
}

.cms-content h3 {
    font-family: 'Fraunces', serif;
    font-size: 19px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 10px;
}

.cms-content p { margin-bottom: 16px; }

.cms-content blockquote {
    border-left: 3px solid var(--runway-gold);
    padding-left: 16px;
    color: var(--slate);
    font-style: italic;
    margin: 20px 0;
}

.cms-content ul, .cms-content ol { margin-bottom: 16px; padding-left: 24px; }
.cms-content a { color: var(--altitude-blue); }

.blog-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px -8px rgba(13, 27, 46, 0.12);
    height: 100%;
}

.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 20px; }
.blog-card-title { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; margin-bottom: 8px; }

.faq-category-title {
    font-family: 'Fraunces', serif;
    font-size: 20px;
    font-weight: 600;
    margin: 28px 0 14px;
}
