/* =========================================
   ESTILOS GLOBALES Y CONFIGURACIÓN (FUTURISTA)
   ========================================= */
:root {
    /* Mantenemos tu paleta corporativa pero optimizada para una base oscura de alta tecnología */
    --bg-principal: #090f1d;        /* Fondo oscuro profundo unificado */
    --bg-tarjetas: rgba(15, 23, 42, 0.5); /* Cristal translúcido premium */
    --texto-principal: #f8fafc;     /* Texto claro de alta legibilidad */
    --texto-mutado: #94a3b8;        /* Gris suavizado actual */
    --azul-SERMANTECH: #0f4c81;
    --azul-hover: #0b3a63;
    --azul-electrico: #38bdf8;      /* Un tono Cyan neón más futurista para detalles */
    --rojo-urgencia: #ff4757;
    --borde-suave: rgba(56, 189, 248, 0.12); /* Bordes que reaccionan a la luz */
}
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, sans-serif;
}

body {
    background-color: var(--bg-principal);
    color: var(--texto-principal);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    width: 100%;
    
    /* El gran truco: Luces de ambiente integradas en el fondo para disolver los contenedores */
    background-image: 
        radial-gradient(circle at 15% 15%, rgba(15, 76, 129, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 85% 50%, rgba(56, 189, 248, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 30% 85%, rgba(15, 23, 42, 0.6) 0%, transparent 50%);
    background-attachment: fixed;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* =========================================
   BARRA DE NAVEGACIÓN (INTEGRADA AL FLUJO)
   ========================================= */
header {
    /* Cambiado a un cristal oscuro que se fusiona con el fondo */
    background-color: rgba(9, 15, 29, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--borde-suave);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 130px;
}

.logo-img {
    max-height: 100px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.2)); /* Brillo sutil al logo */
}

nav a {
    text-decoration: none;
    color: var(--texto-mutado);
    margin-left: 30px;
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 30px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
}

nav a:hover {
    color: var(--azul-electrico);
    background-color: rgba(56, 189, 248, 0.05);
    border-color: rgba(56, 189, 248, 0.15);
}

/* =========================================
   SECCIÓN HERO (ESTABLE Y DISOLVIÉNDOSE RECTITUD)
   ========================================= */
.hero {
    position: relative;
    padding: 140px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    /* Degradado inferior progresivo (fade out) para que no se note dónde termina el Hero */
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.7) 0%, var(--bg-principal) 100%), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1200') no-repeat center center/cover;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
    /* Efecto de degradado de texto moderno */
    background: linear-gradient(135deg, #ffffff 40%, #93c5fd 100%);
    -webkit-background-clip: text;
    background-clip: text; /* <- Añadimos la propiedad estándar */
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 18px;
    color: var(--texto-mutado);
    max-width: 650px;
    margin: 0 auto 35px auto;
    line-height: 1.6;
}

.btn-primary {
    background: linear-gradient(135deg, var(--azul-SERMANTECH) 0%, #1d4ed8 100%);
    color: #ffffff;
    padding: 14px 32px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 30px;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(15, 76, 129, 0.3);
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(56, 189, 248, 0.3);
    border-color: var(--azul-electrico);
}

/* =========================================
   ESTRUCTURA DE CONTENIDO Y GRIDS
   ========================================= */
.section-title {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    margin: 80px 0 50px 0;
    color: #ffffff;
    position: relative;
}

/* Indicador lineal sutil de estilo digital debajo del título */
.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: var(--azul-electrico);
    margin: 12px auto 0 auto;
    border-radius: 2px;
    box-shadow: 0 0 8px var(--azul-electrico);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 35px;
    margin-bottom: 70px;
    width: 100%;
}

/* =========================================
   TARJETAS FLUIDAS Y ASIMÉTRICAS (MEJORADAS CON GLASSMORPHISM)
   ========================================= */
