/* ==========================================================================
   Cabañas Posadas del Río — Sistema de diseño (Prototipo mobile-first)
   Estética: Refugio serrano cálido (piedra clara, verde sauce, ladrillo/arcilla)
   ========================================================================== */

:root {
  /* Superficies claras */
  --bg: #F4F0E7;
  --bg-alt: #EAE3D4;
  --surface: #FCFBF8;
  --surface-warm: #F7F3EA;

  /* Bloque inmersivo bosque / sauce */
  --forest: #192920;
  --forest-2: #23382C;
  --forest-3: #2E4739;
  --moss: #3A5643;
  --moss-soft: rgba(58, 86, 67, 0.11);

  /* Textos */
  --ink: #18211B;
  --ink-soft: #48544C;
  --ink-muted: #69756D;
  --ivory: #FAF7F1;
  --ivory-soft: rgba(250, 247, 241, 0.82);
  --ivory-muted: rgba(250, 247, 241, 0.58);

  /* Acento ladrillo / arcilla */
  --clay: #B55B37;
  --clay-hover: #994929;
  --clay-soft: rgba(181, 91, 55, 0.12);
  --sand-gold: #E3B89C;

  /* Bordes y sombras */
  --line: rgba(24, 33, 27, 0.10);
  --line-strong: rgba(24, 33, 27, 0.18);
  --line-light: rgba(250, 247, 241, 0.15);

  --shadow-sm: 0 4px 14px -4px rgba(24, 33, 27, 0.08), 0 2px 6px -2px rgba(24, 33, 27, 0.05);
  --shadow-md: 0 18px 42px -18px rgba(24, 33, 27, 0.16), 0 4px 12px -4px rgba(24, 33, 27, 0.06);
  --shadow-lg: 0 28px 64px -22px rgba(15, 24, 18, 0.30), 0 8px 20px -8px rgba(15, 24, 18, 0.12);

  /* Radios y medidas */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 26px;
  --r-xl: 34px;

  --max: 1200px;
  --pad: clamp(18px, 4.5vw, 52px);

  /* Tipografías */
  --font-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

picture {
  display: contents;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.62;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body.no-scroll {
  overflow: hidden;
}

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

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

button, input, select {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 2px;
}

/* ---------- Tipografía ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 400;
  margin: 0;
  letter-spacing: -0.018em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.15rem, 6.2vw, 4.15rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.82rem, 3.8vw, 2.95rem);
  line-height: 1.1;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.55rem);
  line-height: 1.2;
}

p {
  margin: 0 0 1rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
}

.sec {
  padding: clamp(56px, 8.5vw, 112px) 0;
}

.sec--alt {
  background: var(--bg-alt);
}

.sec--forest {
  background: var(--forest);
  color: var(--ivory);
  position: relative;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--moss);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clay);
  flex: 0 0 auto;
}

.eyebrow--light {
  color: var(--sand-gold);
}

.eyebrow--light::before {
  background: var(--sand-gold);
}

.lede {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 54ch;
}

.sec--forest .lede {
  color: var(--ivory-soft);
}

.sec-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px 36px;
  margin-bottom: clamp(28px, 4vw, 48px);
}

.sec-head__title {
  max-width: 36rem;
}

.sec-head__desc {
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
  margin: 0;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--clay);
  color: #FFFDFB;
  box-shadow: 0 12px 26px -12px rgba(181, 91, 55, 0.65);
}

.btn--primary:hover {
  background: var(--clay-hover);
}

.btn--forest {
  background: var(--forest);
  color: var(--ivory);
}

.btn--forest:hover {
  background: var(--forest-2);
}

.btn--outline {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn--outline:hover {
  background: rgba(24, 33, 27, 0.05);
  border-color: var(--ink);
}

.btn--ghost-light {
  background: rgba(250, 247, 241, 0.12);
  border-color: rgba(250, 247, 241, 0.30);
  color: var(--ivory);
}

.btn--ghost-light:hover {
  background: rgba(250, 247, 241, 0.22);
}

.btn--sm {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.85rem;
}

/* ---------- Cabecera adaptable ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding: 12px var(--pad);
  transition: padding 0.25s ease;
}

.site-header__bar {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 58px;
  padding: 0 10px 0 20px;
  border-radius: 999px;
  color: var(--ivory);
  background: rgba(20, 33, 26, 0.55);
  border: 1px solid rgba(250, 247, 241, 0.16);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: background-color 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease, color 0.28s ease;
}

.site-header.is-scrolled {
  padding-top: 8px;
  padding-bottom: 8px;
}

.site-header.is-scrolled .site-header__bar {
  background: rgba(252, 251, 248, 0.94);
  color: var(--ink);
  border-color: var(--line);
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand span {
  font-style: italic;
  font-weight: 400;
  color: var(--sand-gold);
  transition: color 0.28s ease;
}

.site-header.is-scrolled .brand span {
  color: var(--clay);
}

.site-nav {
  display: none;
  align-items: center;
  gap: 24px;
}

@media (min-width: 980px) {
  .site-nav {
    display: flex;
  }
}

.site-nav a {
  font-size: 0.86rem;
  font-weight: 500;
  opacity: 0.88;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.site-nav a:hover {
  opacity: 1;
}

.site-header.is-scrolled .site-nav a {
  color: var(--ink-soft);
  opacity: 1;
}

.site-header.is-scrolled .site-nav a:hover {
  color: var(--ink);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-cta {
  display: none;
}

@media (min-width: 640px) {
  .header-cta {
    display: inline-flex;
  }
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  height: 42px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(250, 247, 241, 0.24);
  background: rgba(250, 247, 241, 0.12);
  color: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.site-header.is-scrolled .menu-toggle {
  background: var(--bg);
  border-color: var(--line);
  color: var(--ink);
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }
}

.menu-toggle svg {
  width: 18px;
  height: 18px;
}

.mobile-drawer {
  display: none;
  max-width: var(--max);
  margin: 8px auto 0;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-lg);
  padding: 12px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer nav {
  display: grid;
  gap: 2px;
}

.mobile-drawer nav a {
  padding: 13px 16px;
  border-radius: var(--r-xs);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--ink);
}

.mobile-drawer nav a:active,
.mobile-drawer nav a:hover {
  background: var(--bg);
}

.mobile-drawer__footer {
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 8px;
}

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

/* ---------- Hero Editorial (Nítido en celular y escritorio) ---------- */
.hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(58, 92, 70, 0.35), transparent 48%),
    linear-gradient(180deg, #16241C 0%, var(--forest) 100%);
  color: var(--ivory);
  padding: clamp(92px, 11vw, 132px) 0 clamp(64px, 8vw, 96px);
}

.hero__grid {
  display: grid;
  gap: clamp(26px, 4.5vw, 56px);
  align-items: center;
}

@media (min-width: 920px) {
  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px;
  border-radius: 999px;
  background: rgba(250, 247, 241, 0.10);
  border: 1px solid rgba(250, 247, 241, 0.20);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 16px;
}

.hero__badge svg {
  width: 14px;
  height: 14px;
  color: var(--sand-gold);
  flex: 0 0 auto;
}

.hero h1 {
  margin-bottom: 16px;
}

.hero h1 em {
  font-style: italic;
  color: var(--sand-gold);
}

.hero__lead {
  font-size: clamp(0.98rem, 1.35vw, 1.12rem);
  color: var(--ivory-soft);
  max-width: 46ch;
  line-height: 1.6;
  margin-bottom: 24px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 26px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--line-light);
}

