*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body{
    background: #ffffff;
    font-family: Arial, sans-serif;
    padding-top: 40px;
}

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;
    backdrop-filter:blur(15px);
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.614);
}
.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);
}
.menu-toggle{
    display: none;
    position: fixed;
    background: none;
    right: 20px;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
    z-index: 2500;
}

.contenedor-principal {
    margin-top: 120px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.seccion-principal-bloque {
    width: 100%;
    max-width: 1100px;
    margin-bottom: 90px;
    padding: 10px;
}

.seccion-encabezado-planes {
    text-align: center;
    margin-bottom: 35px;
}

.titulo-planes {
    font-size: 40px;
    color: #12024b;
    font-weight: 800;
    text-align: center;
    margin-bottom: 12px;
}

.subtitulo-planes {
    font-size: 16px;
    color: #555555;
    text-align: center;
    margin-bottom: 35px;
}

.titulo-seccion-moderno {
    font-size: 32px;
    color: #12024b;
    font-weight: 850;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.barra-fondo-limpio {
    width: 100%;
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
}

.barra-relleno-limpio {
    height: 100%;
    background-color: #12024b;
    border-radius: 10px;
}

.barra-relleno-limpio.color-secundario-limpio {
    background-color: #d50000;
}

.total-texto-limpio {
    font-size: 16px;
    font-weight: 700;
    color: #12024b;
    text-align: right;
    margin-top: 10px;
}

.total-texto-limpio span {
    color: #d50000;
    font-size: 22px;
    font-weight: 800;
    margin-left: 5px;
}

.selectores-modalidad {
    display: inline-flex;
    background-color: #e2e8f0;
    padding: 6px;
    border-radius: 30px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-modalidad {
    background: none;
    border: none;
    padding: 10px 24px;
    font-size: 15px;
    font-weight: bold;
    color: #12024b;
    cursor: pointer;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.btn-modalidad.active {
    background-color: #12024b;
    color: white;
}



.bloque-modalidad {
    display: none; 
    width: 100%;
}

.bloque-modalidad.active {
    display: flex; 
    justify-content: center;
    gap: 30px;
    width: 100%;
    flex-wrap: wrap;
    animation: fadeIn 0.4s ease-in-out; 
}

.contenedor-tarjetas {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    margin-bottom: 90px;
}

.tarjeta-precio {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    padding: 40px 30px;
    flex: 1;
    min-width: 320px;
    max-width: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.modalidad-tag {
    font-size: 12px;
    font-weight: bold;
    color: #888888;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.tipo-plan {
    font-size: 28px;
    color: #12024b;
    font-weight: bold;
    margin-bottom: 25px;
}

.precio-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 15px;
    margin-bottom: 40px;
    gap: 8px;
}

.precio-block .monto {
    font-size: 46px;
    font-weight: 900;
    color: #12024b;
    letter-spacing: -0.5px;
}

.precio-block .monto-secundario {
    font-size: 22px;
    font-weight: 700;
    color: #555555;
}

.precio-block .periodo {
    font-size: 15px;
    color: #777777;
    margin-top: 6px;
}

.costos-adicionales {
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
    width: 100%;
    margin-bottom: 25px;
    font-size: 14px;
    color: #444444;
}

.costos-adicionales p {
    margin: 4px 0;
}

.lista-beneficios {
    list-style: none;
    text-align: left;
    width: 100%;
    margin-bottom: 35px;
    flex-grow: 1;
}

.lista-beneficios li {
    font-size: 14px;
    color: #555555;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.lista-beneficios li i {
    color: #d50000;
    margin-top: 3px;
    font-size: 14px;
}

.btn-inscribete {
    display: block;
    width: 100%;
    background-color: #d50000;
    color: white;
    text-align: center;
    text-decoration: none;
    padding: 14px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn-inscribete:hover {
    background-color: #b00000;
}

.tarjeta-precio.destacado {
    background-color: #12024b;
    color: white;
    border: none;
}

.tarjeta-precio.destacado .modalidad-tag {
    color: #b0a4ff;
}

.tarjeta-precio.destacado .tipo-plan,
.tarjeta-precio.destacado .precio-block .monto {
    color: white;
}

.tarjeta-precio.destacado .precio-block .monto-secundario {
    color: #e0e0e0;
}

.tarjeta-precio.destacado .precio-block .periodo,
.tarjeta-precio.destacado .costos-adicionales {
    color: #dddddd;
}

.tarjeta-precio.destacado .costos-adicionales {
    border-color: rgba(255,255,255,0.15);
}

.tarjeta-precio.destacado .lista-beneficios li {
    color: #eeeeee;
}

.tarjeta-precio.destacado .lista-beneficios li i {
    color: #d50000;
}

.tarjeta-precio.destacado .btn-inscribete {
    background-color: white;
    color: #12024b;
}

.tarjeta-precio.destacado .btn-inscribete:hover {
    background-color: #f0f4f8;
}

.seccion-metodos-pago {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    padding: 40px;
    text-align: center;
}

.titulo-seccion-pagos {
    font-size: 26px;
    color: #12024b;
    font-weight: 800;
    margin-bottom: 30px;
    letter-spacing: 1px;
}

.tabs-pagos {
    display: flex;
    justify-content: space-around;
    border-bottom: 2px solid #f0f2f5;
    margin-bottom: 35px;
}

.tab-pago {
    flex: 1;
    padding: 15px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: #888888;
    font-weight: bold;
    font-size: 15px;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-pago i {
    font-size: 22px;
}

.tab-pago.active {
    color: #12024b;
    border-bottom-color: #12024b;
}

.contenido-metodo-pago {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.icono-pago-grande {
    font-size: 55px;
    color: #12024b;
    margin-bottom: 15px;
}

.nombre-metodo {
    font-size: 22px;
    color: #12024b;
    font-weight: bold;
    margin-bottom: 12px;
}

.descripcion-pago {
    font-size: 15px;
    color: #666666;
    max-width: 600px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.datos-banco-oculto {
    display: none;
}

.datos-banco-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    animation: fadeIn 0.4s ease-in-out;
    margin-top: 10px;
}

.contenedor-imagen-banco {
    width: 100%;
    max-width: 580px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    overflow: hidden;
    border: 4px solid #12024b;
    background-color: white;
}

.imagen-banca-movil {
    width: 100%;
    height: auto;
    display: block;
}

.faq-section {
    background-color: #12024b;
    border-radius: 20px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 12px 40px rgba(18, 2, 75, 0.15);
}

.faq-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 35px;
    font-weight: 800;
    letter-spacing: 1px;
}

.faq-box {
    width: 100%;
    max-width: 800px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

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

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

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

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

.faq-icono {
    font-size: 22px;
    font-weight: 300;
    color: #12024b;
    transition: transform 0.3s ease;
}

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

.faq-answer p {
    font-size: 15px;
    color: #4a5568;
    line-height: 1.6;
    padding-bottom: 22px;
}

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

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

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;
}


@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
        position: fixed;
    }
    .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:20px;
        border-radius:40px;
        text-align:center;
        justify-content:center;
        padding:10px;
        background:#e60000;
    }
    .nav::before{
        content:"";
        position:fixed;
        z-index:-1;
        opacity:0;
        pointer-events:none;
        transition:.3s;
    }
    .nav.active::before{
        opacity:1;
    }
    
    .contenedor-principal { margin-top: 110px; padding: 15px; }
    .seccion-principal-bloque { margin-bottom: 50px; }
    .titulo-planes { font-size: 30px; }
    .subtitulo-planes { font-size: 14px; margin-bottom: 25px; }
    .selectores-modalidad { width: 100%; flex-direction: column; border-radius: 16px; padding: 10px; gap: 5px; }
    .btn-modalidad { width: 100%; text-align: center; padding: 12px; }
    .contenedor-tarjetas { gap: 20px; margin-bottom: 50px; }
    .tarjeta-precio { min-width: 100%; padding: 30px 20px; }
    .precio-block .monto { font-size: 38px; }
    .precio-block .monto-secundario { font-size: 18px; }
    .seccion-metodos-pago { padding: 25px 15px; }
    .tabs-pagos { flex-direction: column; border-bottom: none; gap: 8px; }
    .tab-pago { border-bottom: none; background-color: #f0f2f5; border-radius: 8px; padding: 12px; }
    .tab-pago.active { background-color: #12024b; color: white; }
    .faq-section { padding: 40px 15px; }
    .faq-section h2 { font-size: 24px; margin-bottom: 25px; }
    .faq-box { padding: 15px; border-radius: 16px; }
    .faq-question { font-size: 15px; padding: 15px 5px; }
    
    
    .bloque-modalidad.active { flex-direction: column; gap: 20px; }

    .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;
    }
}