/* Página Hospedaje — tarjetas de hoteles (diseño 6-Hospedaje, móvil 480 pt y escritorio 1025 pt,
 * 2026-10-27). Capa sobre sitio.css; 1rem = 10 pt del diseño. Las tarjetas miden lo mismo en los dos
 * artboards (425 pt): sólo cambia cómo se acomodan (una columna / dos columnas). */

.st-hospedaje { position: relative; }
.st-hospedaje > :not(.st-patron) { position: relative; z-index: 1; }
span.st-hospedaje__patron { display: none; } /* el artboard móvil no trae patrón (span.* gana a span.st-patron) */

.st-hospedaje-intro { padding-bottom: 2.14rem; }
.st-hospedaje-intro .st-etiqueta { margin-top: 1.8rem; }
.st-hospedaje-intro .st-texto {
  margin: 2.56rem 0 0 0.5rem;
  font-size: 1.5rem;
  line-height: 2.5rem;
  color: var(--st-tinta-2);
}

.st-hoteles {
  display: flex;
  flex-direction: column;
  gap: 3.05rem;
  padding: 0 2.5rem 13rem 3rem;
}
.st-hoteles__columna { display: contents; } /* en móvil las tarjetas se ordenan con `order` */

.st-hotel {
  background: #fff;
  border-radius: 2.5rem 2.5rem 4rem 4rem;
  box-shadow: -0.2rem 0.2rem 0.5rem rgba(0, 0, 0, .35);
  overflow: hidden;
}
.st-hotel__bloque {
  position: relative;
  height: 25rem;
}
.st-hotel__logo { position: absolute; }
.st-hotel__cuerpo { padding: 0.54rem 2rem 1.91rem; }

.st-hotel__nombre {
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 3.4rem;
  color: var(--st-azul);
}
.st-hotel__distancia {
  margin-top: 0.04rem;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--st-pie-tinta);
}

.st-hotel__tarifa-titulo {
  margin-top: 2.55rem;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: var(--st-tinta);
}
.st-hotel__impuestos {
  margin-top: -0.24rem;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--st-pie-tinta);
}
.st-hotel__tarifas { margin-top: 2.92rem; padding-left: 2.5rem; }
/* En el segundo bloque de tarifas el diseño aprieta la lista contra "incluyen impuestos:". */
.st-hotel__bloque-tarifas + .st-hotel__bloque-tarifas .st-hotel__tarifas { margin-top: 2.34rem; }
.st-hotel__tarifas--sin-sangria { margin-top: 2.56rem; padding-left: 0; }
/* Entre tarifas (de nombre a nombre): 75 pt tras un precio, 100 pt cuando hay nota ("Incluye desayuno…"). */
.st-hotel__tarifa + .st-hotel__tarifa { margin-top: 2.95rem; } /* el artboard oscila entre 74 y 75 pt */
.st-hotel__tarifa + .st-hotel__tarifa--tras-nota { margin-top: 2.71rem; }
.st-hotel__tarifas--grande .st-hotel__tarifa + .st-hotel__tarifa--tras-nota { margin-top: 2.51rem; }
.st-hotel__tarifas--sin-sangria .st-hotel__tarifa + .st-hotel__tarifa { margin-top: 1.98rem; }
.st-hotel__habitacion {
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2rem;
  color: var(--st-azul);
}
.st-hotel__tarifas--grande { margin-top: 2.13rem; }
.st-hotel__tarifas--grande .st-hotel__habitacion {
  font-size: 1.6rem;
  line-height: 2.2rem;
}
/* Fiesta Inn: nombres en versales a 16 pt con interlínea 19.2 (una línea ocupa 22 pt, dos 41.2). */
.st-hotel__tarifas--sin-sangria .st-hotel__habitacion {
  padding-bottom: 0.28rem;
  font-size: 1.6rem;
  line-height: 1.92rem;
  color: var(--st-tinta);
}
.st-hotel__precio {
  display: flex;
  align-items: baseline;
  height: 2.5rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 2.5rem;
  color: var(--st-azul);
  white-space: pre;
}
.st-hotel__precio b { font-size: 2rem; line-height: 2.5rem; }
.st-hotel__nota {
  margin-top: 0.245rem;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--st-pie-tinta);
}
/* El diseño deja una línea en blanco donde iría la nota cuando la última tarifa no la tiene. */
.st-hotel__bloque-tarifas--sin-nota { padding-bottom: 2.645rem; }

.st-hotel__avisos {
  margin-top: 2.94rem;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.68rem;
  color: var(--st-tinta);
}
.st-hotel__avisos--corto { margin-top: 1.355rem; }
.st-hotel__avisos--largo { margin-top: 3.86rem; }
.st-hotel__avisos p + p { margin-top: 1.68rem; }
/* El último aviso ocupa al menos dos líneas en el diseño (caja de texto fija). */
.st-hotel__avisos p:last-child { min-height: 3.36rem; }
.st-hotel__avisos .st-hotel__nota { margin-top: 0; font-weight: 300; }
.st-hotel__avisos--nota { margin-top: 5.245rem; }
.st-hotel__avisos--nota p:last-child { min-height: 5rem; }