.hero__stat b {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 3px;
}

.hero__stat span {
  display: block;
  font-size: 0.77rem;
  line-height: 1.35;
  color: var(--ivory-muted);
}

/* Composición fotográfica del Hero sin recortes agresivos */
.hero__visual {
  position: relative;
}

.hero__main-photo {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(250, 247, 241, 0.16);
  background: var(--forest-2);
  position: relative;
}

.hero__main-photo img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 58%;
}

@media (min-width: 920px) {
  .hero__main-photo img {
    aspect-ratio: 1 / 1;
    object-position: center center;
  }
}

.hero__photo-tag {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(20, 31, 24, 0.72);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 0.76rem;
  font-weight: 500;
}

.hero__floating-card {
  display: none;
}

@media (min-width: 1020px) {
  .hero__visual {
    padding-left: 34px;
    padding-bottom: 28px;
  }
  .hero__floating-card {
    display: block;
    margin: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 5px solid var(--forest);
    box-shadow: var(--shadow-lg);
    background: var(--forest-2);
  }
  .hero__floating-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
  }
  /* La tarjeta flotante ocupa la esquina inferior izquierda: la etiqueta va a la derecha */
  .hero__photo-tag {
    left: auto;
    right: 14px;
  }
}

/* ---------- Barra interactiva de consulta rápida ---------- */
.booking-wrap {
  position: relative;
  z-index: 20;
  margin-top: -34px;
  scroll-margin-top: 96px;
}

