/* 1) Sólo box-sizing en todos los elementos (incluidos ::before y ::after) */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* 2) Reseteamos margen y padding sólo en body (y html si quieres) */
html,
body {
  margin: 0;
  padding: 0;
}

body {
  background: url("../imagenes/patron.webp");
  background-color: #ffffff;

}

/* ========= Sticky overall ========= */
.menu {
  position: sticky;
  top: 0;
  z-index: 1000;
}

/* ========= Top bar ========= */
.menu__top-bar {
  background: #0d315e;
  color: #fff;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
}

.menu__top-bar .menu__inner {
  max-width: 2000px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.menu__item {
  display: flex;
  align-items: center;
}

.menu__item+.menu__item {
  margin-left: 24px;
}

.menu__icon {
  font-variation-settings: 'FILL' 0, 'wght' 400;
  font-size: 20px;
  color: #fff;
}

.menu__text {
  margin-left: 8px;
  white-space: nowrap;
  font-size: 12px;
  font-family: Arial;
}

.menu__top-bar .menu__item {
  text-decoration: none;
  color: inherit;
}

.menu__nav-bar {
  position: fixed;
  top: 30px;
  left: 0;
  right: 0;
  height: 80px;
  z-index: 1000;
}


.menu__nav-bar .menu__inner.menu__nav-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
  position: relative;
  z-index: 1;
  background: url("../imgs/fondos/TexturaTransparente.png");
}



.menu__nav-wrapper {
  display: flex;
  align-items: center;
  background: #0d315e;
  padding: 0px 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  max-width: 2000px;
  border-radius: 20px;
}

/* ========= Logo ========= */
.menu__logo img {
  position: absolute;
  top: 15px;
  left: 10px;
  z-index: 10;
  margin-left: 0;
  height: 100px;
}

/* Media query específico para 903x434 */
@media screen and (max-width: 903px) and (max-height: 434px) {
  .menu__logo img {
    height: 70px;
    top: 10px;
    left: 5px;
  }

  .menu__nav-wrapper {
    padding: 0px 15px;
  }

  .menu__nav-bar .menu__inner.menu__nav-inner {
    justify-content: flex-end;
  }

  .menu__nav-list {
    margin-right: 15px;
  }

  .menu__nav-item a {
    padding: 20px 0px;
    font-size: 14px;
  }

  .menu__social-icons {
    margin-left: 10px;
  }

  .menu__social-icons a {
    width: 30px;
    height: 30px;
  }

  .menu__social-icons img {
    width: 15px;
  }
}

.menu__nav-list {
  display: flex;
  list-style: none;
  background: #ffffff;
  overflow: hidden;
}

.menu__nav-list {
  display: flex;
  align-items: center;
}

.menu__nav-list li+li::before {
  content: "";
  display: block;
  width: 1px;
  height: 4em;
  background: rgba(255, 255, 255, 0.4);
  border: 4px;
  margin: -42px 16px;
}

.menu__nav-item a {
  display: block;
  padding: 30px 0px;
  color: #000;
  height: 0px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  transition: color 0.2s;
  margin-left: 12px;
  align-items: center;
  padding-left: 20px;
}

.menu__nav-item a {
  transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.3s ease;
  font-family: 'Arial';
  font-weight: bold;
}

.menu__nav-item a:hover {
  transform: scale(0.85);
  color: #e30613;
}

.menu__social-icons {
  display: flex;
  align-items: center;
  margin-left: 32px;
}

.menu__social-icons a {
  background: #0d315e;
  width: 40px;
  height: 40px;
  margin-left: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;

}

.menu__social-icons a:hover {
  background: #e30613;
}

.menu__social-icons img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

/* —— Animación y drag & drop para el texto de sucursales —— */
.menu__top-bar .menu__item:nth-child(3) {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
}

.menu__top-bar .menu__item:nth-child(3).dragging {
  cursor: grabbing;
}

.menu__top-bar .menu__item:nth-child(3) .menu__text {
  display: inline-block;
  white-space: nowrap;
  transition: transform 0.4s ease;
}

/*PARA EL CARRUSEL*/
.menu__top-bar .menu__item.location-carousel {
  overflow: hidden;
  width: 500px;
  position: relative;
  user-select: none;
  display: flex;
  /* <-- importante para ícono + texto */
  align-items: center;
  gap: 8px;
  /* espacio entre ícono y texto */
  cursor: grab;
}

.menu__top-bar .menu__item.location-carousel .carousel-track {
  flex: 1 1 0;
  display: flex;
  min-width: 0;
}

.menu__top-bar .menu__item.location-carousel .carousel-item {
  flex: 0 0 100%;
  white-space: nowrap;
  color: #fff;
  font-size: 12px;
  padding-left: 4px;
  margin-left: 25px;
  font-family: Arial;
}

.menu__top-bar .menu__item.location-carousel {
  cursor: grab;
}

.menu__top-bar .menu__item.location-carousel:active {
  cursor: grabbing;
}

.menu__top-bar .menu__item.location-carousel .location-link {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding-right: 4px;
  z-index: 2;
  /* asegúrate de que esté arriba */
  background: transparent;
}

/* ========= Responsive ========= */
/* Tablets (≤992px) */
@media (max-width: 992px) {
  .menu__nav-bar .menu__inner.menu__nav-inner {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    justify-content: flex-start;
  }

  .menu__logo img {
    height: 80px;
    margin-bottom: 12px;
  }

  .menu__nav-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px;
  }

  .menu__social-icons {
    margin-top: 16px;
  }
}

.menu__social-icons a svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Asegura que al hacer hover siga blanco el ícono */
.menu__social-icons a:hover svg {
  fill: #fff;
}

