@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap");

:root {
    --ink: #0a0a0a;
    --muted: rgba(10, 10, 10, 0.62);
    --paper: #ffffff;
    --soft: #f6f6f2;
    --accent: #e63946;
    --blue: #0068b7;
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: "Manrope", Arial, sans-serif;
}

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

.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

.wrap {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}

.site-header {
    border-bottom: 1px solid var(--ink);
}

.header-inner {
    min-height: 88px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    width: 250px;
    max-width: 48vw;
    display: block;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 28px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.top-nav a {
    opacity: .64;
}

.top-nav a:hover {
    opacity: 1;
}

.hero {
    border-bottom: 1px solid rgba(10, 10, 10, .1);
}

.hero-grid {
    padding: 76px 0 84px;
    display: grid;
    grid-template-columns: 7fr 5fr;
    gap: 64px;
    align-items: center;
}

.overline {
    font-size: 11px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .22em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.display {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-weight: 600;
    letter-spacing: 0;
}

.hero h1 {
    margin: 22px 0 0;
    font-size: clamp(54px, 7vw, 98px);
    line-height: .94;
}

.hero h1 em {
    color: var(--accent);
}

.hero-copy {
    margin-top: 30px;
    max-width: 620px;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.8;
}

.stats {
    margin-top: 42px;
    max-width: 460px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
    padding: 18px 0;
}

.stat-number {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 36px;
    line-height: 1;
}

.hero-media {
    position: relative;
}

.hero-media img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border: 1px solid var(--ink);
    display: block;
}

.boarding-note {
    position: absolute;
    left: -18px;
    bottom: -18px;
    background: #fff;
    border: 1px solid var(--ink);
    padding: 18px 20px;
}

.search-band {
    border-bottom: 1px solid rgba(10, 10, 10, .1);
}

.search-panel {
    margin-top: -38px;
    margin-bottom: 78px;
    background: #fff;
    border: 1px solid var(--ink);
    padding: 34px;
}

.tabs {
    display: inline-flex;
    border: 1px solid var(--ink);
    margin-bottom: 34px;
}

.tabs button {
    padding: 12px 18px;
    border-right: 1px solid var(--ink);
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    background: #fff;
    color: var(--ink);
    font: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    cursor: pointer;
}

.tabs button:last-child {
    border-right: 0;
}

.tabs .active {
    background: var(--ink);
    color: #fff;
}

.form-grid {
    display: grid;
    grid-template-columns: 2fr 2fr 1.2fr 1.2fr;
    gap: 28px;
}

.field label {
    display: block;
    margin-bottom: 10px;
    color: var(--muted);
}

.field input,
.field select {
    width: 100%;
    border: 0;
    border-bottom: 1px solid var(--ink);
    padding: 10px 0;
    font: inherit;
    background: transparent;
    outline: none;
}

.field-help {
    margin-top: 7px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.4;
}

.error-text {
    color: var(--accent);
}

.airport-box {
    position: relative;
}

.airport-results {
    position: absolute;
    z-index: 10;
    left: 0;
    right: 0;
    top: calc(100% + 8px);
    background: #fff;
    border: 1px solid var(--ink);
    box-shadow: 0 18px 35px rgba(0, 0, 0, .12);
    max-height: 280px;
    overflow: auto;
}

.airport-option {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    width: 100%;
    border: 0;
    border-bottom: 1px solid rgba(10, 10, 10, .12);
    background: #fff;
    padding: 13px 14px;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.airport-option:hover {
    background: var(--soft);
}

.airport-option strong {
    color: var(--blue);
}

.airport-option span {
    color: var(--muted);
    font-size: 13px;
}

.notice,
.error {
    margin: 18px 0;
    padding: 14px 16px;
    border: 1px solid var(--ink);
    background: var(--soft);
}

.error {
    border-color: var(--accent);
    color: var(--accent);
    background: #fff7f7;
}

.offer-list,
.stack {
    display: grid;
    gap: 18px;
}

.offer-card {
    border: 1px solid var(--ink);
    padding: 22px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.mini-segments {
    display: grid;
    gap: 6px;
    margin-top: 10px;
    color: var(--muted);
    font-size: 12px;
}

.segment-list {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.segment-list div {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-top: 1px solid rgba(10, 10, 10, .12);
    padding-top: 10px;
}

.segment-list span {
    color: var(--muted);
}

.payment-grid .notice {
    margin-top: 18px;
}

.full-field {
    grid-column: 1 / -1;
}

.hosted-card-field {
    min-height: 48px;
    border: 1px solid rgba(10, 10, 10, .18);
    border-radius: 0;
    display: flex;
    align-items: center;
    padding: 0 14px;
    background: #fff;
    color: rgba(10, 10, 10, .38);
    font-size: 14px;
}

.hosted-card-field.compact {
    min-height: 46px;
}

.secure-payment p {
    line-height: 1.55;
}

.route-line {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.route-code {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 44px;
    line-height: 1;
}

.table {
    width: 100%;
    border-collapse: collapse;
}

.table th,
.table td {
    border-bottom: 1px solid rgba(10, 10, 10, .16);
    padding: 13px 8px;
    text-align: left;
    vertical-align: top;
}

.checkout-page {
    padding: 72px 0;
}

.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.checkout-main {
    min-width: 0;
}

.checkout-card {
    border: 1px solid var(--ink);
    background: #fff;
    padding: 24px;
}

.detail-grid,
.baggage-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-top: 22px;
}

.detail-grid span,
.baggage-grid span {
    display: block;
}

.detail-grid strong,
.baggage-grid strong {
    display: block;
    margin-top: 8px;
}

.prime-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 22px;
    align-items: center;
}

.prime-card h2 {
    margin: 8px 0 8px;
    font-size: 36px;
}

.check-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 14px;
    line-height: 1.6;
}

.check-row input {
    margin-top: 5px;
}

.check-row a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.seat-map {
    margin: 20px 0 12px;
    display: grid;
    grid-template-columns: repeat(3, 44px) 26px repeat(3, 44px);
    gap: 9px;
    justify-content: center;
}

.seat-choice {
    width: 44px;
    height: 38px;
    border: 1px solid var(--ink);
    background: #fff;
    cursor: pointer;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
}

.seat-choice:nth-child(6n + 4) {
    grid-column: 5;
}

.seat-choice:hover:not(:disabled),
.seat-choice.selected {
    background: var(--ink);
    color: #fff;
}

.seat-choice.unavailable {
    border-color: rgba(10, 10, 10, .16);
    color: rgba(10, 10, 10, .24);
    background: #f0f0ee;
    cursor: not-allowed;
    text-decoration: line-through;
}

.seat-dialog {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.seat-dialog-panel {
    width: min(760px, 100%);
    max-height: min(880px, calc(100vh - 48px));
    overflow: auto;
    background: #fff;
    border: 1px solid var(--ink);
    padding: 24px;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .3);
}

.seat-dialog-head {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: start;
}

.seat-dialog-head h2 {
    margin: 4px 0 0;
    font-size: 42px;
}

.seat-dialog-close {
    width: 36px;
    height: 36px;
    border: 1px solid var(--ink);
    background: #fff;
    cursor: pointer;
    font: inherit;
    text-transform: uppercase;
}

.aircraft-nose {
    width: min(380px, 80%);
    height: 80px;
    margin: 24px auto 10px;
    border: 1px solid var(--ink);
    border-bottom: 0;
    border-radius: 180px 180px 0 0;
    background: linear-gradient(#f8fbfc, #fff);
}

.cabin-labels {
    display: grid;
    grid-template-columns: repeat(3, 44px) 26px repeat(3, 44px);
    gap: 9px;
    justify-content: center;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 800;
    color: var(--muted);
    text-align: center;
}

.seat-legend {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--muted);
    font-size: 13px;
    margin-top: 16px;
}

.seat-legend i {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 1px solid var(--ink);
    vertical-align: -2px;
    margin-right: 6px;
}

.seat-legend .picked {
    background: var(--ink);
}

.seat-legend .blocked {
    background: #f0f0ee;
    border-color: rgba(10, 10, 10, .16);
}

.checkout-summary {
    position: sticky;
    top: 22px;
}

.summary-line,
.summary-total {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid rgba(10, 10, 10, .12);
}

.summary-total {
    border-bottom: 0;
    font-size: 20px;
}

.secure-payment {
    margin: 18px 0;
    padding: 14px;
    background: var(--soft);
    border: 1px solid rgba(10, 10, 10, .18);
}

.secure-payment p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.confirmation-page {
    padding: 72px 0;
}

.confirmation-hero {
    display: flex;
    justify-content: space-between;
    gap: 28px;
    align-items: flex-end;
    margin-bottom: 34px;
}

.confirmation-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.button.secondary {
    background: #fff;
    color: var(--ink);
}

.button.secondary:hover {
    background: var(--soft);
    border-color: var(--ink);
}

.boarding-pass-ui {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    border: 1px solid var(--ink);
    background:
        linear-gradient(90deg, transparent calc(100% - 281px), rgba(10, 10, 10, .08) calc(100% - 281px), rgba(10, 10, 10, .08) calc(100% - 280px), transparent calc(100% - 280px)),
        #fff;
}

.boarding-left,
.boarding-stub {
    padding: 34px;
}

.boarding-stub {
    border-left: 1px dashed rgba(10, 10, 10, .45);
    display: grid;
    align-content: space-between;
    gap: 22px;
    min-height: 420px;
}

.passenger-name {
    margin-top: 8px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 6vw, 72px);
    line-height: .95;
}

.large-route {
    margin: 34px 0;
}

.route-arrow {
    color: var(--muted);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .2em;
}

.ticket-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    border-top: 1px solid rgba(10, 10, 10, .15);
    padding-top: 24px;
}

