:root {
  /* Exploración v2 (handoff Claude Design): tokens según handoff/tokens-patch.css.
     Los ajustes de contraste CAL-005 se mantienen intactos. */
  --ink: #192238;
  --muted: #657184;
  --sun: #ffc938;
  --sun-soft: #fff3c9;
  --facade: #f5d88f;
  /* Superficies cálidas unificadas (antes #fff9ea/#eaf8f6/#e8f7fb + gradientes). */
  --soft: #faf7f0;
  --soft-teal: #eef7f6;
  --soft-green: #f4fbf7;
  --sky: var(--soft-teal); /* alias legacy */
  --soft-2: var(--soft-teal); /* alias legacy */
  /* Hairline cálido único (antes #dfe8e8 frío). */
  --line: #ece7dc;
  --line-strong: #e2ddd1;
  --teal: #007a7c; /* Mínimo 4.5:1 sobre blanco (WCAG AA); igual al theme-color declarado. */
  --teal-dark: #006b75;
  /* CAL-005: coral original #ff544d daba 3.17:1 con texto blanco (falla AA).
     #d43a34 = 4.7:1 y #b7332c = 6.0:1 mantienen la familia de rojos cálidos.
     Para volver al look anterior (perdiendo AA) basta restaurar los valores. */
  --coral: #d43a34;
  --coral-dark: #b7332c;
  --red: #e5212e;
  --leaf: #7f9f23;
  --gold: #f3b12f;
  --white: #fff;
  /* Sombras: escala de 3 + CTA (reemplaza niveles ad-hoc). */
  --shadow-card: 0 1px 2px rgba(25, 34, 56, .05), 0 8px 24px rgba(25, 34, 56, .06);
  --shadow-float: 0 10px 32px rgba(25, 34, 56, .14);
  --shadow-overlay: 0 24px 64px rgba(25, 34, 56, .18);
  --shadow-cta: 0 6px 16px rgba(212, 58, 52, .22);
  --shadow: var(--shadow-card); /* alias legacy */
  /* Radios: 16 / 12 / pill (antes 8/10/12/14/18/22 mezclados). */
  --radius: 16px;
  --radius-sm: 12px;
  --radius-pill: 999px;
  /* Paleta pintura Calimera: un color por unidad (colchas/paredes reales).
     Uso: filete inferior en la foto de card + chip junto al título. */
  --paint-doble: #4a70c4;
  --paint-doble-superior: #e07a2e;
  --paint-triple: #a5b32c;
  --paint-triple-superior: #d43a34;
  --paint-cuadruple: #5b7fd4;
  --paint-depto-doble: #00939b;
  --paint-depto-triple: #c2317e;
  --paint-depto-cuadruple: #dba422;
  /* WhatsApp: verde propio (ya AA con texto blanco), no teal. */
  --wa: #0f7f4c;
  --wa-dark: #0d6f43;
  /* Header claro (dirección 1a "Brisa"). */
  --header-bg: rgba(255, 255, 255, .96);
  --header-ink: #3f4a5f;
  /* Dorado "Santa Teresita" sobre header claro. El #b98a2f del handoff daba
     ~3.3:1 sobre blanco a 11.5px bold (falla AA); #8f6a1d da 4.9:1 manteniendo
     la familia dorada. Documentado como desvío en el reporte. */
  --brand-gold-on-light: #8f6a1d;
  /* Footer/banda CTA carbón azulado. */
  --charcoal: #14202e;
  --charcoal-band: #182a3a;
  --container: 1180px;
  --font: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  padding-bottom: 0;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

picture {
  display: block;
  max-width: 100%;
}

img.image-fade {
  background: var(--soft);
  filter: blur(10px);
  transition: opacity .36s ease, filter .42s ease;
}

img.image-fade:not(.is-active):not(.is-next) {
  opacity: 0;
}

img.image-fade.is-loaded {
  filter: blur(0);
}

img.image-fade.is-loaded:not(.is-active):not(.is-next) {
  opacity: 1;
}

.brand__logo-mark picture,
.reservation-overlay__brand picture {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--teal);
}

:focus-visible {
  outline: 3px solid rgba(255, 201, 56, .65);
  outline-offset: 3px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-family: var(--font);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -.01em;
}

h1 {
  font-size: clamp(2.375rem, 4.7vw, 4rem);
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.4rem, 2.2vw, 1.875rem);
  margin-bottom: 8px;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 8px;
}

p {
  color: var(--muted);
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
}

.sr-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 1000;
  top: 16px;
  left: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: var(--white);
}

.icon {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.site-header {
  position: sticky;
  z-index: 80;
  top: 0;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  width: min(1320px, calc(100% - 40px));
  min-height: 80px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-header__inner .mobile-reserve {
  display: none;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--ink);
}

.site-footer .brand {
  color: var(--white);
}

.brand__logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 156px;
  height: 52px;
}

.brand__logo-mark img {
  width: 100%;
  height: auto;
}

.brand__place {
  display: block;
  color: var(--brand-gold-on-light);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 10.5px;
  line-height: 1.25;
  letter-spacing: .08em;
}

.brand__place span {
  display: block;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
  font-size: .95rem;
}

.desktop-nav a {
  padding-block: 28px;
  color: var(--header-ink);
  font-weight: 600;
}

.desktop-nav a:hover {
  color: var(--ink);
}

.desktop-nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 800;
  box-shadow: inset 0 -2.5px 0 var(--coral);
  padding-bottom: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: color .18s ease, transform .18s ease, box-shadow .18s ease, background .15s ease, border-color .18s ease;
}

[hidden] {
  display: none !important;
}

.btn .icon {
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
}

.btn:hover,
.btn:focus-visible {
  transform: translateY(-1px);
  color: inherit;
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--coral);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background: var(--coral-dark);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}

.btn--primary:active {
  background: var(--coral-dark);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(212, 58, 52, .2);
}

.btn--ghost {
  background: transparent;
  border: 1.5px solid rgba(0, 122, 124, .4);
  color: var(--teal-dark);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: #f0fbfb;
  border-color: rgba(0, 122, 124, .68);
  color: var(--teal-dark);
  box-shadow: none;
}

.btn--ghost:active {
  background: #e8f7f7;
  color: var(--teal-dark);
  box-shadow: none;
}

/* Botón WhatsApp: SIEMPRE verde propio, nunca teal ni coral. */
.btn--whatsapp {
  background: var(--white);
  border: 1.5px solid rgba(15, 127, 76, .4);
  color: var(--wa-dark);
}

.btn--whatsapp:hover,
.btn--whatsapp:focus-visible {
  background: var(--soft-green);
  border-color: rgba(15, 127, 76, .62);
  color: var(--wa-dark);
  box-shadow: none;
}

.btn--whatsapp:active {
  background: var(--soft-green);
  color: var(--wa-dark);
}

.btn--light {
  background: rgba(255, 255, 255, .9);
  color: var(--ink);
}

.btn--light:hover,
.btn--light:focus-visible {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 10px 22px rgba(8, 14, 24, .14);
}

.btn--light:active {
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 6px 16px rgba(8, 14, 24, .1);
}

.btn--wide {
  width: 100%;
}

.btn:disabled,
.btn[disabled] {
  opacity: .58;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.btn[data-loading="true"] {
  opacity: 1;
  cursor: progress;
}

.btn[data-loading="true"] .button-spinner {
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .48);
  border-top-color: currentColor;
  border-radius: 999px;
  animation: button-spin .75s linear infinite;
}

.btn--ghost[data-loading="true"] .button-spinner,
.btn--light[data-loading="true"] .button-spinner {
  border-color: rgba(0, 143, 152, .24);
  border-top-color: currentColor;
}

.btn:disabled:hover,
.btn[disabled]:hover,
.btn:disabled:focus-visible,
.btn[disabled]:focus-visible,
.btn:disabled:active,
.btn[disabled]:active {
  transform: none;
  box-shadow: none;
}

@keyframes button-spin {
  to {
    transform: rotate(360deg);
  }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  color: var(--teal);
  font-weight: 800;
  line-height: 1.2;
  transition: color .18s ease, transform .18s ease;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--teal-dark);
  transform: translateX(2px);
}

.text-link:active {
  transform: translateX(0);
}

.menu-button {
  display: none;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.menu-button span:not(.sr-only) {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
  transform-origin: center;
  transition: opacity .18s ease, transform .18s ease;
}

.menu-button:focus-visible {
  outline: 3px solid rgba(255, 201, 56, .58);
  outline-offset: 3px;
}

.site-header.is-open .menu-button {
  border-color: var(--line-strong);
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

.site-header.is-open .menu-button span:not(.sr-only):nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-open .menu-button span:not(.sr-only):nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-button span:not(.sr-only):nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* A2 (P4): menú mobile a pantalla completa — links grandes apilados +
   bloque fijo inferior de conversión. Oculto por defecto en desktop. */
.mobile-nav {
  display: none;
}

.mobile-nav__links a {
  display: block;
  padding: 15px 0;
  border-bottom: 1px solid #f2efe8;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  transition: color .18s ease;
}

.mobile-nav__links a:last-child {
  border-bottom: 0;
}

.mobile-nav__links a:hover,
.mobile-nav__links a:focus-visible {
  color: var(--coral-dark);
}

.mobile-nav__links a:focus-visible {
  outline: 3px solid rgba(255, 201, 56, .58);
  outline-offset: 2px;
}

.mobile-nav__links a[aria-current="page"] {
  color: var(--coral);
}

.mobile-nav__footer {
  margin: auto -20px 0;
  padding: 16px 20px calc(20px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.mobile-nav__footer .btn {
  width: 100%;
}

.mobile-nav__footer .btn--rect {
  border-radius: 13px;
}

.mobile-nav__footer .btn + .btn {
  margin-top: 9px;
}

.mobile-nav__contact {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 11.5px;
  line-height: 1.5;
  text-align: center;
}

.mobile-nav__contact a {
  color: inherit;
}

.home-hero {
  position: relative;
  margin-bottom: 112px;
}

.home-hero__visual {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #173247;
}

.home-hero__media {
  position: absolute;
  inset: 0;
}

.home-hero__media picture,
.subhero__media picture,
.accommodation-card__image picture,
.photo-row picture,
.offer-card picture,
.room-photo-grid picture {
  width: 100%;
  height: 100%;
}

.home-hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease, filter .42s ease;
}

.home-hero__media img.is-active {
  opacity: 1;
}

.home-hero__media img.is-next {
  opacity: 0;
}

.home-hero__visual::after,
.subhero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, .04) 32%, rgba(15, 23, 42, .66) 100%);
  pointer-events: none;
}

/* A1: el hero se contiene como el resto de la página en pantallas anchas. */
.home-hero__content {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 116px;
  z-index: 2;
  width: min(1320px, calc(100% - 112px));
  transform: translateX(-50%);
  color: var(--white);
}

.home-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2.375rem, 4.7vw, 4rem);
  font-weight: 800;
  letter-spacing: -.012em;
  line-height: 1;
}

.home-hero__content p {
  margin: 0;
  max-width: 640px;
  color: rgba(255, 255, 255, .94);
  font-size: clamp(.925rem, 1.3vw, 1.125rem);
  line-height: 1.55;
  text-wrap: pretty;
}

.home-hero__booking {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: -54px;
  z-index: 3;
  width: min(1320px, calc(100% - 112px));
  transform: translateX(-50%);
}

@media (min-width: 1440px) {
  .home-hero__visual {
    height: 620px;
  }

  .home-hero__booking {
    width: min(1180px, calc(100% - 112px));
  }
}

@media (max-width: 1180px) {
  .home-hero {
    margin-bottom: 0;
  }

  .home-hero__visual {
    height: 460px;
  }

  .home-hero__content {
    left: 20px;
    right: 20px;
    bottom: 78px;
    width: auto;
    transform: none;
  }

  .home-hero__booking {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: auto;
    margin: -40px 16px 0;
    transform: none;
  }
}

@media (max-width: 720px) {
  .home-hero__visual {
    height: 400px;
  }

  .home-hero h1 {
    font-size: 38px;
  }

  .home-hero__content p {
    font-size: 14.5px;
  }
}

.home-discovery {
  min-width: 0;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .96);
  box-shadow: var(--shadow);
}

.home-discovery__header {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, .9fr);
  gap: 18px;
  align-items: end;
}

.home-discovery__header h2 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1.8rem);
}

.home-discovery__header p {
  margin: 0;
  color: var(--muted);
}

.home-discovery .accommodation-filter {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) auto;
  margin: 16px 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-discovery .filter-choice span {
  min-height: 44px;
  padding: 10px 12px;
  font-size: .84rem;
}

.home-discovery__results-bar {
  margin-bottom: 12px;
  font-size: .92rem;
}

.home-discovery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.discovery-card {
  min-width: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.discovery-card.is-hidden {
  display: none;
}

.discovery-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: calc(var(--radius-sm) - 1px) calc(var(--radius-sm) - 1px) 0 0;
  background: var(--soft);
}

.discovery-card__media picture,
.discovery-card__media img {
  width: 100%;
  height: 100%;
}

.discovery-card__media img {
  object-fit: cover;
  transition: opacity .36s ease, filter .42s ease, transform .55s ease;
}

.discovery-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.discovery-card h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.discovery-card h3 a {
  color: var(--ink);
}

.discovery-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.35;
}

.discovery-card__meta .icon {
  flex: 0 0 18px;
  width: 18px;
  height: 18px;
  color: var(--teal);
}

.discovery-card__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.discovery-card__actions .btn {
  width: 100%;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: .86rem;
}

.discovery-card__actions .unit-price {
  flex: 1 1 100%;
}

.home-discovery__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 14px 0 0;
}

/* ============ Booking form v2 (mockups Home/Reservas/Detalle) ============ */
/* Base (mobile-first): card apilada. --bar se expande a fila única en desktop
   ancho; --panel quita el chrome (vive dentro de un panel/rail propio). */
.booking-form {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: var(--shadow-float);
}

.booking-form--panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.booking-form__label {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  line-height: 1.2;
  text-transform: uppercase;
}

.booking-form__dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

/* El input date real queda invisible pero operable (tests y teclado); el valor
   se muestra localizado dd/mm/aaaa vía app.js. */
.booking-form__field--date {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 58px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: pointer;
  text-align: left;
  transition: border-color .15s ease, background .15s ease;
}

.booking-form__field--date:hover {
  border-color: #c9c2b2;
}

.booking-form__field--date:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 152, .14);
}

.booking-form__field--date .icon {
  display: none;
}

.booking-form__field--date input[type="date"],
.booking-form__field--date input[data-date-input] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: transparent;
  font: inherit;
  opacity: 0;
  cursor: pointer;
}

.booking-form__date-display {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.25;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.booking-form__field.has-localized-date-display:not(.has-date-value) .booking-form__date-display {
  color: #6a7588; /* 4.66:1 sobre blanco (AA) */
}

.booking-form__field.has-date-value .booking-form__date-display {
  color: var(--ink);
}

.booking-form__field.has-error {
  border-color: rgba(212, 58, 52, .55);
  background: #fff7f5;
}

.booking-form__field.has-error .booking-form__label,
.booking-form__field.has-error .booking-form__date-display {
  color: var(--coral-dark);
}

.field-error {
  display: block;
  margin: 4px 0 0;
  color: var(--coral-dark);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.25;
}

/* Huéspedes: cajas con stepper en los extremos (mockup 5a / Reservas). */
.booking-form__guest-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 8px;
}

