/* =========================================================
   Casa Adelaida · Hoja de estilos
   Paleta inspirada en la casa real:
   - Verde salvia (carpinterías, galería)
   - Arenisca (sillares y marcos)
   - Piedra gris (mampostería)
   - Crema cálido (fondo papel)
   ========================================================= */

:root {
  /* COLORES */
  --bg:        #F2ECE0;   /* crema cálido · fondo */
  --bg-2:      #E8E0CF;   /* crema más profundo */
  --paper:     #FAF6ED;   /* papel, casi blanco */
  --ink:       #3A3A33;   /* tinta cálida, tono logo */
  --ink-2:     #5A564D;   /* tinta secundaria */
  --muted:     #8C8578;   /* texto auxiliar */
  --line:      #D5CBB6;   /* líneas / bordes */
  --line-2:    #B8AD94;   /* líneas fuertes */

  --moss:      #6B7A5E;   /* verde salvia · carpinterías */
  --moss-dk:   #494F40;   /* verde oscuro · alineado con el logo */
  --moss-lt:   #8A9875;   /* verde claro */
  --sage-soft: #CFD8B8;   /* verde salvia equilibrado · fondo secciones, mantiene legibilidad */
  --sage-soft-2:#B5C19C;  /* verde salvia más profundo (variante) */
  --sand:      #B89870;   /* arenisca · sillares */
  --sand-lt:   #D4B896;   /* arenisca clara */
  --stone:     #8E8680;   /* piedra gris */
  --terra:     #8B5A3C;   /* terracota · detalles cálidos */

  --accent:    var(--moss);
  --accent-2:  var(--sand);

  /* TIPOGRAFÍA */
  --f-display: "Cormorant Garamond", "Lora", Georgia, serif;
  --f-body:    "Inter", system-ui, -apple-system, sans-serif;
  --f-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* ESCALAS */
  --max:       1320px;
  --pad-x:     clamp(20px, 5vw, 56px);
  --rad:       2px;

  /* SOMBRAS Y TRANSICIONES */
  --shadow-sm: 0 6px 20px rgba(58,58,51,.08);
  --shadow:    0 18px 50px rgba(58,58,51,.12);
  --t-fast:    .2s ease;
  --t:         .4s cubic-bezier(.2,.6,.2,1);
}

/* =========================================================
   BASE
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
address { font-style: normal; }
ul { list-style: none; padding: 0; margin: 0; }

/* Eyebrow oculto a petición del cliente (era el "cuadrado verde" con línea + texto LA CASA, DETALLES, etc.).
   Mantenemos el elemento en el DOM por estructura/accesibilidad pero invisible. */
.eyebrow {
  display: none;
}

.section-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  letter-spacing: -.01em;
  color: var(--ink);
  margin: 0 0 24px;
  text-wrap: balance;
}
.section-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--moss);
}

/* =========================================================
   BOTONES
   ========================================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  font-family: var(--f-body);
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  border-radius: var(--rad);
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
  text-align: center;
}
.btn-primary {
  background: var(--moss);
  color: var(--paper);
  border-color: var(--moss);
}
.btn-primary:hover { background: var(--moss-dk); border-color: var(--moss-dk); }
.btn-ghost {
  background: transparent;
  color: var(--paper);
  border-color: rgba(250,246,237,.5);
}
.btn-ghost:hover { border-color: var(--paper); }
.btn-sm  { padding: 12px 22px; font-size: 13px; }
.btn-lg  { padding: 15px 28px; font-size: 12px; }
.btn-block { width: 100%; }

/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  /* Header transparente por defecto (sobre el hero/vídeo) */
  background: transparent;
  /* Pequeño tinte oscuro para que el contenido del header sea siempre legible */
  background-image: linear-gradient(180deg, rgba(58, 58, 51, .45) 0%, rgba(58, 58, 51, 0) 100%);
  transition: background var(--t), background-image var(--t), box-shadow var(--t), padding var(--t);
}
.site-header.scrolled {
  background: #FBF6ED;
  background-image: none;
  box-shadow: 0 1px 0 var(--line);
}
.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 4px var(--pad-x);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--paper);
  transition: color var(--t);
}
.site-header.scrolled .brand { color: var(--ink); }
.brand {
  position: relative;
}
.brand-logo {
  max-height: 200px;
  width: auto;
  display: block;
  transition: opacity var(--t), max-height var(--t);
}
/* Logo más compacto cuando el header está en modo scrolled */
.site-header.scrolled .brand-logo {
  max-height: 150px;
}
/* Logo OSCURO (fondo verde, escritura clara) visible por defecto sobre header verde */
.brand-logo-dark { opacity: 1; }
/* Logo CLARO (fondo crema, escritura oscura) siempre presente pero oculto, superpuesto */
.brand-logo-light {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
}
/* Al hacer scroll a header crema: muestra el claro y oculta el oscuro */
.site-header.scrolled .brand-logo-dark { opacity: 0; }
.site-header.scrolled .brand-logo-light { opacity: 1; }

/* Fallback visual si los logos no cargan */
.brand-fallback { display: none; flex-direction: column; line-height: 1.1; }
.brand.logos-missing .brand-logo { display: none; }
.brand.logos-missing .brand-fallback { display: flex; }
.brand-name { font-family: var(--f-display); font-size: 22px; letter-spacing: .02em; }
.brand-sub { font-size: 9px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; margin-top: 2px; }

.site-nav ul {
  display: flex;
  gap: 28px;
  justify-content: center;
}
.site-nav a {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--paper);
  font-weight: 500;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  padding: 6px 0;
  position: relative;
  transition: color var(--t);
}
.site-header.scrolled .site-nav a { color: var(--ink-2); text-shadow: none; }
.site-nav a:hover { color: var(--moss); }
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: currentColor;
  transition: right var(--t);
}
.site-nav a:hover::after { right: 0; }

.header-tools {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: flex-end;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--f-mono);
  font-size: 14px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .5);
  color: var(--paper);
  opacity: .85;
  transition: color var(--t);
}
.site-header.scrolled .lang-switch { color: var(--ink-2); text-shadow: none; }
.lang-btn {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  opacity: .6;
  padding: 4px 2px;
  transition: opacity var(--t-fast);
}
.lang-btn.active { opacity: 1; color: var(--moss); font-weight: 500; }
.lang-btn:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 34px;
  height: 34px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  align-items: center;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--paper);
  transition: all var(--t-fast);
}
.site-header.scrolled .nav-toggle span { background: var(--ink); }

/* =========================================================
   HERO
   ========================================================= */

