/* ==========================================
   HOME HERO SECTION
   Legacy Protection Services
========================================== */

.hero {
    position: relative;
    min-height: clamp(500px, 74vh, 720px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: var(--color-black);
    color: var(--color-white);
}

.hero-media {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-media picture,
.hero-media img,
.hero-media .hero-image {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-media .hero-image {
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.84) 0%, rgba(17, 17, 17, 0.76) 34%, rgba(17, 17, 17, 0.58) 62%, rgba(17, 17, 17, 0.42) 100%),
                linear-gradient(180deg, rgba(17, 17, 17, 0.18) 0%, rgba(17, 17, 17, 0.10) 42%, rgba(17, 17, 17, 0.28) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: calc(var(--main-header-height-desktop, 100px) + clamp(28px, 4vw, 56px));
    padding-bottom: clamp(60px, 8vw, 100px);
}

.hero-inner {
    max-width: 760px;
}

.hero-eyebrow {
    display: inline-block;
    margin: 0 0 12px;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bold);
    line-height: 1.2;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-primary-light);
}

.hero-title {
    max-width: 760px;
    margin: 0 0 16px;
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.2vw, 4.4rem);
    font-weight: var(--font-weight-bold);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

.hero-text {
    max-width: 620px;
    margin: 0 0 30px;
    font-size: clamp(1rem, 1.05vw, 1.125rem);
    line-height: 1.68;
    color: rgba(255, 255, 255, 0.96);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
}

@media (max-width: 991px) {
    .hero {
        min-height: 600px;
    }
    .hero-content {
        padding-top: calc(var(--main-header-height-tablet, 80px) + clamp(24px, 4vw, 44px));
    }
    .hero-title {
        font-size: clamp(1.95rem, 5.1vw, 3rem);
    }
}

@media (max-width: 767px) {
    .hero {
        min-height: 560px;
    }
    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .hero .btn-primary,
    .hero .btn-outline-light {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hero-title {
        font-size: clamp(1.8rem, 6.3vw, 2.55rem);
    }
}