* {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }
    
    body { 
      background-color: #0b1120; 
      color: #94a3b8;
    }
    
    /* ========================================= */
    /* HEADER SUPERIOR - LOGO FIJO */
    /* ========================================= */
    .main-header {
      position: fixed;
      top: 0;
      right: 0;
      left: 0;
      background: rgba(15, 23, 42, 0.5);
      backdrop-filter: blur(6px);
      border-bottom: 1px solid rgba(255, 255, 255, 0.05);
      z-index: 100;
      padding: 0.5rem 0;
    }
    
    .header-container {
      max-width: 1400px;
      margin: 0 auto;
      padding: 0 2rem;
      display: flex;
      justify-content: flex-end;
      align-items: center;
    }
    
    .logo-link {
      display: flex;
      align-items: center;
      gap: 8px;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.1);
      padding: 4px 12px;
      border-radius: 40px;
      transition: all 0.3s ease;
      border: 1px solid rgba(255, 255, 255, 0.15);
    }
    
    .logo-link:hover {
      background: rgba(255, 107, 0, 0.25);
      border-color: rgba(255, 107, 0, 0.5);
      transform: scale(1.02);
    }
    
    .logo-link img {
      height: 40px;
      width: auto;
      object-fit: contain;
    }
    
    .logo-text {
      display: flex;
      flex-direction: column;
      line-height: 1.2;
    }
    
    .logo-text span:first-child {
      font-size: 0.85rem;
      font-weight: 700;
      color: white;
      transition: color 0.3s;
    }
    
    .logo-link:hover .logo-text span:first-child {
      color: #ff6b00;
    }
    
    .logo-text span:last-child {
      font-size: 0.45rem;
      font-weight: bold;
      color: #ff6b00;
      letter-spacing: 0.2em;
      text-transform: uppercase;
    }
    
    /* ========================================= */
    /* PANEL DE NAVEGACIÓN VERTICAL */
    /* ========================================= */
    .nav-panel {
      position: fixed;
      right: 0;
      top: 0;
      width: 280px;
      height: 100vh;
      z-index: 90;
      background: linear-gradient(145deg, rgba(15, 23, 42, 0.98), rgba(10, 15, 30, 0.98));
      backdrop-filter: blur(15px);
      border-left: 1px solid rgba(255, 255, 255, 0.08);
      box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
      transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-y: auto;
      display: flex;
      flex-direction: column;
    }
    
    .nav-panel.hide-panel {
      transform: translateX(100%);
    }
    
    /* Botón de ocultar panel - VERSIÓN MÁS PEQUEÑA */
