/* ==========================================================================
   Villa Bosque II 31 — estilos
   Portada con vuelo de dron por scroll + secciones que se mueven con el scroll.
   Letra de titulares: Cormorant Garamond (fina, editorial). Texto: Manrope.
   Fotos: nunca dependen solo de aspect-ratio y se usa top/right/bottom/left en vez de inset
   (en iPhones reales las fotos no salían con eso).
   ========================================================================== */
:root {
  --ink: #1D1812;            /* texto principal */
  --hueso: #F4EFE6;          /* texto sobre oscuro */
  --claro: #F7F3EC;          /* texto sobre el video */
  --papel: #F7F3EC;          /* fondo claro */
  --trav: #EEE8DD;           /* travertino: secciones alternas */
  --trav-2: #E5DDCF;
  --body-dim: #332C25;
  --muted: #4A4239;
  --muted-dark: #D3CCBF;
  --footer-dim: #A9A193;
  --laton: #C29D62; --laton-claro: #DCC08C; --laton-osc: #7A5C2E;
  --noche: #0B0F0C;
  --wa: #25D366;
  --linea: rgba(29, 24, 18, .14);
  --linea-2: rgba(29, 24, 18, .22);
  --linea-3: rgba(29, 24, 18, .35);
  --linea-hueso: rgba(244, 239, 230, .45);

  --f-serif: 'Cormorant Garamond', 'Cormorant', Georgia, 'Times New Roman', serif;
  --f-ui: 'Manrope', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --head-h: 72px;
  --gutter: clamp(18px, 4vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
  --bot-w: 150px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--noche); }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--papel); color: var(--ink); font: 400 16px/1.6 var(--f-ui); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--laton-osc); }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.page { overflow: clip; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--laton); outline-offset: 3px; border-radius: 999px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid var(--laton); outline-offset: 2px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border-radius: 999px;
  font: 600 12.5px/1 var(--f-ui); letter-spacing: .16em; text-transform: uppercase; border: 1px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background .25s, color .25s, border-color .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-claro { background: var(--claro); color: var(--ink); }
