/* ==========================================================================
   ESTANCIA SAN MIGUEL SPA
   Sistema calcado de lavalisecdmx.com: valores extraidos de sus variables
   CSS reales, no estimados. Titulares contenidos, cuerpo grande, tracking
   cero o negativo, ritmo apretado. Mobile-first. Cortes en 48em y 64em.
   ========================================================================== */

/* ────────────────────────────────────────────────── 1 · TOKENS ── */
:root {
  /* Su paleta exacta: cinco valores, ningun negro, ningun acento. */
  --beige:      #efeadd;
  --sombra:     #e6dfd4;
  --beige-calido:#d5beab;
  --gris:       #424142;
  --blanco:     #fff;
  /* Passe-partout: blanco cálido, no óptico. El #fff es el único valor
     frío de la paleta y por contraste con el beige tira a azulado. */
  --marco:      #faf7f1;
  /* Un solo color de texto para todo, como ellos. Sin gris secundario. */
  /* Escala de filetes. Un solo criterio: estructural donde separa
     secciones, fino donde separa dentro de una. */
  --filete:            rgba( 66,  65,  66, .30);
  --filete-fino:       rgba( 66,  65,  66, .20);
  --filete-claro:      rgba(239, 234, 221, .38);
  --filete-claro-fino: rgba(239, 234, 221, .20);

  /* Crimson Text e IBM Plex Sans son sus fuentes exactas. KohinoorLatin
     es de pago; Hind es de la misma fundicion (ITF) y la mas cercana. */
  /* Crimson Text en 700. El respaldo termina en serif, no en sans-serif:
     si la fuente no carga, debe caer en otra serif. */
  --titular: "Crimson Text", "Times New Roman", serif;
  /* Serif de lectura con tamaño óptico: los trazos se ajustan solos
     al cuerpo en que se usa. Aporta la calidez que la sans no tiene. */
  --cuerpo:  "Newsreader", "Hoefler Text", Georgia, serif;
  --epigrafe:"Tenor Sans", "Optima", "Gill Sans", sans-serif;

  /* Su escala de pesos. Los titulares van en NORMAL, no en light. */
  --peso-light:  300;
  --peso-normal: 400;
  --peso-medio:  500;
  --peso-semi:   600;
  --peso-bold:   700;

  /* Su tracking: cero o negativo. Nunca mayusculas muy espaciadas. */
  --tr-default: 0em;
  --tr-tight:  -.03em;
  --tr-wider:   .02em;

  /* Su espaciado de seccion. La grande son 6rem, no 12. */
  --sec-large:  2.75rem;
  --sec-medium: 2rem;
  --sec-small:  1.5rem;
  --sec-tiny:   1rem;

  --gap-large:   2.75rem;
  --gap-medium:  2rem;
  --gap-regular: 1.5rem;
  --gap-small:   1.15rem;

  --col-s: 43.125rem;   /* 690px */
  --col-m: 72.75rem;
  --col-l: 87.5rem;

  --radio-s: .25rem;
  --radio-m: .5rem;

  --margen: clamp(1.25rem, 4vw, 2.5rem);
  --barra-alto: 4.5rem;
}

/* ─────────────────────────────────────────────────── 2 · BASE ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--barra-alto); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--beige);
  color: var(--gris);
  font-family: var(--cuerpo);
  font-weight: var(--peso-light);
  font-size: 1rem;
  line-height: 1.3;
  letter-spacing: 0;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, picture { display: block; max-width: 100%; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
a { color: inherit; }
figure { margin: 0; }
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--gris); color: var(--blanco); padding: .9rem 1.4rem;
  font-family: var(--epigrafe); font-size: .8125rem; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gris); outline-offset: 3px; }
::selection { background: var(--beige-calido); color: var(--gris); }

/* ───────────────────────────────────────────── 3 · TIPOGRAFIA ── */
/* Sus tamanos literales: h1 50px, h2 30px, cuerpo 20px. Interlineado
   de titular 1.0. Es la diferencia entre esto y una plantilla. */

h1, h2, h3 {
  font-family: var(--titular);
  font-weight: var(--peso-normal);
  margin: 0 0 var(--gap-small);
}

