:root {
  /* Identidad Casa Porteña */
  --ink: #141816;
  --ink-soft: #4a524c;
  --paper: #f2f4f0;
  --moss: #2a4a38;
  --moss-deep: #1a2f24;
  --leaf: #4f7a5c;
  --brand-line: rgba(20, 24, 22, 0.12);
  --white: #fafbf9;
  --font-brand: "Fraunces", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Sistema tipo Airbnb (listing UX) */
  --air-bg: #ffffff;
  --air-text: #222222;
  --air-mute: #6a6a6a;
  --air-line: #dddddd;
  --air-pink: #ff385c;
  --air-pink-deep: #d90b63;
  --air-radius: 12px;
  --air-font: "Nunito Sans", system-ui, sans-serif;
  --wrap: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--air-font);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 4.5rem;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }

h1, h2, h3 {
  font-family: var(--font-brand);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
}

.air-zone h2,
.air-zone h3 {
  font-family: var(--air-font);
  font-weight: 600;
  letter-spacing: -0.015em;
}

.eyebrow {
  font-family: var(--air-font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--leaf);
  margin-bottom: 0.75rem;
}

.air-wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem clamp(1.1rem, 3vw, 2rem);
  background: rgba(242, 244, 240, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--air-line);
}

.brand {
  font-family: var(--font-brand);
  font-size: 1.3rem;
  font-weight: 500;
}

.nav { display: none; gap: 1.5rem; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav a:hover { color: var(--ink); }

/* —— Botones —— */
.btn-brand,
.btn-brand-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-family: var(--air-font);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: 0.25s var(--ease);
}

.btn-brand {
  background: var(--moss);
  color: var(--white);
  border-color: var(--moss);
}
.btn-brand:hover { background: var(--moss-deep); }

.btn-brand-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-brand-ghost:hover { background: rgba(255, 255, 255, 0.1); }

.btn-air {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--air-pink) 0%, var(--air-pink-deep) 100%);
  color: #fff;
  font-family: var(--air-font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s var(--ease), filter 0.2s var(--ease);
}
.btn-air:hover { filter: brightness(0.96); transform: scale(1.01); }
.btn-air-sm { padding: 0.55rem 1rem; font-size: 0.88rem; border-radius: 8px; }
.btn-air-block { width: 100%; padding: 0.95rem 1rem; }

.text-link {
  color: var(--air-text);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

/* —— HERO (identidad) —— */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  color: var(--white);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; }
.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s var(--ease);
  z-index: 0;
}
.hero-media img.is-active {
  opacity: 1;
  z-index: 1;
  animation: heroZoom 7s var(--ease) forwards;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(180deg, rgba(20, 24, 22, 0.25) 0%, rgba(20, 24, 22, 0.12) 40%, rgba(20, 24, 22, 0.78) 100%),
    linear-gradient(90deg, rgba(20, 24, 22, 0.4) 0%, transparent 50%);
}

.hero-content {
  position: relative;
  z-index: 3;
  padding: clamp(6rem, 12vh, 8rem) clamp(1.25rem, 4vw, 3rem) clamp(2.5rem, 6vh, 3.5rem);
  max-width: 42rem;
}

.brand-mark {
  font-family: var(--font-brand);
  font-size: clamp(2.7rem, 8vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 0.85rem;
}

.hero h1 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400;
  max-width: 18ch;
  color: rgba(255, 255, 255, 0.95);
}

.lede {
  font-weight: 400;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 34ch;
  margin-bottom: 1.4rem;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* —— Listing head (Airbnb) —— */
.listing-head {
  background: var(--air-bg);
  color: var(--air-text);
  padding: 2rem 0 0;
}

.listing-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.listing-title-row h2 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  margin-bottom: 0.2rem;
}

.listing-sub {
  margin: 0;
  color: var(--air-mute);
  font-size: 0.95rem;
}

.listing-meta {
  margin: 0.35rem 0 0;
  font-size: 0.95rem;
  color: var(--air-text);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.75rem;
  border: 1px solid var(--air-line);
  border-radius: 999px;
  font-size: 0.9rem;
  white-space: nowrap;
}
.rating-pill strong { font-weight: 700; }