.btn-claro:hover { background: #fff; color: var(--ink); }
.btn-borde { border-color: rgba(247, 243, 236, .6); color: var(--claro); }
.btn-borde:hover { border-color: #fff; color: #fff; }
.btn-oscuro { background: var(--ink); color: var(--hueso); }
.btn-oscuro:hover { background: var(--laton-osc); color: var(--hueso); }
.btn-linea { border-color: var(--linea-3); color: var(--ink); }
.btn-linea:hover { background: var(--ink); color: var(--hueso); }
.btn-solid { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border-radius: 999px; font: 600 12.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--hueso); border: 1px solid var(--ink); cursor: pointer; transition: background .2s, border-color .2s; }
.btn-solid:hover { background: var(--laton-osc); border-color: var(--laton-osc); color: var(--hueso); }
.btn-solid[aria-disabled="true"], .btn-solid:disabled { opacity: .35; pointer-events: none; }
.btn-wa { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: 999px; font: 700 13px/1 var(--f-ui); background: var(--wa); color: #0B2614; border: 0; cursor: pointer; transition: background .2s; }
.btn-wa:hover { background: #1fbd5a; color: #0B2614; }
.btn-wa svg { width: 18px; height: 18px; flex: none; }
.btn-outline { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--linea-3); font: 600 12px/1 var(--f-ui); }

/* ---------- Encabezado ---------- */
.top {
  position: fixed; top: 0; right: 0; left: 0; z-index: 50;
  height: calc(var(--head-h) + env(safe-area-inset-top)); padding: env(safe-area-inset-top) var(--gutter) 0;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; color: var(--claro);
  transition: background .45s, color .45s, border-color .45s, -webkit-backdrop-filter .45s, backdrop-filter .45s;
  border-bottom: 1px solid transparent;
}
.top a { color: inherit; }
.top.solida { background: rgba(247, 243, 236, .86); -webkit-backdrop-filter: saturate(1.3) blur(14px); backdrop-filter: saturate(1.3) blur(14px); color: var(--ink); border-bottom-color: var(--linea); }
.marca { justify-self: start; display: grid; line-height: 1; text-shadow: 0 1px 12px rgba(0, 0, 0, .25); }
.top.solida .marca { text-shadow: none; }
.marca-pre { font: 600 9.5px/1 var(--f-ui); letter-spacing: .5em; text-transform: uppercase; opacity: .85; margin-bottom: 4px; }
.marca-nom { font: 400 27px/1 var(--f-serif); letter-spacing: -.005em; }
.marca-nom em { font-style: italic; font-weight: 300; }
.top-nav { display: flex; gap: 30px; }
.top-nav a { font: 500 12.5px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; position: relative; padding: 6px 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .25); }
.top.solida .top-nav a { text-shadow: none; }
.top-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.top-nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.top-acc { justify-self: end; display: flex; gap: 10px; align-items: center; }
.lang { min-height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid currentColor; background: none; cursor: pointer; font: 600 11.5px/1 var(--f-ui); letter-spacing: .14em; opacity: .9; }
.btn-top { min-height: 40px; padding: 0 20px; background: var(--claro); color: var(--ink) !important; }
.top.solida .btn-top { background: var(--ink); color: var(--hueso) !important; }

/* ==========================================================================
   Vuelo por scroll
   ========================================================================== */
.vuelo { position: relative; height: 640vh; background: #0b0f0c; }
.vuelo-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; --s: min(100vh / 800, 100vw / 716); }
.vuelo-poster, .vuelo-video { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.vuelo-poster { transform-origin: 50% 62%; will-change: transform; }
.vuelo-video { opacity: 0; transition: opacity .35s ease; }
.vuelo-video.on { opacity: 1; }
.tint {
  position: absolute; top: 0; right: 0; bottom: 0; left: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 50% 38% at 50% 34%, rgba(14, 12, 8, .40), rgba(14, 12, 8, 0) 100%),
    linear-gradient(to bottom, rgba(14, 12, 8, .48) 0%, rgba(14, 12, 8, .12) 24%, rgba(0, 0, 0, 0) 42%, rgba(14, 12, 8, .06) 56%, rgba(14, 12, 8, .5) 100%);
}

/* Composición inicial: escenario 1280×800 escalado, eje central en espejo */
.stage {
  position: absolute; left: 50%; top: 50%; width: 1280px; height: 800px; margin: -400px 0 0 -640px;
  transform: scale(var(--s)); transform-origin: 50% 50%; color: var(--claro); will-change: opacity, transform;
}
.eyebrow {
  position: absolute; left: 0; top: 70px; width: 1280px; margin: 0; text-align: center; text-transform: uppercase;
  font: 600 11px/11px var(--f-ui); letter-spacing: .42em; text-indent: .42em; text-shadow: 0 1px 4px rgba(0, 0, 0, .5);
}
.eyebrow span { display: block; }
.headline { position: absolute; left: 0; top: 0; width: 1280px; margin: 0; font-weight: 400; text-align: center; text-shadow: 0 10px 40px rgba(0, 0, 0, .45), 0 2px 8px rgba(0, 0, 0, .28); }
.hl { position: absolute; left: 0; width: 1280px; display: block; white-space: nowrap; }
.hl-s { font: italic 300 74px/1 var(--f-serif); letter-spacing: -.005em; }
.hl-b { font: 300 122px/1 var(--f-serif); letter-spacing: -.02em; }
.hl1 { top: 100px; } .hl2 { top: 166px; } .hl3 { top: 292px; } .hl4 { top: 358px; }
.mark { position: absolute; left: 608px; top: 500px; width: 64px; height: 64px; color: var(--laton-claro); filter: drop-shadow(0 2px 8px rgba(0, 0, 0, .35)); }
.feature { position: absolute; top: 0; width: 330px; color: #fff; }
.f-left { text-align: right; right: 698px; }
.f-right { text-align: left; left: 698px; }
.feature .icon { position: absolute; width: 38px; height: 38px; top: 552px; color: var(--laton-claro); filter: drop-shadow(0 1px 4px rgba(0, 0, 0, .4)); }
.f-left .icon { right: 0; } .f-right .icon { left: 0; }
.feature h2 { position: absolute; top: 612px; margin: 0; white-space: nowrap; font-weight: 400; text-shadow: 0 1px 3px rgba(0, 0, 0, .6), 0 4px 16px rgba(0, 0, 0, .4); }
.f-left h2 { right: 0; } .f-right h2 { left: 0; }
.feature h2 span { display: block; }
.feature .t1 { font: 600 12px/1.2 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; margin-bottom: 6px; }
.feature .t2 { font: italic 400 34px/1 var(--f-serif); }
.feature p { position: absolute; top: 682px; width: 280px; margin: 0; font: 400 13px/1.5 var(--f-ui); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 2px 12px rgba(0, 0, 0, .45); }
.f-left p { right: 0; } .f-right p { left: 0; }

/* Entrada de ~1.8 s */
@media (prefers-reduced-motion: no-preference) {
  .is-loaded .eyebrow { animation: riseIn .6s cubic-bezier(.33, .9, .35, 1) .15s both; }
  .is-loaded .hl { animation: lineIn 1s var(--ease) both; }
  .is-loaded .hl1 { animation-delay: .28s; } .is-loaded .hl2 { animation-delay: .38s; }
  .is-loaded .hl3 { animation-delay: .48s; } .is-loaded .hl4 { animation-delay: .58s; }
  .is-loaded .mark { animation: markIn .8s cubic-bezier(.2, .9, .25, 1) .76s both; }
  .is-loaded .f-left { animation: blockInL .8s var(--ease) .86s both; }
  .is-loaded .f-right { animation: blockInR .8s var(--ease) .94s both; }
  html:not(.is-loaded) .stage > * { opacity: 0; }
}
@keyframes riseIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes lineIn {
  0% { opacity: 0; transform: translateY(.26em); clip-path: inset(100% -30% 0% -30%); }
  35% { opacity: 1; }
  90% { clip-path: inset(0% -30% -100% -30%); }
  100% { opacity: 1; transform: none; clip-path: inset(-80% -30% -100% -30%); }
}
@keyframes markIn { from { opacity: 0; transform: scale(.86) rotate(-20deg); } to { opacity: 1; transform: none; } }
@keyframes blockInL { from { opacity: 0; transform: translate(-12px, 8px); } to { opacity: 1; transform: none; } }
@keyframes blockInR { from { opacity: 0; transform: translate(12px, 8px); } to { opacity: 1; transform: none; } }

/* Textos durante el vuelo (con sombra radial detrás: se leen también sobre interiores claros) */
.cap {
  position: absolute; left: var(--gutter); bottom: calc(clamp(60px, 12vh, 124px) + env(safe-area-inset-bottom));
  max-width: min(780px, 88vw); color: var(--claro); opacity: 0; pointer-events: none; isolation: isolate; will-change: opacity, transform;
}
.cap.on { pointer-events: auto; }
.cap::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none; top: -100px; right: -200px; bottom: -80px; left: -150px;
  background: radial-gradient(ellipse 50% 50% at 42% 50%, rgba(18, 14, 8, .58), rgba(18, 14, 8, .32) 50%, rgba(18, 14, 8, 0) 100%);
}
.cap-eyebrow { margin: 0 0 16px; font: 600 clamp(11px, .95vw, 13px)/1.3 var(--f-ui); letter-spacing: .32em; text-transform: uppercase; text-shadow: 0 1px 2px rgba(0, 0, 0, .7), 0 0 14px rgba(0, 0, 0, .4); }
.cap-title { margin: 0; font: 300 clamp(50px, 7.4vw, 124px)/.92 var(--f-serif); letter-spacing: -.02em; text-shadow: 0 14px 44px rgba(0, 0, 0, .45); }
.cap-title em { font-style: italic; font-weight: 300; }
.cap-btns { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.cap-2 { left: auto; right: var(--gutter); text-align: right; }

.rail {
  position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); list-style: none; margin: 0; padding: 0;
  display: grid; gap: 22px; opacity: 0; transition: opacity .6s;
  font: 600 11px/1 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .62); text-shadow: 0 1px 3px rgba(0, 0, 0, .4);
}
.rail li { display: flex; align-items: center; justify-content: flex-end; gap: 12px; transition: color .4s; }
.rail li::after { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; transition: background .4s, transform .4s; }
.rail li.on { color: #fff; }
.rail li.on::after { background: var(--laton-claro); border-color: var(--laton-claro); transform: scale(1.35); }
.vuelo.past-intro .rail { opacity: 1; }

.hint {
  position: absolute; right: var(--gutter); bottom: calc(26px + env(safe-area-inset-bottom)); display: grid; justify-items: center; gap: 10px;
  font: 600 10.5px/1 var(--f-ui); letter-spacing: .34em; text-transform: uppercase; color: rgba(255, 255, 255, .88); transition: opacity .5s;
}
.hint i { width: 1px; height: 38px; background: linear-gradient(rgba(255, 255, 255, .9), rgba(255, 255, 255, 0)); animation: drip 1.8s ease-in-out infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
.vuelo.past-intro .hint { opacity: 0; }

.loadbar { position: absolute; left: 0; right: 0; top: calc(var(--head-h) + env(safe-area-inset-top)); height: 1px; background: rgba(255, 255, 255, .18); transition: opacity .6s .3s; }
.loadbar i { display: block; height: 100%; width: 0; background: var(--laton-claro); transition: width .3s; }
.vuelo.all-loaded .loadbar { opacity: 0; }
.load-note {
  position: absolute; left: 50%; bottom: calc(26px + env(safe-area-inset-bottom)); transform: translateX(-50%); margin: 0;
  padding: 9px 16px; border-radius: 999px; background: rgba(18, 14, 8, .45); color: var(--claro); white-space: nowrap;
  font: 600 11px/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; transition: opacity .5s;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.vuelo.is-ready:not(.is-waiting) .load-note { opacity: 0; }

/* ==========================================================================
   Elementos comunes de las secciones
   ========================================================================== */
.kicker { margin: 0 0 14px; font: 600 11px/1.3 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--laton-osc); display: flex; align-items: center; gap: 12px; }
.kicker::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.kicker--claro { color: var(--laton-claro); }
.sec { padding: clamp(80px, 11vw, 150px) var(--gutter); position: relative; }
.sec--papel { background: var(--papel); }
.sec--trav { background: var(--trav); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.sec-h { margin: 0; font: 300 clamp(44px, 5.6vw, 88px)/.98 var(--f-serif); letter-spacing: -.02em; }
.sec-h em, .about-h em, .contact-h em, .quote-q em { font-style: italic; font-weight: 300; color: var(--laton-osc); }
.sec-note { margin: 0; font: 600 11px/1.3 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Revelado al entrar en pantalla */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.steps .reveal:nth-child(2) { transition-delay: .08s; } .steps .reveal:nth-child(3) { transition-delay: .16s; } .steps .reveal:nth-child(4) { transition-delay: .24s; }

/* Marco de foto sin aspect-ratio: el alto lo da un ::before con padding-top */
.foto { position: relative; overflow: hidden; background: var(--trav-2); }
.foto::before { content: ""; display: block; padding-top: var(--alto, 75%); }
.foto img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   La villa
   ========================================================================== */
.about { background: var(--papel); padding: clamp(90px, 12vw, 170px) var(--gutter) clamp(90px, 10vw, 150px); position: relative; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.about-h { margin: 0 0 28px; font: 300 clamp(40px, 4.4vw, 68px)/1.02 var(--f-serif); letter-spacing: -.018em; text-wrap: pretty; }
.eyebrow-dot { margin: 0 0 22px; font: 600 11px/1.3 var(--f-ui); letter-spacing: .26em; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.eyebrow-dot .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--laton); display: inline-block; }
.about-body { margin: 0 0 30px; font-size: 16px; line-height: 1.75; max-width: 30em; color: var(--body-dim); }
.stats { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--linea); }
.stat-n { font: 300 60px/1 var(--f-serif); letter-spacing: -.02em; }
.stat-n small { font-size: .38em; letter-spacing: 0; margin-left: 4px; color: var(--laton-osc); font-style: italic; }
.stat-l { margin: 10px 0 0; font-size: 13px; color: var(--muted); }
.about-media { position: relative; padding-bottom: 12%; }
.about-media .foto-a { --alto: 118%; width: 78%; margin-left: auto; border-radius: 2px; }
.about-media .foto-b { --alto: 120%; position: absolute; left: 0; bottom: 0; width: 44%; border: 10px solid var(--papel); box-shadow: 0 30px 60px -30px rgba(29, 24, 18, .45); }
.about-media .foto img { transform: scale(1.12); }
.foto-nota { position: absolute; right: 0; bottom: 3%; margin: 0; font: italic 400 18px/1.2 var(--f-serif); color: var(--muted); }

/* ==========================================================================
   Sesión de fotos: el collage se abre hasta llenar la pantalla + tiras que corren
   ========================================================================== */
.sesion { position: relative; background: var(--noche); color: var(--hueso); }
.collage { position: relative; height: 340vh; }
.collage-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.collage-grid { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform-origin: 50% 50%; will-change: transform; }
.cg { position: absolute; overflow: hidden; border-radius: 3px; background: #1a1d1a; will-change: transform; }
.cg img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
/* centro y 8 alrededor (en % de la pantalla) */
.cg-c { left: 32%; top: 27%; width: 36%; height: 46%; z-index: 2; }
.cg-1 { left: 6%;  top: 6%;  width: 23%; height: 32%; }
.cg-2 { left: 34%; top: -14%; width: 26%; height: 36%; }
.cg-3 { left: 71%; top: 4%;  width: 24%; height: 30%; }
.cg-4 { left: -4%; top: 43%; width: 33%; height: 36%; }
.cg-5 { left: 71%; top: 38%; width: 31%; height: 34%; }
.cg-6 { left: 8%;  top: 83%; width: 22%; height: 28%; }
.cg-7 { left: 36%; top: 77%; width: 28%; height: 34%; }
.cg-8 { left: 72%; top: 76%; width: 22%; height: 30%; }
.collage-sombra { position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 3; pointer-events: none; opacity: 0; background: linear-gradient(to top, rgba(8, 9, 8, .78), rgba(8, 9, 8, .18) 55%, rgba(8, 9, 8, .38)); }
.collage-txt { position: absolute; z-index: 4; left: var(--gutter); right: var(--gutter); bottom: clamp(56px, 12vh, 130px); opacity: 0; will-change: opacity, transform; }
.collage-h { margin: 0; font: 300 clamp(48px, 7vw, 116px)/.94 var(--f-serif); letter-spacing: -.02em; max-width: 12em; text-shadow: 0 10px 40px rgba(0, 0, 0, .4); }
.collage-h em { font-style: italic; color: var(--laton-claro); }
.collage-b { margin: 22px 0 0; max-width: 32em; font-size: 16px; line-height: 1.7; color: rgba(244, 239, 230, .86); }
.collage-intro { position: absolute; z-index: 4; left: 0; right: 0; top: 24.4%; text-shadow: 0 1px 8px rgba(0, 0, 0, .6); text-align: center; margin: 0; font: 600 11px/1.3 var(--f-ui); letter-spacing: .34em; text-transform: uppercase; color: var(--laton-claro); }

.tiras { padding: clamp(70px, 9vw, 130px) 0 clamp(80px, 10vw, 140px); overflow: hidden; }
.tiras-head { padding: 0 var(--gutter); margin-bottom: clamp(34px, 4vw, 56px); display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.tiras-h { margin: 0; font: 300 clamp(40px, 4.8vw, 76px)/1 var(--f-serif); letter-spacing: -.02em; }
.tiras-h em { font-style: italic; color: var(--laton-claro); }
.tiras-n { margin: 0; font: 600 11px/1.3 var(--f-ui); letter-spacing: .24em; text-transform: uppercase; color: rgba(244, 239, 230, .7); }
.tira { display: flex; gap: clamp(10px, 1.4vw, 20px); width: max-content; will-change: transform; }
.tira + .tira { margin-top: clamp(10px, 1.4vw, 20px); }
.tira button { padding: 0; border: 0; background: #1a1d1a; cursor: zoom-in; position: relative; overflow: hidden; flex: none; width: clamp(240px, 30vw, 520px); border-radius: 3px; }
.tira button::before { content: ""; display: block; padding-top: 66.6%; }
.tira img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.92); }
.tira button:hover img { transform: scale(1.06); filter: saturate(1.05); }
.tira button span { position: absolute; left: 14px; bottom: 12px; font: italic 400 20px/1 var(--f-serif); color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .6); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .5s var(--ease); }
.tira button:hover span, .tira button:focus-visible span { opacity: 1; transform: none; }
.tira-b button { width: clamp(200px, 24vw, 420px); }

/* ==========================================================================
   La casa, espacio por espacio: scroll horizontal con giro 3D + diapositivas
   ========================================================================== */
.espacios { position: relative; background: var(--trav); padding-top: clamp(80px, 9vw, 130px); }
.esp-head { padding: 0 var(--gutter) clamp(26px, 3vw, 44px); }
.esp-pin { position: sticky; top: var(--head-h); height: calc(100vh - var(--head-h)); height: calc(100svh - var(--head-h)); overflow: hidden; }
.esp-track { display: flex; height: 100%; will-change: transform; }
.esp { flex: none; width: 100vw; height: 100%; padding: clamp(10px, 2.4vh, 28px) var(--gutter) clamp(54px, 8vh, 80px); display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: clamp(26px, 4vw, 70px); align-items: center; perspective: 1600px; }
.esp-media { position: relative; height: 100%; max-height: 74vh; overflow: hidden; border-radius: 3px; background: var(--trav-2) center / cover no-repeat; cursor: zoom-in; box-shadow: 0 40px 80px -46px rgba(29, 24, 18, .6); transform-origin: 50% 50%; will-change: transform; }
.esp-media img { position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s ease; transform: translateX(var(--px, 0px)) scale(1.12); }
.esp-media img.on { opacity: 1; animation: kb 7s linear both; }
.esp-media img:nth-child(even).on { animation-name: kb2; }
@keyframes kb { from { transform: translateX(var(--px, 0px)) scale(1.12); } to { transform: translateX(var(--px, 0px)) scale(1.2) translate(-1.2%, -.8%); } }
@keyframes kb2 { from { transform: translateX(var(--px, 0px)) scale(1.2) translate(1%, .6%); } to { transform: translateX(var(--px, 0px)) scale(1.12); } }
.esp-tag { position: absolute; top: 18px; left: 20px; z-index: 2; padding: 8px 14px; border-radius: 999px; background: rgba(247, 243, 236, .9); font: 600 11px/1 var(--f-ui); letter-spacing: .22em; text-transform: uppercase; color: var(--ink); }
.esp-dots { position: absolute; left: 20px; bottom: 18px; display: flex; gap: 8px; z-index: 2; }
.esp-dots button { width: 34px; height: 3px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, .45); cursor: pointer; overflow: hidden; position: relative; }
.esp-dots button::before { content: ""; position: absolute; top: -10px; right: 0; bottom: -10px; left: 0; }
.esp-dots button.on::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: #fff; transform-origin: left; animation: fill 5s linear both; }
@keyframes fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.esp-card { will-change: transform, opacity; }
.esp-num { margin: 0 0 18px; font: 600 11px/1 var(--f-ui); letter-spacing: .3em; text-transform: uppercase; color: var(--laton-osc); }
.esp-name { margin: 0; font: 300 clamp(46px, 5vw, 86px)/.95 var(--f-serif); letter-spacing: -.02em; }
.esp-desc { margin: 20px 0 24px; color: var(--body-dim); max-width: 26em; font-size: 15.5px; line-height: 1.7; }
.esp-specs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; padding: 0; list-style: none; }
.esp-specs li { padding: 9px 14px; border-radius: 999px; border: 1px solid var(--linea-2); font: 600 11px/1 var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.esp-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 26px; height: 1px; background: var(--linea-2); }
.esp-progress i { display: block; height: 100%; width: 0; background: var(--ink); }
.esp-spacer { pointer-events: none; }

/* ==========================================================================
   Franja: la foto se acerca y "Casa de Campo" se abre
   ========================================================================== */
.franja { position: relative; height: 230vh; background: var(--noche); }
.franja-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; color: #fff; }
.franja-foto { position: absolute; top: 0; right: 0; bottom: 0; left: 0; transform-origin: 50% 60%; will-change: transform; }
.franja-foto img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.franja-foto::after { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; background: radial-gradient(ellipse 60% 42% at 50% 52%, rgba(8, 9, 8, .38), rgba(8, 9, 8, 0) 100%), linear-gradient(to bottom, rgba(8, 9, 8, .55) 0%, rgba(8, 9, 8, .14) 30%, rgba(8, 9, 8, .18) 62%, rgba(8, 9, 8, .78) 100%); }
.franja-titulo { position: relative; z-index: 2; margin: 0; display: flex; gap: .22em; font: 300 clamp(70px, 13vw, 230px)/.9 var(--f-serif); letter-spacing: -.03em; white-space: nowrap; text-shadow: 0 2px 6px rgba(0, 0, 0, .35), 0 14px 60px rgba(0, 0, 0, .55); }
.franja-titulo span { display: inline-block; will-change: transform; }
.franja-titulo em { font-style: italic; }
.franja-txt { position: absolute; z-index: 2; left: 50%; bottom: 13vh; transform: translateX(-50%); width: min(820px, calc(100% - 2 * var(--gutter))); text-align: center; opacity: 0; will-change: opacity, transform; isolation: isolate; }
.franja-txt::before { content: ""; position: absolute; z-index: -1; top: -70px; right: -120px; bottom: -60px; left: -120px; background: radial-gradient(ellipse 50% 50% at 50% 55%, rgba(12, 10, 6, .55), rgba(12, 10, 6, 0) 100%); pointer-events: none; }
.franja-txt .kicker { justify-content: center; }
.franja-txt .kicker::after { content: ""; width: 28px; height: 1px; background: currentColor; }
.franja-h { margin: 0; font: 300 clamp(30px, 3.4vw, 54px)/1.1 var(--f-serif); text-shadow: 0 4px 24px rgba(0, 0, 0, .5); }
.franja-h em { font-style: italic; color: var(--laton-claro); }

/* ==========================================================================
   Promesa: la frase se ilumina palabra por palabra
   ========================================================================== */
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr); gap: clamp(36px, 6vw, 90px); align-items: start; }
.quote-q { margin: 0; font: 300 clamp(32px, 3.6vw, 58px)/1.14 var(--f-serif); letter-spacing: -.012em; text-wrap: pretty; }
.quote-q .w { opacity: .16; transition: opacity .25s linear; }
.quote-q .w.lit { opacity: 1; }
.quote-b { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--muted); max-width: 30em; }
.datos-rapidos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--linea); margin: 30px 0 0; border: 1px solid var(--linea); }
.datos-rapidos div { background: var(--trav); padding: 16px 18px; }
.datos-rapidos dt { font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.datos-rapidos dd { margin: 6px 0 0; font: 400 24px/1.1 var(--f-serif); }

/* ==========================================================================
   Cómo reservar
   ========================================================================== */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); margin-top: clamp(44px, 5vw, 70px); padding-top: 34px; }
