/* Casa Finisterre — Home (responsive, mobile-first) */

/* ============================================================
   PALETAS

   Dos juegos de valores con la misma estructura de tokens.
   Los nombres siguen la nomenclatura del panel de diseño:
   palette (sand, brass, whale, line) · surface · ink · ocean · on.

   Paleta 1 = la original, activa por defecto.
   Paleta 2 = la del panel. Se previsualiza con ?paleta=referencia en la URL.
   ============================================================ */

/* ---------- Paleta 1 — original ---------- */
:root {
  /* palette */
  --brass: var(--accent-text);   /* mismo tono que el acento: 5.0:1 como texto sobre crema */
  --whale: #6E8487;
  --line: #D8CBAE;

  /* surface */
  --surface: #F3ECDF;
  --surface-raised: #FFFFFF;

  /* ink */
  --ink: #10181C;
  --ink-muted: #3C4A4D;

  /* ocean */
  --ocean: #1F4550;
  --ocean-deep: #163238;

  /* on */
  --on-dark: #E7E1D3;

  /* on-dark, de más tenue a más visible.
     Orden: faint < soft < muted < strong < on-dark */
  --on-dark-faint: #6E8487;
  --on-dark-soft: #93A3A6;
  --on-dark-muted: #A9BDC0;
  --on-dark-strong: #C9D3D2;
  --line-on-dark: #24312F;

  /* CTA */
  --accent: #B26A3C;
  --accent-hover: #96522C;
  --on-accent: #FFFFFF;
  --accent-text: #96522C;      /* [derivado] mismo tono oscurecido → 5.0:1 como texto sobre crema */
  --icon-bg: var(--accent);

  /* Radios (layout, no es color de paleta): un solo lugar para ajustar cuán
     redondeado es todo. Antes era 2px en todo y el diseño se sentía duro. */
  --radius-sm: 12px;   /* botones y campos de formulario */
  --radius: 18px;      /* tarjetas, imágenes y mapa */
}

/* ---------- Paleta 2 — panel de referencia ---------- */
/* [derivado] = el panel no traía este valor; se calculó manteniendo la
   jerarquía de contraste que ya tenía el sitio. */
html[data-palette="referencia"] {
  /* palette */
  --brass: #9A7434;
  --whale: #5E6E70;             /* 4.7:1 sobre surface */
  --line: #E4DBCB;

  /* surface */
  --surface: #F5F0E7;
  --surface-raised: #FCF8F1;

  /* ink */
  --ink: #221D17;               /* 14.7:1 sobre surface */
  --ink-muted: #6E6556;         /* 5.1:1 sobre surface */

  /* ocean */
  --ocean: #1C4C52;
  --ocean-deep: #0F343A;

  /* on */
  --on-dark: #F3ECDF;

  /* on-dark, misma escala que la paleta 1 */
  --on-dark-faint: #9F998F;     /* [derivado] 5.9:1 sobre ink, 4.7:1 sobre ocean-deep */
  --on-dark-soft: #ACA69B;      /* [derivado] 6.9:1 sobre ink */
  --on-dark-muted: #C5C7BE;     /* [derivado] on-dark 80% sobre ocean-deep → 7.8:1 */
  --on-dark-strong: #DED7CB;    /* [derivado] 11.7:1 sobre ink */
  --line-on-dark: #48423B;      /* [derivado] separador apenas visible sobre ink */

  /* CTA — acento = sand del panel */
  --accent: #C89B5C;
  --accent-hover: #B4854A;      /* [derivado] sand oscurecido */
  --on-accent: #221D17;         /* ink sobre sand → 6.6:1 (AA) */
  --accent-text: #8A6830;       /* [derivado] brass oscurecido → 4.5:1 como texto */
  --icon-bg: var(--ocean);      /* los SVG de íconos son blancos → 8.1:1 */
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Epilogue', sans-serif;
  background: var(--surface);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--brass);
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
}

h1, h2, h3 {
  font-family: 'Epilogue', sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
  /* reparte las palabras entre las líneas para que no quede una sola
     palabra huérfana en la última (los navegadores viejos lo ignoran) */
  text-wrap: balance;
}

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  text-align: center;
  transition: background 0.2s, opacity 0.2s;
}
.btn-solid {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-solid:hover { background: var(--accent-hover); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.6);
  color: #FFFFFF;
}
.btn-outline:hover { background: rgba(255,255,255,0.14); }

.nav-link:hover { opacity: 0.65; }

/* ===== TOP BAR ===== */
/* Va superpuesta al hero (dentro de .header-overlay), sin fondo propio:
   el degradado del overlay del hero le da el contraste necesario. */
