/* Lilafken 2026 — portada (S12, 20-oct-2026)
   Marca: beige + navy. Motor de reserva: /js/lila-hero-calendar.js (sin cambios),
   aquí solo se re-viste. Movimiento suave y desactivado con prefers-reduced-motion. */

/* Respaldos con el mismo ancho que las fuentes web: el texto no salta cuando llegan (CLS). */
@font-face { font-family: "Fraunces Fallback"; src: local("Georgia"); size-adjust: 105.4%; }
@font-face { font-family: "DM Sans Fallback"; src: local("Arial"); size-adjust: 103.2%; }

:root {
  --sand: #F3ECDF;
  --sand-2: #E9DFCC;
  --paper: #FBF8F2;
  --navy: #13233F;
  --navy-2: #0B1730;
  --navy-3: #1D3257;
  --ink: #1A2333;
  --muted: #586273;
  --line: rgba(19, 35, 63, .14);
  --line-light: rgba(243, 236, 223, .22);
  --gold: #B98B3E;
  --gold-soft: #E7CF9E;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 40px -22px rgba(11, 23, 48, .45);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --font-display: "Fraunces", "Fraunces Fallback", Georgia, serif;
  --font-body: "DM Sans", "DM Sans Fallback", Arial, system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -.015em; margin: 0; }
h2 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 em, h1 em { font-style: italic; font-weight: 400; color: var(--gold); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

.skip { position: absolute; left: 12px; top: -60px; z-index: 10000; background: var(--navy); color: var(--sand); padding: 10px 16px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 1220px; margin: 0 auto; padding: 0 var(--gutter); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.eyebrow--light { color: var(--gold-soft); }

/* ── Botones ───────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 700 .95rem/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 40px; padding: 9px 18px; font-size: .88rem; }
.btn--sand { background: var(--sand); color: var(--navy); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .6); }
.btn--sand:hover { background: #fff; }
.btn--navy { background: var(--navy); color: var(--sand); }
.btn--navy:hover { background: var(--navy-3); }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--navy); }

/* ── Barra superior ────────────────────────────────── */
.topbar { position: fixed; inset: 0 0 auto 0; z-index: 900; color: var(--sand); transition: background-color .4s var(--ease), color .4s, box-shadow .4s, backdrop-filter .4s; }
.topbar__inner { max-width: 1320px; margin: 0 auto; padding: 14px var(--gutter); display: flex; align-items: center; gap: 18px; }
.topbar.is-solid { background: rgba(251, 248, 242, .9); color: var(--navy); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; font: 500 1.15rem/1 var(--font-display); font-style: italic; }
.brand__name { font: 500 1.35rem/1 var(--font-display); letter-spacing: .01em; }
.topnav { display: none; gap: 26px; }
.topnav a { text-decoration: none; font-weight: 500; font-size: .95rem; position: relative; padding: 6px 0; }
.topnav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.topnav a:hover::after, .topnav a:focus-visible::after { transform: scaleX(1); }
.topbar.is-solid .btn--sand { background: var(--navy); color: var(--sand); }
.menu-btn { width: 44px; height: 44px; border: 1px solid currentColor; border-radius: 50%; background: transparent; color: inherit; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; cursor: pointer; }
.menu-btn span { width: 16px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease); }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }
.menu { background: var(--paper); color: var(--navy); padding: 8px var(--gutter) 22px; box-shadow: 0 20px 30px -20px rgba(0, 0, 0, .35); }
.menu a { display: block; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; font: 500 1.2rem/1.2 var(--font-display); }
.topbar.menu-open { background: var(--paper); color: var(--navy); }
.topbar__cta { display: none; }
@media (min-width: 560px) { .topbar__cta { display: inline-flex; } }
@media (min-width: 980px) {
  .topnav { display: flex; }
  .menu-btn, .menu { display: none !important; }
}