.ticket-grid span,
.ticket-grid strong {
    display: block;
}

.ticket-grid strong {
    margin-top: 7px;
}

.stub-pnr {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 48px;
    line-height: 1;
}

.fake-qr {
    width: 154px;
    height: 154px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 7px;
    padding: 10px;
    border: 1px solid var(--ink);
    background: #fff;
}

.fake-qr span {
    background: var(--ink);
}

.fake-qr span:nth-child(2n) {
    background: var(--blue);
}

.fake-qr span:nth-child(5),
.fake-qr span:nth-child(9),
.fake-qr span:nth-child(14) {
    background: #fff;
    border: 1px solid var(--ink);
}

.stub-total {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
}

.confirmation-panels {
    margin-top: 24px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.booking-list {
    display: grid;
    gap: 20px;
    margin-top: 30px;
}

.booking-card {
    border: 1px solid var(--ink);
    padding: 24px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 24px;
    align-items: center;
}

.booking-card-side {
    display: grid;
    gap: 12px;
    justify-items: end;
    text-align: right;
}

.compact-ticket-grid {
    grid-template-columns: repeat(3, 1fr);
    margin-top: 20px;
    padding-top: 18px;
}

.search-actions {
    margin-top: 34px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.button {
    display: inline-flex;
    border: 1px solid var(--ink);
    background: var(--ink);
    color: #fff;
    padding: 15px 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    cursor: pointer;
}

.button:hover {
    background: var(--accent);
    border-color: var(--accent);
}

.section {
    padding: 78px 0;
}

.section-title {
    margin: 0 0 36px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.destination {
    border: 1px solid var(--ink);
}

.destination img {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
    display: block;
}

.destination-body {
    border-top: 1px solid var(--ink);
    padding: 20px;
    display: flex;
    align-items: end;
    justify-content: space-between;
}

.destination-city,
.price,
.legal-title {
    font-family: "Cormorant Garamond", Georgia, serif;
}

.destination-city {
    font-size: 36px;
}

.price {
    font-size: 30px;
}

.legal-page,
.simple-page {
    padding: 72px 0;
    max-width: 860px;
}

.legal-title {
    margin: 8px 0 34px;
    font-size: 64px;
    line-height: 1;
}

.legal-body p,
.simple-page p {
    color: var(--muted);
    line-height: 1.85;
    font-size: 16px;
}

.legal-body .policy-highlight {
    border: 1px solid var(--ink);
    background: #fff7e8;
    color: var(--ink);
    padding: 18px 20px;
    font-weight: 700;
}

.help-intro {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    border: 1px solid var(--ink);
    background: var(--soft);
    padding: 22px;
    margin-bottom: 34px;
}

.help-intro p {
    margin: 0;
    color: var(--muted);
    line-height: 1.75;
}

.help-section {
    margin-top: 38px;
}

.help-section h2,
.support-strip h2 {
    margin: 0 0 18px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 42px;
    line-height: 1;
}

.help-category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.help-category-card {
    min-height: 170px;
    border: 1px solid var(--ink);
    background: #fff;
    padding: 20px;
}

.help-category-card h3 {
    margin: 0 0 12px;
    font-size: 17px;
}

.help-category-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
    font-size: 14px;
}

.help-topic-list,
.faq-list {
    display: grid;
    gap: 14px;
}

.help-topic,
.faq-item {
    border: 1px solid var(--ink);
    background: #fff;
    padding: 22px;
}

.help-topic summary {
    cursor: pointer;
    font-weight: 800;
}

.help-topic p {
    margin: 14px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.faq-item h2 {
    margin: 0 0 10px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    line-height: 1.05;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.support-strip {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 22px;
    align-items: center;
    border: 1px solid var(--ink);
    background: #fff;
    padding: 24px;
    margin-top: 42px;
}

.support-strip p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.auth-box {
    max-width: 460px;
    padding: 76px 0;
}

.auth-box h1 {
    margin: 6px 0 28px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 64px;
}

.site-footer {
    border-top: 1px solid var(--ink);
    margin-top: 54px;
}

.footer-grid {
    padding: 42px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 38px;
}

.footer-logo {
    width: 220px;
    max-width: 100%;
}

.footer-grid p {
    margin: 7px 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-payments {
    padding: 22px 0;
    border-top: 1px solid rgba(10, 10, 10, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.footer-payments h3 {
    margin: 0 0 8px;
}

.footer-payments p {
    max-width: 680px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.payment-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
}

.payment-logo {
    width: 72px;
    height: 40px;
    padding: 0;
    border: 1px solid rgba(10, 10, 10, .18);
    border-radius: 8px;
    display: block;
    background: #fff;
    object-fit: contain;
    box-shadow: 0 8px 18px rgba(10, 10, 10, .04);
}

.payment-logo-zelle {
    width: 62px;
    padding: 6px 9px;
}

.footer-bottom {
    border-top: 1px solid rgba(10, 10, 10, .1);
}

.footer-bottom-inner {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    color: rgba(10, 10, 10, .42);
    font-size: 12px;
}

@media (max-width: 900px) {
    .header-inner,
    .footer-bottom-inner,
    .footer-payments {
        align-items: flex-start;
        flex-direction: column;
    }

    .payment-logos {
        justify-content: flex-start;
    }

    .top-nav {
        flex-wrap: wrap;
        gap: 16px;
        padding-bottom: 18px;
    }

    .hero-grid,
    .form-grid,
    .cards,
    .footer-grid,
    .checkout-grid,
    .detail-grid,
    .baggage-grid,
    .prime-card,
    .boarding-pass-ui,
    .ticket-grid,
    .confirmation-panels,
    .booking-card,
    .compact-ticket-grid {
        grid-template-columns: 1fr;
    }

    .booking-card-side {
        justify-items: start;
        text-align: left;
    }

    .help-intro,
    .help-category-grid,
    .support-strip {
        grid-template-columns: 1fr;
    }

    .confirmation-hero {
        align-items: flex-start;
        flex-direction: column;
    }

    .boarding-stub {
        border-left: 0;
        border-top: 1px dashed rgba(10, 10, 10, .45);
        min-height: auto;
    }

    .checkout-summary {
        position: static;
    }

    .boarding-note {
        position: static;
        margin-top: 12px;
    }
}
