/* A single, image-led home page. */
.home-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    min-height: min(780px, calc(100svh - 96px));
    margin: 0;
    padding: clamp(48px, 8vw, 112px) max(24px, calc((100vw - 1240px) / 2));
    overflow: hidden;
    color: #fff;
    background-color: #203a4a;
    background-image: url('../images/foto-home-obra.jpg');
    background-position: center 48%;
    background-size: cover;
}

.home-hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: '';
    background: linear-gradient(90deg, rgba(13, 30, 43, .82) 0%, rgba(13, 30, 43, .60) 43%, rgba(13, 30, 43, .12) 100%);
}

.home-hero-inner {
    width: min(100%, 760px);
}

.home-hero-eyebrow {
    margin: 0 0 22px;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

.home-hero h1 {
    max-width: 760px;
    margin: 0;
    color: #fff;
    font-size: clamp(44px, 6.5vw, 82px);
    font-weight: 600;
    line-height: 1.04;
    letter-spacing: -.055em;
}

.home-hero h1 span {
    color: #fff;
}

.home-hero-intro {
    max-width: 490px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, .92);
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: 1.65;
}

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

.home-hero-primary,
.home-hero-secondary {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 0 22px;
    color: #173449;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.home-hero-primary {
    background: #fff;
    border: 1px solid #fff;
}

.home-hero-primary:hover,
.home-hero-primary:focus-visible {
    background: transparent;
    color: #fff;
}

.home-hero-secondary {
    min-height: auto;
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, .72);
}

.home-hero-secondary:hover,
.home-hero-secondary:focus-visible {
    border-color: #fff;
}

@media (max-width: 640px) {
    .home-hero {
        min-height: calc(100svh - 78px);
        padding: 58px 24px;
        background-position: 58% center;
    }

    .home-hero::before {
        background: linear-gradient(90deg, rgba(13, 30, 43, .80), rgba(13, 30, 43, .43)), linear-gradient(0deg, rgba(13, 30, 43, .23), transparent 65%);
    }

    .home-hero-eyebrow {
        font-size: 10px;
        letter-spacing: .14em;
    }

    .home-hero h1 {
        font-size: clamp(42px, 12vw, 60px);
    }

    .home-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 13px;
        margin-top: 28px;
    }
}