.steps-linea { position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--linea-2); }
.steps-linea i { display: block; height: 100%; width: 100%; background: var(--laton-osc); transform: scaleX(0); transform-origin: left; will-change: transform; }
.step { position: relative; }
.step::before { content: ""; position: absolute; left: 0; top: -39px; width: 9px; height: 9px; border-radius: 50%; background: var(--papel); border: 1px solid var(--laton-osc); }
.step-n { margin: 0 0 22px; font: 600 11px/1.3 var(--f-ui); letter-spacing: .2em; color: var(--laton-osc); }
.step-h { margin: 0 0 12px; font: 400 clamp(28px, 2.4vw, 36px)/1.05 var(--f-serif); letter-spacing: -.01em; }
.step-b { margin: 0; font-size: 14.5px; line-height: 1.75; color: var(--muted); }

/* ==========================================================================
   Calendario y cotización
   ========================================================================== */
.cal-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 1px; margin-top: clamp(40px, 4vw, 60px); background: var(--linea); border: 1px solid var(--linea); }
.cal-box { background: var(--papel); padding: 26px 26px 22px; }
.cal-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.cal-nav button { width: 42px; height: 42px; border-radius: 999px; border: 1px solid var(--linea-2); background: none; cursor: pointer; display: grid; place-items: center; transition: background .2s, color .2s; }
.cal-nav button:hover { background: var(--ink); color: var(--hueso); }
.cal-nav button:disabled { opacity: .3; pointer-events: none; }
.cal-nav svg { width: 16px; height: 16px; }
.cal-meses { display: grid; grid-template-columns: repeat(var(--meses, 2), minmax(0, 1fr)); gap: 32px; }
.cal-mes h3 { margin: 0 0 12px; font: 400 28px/1.1 var(--f-serif); }
.cal-sem, .cal-dias { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cal-sem span { font: 600 10.5px/1 var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); text-align: center; padding: 4px 0 10px; }
.dia { position: relative; height: 44px; border: 0; background: none; font: 600 14px/1 var(--f-ui); cursor: pointer; padding: 0; display: grid; place-items: center; font-variant-numeric: tabular-nums; transition: background .15s; }
.dia:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.dia.pasado { color: rgba(29, 24, 18, .25); cursor: default; box-shadow: none; }
.dia.ocupado { color: rgba(29, 24, 18, .38); text-decoration: line-through; background: repeating-linear-gradient(135deg, rgba(29, 24, 18, .07) 0 2px, transparent 2px 7px); }
.dia.rango { background: rgba(194, 157, 98, .24); }
.dia.ini, .dia.fin { background: var(--ink); color: var(--hueso); text-decoration: none; }
.dia.hoy::after { content: ''; position: absolute; bottom: 6px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--laton); }
.cal-leyenda { display: flex; gap: 18px; flex-wrap: wrap; margin: 16px 0 0; padding: 0; list-style: none; font-size: 12px; color: var(--muted); }
.cal-leyenda li { display: flex; align-items: center; gap: 7px; }
.cal-leyenda i { width: 14px; height: 14px; display: inline-block; border: 1px solid var(--linea-2); }
.cal-leyenda .l-ocupado { background: repeating-linear-gradient(135deg, rgba(29, 24, 18, .18) 0 2px, transparent 2px 6px); }
.cal-leyenda .l-sel { background: var(--ink); border-color: var(--ink); }
.cal-aviso { min-height: 20px; margin: 12px 0 0; font-size: 13px; font-weight: 600; color: var(--laton-osc); }
.cotiza { background: var(--papel); padding: 28px 26px; display: flex; flex-direction: column; }
.cot-fechas { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--linea); border: 1px solid var(--linea); }
.cot-fechas div { background: var(--papel); padding: 12px 14px; }
.cot-fechas span, .cot-total span { display: block; font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cot-fechas strong { display: block; margin-top: 6px; font: 400 21px/1.15 var(--f-serif); }
.cot-lineas { margin: 20px 0 0; padding: 0; }
.cot-lineas div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.cot-lineas dt { color: var(--muted); }
.cot-lineas dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.cot-check { display: flex; gap: 10px; align-items: center; margin: 14px 0 0; font-size: 13px; color: var(--muted); cursor: pointer; }
.cot-check input { width: 17px; height: 17px; accent-color: var(--ink); }
.cot-total { display: flex; justify-content: space-between; align-items: baseline; margin: 20px 0 6px; }
.cot-total strong { font: 300 46px/1 var(--f-serif); letter-spacing: -.01em; }
.cot-nota { margin: 0 0 20px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.cot-btns { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }

/* ==========================================================================
   Registro
   ========================================================================== */
.reg-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(36px, 5vw, 80px); margin-top: clamp(40px, 4vw, 60px); align-items: start; }
.reg-intro p { margin: 0 0 18px; font-size: 15.5px; line-height: 1.75; color: var(--body-dim); max-width: 28em; }
.reg-foto { margin-top: 30px; position: relative; overflow: hidden; border-radius: 2px; }
.reg-foto::before { content: ""; display: block; padding-top: 118%; }
.reg-foto img { position: absolute; top: -8%; right: 0; bottom: -8%; left: 0; width: 100%; height: 116%; object-fit: cover; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 26px 24px; }
.campo { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.campo--full { grid-column: 1 / -1; }
.campo label, .campo legend { font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.campo input, .campo select, .campo textarea { font: inherit; font-size: 16px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid var(--linea-3); padding: 9px 0 10px; border-radius: 0; width: 100%; min-width: 0; transition: border-color .2s; }
.campo select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 55%, calc(100% - 7px) 55%; background-size: 5px 5px; background-repeat: no-repeat; cursor: pointer; }
.campo textarea { resize: vertical; min-height: 84px; line-height: 1.6; }
.campo input:focus, .campo select:focus, .campo textarea:focus { border-bottom-color: var(--ink); outline: none; }
.campo.error input, .campo.error select { border-bottom-color: #A4402C; }
.campo .err { font-size: 12px; color: #A4402C; min-height: 0; }
.checks { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.check { display: flex; gap: 11px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--body-dim); cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--ink); }
.check.error { color: #A4402C; }
.form-pie { grid-column: 1 / -1; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 6px; }
.form-estado { font-size: 13px; color: var(--muted); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.reg-ok { grid-column: 1 / -1; border: 1px solid var(--linea-2); padding: 30px 28px; background: var(--papel); }
.reg-ok h3 { margin: 0 0 10px; font: 400 38px/1.05 var(--f-serif); }
.reg-ok p { margin: 0 0 18px; font-size: 15px; line-height: 1.7; color: var(--body-dim); }
.reg-ok .codigo { display: inline-block; font-weight: 700; letter-spacing: .12em; border: 1px solid var(--linea-3); padding: 6px 12px; border-radius: 999px; margin-left: 4px; }

/* ==========================================================================
   Preguntas
   ========================================================================== */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 60px); margin-top: clamp(40px, 4vw, 60px); border-top: 1px solid var(--linea-2); }
.faq details { border-bottom: 1px solid var(--linea-2); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 48px 24px 0; position: relative; font: 400 23px/1.25 var(--f-serif); border-radius: 0; transition: color .2s; }
.faq summary:hover { color: var(--laton-osc); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 14px; height: 14px; margin-top: -7px; background: linear-gradient(currentColor, currentColor) center/14px 1px no-repeat, linear-gradient(currentColor, currentColor) center/1px 14px no-repeat; transition: transform .35s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 0 24px; font-size: 15px; line-height: 1.75; color: var(--muted); max-width: 40em; }
.faq-pie { margin: 26px 0 0; font-size: 14px; color: var(--muted); }
.faq-pie button { background: none; border: 0; padding: 0; font-weight: 700; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ==========================================================================
   Contacto
   ========================================================================== */
.contact { position: relative; overflow: hidden; background: var(--noche); color: var(--hueso); min-height: 100vh; display: flex; align-items: flex-end; }
.contact-foto { position: absolute; top: -10%; right: 0; bottom: -10%; left: 0; will-change: transform; }
.contact-foto img { width: 100%; height: 100%; object-fit: cover; opacity: .5; }
.contact::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; left: 0; z-index: 1; background: linear-gradient(to top, rgba(11, 15, 12, .96) 8%, rgba(11, 15, 12, .55) 55%, rgba(11, 15, 12, .35)); }
.contact-in { position: relative; z-index: 2; width: 100%; padding: clamp(140px, 18vw, 240px) var(--gutter) 34px; }
.contact-h { margin: 0; font: 300 clamp(48px, 7.4vw, 124px)/.96 var(--f-serif); letter-spacing: -.025em; max-width: 12em; }
.contact-h em { color: var(--laton-claro); }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; margin-top: 48px; align-items: end; }
.contact-b { margin: 0; font-size: 15.5px; line-height: 1.75; color: var(--muted-dark); max-width: 30em; }
.contact-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-top: clamp(70px, 9vw, 120px); padding-top: 20px; border-top: 1px solid rgba(244, 239, 230, .16); font-size: 12px; color: var(--footer-dim); }
.foot p { margin: 0; }
.contact a:focus-visible, .contact button:focus-visible, .visor button:focus-visible { outline-color: var(--hueso); }

/* ==========================================================================
   Visor de fotos
   ========================================================================== */
.visor { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 60; background: rgba(11, 15, 12, .97); color: var(--hueso); display: none; font-family: var(--f-ui); }
.visor.abierto { display: block; }
.visor-top { position: absolute; left: 20px; right: 20px; top: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 2; }
.visor-titulo { margin: 0; font: 400 28px/1.1 var(--f-serif); }
.visor-titulo span { font: 400 13px/1 var(--f-ui); color: var(--muted-dark); margin-left: 12px; font-variant-numeric: tabular-nums; }
.visor-img { position: absolute; top: 70px; right: 76px; bottom: 70px; left: 76px; display: grid; place-items: center; }
.visor-img img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; user-select: none; -webkit-user-drag: none; }
.visor .vbtn { width: 48px; height: 48px; border-radius: 999px; border: 1px solid var(--linea-hueso); background: rgba(11, 15, 12, .4); color: var(--hueso); cursor: pointer; display: grid; place-items: center; }
.visor .vbtn:hover { border-color: var(--hueso); }
.visor .vbtn svg { width: 18px; height: 18px; }
.visor-prev, .visor-next { position: absolute; top: 50%; margin-top: -24px; z-index: 2; }
.visor-prev { left: 16px; } .visor-next { right: 16px; }