/* Las versales piden tracking POSITIVO. Heredaban el -.03em del token
   de La Valise, pensado para su h1 en negrita, y en peso normal se
   apelotonaban. */
/* h1 y h2 comparten cuerpo, peso y tracking: la jerarquía la marcan la
   posición y el filete separador, no el tamaño. */
h1, h2 {
  font-size: clamp(1.75rem, 5.9vw, 3.125rem);
  font-weight: var(--peso-bold);
  line-height: 1;                 /* ceñido: es lo que da el aire editorial */
  letter-spacing: .02em;
  text-transform: uppercase;
  text-wrap: balance;
}
/* "Spa" es la categoría, no el nombre: baja de cuerpo y abre el paso,
   igual que en el logo. */
h1 span {
  display: block;
  margin-top: .6em;
  font-size: .36em;
  font-weight: var(--peso-semi);
  letter-spacing: .34em;
  text-indent: .34em;   /* compensa el espacio sobrante de la última letra */
}


h3 { font-size: 1rem; font-weight: var(--peso-light); }

.epigrafe {
  font-family: var(--epigrafe);
  font-size: .8125rem;
  font-weight: var(--peso-normal);
  line-height: 1;
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0 0 var(--gap-small);
}
.epigrafe.claro { color: rgba(255,255,255,.85); }

/* El punto cuadrado bajo el titular: su detalle de firma. */
/* Su .ornament-block: .625rem con radio de 2px, .5rem en móvil. */
.punto {
  display: block; width: .5rem; height: .5rem;
  border-radius: 2px;
  background: var(--gris);
  margin: var(--gap-small) auto var(--gap-regular);
}
.punto--claro { background: var(--blanco); }

/* ───────────────────────────────────────────────── 4 · CTA ── */
/* No es un boton. Es texto pequeno entre dos filetes de 1px: la linea
   izquierda esta puesta y la derecha crece al pasar el raton. */
.cta {
  display: inline-flex; align-items: center;
  margin-top: var(--gap-regular);
  font-family: var(--epigrafe);
  font-size: .875rem;
  line-height: .714;
  font-weight: var(--peso-bold);
  letter-spacing: var(--tr-default);
  text-transform: uppercase;
  text-decoration: none;
  color: var(--gris);
  transition: opacity .3s ease;
}
.cta:hover { opacity: .5; }
.cta i {
  display: block; height: 1px; background: currentColor;
  transition: width .3s ease;
}
.cta i:first-child { width: 2rem; margin-right: .875rem; }
.cta i:last-child  { width: 0;    margin-left:  .875rem; }
.cta:hover i:first-child { width: 0; }
.cta:hover i:last-child  { width: 2rem; }
.cta--claro { color: var(--blanco); }

/* ─────────────────────────────────────────────────── 5 · BARRA ── */
.barra {
  position: fixed; inset: 0 0 auto 0; z-index: 200;
  height: var(--barra-alto);
  /* Mismo beige del fondo del logo, para que el wordmark se integre. */
  background: var(--beige);
  /* Filete blanco de 1px: separa la barra de la foto sin peso visual.
     (Antes apuntaba a --filete-ten, que no existe en esta paleta, así que
     la declaración era inválida y la barra no tenía borde alguno.) */
  border-bottom: 1px solid var(--blanco);
  color: var(--gris);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--margen);
}

/* El logo reducido, centrado entre MENÚ y RESERVAR. */
.barra__marca { justify-self: center; display: block; line-height: 0; }
.barra__marca img { width: 110px; height: auto; aspect-ratio: 784 / 419; }

/* Su único lenguaje de hover: opacidad .5 en .3s, en todo lo pulsable. */
.barra__menu, .barra__tel, .barra__reservar, .barra__marca, .pie a, .hero__scroll {
  transition: opacity .3s ease;
}
.barra__menu:hover, .barra__tel:hover, .barra__reservar:hover,
.barra__marca:hover, .pie a:hover, .hero__scroll:hover { opacity: .5; }