.topbar {
  width: 100%;
  background: transparent;
}
.topbar .container {
  padding-top: 10px;
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-whatsapp {
  font-size: 13px;
  color: var(--on-dark);
  letter-spacing: 0.02em;
}
.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}
.topbar-right span { font-size: 12px; color: var(--on-dark-muted); }
.topbar-right .sep { color: var(--on-dark-faint); }
.topbar-right a { font-size: 12px; color: var(--on-dark-muted); }
.topbar-right a.lang-current { color: #FFFFFF; font-weight: 600; }

/* ===== NAV ===== */
.site-header { width: 100%; position: relative; z-index: 20; }

/* Barra superior + navegación apiladas, superpuestas al hero.
   El hero ocupa el primer viewport completo; esto flota encima. */
.header-overlay {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
}
/* Velo sobre el media: la barra va transparente encima del hero, y sin esto
   el texto chico queda ilegible en las fotos claras (medido: 2.34:1 en Casa Grande). */
.header-overlay::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(16,24,28,0.62) 0%, rgba(16,24,28,0.34) 55%, rgba(16,24,28,0) 100%);
  pointer-events: none;
  z-index: -1;
}
.nav-bar {
  width: 100%;
  padding-top: 36px;
}
.nav-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand {
  font-family: 'Epilogue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.12em;
  color: #FFFFFF;
  font-weight: 500;
  display: inline-flex;
}
.brand img { display: block; height: 132px; width: auto; }
.nav-links {
  display: none;
  gap: 34px;
  align-items: center;
}
.nav-links a { font-size: 14px; color: #FFFFFF; font-weight: 500; }
.nav-links a.is-active, .mobile-menu a.is-active { opacity: 0.65; }

.nav-toggle {
  display: flex;
  width: 38px; height: 38px;
  border-radius: 19px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  align-items: center;
  justify-content: center;
}
.nav-toggle svg { display: block; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Mobile menu drawer */
.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--ocean-deep);
  z-index: 30;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transform: translateY(-100%);
  transition: transform 0.28s ease;
  visibility: hidden;
}
.mobile-menu.is-open {
  transform: translateY(0);
  visibility: visible;
}
.mobile-menu a {
  font-size: 20px;
  color: #FFFFFF;
  font-family: 'Epilogue', sans-serif;
}
.mobile-menu .btn-solid { font-family: 'Epilogue', sans-serif; }
.mobile-menu-close {
  position: absolute;
  top: 22px;
  right: 20px;
  width: 38px; height: 38px;
  border-radius: 19px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-social {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}
.mobile-social a { font-size: 13px; color: var(--on-dark-muted); }

/* ===== HERO ===== */
.hero {
  width: 100%;
  /* margen lateral del contenido del hero: lo usan .hero-slide (home) y
     .hero-content (internas), que son dos estructuras distintas */
  --hero-pad: 32px;
  height: 100vh;    /* fallback */
  height: 100svh;   /* alto real del viewport en móvil (sin la barra del navegador) */
  /* El min-height lo calcula main.js (header + contenido + aire): así el hero
     mide exactamente lo que se ve y el contenido queda centrado en pantalla,
     sin que el rectángulo del hero se estire más allá del viewport. */
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  background: var(--ink);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,24,28,0.55) 0%, rgba(16,24,28,0.32) 35%, rgba(16,24,28,0.75) 100%);
}
.hero-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 var(--hero-pad);
}
.hero-kicker {
  font-family: 'Epilogue', sans-serif;
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--on-dark);
  margin-bottom: 16px;
}
.hero h1 {
  font-size: 34px;
  line-height: 1.2;
  color: #FFFFFF;
  max-width: 680px;
  margin: 0 0 16px 0;
}
.hero p {
  font-size: 15px;
  color: var(--on-dark);
  max-width: 520px;
  margin: 0 0 28px 0;
  line-height: 1.6;
}
.hero-ctas {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 300px;
}
.hero-slide {
  position: absolute;
  inset: 0;
  /* El desplazamiento lo calcula main.js (--hero-pad-top): el contenido queda
     centrado en la caja y baja solo lo justo para que el header superpuesto no
     lo tape. Si sobra lugar, el valor es 0 y queda centrado exacto. */
  padding: var(--hero-pad-top, 0px) var(--hero-pad) 0 var(--hero-pad);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1.2s ease, visibility 0s; }
.hero-caption {
  position: absolute;
  left: 32px;
  bottom: 20px;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: #D8D1BF;
  display: none;
}
.hero-scroll {
  position: absolute;
  left: 0; right: 0; bottom: 18px;
  display: flex;
  justify-content: center;
}
.hero-scroll svg { animation: bounce 2.2s infinite; }
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ===== INNER PAGE HERO (no video) ===== */
.hero.hero-page {
  width: 100%;
  height: 460px;          /* en celular el header (logo centrado) llega a ~273px:
                             con 320px el título quedaba por debajo del logo */
  position: relative;
  background-size: cover;
  background-position: center;
}
.hero-page .hero-overlay {
  background: linear-gradient(180deg, rgba(16,24,28,0.5) 0%, rgba(16,24,28,0.35) 40%, rgba(16,24,28,0.78) 100%);
}
.hero-page .hero-content {
  justify-content: flex-end;
  padding-bottom: 32px;
  text-align: left;
  align-items: flex-start;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
.hero-page h1 { font-size: 30px; color: #FFFFFF; max-width: 640px; margin: 0; }
.hero-page p { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.86); max-width: 560px; margin: 12px 0 0 0; }

/* ===== SECTIONS ===== */
section { width: 100%; }

.band { padding: 88px 0; }

.intro-grid, .casas-grid-wrap, .hacer-grid {
  display: grid;
  gap: 32px;
}

.intro-text h2 { font-size: 26px; line-height: 1.28; margin: 0 0 18px 0; }
.intro-text p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0 0 16px 0; }