/* Móviles (≤576px) */
/* ——— Hamburguesa (por defecto oculta) ——— */
.menu__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu__toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background: #fff;
}

/* En desktop siempre visible y sin animación */
@media (min-width: 577px) {
  .menu__nav-wrapper {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: auto !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    margin: 0 auto !important;
    padding: 0px 30px !important;
  }
}


/* ========= Responsive ========= */
/* Tablets (≤992px) */
@media (max-width: 992px) {
  .menu__nav-bar .menu__inner.menu__nav-inner {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    justify-content: flex-start;
  }

  .menu__logo img {
    height: 90px;
    margin-bottom: 12px;
  }

  .menu__nav-wrapper {
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 16px;
    padding: 12px;
  }

  .menu__social-icons {
    margin-top: 16px;
  }
}

.menu__social-icons a svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* Asegura que al hacer hover siga blanco el ícono */
.menu__social-icons a:hover svg {
  fill: #fff;
}

@media (min-width: 577px) {
  .menu__nav-wrapper {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: 1000px !important;
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
    margin: 0 0px !important;
  }
}

/* ======================= 
  (iPad Mini: 768px de ancho) 
  ======================= */
@media (max-width: 768px) {
  .menu__logo img {
    height: 80px;
    top: -240px;
    left: 32px;
  }

  .menu__top-bar .menu__inner {
    padding: 0 40px;
    height: 28px;
  }

  .menu__top-bar .menu__item {
    margin-left: -40px;
  }

  .menu__text {
    font-size: 10px;
  }

  .menu__icon {
    font-size: 18px;
  }

  .menu__top-bar .menu__item.location-carousel {
    width: 360px;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-item {
    font-size: 10px;
  }

  .menu__nav-bar .menu__inner.menu__nav-inner {
    padding: 10px 20px;
    justify-content: center;
  }

  .menu__nav-item a {
    font-size: 14px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .menu__social-icons a {
    width: 32px;
    height: 32px;
    margin-left: 8px;
  }

  .menu__social-icons img {
    width: 16px;
    height: 16px;
  }

  /* 8) Si quieres, puedes ocultar el texto “Lun-Vie: …” en iPad para ganar espacio */
  .menu__top-bar a[href="/horarios"] .menu__text {
    display: none;
  }
}


/* Animaciones keyframes */
@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideOut {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}

/* ==================== BOTONES FLOTANTES ABAJO ==================== */
.float-btn {
  position: fixed;
  bottom: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1001;
  /* encima del menú */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background-color: #3a76b2;
  /* Ajusta el color que prefieras */
  transition: transform 0.2s ease;
}

.float-btn:hover {
  transform: scale(1.1);
}

/* Icono telefónico (Material Symbols) dentro del botón */
.float-btn-left .material-symbols-rounded {
  font-size: 32px;
  color: #fff;
}

/* Ajusta la posición a la izquierda */
.float-btn-left {
  left: 20px;
  text-decoration: none;
}

/* Ajusta la posición a la derecha */
.float-btn-right {
  right: 20px;
  background: transparent;
  box-shadow: none;
}

/* Imagen de WhatsApp */
.float-btn-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

/* animamos las dos barras con transición suave */
.menu__top-bar,
.menu__nav-bar {
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.5, 1), opacity 0.5s ease-out;
  will-change: transform, opacity;
}

/* cuando añadamos .hide-on-scroll al header, movemos ambas hacia arriba */
.menu.hide-on-scroll .menu__top-bar {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
}

.menu.hide-on-scroll .menu__nav-bar {
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1) 0.05s, opacity 0.4s ease-out 0.05s;
}

/* Asegurar que la transición de vuelta sea suave */
.menu:not(.hide-on-scroll) .menu__top-bar,
.menu:not(.hide-on-scroll) .menu__nav-bar {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease-out;
}


@media (min-width: 1200px) {
  .menu__nav-wrapper {

    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: 845px !important;
    background: #ffffff !important;
    box-shadow: 1px 4px 2px rgb(112, 112, 112) !important;
    border: 1px solid #5a5a5a !important;
    margin: 0 0px !important;
    opacity: 0.5;
  }

  .menu__logo img {
    position: absolute;
    top: 8px;
    left: 39px;
    z-index: 10;
    margin-left: 0;
    height: 74px;
  }

  .seccion-viguetas {
    background-color: var(--color-fondo);
    color: var(--color-texto);
    text-align: center;
    padding-top: var(--padding-seccion);
    padding-bottom: var(--padding-seccion);
    max-width: 1000px;
    margin: 0 auto;
    margin-top: -3vw;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
  }

  .menu__nav-item a {
    display: block;
    padding: 30px 0px;
    color: #000;
    height: 0px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
    margin-left: 0px;
    align-items: center;
    padding-left: 20px;
  }

  .menu__nav-item a {
    transition: transform 0.5s ease, box-shadow 0.5s ease, color 0.3s ease;
    font-family: 'Arial';
    font-weight: bold;
  }
}

/* ====================================================
   Override para que el toggler sea siempre responsive
   ==================================================== */



