/* ==================================================
   HERO — PORTADA PRINCIPAL
================================================== */

.hero {
    position: relative;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: var(--white);

    background-image: url("../img/hero.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/*
La fotografía ya contiene el logo en la esquina inferior derecha.
Por eso el degradado protege principalmente la zona izquierda,
donde se ubica el texto, sin oscurecer en exceso toda la imagen.
*/
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(7, 29, 47, 0.98) 0%,
            rgba(7, 29, 47, 0.92) 32%,
            rgba(7, 29, 47, 0.70) 58%,
            rgba(7, 29, 47, 0.28) 100%
        ),
        linear-gradient(
            180deg,
            rgba(7, 29, 47, 0.10) 0%,
            rgba(7, 29, 47, 0.02) 68%,
            rgba(7, 29, 47, 0.24) 100%
        );
}

.hero::before {
    position: absolute;
    z-index: 1;
    top: 18%;
    left: -220px;
    width: 620px;
    height: 620px;
    content: "";
    border-radius: 50%;
    background: rgba(35, 111, 221, 0.08);
    filter: blur(90px);
    pointer-events: none;
}

.hero::after {
    position: absolute;
    z-index: 1;
    right: -190px;
    bottom: -280px;
    width: 620px;
    height: 620px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(1180px, 90%);
    padding-top: 104px;
    padding-bottom: 88px;
    margin-inline: auto;
    text-align: left;
}

.hero-label {
    max-width: 760px;
    margin-bottom: 18px;
    color: #afd2fa;
    font-size: clamp(0.68rem, 0.75vw, 0.82rem);
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero h1 {
    max-width: 760px;
    margin-bottom: 25px;
    color: var(--white);
    font-size: clamp(3rem, 5.1vw, 5rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.048em;
    text-wrap: balance;
}

.hero-description {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.86);
    font-size: clamp(1rem, 1.35vw, 1.15rem);
    line-height: 1.78;
    text-wrap: pretty;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    margin-top: 34px;
    flex-wrap: wrap;
}

.hero-buttons .btn {
    min-width: 188px;
}

.scroll-indicator {
    position: absolute;
    z-index: 3;
    bottom: 22px;
    left: 50%;
    color: rgba(255, 255, 255, 0.88);
    font-size: 1.65rem;
    text-decoration: none;
    transform: translateX(-50%);
    animation: heroBounce 1.7s infinite;
}

.scroll-indicator:hover {
    color: var(--white);
}

@keyframes heroBounce {
    0%,
    100% {
        transform: translate(-50%, 0);
    }

    50% {
        transform: translate(-50%, 8px);
    }
}
