        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        body {
            background-color: #f5f5f5;
            padding-top: 80px; /* Aumentado para más espacio */
        }

        .nanbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: #d32f2f; /* Rojo */
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 40px; /* Aumentado el padding */
            box-shadow: 0 2px 15px rgba(0, 0, 0, 0.25); /* Sombra más pronunciada */
            z-index: 1000;
            min-height: 80px; /* Altura aumentada */
        }

        .logo {
            display: flex;
            align-items: center;
            flex: 0 0 auto;
        }

        .logo-text {
            font-weight: 800;
            font-size: 1.6rem; /* Tamaño ligeramente aumentado */
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Sombra más pronunciada */
            padding: 6px 12px; /* Padding aumentado */
            border-radius: 6px;
        }

        .socid {
            color: #d32f2f; /* Rojo */
            -webkit-text-stroke: 1px white;
            text-stroke: 1px white;
        }

        .unsxx {
            color: #1976d2; /* Azul */
            -webkit-text-stroke: 1px white;
            text-stroke: 1px white;
        }

        .nav-links {
            display: flex;
            list-style: none;
            align-items: center;
            gap: 35px; /* Espaciado moderno con gap */
            margin: 0;
            padding: 0;
        }

        .nav-links li {
            position: relative;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-weight: 600; /* Peso aumentado para mejor legibilidad */
            padding: 12px 0; /* Padding vertical aumentado */
            transition: all 0.4s ease; /* Transición más suave */
            position: relative;
            font-size: 1.05rem; /* Tamaño ligeramente aumentado */
            letter-spacing: 0.3px; /* Mejor espaciado de letras */
        }

        /* Efecto elegante al pasar el cursor */
        .nav-links a::after {
            content: '';
            position: absolute;
            width: 0;
            height: 3px; /* Línea más gruesa */
            bottom: 0;
            left: 0;
            background: linear-gradient(90deg, #ffcdd2, white, #ffcdd2); /* Gradiente elegante */
            transition: width 0.4s ease;
            border-radius: 2px;
        }

        .nav-links a:hover {
            color: #ffcdd2; /* Rojo claro */
            transform: translateY(-2px); /* Efecto de elevación */
        }

        .nav-links a:hover::after {
            width: 100%;
        }

        /* Menú hamburguesa para móviles */
        .hamburger {
            display: none;
            cursor: pointer;
            flex-direction: column;
            justify-content: space-between;
            width: 32px; /* Ligeramente más grande */
            height: 24px;
        }

        .hamburger span {
            display: block;
            height: 3px;
            width: 100%;
            background-color: white;
            border-radius: 3px;
            transition: all 0.4s ease; /* Transición más suave */
        }

        /* Botón de Scroll */
        .scroll-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 60px;
            height: 60px;
            background-color: #d32f2f; /* Rojo */
            color: white;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: none;
            align-items: center;
            justify-content: center;
            font-size: 24px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
            transition: all 0.4s ease;
            z-index: 999;
        }

        .scroll-to-top:hover {
            background-color: #b71c1c; /* Rojo más oscuro */
            transform: translateY(-3px);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
        }

        .scroll-to-top:active {
            transform: translateY(-1px);
        }

        .scroll-to-top.show {
            display: flex;
            animation: fadeIn 0.5s ease;
        }

        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* Responsive */
        @media screen and (max-width: 1024px) {
            .nanbar {
                padding: 16px 30px;
            }
            
            .nav-links {
                gap: 25px; /* Espaciado reducido para tablets */
            }
            
            .nav-links a {
                font-size: 1rem;
                padding: 10px 0;
            }

            .scroll-to-top {
                width: 55px;
                height: 55px;
                bottom: 25px;
                right: 25px;
            }
        }

        @media screen and (max-width: 768px) {
            .nanbar {
                padding: 14px 25px;
                min-height: 70px;
            }
            
            .nav-links {
                position: fixed;
                top: 70px;
                right: -100%;
                width: 75%;
                height: calc(100vh - 70px);
                background-color: #d32f2f;
                flex-direction: column;
                align-items: center;
                justify-content: flex-start; /* Alineación desde arriba */
                padding-top: 80px; /* Más espacio en la parte superior */
                transition: right 0.5s ease;
                box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3); /* Sombra más pronunciada */
                gap: 0;
            }

            .nav-links.active {
                right: 0;
            }

            .nav-links li {
                margin: 25px 0; /* Espaciado vertical aumentado */
                width: 80%;
                text-align: center;
            }

            .nav-links a {
                font-size: 1.2rem; /* Tamaño aumentado para móviles */
                padding: 15px 20px; /* Padding aumentado */
                width: 100%;
                display: block;
                border-radius: 8px;
                transition: all 0.3s ease;
                background: rgba(255, 255, 255, 0.1); /* Fondo sutil */
            }

            .nav-links a:hover {
                background: rgba(255, 255, 255, 0.2); /* Fondo al hover */
                transform: translateX(-5px); /* Efecto de deslizamiento */
            }

            .nav-links a::after {
                display: none; /* Ocultar línea inferior en móviles */
            }

            .hamburger {
                display: flex;
            }

            .scroll-to-top {
                width: 50px;
                height: 50px;
                bottom: 20px;
                right: 20px;
                font-size: 20px;
            }

            /* Animación del menú hamburguesa */
            .hamburger.active span:nth-child(1) {
                transform: translateY(10px) rotate(45deg);
            }

            .hamburger.active span:nth-child(2) {
                opacity: 0;
            }

            .hamburger.active span:nth-child(3) {
                transform: translateY(-10px) rotate(-45deg);
            }
        }

        @media screen and (max-width: 480px) {
            .nanbar {
                padding: 12px 20px;
            }
            
            .logo-text {
                font-size: 1.4rem;
            }
            
            .nav-links {
                width: 85%;
                padding-top: 20px;
            }
            
            .nav-links li {
                margin: 10px 0;
                width: 90%;
            }
            
            .nav-links a {
                font-size: 1.1rem;
                padding: 12px 15px;
            }

            .scroll-to-top {
                width: 45px;
                height: 45px;
                bottom: 15px;
                right: 15px;
                font-size: 18px;
            }
        }