* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
body {
    color: #fff;
    margin: 0;
}
html {
    scroll-behavior: smooth;
}
/* Estilos base del header (para desktop) */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: #000000;
    box-shadow: 0px 2px 7px #5310fc;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo-seccion img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}
.menu-seccion {
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
}
.menu-seccion ul {
    display: flex;
    list-style: none;
    gap: 15px;
    margin: 0;
    padding: 0;
}
.menu-seccion li a {
    color: #ff8800;
    text-decoration: none;
    text-transform: capitalize;
    padding: 8px 15px;
    position: relative;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 5px;
}
.menu-seccion li a:hover {
    color: #0785f2;
}
.menu-seccion li a:after {
    content: '';
    display: block;
    height: 2px;
    width: 0;
    background: #0785f2;
    position: absolute;
    bottom: 0;
    left: 50%;
    transition: width 0.3s ease, left 0.3s ease;
}
.menu-seccion li a:hover:after {
    width: 100%;
    left: 0;
}
/* Estilos para el menú hamburguesa (mobile) */
.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 1001;
}
.menu-btn span {
    display: block;
    width: 100%;
    height: 3px;
    background: white;
    transition: all 0.3s ease;
}
#menu-toggle {
    display: none;
}
#menu-toggle:checked ~ .menu-btn span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
#menu-toggle:checked ~ .menu-btn span:nth-child(2) {
    opacity: 0;
}
#menu-toggle:checked ~ .menu-btn span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}
#menu-toggle:checked ~ .menu-seccion {
    right: 0;
}
/* Media Queries para responsive */
@media (max-width: 768px) {
    .menu-seccion {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background-color: #0000007a;
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: right 0.3s ease;
    }
    .menu-seccion ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }
    .menu-seccion li {
        width: 100%;
        text-align: center;
    }
    .menu-seccion li a {
        
        justify-content: center;
        padding: 12px 0;
        width: 100%;
    }
    .menu-seccion li a:hover{
        color: #00ff00;
    }
    .menu-btn {
        display: flex;
    }
}
@media (max-width: 480px) {
    .header {
        height: 60px;
        padding: 0 15px;
    }   
    .logo-seccion img {
        height: 40px;
    }
    .menu-seccion {
        top: 60px;
        height: calc(100vh - 60px);
    }
}
/* Sección Principal - Manteniendo estructura de 2 columnas */
.header-content {
    height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 70px;
    padding: 20px;
    position: relative;
    width: 100%;
    overflow: hidden;
}
.video-fondo {
    position: fixed; /* ¡Cambio clave aquí! */
    top: 0;          /* Lo posiciona arriba del todo */
    left: 0;         /* Lo posiciona a la izquierda del todo */
    width: 100%;     /* Ocupa todo el ancho */
    height: 100%;    /* Ocupa todo el alto */
    object-fit: cover; /* Asegura que el video cubra el área sin deformarse */
    z-index: -2;     /* Lo envía al fondo, detrás de otros elementos */
 
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}
.header-text-and-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    align-items: center;
}
.header-text {
    color: hsl(0, 0%, 100%);
    font-size: 1rem;
    padding: 20px;
}
.header-text h1 {
    padding-top: 40px;
    color: #0785f2;
    text-align: center;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 20px;
}
.header-text p {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    color: #ffffff;
    margin-bottom: 15px;
    line-height: 1.5;
}
/* Sección de Características */
.features {
    display: grid;
    grid-template-rows: repeat(4, auto);
    gap: 35px;
    padding: 40px;
}
.feature {
    max-width: 400px;
    background-color: rgba(255, 255, 255, 0.3);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0px 2px 7px #b8effd;
    transition: all 0.3s ease;
    margin: 0 auto;
}
.feature h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: rgb(0, 8, 91);
}
.feature p {
    font-size: 1rem;
    font-weight: bold;
    color: #000000;
}
.enlace-cobertura{
    text-decoration: none;
    color: #000000;
    font-weight: bold;
    /*background-color: rgba(255, 255, 255, 0.3);*/
    padding: 8px 15px;
    display: inline-flex; 
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(0, 8, 91, 0.3);
    transition: all 0.3s ease;
}
.enlace-cobertura:hover{
    color: #00214a;
    background-color: rgba(0, 8, 91, 0.1);
    border-color: rgba(0, 8, 91, 0.7);
}
.enlace-cobertura i.fa-solid {
    font-size: 0.8em;
}
@keyframes flotar {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}
.btn-1 {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    background-color: #5900ff;
    color: #f7f7f7;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    margin-top: 20px;
    animation: flotar 2s ease-in-out infinite;
    transition: background-color, 0.3s ease;
}
.btn-1:hover {
    background-color: #00a6f9;
    color: rgb(78, 0, 141);
    border: 2px solid #000;
    cursor: pointer;
}
.conversacion-whatsapp {
    position: fixed;
    bottom: 20px;
    top: 80px; 
    right: 20px;
    z-index: 1000;
}
.icono-whatsapp {
    background-color: #25d366;
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 2px 2px 10px white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    gap: 10px;
    text-decoration: none;
}
.icono-whatsapp:hover {
    background-color: #128c7e; 
}
.icono-whatsapp .texto-whatsapp {
    color: #000000; 
    font-family: Arial, sans-serif; 
    font-size: 16px; 
}
@media (max-width: 768px) {
    .header-text {
        padding: 10px;
    }
    .header-text h1 {
        font-size: 2rem;
    }
    .header-text p {
        font-size: 1rem;
    }
    .features {
        grid-template-columns: 1fr;
        padding: 10px;
    }
    .feature {
        max-width: 100%;
    }
    .btn-1 {
        padding: 10px 20px;
        font-size: 1rem;
        animation: flotar 2s ease-in-out infinite;
    }
    .conversacion-whatsapp {
        right: 20px;
        bottom: 20px;
    }
    .icono-whatsapp {
        padding: 10px;
        width: 50px;
        height: 50px;
        border-radius: 50%;
    }
    .icono-whatsapp .texto-whatsapp {
        display: none;
    }
}
@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.8rem;
    }
    .header-text p {
        font-size: 0.9rem;
    }
    .btn-1 {
        font-size: 0.9rem;
    }
}
/* Sección de cobertura - Versión mejorada */
.cobertura-seccion {
    
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 50px;
    background-image: url("img/fondo.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}
.titulo {
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: bold;
    padding-top: 60px;
    margin-bottom: 30px;
    text-align: center;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    background-color: rgba(0,0,0,0.5);
    padding: 50px 30px;
    border-radius: 10px;
}
.contenido {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 3 columnas iguales */
    gap: 20px;
    width: 100%;
    max-width: 1200px;
}
.columna-izquierda, 
.columna-derecha {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    background-color: rgba(255,255,255,0.85);
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.columna-centro {
    display: flex;
    flex-direction: column; /* Cambia la dirección a columna */
    justify-content: center;
    align-items: center;
    height: 100%; /* Ocupa toda la altura disponible */
    position: relative; /* Necesario para el posicionamiento absoluto del texto */
}

.columna-centro img {
    width: 100%;
    max-height: calc(100% - 30px); /* Resta espacio para el texto */
    object-fit: contain;
    margin: 0 auto; /* Centrado horizontal */
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.columna-centro img:hover {
    transform: scale(1.03);
}

.columna-centro p {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    color: rgb(255, 255, 255);
    padding: 10px 20px;
    font-style: italic;
    font-weight: bold;    
    text-align: center;
    border-top:1px solid #fff;
    padding-top: 2px;
    margin: 0;
    white-space: nowrap;
}

.columna-izquierda h2,
.columna-derecha h2 {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: #333;
    margin-bottom: 15px;
    text-align: center;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 10px;
}
.columna-izquierda ul,
.columna-derecha ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.columna-izquierda li,
.columna-derecha li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.columna-izquierda i,
.columna-derecha i {
    font-size: 1.2rem;
    color: #ff0000;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.columna-izquierda a,
.columna-derecha a {
    text-decoration: none;
    color: #333;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: bold;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
    display: block;
    width: 100%;
}
.columna-izquierda a:hover,
.columna-derecha a:hover {
    background-color: #000;
    color: #fff;
    transform: translateX(5px);
}
.columna-izquierda li:hover i,
.columna-derecha li:hover i {
    animation: girar-y 0.5s linear;
}
@keyframes girar-y {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
@media (max-width: 992px) {
    .contenido {
        grid-template-columns: 1fr 1fr;
    }
    .columna-centro {
        display: none;
    }

}
@media (max-width: 768px) {
    .contenido {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .columna-izquierda,
    .columna-derecha {
        width: 100%;
    }

}
@media (min-width: 768px) {
    .cobertura-seccion {
        padding: 40px;
    }
    .contenido {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .columna-centro {
        grid-column: span 2;
        order: 0;
    }

}
@media (min-width: 992px) {
    .contenido {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .columna-centro {
        grid-column: auto;
        order: 0;
    }
    .columna-izquierda,
    .columna-derecha {
        padding: 30px;
    }
}
/* Sección de servicios*/
.servicios-seccion {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, blue, purple);
    font-family: Arial, Helvetica, sans-serif;
    overflow: hidden;
    padding-top: 80px;
}

.titulo {
    padding: 0px 10px;
    color: white;
    margin-top: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: linear-gradient(-75deg, #00fff2, #ffc400, #f700ff);
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
    font-size: 1.8rem;
    width: fit-content;
}
.slider-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1200px;
    padding: 0 20px;
}
.columna-izq, .columna-der {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 45%;
    perspective: 1000px;
}
.servicio-wireless, .servicio-fibra {
    color: white;
    padding: 2px 10px;
    margin-bottom: 20px;
    border-radius: 10px;
    background: linear-gradient(-45deg, #1a2a6c, #61b21f, #2dfd7d);
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
}
.slider {
    padding: 30px;
    position: relative;
    width: 200px;
    height: 300px;
    transform-style: preserve-3d;
    animation: rotate 20s infinite linear;
}
.columna-der .slider {
    animation: rotate-inverso 20s infinite linear;
}
.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transform-style: preserve-3d;
}
.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.slide img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}
.slide:nth-child(1) { transform: rotateY(0deg) translateZ(250px); }
.slide:nth-child(2) { transform: rotateY(60deg) translateZ(250px); }
.slide:nth-child(3) { transform: rotateY(120deg) translateZ(250px); }
.slide:nth-child(4) { transform: rotateY(180deg) translateZ(250px); }
.slide:nth-child(5) { transform: rotateY(240deg) translateZ(250px); }
.slide:nth-child(6) { transform: rotateY(300deg) translateZ(250px); }
@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
@keyframes rotate {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}
@keyframes rotate-inverso {
    0% { transform: rotateY(360deg); }
    100% { transform: rotateY(0deg); }
}
.slider-container:hover .slider {
    animation-play-state: paused;
}
@media (max-width: 992px) {
    .slider {
        width: 180px;
        height: 270px;
    }
    .slide:nth-child(1) { transform: rotateY(0deg) translateZ(220px); }
    .slide:nth-child(2) { transform: rotateY(60deg) translateZ(220px); }
    .slide:nth-child(3) { transform: rotateY(120deg) translateZ(220px); }
    .slide:nth-child(4) { transform: rotateY(180deg) translateZ(220px); }
    .slide:nth-child(5) { transform: rotateY(240deg) translateZ(220px); }
    .slide:nth-child(6) { transform: rotateY(300deg) translateZ(220px); }
}
@media (max-width: 768px) {
    .slider-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }
    .columna-izq, .columna-der {
        width: 100%;
        max-width: 400px;
    }
    .slider {
        width: 160px;
        height: 240px;
    }
    .slide:nth-child(1) { transform: rotateY(0deg) translateZ(200px); }
    .slide:nth-child(2) { transform: rotateY(60deg) translateZ(200px); }
    .slide:nth-child(3) { transform: rotateY(120deg) translateZ(200px); }
    .slide:nth-child(4) { transform: rotateY(180deg) translateZ(200px); }
    .slide:nth-child(5) { transform: rotateY(240deg) translateZ(200px); }
    .slide:nth-child(6) { transform: rotateY(300deg) translateZ(200px); }
}
@media (max-width: 480px) {
    .titulo {
        font-size: 1.5rem;
    }
    .slider {
        width: 140px;
        height: 210px;
        padding: 20px;
    }
    .slide:nth-child(1) { transform: rotateY(0deg) translateZ(170px); }
    .slide:nth-child(2) { transform: rotateY(60deg) translateZ(170px); }
    .slide:nth-child(3) { transform: rotateY(120deg) translateZ(170px); }
    .slide:nth-child(4) { transform: rotateY(180deg) translateZ(170px); }
    .slide:nth-child(5) { transform: rotateY(240deg) translateZ(170px); }
    .slide:nth-child(6) { transform: rotateY(300deg) translateZ(170px); }
    .servicio-wireless, .servicio-fibra {
        font-size: 1.1rem;
    }
}
/*seccion paquetes*/
.paquetes-seccion{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 10px;
    background: url('img/FondoPaquetes.jpg') no-repeat center center/cover;
}
.titulo-container {
    gap: 30px;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #00ffc8;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}
.paquetes-seccion.boton-tarifas {
position: absolute;
top: 20px;
right: 20px;
gap: 8px;
z-index: 1;
}
.boton-tarifas{
    padding: 10px 20px;
background: linear-gradient(45deg, #0b4944, #61263b);
color: white;
border-radius: 15px;
text-decoration: none;
font-weight: 600;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
transition: all 0.3s ease;
display: flex;
align-items: center;
}
.boton-tarifas:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(45deg, #e52e71, #ff8a00);
}
.boton-tarifas i {
    font-size: 0.9em;
}
@media (max-width: 768px) {
    .titulo-container {
        flex-direction: column;
        gap: 20px;
        padding-top: 20px;
    }
    .paquetes-seccion.boton-tarifas {
        position: static;
        margin-top: 10px;
        order: 1;
    }
    
    .titulo-container .titulo {
        order: 0;
    }
}
.titulo-paquetes {
    gap: 30px;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    color: #00ffc8;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    margin-bottom: 40px;
}
.wireless-title {
    margin-top: 70px;
    margin-bottom: 40px;
}
.tabla-precios {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    width: 100%; 
}
.tarjeta-precio {
    background: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
    padding: 50px;
    border-radius: 15px;
    box-shadow: 15px 35px rgba(0, 0, 0, 0.5), -15px -35px 35px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
    position: relative;
    overflow: hidden;
    border: 1px solid white;
}
.tarjeta-precio:hover {
    transform: translateY(-10px);
    box-shadow: 10px 15px 35px rgba(0, 0, 0, 0.6);
}
.tarjeta-precio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(45deg, #6a11cb, #2775fc);
}
.encabezado-precio {
    text-align: center;
    margin-bottom: 30px;
}
.nombre-plan {
    font-size: 35px;
    color: #ddd;
    margin-bottom: 10px;
    font-weight: 600;
}
.folio-ift {
    display: inline-block; 
    font-size: 14px;
    /*color: #b7b6b6;*/
    color: #90cafd;
    margin: 10px 0;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    padding: 5px 10px; 
    border-radius: 5px;
   /* border: 1px solid #000000;*/
    border: 1px solid #2c87ff;
    text-decoration: none; 
    transition: all 0.3s ease;
}
.folio-ift:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #707070;
    font-weight: bold;
    transform: translateY(-2px);
}
.detalles-folio{
    display: inline-block;
    font-size: 12px;
    color: #b7b6b6;
    /*color: #00eeff;*/
    margin: 5px 10px;
    font-weight: 500;
    text-align: center;
    background: rgba(0, 0, 0, 0.4); 
    padding: 5px 5px; 
    border-radius: 5px;
    text-decoration: none; 
    /*border: 1px solid #2c87ff;*/
    border: 1px solid #000000;
    transition: all 0.3s ease;
}
.detalles-folio:hover {
    background: rgba(53, 0, 199, 0.2);
    color: #ffffff;
    font-weight: bold;
    border: 1px solid #fff;
    transform: translateY(-2px); 
}
.precio {
    font-size: 48px;
    font-weight: 700;
    color: #2575fc;
    margin-bottom: 15px;
}
.precio span {
    font-size: 24px;
    color: #ccc;
}
.caracteristicas {
    list-style: none;
    margin-bottom: 40px;
    
}
.caracteristicas li {
    padding: 12px 0;
    color: #ccc;
    border-bottom: 1px solid #666;
    text-align: center;
}
.caracteristicas li:last-child {
    border-bottom: none;
}
.boton-accion {
    display: block;
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #6a11cb, #2575fc);
    color: white;
    border: 1px solid white;
    text-align: center;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease;
}
.boton-accion:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #2775fc, #6a11cb);
}
@media (max-width: 768px) {
    .tabla-precios {
        grid-template-columns: 1fr;
    }
}
/*seccion contacto*/
.contacto-seccion {
    font-family: Arial, sans-serif;
    background-color: #152653;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: 90px;
    min-height: 100vh;
    margin: 0;
    position: relative;
}
.contacto-titulo {
    padding: 0px 5px;
    color: rgb(255, 255, 255);
    margin: 20px 0;
    border-radius: 10px;
    background: linear-gradient(-85deg, #00fff2, #ff0055, #09ff00);
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
    font-size: 2rem;
    text-align: center;
    width: fit-content;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
.contenedor {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100vh;
    width: 90%;
    margin: auto;
}
.texto-info {
    width: 50%;
    color: white;
    padding: 10px;

}
.texto-info p{
    font-size: 18px;
}
.texto-info ul{
margin-left: 50px;
}
.contenido-tabla {
    position: relative;
    padding: 20px;
    border-radius: 20px;
    width: 35%;
    color: white;
    background-color: #355bc2;
    z-index: 1;
    overflow: hidden;
}
.contenido-tabla::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border-radius: 28px;
    background: linear-gradient(270deg, #ff0080, #ff8c00, #ffd700, #00ff00, #00ffff, #0000ff, #800080, #ff0080);
    background-size: 400%;
    animation: gradientGlow 12s linear infinite;
    z-index: 0;
    /* Glow */
    filter: brightness(2) saturate(2) blur(2px);
    box-shadow: 0 0 15px rgba(255, 0, 255, 0.5),
                0 0 30px rgba(0, 255, 255, 0.3),
                0 0 45px rgba(0, 128, 255, 0.2);
}

.contenido-tabla::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    border-radius: 20px;
    background: #355bc2;
    z-index: 1;
}
.contenido-tabla * {
    position: relative;
    z-index: 2;
}
@keyframes gradientGlow {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.contenido-tabla h2 {
    text-align: center;
}
.form-group {
    margin-bottom: 10px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
}
.form-group input, .form-group select {
    width: 90%;
    padding: 5px;
    border-radius: 5px;
    border: none;
}
.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}
.checkbox-group input {
    margin-right: 10px;
}
.btn {
    width: 90%;
    padding: 10px;
    background: #0d2853;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 5px;
}
.btn:hover {
    background: #2563eb;
}
.links {
    text-align: center;
    margin-top: 10px;
}
.links a {
    color: rgb(0, 2, 90);
    /*text-decoration: none;*/
}

/* Versión móvil */
@media (max-width: 768px) {
    .contenedor {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .texto-info, 
    .contenido-tabla {
        width: 100%;
    }
    
    /* Acordeón para móviles */
    .texto-info h1 {
        background-color: rgba(0, 0, 0, 0.2);
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .texto-info h1::after {
        content: '+';
        font-size: 1.5rem;
    }
    
    .texto-info h1.active::after {
        content: '-';
    }
    
    .texto-info p, 
    .texto-info ul {
        display: none;
        padding: 10px;
        margin-left: 20px;
        background-color: rgba(0, 0, 0, 0.1);
        border-radius: 5px;
    }
    
    .texto-info h1.active + p,
    .texto-info h1.active + ul {
        display: block;
    }
    
    /* Ajustes del formulario */
    .contenido-tabla {
        padding: 15px;
    }
    
    .form-group input, 
    .form-group select,
    .btn {
        width: 100%;
    }
}

/* Pequeños ajustes para móviles muy pequeños */
@media (max-width: 480px) {
    .texto-info p {
        font-size: 16px;
    }
    
    .contenido-tabla {
        padding: 10px;
    }
    
    .btn {
        padding: 8px;
        font-size: 14px;
    }
}
/*seccion-pagos*/
.pagos-section {
    background: url('img/fond.jpg') no-repeat center center/cover;
    background-attachment: fixed;
    padding: 100px 20px 40px;
    display: flex;
    flex-direction: column;
    align-items: center; 
    min-height: 100vh; 
}

.pagos-titulo {
    padding: 0px 10px; 
    color: white;
    margin-top: 30px; 
    margin-bottom: 40px; 
    border-radius: 10px;
    background: linear-gradient(-45deg, #1a6c68, #b2b01f, #34fd2d);
    background-size: 400% 400%;
    animation: gradientBG 5s ease infinite;
    text-align: center;
    font-size: 1.8rem; 
    max-width: 90%; 
    width: fit-content; 
}
  
  .pagos-contenedor {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .pago-cuadro {
    background: linear-gradient(135deg, #b3c7f9, #d6bcfa); 
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    padding: 25px;
    width: 400px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .pago-cuadro:hover {
    transform: translateY(-7px);
    box-shadow: 0 10px 20px rgba(91, 33, 182, 0.3); 
  }
  .pago-cuadro i {
    font-size: 40px;
    color: #1e1e1e;
    display: block;       
    text-align: center;  
    margin-bottom: 10px; 
  }
  .pago-cuadro ul{
    color: #000000;
  }
  
  
  .pago-cuadro h3 {
    font-size: 1.5rem;
    color: #3a0ca3; 
    margin-bottom: 15px;
  }
  
  .pago-cuadro p {
    color: #1d3557; 
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.4;
  }
/* Pie de página - Estilos mejorados */
.footer {
    background-color: #4b4b4b;

    padding: 40px 0 20px;
    font-family: Arial, sans-serif;
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.link {
    margin-bottom: 20px;
}

.link h3 {
    color: #00ffc8;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.link h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: #00c3ff;
}

.link ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.link li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.link i {
    color: #0080ff;
    margin-right: 10px;
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.link a {
    color: #ffffff;
    text-decoration: none;
    font-size: 0.95rem;
    font-style: oblique;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    padding: 5px 0;
}

.link a:hover {
    color: #00ffc8;
    transform: translateX(5px);
}

.link a:hover i {
    transform: scale(1.2);
}

.link-img {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.link-img img {
    width: 150px;
    max-width: 100%;
    margin-bottom: 20px;
    filter:none;
}

.socials-1 {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.socials-1 a {
    transition: transform 0.3s ease;
}

.socials-1 img {
    width: 35px;
    height: 35px;
    transition: all 0.3s ease;
}

.socials-1 img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.footer-container::before {
    content: "";
    display: block;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 30px 0;
}

.footer-copy {
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 20px;
    }
    
    .link h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .link li {
        justify-content: center;
    }
    
    .socials-1 {
        margin-top: 20px;
    }
}

/* Efecto hover para dispositivos con mouse */
@media (hover: hover) {
    .link a:hover {
        color: #0062ff;
        transform: translateX(5px);
    }
    
    .link a:hover i {
        transform: scale(1.2);
    }
    
    .socials-1 img:hover {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
}