@media (max-width: 1024px) and (min-width: 768px) {
  .menu__logo img {
    position: absolute;
    top: -95px;
    left: -27px;
    height: 320px;
    z-index: 10;
  }

  .menu__nav-bar {
    height: 50px;
  }

  .menu__nav-wrapper {
    height: 45px;
    padding: 0 8px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    width: 550px;
    margin: 0 0 0 150px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    border: 1px solid black;
  }

  .menu__nav-item a {
    font-size: 15px;
    padding: 9px 10px;
    margin: 0 2px;
    font-weight: bold;
  }

  .menu__social-icons {
    margin-left: -2px;
  }

  .menu__social-icons a {
    width: 24px;
    height: 24px;
    margin-left: 4px;
  }

  .menu__social-icons img {
    width: 12px;
    height: 12px;
  }

  .menu__top-bar .menu__inner {
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
  }

  .menu__top-bar .menu__item.location-carousel {
    display: flex;
    align-items: center;
    width: 280px;
    /* ancho total de la zona del ícono + carrusel */
    gap: 7px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    position: relative;
  }

  .menu__top-bar .menu__item.location-carousel .location-link {
    flex: 0 0 auto;
    width: 24px;
    /* espacio reservado para el ícono */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-track {
    flex: 1 1 auto;
    width: calc(280px - 30px);
    /* espacio restante después del ícono */

    display: flex;
    align-items: center;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-item {
    flex: 0 0 99%;
    font-size: 11px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding-left: 4px;
    color: #fff;
  }


  .menu__icon {
    font-size: 16px;
  }
}

@media (max-width: 390px) and (min-height: 750px) {
  .menu__logo img {
    position: absolute;
    top: -95px;
    left: -5px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }
}

@media (width: 1366px) and (height: 768px) {
  .menu__logo img {
    height: 280px;
    top: -95px;
    left: 10px;
  }

  .menu__nav-bar {
    height: 65px;
  }

  .menu__nav-wrapper {
    width: 900px;
    height: 60px;
    max-width: 90%;
    padding: 0 16px;
    background: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 30px;
    border: 1px solid #ccc;
  }

  .menu__nav-item a {
    font-size: 15px;
    padding: 12px 10px;
    margin: 0 3px;
  }

  .menu__social-icons a {
    width: 28px;
    height: 28px;
    margin-left: 6px;
  }

  .menu__social-icons img {
    width: 14px;
    height: 14px;
  }

  .menu__top-bar .menu__item.location-carousel {
    width: 300px;
    gap: 5px;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-item {
    font-size: 11px;
    padding-left: 2px;
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .menu__icon {
    font-size: 18px;
  }

  .menu__text {
    font-size: 11px;
  }

  .carrusel-slide {
    height: 900px;
  }
}

/* ========== 1920×1080 ========== */
@media screen and (width: 1920px) and (height: 1080px) {
  .menu__logo img {
    height: 120px;
  }

  .menu__nav-wrapper {
    max-width: 1800px;
    padding: 0 40px;
  }

  .menu__nav-item a {
    font-size: 18px;
    padding: 32px 28px;
  }

  .menu__social-icons a {
    width: 48px;
    height: 48px;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-item {
    flex: 55 0 103%;
    white-space: nowrap;
    color: #fff;
    font-size: 12px;
    padding-left: 4px;
    margin-left: 25px;
    font-family: Arial;
  }
}

/* ========== 1680×1050 ========== */
@media screen and (width: 1680px) and (height: 1050px) {
  .menu__logo img {
    height: 110px;
  }

  .menu__nav-wrapper {
    max-width: 1600px;
    padding: 0 35px;
  }

  .menu__nav-item a {
    font-size: 17px;
    padding: 30px 26px;
  }

  .menu__social-icons a {
    width: 44px;
    height: 44px;
  }

}

@media(max-width: 1920px) {
  .menu__nav-wrapper {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: 1000px !important;
    background: #ffffff !important;
    box-shadow: 1px 4px 2px rgb(112, 112, 112) !important;
    border: 1px solid #5a5a5a !important;
    margin: 0 0px !important;
    opacity: 0.5;
    height: 65px;
  }

  .menu__nav-list {
    display: flex;
    align-items: center;
    height: 30px;
  }
}

/* ========== 1600×900 ========== */
@media screen and (width: 1600px) and (height: 900px) {
  .menu__logo img {
    height: 105px;
  }

  .menu__nav-wrapper {
    max-width: 1500px;
    padding: 0 32px;
  }

  .menu__nav-item a {
    font-size: 16px;
    padding: 28px 24px;
  }

  .menu__social-icons a {
    width: 42px;
    height: 42px;
  }
}

/* ========== 1440×900 ========== */
@media screen and (width: 1440px) and (height: 900px) {
  .menu__logo img {
    height: 100px;
  }

  .menu__nav-wrapper {
    max-width: 1400px;
    padding: 0 30px;
  }

  .menu__nav-item a {
    font-size: 16px;
    padding: 28px 22px;
  }

  .menu__social-icons a {
    width: 40px;
    height: 40px;
  }
}

/* ========== 1366×768 & 1360×768 ========== */
@media screen and ((width: 1366px) and (height: 768px)),
screen and ((width: 1360px) and (height: 768px)) {
  .menu__logo img {
    height: 95px;
  }

  .menu__nav-wrapper {
    max-width: 1300px;
    padding: 0 28px;
  }

  .menu__nav-item a {
    font-size: 15px;
    padding: 26px 20px;
  }

  .menu__social-icons a {
    width: 38px;
    height: 38px;
  }
}

/* ========== 1280×1024, 1280×960, 1280×800, 1280×768 ========== */
@media screen and (width: 1280px) and (height: 1024px),
screen and (width: 1280px) and (height: 960px),
screen and (width: 1280px) and (height: 800px),
screen and (width: 1280px) and (height: 768px) {
  .menu__logo img {
    height: 90px;
  }

  .menu__nav-wrapper {
    max-width: 1200px;
    padding: 0 26px;
  }

  .menu__nav-item a {
    font-size: 15px;
    padding: 24px 18px;
  }

  .menu__social-icons a {
    width: 36px;
    height: 36px;
  }
}

/* ========== 1280×720 ========== */
@media screen and (width: 1280px) and (height: 720px) {
  .menu__logo img {
    height: 85px;
  }

  .menu__nav-wrapper {
    max-width: 1150px;
    padding: 0 24px;
  }

  .menu__nav-item a {
    font-size: 14px;
    padding: 22px 16px;
  }

  .menu__social-icons a {
    width: 34px;
    height: 34px;
  }
}

/* ========== 1152×864 ========== */
@media screen and (width: 1152px) and (height: 864px) {

  /* Agrandar logo y reposicionar */
  .menu__logo img {
    height: 120px;
    /* antes 80px */
    top: 80px;
    /* ajustar vertical */
    left: 16px;
    /* desplazar un poco hacia la derecha */
  }

  /* Pe­gar el nav a la derecha */
  .menu__inner.menu__nav-inner {
    justify-content: flex-end !important;
    padding-right: 40px;
    /* espacio al borde */
  }

  /* Ensanchar wrapper para que no quede tan centrado */
  .menu__nav-wrapper {
    max-width: 1000px;
    padding: 0 20px;
  }

  /* Ajustar espaciado de ítems */
  .menu__nav-item a {
    padding: 24px 12px;
    font-size: 16px;
  }

  /* Iconos de redes */
  .menu__social-icons a {
    width: 36px;
    height: 36px;
  }
}

/* ========== 1024×768 ========== */
@media screen and (width: 1024px) and (height: 768px) {

  /* Logo un poco más pequeño y alineado a la izquierda del nav */
  .menu__logo img {
    height: 100px;
    top: 6px;
    left: 12px;
  }

  /* Reducir ancho del wrapper y centrar menú respecto al logo */
  .menu__nav-wrapper {
    max-width: 850px;
    padding: 0 16px;
  }

  .menu__inner.menu__nav-inner {
    justify-content: space-between !important;
    padding: 0 10px;
  }

  /* Menú: bajar tamaño y padding para que no se corte */
  .menu__nav-item a {
    padding: 20px 10px;
    font-size: 15px;
  }

  /* Redes: iconos ligeramente más chiquitos */
  .menu__social-icons a {
    width: 32px;
    height: 32px;

  }

  /* Iconos de la top‐bar */
  .menu__icon {
    font-size: 18px;
  }
}

/* ========== 800×600 ========== */
@media screen and (width: 800px) and (height: 600px) {

  /* Logo más compacto */
  .menu__logo img {
    height: 80px;
    top: 4px;
    left: 8px;
  }

  /* Wrapper más estrecho y menos padding */
  .menu__nav-wrapper {
    max-width: 700px;
    padding: 0 12px;
  }

  .menu__inner.menu__nav-inner {
    justify-content: space-between !important;
    padding: 0 8px;
  }

  /* Menú: reducir aún más padding/fuente para que quepa */
  .menu__nav-item a {
    padding: 16px 8px;
    font-size: 14px;
  }

  /* Ocultar redes para ganar espacio */
  .menu__social-icons {
    display: none;
  }

  /* Iconos de la top‐bar */
  .menu__icon {
    font-size: 16px;
  }
}


/* ========== 1025px – 1199px ========== */
@media screen and (min-width: 1025px) and (max-width: 1199px) {

  /* Logo */
  .menu__logo img {
    height: 250px;
    top: -69px;
    left: 20px;
  }

  .menu__nav-wrapper {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: 830px !important;
    background: #ffffff !important;
    box-shadow: 1px 4px 2px rgb(112, 112, 112) !important;
    border: 1px solid #5a5a5a !important;
    margin: 0 -15px !important;
    opacity: 0.5;
  }

  /* Alineamiento del menú */
  .menu__inner.menu__nav-inner {
    justify-content: space-between;
    /* repartir logo, enlaces y redes */
    padding: 0 12px;
  }

  /* Enlaces del menú */
  .menu__nav-item a {
    font-size: 15px;
    padding: 22px 10px;
    margin-left: -2px;
  }

  /* Iconos sociales */
  .menu__social-icons a {
    width: 34px;
    height: 34px;
  }

  .menu__social-icons img {
    width: 18px;
    height: 18px;
  }

  /* Iconos de top‐bar */
  .menu__icon {
    font-size: 19px;
  }
}

/* ========== Menor o igual a 1024px ========== */
@media screen and (max-width: 1024px) {

  /* — Ajuste del contenedor del menú — */
  .menu__nav-wrapper {
    display: flex !important;
    max-height: none !important;
    opacity: 1 !important;
    overflow: visible !important;
    position: static !important;
    width: 800px !important;
    background: #ffffff !important;
    box-shadow: 1px 4px 2px rgba(112, 112, 112, 0.5) !important;
    border: 1px solid #5a5a5a !important;
    margin: 0 -15px !important;
  }

  /* — Logo un poco más pequeño y bien alineado — */
  .menu__logo img {
    height: 231px;
    top: -64px;
    left: -114px;
  }

  /* — Menú principal: menor padding y fuente — */
  .menu__nav-item a {
    font-size: 15px;
    padding: 20px 9px;
    margin-top: -20px;
  }

  /* — Iconos sociales más compactos — */
  .menu__social-icons a {
    width: 32px;
    height: 32px;
  }

  .menu__social-icons img {
    width: 16px;
    height: 16px;
  }

  /* — Iconos de la top‐bar también se achican — */
  .menu__icon {
    font-size: 18px;
    /* de 20px a 18px */
  }

  .menu__social-icons {
    margin-top: 0px;
  }

  .menu__nav-bar .menu__inner.menu__nav-inner {
    height: auto;
    padding: 16px 0;
    flex-direction: column;
    justify-content: flex-start;
    margin-left: 106px;
  }

  .menu__nav-list {
    display: flex;
    align-items: center;
    height: 30px;
    margin-left: 72px;
  }

}

@media (min-width: 3000px) {
  .carrusel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
  }
}

/*CELULAR */
@media (max-width: 576px) {
  .menu__toggle-outer {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 335px;
    height: 70px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.11);
    margin: 285px auto 8px auto;
    border-radius: 20px;
  }

  .menu__toggle-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 270px;
    height: 45px;
    background: #0d315e;
    border-radius: 20px;

  }

  .menu__toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 22px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10;
  }

  .menu__toggle span {
    display: block;
    width: 100%;
    height: 3.5px;
    background: #fff;
    margin: -1.5px 0;
    transition: all 0.3s ease-in-out;
  }

  /* Animación cuando el menú está abierto */
  .menu__nav-wrapper.open+.menu__toggle span:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
  }

  .menu__nav-wrapper.open+.menu__toggle span:nth-child(2) {
    opacity: 0;
  }

  .menu__nav-wrapper.open+.menu__toggle span:nth-child(3) {
    transform: translateY(-4px) rotate(-45deg);
  }

  /* Animación cuando el menú está cerrado */
  .menu__nav-wrapper:not(.open)+.menu__toggle span:nth-child(1) {
    transform: translateY(0) rotate(0);
  }

  .menu__nav-wrapper:not(.open)+.menu__toggle span:nth-child(2) {
    opacity: 1;
  }

  .menu__nav-wrapper:not(.open)+.menu__toggle span:nth-child(3) {
    transform: translateY(0) rotate(0);
  }

  /* Oculta el antiguo botón hamburguesa fuera del contenedor */
  .menu__top-bar .menu__inner {
    display: none !important;
  }

  .menu__logo img {
    margin-left: 30px;
  }

  /* ---- Menú móvil con animación tipo sublista ---- */
  .menu__nav-wrapper {
    display: none !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.35s;
  }

  .menu__nav-wrapper.open {
    display: flex !important;
    max-height: 600px;
    opacity: 1;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
  }

  /* Asegura que el menú esté oculto cuando no está abierto */
  .menu__nav-wrapper:not(.open) {
    display: none !important;
  }
}

