/* BASE */
body {
    font-family: 'Inter', sans-serif;
    background: #111;
    overflow-x: hidden;
}

/* HERO */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;
}

/* FONDO */
/* FONDO */
.hero-bg-wrapper {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* OVERLAY */
.overlay {
    position: absolute;
    inset: 0;

    background: linear-gradient(
            to top,
            rgba(0, 0, 0, 0.25),
            rgba(0, 0, 0, 0.25)
    );

    z-index: 1;
}

/* CONTENIDO */
.hero-content {
    position: relative;
    z-index: 5;

    text-align: left;
    color: white;

    width: 100%;
    max-width: 850px;

    padding: 120px 24px 60px;
}

/* TÍTULO */
.hero-content h1 {
    font-family: 'Anton', sans-serif;
    font-size: clamp(3.2rem, 8vw, 6rem);
    line-height: 0.95;

    letter-spacing: 3px;
    transform: skewX(-20deg);

    text-transform: uppercase;
}

.hero-content h1 .red {
    color: #ff2a2a;
}

/* SUBTÍTULO */
.hero-content h2 {
    font-family: 'Inter', sans-serif;
    margin-top: 18px;
    text-align: center;

    font-size: clamp(1rem, 2.2vw, 1.45rem);
    line-height: 1.2;

    font-weight: 500;
    letter-spacing: 2px;

    opacity: 0.85;
    text-transform: uppercase;
}

/* TEXTO */
.hero-content p {
    font-family: 'Inter', sans-serif;
    margin: 22px auto 0;
    text-align: center;
    max-width: 620px;

    font-size: clamp(0.85rem, 1.5vw, 0.95rem);
    line-height: 1.65;

    opacity: 0.75;
}

/* LÍNEAS GENERALES */
.racing-lines {
    position: absolute;
    top: 0;

    width: 50%;
    height: 100%;

    pointer-events: none;
    z-index: 3;
}

.racing-lines .line {
    position: absolute;
    transform: skewX(-25deg);
}

/* LÍNEAS ROJAS DERECHA */
.red-lines {
    right: 0;
}

.red-lines .line {
    top: 50%;

    width: 120px;
    height: 50%;

    background: linear-gradient(
            to top,
            #ff2a2a 0%,
            #ff2a2a 55%,
            rgba(255, 42, 42, 0.6) 75%,
            rgba(255, 42, 42, 0.2) 90%,
            rgba(255, 42, 42, 0) 100%
    );

    opacity: 0.25;
}

.red-lines .l1 {
    right: 5%;
}

.red-lines .l2 {
    right: 15%;
}





/* BOTÓN */

.cta-racing {
    margin-top: 36px;

    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;

    text-decoration: none;

    align-items: center;
    justify-content: center;
    gap: 8px;

    background: transparent;
    border: none;

    cursor: pointer;

    transform-origin: center;
    transition:
            transform 0.25s ease,
            filter 0.25s ease;
}

/* TEXTO BOTÓN */
.cta-racing .text {
    display: inline-block;
    
    background: #ff2a2a;
    color: black;

    padding: 13px 42px;

    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 1px;

    transform: skew(-20deg);

    transition: background 0.25s ease, color 0.25s ease;
}

/* LÍNEAS BOTÓN */
.cta-racing .line {
    width: 14px;
    height: 32px;

    background: #ff2a2a;
    transform: skew(-20deg);

    transition: background 0.25s ease;
}

.cta-racing .left {
    margin-right: 2px;
}

.cta-racing .right {
    margin-left: 2px;
}

/* HOVER */
.cta-racing:hover {
    transform: scale(1.12);
    filter: drop-shadow(0 0 18px rgba(255, 42, 42, 0.45));
}

.cta-racing:hover .text {
    background: white;
    color: black;
}

.cta-racing:hover .line {
    background: white;
}

/* TABLET */
@media (max-width: 1024px) {
    .hero-content {
        max-width: 760px;
        padding-top: 120px;
    }

    .red-lines .line
    {
        width: 95px;
    }


}

/* MÓVIL */@media (max-width: 768px) {
    .logo-link {
        transform: translateX(12px);
    }
    .hero {
        min-height: 100svh;
        align-items: center;
    }

    .hero-content {
        max-width: 92%;
        padding: 95px 22px 40px;
        transform: translateY(-15px);
    }

    .hero-content h1 {
        font-size: clamp(2.9rem, 12vw, 4.2rem);
        line-height: 1;
        letter-spacing: 1px;
        text-align: center;
    }

    .hero-content h2 {
        margin-top: 18px;
        font-size: 0.95rem;
        line-height: 1.35;
        letter-spacing: 0.5px;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-content p {
        margin-top: 18px;
        font-size: 0.88rem;
        line-height: 1.45;
        max-width: 285px;
        margin-left: auto;
        margin-right: auto;
    }

    .cta-racing {
        margin-top: 28px;
    }

    .cta-racing .text {
        padding: 10px 24px;
        font-size: 0.9rem;
    }
    /* mover líneas blancas más a la izquierda */
    .white-lines .l1 {
        left: -30px;
    }

    .white-lines .l2 {
        left: 25px;
    }


}

/* MÓVIL PEQUEÑO */
@media (max-width: 480px) {
    .logo-link {
        transform: translateX(12px);
    }
    .hero-content {
        padding: 100px 16px 45px;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 1px;
    }

    .hero-content h2 {
        font-size: 0.9rem;
        letter-spacing: 1px;
    }

    .hero-content p {
        font-size: 0.82rem;
        line-height: 1.6;
    }

    .cta-racing .text {
        padding: 10px 22px;
        font-size: 0.8rem;
    }


    .red-lines .line{
        width: 75px;
    }

}

/* MÓVIL MUY PEQUEÑO */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 2.55rem;
    }

    .hero-content h2 {
        font-size: 0.78rem;
    }

    .hero-content p {
        font-size: 0.78rem;
    }

    .cta-racing .text {
        padding: 9px 18px;
    }
}