      body {
        font-family: "Public Sans", sans-serif;
        overflow-x: hidden;
      }
      .material-symbols-outlined {
        font-variation-settings:
          "FILL" 0,
          "wght" 400,
          "GRAD" 0,
          "opsz" 24;
      }

      /* --- Barra de Carga Multicolor --- */
      #loading-bar-container {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        z-index: 100;
        background: rgba(255, 255, 255, 0.1);
      }
      #loading-bar {
        height: 100%;
        width: 0%;
        background: linear-gradient(90deg, #ec5b13, #efd22b, #2dfdb9, #ec5b13);
        background-size: 200% 100%;
        animation: moveGradient 2s linear infinite;
        transition:
          width 0.45s ease-out,
          opacity 0.25s ease;
        opacity: 1;
      }
      @keyframes moveGradient {
        0% {
          background-position: 0% 0%;
        }
        100% {
          background-position: 200% 0%;
        }
      }

      /* --- Menú Hamburguesa Animado (a X) --- */
      .hamburger-container {
        width: 45px;
        height: 45px;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 60;
        border-radius: 0.75rem;
      }
      .stick {
        width: 30px;
        height: 4px;
        border-radius: 4px;
        margin-bottom: 5px;
        background-color: #ec5b13;
        display: inline-block;
        transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      }
      .stick:last-child {
        margin-bottom: 0px;
      }

      /* Estado abierto -> X */
      .stick-1.open {
        transform: translateY(9px) rotate(45deg);
        background-color: #ff1456;
      }
      .stick-2.open {
        opacity: 0;
        transform: translateX(-20px);
      }
      .stick-3.open {
        transform: translateY(-9px) rotate(-45deg);
        background-color: #ff1456;
      }

      /* --- Menú Mobile Overlay --- */
      #mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: white;

        /* ✅ FIX: antes 55 (tapaba el nav). Ahora queda debajo del nav (z-50). */
        z-index: 45;

        display: flex;
        flex-direction: column;
        padding-top: 100px;
        transform: translateX(100%);
        transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
      }
      #mobile-menu.active {
        transform: translateX(0);
      }
      .dark #mobile-menu {
        background: #221610;
      }

      /* Indicador de sección activa */
      .nav-link-mobile.active {
        color: #ec5b13;
        background: rgba(236, 91, 19, 0.05);
      }
      .nav-link-mobile .arrow {
        transition:
          transform 0.3s ease,
          opacity 0.3s ease;
        opacity: 0;
      }
      .nav-link-mobile.active .arrow {
        opacity: 1;
        transform: translateX(5px);
      }

      /* --- Submenús escritorio --- */
      .desktop-dropdown {
        position: relative;
        padding-bottom: 18px;
        margin-bottom: -18px;
      }
      .desktop-dropdown::after {
        content: "";
        position: absolute;
        left: 0;
        top: 100%;
        width: 100%;
        height: 18px;
      }
      .desktop-submenu {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition:
          opacity 0.25s ease,
          transform 0.25s ease,
          visibility 0.25s ease;
        pointer-events: none;
        background: #FAEBD7 !important;
      }
      .desktop-dropdown:hover .desktop-submenu,
      .desktop-dropdown:focus-within .desktop-submenu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
      }
      .desktop-submenu-item {
        position: relative;
      }
      .desktop-submenu-trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        width: 100%;
      }
      .desktop-submenu-nested {
        position: absolute;
        left: calc(100% + 0.6rem);
        top: -0.25rem;
        min-width: 235px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(10px);
        transition:
          opacity 0.22s ease,
          transform 0.22s ease,
          visibility 0.22s ease;
        pointer-events: none;
        background: #FAEBD7 !important;
      }
      .desktop-submenu-item.has-children::after {
        content: "";
        position: absolute;
        top: 0;
        left: 100%;
        width: 1rem;
        height: 100%;
      }
      .desktop-submenu-item.has-children:hover .desktop-submenu-nested,
      .desktop-submenu-item.has-children:focus-within .desktop-submenu-nested {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
        pointer-events: auto;
      }

      /* --- Submenús mobile --- */
      .mobile-submenu-toggle,
      .mobile-child-toggle {
        color: inherit;
      }
      .mobile-submenu-icon,
      .mobile-child-icon {
        transition: transform 0.3s ease;
      }
      .mobile-accordion.open .mobile-submenu-icon,
      .mobile-child-accordion.open .mobile-child-icon {
        transform: rotate(180deg);
      }
      .mobile-submenu-panel {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
          max-height 0.35s ease,
          opacity 0.25s ease,
          padding-bottom 0.25s ease;
        padding-bottom: 0;
      }
      .mobile-accordion.open .mobile-submenu-panel {
        max-height: 1200px;
        opacity: 1;
        padding-bottom: 1rem;
      }
      .mobile-submenu-link,
      .mobile-submenu-main,
      .mobile-child-link {
        color: inherit;
        transition: all 0.25s ease;
      }
      .mobile-submenu-link:hover,
      .mobile-submenu-main:hover,
      .mobile-child-link:hover {
        background: rgba(236, 91, 19, 0.08);
        color: #ec5b13;
      }
      .mobile-child-accordion {
        border-radius: 1rem;
        overflow: hidden;
        margin-top: 0.4rem;
        background: rgba(236, 91, 19, 0.03);
      }
      .mobile-child-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.9rem 1rem;
        font-size: 1rem;
        font-weight: 600;
        text-align: left;
      }
      .mobile-child-panel {
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition:
          max-height 0.3s ease,
          opacity 0.22s ease,
          padding-bottom 0.22s ease;
        padding: 0 0.5rem 0 0.5rem;
      }
      .mobile-child-accordion.open .mobile-child-panel {
        max-height: 320px;
        opacity: 1;
        padding-bottom: 0.5rem;
      }


