
html {
    
	   
			scroll-behavior: smooth;
}
body {

 
    background-color: var(--gris);
    color: #333;
	padding-top: 90px; /* más espacio debajo del header */
	   
}

    html, body {
            margin: 10;
            padding: 0;
       
            
            
        }


#inicio {
    scroll-margin-top: 120px; /* altura del header */
}


:root {
    --amarillo: #FFD600;
    --blanco: #ffffff;
    --celeste: #00B8D9;
    --azul: #0D47A1;
    --verde: #2E7D32;
    --gris: #f4f6f8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}


/* ===== HEADER ===== */
header {
    background: linear-gradient(90deg, var(--azul), var(--celeste));
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.header-contenedor {
    max-width: 1200px;
    margin: auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    color: var(--blanco);
    font-size: 22px;
    font-weight: bold;
}

.logo img {
    width: 60px;
    height: 50px;
    margin-right: 12px;
	
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--amarillo);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: var(--blanco);
    padding: 80px 40px;
    text-align: center;
    transition: background-image 1s ease-in-out;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero h1,
.hero p {
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.hero .btn {
    margin-top: 30px;
}

/* ===== BOTÓN ===== */
.btn {
    background-color: var(--amarillo);
    color: #000;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
    display: inline-block;
}

.btn:hover {
    background-color: #ffea00;
    transform: scale(1.05);
}

/* ===== SECCIONES ===== */
section {
    padding: 90px 40px;
    background-color: var(--blanco);
    margin: 30px auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

section h2 {
    text-align: center;
    color: var(--azul);
    margin-bottom: 40px;
    font-size: 32px;
}

.leyenda-planes {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: var(--celeste);
    margin-bottom: 35px;
}

/* ===== SERVICIOS ===== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background-color: var(--gris);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
}

.card h3 {
    color: var(--verde);
    margin-bottom: 15px;
}

/* ===== PLANES ===== */
.planes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.plan {
    border: 2px solid var(--celeste);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    background-color: var(--blanco);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    cursor: pointer;
}

.plan:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 15px 30px rgba(0,0,0,0.18);
    border-color: var(--amarillo);
}

.plan h3 {
    color: var(--azul);
    margin-bottom: 10px;
}



 
 




.plan:hover .precio {
    color: var(--azul);
}








/* boton subir */

/* ===== BOTÓN SUBIR ===== */
#btnTop {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, var(--amarillo));
    color: #000;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    display: none;
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

#btnTop:hover {
    transform: scale(1.1);
}





.caracteristicas {
    list-style: disc;      /* viñetas */
    padding-left: 20px;
    margin-top: 15px;
    text-align: left;
}

.caracteristicas li {
    font-size: 15px;
    color: #333;
    margin-bottom: 6px;
}




/* ===== FOOTER ===== */





footer {
    background: linear-gradient(90deg, var(--azul), var(--celeste));
    color: var(--blanco);
    padding: 60px 40px 25px;
}

.footer-contenedor {
    max-width: 1200px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 35px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 20px;
    color: var(--amarillo);
}

.footer-col p {
    font-size: 15px;
    line-height: 1.6;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.footer-col a {
    color: var(--blanco);
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--amarillo);
}

.redes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.copy {
    text-align: center;
    margin-top: 40px;
    font-size: 14px;
    opacity: 0.8;
}

.contacto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
    text-align: left;
}

.contacto-grid p {
    text-align: justify;
}


footer h3 {
    color: var(--amarillo);
    margin-bottom: 12px;
}

footer p {
    margin-bottom: 8px;
    font-size: 15px;
	
}

.copy {
    text-align: center;
    margin-top: 30px;
    font-size: 14px;
    opacity: 0.8;
}

/* ===== FIX FOOTER ALINEACIÓN IZQUIERDA ===== */

.footer-contenedor {
    text-align: left;
}

.footer-col {
    text-align: left;
}

.footer-col h3 {
    text-align: left;
}

.footer-col ul {
    padding-left: 0;
}

.footer-col ul li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    text-align: left;
}

/* Oficinas */
.footer-col p {
    text-align: left;
}

/* Redes */
.redes a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-align: left;
}