.booking-form__guest-row > .icon,
.booking-form__guests-label {
  display: none;
}

.booking-form__guest-fields {
  display: contents;
}

.booking-form__field--stepper {
  min-width: 0;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
}

.booking-form__stepper-label {
  display: block;
  min-width: 0;
  color: var(--ink);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.booking-form__stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 5px;
}

.booking-form__stepper-button {
  position: relative;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8e5e4;
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--teal-dark);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  touch-action: manipulation;
  transition: background .15s ease, border-color .15s ease;
}

.booking-form__stepper-button:hover:not(:disabled) {
  background: #eefafa;
}

.booking-form__stepper-button:focus-visible {
  outline: 0;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 152, .18);
}

.booking-form__stepper-button:disabled {
  border-color: rgba(101, 113, 132, .16);
  background: #f2f5f5;
  color: #a6b0bb;
  cursor: not-allowed;
}

.booking-form__stepper-value,
.booking-form__stepper-value span {
  min-width: 1.4ch;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1;
  text-align: center;
}

.booking-form .booking-form__stepper-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -moz-appearance: textfield;
  appearance: textfield;
}

.booking-form .booking-form__stepper-input::-webkit-inner-spin-button,
.booking-form .booking-form__stepper-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

/* Código promocional */
.booking-form__promo {
  display: block;
  min-width: 0;
  margin-top: 8px;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--white);
  cursor: text;
  transition: border-color .15s ease;
}

.booking-form__promo:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0, 143, 152, .14);
}

.booking-form__promo .icon {
  display: none;
}

.booking-form__promo input {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: 3px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #384250;
  font: inherit;
  font-size: 15px;
  outline: none;
  text-transform: uppercase;
}

.booking-form__promo input::placeholder {
  color: #6a7588; /* 4.66:1 sobre blanco (AA) */
  text-transform: none;
}

/* CTA */
.booking-form button[type="submit"] {
  width: 100%;
  min-height: 50px;
  margin-top: 10px;
  padding: 15px;
  border-radius: 13px;
  font-size: 15px;
}

.booking-form__trust {
  margin: 9px 0 0;
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
}

.booking-form__message {
  margin: 8px 0 0;
  color: var(--coral-dark);
  font-size: .9rem;
  font-weight: 700;
  text-align: center;
}

.booking-form__message:empty {
  display: none;
}

.booking-trust-note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 650;
  line-height: 1.4;
}

.booking-trust-note--panel,
.booking-trust-note--rail {
  color: var(--teal-dark);
}

/* Barra de una fila (hero desktop, mockup Home). */
@media (min-width: 1181px) {
  .booking-form--bar {
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
    padding: 8px;
    border-radius: 20px;
  }

  .booking-form--bar .booking-form__dates {
    display: contents;
  }

  .booking-form--bar .booking-form__field--date {
    flex: 1.05;
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 12px;
    align-content: center;
    min-height: 0;
    padding: 12px 20px;
    border: 0;
    border-right: 1px solid var(--line);
    border-radius: 12px;
  }

  .booking-form--bar .booking-form__field--date:hover {
    background: var(--soft);
  }

  .booking-form--bar .booking-form__field--date.has-error {
    background: #fff7f5;
  }

  .booking-form--bar .booking-form__field--date .icon {
    display: block;
    grid-row: 1 / span 2;
    align-self: center;
    width: 20px;
    height: 20px;
    color: var(--teal);
  }

  .booking-form--bar .booking-form__field--date .booking-form__label,
  .booking-form--bar .booking-form__date-display,
  .booking-form--bar .booking-form__field--date .field-error {
    grid-column: 2;
  }

  .booking-form--bar .booking-form__date-display {
    margin-top: 2px;
  }

  .booking-form--bar .booking-form__guest-row {
    flex: 1.5;
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 12px;
    align-content: center;
    gap: 0 12px;
    margin: 0;
    padding: 12px 20px;
    border-right: 1px solid var(--line);
  }

  .booking-form--bar .booking-form__guest-row > .icon {
    display: block;
    grid-row: 1 / span 2;
    align-self: center;
    width: 20px;
    height: 20px;
    color: var(--teal);
  }

  .booking-form--bar .booking-form__guests-label {
    display: block;
    grid-column: 2;
    color: var(--ink);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .booking-form--bar .booking-form__guest-fields {
    display: flex;
    grid-column: 2;
    align-items: center;
    gap: 18px;
    margin-top: 3px;
  }

  .booking-form--bar .booking-form__field--stepper {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .booking-form--bar .booking-form__stepper-label {
    color: #384250;
    font-size: 14.5px;
    font-weight: 400;
    letter-spacing: 0;
    text-transform: none;
  }

  .booking-form--bar .booking-form__stepper {
    display: inline-flex;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
  }

  .booking-form--bar .booking-form__stepper-button {
    width: 26px;
    height: 26px;
    flex-basis: 26px;
    font-size: 14px;
  }

  .booking-form--bar .booking-form__promo {
    flex: .8;
    display: grid;
    grid-template-columns: 20px 1fr;
    column-gap: 12px;
    align-content: center;
    margin: 0;
    padding: 12px 20px;
    border: 0;
    border-radius: 0;
  }

  .booking-form--bar .booking-form__promo .icon {
    display: block;
    grid-row: 1 / span 2;
    align-self: center;
    width: 20px;
    height: 20px;
    color: var(--teal);
  }

  .booking-form--bar .booking-form__promo .booking-form__label,
  .booking-form--bar .booking-form__promo input {
    grid-column: 2;
  }

  .booking-form--bar .booking-form__promo input {
    margin-top: 2px;
  }

  .booking-form--bar button[type="submit"] {
    width: auto;
    flex: 0 0 auto;
    align-self: stretch;
    min-height: 0;
    margin: 0 0 0 4px;
    padding: 0 28px;
    border-radius: 15px;
    font-size: 15.5px;
  }

  .booking-form--bar .booking-form__trust,
  .booking-form--bar .booking-form__message {
    flex: 1 0 100%;
  }

  .booking-form--bar .booking-form__trust {
    margin: 10px 0 2px;
  }
}

/* Variante rail (detalle): mismas cajas, más compactas. */
.reservation-rail .booking-form__field--date,
.reservation-rail .booking-form__field--stepper,
.reservation-rail .booking-form__promo {
  padding: 10px 14px;
}

.reservation-rail .booking-form__field--date {
  min-height: 54px;
}

.reservation-rail .booking-form__stepper-button {
  width: 26px;
  height: 26px;
  flex-basis: 26px;
  font-size: 14px;
}

.reservation-rail .booking-form__date-display,
.reservation-rail .booking-form__promo input {
  font-size: 14px;
}

.reservation-rail .booking-form button[type="submit"] {
  border-radius: 14px;
}

.section {
  padding: 74px 0;
}

.section--tight {
  padding-top: 38px;
}

.section--tint {
  background: var(--soft);
}

.section-intro {
  max-width: 730px;
  margin: 0 auto 34px;
  text-align: center;
}

.section-intro--left {
  margin-left: 0;
  text-align: left;
}

.section-kicker,
.card-kicker {
  margin-bottom: 8px;
  color: var(--teal);
  font-weight: 850;
  text-transform: uppercase;
  font-size: .78rem;
}

.trust-strip {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1.18fr) minmax(0, 1.12fr) minmax(0, 1.02fr) auto;
  gap: 1px;
  margin-top: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow-card);
}

.trust-strip__item,
.trust-strip__link {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px;
  background: var(--white);
}

.trust-strip__item small {
  display: block;
  color: var(--muted);
}

.trust-strip__item span:last-child,
.proof-row strong,
.contact-method div {
  min-width: 0;
}

.trust-strip__link {
  color: var(--teal);
  font-weight: 800;
}

.trust-strip__item:hover,
.source-card:not(.source-card--total):hover {
  color: var(--ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-float);
}

.trust-strip__item:hover .score,
.source-card:not(.source-card--total):hover .score {
  color: var(--coral);
}

.score {
  color: var(--teal);
  font-size: 2.15rem;
  font-weight: 650;
  letter-spacing: 0;
}

.trust-strip__item--booking .score {
  font-size: 2.02rem;
}

.proof-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.proof-row div {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 86px;
  padding: 18px;
  background: var(--soft);
  color: var(--teal);
}

.proof-row strong {
  color: var(--ink);
  line-height: 1.25;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.accommodation-card {
  overflow: visible;
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.accommodation-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  background: var(--soft);
}

.accommodation-card {
  position: relative;
}

.accommodation-card.is-hidden {
  display: none;
}

.accommodation-card__image img,
.photo-row img,
.offer-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.accommodation-card__image img {
  transition: opacity .36s ease, filter .42s ease, transform .55s ease;
}

.accommodation-card__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.accommodation-card h3 {
  margin-top: 0;
}

.accommodation-card h3 a {
  color: var(--ink);
}

.accommodation-card__description,
.accommodation-hub-card__description {
  margin-bottom: 0;
}

.stay-type-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.stay-type-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.stay-type-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background: var(--soft);
}

.stay-type-card__media picture,
.stay-type-card__media img {
  width: 100%;
  height: 100%;
}

.stay-type-card__media img {
  object-fit: cover;
  transition: opacity .36s ease, filter .42s ease, transform .55s ease;
}

.stay-type-card > div {
  min-width: 0;
  padding: 22px;
}

.stay-type-card h3 {
  margin-bottom: 10px;
}

.meta-list,
.check-list,
.rail-list {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}

.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  color: var(--muted);
  font-size: .9rem;
}

.meta-list li,
.check-list li,
.rail-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-actions {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.unit-price {
  position: relative;
  display: inline-flex;
  min-width: min(100%, 232px);
}

.unit-price.is-open {
  z-index: 78;
}

.unit-price > .btn {
  width: 100%;
}

.unit-price--mobile-sticky-target {
  width: 0;
  min-width: 0;
  height: 0;
  overflow: visible;
}

.unit-price--mobile-sticky-target > [data-unit-price-trigger] {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
}

.unit-price-popover {
  position: absolute;
  z-index: 2;
  top: calc(100% + 10px);
  left: 0;
  width: min(382px, calc(100vw - 32px));
  max-height: var(--unit-price-popover-max-height, calc(100vh - 112px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-overlay);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px) scale(.985);
  transform-origin: top left;
  transition: opacity .18s ease, transform .18s ease;
}

.unit-price-popover[hidden] {
  display: none;
}

.unit-price.is-open .unit-price-popover {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.unit-price.is-closing .unit-price-popover {
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(.985);
}

.unit-price-popover__header {
  position: sticky;
  z-index: 2;
  top: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  background: var(--white);
}

.unit-price-popover__header h4 {
  margin: 2px 0 0;
  font-size: 1.08rem;
  line-height: 1.15;
}

.unit-price-popover__header .card-kicker {
  margin: 0;
}

.unit-price-popover__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.unit-price-popover__intro {
  margin: 10px 0 14px;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.45;
}

.unit-price-form {
  display: grid;
  gap: 12px;
}

.unit-price-form__dates,
.unit-price-form__guests {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.unit-price-form label,
.unit-price-form__guest-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--ink);
  font-size: .78rem;
  font-weight: 850;
  transition: color .18s ease;
}

.unit-price-form__field-label {
  min-width: 0;
}

.unit-price-form input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  caret-color: var(--teal-dark);
  font: inherit;
  font-weight: 520;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.unit-price-form__date-field.has-localized-date-display input[type="date"],
.unit-price-form__date-field.has-localized-date-display input[data-date-input] {
  grid-column: 1;
  grid-row: 2;
  color: transparent;
  caret-color: transparent;
}

.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit,
.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit-fields-wrapper,
.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit-text,
.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit-day-field,
.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit-month-field,
.unit-price-form__date-field.has-localized-date-display input[type="date"]::-webkit-datetime-edit-year-field {
  color: transparent;
  opacity: 0;
}

.unit-price-form__date-display {
  grid-column: 1;
  grid-row: 2;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 10px 42px 10px 11px;
  color: var(--muted);
  font: inherit;
  font-weight: 400;
  line-height: 1;
  overflow: hidden;
  pointer-events: none;
  white-space: nowrap;
}

.unit-price-form__date-field.has-localized-date-display:not(.has-date-value) .unit-price-form__date-display {
  color: #6a7588; /* 4.66:1 sobre blanco (AA); antes #8b96a8 daba 2.98:1 */
  font-weight: 400;
}

.unit-price-form__date-field.has-localized-date-display.has-date-value .unit-price-form__date-display {
  color: var(--ink);
  font-weight: 400;
}

.unit-price-form .unit-price-form__stepper-input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  -moz-appearance: textfield;
  appearance: textfield;
}

.unit-price-form .unit-price-form__stepper-input::-webkit-inner-spin-button,
.unit-price-form .unit-price-form__stepper-input::-webkit-outer-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.unit-price-form .unit-price-form__stepper {
  grid-column: auto;
  width: 100%;
  justify-content: center;
}

.unit-price-form input:focus {
  border-color: var(--teal);
  outline: 0;
  background: #fbffff;
  box-shadow: 0 0 0 3px rgba(0, 143, 152, .16);
}

.unit-price-form label:focus-within,
.unit-price-form__guest-field:focus-within {
  color: var(--teal-dark);
}

.unit-price-form label.has-error {
  color: var(--coral-dark);
}

.unit-price-form label.has-error input {
  border-color: rgba(255, 84, 77, .62);
  background: #fff7f5;
  box-shadow: 0 0 0 3px rgba(255, 84, 77, .12);
}

.unit-price-form label.has-error .unit-price-form__date-display {
  color: var(--coral-dark);
}

.unit-price-form__message {
  min-height: 20px;
  margin: -2px 0 0;
  color: var(--muted);
  font-size: .84rem;
  line-height: 1.35;
}

.unit-price-form__message.is-error {
  color: var(--coral-dark);
  font-weight: 750;
}

.rate-microcopy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .88rem;
  line-height: 1.45;
}

.rate-microcopy--rail {
  margin: -4px 0 16px;
}

.accommodation-filter {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto;
  gap: 14px;
  align-items: end;
  margin: 22px 0 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

.accommodation-filter__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.accommodation-filter__group legend {
  margin-bottom: 8px;
  color: var(--ink);
  font-weight: 800;
}

.filter-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-choice {
  cursor: pointer;
}

.filter-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.filter-choice span {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--header-ink);
  font-weight: 700;
  transition: background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.filter-choice input:focus-visible + span {
  outline: 3px solid rgba(0, 123, 130, .26);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px rgba(255, 201, 56, .24);
}

.filter-choice input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-card);
}

.accommodation-filter.has-active-filter {
  border-color: rgba(0, 142, 148, .2);
}

.accommodation-filter__reset {
  min-width: 134px;
}

.accommodation-results-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 0 0 18px;
}

.accommodation-results-bar p {
  margin-bottom: 0;
}

.accommodation-results-bar p:first-child {
  color: var(--teal-dark);
  font-weight: 800;
  transition: color .2s ease, transform .2s ease;
}

.accommodation-results-bar p.is-updating {
  color: var(--coral);
  transform: translateY(-1px);
}

[data-accommodation-results] {
  transition: opacity .2s ease, transform .2s ease;
}

[data-accommodation-results].is-filtering {
  opacity: .96;
  transform: translateY(2px);
}

.overview-listing__header {
  max-width: 760px;
  margin-bottom: 18px;
}

.overview-listing__header h2 {
  margin-bottom: 8px;
}

.overview-listing__header p {
  max-width: 620px;
}