.fact { border-top: 1px solid var(--line); padding: 16px 0; }
.fact:last-child { border-bottom: 1px solid var(--line); }
.fact-label { font-size: 10px; letter-spacing: 0.1em; color: var(--brass); font-weight: 600; margin-bottom: 4px; text-transform: uppercase; }
.fact-value { font-family: 'Epilogue', sans-serif; font-size: 16px; color: var(--ink); }
.fact-value.long { font-family: 'Epilogue', sans-serif; font-size: 15px; line-height: 1.7; color: var(--ink-muted); }

/* Casa detail facts — centered, airier variant */
.casa-facts { max-width: 640px; margin: 0 auto; text-align: center; }
.casa-facts .fact { padding: 28px 0; }
.casa-facts .fact-label { margin-bottom: 10px; }
.casa-facts .fact-value.long { max-width: 560px; margin: 0 auto; }

#casas { background: var(--surface-raised); }
/* Línea de specs de las páginas de casa (no es párrafo: datos sueltos) */
.casa-specs { max-width: 820px; margin: 0 auto; text-align: center; }
.casa-specs .eyebrow { margin-bottom: 14px; }
.casa-specs ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; margin: 0; padding: 0; }
.casa-specs li { font-size: 15px; color: var(--ink); }
.casa-specs li:not(:last-child)::after { content: '·'; margin: 0 14px; color: var(--whale); }
/* En pantallas chicas la línea no entra en un renglón y los puntos quedaban
   huérfanos al final de cada línea: mejor una lista apilada, sin puntos. */
@media (max-width: 600px) {
  .casa-specs ul { flex-direction: column; gap: 6px; }
  .casa-specs li:not(:last-child)::after { content: none; }
}

.casas-intro { max-width: 640px; margin: 0 auto 56px auto; text-align: center; }
.casas-intro h2 { font-size: 32px; margin: 0 0 18px 0; }
.casas-intro p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0; }

.casas-grid { display: grid; grid-template-columns: 1fr; gap: 56px; }
.casa-card img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.casa-card-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 20px;
  gap: 12px;
  flex-wrap: wrap;
}
.casa-card-head h3 { font-size: 28px; }
.casa-card-tag { font-size: 11px; color: var(--brass); letter-spacing: 0.04em; white-space: nowrap; }
.casa-card p { font-size: 14.5px; line-height: 1.65; color: var(--ink-muted); margin: 10px 0 14px 0; }
.casa-link { font-size: 13.5px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 2px; }

/* Whale band */
.whale-band {
  height: 520px;
  position: relative;
  background: var(--ink);
  overflow: hidden;
}
.whale-video {
  position: absolute;
  left: 0;
  right: 0;
  top: -20%;
  width: 100%;
  height: 140%;
  object-fit: cover;
  object-position: center 55%;
  background: var(--ink);
  will-change: transform;
}
.whale-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,24,28,0.45) 0%, rgba(16,24,28,0.15) 45%, rgba(16,24,28,0.6) 100%);
}
.whale-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.whale-quote {
  font-family: 'Epilogue', sans-serif;
  font-style: italic;
  font-weight: 300;
  font-size: 19px;
  line-height: 1.5;
  color: #FFFFFF;
  max-width: 640px;
  margin: 0 0 16px 0;
}
.whale-cite { font-size: 11px; letter-spacing: 0.08em; color: #D8D1BF; }
.whale-content h2 { font-size: 28px; color: #FFFFFF; max-width: 640px; margin: 0 0 16px 0; }
.whale-content p { font-size: 15px; line-height: 1.7; color: var(--on-dark); max-width: 600px; margin: 0 0 10px 0; }
.whale-content p:last-child { margin-bottom: 0; }

/* Para hacer */
#experiencias { background: var(--surface); }
.hacer-grid img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius); }
.hacer-text h2 { font-size: 24px; line-height: 1.25; margin: 0 0 24px 0; }
.hacer-item { border-top: 1px solid var(--line); padding: 14px 0; display: flex; flex-direction: column; gap: 6px; }
.hacer-item:last-child { border-bottom: 1px solid var(--line); }
.hacer-item-title { font-family: 'Epilogue', sans-serif; font-size: 15.5px; color: var(--ink); }
.hacer-item-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.6; }