.barra__menu, .barra__tel, .barra__reservar {
  font-family: var(--epigrafe);
  /* Escalado para equilibrar con el logo de 110px: a .6875rem quedaban
     insignificantes al lado del wordmark. */
  font-size: 1rem;
  font-weight: var(--peso-bold);
  letter-spacing: var(--tr-wider);
  text-transform: uppercase;
  color: inherit; text-decoration: none;
}
.barra__menu { justify-self: start; background: none; border: 0; padding: 0; cursor: pointer; }
.barra__derecha { justify-self: end; display: flex; align-items: center; gap: var(--gap-small); }
.barra__tel { display: none; font-weight: var(--peso-normal); }
.barra__reservar {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* Cortina de navegacion */
.cortina {
  position: fixed; inset: 0; z-index: 190;
  /* Los mismos colores de la página: beige de fondo, tinta gris. */
  background: var(--beige);
  color: var(--gris);
  display: flex; justify-content: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: calc(var(--barra-alto) + 2rem) var(--margen) var(--sec-medium);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s;
}
.cortina.abierta { opacity: 1; visibility: visible; }
/* margin:auto centra y, a diferencia de align-items:center, no recorta
   el contenido por arriba cuando se desborda. */
.cortina ul {
  margin: auto;
  width: 100%; max-width: 26rem;
  display: flex; flex-direction: column;
  text-align: center;
}
/* Filete entre entradas: convierte la lista en índice. */
.cortina li + li { border-top: 1px solid var(--filete-fino); }
.cortina li > a, .cortina summary { padding: .85rem 0; }
.cortina a, .cortina summary {
  display: block;
  font-family: var(--titular);
  font-size: 1.75rem; line-height: 1.15;
  font-weight: var(--peso-normal);
  letter-spacing: .01em;
  text-decoration: none;
  color: var(--gris);
  transition: opacity .3s ease;
}
.cortina a:hover, .cortina summary:hover { opacity: .5; }

/* ── Normas, desplegable dentro del menú ───────────────────────── */
.cortina summary {
  cursor: pointer;
  list-style: none;
  display: inline-flex; align-items: baseline; gap: .6rem;
}
.cortina summary::-webkit-details-marker { display: none; }
.cortina summary::after {
  content: "+";
  font-family: var(--cuerpo);
  font-size: .45em; font-weight: var(--peso-light);
  transform: translateY(-.15em);
  transition: opacity .3s ease;
}
.cortina details[open] summary::after { content: "–"; }

.normas__lista {
  max-width: 34rem;
  margin: var(--gap-regular) auto 0;
  text-align: left;
}
.normas__lista > div {
  padding: 1rem 0;
  border-top: 1px solid var(--filete-fino);
}
.normas__lista dt {
  font-family: var(--epigrafe);
  font-size: .6875rem; font-weight: var(--peso-bold);
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: var(--gris);
  margin-bottom: .35rem;
}
.normas__lista dd {
  font-size: .9375rem; line-height: 1.6;
  color: var(--gris-ten);
}

/* Indicador de bajada: una palabra y un filete por el que cae una luz.
   Sustituye al círculo con chevron, que es el recurso más visto de la web. */
.hero__scroll {
  position: absolute; inset: auto 0 0; z-index: 3;
  width: max-content; height: auto;
  margin-inline: auto;
  padding-bottom: 1.75rem;
  display: flex; flex-direction: column; align-items: center; gap: .85rem;
  color: var(--beige);
  text-decoration: none;
}
.hero__scroll span {
  font-family: var(--epigrafe);
  font-size: .75rem;
  font-weight: var(--peso-medio);
  letter-spacing: .34em;
  text-indent: .34em;
  text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(0, 0, 0, .55);
}
/* El filete: una guía tenue y, dentro, un tramo claro que la recorre. */
.hero__scroll i {
  position: relative; overflow: hidden;
  display: block; width: 2px; height: 3.5rem;
  background: rgba(239, 234, 221, .45);
  box-shadow: 0 0 10px rgba(0, 0, 0, .35);
}
.hero__scroll i::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 2px; height: 45%;
  background: #fff;
  animation: caer 2.4s cubic-bezier(.55, 0, .45, 1) infinite;
}
@keyframes caer {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(320%); }
}
.hero__scroll:hover span { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .hero__scroll i::after { animation: none; top: 28%; }
}

