:root {
    --primary: #0A2540;        
    --primary-light: #1A365D;  
    --accent: #00D4B2;         
    --accent-health: #00A3FF;  
    --text-dark: #1E293B;
    --text-muted: #64748B;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0; padding: 0; box-sizing: border-box;
    font-family: '-apple-system', BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    scroll-behavior: smooth;
}

body { color: var(--text-dark); background-color: var(--white); line-height: 1.5; }

/* Bot贸n de WhatsApp Est谩tico Inteligente */
.whatsapp-sticky {
    position: fixed; 
    bottom: 30px; 
    right: 30px; /* Cambiado de left a right */
    width: 60px; 
    height: 60px; 
    background-color: #25D366;
    color: #FFFFFF; 
    border-radius: 50%;
    display: flex; 
    align-items: center; 
    justify-content: center;
    font-size: 1.8rem; 
    z-index: 999; 
    box-shadow: 0 8px 25px rgba(37,211,102,0.3);
    transition: all 0.3s ease; 
    text-decoration: none;
}
.whatsapp-sticky:hover { transform: scale(1.1) rotate(10deg); background-color: #20ba5a; }

/* Navbar */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%;
    background: rgba(10, 37, 64, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    z-index: 1000; padding: 16px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav-container { width: 90%; max-width: 1200px; margin: auto; display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; flex-direction: column; }
.brand-text { color: var(--white); font-size: 1.4rem; font-weight: 800; letter-spacing: 2px; }
.sub-text { color: var(--accent); font-size: 0.7rem; letter-spacing: 1px; text-transform: uppercase; margin-top: -2px; }
.nav-menu { display: flex; list-style: none; align-items: center; gap: 25px; }
.nav-menu a { color: #E2E8F0; text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.nav-menu a:hover { color: var(--accent); }
.btn-login-trigger {
    background: rgba(0, 212, 178, 0.1); border: 1px solid var(--accent); color: var(--accent);
    padding: 8px 18px; border-radius: 50px; cursor: pointer; font-weight: 600; font-size: 0.85rem;
    display: flex; align-items: center; gap: 8px; transition: var(--transition);
}
.btn-login-trigger:hover { background: var(--accent); color: var(--primary); box-shadow: 0 0 20px rgba(0,212,178,0.3); }

/* Hero */
.hero-section {
    position: relative; height: 85vh; min-height: 550px;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=1920') no-repeat center center/cover;
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 20px;
}
.hero-overlay { position: absolute; top:0; left:0; width:100%; height:100%; background: linear-gradient(135deg, rgba(10,37,64,0.95) 30%, rgba(26,54,93,0.85) 100%); z-index: 1; }
.hero-content { position: relative; z-index: 2; max-width: 850px; }
.hero-tag { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255,255,255,0.2); color: var(--accent); padding: 6px 16px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.hero-content h1 { color: var(--white); font-size: 3.25rem; font-weight: 800; line-height: 1.15; margin: 20px 0; }
.hero-content p { color: #CBD5E1; font-size: 1.15rem; max-width: 650px; margin: 0 auto 40px auto; }
.hero-btns { display: flex; gap: 20px; justify-content: center; }
.btn-primary { background: var(--accent); color: var(--primary); padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.btn-primary:hover { background: #00bfa0; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,212,178,0.25); }
.btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.4); color: var(--white); padding: 14px 28px; border-radius: 6px; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.btn-secondary:hover { border-color: var(--accent-health); color: var(--accent-health); background: rgba(0,163,255,0.05); }


.hero-logo {
    width: 100%; /* El contenedor ocupa el espacio disponible */
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.hero-logo img {
    width: 80%;      /* El logo ocupará el 80% del ancho del padre */
    max-width: 400px; /* IMPORTANTE: Esto evita que el logo se vea gigante en pantallas grandes */
    height: auto;    /* Mantiene la proporción original */
}

/* Stats */
.stats-section { background: var(--bg-light); padding: 60px 0; border-bottom: 1px solid #E2E8F0; margin-top: -4px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; text-align: center; }
.container { width: 90%; max-width: 1200px; margin: auto; }
.stat-card .stat-number { display: block; font-size: 3rem; font-weight: 800; color: var(--primary); line-height: 1; }
.stat-card .stat-title { display: block; font-size: 1rem; font-weight: 700; color: var(--text-dark); margin: 8px 0; }
.stat-card p { color: var(--text-muted); font-size: 0.9rem; padding: 0 10px; }

/* Portafolio Grid */
.portfolio-section { padding: 90px 0; }
.bg-light { background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.25rem; color: var(--primary); font-weight: 800; margin: 10px 0; }
.section-title p { color: var(--text-muted); font-size: 1.1rem; max-width: 650px; margin: auto; }
.section-tag { color: var(--accent); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.section-tag-health { color: var(--accent-health); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1.5px; }
.grid-services { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.card-service { background: var(--white); padding: 45px 35px; border-radius: 10px; border: 1px solid #E2E8F0; transition: var(--transition); display: flex; flex-direction: column; }
.card-service:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(10,37,64,0.06); }
.card-service.health-highlight { border-top: 4px solid var(--accent-health); }
.card-service:not(.health-highlight) { border-top: 4px solid var(--accent); }
.card-icon { font-size: 2.2rem; color: var(--accent); margin-bottom: 25px; }
.card-icon.icon-health { color: var(--accent-health); }
.card-service h3 { font-size: 1.25rem; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.card-service p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* Membres铆as */
.pricing-section { padding: 90px 0; background-color: var(--white); }
.grid-pricing { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 35px; align-items: stretch; }
.price-card { background: var(--bg-light); border: 1px solid #E2E8F0; border-radius: 12px; padding: 40px 30px; display: flex; flex-direction: column; justify-content: space-between; position: relative; transition: var(--transition); }
.price-card:hover { transform: translateY(-10px); box-shadow: 0 25px 50px rgba(10, 37, 64, 0.08); }
.price-card.featured { background: var(--primary); border-color: var(--accent); transform: scale(1.03); box-shadow: 0 15px 35px rgba(10, 37, 64, 0.15); }
.price-card.featured:hover { transform: scale(1.03) translateY(-5px); box-shadow: 0 25px 45px rgba(0, 212, 178, 0.2); }
.badge-featured { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); background: var(--accent); color: var(--primary); padding: 4px 16px; border-radius: 50px; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.price-header { text-align: center; border-bottom: 1px solid #E2E8F0; padding-bottom: 25px; margin-bottom: 25px; }
.price-card.featured .price-header { border-bottom-color: rgba(255, 255, 255, 0.1); }
.price-header h3 { font-size: 1.5rem; color: var(--primary); font-weight: 700; }
.price-card.featured .price-header h3 { color: var(--white); }
.price-icon { font-size: 2.5rem; color: var(--accent); margin-top: 15px; }
.price-features ul { list-style: none; margin-bottom: 35px; }
.price-features li { font-size: 0.95rem; color: var(--text-dark); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.price-card.featured .price-features li { color: #E2E8F0; }
.price-features li i.fa-check { color: #25D366; }
.price-features li i.fa-xmark { color: #EF4444; }
.price-features li.disabled { color: var(--text-muted); opacity: 0.45; }
.price-card.featured .price-features li.disabled { color: #94A3B8; }
.btn-price { display: block; text-align: center; background: transparent; border: 2px solid var(--primary); color: var(--primary); padding: 12px 20px; border-radius: 6px; text-decoration: none; font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.btn-price:hover { background: var(--primary); color: var(--white); }
.btn-featured { background: var(--accent); border-color: var(--accent); color: var(--primary); }
.btn-featured:hover { background: #00bfa0; border-color: #00bfa0; color: var(--primary); box-shadow: 0 5px 15px rgba(0, 212, 178, 0.4); }

/* Contacto */
.contact-section { padding: 80px 0; background: linear-gradient(135deg, #0A2540 0%, #111827 100%); text-align: center; }
.contact-card h2 { color: var(--white); font-size: 2.2rem; font-weight: 800; margin-bottom: 15px; }
.contact-card p { color: #94A3B8; font-size: 1.1rem; margin-bottom: 35px; }
.btn-whatsapp { background: #25D366; color: var(--white); padding: 15px 35px; border-radius: 6px; text-decoration: none; font-weight: 700; display: inline-flex; align-items: center; gap: 10px; transition: var(--transition); }
.btn-whatsapp:hover { background: #20ba5a; transform: scale(1.03); box-shadow: 0 10px 25px rgba(37,211,102,0.3); }

/* ==========================================================
   馃敟 MAQUETADO DE INGENIER脥A: MODAL DE LOGIN INTERACTIVO
   ========================================================== */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center; z-index: 9999;
}
.modal-box {
    background: var(--white); width: 100%; max-width: 420px;
    padding: 40px; border-radius: 16px; box-shadow: 0 30px 60px rgba(10,37,64,0.25);
    position: relative; border: 1px solid #E2E8F0;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-close-btn {
    position: absolute; top: 15px; right: 20px; background: none; border: none;
    font-size: 1.8rem; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.modal-close-btn:hover { color: var(--text-dark); }
.modal-header-login { text-align: center; margin-bottom: 30px; }
.modal-header-login i { font-size: 2.5rem; color: var(--primary); margin-bottom: 15px; }
.modal-header-login h2 { font-size: 1.6rem; color: var(--primary); font-weight: 800; }
.modal-header-login p { font-size: 0.9rem; color: var(--text-muted); margin-top: 5px; }

.form-group-login { margin-bottom: 20px; }
.form-group-login label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; }
.input-with-icon { position: relative; display: flex; align-items: center; }
.input-with-icon i { position: absolute; left: 15px; color: var(--text-muted); font-size: 0.95rem; }
.input-with-icon input {
    width: 100%; padding: 12px 15px 12px 42px; border: 1px solid #CBD5E1;
    border-radius: 8px; font-size: 0.95rem; outline: none; transition: var(--transition);
}
.input-with-icon input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10,37,64,0.1); }

.feedback-message { font-size: 0.85rem; font-weight: 600; text-align: center; margin-bottom: 15px; min-height: 20px; }
.feedback-message.error { color: #EF4444; }
.feedback-message.success { color: #25D366; }

.btn-submit-login {
    width: 100%; background: var(--primary); color: var(--white); padding: 14px;
    border: none; border-radius: 8px; font-weight: 700; font-size: 0.95rem; cursor: pointer;
    transition: var(--transition); margin-top: 5px;
}
.btn-submit-login:hover { background: var(--primary-light); transform: translateY(-1px); }

/* Animaciones */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* ==========================================================
   馃敟 ESTRUCTURA BASE PARA EL DASHBOARD PRIVADO
   ========================================================== */
.dashboard-wrapper {
    display: flex;
    height: 100vh;
    background: #f1f5f9;
}
.sidebar { width: 260px; background: var(--primary); color: var(--white); display: flex; flex-direction: column; }
.sidebar-brand { padding: 30px 24px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.sidebar-brand h3 { font-size: 1.2rem; font-weight: 800; letter-spacing: 0.5px; }
#userRoleBadge { display: inline-block; background: var(--accent); color: var(--primary); font-size: 0.7rem; font-weight: 700; padding: 2px 8px; border-radius: 50px; margin-top: 5px; text-transform: uppercase; }
.sidebar-menu { list-style: none; padding: 20px 0; display: flex; flex-direction: column; gap: 5px; }
.sidebar-menu li { padding: 12px 24px; font-size: 0.95rem; font-weight: 500; color: #94A3B8; cursor: pointer; display: flex; align-items: center; gap: 12px; transition: var(--transition); }
.sidebar-menu li:hover, .sidebar-menu li.active { color: var(--white); background: rgba(255,255,255,0.05); }
.sidebar-menu li.active { border-left: 4px solid var(--accent); padding-left: 20px; }
.menu-logout { margin-top: auto; color: #F87171 !important; }
.menu-logout:hover { background: rgba(239,68,68,0.1) !important; }

.dashboard-content {
    flex-grow: 1;
    padding: 30px;
    overflow-y: auto;
}
.dashboard-header { background: var(--white); padding: 20px 40px; border-bottom: 1px solid #E2E8F0; display: flex; justify-content: space-between; align-items: center; }
.dashboard-header h2 { font-size: 1.4rem; color: var(--primary); font-weight: 700; }
.date-indicator { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; }
.dashboard-body { flex: 1; padding: 40px; overflow-y: auto; }
.dashboard-card {
    background: white;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

@media (max-width: 992px) { .price-card.featured { transform: none; } .price-card.featured:hover { transform: translateY(-10px); } }
@media (max-width: 768px) { .nav-menu { display: none; } .hero-content h1 { font-size: 2.2rem; } .hero-btns { flex-direction: column; gap: 12px; } .sidebar { width: 70px; } .sidebar h3, #userRoleBadge, .sidebar span { display: none; } .sidebar-menu li span { display: none; } }

/* Correcci贸n espec铆fica para que 'Trayectoria' no quede cortada */
#nosotros {
    scroll-margin-top: 100px; /* Ajusta este n煤mero si ves que a煤n se corta un poco */
    padding-top: 20px;
}

/* Nuevo contenedor para agrupar imagen y texto */
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px; /* Espacio entre el logo y el texto */
}

/* Estilo para la imagen del logo */
.nav-logo {
    height: 45px; /* Ajusta seg煤n el tama帽o de tu imagen */
    width: auto;
    object-fit: contain;
}

/* Ajuste del bloque de texto */
.logo-text {
    display: flex;
    flex-direction: column;
}



/* Fondo oscuro que bloquea la pantalla */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Transparencia */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* La ventana blanca */
.login-box {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 350px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}


.clientes-section {
    padding: 60px 20px;
    background-color: #F8FAFC;
    text-align: center;
}

.clientes-grid {
    display: grid;
    /* Esto crea 4 columnas en desktop y se ajusta solo */
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.cliente-card {
    background: white;
    padding: 10px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cliente-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.2);
}

.cliente-card img {
    width: 100%;
    height: 100px;
    object-fit: contain; /* Para que la foto no se deforme */
    filter: grayscale(20%);
    transition: var(--transition);
}

.cliente-card img:hover { filter: grayscale(0%); }

/* Estilo para la tarjeta de "+50" */
.mas-clientes {
    background: var(--primary);
    color: white;
    flex-direction: column;
    justify-content: center;
}

.mas-clientes span {
    font-size: 2rem;
    font-weight: bold;
    color: var(--accent);
}


/* Estilos para Membresías Detalladas */
.pricing-section { padding: 80px 0; background: #fff; }
.pricing-table { width: 100%; border-collapse: collapse; margin-top: 30px; border: 1px solid #e2e8f0; }
.pricing-table th, .pricing-table td { padding: 15px; text-align: center; border: 1px solid #e2e8f0; }
.pricing-table thead { background: #1e293b; color: white; }

/* Contraste del Plan Estándar */
.featured-header { background-color: var(--primary) !important; color: white !important; }
.featured-col { 
    background-color: rgba(0, 212, 178, 0.08); 
    border-left: 2px solid var(--accent); 
    border-right: 2px solid var(--accent); 
    font-weight: bold;
}

/* Títulos de Categoría */
.cat-title { 
    background: #f1f5f9; 
    font-weight: 800; 
    text-align: left !important; 
    text-transform: uppercase; 
    font-size: 0.9rem;
    color: var(--primary);
}

@media (max-width: 768px) {
    .pricing-table { font-size: 0.85rem; }
    .table-responsive { overflow-x: auto; }
}



/* Contenedor con sombras suaves */
.table-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden; /* Esto aplica los bordes redondeados a la tabla */
    margin-top: 40px;
}

.pricing-table { width: 100%; border-collapse: separate; border-spacing: 0; }

.pricing-table th { 
    background: #1e293b; color: white; padding: 20px; 
}

.pricing-table td { padding: 18px; border-bottom: 1px solid #edf2f7; text-align: center; }

/* Bordes redondeados esquinas */
.corner-top-left { border-top-left-radius: 20px; }
.corner-top-right { border-top-right-radius: 20px; }

/* Contraste moderno */
.featured-header { background-color: var(--primary) !important; }
.featured-col { 
    background-color: rgba(0, 212, 178, 0.05); 
    border-left: 2px solid var(--accent); 
    border-right: 2px solid var(--accent); 
}

/* Botones de tabla */
.btn-table {
    display: inline-block;
    padding: 10px 20px;
    background: #f1f5f9;
    color: #334155;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}
.btn-table:hover { background: #e2e8f0; }
.btn-featured { background: var(--primary); color: white; }
.btn-featured:hover { background: var(--accent); color: white; }

.cat-title { background: #f8fafc; font-weight: 800; text-align: left !important; color: #64748b; }

.toggle-row { cursor: pointer; transition: 0.3s; }
.toggle-row:hover { background-color: #e2e8f0; }
.cat-title { font-weight: 800; text-align: left !important; color: var(--primary); }

.info-icon {
    position: relative;
    cursor: help;
    color: var(--primary);
    margin-left: 8px;
    font-size: 0.9rem;
}

/* El cuadro del tooltip */
.info-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 150%;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    padding: 10px;
    background: #1e293b;
    color: white;
    font-size: 0.85rem;
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 100;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.info-icon:hover::after { opacity: 1; visibility: visible; }




.login-container {
    background: white; padding: 35px; border-radius: 24px;
    width: 90%; max-width: 380px; position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}
.close-btn {
    position: absolute; top: 20px; right: 20px;
    background: #f1f5f9; border: none; border-radius: 50%;
    width: 35px; height: 35px; cursor: pointer; font-size: 1.2rem;
    color: #475569; transition: 0.3s;
}
.close-btn:hover { background: #e2e8f0; color: #000; }

.input-group {
    display: flex; align-items: center; background: #f8fafc;
    border-radius: 12px; padding: 12px 15px; margin-bottom: 15px;
    border: 1px solid #e2e8f0;
}
.btn-submit {
    width: 100%; padding: 14px; background: var(--primary);
    color: white; border: none; border-radius: 12px; font-weight: 700; cursor: pointer;
}


.contact-section {
    padding: 100px 0;
    /* Degradado tecnológico de azul profundo a azul intermedio */
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    position: relative;
    overflow: hidden; /* Para asegurar que el efecto no se desborde */
}

/* Opcional: Agregar un pequeño "brillo" sutil detrás de la tarjeta */
.contact-section::before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.contact-card {
    background: white; /* La tarjeta sigue siendo blanca, creando contraste */
    padding: 60px;
    border-radius: 30px;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.3); /* Sombra más pronunciada para despegarla del fondo */
}

/* Textos oscuros para que se lean perfecto sobre el blanco */
.contact-card h2, .contact-card p {
    color: #1e293b; /* Gris muy oscuro, mejor que negro puro */
}

.contact-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.btn-whatsapp-large {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25d366;
    color: white;
    padding: 18px 35px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

.btn-whatsapp-large:hover {
    background: #128c7e;
    transform: scale(1.05);
}

.contact-note {
    margin-top: 20px;
    color: #64748b; /* Gris suave para la nota */
    font-size: 0.9rem;
}


/* Sidebar profesional */
.sidebar {
    background: #0f172a; /* Mismo azul profundo del fondo de contacto */
    color: white;
    padding: 20px;
    border-radius: 0 20px 20px 0;
}

.sidebar-menu li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.sidebar-menu li:hover, .sidebar-menu li.active {
    background: var(--primary); /* El color de tu marca LARIEL */
}

/* Contenedor del panel principal */
.dashboard-content {
    background: #f8fafc;
    padding: 40px;
    border-radius: 20px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}


.site-footer {
    background: #020617; /* Un tono casi negro para contraste */
    color: #94a3b8;
    padding: 40px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-footer {
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 20px;
    border-radius: 8px;
    transition: 0.3s;
}

.btn-footer:hover {
    background: var(--primary);
    color: white;
}

.footer-copy {
    font-size: 0.8rem;
    margin-top: 10px;
    color: #475569;
}


/* Nuevo Pie de Página Tecnológico (v2) */
.site-footer-v2 {
    position: relative;
    padding: 80px 0 30px; /* Más espacio superior */
    background: #020617; /* Fondo base ultra-oscuro */
    color: #94a3b8;
    overflow: hidden;
}

/* Efecto visual de fondo: degradado sutil */
.footer-gradient-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Degradado de azul profundo a azul noche */
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(2, 6, 23, 1) 100%);
    pointer-events: none;
}

.footer-content-v2 {
    position: relative; /* Para estar sobre el overlay */
    z-index: 10;
}

/* Fila Principal en Columnas */
.footer-main-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* Marca grande, enlaces y ubicación estándar */
    gap: 40px;
    margin-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea divisoria suave */
    padding-bottom: 50px;
}

/* Estilos de Columnas */
.footer-main-row h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 20px;
    position: relative;
}

/* Ajuste específico para el logo del Footer */
.footer-brand-col .footer-logo img {
    max-width: 200px;  /* Ajusta este valor según prefieras (ej: 100px, 150px) */
    height: auto;      /* Mantiene la proporción original */
    display: block;
    margin-bottom: 10px;
}

/* Columna de Enlaces: Botones Llamativos */
.footer-links-col ul { list-style: none; padding: 0; }
.footer-links-col li { margin-bottom: 12px; }

.footer-links-col a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    background: rgba(56, 189, 248, 0.08); /* Brillo azul muy sutil */
    padding: 12px 18px;
    border-radius: 10px;
    border: 1px solid rgba(56, 189, 248, 0.1);
    transition: 0.3s ease;
}

.footer-links-col a:hover {
    background: rgba(56, 189, 248, 0.2);
    transform: translateY(-2px); /* Efecto de flotación */
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.1);
}

/* Columna de Información */
.footer-info-col p {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 0.9rem;
}
.location-note {
    font-size: 0.8rem;
    color: #475569;
    margin-left: 28px; /* Alineación con el texto */
}

/* Fila de Derechos Autor */
.footer-bottom-row {
    text-align: center;
    font-size: 0.8rem;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    
    /* El toque mágico: Degradado brillante */
    background: linear-gradient(90deg, #fff, #38bdf8, #fff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Hace que el color del texto sea el degradado */
    
    font-weight: 500;
    letter-spacing: 0.5px;
    
    /* Brillo suave alrededor del texto */
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}