﻿/* =========================================================
MIL-STD PACKAGING SUPPORT PAGE
Page-specific styling only.
========================================================= */

.milstd-page {
    background: #ffffff;
}

/* =========================================================
HERO
========================================================= */

.milstd-hero {
    position: relative;
    min-height: clamp(680px, 82vw, 980px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0d2a45;
}

.milstd-hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.milstd-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%);
}

.milstd-hero-content {
    position: relative;
    z-index: 2;
    width: var(--container);
    display: flex;
    justify-content: flex-end;
    align-items: center;
    min-height: inherit;
    padding: clamp(3rem, 7vw, 6rem) 0;
}

.milstd-hero-card {
    width: min(720px, 100%);
    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);
}

    .milstd-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;
    }

    .milstd-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
========================================================= */

.milstd-quicklinks {
    border-top: 1px solid #dbe4ec;
    border-bottom: 1px solid #dbe4ec;
    background: #eaf2f8;
}

    .milstd-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;
    }

        .milstd-quicklinks .credibility-items a {
            color: #29455f;
            font-weight: 800;
            transition: color 0.2s ease, transform 0.2s ease;
        }

            .milstd-quicklinks .credibility-items a:hover {
                color: var(--sfs-blue);
                transform: translateY(-1px);
            }
.milstd-load-sequence-1 {
    opacity: 0;
    transform: translateX(-36px);
    animation: milstdLoadLeft 0.85s ease forwards 0.18s;
}

.milstd-load-sequence-2 {
    opacity: 0;
    transform: translateY(18px);
    animation: milstdLoadUp 0.75s ease forwards 0.48s;
}

@keyframes milstdLoadLeft {
    from {
        opacity: 0;
        transform: translateX(-36px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes milstdLoadUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* =========================================================
PHOTO SECTIONS
========================================================= */

.milstd-photo-section {
    position: relative;
    min-height: clamp(680px, 78vw, 940px);
    overflow: hidden;
    display: flex;
    align-items: center;
    background: #0d2a45;
}

.milstd-section-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    z-index: 0;
}

.milstd-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%);
}

.milstd-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;
}

.milstd-photo-content-left {
    justify-content: flex-start;
}

.milstd-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);
}

    .milstd-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;
    }

    .milstd-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;
    }

        .milstd-photo-card p:last-child {
            margin-bottom: 0;
        }

    .milstd-photo-card .feature-list {
        margin-top: 1.25rem;
    }

        .milstd-photo-card .feature-list li {
            color: var(--sfs-blue);
            font-weight: 650;
        }

/* =========================================================
CONTENT SECTIONS
========================================================= */

.milstd-overview,
.milstd-requirement-cards,
.milstd-why-sfs {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
}

    .milstd-overview .section-heading {
        max-width: 980px;
    }

        .milstd-overview .section-heading p + p {
            margin-top: 1rem;
        }

    .milstd-requirement-cards .card,
    .milstd-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;
    }

        .milstd-requirement-cards .card h3,
        .milstd-why-sfs .panel h3 {
            color: var(--sfs-text);
        }

        .milstd-requirement-cards .card p,
        .milstd-why-sfs p,
        .milstd-why-sfs li {
            color: var(--sfs-muted);
            line-height: 1.75;
        }

    .milstd-why-sfs h2 {
        font-size: clamp(2.25rem, 4.4vw, 4.35rem);
        line-height: 1;
        letter-spacing: -0.05em;
        margin-bottom: 1rem;
    }

    .milstd-why-sfs .split-layout > div:first-child p + p {
        margin-top: 1rem;
    }
.milstd-requirements-photo {
    min-height: clamp(820px, 86vw, 1080px);
}

.milstd-requirements-banner {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
    padding: clamp(3.5rem, 6vw, 5rem) 0;
    text-align: center;
}

.milstd-requirements-banner-inner {
    max-width: 920px;
}

.milstd-requirements-banner h2 {
    color: var(--sfs-text);
    font-size: clamp(2.25rem, 4vw, 4.2rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.milstd-requirements-banner p:last-child {
    max-width: 780px;
    margin: 0 auto;
    color: #33475c;
    font-size: clamp(1rem, 1.15vw, 1.08rem);
    line-height: 1.8;
    font-weight: 650;
}

.milstd-requirements-layout {
    position: relative;
    z-index: 2;
    width: var(--container);
    min-height: inherit;
    display: grid;
    align-items: center;
    padding: clamp(4rem, 8vw, 7rem) 0;
}

.milstd-requirements-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    width: min(760px, 100%);
    justify-self: flex-end;
}

    .milstd-requirements-card-grid .card {
        background: rgba(255, 255, 255, 0.88);
        border: 1px solid rgba(255, 255, 255, 0.76);
        box-shadow: 0 18px 45px rgba(5, 18, 32, 0.22);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }

        .milstd-requirements-card-grid .card h3 {
            color: var(--sfs-text);
        }

        .milstd-requirements-card-grid .card p {
            color: var(--sfs-blue);
            line-height: 1.7;
            font-weight: 600;
        }

@media (max-width: 860px) {
    .milstd-requirements-layout {
        grid-template-columns: 1fr;
    }

    .milstd-requirements-main-card,
    .milstd-requirements-card-grid {
        grid-column: auto;
        grid-row: auto;
    }

    .milstd-requirements-card-grid {
        grid-template-columns: 1fr;
    }

    .milstd-requirements-main-card {
        justify-self: stretch;
    }
}
/* =========================================================
NEXT STEP
========================================================= */

.milstd-next-step {
    position: relative;
    overflow: hidden;
    background: #0d2a45;
}

.milstd-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;
}

