/* =========================================================
   UNOSKREATIVOS
   Hero principal
   ========================================================= */

.hero {
    min-height: 92vh !important;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 125px 0 115px;
    isolation: isolate;
    background: #020202;
}

.hero-banner {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: -3;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.86) 0%,
            rgba(0,0,0,.62) 48%,
            rgba(0,0,0,.68) 100%
        ),
        linear-gradient(
            180deg,
            rgba(0,0,0,.22) 0%,
            rgba(3,3,3,.78) 88%,
            var(--bg) 100%
        );

    pointer-events: none;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;

    background-image:
        linear-gradient(
            rgba(255,255,255,.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255,255,255,.025) 1px,
            transparent 1px
        );

    background-size: 55px 55px;
    pointer-events: none;
}

.hero-glow {
    position: absolute;
    z-index: -1;

    width: 800px;
    height: 600px;

    border-radius: 50%;

    background: var(--accent-glow);
    filter: blur(120px);

    top: -200px;
    left: 50%;

    transform: translateX(-50%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-brand-logo {
    width: min(260px,58vw);
    height: auto;

    margin-bottom: 18px;

    filter: drop-shadow(
        0 15px 40px rgba(0,0,0,.6)
    );
}

.badge {
    display: inline-flex;
    align-items: center;

    gap: 10px;

    border: 1px solid rgba(204,255,0,.3);

    background:
        linear-gradient(
            90deg,
            rgba(204,255,0,.1),
            rgba(204,255,0,.02)
        );

    border-radius: 50px;

    padding: 10px 16px;

    font-size: 12px;
    letter-spacing: 1.5px;
    font-weight: 800;

    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;

    background: var(--accent);

    border-radius: 50%;

    box-shadow:
        0 0 15px var(--accent);

    animation:
        pulse 1.4s infinite;
}

@keyframes pulse {
    50% {
        opacity: .45;
    }
}

.hero h1 {
    width: 100%;
    max-width: 1080px;

    margin: auto;
    padding-inline: 8px;

    font-size:
        clamp(2rem,6vw,4.75rem);

    line-height: .94;

    letter-spacing:
        clamp(-2px,-.15vw,-.7px);

    font-weight: 950;

    text-transform: uppercase;
    text-wrap: balance;

    overflow-wrap: normal;
    word-break: normal;
}

.hero h1 span {
    display: block;
    color: var(--accent);
}

.hero-text {
    max-width: 720px;

    margin:
        28px auto 36px;

    line-height: 1.7;

    font-size: 1.05rem;

    color: #d1d1d1;

    text-shadow:
        0 2px 24px rgba(0,0,0,.65);
}

/* =========================================================
   HERO — ACCIONES / CTA
   ========================================================= */

.hero-actions {
    width: min(100%, 560px);
    margin: 0 auto;

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hero-actions .btn-primary {
    grid-column: 1 / -1;
    min-height: 64px;
    padding: 0 28px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    background: var(--accent);
    border: 1px solid var(--accent);
    color: #050505;

    font-size: 12px;
    font-weight: 950;
    letter-spacing: 1.2px;
    text-transform: uppercase;

    box-shadow: 0 14px 35px rgba(204,255,0,.10);

    transition:
        transform .22s ease,
        box-shadow .22s ease,
        background .22s ease;
}

.hero-actions .btn-dark,
.hero-actions .btn-whatsapp {
    min-height: 58px;
    padding: 0 24px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;

    transition:
        transform .22s ease,
        background .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.hero-actions .btn-dark {
    background: rgba(12,12,12,.86);
    border: 1px solid rgba(255,255,255,.16);
    color: #fff;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.hero-actions .btn-whatsapp {
    background: rgba(37,211,102,.10);
    border: 1px solid rgba(37,211,102,.55);
    color: #fff;
}

.hero-actions .btn-primary:hover,
.hero-actions .btn-primary:focus-visible {
    background: #d8ff32;
    transform: translateY(-2px);
    box-shadow: 0 18px 42px rgba(204,255,0,.18);
    outline: none;
}

.hero-actions .btn-dark:hover,
.hero-actions .btn-dark:focus-visible {
    background: #181818;
    border-color: rgba(204,255,0,.55);
    color: var(--accent);
    transform: translateY(-2px);
    outline: none;
}

.hero-actions .btn-whatsapp:hover,
.hero-actions .btn-whatsapp:focus-visible {
    background: var(--green);
    border-color: var(--green);
    color: #050505;
    transform: translateY(-2px);
    box-shadow: 0 16px 35px rgba(37,211,102,.18);
    outline: none;
}


/* =========================================================
   HERO RESPONSIVE — TABLET
   ≤ 820px
   ========================================================= */

@media (max-width: 820px) {

    .hero {
        min-height: 760px !important;
        padding: 78px 0 72px;
    }

    .hero-content {
        width: 100%;
        max-width: 720px;
        margin-inline: auto;
        padding-inline: 24px;
    }

    .hero-banner {
        object-position: center center;
    }

    .badge {
        max-width: 100%;
        margin-bottom: 24px;
        padding: 9px 14px;

        gap: 8px;

        font-size: 10px;
        line-height: 1.3;
        letter-spacing: 1px;

        white-space: normal;
        text-align: center;
    }

    .hero h1 {
        max-width: 680px;
        margin-inline: auto;
        padding-inline: 0;

        font-size: clamp(2.2rem, 7vw, 3.8rem);
        line-height: .96;
        letter-spacing: -1.2px;
    }

    .hero-text {
        max-width: 560px;
        margin: 26px auto 32px;
        padding: 0;

        font-size: .98rem;
        line-height: 1.65;
    }

    .hero-actions {
        width: min(100%, 520px);
        margin: 0 auto;

        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
}


/* =========================================================
   HERO RESPONSIVE — MÓVIL
   ≤ 560px
   ========================================================= */

@media (max-width: 560px) {

    .hero {
        min-height: 720px !important;

        padding:
            62px
            0
            64px;

        align-items: center;
    }

    /*
       Espacio lateral real del Hero.
       Evita texto y botones pegados a los bordes.
    */
    .hero-content {
        width: 100%;
        max-width: 100%;

        margin-inline: auto;

        padding-left: 20px;
        padding-right: 20px;
    }

    /*
       En móvil desplazamos ligeramente el fondo
       para conservar mejor la composición.
    */
    .hero-banner {
        object-position: 90% center;
    }

    .hero::before {
        background:
            linear-gradient(
                180deg,
                rgba(0,0,0,.56) 0%,
                rgba(0,0,0,.68) 48%,
                rgba(3,3,3,.90) 100%
            );
    }

    .hero-glow {
        width: 420px;
        height: 420px;

        top: -120px;

        filter: blur(100px);
    }


    /* Badge */

    .badge {
        width: auto;
        max-width: calc(100vw - 48px);

        margin:
            0 auto
            28px;

        padding: 9px 13px;

        justify-content: center;

        font-size: 9px;
        line-height: 1.25;
        letter-spacing: .75px;

        white-space: normal;
        text-align: center;
    }

    .badge-dot {
        width: 7px;
        height: 7px;

        flex: 0 0 7px;
    }


    /* Título */

    .hero h1 {
        width: 100%;
        max-width: 420px;

        margin-inline: auto;

        font-size: clamp(2rem, 9.2vw, 2.65rem);
        line-height: .94;

        letter-spacing: -.8px;

        text-align: center;
        text-wrap: balance;

        overflow-wrap: normal;
        word-break: normal;
    }


    /* Descripción */

    .hero-text {
        width: 100%;
        max-width: 410px;

        margin:
            26px auto
            32px;

        padding: 0;

        font-size: .95rem;
        line-height: 1.68;

        text-align: center;
    }


    /* Botones */

    .hero-actions {
        width: 100%;
        max-width: 390px;

        margin-inline: auto;

        display: grid;
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-dark,
    .hero-actions .btn-whatsapp {
        grid-column: auto;

        width: 100%;

        min-height: 56px;

        padding:
            0
            18px;

        font-size: 11px;
        letter-spacing: .9px;
    }
}


/* =========================================================
   HERO RESPONSIVE — MÓVIL PEQUEÑO
   ≤ 380px
   ========================================================= */

@media (max-width: 380px) {

    .hero {
        min-height: 690px !important;

        padding:
            54px
            0
            58px;
    }

    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
    }

    .badge {
        max-width: calc(100vw - 36px);

        margin-bottom: 24px;

        padding: 8px 11px;

        font-size: 8.5px;
        letter-spacing: .6px;
    }

    .hero h1 {
        max-width: 350px;

        font-size: clamp(1.9rem, 9.5vw, 2.25rem);
        line-height: .95;
        letter-spacing: -.6px;
    }

    .hero-text {
        max-width: 350px;

        margin:
            24px auto
            28px;

        font-size: .91rem;
        line-height: 1.65;
    }

    .hero-actions {
        max-width: 350px;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-dark,
    .hero-actions .btn-whatsapp {
        min-height: 54px;
    }
}

/* =========================================================
   HERO ACTIONS
   ========================================================= */

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}