/* --- SISTEMA DE DISEÑO AVANZADO ---
   Paleta: Azul Corporativo, Amarillo Eléctrico y Negro Profundo
*/

:root {
    /* Colores */
    --primary: #004a8f;
    --primary-light: #0062bd;
    --primary-dark: #003366;
    --accent: #ffcc00;
    --accent-hover: #e6b800;
    --white: #ffffff;
    --black: #0a0a0a;
    --bg-body: #f4f7f9;
    --text-main: #1a202c;
    --text-muted: #4a5568;
    
    /* Sombras y Efectos */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.15);
    --glass: rgba(255, 255, 255, 0.85);
    
    /* Layout */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 30px;
    --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

/* --- RESET & TIPOGRAFÍA --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    scroll-behavior: smooth;
    padding-top: 80px;
}

/* --- HEADER (Glassmorphism Pro) --- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.92);
    backdrop-filter: blur(12px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--accent);
    transition: var(--transition);
}

.logo a {
    color: var(--white);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
}

/* Navegación */
.nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
}

.nav > ul > li { position: relative; }

.nav a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    padding: 10px 18px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav a:hover {
    color: var(--accent);
    background: rgba(255,255,255,0.05);
}

/* Submenú */
.submenu {
    display: none;
    position: absolute;
    top: 120%;
    left: 0;
    background: var(--white);
    min-width: 240px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(0,0,0,0.05);
    padding: 10px 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.show-submenu {
    display: block !important;
    animation: slideUp 0.3s forwards;
}

@keyframes slideUp {
    to { transform: translateY(0); opacity: 1; }
}

.submenu a {
    color: var(--text-main);
    padding: 12px 20px;
}

.submenu a:hover {
    background: #f1f5f9;
    color: var(--primary);
    border-radius: 0;
}


/* --- HERO SECTION --- */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 120px 5%;
    text-align: center;
    clip-path: ellipse(150% 100% at 50% 0%); /* Curva moderna en el fondo */
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    opacity: 0.9;
    max-width: 1600px;
    margin: 0 auto 40px;
    text-align: justify;
}

.hero a {
    display: inline-block;
    background: var(--accent);
    color: var(--black);
    padding: 18px 40px;
    text-decoration: none;
    border-radius: var(--radius-lg);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(255, 204, 0, 0.3);
    transition: var(--transition);
}

.hero a:hover {
    transform: translateY(-5px);
    background: var(--accent-hover);
    box-shadow: 0 15px 30px rgba(255, 204, 0, 0.4);
}

/* --- MAIN CONTENT (MEJORADO) --- */
.main-content {
    padding: 100px 5%;
    max-width: 1600px;
    margin: 0 auto;
    text-align: center;
}

.main-content h2 {
    color: var(--primary);
    font-size: clamp(2rem, 4vw, 2.8rem);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.main-content h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 25%;
    width: 50%;
    height: 4px;
    background: var(--accent);
    border-radius: 2px;
}

.main-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    line-height: 1.8;
    text-wrap: pretty;
    text-align: justify;
}

/* --- SOBRE NOSOTROS & VALORES --- */
.about-us-section {
    background: var(--white);
    padding: 80px 5%;
    border-radius: var(--radius-lg);
    margin: 40px 5%;
    box-shadow: var(--shadow-md);
}