.milstd-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%);
}

.milstd-next-step > .container {
    position: relative;
    z-index: 2;
}

.milstd-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);
}

    .milstd-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;
    }

    .milstd-next-step-card p {
        color: var(--sfs-blue);
        line-height: 1.78;
        font-weight: 600;
    }

/* =========================================================
FOOTER SEO TEXT
========================================================= */

.milstd-footer-seo {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
    padding: 2.5rem 0;
}

    .milstd-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;
    }
.milstd-packaging-summary {
    background: linear-gradient(180deg, #eef5fb 0%, #e3eef7 42%, #d6e6f4 100%);
    padding: 2.5rem 0;
}

    .milstd-packaging-summary 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) {

    /* ═══════════════════════════════════════════
       GLOBAL RHYTHM
    ═══════════════════════════════════════════ */
    body.milstd-page .section {
        padding: clamp(2rem, 7vw, 3rem) 0;
    }

    body.milstd-page .section-heading {
        margin-bottom: 0.75rem;
    }

        body.milstd-page .section-heading h2 {
            font-size: clamp(1.85rem, 8vw, 2.5rem);
            line-height: 1.04;
            letter-spacing: -0.04em;
            margin-bottom: 0.45rem;
        }

        body.milstd-page .section-heading p {
            font-size: 0.92rem;
            line-height: 1.5;
        }

    body.milstd-page .section-kicker,
    body.milstd-page .eyebrow {
        font-size: 0.70rem;
        margin-bottom: 0.28rem;
        letter-spacing: 0.16em;
    }

    /* ═══════════════════════════════════════════
       HERO — compact glass card pinned top-left
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-hero {
        min-height: 720px;
        align-items: flex-start;
    }

    body.milstd-page .milstd-hero-content {
        position: absolute;
        inset: 0;
        display: block;
        padding: 0;
        width: 100%;
        max-width: none;
        min-height: inherit;
        margin: 0;
    }

    body.milstd-page .milstd-hero-card {
        position: absolute;
        top: 1.25rem;
        left: 1rem;
        right: 1rem;
        width: auto;
        max-width: 390px;
        margin: 0;
        padding: 0.9rem 1.05rem 1rem;
        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.milstd-page .milstd-hero-card .eyebrow {
            font-size: 0.66rem;
            line-height: 1.3;
            letter-spacing: 0.16em;
            margin-bottom: 0.3rem;
        }

        body.milstd-page .milstd-hero-card h1 {
            font-size: clamp(1.3rem, 6.2vw, 1.8rem);
            line-height: 1.04;
            letter-spacing: -0.045em;
            margin-bottom: 0.4rem;
            color: var(--sfs-text);
        }

        body.milstd-page .milstd-hero-card p {
            font-size: 0.82rem;
            line-height: 1.42;
            margin-bottom: 0;
            font-weight: 600;
        }

        body.milstd-page .milstd-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.milstd-page .milstd-hero-card .btn {
            width: 100%;
            min-height: 40px;
            font-size: 0.95rem;
            padding: 0.55rem 0.8rem;
        }

    /* ═══════════════════════════════════════════
       QUICK LINKS — horizontal scroll
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-quicklinks {
        width: 100%;
        max-width: 100%;
        overflow: visible;
    }

        body.milstd-page .milstd-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.milstd-page .milstd-quicklinks .credibility-items a {
                flex: 0 1 auto;
                font-size: 0.86rem;
                white-space: nowrap;
            }

    /* ═══════════════════════════════════════════
       REQUIREMENTS PHOTO — card grid over image
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-photo-section.milstd-requirements-photo {
        min-height: 680px;
        display: block;
        align-items: unset;
        padding: 1rem;
    }

    body.milstd-page .milstd-requirements-layout {
        padding: 1.5rem 0;
        min-height: 680px;
        display: flex;
        align-items: flex-end;
    }

    body.milstd-page .milstd-requirements-card-grid {
        width: 100%;
        justify-self: stretch;
    }

        body.milstd-page .milstd-requirements-card-grid .card {
            padding: 0.7rem 0.85rem;
            border-radius: 0.75rem;
        }

            body.milstd-page .milstd-requirements-card-grid .card h3 {
                font-size: 0.90rem;
                line-height: 1.2;
                margin-bottom: 0.2rem;
            }

            body.milstd-page .milstd-requirements-card-grid .card p {
                font-size: 0.76rem;
                line-height: 1.42;
            }

    /* ═══════════════════════════════════════════
       REQUIREMENTS BANNER — text section
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-requirements-banner {
        padding: 1.5rem 0;
        text-align: left;
    }

        body.milstd-page .milstd-requirements-banner h2 {
            font-size: clamp(1.85rem, 8vw, 2.5rem);
            line-height: 1.04;
            letter-spacing: -0.04em;
            margin-bottom: 0.45rem;
        }

        body.milstd-page .milstd-requirements-banner p:last-child {
            font-size: 0.92rem;
            line-height: 1.5;
            margin: 0;
        }

    /* ═══════════════════════════════════════════
       PHOTO SECTIONS — image fills, card at bottom
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-photo-section {
        min-height: 680px;
        overflow: hidden;
        display: block;
        align-items: unset;
        padding: 1rem;
    }

    body.milstd-page .milstd-photo-content,
    body.milstd-page .milstd-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.milstd-page .milstd-photo-card {
        position: static;
        width: auto;
        max-width: none;
        padding: 0.9rem 1.05rem;
        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.milstd-page .milstd-photo-card h2 {
            font-size: clamp(1.6rem, 7.2vw, 2.2rem);
            line-height: 1.0;
            letter-spacing: -0.04em;
            margin-bottom: 0.4rem;
            color: var(--sfs-blue);
        }

        body.milstd-page .milstd-photo-card p {
            font-size: 0.88rem;
            line-height: 1.42;
            margin-bottom: 0.3rem;
            font-weight: 600;
            color: var(--sfs-text);
        }

            body.milstd-page .milstd-photo-card p:last-child {
                margin-bottom: 0;
            }

        body.milstd-page .milstd-photo-card .feature-list li {
            font-size: 0.88rem;
            line-height: 1.42;
            color: var(--sfs-text);
        }

    /* ═══════════════════════════════════════════
       WHY SFS — split layout
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-why-sfs h2 {
        font-size: clamp(1.85rem, 8vw, 2.5rem);
        line-height: 1.04;
        letter-spacing: -0.04em;
        margin-bottom: 0.45rem;
    }

    body.milstd-page .milstd-why-sfs .split-layout {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

        body.milstd-page .milstd-why-sfs .split-layout > div:first-child {
            padding: 0.9rem 1.05rem;
            background: rgba(255, 255, 255, 0.92);
            border: 1px solid rgba(219, 228, 236, 0.9);
            border-radius: 0.85rem;
            box-shadow: 0 8px 20px rgba(18, 32, 47, 0.10);
        }

            body.milstd-page .milstd-why-sfs .split-layout > div:first-child p {
                font-size: 0.88rem;
                line-height: 1.5;
            }

    body.milstd-page .milstd-why-sfs .panel {
        padding: 0.9rem 1.05rem;
    }

        body.milstd-page .milstd-why-sfs .panel h3 {
            font-size: 0.90rem;
            line-height: 1.2;
            margin-bottom: 0.2rem;
        }

    body.milstd-page .milstd-why-sfs .feature-list li {
        font-size: 0.84rem;
        line-height: 1.42;
    }

    /* ═══════════════════════════════════════════
       FOOTER SEO + PACKAGING SUMMARY
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-footer-seo p,
    body.milstd-page .milstd-packaging-summary p {
        font-size: 0.84rem;
        line-height: 1.5;
        text-align: left;
    }

    /* ═══════════════════════════════════════════
       NEXT STEP — glass card pinned to image bottom
    ═══════════════════════════════════════════ */
    body.milstd-page .milstd-next-step {
        display: flex;
        align-items: flex-end;
        min-height: 560px;
        padding: 0 1rem 1rem;
    }

        body.milstd-page .milstd-next-step > .container {
            position: relative;
            z-index: 2;
            width: 100%;
            max-width: none;
        }

    body.milstd-page .milstd-next-step-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0.9rem 1.05rem;
        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.milstd-page .milstd-next-step-card h2 {
            font-size: clamp(1.6rem, 7vw, 2.2rem);
            line-height: 1.0;
            letter-spacing: -0.04em;
            margin-bottom: 0.35rem;
            color: var(--sfs-text);
        }

        body.milstd-page .milstd-next-step-card p {
            font-size: 0.82rem;
            line-height: 1.4;
            margin-bottom: 0.5rem;
            font-weight: 600;
        }

        body.milstd-page .milstd-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.milstd-page .milstd-next-step-card .btn {
            width: 100%;
            min-height: 42px;
            font-size: 1.0rem;
            padding: 0.65rem 0.9rem;
        }
}