.hero {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--pad-x);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
  background:
    linear-gradient(160deg, #494F40 0%, #6B7A5E 40%, #B89870 80%, #D4B896 100%);
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  /* Encuadre pegado al tope para que se vea la lámpara y el techo completos */
  object-position: center top;
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    /* Vela horizontal · arriba más oscura para que el título "Tu desconexión en Cantabria" tenga contraste */
    linear-gradient(180deg, rgba(58,58,51,.55) 0%, rgba(58,58,51,.15) 35%, rgba(58,58,51,.2) 55%, rgba(58,58,51,.8) 100%),
    /* Vela lateral · oscurece el lateral izquierdo donde se asientan título y CTA */
    linear-gradient(90deg, rgba(58,58,51,.65) 0%, rgba(58,58,51,.1) 55%, rgba(58,58,51,0) 100%);
}
/* Texto del título y lede con sombra suave para que se separe del fondo claro */
.hero-title,
.hero-lede {
  text-shadow: 0 2px 18px rgba(0, 0, 0, .55);
}
.hero-eyebrow {
  text-shadow: 0 1px 8px rgba(0, 0, 0, .55);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  /* padding-bottom amplio para no chocar con la franja de capacidad absolute al pie */
  padding: 0 0 clamp(180px, 22vh, 240px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .95;
  margin-bottom: 28px;
  color: var(--paper);
}
.hero-eyebrow .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sand-lt);
}
.hero-title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(42px, 8vw, 96px);
  line-height: .98;
  letter-spacing: -.015em;
  margin: 0 0 28px;
  text-wrap: balance;
}
.hero-title em { font-style: italic; color: var(--sand-lt); font-weight: 400; }
.hero-lede {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.5;
  max-width: 520px;
  opacity: .95;
  margin: 0 0 36px;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.scroll-hint {
  position: absolute;
  left: var(--pad-x);
  bottom: 28px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .3em;
  text-transform: uppercase;
  opacity: .75;
  color: var(--paper);
}
.scroll-hint .line { width: 40px; height: 1px; background: currentColor; }

/* =========================================================
   DATA STRIP
   ========================================================= */

.data-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.data-strip-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 24px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  align-items: center;
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  border-left: 1px solid var(--line);
  padding-left: 20px;
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-num {
  font-family: var(--f-display);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--ink);
  line-height: 1;
}
.stat-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* =========================================================
   SECTIONS
   ========================================================= */

.section { padding: clamp(60px, 10vw, 130px) var(--pad-x); }
.section-inner { max-width: var(--max); margin: 0 auto; }

.two-col {
  display: grid;
  grid-template-columns: 0.7fr 1fr;  /* texto ~40% · foto ~60% */
  gap: clamp(40px, 7vw, 100px);
  align-items: center;
}
/* Reducimos un punto el tamaño del cuerpo de texto para compensar la columna más estrecha */
.two-col .section-body p {
  font-size: 15px;
  line-height: 1.7;
}

.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 80px);
}
.section-note {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  max-width: 460px;
  justify-self: end;
}

.section-body {
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink-2);
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.section-body-p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
  margin: 0 0 28px;
  max-width: 560px;
}

/* Firma anfitriones */
.signature {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.sig-name {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 22px;
  color: var(--moss);
}
.sig-role {
  font-family: var(--f-body);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  border-left: 1px solid var(--line);
  padding-left: 14px;
}

/* =========================================================
   FOTOS (con fallback elegante si el archivo no existe)
   ========================================================= */

.photo {
  position: relative;
  overflow: hidden;
  /* Fallback neutro cálido cuando no carga la imagen: tonos crema-piedra-arenisca,
     sin verde dominante. */
  background:
    linear-gradient(135deg, var(--bg-2) 0%, var(--sand-lt) 50%, var(--line) 100%);
  margin: 0;
}
/* Placeholder discreto: el nombre de la foto que falta, en mono pequeño */
.photo:not(:has(img[src*=".jpg"]))::after,
.photo:not(:has(img[src*=".png"]))::after { content: none; }
.photo::before {
  /* Patrón textura sutil, visible solo cuando no hay foto */
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.06) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(0,0,0,.08) 0%, transparent 50%);
  pointer-events: none;
}
.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
/* Si <img> falla (sin src válido), se oculta y se ve el gradiente */
.photo img[src=""], .photo img:not([src]) { visibility: hidden; }

.photo-tall { aspect-ratio: 3/4; }
.photo-room { aspect-ratio: 4/5; }

/* =========================================================
   HABITACIONES
   ========================================================= */

.rooms-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.room {
  display: flex;
  flex-direction: column;
}
.room .photo-room { margin-bottom: 20px; }
.room-num {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 6px;
  display: inline-block;
}
.room-name {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 6px;
  letter-spacing: -.005em;
}
.room-meta {
  font-family: var(--f-body);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 10px;
}
.room-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0;
  max-width: 280px;
}

/* =========================================================
   FONDOS DE SECCIONES · ritmo visual
   ========================================================= */

/* Fondos alternados entre secciones para diferenciarlas
   sin perder armonía (crema cálido ↔ verde salvia muy suave).
   Las tarjetas internas siguen usando var(--paper) y destacan sobre
   ambos tonos. */
.section-intro      { background: var(--bg); }
.section-booking    { background: var(--sage-soft); }
.section-activities { background: var(--bg); }
.section-contact    { background: var(--sage-soft); }

/* =========================================================
   GALERÍA
   ========================================================= */

.section-gallery { background: var(--bg); }
.gallery-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-auto-rows: 260px;
  gap: 12px;
}
.photo-gal { position: relative; }
.photo-gal.tall { grid-row: span 2; }
.photo-gal.wide { grid-column: span 3; }
.photo-gal figcaption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  z-index: 2;
  color: var(--paper);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 14px;
  text-shadow: 0 1px 10px rgba(0,0,0,.5);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--t), transform var(--t);
}
.photo-gal:hover figcaption { opacity: 1; transform: translateY(0); }

/* =========================================================
   ENTORNO
   ========================================================= */

.section-entorno {
  background: var(--moss-dk);
  color: var(--paper);
}
.section-entorno .eyebrow { color: var(--sand-lt); }
.section-entorno .eyebrow::before { background: var(--sand-lt); }
.section-entorno .section-title { color: var(--paper); }
.section-entorno .section-title em { color: var(--sand-lt); }
.section-entorno .section-note { color: rgba(250,246,237,.75); }

.entorno-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 60px;
}
.entorno-list li {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(250,246,237,.12);
  align-items: center;
}
.entorno-list li .item-num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--sand-lt);
  opacity: .8;
}
.entorno-list li h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 2px;
  color: var(--paper);
}
.entorno-list li p {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(250,246,237,.7);
  margin: 0;
}
.entorno-list li .item-dist {
  font-family: var(--f-display);
  font-style: italic;
  font-size: 20px;
  color: var(--sand-lt);
  white-space: nowrap;
}

/* =========================================================
   RESERVAR
   ========================================================= */

/* (Fondo de section-booking se define en la regla unificada arriba) */
.booking-info {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  padding: 0;
}
.booking-info li {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  align-items: baseline;
}
.booking-info .k { flex: 0 0 140px; }
.booking-info .v { flex: 1 1 220px; min-width: 0; }
.booking-info .k {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}
.booking-info .v { color: var(--ink); font-weight: 400; }
.booking-info .v small { color: var(--muted); font-size: 11px; margin-left: 6px; }
.booking-note {
  font-size: 14px;
  color: var(--ink-2);
  padding: 16px 20px;
  background: var(--paper);
  border-left: 2px solid var(--moss);
}