/* Opcional: Para que el fondo blanco (menú) haga contraste */
@media (max-width: 576px) {
  .menu__nav-wrapper {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 1.5s cubic-bezier(0.2, 0, 0.1, 1), opacity 1.2s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    width: 85vw;
    left: 7.5vw;
    top: -80px;
    background: #fff;
    z-index: 1000;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16);
    margin: 0;
    padding: 12px 0 16px 0;
    will-change: max-height, opacity;
  }

  .menu__nav-wrapper.open {
    max-height: 700px;
    opacity: 1;
    margin-top: 113px;
    transition: max-height 1.5s cubic-bezier(0.2, 0, 0.1, 1), opacity 1.2s ease-out;
  }
}


@media (max-width: 576px) {
  .menu__nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: transparent;
    margin: 0;
    padding: 0;
    box-shadow: none;
    margin-top: -10px;
  }

  .menu__social-icons {
    margin-top: 330px;
  }

  .menu__nav-item {
    border-bottom: 1px solid #dbe4ee;
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .menu__nav-item:last-child {
    border-bottom: none;
  }

  .menu__nav-item a {
    background: transparent;
    color: #0d315e;
    font-weight: 700;
    font-size: 18px;
    margin: 0;
    padding: 20px 0;
    text-align: center;
    width: 100%;
    transition: background 0.2s, color 0.2s;
    border-bottom: none;
    box-shadow: none;
    height: auto;
  }

  .menu__nav-item.active a,
  .menu__nav-item a:focus,
  .menu__nav-item a:hover {
    color: #e30613;
    background: #f5f7fb;
  }
}