/* ──────────────────────────────────────────────────── 6 · HERO ── */
/* Dos franjas que suman el alto de pantalla: arriba la marca sobre fondo
   plano, abajo la foto a sangre. El logo deja de competir con las ramas
   y no necesita sombra. */
.section_hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  padding-top: var(--barra-alto);   /* deja sitio a la barra fija */
}

/* La foto va fuera del flujo: si queda dentro, su alto natural empuja la
   fila 1fr y el hero se pasa del alto de pantalla. */
.hero__foto {
  position: relative; overflow: hidden;
  min-height: 18rem;
}
.hero__foto picture { position: absolute; inset: 0; }
.hero__imagen {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 42%;
}

/* Velo muy leve: sin texto encima ya no hace falta oscurecer la foto,
   solo asentarla con el resto de la paleta y dar fondo a la flecha. */
.hero__velo {
  position: absolute; inset: 0;
  background:
    /* Base oscura al pie: es lo que hace legible el indicador sea cual
       sea la foto que haya detrás. */
    linear-gradient(to top, rgba(24,28,20,.68), rgba(24,28,20,.18) 18%, rgba(24,28,20,0) 34%),
    rgba(66, 65, 66, .10);
}

.hero__scroll {
  position: absolute; inset: auto 0 0; z-index: 3;
  aspect-ratio: 1; width: 3.75rem;
  margin-inline: auto;
  color: var(--beige);
  display: flex; justify-content: center; align-items: center;
  transition: opacity .3s;
}

.hero__scroll svg { width: 1.125rem; height: auto; }

/* ────────────────────────────────────────────────── 7 · TRAMOS ── */
.tramo { padding: var(--sec-large) var(--margen); }
.tramo--m { padding-block: var(--sec-large); }

/* Separador entre tramos de texto. Sangrado al ancho del contenido:
   a sangre completa pesaría demasiado para este registro. */
.tramo--filete { padding-top: var(--sec-small); }
.tramo--filete::before {
  content: "";
  display: block;
  width: 100%; max-width: var(--col-m);
  height: .5rem;
  margin: 0 auto var(--sec-small);
  /* Dos filetes de 2px que dejan un hueco central, y el cuadro de la marca
     dentro de ese hueco. El mismo motivo que va bajo los titulares. */
  background:
    linear-gradient(var(--filete), var(--filete)) left  center / calc(50% - 1.4rem) 2px no-repeat,
    linear-gradient(var(--filete), var(--filete)) right center / calc(50% - 1.4rem) 2px no-repeat,
    linear-gradient(var(--gris),   var(--gris))   center center / .5rem .5rem no-repeat;
}

/* Sin CTA al final, la intro no necesita cerrar con 9,5rem de fondo. */
#estancia { padding-bottom: var(--sec-small); }
.centro { text-align: center; }
.sombra { background: var(--sombra); }

/* Fila de sellos: centrada, encima del titular de la intro. */
.sellos {
  margin-top: var(--sec-medium);
  display: flex; align-items: center; justify-content: center;
  gap: clamp(2rem, 7vw, 3.5rem);
  margin-bottom: var(--sec-medium);
}
.sello { height: 68px; width: auto; }

.col-s { max-width: var(--col-s); margin-inline: auto; }
.col-m { max-width: var(--col-m); margin-inline: auto; }
.col-s p, .col-m p { color: var(--gris); }

/* ── Prosa ──
   Va con :where() para que su especificidad sea 0 y no pise a .epigrafe,
   que necesita su propio interlineado y su tracking a cero. ──────────────────────────────────────────────────────────
   El interlineado de 1.3 y el tracking de -.05em vienen del token de
   La Valise, calibrado para párrafos de dos líneas. En un bloque de
   lectura aprietan: 81 caracteres por línea a 1.3 de interlineado se
   lee mal. Se abre el aire y se estrecha la medida a ~64 caracteres. */
:where(.col-s, .col-m, .duo__texto) p {
  line-height: 1.62;
  letter-spacing: 0;
  margin-bottom: 1.15em;
  /* Reparte el texto entre todas las líneas en vez de dejar la última
     corta. En texto centrado, ese renglón suelto es lo que desordena. */
  text-wrap: balance;
}
.col-s p { max-width: 34rem; margin-inline: auto; }