.overview-filter {
  grid-template-columns: minmax(0, 1fr) auto;
  margin: 16px 0 12px;
  padding: 14px 16px;
}

.overview-filter .filter-choice span {
  min-height: 44px;
  padding: 10px 13px;
}

.overview-results-bar {
  margin-bottom: 20px;
  color: var(--muted);
}

.overview-rating-strip {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
  box-shadow: var(--shadow-card);
}

.overview-rating-strip__item {
  display: flex;
  min-height: 62px;
  padding: 10px 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border: 1px solid rgba(25, 34, 56, .07);
  border-radius: 12px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  text-align: center;
  font-weight: 750;
  line-height: 1.1;
}

.overview-rating-strip__item + .overview-rating-strip__item::before {
  content: none;
}

.overview-rating-strip__item strong {
  color: var(--teal);
  font-size: 1.18rem;
  line-height: 1;
}

.overview-rating-strip__item span {
  display: block;
  overflow-wrap: anywhere;
}

.overview-rating-strip__rank {
  background: rgba(255, 255, 255, .88);
}

a.overview-rating-strip__item:hover {
  color: var(--coral);
}

.accommodation-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.accommodation-hub-card {
  position: relative;
  overflow: visible;
  display: grid;
  grid-template-columns: minmax(210px, .84fr) minmax(0, 1.16fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.discovery-card.is-price-open,
.accommodation-card.is-price-open,
.stay-type-card.is-price-open,
.accommodation-hub-card.is-price-open {
  z-index: 76;
  overflow: visible;
}

.accommodation-hub-card.is-hidden {
  display: none;
}

.accommodation-hub-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  border-radius: calc(var(--radius) - 1px) 0 0 calc(var(--radius) - 1px);
  background: var(--soft);
}

.accommodation-hub-card__media picture,
.accommodation-hub-card__media img {
  width: 100%;
  height: 100%;
}

.accommodation-hub-card__media img {
  object-fit: cover;
  transition: opacity .36s ease, filter .42s ease, transform .55s ease;
}

.accommodation-hub-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.accommodation-hub-card__facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 16px 0;
}

.accommodation-hub-card__facts div {
  min-width: 0;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.accommodation-hub-card__facts dt {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.accommodation-hub-card__facts dd {
  margin: 4px 0 0;
  color: var(--ink);
  font-weight: 800;
}

.no-results-message {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  color: var(--ink);
  font-weight: 700;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 34px;
  align-items: start;
}

.split-section__full {
  grid-column: 1 / -1;
  min-width: 0;
}

.theme-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.theme-card,
.benefit-card,
.review-card,
.trust-panel,
.source-card,
.contact-method,
.contact-form,
.booking-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.theme-card,
.benefit-card {
  padding: 18px;
}

.theme-card p {
  margin-bottom: 0;
}

.benefit-card .icon {
  color: var(--teal);
  margin-bottom: 16px;
}

.review-proof-carousel {
  margin-top: 24px;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

.review-proof-carousel__heading {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 14px;
}

.review-proof-carousel__heading h3,
.review-proof-carousel__heading p {
  margin-bottom: 0;
}

.review-proof-carousel__heading p {
  font-size: .95rem;
}

.review-proof-carousel__viewport {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: var(--radius);
}

.review-proof-carousel__track {
  display: flex;
  gap: 14px;
  min-width: 0;
  transition: transform .5s ease;
  will-change: transform;
}

.mini-review-card {
  flex: 0 0 calc((100% - 42px) / 4);
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-teal);
  box-shadow: none;
  overflow: hidden;
}

.mini-review-card__theme {
  margin-bottom: 8px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
  overflow-wrap: break-word;
}

.mini-review-card h3 {
  margin-bottom: 8px;
  overflow-wrap: break-word;
}

.mini-review-card p:not(.mini-review-card__theme) {
  color: var(--ink);
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: break-word;
}

.mini-review-card span {
  display: block;
  color: var(--muted);
  font-size: .9rem;
  overflow-wrap: break-word;
}

.benefit-grid--compact {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.trust-panel {
  padding: 24px;
}

.trust-panel--inline {
  margin-top: 18px;
}

.trust-panel .review-grid {
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 18px;
}

.trust-panel .review-card {
  padding: 18px 16px 16px;
}

.trust-panel .review-card__snippet {
  font-size: 1rem;
}

.trust-panel .review-card__snippet--plain {
  line-height: 1.3;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.review-grid--stacked {
  grid-template-columns: 1fr;
  gap: 14px;
}

.review-grid--stacked .review-card {
  padding: 18px 16px 16px;
}

.review-grid--stacked .review-card__snippet {
  font-size: 1rem;
}

.review-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
}

.review-card__quote {
  color: var(--coral);
}

.review-card__label {
  margin: 6px 0 8px;
  color: var(--teal-dark);
  font-size: .8rem;
  font-weight: 850;
  text-transform: uppercase;
}

.review-card h3 {
  margin-bottom: 10px;
}

.review-card__snippet {
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.18rem;
  font-weight: 650;
  line-height: 1.25;
}

.review-card__snippet--plain {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 850;
}

.review-card__meta,
.review-card__themes,
.small-note {
  font-size: .9rem;
}

.review-card__source {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 0;
  margin-top: 8px;
  color: var(--teal);
  font-size: .9rem;
  font-weight: 800;
}

.section-mini-reviews {
  margin-top: 18px;
}

.photo-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.photo-row img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  box-shadow: 0 8px 20px rgba(25, 34, 56, .08);
}

.center-action {
  margin-top: 22px;
  text-align: center;
}

.location-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.location-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.location-metrics span {
  display: block;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: var(--soft);
  text-align: center;
}

.location-metrics strong {
  display: block;
  color: var(--teal);
  font-size: 2.2rem;
  font-weight: 650;
}

/* Banda CTA final carbón (cierre 4d): identidad oscura antes del footer. */
.cta-band {
  width: min(var(--container), calc(100% - 48px));
  margin: 28px auto 74px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 32px;
  border-radius: 20px;
  background: var(--charcoal-band);
  border: 0;
  color: var(--white);
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  color: rgba(255, 255, 255, .78);
}

.cta-band .booking-trust-note {
  color: rgba(255, 255, 255, .72);
}

.cta-band .btn--ghost {
  border-color: rgba(255, 255, 255, .45);
  color: var(--white);
}

.cta-band .btn--ghost:hover,
.cta-band .btn--ghost:focus-visible {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .7);
  color: var(--white);
}

.cta-band__actions {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 12px;
}

.cta-band__actions .btn {
  white-space: nowrap;
}

.cta-band__trust {
  max-width: 620px;
}

.cta-band--closing {
  margin-top: 0;
}

.subhero {
  position: relative;
  height: 380px;
  display: block;
  padding: 0;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.subhero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.subhero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subhero__content {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 40px;
  z-index: 2;
  width: min(1320px, calc(100% - 112px));
  transform: translateX(-50%);
  text-shadow: 0 2px 18px rgba(8, 14, 24, .3);
}

.subhero h1 {
  margin: 0 0 10px;
  font-size: clamp(1.875rem, 3.4vw, 2.875rem);
  line-height: 1.05;
}

.subhero__content p {
  margin: 0;
  max-width: 700px;
  /* La regla global `p { color: var(--muted) }` gana por especificidad sobre
     el `color:white` heredado del .subhero y dejaba la bajada gris azulada
     sobre el hero oscuro (bajo contraste). Se fuerza a near-white + sombra. */
  color: rgba(255, 255, 255, .94);
  font-size: clamp(.85rem, 1.25vw, 1.0625rem);
  line-height: 1.55;
  text-shadow: 0 1px 12px rgba(8, 14, 24, .45);
  text-wrap: pretty;
}

.table-wrap {
  margin-top: 30px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  background: var(--white);
}

.comparison-table caption {
  padding: 18px;
  text-align: left;
  font-weight: 800;
}

.comparison-table th,
.comparison-table td {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  text-align: left;
}

.comparison-table thead th {
  background: var(--sun-soft);
  color: var(--teal-dark);
}

.comparison-note,
.capacity-note {
  margin-top: 12px;
  color: var(--muted);
  font-size: .95rem;
}

.amenity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.amenity-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--teal);
}

.amenity-pill .icon {
  flex: 0 0 22px;
}

.amenity-pill span {
  min-width: 0;
  color: var(--ink);
  font-weight: 700;
  overflow-wrap: break-word;
  word-break: break-word;
}

.room-detail {
  padding: 42px 0 86px;
}

.room-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 32px;
  align-items: start;
}

.room-detail h1 {
  color: var(--ink);
  font-size: clamp(2.35rem, 5vw, 4.25rem);
}

.lead {
  font-size: 1.2rem;
}

.breadcrumb-lite {
  font-size: .9rem;
  color: var(--muted);
}

.room-photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 180px;
  gap: 10px;
  margin: 28px 0;
}

.room-photo-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.room-photo-grid__main {
  grid-row: span 2;
}

.detail-block {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}

.detail-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.detail-facts span {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.family-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.family-feature-grid article {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.family-feature-grid .icon {
  color: var(--teal);
  margin-bottom: 12px;
}

.family-feature-grid p {
  margin-bottom: 0;
}

.reservation-rail {
  position: sticky;
  top: 98px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.booking-layout,
.offers-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 28px;
  align-items: start;
}

.booking-panel,
.contact-form {
  padding: 26px;
}

#buscar-disponibilidad {
  scroll-margin-top: 96px;
}

.offer-list {
  display: grid;
  gap: 34px;
}

.offer-section {
  display: grid;
  gap: 16px;
}

.offer-section > h2,
.offer-section > p {
  margin-bottom: 0;
}

.payment-benefit-grid,
.duration-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.payment-benefit-card,
.duration-offer-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.payment-benefit-card {
  padding: 18px;
  background: var(--soft);
}

.payment-benefit-card h3,
.payment-benefit-card p {
  margin-bottom: 0;
}

.payment-benefit-card h3 {
  margin-bottom: 8px;
}

.offer-card-grid {
  display: grid;
  gap: 18px;
}

.offer-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 22px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.offer-card img {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-sm);
}

.offer-card__body {
  min-width: 0;
}

.offer-card__eyebrow {
  margin-bottom: 8px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-card__title-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.offer-card__title-row h3 {
  margin-bottom: 8px;
}

.offer-badge {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--sun-soft);
  color: var(--teal-dark);
  font-size: .82rem;
  font-weight: 850;
}

.offer-validity {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 4px 0 12px;
  color: var(--muted);
  font-size: .92rem;
}

.offer-status {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.offer-status--vigente {
  background: #eaf8f0;
  color: #16794c;
}

.offer-status--finalizada {
  background: #f2f4f6;
  color: #657184;
}

.offer-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 16px 0 18px;
}

.offer-card__meta div {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.offer-card__meta dt {
  color: var(--ink);
  font-weight: 850;
}

.offer-card__meta dd {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: .95rem;
}

.duration-offer-card {
  overflow: hidden;
  padding: 18px;
}

.duration-offer-card h3,
.duration-offer-card__nights {
  margin-bottom: 8px;
}

.duration-offer-card__nights {
  color: var(--teal-dark);
  font-weight: 850;
}

.discount-table {
  width: 100%;
  margin: 14px 0 18px;
  border-collapse: collapse;
  font-size: .95rem;
}

.discount-table th,
.discount-table td {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.discount-table th {
  width: 92px;
  color: var(--coral);
  font-weight: 900;
}

.offers-layout > .trust-panel {
  position: sticky;
  top: 98px;
}

.trust-panel__note {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--soft);
}

.trust-panel__note p {
  margin: 6px 0 0;
  font-size: .95rem;
}

/* ---------- Galería v2 (handoff galeria-ubicacion): álbumes + mosaicos ---------- */

.album-index {
  position: sticky;
  top: 80px; /* pegado bajo el header sticky (80px desktop / 62px mobile) */
  z-index: 40;
  margin-top: 16px;
  padding: 16px 0;
  background: var(--header-bg);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.album-index__row {
  display: flex;
  gap: 10px;
}

.album-index__pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--header-ink);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
  transition: border-color .15s ease, color .15s ease;
}

.album-index__pill:hover,
.album-index__pill:focus-visible {
  border-color: var(--album-color);
  color: var(--ink);
}

.album-index__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--album-color);
}

/* Handoff: contador #a6adba (2.3:1 sobre blanco, falla AA) → var(--muted). */
.album-index__n {
  color: var(--muted);
  font-weight: 600;
}

.album {
  padding: 48px 0 0;
  scroll-margin-top: 150px;
}

.album__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.album__bar {
  width: 14px;
  height: 30px;
  border-radius: 4px;
  background: var(--album-color);
}

.album__head h2 {
  margin: 0;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.album__count {
  color: var(--muted);
  font-size: .88rem;
  font-weight: 700;
}

.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: var(--mosaic-rows, 220px);
  gap: 12px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #efeae0;
  box-shadow: 0 1px 2px rgba(25, 34, 56, .05);
  cursor: zoom-in;
  transition: box-shadow .2s ease;
}

.gallery-tile:hover,
.gallery-tile:focus-visible {
  box-shadow: 0 14px 30px rgba(25, 34, 56, .18);
}

.gallery-tile--hero {
  grid-column: span 2;
  grid-row: span 2;
  border-radius: 18px;
}

.gallery-tile--wide {
  grid-column: span 2;
  border-radius: 18px;
}

.gallery-tile picture,
.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 28px 14px 10px;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 40, .62));
  color: var(--white);
  font-size: .84rem;
  font-weight: 700;
  text-align: left;
}

.gallery-tile--hero .gallery-tile__label,
.gallery-tile--wide .gallery-tile__label {
  padding: 34px 16px 12px;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 40, .66));
  font-size: .94rem;
}

.gallery-tile__plus {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .92);
}

/* Overlay "+N" (solo mobile) sobre la última miniatura visible del álbum. */
.gallery-tile__more {
  display: none;
}

/* Visor v2: overlay oscuro en columna (barra + escenario + miniaturas + ayuda). */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  flex-direction: column;
  background: rgba(12, 18, 30, .94);
  opacity: 0;
  pointer-events: none;
  /* visibility evita controles focuseables dentro del dialog aria-hidden.
     Al abrir debe volverse visible al instante (el foco inicial al botón de
     cerrar fallaría si sigue hidden); al cerrar se retrasa hasta terminar
     el fade. */
  visibility: hidden;
  transition: opacity .2s ease, visibility 0s linear .2s;
}

.gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transition: opacity .2s ease, visibility 0s;
}

.gallery-lightbox__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 28px;
  color: var(--white);
}

.gallery-lightbox__album {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  font-weight: 700;
}

.gallery-lightbox__dot {
  width: 9px;
  height: 9px;
  border-radius: 3px;
  background: var(--white);
}

/* Handoff: contador al 65% de blanco (~4:1 sobre #0c121e); se sube a .75 por AA. */
.gallery-lightbox__count {
  color: rgba(255, 255, 255, .75);
  font-size: .88rem;
  font-weight: 600;
}

.gallery-lightbox__stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 0 24px;
  min-height: 0;
}

.gallery-lightbox__figure {
  flex: 1;
  align-self: stretch;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 0;
}

.gallery-lightbox__figure img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 12px;
  background: #0c121e;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}

.gallery-lightbox__caption {
  margin: 0;
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
}

.gallery-lightbox__close,
.gallery-lightbox__nav {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .14);
  color: var(--white);
  cursor: pointer;
  transition: background .15s ease;
}