/* Estilos para móviles */
@media (max-width: 600px) {
  .Portada {
    border: 0px solid yellow;
    width: 100%; margin: 0px auto;
    background: transparent;
  }
  .splide {
    background: #585A5D;
  }
  .splide .bgImagen {
    background-repeat: no-repeat; 
    background-size: cover;
  }
  .splide_txt div.t2 { display:none; }
  .tituloMenu { font-size: 14px !important; }
  .widthMaster { width: 100%; padding: 0px 10px;}
}

/* Estilos para tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  

  body {
    font-size: 16px;
    background-color: #e0e0e0;
  }
}

/* Estilos para escritorio */
@media (min-width: 1025px) {
  .Portada {
    border: 0px solid blue;
    width: 1210px; margin: 0px auto;
    background: transparent;
  }
  .splide {
    background: #FFF;
  }
  .splide .bgImagen {
    background-repeat: no-repeat; 
    background-size: 1210px 550px;
  }

  .nav-btn { color: #FFFAFA !important; text-shadow: 1px 1px 0px #444; border-radius: 10px; padding: 10px;border: 1px solid transparent;}
  .nav-btn:hover { color: #f8f8FF !important; background-color: #D2C28F; border-color: white;}
  .navActive {  color: white; border-color: white; background-color: #D2C28F;}

  .widthMaster { width: 1200px; margin: 0px auto; }
}

.splide_btnNav {
  position: absolute; bottom: 0px; right: 10px; z-index: 10;
}

.splide_txt {
  margin-top: 430px; padding: 10px; padding-left: 40px; padding-right: 80px; background-color: rgba(0,0,0,0.5); width: auto; height: 120px;
}

.splide_txt div.t1 {
  font-size: 1.4em; color: #FFF; width: 100%; text-shadow: 1px 1px 0px #000, 0px 0px 4px #000; letter-spacing: 1px;
}
.splide_txt div.t2 {
  font-size: 1.1em; color: #F6D963; width: 100%; text-shadow: 1px 1px 0px #000, 0px 0px 4px #000; text-align: justify;
}
.splide__track { height: 550px; }

