:root {
  --primary-color: #00020A;
  --secondary-color: #0a0a0a;
  --accent-color: #3b82f6;
  --text-color: #ffffff;
  --text-secondary: #cccccc;
  --border-color: transparent;
  --nav-bg-transparent: rgba(0, 2, 10, 0.15);
  --nav-blur: 5px;
  --transition-speed: 0.3s;
}


header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 0;
  z-index: 100000;
  transition: all var(--transition-speed) ease;
  background: linear-gradient(to bottom, rgba(0, 2, 10, 0.15) 50%, rgba(0, 2, 10, 0.03) 90%, rgba(0, 2, 10, 0) 100%);
  backdrop-filter: blur(var(--nav-blur));
  -webkit-backdrop-filter: blur(var(--nav-blur));
  border: none;
  border-bottom: 0;
  box-shadow: none;
  outline: none;
  overflow: visible;
}


/* Estado oculto - navbar completamente oculto */
header.scrolled {
  padding: 8px 0;
  transform: translateY(-100%);
  background: rgba(0, 2, 10, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  border: none;
  border-bottom: 0;
  outline: none;
  z-index: 100000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Estado visible - solo logo VOCCI e iconos */
header.visible {
  transform: translateY(0);
  z-index: 100000;
}

/* Ocultar navegación cuando está en modo visible (scroll up) */
header.visible nav {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

/* Mostrar solo logo e iconos en modo visible */
header.visible .logo,
header.visible .header-icons {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Estado completo - en el tope de la página */
header:not(.scrolled):not(.visible) nav,
header.at-top nav {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: all 0.3s ease 0.1s;
}


.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 100001;
  transition: all var(--transition-speed) ease;
  border: none;
  border-bottom: 0;
  height: 40px;
}

header .container {
  border: none;
  border-bottom: 0;
  box-shadow: none;
  outline: none;
  position: relative;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}


.logo {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  transition: all var(--transition-speed) ease;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  line-height: 40px;
  color: var(--text-color) !important;
}


nav {
  display: block; /* Mostrar navegación en desktop */
  text-align: center;
  transition: all var(--transition-speed) ease;
}

/* Selector de idioma en navbar */
.navbar-language-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 20px;
}

.navbar-language-selector select {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-color);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  min-width: 80px;
  outline: none;
}

.navbar-language-selector select:hover {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.navbar-language-selector select:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25);
}

.navbar-language-selector option {
  background-color: var(--primary-color);
  color: var(--text-color);
  padding: 8px;
}

.navbar-language-selector.translating {
  position: relative;
  opacity: 0.7;
}

.navbar-language-selector.translating::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -20px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--accent-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}

/* Responsive design para selector de idioma */
@media (max-width: 768px) {
  .navbar-language-selector {
    margin-left: 10px;
  }
  
  .navbar-language-selector select {
    padding: 6px 10px;
    font-size: 0.8rem;
    min-width: 70px;
  }
}

@media (max-width: 480px) {
  .navbar-language-selector {
    margin-left: 5px;
  }
  
  .navbar-language-selector select {
    padding: 5px 8px;
    font-size: 0.75rem;
    min-width: 60px;
  }
}

nav {
  margin-top: 20px; /* Más separación del logo VOCCI */
  width: 100%;
  clear: both;
}

/* Ocultar iconos en navegación de desktop */
nav .nav-icon {
  display: none;
}

nav ul {
  display: flex;
  justify-content: center;
  gap: 40px; /* Más separación entre elementos */
  transition: transform var(--transition-speed) ease;
  border: none;
  border-bottom: 0;
  box-shadow: none;
  outline: none;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 100001;
}

nav ul li {
  position: relative;
  z-index: 100001;
  list-style: none;
}

nav ul li a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
  z-index: 100001;
  color: var(--text-secondary) !important;
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

nav ul li a:hover {
  color: var(--text-color) !important;
}


