*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body{
    background: #ffffff;
    font-family: Arial, sans-serif;
    padding-top: 80px;
}


header{
    background-color: #12024b;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.614);
    backdrop-filter:blur(15px);
    transition:.4s;
}

.encabezado{
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo{
    width: 55px;
    height: 55px;
}

.logo-link{
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 10px;
    color: white;
}

.encabezado h1{
    font-size: 24px;
    font-weight: 700;
}

.nav{
    display: flex;
    gap: 30px;
    align-items: center;
    justify-content: center;
}

.nav a{
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
    position: relative;
    padding: 8px 0;
}

.nav a:hover{
    transform: scale(1.08);
}

.nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-5px;
    width:0;
    height:3px;
    background:#ff2d2d;
    transition:.35s;
    border-radius:10px;
}

.nav a:hover::after{
    width:100%;
}

.btn-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #d50000;
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    min-width: 150px;
    white-space: nowrap;
    transition: .3s;
}

.btn-login i{
    font-size:17px;
}

.btn-login:hover {
    background-color: #b00000;
    color: white;
    transform: scale(1.05);
}

.banner{
    position: relative;
    width: 90%;
    border-radius: 25px;
    margin: 20px auto;
}

.banner img{
    width: 100%;
    height: 550px;
    border-radius: 25px;
    object-fit: cover;
}

.contenido-banner{
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
}

.contenido-banner h2{
    font-size: 60px;
    font-weight: 800;
    margin-bottom: 20px;
}

.contenido-banner p{
    font-size: 22px;
    margin-bottom: 30px;
}

.botones-banner{
    display: flex;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    gap: 20px;
}

.btn{
    background: #0a1b8f;
    border: none;
    color: #ffffff;
    padding: 10px 35px;
    border-radius: 20px;
    font-size: 18px;
    text-decoration: none;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
}

.btn a{
    text-decoration: none;
    color: #ffffff;
}

.btn:hover{
    transform: scale(1.08);
    box-shadow: 0px 2px 5px rgba(27, 22, 130, 0.489);
}