.booking-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.booking-widget {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 32px 36px;
  box-shadow: none;
}
.widget-placeholder .ph-eyebrow {
  display: inline-block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--sand);
  margin-bottom: 14px;
}
.widget-placeholder h3 {
  font-family: var(--f-display);
  font-size: 26px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.widget-placeholder p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

.booking-fallback {
  background: transparent;
  border: 0;
  padding: 32px 36px;
  box-shadow: none;
  flex: 1;
}
.booking-fallback h3 {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 20px;
  color: var(--ink);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.field { display: block; margin-bottom: 14px; }
.field .lbl {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
/* Sobre fondo verde salvia, los labels en gris-marrón pierden contraste.
   Subimos a tinta oscura para asegurar lectura cómoda. */
.section-booking .field .lbl,
.section-contact .contact-block .cb-lbl {
  color: var(--moss-dk);
  font-weight: 500;
}
.field input, .field select, .field textarea {
  display: block;
  width: 100%;
  padding: 10px 12px;
  font-family: var(--f-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--rad);
  transition: border-color var(--t-fast);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--moss);
}
.field textarea { resize: vertical; min-height: 80px; }
.form-note {
  font-size: 12px;
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.5;
}

/* =========================================================
   CONTACTO
   ========================================================= */

/* (Fondo de section-contact se define en la regla unificada arriba) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.contact-blocks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.contact-block {
  background: var(--paper);
  padding: 28px 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-block .cb-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}
.contact-block .cb-val {
  font-family: var(--f-display);
  font-size: 20px;
  color: var(--ink);
  line-height: 1.35;
  font-weight: 500;
}
.contact-block .cb-val:hover { color: var(--moss); }
.cb-social { display: flex; gap: 28px; flex-wrap: wrap; }
.cb-social a {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-style: italic;
  color: var(--ink);
  transition: color var(--t-fast);
}
.cb-social a:hover { color: var(--moss); }

/* Bloque que ocupa las dos columnas (p.ej. Redes al pie del grid) */
.contact-block-wide { grid-column: 1 / -1; }

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  background: var(--moss-dk);
  color: var(--paper);
  padding: 60px var(--pad-x) 30px;
}
/* La sección Contacto (sage) lleva menos colchón antes del footer */
.section-contact { padding-bottom: clamp(40px, 5vw, 70px); }
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 2fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(250,246,237,.15);
}
.foot-brand .foot-logo {
  max-height: 100px;
  width: auto;
  margin-bottom: 20px;
  /* Logo PNG ya es blanco sobre transparente, sin filtro */
  filter: none;
  opacity: .95;
}
.foot-brand-fallback { display: none; flex-direction: column; line-height: 1.1; margin-bottom: 20px; }
.foot-logo.is-missing { display: none; }
.foot-logo.is-missing + .foot-brand-fallback { display: flex; }
.foot-brand-name { font-family: var(--f-display); font-size: 32px; color: var(--paper); }
.foot-brand-sub { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; color: var(--sand-lt); margin-top: 6px; }
.foot-tag {
  font-size: 14px;
  line-height: 1.7;
  opacity: .75;
  max-width: 320px;
  margin: 0;
}
.foot-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.foot-col h5 {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin: 0 0 18px;
  color: var(--sand-lt);
  font-weight: 500;
}
.foot-col ul, .foot-col address {
  font-size: 13px;
  line-height: 2;
  opacity: .85;
}
.foot-col a:hover { color: var(--sand-lt); }
.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  opacity: .55;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================================================
   RESPONSIVE · TABLET
   ========================================================= */

