*{
    box-sizing: border-box;
}

html,
body{
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    font-family: Inter, system-ui, sans-serif;
}

/* HERO */
.hero-video{
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 124px 20px 64px;
}

/* VIDEO */
.bg-video{
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}

/* OVERLAY */
.video-overlay{
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.45),
            rgba(0,0,0,0.70)
        );

    z-index: 2;
}

/* CONTENIDO */
.cont-principal{
    position: relative;
    z-index: 3;

    width: 100%;
    max-width: 1320px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(34px, 5vw, 70px);
}

/* CARNET */
.cont-carnet{
    flex: 0 0 auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.img-carnet{
    width: 100%;
    max-width: 340px;
    height: auto;

    object-fit: contain;

    filter:
        drop-shadow(0 35px 70px rgba(0,0,0,0.45));

    animation: floatCard 5s ease-in-out infinite;
}

@keyframes floatCard{
    0%{
        transform: translateY(0px);
    }

    50%{
        transform: translateY(-20px);
    }

    100%{
        transform: translateY(0px);
    }
}

/* INFO */
.cont-info{
    max-width: 620px;
    color: white;
}

.hero-badge{
    display: inline-flex;
    align-items: center;

    padding: 10px 15px;

    border-radius: 999px;

    background: rgba(255,255,255,0.12);

    border: 1px solid rgba(255,255,255,0.18);

    backdrop-filter: blur(10px);

    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    margin-bottom: 22px;
}

.cont-info h2{
    margin: 0;

    font-size: clamp(44px, 6vw, 78px);

    line-height: 0.95;

    font-weight: 900;

    letter-spacing: 0;

    text-wrap: balance;
}

.cont-info h3{
    margin-top: 24px;

    font-size: clamp(18px, 2vw, 20px);

    line-height: 1.5;

    color: rgba(255,255,255,0.82);

    font-weight: 500;

    max-width: 1200px;
}

/* BOTONES */
.hero-actions{
    margin-top: 34px;

    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.site-nav-link{
    min-height: 52px;

    padding: 0 22px;

    border-radius: 999px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    font-size: 15px;
    font-weight: 850;

    transition:
        transform .16s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.site-nav-outline{
    background: rgba(255,255,255,0.12);

    color: white;

    border: 1px solid rgba(255,255,255,0.18);

    backdrop-filter: blur(10px);

    
}

.site-nav-outline:hover{
    

    background: rgba(255,255,255,0.18);
}

.site-nav-primary{
    background: white;

    color: #111827;

    box-shadow:
        0 18px 35px rgba(255,255,255,0.18);
}

.site-nav-primary:hover{
   
}

/* RESPONSIVE */
@media (max-width: 980px){

    .cont-principal{
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

    .hero-actions{
        justify-content: center;
    }

    .img-carnet{
        max-width: 300px;
    }

    .cont-info{
        max-width: 100%;
    }

    .cont-info h2{
        font-size: clamp(40px, 9vw, 62px);
    }
}

@media (max-width: 640px){

    .hero-video{
        align-items: flex-start;
        padding: 104px 16px 44px;
    }

    .img-carnet{
        max-width: min(224px, 78vw);
    }

    .cont-info h2{
        font-size: clamp(32px, 10vw, 42px);
        line-height: 1.05;
    }

    .cont-info h3{
        font-size: 16px;
        line-height: 1.45;
        margin-top: 18px;
    }

    .hero-actions{
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-nav-link{
        width: 100%;
    }
}

@media (max-width: 420px){
    .hero-video{
        padding-inline: 12px;
    }

    .cont-principal{
        gap: 24px;
    }
}





.countdown-wrapper{
    margin-top: 30px;
}

.countdown-label{
    display: inline-block;

    margin-bottom: 14px;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;

    color: rgba(255,255,255,0.72);
}

.countdown{
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.countdown-item{
    min-width: 110px;

    padding: 18px 20px;

    border-radius: 24px;

    background: rgba(255,255,255,0.10);

    border: 1px solid rgba(255,255,255,0.14);

    backdrop-filter: blur(12px);

    box-shadow:
        0 14px 30px rgba(0,0,0,0.22);

    text-align: center;
}

.countdown-item span{
    display: block;

    font-size: clamp(34px, 4vw, 48px);

    line-height: 1;

    font-weight: 900;

    color: white;

    letter-spacing: 0;
}

.countdown-item small{
    display: block;

    margin-top: 8px;

    font-size: 12px;

    font-weight: 700;

    letter-spacing: .08em;

    text-transform: uppercase;

    color: rgba(255,255,255,0.72);
}

/* MOBILE */
@media (max-width: 640px){

    .countdown{
        justify-content: center;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .countdown-item{
        min-width: 0;
        padding: 14px 10px;
        border-radius: 18px;
    }

    .countdown-item span{
        font-size: clamp(28px, 9vw, 34px);
    }

    .countdown-item small{
        font-size: 10px;
    }
}




#btnRegistroHero{
    position: relative;

    overflow: hidden;

    isolation: isolate;

    background: rgba(255,255,255,0.08);

    color: white;

    border: none;

    backdrop-filter: blur(10px);

    padding: 0 24px;

    min-height: 54px;

    border-radius: 999px;

    font-weight: 850;

    text-decoration: none;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    z-index: 1;

    transition:
        transform .2s ease,
        box-shadow .2s ease;
}

#btnRegistroHero::before{
    content: "";

    position: absolute;

    inset: 0;

    border-radius: inherit;

    padding: 2px;

    background:
        linear-gradient(
            90deg,
            #ff0080,
            #7928ca,
            #0070f3,
            #00c853,
            #ffcc00,
            #ff0080
        );

    background-size: 300% 300%;

    animation: borderFlow 5s linear infinite;

    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);

    -webkit-mask-composite: xor;

    mask-composite: exclude;

    z-index: -1;
}

#btnRegistroHero::after{
    content: "";

    position: absolute;

    inset: -8px;

    border-radius: inherit;

    background:
        linear-gradient(
            90deg,
            #ff0080,
            #7928ca,
            #0070f3,
            #00c853,
            #ffcc00,
            #ff0080
        );

    background-size: 300% 300%;

    animation: borderFlow 5s linear infinite;

    filter: blur(18px);

    opacity: 0.45;

    z-index: -2;
}

@keyframes borderFlow{
    0%{
        background-position: 0% 50%;
    }

    50%{
        background-position: 100% 50%;
    }

    100%{
        background-position: 0% 50%;
    }
}

#btnRegistroHero:hover{
    transform: translateY(-2px) scale(1.02);

    box-shadow:
        0 18px 40px rgba(0,0,0,0.35);
}

#btnRegistroHero:active{
    transform: scale(.98);
}




.detalles{
    display: grid;
    grid-template-columns: minmax(260px, 590px) minmax(340px, 520px);
    align-items: center;
    justify-content: center;
    column-gap: clamp(10px, 4vw, 10px);
    min-height: 25em;
    padding: 56px 20px;
    color: #0f172a;
    background-color: #ffffff;
    background-image: radial-gradient(circle at 10% 90%, rgb(237, 247, 255), transparent 30%);
    padding-left: 5em;
}

.detalles > div{
    min-width: 0;
}

.detalles > div:first-child{
    display: flex;
    justify-content: center;
  
}

.detalles img{
    display: block;
    max-width: min(410px, 100%);
    height: auto;
    margin-top: 0.2em;

}





.footer{
    background-color: rgb(4, 16, 59);
    min-height: 12em;
    padding: 36px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-direction: column;
    gap: 15px;
    text-align: center;
    line-height: 1.45;
}

.footer img{
 filter: brightness(0) saturate(100%) invert(100%) ;

}




.cont3{
background-color: rgb(21, 7, 49);
display: flex;
justify-content: center;
padding-top: 3em;
padding-bottom: 3em;
}

.item1{
width: 15em;
display: flex;
flex-direction: column;
text-align: center;
margin-left: 2em;
margin-right: 2em;
color: rgb(242, 242, 242);
font-weight: 100;
font-family: Inter, system-ui, sans-serif;


}

@media (max-width: 760px){
    .detalles{
        grid-template-columns: 1fr;
        gap: 24px;
        min-height: auto;
        padding: 44px 20px;
        text-align: center;
    }

    .detalles img{
        max-width: min(230px, 72vw);
    }

    .detalles h2{
        margin-top: 0;
        font-size: 26px;
    }

    .detalles p{
        margin: 10px 0;
        line-height: 1.45;
    }

    .footer{
        min-height: auto;
        padding: 32px 18px;
        font-size: 14px;
    }
}


