/* ==========================
   RESET GENERAL
========================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Roboto',sans-serif;
    background:#f5f7fa;
    color:#333;
    overflow-x:hidden;
}

/* ==========================
   HEADER
========================== */

header{
    position:fixed;
    top:0;
    width:100%;
    z-index:1000;

    background:rgba(255,255,255,0.95);
    backdrop-filter:blur(10px);

    box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:15px 30px;
}

.logo{
    width:80px;
    height:auto;
}

.nav-menu{
    display:flex;
    list-style:none;
    gap:30px;
    z-index:1000;
}

.nav-menu a{
    text-decoration:none;
    color:#1F4E79;
    font-weight:600;
    transition:.3s;
}

.nav-menu a:hover{
    color:#C75B5B;
}

.menu-toggle{
    display:none;
    position:relative;
}

.menu-toggle span{
    display:block;
    width:30px;
    height:3px;
    background:#1F4E79;
    transition:.3s;
    border-radius:10px;
}
.close-menu{
    display:none;

    text-align:right;

    font-size:30px;

    padding:15px 25px;

    color:white;

    cursor:pointer;

    font-weight:bold;
}
/* ==========================
   HERO
========================== */

.hero{
    position:relative;
    width:100%;
    height:100vh;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    object-fit:cover;
}

.site-notice{

    display:inline-block;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(12px);

    color:white;

    padding:16px 32px;

    border-radius:50px;

    border:1px solid rgba(255,255,255,.3);

    font-size:16px;

    font-weight:600;

    margin-top:60px;  

    margin-bottom:35px;

    text-align:center;

    box-shadow:0 4px 15px rgba(0,0,0,.2);

    max-width:800px;
}

.hero-overlay{

    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background:rgba(0,0,0,.45);

    display:flex;
    flex-direction:column;

    justify-content:center;
    align-items:center;

    text-align:center;

    color:white;

    padding:20px;
}

.hero-overlay h2{

    color:white;

    font-size:3.5rem;

    line-height:1.2;

    max-width:900px;

    margin-bottom:20px;

    text-shadow:2px 2px 12px rgba(0,0,0,.7);
}

.hero-overlay p{

    color:white;

    font-size:1.15rem;

    max-width:700px;

    text-align:center;

    margin:20px auto;

    line-height:1.5;

    text-shadow:2px 2px 12px rgba(0,0,0,.7);
}

.btn-principal{

    background:#C75B5B;

    color:white;

    text-decoration:none;

    padding:15px 35px;

    border-radius:10px;

    font-weight:bold;

    transition:.3s;
}

.btn-principal:hover{

    background:#B94A48;

    transform:translateY(-3px);
}

/* ==========================
   SECCIONES
========================== */

section:not(.hero){
    padding:80px 10%;
}

section h2{

    text-align:center;

    color:#1F4E79;

    margin-bottom:40px;
}

section h2::after{

    content:"";

    display:block;

    width:80px;
    height:4px;

    background:#7A8B5A;

    margin:12px auto;

    border-radius:10px;
}

/* ==========================
   TARJETAS
========================== */

.contenedor-tarjetas{

    display:flex;

    justify-content:center;

    flex-wrap:wrap;

    gap:25px;
}

.tarjeta{

    width:320px;

    background:white;

    padding:30px;

    border-radius:20px;

    border-top:5px solid #1F4E79;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;
}