@media (max-width: 1100px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .site-nav ul { gap: 22px; }
  .site-nav a { font-size: 10px; letter-spacing: .2em; }

  /* Logo en tablet */
  .brand-logo { max-height: 170px; }
  .site-header.scrolled .brand-logo { max-height: 130px; }

  .rooms-grid { grid-template-columns: repeat(2, 1fr); }
  .data-strip-inner { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(n+4) { grid-column: span 1; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }

  .entorno-list { grid-template-columns: 1fr; column-gap: 0; }
  .gallery-mosaic {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 220px;
  }
  .photo-gal.wide { grid-column: span 2; }
}

/* =========================================================
   RESPONSIVE · MÓVIL
   ========================================================= */

@media (max-width: 720px) {
  :root { --pad-x: 20px; }

  /* Logo redimensionado para móvil mediano (sin esta regla heredaba los 180px de desktop) */
  .brand-logo { max-height: 150px; }
  .site-header.scrolled .brand-logo { max-height: 100px; }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--paper);
    border-top: 1px solid var(--line);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all var(--t);
  }
  .site-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow);
  }
  .site-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
  }
  .site-nav a {
    display: block;
    padding: 14px var(--pad-x);
    color: var(--ink);
    border-bottom: 1px solid var(--line);
    font-size: 13px;
  }
  .site-nav a::after { display: none; }
  .site-nav ul li:last-child a { border-bottom: 0; }

  .nav-toggle { display: flex; }
  .header-tools .btn-sm { display: none; }
  .lang-switch { margin-right: 4px; }

  .hero-content { padding-bottom: 260px; }
  .hero-title { font-size: clamp(36px, 11vw, 56px); }
  .hero-lede { font-size: 16px; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .scroll-hint { display: none; }

  .data-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stat { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 12px; }
  .stat:nth-child(-n+2) { border-top: 0; padding-top: 0; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .section-head { grid-template-columns: 1fr; gap: 20px; }
  .section-note { justify-self: start; }

  .rooms-grid { grid-template-columns: 1fr; gap: 28px; }

  .gallery-mosaic { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .photo-gal.tall, .photo-gal.wide { grid-column: span 1; grid-row: span 1; }

  .entorno-list li {
    grid-template-columns: 30px 1fr;
    gap: 12px;
    padding: 18px 0;
  }
  .entorno-list li .item-dist { grid-column: 2; justify-self: start; margin-top: 4px; }

  .booking-info li { flex-direction: column; gap: 2px; padding: 10px 0; }
  .booking-info .k { flex: 0 0 auto; font-family: var(--f-mono); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
  .booking-info .v { flex: 1 1 auto; font-size: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .booking-widget, .booking-fallback { padding: 24px; }
  .booking-fallback input, .booking-fallback select, .booking-fallback textarea { font-size: 16px; }
  /* En móvil: formulario primero, condiciones después, para que el CTA esté arriba */
  .section-booking .two-col { gap: 32px; }
  .section-booking .col-media { order: -1; }

  .contact-blocks { grid-template-columns: 1fr; }

  .foot-cols { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .header-inner { gap: 14px; }
  .brand-logo { max-height: 120px; }
  .site-header.scrolled .brand-logo { max-height: 85px; }
  .lang-switch { font-size: 10px; }
}

/* =========================================================
   TARIFAS (tarjetas dentro de sección Reservar)
   ========================================================= */

.section-booking .two-col { align-items: stretch; }
.section-booking .booking-head { margin-bottom: 48px; }

/* Reduce el hueco entre el título "Tarifas y reservas." y el formulario
   (sin eyebrow, el section-head deja demasiado espacio vacío) */
.section-booking .section-head {
  margin-bottom: clamp(20px, 2.5vw, 36px);
}
.section-booking { padding-top: clamp(50px, 7vw, 90px); }
.section-booking .col-text {
  display: flex;
  flex-direction: column;
}
.section-booking .col-text .booking-note {
  margin-top: auto;
}

.tariffs {
  display: grid;
  gap: 16px;
  margin: 28px 0 36px;
}
.tariffs.tariffs-3col {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 0 0 48px;
}
.tariff {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 22px 24px;
  border-left: 3px solid var(--moss);
}
.tariff header {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.tariff-season {
  font-family: var(--f-display);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1.1;
}
.tariff-months {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tariff ul {
  display: flex;
  flex-direction: column;
  gap: 4px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.tariff ul li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
  padding: 8px 0;
  font-size: 14px;
  border-bottom: 1px dashed var(--line);
}
.tariff ul li:last-child { border-bottom: 0; }
.tariff ul .k {
  font-family: var(--f-body);
  font-size: 13px;
  color: var(--ink-2);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
  flex: 1 1 auto;
  padding-right: 12px;
}
.tariff ul .v {
  font-family: var(--f-display);
  font-size: 17px;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
  white-space: nowrap;
  flex: 0 0 auto;
}
.tariff ul .v small {
  font-family: var(--f-body);
  font-size: 11px;
  color: var(--muted);
  font-weight: 400;
  margin-left: 6px;
  white-space: normal;
}

/* Pequeña "+" sobre la superficie (300+ m²) */
.stat-num small {
  font-size: .55em;
  vertical-align: top;
  color: var(--moss);
}

/* Párrafo extra en sección Entorno */
.entorno-extra {
  margin-top: 40px;
  padding: 22px 26px;
  background: rgba(250, 246, 237, .05);
  border-left: 2px solid var(--sand-lt);
  font-size: 14px;
  line-height: 1.75;
  color: rgba(250, 246, 237, .8);
  max-width: 920px;
}
.entorno-extra em { color: var(--sand-lt); font-style: italic; }

/* Mapa en sección Contacto */
.map-wrap {
  margin-top: clamp(40px, 6vw, 60px);
  border: 1px solid var(--line);
  background: var(--bg-2);
  aspect-ratio: 21 / 9;
  overflow: hidden;
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* Responsive tarifas */
@media (max-width: 960px) {
  .tariffs.tariffs-3col { grid-template-columns: 1fr; gap: 16px; }
}
@media (max-width: 720px) {
  .tariff { padding: 18px 18px; }
  .tariff header { flex-direction: column; gap: 2px; align-items: flex-start; }
  .tariff-season { font-size: 20px; }
  .map-wrap { aspect-ratio: 4 / 5; }
}

/* =========================================================
   SECCIÓN · EQUIPAMIENTO
   ========================================================= */

.section-equipment {
  background: var(--bg-2);
}
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.equip-card {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  text-align: left;
  transition: transform var(--t), box-shadow var(--t), border-color var(--t);
}
.equip-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--moss);
}
.equip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(91, 110, 89, .1);
  color: var(--moss-dk);
  margin-bottom: 16px;
  border-radius: 0;
}
.equip-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.equip-card h4 {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 8px;
  line-height: 1.2;
}
.equip-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0;
}

@media (max-width: 1100px) {
  .equipment-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .equipment-grid { grid-template-columns: 1fr; gap: 16px; }
  .equip-card { padding: 22px 20px; }
}

/* =========================================================
   AVISO DE FORMALIZACIÓN (pago 30%)
   ========================================================= */

.booking-warning {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0;
  padding: 14px 18px;
  background: rgba(139, 90, 60, .07);
  border-left: 3px solid var(--terra);
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink);
}
.booking-warning .bw-icon {
  flex-shrink: 0;
  display: inline-flex;
  color: #5C3D29;
  margin-top: 1px;
}
.booking-warning .bw-icon svg {
  width: 18px;
  height: 18px;
  stroke-width: 1.8;
}
.booking-warning p {
  margin: 0;
}
.booking-warning strong { color: #5C3D29; }

/* =========================================================
   AVISO DE RESPONSABILIDAD (booking)
   ========================================================= */

.booking-disclaimer {
  margin-top: 36px;
  padding: 20px 24px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .02);
  font-size: 12px;
  line-height: 1.65;
  color: var(--ink-2);
}
.booking-disclaimer .bd-label {
  display: block;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.booking-disclaimer p { margin: 0; }

/* =========================================================
   SECCIÓN · LA CARTA DE ADELAIDA
   ========================================================= */

.section-letter {
  background: var(--paper);
}
.letter-grid {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.photo-portrait {
  aspect-ratio: 4 / 5;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-dk) 100%);
  position: relative;
  overflow: hidden;
}
.photo-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.letter-text .section-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.letter-body {
  font-family: var(--f-display);
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 540px;
}
.letter-body p {
  margin: 0 0 18px;
}
.letter-body em { font-style: italic; }
.letter-closing {
  margin-top: 24px !important;
  color: var(--ink);
}
.letter-signature {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.letter-signature .sig-name {
  font-family: var(--f-display);
  font-size: 28px;
  font-style: italic;
  color: var(--ink);
}
.letter-signature .sig-role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

@media (max-width: 900px) {
  .letter-grid { grid-template-columns: 1fr; gap: 40px; }
  .photo-portrait { aspect-ratio: 3 / 4; max-width: 380px; }
  .letter-body { font-size: 16px; }
}

/* =========================================================
   CORRECCIONES CLIENTE · ELEMENTOS DESTACADOS
   ========================================================= */

/* Párrafo destacado (accesibilidad / sin barreras) */
.section-body p.highlight {
  background: rgba(91, 110, 89, .08);
  border-left: 3px solid var(--moss);
  padding: 14px 18px;
  margin: 14px 0;
}
.section-body p.highlight strong { color: var(--moss-dk); }

/* Stat con valor textual largo (data strip) */
.stat-num.stat-num-sm {
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: 0;
}

/* Enlace "Cómo llegar" debajo del mapa */
.map-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--moss-dk);
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color var(--t), gap var(--t);
}
.map-cta:hover { color: var(--moss); gap: 12px; }
.map-cta span { font-family: var(--f-body); font-size: 14px; }

/* =========================================================
   CALCULADORA DE PRECIO + CALENDARIO FLATPICKR
   ========================================================= */

.price-summary {
  margin: 18px 0 4px;
  padding: 18px 22px;
  background: var(--moss-dk);
  color: var(--paper);
  border: 1px solid var(--moss-dk);
  font-size: 14px;
}
.price-summary[hidden] { display: none; }
.ps-title {
  font-family: var(--f-display);
  font-size: 20px;
  font-weight: 500;
  margin: 0 0 4px;
  color: var(--paper);
}
.ps-nights {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(250, 246, 237, .7);
  margin: 0 0 14px;
}
.ps-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid rgba(250, 246, 237, .15);
}
.ps-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(250, 246, 237, .15);
  gap: 12px;
}
.ps-list li:last-child { border-bottom: 0; }
.ps-list li > span:last-child {
  font-family: var(--f-display);
  font-weight: 500;
  white-space: nowrap;
}
.ps-list .ps-subtotal { padding-top: 14px; border-top: 1px solid rgba(250, 246, 237, .25); }
.ps-list .ps-deposit small {
  display: block;
  font-family: var(--f-body);
  font-size: 11px;
  font-weight: 400;
  color: rgba(250, 246, 237, .6);
  margin-top: 2px;
}
.ps-list .ps-total {
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(250, 246, 237, .35);
  font-size: 16px;
}
.ps-list .ps-total > span:last-child {
  font-size: 22px;
  color: var(--sand-lt);
}
.ps-warning {
  margin: 10px 0 0;
  font-size: 12px;
  color: #ffd9b3;
  font-style: italic;
}
.ps-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(250, 246, 237, .6);
  line-height: 1.5;
}