.gallery-lightbox__close:hover,
.gallery-lightbox__nav:hover,
.gallery-lightbox__close:focus-visible,
.gallery-lightbox__nav:focus-visible {
  background: rgba(255, 255, 255, .26);
}

.gallery-lightbox__close {
  margin-left: auto;
  width: 44px;
  height: 44px;
}

.gallery-lightbox__nav {
  width: 52px;
  height: 52px;
}

.gallery-lightbox__thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 28px 10px;
  scrollbar-width: thin;
}

.gallery-lightbox__thumbs:empty {
  display: none;
}

.gallery-lightbox__thumb {
  flex: 0 0 auto;
  width: 74px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  opacity: .5;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .2);
  transition: opacity .15s ease, box-shadow .15s ease;
}

.gallery-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-lightbox__thumb.is-active {
  opacity: 1;
  box-shadow: 0 0 0 3px var(--thumb-ring, var(--white));
}

.gallery-lightbox__thumb:focus-visible {
  opacity: 1;
}

/* Handoff: ayuda al 40% de blanco (2.4:1, falla AA) → .72. */
.gallery-lightbox__help {
  margin: 0;
  padding: 0 28px 16px;
  color: rgba(255, 255, 255, .72);
  font-size: .75rem;
  text-align: center;
}

.gallery-lightbox__help--mobile {
  display: none;
}

.is-gallery-lightbox-open body {
  overflow: hidden;
}

/* ---------- Ubicación v2 (handoff galeria-ubicacion) ---------- */

/* Placeholder branded detrás del iframe: se ve mientras Google Maps carga y
   queda tapado por el iframe (opaco) al terminar. Sin JS ni layout shift. */
.map-frame__placeholder {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--soft);
  color: var(--muted);
  font-size: .95rem;
  font-weight: 600;
}

.map-frame__placeholder .icon {
  width: 30px;
  height: 30px;
  color: var(--teal);
}

/* Hero: el mapa manda. Mapa real de Google a todo el ancho con ficha flotante
   y chip de distancia integrado para no competir con la UI nativa del mapa. */
.loc-hero {
  position: relative;
}

.loc-hero__map {
  position: relative;
  height: 560px;
}

.loc-hero__map iframe {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border: 0;
}

.loc-hero__chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0 0 14px;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  background: var(--coral);
  color: var(--white);
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.15;
  box-shadow: 0 8px 22px rgba(212, 58, 52, .22);
}

.loc-hero__chip .icon {
  width: 16px;
  height: 16px;
}

.loc-hero__card {
  position: absolute;
  left: 48px;
  bottom: 48px;
  z-index: 3;
  width: 380px;
  padding: 28px;
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 50px rgba(25, 34, 56, .22);
}

.loc-hero__card .brush-mark {
  display: block;
  margin-bottom: 12px;
}

.loc-hero__card h1 {
  margin: 0 0 8px;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.015em;
}

.loc-hero__card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .94rem;
  text-wrap: pretty;
}

.loc-hero__actions {
  display: flex;
  gap: 10px;
}

.loc-hero__cta {
  flex: 1;
  padding: 13px;
  border-radius: 13px;
  background: var(--teal);
  color: var(--white);
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  transition: background .15s ease;
}

.loc-hero__cta:hover,
.loc-hero__cta:focus-visible {
  background: var(--teal-dark);
  color: var(--white);
}

.loc-hero__call {
  padding: 13px 18px;
  border: 1.5px solid var(--line-strong);
  border-radius: 13px;
  background: var(--white);
  color: var(--ink);
  font-size: .94rem;
  font-weight: 700;
  text-align: center;
  transition: background .15s ease;
}

.loc-hero__call:hover,
.loc-hero__call:focus-visible {
  background: var(--soft);
  color: var(--ink);
}

/* Desktop dice "Llamar"; mobile agrega " al hotel" (proto U1). */
.loc-hero__call-suffix {
  display: none;
}

/* Banda "Cerca de todo": 4 tarjetas crema con número grande en color. */
.loc-stats {
  padding: 40px 0 8px;
}

.loc-stats__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.loc-stats__head h2 {
  margin: 0;
  font-size: 1.375rem;
  font-weight: 800;
}

.loc-stats__head span {
  color: var(--muted);
  font-size: .88rem;
}

.loc-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.loc-stat {
  padding: 20px;
  border-radius: var(--radius);
  background: var(--soft);
}

.loc-stat strong {
  display: block;
  font-size: 1.625rem;
  font-weight: 800;
}

.loc-stat span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: .88rem;
}

/* Los alrededores: mapa ilustrado con pines numerados + leyenda interactiva. */
.poi {
  padding: 56px 0 0;
}

.poi .brush-mark {
  display: block;
  margin-bottom: 12px;
}

.poi h2 {
  margin: 0 0 6px;
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.poi__intro {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--muted);
  text-wrap: pretty;
}

/* Estilo apps de mapas: el mapa ocupa todo el ancho y la leyenda flota
   encima como panel con scroll interno (desktop; en mobile se apilan).
   isolation: los z-index internos (leyenda 500, panes de Leaflet 200-1000)
   quedan encerrados en este contexto y nunca superan al header sticky (80). */
.poi__grid {
  position: relative;
  isolation: isolate;
}

.poi__map {
  position: relative;
  height: min(620px, calc(100vh - 112px));
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(25, 34, 56, .05);
}

.poi__map > svg {
  display: block;
  width: 100%;
  height: 100%;
  font-family: var(--font);
}

.poi-row {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 12px;
  border: 0;
  border-radius: var(--radius-sm);
  background: var(--white);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .12s ease;
}

.poi-row:hover,
.poi-row:focus-visible,
.poi-row.is-active {
  background: var(--soft);
}

.poi-row__number {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: var(--radius-pill);
  background: var(--poi-color);
  color: var(--white);
  font-size: .94rem;
  font-weight: 800;
}

.poi-row__body {
  flex: 1;
  min-width: 0;
}

.poi-row__name {
  display: block;
  font-size: .97rem;
  font-weight: 700;
}

.poi-row__note {
  display: block;
  color: var(--muted);
  font-size: .81rem;
}

/* La distancia usa el color del punto solo como acento del número; el texto
   va en tinta para sostener AA (varios colores del handoff bajan de 4.5:1). */
.poi-row__distance {
  color: var(--ink);
  font-size: .88rem;
  font-weight: 700;
  white-space: nowrap;
}

.poi-address {
  margin-top: 16px;
  padding: 18px;
  border-radius: var(--radius);
  background: var(--soft);
}

.poi-address__label {
  margin: 0 0 3px;
  color: var(--teal);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.poi-address__value {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.poi-address__cta {
  display: block;
  padding: 12px;
  border-radius: var(--radius-sm);
  background: var(--teal);
  color: var(--white);
  font-size: .91rem;
  font-weight: 700;
  text-align: center;
  transition: background .15s ease;
}

.poi-address__cta:hover,
.poi-address__cta:focus-visible {
  background: var(--teal-dark);
  color: var(--white);
}

/* Mapa interactivo real (Leaflet) — llena .poi__map por encima del
   placeholder "Cargando el mapa…". Reemplaza el mapa SVG ilustrado. */
#loc-map {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.leaflet-container {
  font-family: var(--font);
  background: #eef2f4;
}

.leaflet-container .leaflet-control-zoom {
  border: 0;
  box-shadow: 0 3px 10px rgba(25, 34, 56, .16);
}

.leaflet-container .leaflet-bar a {
  border-radius: 7px;
  color: #3f4a5f;
}

.cal-pin {
  width: 29px;
  height: 29px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: .88rem;
  border: 2.5px solid var(--white);
  box-shadow: 0 3px 8px rgba(25, 34, 56, .38);
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}

.cal-pin.is-hover { transform: scale(1.18); }
.cal-pin.is-active { transform: scale(1.32); box-shadow: 0 6px 16px rgba(25, 34, 56, .48); }

.cal-hotel {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-pill);
  background: var(--teal);
  border: 4px solid var(--white);
  box-shadow: 0 3px 10px rgba(0, 122, 124, .55);
  position: relative;
}

.cal-hotel::after {
  content: "";
  position: absolute;
  inset: -9px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(0, 122, 124, .5);
  animation: cal-hotel-pulse 2.1s ease-out infinite;
}

@keyframes cal-hotel-pulse {
  0% { transform: scale(.6); opacity: .9; }
  100% { transform: scale(1.7); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .cal-hotel::after { animation: none; }
}

.cal-hotel-tip {
  background: var(--ink);
  color: var(--white);
  border: 0;
  border-radius: 8px;
  font-weight: 700;
  font-size: .78rem;
  padding: 4px 10px;
  box-shadow: 0 4px 12px rgba(25, 34, 56, .3);
}

.cal-hotel-tip::before { border-top-color: var(--ink); }

.leaflet-popup-content-wrapper {
  border-radius: 14px;
  box-shadow: 0 12px 34px rgba(25, 34, 56, .22);
}

.leaflet-popup-content { margin: 14px 16px; }

.cal-pop { display: flex; flex-direction: column; }
.cal-pop strong { font-size: .94rem; color: var(--ink); }
.cal-pop span { font-size: .78rem; color: var(--muted); margin-top: 2px; }
.cal-pop em { font-size: .78rem; font-weight: 700; font-style: normal; margin-top: 7px; }
.cal-pop a { font-size: .78rem; font-weight: 700; margin-top: 9px; text-decoration: none; }

/* Toolbar: filtros por categoría + "Ver todo el barrio". */
.poi__toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin: 0 0 20px;
}

.poi__filters {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.poi-filter {
  padding: 9px 16px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.poi-filter:hover,
.poi-filter:focus-visible { background: var(--soft); }

.poi-filter.is-active {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
}

.poi__reset {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 15px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: .84rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.poi__reset:hover,
.poi__reset:focus-visible { background: var(--soft); }

.poi__reset svg { width: 15px; height: 15px; }

.poi-row[hidden] { display: none; }

/* Panel flotante sobre el mapa (desktop): filtros arriba, lista con scroll
   interno y la dirección fija abajo. z-index 500 = sobre los panes de
   Leaflet (400) y bajo sus controles (800). Los encuadres del mapa
   compensan el ancho del panel vía JS (mapPad en app.js). */
@media (min-width: 901px) {
  .poi__legend {
    position: absolute;
    z-index: 500;
    top: 18px;
    right: 18px;
    bottom: 18px;
    width: 372px;
    display: flex;
    flex-direction: column;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 14px 38px rgba(25, 34, 56, .18);
    overflow: hidden;
  }

  .poi__legend .poi__toolbar {
    margin: 0;
    padding: 13px 14px 11px;
    gap: 8px;
    border-bottom: 1px solid var(--line);
  }

  .poi__legend .poi-filter,
  .poi__legend .poi__reset {
    padding: 7px 12px;
    font-size: .8rem;
  }

  .poi__legend-list {
    flex: 1;
    overflow-y: auto;
    padding: 6px 8px;
    scrollbar-width: thin;
  }

  .poi__legend-list::-webkit-scrollbar { width: 8px; }

  .poi__legend-list::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: var(--line-strong);
  }

  .poi__legend .poi-address {
    margin: 0;
    border-radius: 0;
    border-top: 1px solid var(--line);
  }
}

/* Itinerarios v2: borde hairline + ícono en círculo tintado por card. */
.itineraries {
  padding: 64px 0 0;
}

.itineraries .brush-mark {
  display: block;
  margin-bottom: 12px;
}

.itineraries h2 {
  margin: 0 0 6px;
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -.01em;
}

.itineraries__intro {
  margin: 0 0 24px;
  max-width: 640px;
  color: var(--muted);
  text-wrap: pretty;
}

.itinerary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.itinerary-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.itinerary-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: var(--radius-pill);
  background: var(--it-tint);
  color: var(--it-accent);
}

.itinerary-card h3 {
  margin: 0 0 4px;
  font-size: 1.125rem;
  font-weight: 800;
}

/* Acento en tinta (los naranjas/teal del handoff a 13.5px no llegan a AA). */
.itinerary-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: .84rem;
}

.itinerary-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .91rem;
}

.source-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 54px;
  scroll-margin-top: 96px;
}

.source-card {
  display: grid;
  gap: 4px;
  padding: 24px;
}

.source-card--total {
  grid-column: 1 / -1;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  column-gap: 18px;
  background: var(--soft);
}

.source-card--total .score {
  grid-row: 1 / span 2;
}

.source-card--total small {
  grid-column: 2;
}

.source-card small {
  color: var(--muted);
}

.policy-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 800;
}

.policy-link:hover {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-link--rail {
  margin-top: 12px;
}

.rating-text-link {
  display: block;
  min-height: 44px;
  padding: 8px 0;
  margin-bottom: 12px;
  color: var(--muted);
  line-height: 1.25;
}

.rating-text-link strong {
  color: var(--ink);
}

.rating-text-link:hover {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.policy-card,
.cta-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.policy-card {
  padding: 26px;
}

.policy-card .icon {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  color: var(--teal);
}

.policy-card p,
.cta-card p {
  margin-bottom: 0;
}

.cta-card {
  padding: 26px;
}

.cta-card .btn {
  margin-top: 18px;
}

.contact-methods {
  display: grid;
  gap: 14px;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.contact-method .icon {
  color: var(--coral);
}

.contact-method strong {
  display: block;
}

.contact-method small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.contact-phone-links {
  display: grid;
  gap: 4px;
  margin-top: 4px;
}

.contact-phone-links a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 34px;
  padding: 2px 0;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.contact-phone-links a:hover,
.contact-phone-links a:focus-visible {
  color: var(--teal-dark);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  color: var(--ink);
  font-weight: 800;
  transition: color .18s ease;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 13px;
  caret-color: var(--teal-dark);
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  border-color: var(--teal);
  outline: 0;
  background: #fbffff;
  box-shadow: 0 0 0 3px rgba(0, 143, 152, .16);
}

.contact-form label:focus-within {
  color: var(--teal-dark);
}

.contact-form button[disabled] {
  cursor: progress;
  opacity: .72;
}

.whatsapp-advice {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  margin: 22px 0 0;
  padding: 20px;
  border: 1.5px solid rgba(15, 127, 76, .28);
  border-radius: var(--radius);
  background: var(--soft-green);
  box-shadow: var(--shadow-card);
}

.whatsapp-advice__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--wa);
  color: var(--white);
}

.whatsapp-advice .section-kicker {
  margin-bottom: 4px;
  color: var(--teal-dark);
}

.whatsapp-advice h3,
.whatsapp-advice p {
  margin-bottom: 0;
}

.whatsapp-advice h3 {
  margin-bottom: 4px;
}

.whatsapp-advice .btn {
  white-space: nowrap;
}

.whatsapp-advice .btn--ghost {
  border-color: rgba(15, 127, 76, .4);
  color: var(--wa-dark);
  background: var(--white);
}

.whatsapp-advice .btn--ghost:hover,
.whatsapp-advice .btn--ghost:focus-visible {
  background: var(--white);
  border-color: rgba(15, 127, 76, .62);
  color: var(--wa-dark);
}

.contact-methods .whatsapp-advice {
  grid-template-columns: auto minmax(0, 1fr);
}

.contact-methods .whatsapp-advice .btn {
  grid-column: 1 / -1;
  justify-self: start;
}

.contact-form .small-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.contact-form .small-note a {
  color: var(--teal);
  font-weight: 850;
}

.contact-form__honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

.form-status {
  display: none;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 13px 14px;
  background: var(--soft-2);
  color: var(--ink);
  font-size: .96rem;
  font-weight: 800;
  line-height: 1.45;
}

.form-status.is-visible {
  display: block;
}

.form-status.is-success {
  border-color: rgba(0, 143, 152, .28);
  background: rgba(0, 143, 152, .09);
  color: var(--teal-dark);
}

.form-status.is-error {
  border-color: rgba(255, 87, 82, .34);
  background: rgba(255, 87, 82, .1);
  color: var(--coral-dark);
}

.site-footer {
  background: var(--charcoal);
  color: var(--white);
  padding: 58px 0 90px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, .8);
}