.centro .punto { margin-inline: auto; }

/* ──────────────────────────────────── 9 · FILA DE HABITACIONES ── */
/* Sangra por los dos bordes y se arrastra, como su carrusel. */
.fila {
  display: flex; gap: var(--gap-small);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--margen) var(--sec-large);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.fila::-webkit-scrollbar { display: none; }
.fila figure { flex: 0 0 82vw; scroll-snap-align: center; }
/* Rótulo de suite: la categoría en versales diminutas y el nombre en la
   serif de los titulares, como los nombres de suite de La Valise. */
.fila figcaption {
  margin-top: 1.1rem;
  font-family: var(--titular);
  font-size: 1.25rem;
  font-weight: var(--peso-normal);
  line-height: 1.1;
  letter-spacing: .01em;
  color: var(--gris);
}
.fila figcaption span {
  display: block;
  margin-bottom: .55rem;
  font-family: var(--epigrafe);
  font-size: .75rem;              /* era .625rem */
  font-weight: var(--peso-bold);
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--gris);             /* a plena opacidad: antes iba al 55% */
}

.fila figure > picture { display: block; }
.fila img {
  width: 100%; height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radio-s);
}

/* ────────────────────────────────────────── 10 · IMAGEN PLENA ── */
.plena img { width: 100%; height: 60svh; min-height: 20rem; object-fit: cover; }

/* ──────────────────────────────────────────────────── 11 · DUO ── */
.duo { display: grid; }
.duo img { width: 100%; height: 62svh; min-height: 20rem; object-fit: cover; }
.duo__texto { padding: var(--sec-large) var(--margen); max-width: var(--col-s); margin-inline: auto; }
.duo__texto p { color: var(--gris); }
.duo__texto .punto { margin-left: 0; }

/* ────────────────────────────────────────────────── 12 · DATOS ── */
.datos { margin-top: var(--gap-medium); }
.datos > div { padding: var(--gap-small) 0; border-top: 1px solid var(--filete-fino); }
.datos > div:first-child { border-top-color: var(--filete); }
.datos dt {
  font-family: var(--epigrafe);
  font-size: .75rem; font-weight: var(--peso-bold);
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  margin-bottom: .4rem;
}
.datos dd { color: var(--gris); }

/* ─────────────────────────────────────────────── 13 · RESERVAS ── */
.reservas {
  background: var(--gris); color: var(--blanco);
  padding: var(--sec-large) var(--margen) var(--sec-medium);
}
.reservas p { color: rgba(255,255,255,.78); }
.correo { margin-top: var(--gap-regular); font-size: .9375rem; }
.correo a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
  transition: opacity .3s ease;
}
.correo a:hover { opacity: .5; }

/* ──────────────────────────────────────────────────── 14 · PIE ── */
.pie {
  background: var(--gris); color: rgba(255,255,255,.72);
  padding: 0 var(--margen) var(--sec-medium);
  font-size: .9375rem;
}
.pie__reja {
  max-width: var(--col-l); margin-inline: auto;
  display: grid; gap: var(--gap-regular);
  padding-top: var(--sec-medium);
  border-top: 2px solid var(--filete-claro);
}
.pie__tit {
  font-family: var(--epigrafe);
  font-size: .75rem; font-weight: var(--peso-bold);
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: var(--blanco); margin-bottom: .6rem;
}
.pie p { margin-bottom: .3rem; line-height: 1.6; }
.pie a { text-decoration: none; }
.pie__legal {
  max-width: var(--col-l); margin: var(--sec-small) auto 0;
  padding-top: var(--gap-small);
  border-top: 1px solid var(--filete-claro-fino);
  font-family: var(--epigrafe);
  font-size: .6875rem; letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: rgba(255,255,255,.45);
}

/* Pantallas estrechas (iPhone SE, 375px): MENÚ + logo + RESERVAR a 16px
   se rozan. Se bajan un punto para que respiren. */
@media (max-width: 30em) {
  :root { --barra-alto: 4rem; }
  .barra__menu, .barra__reservar { font-size: .875rem; }
  .barra__marca img { width: 92px; }
}

/* ==========================================================================
   15 · CORTE 48em
   ========================================================================== */