/* Room picker — patrón photo tour Airbnb */
.photos-tour .room-picker {
  margin: 0.35rem 0 0;
}

.photos-tour .floorplan-lede {
  margin: -0.35rem 0 1rem;
}

.room-picker-bar {
  display: grid;
  grid-template-columns: 2.4rem 1fr 2.4rem;
  gap: 0.45rem;
  align-items: center;
}

.room-nav {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--air-line);
  border-radius: 999px;
  background: #fff;
  color: var(--air-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s var(--ease), opacity 0.2s var(--ease);
}
.room-nav:hover:not(:disabled) { background: #f7f7f7; }
.room-nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.room-track {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0.15rem;
  padding: 0.2rem 0.1rem 0.55rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.room-track::-webkit-scrollbar { display: none; }

.room-card {
  flex: 0 0 auto;
  width: min(38vw, 132px);
  scroll-snap-align: start;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  color: var(--air-text);
  font-family: var(--air-font);
}

.room-card-media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  background: #f0f0f0;
  transition: opacity 0.25s var(--ease);
}

.room-card-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--air-text);
  line-height: 1.25;
}

.room-card-count {
  display: block;
  margin-top: 0.05rem;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--air-mute);
}

.room-card.is-active .room-card-media {
  outline: 2px solid var(--air-text);
  outline-offset: 2px;
}

.room-card:not(.is-active):hover .room-card-media {
  opacity: 0.88;
}

.room-card:focus-visible { outline: none; }
.room-card:focus-visible .room-card-media {
  outline: 2px solid var(--air-text);
  outline-offset: 2px;
}

.room-toolbar {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  min-height: 1.25rem;
  margin: 0.15rem 0 0.85rem;
}

.room-context {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--air-text);
}
.room-context[hidden] { display: none; }

.room-clear {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0 0 0 auto;
  font-family: var(--air-font);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--air-text);
  text-decoration: underline;
  text-underline-offset: 0.18em;
  cursor: pointer;
  white-space: nowrap;
}
.room-clear:hover { opacity: 0.7; }

/*
  Vista por ambiente — Airbnb photo tour:
  masonry de 2 columnas, proporción natural, sin “tetris” forzado.
*/
.photo-mosaic.is-filtered {
  display: block;
  columns: 2;
  column-gap: 0.5rem;
  height: auto;
  overflow: visible;
  border-radius: 0;
}

.photo-mosaic.is-filtered button {
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  page-break-inside: avoid;
  width: 100%;
  margin: 0 0 0.5rem;
  border-radius: 12px;
  background: #ebebeb;
}

.photo-mosaic.is-filtered .mosaic-main {
  grid-column: auto;
  grid-row: auto;
}

.photo-mosaic.is-filtered img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: unset;
  display: block;
}

.photo-mosaic.is-filtered button:hover img {
  transform: none;
}

.photo-mosaic.is-filtered .mosaic-more span {
  display: none;
}

.photo-empty {
  columns: 1;
  padding: 2rem 1rem;
  text-align: center;
  color: var(--air-mute);
  font-size: 0.95rem;
}

/* Photo mosaic Airbnb-like */
.photo-mosaic {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem;
  border-radius: var(--air-radius);
  overflow: hidden;
}

.photo-mosaic button {
  margin: 0;
  padding: 0;
  border: 0;
  background: #f0f0f0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.photo-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 1;
  transition: transform 0.5s var(--ease);
}

.photo-mosaic button:hover img { transform: scale(1.03); }

.mosaic-main img { aspect-ratio: 16 / 10; }

.mosaic-more span {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  background: #fff;
  color: var(--air-text);
  border: 1px solid var(--air-text);
  border-radius: 8px;
  padding: 0.45rem 0.75rem;
  font-size: 0.82rem;
  font-weight: 600;
}

/* —— Listing body —— */
.listing-body {
  background: var(--air-bg);
  color: var(--air-text);
  padding: 2rem 0 4rem;
}

.listing-layout {
  display: grid;
  gap: 2.5rem;
}