.values {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.value-item {
    background: #f8fafc;
    padding: 40px;
    border-radius: var(--radius-md);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.value-item:hover {
    transform: translateY(-10px);
    background: var(--white);
    box-shadow: var(--shadow-lg);
}

.value-item h4 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.value-item h4::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
}

/* --- SERVICIOS --- */
.service-category {
    background: var(--white);
    padding: 50px;
    margin: 30px 5%;
    border-radius: var(--radius-md);
    border-left: 10px solid var(--primary);
    box-shadow: var(--shadow-sm);
}

.service-category ul {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    list-style: none;
    margin-top: 30px;
}

.service-category li {
    background: #f1f5f9;
    padding: 18px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: var(--transition);
}

.service-category li:hover {
    background: var(--primary);
    color: white;
}

/* --- CONTACTO (ESTRUCTURA ROBUSTA) --- */
.contact-section {
    max-width: 1024px;
    margin: 100px auto;
    background: var(--white);
    padding: 60px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.contact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 40px;
}

.contact-form > div {
    flex: 1 1 calc(50% - 25px); /* Dos columnas */
    display: flex;
    flex-direction: column;
    min-width: 300px;
}

/* Forzar ancho completo en Mensaje y Botón */
.contact-form div:has(textarea),
.contact-form button {
    flex: 1 1 100% !important;
}

.contact-form label {
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--primary-dark);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 15px;
    border: 2px solid #edf2f7;
    border-radius: var(--radius-sm);
    background: #f8fafc;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: white;
    box-shadow: 0 0 0 4px rgba(0, 74, 143, 0.1);
}

.contact-form button {
    background: var(--primary);
    color: white;
    padding: 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 74, 143, 0.2);
}

.contact-form button:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 74, 143, 0.3);
}

/* --- FOOTER REDISEÑADO (ESTILO PREMIUM & MODERNO) --- */
.footer {
    background-color: #0f172a; /* Azul noche profundo, más moderno que el negro puro */
    color: #ffffff;
    padding: 60px 5%;
    margin-top: 80px;
    border-top: 4px solid var(--accent); /* Línea amarilla superior para identidad de marca */
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center; /* Alineación vertical perfecta */
    gap: 40px;
}

/* Columna de Copyright */
.footer-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

/* Columna de Contacto (Teléfono y Email) */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    transition: var(--transition);
}

.footer-contact i {
    color: var(--accent); /* Iconos en amarillo */
    font-size: 1.1rem;
    width: 20px; /* Alineación uniforme */
}