@media (min-width: 48em) {
  /* Su ornamento pasa de .5rem a .625rem desde tablet. */
  .punto { width: .625rem; height: .625rem; }

  :root { --sec-large: 4.25rem; --sec-medium: 2.75rem; --sec-small: 2rem; }

  body { font-size: 1.3125rem; letter-spacing: 0; line-height: 1.3; }


  .barra__tel { display: block; }

  .sello { height: 88px; }

  .fila figure { flex: 0 0 46vw; }

  .pie__reja { grid-template-columns: repeat(2, 1fr); gap: var(--gap-medium); }
}

/* ==========================================================================
   16 · CORTE 64em
   ========================================================================== */
@media (min-width: 64em) {

  .fila figure { flex: 0 0 44vw; }

  .duo { grid-template-columns: 1fr 1fr; align-items: center; }
  .duo img { height: 78svh; }
  .duo__texto { padding: var(--sec-large) clamp(2.5rem, 5vw, 4.5rem); margin-inline: 0; }
  .duo--inv figure { order: 2; }
  .duo--inv .duo__texto { order: 1; margin-left: auto; }

  .datos > div { display: grid; grid-template-columns: 14rem 1fr; gap: var(--gap-regular); align-items: baseline; }
  .datos dt { margin-bottom: 0; }

  .pie__reja { grid-template-columns: repeat(4, 1fr); }
}

/* ==========================================================================
   17 · PREFERENCIAS
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

@media print {
  .barra, .cortina { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ─────────────────────────────────────────────────── 18 · LEMA ── */
/* Cierra la pagina antes del pie, como su "AS UNIQUE, as our GUESTS". */
.lema {
  background: var(--gris); color: var(--beige);
  padding: 0 var(--margen);
  text-align: center;
}
/* Reservas, lema y pie comparten fondo y se leían como una sola mancha
   oscura de 19rem. El filete los articula sin romper la continuidad. */
.lema::before {
  content: "";
  display: block;
  width: 100%; max-width: var(--col-m);
  height: .5rem;
  margin: 0 auto var(--sec-medium);
  background:
    linear-gradient(var(--filete-claro), var(--filete-claro)) left  center / calc(50% - 1.4rem) 2px no-repeat,
    linear-gradient(var(--filete-claro), var(--filete-claro)) right center / calc(50% - 1.4rem) 2px no-repeat,
    linear-gradient(var(--beige),        var(--beige))        center center / .5rem .5rem no-repeat;
}
.lema p {
  /* Cierre, no eslogan: cuerpo de subtítulo, no de titular. */
  font-family: var(--titular);
  font-weight: var(--peso-light);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  line-height: 1.5;
  letter-spacing: .02em;
  margin: 0;
}
.lema strong { font-weight: var(--peso-medio); text-transform: uppercase; letter-spacing: .14em; }

/* Logo y lema forman el cierre de marca. Sobre fondo plano la caligrafía
   no necesita sombra. */
.lema__logo {
  width: 240px; height: auto;
  aspect-ratio: 784 / 419;
  margin: 0 auto var(--sec-medium);
}

@media (min-width: 48em) {
  .lema__logo { width: 320px; }
}

/* ───────────────────────────────────────────── 19 · WHATSAPP ── */
/* Siempre visible, abajo a la derecha. En gris de marca con el glifo en
   beige: el verde oficial rompe la paleta y el icono ya es reconocible
   por su forma. */