/* CTA band */
.cta-band { background: var(--ocean-deep); text-align: center; padding: 96px 0; }
.cta-band h2 { font-size: 26px; color: #FFFFFF; margin: 0 0 16px 0; }
.cta-band p { font-size: 14px; line-height: 1.75; color: var(--on-dark-muted); max-width: 580px; margin: 0 auto 34px auto; }

/* ===== Bloque 2 — Apertura ===== */
.opener { background: var(--surface); text-align: center; padding: 144px 0; }
.opener p {
  font-family: 'Epilogue', sans-serif;
  font-weight: 300;
  font-style: italic;
  font-size: 22px;
  line-height: 1.75;
  color: var(--ink);
  max-width: 680px;
  margin: 0 auto;
}

/* ===== Bloque 3 — La experiencia (detalles-historia, foto a sangre) =====
   Las tarjetas viven FUERA del .container (ver HTML): así la foto puede ir a
   sangre hasta el borde de la pantalla y el texto, que sí necesita alinearse
   con el resto de la página, se ubica con una grilla que reproduce el
   contenedor (márgenes 1fr + columnas de contenido). */
.story-section { background: var(--surface-raised); }
.story-card + .story-card { margin-top: 80px; }   /* cada detalle tiene su momento */
.story-card img {
  display: block;
  width: 100%;
  height: auto;              /* que el aspect-ratio mande sobre los atributos del <img> */
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0;          /* a sangre: sin esquinas redondeadas */
}
.story-card-text { padding: 28px 32px 0 32px; }   /* 32px = padding lateral del .container en celular */
.story-card-text h2, .story-card-text h3 { font-size: 28px; line-height: 1.25; margin: 0 0 14px 0; }
.story-card-text p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0; }

/* ===== Bloque 5 — El lugar ===== */
.el-lugar-band { position: relative; height: 520px; background-size: cover; background-position: center; }
.el-lugar-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,24,28,0.35) 0%, rgba(16,24,28,0.6) 100%);
}
.photo-credit {
  position: absolute;
  left: 32px;
  bottom: 16px;
  z-index: 2;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  text-shadow: 0 1px 4px rgba(0,0,0,0.55);
}
.el-lugar-content {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}
.el-lugar-content .eyebrow { color: var(--on-dark); }
.el-lugar-content h2 { font-size: 28px; color: #FFFFFF; max-width: 680px; margin: 0 0 16px 0; }
.el-lugar-content p { font-size: 15px; line-height: 1.7; color: var(--on-dark); max-width: 640px; margin: 0; }

/* ===== Bloque 7 — Qué hacer (lista con foto chica) ===== */
.hacer-list-v2 { display: flex; flex-direction: column; }
.hacer-item-v2 { display: flex; align-items: center; gap: 20px; border-top: 1px solid var(--line); padding: 26px 0; }
.hacer-item-v2:last-child { border-bottom: 1px solid var(--line); }
.hacer-item-v2-photo { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--line); }
.hacer-item-v2-photo.is-placeholder { background: var(--accent); opacity: 0.22; }
.hacer-item-v2-title { font-family: 'Epilogue', sans-serif; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.hacer-item-v2-desc { font-size: 13.5px; color: var(--ink-muted); line-height: 1.5; }

/* ===== Bloque 8 — Cómo llegar (teaser) ===== */
.llegar-teaser { background: var(--surface-raised); text-align: center; padding: 120px 0 72px 0; }
.llegar-teaser h2 { font-size: 28px; margin: 0 0 14px 0; }
.llegar-map {
  position: relative;    /* para el triángulo de transición */
  margin: 72px 0 0 0;
  height: 380px;
  border-radius: var(--radius);   /* el mapa va enmarcado, con esquinas suaves */
  overflow: hidden;
  background: var(--line);
}
/* El fondo blanco de la sección "baja" sobre el mapa con un triángulo simple. */
.llegar-map::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 34px solid transparent;
  border-right: 34px solid transparent;
  border-top: 26px solid var(--surface-raised);
  pointer-events: none;
  z-index: 2;
}
.llegar-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.llegar-teaser p { font-size: 15px; line-height: 1.7; color: var(--ink-muted); max-width: 600px; margin: 0 auto 32px auto; }