/* Flatpickr · días reservados/no disponibles en rojo */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
  background: rgba(200, 60, 60, 0.12);
  color: rgba(200, 60, 60, 0.7);
  text-decoration: line-through;
  cursor: not-allowed;
}
.flatpickr-day.selected,
.flatpickr-day.selected:hover {
  background: var(--moss);
  border-color: var(--moss);
  color: var(--paper);
}
.flatpickr-day.today {
  border-color: var(--moss);
}

/* Inputs del calendario */
.booking-fallback input[type="text"][readonly] {
  cursor: pointer;
  background: var(--paper);
}
.booking-fallback input[type="text"][readonly]:focus {
  border-color: var(--moss);
  outline: none;
}

/* =========================================================
   PÁGINAS LEGALES (aviso, privacidad, cookies)
   ========================================================= */

.page-legal { background: var(--paper); }
.legal-page {
  padding: 140px var(--pad-x) 80px;
  background: var(--paper);
}
.legal-inner {
  max-width: 880px;
  margin: 0 auto;
}
.legal-page .eyebrow { margin-bottom: 12px; }
.legal-page h1 {
  font-family: var(--f-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.05;
}
.legal-page .legal-updated {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 56px;
}
.legal-page section { margin-bottom: 36px; }
.legal-page h2 {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.4vw, 26px);
  color: var(--ink);
  margin: 0 0 12px;
  line-height: 1.2;
  font-weight: 500;
}
.legal-page p,
.legal-page li {
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
}
.legal-page p { margin: 0 0 14px; }
.legal-page ul {
  padding-left: 22px;
  margin: 0 0 14px;
}
.legal-page ul li { margin-bottom: 8px; }
.legal-page strong { color: var(--ink); font-weight: 500; }
.legal-page em { color: var(--muted); font-style: italic; }
.legal-page a { color: var(--moss-dk); text-decoration: underline; text-underline-offset: 3px; }
.legal-page a:hover { color: var(--moss); }

.legal-data {
  background: var(--bg);
  padding: 18px 22px;
  border-left: 3px solid var(--moss);
  margin: 14px 0 18px;
}
.legal-data p {
  margin: 0 0 6px;
  font-size: 14px;
}
.legal-data p:last-child { margin-bottom: 0; }
.legal-data a { color: var(--moss-dk); }

.legal-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 60px;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--moss-dk);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
  transition: color var(--t), gap var(--t);
}
.legal-back:hover {
  color: var(--moss);
  gap: 14px;
}

@media (max-width: 720px) {
  .legal-page { padding: 110px var(--pad-x) 60px; }
  .legal-page h1 { font-size: clamp(30px, 9vw, 44px); }
  .legal-data { padding: 14px 18px; }
}

/* =========================================================
   RITMO VISUAL · datos, separadores, iconos, grupos
   ========================================================= */

/* Primer párrafo destacado (intro de cada sección larga) */
.casa-intro-prose .lead {
  font-family: var(--f-display);
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.45;
  color: var(--ink);
  font-weight: 400;
}

/* Franja de datos clave (dentro de LA CASA, no como sección aparte) */
.key-facts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 56px auto;
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1100px;
}
.kf-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 16px;
  border-left: 1px solid var(--line);
}
.kf-item:first-child { border-left: 0; }
.kf-num {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 8px;
}
.kf-num.kf-num-sm { font-size: clamp(18px, 2.2vw, 26px); }
.kf-num small {
  font-size: 0.6em;
  vertical-align: super;
  color: var(--moss);
}
.kf-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Separador decorativo entre subsecciones */
.section-divider {
  display: flex;
  justify-content: center;
  margin: 72px auto;
  max-width: 1100px;
}
.section-divider span {
  display: block;
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--line-2) 50%, transparent 100%);
}

/* Encabezado de subsección con eyebrow */
.subsection-head {
  text-align: center;
  margin-bottom: 36px;
}
/* Eyebrow oculto también en subsecciones (Detalles · Equipamiento · Galería).
   Dejamos solo el título a petición del cliente. */
.subsection-head .eyebrow {
  display: none;
}
.subsection-head .casa-subtitle {
  text-align: center;
  margin: 0;
}

/* Grid de "¿Qué encontrarás?" con iconos · disposición horizontal (icono al lado) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: none;
  margin: 0 auto;
}
.features-grid-h {
  grid-template-columns: repeat(3, 1fr);
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 24px;
  background: var(--moss);
  border: 1px solid var(--moss);
  color: var(--paper);
  transition: transform var(--t), background var(--t), border-color var(--t), box-shadow var(--t);
}
.feature.feature-h {
  flex-direction: row;
  align-items: center;
  gap: 18px;
}
.feature:hover {
  transform: translateY(-2px);
  background: var(--moss-dk);
  border-color: var(--moss-dk);
  box-shadow: var(--shadow);
}
.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(250, 246, 237, .15);
  color: var(--paper);
  flex-shrink: 0;
}
.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}
.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--paper);
}

/* Equipamiento agrupado en tarjetas categorizadas */
.equip-groups {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: none;
  margin: 0 auto;
}
.equip-groups.equip-groups-3col { grid-template-columns: repeat(3, 1fr); }
.equip-group {
  padding: 28px 26px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.equip-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: var(--moss);
  color: var(--paper);
  margin-bottom: 14px;
}
.equip-group-icon svg { width: 20px; height: 20px; stroke-width: 1.5; }
.equip-group-title {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 14px;
  line-height: 1.2;
}
.equip-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.equip-group li {
  padding: 6px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
  position: relative;
  padding-left: 14px;
}
.equip-group li:last-child { border-bottom: 0; }
.equip-group li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 700;
}

/* ACTIVIDADES · sección ensanchada para aprovechar laterales de pantallas grandes */
.section-activities > .section-inner {
  max-width: min(1700px, 94vw);
}

/* Grid 3-columnas para repartir horizontalmente y evitar scroll vertical largo.
   El tema "Cultura" (más extenso) ocupa 2 columnas y su prosa fluye en 2 sub-columnas.
   margin-top da aire respecto al banner verde superior. */