.wasap {
  position: fixed; right: var(--margen); bottom: var(--margen); z-index: 180;
  width: 3.75rem; height: 3.75rem;
  border-radius: 50%;
  /* Verde oficial de WhatsApp. */
  background: #25d366;
  color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 4px 18px rgba(35, 39, 31, .3);
  transition: background .3s ease, transform .3s ease;
}
.wasap:hover { background: #1da851; transform: translateY(-2px); }
.wasap svg { display: block; width: 55%; height: auto; }

@media (min-width: 48em) {
  .wasap { width: 4.25rem; height: 4.25rem; }
}

@media print { .wasap { display: none !important; } }

/* ────────────────────────────────────────────── 20 · HUECOS ── */
/* Marcadores para la fotografía pendiente. Reservan la proporción y el
   sitio exactos, así que sustituirlos por la foto real no mueve nada. */
.hueco {
  background: var(--sombra);
  border: 1px dashed var(--filete);
  display: grid; place-items: center;
  text-align: center;
  padding: 1.5rem;
}
.hueco span {
  font-family: var(--epigrafe);
  font-size: .75rem; font-weight: var(--peso-semi);
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: var(--gris);
}
.hueco small {
  display: block; margin-top: .55rem;
  font-family: var(--cuerpo); font-size: .75rem; font-weight: var(--peso-light);
  letter-spacing: 0; text-transform: none;
  color: var(--gris); opacity: .6;
}

.fila .hueco { aspect-ratio: 4 / 5; }
.plena .hueco { height: 60svh; min-height: 20rem; }

/* ────────────────────────────────────────────── 21 · RELATO ── */
/* Texto sobre fotografía a sangre. El velo es lo que hace legible el
   texto sin apagar la imagen. */
.relato { position: relative; overflow: hidden; }
.relato picture { position: absolute; inset: 0; }
.relato img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 40%;
}
.relato__velo {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(30,34,26,.72), rgba(30,34,26,.62)),
    rgba(66, 65, 66, .1);
}
.relato__texto {
  position: relative; z-index: 2;
  max-width: 40rem;
  margin-inline: auto;
  padding: var(--sec-large) var(--margen);
  text-align: center;
  color: var(--beige);
}
.relato__texto h2 { color: var(--beige); }
.relato__texto p { color: rgba(239, 234, 221, .84); }
.relato__bajada {
  font-family: var(--titular);
  font-size: clamp(1.05rem, 1.9vw, 1.3rem);
  font-weight: var(--peso-light);
  line-height: 1.45;
  letter-spacing: .01em;
  text-transform: none;
}
.relato .punto--claro { background: var(--beige); }

/* ──────────────────────────────────────────────── 22 · MAPA ── */
/* Ocupa el mismo hueco que ocupaba la foto en el dúo. El filtro lo
   acerca a la paleta sin comprometer la legibilidad de las calles. */
/* Banda a todo el ancho, debajo del texto de Ubicación. */
.mapa { line-height: 0; }
.mapa iframe {
  display: block;
  width: 100%;
  height: 48svh;
  min-height: 18rem;
  border: 0;
  filter: grayscale(.4) sepia(.15) contrast(.96);
}
@media (min-width: 64em) {
  .mapa iframe { height: 56svh; }
}

/* ────────────────────────────────────────── 23 · DESTACADOS ── */
/* Un solo escalón de peso sobre el cuerpo. Sin color ni tamaño distintos:
   marcan el dato sin romper la mancha del párrafo. */
strong { font-weight: var(--peso-medio); color: inherit; }

/* El hueco dentro de un dúo toma la altura de la foto a la que sustituye. */
.duo .hueco {
  height: 62svh;
  min-height: 20rem;
}
@media (min-width: 64em) {
  .duo .hueco { height: 78svh; }
}

/* ──────────────────────────────────────────── 24 · MARCO ── */
/* Passe-partout blanco fino alrededor de la fotografía, y separación
   del borde de la página. El marco va en el <picture>, no en el
   <figure>, para que el nombre de la suite quede fuera del cuadro. */
.duo figure > picture,
.duo figure > .marco,
.fila figure > picture {
  display: block;
  background: var(--marco);
  padding: clamp(.45rem, 1vw, .8rem);
  /* El filete define el borde; la sombra le da grosor. */
  box-shadow: 0 0 0 1px rgba(66, 65, 66, .12),
              0 1px 5px rgba(35, 39, 31, .06);
}

/* Las fotos de los dúos dejan de ir pegadas al borde. */
.duo figure { margin: var(--margen); }
@media (min-width: 64em) {
  .duo figure         { margin: var(--sec-medium) 0 var(--sec-medium) var(--margen); }
  .duo--inv figure    { margin: var(--sec-medium) var(--margen) var(--sec-medium) 0; }
}

/* El mapa también se despega de los bordes. */
.mapa { padding: 0 var(--margen); }

