body {
  font-family: "Lato", sans-serif;
}

.text-overflow {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.shadow-mod-in {
  box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.3);
}

/*Side Nav*/
.sidenav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
  background-color: white;
  overflow-x: hidden;
  transition: 0.5s;
  padding-top: 15px;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  display: block;
}

.sidenav a:hover {
  color: #cfb418;
}

.sidenav .closebtn {
  font-size: 36px;
}

.lazyload,
.lazyloading {
  opacity: 0;
}

.lazyloaded {
  opacity: 1;
  transition: opacity 300ms;
}

@keyframes slide-x {
  from {
    background-position: 0 0; /* Inicio: 0% horizontal, 0% vertical */
  }
  to {
    background-position: 100% 0; /* Fin: 100% horizontal, 0% vertical */
  }
}

.hero-buscador {
  background-image: url("../images/fondo-buscador.webp");
  background-size: cover;
  background-position: center;
}

.hero-bg {
  background-image: url("../images/fondo-marketing.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

.hero-bg-am {
  background-color: #ffd900;
}

.ocultar {
  display: none;
  opacity: 0;
}

.label {
  right: 50%;
  position: absolute;
  bottom: 15px;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  text-align: end;
  padding-bottom: 15px;
  font-size: 20px;
}

.desglose {
  transition: opacity 0.1s ease-in, display 0.1s ease-in;
  -webkit-transition: all 100ms ease-in;
  transition-behavior: allow-discrete;
}

.formulario {
  transition: opacity 0.1s ease-in, display 0.1s ease-in;
  -webkit-transition: all 100ms ease-in;
  transition-behavior: allow-discrete;
}

.panel {
  height: 450px;
  cursor: pointer;
  flex: 0.5;
  margin: 10px;
  position: relative;
  transition: flex 0.4s ease-in;
  -webkit-transition: all 400ms ease-in;
}

.panel.active {
  flex: 5;
}

/*Acordeones*/
.hidden-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
}

.hidden-content.expanded {
  max-height: 750px;
}

.hidden-content2 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out;
  position: absolute; 
  z-index: 10000;
  background: white;
}

.hidden-content2.expanded {
  max-height: 700px;
  position: absolute; 
  z-index: 10000; 
  background: white;
}

.slide-panel {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transition: bottom 0.3s ease-in-out;
  z-index: 1000;
}

.slide-panel.open {
  bottom: 0;
}

#mapMovilContainer {
  position: relative;
  width: 100%;
  height: 500px;
}

#overlayMapMovil {
  position: absolute;
  bottom: 0;
  z-index: 1000;
}

/*Boton flotante whatsapp*/
#floating-buttons-container {
  position: fixed;
  right: 5px;
  bottom: 20px;
  z-index: 4;
  transition-duration: 500ms;
}

#floating-buttons-container > div {
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

@media screen and (max-height: 450px) {
  .sidenav {
    padding-top: 15px;
  }
  .sidenav a {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .hero-buscador {
    background-image: url("../images/banner-buscador-movil.webp");
  }
}
