/* AMX Delta Codeshare — matches staff/rank redesign tokens */

.amx-delta-page .home-hero__lead {
    max-width: 40rem;
}

.amx-delta-page .home-hero.amx-hero {
    /* No stats strip — give scroll more breathing room */
    min-height: 100vh;
}

.amx-delta-page .home-hero__inner {
    padding-bottom: 4rem;
}

/* Partner logos in hero */
.amx-delta__partners {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.15rem;
    margin: 0.15rem 0 0.35rem;
}

.amx-delta__partners img {
    height: 2.15rem;
    width: auto;
    max-width: 9rem;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 0.95;
}

@media (min-width: 640px) {
    .amx-delta__partners img {
        height: 2.55rem;
        max-width: 11rem;
    }
}

.amx-delta__partners-sep {
    display: block;
    width: 1.5px;
    height: 1.75rem;
    background: rgba(255, 255, 255, 0.45);
    border-radius: 2px;
    flex-shrink: 0;
}

/* Main content */
.amx-delta.home-section--light {
    background: #fff;
    padding-top: 4.5rem;
    padding-bottom: 4.75rem;
}

.amx-delta__wrap {
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.amx-delta__block {
    margin-bottom: 3.25rem;
}

.amx-delta__block:last-child {
    margin-bottom: 0;
}

/* Section heads — centered */
.amx-delta__sec-head {
    text-align: center;
    margin: 0 auto 1.65rem;
    max-width: 36rem;
}

.amx-delta__kicker {
    display: inline-block;
    margin: 0 0 0.45rem;
    font-size: 0.6875rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fa0073;
}

.amx-delta__title {
    margin: 0 0 0.5rem;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(1.55rem, 3vw, 2.15rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #020c41;
}

.amx-delta__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    -webkit-text-align-last: center;
}

/* Cards — white, soft shadow, pink accent header bar */
.amx-delta__card {
    overflow: hidden;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.08);
    box-shadow: 0 10px 28px rgba(2, 12, 65, 0.05);
    margin-bottom: 1.5rem;
}

.amx-delta__card:last-child {
    margin-bottom: 0;
}

.amx-delta__card-head {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #020c41 0%, #030d75 100%);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
}

.amx-delta__card-head::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: #fa0073;
}

.amx-delta__card-head i {
    color: #fa0073;
    font-size: 0.95rem;
}

.amx-delta__card-body {
    padding: 1.35rem 1.35rem 1.5rem;
}

.amx-delta__card-body p {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    -webkit-text-align-last: center;
}

.amx-delta__card-body p:last-child {
    margin-bottom: 0;
}

.amx-delta__card-body p strong {
    color: #020c41;
    font-weight: 700;
}

.amx-delta__card-body--center {
    text-align: center;
}

/* Ratio display */
.amx-delta__ratio {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 0.5rem auto 1rem;
    flex-wrap: wrap;
}

.amx-delta__ratio-side {
    text-align: center;
    min-width: 5.5rem;
}

.amx-delta__ratio-num {
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2.75rem, 6vw, 3.75rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    color: #fa0073;
}

.amx-delta__ratio-num--dal {
    color: #c8102e;
}

.amx-delta__ratio-label {
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #030d75;
}

.amx-delta__ratio-bar {
    width: 3.5rem;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #fa0073, #c8102e);
    flex-shrink: 0;
}

.amx-delta__ratio-note {
    margin: 0 auto 0;
    max-width: 36rem;
    text-align: center;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #64748b;
}

/* Requirements */
.amx-delta__reqs {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 36rem;
    margin: 0 auto;
}

.amx-delta__req {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
}

.amx-delta__req > i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    width: 1.35rem;
    height: 1.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: rgba(250, 0, 115, 0.1);
    color: #fa0073;
    font-size: 0.65rem;
}

.amx-delta__req > div {
    flex: 1;
    font-size: 0.92rem;
    line-height: 1.55;
    color: #334155;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    -webkit-text-align-last: center;
}

.amx-delta__req strong {
    color: #020c41;
    font-weight: 700;
}

