.home-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--mtw-charcoal);
    isolation: isolate;
}

.home-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
}

.home-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(12%);
}

.home-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(
            90deg,
            rgba(5, 5, 5, 0.94) 0%,
            rgba(5, 5, 5, 0.86) 44%,
            rgba(5, 5, 5, 0.62) 72%,
            rgba(5, 5, 5, 0.42) 100%
        ),
        linear-gradient(
            180deg,
            rgba(5, 5, 5, 0.18) 0%,
            rgba(5, 5, 5, 0.76) 100%
        );
}

.home-hero-container {
    width: min(1480px, calc(100% - 64px));
    margin: 0 auto;
    padding: 185px 0 96px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 72px;
    align-items: center;
}

.home-hero-content {
    max-width: 980px;
}

.home-hero-label {
    margin: 0 0 24px;
    padding-left: 16px;
    border-left: 4px solid var(--mtw-red);
    color: rgba(255, 255, 255, 0.86);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.76rem;
    line-height: 1.4;
    font-weight: 850;
}

.home-hero h1 {
    max-width: 900px;
    color: var(--mtw-white);
    font-size: clamp(3.4rem, 5.8vw, 6.2rem);
    line-height: 0.94;
    letter-spacing: -0.068em;
    margin-bottom: 28px;
}

.home-hero-lead {
    max-width: 790px;
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.9);
    font-size: clamp(1.16rem, 1.4vw, 1.34rem);
    line-height: 1.68;
    font-weight: 750;
}

.home-hero-text {
    max-width: 850px;
    color: rgba(255, 255, 255, 0.74);
    font-size: clamp(1rem, 1.1vw, 1.12rem);
    line-height: 1.78;
    margin-bottom: 16px;
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 36px;
}

.btn-hero-secondary {
    background: transparent;
    color: var(--mtw-white);
    border-color: rgba(255, 255, 255, 0.42);
}

.btn-hero-secondary:hover {
    background: var(--mtw-white);
    color: var(--mtw-black);
    border-color: var(--mtw-white);
}

/* Hero logo visual */

.home-hero-logo {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.home-hero-logo-card {
    position: relative;
    width: 100%;
    max-width: 390px;
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: var(--radius-lg);

    overflow: hidden;
}



.home-hero-logo-card img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: auto;
    display: block;
}

/* Tablet */

@media (max-width: 1100px) {
    .home-hero {
        min-height: auto;
    }

    .home-hero-container {
        width: min(100% - 40px, 1480px);
        padding: 160px 0 76px;
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .home-hero-content {
        max-width: 920px;
    }

    .home-hero h1 {
        max-width: 860px;
        font-size: clamp(2.8rem, 10vw, 4.9rem);
    }

    .home-hero-logo {
        justify-content: flex-start;
    }

    .home-hero-logo-card {
        max-width: 340px;
        min-height: 280px;
        padding: 34px;
    }

    .home-hero-logo-card img {
        max-width: 250px;
    }
}

/* Mobile */

@media (max-width: 700px) {
    .home-hero-container {
        width: min(100% - 32px, 1480px);
        padding: 132px 0 64px;
    }

    .home-hero-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(5, 5, 5, 0.94) 0%,
                rgba(5, 5, 5, 0.86) 100%
            ),
            linear-gradient(
                180deg,
                rgba(5, 5, 5, 0.18) 0%,
                rgba(5, 5, 5, 0.78) 100%
            );
    }

    .home-hero-label {
        font-size: 0.7rem;
        letter-spacing: 0.1em;
        margin-bottom: 20px;
    }

    .home-hero h1 {
        font-size: clamp(2.55rem, 13vw, 3.75rem);
        letter-spacing: -0.06em;
        margin-bottom: 24px;
    }

    .home-hero-lead {
        font-size: 1.05rem;
    }

    .home-hero-text {
        font-size: 0.98rem;
    }

    .home-hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-top: 30px;
    }

    .home-hero-actions .btn {
        width: 100%;
    }

    .home-hero-logo-card {
        width: 100%;
        max-width: 100%;
        min-height: 230px;
        padding: 30px;
        border-radius: var(--radius-md);
    }

    .home-hero-logo-card img {
        max-width: 220px;
    }
}