/* ── Hero ──────────────────────────────────────────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; overflow: hidden; }
.hero__media { position: absolute; inset: 0; z-index: -1; background: var(--navy-2); }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__poster { animation: heroSettle 2.4s var(--ease) both; }
.hero__video { opacity: 0; transition: opacity 1.6s var(--ease); }
.hero__video.is-playing { opacity: 1; }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(11, 23, 48, .55) 0%, rgba(11, 23, 48, .05) 26%, rgba(11, 23, 48, .25) 52%, rgba(11, 23, 48, .88) 100%),
  linear-gradient(90deg, rgba(11, 23, 48, .45) 0%, rgba(11, 23, 48, 0) 60%); }
@keyframes heroSettle { from { transform: scale(1.06); } to { transform: scale(1); } }
.hero__inner { position: relative; width: 100%; max-width: 1320px; margin: 0 auto; padding: 92px var(--gutter) clamp(40px, 6vh, 72px); }
.hero__inner > * { max-width: 680px; }
.hero__title { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 400; margin-bottom: 14px; text-wrap: balance; }
.hero__title em { color: var(--gold-soft); }
.hero__lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: rgba(255, 255, 255, .88); max-width: 480px; }
/* Una línea tranquila, no pastillas */
.hero__chips { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.hero__chips li { font-size: .88rem; font-weight: 500; color: rgba(255, 255, 255, .88); text-shadow: 0 1px 12px rgba(11, 23, 48, .6); }
.hero__chips li::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--gold-soft); margin: 0 10px 3px; }
.hero__chips li:first-child::before { display: none; }
/* En móvil el precio va en su propia línea; así ninguna línea empieza con un punto suelto */
@media (max-width: 560px) {
  .hero__chips li:first-child { flex-basis: 100%; }
  .hero__chips li:nth-child(2)::before { display: none; }
}
/* En pantallas medianas y grandes el calendario usa celdas más bajas y cabe en la pantalla */
@media (min-width: 768px) {
  .hero .lhc-cell { aspect-ratio: auto; height: 50px; }
}
.hero__scroll { position: absolute; left: 50%; bottom: 18px; width: 26px; height: 42px; margin-left: -13px; border: 1.5px solid rgba(255, 255, 255, .6); border-radius: 14px; display: none; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: scrollHint 2.4s var(--ease) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 80% { opacity: 0; transform: translateY(12px); } 100% { opacity: 0; } }
/* El control del video va arriba a la derecha, bajo la barra, lejos de los botones flotantes */
.hero__video-toggle { position: absolute; right: var(--gutter); top: 84px; z-index: 2; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line-light); background: rgba(11, 23, 48, .45); color: #fff; font: 600 .78rem/1 var(--font-body); cursor: pointer; backdrop-filter: blur(6px); }
@media (min-width: 768px) and (min-height: 700px) { .hero__scroll { display: block; } }
/* Pantallas bajas (notebooks 1366×768): la portada cierra dentro del pliegue */
@media (min-width: 768px) and (max-height: 820px) {
  .hero__title { font-size: clamp(2.3rem, 5vw, 3.8rem); }
  .hero__inner { padding-top: 84px; }
  .hero__scroll { display: none; }
}
@media (max-width: 560px) {
  .hero__inner { padding-bottom: 92px; }
  .hero__chips li { font-size: .82rem; }
}