/* ─────────────────────────────────────── 25 · CARRUSEL ── */
/* Cuatro imágenes apiladas que se funden entre sí. El fundido, y no el
   desplazamiento, es lo que corresponde a un solo hueco de foto. */
.carrusel {
  position: relative;
  height: 62svh;
  min-height: 20rem;
  overflow: hidden;
}
.carrusel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease;
}
.carrusel img.activa { opacity: 1; }

@media (min-width: 64em) {
  .carrusel { height: 78svh; }
}
@media (prefers-reduced-motion: reduce) {
  .carrusel img { transition: none; }
}

/* ───────────────────────────────────────── 26 · AVISO ── */
/* Burbuja junto al botón de WhatsApp. Va en el blanco cálido del marco,
   no en verde: el verde es del botón, y dos verdes seguidos gritan. */
.aviso {
  position: fixed; z-index: 179;
  right: var(--margen);
  bottom: calc(var(--margen) + 3.75rem + .9rem);
  width: min(19rem, calc(100vw - var(--margen) * 2));
  padding: 1.15rem 1.25rem 1.15rem;
  background: var(--marco);
  border-radius: .75rem;
  box-shadow: 0 0 0 1px rgba(66, 65, 66, .1),
              0 8px 28px rgba(35, 39, 31, .16);
  opacity: 0; transform: translateY(.6rem);
  transition: opacity .45s ease, transform .45s ease;
}
.aviso[hidden] { display: none; }
.aviso.visible { opacity: 1; transform: none; }

/* Pico que apunta al botón. */
.aviso::after {
  content: "";
  position: absolute; right: 1.6rem; bottom: -.45rem;
  width: .9rem; height: .9rem;
  background: var(--marco);
  border-right: 1px solid rgba(66, 65, 66, .1);
  border-bottom: 1px solid rgba(66, 65, 66, .1);
  transform: rotate(45deg);
}

.aviso p {
  margin: 0 0 .85rem;
  font-size: .9375rem;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--gris);
}
.aviso__cta {
  font-family: var(--epigrafe);
  font-size: .75rem; font-weight: var(--peso-bold);
  letter-spacing: var(--tr-wider); text-transform: uppercase;
  color: var(--gris);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: opacity .3s ease;
}
.aviso__cta:hover { opacity: .5; }

.aviso__cerrar {
  position: absolute; top: .3rem; right: .45rem;
  width: 1.75rem; height: 1.75rem;
  background: none; border: 0; cursor: pointer;
  font-size: 1.25rem; line-height: 1;
  color: var(--gris); opacity: .45;
  transition: opacity .3s ease;
}
.aviso__cerrar:hover { opacity: 1; }

@media (min-width: 48em) {
  .aviso { bottom: calc(var(--margen) + 4.25rem + 1rem); }
}
@media print { .aviso { display: none !important; } }

/* ────────────────────────────────────── 27 · DETALLES ── */

/* Grano finísimo sobre toda la página. Le da textura de papel al beige,
   que si no queda como un plano digital. Es un SVG en línea: no descarga
   ningún archivo. */
body::after {
  content: "";
  position: fixed; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Ken burns muy lento en el hero: se percibe como que la imagen respira,
   no como un movimiento. */
.hero__imagen { animation: respirar 26s ease-out forwards; }
@keyframes respirar {
  from { transform: scale(1.06); }
  to   { transform: scale(1); }
}

.duo figure > picture,
.duo figure > .marco,
.fila figure > picture { overflow: hidden; }
/* Solo se transiciona la opacidad: el carrusel se funde, nada se acerca. */
.carrusel img { transition: opacity .55s ease; }

/* Aparición al entrar en pantalla. */
/* Solo se oculta si el script llegó a ejecutarse. Sin esta condición,
   un fallo de JavaScript dejaría ocho bloques de texto invisibles. */
.js .revelar { opacity: 0; transform: translateY(1.25rem); }
.js .revelar.visible {
  opacity: 1; transform: none;
  transition: opacity 1s ease, transform 1s cubic-bezier(.22,.61,.36,1);
}

@media (prefers-reduced-motion: reduce) {
  .hero__imagen { animation: none; }
  .js .revelar { opacity: 1; transform: none; }
}
