﻿/* =========================================================
AIRCRAFT PARTS DISTRIBUTION PAGE
Page-specific styling only.
========================================================= */

.aircraft-parts-page {
    background: #ffffff;
}

/* =========================================================
HERO
========================================================= */

.aircraft-parts-hero {
    position: relative;
    min-height: clamp(680px, 82vw, 980px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0d2a45;
}

.aircraft-parts-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.aircraft-parts-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 18, 32, 0.42) 0%, rgba(5, 18, 32, 0.16) 46%, rgba(5, 18, 32, 0.04) 100%);
}

.aircraft-parts-hero-content {
    position: relative;
    z-index: 2;
    width: 75vw;
    max-width: 75vw;
    min-height: inherit;
    margin-left: 0;
    margin-right: auto;
    padding: clamp(3rem, 7vw, 6rem) 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.aircraft-parts-hero-card {
    width: min(720px, calc(100% - 2rem));
    margin-left: auto;
    margin-right: 0;
    padding: clamp(1.4rem, 3vw, 2.35rem);
    background: linear-gradient(180deg, rgba(243, 249, 255, 0.76) 0%, rgba(220, 236, 248, 0.66) 42%, rgba(199, 222, 239, 0.58) 100%);
    border: 1px solid rgba(126, 160, 190, 0.62);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(18, 32, 47, 0.22);
    backdrop-filter: blur(7px);
    -webkit-backdrop-filter: blur(7px);
}

    .aircraft-parts-hero-card h1 {
        color: var(--sfs-text);
        font-size: clamp(2.35rem, 4.9vw, 4.7rem);
        line-height: 1.02;
        letter-spacing: -0.05em;
        margin-bottom: 1rem;
    }

    .aircraft-parts-hero-card p {
        color: var(--sfs-blue);
        font-size: clamp(0.98rem, 1.25vw, 1.1rem);
        line-height: 1.78;
        font-weight: 600;
    }

/* =========================================================
QUICK LINKS BANNER
========================================================= */

.aircraft-parts-quicklinks {
    border-top: 1px solid #dbe4ec;
    border-bottom: 1px solid #dbe4ec;
    background: #eaf2f8;
}

    .aircraft-parts-quicklinks .credibility-items {
        min-height: 72px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: 1rem 2rem;
        padding: 1rem 0;
        color: #29455f;
        font-weight: 700;
        text-align: center;
    }

        .aircraft-parts-quicklinks .credibility-items a {
            color: #29455f;
            font-weight: 800;
            transition: color 0.2s ease, transform 0.2s ease;
        }

            .aircraft-parts-quicklinks .credibility-items a:hover {
                color: var(--sfs-blue);
                transform: translateY(-1px);
            }

/* =========================================================
PHOTO SECTIONS
========================================================= */

.aircraft-parts-photo-section {
    position: relative;
    min-height: clamp(680px, 78vw, 940px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0d2a45;
}

.aircraft-parts-section-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.aircraft-parts-photo-section::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 18, 32, 0.44) 0%, rgba(5, 18, 32, 0.16) 46%, rgba(5, 18, 32, 0.04) 100%);
}