/* Columna de Redes Sociales (Botones Estilizados) */
.footer-social {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.footer-social a {
    text-decoration: none;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.05); /* Efecto cristal sutil */
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social i {
    font-size: 1.1rem;
}

/* Efectos Hover Específicos por Red Social */
.footer-social a:hover {
    transform: translateY(-5px);
    background: var(--white);
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Color de marca al pasar el mouse */
.footer-social a:hover i.fa-facebook-f { color: #1877f2; }
.footer-social a:hover i.fa-instagram { color: #e4405f; }
.footer-social a:hover i.fa-whatsapp { color: #25d366; }


/* ========================================================================= */

/* =======================================================
   SECCIÓN LOGIN - DESARROLLOS LBA
   ======================================================= */

/* 1. Ajuste Global para el Layout */
.login-body {
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Asegura que el footer se vaya al fondo */
    margin: 0;
}

/* 2. Contenedor Principal (Main) */
.login-main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    /* Gradiente sutil que combina con el estilo profesional */
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* 3. Tarjeta de Login */
.login-card {
    background: #ffffff;
    width: 100%;
    max-width: 600px;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 6px solid #ffcc00; /* Amarillo característico */
    text-align: center;
}

.login-logo-small {
    width: 128px;
    margin-bottom: 15px;
}

.login-header h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    color: #222;
    margin: 0 0 5px 0;
}

.login-header p {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 30px;
}

/* 4. Estilos de Formulario e Inputs */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.85em;
    color: #444;
}

.input-group label i {
    margin-right: 5px;
    color: #ffcc00; /* Iconos en amarillo */
}

.input-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.input-group input:focus {
    outline: none;
    border-color: #ffcc00;
}

/* 5. Funcionalidad Mostrar Contraseña */
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-wrapper input {
    padding-right: 45px; /* Espacio para que el texto no se encime con el ojo */
}

.toggle-password {
    position: absolute;
    right: 5px;
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 10px;
    font-size: 1.1em;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-password:hover {
    color: #ffcc00;
}

/* 6. Botón de Acción */
.btn-submit {
    width: 100%;
    background-color: #333; /* Fondo oscuro para contraste premium */
    color: #ffcc00; /* Letras amarillas */
    padding: 15px;
    border: none;
    border-radius: 8px;
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn-submit:hover {
    background-color: #ffcc00;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 204, 0, 0.3);
}

/* 7. Links y Footer de la Tarjeta */
.login-extra {
    margin-top: 25px;
}

.login-extra a {
    font-size: 0.85em;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.login-extra a:hover {
    color: #333;
    text-decoration: underline;
}

.login-extra hr {
    margin: 20px 0;
    border: 0;
    border-top: 1px solid #eee;
}

.link-highlight {
    color: #333 !important;
    font-weight: 700;
}

/* =======================================================
   DASHBOARD / PANEL DE ADMINISTRACIÓN - DESARROLLOS LBA
   ======================================================= */

/* 1. Layout Base */
.admin-body {
    background-color: #f4f7f6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.dashboard-content {
    flex: 1;
    padding: 40px 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* 2. Cabecera y Títulos */
.admin-title {
    margin-bottom: 35px;
    border-left: 5px solid #ffcc00;
    padding-left: 20px;
}

.admin-title h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #222;
    margin: 0;
}

.admin-title p {
    color: #666;
    margin-top: 5px;
    font-size: 0.95rem;
}

/* 3. Grid de Estadísticas (KPIs) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.stat-card:hover { transform: translateY(-5px); }
.stat-card i { font-size: 2.2rem; color: #ffcc00; }
.stat-card.highlight { border: 2px solid #ffcc00; }

.stat-value { display: block; font-size: 1.6rem; font-weight: 800; color: #333; }
.stat-label { font-size: 0.85rem; color: #888; text-transform: uppercase; }

/* 4. Barra de Filtros */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.search-box { position: relative; flex: 1; min-width: 300px; }
.search-box i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.search-box input {
    width: 100%;
    padding: 12px 15px 12px 45px;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border-color 0.3s;
    font-family: inherit;
}

.search-box input:focus { border-color: #ffcc00; }

.filter-options { display: flex; gap: 10px; align-items: center; }
.filter-options select {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    font-family: inherit;
}

.btn-export {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s;
    font-family: inherit;
}

.btn-export:hover { background-color: #218838; }

/* 5. Tabla de Datos */
.data-section {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.table-responsive { width: 100%; overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; text-align: left; }
.data-table thead { background-color: #222; color: #ffffff; }

.data-table th {
    padding: 18px 20px;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    color: #444;
    font-size: 0.9rem;
    vertical-align: middle;
}

.data-table tr:hover { background-color: #fffef2; }

/* 6. Badges y Estatus */
.status-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    min-width: 90px;
    text-align: center;
}

.status-nuevo { background-color: #ffe5e5; color: #d63031; border: 1px solid #ffb8b8; }
.status-proceso { background-color: #fff4e5; color: #e67e22; border: 1px solid #ffe0b8; }
.status-finalizado { background-color: #e5f9e7; color: #27ae60; border: 1px solid #b8ebbc; }

.service-badge {
    background-color: #ffcc00;
    color: #222;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
}

/* 7. Acciones y Botones */
.comment-cell {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.comment-cell:hover { white-space: normal; color: #000; cursor: help; }

.actions { display: flex; gap: 12px; }

.btn-icon {
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: 0.2s;
    padding: 5px;
    position: relative;
}

/* Colores de botones de acción */
.btn-icon.view { color: #007bff; }
.btn-icon.check { color: #27ae60; }
.btn-icon.contact { color: #5d6d7e; } /* Gris azulado para correo profesional */
.btn-icon.delete { color: #dc3545; }

.btn-icon:hover { transform: scale(1.2); }
.btn-icon.contact:hover { color: #222; }

.font-bold { font-weight: 700; color: #222; }

/* Estilos para nuevas columnas */
.email-cell {
    color: #007bff;
    font-size: 0.85rem;
    font-weight: 500;
}

.data-table td:nth-child(3) { /* Columna Teléfono */
    font-family: 'Inter', sans-serif;
    color: #666;
}

/* Ajuste de celdas para evitar amontonamiento */
.data-table th, .data-table td {
    padding: 15px 12px;
    white-space: nowrap; 
}

.comment-cell {
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Estilos críticos para el funcionamiento del Sticky */
        .sticky-header-container {
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: #f4f7f6; /* Ajusta al color de tu fondo */
            box-shadow: 0 4px 10px rgba(0,0,0,0.05);
            padding-bottom: 15px;
        }

        .data-table thead th {
            position: sticky;
            top: 0;
            background-color: #333;
            color: white;
            z-index: 10;
        }

        /* Ajuste de espaciado para que el contenido no quede pegado */
        .dashboard-content {
            padding-top: 10px;
        }

/* 1. Asegúrate de que el contenedor superior tenga un ID o clase clara */
.sticky-header-container {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #f4f7f6;
    padding-bottom: 10px;
}

/* 2. El encabezado de la tabla (LA CLAVE) */
.data-table thead th {
    position: sticky;
    /* Este valor debe ser 0 si el contenedor de arriba NO es sticky, 
       pero como SI lo es, usaremos un valor que lo posicione debajo */
    top: 0; 
    background-color: #222 !important; /* Color oscuro para que no sea transparente */
    color: #fff;
    z-index: 900; /* Menor al del contenedor principal (1000) */
    padding: 15px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

/* 3. IMPORTANTE: Quita cualquier 'overflow: hidden' del contenedor padre de la tabla 
   si notas que el sticky no funciona. El contenedor 'table-responsive' debe ser: */
.table-responsive {
    overflow: visible; /* O simplemente asegúrate de que no tenga 'overflow: hidden' */
}

/* 8. Responsividad */
@media (max-width: 768px) {
    .filter-bar { flex-direction: column; align-items: stretch; }
    .stats-grid { grid-template-columns: 1fr; }
    .filter-options { flex-direction: column; width: 100%; }
    .filter-options select, .btn-export { width: 100%; }
}
	

/* ========================================================================= */

/* --- RESPONSIVE --- */
@media (max-width: 992px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-info {
        order: 3; /* El copyright pasa al final en móvil */
        border-top: 1px solid rgba(255,255,255,0.1);
        padding-top: 20px;
        width: 100%;
    }
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .header { padding: 0 20px; }
    .nav { display: none; } /* Implementar menú hamburguesa aquí */
    .contact-form > div { flex: 1 1 100%; }
    .hero h1 { font-size: 2.5rem; }
    .contact-section { padding: 30px; margin: 40px 20px; }
}

/* --- Menú hamburguesa en móvil --- */
@media (max-width: 768px) {

    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 35px;
        height: 28px;
        cursor: pointer;
        z-index: 1100;
    }

    .hamburger span {
        display: block;
        height: 4px;
        width: 100%;
        background: var(--white);
        border-radius: 2px;
        transition: all 0.4s ease;
    }

    /* Transformación a "X" */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Menú oculto por defecto */
    .nav {
        display: none;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.95);
        padding: 20px 0;
        gap: 0;
    }

    .nav.active ul {
        flex-direction: column;
        gap: 0;
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .nav.active li {
        text-align: center;
        width: 100%;
    }

    .nav.active li a {
        padding: 15px 0;
        display: block;
    }

    /* Submenú dentro del menú móvil */
    .submenu {
        position: static;
        transform: none;
        box-shadow: none;
        background: transparent;
    }

    .submenu a {
        color: var(--white);
        padding-left: 20px;
    }
}