.amx-delta__req code {
    display: inline-block;
    padding: 0.15rem 0.45rem;
    border-radius: 0.35rem;
    background: rgba(250, 0, 115, 0.1);
    color: #030d75;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.82em;
    font-weight: 600;
}

/* EXAMPLE divider */
.amx-delta__divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.75rem auto 1.5rem;
    max-width: 28rem;
}

.amx-delta__divider-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(3, 13, 117, 0.18), transparent);
}

.amx-delta__divider-text {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #fa0073;
    flex-shrink: 0;
}

.amx-delta__examples-title {
    margin: 0 0 1rem;
    text-align: center;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #020c41;
}

.amx-delta__examples {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
    margin-bottom: 1rem;
}

@media (min-width: 720px) {
    .amx-delta__examples {
        grid-template-columns: 1fr 1fr;
    }
}

.amx-delta__example-label {
    margin: 0 0 0.45rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: #020c41;
}

.amx-delta__flight {
    padding: 1rem 1.1rem;
    border-radius: 0.85rem;
    background: #0b122e;
    border: 1px solid rgba(250, 0, 115, 0.22);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.78rem;
    line-height: 1.65;
    color: #e2e8f0;
    text-align: left;
    overflow-x: auto;
}

.amx-delta__flight div + div {
    margin-top: 0.1rem;
}

.amx-delta__examples-note {
    margin: 0;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.55;
    color: #64748b;
}

.amx-delta__examples-note strong {
    color: #020c41;
}

/* Benefits 2×2 */
.amx-delta__benefits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.15rem;
}

@media (min-width: 640px) {
    .amx-delta__benefits {
        grid-template-columns: 1fr 1fr;
    }
}

.amx-delta__benefit {
    margin-bottom: 0;
}

.amx-delta__benefit .amx-delta__card-body p {
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
}