@media (max-width: 576px) {
  .menu__nav-wrapper.open .menu__nav-item {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }

  .menu__nav-wrapper.closing .menu__nav-item {
    opacity: 1;
    transform: translateY(0);
    animation: slideOut 0.45s forwards;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }
}

/* ————— Ajustes para que el nav‐bar quede debajo en móvil (≤576px) ————— */
@media (max-width: 576px) {

  /* Forzar que la nav‐bar no esté fija y se sitúe tras el top‐bar */
  .menu__nav-bar {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
  }

  /* Separar el nav‐wrapper unos píxeles para no solaparse */
  .menu__nav-wrapper {
    margin-top: 8px !important;
  }
}


/* ————— Móvil (≤576px): en la top‐bar solo el carrusel ————— */
@media (max-width: 576px) {

  /* 1) Asegura que la fila interna esté visible */
  .menu__top-bar .menu__inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
  }

  /* 2) Oculta todos los items menos el carrusel */
  .menu__top-bar .menu__inner .menu__item {
    display: none !important;
  }

  .menu__top-bar .menu__inner .menu__item.location-carousel {
    display: flex !important;
  }

  /* 3) Deja la nav‐bar (logo + toggle) intacta */
  .menu__nav-bar,
  .menu__nav-wrapper {
    display: flex !important;
  }

}