/* Hero: entrada escalonada */
/* El título (LCP) solo se desliza, sin partir invisible; el resto aparece con un fundido corto. */
.js .hero__inner > * { animation: rise .9s var(--ease) both; }
.js .hero__inner > .hero__title { animation-name: slide; }
.js .hero__inner > :nth-child(3) { animation-delay: .1s; }
.js .hero__inner > :nth-child(n+4) { animation-delay: .2s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes slide { from { transform: translateY(14px); } to { transform: none; } }
/* El calendario del widget es hijo del hero: conserva su propia apertura corta, sin la entrada del hero */
.js .hero__inner > #lhc-mount { animation: lhcExpand .25s cubic-bezier(.2, .7, .2, 1); }

/* ── Motor de reserva (lila-hero-calendar.js) re-vestido ── */
/* Reserva el alto de la barra + huéspedes mientras el script los inyecta (evita CLS). */
/* barra (margen 26 + 64,4 escritorio / 60,4 móvil) + huéspedes (margen 10 + alto fijo 84) */
.lhc-reserve { height: 184.4px; }
.hero__inner:has(#lhc-bar) .lhc-reserve { display: none; }
@media (max-width: 560px) { .lhc-reserve { height: 180.4px; } }
.hero .lhc-party { min-height: 84px; align-content: flex-start; }
.hero .lhc-party > span { flex-basis: 100%; font-size: 12px; line-height: 16px; }
.hero .lhc-bar { margin: 26px 0 0; max-width: 620px; background: rgba(251, 248, 242, .96); color: var(--navy); border: 0; border-radius: 999px; padding: 6px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, .7); backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--font-body); }
.hero .lhc-bar__field { padding: 10px 18px; }
.hero .lhc-bar__field:hover, .hero .lhc-bar__field.has { background: var(--sand); }
.hero .lhc-bar__field label { color: var(--muted); font-size: .66rem; letter-spacing: .12em; }
.hero .lhc-bar__field .val { color: var(--navy); font-size: .98rem; }
.hero .lhc-bar__field.empty .val { color: #6B7280; font-weight: 500; }
.hero .lhc-bar__sep { background: var(--line); }
.hero .lhc-bar__cta { background: var(--navy); color: var(--sand); box-shadow: none; padding: 14px 24px; font-size: .95rem; transition: background-color .25s, transform .35s var(--ease); }
.hero .lhc-bar__cta:hover:not(:disabled) { background: var(--navy-3); }
.hero .lhc-bar__cta:disabled { opacity: 1; background: #46536B; color: rgba(243, 236, 223, .85); }
/* Huéspedes integrado a la barra: misma superficie paper, misma anchura */
.hero .lhc-party { margin: 10px 0 0; padding: 8px 10px 8px 18px; max-width: 620px; background: rgba(251, 248, 242, .96); border-radius: 16px; color: var(--navy); font-family: var(--font-body); }
.hero .lhc-party label { font-weight: 600; }
.hero .lhc-party select { background: #fff; border-color: var(--line); color: var(--navy); border-radius: 10px; font-family: inherit; }
.hero .lhc-party select option { color: var(--navy); background: #fff; }
.hero .lhc-party select:focus-visible { outline-color: var(--gold); }
.hero .lhc-party > span { color: var(--muted); }
.hero .lhc-month-label { text-transform: none; display: inline-block; }
.hero .lhc-month-label::first-letter { text-transform: uppercase; }
.hero .lhc-mount { max-width: 620px; background: rgba(251, 248, 242, .98); color: var(--ink); border: 0; box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .75); backdrop-filter: none; -webkit-backdrop-filter: none; font-family: var(--font-body); }
.hero .lhc-mount__head h3 { font-family: var(--font-display); font-weight: 500; color: var(--navy); font-size: 1.15rem; }
.hero .lhc-mount__head .sub { color: var(--muted); }
.hero .lhc-mount__nav button { background: #fff; border-color: var(--line); color: var(--navy); }
.hero .lhc-mount__nav button:hover:not(:disabled) { background: var(--sand); border-color: var(--navy); }
.hero .lhc-month-label { color: var(--navy); }
.hero .lhc-dow { color: var(--muted); }
.hero .lhc-cell { background: #fff; border-color: rgba(19, 35, 63, .08); }
.hero .lhc-cell .d { color: var(--navy); }
.hero .lhc-cell .p { color: #8A6420; }
.hero .lhc-cell.available:hover { background: var(--sand); border-color: var(--navy); }
.hero .lhc-cell.past { background: transparent; }
.hero .lhc-cell.past .d { color: rgba(19, 35, 63, .28); }
.hero .lhc-cell.full { background: rgba(176, 72, 60, .07); border-color: rgba(176, 72, 60, .18); }
.hero .lhc-cell.full .d { color: rgba(19, 35, 63, .35); }
.hero .lhc-cell.today { box-shadow: inset 0 0 0 1.5px var(--gold); }
.hero .lhc-cell.selected { background: var(--navy) !important; border-color: var(--navy) !important; }
.hero .lhc-cell.selected .d { color: var(--sand); }
.hero .lhc-cell.selected .p { color: var(--gold-soft); }
.hero .lhc-cell.in-range { background: var(--sand-2); border-color: transparent; }
.hero .lhc-cell.in-range .d { color: var(--navy); }
.hero .lhc-summary { background: var(--sand); border-color: var(--line); color: var(--ink); }
.hero .lhc-summary .ok { color: #1F6B4A; }
.hero .lhc-summary.empty { background: var(--paper); color: var(--muted); }
.hero .lhc-summary b { color: var(--navy) !important; }
.hero .lhc-summary span[style] { color: var(--muted) !important; }
.hero .lhc-clear-btn { background: #fff; color: var(--navy); border-color: var(--line); }
.hero .lhc-go-btn { background: var(--navy); color: var(--sand); box-shadow: none; }
.hero .lhc-legend { color: var(--muted); }
.hero .lhc-legend i.av { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.hero .lhc-legend i.bk { background: rgba(176, 72, 60, .35); }
.hero .lhc-legend i.sl { background: var(--navy); }
@media (max-width: 560px) {
  .hero .lhc-bar { border-radius: 20px; }
  .hero .lhc-bar__field { padding: 8px 12px; }
  .hero .lhc-bar__cta { padding: 12px 14px; }
}

/* Modal de disponibilidad: paleta navy + beige */
html body .lhc-modal-bg { background: rgba(11, 23, 48, .96); }
html body .lhc-modal-head { background: rgba(11, 23, 48, .97); border-bottom-color: var(--line-light); }
html body .lhc-modal-head .brand { font-family: var(--font-display); color: var(--gold-soft); letter-spacing: .18em; font-weight: 500; }
html body .lhc-unit { background: rgba(243, 236, 223, .05); border-color: var(--line-light); }
html body .lhc-unit:hover { border-color: rgba(231, 207, 158, .55); }
html body .lhc-unit__name, html body .lhc-form h3, html body .lhc-empty h3 { font-family: var(--font-display); font-weight: 500; }
html body .lhc-unit__price b { font-family: var(--font-display); color: var(--gold-soft); font-weight: 500; }
html body .lhc-unit__cta, html body .lhc-form .btn-confirm, html body .lhc-success a.cta:not([style*="25D366"]) { background: var(--sand); color: var(--navy); box-shadow: none; }
html body .lhc-form { background: rgba(243, 236, 223, .05); border-color: var(--line-light); }
html body .lhc-form-field input, html body .lhc-form-field select { border-color: rgba(231, 207, 158, .3); }
html body .lhc-form .pay-info { background: rgba(231, 207, 158, .1); border-color: rgba(231, 207, 158, .3); border-left-color: var(--gold-soft); color: var(--sand); }
html body .lhc-success h3 { color: var(--gold-soft); font-family: var(--font-display); font-weight: 500; }
html body .lhc-status .spin { border-top-color: var(--gold-soft); }
/* Un solo contacto flotante (WhatsApp), vestido con la marca. La burbuja del chat se pidió oculta
   (index.html carga lila-chat.js?button=hidden) y el script lo ignora: se cumple desde CSS; el chat
   se abre desde «Hablar con LILA». Con el calendario o el modal abiertos, nada flota encima. */
html body .lc-btn { display: none !important; }
html body #wa-lila { box-shadow: 0 12px 28px -12px rgba(0, 0, 0, .6); }
html body #wa-lila .wl-tip { background: var(--paper); color: var(--navy); font: 600 13px/1 var(--font-body); border: 1px solid var(--line); box-shadow: 0 10px 24px -14px rgba(0, 0, 0, .4); }
html body #wa-lila .wl-dot { background: var(--gold); border-color: var(--paper); }
body:has(#lhc-mount.open) #wa-lila, body:has(#lhc-mount.open) .mobile-cta,
body:has(.lhc-modal-bg.open) #wa-lila, body:has(.lhc-modal-bg.open) .mobile-cta,
body.cal-open #wa-lila, body.cal-open .mobile-cta, body.modal-open #wa-lila, body.modal-open .mobile-cta { display: none !important; }
/* En móvil, mientras se ve la portada, WhatsApp espera: ahí manda la barra de reserva */
@media (max-width: 767px) {
  html body #wa-lila { transition: opacity .35s var(--ease), transform .35s var(--ease); }
  body.in-hero #wa-lila { opacity: 0; pointer-events: none; transform: translateY(24px); }
}
/* Controles del widget con fuente de 16 px (Safari iOS no hace zoom al enfocarlos) */
html body .lhc-form-field input, html body .lhc-form-field select, .hero .lhc-party select, html body .lc-in { font-size: 16px; }
/* Objetivos táctiles de 44 px en el calendario y el modal */
.hero .lhc-mount__nav button { width: 44px; height: 44px; }
.hero .lhc-clear-btn { min-height: 40px; padding: 8px 14px; font-size: .78rem; }
@media (max-width: 560px) { .hero .lhc-bar__cta { min-height: 44px; } }
html body .lhc-modal-head .close { width: 44px; height: 44px; }
html body #lila-i18n-fab .flag { width: 44px; height: 44px; }
html body .lhc-modal-body > p[role="status"] { color: var(--sand); margin: 0 0 16px; font-weight: 600; }
html body .lhc-modal-body .eva-help { color: var(--gold-soft); }
html body #lhc-capacity-note { color: rgba(243, 236, 223, .75); font-size: .85rem; }

/* ── Secciones ─────────────────────────────────────── */
.section { padding: clamp(72px, 10vw, 128px) 0; }
/* El navegador no pinta lo que está lejos de la pantalla hasta acercarse (más rápido en móvil). */
.section, .lemu, .footer { content-visibility: auto; contain-intrinsic-size: auto 900px; }
#departamentos { contain-intrinsic-size: auto 2400px; }
.section--sand { background: var(--sand); }
.section--navy { background: var(--navy); color: var(--sand); }
.section--navy h2 em { color: var(--gold-soft); }
.section__head { max-width: 720px; margin-bottom: clamp(32px, 5vw, 56px); }
.section__head--row { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section__head--row > div:first-child { max-width: 640px; }
.section__lead { margin-top: 16px; color: var(--muted); font-size: 1.08rem; max-width: 600px; }
.section__lead a { color: var(--navy); font-weight: 600; }
.section__lead--light { color: rgba(243, 236, 223, .8); }
.footer__link { background: none; border: 0; padding: 0; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.footer__link:hover { color: #fff; text-decoration: underline; }

/* Pasos: franja editorial, sin tarjetas */
#como-reservar { padding: clamp(48px, 6vw, 80px) 0; }
#como-reservar .section__head { margin-bottom: 8px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { padding: 28px 28px 8px 0; }
@media (min-width: 760px) { .step + .step { border-left: 1px solid var(--line); padding-left: 28px; } }
@media (max-width: 759px) { .step + .step { border-top: 1px solid var(--line); } }
.step__n { font: 700 .78rem/1 var(--font-body); letter-spacing: .16em; color: var(--gold); display: block; margin-bottom: 14px; }
.step h3 { font-size: 1.4rem; margin-bottom: 10px; color: var(--navy); }
.step p { color: var(--muted); }

/* Filtros */
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--navy); font: 600 .88rem/1 var(--font-body); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.chip:hover { border-color: var(--navy); }
.chip.is-active { background: var(--navy); color: var(--sand); border-color: var(--navy); }

/* Tarjetas de departamentos */
.units__status { color: var(--muted); margin: 0 0 18px; }
.units__status:empty { display: none; }
.units { display: grid; gap: clamp(18px, 2.4vw, 28px); grid-template-columns: 1fr; }
@media (min-width: 680px) { .units { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .units { grid-template-columns: repeat(3, 1fr); } }
.unit { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .55s var(--ease), box-shadow .55s var(--ease); }
.unit:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.unit[hidden] { display: none; }
.unit__gallery { position: relative; background: var(--sand-2); }
.unit__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; aspect-ratio: 1 / 1; }
/* La primera Lux ocupa dos columnas: ritmo en la grilla y la mejor foto más grande */

.unit__track::-webkit-scrollbar { display: none; }
.unit__track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; transition: transform 1.2s var(--ease); }
.unit:hover .unit__track img { transform: scale(1.025); }
.unit__nav { position: absolute; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; border: 0; background: rgba(251, 248, 242, .92); color: var(--navy); font-size: 1.1rem; cursor: pointer; display: grid; place-items: center; opacity: 0; transition: opacity .3s, transform .3s var(--ease); box-shadow: 0 6px 16px -8px rgba(0, 0, 0, .5); }
.unit__nav--prev { left: 10px; }
.unit__nav--next { right: 10px; }
.unit__nav:disabled { visibility: hidden; }
.unit__gallery:hover .unit__nav, .unit__nav:focus-visible { opacity: 1; }
/* En táctil las flechas bajan al pie de la foto: el centro queda libre para deslizar con el pulgar */
@media (hover: none) and (pointer: coarse) {
  .unit__nav { opacity: .92; top: auto; bottom: 10px; margin-top: 0; width: 44px; height: 44px; }
  .unit__nav--prev { left: 10px; }
  .unit__nav--next { right: 62px; }
}
.unit__count { position: absolute; right: 10px; bottom: 10px; font-size: .75rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(11, 23, 48, .72); color: #fff; }
.unit__tag { position: absolute; left: 10px; top: 10px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; padding: 5px 10px; border-radius: 999px; background: rgba(251, 248, 242, .94); color: var(--navy); }
.unit__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.unit__name { font-size: 1.45rem; color: var(--navy); }
.unit__name a { text-decoration: none; color: inherit; }
.unit__name a:hover { color: var(--gold); }
.unit__tagline { color: var(--muted); font-size: .96rem; }
/* Datos como una línea, no pastillas */
.unit__facts { list-style: none; padding: 0; margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 0; color: var(--muted); font-size: .9rem; font-weight: 500; }
.unit__facts li + li::before { content: "·"; margin: 0 8px; color: var(--gold); }
.unit__foot { margin-top: auto; padding-top: 12px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid var(--line); }
.unit__price { line-height: 1.15; }
.unit__price small { display: block; color: var(--muted); font-size: .78rem; }
.unit__price strong { font: 500 1.55rem/1.1 var(--font-display); color: var(--navy); }
.unit__price span { color: var(--muted); font-size: .85rem; }
.unit__actions { display: flex; gap: 8px; }
.unit__actions .btn { min-height: 44px; padding: 10px 16px; font-size: .88rem; }

/* Experiencias */
.exp-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 860px) { .exp-grid { grid-template-columns: 1.25fr 1fr 1fr; } }
.exp { position: relative; display: block; border-radius: var(--radius); overflow: hidden; min-height: 340px; text-decoration: none; color: #fff; isolation: isolate; }
.exp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease); }
.exp::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 23, 48, 0) 30%, rgba(11, 23, 48, .88) 100%); }
.exp:hover img { transform: scale(1.04); }
.exp__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px; display: flex; flex-direction: column; gap: 6px; }
.exp__kicker { font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--gold-soft); }
.exp__title { font: 500 1.6rem/1.1 var(--font-display); }
.exp__text { color: rgba(255, 255, 255, .85); font-size: .95rem; max-width: 34ch; }

/* Ubicación */
.location { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 920px) { .location { grid-template-columns: 1fr 1.1fr; } }
.distances { list-style: none; padding: 0; margin: 28px 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.distances li { background: var(--paper); padding: 16px 18px; }
.distances strong { display: block; font: 500 1.6rem/1.1 var(--font-display); color: var(--navy); }
.distances span { color: var(--muted); font-size: .9rem; }
.location__how { color: var(--muted); margin-bottom: 22px; }
.location__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.map { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--sand-2); position: relative; box-shadow: var(--shadow); }
.map__placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; isolation: isolate; }
.map__placeholder img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.map__placeholder::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11, 23, 48, .45); }
.map__note { color: rgba(255, 255, 255, .9); font-size: .82rem; }
.map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map__lock { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); z-index: 2; }
.map__lock:hover { transform: translateX(-50%) translateY(-2px); }

/* Café Berna: solo texto, sin insignia (el café aún no abre) */
#cafe-berna { padding: clamp(48px, 6vw, 80px) 0; }
.cafe { max-width: 640px; }
.cafe .btn { margin-top: 24px; }

/* Opiniones: una línea dentro de Ubicación, con enlaces a cada plataforma */
.platforms { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .95rem; line-height: 1.8; }
.platforms a { color: var(--navy); font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--gold); white-space: nowrap; }
.platforms a:hover { color: var(--gold); }