.booking-bar {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(16px, 2.5vw, 24px);
}

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

.field--full-sm {
  grid-column: span 2;
}

@media (min-width: 920px) {
  .booking-bar__form {
    grid-template-columns: 1fr 1fr 1.05fr auto;
    align-items: end;
    gap: 14px;
  }
  .field--full-sm {
    grid-column: auto;
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--ink-soft);
  white-space: nowrap;
}

.nights-pill {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--moss);
  background: var(--moss-soft);
  padding: 2px 7px;
  border-radius: 999px;
}

.nights-pill[hidden] {
  display: none;
}

/* 16px evita auto-zoom brusco en iOS Safari y navegadores móviles */
.field input,
.field select {
  width: 100%;
  min-width: 0;
  height: 46px;
  padding: 0 11px;
  border-radius: var(--r-xs);
  border: 1px solid var(--line-strong);
  background: var(--surface-warm);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 768px) {
  .field input,
  .field select {
    font-size: 0.91rem;
    padding: 0 13px;
  }
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--moss);
  background: #FFF;
  box-shadow: 0 0 0 3px rgba(58, 86, 67, 0.14);
}

.booking-bar__submit {
  grid-column: span 2;
  height: 48px;
}

@media (min-width: 920px) {
  .booking-bar__submit {
    grid-column: auto;
    height: 46px;
  }
}

.booking-bar__hint {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 6px 16px;
  margin-top: 12px;
  padding-top: 11px;
  border-top: 1px solid var(--line);
  font-size: 0.79rem;
  color: var(--ink-muted);
}

.booking-bar__hint strong {
  color: var(--ink-soft);
  font-weight: 600;
}

/* ---------- El Predio ---------- */
.predio-grid {
  display: grid;
  gap: clamp(30px, 5vw, 70px);
  align-items: center;
}

@media (min-width: 920px) {
  .predio-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.predio-collage {
  position: relative;
}

.predio-collage__main {
  margin: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-alt);
}

.predio-collage__main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 62%;
}

.predio-collage__inset {
  display: none;
}

@media (min-width: 600px) {
  .predio-collage {
    padding-bottom: 42px;
    padding-right: 16px;
  }
  .predio-collage__inset {
    display: block;
    margin: 0;
    position: absolute;
    right: 0;
    bottom: 0;
    width: 44%;
    border-radius: var(--r-md);
    overflow: hidden;
    border: 6px solid var(--bg);
    box-shadow: var(--shadow-lg);
    background: var(--bg-alt);
  }
  .predio-collage__inset img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center 55%;
  }
}

.pillars {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 15px 16px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.pillar__icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: var(--moss-soft);
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.pillar__icon svg {
  width: 19px;
  height: 19px;
}

.pillar h3 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 2px;
}

.pillar p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.48;
}

/* ---------- Las 4 Cabañas ---------- */
.cabins-grid {
  display: grid;
  gap: clamp(20px, 2.8vw, 30px);
}

@media (min-width: 780px) {
  .cabins-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cabin-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
  .cabin-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
  }
}

/* 4/3 respeta techos a dos aguas, árboles e interiores tanto en móvil como en PC */
.cabin-slider {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--bg-alt);
  overflow: hidden;
  touch-action: pan-y;
}

.cabin-slider__track {
  width: 100%;
  height: 100%;
  position: relative;
}

.cabin-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cabin-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

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

.cabin-slider__badge {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 3;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(20, 31, 24, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--ivory);
  font-size: 0.75rem;
  font-weight: 600;
}