@media (max-width: 576px) {
  main.qs-container.qs-main {
    margin-top: calc(-115px + 80px + 1rem) !important;
  }

  .menu__logo img {
    position: absolute;
    top: -80px;
    left: -43px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }

  /* Forzar que no haya scroll horizontal */
  html,
  body {
    overflow-x: hidden !important;
  }

  /* El contenedor exterior del toggler ocupa casi todo el ancho */
  .menu__toggle-outer {
    width: calc(100vw - 2rem) !important;
    max-width: 100% !important;
    margin: 1rem auto !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  /* El interior del toggler rellena todo el outer */
  .menu__toggle-inner {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0.5rem 1rem !important;
    background: #0d315e !important;
    border-radius: 20px !important;
    margin-top: 326px;
    height: 10px;
  }

  /* El propio icono se centra dentro */
  .menu__toggle {
    margin: 0 auto !important;
  }

  .menu__nav-wrapper.open {
    margin-top: 50px;
  }

  /* 1) Anula el top original */
  .menu__nav-wrapper {
    top: auto !important;
  }

  .menu__nav-wrapper.open {
    position: absolute !important;
    top: calc(110px + 70px + 1rem) !important;
  }

  /* 1) Toggle fijo justo debajo de la top-bar */
  .menu__toggle-outer {
    position: fixed !important;
    top: 30px;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 2rem) !important;
    max-width: 100% !important;
    z-index: 1002 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .menu__toggle-inner {
    width: 100% !important;
    padding: 0.5rem 1rem !important;
    background: #0d315e !important;
    border-radius: 20px !important;
  }

  /* 2) Dropdown fijo justo debajo del toggle */
  .menu__nav-wrapper.open {
    position: fixed !important;
    top: calc(130px + 70px + 1rem) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100vw - 2rem) !important;
    max-width: 100% !important;
    height: 450px;
    margin: 0 !important;
    padding: 1rem 0 !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
    z-index: 1001 !important;
  }

  /* 3) Asegurar que top-bar y nav-bar sigan fijos */
  .menu,
  .menu__top-bar,
  .menu__nav-bar {
    position: fixed !important;
    width: 100% !important;
    left: 0;
    z-index: 1003 !important;
  }

  /* 4) Evitar scroll horizontal */
  html,
  body {
    overflow-x: hidden !important;
  }

  /* 1) Quitar ese padding enorme */
  .menu__top-bar .menu__inner {
    padding: 0 1rem !important;
    width: 100% !important;
    max-width: 100% !important;
    justify-content: flex-start !important;
  }

  /* 2) Que el carrusel ocupe todo el ancho útil */
  .menu__top-bar .menu__item.location-carousel {
    width: 100% !important;
    max-width: none !important;
    padding: 0 0.5rem !important;
    margin: 0 !important;
    height: 24px;
    line-height: 24px;
    font-size: 12px;
  }

  /* 3) Espaciado interior de cada slide */
  .menu__top-bar .menu__item.location-carousel .carousel-item {
    flex: 0 0 100% !important;
    box-sizing: border-box !important;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: transform 0.3s ease;
    padding: 0 !important;
  }

  /* 1) Cota Cota - Padding: 0.5rem, Desplazamiento: 0% */
  .menu__top-bar .menu__item.location-carousel .carousel-item:nth-child(1) {
    padding: 0 1rem !important;
    transform: translateX(0%);
  }

  /* 2) Villa Bolívar - Padding: 0.75rem, Desplazamiento: 2% */
  .menu__top-bar .menu__item.location-carousel .carousel-item:nth-child(2) {
    padding: 0 0.75rem !important;
    transform: translateX(2%);
  }

  /* 3) Casa Matriz - Padding: 1rem, Desplazamiento: 4% */
  .menu__top-bar .menu__item.location-carousel .carousel-item:nth-child(3) {
    padding: 0 1rem !important;
    transform: translateX(4%);
  }

  /* 4) Santa Cruz - Padding: 3rem izq, 1.25rem der, Desplazamiento: 6% */
  .menu__top-bar .menu__item.location-carousel .carousel-item:nth-child(4) {
    padding: 0 1.25rem 0 3rem !important;
    transform: translateX(6%);
  }

  /* 5) Clon de Cota Cota - Padding: 1rem izq, 4rem der, Desplazamiento: 8% */
  .menu__top-bar .menu__item.location-carousel .carousel-item:nth-child(5) {
    padding: 0 1rem 0 2rem !important;
    transform: translateX(8%);
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: 3rem;
    margin-right: 4rem;
  }

  .menu__top-bar .menu__item.location-carousel .location-link {
    width: 20px;
    height: 20px;
    margin-right: 4px;
  }

  /* 1) Ocultar menú por defecto */
  .menu__nav-wrapper {
    display: none !important;
  }

  .menu__nav-wrapper.open {
    display: flex !important;
  }

  .menu__toggle {
    display: flex !important;
  }
}

/* ===========================
   Samsung Galaxy J7 (~360×640)
   =========================== */
@media screen and (max-width: 360px) and (max-height: 640px) {

  /* Ajuste del logo */
  .menu__logo img {
    position: absolute;
    top: -26px;
    left: 0px;
    height: 300px;
  }

  /* Top‐bar: altura compacta */
  .menu__top-bar {
    height: 28px;
    line-height: 28px;
    font-size: 12px;
  }

  /* Nav‐bar: altura reducida */
  .menu__nav-bar {
    top: 28px;
    /* justo debajo de la top‐bar */
    height: 48px;
  }

  /* Wrapper del menú: ancho completo y padding muy estrecho */
  .menu__nav-wrapper {
    width: 100%;
    padding: 0 8px;
    margin: 0;
  }

  /* Enlaces del menú: fuente más pequeña y menos padding */
  .menu__nav-item a {
    font-size: 14px;
    padding: 14px 8px;
  }

  /* Iconos sociales ocultos en esta pantalla para ganar espacio */
  .menu__social-icons {
    display: none;
  }

  /* Flechas y carrusel de ubicación en top‐bar */
  .menu__top-bar .menu__item.location-carousel {
    width: 100%;
    justify-content: center;
  }

  .menu__top-bar .menu__item.location-carousel .carousel-item {
    font-size: 10px;
    padding: 0 .5rem;
  }

  /* Evitar scroll horizontal accidental */
  html,
  body {
    overflow-x: hidden;
  }
}



