
/* Portada: usar el MP4 aprobado tal cual, sin animaciones CSS adicionales */
.hero-bg-video{
  animation:none!important;
  transition:none!important;
  transform:none!important;
  filter:none!important;
  -webkit-filter:none!important;
}

/* Escritorio: separar el botón inferior del mapa para que no se encime */
@media (min-width: 1024px){
  .map-wrap, .location-map, .map-card, .map-embed, .map-container{
    overflow:visible!important;
  }
  a[href*="google.com/maps"]:has(> *),
  a[href*="maps.app.goo.gl"]:has(> *){
    position:relative;
  }
  .map-open-btn, .map-cta, .map-link-overlay, .map-external-btn{
    transform:translateY(18px)!important;
  }
}

/* CORRECCIÓN DEFINITIVA 2026-08-19 */
@media (min-width: 1024px){
  .location-card .map-wrap{
    display:flex!important;
    flex-direction:column!important;
    align-self:stretch!important;
    overflow:visible!important;
    padding:0 0 22px!important;
  }
  .location-card .map-wrap iframe{
    position:relative!important;
    display:block!important;
    width:100%!important;
    height:600px!important;
    min-height:600px!important;
    flex:0 0 600px!important;
  }
  .location-card .map-business-link,
  .location-card .map-open-btn{
    position:static!important;
    left:auto!important;
    right:auto!important;
    bottom:auto!important;
    transform:none!important;
    display:block!important;
    width:max-content!important;
    max-width:calc(100% - 40px)!important;
    margin:16px auto 0!important;
    z-index:3!important;
  }
  .location-card .map-business-link:hover,
  .location-card .map-open-btn:hover{
    transform:translateY(-2px)!important;
  }
}


/* AJUSTE MÓVIL/TABLET: sin línea residual del header y sin etiquetas en galería */
@media (max-width: 1100px){
  header, .site-header, .navbar, .nav, .topbar,
  header::before, header::after,
  .site-header::before, .site-header::after,
  .navbar::before, .navbar::after{
    border-bottom:0 !important;
    border-top:0 !important;
    box-shadow:none !important;
    outline:none !important;
  }

  #galeria #official-gallery-grid > .bella-space-photo > span,
  #galeria #official-gallery-grid > .official-managed-card > span,
  #galeria #official-gallery-grid .photo-label,
  #galeria .bella-space-photo .photo-label,
  #galeria .official-managed-card .photo-label{
    display:none !important;
    visibility:hidden !important;
    opacity:0 !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    padding:0 !important;
    margin:0 !important;
    border:0 !important;
    overflow:hidden !important;
  }
}