.st-hotel__reservaciones {
  margin-top: 3.12rem;
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 2.2rem;
  color: var(--st-azul);
}
.st-hotel__reservaciones--tras-nota,
.st-hotel__avisos--nota + .st-hotel__reservaciones { margin-top: 2.55rem; }
.st-hotel__contacto {
  margin-top: 2.65rem;
  font-weight: 700;
  font-size: 2rem;
  line-height: 2.1rem;
  color: #000;
}
.st-hotel__cargo {
  margin-top: -0.09rem;
  margin-bottom: 1.92rem; /* colapsa con el margen de .st-hotel__datos: 19.2 pt en total */
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--st-azul);
}
.st-hotel__datos {
  margin-top: 0.5rem;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--st-azul);
}
.st-hotel__datos a { text-decoration: none; }
.st-hotel__sitio {
  display: block;
  margin: 2.5rem 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 2.5rem;
  color: var(--st-pie-tinta);
  text-decoration: none;
  word-break: break-all;
}
.st-hotel .st-boton {
  margin: 4.9rem 0 0 -0.5rem;
  width: 21rem;
}

/* ---------- Escritorio (≥ 768 px): artboard 6-Hospedaje-Desktop, 1025 pt ---------- */
@media (min-width: 768px) {
  .st-hospedaje { overflow: hidden; } /* los patrones salen del lienzo a propósito */
  span.st-hospedaje__patron { display: block; }

  .st-hospedaje-intro { padding: 1rem 3rem 6.98rem 2.5rem; }
  .st-hospedaje-intro .st-etiqueta { margin-top: 0.8rem; }
  .st-hospedaje-intro .st-texto {
    margin-top: 2.22rem;
    width: 65rem;
    font-size: 2.1rem;
    line-height: 3.5rem;
  }

  /* Dos columnas independientes (las tarjetas no se alinean entre sí): impares a la izquierda
     (x = 25) y pares a la derecha (x = 510), con los huecos verticales que trae el artboard. */
  .st-hoteles {
    flex-direction: row;
    align-items: flex-start;
    gap: 6rem;
    padding: 0 2.5rem 17.47rem;
  }
  .st-hoteles__columna {
    display: block;
    width: 42.5rem;
    flex: none;
  }
  .st-hoteles__columna:nth-child(2) { margin-top: 0.09rem; }
  .st-hoteles__columna:nth-child(1) > :nth-child(2) { margin-top: 5.09rem; margin-left: 0.5rem; } /* Fiesta Inn: el artboard la corre 5 pt */
  .st-hoteles__columna:nth-child(1) > :nth-child(3) { margin-top: 2.17rem; }  /* Villa Bejar */
  .st-hoteles__columna:nth-child(1) > :nth-child(4) { margin-top: 1.5rem; }   /* Hotel GS */
  .st-hoteles__columna:nth-child(2) > :nth-child(2) { margin-top: 3.5rem; }   /* One */
  .st-hoteles__columna:nth-child(2) > :nth-child(3) { margin-top: 3rem; }     /* Racquet */
}

/* ---------- Laptop y escritorio (≥ 1200 px): composición propia ----------
   Intro a lo ancho del contenedor y tarjetas en rejilla (3 columnas; 4 en
   pantallas anchas, con la última fila centrada). La franja de logo escala
   con la tarjeta (proporción 425 × 250 del diseño) y el logo conserva su
   posición relativa vía --lx/--ly/--lw/--lh. */
@media (min-width: 1200px) {
  .st-hospedaje-intro { padding: 10rem var(--st-lado) 6rem; }
  .st-hospedaje-intro .st-texto {
    width: auto;
    max-width: 70rem;
    margin: 2rem 0 0;
    font-size: 2.6rem;
    line-height: 3.8rem;
    color: var(--st-azul);
  }

  .st-hoteles {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: 3.2rem 2.4rem;
    padding: 0 var(--st-lado) 12rem;
    --st-hotel-cols: 3;
  }
  .st-hoteles__columna { display: contents; }
  .st-hoteles .st-hoteles__columna > .st-hotel:nth-child(n) { margin: 0; }
  /* patrones: los del costado derecho del artboard pasan al borde derecho de la ventana */
  .st-hospedaje span.st-hospedaje__patron:nth-of-type(2n) { left: auto !important; right: -12rem; }
  .st-hospedaje span.st-hospedaje__patron:nth-of-type(8) { display: none; }
  .st-hotel {
    display: flex;
    flex-direction: column;
    flex: 0 0 calc((100% - (var(--st-hotel-cols) - 1) * 2.4rem) / var(--st-hotel-cols));
    min-width: 0;
    border-radius: 1.6rem 1.6rem 3.2rem 3.2rem;
    box-shadow: 0 0.2rem 0.4rem rgba(19, 51, 62, .08), 0 1rem 2.4rem rgba(19, 51, 62, .1);
  }
  .st-hotel__bloque { height: auto; aspect-ratio: 425 / 250; }
  .st-hotel__logo {
    left: var(--lx) !important;
    top: var(--ly) !important;
    width: var(--lw) !important;
    height: var(--lh) !important;
  }
  .st-hotel__cuerpo {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 2.4rem 3.2rem 3.2rem;
  }
  .st-hotel__datos a { overflow-wrap: anywhere; }
  .st-hotel .st-boton { margin: auto 0 0; padding-top: 0; }
  .st-hotel__sitio { margin-bottom: 4rem; }
}
@media (min-width: 1600px) {
  .st-hoteles { --st-hotel-cols: 4; }
}