/* ——— Responsive 600px–800px: mismo estilo que móvil ——— */
@media screen and (min-width: 600px) and (max-width: 800px) {

  /* 1) Top-bar: solo el carrusel */
  .menu__top-bar .menu__inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 1rem !important;
  }

  .menu__top-bar .menu__inner .menu__item {
    display: none !important;
  }

  .menu__top-bar .menu__inner .menu__item.location-carousel {
    display: flex !important;
  }

  /* 2) Fijamos el nav-bar justo debajo */
  .menu__nav-bar {
    position: fixed !important;
    top: 30px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1002 !important;
  }

  /* 3) Logo siempre visible y centrado */
  .menu__logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: -10px !important;
    left: 35% !important;
    transform: translateX(-50%) !important;
    z-index: 1005 !important;
    pointer-events: none;
  }

  .menu__logo img {
    display: block !important;
    height: 400px !important;
    margin: 0 auto !important;
  }

  /* 4) Toggle “píldora” centrado como en móvil */
  .menu__toggle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 180px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 500px !important;
    height: 45px !important;
    background: #b9b7b3 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    z-index: 1003 !important;
    padding: 0;
  }

  .menu__toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: transform .3s, opacity .3s;
  }

  /* 5) Ocultamos el menú desplegable por defecto */
  .menu__nav-wrapper {
    display: none !important;
  }

  /* 6) Cuando está abierto… */
  .menu__nav-wrapper.open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: calc(220px + 45px + 8px) !important;
    left: 52% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 480px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden;
    z-index: 1001 !important;
  }

  /* 7) Lista vertical igual que en móvil */
  .menu__nav-list {
    display: flex !important;
    flex-direction: column !important;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: visible !important;
  }

  .menu__nav-item {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
  }

  .menu__nav-item:last-child {
    border-bottom: none;
  }

  .menu__nav-item a {
    display: block;
    width: 100%;
    height: auto !important;
    padding: 22px 0 !important;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0d315e;
    background: transparent;
    transition: background .2s, color .2s;
  }

  .menu__nav-item a:hover,
  .menu__nav-item.active a {
    background: #f5f7fb;
    color: #e30613;
  }

  /* 8) Animaciones idénticas a móvil */
  .menu__nav-wrapper.open .menu__nav-item {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }

  .menu__nav-wrapper.closing .menu__nav-item {
    opacity: 1;
    transform: translateY(0);
    animation: slideOut 0.45s forwards;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }


  .menu__nav-wrapper.closing .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }

  .menu,
  .menu__top-bar,
  .menu__nav-bar {
    position: fixed !important;
    width: 100% !important;
    left: 0;
    z-index: 1000 !important;
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  .menu__top-bar .menu__item.location-carousel {
    width: 460px;
    margin-left: 120px;
  }
}

@media (max-width: 380px) {
  .menu__logo img {
    position: absolute;
    top: -80px;
    left: -125px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }
}

@media (max-width: 350px) {
  .menu__logo img {
    position: absolute;
    top: -80px;
    left: -140px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }

  .carrusel-slide img {
    width: 100%;
    height: 170px;
    object-fit: cover;
  }
}

/* ======== OVERRIDE MÓVIL (≤576px) PARA MOSTRAR TODO EL MENÚ ======== */
@media (max-width: 576px) {

  /* 1) Que los <a> tengan su altura natural */
  .menu__nav-item a {
    height: auto !important;
    padding: 22px 0 !important;
    /* ajusta el padding vertical a tu gusto */
  }

  /* 2) Que la <ul> no oculte nada */
  .menu__nav-list {
    overflow: visible !important;
  }
}

@media (max-width: 415px) {

  /* 1) Que los <a> tengan su altura natural */
  .menu__nav-item a {
    height: auto !important;
    padding: 22px 0 !important;
    /* ajusta el padding vertical a tu gusto */
  }

  /* 2) Que la <ul> no oculte nada */
  .menu__nav-list {
    overflow: visible !important;
  }

  .menu__logo img {
    position: absolute;
    top: -80px;
    left: -100px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }
}

@media (max-width: 430px) {
  .menu__logo img {
    position: absolute;
    top: -80px;
    left: -100px;
    z-index: 10;
    margin-left: 0;
    height: 400px;
  }
}