/* ==========================================================================
   Concierge
   ========================================================================== */
.bot-btn { position: fixed; right: 18px; bottom: 14px; z-index: 50; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 22px 0 16px; border-radius: 999px; border: 1px solid rgba(244, 239, 230, .18); background: var(--ink); color: var(--hueso); font: 700 12px/1 var(--f-ui); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .18s; box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .5); }
.bot-btn:hover { background: var(--laton-osc); }
.bot-btn .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--laton-claro); box-shadow: 0 0 0 3px rgba(220, 192, 140, .22); }
.bot-btn svg { width: 20px; height: 20px; display: none; }
.bot-globo { position: fixed; right: 18px; bottom: 70px; z-index: 50; max-width: 250px; background: var(--papel); color: var(--ink); border: 1px solid var(--linea-2); padding: 12px 34px 12px 14px; font-size: 13px; line-height: 1.5; display: none; cursor: pointer; }
.bot-globo.ver { display: block; }
.bot-globo button { position: absolute; top: 6px; right: 6px; width: 24px; height: 24px; border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; color: var(--muted); }
.bot { position: fixed; right: 18px; bottom: 70px; z-index: 55; width: 390px; height: min(620px, calc(100vh - 100px)); background: var(--papel); border: 1px solid var(--linea-2); display: none; flex-direction: column; font-family: var(--f-ui); color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0, 0, 0, .45); }
.bot.abierto { display: flex; }
.bot-cab { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 14px 14px 18px; border-bottom: 1px solid var(--linea); background: var(--ink); color: var(--hueso); }
.bot-cab h2 { margin: 0; font: 400 25px/1.05 var(--f-serif); }
.bot-cab p { margin: 3px 0 0; font-size: 12px; color: var(--muted-dark); display: flex; align-items: center; gap: 7px; }
.bot-cab p i { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); display: inline-block; }
.bot-cerrar { width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--linea-hueso); background: none; color: var(--hueso); cursor: pointer; font-size: 18px; line-height: 1; }
.bot-msgs { flex: 1; overflow-y: auto; padding: 16px 14px 6px; display: flex; flex-direction: column; gap: 9px; overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; font-size: 14px; line-height: 1.55; border-radius: 16px; white-space: pre-line; overflow-wrap: anywhere; }
.msg--bot { align-self: flex-start; background: var(--trav); border-top-left-radius: 4px; }
.msg--yo { align-self: flex-end; background: var(--ink); color: var(--hueso); border-top-right-radius: 4px; }
.msg--escribiendo { color: var(--muted); font-style: italic; }
.msg .acciones { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.msg .acciones .btn-solid, .msg .acciones .btn-wa, .msg .acciones .btn-outline { min-height: 36px; padding: 0 14px; font-size: 11px; }
.bot-cal { align-self: stretch; background: var(--papel); border: 1px solid var(--linea); padding: 12px; }
.bot-cal .cal-nav { margin-bottom: 6px; }
.bot-cal .cal-nav button { width: 32px; height: 32px; }
.bot-cal .cal-mes h3 { font-size: 22px; margin-bottom: 6px; }
.bot-cal .dia { height: 34px; font-size: 13px; }
.bot-sug { display: flex; gap: 6px; overflow-x: auto; padding: 8px 14px; scrollbar-width: none; }
.bot-sug::-webkit-scrollbar { display: none; }
.bot-sug button { flex: none; font-size: 12px; font-weight: 600; padding: 8px 13px; border-radius: 999px; border: 1px solid var(--linea-2); background: var(--papel); cursor: pointer; white-space: nowrap; }
.bot-sug button:hover { background: var(--ink); color: var(--hueso); }
.bot-form { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--linea); }
.bot-form input { flex: 1; min-width: 0; font: inherit; font-size: 16px; border: 1px solid var(--linea-2); border-radius: 999px; padding: 10px 16px; background: #fff; color: var(--ink); }
.bot-form input:focus { outline: 2px solid var(--laton); outline-offset: 1px; }
.bot-form button { width: 44px; height: 44px; border-radius: 999px; border: 0; background: var(--ink); color: var(--hueso); cursor: pointer; display: grid; place-items: center; flex: none; }
.bot-form button svg { width: 18px; height: 18px; }

/* ==========================================================================
   A minutos: Playa Minitas (título, contador, mapa ilustrado que se dibuja)
   ========================================================================== */
.alrededores { position: relative; overflow: hidden; background: var(--papel); padding: clamp(90px, 11vw, 160px) var(--gutter); }
.alr-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(36px, 6vw, 100px); align-items: center; }
.alr-h { margin: 0; font: 300 clamp(70px, 10vw, 170px)/.86 var(--f-serif); letter-spacing: -.035em; }
.alr-h span, .alr-h em { display: block; will-change: transform; }
.alr-h em { font-style: italic; color: var(--laton-osc); padding-left: .38em; }
.alr-min { display: flex; align-items: baseline; gap: 12px; margin: 26px 0 22px; }
.alr-num { font: 300 clamp(70px, 7vw, 116px)/.9 var(--f-serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; min-width: 1.1em; }
.alr-min span { font: italic 400 clamp(24px, 2.2vw, 34px)/1 var(--f-serif); color: var(--laton-osc); }
.alr-txt { margin: 0 0 30px; max-width: 30em; font-size: 16px; line-height: 1.75; color: var(--body-dim); }
.alr-lista { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--linea-2); max-width: 520px; }
.alr-lista li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--linea-2); }
.alr-lista .n { font: 400 22px/1.2 var(--f-serif); }
.alr-lista .v { font: 600 11.5px/1 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--laton-osc); white-space: nowrap; }
.alr-nota { margin: 14px 0 0; font-size: 12.5px; color: var(--muted); }
.alr-mapa { margin: 0; position: relative; background: var(--trav); border-radius: 3px; padding: clamp(14px, 2vw, 26px); color: #6F9C9E; box-shadow: 0 40px 80px -50px rgba(29, 24, 18, .5); }
.alr-mapa svg { display: block; width: 100%; height: auto; overflow: visible; }
.alr-mapa .mar { fill: #CFE2DF; }
.alr-mapa .costa { fill: none; stroke: #8DB5B3; stroke-width: 1.4; }
.alr-mapa .rio { fill: none; stroke: #B4D1CE; stroke-width: 7; stroke-linecap: round; }
.alr-mapa .mapa-agua { font: italic 400 17px var(--f-serif); fill: #5E8C8C; letter-spacing: .04em; }
.alr-mapa .ruta { fill: none; stroke: var(--laton-osc); stroke-width: 1.4; stroke-dasharray: 1; stroke-dashoffset: 1; stroke-linecap: round; }
.alr-mapa .punto circle { fill: var(--papel); stroke: var(--ink); stroke-width: 1.4; }
.alr-mapa .punto { opacity: 0; transition: opacity .5s; }
.alr-mapa .punto.on { opacity: 1; }
.alr-mapa .punto .pn { font: 400 17px var(--f-serif); fill: var(--ink); paint-order: stroke; stroke: rgba(238, 232, 221, .7); stroke-width: 3px; }
.alr-mapa .punto .pv { font: 600 10px var(--f-ui); letter-spacing: .16em; fill: var(--laton-osc); text-transform: uppercase; }
.alr-mapa .villa-pin circle { fill: var(--ink); }
.alr-mapa .villa-pin .pulso { fill: none; stroke: var(--laton); stroke-width: 1.2; transform-origin: 0 0; animation: pulso 2.4s ease-out infinite; }
@keyframes pulso { from { transform: scale(1); opacity: .9; } to { transform: scale(3.2); opacity: 0; } }
.alr-mapa .villa-pin text { font: italic 400 15px var(--f-serif); fill: var(--laton-claro); }
.alr-mapa .villa-pin .villa-lbl { font: 600 10.5px var(--f-ui); letter-spacing: .2em; text-transform: uppercase; fill: var(--ink); font-style: normal; }
.alr-mapa .norte path { fill: var(--ink); }
.alr-mapa .norte text { font: 600 10px var(--f-ui); fill: var(--ink); letter-spacing: .1em; }
.alr-mapa figcaption { margin-top: 10px; font: 600 10.5px/1.3 var(--f-ui); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) {
  .alr-grid { grid-template-columns: 1fr; }
  .alr-mapa { max-width: 720px; }
}
@media (prefers-reduced-motion: reduce) {
  .alr-mapa .ruta { stroke-dashoffset: 0; }
  .alr-mapa .punto { opacity: 1; }
  .alr-mapa .villa-pin .pulso { animation: none; }
}

/* ==========================================================================
   Tableta vertical (portada)
   ========================================================================== */
@media (min-width: 610px) and (max-aspect-ratio: 1/1) {
  .vuelo-pin { --u: min(100vw / 768, 100vh / 1024); --rail: clamp(120px, 28vw, 220px); }
  .stage {
    top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; margin: 0; transform: none;
    display: grid; grid-template-columns: 1fr var(--rail) 1fr; grid-template-rows: auto auto 1fr auto auto minmax(0, .38fr);
    padding: calc(var(--head-h) + 46 * var(--u)) clamp(24px, 5.2vw, 72px) calc(24 * var(--u));
  }
  .eyebrow, .headline, .feature, .feature h2, .feature p, .feature .icon { position: static; }
  .eyebrow { grid-area: 1 / 1 / 2 / -1; width: auto; font-size: calc(11 * var(--u)); line-height: 1.2; margin-bottom: calc(20 * var(--u)); }
  .headline { grid-area: 2 / 1 / 3 / -1; width: auto; }
  .hl { position: static; width: auto; }
  .hl-s { font-size: calc(64 * var(--u)); line-height: 1.08; }
  .hl-b { font-size: calc(112 * var(--u)); line-height: .94; }
  .mark { position: static; grid-area: 4 / 1 / 5 / -1; justify-self: center; width: calc(64 * var(--u)); height: calc(64 * var(--u)); margin-bottom: calc(16 * var(--u)); }
  .feature { width: auto; }
  .f-left { grid-area: 5 / 1 / 6 / 2; } .f-right { grid-area: 5 / 3 / 6 / 4; }
  .feature .icon { display: block; width: calc(40 * var(--u)); height: calc(40 * var(--u)); margin-bottom: calc(14 * var(--u)); }
  .f-left .icon { margin-left: auto; } .f-right .icon { margin-right: auto; }
  .feature h2 { margin-bottom: calc(12 * var(--u)); white-space: normal; }
  .feature .t2 { font-size: calc(34 * var(--u)); }
  .feature p { width: auto; font-size: calc(14.5 * var(--u)); line-height: 1.4; max-width: calc(310 * var(--u)); }
  .f-left p { margin-left: auto; } .f-right p { margin-right: auto; }
}

/* ==========================================================================
   ≤1100 px
   ========================================================================== */
@media (max-width: 1100px) {
  .top { grid-template-columns: 1fr auto; }
  .top-nav { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media { max-width: 720px; }
  .quote-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 50px; }
  .steps-linea { display: none; }
  .step::before { display: none; }
  .cal-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .reg-foto { display: none; }
}

/* ==========================================================================
   Celular
   ========================================================================== */
@media (max-width: 860px) {
  :root { --head-h: 62px; --bot-w: 62px; }
  .marca-nom { font-size: 23px; }
  .marca-pre { font-size: 8.5px; }
  .cta-mas { display: none; }
  .btn-top { padding: 0 16px; }
  .vuelo { height: 560vh; }
  .rail, .hint { display: none; }
  .cap { bottom: calc(100px + env(safe-area-inset-bottom)); }
  .cap-2 { left: var(--gutter); right: auto; text-align: left; }
  .load-note { bottom: calc(84px + env(safe-area-inset-bottom)); }

  /* Espacios: cada panel apila la foto arriba y el texto abajo; sigue el scroll horizontal */
  .esp { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1fr) auto; gap: 18px; align-content: stretch; padding-bottom: 56px; }
  .esp-media { max-height: none; }
  .esp-name { font-size: clamp(38px, 10vw, 56px); }
  .esp-desc { margin: 10px 0 14px; font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .esp-specs { display: none; }
  .esp-num { margin-bottom: 10px; }
  .esp-card .btn { min-height: 42px; }

  .cg-c { left: 12%; top: 28%; width: 76%; height: 44%; }
  .cg-1 { left: -10%; top: 4%; width: 46%; height: 20%; }
  .cg-2 { left: 40%; top: -6%; width: 50%; height: 28%; }
  .cg-3 { left: 92%; top: 10%; width: 40%; height: 26%; }
  .cg-4 { left: -40%; top: 38%; width: 48%; height: 26%; }
  .cg-5 { left: 92%; top: 44%; width: 44%; height: 24%; }
  .cg-6 { left: -6%; top: 74%; width: 42%; height: 22%; }
  .cg-7 { left: 40%; top: 74%; width: 52%; height: 26%; }
  .cg-8 { left: 96%; top: 72%; width: 40%; height: 26%; }
}
@media (max-width: 760px) {
  .about, .sec { padding-left: var(--gutter); padding-right: var(--gutter); }
  .stats { gap: 26px; }
  .stat-n { font-size: 48px; }
  .steps { grid-template-columns: 1fr; }
  .contact-btns { justify-content: flex-start; }
  .faq { grid-template-columns: 1fr; }
  .cal-meses { --meses: 1 !important; }
  .cal-box { padding: 20px 14px 16px; }
  .form { grid-template-columns: 1fr; }
  .bot-btn { width: 52px; height: 52px; padding: 0; justify-content: center; right: 14px; bottom: 14px; }
  .bot-btn span, .bot-btn .dot { display: none; }
  .bot-btn svg { display: block; }
  .bot-globo { right: 14px; bottom: 76px; }
  .bot { left: 0; right: 0; bottom: 0; width: auto; height: min(88vh, 100%); border-left: 0; border-right: 0; border-bottom: 0; }
  .visor-img { top: 64px; right: 10px; bottom: 84px; left: 10px; }
  .visor-prev, .visor-next { top: auto; bottom: 18px; margin: 0; }
  .visor-prev { left: calc(50% - 58px); } .visor-next { right: calc(50% - 58px); }
  .franja-titulo { flex-direction: column; align-items: center; gap: 0; font-size: 24vw; }
}
@media (max-width: 609px) {
  .vuelo-pin { --u: min(100vw / 390, 100vh / 780); }
  @supports (height: 100dvh) { .vuelo-pin { --u: min(100vw / 390, 100dvh / 780); } }
  .stage {
    top: 0; right: 0; bottom: 0; left: 0; width: auto; height: auto; margin: 0; transform: none;
    display: grid; grid-template-columns: 100%; grid-template-rows: auto auto 1fr auto auto auto minmax(0, .3fr);
    padding: calc(var(--head-h) + 34 * var(--u)) calc(22 * var(--u)) calc(110px + env(safe-area-inset-bottom));
  }
  .eyebrow, .headline, .feature, .feature h2, .feature p, .feature .icon { position: static; }
  .eyebrow { grid-row: 1; width: auto; font-size: clamp(8.5px, calc(9.5 * var(--u)), 11px); line-height: 1.4; letter-spacing: .34em; margin-bottom: calc(16 * var(--u)); }
  .headline { grid-row: 2; width: auto; }
  .hl { position: static; width: auto; }
  .hl-s { font-size: clamp(30px, min(10.6vw, calc(44 * var(--u))), 54px); line-height: 1.1; }
  .hl-b { font-size: clamp(38px, min(12.4vw, calc(56 * var(--u))), 76px); line-height: .98; }
  .mark { position: static; grid-row: 4; justify-self: center; width: clamp(40px, calc(48 * var(--u)), 56px); height: clamp(40px, calc(48 * var(--u)), 56px); margin-bottom: calc(18 * var(--u)); }
  .feature { width: auto; }
  .f-left { grid-row: 5; margin-bottom: calc(24 * var(--u)); }
  .f-right { grid-row: 6; }
  .feature .icon { display: block; width: clamp(28px, calc(34 * var(--u)), 40px); height: clamp(28px, calc(34 * var(--u)), 40px); margin-bottom: 8px; }
  .f-left .icon { margin-left: auto; } .f-right .icon { margin-right: auto; }
  .feature h2 { margin-bottom: 6px; white-space: normal; }
  .feature .t1 { font-size: 10.5px; letter-spacing: .26em; margin-bottom: 4px; }
  .feature .t2 { font-size: clamp(24px, calc(28 * var(--u)), 32px); }
  .feature p { width: auto; font-size: clamp(12px, calc(13.5 * var(--u)), 14.5px); line-height: 1.4; max-width: calc(320 * var(--u)); }
  .f-left p { margin-left: auto; } .f-right p { margin-right: auto; }
  .lang { padding: 0 11px; min-height: 36px; }
  .btn-top { min-height: 36px; padding: 0 14px; font-size: 11px; letter-spacing: .12em; }
  .tira button { width: 64vw; }
  .tira-b button { width: 52vw; }
}
@media (max-width: 380px) {
  .marca-nom { font-size: 20px; }
  .top { gap: 10px; }
}

/* ==========================================================================
   Sin movimiento: todo quieto y visible
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .hint i { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .esp-media img.on { animation: none; }
  .quote-q .w { opacity: 1; }
  .collage { height: auto; }
  .collage-pin { position: relative; height: 100svh; }
  .collage-txt, .collage-sombra { opacity: 1; }
  .franja { height: auto; }
  .franja-pin { position: relative; height: 100svh; }
  .franja-txt { opacity: 1; }
}
