/* ==========================================================================
   Home — Hero  (Figma node 1:1235 / card 1:1274)
   Full-bleed truck photo, indigo gradient wash, frosted glass copy card.
   ========================================================================== */

.home-hero {
    --home-hero-ink: #151c78;
    --home-hero-badge-bg: #ffa112;
    --home-hero-badge-ink: #673d00;
    --home-hero-sub: #875200;
    --home-hero-body: #464652;
    position: relative;
    isolation: isolate;
    height: 660px;
    overflow: hidden;
}

/* ------------------------------------------------------------- backdrop -- */

.home-hero__media {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.home-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Figma "Gradient": left rgba(21,28,120,.4) -> right transparent */
.home-hero__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(to right, rgba(21, 28, 120, 0.4) 0%, rgba(21, 28, 120, 0) 100%);
    pointer-events: none;
}

/* -------------------------------------------------------------- layout -- */

.home-hero__inner {
    position: relative;
    z-index: 2;
    height: 100%;
    width: 100%;
    max-width: var(--gg-container);
    margin-inline: auto;
    display: flex;
    align-items: flex-start;
}

/* ----------------------------------------------------------- glass card -- */

.home-hero__card {
    padding: 50px 40px 50px;
}

.home-hero__badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: var(--home-hero-badge-bg);
    color: var(--home-hero-badge-ink);
    font-size: 12px;
    font-weight: 600;
    line-height: 12px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

.home-hero__title {
    margin-top: 20px;
    max-width: 720px;
    font-family: var(--gg-font-display);
    font-size: 40px;
    line-height: 58px;
    font-weight: 800;
    letter-spacing: -1.2px;
    text-transform: uppercase;
    color: var(--home-hero-ink);
}

.home-hero__tagline {
    margin-top: 20px;
    max-width: 568px;
    font-size: 24px;
    line-height: 31.2px;
    font-weight: 600;
    color: var(--home-hero-sub);
    font-weight: bold;
}

.home-hero__text {
    margin-top: 14px;
    max-width: 480px;
    font-size: 15px;
    line-height: 22px;
    color: var(--home-hero-body);
    font-weight: 500;
}

/* --------------------------------------------------------------- ctas --- */

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 39px;
}

.home-hero__cta {
    padding: 21px 40px;
    line-height: 24px;
}

.home-hero__cta--primary {
    background: linear-gradient(135deg, #2e368e 0%, #151c78 100%);
    color: var(--gg-white);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}

.home-hero__cta--primary:hover {
    background: linear-gradient(135deg, #262d80 0%, #101663 100%);
    box-shadow: 0 14px 22px -6px rgba(0, 0, 0, 0.22);
}

.home-hero__cta--ghost {
    padding: 21px 41px;
    background: var(--gg-white);
    border: 1px solid rgba(198, 197, 211, 0.2);
    color: var(--home-hero-ink);
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
}

.home-hero__cta--ghost:hover {
    background: #f4f5fb;
}

/* --------------------------------------------------------- responsive --- */

@media (max-width: 1200px) {
    .home-hero {
        height: 620px;
    }

    .home-hero__inner {
        padding-inline: 40px;
    }

    .home-hero__card {
        margin-top: 96px;
        min-height: 0;
        padding: 48px 40px 48px;
        border-radius: 40px;
    }
}

@media (max-width: 900px) {
    .home-hero {
        height: auto;
        min-height: 0;
        overflow: visible;
        background: #fff;
    }

    .home-hero__media {
        position: relative;
        inset: auto;
        height: clamp(210px, 55vw, 360px);
    }

    .home-hero__img {
        object-position: center 45%;
    }

    .home-hero__inner {
        justify-content: center;
        height: auto;
        padding-block: 0 48px;
        padding-inline: 24px;
    }

    .home-hero__card {
        margin-top: -34px;
        width: 100%;
        min-height: 0;
        position: relative;
        z-index: 2;
        background: #fff;
        box-shadow: 0 16px 34px rgba(15, 23, 42, .10);
    }

    .home-hero__title {
        font-size: 38px;
        line-height: 44px;
    }

    .home-hero__tagline {
        font-size: 20px;
        line-height: 28px;
    }
}

@media (max-width: 560px) {
    .home-hero__inner {
        padding-block: 0 32px;
        padding-inline: 16px;
    }

    .home-hero__card {
        margin-top: -24px;
        padding: 24px 18px 22px;
        border-radius: 20px;
    }

    .home-hero__title {
        margin-top: 16px;
        font-size: clamp(25px, 8vw, 30px);
        line-height: 1.14;
        letter-spacing: -0.4px;
        overflow-wrap: anywhere;
    }

    .home-hero__tagline {
        margin-top: 14px;
        font-size: 17px;
        line-height: 24px;
    }

    .home-hero__text {
        font-size: 14px;
        line-height: 20px;
    }

    .home-hero__actions {
        margin-top: 24px;
        gap: 12px;
    }

    .home-hero__cta,
    .home-hero__cta--ghost {
        width: 100%;
        padding: 16px 24px;
    }
}