.filaa{
    text-align: center;
    background: linear-gradient(95deg, #daddff, #e5e7ff);
    color: #08090c;
    padding: 15px;
    line-height: 1.5;
    font-size: 30px;
}

.filaa p{
    color: #010202;
    font-size: 27px;
}

.fila{
    width: 100%;
    margin: auto;
    padding: 40px 0;
    display: flex;
    gap: 30px;
    justify-content: center;
    background: linear-gradient(95deg, #daddff, #e5e7ff);
}

.fil{
    width: 20%;
    height: 150px;
    border: 2px solid #0a1b8f;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.fil h3{
    color: #030303;
    font-size: 22px;
    margin-top: 10px;
    text-align: center;
}

.fil h1{
    color: #d50000;
    font-size: 60px;
    padding: 5px;
    text-align: center;
    font-weight: 700;
}

.barra{
    text-align: center;
    background-color: #12024b;
    padding: 25px;
    margin-top: 30px;
}

.barra h2{
    color: #c2c6e3;
    font-size: 40px;
}

.barra p{
    color: #ffffff;
    margin-top: 10px;
}

.carrusels{
    width: 85%;
    margin: 20px auto;
    text-align: center;
}

.carrusels h2{
    font-size: 45px;
    color: #372969;
    margin-bottom: 40px;
}

.car{
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 4px 20px rgba(0,0,0,0.2);
}

.carrusel{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.carrusel.active{
    opacity: 1;
}

.carrusel img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.texto{
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.5);
    padding: 20px 35px;
    border-radius: 20px;
    color: white;
}

.texto h3{
    font-size: 35px;
    margin-bottom: 10px;
}

.atras,
.adelante{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 30px;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10;
}

.atras:hover,
.adelante:hover{
    background: rgba(255,255,255,0.6);
}

.atras{
    left: 20px;
}

.adelante{
    right: 20px;
}

.seccion{
    text-align: center;
    margin-top: 40px;
    background-color: #12024b;
    padding: 25px;
}

.seccion h2{
    color: #c2c6e3;
    font-size: 40px;
}

.seccion p{
    color: #ffffff;
    margin-top: 10px;
}

.habilidades{
    padding:10px;
}

.cards-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 30px;
    flex-wrap: wrap;
}

.flip-card{
    width: 270px;
    height: 400px;
    perspective: 1000px;
}

.flip-card-inner{
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.flip-card.active .flip-card-inner{
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(226, 228, 248, 0.841);
    border-radius: 20px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    backface-visibility: hidden;
    box-shadow: 0px 4px 10px rgba(9, 6, 108, 0.815);
}

.flip-card-front i{
    width: 85px;
    height: 85px;
    border-radius: 50%;
    background: rgba(240, 243, 254, 0.748);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 30px;
    transition: 0.3s;
}

.flip-card-front h3{
    text-align: center;
    color: #24377a;
    font-size: 35px;
}

.flip-card-front p{
    text-align: center;
    color: #0c0c0c;
    font-size: 20px;
}

.flip-card-back{
    transform: rotateY(180deg);
}

.flip-card-back p{
    color: #000000;
    font-size: 20px;
    text-align: center;
    line-height: 1.5;
    margin-top: 70px;
}

.btn-flip,
.btn-back{
    width: 70%;
    padding: 15px;
    border: none;
    border-radius: 40px;
    background: #24377a;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-flip:hover,
.btn-back:hover{
    background: #18285f;
    transform: scale(1.03);
}

.habilidades-controles{
    display:none;
}

.razon{
    width: 90%;
    margin: auto;
    padding: 30px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 90px;
}

.texto-razon{
    width: 40%;
}
.img-razon{
    width: 55%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.img-razon video{
    width: 100%;
    max-width: 700px;
    border-radius: 17px;
    box-shadow: 0 15px 35px rgba(0,0,0,.15);
    object-fit: cover;
}

.etiqueta{
    background: #ffd9005e;
    color: rgb(216, 153, 6);
    padding: 12px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: bold;
}

.texto-razon h2{
    font-size: 53px;
    line-height: 1.2;
    color: #0B0B45;
    margin: 30px 0;
}

.texto-razon h2 span{
    color: red;
}

.texto-razon p{
    color: gray;
    font-size: 22px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.razones{
    width: 90%;
    margin: auto;
    padding: 50px 0;
    display: flex;
    align-items: center;
    gap: 50px;
}

.raz{
    width: 75%;
}

.raz h3{
    color: #0e027a;
}

.raz i{
    color: #05358f;
}

.contacto{
    position: relative;
    width: 100%;
    min-height: 100vh;
    height: auto;
    overflow: hidden;
}

.contacto img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contenido-contacto{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    background: rgba(14, 6, 50, 0.364);
}

.redes {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
}

.redes h2{
    color: rgb(255, 255, 255);
    margin-bottom: 10px;
}

.iconos-redes{
    display: flex;
    justify-content: center;
    gap: 25px;
}

.iconos-redes a{
    text-decoration: none;
}

.iconos-redes i{
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.453);
    display: flex;
    justify-content: center;
    align-items: center;
    color: rgb(0, 0, 0);
    font-size: 30px;
    transition: 0.3s;
}

.iconos-redes i:hover{
    transform: translateY(-8px);
    color:#ffffff;
    background: rgba(255,255,255,0.5);
}

.faq-section h2,
.form-section h2{
    color: white;
    font-size: 35px;
    margin-bottom: 20px;
}

.faq-section {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.faq-box {
    width: 100%;
    max-width: 700px;
    background: #fff;
    border-radius: 24px;
    padding: 30px;
}

.faq-item {
    border-bottom: 1px solid #e2e8f0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    color: #12024b;
    text-align: left;
    gap: 20px;
    transition: .3s;
}

.faq-question:hover {
    color: #d50000;
}

.faq-icono {
    font-size: 24px;
    font-weight: 300;
    transition: .3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
    padding: 0 10px;
}

.faq-answer p {
    padding-bottom: 20px;
    color: #555;
    line-height: 1.7;
    font-size: 15px;
}

.faq-item.active .faq-answer {
    max-height: 250px;
}

.faq-item.active .faq-icono {
    transform: rotate(45deg);
    color: #d50000;
}

.form-section{
    width: 400px;
    background: rgba(31, 27, 109, 0.8);
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form-section form{
    display: flex;
    flex-direction: column;
    width: 100%;
}

.form-section label{
    color: white;
    margin-bottom: 5px;
}

.form-section input,
.form-section textarea{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 20px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.form-section textarea{
    resize: none;
    height: 120px;
}

.btn-con{
    background: #d50000;
    width: 250px;
    align-items: center;
    justify-content: center;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 20px;
    font-weight: bold;
    transition: transform 0.3s ease, color 0.3s ease;
    cursor: pointer;
    align-self: center;
}

.btn-con:hover{
    transform: translateY(-3px);
    background: #c40000;
}

footer{
    background: #12024b;
    color: white;
    margin-top: 0px;
    padding: 30px;
}

.footer-container{
    width: 90%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links{
    display: flex;
    gap: 20px;
}

.footer-links a{
    color: white;
    text-decoration: none;
}

.footer-links a:hover{
    color: #109aaf;
}

.menu-toggle{
    display: none;
    background: none;
    border: none;
    position: fixed;
    right: 20px;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 3001;
}

@media (max-width:768px){
    header{
        padding:15px 20px;
    }

    .menu-toggle{
        display:block;
        position: fixed;
        top: 22px;
        right: 20px;
        z-index: 3001;
    }

    .nav{
        position:fixed;
        top:0;
        right:-100%;
        width:72%;
        max-width:320px;
        height:100vh;
        background:linear-gradient(180deg,#1c075f,#12024b);
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        padding:90px 30px 40px;
        gap:5px;
        transition:.4s ease;
        box-shadow:-10px 0 30px rgba(0,0,0,.35);
        z-index:2500;
    }

    .nav.active{
        right:0;
    }

    .nav a{
        width:100%;
        color:white;
        text-decoration:none;
        font-size: 17px;
        font-weight:600;
        padding:18px 0;
        border-bottom:1px solid rgba(255,255,255,.08);
        transition:.25s;
    }

    .nav a i{
        width:35px;
        text-align:center;
        margin-right:12px;
    }

    .btn-login{
        width:100%;
        margin-top:25px;
        border-radius:40px;
        text-align:center;
        justify-content:center;
        padding:16px;
        background:#e60000;
    }

    .nav::before{
        content:"";
        position:fixed;
        z-index:-1;
        opacity:0;
        pointer-events:none;
        transition:.3s;
    }

    .nav.active::before{
        opacity:1;
    }

    .banner{
        width: 100%;
        margin: 0;
        overflow: hidden;
        padding-top: 20px;
    }

    .banner img{
        width: 100%;
        height: 250px;
        object-fit: cover;
    }

    .contenido-banner{
        width: 90%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
    }

    .contenido-banner h2{
        font-size: 32px;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .contenido-banner p{
        font-size: 17px;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .botones-banner{
        gap: 10px;
    }

    .btn{
        font-size: 14px;
        padding: 8px 18px;
        width: auto;
    }

    .carrusels{
        width:95%;
        margin:40px auto;
    }

    .carrusels h2{
        font-size:30px;
        margin-bottom:25px;
    }

    .car{
        height:300px;
        border-radius:18px;
    }

    .carrusel img{
        width:100%;
        height:100%;
        object-fit:cover;
    }

    .texto{
        width:90%;
        left:50%;
        bottom:15px;
        transform:translateX(-50%);
        padding:15px;
    }

    .texto h3{
        font-size:20px;
    }

    .texto p{
        font-size:14px;
    }

    .atras,
    .adelante{
        width:42px;
        height:42px;
        font-size:18px;
    }

    .atras{
        left:10px;
    }

    .adelante{
        right:10px;
    }

    .filaa h2{
        font-size: 30px;
    }

    .filaa p{
        font-size: 18px;
    }

    .fila{
        flex-direction:column;
        gap:15px;
        padding:20px;
    }

    .fil{
        width:100%;
        height:auto;
        padding:15px;
        border-radius:15px;
        box-shadow:0 4px 10px rgba(0,0,0,0.1);
    }

    .fil h1{
        font-size:32px;
    }

    .fil h3{
        font-size:17px;
    }

    .cards-container{
        overflow:hidden;
        display:flex;
        justify-content:center;
    }

    .flip-card{
        display:none;
        width:100%;
        max-width:320px;
        height:380px;
        transition: .4s;
    }

    .flip-card:hover{
        transform:translateY(-10px);
    }

    .habilidades-controles{
        display:flex;
        justify-content:center;
        gap:20px;
        margin-top:25px;
    }

    .habilidades-controles button{
        width:50px;
        height:50px;
        border:none;
        border-radius:50%;
        background:#12024b;
        color:white;
        font-size:20px;
        cursor:pointer;
        transition:.3s;
    }

    .habilidades-controles button:hover{
        background:#d50000;
        transform:scale(1.08);
    }

    .razon{
        width: 100%;
        padding: 40px 20px;
        display: flex;
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .texto-razon p{
        font-size: 17px;
        line-height: 1.6;
    }

    .img-razon{
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .img-razon video{
        width: 100%;
        max-width: 500px;
        height: auto;
        border-radius: 20px;
    }

    .texto-razon{
        width: 100%;
    }

    .etiqueta{
        display: inline-block;
        font-size: 13px;
        padding: 10px 18px;
    }

    .texto-razon h2{
        font-size: 34px;
        margin: 20px 0;
        line-height: 1.3;
    }

    .razones{
        flex-direction:column;
        gap:15px;
    }

    .raz{
        width:100%;
        padding:15px;
        text-align:center;
        border-radius:15px;
        background:#f5f5ff;
    }

    .contacto{
        height:auto;
        position: relative;
        background: #12024b;
    }

    .contacto img{
        display:none;
    }

    .contenido-contacto{
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 35px 20px;
        gap: 40px;
        background: #e4e2f0;
    }

    .faq-section{
        width: 100%;
        padding: 0;
    }

    .faq-section h2{
        font-size: 28px;
        text-align: center;
        margin-bottom: 20px;
        color: #000;
    }

    .faq-box{
        width: 100%;
        max-width: 100%;
        padding: 20px;
        border-radius: 18px;
    }

    .faq-question{
        font-size: 15px;
        padding: 18px 5px;
        gap: 15px;
    }

    .faq-answer p{
        font-size: 14px;
        line-height: 1.6;
    }

    .faq-icono{
        font-size: 20px;
    }

    .form-section{
        width: 100%;
        max-width: 500px;
        background-color: #0B0B45;
        padding: 25px;
    }

    .form-section h2{
        font-size: 28px;
        color: #fff;
        text-align: center;
    }

    .form-section input,
    .form-section textarea{
        width: 100%;
        font-size: 15px;
    }

    .form-section textarea{
        min-height: 120px;
    }

    .btn-con{
        width: 100%;
        font-size: 16px;
    }

    .redes{
        position: relative;
        left: auto;
        bottom: auto;
        transform: none;
        width: 100%;
        padding: 25px;
    }

    .redes h2{
        font-size: 22px;
        line-height: 1.4;
    }

    .iconos-redes{
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }

    .iconos-redes i{
        width: 55px;
        height: 55px;
        color: #7c0202;
        font-size: 24px;
    }

    .footer-container{
        flex-direction: column;
        gap: 18px;
        text-align: center;
    }

    .footer-container p{
        font-size: 14px;
        line-height: 1.5;
    }

    .footer-links{
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .footer-links a{
        font-size: 15px;
    }
}


/* Versión estática: contacto directo, sin formulario/backend */
.contacto-estatico { line-height: 1.7; }
.contacto-estatico a:not(.btn-con) { color: inherit; font-weight: 700; }
.contacto-estatico .btn-con { display: inline-block; text-decoration: none; margin-top: 12px; }