.site-footer p {
  margin: 0 0 6px;
  font-size: 14.5px;
  line-height: 1.6;
}

.site-footer h2 {
  margin: 0 0 12px;
  color: #f7d574; /* dorado claro sobre footer oscuro */
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 40px;
}

.footer-brand {
  display: block;
  width: 150px;
  margin-bottom: 14px;
}

.footer-phone-links a:hover,
.footer-phone-links a:focus-visible {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  font-size: 14.5px;
  font-weight: 700;
}

.site-footer .footer-cta {
  color: #7fd4d6;
}

.site-footer .footer-cta:hover,
.site-footer .footer-cta:focus-visible {
  color: #a9e4e5;
}

.footer-bottom {
  width: min(var(--container), calc(100% - 48px));
  margin: 32px auto 0;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, .66);
}

.whatsapp-widget {
  position: fixed;
  z-index: 72;
  right: 22px;
  bottom: 22px;
  display: grid;
  justify-items: end;
  gap: 12px;
}

.is-gallery-lightbox-open .whatsapp-widget {
  pointer-events: none;
  visibility: hidden;
}

/* Desktop: cuando un CTA de reserva ocupa la esquina del FAB (p. ej. la barra
   de búsqueda del hero en la home), app.js setea --whatsapp-avoid-shift y el
   FAB sube lo justo para no taparlo. Scoped a min-width 721px para no
   interferir con la supresión mobile, que también usa transform. */
@media (min-width: 721px) {
  .whatsapp-widget {
    transform: translateY(calc(-1 * var(--whatsapp-avoid-shift, 0px)));
    transition: transform .18s ease;
  }
}

.whatsapp-fab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 17px;
  border-radius: var(--radius-pill);
  /* Verde WhatsApp propio (--wa): 5.05:1 con el texto blanco (AA). */
  background: var(--wa);
  color: var(--white);
  box-shadow: 0 12px 32px rgba(8, 14, 24, .22);
  font-weight: 850;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  background: var(--wa-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(8, 14, 24, .2);
}

.whatsapp-fab:active {
  background: #0b613b;
  color: var(--white);
  transform: translateY(1px);
  box-shadow: 0 8px 20px rgba(8, 14, 24, .16);
}

.whatsapp-nudge {
  position: absolute;
  right: 0;
  bottom: calc(100% + 12px);
  width: min(292px, calc(100vw - 32px));
  padding: 16px 56px 16px 16px;
  border: 1px solid rgba(24, 168, 102, .2);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(25, 34, 56, .2);
  opacity: 0;
  pointer-events: none;
  /* visibility evita que el botón de cerrar sea focuseable mientras el nudge
     está oculto con aria-hidden (axe: aria-hidden-focus). Visible al instante
     al mostrarse; oculto recién al terminar el fade de salida. */
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .22s ease, transform .22s ease, visibility 0s linear .22s;
}

.whatsapp-nudge.is-visible {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .22s ease, transform .22s ease, visibility 0s;
}

.whatsapp-nudge::after {
  content: "";
  position: absolute;
  right: 26px;
  bottom: -8px;
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(24, 168, 102, .2);
  border-bottom: 1px solid rgba(24, 168, 102, .2);
  background: var(--white);
  transform: rotate(45deg);
}

.whatsapp-nudge p {
  margin: 0;
  color: var(--ink);
  font-size: .94rem;
  font-weight: 750;
  line-height: 1.4;
}

.whatsapp-nudge__close {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  line-height: 1;
}

.mobile-sticky-cta {
  display: none;
}

/* Overlay Cloudbeds (OV1): solo re-estilizado, lógica intacta. */
.reservation-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, .5);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

.reservation-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.is-reservation-loading body {
  overflow: hidden;
}

.is-reservation-loading .unit-price-popover {
  pointer-events: none;
}

.reservation-overlay__panel {
  width: min(420px, 100%);
  border: 0;
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-overlay);
  overflow: hidden;
  text-align: center;
}

/* Logo tinta sobre panel claro (variante generada por build.py). */
.reservation-overlay__brand {
  display: grid;
  place-items: center;
  padding: 26px 24px 4px;
  background: var(--white);
}

.reservation-overlay__brand img {
  width: 188px;
  max-width: 76%;
  height: auto;
}

.reservation-overlay__body {
  padding: 20px 30px 26px;
}

.reservation-overlay__spinner {
  width: 34px;
  height: 34px;
  margin: 0 auto 18px;
  border: 3.5px solid #f2e2c9;
  border-top-color: var(--coral);
  border-radius: var(--radius-pill);
  animation: reservation-spin 1s linear infinite;
}

.reservation-overlay .brush-divider {
  padding: 14px 0 0;
}

.reservation-overlay__kicker {
  margin: 0 0 8px;
  color: var(--teal);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.reservation-overlay h2 {
  margin: 0;
  font-size: clamp(1.55rem, 4vw, 2rem);
  line-height: 1.05;
}

.reservation-overlay__body > p:last-child {
  margin: 12px auto 0;
  color: var(--muted);
  line-height: 1.45;
}

@keyframes reservation-spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 1080px) {
  .desktop-nav,
  .desktop-reserve {
    display: none;
  }

  .site-header__inner .mobile-reserve {
    display: inline-flex;
    min-height: 44px;
    margin-left: auto;
    padding: 0 16px;
    font-size: 13px;
    touch-action: manipulation;
  }

  .menu-button {
    display: block;
    margin-left: 0;
  }

  .mobile-nav {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 78;
    display: flex;
    flex-direction: column;
    height: auto;
    padding: 10px 20px 0;
    border-top: 1px solid var(--line);
    background: var(--white);
    opacity: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    pointer-events: none;
    transform: translateY(-8px);
    visibility: hidden;
    transition: opacity .18s ease, transform .18s ease, visibility .18s linear;
  }

  .site-header.is-open .mobile-nav,
  .is-mobile-menu-open .mobile-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
    visibility: visible;
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
  }

  .trust-strip,
  .proof-row,
  .theme-grid,
  .benefit-grid,
  .accommodation-grid,
  .home-discovery-grid,
  .stay-type-grid,
  .photo-row,
  .amenity-grid,
  .review-grid,
  .source-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-discovery__header,
  .home-discovery .accommodation-filter {
    grid-template-columns: 1fr;
  }

  .discovery-card {
    grid-template-columns: 110px minmax(0, 1fr);
  }

  .stay-type-card {
    grid-template-columns: minmax(220px, .75fr) minmax(0, 1.25fr);
  }

  .family-feature-grid,
  .itinerary-grid {
    grid-template-columns: 1fr;
  }

  .payment-benefit-grid,
  .duration-offer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .accommodation-filter,
  .accommodation-hub-grid {
    grid-template-columns: 1fr;
  }

  .offers-layout > .trust-panel {
    position: static;
  }

  .mini-review-card {
    flex-basis: calc((100% - 14px) / 2);
  }

  .split-section,
  .room-detail__grid,
  .booking-layout,
  .offers-layout,
  .contact-grid,
  .policy-grid {
    grid-template-columns: 1fr;
  }

  .reservation-rail {
    position: static;
  }
}

@media (min-width: 721px) and (hover: hover) and (pointer: fine) {
  .discovery-card:hover,
  .discovery-card:focus-within,
  .accommodation-card:hover,
  .accommodation-card:focus-within,
  .accommodation-hub-card:hover,
  .accommodation-hub-card:focus-within,
  .stay-type-card:hover,
  .stay-type-card:focus-within {
    border-color: rgba(0, 143, 152, .28);
    box-shadow: var(--shadow-float);
    transform: translateY(-3px);
  }

  .discovery-card:hover .discovery-card__media img,
  .discovery-card:focus-within .discovery-card__media img,
  .accommodation-card:hover .accommodation-card__image img,
  .accommodation-card:focus-within .accommodation-card__image img,
  .accommodation-hub-card:hover .accommodation-hub-card__media img,
  .accommodation-hub-card:focus-within .accommodation-hub-card__media img,
  .stay-type-card:hover .stay-type-card__media img,
  .stay-type-card:focus-within .stay-type-card__media img {
    transform: scale(1.025);
  }

  .filter-choice:hover span {
    border-color: rgba(0, 142, 148, .34);
    background: #fffdf6;
    box-shadow: 0 10px 22px rgba(25, 34, 56, .1);
    transform: translateY(-1px);
  }

  .filter-choice:hover input:checked + span {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--white);
  }
}

@media (min-width: 721px) {
  .accommodation-card h3,
  .discovery-card h3,
  .accommodation-hub-card h3 {
    min-height: 2.5em;
  }

  .accommodation-card__description {
    min-height: 4.7em;
  }

  .room-detail .accommodation-card__description {
    min-height: 6.3em;
  }

  .accommodation-card__meta,
  .accommodation-hub-card__meta {
    min-height: 5.4em;
    align-content: flex-start;
  }

  .accommodation-card__actions,
  .accommodation-hub-card__actions {
    min-height: 96px;
    margin-top: 0;
    align-content: flex-start;
  }

  .accommodation-card__rate,
  .accommodation-hub-card__rate {
    min-height: 4.4em;
  }

  .accommodation-card__policy,
  .accommodation-hub-card__policy {
    margin-top: auto;
  }

  .discovery-card__meta {
    min-height: 2.8em;
  }

  .accommodation-hub-card__description {
    min-height: 3.2em;
  }
}

@media (min-width: 721px) and (max-width: 1180px) {
  .home-hero__booking {
    max-width: 780px;
    margin-inline: auto;
  }

  .home-discovery {
    margin-top: 16px;
  }
}