.product-card {
    background-color: var(--bg-tarjetas) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--borde-suave) !important;
    border-radius: 24px 75px 24px 60px !important;
    padding: 35px 30px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important; /* Regresa a su estado original */
    align-items: stretch !important;
    min-height: 480px !important; /* Recupera su altura original para servicios */
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-8px);
    border-radius: 65px 24px 60px 24px !important;
    border-color: rgba(56, 189, 248, 0.4) !important;
    background-color: rgba(15, 23, 42, 0.8) !important;
    box-shadow: 0 25px 50px -10px rgba(56, 189, 248, 0.15);
}
/* Imágenes internas adaptadas al flujo curvo */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 16px 55px 16px 40px;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.product-card:hover img {
    opacity: 1;
}

.product-card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
}

.product-card p {
    font-size: 15px;
    color: var(--texto-mutado);
    line-height: 1.6;
    margin-bottom: auto !important; 
    padding-bottom: 20px;
}

.product-card .price {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--azul-electrico);
    margin-bottom: 15px;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.3);
}

/* BOTONES DE LAS TARJETAS (ESTABLES PERO TECH) */
.btn-link-servicio {
    display: block !important;
    text-align: center !important;
    background-color: rgba(56, 189, 248, 0.03);
    color: #ffffff;
    border: 2px solid var(--azul-SERMANTECH) !important;
    
    padding: 13px 20px !important;
    min-height: 48px !important;
    
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    width: 100%;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-link-servicio:hover {
    background-color: var(--azul-SERMANTECH);
    border-color: var(--azul-SERMANTECH) !important;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(15, 76, 129, 0.5);
    transform: scale(1.01);
}

/* =========================================
   SECCIÓN DE PLANES (FLUJO CONTINUO SIN CORTE PLANO)
   ========================================= */
.seccion-planes-tech {
    padding: 30px 0;
    background-color: transparent; /* Quitamos el #f8fafc plano. Ahora fluye sobre las luces del body */
}

/* =========================================
   CONTACTO DE URGENCIA
   ========================================= */
.seccion-urgencias {
    padding: 80px 0;
    background-color: transparent; /* Quitamos el blanco rígido para unificar la app */
}

.botones-urgencia-container {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.btn-urgencia {
    flex: 1;
    min-width: 250px;
    max-width: 280px;
    padding: 16px 24px;
    min-height: 54px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-llamar {
    background: linear-gradient(135deg, var(--rojo-urgencia) 0%, #d92d3e 100%);
    color: #ffffff;
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.3);
    border: 1px solid rgba(255, 71, 87, 0.2);
}

.btn-llamar:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 71, 87, 0.5);
}

.btn-whatsapp-urgencia {
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-whatsapp-urgencia:hover {
    background-color: #25d366;
    color: #090f1d;
    border-color: #25d366;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(37, 211, 102, 0.4);
}

/* =========================================
   FOOTER CORPORATIVO (FADE DE SALIDA)
   ========================================= */
.footer-corporativo {
    /* Degradado sutil para sumergirse por completo en la oscuridad al final */
    background: linear-gradient(180deg, transparent 0%, #050810 50%);
    color: #ffffff;
    padding: 80px 0 30px 0;
    border-top: 1px solid rgba(56, 189, 248, 0.08);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--azul-electrico); /* Color destacado tech */
    margin-bottom: 20px;
}

.footer-col p {
    font-size: 14px;
    color: var(--texto-mutado);
    line-height: 1.6;
    margin-bottom: 12px;
}

.footer-base {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 25px;
    font-size: 13px;
    color: #475569;
}

/* =========================================
   BOTÓN FLOTANTE WHATSAPP (RETROILUMINADO)
   ========================================= */
.whatsapp-flotante {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    /* Sombra con efecto glow neón verde */
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.45);
    z-index: 999;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-flotante:hover {
    transform: scale(1.1) translateY(-4px);
    background-color: #25d366;
    box-shadow: 0 0 35px rgba(37, 211, 102, 0.65);
}
/* =========================================
   OPTIMIZACIÓN DE TARJETAS DE PLANES (COMPACTAS)
   ========================================= */
.product-card.card-plan {
    /* Aquí forzamos que solo los planes se encojan sin tocar a los servicios */
    min-height: auto !important; 
    height: max-content !important; 
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important; /* Solo los planes alinean hacia arriba */
    padding: 35px 30px 30px 30px !important; 
}

/* Mantenemos el efecto elástico al hover pero controlado en su escala */
.product-card.card-plan:hover {
    border-radius: 65px 24px 60px 24px !important;
}
/* Espaciado controlado para el texto interno de los planes */
.product-card.card-plan p {
    padding-bottom: 15px;
    font-size: 14.5px;
}

/* Separación del indicador (PLAN ESTÁNDAR / ALTA DEMANDA) */
.product-card.card-plan .price {
    margin-bottom: 12px;
    font-size: 13px;
}
/* =========================================
   EFECTO DESPLEGABLE AVANZADO (HÍBRIDO)
   ========================================= */
.descripcion-corta {
    font-size: 14.5px;
    color: var(--texto-mutado);
    line-height: 1.6;
    margin-bottom: 20px !important;
    padding-bottom: 0 !important;
}

/* Barra interactiva del desplegable */
details summary {
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    outline: none;
    user-select: none;
    padding: 12px 16px;
    background: rgba(56, 189, 248, 0.04);
    border: 1px solid rgba(56, 189, 248, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    margin-top: auto; /* Empuja la barra al fondo de la tarjeta */
}

details summary::-webkit-details-marker {
    display: none; /* Oculta flecha nativa en navegadores Safari/Chrome */
}

details summary:hover {
    background: rgba(56, 189, 248, 0.08);
    border-color: rgba(56, 189, 248, 0.25);
}

.texto-accion {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    letter-spacing: 0.5px;
}

.flecha-desplegable {
    color: var(--azul-electrico);
    font-size: 12px;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

/* Cuando el acordeón se abre */
details[open] summary {
    background: rgba(255, 71, 87, 0.04);
    border-color: rgba(255, 71, 87, 0.2);
}

details[open] .texto-accion {
    color: #ffffff;
}

details[open] .flecha-desplegable {
    transform: rotate(180deg);
    color: var(--rojo-urgencia);
    text-shadow: 0 0 8px rgba(255, 71, 87, 0.5);
}

/* Espacio interno de la información oculta */
.contenido-desplegable {
    padding: 20px 5px 5px 5px;
    animation: fadeReveal 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

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

/* Control estricto del tamaño de la tarjeta de planes */

/* =========================================
   ESTILOS PARA LA LISTA DE BENEFICIOS (PLANES)
   ========================================= */
/* Lista de características optimizada */
.lista-caracteristicas {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0; /* Bajó de 20px a 10px */
    text-align: left;
}

.lista-caracteristicas li {
    font-size: 13.5px;
    color: var(--texto-mutado);
    line-height: 1.5;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lista-caracteristicas li span {
    color: var(--azul-electrico);
    font-weight: bold;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* Bloque inferior de precio y botón */
.bloque-accion {
    margin-top: 25px !important; /* Cambiado de auto a un espacio fijo y controlado */
    width: 100%;
}
/* =========================================
   ESTILOS EXCLUSIVOS PARA PÁGINAS INTERNAS
   ========================================= */
.hero-interna {
    position: relative;
    padding: 80px 0; /* Más compacto que el Home */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    /* Mismo degradado premium pero adaptado */
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.85) 0%, var(--bg-principal) 100%), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1200') no-repeat center center/cover;
    border-bottom: 1px solid var(--borde-suave);
}

/* Espaciado controlado para las secciones de detalles */
.seccion-detalles-preventivo {
    padding: 0px 0 00px 0;
    background-color: transparent;
}
/* Estilos para las imágenes del protocolo técnico */
.contenedor-carrusel {
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    overflow: hidden;
}

/* El riel que permite el desplazamiento horizontal */
.carrusel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory; /* Hace que las fotos se "imanten" al deslizar */
    scroll-behavior: smooth;
    gap: 0;
    width: 100%;
    /* Oculta la barra de scroll en Chrome, Safari y Opera */
    -webkit-overflow-scrolling: touch;
}

.carrusel-track::-webkit-scrollbar {
    display: none;
}

/* Oculta barra de scroll en Firefox e IE */
.carrusel-track {
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Cada foto individual adaptada al carrusel */
.foto-protocolo {
    flex: 0 0 100%; /* Cada imagen ocupa exactamente el ancho de la tarjeta */
    width: 100%;
    height: 180px;
    object-fit: cover;
    scroll-snap-align: start; /* Punto de anclaje para el imán del scroll */
    border-radius: 16px 55px 16px 40px !important; /* Mantiene tu asimetría */
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.product-card:hover .foto-protocolo {
    opacity: 1;
}

/* Texto de guía sutil abajo de la foto */
.indicador-deslizar {
    font-size: 11px;
    color: var(--texto-mutado);
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    margin-top: 6px;
    opacity: 0.6;
    font-weight: 600;
}
/* =========================================
   ESTILOS PREMIUM PARA EL FORMULARIO
   ========================================= */

/* =========================================
   ESTILOS PREMIUM PARA EL FORMULARIO
   ========================================= */

.seccion-contacto {
    background-color: var(--bg-principal);
    padding: 80px 0;
}

.form-card {
    background: rgba(255, 255, 255, 0.03); /* Fondo translúcido sutil */
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px; /* Bordes más redondeados */
    padding: 50px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--texto-mutado);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
}

.input-group input, 
.input-group select, 
.input-group textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Efecto al hacer clic en los campos */
.input-group input:focus, 
.input-group select:focus, 
.input-group textarea:focus {
    outline: none;
    border-color: var(--azul-electrico);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

/* Mejora el botón */
.btn-primary {
    display: inline-block;
    background: var(--azul-electrico);
    color: white;
    padding: 16px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s, background 0.3s;
    border: none;
    font-size: 16px;
}

.btn-primary:hover {
    background: #0ea5e9;
    transform: translateY(-2px);
    cursor: pointer;
}
/* Corregir colores de las opciones dentro del select */
select option {
    background-color: #0f172a; /* Color oscuro similar a tu fondo */
    color: #ffffff;            /* Texto blanco */
    padding: 10px;
}

/* Forzar un poco más el estilo en el select */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23ffffff%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65rem auto;
}
/* Estilizar el desplegable (select) */
.input-group select {
    width: 100%;
    padding: 12px 40px 12px 15px; /* Espacio extra a la derecha para la flecha */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #fff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
    cursor: pointer;
    
    /* 1. Ocultamos la flecha fea que pone el navegador por defecto */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    /* 2. Añadimos una flecha moderna usando un icono SVG como fondo */
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'></polyline></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center; /* Posiciona la flecha a la derecha */
    background-size: 16px; /* Tamaño de la flechita */
    transition: all 0.3s ease;
}

/* Efecto cuando el usuario hace clic en el desplegable */
.input-group select:focus {
    border-color: #38bdf8; /* Cambia al azul eléctrico de SERMANTECH */
    background-color: rgba(255, 255, 255, 0.1);
}

/* Estilo para las opciones de adentro (evita que se lean mal en fondos oscuros) */
.input-group select option {
    background-color: #1e293b; /* Un fondo oscuro elegante para el menú abierto */
    color: #fff;
}
/* ==========================================================================
   MENÚ HAMBURGUESA RESPONSIVO (MÓVIL)
   ========================================================================== */

/* Por defecto, el botón está oculto en computadoras */
/* ==========================================================================
   MENÚ HAMBURGUESA RESPONSIVO (MÓVIL)
   ========================================================================== */

/* Botón oculto por defecto en computadoras */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff !important;
    font-size: 28px !important;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block !important; /* Aparece solo en pantallas móviles */
    }
    .navbar nav {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 70px; 
        right: -100%; 
        width: 80%;
        max-width: 300px;
        height: calc(100vh - 70px);
        background: #111424 !important; 
        padding: 40px 20px;
        gap: 24px;
        transition: right 0.4s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.5);
        z-index: 1000;
    }
    .navbar nav.active {
        right: 0 !important; 
    }
    .navbar nav a {
        display: block !important;
        width: 100%;
        font-size: 18px;
        padding: 10px 0;
        color: #ffffff !important;
        border-bottom: 1px solid rgba(255,255,255,0.05);
    }
}