.activities-themes {
  max-width: none;
  margin: clamp(64px, 8vw, 100px) auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.activities-themes .theme {
  padding: 36px 36px;
}
.activities-themes .theme:first-child {
  grid-column: span 2;
}
.activities-themes .theme:first-child .theme-body {
  columns: 2;
  column-gap: 40px;
  column-rule: 1px solid var(--line);
}
.activities-themes .theme:first-child .theme-body p {
  break-inside: avoid;
}

/* (Bloque .activities-closing eliminado: la frase se movió al banner verde
   y "Cantabria infinita." ya estaba en el title del banner) */
.theme {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 22px;
  align-items: start;
  padding: 28px 28px;
  background: var(--paper);
  border: 1px solid var(--line);
}
.theme-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: 4px;
}
.theme-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  background: var(--moss);
  color: var(--paper);
  border-radius: 50%;
}
.theme-icon svg { width: 24px; height: 24px; stroke-width: 1.5; }
.theme-head .activities-subtitle {
  font-family: var(--f-display);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
  color: var(--ink);
  margin: 0;
  text-align: center;
  max-width: 120px;
  line-height: 1.15;
}
.theme-head .activities-subtitle em {
  font-style: italic;
  color: var(--moss);
}
.theme-body p {
  margin: 0 0 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-2);
}
.theme-body p:last-child { margin-bottom: 0; }
.theme-body strong { color: var(--ink); font-weight: 500; }

/* Cantabria infinita · cierre destacado */
.cantabria-infinita {
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(36px, 4.6vw, 56px);
  font-style: italic;
  color: var(--moss-dk);
  margin: 80px 0 60px;
}
.cantabria-infinita em { font-style: italic; }

/* Actividades dentro de la casa */
.activities-inside { text-align: center; }
.activities-inside-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--moss);
  color: var(--paper);
  margin: 0 auto 16px;
  border-radius: 50%;
}
.activities-inside-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.activities-inside .activities-subtitle {
  text-align: center;
  margin: 0 0 16px;
}
.activities-inside p {
  text-align: left;
  max-width: 640px;
  margin: 0 auto 14px;
}

/* Galería 3×2 · 6 fotos grandes y protagonistas */
.gallery-dense {
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: clamp(220px, 26vw, 340px);
  gap: 14px;
}
.gallery-dense .photo-gal.tall { grid-row: span 1; }
.gallery-dense .photo-gal.wide { grid-column: span 1; }
/* Captions siempre visibles, no solo en hover, ahora que cada foto es protagonista */
.gallery-dense .photo-gal figcaption {
  opacity: 1;
  transform: none;
  font-size: clamp(18px, 1.6vw, 22px);
  letter-spacing: .01em;
  font-weight: 500;
  font-style: italic;
  bottom: 22px;
  left: 24px;
  right: 24px;
  /* Sombra doble: una corta dura y otra larga blanda para que destaque
     sobre cualquier zona de foto (clara u oscura) */
  text-shadow:
    0 1px 2px rgba(0, 0, 0, .85),
    0 4px 18px rgba(0, 0, 0, .65);
}
/* Tinta sutil en el tercio inferior de la foto para hacer base al caption */
.gallery-dense .photo-gal::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 45%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .55) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Enlace "Ver todas las fotos" debajo de la galería */
.gallery-more {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: clamp(28px, 4vw, 44px) auto 0;
  padding: 14px 28px;
  background: transparent;
  border: 1px solid var(--moss);
  color: var(--moss-dk);
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 500;
  letter-spacing: .005em;
  text-decoration: none;
  transition: background var(--t), color var(--t), border-color var(--t), gap var(--t), transform var(--t);
  /* Que el enlace ocupe su línea propia, centrado */
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}
.gallery-more .gm-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--moss);
  transition: color var(--t);
}
.gallery-more .gm-icon svg { width: 22px; height: 22px; stroke-width: 1.5; }
.gallery-more .gm-arrow {
  font-family: var(--f-body);
  font-style: normal;
  font-weight: 400;
  font-size: 18px;
  line-height: 1;
  transition: transform var(--t);
}
.gallery-more:hover {
  background: var(--moss);
  color: var(--paper);
  border-color: var(--moss);
  gap: 18px;
}
.gallery-more:hover .gm-icon { color: var(--paper); }
.gallery-more:hover .gm-arrow { transform: translateX(3px); }
.gallery-note {
  text-align: center;
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 18px 0 0;
}

/* Activities hero full bleed */
.activities-hero-full {
  width: 100%;
  border-radius: 0;
}

/* Responsive de los nuevos elementos */
@media (max-width: 1100px) {
  .gallery-dense { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .booking-prose { columns: 2; }
}
@media (max-width: 1100px) {
  .activities-themes { grid-template-columns: repeat(2, 1fr); }
  .activities-themes .theme:first-child { grid-column: 1 / -1; }
}
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .equip-groups,
  .equip-groups.equip-groups-3col { grid-template-columns: repeat(2, 1fr); }
  .key-facts { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .kf-item:nth-child(4) { border-left: 0; }
  .activities-themes .theme:first-child .theme-body { columns: 1; column-rule: none; }
  .booking-prose { columns: 2; }
}
@media (max-width: 720px) {
  .features-grid,
  .equip-groups,
  .equip-groups.equip-groups-3col { grid-template-columns: 1fr; }
  .gallery-dense { grid-template-columns: 1fr; grid-auto-rows: 240px; gap: 12px; }
  .key-facts { grid-template-columns: repeat(2, 1fr); padding: 24px 0; }
  .kf-item { padding: 12px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .kf-item:nth-child(-n+2) { border-top: 0; }
  .theme { grid-template-columns: 1fr; gap: 16px; padding: 24px 22px; }
  .theme-head { flex-direction: row; justify-content: flex-start; }
  .theme-head .activities-subtitle { text-align: left; max-width: none; }
  .section-divider { margin: 48px auto; }
  .activities-hero-full { aspect-ratio: 4 / 5; }
  .feature.feature-h { flex-direction: column; gap: 12px; }

  /* Tarifas: prosa de condiciones a 1 columna (en 2-3 cols era ilegible) */
  .booking-prose { columns: 1; column-rule: none; column-gap: 0; }
  .booking-prose h4:not(:first-child) { margin-top: 20px; }

  /* Activities-themes: el primer tema (cultura) sigue a 1 columna y sin sub-columnas */
  .activities-themes { grid-template-columns: 1fr; gap: 18px; }
  .activities-themes .theme:first-child { grid-column: auto; }
  .activities-themes .theme:first-child .theme-body { columns: 1; column-rule: none; }

  /* Banner verde de actividades: aspect más cuadrado y tipografía más manejable */
  .activities-hero .ah-title { font-size: clamp(30px, 9vw, 44px); }
  .activities-hero .ah-sub { font-size: 14px; line-height: 1.45; padding: 0 8px; }
  .activities-hero .ah-eyebrow { font-size: 10px; margin-bottom: 10px; }

  /* Tarjetas con menos padding interno en móvil */
  .feature, .equip-group { padding: 20px 20px; }

  /* Actividades dentro de la casa: margen y padding ajustados */
  .activities-inside { padding: 24px 22px; margin-top: 40px; }
  .activities-inside .activities-subtitle { font-size: 24px; margin: 28px 0 12px; }

  /* Section padding vertical reducido en móvil para que no se sienta vacío */
  .section { padding: clamp(50px, 12vw, 80px) var(--pad-x); }
}

/* =========================================================
   REESTRUCTURACIÓN · NUEVAS SECCIONES (4 apartados)
   ========================================================= */

/* --- Foto grande de apertura: full bleed (ancho de viewport) --- */
.casa-hero-photo,
.activities-hero {
  position: relative;
  margin: 0 0 56px;
  overflow: hidden;
  aspect-ratio: 21 / 7;
  background: linear-gradient(135deg, var(--moss) 0%, var(--moss-dk) 100%);
}
.activities-hero-full {
  margin: 0 0 0;
  aspect-ratio: 24 / 7;
}
.casa-hero-photo img,
.casa-hero-photo video,
.activities-hero img,
.activities-hero video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* El <img> de fallback dentro del <video> también ocupa todo el contenedor */
.activities-hero-video img,
.casa-hero-photo video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.casa-hero-photo figcaption,
.activities-hero figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--paper);
  padding: 24px;
  background: linear-gradient(180deg, rgba(58,58,51,.3) 0%, rgba(58,58,51,.6) 100%);
  font-family: var(--f-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 500;
  line-height: 1.1;
}
.casa-hero-photo figcaption em,
.activities-hero figcaption em {
  font-style: italic;
  color: var(--sand-lt);
}

/* Etiquetas dentro de la portada de Actividades */
.activities-hero .ah-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--sand-lt);
  margin-bottom: 16px;
  font-weight: 400;
}
.activities-hero .ah-title {
  font-family: var(--f-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1;
  margin-bottom: 18px;
}
.activities-hero .ah-sub {
  font-family: var(--f-display);
  font-style: italic;
  font-size: clamp(15px, 1.5vw, 19px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: 1.5;
  color: rgba(250,246,237,.92);
  max-width: 820px;
}

/* Texto del body más ancho · ahora hasta 1100px para aprovechar laterales */
.section-body-wide {
  max-width: 1100px;
  margin: 0 auto;
}
.section-body-wide p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink-2);
}
.section-body-wide p strong { color: var(--ink); font-weight: 500; }