/* Mantener copy centrado */
.copy {
    text-align: center;
}






/* ===== MENÚ DESPLEGABLE ===== */
.menu {
    list-style: none;
    display: flex;
    gap: 25px;
    align-items: center;
}

.dropdown {
    position: relative;
}

.dropdown > a {
    cursor: pointer;
}

/* Submenú */
.dropdown-menu {
    position: absolute;
    top: 120%;
    left: 0;
    background: linear-gradient(180deg, var(--azul), var(--celeste));
    border-radius: 10px;
    padding: 10px 0;
    min-width: 180px;
    display: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    z-index: 2000;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 12px 18px;
    color: var(--blanco);
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.dropdown-menu li a:hover {
    background: rgba(255,255,255,0.15);
}

/* Mostrar submenú */
.dropdown:hover .dropdown-menu {
    display: block;
}









.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #0D47A1;
    color: #fff;
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: bold;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    z-index: 2000;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast.error {
    background: #c62828;
}









.pagos-container {
    max-width: 1000px;
    margin: 40px auto 50px; /* Cambia el primer número (40px) para subirlo más */
    padding: 20px;
    text-align: center;
}
.grid-pagos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.pago-card {
    background: #f9f9f9;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    border-top: 5px solid #00aaff;
}

.pago-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.pago-card i {
    font-size: 40px;
    color: #00aaff;
    margin-bottom: 15px;
}

.detalles-pago {
    list-style: none;
    padding: 0;
    text-align: left;
    background: #eee;
    padding: 10px;
    border-radius: 8px;
    font-size: 14px;
}

.iconos-tarjetas {
    font-size: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
    color: #444;
}

.aviso-pago {
    margin-top: 40px;
    background: #e1f5fe;
    padding: 20px;
    border-radius: 10px;
    color: #0277bd;
    border: 1px inset #b3e5fc;
}


.detalles-pago-info {
    text-align: left; /* Alineación a la izquierda para mejor lectura */
    font-size: 0.95rem;
    margin-top: 15px;
    color: #444;
}

.detalles-pago-info p {
    margin-bottom: 15px;
    line-height: 1.4;
}

.detalles-pago-info i {
    color: #00aaff; /* Color representativo de Wexiz */
    font-size: 1rem !important; /* Ajusta el tamaño del icono pequeño */
    margin-bottom: 0 !important;
}

.referencia {
    color: #0077cc;
    font-weight: bold;
    font-size: 0.85rem;
}










/* pagina de pagos*/




:root{
--amarillo:#FFD600;
--celeste:#00B8D9;
--azul:#0D47A1;
--gris:#f4f6f8;
--ok:#2ecc71;
--error:#e74c3c;
}

*{box-sizing:border-box;font-family:Arial;margin:0;padding:0}

body{background:var(--gris);padding:100px 20px}

/* HEADER */
header{
position:fixed;top:0;left:0;width:100%;
background:linear-gradient(90deg,var(--azul),var(--celeste));
color:#fff;padding:15px 40px;z-index:1000
}

/* CONTENIDO */
.contenedor{
max-width:1100px;margin:auto;background:#fff;
padding:40px;border-radius:12px
}

.grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
gap:30px
}

.box h3{color:var(--azul);margin-bottom:10px}
.box p{font-size:15px;line-height:1.6}

/* BOTÓN */
#btnAyuda{
position:fixed;right:25px;bottom:30px;
background:var(--amarillo);padding:15px 25px;
border-radius:30px;border:none;font-weight:bold;
cursor:pointer
}

/* PANEL */
#panelAyuda{
position:fixed;top:0;right:-380px;width:360px;height:100vh;
background:#fff;box-shadow:-5px 0 20px rgba(0,0,0,.3);
transition:.4s;z-index:1001
}
#panelAyuda.activo{right:0}

.panel-header{
background:linear-gradient(90deg,var(--azul),var(--celeste));
color:#fff;padding:18px;display:flex;
justify-content:space-between
}

