body, html {
  font-family: "Lato", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 100px;
  padding-bottom: 200px;
  /* overflow-x: hidden;
  overflow-y: auto; ✅ permite crecer el alto */
  /* margin: 0;
  padding: 0; */
  /* box-sizing: border-box; */
}

body, html {
  overflow: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


.loader {
  display:none; 
  justify-content:center; 
  align-items:center;
  gap:8px;
}

.fa-spin-pulse {
  color: #5CBBFF;
}

.noDis{
  padding: 20px;
  display: none;
  color: #D10808;
  gap: 20px;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 30px;
  text-align: center;
}

.noDis div {
  padding: 20px;
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.noDis div i {
  font-size: 10vh;
}

.img-container img{
  width:100%;
  height:480px;
  object-fit:cover;
  display:block;
  border-bottom-right-radius: 25px;
  border-top-right-radius: 25px;
}

.img-container {
  width: 50%;
  z-index: 100;
}

.cuartos {
  position: relative;
  display: flex;
  flex: row;
  width: 100%;
  min-height: 533px;
}


.gris {
  display: flex;
  justify-content: flex-end; /* los hijos van al final horizontal */
  align-items: center; /* los hijos van centrados vertical */
  position: absolute; 
  bottom: 0;
  right: 0;
  width: 80%;
  height: 70%;
  background-color: #f7f7f7;
  z-index: 100;
  border-bottom-left-radius: 25px;
}

.info {
  letter-spacing: 2px;
  /* ya no necesitas right:0 */
  color: #3d302e;
  width: 60%;
  display: flex;
  font-size: 18px;
  flex-direction: column;
  gap: 10px;
  z-index: 100;
}

.info ul{
  letter-spacing: 2px;
  font-size: 14px;
  list-style: none;
}

.cuartos h2 {
  font-family: "Libre Baskerville", sans-serif;
  font-size: 36px;
  letter-spacing: 3px;
  padding: 10px;
  font-weight: 400;
  color: #a80003;
  position: relative;
  top: 50px;
}

h2::before {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  background: #a80003;
  top: 0;
  left: 10;
}

button {
  border: solid 2px #a80003;
  color: #a80003;
  background-color: transparent;
  /* background-color: transparent; */
  padding: 20px 70px;
  font-family: 'Lato', sans-serif;
  letter-spacing: 3px;
  left: 0;
  align-self: center;
  cursor: pointer;
  transition: all 0.3s;
}

button:hover {
  transform: scale(1.05);
  background-color: #a80003;
  color: white;
}


#jacuzzi {
  flex-direction: row-reverse;
}

#jacuzzi .img-container img {
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 25px;
  border-top-left-radius: 25px;
}

#jacuzzi .gris {
  justify-content: flex-start; /* los hijos van al final horizontal */
  align-items: center; /* los hijos van centrados vertical */
  position: absolute;
  bottom: 0;
  left: 0;
  width: 80%;
  height: 70%;
  background-color: #f7f7f7;
  z-index: 100;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 25px;
}

#jacuzzi .info {
  padding: 30px;
}

/* Pantallas medianas (tablets) */
@media (max-width: 1024px) {
  .cuartos {
    flex-direction: column;
    align-items: center;
    border-radius: 0;
  }

  .img-container {
    width: 100%;
    height: auto;
    border-radius: 0;
  }

  .gris {
    position: relative;
    bottom: 0;
    width: 100%;
    height: auto;
    padding: 20px;
    border-radius: 0;
  }

  .info {
    width: 100%;
    font-size: 16px;
    padding: 20px 0;
  }

  .cuartos h2 {
    font-size: 28px;
    text-align: center;
    top: 20px;
  }

  button {
    padding: 15px 50px;
  }

  #jacuzzi {
    flex-direction: column;
  }

  #jacuzzi .gris {
    justify-content: center;
    left: 0;
    bottom: 0;
    width: 100%;
    height: auto;
    border-radius: 0;
  }
}

/* Pantallas pequeñas (celulares) */
/* Reset box-sizing */
@media (max-width: 768px) {

  * {
    box-sizing: border-box;
  }
  .cuartos {
    flex-direction: column;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .cuartos h2 {
    font-size: 24px;
    order: 1;
    width: 100%;
  }

  .cuartos .img-container {
    order: 2;
    width: 100%;
    margin: 0;
    padding: 0;
    border-radius: 0;
  }

  .cuartos .img-container img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block; /* esto quita el pequeño gap debajo de img */
    border-radius: 0;
  }

  .cuartos .gris {
    order: 3;
    position: relative !important;
    width: 100%;
    margin: 0;
    height: auto !important;
    padding: 15px;
    background-color: rgba(247, 247, 247, 0.95);
    border-radius: 0;
  }

  .info {
    font-size: 14px;
    padding: 10px;
  }

  button {
    padding: 10px 30px;
    font-size: 14px;
  }
}