.air-block {
  padding: 1.75rem 0;
  border-top: 1px solid var(--air-line);
}

.air-block h2 {
  font-size: 1.35rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* Highlights */
.highlights {
  display: grid;
  gap: 1.25rem;
  border-top: none;
  padding-top: 0.5rem;
}

.highlight {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 1rem;
  align-items: start;
}

.highlight h3 {
  font-family: var(--air-font);
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.2rem;
}

.highlight p {
  margin: 0;
  color: var(--air-mute);
  font-size: 0.92rem;
}

.hi-icon { color: var(--air-text); padding-top: 0.1rem; }

/* Experiencia (identidad) */
.experience {
  margin: 0;
  padding: 3rem 0 2.75rem;
  border-top: 1px solid var(--brand-line);
}

.experience-copy .eyebrow {
  margin: 0 0 0.55rem;
}

.experience-copy h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  color: var(--ink);
  max-width: 16ch;
  margin: 0 0 1.15rem;
  line-height: 1.12;
}

.experience-copy p {
  color: var(--ink-soft);
  max-width: 40ch;
  margin: 0 0 0.85rem;
  line-height: 1.55;
  font-size: 1.02rem;
}

.experience-copy p:last-child {
  margin-bottom: 0;
}

.experience-moments {
  display: grid;
  gap: 1.15rem;
  margin-top: 2.25rem;
}

.moment {
  margin: 0;
  background: var(--paper);
  overflow: hidden;
}

.moment img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.moment figcaption {
  padding: 1.15rem 1.2rem 1.35rem;
}

.moment strong {
  display: block;
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 0.35rem;
  color: var(--ink);
}

.moment span {
  display: block;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 1.45;
}

/* Sleep cards */
.sleep-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.sleep-card {
  border: 1px solid var(--air-line);
  border-radius: var(--air-radius);
  overflow: hidden;
}

.sleep-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.sleep-card h3,
.sleep-card p {
  margin: 0;
  padding: 0 1rem;
}

.sleep-card h3 {
  font-family: var(--air-font);
  font-size: 1rem;
  font-weight: 600;
  padding-top: 0.85rem;
}

.sleep-card p {
  color: var(--air-mute);
  font-size: 0.9rem;
  padding-bottom: 1rem;
}

/* —— Plano interactivo —— */
.floorplan-head {
  margin-bottom: 1rem;
}

.floorplan-lede {
  margin: -0.35rem 0 0;
  color: var(--air-mute);
  font-size: 0.95rem;
  max-width: 42ch;
}

.floor-tabs {
  display: inline-flex;
  gap: 0.25rem;
  padding: 0.25rem;
  margin: 1.1rem 0 1.25rem;
  border: 1px solid var(--air-line);
  border-radius: 999px;
  background: #f7f7f7;
}