/* Subsecciones dentro de LA CASA: ahora a ancho completo para aprovechar laterales */
.casa-subsection {
  max-width: var(--max);
  margin: 60px auto 0;
}
.casa-gallery-wrap { max-width: var(--max); }
.casa-subtitle {
  font-family: var(--f-display);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  font-style: italic;
  color: var(--ink);
  margin: 0 0 22px;
  line-height: 1.2;
  letter-spacing: .005em;
}
.casa-features-list,
.casa-equip-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.casa-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.casa-features-list li:last-child { border-bottom: 0; }
.casa-features-list .cf-bullet {
  color: var(--moss);
  font-weight: 600;
  flex-shrink: 0;
  font-size: 20px;
  line-height: 1;
  margin-top: 4px;
}
.casa-equip-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 32px;
}
.casa-equip-list li {
  padding: 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
  border-bottom: 1px dashed var(--line);
  position: relative;
  padding-left: 16px;
}
.casa-equip-list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--moss);
  font-weight: 700;
}

/* --- TARIFAS Y RESERVAS: layout 60/40 --- */
.booking-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(32px, 4vw, 56px);
  margin-bottom: 56px;
}
.booking-left { min-width: 0; }
.booking-right {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  /* Si la card queda más alta que el contenido (por el grid stretch),
     centramos verticalmente el contenido para que el espacio sobrante
     se reparta arriba y abajo de forma equilibrada */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Retratos en la carta de Adelaida */
.letter-portraits {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  margin: 0 0 24px;
}
.letter-portraits img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  background: linear-gradient(135deg, var(--bg-2) 0%, var(--sand-lt) 50%, var(--line) 100%);
}
.letter-portraits .letter-photo-nela {
  aspect-ratio: 1 / 1;
  align-self: end;
}

/* Texto de la carta dentro de la columna derecha */
.letter-text-inline .eyebrow { margin-bottom: 8px; }
.letter-title {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 20px;
  line-height: 1.1;
}
.letter-title em { font-style: italic; color: var(--moss); }
.letter-text-inline .letter-body p {
  font-family: var(--f-display);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink-2);
  margin: 0 0 14px;
}
.letter-text-inline .letter-closing { margin-top: 18px !important; color: var(--ink); }
.letter-text-inline .letter-signature {
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.letter-text-inline .letter-signature .sig-name {
  font-family: var(--f-display);
  font-size: 24px;
  font-style: italic;
  color: var(--ink);
}
.letter-text-inline .letter-signature .sig-role {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--muted);
}

.tariffs-note {
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(22px, 2.6vw, 30px);
  font-style: italic;
  letter-spacing: .005em;
  text-transform: none;
  color: var(--moss-dk);
  font-weight: 500;
  margin: 16px 0 56px;
}

/* Prosa de condiciones · 3 columnas en pantallas anchas para que el texto
   se reparta horizontalmente y no se vuelva una columna larguísima */
.booking-prose {
  max-width: none;
  margin: 0 auto;
  padding: 0;
  columns: 3;
  column-gap: 40px;
  column-rule: 1px solid var(--line);
}
.booking-prose > * { break-inside: avoid; }
.booking-prose h4 {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: 0 0 6px;
  line-height: 1.2;
  break-after: avoid;
}
.booking-prose h4:not(:first-child) { margin-top: 22px; }
.booking-prose p {
  margin: 0 0 10px;
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink-2);
}
.booking-prose strong { color: var(--ink); font-weight: 500; }

/* ACTIVIDADES · subsecciones */
.activities-subtitle {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--ink);
  margin: 36px 0 12px;
  line-height: 1.2;
}
.cantabria-infinita {
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 40px);
  font-style: italic;
  color: var(--moss-dk);
  margin: 40px 0 0;
}
.activities-inside {
  max-width: 760px;
  margin: 60px auto 0;
  padding: 40px 44px;
  background: var(--paper);
  border-left: 3px solid var(--moss);
  text-align: center;
}
.activities-inside p {
  margin: 0 0 14px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink-2);
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.activities-inside p:last-child { margin-bottom: 0; }

/* Responsive · booking 60/40 y otros */
@media (max-width: 960px) {
  .booking-grid { grid-template-columns: 1fr; }
  .casa-equip-list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .casa-hero-photo,
  .activities-hero { aspect-ratio: 4 / 5; }
  .activities-inside { padding: 24px 22px; }
  .letter-portraits { grid-template-columns: 1fr 1fr; }
}

/* =========================================================
   ACTIVIDADES · Párrafo intro "privilegiada ubicación" tras banner
   ========================================================= */
.activities-intro {
  max-width: 980px;
  margin: clamp(48px, 6vw, 80px) auto clamp(40px, 5vw, 64px);
  text-align: center;
}
.activities-intro .lead {
  font-family: var(--f-display);
  font-size: clamp(20px, 2vw, 26px);
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
}
.activities-intro .lead strong {
  color: var(--ink);
  font-weight: 500;
  font-style: normal;
}