/* FORM */
.form-ayuda{
padding:20px;display:flex;flex-direction:column;gap:12px
}
.form-ayuda input,
.form-ayuda textarea{
padding:10px;border-radius:6px;border:1px solid #ccc
}
.form-ayuda button{
background:var(--amarillo);
border:none;padding:12px;border-radius:25px;
font-weight:bold;cursor:pointer;position:relative
}

/* TOAST */
.toast{
position:fixed;top:25px;right:25px;
padding:15px 22px;color:#fff;
border-radius:8px;font-weight:bold;
opacity:0;transform:translateY(-20px);
transition:.4s;z-index:2000
}
.toast.ok{background:var(--ok)}
.toast.error{background:var(--error)}
.toast.mostrar{opacity:1;transform:translateY(0)}

/* BOTÓN CARGANDO */
button.cargando{
background:#ccc !important;
cursor:not-allowed;
color:transparent;
}
button.cargando::after{
content:"";
width:20px;height:20px;
border:3px solid #999;
border-top:3px solid #333;
border-radius:50%;
position:absolute;
top:50%;left:50%;
margin:-10px 0 0 -10px;
animation:spin 1s linear infinite
}
@keyframes spin{
to{transform:rotate(360deg)}
}


.aviso-pago {
    margin-top: 40px;
    background: #e1f5fe;
    padding: 20px;
    border-radius: 10px;
    color: #0277bd;
    border: 1px inset #b3e5fc;
}














/* --- ESTILO DEL ACORDEÓN --- */
.acordeon {
    width: 100%;
}

.acordeon-btn {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 0.3s;
}

.acordeon-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.acordeon-contenido {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.acordeon-contenido.abierto {
    max-height: 500px; /* Suficiente para mostrar la lista */
    padding: 10px 0;
}

.lista-descargas {
    list-style: none;
    padding: 0 10px;
}

.lista-descargas li {
    padding: 8px 0;
}

.lista-descargas a {
    color: #fff !important;
    font-size: 13px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-descargas a:hover {
    color: var(--amarillo) !important;
}













/* --- ESTILOS DEL VISOR MODAL --- */
.visor-modal {
    display: none; /* Oculto por defecto */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
}

.visor-contenido {
    position: relative;
    margin: 2% auto;
    width: 80%;
    max-width: 900px;
    height: 85vh;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    animation: slideIn 0.3s ease-out;
}






@keyframes slideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.visor-header {
    padding: 15px 20px;
    background: var(--azul);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cerrar-visor {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.cerrar-visor:hover { color: var(--amarillo); }

.visor-body {
    height: calc(100% - 60px);
}

#frameDocumento {
    width: 100%;
    height: 100%;
}

/* Ajuste para móviles */
@media (max-width: 768px) {
    .visor-contenido { width: 95%; height: 90vh; margin: 5% auto; }
}




/* MEDIDOR DE VELOCIDAD WEXIZ */

.btn-velocidad-container {
    text-align: center;
    margin-top: 25px;
}

.btn-velocidad {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #0D47A1, #00B8D9);
    color: #fff;
    padding: 12px 22px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 6px 15px rgba(0,0,0,0.25);
    transition: all 0.3s ease;
}

.btn-velocidad i {
    font-size: 18px;
}

.btn-velocidad:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.35);
    background: linear-gradient(135deg, #08306B, #0097A7);
}







/* ✨ ANIMACIÓN PARA LAS TARJETAS DE SERVICIOS */

#servicios {
    padding: 70px 20px;
    background: #f7f9fc;
    text-align: center;
}

#servicios h2 {
    font-size: 32px;
    margin-bottom: 40px;
    color: #0D47A1;
}

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1100px;
    margin: auto;
	
}

.card {
    background: #ffffff;
    padding: 35px 25px;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    transition: transform .35s ease, box-shadow .35s ease;
    cursor: default;
}

.card i {
    font-size: 40px;
    color: #00B8D9;
    margin-bottom: 18px;
    transition: transform .35s ease;
}

.card h3 {
    margin-bottom: 12px;
    
    font-size: 20px;
}

.card p {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* ✨ ANIMACIÓN AL PASAR EL PUNTERO */
.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.18);
}

.card:hover i {
    transform: scale(1.15) rotate(-3deg);
}