nav ul li a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent-color);
  transition: width var(--transition-speed) ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--accent-color) !important;
  font-weight: 600;
}


.header-icons {
  display: flex;
  gap: 25px;
  align-items: center;
  position: absolute;
  right: 20px;
  top: 0;
  height: 40px;
  transform: translateY(0);
  transition: all var(--transition-speed) ease;
}

.icon-notification,
.icon-chat,
.icon-search,
.vocci-icon-search {
  width: 24px;
  height: 24px;
  background-color: var(--text-color);
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-position: center;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-notification:hover,
.icon-chat:hover,
.icon-search:hover,
.vocci-icon-search:hover {
  background-color: var(--accent-color);
  opacity: 1;
  transform: scale(1.1);
}

.icon-notification {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1l-2-2zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z'/%3E%3C/svg%3E");
}

.icon-chat {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20 2H4c-1.1 0-2 .9-2 2v18l4-4h14c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm0 14H5.17L4 17.17V4h16v12zM7 9h2v2H7zm8 0h2v2h-2zm-4 0h2v2h-2z'/%3E%3C/svg%3E");
}

.icon-search,
.vocci-icon-search {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3C/svg%3E");
}

/* SELECTOR DE IDIOMA MINIMALISTA */
.navbar-language-selector {
  display: flex;
  align-items: center;
  position: relative;
}

.language-icon-btn {
  width: 24px;
  height: 24px;
  border: none !important;
  background: transparent !important;
  color: var(--text-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  opacity: 0.8;
  outline: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.language-icon-btn:focus {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.language-icon-btn:active {
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.language-icon-btn:hover {
  opacity: 1;
  color: var(--accent-color);
}



.language-icon-btn .language-text {
  font-size: 10px;
  font-weight: 600;
  color: inherit;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
}

.language-icon-btn i {
  font-size: 16px;
  color: inherit;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.language-icon-btn:hover i {
  color: var(--accent-color);
}

/* Animación de carga */
.navbar-language-selector.translating {
  position: relative;
  opacity: 0.7;
}

.navbar-language-selector.translating::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -25px;
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-color);
  border-top: 2px solid transparent;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  transform: translateY(-50%);
}

@keyframes spin {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}


/* SISTEMA DE MENÚ DE PERFIL COMPLETAMENTE NUEVO */
.user-profile-menu {
    position: relative;
    display: inline-block;
    z-index: 99999;
    width: auto;
    max-width: fit-content;
    overflow: visible;
}

.navbar-profile-trigger {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    border-radius: 50%;
    overflow: hidden;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    outline: none;
    position: relative;
}

.navbar-profile-trigger:hover {
    transform: scale(1.05);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.3);
}

.navbar-profile-trigger:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

.navbar-profile-image {
    width: 40px !important;
    height: 40px !important;
    max-width: 40px !important;
    max-height: 40px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: block;
    position: absolute;
    top: 0;
    left: 0;
}

.navbar-profile-icon {
    font-size: 20px;
    color: #fff;
}

/* Botón de iniciar sesión minimalista */
.navbar-login-btn {
    display: inline-block;
    padding: 8px 16px;
    background: transparent;
    color: var(--text-color);
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0.9;
}

.navbar-login-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-color);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.5);
}