.aircraft-parts-photo-content {
    position: relative;
    z-index: 2;
    width: var(--container);
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.aircraft-parts-photo-content-left {
    justify-content: flex-start;
}

.aircraft-parts-photo-card {
    width: min(720px, 100%);
    padding: clamp(1.4rem, 3vw, 2.35rem);
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(255, 255, 255, 0.76);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(5, 18, 32, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .aircraft-parts-photo-card h2 {
        color: var(--sfs-text);
        font-size: clamp(2.25rem, 4.75vw, 4.9rem);
        line-height: 0.98;
        letter-spacing: -0.055em;
        margin-bottom: 1rem;
    }

    .aircraft-parts-photo-card p {
        color: var(--sfs-blue);
        font-size: clamp(0.98rem, 1.25vw, 1.1rem);
        line-height: 1.78;
        font-weight: 600;
        margin-bottom: 1rem;
    }

        .aircraft-parts-photo-card p:last-child {
            margin-bottom: 0;
        }

    .aircraft-parts-photo-card .feature-list {
        margin-top: 1.25rem;
    }

        .aircraft-parts-photo-card .feature-list li {
            color: var(--sfs-blue);
            font-weight: 650;
        }

/* =========================================================
CONTENT SECTIONS
========================================================= */

.aircraft-core-support,
.aircraft-product-categories,
.aircraft-supplier-verification,
.aircraft-why-sfs {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
}

    .aircraft-core-support .card,
    .aircraft-product-categories .card,
    .aircraft-supplier-verification .panel,
    .aircraft-why-sfs .panel {
        background: rgba(255, 255, 255, 0.92);
        border: 1px solid rgba(219, 228, 236, 0.9);
        box-shadow: 0 18px 45px rgba(18, 32, 47, 0.10);
        border-radius: 1rem;
    }

        .aircraft-core-support .card h3,
        .aircraft-product-categories .card h3,
        .aircraft-supplier-verification .panel h3,
        .aircraft-why-sfs .panel h3 {
            color: var(--sfs-text);
        }

        .aircraft-core-support .card p,
        .aircraft-product-categories .card p,
        .aircraft-supplier-verification p,
        .aircraft-supplier-verification li,
        .aircraft-why-sfs p,
        .aircraft-why-sfs li {
            color: var(--sfs-muted);
            line-height: 1.75;
        }

    .aircraft-supplier-verification h2,
    .aircraft-why-sfs h2 {
        font-size: clamp(2.25rem, 4.4vw, 4.35rem);
        line-height: 1;
        letter-spacing: -0.05em;
        margin-bottom: 1rem;
    }

/* =========================================================
NEXT STEP
========================================================= */

.aircraft-parts-next-step {
    position: relative;
    overflow: hidden;
    background: #0d2a45;
}

.aircraft-parts-next-step-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: url("../../assets/images/hero/home/next_steps_banner.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.aircraft-parts-next-step::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 18, 32, 0.40) 0%, rgba(5, 18, 32, 0.14) 48%, rgba(5, 18, 32, 0.04) 100%);
}

.aircraft-parts-next-step > .container {
    position: relative;
    z-index: 2;
}

.aircraft-parts-next-step-card {
    width: min(720px, 100%);
    padding: clamp(1.4rem, 3vw, 2.35rem);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 1.25rem;
    box-shadow: 0 18px 45px rgba(5, 18, 32, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

    .aircraft-parts-next-step-card h2 {
        color: var(--sfs-text);
        font-size: clamp(2.2rem, 4.3vw, 4rem);
        line-height: 1.02;
        letter-spacing: -0.045em;
        margin-bottom: 1rem;
    }

    .aircraft-parts-next-step-card p {
        color: var(--sfs-blue);
        line-height: 1.78;
        font-weight: 600;
    }

/* =========================================================
FOOTER SEO TEXT
========================================================= */

.aircraft-footer-seo {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
    padding: 2.5rem 0;
}

    .aircraft-footer-seo p {
        max-width: 980px;
        margin: 0 auto;
        text-align: center;
        color: #12385f;
        font-size: clamp(1rem, 1.2vw, 1.15rem);
        line-height: 1.75;
        font-weight: 650;
    }

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 860px) {

    .aircraft-parts-hero,
    .aircraft-parts-photo-section {
        min-height: 720px;
    }

    .aircraft-parts-hero-content,
    .aircraft-parts-photo-content,
    .aircraft-parts-photo-content-left {
        width: var(--container);
        max-width: var(--container);
        padding: clamp(2.5rem, 8vw, 4rem) 0;
        align-items: flex-end;
        justify-content: center;
    }

    .aircraft-parts-hero-card,
    .aircraft-parts-photo-card,
    .aircraft-parts-next-step-card {
        width: 100%;
        max-width: 620px;
        padding: clamp(1.25rem, 5vw, 1.8rem);
        background: rgba(255, 255, 255, 0.86);
    }

        .aircraft-parts-hero-card h1,
        .aircraft-parts-photo-card h2,
        .aircraft-parts-next-step-card h2,
        .aircraft-supplier-verification h2,
        .aircraft-why-sfs h2 {
            font-size: clamp(2.05rem, 9vw, 3.45rem);
            line-height: 1.02;
        }

    .aircraft-parts-quicklinks .credibility-items {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 1rem;
    }

        .aircraft-parts-quicklinks .credibility-items a {
            flex: 0 0 auto;
        }

    .aircraft-parts-next-step .btn,
    .aircraft-parts-hero .btn {
        width: 100%;
    }
}
/* =========================================================
MOBILE
========================================================= */

@media (max-width: 860px) {

    /* ═══════════════════════════════════════════
       GLOBAL RHYTHM
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .section {
        padding: clamp(2rem, 7vw, 3rem) 0;
    }

    body.aircraft-parts-page .section-heading {
        margin-bottom: 0.75rem;
    }

        body.aircraft-parts-page .section-heading h2 {
            font-size: clamp(1.55rem, 7vw, 2.1rem);
            line-height: 1.04;
            letter-spacing: -0.04em;
            margin-bottom: 0.45rem;
        }

        body.aircraft-parts-page .section-heading p {
            font-size: 0.78rem;
            line-height: 1.5;
        }

    body.aircraft-parts-page .section-kicker,
    body.aircraft-parts-page .eyebrow {
        font-size: 0.58rem;
        margin-bottom: 0.28rem;
        letter-spacing: 0.16em;
    }

    /* ═══════════════════════════════════════════
       HERO — compact glass card pinned top-left
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-parts-hero {
        min-height: 720px;
        align-items: flex-start;
    }

    body.aircraft-parts-page .aircraft-parts-hero-content {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        width: 100%;
        max-width: none;
        min-height: inherit;
        margin: 0;
    }

    body.aircraft-parts-page .aircraft-parts-hero-card {
        position: absolute;
        top: 1.25rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: 370px;
        margin: 0;
        padding: 0.75rem 0.9rem 0.85rem;
        background: linear-gradient(180deg, rgba(245, 250, 255, 0.52) 0%, rgba(224, 239, 250, 0.44) 48%, rgba(203, 226, 242, 0.36) 100%);
        border: 1px solid rgba(255, 255, 255, 0.50);
        border-radius: 0.9rem;
        box-shadow: 0 12px 28px rgba(5, 18, 32, 0.20);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

        body.aircraft-parts-page .aircraft-parts-hero-card .eyebrow {
            font-size: 0.55rem;
            line-height: 1.3;
            letter-spacing: 0.16em;
            margin-bottom: 0.3rem;
        }

        body.aircraft-parts-page .aircraft-parts-hero-card h1 {
            font-size: clamp(1.1rem, 5.2vw, 1.5rem);
            line-height: 1.04;
            letter-spacing: -0.045em;
            margin-bottom: 0.4rem;
            color: var(--sfs-text);
        }

        body.aircraft-parts-page .aircraft-parts-hero-card p {
            font-size: 0.68rem;
            line-height: 1.42;
            margin-bottom: 0;
            font-weight: 600;
        }

        body.aircraft-parts-page .aircraft-parts-hero-card .button-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.45rem;
            margin-top: 0.65rem;
            padding-top: 0.65rem;
            border-top: 1px solid rgba(126, 160, 190, 0.22);
        }

        body.aircraft-parts-page .aircraft-parts-hero-card .btn {
            width: 100%;
            min-height: 40px;
            font-size: 0.82rem;
            padding: 0.55rem 0.8rem;
        }

    /* ═══════════════════════════════════════════
       QUICK LINKS — horizontal scroll
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-parts-quicklinks {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

        body.aircraft-parts-page .aircraft-parts-quicklinks .credibility-items {
            width: 100%;
            max-width: none;
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            overflow: visible;
            padding: 0.75rem 1rem;
            gap: 0.65rem 1.1rem;
            min-height: auto;
        }

            body.aircraft-parts-page .aircraft-parts-quicklinks .credibility-items a {
                flex: 0 1 auto;
                font-size: 0.72rem;
                white-space: nowrap;
            }
    /* ═══════════════════════════════════════════
       PHOTO SECTIONS — image fills, card at bottom
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-parts-photo-section {
        min-height: 680px;
        overflow: hidden;
        display: block;
        align-items: unset;
        padding: 1rem;
    }

    body.aircraft-parts-page .aircraft-parts-photo-content,
    body.aircraft-parts-page .aircraft-parts-photo-content-left {
        position: relative;
        z-index: 2;
        width: auto;
        max-width: none;
        min-height: 680px;
        padding: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
    }

    body.aircraft-parts-page .aircraft-parts-photo-card {
        position: static;
        width: auto;
        max-width: none;
        padding: 0.75rem 0.9rem;
        background: linear-gradient(180deg, rgba(245, 250, 255, 0.54) 0%, rgba(224, 239, 250, 0.46) 48%, rgba(203, 226, 242, 0.38) 100%);
        border: 1px solid rgba(255, 255, 255, 0.52);
        border-radius: 0.85rem;
        box-shadow: 0 12px 28px rgba(5, 18, 32, 0.18);
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

        body.aircraft-parts-page .aircraft-parts-photo-card h2 {
            font-size: clamp(1.35rem, 6vw, 1.85rem);
            line-height: 1.0;
            letter-spacing: -0.04em;
            margin-bottom: 0.4rem;
            color: var(--sfs-blue);
        }

        body.aircraft-parts-page .aircraft-parts-photo-card p {
            font-size: 0.70rem;
            line-height: 1.38;
            margin-bottom: 0.3rem;
            font-weight: 600;
            color: var(--sfs-text);
        }

            body.aircraft-parts-page .aircraft-parts-photo-card p:last-child {
                margin-bottom: 0;
            }

        body.aircraft-parts-page .aircraft-parts-photo-card .feature-list li {
            font-size: 0.70rem;
            line-height: 1.38;
            color: var(--sfs-text);
        }

    /* ═══════════════════════════════════════════
       CORE SUPPORT — card-grid-4 → single column
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-core-support .card-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    body.aircraft-parts-page .aircraft-core-support .card {
        min-height: 0;
        padding: 0.65rem 0.75rem;
        border-radius: 0.75rem;
    }

        body.aircraft-parts-page .aircraft-core-support .card h3 {
            font-size: 0.82rem;
            line-height: 1.2;
            margin-bottom: 0.2rem;
        }

        body.aircraft-parts-page .aircraft-core-support .card p {
            font-size: 0.62rem;
            line-height: 1.38;
        }

    /* ═══════════════════════════════════════════
       PRODUCT CATEGORIES — card-grid-3 → 2-column
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-product-categories .card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.5rem;
    }

    body.aircraft-parts-page .aircraft-product-categories .card {
        min-height: 0;
        padding: 0.6rem 0.7rem;
        border-radius: 0.75rem;
    }

        body.aircraft-parts-page .aircraft-product-categories .card h3 {
            font-size: 0.76rem;
            line-height: 1.2;
            margin-bottom: 0.2rem;
        }

        body.aircraft-parts-page .aircraft-product-categories .card p {
            font-size: 0.60rem;
            line-height: 1.35;
        }

    /* ═══════════════════════════════════════════
       SUPPLIER VERIFICATION & WHY SFS — split layouts
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-supplier-verification h2,
    body.aircraft-parts-page .aircraft-why-sfs h2 {
        font-size: clamp(1.55rem, 7vw, 2.1rem);
        line-height: 1.04;
        letter-spacing: -0.04em;
        margin-bottom: 0.45rem;
    }

    body.aircraft-parts-page .aircraft-supplier-verification p,
    body.aircraft-parts-page .aircraft-why-sfs p {
        font-size: 0.76rem;
        line-height: 1.5;
    }

    body.aircraft-parts-page .aircraft-supplier-verification .split-layout,
    body.aircraft-parts-page .aircraft-why-sfs .split-layout {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    body.aircraft-parts-page .aircraft-supplier-verification .panel,
    body.aircraft-parts-page .aircraft-why-sfs .panel {
        padding: 0.75rem 0.9rem;
    }

        body.aircraft-parts-page .aircraft-supplier-verification .panel h3,
        body.aircraft-parts-page .aircraft-why-sfs .panel h3 {
            font-size: 0.82rem;
            line-height: 1.2;
            margin-bottom: 0.2rem;
        }

    body.aircraft-parts-page .aircraft-supplier-verification .feature-list li,
    body.aircraft-parts-page .aircraft-why-sfs .feature-list li {
        font-size: 0.70rem;
        line-height: 1.42;
    }

    /* ═══════════════════════════════════════════
       FOOTER SEO TEXT
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-footer-seo p {
        font-size: 0.76rem;
        line-height: 1.5;
        text-align: left;
    }

    /* ═══════════════════════════════════════════
       NEXT STEP — glass card pinned to image bottom
    ═══════════════════════════════════════════ */
    body.aircraft-parts-page .aircraft-parts-next-step {
        display: flex;
        align-items: flex-end;
        min-height: 560px;
        padding: 0 1rem 1rem;
    }

        body.aircraft-parts-page .aircraft-parts-next-step > .container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: none;
        }

    body.aircraft-parts-page .aircraft-parts-next-step-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.75rem 0.9rem;
        background: linear-gradient(180deg, rgba(245, 250, 255, 0.54) 0%, rgba(224, 239, 250, 0.46) 48%, rgba(203, 226, 242, 0.38) 100%);
        border: 1px solid rgba(255, 255, 255, 0.52);
        border-radius: 0.85rem;
        box-shadow: 0 12px 28px rgba(5, 18, 32, 0.22);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
    }

        body.aircraft-parts-page .aircraft-parts-next-step-card h2 {
            font-size: clamp(1.35rem, 6vw, 1.85rem);
            line-height: 1.0;
            letter-spacing: -0.04em;
            margin-bottom: 0.35rem;
            color: var(--sfs-text);
        }

        body.aircraft-parts-page .aircraft-parts-next-step-card p {
            font-size: 0.68rem;
            line-height: 1.4;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        body.aircraft-parts-page .aircraft-parts-next-step-card .button-row {
            display: grid;
            grid-template-columns: 1fr;
            gap: 0.45rem;
            margin-top: 0.65rem;
            padding-top: 0.65rem;
            border-top: 1px solid rgba(126, 160, 190, 0.22);
        }

        body.aircraft-parts-page .aircraft-parts-next-step-card .btn {
            width: 100%;
            min-height: 42px;
            font-size: 0.85rem;
            padding: 0.65rem 0.9rem;
        }
}