/* Homepage hero — masthead banner */
.home-hero {
    overflow: hidden;
}

.home-hero--banner-only .container::before {
    display: none;
}

.home-hero .container::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        105deg,
        rgba(8, 40, 58, 0.88) 0%,
        rgba(8, 40, 58, 0.72) 42%,
        rgba(8, 40, 58, 0.18) 100%
    );
    pointer-events: none;
}

.home-hero picture {
    position: relative;
    z-index: 0;
    display: block;
}

.home-hero .side-tool {
    z-index: 3;
}

.home-hero__content {
    z-index: 2;
    bottom: auto;
    left: 5%;
    top: 50%;
    transform: translateY(-50%);
    max-width: 42rem;
    padding-right: 1rem;
}

.home-hero__title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 3.2vw, 2.75rem);
    line-height: 1.18;
    font-style: italic;
    color: #fff;
    font-family: "santral-bold", sans-serif;
    font-weight: 700;
}

.home-hero__lead {
    margin: 0 0 1.35rem;
    max-width: 36rem;
    font-size: clamp(0.92rem, 1.35vw, 1.05rem);
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

.home-hero__trust {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
    margin: 0 0 1.65rem;
    padding: 0;
    list-style: none;
}

.home-hero__trust li {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.72rem;
    font-size: 0.78rem;
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    backdrop-filter: blur(4px);
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1rem;
}

.home-hero__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0.65rem 1.35rem;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.home-hero__cta--primary {
    color: #fff;
    background: #1b6a92;
    border: 2px solid #1b6a92;
}

.home-hero__cta--primary:hover {
    color: #fff;
    background: #145673;
    border-color: #145673;
    text-decoration: none;
}

.home-hero__cta--secondary {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.75);
}

.home-hero__cta--secondary:hover {
    color: #1b4d6e;
    background: #fff;
    border-color: #fff;
    text-decoration: none;
}

@media (max-width: 991px) {
    .home-hero__content {
        left: 6%;
        max-width: 34rem;
    }
}

@media (max-width: 671px) {
    .home-hero .container::before {
        background: linear-gradient(
            180deg,
            rgba(8, 40, 58, 0.82) 0%,
            rgba(8, 40, 58, 0.55) 55%,
            rgba(8, 40, 58, 0.25) 100%
        );
    }

    .home-hero__content {
        left: 8%;
        top: auto;
        bottom: 14%;
        transform: none;
        max-width: calc(100% - 2rem);
        padding-right: 0;
    }

    .home-hero__title {
        font-size: 1.65rem;
        margin-bottom: 0.75rem;
    }

    .home-hero__lead {
        margin-bottom: 1rem;
        font-size: 0.9rem;
    }

    .home-hero__trust {
        margin-bottom: 1.25rem;
        gap: 0.4rem;
    }

    .home-hero__trust li {
        font-size: 0.72rem;
        padding: 0.32rem 0.6rem;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-hero__cta {
        width: 100%;
    }
}