.floor-tab {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--air-mute);
  font-family: var(--air-font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.floor-tab.is-active {
  background: #fff;
  color: var(--air-text);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.floor-tab:hover:not(.is-active) {
  color: var(--air-text);
}

.floorplan-layout {
  display: grid;
  gap: 1.25rem;
}

.floorplan-stage {
  background:
    linear-gradient(180deg, #f6f8f5 0%, #eef1ec 100%);
  border: 1px solid var(--brand-line);
  border-radius: 16px;
  padding: 0.85rem;
  overflow: hidden;
}

.floorplan-stage.is-portrait {
  display: flex;
  justify-content: center;
}

.floorplan-svg {
  width: 100%;
  height: auto;
  display: block;
  max-height: min(78vh, 680px);
}

.floorplan-stage.is-portrait .floorplan-svg {
  width: min(100%, 340px);
  max-height: min(88vh, 860px);
}

.fp-room {
  cursor: pointer;
  transition: fill 0.25s var(--ease), stroke 0.25s var(--ease);
}

.fp-room .fp-fill {
  fill: rgba(255, 255, 255, 0.92);
  stroke: #2a4a38;
  stroke-width: 1.75;
  transition: fill 0.25s var(--ease), stroke-width 0.25s var(--ease);
}

.fp-room .fp-label {
  fill: #1a2f24;
  font-family: var(--air-font);
  font-size: 11px;
  font-weight: 700;
  pointer-events: none;
  text-anchor: middle;
}

.fp-room-photo {
  opacity: 0;
  transition: opacity 0.35s var(--ease);
}

.fp-room.is-hot .fp-room-photo,
.fp-room:hover .fp-room-photo,
.fp-room:focus-visible .fp-room-photo {
  opacity: 1;
}

.fp-room.is-hot .fp-fill,
.fp-room:hover .fp-fill,
.fp-room:focus-visible .fp-fill {
  fill: rgba(79, 122, 92, 0.12);
  stroke: #1a2f24;
  stroke-width: 2.4;
}

.fp-room.is-hot .fp-label,
.fp-room:hover .fp-label,
.fp-room:focus-visible .fp-label {
  fill: #fff;
  paint-order: stroke fill;
  stroke: rgba(20, 24, 22, 0.55);
  stroke-width: 3px;
}

.fp-room:focus {
  outline: none;
}

.fp-outdoor .fp-fill {
  fill: rgba(79, 122, 92, 0.12);
  stroke: #4f7a5c;
  stroke-dasharray: 5 4;
}

.fp-hall-fill {
  fill: rgba(255, 255, 255, 0.7);
  stroke: #2a4a38;
  stroke-width: 1.75;
  pointer-events: none;
}

.fp-hall .fp-label {
  fill: #4a524c;
  font-family: var(--air-font);
  font-size: 11px;
  font-weight: 600;
  text-anchor: middle;
  pointer-events: none;
}

.fp-luz-fill {
  fill: rgba(79, 122, 92, 0.06);
  stroke: #4f7a5c;
  stroke-width: 1.25;
  stroke-dasharray: 4 4;
  pointer-events: none;
}

.fp-stairs {
  fill: rgba(20, 24, 22, 0.06);
  stroke: #4a524c;
  stroke-width: 1;
  pointer-events: none;
}

.floorplan-preview {
  display: grid;
  gap: 0.9rem;
  align-content: start;
}

.fp-preview-media {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #ebebeb;
  aspect-ratio: 16 / 11;
}

.fp-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), transform 0.7s var(--ease);
}

.fp-preview-media img.is-swapping {
  opacity: 0;
  transform: scale(1.03);
}

.fp-preview-floor {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--leaf);
}

.fp-preview-copy h3 {
  font-family: var(--air-font);
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  color: var(--air-text);
}

.fp-preview-copy p {
  margin: 0 0 0.85rem;
  color: var(--air-mute);
  font-size: 0.92rem;
}

.fp-preview-copy .text-link {
  font-size: 0.9rem;
}

/* Amenities */
.amenity-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem 1.5rem;
}

.amenity-grid li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
}

.am-icon {
  width: 1.35rem;
  height: 1.35rem;
  flex: 0 0 auto;
  color: var(--air-text);
}

.amenity-note {
  margin-top: 1.25rem;
  color: var(--air-mute);
  font-size: 0.92rem;
}

/* Atmósfera (identidad) */
.atmosphere {
  margin: 1rem 0;
  padding: 2.5rem 0;
  border-top: 1px solid var(--brand-line);
}

.atmosphere .section-head { max-width: 34rem; margin-bottom: 1.5rem; }
.atmosphere .section-head h2 {
  font-family: var(--font-brand);
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  color: var(--ink);
}
.atmosphere .section-head p { color: var(--ink-soft); margin: 0; }

.atmo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem;
}

.atmo-grid figure { margin: 0; position: relative; overflow: hidden; }
.atmo-grid img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 1s var(--ease);
}
.atmo-grid figure:hover img { transform: scale(1.04); }
.atmo-grid figcaption {
  position: absolute;
  left: 0.75rem;
  bottom: 0.75rem;
  color: #fff;
  font-family: var(--font-brand);
  font-size: 1rem;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* Reviews Airbnb-like */
.reviews-sub {
  margin: -0.35rem 0 1.25rem;
  color: var(--air-mute);
  font-size: 0.95rem;
}

.score-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem 2rem;
}

