body{

  background-color: #333333;
}

/* Contenedor general */
.fachada-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.fachada-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

/* Imagen base */
.fachada-img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== SVGs ===== */
.svg-fachada {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Ocultamos por defecto */
.svg-desktop { display: none; }
.svg-mobile { display: none; }

/* Solo muestra desktop en pantallas grandes */
@media (min-width: 769px) {
  .svg-desktop { display: block; }
}

/* Solo muestra móvil en pantallas chicas */
@media (max-width: 768px) {
  .svg-mobile { display: block; }
}

/* ===== Polígonos de pisos ===== */
.svg-desktop .piso,
.svg-mobile .piso {
  fill: transparent;
  stroke: transparent;
  cursor: pointer;
  transition: fill 0.3s ease;
  pointer-events: auto; /* interacción solo en polígonos */
}

/* Hover solo aplica en desktop */
.svg-desktop .piso:hover {
  fill: rgba(152, 220, 203, 0.4); /* acento translúcido */
}

/* Hover sin disponibles (desktop), excepto piso 1 */
.svg-desktop .piso.sin-disponibles:not([data-piso="1"]):hover {
  fill: rgba(51, 51, 51, 0.4); 
}

/* Estado activo (móvil o también si lo activamos por JS en desktop) */
.svg-desktop .piso.active,
.svg-mobile .piso.active {
  fill: rgba(152, 220, 203, 0.4);
  stroke: #98dccb;
}

/* Estado activo en móvil sin disponibles (excepto piso 1) */
.svg-mobile .piso.sin-disponibles.active:not([data-piso="1"]),
.svg-desktop .piso.sin-disponibles.active:not([data-piso="1"]) {
  fill: rgba(51, 51, 51, 0.4);
  stroke: #333333;
}


/* Texto dentro del SVG */
.texto-disponibilidad {
  fill: #333333;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}



.tooltip-piso {
  position: fixed;
  background: #333333;
  color: #fff;
  padding: 40px;
  font-family: "Inter", sans-serif;
  z-index: 9999;
  width: clamp(130px, 15vw, 180px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}


.tooltip-piso .numero {
  display: flex;
  align-items: flex-start; /* Alinea arriba */
  gap: 15px; /* Espacio entre "Piso" y el número */
  padding-bottom: 5vw;
}

.tooltip-piso .texto-piso {
  font-weight: 400;
  color: #ffffff;
  font-size: 12px;
  line-height: 1; /* Para que no haya diferencia vertical */
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
}

.tooltip-piso .numero-piso {
  font-weight: 300;
  color: #98DCCB;
  font-size: clamp(70px, 10vw, 120px);
  font-family: 'Bebas Neue', sans-serif;
  line-height: 0.9; /* Para que no haya diferencia vertical */
}


.tooltip-piso .disponibles {
  font-size: 14px;
  margin-top: 8px;
  text-transform: uppercase;
  font-family: 'Open Sans', sans-serif;
}

.tooltip-piso .ver-piso-btn {
  display: none;
  margin-top: 12px;
  background: #98DCCB;
  color: #333333;
  border: none;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 14px;
  width: 100%;
  text-transform: uppercase;
}

/* 🔹 Versión móvil: ocupa todo el ancho abajo */
.tooltip-piso.mobile {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100% !important;
  border-radius: 0;
  text-align: center;
  padding: 16px;
}

.tooltip-piso.mobile .numero {
  font-size: 36px;
}

.tooltip-piso.mobile .ver-piso-btn {
  display: inline-block;
}


/* Tooltip Celular */
@media (max-width: 768px) {
  
.tooltip-piso {
 box-sizing: border-box;
 padding: 7%;
 display: flex !important;
 flex-direction: column;
}

.info-tooltip{
  display: flex;
  flex-direction: row;
  gap: 5%;
  justify-content: space-around;
}

.button-piso-cel{

  display: flex;
  justify-content: center;
}

.tooltip-piso .texto-piso {
  font-weight: 400;
  color: #ffffff;
  font-size: 14px;
  line-height: 1; /* Para que no haya diferencia vertical */
  font-family: 'Open Sans', sans-serif;
  text-transform: uppercase;
}

.tooltip-piso .numero-piso {
  color: #98DCCB;
  font-weight: 400;
  font-size: 40px;
  line-height: 1; /* Para que no haya diferencia vertical */
  
}


.tooltip-piso .disponibles {
  text-align: right;
  margin-top: 0;
}

.tooltip-piso .numero {
  padding-bottom: 0vw;
}

}

svg * {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}


/* Instrucciones Celular */

.instrucciones-cel{
  display: none;
}

@media (max-width: 768px) {

.instrucciones-cel{
  display: block;
  width: 100%;
  text-align: center;
  background-color: #98DCCB;
  padding: 2% 5%;
  box-sizing: border-box;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
}

}