/* ===== Bloque 9 — Reseñas ===== */
.reviews-section { background: var(--surface); }
.reviews-header { text-align: center; max-width: 640px; margin: 0 auto 56px auto; }
.reviews-header h2 { font-size: 28px; margin: 0 0 10px 0; }
.reviews-header .reviews-score { font-size: 13px; color: var(--brass); font-weight: 600; letter-spacing: 0.02em; }
.reviews-slider { position: relative; }
.reviews-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;          /* el scroll se maneja con las flechas */
  -ms-overflow-style: none;
  padding-bottom: 6px;
}
.reviews-track::-webkit-scrollbar { display: none; }
.review-card { flex: 0 0 100%; scroll-snap-align: start; }
.reviews-nav { display: flex; align-items: center; justify-content: center; gap: 22px; margin-top: 40px; }
.reviews-arrow {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-size: 22px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, opacity 0.2s;
}
.reviews-arrow:hover { background: var(--surface-raised); }
.reviews-arrow[disabled] { opacity: 0.3; cursor: default; }
.reviews-dots { display: flex; gap: 10px; }
.reviews-dot {
  width: 9px; height: 9px; padding: 0;
  border: 0; border-radius: 50%;
  background: var(--line);
  transition: background 0.2s, transform 0.2s;
}
.reviews-dot.is-active { background: var(--accent); transform: scale(1.25); }
.review-card { background: var(--surface-raised); border-radius: var(--radius); padding: 26px 22px; }
.review-head { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.review-avatar {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brass); color: #FFFFFF;
  font-family: 'Epilogue', sans-serif; font-size: 18px; font-weight: 600;
}
.review-name { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.review-place { font-size: 13px; color: var(--whale); line-height: 1.4; }
.review-meta { font-size: 12.5px; color: var(--whale); margin-bottom: 14px; }
.review-stars { color: var(--brass); letter-spacing: 0.12em; margin-right: 4px; }
.review-quote { font-size: 15px; line-height: 1.7; color: var(--ink-muted); margin: 0; }

/* ===== Bloque 10 — Formulario extendido ===== */
.contact-form select,
.contact-form input[type="date"],
.contact-form input[type="number"] {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  height: 50px;          /* misma altura que los demás campos */
  line-height: 1.4;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form-label { font-size: 11px; letter-spacing: 0.05em; color: var(--whale); margin-bottom: 0; text-transform: uppercase; }
.contact-alt-cta { margin-top: 8px; font-size: 13.5px; color: var(--ink-muted); }
.contact-alt-cta a { font-weight: 600; color: var(--accent-text); border-bottom: 1px solid var(--accent-text); padding-bottom: 1px; }
.assistant-slot { display: none; }

/* Footer */
.site-footer { background: var(--ink); }
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding: 72px 0 56px 0;
}
.footer-logo { display: block; height: 112px; width: auto; margin-bottom: 22px; }
.footer-address { font-size: 14px; color: var(--on-dark-soft); line-height: 1.8; }
.footer-contact { font-size: 14px; color: var(--on-dark-soft); line-height: 1.8; margin-top: 12px; }
.footer-contact a:hover, .footer-address a:hover { color: var(--on-dark-strong); }
.footer-heading { font-size: 11px; letter-spacing: 0.1em; color: var(--on-dark-faint); margin-bottom: 16px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: var(--on-dark-strong); }
.footer-bottom {
  border-top: 1px solid var(--line-on-dark);
  padding: 28px 0;
  font-size: 12px;
  color: var(--on-dark-faint);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-vork { margin-top: 0; }

/* ===== Photo gallery + lightbox =====
   Grilla editorial asimétrica: en vez de cuadraditos iguales hay una foto
   grande y el resto en celdas de distinto tamaño (ver el mosaico en desktop). */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.gallery-item {
  display: block;
  padding: 0;
  border: none;
  background: none;
  height: 100%;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}
/* En celular la primera ocupa todo el ancho: abre la galería. En la plantilla
   de 11 (Casa Grande) la última también cierra a todo el ancho, que es el
   atardecer; en la de Casa Chica las demás van de a dos. */
.gallery-item:first-child { grid-column: 1 / -1; }
.gallery-grid:not(.gallery-grid-chica) .gallery-item:last-child { grid-column: 1 / -1; }
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(16,24,28,0.96);
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  animation: lb-fade 0.2s ease-out;
}
.lightbox[hidden] { display: none; }
/* La foto usa todo el viewport: en una foto 4:3 el alto es el límite real, así
   que el padding es mínimo y no hay tope artificial (antes era 80vh). */
.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  height: 100%;
  min-height: 0;
  margin: 0;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  min-height: 0;
  border-radius: var(--radius-sm);
  animation: lb-zoom 0.24s ease-out;
}
.lightbox-caption {
  flex: 0 0 auto;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255,255,255,0.72);
  text-align: center;
  max-width: 760px;
}
.lightbox-caption:empty { display: none; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  width: 48px; height: 48px;
  border-radius: 24px;
  background: rgba(16,24,28,0.55);
  border: 1px solid rgba(255,255,255,0.4);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); }
.lightbox-close { top: 14px; right: 14px; font-size: 26px; }
.lightbox-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 14px; top: 50%; transform: translateY(-50%); }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lb-zoom { from { opacity: 0; transform: scale(0.985); } to { opacity: 1; transform: none; } }

/* ===== Amenities ===== */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.amenity { display: flex; align-items: center; gap: 12px; }
.amenity img { width: 28px; height: 28px; object-fit: contain; flex-shrink: 0; }
.amenity span { font-size: 14px; color: var(--ink-muted); }