.nav-panel-hide-btn {
  position: absolute;
  left: -3px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;          /* ← Cambiado: más delgado (antes 30px) */
  height: 35px;         /* ← Cambiado: más corto (antes 50px) */
  background: linear-gradient(135deg, #ff6b35, #ff8c00);
  border-radius: 4px 0 0 4px;  /* ← Cambiado: bordes más pequeños */
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 95;
  color: white;
  box-shadow: -1px 0 5px rgba(0, 0, 0, 0.3); /* ← Sombra más sutil */
}

.nav-panel-hide-btn i {
  font-size: 0.7rem;    /* ← Icono más pequeño */
}

.nav-panel-hide-btn:hover {
  width: 20px;          /* ← Hover más pequeño */
  background: linear-gradient(135deg, #ff8c00, #ff6b35);
}
    
    .nav-panel-hide-btn:hover {
      width: 35px;
      background: linear-gradient(135deg, #ff8c00, #ff6b35);
    }
    
    .nav-panel-hide-btn i {
      font-size: 1rem;
    }
    
    /* Logo dentro del panel */
    .nav-logo {
      padding: 40px 20px 25px 20px;
      text-align: center;
      border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      margin-bottom: 20px;
    }
    
    .nav-logo a {
      display: flex;
      flex-direction: column;
      align-items: center;
      text-decoration: none;
      gap: 12px;
    }
    
    .nav-logo img {
      height: 70px;
      width: auto;
      object-fit: contain;
    }
    
    .nav-logo span {
      font-size: 1.2rem;
      font-weight: 700;
      color: white;
      letter-spacing: 1px;
    }
    
    .nav-logo span small {
      font-size: 0.7rem;
      color: #ff6b00;
      display: block;
      letter-spacing: 2px;
      margin-top: 5px;
    }
    
    .nav-panel-container {
      padding: 0 20px 20px 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }
    
    .nav-panel-menu {
      flex: 1;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }
    
    .nav-panel-item {
      display: flex;
      align-items: center;
      gap: 15px;
      padding: 12px 15px;
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.06);
      border-radius: 14px;
      text-decoration: none;
      color: #94a3b8;
      transition: all 0.3s ease;
      font-weight: 500;
      font-size: 0.9rem;
    }
    
    .nav-panel-item i {
      width: 24px;
      font-size: 1.1rem;
      color: #ff8c2e;
      transition: all 0.3s ease;
    }
    
    .nav-panel-item span {
      flex: 1;
    }
    
    .nav-panel-item:hover {
      background: rgba(255, 107, 0, 0.15);
      border-color: rgba(255, 107, 0, 0.3);
      transform: translateX(-5px);
      color: #ffffff;
    }
    
    .nav-panel-item:hover i {
      color: #ff6b35;
      transform: scale(1.1);
    }
    
    .nav-panel-item.active {
      background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 140, 0, 0.15));
      border-color: rgba(255, 107, 53, 0.4);
      color: #ffffff;
    }
    
    .nav-panel-item.active i {
      color: #ff6b35;
    }
    
    .nav-panel-footer {
      margin-top: auto;
      padding-top: 20px;
      border-top: 1px solid rgba(255, 255, 255, 0.08);
    }
    
    .nav-panel-social {
      display: flex;
      justify-content: center;
      gap: 15px;
      align-items: center;
    }
    
    .social-icon {
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 50%;
      color: #94a3b8;
      transition: all 0.3s ease;
      text-decoration: none;
      font-size: 1rem;
    }
    
    .social-icon:hover {
      background: linear-gradient(135deg, #ff6b35, #ff8c00);
      color: white;
      transform: translateY(-3px);
    }
    
    .nav-panel::-webkit-scrollbar {
      width: 4px;
    }
    
    .nav-panel::-webkit-scrollbar-track {
      background: rgba(255, 255, 255, 0.05);
    }
    
    .nav-panel::-webkit-scrollbar-thumb {
      background: #ff6b00;
      border-radius: 4px;
    }
    
    /* Botón flotante para mostrar el panel cuando está oculto */
    .nav-panel-toggle {
      position: fixed;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
      width: 45px;
      height: 90px;
      background: linear-gradient(135deg, #ff6b35, #ff8c00);
      border-radius: 30px 0 0 30px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      z-index: 89;
      transition: all 0.3s ease;
      box-shadow: -2px 0 15px rgba(255, 107, 53, 0.3);
      opacity: 0;
      visibility: hidden;
    }
    
    .nav-panel-toggle.visible {
      opacity: 1;
      visibility: visible;
    }
    
    .nav-panel-toggle:hover {
      width: 55px;
      background: linear-gradient(135deg, #ff8c00, #ff6b35);
    }
    
    .nav-panel-toggle i {
      color: white;
      font-size: 1.3rem;
    }
    
    /* ========================================= */
    /* CONTENIDO PRINCIPAL */
    /* ========================================= */
    .main-content {
      margin-right: 280px;
      padding-top: 80px;
      min-height: 100vh;
      transition: margin-right 0.3s ease;
    }
    
    .main-content.nav-hidden {
      margin-right: 20px;
    }
    
    .content-wrapper {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 2rem;
    }
    
    /* Botón menú móvil */
    .menu-toggle {
      display: none;
      position: fixed;
      top: 20px;
      right: 20px;
      background: rgba(255, 107, 0, 0.2);
      border: 1px solid rgba(255, 107, 0, 0.3);
      padding: 12px 16px;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s;
      color: white;
      font-size: 1.2rem;
      z-index: 101;
    }
    
    .menu-toggle:hover {
      background: rgba(255, 107, 0, 0.4);
      transform: scale(1.05);
    }
    
    /* Menú móvil */
    .mobile-menu {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background: rgba(15, 23, 42, 0.98);
      backdrop-filter: blur(20px);
      z-index: 200;
      padding: 80px 20px 20px;
      flex-direction: column;
      gap: 1rem;
    }
    
    .mobile-menu.active {
      display: flex;
    }
    
    .mobile-menu a {
      padding: 1rem;
      text-align: center;
      font-size: 1.1rem;
      font-weight: 600;
      color: white;
      text-decoration: none;
      background: rgba(255, 255, 255, 0.05);
      border-radius: 12px;
      transition: all 0.3s;
    }
    
    .mobile-menu a:hover {
      color: #ff6b00;
      background: rgba(255, 107, 0, 0.2);
    }
    
    .mobile-menu a.active-mobile {
      background: linear-gradient(135deg, #ff6b35, #ff8c00);
      color: white;
    }
    
    .mobile-menu .close-btn {
      position: absolute;
      top: 20px;
      right: 20px;
      background: rgba(255, 107, 0, 0.2);
      border: none;
      color: white;
      font-size: 1.5rem;
      padding: 10px 15px;
      border-radius: 12px;
      cursor: pointer;
      transition: all 0.3s;
    }
    
    .mobile-menu .close-btn:hover {
      background: rgba(255, 107, 0, 0.4);
      transform: scale(1.05);
    }
    
    @media (max-width: 1024px) {
      .nav-panel { width: 260px; }
      .main-content { margin-right: 260px; }
    }
    
    @media (max-width: 768px) {
      .nav-panel { display: none; }
      .nav-panel-toggle { display: none !important; }
      .nav-panel-hide-btn { display: none !important; }
      .menu-toggle { display: block; }
      .main-content { margin-right: 0; padding-top: 70px; }
      .content-wrapper { padding: 0 1rem; }
    }

.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: calc(280px + 20px);
    z-index: 1000;
    transition: right 0.3s ease;
  }
  
  .chatbot-container.panel-hidden {
    right: 20px;
  }
  
  .chatbot-buttons-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chatbot-main-btn {
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.5);
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    padding: 0;
    position: relative;
    z-index: 10;
  }
  
  .chatbot-main-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.7);
  }
  
  .chatbot-main-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .chatbot-main-btn.close-mode {
    background: linear-gradient(135deg, #dc2626, #ef4444);
  }
  
  .chatbot-secondary-buttons {
    position: absolute;
    bottom: 60px;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    pointer-events: none;
  }
  
  .chatbot-secondary-buttons.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  
  .chatbot-secondary-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
  }
  
  .chatbot-secondary-btn[data-action="asistente"] {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    transform: translateX(0px);
  }
  
  .chatbot-secondary-btn[data-action="whatsapp"] {
    background: linear-gradient(135deg, #25D366, #128C7E);
    transform: translateX(-15px);
  }
  
  .chatbot-secondary-btn[data-action="ubicacion"] {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    transform: translateX(-30px);
  }
  
  .chatbot-secondary-buttons.visible .chatbot-secondary-btn:hover {
    transform: scale(1.1) translateX(-5px);
  }
  
  .chatbot-secondary-btn i {
    color: white;
    font-size: 1.2rem;
  }
  
  .chatbot-tooltip {
    position: absolute;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 20;
    right: 55px;
    top: 50%;
    transform: translateY(-50%);
  }
  
  .chatbot-secondary-btn:hover .chatbot-tooltip {
    opacity: 1;
  }
  
  .asistente-modal {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background: linear-gradient(145deg, #0f172a, #0a0f1a);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
  }
  
  .asistente-header {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    padding: 12px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .asistente-header h3 {
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .asistente-header h3 i {
    font-size: 1.1rem;
  }
  
  .asistente-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
  }
  
  .asistente-messages {
    flex: 1;
    padding: 15px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 350px;
  }
  
  .asistente-message {
    display: flex;
    gap: 8px;
    max-width: 90%;
  }
  
  .asistente-message.bot {
    align-self: flex-start;
  }
  
  .asistente-message.user {
    align-self: flex-end;
    flex-direction: row-reverse;
  }
  
  .asistente-avatar {
    width: 28px;
    height: 28px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .asistente-avatar i {
    font-size: 0.8rem;
    color: #22c55e;
  }
  
  .asistente-bubble {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    line-height: 1.4;
    color: white;
  }
  
  .asistente-message.user .asistente-bubble {
    background: linear-gradient(135deg, #22c55e, #16a34a);
  }
  
  .preguntas-rapidas {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }
  
  .pregunta-btn {
    background: rgba(34, 197, 94, 0.2);
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    padding: 5px 12px;
    font-size: 0.65rem;
    color: #22c55e;
    cursor: pointer;
    transition: all 0.2s;
  }
  
  .pregunta-btn:hover {
    background: rgba(34, 197, 94, 0.4);
  }
  
  .asistente-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 8px;
    background: rgba(10, 15, 30, 0.95);
  }
  
  .asistente-input input {
    flex: 1;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: white;
    outline: none;
    font-size: 0.75rem;
  }
  
  .asistente-input button {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    color: white;
    cursor: pointer;
    font-size: 0.75rem;
  }
  
  .ubicacion-modal {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 350px;
    background: linear-gradient(145deg, #0f172a, #0a0f1a);
    border-radius: 16px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    z-index: 1002;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
  }
  
  .ubicacion-header {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    padding: 12px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .ubicacion-header h3 {
    font-size: 0.9rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .ubicacion-header h3 i {
    font-size: 1.1rem;
  }
  
  .ubicacion-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
  }
  
  .ubicacion-contenido {
    padding: 15px;
  }
  
  .direccion-info {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 15px;
    border-left: 3px solid #3b82f6;
  }
  
  .direccion-info p {
    color: white;
    font-size: 0.8rem;
    margin: 5px 0;
  }
  
  .direccion-info .titulo {
    font-weight: bold;
    color: #3b82f6;
    margin-bottom: 8px;
  }
  
  .mapa-container {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
  }
  
  .mapa-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    filter: invert(90%) hue-rotate(180deg) grayscale(80%);
  }
  
  .btn-abrir-maps {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
  }
  
  .btn-abrir-maps:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  }
  
  .chatbot-window {
    position: fixed;
    bottom: 85px;
    right: 20px;
    width: 320px;
    height: 450px;
    background: linear-gradient(145deg, #0f172a, #0a0f1a);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    display: none;
    flex-direction: column;
    overflow: hidden;
    z-index: 1001;
  }
  
  .chatbot-window.active {
    display: flex;
  }
  
  .chatbot-header {
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    padding: 12px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .chatbot-header h3 {
    font-size: 0.85rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
  }
  
  .chatbot-header h3 img {
    width: 25px;
    height: 25px;
    object-fit: contain;
  }
  
  .chatbot-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 1.1rem;
  }
  
  .chatbot-messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  
  .message {
    max-width: 85%;
    padding: 8px 12px;
    border-radius: 16px;
    font-size: 0.75rem;
    line-height: 1.4;
  }
  
  .message.bot {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    align-self: flex-start;
  }
  
  .message.user {
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    color: white;
    align-self: flex-end;
  }
  
  .quick-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
  }
  
  .quick-btn {
    background: rgba(255, 107, 0, 0.2);
    border: 1px solid rgba(255, 107, 0, 0.4);
    border-radius: 20px;
    padding: 4px 10px;
    font-size: 0.6rem;
    color: #ff8c2e;
    cursor: pointer;
  }
  
  .chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    gap: 8px;
    background: rgba(10, 15, 30, 0.9);
  }
  
  .chatbot-input input {
    flex: 1;
    padding: 8px 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: white;
    outline: none;
    font-size: 0.75rem;
  }
  
  .chatbot-input button {
    background: linear-gradient(135deg, #ff6b35, #ff8c00);
    border: none;
    border-radius: 20px;
    padding: 6px 15px;
    color: white;
    cursor: pointer;
    font-size: 0.75rem;
  }
  
  @keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @media (max-width: 768px) {
    .chatbot-container { right: 20px; }
    .chatbot-window { width: 300px; height: 420px; right: 10px; bottom: 75px; }
    .asistente-modal { width: 300px; right: 10px; bottom: 75px; }
    .ubicacion-modal { width: 300px; right: 10px; bottom: 75px; }
    .chatbot-secondary-btn[data-action="asistente"] { transform: translateX(0px); }
    .chatbot-secondary-btn[data-action="whatsapp"] { transform: translateX(-12px); }
    .chatbot-secondary-btn[data-action="ubicacion"] { transform: translateX(-24px); }
    .chatbot-tooltip { right: 50px; font-size: 0.65rem; padding: 4px 10px; }
  }
  
  @media (max-width: 480px) {
    .chatbot-window { width: 290px; height: 400px; }
    .asistente-modal { width: 290px; }
    .ubicacion-modal { width: 290px; }
    .chatbot-secondary-btn { width: 40px; height: 40px; }
    .chatbot-secondary-btn[data-action="asistente"] { transform: translateX(0px); }
    .chatbot-secondary-btn[data-action="whatsapp"] { transform: translateX(-10px); }
    .chatbot-secondary-btn[data-action="ubicacion"] { transform: translateX(-20px); }
    .chatbot-tooltip { right: 45px; }
    .mapa-container { height: 180px; }
  }

/* =====================================================
   Ajuste permitido: menú lateral automático por mouse.
   Mantiene colores, formas, botones y comportamiento responsive de la base.
   ===================================================== */
:root {
  --nav-closed: 72px;
  --nav-open: 280px;
}
html { scroll-behavior: smooth; }
body {
  min-height: 100vh;
  overflow-x: hidden;
}
@media (min-width: 769px) {
  body { padding-right: var(--nav-closed); }
  .nav-panel {
    width: var(--nav-closed) !important;
    overflow: visible !important;
    transition: width 0.36s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.36s ease !important;
  }
  .nav-panel:hover,
  .nav-panel:focus-within {
    width: var(--nav-open) !important;
    box-shadow: -12px 0 40px rgba(0, 0, 0, 0.55) !important;
  }
  .nav-panel.hide-panel { transform: none !important; }
  .nav-logo { padding: 26px 12px 18px !important; min-height: 116px; }
  .nav-logo img { height: 42px !important; transition: height 0.36s ease; }
  .nav-panel:hover .nav-logo img,
  .nav-panel:focus-within .nav-logo img { height: 70px !important; }
  .nav-logo span,
  .nav-panel-item span {
    opacity: 0;
    max-width: 0;
    overflow: hidden;
    white-space: nowrap;
    transform: translateX(8px);
    transition: opacity 0.24s ease, max-width 0.3s ease, transform 0.24s ease;
  }
  .nav-panel:hover .nav-logo span,
  .nav-panel:focus-within .nav-logo span,
  .nav-panel:hover .nav-panel-item span,
  .nav-panel:focus-within .nav-panel-item span {
    opacity: 1;
    max-width: 180px;
    transform: translateX(0);
  }
  .nav-panel-menu { padding-left: 12px !important; padding-right: 12px !important; }
  .nav-panel:not(:hover):not(:focus-within) .nav-panel-menu { align-items: center; }
  .nav-panel:not(:hover):not(:focus-within) .nav-panel-item {
    width: 50px !important;
    height: 50px !important;
    min-height: 50px !important;
    padding: 0 !important;
    margin: 0 auto !important;
    justify-content: center !important;
    gap: 0 !important;
  }
  .nav-panel:hover .nav-panel-item,
  .nav-panel:focus-within .nav-panel-item { justify-content: flex-start !important; gap: 15px !important; }
  .nav-panel-social { grid-template-columns: 1fr !important; }
  .nav-panel:hover .nav-panel-social,
  .nav-panel:focus-within .nav-panel-social { grid-template-columns: repeat(4, 1fr) !important; }
  .nav-panel-hide-btn {
    position: fixed !important;
    left: auto !important;
    right: var(--nav-closed) !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 30px !important;
    height: 72px !important;
    border-radius: 18px 0 0 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #ff6b35, #ff8c00) !important;
    box-shadow: -8px 0 28px rgba(255,107,0,.32) !important;
    z-index: 95 !important;
    transition: right 0.36s cubic-bezier(0.22, 1, 0.36, 1), width 0.28s ease !important;
  }
  .nav-panel:hover .nav-panel-hide-btn,
  .nav-panel:focus-within .nav-panel-hide-btn { right: var(--nav-open) !important; width: 38px !important; }
  .nav-panel-hide-btn i { font-size: 1rem !important; color: #fff !important; transition: transform 0.28s ease; }
  .nav-panel:hover .nav-panel-hide-btn i,
  .nav-panel:focus-within .nav-panel-hide-btn i { transform: rotate(180deg); }
  .nav-panel-toggle { display: none !important; }
  .chatbot-container { right: calc(var(--nav-closed) + 20px) !important; transition: right 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
  body.nav-expanded .chatbot-container { right: calc(var(--nav-open) + 20px) !important; }
}
@media (max-width: 768px) {
  body { padding-right: 0; }
  .nav-panel-hide-btn { display: none !important; }
  .chatbot-container { right: 20px !important; }
}


/* Ajuste puntual: al estar cerrada la barra lateral, los iconos sociales quedan ocultos para no desbordarse. */
@media (min-width: 769px) {
  .nav-panel:not(:hover):not(:focus-within) .nav-panel-footer {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateX(14px) !important;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease !important;
  }

  .nav-panel:hover .nav-panel-footer,
  .nav-panel:focus-within .nav-panel-footer {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateX(0) !important;
  }

  .nav-panel:not(:hover):not(:focus-within) .nav-panel-social {
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    gap: 0 !important;
  }
}