@media (max-width: 720px) {
  html,
  body {
    width: 100%;
    max-width: 100vw;
  }

  body {
    padding-bottom: 82px;
  }

  .container {
    width: min(100% - 28px, var(--container));
  }

  .reservation-overlay {
    padding: 20px 14px calc(20px + env(safe-area-inset-bottom));
  }

  .reservation-overlay__panel {
    width: min(100%, 360px);
    border-radius: 20px;
  }

  .reservation-overlay__brand {
    padding: 16px 18px 14px;
  }

  .reservation-overlay__brand img {
    width: 154px;
    max-width: 68%;
  }

  .reservation-overlay__body {
    padding: 20px 24px 24px;
  }

  .reservation-overlay__spinner {
    width: 34px;
    height: 34px;
    margin-bottom: 14px;
    border-width: 3px;
  }

  .reservation-overlay__kicker {
    margin-bottom: 6px;
    font-size: .72rem;
  }

  .reservation-overlay h2 {
    font-size: 1.35rem;
    line-height: 1.12;
  }

  .reservation-overlay__body > p:last-child {
    margin-top: 10px;
    font-size: .95rem;
    line-height: 1.38;
  }

  .site-header__inner {
    position: relative;
    width: 100%;
    max-width: 100vw;
    min-height: 62px;
    padding: 0 14px 0 18px;
    justify-content: space-between;
    gap: 10px;
  }

  .site-header {
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  /* El overlay fijo del menú no debe quedar recortado por el header. */
  .site-header.is-open {
    overflow: visible;
  }

  .mobile-nav {
    top: 62px;
    height: auto;
  }

  .brand {
    gap: 9px;
    min-width: 0;
    max-width: 100%;
  }

  .brand__logo-mark {
    flex: 0 1 122px;
    width: 122px;
    height: 40px;
  }

  .brand__place {
    display: none;
  }

  .menu-button {
    flex: 0 0 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  /* Visor mobile (G2): flechas superpuestas a los lados de la foto,
     miniaturas 66x50 y ayuda de swipe. */
  .gallery-lightbox__bar {
    padding: 20px 18px 12px;
  }

  .gallery-lightbox__close {
    width: 40px;
    height: 40px;
  }

  .gallery-lightbox__stage {
    position: relative;
    padding: 0 16px;
    gap: 0;
  }

  .gallery-lightbox__figure img {
    max-height: 52vh;
  }

  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    z-index: 2;
    background: rgba(255, 255, 255, .16);
  }

  .gallery-lightbox__nav--prev {
    left: 16px;
  }

  .gallery-lightbox__nav--next {
    right: 16px;
  }

  .gallery-lightbox__thumbs {
    padding: 14px 18px 10px;
    scrollbar-width: none;
  }

  .gallery-lightbox__thumb {
    width: 66px;
    height: 50px;
  }

  .gallery-lightbox__help {
    padding: 0 18px 18px;
  }

  .gallery-lightbox__help--desktop {
    display: none;
  }

  .gallery-lightbox__help--mobile {
    display: inline;
  }

  .contact-phone-links a {
    min-height: 44px;
  }

  .subhero {
    height: 230px;
  }

  .subhero__content {
    left: 20px;
    right: 20px;
    bottom: 18px;
    width: auto;
    transform: none;
  }

  .subhero h1 {
    font-size: 30px;
  }

  .subhero__content p {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .trust-strip,
  .overview-filter,
  .proof-row,
  .theme-grid,
  .benefit-grid,
  .benefit-grid--compact,
  .accommodation-grid,
  .home-discovery-grid,
  .stay-type-grid,
  .photo-row,
  .amenity-grid,
  .review-grid,
  .source-grid,
  .location-band,
  .location-metrics,
  .detail-facts,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .source-card--total {
    grid-template-columns: 1fr;
  }

  .source-card--total .score,
  .source-card--total small {
    grid-column: auto;
    grid-row: auto;
  }

  .review-proof-carousel__heading {
    display: block;
  }

  .review-proof-carousel__heading p {
    margin-top: 4px;
  }

  .mini-review-card {
    flex-basis: 100%;
  }

  .trust-strip,
  .proof-row,
  .cta-band,
  .location-band {
    width: 100%;
    max-width: 100%;
  }

  .family-feature-grid,
  .itinerary-grid {
    grid-template-columns: 1fr;
  }

  .accommodation-results-bar {
    display: block;
  }

  .accommodation-results-bar p + p {
    margin-top: 4px;
  }

  .accommodation-hub-card {
    grid-template-columns: 1fr;
  }

  .accommodation-hub-card__media {
    aspect-ratio: 4 / 3;
    border-radius: calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;
  }

  .accommodation-hub-card__facts {
    grid-template-columns: 1fr;
  }

  .home-discovery {
    padding: 14px;
  }

  .home-discovery__header {
    display: block;
  }

  .home-discovery__header > p {
    margin-top: 8px;
  }

  .home-discovery .accommodation-filter {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .discovery-card,
  .stay-type-card {
    grid-template-columns: 1fr;
  }

  .discovery-card__media {
    aspect-ratio: 16 / 9;
    border-radius: calc(var(--radius-sm) - 1px) calc(var(--radius-sm) - 1px) 0 0;
  }

  .unit-price {
    position: static;
    width: 100%;
    min-width: 0;
  }

  .unit-price-popover {
    position: fixed;
    z-index: 1400;
    inset: auto 0 0;
    width: 100%;
    max-height: calc(100vh - 70px);
    overflow: auto;
    padding: 18px 16px calc(88px + env(safe-area-inset-bottom));
    border-width: 1px 0 0;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 -24px 64px rgba(25, 34, 56, .24);
    transform-origin: bottom center;
  }

  .unit-price-popover::before {
    border-radius: 22px 22px 0 0;
  }

  .unit-price-form__dates {
    grid-template-columns: 1fr;
  }

  .unit-price-form__guests {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stay-type-card__media {
    aspect-ratio: 4 / 3;
  }

  .filter-choice-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .filter-choice span,
  .accommodation-filter__reset {
    width: 100%;
    justify-content: center;
  }

  .overview-rating-strip {
    display: grid;
    gap: 8px;
  }

  .overview-rating-strip__item + .overview-rating-strip__item::before {
    content: none;
  }

  .cta-band__actions {
    justify-content: stretch;
    width: 100%;
  }

  .cta-band__actions .btn {
    width: 100%;
  }

  .trust-strip__item,
  .trust-strip__link {
    padding: 18px;
  }

  .trust-strip__item {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    column-gap: 14px;
    align-items: flex-start;
  }

  .trust-strip__item .score {
    line-height: 1.05;
  }

  .trust-strip__item--booking .score {
    font-size: 1.96rem;
  }

  .section {
    padding: 54px 0;
  }

  .section-intro {
    width: min(100%, 320px);
    max-width: 320px;
  }

  .section-intro h2 {
    font-size: clamp(1.9rem, 8vw, 2.35rem);
    overflow-wrap: break-word;
  }

  .review-card {
    min-width: 0;
  }

  .review-card__label,
  .review-card__snippet {
    overflow-wrap: break-word;
  }

  .review-card__snippet {
    font-size: 1.05rem;
  }

  .offer-card {
    grid-template-columns: 1fr;
  }

  .payment-benefit-grid,
  .duration-offer-grid,
  .offer-card__meta {
    grid-template-columns: 1fr;
  }

  .offer-card__title-row {
    display: block;
  }

  .offer-badge {
    margin-bottom: 10px;
  }

  .discount-table th {
    width: 82px;
  }

  .room-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }

  .room-photo-grid__main {
    grid-column: 1 / -1;
  }

  .cta-band {
    width: calc(100% - 28px);
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 54px;
  }

  .footer-bottom {
    width: calc(100% - 28px);
    display: grid;
    gap: 8px;
  }

  .site-footer {
    padding-bottom: calc(176px + env(safe-area-inset-bottom));
  }

  /* Barra sticky mobile (mockup 5a): FAB circular 52px a la izquierda +
     CTA pill ocupando el resto de la fila. */
  .whatsapp-widget {
    right: auto;
    left: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    justify-items: start;
    /* Show/hide suave en ambas direcciones sin pasar por opacidad parcial: el
       FAB (verde sólido) mantiene opacity 1 y se desliza; visibility se apaga
       al terminar la salida. Así no hay un estado intermedio de contraste
       pobre (lo que rompía axe). */
    visibility: visible;
    transform: translateY(0);
    transition:
      transform .34s cubic-bezier(.4, 0, .2, 1),
      visibility 0s;
    will-change: transform;
  }

  .whatsapp-fab {
    width: 52px;
    height: 52px;
    padding: 0;
    justify-content: center;
  }

  .whatsapp-nudge {
    right: auto;
    left: 0;
    width: min(286px, calc(100vw - 28px));
    padding-right: 56px;
  }

  .whatsapp-nudge::after {
    right: auto;
    left: 26px;
  }

  /* En páginas donde el CTA sticky se oculta, el FAB vuelve a la esquina
     derecha clásica. */
  .page-habitaciones .whatsapp-widget,
  .page-departamentos .whatsapp-widget {
    left: auto;
    right: 14px;
    justify-items: end;
  }

  .page-habitaciones .whatsapp-nudge,
  .page-departamentos .whatsapp-nudge {
    left: auto;
    right: 0;
  }

  .page-habitaciones .whatsapp-nudge::after,
  .page-departamentos .whatsapp-nudge::after {
    left: auto;
    right: 26px;
  }

  .whatsapp-fab span {
    display: none;
  }

  .is-mobile-menu-open .whatsapp-widget,
  .is-mobile-whatsapp-suppressed .whatsapp-widget,
  .is-calendar-popover-open .whatsapp-widget {
    pointer-events: none;
    visibility: hidden;
    transform: translateY(calc(100% + 32px));
    transition:
      transform .34s cubic-bezier(.4, 0, .2, 1),
      visibility 0s linear .34s;
  }

  .is-mobile-menu-open .whatsapp-nudge,
  .is-mobile-whatsapp-suppressed .whatsapp-nudge,
  .is-calendar-popover-open .whatsapp-nudge {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
  }

  .whatsapp-advice {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .whatsapp-advice .btn {
    width: 100%;
    white-space: normal;
  }

  .mobile-sticky-cta {
    position: fixed;
    z-index: 80;
    right: 14px;
    bottom: calc(14px + env(safe-area-inset-bottom));
    left: 80px;
    max-width: calc(100vw - 94px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    border-radius: var(--radius-pill);
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 10px 26px rgba(212, 58, 52, .3);
    font-weight: 850;
    visibility: visible;
    transform: translateY(0);
    transition:
      background .18s ease,
      box-shadow .18s ease,
      transform .34s cubic-bezier(.4, 0, .2, 1),
      visibility 0s;
    will-change: transform;
  }

  .mobile-sticky-cta:hover,
  .mobile-sticky-cta:focus-visible {
    background: var(--coral-dark);
    color: var(--white);
  }

  .mobile-sticky-cta:active {
    background: var(--coral-dark);
    color: var(--white);
    transform: translateY(1px);
    box-shadow: 0 8px 20px rgba(255, 84, 77, .22);
  }

  .is-mobile-sticky-cta-suppressed .mobile-sticky-cta {
    pointer-events: none;
    visibility: hidden;
    /* Se desliza fuera del viewport manteniendo el coral sólido (opacity 1):
       nunca queda blanco sobre coral semi-transparente, así no falla contraste
       AA en un frame intermedio. visibility se apaga al terminar la salida. */
    transform: translateY(calc(100% + 32px + env(safe-area-inset-bottom)));
    transition:
      transform .34s cubic-bezier(.4, 0, .2, 1),
      visibility 0s linear .34s;
  }

  .is-mobile-menu-open .mobile-sticky-cta,
  .is-gallery-lightbox-open .mobile-sticky-cta,
  .is-calendar-popover-open .mobile-sticky-cta {
    pointer-events: none;
    visibility: hidden;
    transform: translateY(calc(100% + 32px + env(safe-area-inset-bottom)));
  }

  body.page-habitaciones .mobile-sticky-cta,
  body.page-departamentos .mobile-sticky-cta {
    display: none;
  }
}

/* ============================================================
   EXPLORACIÓN V2 — componentes nuevos del handoff de Claude Design
   (identidad pintura, calendario, rotadores, conversión, secundarias)
   ============================================================ */

/* ---------- Identidad pintura: filete + chip por unidad ---------- */
.accommodation-card__image,
.accommodation-hub-card__media,
.discovery-card__media {
  position: relative;
}

[style*="--paint"] .accommodation-card__image::after,
[style*="--paint"] .accommodation-hub-card__media::after,
[style*="--paint"] .discovery-card__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 5px;
  background: var(--paint, var(--teal));
}

[style*="--paint"] .accommodation-card__body h3::before,
[style*="--paint"] .accommodation-hub-card__body h3::before,
[style*="--paint"] .discovery-card__body h3::before {
  content: "";
  display: inline-block;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: var(--paint, var(--teal));
  margin-right: 8px;
}

/* ---------- Brochazos (cierre 4d + títulos de sección) ---------- */
.brush-divider {
  display: flex;
  justify-content: center;
  padding: 4px 0 34px;
}

.brush-divider svg {
  width: 84px;
  height: auto;
}

.section-intro svg.brush-mark {
  display: block;
  width: 56px;
  height: auto;
  margin: 0 auto 10px;
}

.section-intro--left svg.brush-mark {
  margin-left: 0;
}

/* ---------- Calendario compartido (mockup Calendario.dc) ---------- */
.cal-scrim {
  display: none;
}

.cal-popover {
  position: absolute;
  z-index: 130;
  width: min(740px, calc(100vw - 32px));
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: var(--shadow-overlay);
  box-sizing: border-box;
}

.cal-popover[hidden] {
  display: none;
}

.cal-head {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 14px;
}

.cal-head svg {
  flex: 0 0 auto;
  align-self: center;
}

.cal-headline {
  color: var(--ink);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -.01em;
}

.cal-subline {
  color: var(--muted);
  font-size: 13.5px;
}

.cal-months {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.cal-nav {
  position: absolute;
  top: 0;
  z-index: 2;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease;
}

.cal-nav--prev {
  left: 0;
}

.cal-nav--next {
  right: 0;
}

.cal-nav:hover:not(:disabled) {
  background: var(--soft);
}

.cal-nav:disabled {
  opacity: .35;
  cursor: default;
}

.cal-month {
  min-width: 0;
}

.cal-month__title {
  height: 30px;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 800;
  line-height: 30px;
  text-align: center;
}

.cal-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  margin-bottom: 6px;
}

.cal-weekdays span {
  padding: 4px 0;
  color: #9aa3b5;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 2px;
}

.cal-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}

.cal-cell--range {
  background: #f6f0e4;
}

.cal-cell--start {
  background: linear-gradient(90deg, transparent 50%, #f6f0e4 50%);
}

.cal-cell--end {
  background: linear-gradient(90deg, #f6f0e4 50%, transparent 50%);
}

.cal-day {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: box-shadow .12s ease;
}

.cal-day:hover:not(:disabled):not(.cal-day--selected) {
  box-shadow: inset 0 0 0 1.5px var(--ink);
}

.cal-day--past,
.cal-day:disabled {
  color: #c4bfb2;
  font-weight: 500;
  text-decoration: line-through;
  cursor: default;
  pointer-events: none;
}

.cal-day--selected {
  background: var(--ink);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.cal-foot {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  margin-top: 14px;
}

.cal-clear {
  border: 0;
  padding: 8px 0;
  background: transparent;
  color: var(--teal-dark);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cal-close {
  padding: 10px 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s ease;
}

.cal-close:hover {
  background: #2a3650;
}

@media (max-width: 720px) {
  /* En mobile el calendario es bottom sheet con scrim. */
  .cal-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1395;
    background: rgba(15, 23, 42, .44);
  }

  .cal-scrim[hidden] {
    display: none;
  }

  .cal-popover {
    position: fixed;
    top: auto;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1400;
    width: auto;
    max-width: none;
    max-height: min(86dvh, 560px);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 22px 22px 0 0;
    border-width: 1px 0 0;
    box-shadow: 0 -16px 48px rgba(8, 14, 24, .24);
    padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  }

  .cal-head,
  .cal-foot {
    flex: 0 0 auto;
  }

  .cal-months {
    min-height: 0;
    overflow-y: auto;
    display: block;
    padding-bottom: 2px;
  }

  .cal-month--secondary {
    display: none;
  }

  .cal-day {
    width: 100%;
    height: 44px;
  }

  .cal-foot {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(214, 207, 191, .72);
    background: var(--white);
  }
}

@media (max-width: 720px) and (max-width: 360px), (max-width: 720px) and (max-height: 640px) {
  .cal-popover {
    max-height: calc(100dvh - 56px);
    padding-top: 14px;
    padding-bottom: calc(14px + env(safe-area-inset-bottom));
  }

  .cal-head {
    gap: 8px;
    margin-bottom: 10px;
  }

  .cal-headline {
    font-size: 17px;
  }

  .cal-subline {
    font-size: 13px;
  }

  .cal-month__title {
    margin-bottom: 6px;
  }

  .cal-weekdays {
    margin-bottom: 4px;
  }

  .cal-day {
    height: 40px;
  }

  .cal-foot {
    gap: 12px;
  }

  .cal-close {
    padding-inline: 18px;
  }
}

/* ---------- Rotador de opiniones (home + listados) ---------- */
.review-rotator {
  margin-top: 24px;
  min-width: 0;
}

.review-rotator__viewport {
  min-width: 0;
}

.review-slide {
  display: none;
}

.review-slide.is-active {
  display: block;
  animation: rotator-fade .3s ease;
}

@keyframes rotator-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.review-rotator .mini-review-card {
  flex: none;
  width: 100%;
}

.review-rotator__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 14px;
}

.review-rotator__arrow {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1.5px solid transparent;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  opacity: .82;
  transition: background .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease;
}

.review-rotator__arrow:hover,
.review-rotator__arrow:focus-visible {
  background: var(--soft);
  border-color: var(--line);
  color: var(--ink);
  opacity: 1;
}

.review-rotator__dots {
  display: flex;
  align-items: center;
  gap: 4px;
}

.rotator-dot {
  position: relative;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.rotator-dot::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--line-strong);
  transform: translate(-50%, -50%);
  transition: background .2s ease;
}

.rotator-dot.is-active {
  width: 30px;
}

.rotator-dot.is-active::before {
  width: 26px;
  background: var(--line-strong);
}

.rotator-dot.is-active::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 2px;
  width: 26px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  transform: translateY(-50%) scaleX(0);
  transform-origin: left center;
}

.review-rotator.is-playing .rotator-dot.is-active::after {
  animation: rotator-progress var(--rotator-duration, 6200ms) linear forwards;
}

@keyframes rotator-progress {
  to {
    transform: translateY(-50%) scaleX(1);
  }
}

/* Variante compacta teal (Habitaciones/Departamentos). */
.review-rotator--compact .mini-review-card {
  background: var(--soft-teal);
}

/* ---------- Mini-carrusel de fotos por card (listados) ---------- */
.card-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.card-carousel picture,
.card-carousel > img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
}

.card-carousel picture.is-active,
.card-carousel > img.is-active {
  opacity: 1;
}

.card-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(8, 14, 24, .3);
  transform: translateY(-50%);
  cursor: pointer;
  touch-action: manipulation;
}

.card-carousel__prev {
  left: 10px;
}

.card-carousel__next {
  right: 10px;
}

.card-carousel__nav[hidden] {
  display: none;
}

.card-carousel__dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  z-index: 3;
  display: flex;
  gap: 5px;
  transform: translateX(-50%);
}

.card-carousel__dot {
  width: 7px;
  height: 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .62);
  /* Dots blancos sobre fotos claras: llevan sombra (riesgo QA §7 del handoff). */
  box-shadow: 0 1px 4px rgba(8, 14, 24, .5);
}

.card-carousel__dot.is-active {
  background: var(--white);
}

/* ---------- Chips de tema (Opiniones) ---------- */
.theme-chip-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0 0 26px;
}

.theme-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--header-ink);
  font: inherit;
  font-size: .86rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}

.theme-chip .dot {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: var(--dot, var(--teal));
}