.tarjeta:hover{

    transform:translateY(-10px);

    border-top:5px solid #7A8B5A;

    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.tarjeta h3{

    color:#1F4E79;

    margin-bottom:15px;
}

/* ==========================
   OFERTA
========================== */

.oferta{
    background:white;
}

/* ==========================
   FORMACIÓN
========================== */

.formacion{
    background:#f5f7fa;
}

/* ==========================
   ¿POR QUÉ ELEGIRNOS?
========================== */

.elegirnos{

    background:white;
}

.elegirnos .tarjeta{

    min-height:220px;

    display:flex;

    flex-direction:column;

    justify-content:center;

    text-align:center;
}


/* ==========================
   HISTORIA
========================== */

.historia{

    background:#f5f7fa;

    text-align:center;
}

.historia p{

    max-width:900px;

    margin:auto;

    font-size:18px;

    line-height:1.8;
}

.historia a{

    display:inline-block;

    margin-top:20px;

    background:#1F4E79;

    color:white;

    text-decoration:none;

    padding:12px 25px;

    border-radius:8px;
}

/* ==========================
   FORMULARIO
========================== */

.informacion{

    background:#fcfcfc;
}

form{

    max-width:900px;

    margin:auto;

    background:#f8f9fc;

    padding:40px;

    border-radius:20px;

    box-shadow:0 5px 25px rgba(0,0,0,.08);

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:20px;
}

input,
select,
textarea{

    width:100%;

    padding:15px;

    font-size:16px;

    border:1px solid #d0d0d0;

    border-radius:10px;

    outline:none;
}

input:focus,
select:focus,
textarea:focus{

    border-color:#1F4E79;

    box-shadow:0 0 8px rgba(31,78,121,.2);
}

textarea{

    grid-column:span 2;

    min-height:120px;

    resize:vertical;

    padding:15px;

    font-family:'Roboto', sans-serif;

    font-size:16px;

    line-height:1.5;
}

form button{

    grid-column:span 2;

    background:#C75B5B;

    color:white;

    border:none;

    padding:15px;

    border-radius:10px;

    font-size:16px;

    font-weight:bold;

    cursor:pointer;
}

form button:hover{

    background:#B94A48;
}

/* ==========================
   FOOTER
========================== */

footer{

    background:#1F4E79;

    color:white;
}

.footer-contenido{

    display:flex;

    justify-content:space-around;

    flex-wrap:wrap;

    gap:30px;

    padding:50px 20px;
}

.footer-contenido h3{

    color:#7A8B5A;

    margin-bottom:15px;
}

.footer-contenido p{

    margin-bottom:8px;
}

.copyright{

    text-align:center;

    padding:15px;

    background:rgba(0,0,0,.2);
}
/* ==========================
   WHATSAPP FLOTANTE
========================== */

.whatsapp-float{

    position:fixed;

    right:20px;
    bottom:20px;

    width:65px;
    height:65px;

    border-radius:50%;

    background:#25D366;

    color:white;

    display:flex;

    justify-content:center;
    align-items:center;

    text-decoration:none;

    font-size:38px;

    box-shadow:0 6px 20px rgba(0,0,0,.25);

    z-index:9999;

    transition:.3s;
}

.whatsapp-float:hover{

    transform:scale(1.12);

    box-shadow:0 10px 25px rgba(0,0,0,.35);
}

.whatsapp-float{

    animation: whatsappPulse 2s infinite;
}

@keyframes whatsappPulse{

    0%{
        box-shadow:0 0 0 0 rgba(37,211,102,.5);
    }

    70%{
        box-shadow:0 0 0 15px rgba(37,211,102,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(37,211,102,0);
    }
}

/* ==========================
   FOOTER
========================== */

footer{

    background:#1F4E79;

    color:white;
}

.footer-contenido{

    max-width:1400px;

    margin:auto;

    padding:60px 10%;

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

    gap:40px;
}

.footer-columna h3{

    color:#7A8B5A;

    margin-bottom:20px;

    font-size:22px;
}

.footer-columna p{

    color:white;

    line-height:1.8;
}

.footer-columna a{

    display:block;

    color:white;

    text-decoration:none;

    margin-bottom:12px;

    transition:.3s;

    line-height:1.6;
}

.footer-columna a:hover{

    color:#C75B5B;

    padding-left:5px;
}

.footer-bottom{

    text-align:center;

    padding:20px;

    border-top:1px solid rgba(255,255,255,.15);

    background:#16395a;
}

.footer-bottom p{

    margin:5px 0;

    color:white;
}

/* ==========================
   MENÚ MÓVIL
========================== */

@media (max-width:768px){

    .nav-menu{

        display:none;

        position:absolute;

        top:100%;

        left:0;

        width:100%;

        background:white;

        flex-direction:column;

        padding:15px;

        gap:10px;

        box-shadow:0 10px 30px rgba(0,0,0,.15);

        border-radius:0 0 20px 20px;
    }

    .nav-menu.active{
        display:flex !important;
    }

    .nav-menu li{
        list-style:none;
    }

    .nav-menu a{

        display:block;

        background:#f5f7fa;

        color:#1F4E79;

        padding:15px;

        text-decoration:none;

        font-weight:600;

        border-radius:12px;

        transition:.3s;
    }

    .nav-menu a:hover{

        background:#1F4E79;

        color:white;

        transform:translateX(5px);
    }



    .menu-toggle{
    display:flex;
    flex-direction:column;
    gap:5px;
    cursor:pointer;
}
    .close-menu{
        display:block;
        text-align:right;
        font-size:30px;
        padding:15px 25px;
        color:white;
        cursor:pointer;
        font-weight:bold;
    }


}