/* ==========================================================================
   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;
    /* Figma frame 1:1235 is 902px tall; its bottom 230px sits behind the
       experience bar, which pulls itself up by exactly that amount. */
    --home-hero-h: 902px;

    position: relative;
    isolation: isolate;
    height: var(--home-hero-h);
    overflow: hidden;
    background: var(--gg-dark);
}

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

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

.home-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Reproduces the Figma crop: square source scaled to width, 36% down the overflow */
    object-position: center 36%;
}

/* 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;
    padding-inline: 49px;
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

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

.home-hero__card {
    margin-top: 112px;
    width: 723px;
    max-width: 100%;
    min-height: 474px;
    padding: 60px 49px 61px;
    border-radius: 48px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.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: 576px;
    font-family: var(--gg-font-display);
    font-size: 34px;
    line-height: 42px;
    font-weight: 700;
    letter-spacing: -0.8px;
    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);
}

.home-hero__text {
    margin-top: 21px;
    max-width: 576px;
    font-size: 18px;
    line-height: 29.25px;
    color: var(--home-hero-body);
}

/* --------------------------------------------------------------- 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 {
        --home-hero-h: 870px;
    }

    .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;
    }

    .home-hero__inner {
        justify-content: center;
        padding-block: 64px;
        padding-inline: 24px;
    }

    .home-hero__card {
        margin-top: 0;
        width: 100%;
        min-height: 0;
    }

    .home-hero__title {
        font-size: 29px;
        line-height: 37px;
    }

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

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

    .home-hero__card {
        padding: 32px 24px 28px;
        border-radius: 28px;
    }

    .home-hero__title {
        font-size: 25px;
        line-height: 31px;
        letter-spacing: -0.4px;
    }

    .home-hero__tagline {
        font-size: 18px;
        line-height: 26px;
    }

    .home-hero__text {
        font-size: 16px;
        line-height: 26px;
    }

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

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