.theme-chip[aria-pressed="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}

.reviews-more {
  display: grid;
  place-items: center;
  margin-top: 26px;
}

.review-grid [data-review-item][hidden] {
  display: none;
}

/* ---------- Cards de conversión (cierre de página) ---------- */
.conversion-card {
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.conversion-card h2 {
  font-size: clamp(1.35rem, 2.4vw, 1.7rem);
  margin-bottom: 6px;
}

.conversion-card > p {
  margin-bottom: 0;
}

.conversion-card__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 18px 0 12px;
}

.conversion-card__note {
  margin: 0;
  color: var(--muted);
  font-size: .95rem;
}

@media (max-width: 720px) {
  .conversion-card__actions {
    display: grid;
  }

  .conversion-card__actions .btn {
    width: 100%;
  }
}

/* ---------- Ofertas (O1): form inline en card ---------- */
.offer-card__cta-row {
  margin-top: 16px;
}

.offer-card__form-wrap {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.offer-card__form-wrap[hidden] {
  display: none;
}

.offer-card__form-wrap .booking-form {
  box-shadow: none;
  border-color: var(--line);
}

.offer-microcopy {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: .88rem;
  font-weight: 600;
}

.offer-card--ended {
  opacity: .75;
}

/* Preventa Verano 2027: card destacada de /ofertas/. Borde dorado + fondo
   cálido de la paleta existente; el badge pasa a coral para que el "Hasta
   30% OFF" sea lo primero que se lee. */
.offer-card--presale {
  border: 2px solid var(--gold);
  background: var(--sun-soft);
}

.offer-card--presale .offer-badge {
  background: var(--coral);
  color: var(--white);
}

.offer-card--presale .discount-table th {
  color: var(--coral-dark);
  white-space: nowrap;
  padding-right: 14px;
}

.offer-section--ended h2,
.offer-section--ended > p {
  color: var(--muted);
}

/* ---------- Contacto (CF): canales ---------- */
.contact-method--whatsapp {
  background: var(--soft-green);
  border: 1.5px solid rgba(15, 127, 76, .28);
}

.contact-method--whatsapp .icon--whatsapp {
  color: var(--wa);
}

.contact-phone-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-phone-card {
  display: flex;
  gap: 14px;
  align-items: center;
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  text-align: left;
}

.contact-phone-card .icon {
  flex: 0 0 auto;
  color: var(--coral);
}

.contact-phone-card span {
  display: block;
  min-width: 0;
}

.contact-phone-card strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
}

.contact-phone-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.35;
}

.contact-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 10px 0 2px;
  color: var(--muted);
  font-weight: 700;
  font-size: .95rem;
}

.contact-divider::before,
.contact-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

@media (max-width: 480px) {
  .contact-phone-cards {
    grid-template-columns: 1fr;
  }
}

/* ---------- Políticas (PL1): acordeón ---------- */
.policy-accordion {
  display: grid;
  gap: 12px;
  max-width: 860px;
}

.policy-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.policy-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 60px;
  padding: 16px 20px;
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: background .2s ease;
}

.policy-item summary::-webkit-details-marker {
  display: none;
}

.policy-item summary .icon {
  color: var(--teal);
}

.policy-item[open] summary {
  background: var(--soft);
}

.policy-item__chevron {
  margin-left: auto;
  color: var(--muted);
  transition: transform .2s ease;
}

.policy-item[open] .policy-item__chevron {
  transform: rotate(180deg);
}

.policy-item__body {
  padding: 16px 20px 20px;
}

.policy-item__body p {
  margin-bottom: 0;
}

.policy-pending-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: .92rem;
}

/* ---------- Barra fija del detalle (mobile, mockup 6a/6d) ---------- */
.detail-sticky-bar {
  display: none;
}

@media (max-width: 720px) {
  .detail-sticky-bar {
    position: fixed;
    z-index: 80;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: var(--white);
    box-shadow: 0 -10px 30px rgba(25, 34, 56, .12);
  }

  .detail-sticky-bar__info {
    flex: 1;
    min-width: 0;
    display: grid;
    gap: 1px;
  }

  .detail-sticky-bar__info strong {
    color: var(--ink);
    font-size: .95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .detail-sticky-bar__info small {
    color: var(--teal-dark);
    font-size: .8rem;
    font-weight: 700;
  }

  .detail-sticky-bar .btn {
    flex: 0 0 auto;
    min-height: 48px;
  }

  /* En el detalle, la barra propia reemplaza al CTA sticky genérico y el FAB
     de WhatsApp vuelve a la esquina derecha, por encima de la barra. */
  body[class*="page-habitaciones-"] .mobile-sticky-cta,
  body[class*="page-departamentos-"] .mobile-sticky-cta {
    display: none;
  }

  body[class*="page-habitaciones-"] .whatsapp-widget,
  body[class*="page-departamentos-"] .whatsapp-widget {
    left: auto;
    right: 14px;
    bottom: calc(88px + env(safe-area-inset-bottom));
    justify-items: end;
  }

  body[class*="page-habitaciones-"] .whatsapp-nudge,
  body[class*="page-departamentos-"] .whatsapp-nudge {
    left: auto;
    right: 0;
  }

  body[class*="page-habitaciones-"] .whatsapp-nudge::after,
  body[class*="page-departamentos-"] .whatsapp-nudge::after {
    left: auto;
    right: 26px;
  }

  /* Gradiente blanco bajo la fila flotante (mockup 5a). */
  .floating-actions::after {
    content: "";
    position: fixed;
    z-index: 70;
    right: 0;
    bottom: 0;
    left: 0;
    height: 84px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .92) 62%);
    pointer-events: none;
    opacity: 1;
    transition: opacity .36s ease;
  }

  .is-mobile-sticky-cta-suppressed .floating-actions::after,
  .is-gallery-lightbox-open .floating-actions::after,
  .is-calendar-popover-open .floating-actions::after {
    opacity: 0;
  }

  body[class*="page-habitaciones-"] .floating-actions::after,
  body[class*="page-departamentos-"] .floating-actions::after {
    content: none;
  }
}

/* ---------- Piezas menores v2 ---------- */
/* Layout mínimo para grupos de acciones heredados (404). */
.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.reviews-status {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .92rem;
  font-weight: 700;
  text-align: center;
}

/* ---------- Microinteracciones ---------- */
.accommodation-card,
.review-card,
.source-card {
  transition: box-shadow .15s ease, border-color .22s ease, transform .22s ease;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }

  .review-rotator .rotator-dot.is-active::after,
  .review-rotator.is-playing .rotator-dot.is-active::after {
    animation: none;
    transform: translateY(-50%) scaleX(1);
  }

  .reservation-overlay__spinner {
    animation: none;
  }

  .card-carousel picture,
  .card-carousel > img {
    transition: none;
  }
}

/* ============================================================
   PARIDAD MOCKUPS FINALES (final/*.dc.html)
   ============================================================ */

/* Botón CTA rectangular de forms/cards (radius 12 del mockup). */
.btn--rect {
  border-radius: 12px;
}

/* ---------- Encabezado de listado: intro + pills de filtro ---------- */
.listing-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.listing-header__intro {
  max-width: 640px;
  min-width: 0;
}

.listing-header__intro svg.brush-mark {
  display: block;
  margin-bottom: 10px;
}

.listing-header__intro h2 {
  margin: 0 0 6px;
}

.listing-header__intro p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.results-line {
  margin: 0 0 20px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 700;
}

.accommodation-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.accommodation-filter__group {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.accommodation-filter__group legend {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  margin: 0;
}

.filter-choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-choice span {
  min-height: 44px;
  padding: 10px 16px;
  font-size: 13.5px;
}

/* ---------- Tiles simples (discovery/relacionados) ---------- */
.unit-tile-grid {
  display: grid;
  gap: 28px 20px;
}

.unit-tile-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.unit-tile-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.unit-tile {
  min-width: 0;
}

.unit-tile.is-hidden {
  display: none;
}

.unit-tile__media {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 14px;
  overflow: hidden;
  background: var(--soft);
}

.unit-tile__media picture,
.unit-tile__media img {
  width: 100%;
  height: 100%;
}

.unit-tile__media img {
  object-fit: cover;
}

.unit-tile__media::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 5px;
  background: var(--paint, var(--teal));
}

.unit-tile__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 800;
}

.unit-tile__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 3px;
}

.unit-tile__chip {
  flex: 0 0 11px;
  width: 11px;
  height: 11px;
  border-radius: 4px;
  background: var(--paint, var(--teal));
}

.unit-tile__chip--lg {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  border-radius: 5px;
}

.unit-tile__title h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.25;
}

.unit-tile__title h3 a {
  color: var(--ink);
}

.unit-tile__meta {
  margin: 0 0 9px;
  color: var(--muted);
  font-size: 13.5px;
}

.unit-price-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--coral);
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
}

.unit-price-link:hover {
  color: var(--coral-dark);
}

/* ---------- Cards de listado (Habitaciones/Departamentos) ---------- */
.unit-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px 22px;
}

.unit-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.unit-card.is-hidden {
  display: none;
}

.unit-card__media {
  aspect-ratio: 4 / 3;
  border-radius: 16px;
}

.unit-card .unit-tile__title {
  margin: 14px 0 4px;
}

.unit-card .unit-tile__title h3 {
  font-size: 18px;
}

.unit-card__short {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
  text-wrap: pretty;
}

.unit-card__beds {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 13.5px;
}

.unit-card__beds .icon {
  flex: 0 0 17px;
  width: 17px;
  height: 17px;
  color: var(--teal);
}

.unit-card__actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: auto;
}

.unit-card__actions .unit-price {
  flex: 1;
  min-width: 0;
}

.unit-card__actions .btn {
  width: 100%;
  min-height: 46px;
  padding: 12px 16px;
  font-size: 14px;
  box-shadow: 0 6px 16px rgba(212, 58, 52, .2);
}

.unit-card__detail {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Star cards (opiniones del mockup) ---------- */
.star-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow-card);
}

.star-card--bordered {
  border: 1px solid var(--line);
  box-shadow: none;
}

.star-card--cream {
  padding: 22px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: none;
}

.star-card__head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.star-card__stars {
  color: var(--ink);
  font-size: 14px;
  letter-spacing: 2px;
}

.star-card__rating {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.star-card__title {
  margin: 0 0 8px;
  font-size: 16px;
}

.star-card__snippet {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-wrap: pretty;
}

.star-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
}

.star-card__meta {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
}

.star-card__source {
  flex: 0 0 auto;
  color: var(--teal);
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
}

.trust-panel .star-card,
.trust-panel--cream .star-card {
  margin-bottom: 12px;
  padding: 20px;
  border-radius: 14px;
}

.trust-panel .star-card__snippet,
.trust-panel--cream .star-card__snippet {
  font-size: 14px;
}

/* ---------- Review deck: grilla 3 en desktop, rotador en mobile ---------- */
.review-deck {
  min-width: 0;
}

.review-deck__slides {
  display: grid;
  gap: 20px;
}

@media (min-width: 721px) {
  .review-deck__slides {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .review-deck .review-slide {
    display: block;
    animation: none;
  }

  .review-deck .review-slide:nth-child(n+4) {
    display: none;
  }

  .review-deck .review-rotator__controls {
    display: none;
  }
}

@media (max-width: 720px) {
  .review-deck .review-slide {
    display: none;
  }

  .review-deck .review-slide.is-active {
    display: block;
  }
}

/* ---------- Banda de opiniones (Home) ---------- */
.reviews-band {
  background: var(--soft);
}

.reviews-band__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.reviews-band__header h2 {
  margin: 0 0 6px;
}

.reviews-band__header p {
  margin: 0;
  max-width: 620px;
  color: var(--muted);
}

.reviews-band__header svg.brush-mark {
  display: block;
  margin-bottom: 10px;
}

.reviews-band__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  max-width: 480px;
}

.theme-chip--static {
  min-height: 0;
  padding: 8px 14px;
  font-size: 13px;
  cursor: default;
}

.reviews-band .star-card {
  border: 0;
  box-shadow: var(--shadow-card);
}

.reviews-band .text-link {
  margin-top: 14px;
}

/* ---------- Banda de confianza (Home) ---------- */
.trust-band {
  margin-top: 0;
  padding: 26px 36px;
  border-radius: 20px;
  background: var(--soft);
}

.trust-band__title,
.trust-band__sub,
.trust-band__note {
  display: none;
}

.trust-band__scores {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 24px;
  flex-wrap: wrap;
}

.trust-band__score {
  display: flex;
  align-items: baseline;
  gap: 9px;
  min-width: 0;
  color: inherit;
}

.trust-band__score strong {
  color: var(--ink);
  font-size: 23px;
  font-weight: 800;
}

.trust-band__score span {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.trust-band__score small {
  color: var(--muted);
  font-size: 13px;
}

a.trust-band__score:hover strong {
  color: var(--teal);
}

.trust-band__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.trust-band__divider {
  height: 1px;
  margin: 18px 0;
  background: var(--line);
}

.trust-band__proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 18px;
  color: var(--header-ink);
  font-size: 14px;
  font-weight: 600;
}

.trust-band__proof span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.trust-band__proof .icon {
  width: 19px;
  height: 19px;
  color: var(--teal);
}

/* ---------- Stay-type sin caja ---------- */
.stay-type-card,
.stay-type-card:hover,
.stay-type-card:focus-within {
  display: block;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
  transform: none;
  color: inherit;
}

.stay-type-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  min-height: 0;
  margin-bottom: 16px;
  border-radius: 18px;
  overflow: hidden;
}

.stay-type-card .card-kicker {
  margin: 0 0 3px;
  font-size: 12px;
}

.stay-type-card h3 {
  margin: 0 0 6px;
  font-size: 21px;
}

