#sp-header,
#sp-header .sp-megamenu-wrapper,
#sp-header .sp-column,
.header-1-logocenter #sp-logo .sp-column,
.header-1-logocenter #sp-logo .sp-column .logo {
  background: transparent !important;
  box-shadow: none !important;
}

/* Aplica el fondo translúcido solo al bloque principal del header */
#sp-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.50); /* blanco con transparencia */
  z-index: -1; /* coloca el efecto detrás del contenido */
  transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

/* Posiciona el header sobre el banner */
#sp-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  overflow: visible;
}

/* --- EFECTO SCROLL: se vuelve más sólido --- */
body.scrolled #sp-header::before {
  background: rgba(255, 255, 255, 0.9);
}
/* body.home #section-id-1734188762295 {
  padding-top: 130px !important;
} */
@media (max-width: 1201px) {
  /* Oculta el menú de escritorio */
  .sp-megamenu-parent.d-none.d-lg-block {
    display: none !important;
  }
 #sp-header .logo-image{
  margin-bottom: 20px !important;
 }
  /* Muestra el botón hamburguesa */
  #offcanvas-toggler,
  .offcanvas-toggler-right,
  .offcanvas-toggler-secondary {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Opcional: centra el logo y el toggler */
  #sp-header .sp-megamenu-wrapper {
    justify-content: space-between;
  }

  #sp-header .sp-column {
    flex: 1 1 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Compacta el header para que no crezca en alto */
  #sp-header {
    position: relative;
    background: rgba(255, 255, 255, 0.95) !important;
    padding: 10px 20px;
  }
}