/* ===== Cómo llegar ===== */
.llegar-grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.llegar-item { border-top: 1px solid var(--line); padding: 20px 0; }
.llegar-item:last-child { border-bottom: 1px solid var(--line); }
.llegar-item img { width: 32px; height: 32px; margin-bottom: 12px; }
.llegar-item h3 { font-size: 19px; margin: 0 0 10px 0; }
.llegar-item p { font-size: 14.5px; line-height: 1.7; color: var(--ink-muted); margin: 0 0 10px 0; }
.llegar-item p:last-child { margin-bottom: 0; }

/* ===== Mapa ===== */
.map-grid { display: grid; grid-template-columns: 1fr; gap: 32px; }
.map-grid img, .map-grid iframe {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: var(--radius);
  border: none;
}

/* ===== Footer Vork credit ===== */
.footer-vork { display: inline-block; margin-top: 20px; opacity: 0.9; }
.footer-vork img { display: block; height: 30px; width: auto; }
.footer-vork:hover { opacity: 1; }

/* ===== Contact form ===== */
.contact-form { margin-top: 0; display: flex; flex-direction: column; gap: 20px; max-width: 480px; }
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea {
  width: 100%;
  background: var(--surface-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 16px;
  height: 50px;          /* misma altura que el resto: tipografía alineada */
  line-height: 1.4;
  font-family: 'Epilogue', sans-serif;
  font-size: 15px;
  color: var(--ink);
}
.contact-form textarea { height: auto; padding: 15px 16px; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--whale); }
.contact-form textarea { min-height: 160px; resize: vertical; }
.contact-form .hp-field { position: absolute; left: -9999px; top: -9999px; }
.contact-form .btn { align-self: flex-start; border: none; }
.form-feedback { font-size: 13px; min-height: 18px; }
.form-feedback.is-success { color: #2E7D4F; }
.form-feedback.is-error { color: #B23A22; }

/* ===== Dedicated contact section (icons + form, side by side) ===== */
.contact-section { background: var(--surface-raised); }
.contact-grid { display: grid; grid-template-columns: 1fr; gap: 64px; }
.contact-info h2 { font-size: 30px; margin: 0 0 22px 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 22px; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--icon-bg);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-icon svg { width: 18px; height: 18px; }
.contact-list a { font-size: 14.5px; color: var(--ink); }
.contact-list a:hover { color: var(--accent-text); }

/* ===== WhatsApp floating button ===== */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(16,24,28,0.35);
  z-index: 25;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; display: block; }

/* ===================================================== */
/* DESKTOP (>= 900px)                                      */
/* ===================================================== */
/* Celular y tablet: la marca va centrada y el botón de menú a un costado,
   como en la referencia. Como .nav-links está oculto, centrar el contenedor
   alcanza para centrar el logo. */
@media (max-width: 899px) {
  /* En celular el header ocupa una porción grande de la pantalla: bajarlo un
     poco despeja la parte alta del hero. */
  .nav-bar { padding-top: 88px; }
  .nav-bar .container { position: relative; justify-content: center; }
  .nav-toggle { position: absolute; right: 32px; top: 50%; transform: translateY(-50%); }
}

@media (min-width: 900px) {
  .container { padding: 0 64px; }

  .nav-links { display: flex; }
  .nav-toggle, .mobile-menu { display: none; }
  .brand { font-size: 20px; }
  .brand img { height: 152px; }

  .band { padding: 120px 0; }


  .hero.hero-page { height: 420px; }
  .hero.hero-page h1 { font-size: 44px; }
  .hero.hero-page p { font-size: 17px; }

  .hero { height: 100vh; height: 100svh; --hero-pad: 64px; }
  .hero-kicker { font-size: 17px; letter-spacing: 0.32em; margin-bottom: 22px; }
  .hero h1 { font-size: 56px; margin-bottom: 20px; }
  .hero p { font-size: 18px; margin-bottom: 40px; }
  .hero-ctas { flex-direction: row; max-width: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .hero-caption { display: block; left: 64px; }
  .hero-scroll { bottom: 24px; }

  .intro-grid { grid-template-columns: 7fr 5fr; gap: 40px; align-items: center; }
  .intro-text h2 { font-size: 36px; max-width: 480px; }
  .intro-text p { font-size: 16px; }
  .facts-col { display: flex; flex-direction: column; justify-content: center; }

  .casas-intro h2 { font-size: 48px; }
  /* Las casas van una por fila, con imagen a todo el ancho: es lo más
     importante de la portada y cada una merece su propio bloque. */
  .casas-grid { grid-template-columns: 1fr; gap: 152px; }
  .casa-card {
    display: grid;
    grid-template-columns: 4fr 6fr;
    column-gap: 72px;
    row-gap: 0;
    align-items: start;
  }
  /* Foto grande y con altura: 520px fijos sobre 1052px de ancho daban un
     aspecto 2:1 (apaisado y chato). Ahora 3:2 → 701px de alto. */
  .casa-card img { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 3 / 2; margin-bottom: 52px; }
  .casa-card-head { grid-column: 1; grid-row: 2; margin-top: 0; }
  .casa-card p { grid-column: 2; grid-row: 2; margin: 4px 0 20px 0; font-size: 16px; }
  .casa-link { grid-column: 2; grid-row: 3; justify-self: start; margin-top: 18px; }
  .casa-card-head h3 { font-size: 44px; }
  .casa-card p { font-size: 15px; }

  .whale-band { height: 700px; }
  .whale-quote { font-size: 28px; }

  .hacer-grid { grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
  .hacer-text h2 { font-size: 32px; }
  .hacer-grid img { height: 420px; }
  .hacer-item { flex-direction: row; gap: 24px; align-items: baseline; }
  .hacer-item-title { min-width: 220px; font-size: 16px; }
  .hacer-item-desc { font-size: 14px; }

  .cta-band { padding: 104px 0; }
  .cta-band h2 { font-size: 36px; }
  .cta-band p { font-size: 15px; }

  .footer-top { grid-template-columns: repeat(3, 1fr); gap: 56px; padding: 96px 0 64px 0; }
  /* "Explorar" y "Seguinos" se apoyan sobre la base del bloque, al mismo pie
     que la columna del logo, en vez de flotar arriba con todo el aire abajo. */
  .footer-top > div:nth-child(2), .footer-top > div:nth-child(3) { align-self: end; }

  /* Mosaico de 6 columnas: la nº 1 ocupa el doble (4x2) y el resto se
     acomoda en celdas de 2x1, 4x2, 3x2 y una banda ancha de cierre. Las seis
     columnas quedan completas en las 9 filas, sin huecos. */
  .gallery-grid { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 210px; gap: 14px; }
  .gallery-item img { height: 100%; aspect-ratio: auto; border-radius: var(--radius); }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(1)  { grid-column: 1 / 5; grid-row: 1 / 3; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(2)  { grid-column: 5 / 7; grid-row: 1 / 2; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(3)  { grid-column: 5 / 7; grid-row: 2 / 3; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(4)  { grid-column: 1 / 3; grid-row: 3 / 4; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(5)  { grid-column: 3 / 7; grid-row: 3 / 5; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(6)  { grid-column: 1 / 3; grid-row: 4 / 5; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(7)  { grid-column: 1 / 4; grid-row: 5 / 7; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(8)  { grid-column: 4 / 7; grid-row: 5 / 7; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(9)  { grid-column: 1 / 3; grid-row: 7 / 8; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(10) { grid-column: 3 / 7; grid-row: 7 / 8; }
  .gallery-grid:not(.gallery-grid-chica) .gallery-item:nth-child(11) { grid-column: 1 / 7; grid-row: 8 / 10; }

  /* Plantilla de Casa Chica (7 fotos): la casa desde la calle abre en grande
     con la cocina y el living apilados al costado; el comedor y el dormitorio
     principal ocupan media fila cada uno, y la habitación de los chicos y la
     escalera cierran de a dos. */
  .gallery-grid-chica .gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: 1 / 3; }
  .gallery-grid-chica .gallery-item:nth-child(2) { grid-column: 5 / 7; grid-row: 1 / 2; }
  .gallery-grid-chica .gallery-item:nth-child(3) { grid-column: 5 / 7; grid-row: 2 / 3; }
  .gallery-grid-chica .gallery-item:nth-child(4) { grid-column: 1 / 4; grid-row: 3 / 5; }
  .gallery-grid-chica .gallery-item:nth-child(5) { grid-column: 4 / 7; grid-row: 3 / 5; }
  .gallery-grid-chica .gallery-item:nth-child(6) { grid-column: 1 / 4; grid-row: 5 / 6; }
  .gallery-grid-chica .gallery-item:nth-child(7) { grid-column: 4 / 7; grid-row: 5 / 6; }

  .amenities-grid { grid-template-columns: repeat(4, 1fr); }
  /* Casa Grande tiene 10 comodidades: en 5 columnas quedan dos filas parejas
     en vez de 4+4+2. Casa Chica tiene 8 y se queda con las 4 de siempre. */
  /* Casa Grande tiene 11 comodidades y Casa Chica 10: la grande queda en las 4
     columnas de siempre (4+4+3) y la chica en 5 (dos filas parejas de 5). */
  .amenities-grid-5 { grid-template-columns: repeat(5, 1fr); }

  .llegar-grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }

  .map-grid { grid-template-columns: 1fr 1fr; }
  .map-grid img, .map-grid iframe { height: 380px; }

  .contact-grid { grid-template-columns: 5fr 7fr; gap: 80px; align-items: start; }

  .opener { padding: 224px 0; }
  .opener p { font-size: 28px; }   /* en desktop gritaba: baja sin perder presencia */

  /* Detalle-historia a sangre alternado: la foto se va hasta el borde de la
     pantalla de un lado (margen 1fr + su columna) y el texto queda en una
     columna angosta del otro, alineado con la grilla del .container.
     640 + 412 = 1052 = ancho de contenido del .container en desktop. */
  .story-card {
    display: grid;
    grid-template-columns: minmax(64px, 1fr) minmax(0, 640px) minmax(0, 412px) minmax(64px, 1fr);
    align-items: center;
  }
  .story-card.is-reverse {
    grid-template-columns: minmax(64px, 1fr) minmax(0, 412px) minmax(0, 640px) minmax(64px, 1fr);
  }
  .story-card img {
    grid-column: 1 / 3;            /* del borde de la pantalla al fin de su columna */
    grid-row: 1;
    border-radius: 0 var(--radius) var(--radius) 0;   /* redondea solo el lado de adentro */
  }
  .story-card.is-reverse img {
    grid-column: 3 / 5;
    border-radius: var(--radius) 0 0 var(--radius);
  }
  .story-card-text { grid-row: 1; grid-column: 3 / 4; padding: 0 0 0 64px; }
  .story-card.is-reverse .story-card-text { grid-column: 2 / 3; padding: 0 64px 0 0; }
  .story-card + .story-card { margin-top: 152px; }   /* bastante aire entre cada historia */
  .story-card-text h2, .story-card-text h3 { font-size: 38px; }

  .el-lugar-band { height: 700px; }
  .el-lugar-content h2 { font-size: 42px; }
  .photo-credit { left: 64px; bottom: 20px; }
  .el-lugar-content p { font-size: 16px; }

  .whale-content h2 { font-size: 42px; }
  .whale-content p { font-size: 16px; }

  /* Qué hacer: dos columnas, sin las líneas divisorias (con 5 items en una
     grilla las líneas quedaban desparejas). Más aire y más limpio. */
  .hacer-list-v2 { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 72px; row-gap: 56px; }
  .hacer-item-v2 { padding: 0; gap: 24px; border-top: 0; align-items: flex-start; }
  .hacer-item-v2:last-child { border-bottom: 0; grid-column: 1 / -1; }  /* con 5 items, el ultimo ocupa la fila entera */
  .hacer-item-v2-photo { margin-top: 2px; }
  .hacer-item-v2-photo { width: 76px; height: 76px; }
  .hacer-item-v2-title { font-size: 19px; }
  .hacer-item-v2-desc { font-size: 14px; }

  .llegar-teaser { padding: 140px 0 72px 0; }
  .llegar-map { height: 520px; }
  .llegar-map::before { border-left-width: 48px; border-right-width: 48px; border-top-width: 38px; }
  .llegar-teaser h2 { font-size: 38px; }

  .reviews-header h2 { font-size: 38px; }
  .review-card { flex: 0 0 calc(50% - 16px); }   /* dos reseñas por vista */
  .review-card { padding: 34px 30px; }
  .review-quote { font-size: 16px; }
}

/* Pantallas bajas (celular en horizontal, ventanas chatas): el hero no se
   estira más allá del viewport y el contenido se compacta para que los CTA
   entren en pantalla sin scrollear. */
@media (max-height: 660px) {
  /* Ojo: NO se pone min-height:0 — el hero tiene overflow:hidden, así que si queda
     más bajo que su contenido lo recorta y no hay scroll que lo alcance. */
  .brand img { height: 80px; }
  .hero-kicker { font-size: 11px; letter-spacing: 0.2em; margin-bottom: 10px; }
  .hero h1 { font-size: 24px; margin-bottom: 10px; }
  .hero p { font-size: 14px; margin-bottom: 20px; }
  .hero-ctas { flex-direction: row; max-width: none; width: auto; justify-content: center; flex-wrap: wrap; }
  .hero-caption { display: none; }
  .hero-scroll { display: none; }
}

/* Pantallas angostas: los campos de a dos (fechas, personas/casa) no entran y
   forzaban scroll horizontal en el documento. Se apilan en una columna. */
@media (max-width: 440px) {
  .contact-form-row { grid-template-columns: 1fr; }
}

/* Celular y tablet: barra de contacto y footer centrados, y más aire arriba
   de las columnas 2 y 3 del footer para que no queden pegadas. */
@media (max-width: 899px) {
  .topbar .container { justify-content: center; }
  .topbar-whatsapp { text-align: center; }
  .topbar-right { justify-content: center; }
  .footer-top > div { text-align: center; }
  .footer-logo { margin-left: auto; margin-right: auto; }
  .footer-top > div:nth-child(2), .footer-top > div:nth-child(3) { margin-top: 14px; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* Pantallas muy bajas (celular apaisado): se compacta más todavía — logo más
   chico, se oculta el kicker y se achican los botones — para que el titular y
   los CTA entren sin scrollear. */
@media (max-height: 420px) {
  .brand img { height: 64px; }
  .hero-kicker { display: none; }
  .hero h1 { font-size: 21px; margin-bottom: 8px; }
  .hero p { font-size: 13px; margin-bottom: 14px; }
  .hero .btn { padding: 11px 22px; font-size: 13px; }
}

/* Si el visitante pidió menos movimiento, el carrusel no se desliza */
@media (prefers-reduced-motion: reduce) {
  .reviews-track { scroll-behavior: auto; }
  .lightbox, .lightbox-img { animation: none; }
}