.stay-type-card p:not(.card-kicker) {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.stay-type-card__link {
  color: var(--teal);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Beneficios sin caja ---------- */
.benefit-card {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.benefit-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: var(--radius-pill);
  background: var(--soft-teal);
  color: var(--teal);
}

.benefit-card__icon .icon {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}

.benefit-card h3 {
  margin-bottom: 5px;
  font-size: 15.5px;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

.benefit-grid,
.benefit-grid--compact {
  gap: 28px;
}

/* ---------- Mosaico de fotos (Home) ---------- */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  grid-auto-rows: 212px;
  gap: 14px;
  margin-bottom: 4px;
}

.photo-mosaic picture,
.photo-mosaic img {
  width: 100%;
  height: 100%;
}

.photo-mosaic picture:first-child {
  grid-row: span 2;
}

.photo-mosaic img {
  object-fit: cover;
  border-radius: 16px;
}

/* ---------- Location band + métricas planas ---------- */
.location-band {
  padding: 40px;
  border-radius: 20px;
  box-shadow: none;
}

.location-metrics {
  gap: 12px;
  text-align: center;
}

.location-metrics span {
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  font-size: 13px;
}

.location-metrics strong {
  color: var(--ink);
  font-size: 34px;
  font-weight: 800;
}

/* ---------- Cierre: banda carbón (desktop) + conversión crema (mobile) ---------- */
.section--closing {
  padding: 40px 0 30px;
}

.section--closing .cta-band {
  width: 100%;
  margin: 0;
}

.conversion-card--closing-mobile {
  display: none;
}

/* ---------- Fuentes de Opiniones ---------- */
.source-grid {
  grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 44px;
}

.source-card {
  display: block;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: none;
  transition: box-shadow .15s ease;
}

.source-card:not(.source-card--total):hover {
  transform: none;
  box-shadow: 0 8px 24px rgba(25, 34, 56, .08);
}

.source-card .score {
  display: block;
  color: var(--ink);
  font-size: 26px;
  font-weight: 800;
}

.source-card strong {
  display: block;
  margin-top: 4px;
  font-size: 14.5px;
}

.source-card small {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.45;
}

.source-card--total {
  display: flex;
  flex-direction: column;
  justify-content: center;
  grid-column: auto;
  border: 0;
  background: var(--charcoal-band);
  color: var(--white);
}

.source-card--total .score {
  color: var(--white);
  font-size: 40px;
  line-height: 1;
}

.source-card--total strong {
  margin-top: 8px;
  color: var(--white);
  font-size: 15px;
}

.source-card--total small {
  margin-top: 4px;
  color: rgba(255, 255, 255, .7);
  font-size: 13px;
}

.reviews-more .btn {
  width: min(100%, 420px);
  border-radius: 12px;
}

/* ---------- Strip de puntajes en listados ---------- */
.overview-rating-strip {
  padding: 16px 22px;
  border: 0;
  border-radius: 14px;
  background: var(--soft);
  box-shadow: none;
}

/* ---------- Detalle ---------- */
.room-detail__title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.room-detail__title h1 {
  margin: 0;
}

.room-detail h1 {
  font-size: clamp(1.75rem, 3vw, 2.625rem);
  line-height: 1.05;
}

.room-detail__ratingline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.room-detail__facts-inline {
  color: var(--muted);
  font-weight: 600;
}

.lead {
  max-width: 720px;
  color: #4a5568;
  font-size: 16.5px;
  line-height: 1.6;
}

.room-photo-grid {
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 12px;
}

.room-photo-grid__main {
  position: relative;
  display: block;
  grid-row: span 2;
  border-radius: 18px;
  overflow: hidden;
}

.room-photo-grid__main::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  height: 5px;
  background: var(--paint, var(--teal));
}

.room-photo-grid__cell {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
}

.room-photo-grid__main,
.room-photo-grid__cell {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.room-photo-grid__main:focus-visible,
.room-photo-grid__cell:focus-visible {
  outline: 3px solid rgba(255, 201, 56, .7);
  outline-offset: 3px;
}

.room-photo-grid [hidden] {
  display: none;
}

.room-photo-grid__more-pill {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  background: rgba(20, 24, 36, .82);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
}

.room-photo-grid img {
  border-radius: 0;
}

.detail-facts {
  grid-template-columns: 1fr 1fr;
  max-width: 720px;
}

.family-feature-grid article {
  border: 0;
  border-radius: 14px;
}

.detail-block .amenity-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reservation-rail {
  padding: 24px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(25, 34, 56, .08);
}

.reservation-rail__title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.reservation-rail__title h2 {
  margin: 0;
  font-size: 19px;
}

.reservation-rail__intro {
  margin: 0 0 16px;
  font-size: 13.5px;
  line-height: 1.5;
}

.reservation-rail__note {
  margin-top: 10px;
  font-size: 12.5px;
  text-align: center;
}

.rate-microcopy--rail {
  margin: 8px 0 12px;
  font-size: 12.5px;
  text-align: center;
}

.rail-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--header-ink);
  font-size: 13px;
  font-weight: 600;
}

.rail-list .icon {
  width: 16px;
  height: 16px;
  color: var(--teal);
}

/* ---------- Panel de Reservas ---------- */
.booking-panel {
  padding: 32px;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(25, 34, 56, .07);
}

.booking-panel svg.brush-mark {
  display: block;
  margin-bottom: 10px;
}

.booking-panel > p {
  font-size: 15px;
}

/* A3: en el panel de Reservas, Adultos / Niños / Código en una fila de 3. */
@media (min-width: 721px) {
  .booking-panel .booking-form--panel {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .booking-panel .booking-form--panel .booking-form__dates {
    grid-column: 1 / -1;
    gap: 12px;
  }

  .booking-panel .booking-form--panel .booking-form__guest-row {
    display: contents;
  }

  .booking-panel .booking-form--panel .booking-form__guest-row > .icon,
  .booking-panel .booking-form--panel .booking-form__guests-label {
    display: none;
  }

  .booking-panel .booking-form--panel .booking-form__promo {
    margin-top: 0;
  }

  .booking-panel .booking-form--panel button[type="submit"],
  .booking-panel .booking-form--panel .booking-form__trust,
  .booking-panel .booking-form--panel .booking-form__message {
    grid-column: 1 / -1;
  }

  .booking-panel .booking-form--panel button[type="submit"] {
    margin-top: 0;
    border-radius: 15px;
  }

  .booking-panel .booking-form--panel .booking-form__trust {
    margin-top: 0;
  }
}

.trust-panel--cream {
  border: 0;
  border-radius: 20px;
  background: var(--soft);
  box-shadow: none;
  padding: 28px;
}

.trust-panel--cream .check-list {
  display: grid;
  gap: 10px;
  color: var(--header-ink);
  font-size: 14px;
  font-weight: 600;
}

/* ---------- Responsive de los componentes nuevos ---------- */
@media (max-width: 1080px) {
  .unit-tile-grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .unit-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .source-card--total {
    grid-column: 1 / -1;
  }

  .listing-header {
    display: block;
  }

  .listing-header .accommodation-filter {
    margin-top: 14px;
  }

  .overview-rating-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .overview-rating-strip__rank {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .listing-header {
    display: block;
    margin-bottom: 14px;
  }

  .accommodation-filter {
    display: block;
  }

  .accommodation-filter__group legend {
    position: static;
    width: auto;
    height: auto;
    clip: auto;
    overflow: visible;
    margin: 0 0 8px;
    color: var(--teal);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .accommodation-filter__group:first-of-type .filter-choice-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .overview-rating-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    padding: 12px;
  }

  .overview-rating-strip__item {
    min-height: 58px;
    padding: 9px 8px;
  }

  .accommodation-filter__group:first-of-type .filter-choice span {
    width: 100%;
    justify-content: center;
    padding: 12px 4px;
    border-radius: 12px;
    font-weight: 800;
  }

  .accommodation-filter__group + .accommodation-filter__group {
    margin-top: 10px;
  }

  .accommodation-filter__group + .accommodation-filter__group legend {
    position: absolute;
    width: 1px;
    height: 1px;
    clip: rect(0, 0, 0, 0);
    overflow: hidden;
  }

  .accommodation-filter__group + .accommodation-filter__group .filter-choice-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .accommodation-filter__group + .accommodation-filter__group .filter-choice span {
    width: 100%;
    justify-content: center;
    padding: 10px 4px;
    font-size: 12.5px;
  }

  .unit-tile-grid--4,
  .unit-tile-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 12px;
  }

  .unit-tile__title h3 {
    font-size: 13.5px;
  }

  .unit-tile__meta {
    font-size: 11.5px;
    margin-bottom: 4px;
  }

  .unit-price-link {
    font-size: 12px;
    min-height: 40px;
  }

  .unit-card-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .unit-card__media {
    aspect-ratio: 16 / 10;
  }

  .reviews-band__header {
    display: block;
  }

  .reviews-band__chips {
    display: none;
  }

  .trust-band {
    padding: 18px;
    border-radius: 16px;
  }

  .trust-band__title {
    display: block;
    margin: 0 0 2px;
    font-size: 16.5px;
  }

  .trust-band__sub {
    display: block;
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12.5px;
  }

  .trust-band__scores {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .trust-band__score {
    display: block;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
  }

  .trust-band__score strong {
    font-size: 19px;
  }

  .trust-band__score span {
    margin-left: 6px;
    font-size: 13px;
  }

  .trust-band__score small {
    display: block;
    margin-top: 2px;
    font-size: 11.5px;
  }

  .trust-band__link {
    grid-column: 1 / -1;
    justify-content: center;
    margin-top: 4px;
  }

  .trust-band__divider {
    margin: 14px 0;
  }

  .trust-band__proof {
    justify-content: center;
    gap: 7px;
  }

  .trust-band__proof span {
    padding: 8px 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-pill);
    background: var(--white);
    font-size: 12px;
    font-weight: 700;
  }

  .trust-band__proof .icon {
    width: 15px;
    height: 15px;
  }

  .trust-band__note {
    display: block;
    margin: 10px 8px 0;
    color: var(--muted);
    font-size: 11.5px;
    line-height: 1.5;
    text-align: center;
  }

  .photo-mosaic {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 120px;
  }

  .photo-mosaic picture:first-child {
    grid-column: span 2;
  }

  .section--closing .cta-band--closing-desktop {
    display: none;
  }

  .conversion-card--closing-mobile {
    display: block;
    padding: 20px 18px;
    border: 0;
    border-radius: 16px;
    text-align: left;
  }

  .conversion-card--closing-mobile h2 {
    margin: 0 0 6px;
    font-size: 18px;
    line-height: 1.25;
  }

  .conversion-card--closing-mobile > p {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 12.5px;
    line-height: 1.5;
  }

  .conversion-card--closing-mobile .btn {
    width: 100%;
    margin-bottom: 8px;
  }

  .conversion-card--closing-mobile .conversion-card__note {
    margin: 2px 0 0;
    font-size: 11px;
    text-align: center;
  }

  .room-photo-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
    grid-auto-rows: 150px;
  }

  .room-photo-grid__main {
    grid-column: 1 / -1;
  }

  .detail-facts {
    grid-template-columns: 1fr 1fr;
  }

  .detail-block .amenity-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .booking-panel {
    padding: 20px 16px;
  }

  .trust-panel--cream {
    padding: 20px 16px;
  }

  /* QA P1: guardas anti-overflow horizontal en pantallas chicas. El mapa de
     Ubicación y sus paneles no deben superar el ancho del viewport. */
  .loc-hero__map,
  .loc-hero__map iframe,
  .trust-panel,
  .poi__grid,
  .poi__grid > * {
    max-width: 100%;
    min-width: 0;
  }
}

/* QA P1: en ~320px las amenities a 2 columnas cortan textos largos como
   "Aire acondicionado y calefacción"; una columna las deja legibles. */
@media (max-width: 400px) {
  .detail-block .amenity-grid,
  .detail-facts {
    grid-template-columns: 1fr;
  }
}

/* QA: iOS Safari hace zoom automático al enfocar un input con font-size < 16px.
   Todos los campos EDITABLES (fecha, código promocional, email, mensaje) usan
   al menos 16px en mobile para evitar ese zoom. No se tocan labels ni el diseño;
   los inputs de fecha reales son overlays transparentes, así que subirlos no
   cambia nada visual. Los displays de fecha visibles también suben a 16px por
   legibilidad y consistencia. Desktop queda intacto. */
@media (max-width: 720px) {
  .booking-form__stepper-button::before {
    content: "";
    position: absolute;
    inset: -7px;
    border-radius: inherit;
  }

  .reservation-rail .booking-form__stepper-button::before {
    inset: -9px;
  }

  .card-carousel__nav::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: inherit;
  }

  .booking-form input,
  .booking-form__field--date input[type="date"],
  .booking-form__field--date input[data-date-input],
  .booking-form__promo input,
  .unit-price-form input,
  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    font-size: 16px;
  }

  .booking-form__date-display,
  .unit-price-form__date-display {
    font-size: 16px;
  }
}

/* ---------- Galería + Ubicación v2: responsive (handoff galeria-ubicacion) ---------- */
@media (max-width: 900px) {
  .loc-hero__card {
    width: min(380px, calc(100% - 96px));
  }

  .poi__map {
    height: 300px;
    margin-bottom: 16px;
  }

  .loc-stats__grid,
  .itinerary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  /* Galería mobile (G1): chips de álbum en scroll horizontal. */
  .album-index {
    top: 62px; /* header mobile */
    margin-top: 10px;
    padding: 12px 0 8px;
  }

  .album-index__row {
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .album-index__row::-webkit-scrollbar {
    display: none;
  }

  .album-index__pill {
    flex: 0 0 auto;
    padding: 9px 15px;
    font-size: .81rem;
  }

  .album {
    padding: 24px 0 0;
    scroll-margin-top: 130px;
  }

  .album__head h2 {
    font-size: 1.19rem;
  }

  .album__bar {
    width: 11px;
    height: 22px;
    border-radius: 3px;
  }

  /* Mosaico mobile: 1 hero 3/2 a todo el ancho + miniaturas en 2 columnas 1/1. */
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
    gap: 8px;
  }

  .gallery-tile {
    aspect-ratio: 1 / 1;
    border-radius: 14px;
  }

  .gallery-tile--hero,
  .gallery-tile--wide {
    grid-column: span 2;
    grid-row: auto;
    aspect-ratio: 3 / 2;
    border-radius: 16px;
  }

  /* En mobile el epígrafe solo se muestra sobre el hero (proto G1). */
  .gallery-tile__label {
    display: none;
  }

  .gallery-tile--hero .gallery-tile__label {
    display: block;
    padding: 26px 14px 10px;
    font-size: .88rem;
  }

  .gallery-tile--m-hidden {
    display: none;
  }

  /* Velo al .65 (el .5 del proto baja de 4.5:1 sobre fotos claras — axe AA). */
  .gallery-tile__more {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(16, 24, 40, .65);
    color: var(--white);
    font-size: .94rem;
    font-weight: 800;
  }

  .gallery-tile__plus {
    top: 10px;
    right: 10px;
    width: 32px;
    height: 32px;
  }

  /* Ubicación mobile (U1): mapa 430 + ficha superpuesta al borde inferior. */
  .loc-hero__map {
    height: 430px;
  }

  .loc-hero__chip {
    width: 100%;
    justify-content: center;
    padding: 8px 13px;
    font-size: .78rem;
    text-align: center;
  }

  .loc-hero__card {
    position: relative;
    left: auto;
    bottom: auto;
    z-index: 4;
    width: auto;
    margin: -44px 16px 0;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(25, 34, 56, .16);
  }

  .loc-hero__card h1 {
    font-size: 1.44rem;
    letter-spacing: -.01em;
  }

  .loc-hero__actions {
    flex-direction: column;
    gap: 9px;
  }

  .loc-hero__call {
    width: 100%;
  }

  .loc-hero__call-suffix {
    display: inline;
  }

  .loc-stats {
    padding: 22px 0 6px;
  }

  .loc-stats__head {
    margin-bottom: 12px;
  }

  .loc-stats__head span {
    display: none;
  }

  .loc-stats__grid {
    gap: 10px;
  }

  .loc-stat {
    padding: 14px;
    border-radius: 14px;
  }

  .loc-stat strong {
    font-size: 1.19rem;
  }

  .loc-stat span {
    font-size: .81rem;
  }

  .poi {
    padding: 24px 0 0;
  }

  .poi h2 {
    font-size: 1.375rem;
  }

  .poi__intro {
    font-size: .88rem;
  }

  .poi__map {
    margin-bottom: 14px;
    border-radius: 18px;
  }

  /* Leyenda apilada: filas divididas por hairline (proto U1). */
  .poi-row {
    padding: 11px 4px;
    border-radius: 0;
    border-bottom: 1px solid #f0ebe0;
  }

  .poi-row__number {
    width: 26px;
    height: 26px;
    font-size: .81rem;
  }

  .poi-row__name {
    font-size: .88rem;
  }

  .poi-row__note {
    display: none;
  }

  .poi-row__distance {
    font-size: .78rem;
  }

  .itineraries {
    padding: 24px 0 0;
  }

  .itineraries h2 {
    font-size: 1.25rem;
  }

  .itinerary-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .itinerary-card {
    padding: 18px;
    border-radius: 16px;
  }
}

@media (max-width: 360px) {
  .loc-hero__map {
    height: 360px;
  }

  .loc-hero__card {
    margin-top: -36px;
    padding: 18px;
  }

  .loc-hero__card .brush-mark {
    margin-bottom: 9px;
  }

  .loc-hero__chip {
    margin-bottom: 10px;
    padding: 8px 10px;
    font-size: .74rem;
  }

  .loc-hero__card h1 {
    font-size: 1.32rem;
  }
}