.score-list li {
  display: grid;
  grid-template-columns: 7.5rem 1fr 2rem;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.95rem;
}

.bar {
  height: 4px;
  background: #ddd;
  border-radius: 2px;
  overflow: hidden;
}
.bar i {
  display: block;
  height: 100%;
  width: var(--v);
  background: var(--air-text);
  border-radius: 2px;
}

.score-list strong { text-align: right; font-weight: 600; }

.review-cta {
  margin-top: 1.25rem;
  color: var(--air-mute);
  font-size: 0.95rem;
}

/* Booking card */
.booking-card {
  border: 1px solid var(--air-line);
  border-radius: var(--air-radius);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  padding: 1.35rem;
  background: #fff;
}

.booking-price {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 1rem;
}

.booking-box {
  border: 1px solid var(--air-text);
  border-radius: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 1rem;
  overflow: hidden;
}

.booking-cell {
  padding: 0.65rem 0.75rem;
  border-right: 1px solid var(--air-line);
  border-bottom: 1px solid var(--air-line);
}
.booking-cell:nth-child(2) { border-right: none; }
.booking-guests {
  grid-column: 1 / -1;
  border-right: none;
  border-bottom: none;
}

.booking-cell span {
  display: block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.booking-cell em {
  font-style: normal;
  font-size: 0.9rem;
  color: var(--air-mute);
}

.booking-note {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.82rem;
  color: var(--air-mute);
}

.booking-trust {
  list-style: none;
  margin: 1rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--air-line);
  display: grid;
  gap: 0.4rem;
  font-size: 0.88rem;
  color: var(--air-mute);
}

/* Footer */
.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.25rem, 4vw, 3rem) 5.5rem;
  background: var(--paper);
  border-top: 1px solid var(--brand-line);
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.site-footer .brand { color: var(--ink); display: block; margin-bottom: 0.25rem; }
.site-footer p { margin: 0; }

/* Mobile booking bar */
.mobile-book {
  position: fixed;
  inset: auto 0 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem calc(0.85rem + env(safe-area-inset-bottom));
  background: #fff;
  border-top: 1px solid var(--air-line);
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
}
.mobile-book strong { font-weight: 700; }
.mobile-book span { color: var(--air-mute); font-size: 0.9rem; }

/* Photo tour / lightbox — controles fijos, escenario estable */
.photo-tour {
  border: none;
  padding: 0;
  margin: 0;
  inset: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  background: #111;
  color: #fff;
}
.photo-tour::backdrop {
  background: rgba(0, 0, 0, 0.92);
}
.photo-tour[open] {
  position: fixed;
  display: grid;
}

.pt-shell {
  position: relative;
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: 3.5rem 1fr 6.75rem;
  overflow: hidden;
}