.cabin-slider__zoom {
  position: absolute;
  right: 12px;
  top: 12px;
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(252, 251, 248, 0.90);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.cabin-slider__zoom svg {
  width: 16px;
  height: 16px;
}

.cabin-slider__nav {
  position: absolute;
  inset: auto 10px 10px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.cabin-slider__btn {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(252, 251, 248, 0.90);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  -webkit-tap-highlight-color: transparent;
}

.cabin-slider__btn svg {
  width: 17px;
  height: 17px;
}

.cabin-slider__dots {
  display: flex;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(20, 31, 24, 0.60);
  backdrop-filter: blur(6px);
}

.cabin-slider__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(250, 247, 241, 0.45);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.cabin-slider__dot.is-active {
  background: #FFF;
  transform: scale(1.25);
}

.cabin-card__body {
  padding: clamp(18px, 2.5vw, 26px);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cabin-card__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.cabin-card__sub {
  font-size: 0.91rem;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.cabin-specs {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.cabin-specs li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: var(--r-xs);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-soft);
}

.cabin-specs svg {
  width: 14px;
  height: 14px;
  color: var(--moss);
  flex: 0 0 auto;
}

.cabin-card__footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cabin-status small {
  display: block;
  font-size: 0.74rem;
  color: var(--ink-muted);
}

.cabin-status strong {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}

/* ---------- Sección Inmersiva: El Entorno, Vistas Aéreas y Río La Cruz ---------- */
.river-grid {
  display: grid;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

@media (min-width: 920px) {
  .river-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.river-distances {
  list-style: none;
  padding: 0;
  margin: 22px 0 26px;
  border-top: 1px solid var(--line-light);
}

.river-distances li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.93rem;
}

.river-distances strong {
  font-weight: 600;
  color: var(--ivory);
}

.river-distances span {
  color: var(--sand-gold);
  font-weight: 600;
  font-size: 0.86rem;
  white-space: nowrap;
}

.river-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.river-visual figure {
  margin: 0;
  border-radius: var(--r-md);
  overflow: hidden;
  position: relative;
  background: var(--forest-2);
  border: 1px solid var(--line-light);
}

.river-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.river-visual figcaption {
  padding: 9px 12px;
  font-size: 0.76rem;
  color: var(--ivory-soft);
  background: var(--forest-2);
}

.day-strip {
  margin-top: clamp(40px, 6vw, 68px);
  padding-top: clamp(32px, 4.5vw, 50px);
  border-top: 1px solid var(--line-light);
}

.day-strip__head {
  margin-bottom: 20px;
}

.day-strip__head h3 {
  font-size: clamp(1.32rem, 2.3vw, 1.72rem);
}

.day-cards {
  display: grid;
  gap: 14px;
}

@media (min-width: 820px) {
  .day-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

.day-card {
  padding: 20px 22px;
  border-radius: var(--r-md);
  background: var(--forest-2);
  border: 1px solid var(--line-light);
}

.day-card__num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--sand-gold);
  margin-bottom: 5px;
}

.day-card h4 {
  font-size: 1.18rem;
  margin-bottom: 6px;
}

.day-card p {
  font-size: 0.9rem;
  color: var(--ivory-soft);
  margin: 0;
}

/* ---------- Equipamiento y Condiciones ---------- */
.amenities-grid {
  display: grid;
  gap: clamp(16px, 2.4vw, 24px);
}

@media (min-width: 880px) {
  .amenities-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.amenity-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}

.amenity-box__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.amenity-box__icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--moss-soft);
  color: var(--moss);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.amenity-box--warm .amenity-box__icon {
  background: var(--clay-soft);
  color: var(--clay);
}

.amenity-box__icon svg {
  width: 20px;
  height: 20px;
}

.amenity-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.amenity-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.93rem;
  color: var(--ink-soft);
  line-height: 1.45;
}

.amenity-list li svg {
  width: 17px;
  height: 17px;
  color: var(--moss);
  margin-top: 2px;
  flex: 0 0 auto;
}

.amenity-box--warm .amenity-list li svg {
  color: var(--clay);
}

/* ---------- Galería filtrable (tira horizontal táctil en celular) ---------- */
.gallery-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-filters::-webkit-scrollbar {
  display: none;
}

.filter-btn {
  flex: 0 0 auto;
  padding: 9px 17px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  color: var(--ink-soft);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.filter-btn.is-active {
  background: var(--forest);
  border-color: var(--forest);
  color: var(--ivory);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(10px, 1.5vw, 16px);
}

@media (min-width: 860px) {
  .gallery-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  text-align: left;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--bg-alt);
  cursor: pointer;
  aspect-ratio: 1 / 1;
  box-shadow: var(--shadow-sm);
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 860px) {
  .gallery-item--wide {
    grid-column: span 2;
    aspect-ratio: 2 / 1;
  }
}

.gallery-item[hidden] {
  display: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (hover: hover) {
  .gallery-item:hover img,
  .gallery-item:focus-visible img {
    transform: scale(1.05);
  }
}

.gallery-item__caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 26px 12px 10px;
  background: linear-gradient(180deg, transparent, rgba(16, 24, 19, 0.80));
  color: var(--ivory);
  font-size: 0.78rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.gallery-item__caption span:last-child {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(250, 247, 241, 0.22);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.gallery-item__caption svg {
  width: 13px;
  height: 13px;
}

/* ---------- Reseñas de Google ---------- */
.sec--reviews {
  padding-top: 0;
}

.reviews-summary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.reviews-summary__score {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.reviews-summary__score strong {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1;
  color: var(--ink);
}

.reviews-stars,
.review-card__stars {
  color: var(--clay);
  letter-spacing: 0.08em;
  font-size: 0.92rem;
  line-height: 1;
}

.reviews-summary__meta {
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-soft);
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.reviews-grid {
  display: grid;
  gap: clamp(16px, 2.2vw, 22px);
}

@media (min-width: 880px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.review-card__quote {
  margin: 0;
  flex: 1;
  font-family: var(--font-serif);
  font-size: 1.08rem;
  line-height: 1.5;
  color: var(--ink);
}

.review-card__author {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.review-card__author strong {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
}

.review-card__author span {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.reviews-foot {
  margin-top: clamp(20px, 3vw, 28px);
  display: flex;
  justify-content: flex-start;
}

/* ---------- Cómo Reservar y Preguntas Frecuentes ---------- */
.rates-faq-grid {
  display: grid;
  gap: clamp(26px, 4.5vw, 52px);
  align-items: start;
}

@media (min-width: 960px) {
  .rates-faq-grid {
    grid-template-columns: 1.02fr 0.98fr;
  }
}

.steps-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(22px, 3.5vw, 38px);
  box-shadow: var(--shadow-md);
}

.steps-card__sub {
  color: var(--ink-soft);
  font-size: 0.93rem;
  margin: 10px 0 22px;
}

.booking-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.booking-steps li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.booking-steps__num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--clay-soft);
  color: var(--clay);
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin-top: 2px;
}

.booking-steps h3 {
  font-size: 1.12rem;
  margin-bottom: 3px;
}

.booking-steps p {
  font-size: 0.89rem;
  color: var(--ink-soft);
  margin: 0;
}

.steps-card__foot {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.steps-card__note {
  font-size: 0.8rem;
  color: var(--ink-muted);
  max-width: 40ch;
  margin: 0;
}

.faq-box h3.faq-box__title {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  margin-bottom: 16px;
}

.faq-list {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 4px clamp(16px, 2.5vw, 26px);
  box-shadow: var(--shadow-sm);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-family: var(--font-serif);
  font-size: 1.12rem;
  font-weight: 500;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--clay);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.faq-item[open] .faq-item__icon {
  transform: rotate(45deg);
  background: var(--clay-soft);
}

.faq-item p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  max-width: 54ch;
}

/* ---------- Cómo llegar ---------- */
.location-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
}

@media (min-width: 900px) {
  .location-card {
    grid-template-columns: 0.95fr 1.05fr;
  }
}

.location-map {
  position: relative;
  min-height: 270px;
  background: var(--bg-alt);
}

.location-map img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (min-width: 900px) {
  .location-map img {
    aspect-ratio: auto;
  }
}

.location-map__credit {
  position: absolute;
  right: 10px;
  bottom: 8px;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(252, 251, 248, 0.88);
  color: var(--ink-muted);
  font-size: 0.71rem;
}

.location-info {
  padding: clamp(24px, 4vw, 46px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.distances {
  list-style: none;
  margin: 18px 0 24px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.distances li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.91rem;
}

.distances li span:last-child {
  color: var(--ink-soft);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Banner de cierre ---------- */
.cta-banner {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  color: var(--ivory);
  background: var(--forest);
}

.cta-banner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 31, 24, 0.50), rgba(20, 31, 24, 0.84));
}

.cta-banner__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: clamp(46px, 8vw, 88px) clamp(20px, 4vw, 48px);
  max-width: 620px;
  margin: 0 auto;
}

.cta-banner__inner h2 {
  margin-bottom: 12px;
}

.cta-banner__inner p {
  color: var(--ivory-soft);
  margin-bottom: 24px;
}

/* ---------- Pie de página ---------- */
.site-footer {
  background: var(--forest);
  color: var(--ivory-soft);
  /* Espacio extra abajo para que el botón flotante de WhatsApp no tape el texto legal */
  padding: clamp(44px, 7vw, 72px) 0 calc(96px + env(safe-area-inset-bottom));
  margin-top: clamp(52px, 8vw, 92px);
}

.footer-grid {
  display: grid;
  gap: 28px;
}

@media (min-width: 760px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  line-height: 1.1;
  color: var(--ivory);
  margin-bottom: 10px;
}

.footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sand-gold);
  margin-bottom: 12px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.9rem;
  color: var(--ivory-soft);
  margin: 0 0 8px;
}