/* Qué hacer en Pichilemu: lista de guías existentes */
.guides { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.guides a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-light); color: var(--sand); text-decoration: none; font-weight: 600; font-size: .92rem; transition: background-color .25s, border-color .25s; }
.guides a:hover { background: rgba(243, 236, 223, .1); border-color: var(--gold-soft); }
.guides a::after { content: "→"; color: var(--gold-soft); transition: transform .35s var(--ease); }
.guides a:hover::after { transform: translateX(3px); }

/* FAQ */
.faq-wrap { display: grid; gap: 40px; grid-template-columns: 1fr; }
@media (min-width: 920px) { .faq-wrap { grid-template-columns: .9fr 1.1fr; gap: 72px; } .faq-wrap .section__head { margin: 0; position: sticky; top: 110px; align-self: start; } }
.faq-wrap .section__head .btn { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font: 500 1.25rem/1.3 var(--font-display); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 12px; height: 12px; margin-top: -8px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(225deg); margin-top: -2px; }
.faq details p { padding: 0 0 22px; color: var(--muted); max-width: 60ch; }
.faq details[open] p { animation: fadeIn .45s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* LEMU (discreto) */
.lemu { background: var(--paper); border-top: 1px solid var(--line); padding: 28px 0; }
.lemu__inner { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.lemu__mark { width: 52px; height: 52px; border-radius: 14px; background: var(--sand); color: var(--navy); display: grid; place-items: center; flex: none; }
.lemu__text { flex: 1 1 320px; }
.lemu__kicker { font-weight: 700; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
.lemu__title { color: var(--muted); font-size: .95rem; margin-top: 4px; max-width: 70ch; }
.lemu__link { font-weight: 700; color: var(--navy); text-decoration: none; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; transition: color .25s; }
.lemu__link span { display: inline-block; transition: transform .35s var(--ease); }
.lemu__link:hover span { transform: translateX(4px); }

/* Footer */
.footer { background: var(--navy-2); color: rgba(243, 236, 223, .82); padding: 64px 0 28px; font-size: .95rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; gap: 32px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; } }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__h { font-weight: 700; color: var(--sand); margin-bottom: 14px; letter-spacing: .08em; text-transform: uppercase; font-size: .78rem; }
.brand--footer { color: var(--sand); margin-bottom: 16px; }
.footer__legal { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between; font-size: .85rem; }
.footer__lang:empty { display: none; }
/* En móvil el pie termina por encima de los botones fijos (CTA y WhatsApp) */
@media (max-width: 767px) {
  .footer { padding-bottom: calc(28px + 96px + env(safe-area-inset-bottom, 0px)); }
  .footer__legal { flex-direction: column; align-items: flex-start; }
  .footer__lang { order: -1; }
}
.units__index { margin-top: 28px; color: var(--muted); font-size: .9rem; line-height: 1.9; }
.units__index a { color: var(--navy); text-decoration: none; border-bottom: 1px solid var(--line); white-space: nowrap; }
.units__index a:hover { border-color: var(--gold); }

/* CTA fija móvil */
/* Deja libre el globo de WhatsApp (derecha, 56 px) */
.mobile-cta { position: fixed; left: 16px; right: 86px; bottom: 18px; z-index: 800; transform: translateY(140%); transition: transform .5s var(--ease); }
.mobile-cta .btn { width: 100%; background: var(--navy); color: var(--sand); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .55); }
.mobile-cta.is-visible { transform: none; }
@media (min-width: 768px) { .mobile-cta { display: none; } }

/* Aparición al hacer scroll (solo con JS y sin reduced-motion) */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__video { display: none; }
}
