/* Estilos base existentes */
body, html {
    min-height: 100vh;
    background: linear-gradient(135deg, #011126 0%, #02172F 60%, #0f2027 100%);
    background-attachment: fixed;
    font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
    overflow-x: hidden;
}

/* ===== 1. EFECTOS DE HOVER EN BOTONES ===== */
.btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(33, 230, 193, 0.3);
}

/* Efecto de brillo en hover */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Variantes de botones con efectos */
.btn-primary {
    background: linear-gradient(135deg, #0785F2, #21E6C1);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(7, 133, 242, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #21E6C1, #0785F2);
    box-shadow: 0 6px 20px rgba(33, 230, 193, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #21E6C1, #0785F2);
    color: #011126;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(33, 230, 193, 0.3);
}

.btn-success:hover {
    background: linear-gradient(135deg, #0785F2, #21E6C1);
    box-shadow: 0 6px 20px rgba(7, 133, 242, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b, #e74c3c);
    box-shadow: 0 6px 20px rgba(192, 57, 43, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(243, 156, 18, 0.3);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e67e22, #f39c12);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
}

/* ===== 2. TARJETAS GLASSMORPHISM ===== */
.glass-card {
    background: rgba(1, 17, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(7, 133, 242, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(7, 133, 242, 0.1);
    transition: all 0.3s ease;
    padding: 20px;
    margin-bottom: 20px;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(7, 133, 242, 0.2);
    border-color: rgba(33, 230, 193, 0.4);
}

.glass-card h2, .glass-card h3, .glass-card h4 {
    color: #07DBF2;
    margin-bottom: 15px;
    font-weight: 700;
}

.glass-card p {
    color: #fff;
    line-height: 1.6;
}

/* Variantes de glass cards */
.glass-card-primary {
    border-color: rgba(7, 133, 242, 0.3);
    box-shadow: 0 8px 32px rgba(7, 133, 242, 0.15);
}

.glass-card-success {
    border-color: rgba(33, 230, 193, 0.3);
    box-shadow: 0 8px 32px rgba(33, 230, 193, 0.15);
}

.glass-card-warning {
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 8px 32px rgba(243, 156, 18, 0.15);
}

.glass-card-danger {
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 8px 32px rgba(231, 76, 60, 0.15);
}

/* ===== 3. ANIMACIONES DE CARGA Y ESTADOS ===== */
/* Loading spinner */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(33, 230, 193, 0.3);
    border-top: 3px solid #21E6C1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Loading spinner pequeño */
.loading-spinner-sm {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(33, 230, 193, 0.3);
    border-top: 2px solid #21E6C1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Loading spinner grande */
.loading-spinner-lg {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(33, 230, 193, 0.3);
    border-top: 4px solid #21E6C1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Fade in para elementos */
.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Slide in desde la izquierda */
.slide-in-left {
    animation: slideInLeft 0.5s ease-out;
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Slide in desde la derecha */
.slide-in-right {
    animation: slideInRight 0.5s ease-out;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Scale in */
.scale-in {
    animation: scaleIn 0.4s ease-out;
}

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Pulse animation */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Bounce animation */
.bounce {
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Shake animation */
.shake {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* ===== ESTADOS DE CARGA ===== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(1, 17, 38, 0.9);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading-content {
    text-align: center;
    color: #fff;
}

.loading-text {
    margin-top: 15px;
    color: #21E6C1;
    font-weight: 600;
}

/* ===== MEJORAS ADICIONALES ===== */
/* Efecto de partículas de fondo */
.particles-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: #21E6C1;
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Scrollbar personalizado */
.custom-scrollbar::-webkit-scrollbar {
    width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: rgba(1, 17, 38, 0.3);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #21E6C1, #0785F2);
    border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #0785F2, #21E6C1);
}

/* Texto con gradiente */
.gradient-text {
    background: linear-gradient(135deg, #21E6C1, #0785F2, #EF1BF2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

/* Texto con sombra de neón */
.neon-text {
    color: #21E6C1;
    text-shadow: 0 0 10px #21E6C1, 0 0 20px #21E6C1, 0 0 30px #21E6C1;
}

/* ===== MEJORAS DE NAVEGACIÓN ===== */
.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #21E6C1, #0785F2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link.active {
    color: #21E6C1 !important;
    font-weight: 700;
}

/* Breadcrumbs */
.breadcrumb {
    background: rgba(1, 17, 38, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(7, 133, 242, 0.2);
    border-radius: 10px;
    padding: 12px 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9em;
}

.breadcrumb a {
    color: #21E6C1;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #07DBF2;
}

.breadcrumb .separator {
    color: #0785F2;
}

.breadcrumb .current {
    color: #fff;
    font-weight: 600;
}

/* Navegación rápida */
.quick-nav {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.quick-nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0785F2, #21E6C1);
    border: none;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(7, 133, 242, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(33, 230, 193, 0.4);
}

.quick-nav-btn.back-to-top {
    background: linear-gradient(135deg, #21E6C1, #0785F2);
}

/* Navegación por teclado */
.keyboard-nav {
    position: fixed;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.keyboard-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(1, 17, 38, 0.9);
    border: 1px solid rgba(7, 133, 242, 0.3);
    color: #21E6C1;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.keyboard-nav-btn:hover {
    background: rgba(7, 133, 242, 0.2);
    transform: scale(1.1);
}

/* Indicador de página actual */
.page-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #21E6C1, #0785F2, #EF1BF2);
    z-index: 1001;
    animation: pageLoad 0.5s ease-out;
}

@keyframes pageLoad {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

/* Estilos para teclas de acceso rápido */
kbd {
    background: linear-gradient(135deg, #0785F2, #21E6C1);
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8em;
    font-weight: bold;
    box-shadow: 0 2px 4px rgba(7, 133, 242, 0.3);
    margin: 0 2px;
}

.internal-nav {
    display: flex;
    justify-content: center;
    gap: 18px;
    background: rgba(1, 17, 38, 0.97);
    border-radius: 12px;
    margin: 18px auto 24px auto;
    padding: 10px 0;
    box-shadow: 0 4px 24px 0 #0785F288, 0 1.5px 8px #21E6C1aa;
    position: sticky;
    top: 0;
    z-index: 1200;
    flex-wrap: wrap;
    border: 1.5px solid #21E6C1;
    transition: box-shadow 0.2s, background 0.2s;
}
.internal-link {
    color: #21E6C1;
    font-weight: 600;
    text-decoration: none;
    font-size: 1.08em;
    padding: 7px 18px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
    position: relative;
}
.internal-link.active, .internal-link:hover {
    background: linear-gradient(90deg, #21E6C1 60%, #0785F2 100%);
    color: #011126 !important;
    box-shadow: 0 2px 8px #21E6C1aa;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-card {
        margin: 10px;
        padding: 15px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .loading-spinner {
        width: 30px;
        height: 30px;
    }
    
    .quick-nav {
        bottom: 10px;
        right: 10px;
    }
    
    .quick-nav-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1em;
    }
    
    .keyboard-nav {
        display: none;
    }
    
    .breadcrumb {
        font-size: 0.8em;
        padding: 10px 15px;
    }
}

@media (max-width: 900px) {
    .quick-nav {
        right: 8px;
        bottom: 8px;
        gap: 8px;
    }
    .quick-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1em;
        border-radius: 12px;
    }
    .internal-nav {
        gap: 8px;
        padding: 7px 0;
        top: 0;
        border-radius: 10px;
    }
    .internal-link {
        font-size: 0.98em;
        padding: 6px 10px;
    }
}

@media (max-width: 600px) {
    .quick-nav {
        right: 4px;
        bottom: 4px;
        gap: 6px;
        flex-direction: row;
        left: 0;
        width: 100vw;
        justify-content: center;
        z-index: 1001;
        pointer-events: none;
    }
    .quick-nav-btn {
        width: 36px;
        height: 36px;
        font-size: 0.95em;
        border-radius: 10px;
        margin: 0 2px;
        pointer-events: auto;
    }
    .quick-nav-btn.back-to-top {
        display: none !important;
    }
    .glass-card, .card {
        padding: 8px 2vw;
        margin: 8px 0;
    }
    .breadcrumb {
        font-size: 0.8em;
        padding: 7px 6px;
        margin-bottom: 10px;
    }
    .container {
        padding: 8px 2vw;
    }
    table th, table td {
        padding: 7px 4px;
        font-size: 0.93em;
    }
    .btn, .btn-primary, .btn-danger, .btn-success, .btn-warning {
        padding: 8px 12px;
        font-size: 0.95em;
    }
    .internal-nav {
        gap: 4px;
        padding: 4px 0;
        border-radius: 8px;
        margin: 10px 0 14px 0;
        top: 0;
    }
    .internal-link {
        font-size: 0.93em;
        padding: 5px 6px;
        border-radius: 6px;
    }
    .footer-social a {
        font-size: 1.7em;
        margin: 0 10px;
    }
    .footer-motivation {
        font-size: 1em;
        gap: 7px;
    }
    .footer-motivation i {
        font-size: 1.2em;
    }
}

@media (max-width: 420px) {
    .quick-nav {
        gap: 3px;
    }
    .quick-nav-btn {
        width: 30px;
        height: 30px;
        font-size: 0.85em;
        border-radius: 8px;
    }
    .glass-card, .card {
        padding: 4px 1vw;
    }
    .container {
        padding: 4px 1vw;
    }
}

/* Loader global */
.global-loader {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(1,17,38,0.92);
    z-index: 20000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.3s;
}
.global-loader .loading-spinner-lg {
    margin-bottom: 18px;
}
.global-loader .loader-text {
    color: #21E6C1;
    font-size: 1.2em;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
}

/* Tablas con iconos y detalles visuales */
.resaltada, tr.resaltada {
    background: linear-gradient(90deg, #21E6C133 0%, #0785F233 100%) !important;
    font-weight: bold;
    color: #21E6C1 !important;
}
.table-icon {
    color: #21E6C1;
    margin-right: 5px;
    font-size: 1.1em;
    vertical-align: middle;
}
.table-action {
    color: #0785F2;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.1em;
    margin: 0 3px;
    transition: color 0.2s, transform 0.2s;
}
.table-action:hover {
    color: #EF1BF2;
    transform: scale(1.2);
}
tr:nth-child(even) {
    background: #02172F33;
}
tr:hover {
    background: #011126cc !important;
    color: #21E6C1 !important;
}

/* Footer visual extra */
.main-footer {
    position: relative;
    overflow: hidden;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 4px;
    background: linear-gradient(90deg, #21E6C1, #0785F2, #EF1BF2);
    opacity: 0.7;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 18px 24px;
    flex-wrap: wrap;
    gap: 24px;
}
.footer-col {
    flex: 1 1 260px;
    min-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}
.footer-links-center {
    align-items: center;
    justify-content: center;
}
.footer-links-box {
    display: flex;
    flex-direction: row;
    gap: 18px;
    background: rgba(1, 17, 38, 0.85);
    border: 1.5px solid #21E6C1;
    border-radius: 12px;
    box-shadow: 0 2px 12px #21E6C144;
    padding: 10px 18px;
    margin: 0 auto;
}
.footer-links-box a {
    color: #21E6C1;
    background: none;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 2px 8px #21E6C144;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 1.05em;
    border-radius: 7px;
    padding: 5px 10px;
}
.footer-links-box a:hover {
    color: #EF1BF2;
    background: #21E6C122;
    text-shadow: 0 0 12px #EF1BF2, 0 0 8px #21E6C1;
}
.footer-social-circles {
    display: flex;
    flex-direction: row;
    gap: 12px;
    margin-top: 4px;
}
.footer-social-circles a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #21E6C1 60%, #0785F2 100%);
    color: #fff;
    font-size: 1.3em;
    box-shadow: 0 2px 12px #21E6C1aa;
    transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
    border: 2px solid #011126;
}
.footer-social-circles a:hover {
    background: linear-gradient(135deg, #EF1BF2 60%, #21E6C1 100%);
    color: #fff;
    transform: scale(1.13) rotate(-8deg);
    box-shadow: 0 0 18px #EF1BF2, 0 0 8px #21E6C1;
}
.footer-social-title {
    color: #21E6C1;
    font-size: 1em;
    font-weight: 600;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    text-align: right;
}
.footer-bottom {
    position: relative;
    z-index: 2;
}
.footer-links a {
    color: #21E6C1;
    background: linear-gradient(90deg, #21E6C1, #0785F2, #EF1BF2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 2px 8px #21E6C144;
}
.footer-links a:hover {
    color: #EF1BF2;
    -webkit-text-fill-color: #EF1BF2;
    text-shadow: 0 0 12px #EF1BF2, 0 0 8px #21E6C1;
}

.footer-social a {
    color: #21E6C1;
    margin: 0 7px;
    font-size: 1.4em;
    transition: color 0.2s, transform 0.2s, text-shadow 0.2s;
    text-shadow: 0 0 8px #21E6C1, 0 0 4px #0785F2;
}
.footer-social a:hover {
    color: #EF1BF2;
    transform: scale(1.18) rotate(-8deg);
    text-shadow: 0 0 16px #EF1BF2, 0 0 8px #21E6C1;
    background: linear-gradient(90deg, #21E6C1, #EF1BF2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-motivation {
    text-align: center;
    background: linear-gradient(90deg, #21E6C1, #EF1BF2, #0785F2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.15em;
    font-weight: 700;
    margin: 18px 0 0 0;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    filter: drop-shadow(0 2px 8px #21E6C1aa);
}
.footer-motivation i {
    color: #21E6C1;
    font-size: 1.4em;
    filter: drop-shadow(0 0 8px #21E6C1);
}
.footer-separator {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #21E6C1, #0785F2, #EF1BF2);
    opacity: 0.18;
    margin: 12px 0 8px 0;
    border-radius: 2px;
}

.footer-content.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 48px;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 18px 24px;
}
.footer-links-center {
    align-items: center;
    justify-content: center;
    margin-right: 40px;
}
.footer-links-box {
    display: flex;
    flex-direction: row;
    gap: 22px;
    background: rgba(1, 17, 38, 0.85);
    border: 1.5px solid #21E6C1;
    border-radius: 14px;
    box-shadow: 0 2px 12px #21E6C144;
    padding: 16px 24px;
    margin: 0 auto;
    justify-content: center;
    align-items: center;
    width: max-content;
    min-width: 220px;
    max-width: 420px;
}
.footer-social-col {
    align-items: flex-end;
    justify-content: flex-start;
    margin-left: 0;
}
.footer-social-circles {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 0;
    justify-content: flex-end;
}
@media (max-width: 1100px) {
    .footer-content.footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .footer-links-center {
        margin-right: 0;
    }
    .footer-social-col {
        align-items: center;
        justify-content: center;
        margin-top: 18px;
        margin-left: 0;
    }
    .footer-social-circles {
        justify-content: center;
    }
}
@media (max-width: 900px) {
    .footer-content.footer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        padding: 0 8vw 12px 8vw;
    }
    .footer-col, .footer-logo-contact, .footer-social-col {
        align-items: center;
        min-width: unset;
    }
    .footer-links-center {
        margin-right: 0;
    }
    .footer-links-box {
        gap: 10px;
        font-size: 0.98em;
        padding: 10px 8px;
        min-width: unset;
        max-width: 100vw;
    }
    .footer-social-circles {
        gap: 10px;
        justify-content: center;
    }
    .footer-social-title {
        margin-bottom: 4px;
        text-align: center;
    }
    .footer-motivation {
        margin: 18px 0 0 0;
        font-size: 1em;
    }
}
@media (max-width: 600px) {
    .footer-content.footer-grid {
        padding: 0 2vw 8px 2vw;
        gap: 10px;
    }
    .footer-logo img {
        height: 28px !important;
    }
    .footer-title {
        font-size: 1em;
    }
    .footer-links-box {
        gap: 4px;
        font-size: 0.93em;
        flex-wrap: wrap;
        padding: 8px 2px;
        max-width: 100vw;
    }
    .footer-social-circles a {
        width: 32px;
        height: 32px;
        font-size: 1.1em;
    }
    .footer-social-title {
        font-size: 0.93em;
    }
    .footer-motivation {
        margin: 12px 0 0 0;
        font-size: 0.95em;
    }
}

/* ===== FOOTER PROFESIONAL ===== */
.footer-pro {
  background: linear-gradient(120deg, #02172F 60%, #011126 100%);
  box-shadow: 0 -2px 32px #21e6c144;
  color: #fff;
  padding: 0;
  margin-top: 60px;
  position: relative;
  z-index: 10;
  font-family: 'Roboto', 'Segoe UI', Arial, sans-serif;
  overflow: hidden;
}

/* Cursor personalizado */
.custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #21E6C1 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transition: transform 0.3s ease;
  mix-blend-mode: difference;
}

.custom-cursor-follower {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #EF1BF2;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transition: transform 0.3s ease;
  box-shadow: 0 0 10px #EF1BF2;
}

/* Efectos de onda */
.wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.wave-effect {
  position: absolute;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(33, 230, 193, 0.3) 0%, transparent 70%);
  animation: waveExpand 1s ease-out forwards;
  pointer-events: none;
}

@keyframes waveExpand {
  0% {
    width: 0;
    height: 0;
    opacity: 1;
  }
  100% {
    width: 200px;
    height: 200px;
    opacity: 0;
  }
}

.wave {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(33, 230, 193, 0.1), transparent);
  animation: waveFloat 3s ease-in-out infinite;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 1s; }
.wave-3 { animation-delay: 2s; }

@keyframes waveFloat {
  0%, 100% { transform: translateY(0) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.1); opacity: 0.6; }
}

/* Partículas animadas del footer */
.footer-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.footer-particles .particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: linear-gradient(45deg, #21E6C1, #0785F2);
  border-radius: 50%;
  animation: floatParticle 6s infinite linear;
  opacity: 0.6;
  transition: transform 0.3s ease;
}

.footer-particles .particle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
  animation-duration: 8s;
}

.footer-particles .particle:nth-child(2) {
  top: 60%;
  left: 20%;
  animation-delay: 2s;
  animation-duration: 10s;
}

.footer-particles .particle:nth-child(3) {
  top: 30%;
  right: 15%;
  animation-delay: 4s;
  animation-duration: 7s;
}

.footer-particles .particle:nth-child(4) {
  top: 70%;
  right: 25%;
  animation-delay: 1s;
  animation-duration: 9s;
}

.footer-particles .particle:nth-child(5) {
  top: 50%;
  left: 50%;
  animation-delay: 3s;
  animation-duration: 6s;
}

.footer-particles .particle:nth-child(6) {
  top: 80%;
  left: 30%;
  animation-delay: 5s;
  animation-duration: 11s;
}

@keyframes floatParticle {
  0% {
    transform: translateY(0px) translateX(0px);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  90% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(-100px) translateX(50px);
    opacity: 0;
  }
}

/* Animaciones de scroll */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.scroll-reveal.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.scroll-reveal:nth-child(1) { transition-delay: 0.1s; }
.scroll-reveal:nth-child(2) { transition-delay: 0.2s; }
.scroll-reveal:nth-child(3) { transition-delay: 0.3s; }
.scroll-reveal:nth-child(4) { transition-delay: 0.4s; }
.scroll-reveal:nth-child(5) { transition-delay: 0.5s; }
.scroll-reveal:nth-child(6) { transition-delay: 0.6s; }

/* Efecto de typing */
.typing-text {
  position: relative;
  display: inline-block;
}

.typing-text::after {
  content: '';
  position: absolute;
  right: -4px;
  top: 0;
  height: 100%;
  width: 2px;
  background: #21E6C1;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

/* Micro-interacciones */
.micro-interaction {
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.micro-interaction.breathing {
  animation: breathing 2s ease-in-out infinite;
  transform: translateZ(20px);
  box-shadow: 
    0 10px 30px rgba(33, 230, 193, 0.3),
    0 0 20px rgba(33, 230, 193, 0.2);
}

.micro-interaction.clicked {
  animation: clickEffect 0.3s ease-out;
}

@keyframes breathing {
  0%, 100% { 
    transform: translateZ(20px) scale(1);
    box-shadow: 
      0 10px 30px rgba(33, 230, 193, 0.3),
      0 0 20px rgba(33, 230, 193, 0.2);
  }
  50% { 
    transform: translateZ(30px) scale(1.05);
    box-shadow: 
      0 15px 40px rgba(33, 230, 193, 0.4),
      0 0 30px rgba(33, 230, 193, 0.3);
  }
}

@keyframes clickEffect {
  0% { transform: translateZ(20px) scale(1); }
  50% { transform: translateZ(40px) scale(0.95); }
  100% { transform: translateZ(20px) scale(1); }
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 38px 24px 18px 24px;
  border-radius: 24px 24px 0 0;
  background: rgba(1,17,38,0.85);
  backdrop-filter: blur(2.5px);
  box-shadow: 0 0 32px #21e6c122;
  position: relative;
  z-index: 2;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.footer-col {
  flex: 1 1 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}

.footer-left {
  align-items: flex-start;
}

.footer-logo-container {
  position: relative;
  display: inline-block;
  transform-style: preserve-3d;
}

.footer-logo {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: 0 0 18px #21E6C1cc, 0 0 32px #0785f244;
  margin-bottom: 10px;
  background: #fff;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: transform 0.3s ease;
  transform: translateZ(10px);
}

.footer-logo:hover {
  transform: translateZ(20px) scale(1.1) rotate(5deg);
}

.logo-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #21E6C1 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0.3;
  animation: logoGlow 3s ease-in-out infinite alternate;
  z-index: 1;
}

.logo-shadow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) translateZ(-10px);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(5px);
  z-index: 0;
}

@keyframes logoGlow {
  0% {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(0.8);
  }
  100% {
    opacity: 0.5;
    transform: translate(-50%, -50%) scale(1.2);
  }
}

.footer-phrase {
  position: relative;
  margin-top: 8px;
  transform-style: preserve-3d;
}

.phrase-text {
  font-size: 1.1em;
  color: #21E6C1;
  font-weight: 700;
  text-shadow: 0 2px 8px #011126cc;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
  transform: translateZ(5px);
}

.phrase-underline {
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #21E6C1, #0785F2);
  animation: underlineGrow 2s ease-out forwards;
  animation-delay: 1s;
}

.phrase-shadow {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #EF1BF2, #0785F2);
  filter: blur(3px);
  opacity: 0.3;
  z-index: 1;
  transform: translateZ(-5px);
}

@keyframes underlineGrow {
  to {
    width: 100%;
  }
}

.footer-center {
  align-items: center;
}

.footer-links-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #EF1BF2;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links-title i {
  animation: compassSpin 4s linear infinite;
}

@keyframes compassSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 7px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  transform: translateZ(5px);
}

.footer-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(33, 230, 193, 0.2), transparent);
  transition: left 0.5s;
}

.footer-links a:hover::before {
  left: 100%;
}

.footer-links a:hover {
  background: linear-gradient(90deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  box-shadow: 0 0 18px #21E6C1cc;
  transform: translateZ(15px) scale(1.07) translateX(5px);
}

.footer-right {
  align-items: flex-end;
}

.footer-social-title {
  font-size: 1.1em;
  font-weight: 700;
  color: #21E6C1;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social-title i {
  animation: sharePulse 2s ease-in-out infinite;
}

@keyframes sharePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5em;
  box-shadow: 0 2px 12px #21E6C1cc, 0 0 18px #0785f244;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  transform: translateZ(10px);
}

.social-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(239, 27, 242, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.social-shadow {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(3px);
  transform: translateZ(-5px);
}

.footer-social-icon:hover .social-glow {
  opacity: 1;
}

.footer-social-icon:hover {
  background: linear-gradient(135deg, #EF1BF2 60%, #21E6C1 100%);
  color: #fff;
  transform: translateZ(20px) scale(1.13) rotate(-8deg);
  box-shadow: 0 0 24px #EF1BF2cc;
}

.footer-bottom {
  text-align: center;
  color: #b6c3d1;
  font-size: 0.98em;
  padding: 12px 0 8px 0;
  background: none;
  border-top: 1.5px solid #21E6C144;
  margin-top: 0;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 2;
}

.footer-copyright {
  margin-bottom: 8px;
}

.footer-decoration {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 8px;
}

.decoration-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #21E6C1, transparent);
}

.decoration-dot {
  width: 6px;
  height: 6px;
  background: #EF1BF2;
  border-radius: 50%;
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
}

/* Ocultar cursor personalizado en móviles */
@media (max-width: 768px) {
  .custom-cursor,
  .custom-cursor-follower {
    display: none;
  }
  
  .wave-effect {
    display: none;
  }
}

@media (max-width: 900px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 28px 6vw 10px 6vw;
  }
  .footer-col {
    align-items: center !important;
    min-width: 0;
    width: 100%;
    gap: 10px;
  }
  .footer-left, .footer-right, .footer-center {
    align-items: center !important;
    text-align: center;
  }
  .footer-social-title, .footer-links-title {
    text-align: center;
    width: 100%;
  }
  .footer-particles .particle {
    display: none;
  }
}

@media (max-width: 600px) {
  .footer-container {
    padding: 18px 2vw 6px 2vw;
    border-radius: 18px 18px 0 0;
  }
  .footer-logo {
    width: 48px;
    height: 48px;
  }
  .phrase-text {
    font-size: 0.98em;
  }
  .footer-links a {
    font-size: 0.97em;
    padding: 6px 8px;
  }
  .footer-social-icon {
    width: 36px;
    height: 36px;
    font-size: 1.1em;
  }
}

a:focus, button:focus, .btn:focus, .footer-links a:focus, .footer-social-icon:focus {
  outline: 2.5px solid #21E6C1;
  outline-offset: 2px;
  box-shadow: 0 0 0 4px #21e6c155;
  background: #011126;
  color: #21E6C1;
  z-index: 10;
}

/* ===== ALERTAS VISUALES Y ANIMACIONES SUAVES ===== */
.alert {
  padding: 16px 24px;
  border-radius: 9px;
  margin-bottom: 22px;
  font-size: 1.08em;
  text-align: center;
  font-weight: 500;
  box-shadow: 0 4px 24px #21e6c122, 0 0 12px #0785f244;
  border: none;
  display: flex;
  align-items: center;
  gap: 14px;
  justify-content: center;
  opacity: 0;
  transform: translateY(30px) scale(0.97);
  animation: alertIn 0.7s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}

@keyframes alertIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.97); }
  80% { opacity: 1; transform: translateY(-4px) scale(1.03); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.alert-success {
  background: linear-gradient(90deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  border-left: 6px solid #21E6C1;
}

.alert-danger {
  background: linear-gradient(90deg, #EF1BF2 60%, #c0392b 100%);
  color: #fff;
  border-left: 6px solid #EF1BF2;
}

.alert-info {
  background: linear-gradient(90deg, #0785F2 60%, #21E6C1 100%);
  color: #fff;
  border-left: 6px solid #0785F2;
}

.alert-warning {
  background: linear-gradient(90deg, #f39c12 60%, #e67e22 100%);
  color: #fff;
  border-left: 6px solid #f39c12;
}

.alert i {
  font-size: 1.5em;
  margin-right: 6px;
  filter: drop-shadow(0 0 6px #21E6C1cc);
}

/* Animación de salida para alertas */
.alert.hide {
  animation: alertOut 0.5s cubic-bezier(.68,-0.55,.27,1.55) forwards;
}
@keyframes alertOut {
  0% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(30px) scale(0.97); }
}

/* ===== MODALES Y LOADER ===== */
.modal, .resumen-card, #modalResumenEst {
  animation: modalIn 0.5s cubic-bezier(.68,-0.55,.27,1.55);
}
@keyframes modalIn {
  0% { transform: scale(0.97) translateY(40px); opacity: 0; }
  100% { transform: scale(1) translateY(0); opacity: 1; }
}

.global-loader {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(1,17,38,0.85);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  animation: fadeIn 0.5s;
}
.global-loader .loading-spinner-lg {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(33, 230, 193, 0.3);
  border-top: 4px solid #21E6C1;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 18px;
}
.global-loader .loader-text {
  color: #21E6C1;
  font-size: 1.2em;
  font-weight: 700;
  letter-spacing: 1px;
  text-shadow: 0 2px 8px #011126cc;
}

/* ===== MODAL DE BIENVENIDA ===== */
.welcome-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(1,17,38,0.65); /* Más transparente */
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.5s;
}
@keyframes fadeInModal {
  from { opacity: 0; }
  to { opacity: 1; }
}
.welcome-modal-content {
  background: linear-gradient(120deg, #02172F 60%, #011126 100%);
  border-radius: 18px;
  box-shadow: 0 8px 40px #21e6c144, 0 0 32px #0785f244;
  padding: 38px 32px 28px 32px;
  max-width: 400px;
  width: 90vw;
  text-align: center;
  border: 2.5px solid #21E6C1;
  animation: modalIn 0.6s cubic-bezier(.68,-0.55,.27,1.55);
  position: relative;
}
.welcome-modal-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
}
.welcome-modal-header i {
  font-size: 2.5em;
  color: #EF1BF2;
  animation: iconPop 0.7s;
  filter: drop-shadow(0 0 12px #21E6C1cc);
}
.welcome-modal-header h2 {
  color: #21E6C1;
  font-size: 1.5em;
  font-weight: 700;
  margin: 0;
}
.welcome-modal-body p {
  color: #fff;
  font-size: 1.1em;
  margin-bottom: 18px;
  line-height: 1.5;
}
.welcome-modal-close {
  background: linear-gradient(90deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  border: none;
  border-radius: 7px;
  padding: 12px 32px;
  font-size: 1.1em;
  font-weight: 700;
  box-shadow: 0 2px 8px #07DBF222, 0 0 12px #21E6C155;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-top: 8px;
}
.welcome-modal-close:hover {
  background: linear-gradient(90deg, #EF1BF2 60%, #21E6C1 100%);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 0 18px #EF1BF2cc;
}
@media (max-width: 600px) {
  .welcome-modal-content {
    padding: 18px 6vw 18px 6vw;
    max-width: 98vw;
  }
  .welcome-modal-header h2 {
    font-size: 1.1em;
  }
  .welcome-modal-body p {
    font-size: 0.98em;
  }
  .welcome-modal-close {
    font-size: 1em;
    padding: 10px 18px;
  }
}

/* ===== MODAL DE ÉXITO REGISTRO ===== */
.modal-exito {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(1,17,38,0.65);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInModal 0.5s;
}
.modal-exito-content {
  background: linear-gradient(120deg, #02172F 60%, #011126 100%);
  border-radius: 18px;
  box-shadow: 0 8px 40px #21e6c144, 0 0 32px #0785f244;
  padding: 38px 32px 28px 32px;
  max-width: 350px;
  width: 90vw;
  text-align: center;
  border: 2.5px solid #21E6C1;
  animation: modalIn 0.6s cubic-bezier(.68,-0.55,.27,1.55);
  position: relative;
}
.modal-exito-content i {
  font-size: 2.5em;
  color: #21E6C1;
  margin-bottom: 10px;
  animation: iconPop 0.7s;
  filter: drop-shadow(0 0 12px #21E6C1cc);
}
.modal-exito-content h2 {
  color: #21E6C1;
  font-size: 1.3em;
  font-weight: 700;
  margin: 0 0 8px 0;
}
.modal-exito-content p {
  color: #fff;
  font-size: 1.08em;
  margin-bottom: 18px;
  line-height: 1.5;
}
.modal-exito-close {
  background: linear-gradient(90deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  border: none;
  border-radius: 7px;
  padding: 10px 28px;
  font-size: 1.08em;
  font-weight: 700;
  box-shadow: 0 2px 8px #07DBF222, 0 0 12px #21E6C155;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  margin-top: 8px;
}
.modal-exito-close:hover {
  background: linear-gradient(90deg, #EF1BF2 60%, #21E6C1 100%);
  color: #fff;
  transform: scale(1.07);
  box-shadow: 0 0 18px #EF1BF2cc;
}
@media (max-width: 600px) {
  .modal-exito-content {
    padding: 18px 6vw 18px 6vw;
    max-width: 98vw;
  }
  .modal-exito-content h2 {
    font-size: 1.1em;
  }
  .modal-exito-content p {
    font-size: 0.98em;
  }
  .modal-exito-close {
    font-size: 1em;
    padding: 8px 16px;
  }
}

/* ===== SOBRE NOSOTROS ===== */
.sobre-main {
  min-height: 80vh;
  padding: 48px 0 32px 0;
  background: none;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sobre-hero {
  text-align: center;
  margin-bottom: 36px;
}
.sobre-title {
  font-size: 2.2em;
  color: #21E6C1;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}
.sobre-title i {
  color: #EF1BF2;
  font-size: 1.2em;
  filter: drop-shadow(0 0 8px #21E6C1cc);
}
.sobre-desc {
  color: #fff;
  font-size: 1.18em;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 2px 8px #011126cc;
}
.sobre-info {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  justify-content: center;
  margin-top: 18px;
}
.sobre-card {
  background: rgba(1, 17, 38, 0.92);
  border-radius: 14px;
  box-shadow: 0 4px 24px #21e6c122, 0 0 12px #0785f244;
  border: 2px solid #21E6C1;
  padding: 28px 32px 18px 32px;
  min-width: 220px;
  max-width: 320px;
  flex: 1 1 220px;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  position: relative;
}
.sobre-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 8px 32px #21E6C1cc;
  border-color: #EF1BF2;
}
.sobre-card h2 {
  color: #21E6C1;
  font-size: 1.15em;
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
}
.sobre-card i {
  color: #EF1BF2;
  font-size: 1.1em;
}
.sobre-card p {
  color: #fff;
  font-size: 1.05em;
  margin: 0;
  word-break: break-all;
}
.sobre-social {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 8px;
}
.sobre-social-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #21E6C1 60%, #0785F2 100%);
  color: #011126;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3em;
  box-shadow: 0 2px 12px #21E6C1cc, 0 0 18px #0785f244;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.sobre-social-icon:hover {
  background: linear-gradient(135deg, #EF1BF2 60%, #21E6C1 100%);
  color: #fff;
  transform: scale(1.13) rotate(-8deg);
  box-shadow: 0 0 24px #EF1BF2cc;
}
@media (max-width: 900px) {
  .sobre-info {
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }
  .sobre-card {
    min-width: 0;
    width: 90vw;
    max-width: 98vw;
  }
}

/* ===== CORRECCIÓN DE Z-INDEX PARA MENÚ SUPERIOR Y DESPLEGABLES ===== */
.menu-superior, .navbar, .internal-nav {
    z-index: 2000 !important;
    position: sticky !important;
    top: 0;
    background: rgba(1, 17, 38, 0.97) !important;
}
.menu-superior select, .navbar select, .internal-nav select, .dropdown-menu {
    z-index: 2100 !important;
    background: #02172F !important;
    position: relative;
    color: #21E6C1;
    border-radius: 8px;
    border: 1.5px solid #21E6C1;
}

/* ===== CORRECCIÓN DE Z-INDEX PARA NAVEGACIÓN RÁPIDA DE ADMIN.PHP ===== */
.admin-nav-fijo, .navbar, .main-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 12px #02172F88;
}

body, .main-content, .container-principal {
    padding-top: 80px !important; /* Ajusta según la altura real de la barra */
}

/* Asegurar que los inputs y sus contenedores no tengan z-index alto */
.form-control, input, select, textarea {
    z-index: auto !important;
}