.footer-col a:hover {
  color: #FFF;
}

.footer-col > a {
  padding: 5px 0;
  margin-bottom: 3px;
}

.footer-col .footer-phone {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  color: var(--ivory);
  font-weight: 600;
  margin-bottom: 10px;
}

.footer-phone__links {
  display: inline-flex;
  gap: 8px;
}

.footer-col .footer-phone__links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 14px;
  margin: 0;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 500;
}

.footer-col .footer-phone__links a:hover {
  border-color: rgba(250, 247, 241, 0.4);
}

.footer-legal {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--line-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.77rem;
  color: var(--ivory-muted);
}

/* ---------- Botón flotante de WhatsApp ---------- */
.wa-float {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 52px;
  padding: 0 20px;
  border-radius: 999px;
  background: #1F7A4C;
  color: #FFF;
  font-size: 0.87rem;
  font-weight: 600;
  box-shadow: 0 14px 32px -10px rgba(16, 52, 33, 0.6);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  -webkit-tap-highlight-color: transparent;
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.2s ease;
}

.wa-float.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.wa-float:hover {
  background: #18633D;
}

.wa-float svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

/* ---------- Lightbox Modal (<dialog> nativo) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  border: 0;
  background: rgba(12, 18, 14, 0.94);
  color: var(--ivory);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: clamp(14px, 3vw, 26px);
  padding-bottom: calc(clamp(14px, 3vw, 26px) + env(safe-area-inset-bottom));
}

.lightbox::backdrop {
  background: rgba(12, 18, 14, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.lightbox[open] {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.lightbox__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--ivory);
  font-size: 0.86rem;
}

.lightbox__close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 241, 0.22);
  background: rgba(250, 247, 241, 0.12);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__stage {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  margin: 10px 0;
  touch-action: pan-y;
}

.lightbox__stage img {
  max-width: min(1040px, 92vw);
  max-height: 75vh;
  border-radius: var(--r-sm);
  object-fit: contain;
  box-shadow: var(--shadow-lg);
}

.lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(250, 247, 241, 0.24);
  background: rgba(20, 31, 24, 0.72);
  color: #FFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.lightbox__arrow--prev {
  left: 2px;
}

.lightbox__arrow--next {
  right: 2px;
}

.lightbox__arrow svg,
.lightbox__close svg {
  width: 20px;
  height: 20px;
}

.lightbox__caption {
  text-align: center;
  color: var(--ivory-soft);
  font-size: 0.9rem;
}

/* ---------- Animación de aparición suave ----------
   Solo se oculta si hay JS (clase .js en <html>): sin JS el contenido se ve igual. */
.js .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

.js .reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- Ajustes específicos para Celular (< 640px) ---------- */
@media (max-width: 639px) {
  .hero {
    padding-top: 86px;
    padding-bottom: 52px;
  }

  /* En celular las acciones del hero quedan cómodas a ancho completo o 2 en fila */
  .hero__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero__actions .btn {
    padding: 0 12px;
    font-size: 0.84rem;
    min-height: 46px;
  }

  .hero__stats {
    gap: 8px;
    padding-top: 16px;
  }

  .booking-wrap {
    margin-top: -22px;
  }

  .cabin-card__footer {
    flex-direction: column;
    align-items: stretch;
  }

  .cabin-card__footer .btn {
    width: 100%;
  }

  .location-actions {
    flex-direction: column;
  }

  .location-actions .btn {
    width: 100%;
  }

  .wa-float {
    padding: 0 16px;
    height: 48px;
    font-size: 0.83rem;
  }
}

@media (max-width: 380px) {
  .hero__actions {
    grid-template-columns: 1fr;
  }
  .booking-bar__form {
    grid-template-columns: 1fr;
  }
  .booking-bar__submit {
    grid-column: auto;
  }
  .field--full-sm {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