/* Fleet — richer row tiles */
.amx-delta__fleet-intro {
    margin: 0 auto 1.35rem !important;
    max-width: 36rem;
    text-align: center !important;
    color: #64748b !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

.amx-delta__fleet {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
    justify-items: stretch;
}

@media (min-width: 560px) {
    .amx-delta__fleet {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }
}

@media (min-width: 900px) {
    .amx-delta__fleet {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

.amx-delta__fleet-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.7rem;
    min-height: 8.25rem;
    padding: 1.25rem 1rem 1.2rem;
    border-radius: 1.15rem;
    background:
        radial-gradient(ellipse 80% 70% at 50% 0%, rgba(250, 0, 115, 0.06), transparent 55%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(3, 13, 117, 0.09);
    box-shadow: 0 8px 22px rgba(2, 12, 65, 0.05);
    overflow: hidden;
    transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.amx-delta__fleet-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    width: 2.75rem;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: #fa0073;
}

.amx-delta__fleet-item:hover {
    border-color: rgba(250, 0, 115, 0.24);
    box-shadow: 0 14px 32px rgba(2, 12, 65, 0.09);
    transform: translateY(-3px);
}

.amx-delta__fleet-icon {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #020c41 0%, #030d75 100%);
    color: #fff;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 8px 18px rgba(3, 13, 117, 0.22);
}

.amx-delta__fleet-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    min-width: 0;
    width: 100%;
}

.amx-delta__fleet-icao {
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: #020c41;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-align: center;
    word-break: break-word;
}

.amx-delta__fleet-name {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0;
    color: #64748b;
    line-height: 1.4;
    text-align: center;
    max-width: 14rem;
}

@media (max-width: 559px) {
    .amx-delta__fleet {
        gap: 0.7rem;
    }

    .amx-delta__fleet-item {
        min-height: 7.25rem;
        padding: 1.1rem 0.9rem 1.05rem;
        gap: 0.55rem;
    }

    .amx-delta__fleet-icon {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 0.78rem;
    }

    .amx-delta__fleet-icao {
        font-size: 0.92rem;
    }

    .amx-delta__fleet-name {
        font-size: 0.75rem;
        max-width: 12rem;
    }
}

/* Routes — flight-board style */
.amx-delta__routes-intro {
    margin: 0 0 1.45rem !important;
    text-align: justify !important;
    text-justify: inter-word;
    text-align-last: center !important;
    -webkit-text-align-last: center !important;
    color: #64748b !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

.amx-delta__routes-cols {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 860px) {
    .amx-delta__routes-cols {
        grid-template-columns: 1fr 1fr;
        gap: 1.25rem;
    }
    .amx-delta__route-group--wide {
        grid-column: 1 / -1;
    }
}

.amx-delta__route-group {
    margin: 0;
    padding: 0;
    border-radius: 1.15rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.1);
    box-shadow: 0 12px 32px rgba(2, 12, 65, 0.06);
    overflow: hidden;
}

.amx-delta__route-group h3 {
    margin: 0;
    padding: 0.95rem 1.15rem;
    text-align: center;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: #fff;
    background: linear-gradient(135deg, #020c41 0%, #030d75 100%);
    position: relative;
}

.amx-delta__route-group h3::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    background: linear-gradient(90deg, #fa0073, #c8102e);
}

.amx-delta__route-group--wide h3 {
    color: #fff;
}

.amx-delta__route-list {
    list-style: none;
    margin: 0;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 40%);
}

.amx-delta__route-list li,
.amx-delta__route {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 0.45rem 0.5rem;
    padding: 0.85rem 0.75rem;
    border-radius: 0.95rem;
    background: #fff;
    border: 1px solid rgba(3, 13, 117, 0.08);
    box-shadow: 0 4px 14px rgba(2, 12, 65, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.amx-delta__route:hover {
    border-color: rgba(250, 0, 115, 0.22);
    box-shadow: 0 10px 24px rgba(2, 12, 65, 0.08);
    transform: translateY(-2px);
}

.amx-delta__route-end {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.amx-delta__route-end--dep {
    text-align: left;
    align-items: flex-start;
}

.amx-delta__route-end--arr {
    text-align: right;
    align-items: flex-end;
}

.amx-delta__route-icao {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.4rem;
    padding: 0.35rem 0.5rem;
    border-radius: 0.45rem;
    background: linear-gradient(145deg, #020c41, #030d75);
    color: #fff;
    font-family: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    line-height: 1;
    box-shadow: 0 6px 14px rgba(3, 13, 117, 0.2);
}

.amx-delta__route-end--arr .amx-delta__route-icao {
    background: linear-gradient(145deg, #c8102e, #a50d24);
    box-shadow: 0 6px 14px rgba(200, 16, 46, 0.22);
}

.amx-delta__route-city {
    font-size: 0.78rem;
    font-weight: 650;
    color: #475569;
    line-height: 1.25;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.amx-delta__route-mid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    color: #fa0073;
}

.amx-delta__route-mid i {
    font-size: 0.9rem;
}

.amx-delta__route-mid-line {
    width: 1.15rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #030d75, #fa0073, #c8102e);
}

.amx-delta__route-airports,
.amx-delta__route-arrow,
.amx-delta__route-cities {
    display: none;
}

.amx-delta__route-group--wide .amx-delta__route-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.65rem;
}

@media (min-width: 720px) {
    .amx-delta__route-group--wide .amx-delta__route-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 720px) and (max-width: 1100px) {
    .amx-delta__route-group--wide .amx-delta__route-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 420px) {
    .amx-delta__route {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 0.45rem;
    }
    .amx-delta__route-end--dep,
    .amx-delta__route-end--arr {
        align-items: center;
        text-align: center;
    }
    .amx-delta__route-mid {
        order: 0;
        flex-direction: row;
        gap: 0.45rem;
    }
    .amx-delta__route-mid-line {
        width: 2.5rem;
    }
}

@media (max-width: 480px) {
    .amx-delta__wrap {
        padding: 0 1.1rem;
    }

    .amx-delta__card-body {
        padding: 1.1rem 1rem 1.25rem;
    }

    .amx-delta__ratio {
        gap: 0.85rem;
    }

    .amx-delta__ratio-bar {
        width: 2.25rem;
    }
}