/* (Sección DIVULGACIÓN eliminada del HTML; sus estilos también, para mantener el CSS limpio) */

/* =========================================================
   FRANJA DE ICONOS · capacidad (LA CASA) y camas (TARIFAS)
   ========================================================= */
.capacity-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  max-width: 1100px;
}
.capacity-strip.beds-strip {
  grid-template-columns: repeat(4, 1fr);
  margin: 24px 0;
  padding: 20px 0;
}
.cap-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border-left: 1px solid var(--line);
  text-align: center;
}
.cap-item:first-child { border-left: 0; }
.cap-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: var(--moss-dk);
  margin-bottom: 2px;
}
.cap-icon svg { width: 26px; height: 26px; stroke-width: 1.5; }
.cap-num {
  font-family: var(--f-display);
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.cap-lbl {
  font-family: var(--f-mono);
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.3;
}
.beds-strip .cap-icon { width: 30px; height: 30px; }
.beds-strip .cap-icon svg { width: 22px; height: 22px; }
.beds-strip .cap-num { font-size: clamp(20px, 2vw, 26px); }

@media (max-width: 960px) {
  .capacity-strip { grid-template-columns: repeat(3, 1fr); gap: 24px 0; }
  .cap-item:nth-child(4) { border-left: 0; }
  .capacity-strip.beds-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .capacity-strip.beds-strip .cap-item:nth-child(3) { border-left: 0; }
}
@media (max-width: 540px) {
  .capacity-strip,
  .capacity-strip.beds-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 18px 0;
  }
  .cap-item { padding: 10px 12px; border-left: 0; border-top: 1px solid var(--line); }
  .cap-item:nth-child(-n+2) { border-top: 0; }
}

/* Variante HERO · banda full-width pegada al borde inferior del hero */
.hero-capacity-band {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  padding: clamp(20px, 2.4vw, 32px) var(--pad-x);
  background: linear-gradient(180deg, rgba(58, 58, 51, 0) 0%, rgba(58, 58, 51, .45) 100%);
}
.hero-capacity {
  margin: 0 auto;
  padding: 0;
  border: 0;
  max-width: 1180px;
  width: 100%;
}
.hero-capacity .cap-item {
  border-left: 1px solid rgba(250, 246, 237, .2);
  padding: 0 18px;
  gap: 10px;
}
.hero-capacity .cap-item:first-child { border-left: 0; }
.hero-capacity .cap-icon {
  color: var(--paper);
  opacity: .95;
  width: 38px;
  height: 38px;
}
.hero-capacity .cap-icon svg {
  width: 32px;
  height: 32px;
  stroke-width: 1.4;
}
.hero-capacity .cap-num {
  color: var(--paper);
  font-size: clamp(28px, 3.2vw, 40px);
  font-weight: 500;
}
.hero-capacity .cap-lbl {
  color: rgba(250, 246, 237, .85);
  font-size: 10.5px;
  letter-spacing: .22em;
  font-weight: 500;
}

/* El scroll-hint queda eclipsado por la banda, lo ocultamos cuando coexisten */
.hero:has(.hero-capacity-band) .scroll-hint { display: none; }

@media (max-width: 960px) {
  .hero-capacity { max-width: 100%; }
  .hero-capacity .cap-item { padding: 0 10px; }
  .hero-capacity .cap-icon { width: 32px; height: 32px; }
  .hero-capacity .cap-icon svg { width: 26px; height: 26px; }
}
@media (max-width: 720px) {
  /* En móvil/tablet la franja sale del absolute y va en flow normal
     para que NO solape el botón "Descubrir la casa" */
  .hero { height: auto; min-height: 100vh; justify-content: flex-start; }
  .hero-capacity-band {
    position: relative;
    bottom: auto;
    left: auto; right: auto;
    padding: 18px var(--pad-x) 22px;
    background-image: linear-gradient(180deg, rgba(58, 58, 51, 0) 0%, rgba(58, 58, 51, .55) 100%);
  }
  /* Reserva espacio en la parte superior para que el eyebrow + título
     no queden tapados por el header fijo. Y reduce el espacio inferior */
  .hero-content {
    padding-top: clamp(150px, 22vh, 200px);
    padding-bottom: 28px;
  }
  /* Tinte del header un punto más visible en móvil sobre la foto */
  .site-header {
    background-image: linear-gradient(180deg, rgba(58, 58, 51, .7) 0%, rgba(58, 58, 51, .25) 80%, rgba(58, 58, 51, 0) 100%);
  }
}
@media (max-width: 540px) {
  .hero-capacity-band { padding: 14px var(--pad-x) 18px; }
  .hero-capacity {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px 0;
  }
  .hero-capacity .cap-item {
    border-left: 0;
    border-top: 1px solid rgba(250, 246, 237, .14);
    padding: 6px 6px;
    gap: 4px;
  }
  .hero-capacity .cap-item:nth-child(-n+2) { border-top: 0; }
  .hero-capacity .cap-icon { width: 24px; height: 24px; }
  .hero-capacity .cap-icon svg { width: 20px; height: 20px; }
  .hero-capacity .cap-num { font-size: 20px; }
  .hero-capacity .cap-lbl { font-size: 8.5px; letter-spacing: .15em; }
}

/* =========================================================
   LIGHTBOX DE GALERÍA · vanilla
   ========================================================= */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 22, 18, .95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 70px 80px;
  opacity: 0;
  transition: opacity .25s ease;
}
.lightbox.open { display: flex; opacity: 1; }
.lb-figure {
  margin: 0;
  max-width: 100%;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.lb-img {
  max-width: 100%;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .5);
}
.lb-caption {
  color: var(--paper);
  font-family: var(--f-display);
  font-style: italic;
  font-size: 18px;
  text-align: center;
  margin: 0;
}
.lb-close,
.lb-prev,
.lb-next {
  position: fixed;
  background: rgba(250, 246, 237, .1);
  color: var(--paper);
  border: 1px solid rgba(250, 246, 237, .25);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, transform .2s;
  font-family: var(--f-display);
  line-height: 1;
  padding: 0;
}
.lb-close {
  top: 22px; right: 22px;
  width: 48px; height: 48px;
  font-size: 28px;
}
.lb-prev,
.lb-next {
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  font-size: 40px;
}
.lb-prev { left: 22px; }
.lb-next { right: 22px; }
.lb-close:hover,
.lb-prev:hover,
.lb-next:hover {
  background: rgba(250, 246, 237, .22);
  border-color: var(--paper);
}
.lb-counter {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--paper);
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: .2em;
  opacity: .7;
}

@media (max-width: 720px) {
  .lightbox { padding: 70px 14px 60px; }
  .lb-close { top: 12px; right: 12px; width: 42px; height: 42px; font-size: 24px; }
  .lb-prev,
  .lb-next { width: 44px; height: 44px; font-size: 32px; }
  .lb-prev { left: 8px; }
  .lb-next { right: 8px; }
  .lb-img { max-height: calc(100vh - 150px); }
  .lb-caption { font-size: 15px; }
}

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

::selection { background: var(--moss); color: var(--paper); }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