.navbar-login-btn:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* Responsivo para el botón de login */
@media (max-width: 768px) {
    .navbar-login-btn {
        padding: 6px 12px;
        font-size: 13px;
    }
    
    .language-icon-btn {
        width: 22px;
        height: 22px;
        font-size: 9px;
    }
    
    .language-icon-btn .language-text {
        font-size: 9px;
    }
    
    .language-icon-btn i {
        font-size: 14px;
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .navbar-login-btn {
        padding: 6px 10px;
        min-width: 40px;
        justify-content: center;
    }
}

.navbar-profile-menu {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 220px;
    max-width: 220px;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-15px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.navbar-profile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.navbar-menu-arrow {
    position: absolute;
    top: -9px;
    right: 20px;
    width: 18px;
    height: 18px;
    background: #ffffff;
    transform: rotate(45deg);
    border-left: 1px solid rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

/* Cambiar color de la flecha cuando hay elemento activo */
.navbar-profile-menu:has(.navbar-menu-item.active) .navbar-menu-arrow {
    background: #e3f2fd !important;
    border-left: 1px solid #1976d2 !important;
    border-top: 1px solid #1976d2 !important;
}

/* Mantener color de la flecha durante hover del elemento activo */
.navbar-profile-menu:has(.navbar-menu-item.active:hover) .navbar-menu-arrow {
    background: #bbdefb !important;
    border-left: 1px solid #0d47a1 !important;
    border-top: 1px solid #0d47a1 !important;
}

.navbar-menu-items {
    padding: 0;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
}

.navbar-menu-item {
    display: block;
    padding: 14px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-family: inherit;
    cursor: pointer;
    box-sizing: border-box;
    margin: 0;
    overflow: hidden;
}

.navbar-menu-item-content {
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}

.navbar-menu-item:hover {
    background-color: #f8f9fa;
    color: #007bff;
}

.navbar-menu-item:hover {
    padding-left: 24px;
}

.navbar-menu-item:first-child {
    border-radius: 12px 12px 0 0;
}

.navbar-menu-item:last-child {
    border-radius: 0 0 12px 12px;
}

.navbar-menu-item.logout {
    border-top: 1px solid #eee;
    margin-top: 5px;
}

.navbar-menu-item.logout:hover {
    background-color: #ffebee;
    color: #d32f2f;
}

/* Estilo para elemento activo en el menú desplegable */
.navbar-menu-item.active {
    background-color: #e3f2fd;
    color: #1976d2;
    font-weight: 600;
    border-left: 3px solid #1976d2;
}

.navbar-menu-item.active {
    padding-left: 17px;
}

.navbar-menu-item.active:hover {
    background-color: #bbdefb;
    color: #0d47a1;
}

.navbar-menu-item.active:hover {
    padding-left: 21px;
}

.navbar-menu-item.active .navbar-menu-icon {
    color: #1976d2;
}

.navbar-menu-icon {
    margin-right: 12px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: inherit;
}

.navbar-menu-text {
    font-size: 14px;
    font-weight: 500;
    color: inherit;
}

/* Animación adicional para mejor UX */
@keyframes menuSlideIn {
    from {
        opacity: 0;
        transform: translateY(-15px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.navbar-profile-menu.active {
    animation: menuSlideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* NAVEGACIÓN MÓVIL INNOVADORA */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 2, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 0 20px 0;
  z-index: 100000;
}

.mobile-nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 5px;
}

.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 8px;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  text-decoration: none;
  min-width: 50px;
  position: relative;
  flex: 1;
  max-width: 70px;
}

.mobile-nav-item.active {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.mobile-nav-item.login-btn {
  background: linear-gradient(135deg, var(--accent-color), #2563eb);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile-nav-item.login-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

.mobile-nav-item.login-btn .mobile-nav-icon {
  color: #ffffff !important;
  font-size: 20px;
}

.mobile-nav-item.login-btn .mobile-nav-text {
  color: #ffffff !important;
  opacity: 1;
  transform: translateY(0);
  font-weight: 600;
  font-size: 11px;
}

.mobile-nav-icon {
  font-size: 18px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  margin-bottom: 4px;
}

.mobile-nav-item.active .mobile-nav-icon {
  color: #ffffff;
  transform: scale(1.1);
}

.mobile-nav-text {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  opacity: 0;
  transform: translateY(5px);
  transition: all 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.mobile-nav-item.active .mobile-nav-text {
  opacity: 1;
  transform: translateY(0);
  color: #ffffff;
}

/* Estilos para la foto de perfil móvil */
.mobile-profile-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
}

.mobile-profile-image {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
}

.mobile-nav-item.has-dropdown.active .mobile-profile-image {
  border-color: #ffffff;
  transform: scale(1.1);
}

/* Estilos específicos para el menú desplegable móvil */
.mobile-nav-item.has-dropdown {
  position: relative;
}

.mobile-dropdown-menu {
  position: absolute;
  bottom: 100%;
  right: 0;
  background: rgba(0, 2, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 100001;
  margin-bottom: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown-menu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-dropdown-item:last-child {
  border-bottom: none;
}

.mobile-dropdown-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* Estilo para elemento activo en el menú desplegable móvil */
.mobile-dropdown-item.active {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  font-weight: 600;
  border-left: 3px solid #3b82f6;
  padding-left: 13px;
}

.mobile-dropdown-item.active:hover {
  background: rgba(59, 130, 246, 0.3);
  color: #93c5fd;
}

.mobile-dropdown-item.active .mobile-dropdown-icon {
  color: #60a5fa;
}

.mobile-dropdown-item.logout {
  color: #ff6b6b;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-dropdown-item.logout:hover {
  background: rgba(255, 107, 107, 0.1);
}

.mobile-dropdown-icon {
  margin-right: 10px;
  font-size: 16px;
  width: 18px;
  text-align: center;
}

/* Hamburger Menu */
.hamburger-menu {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 5px;
  z-index: 100001;
}

.hamburger-line {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 3px 0;
  transition: 0.3s;
  border-radius: 2px;
}

.hamburger-menu.active .hamburger-line:nth-child(1) {
  transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger-menu.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active .hamburger-line:nth-child(3) {
  transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Sidebar */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -100%;
  width: 280px;
  height: 100vh;
  background: rgba(0, 2, 10, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 99999;
  transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 0 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-sidebar.active {
  left: 0;
}

.mobile-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-sidebar-nav {
  padding: 20px 0;
}

.mobile-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-sidebar-nav li {
  margin: 0;
}

.mobile-sidebar-nav a {
  display: flex;
  align-items: center;
  padding: 15px 25px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.mobile-sidebar-nav a:hover,
.mobile-sidebar-nav a.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-left-color: var(--accent-color);
}

.mobile-sidebar-nav .nav-icon {
  margin-right: 15px;
  font-size: 18px;
  width: 20px;
  text-align: center;
}

/* Ocultar header-icons en móviles - solo mostrar VOCCI */
.desktop-only {
  display: flex;
}

@media (max-width: 768px) {
  .header-content {
    justify-content: center;
    padding: 0 15px;
    position: relative;
  }

  .logo {
    position: static;
    transform: none;
    left: auto;
    text-align: center;
    font-size: 1.6rem;
  }

  nav {
    display: none;
  }

  /* Ocultar completamente header-icons en móviles */
  .desktop-only {
    display: none !important;
  }

  /* Mostrar solo el selector de idioma en móviles */
  .navbar-language-selector {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex !important;
    margin-top: 0;
  }
  
  .navbar-language-selector select {
    min-width: 100px;
    font-size: 0.85rem;
    padding: 6px 25px 6px 10px;
    background-size: 14px;
    background-position: right 8px center;
  }
  
  .navbar-language-selector.translating::after {
    right: -20px;
    width: 14px;
    height: 14px;
  }

  /* Ocultar completamente el menú hamburguesa en móviles */
  .hamburger-menu {
    display: none !important;
  }

  /* Ocultar cualquier elemento de menú toggle */
  .menu-toggle {
    display: none !important;
  }

  /* Ocultar sidebar móvil */
  .mobile-sidebar {
    display: none !important;
  }

  .mobile-sidebar-overlay {
    display: none !important;
  }

  .mobile-bottom-nav {
    display: block !important;
  }

  /* Ajustar padding del body para la navegación inferior */
  body {
    padding-bottom: 80px;
  }
}