.pt-top {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 3rem 1fr 1fr;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  background: #111;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-btn,
.pt-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(34, 34, 34, 0.92);
  color: #fff;
  cursor: pointer;
  flex: 0 0 auto;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pt-btn:hover,
.pt-nav:hover {
  background: rgba(60, 60, 60, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
}

.pt-progress,
.pt-room {
  margin: 0;
  font-family: var(--air-font);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pt-progress {
  justify-self: center;
  color: rgba(255, 255, 255, 0.85);
  font-variant-numeric: tabular-nums;
  min-width: 4.5rem;
  text-align: center;
}
.pt-room {
  justify-self: end;
  text-align: right;
  min-width: 0;
}

.pt-nav {
  position: absolute;
  top: 50%;
  z-index: 6;
  transform: translateY(-50%);
  width: 3rem;
  height: 3rem;
}
.pt-prev { left: 0.75rem; }
.pt-next { right: 0.75rem; }

.pt-stage {
  position: relative;
  z-index: 1;
  min-height: 0;
  display: grid;
  place-items: center;
  padding: 0.75rem 4.5rem;
  background: #111;
  overflow: hidden;
}

.pt-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
  opacity: 1;
  transition: opacity 0.28s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.pt-img.is-fading {
  opacity: 0;
}

.pt-bottom {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 0.55rem;
  align-content: center;
  padding: 0.65rem 1rem 0.85rem;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.pt-caption {
  margin: 0;
  font-family: var(--air-font);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  min-height: 1.2em;
}

.pt-thumbs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding-bottom: 0.15rem;
  scrollbar-width: thin;
  /* altura fija: las miniaturas no mueven la barra al cambiar foto */
  height: 3.35rem;
  align-items: center;
}

.pt-thumb {
  flex: 0 0 auto;
  width: 3.35rem;
  height: 3.35rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  background: #2a2a2a;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s var(--ease), border-color 0.2s var(--ease);
}
.pt-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.pt-thumb:hover { opacity: 0.85; }
.pt-thumb.is-active {
  opacity: 1;
  border-color: #fff;
}

.pt-thumb[data-room-start="true"] {
  margin-left: 0.35rem;
}
.pt-thumb[data-room-start="true"]::before {
  content: none;
}

@media (max-width: 719px) {
  .pt-shell {
    grid-template-rows: 3.25rem 1fr 7.25rem;
  }
  .pt-stage {
    padding: 0.5rem 3.4rem;
  }
  .pt-nav {
    width: 2.6rem;
    height: 2.6rem;
  }
  .pt-prev { left: 0.45rem; }
  .pt-next { right: 0.45rem; }
  .pt-top {
    grid-template-columns: 2.75rem 1fr auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pt-img { transition: none !important; }
  .pt-thumbs { scroll-behavior: auto; }
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }

@keyframes heroZoom {
  from { transform: scale(1.05); }
  to { transform: scale(1); }
}

@media (min-width: 720px) {
  .nav { display: flex; }
  body { padding-bottom: 0; }
  .mobile-book { display: none; }
  .site-footer { padding-bottom: 2.5rem; }

  .photo-mosaic {
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: min(52vw, 420px);
  }
  .photo-mosaic.is-filtered {
    display: block;
    columns: 2;
    column-gap: 0.5rem;
    grid-template-columns: none;
    grid-template-rows: none;
    height: auto;
    overflow: visible;
    border-radius: 0;
  }
  .photo-mosaic.is-filtered .mosaic-main {
    grid-column: auto;
    grid-row: auto;
  }
  .photo-mosaic.is-filtered .mosaic-main img,
  .photo-mosaic.is-filtered button img {
    aspect-ratio: auto;
    height: auto;
  }
  .mosaic-main {
    grid-row: 1 / -1;
  }
  .mosaic-main img,
  .photo-mosaic:not(.is-filtered) button img {
    aspect-ratio: auto;
    height: 100%;
  }
  .room-card {
    width: 140px;
  }

  .sleep-grid { grid-template-columns: 1fr 1fr; }
  .amenity-grid { grid-template-columns: 1fr 1fr; }
  .score-list { grid-template-columns: 1fr 1fr; }
  .experience-moments {
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-top: 2.5rem;
  }

  .floorplan-layout {
    grid-template-columns: minmax(0, 0.85fr) minmax(240px, 1fr);
    align-items: start;
    gap: 1.5rem;
  }

  .floorplan-stage {
    padding: 1.1rem;
    justify-self: center;
    width: 100%;
  }

  .floorplan-stage.is-portrait .floorplan-svg {
    width: min(100%, 280px);
  }

  .floorplan-preview {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    position: sticky;
    top: 5.5rem;
  }

  .fp-preview-media {
    flex: 0 0 auto;
    min-height: 200px;
    aspect-ratio: 4 / 3;
    max-height: none;
  }
}

@media (min-width: 980px) {
  .listing-layout {
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.7fr);
    align-items: start;
    gap: 3.5rem;
  }

  .booking-col {
    position: sticky;
    top: 5.5rem;
  }

  .atmo-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .atmo-grid img { aspect-ratio: 3 / 4; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .hero-media img, .photo-mosaic img, .atmo-grid img, .btn-air, .fp-preview-media img, .fp-room .fp-fill {
    animation: none !important;
    transition: none !important;
  }
  .hero-media img { opacity: 0; transform: none; }
  .hero-media img.is-active { opacity: 1; }
  .reveal { opacity: 1; transform: none; }
}