/* ——— Responsive 600px–800px: mismo estilo que móvil ——— */
@media (max-width: 1199px) {

  .menu.hide-on-scroll .menu__top-bar {
    transform: translateY(-500%);
  }

  .menu.hide-on-scroll .menu__nav-bar {
    transform: translateY(-500%);
  }

  /* 1) Top-bar: solo el carrusel */
  .menu__top-bar .menu__inner {
    display: flex !important;
    justify-content: center;
    align-items: center;
    padding: 0 1rem !important;
  }

  .menu__top-bar .menu__inner .menu__item {
    display: none !important;
  }

  .menu__top-bar .menu__inner .menu__item.location-carousel {
    display: flex !important;
  }

  /* 2) Fijamos el nav-bar justo debajo */
  .menu__nav-bar {
    position: fixed !important;
    top: 30px !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1002 !important;
  }

  /* 3) Logo siempre visible y centrado */
  .menu__logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: -10px !important;
    left: 40% !important;
    transform: translateX(-50%) !important;
    z-index: 1005 !important;
    pointer-events: none;
  }

  .menu__logo img {
    display: block !important;
    height: 100px !important;
    margin: 124px auto !important;
  }

  /* 4) Toggle “píldora” centrado como en móvil */
  .menu__toggle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 180px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 500px !important;
    height: 45px !important;
    background: #b9b7b3 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    z-index: 1003 !important;
    padding: 0;
  }

  .menu__toggle span {
    width: 24px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: transform .3s, opacity .3s;
  }

  /* 5) Ocultamos el menú desplegable por defecto */
  .menu__nav-wrapper {
    display: none !important;
  }

  /* 6) Cuando está abierto… */
  .menu__nav-wrapper.open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: calc(181px + 45px + 8px) !important;
    left: 52% !important;
    transform: translateX(-50%) !important;
    width: 100vw !important;
    max-width: 480px !important;
    height: 420px;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden;
    z-index: 1001 !important;
  }

  .menu__social-icons {
    margin-top: 324px;
  }

  /* 7) Lista vertical igual que en móvil */
  .menu__nav-list {
    display: flex !important;
    flex-direction: column !important;
    margin: 0;
    padding: 0;
    width: 100%;
    overflow: visible !important;
  }

  .menu__nav-item {
    width: 100%;
    border-bottom: 1px solid #e5e5e5;
  }

  .menu__nav-item:last-child {
    border-bottom: none;
  }

  .menu__nav-item a {
    display: block;
    width: 100%;
    height: auto !important;
    padding: 22px 0 !important;
    text-align: center;
    font-size: 18px;
    font-weight: 700;
    color: #0d315e;
    background: transparent;
    transition: background .2s, color .2s;
  }

  .menu__nav-item a:hover,
  .menu__nav-item.active a {
    background: #f5f7fb;
    color: #e30613;
  }

  /* 8) Animaciones idénticas a móvil */
  .menu__nav-wrapper.open .menu__nav-item {
    opacity: 0;
    transform: translateY(-20px);
    animation: slideIn 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    will-change: transform, opacity;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.open .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }

  .menu__nav-wrapper.closing .menu__nav-item {
    opacity: 1;
    transform: translateY(0);
    animation: slideOut 0.45s forwards;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(1) {
    animation-delay: 0.05s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(2) {
    animation-delay: 0.1s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(3) {
    animation-delay: 0.15s;
  }


  .menu__nav-wrapper.closing .menu__nav-item:nth-child(4) {
    animation-delay: 0.2s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(5) {
    animation-delay: 0.25s;
  }

  .menu__nav-wrapper.closing .menu__nav-item:nth-child(6) {
    animation-delay: 0.3s;
  }

  .menu,
  .menu__top-bar,
  .menu__nav-bar {
    position: fixed !important;
    width: 100% !important;
    left: 0;
    z-index: 1000 !important;
  }

  html,
  body {
    overflow-x: hidden !important;
  }

  .menu__top-bar .menu__item.location-carousel {
    width: 460px;
    margin-left: 120px;
  }

}

@media (max-width: 412px) {
  .menu__logo {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 5px !important;
    left: 26% !important;
    transform: translateX(-50%) !important;
    z-index: 1005 !important;
    pointer-events: none;
  }

}

@media (max-width: 414px) {
  .menu__toggle {
    display: flex !important;
    justify-content: center;
    align-items: center;
    position: fixed !important;
    top: 160px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95vw !important;
    max-width: 500px !important;
    height: 45px !important;
    background: #b9b7b3 !important;
    border-radius: 20px !important;
    cursor: pointer !important;
    z-index: 1003 !important;
    padding: 0;

  }

  .menu__toggle-inner {
    width: 1% !important;
    max-width: 100% !important;
    padding: 0.5rem 1rem !important;
    background: #0d315e !important;
    border-radius: 20px !important;
    margin-top: 275px;
    height: 10px;
  }

  .menu__nav-wrapper.open {
    display: flex !important;
    flex-direction: column;
    position: fixed !important;
    top: calc(151px + 45px + 8px) !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 95vw !important;
    max-width: 480px !important;
    background: #fff !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.16) !important;
    overflow: hidden;
    z-index: 1001 !important;
    height: 500px;
  }

  .menu__social-icons {
    margin-top: 404px;
  }

  .menu__logo {
    position: relative;
    z-index: 1002;
  }

  .menu__logo a {
    display: block;
    position: relative;
    z-index: 1002;
    pointer-events: auto;
  }

  .menu__logo img {
    display: block !important;
    height: 335px !important;
    margin: 30px -32px !important;
    pointer-events: auto;
  }

}


@media (max-width: 375px) {
  .menu__logo img {
    display: block !important;
    height: 335px !important;
    margin: 15px 25px !important;
  }

}

@media(max-width: 390px) {
  .menu__logo img {
    display: block !important;
    height: 335px !important;
    margin: 15px 27px !important;
  }
}

@media(max-width: 430px) {
  .menu__logo img {
    display: block !important;
    height: 110px !important;
    margin: 150px -45px !important;
  }
}

@media(max-width: 412px) {
  .menu__logo img {
    display: block !important;
    height: 90px !important;
    margin: 126px 45px !important;
  }
}

@media (max-width: 290px) {
  .menu__logo img {
    display: block !important;
    height: 90px !important;
    margin: 126px 35px !important;
    width: 17pc !important;
  }
      .carrusel-slide img {
        width: 100%;
        height: 58%;
        object-fit: cover;
    }
}

@media (min-width: 430px) and (max-width: 570px) {
  .menu__logo img {
    display: block !important;
    height: 100px !important;
    margin: 124px -109px !important;
    width: 25pc;
  }
}
