/* =====================================================================
   Happy Place · Puerto Vallarta — "Un día completo en tu lugar feliz"
   Mobile first. Fraunces + Manrope. Tono del día cambia con el scroll.
   ===================================================================== */

/* ---------- Variables que cambian con el tono del día ---------- */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #FFEBD6; }
@property --ink { syntax: '<color>'; inherits: true; initial-value: #2B1A11; }
@property --muted { syntax: '<color>'; inherits: true; initial-value: #6B5445; }
@property --card { syntax: '<color>'; inherits: true; initial-value: rgba(255,255,255,.6); }
@property --line { syntax: '<color>'; inherits: true; initial-value: rgba(43,26,17,.12); }
@property --accent-text { syntax: '<color>'; inherits: true; initial-value: #0B6B6A; }

:root {
  --nogal: #2B1A11;
  --teal: #0E7C7B;
  --sol1: #FFB838;
  --sol2: #FF8A3D;
  --coral: #E4572E;
  --g1: #F08A1F;
  --g2: #D9482A;
  --bg: #FFEBD6;
  --ink: #2B1A11;
  --muted: #6B5445;
  --card: rgba(255,255,255,.6);
  --line: rgba(43,26,17,.12);
  --accent-text: #0B6B6A;
  --shadow: 0 30px 80px -30px rgba(43,26,17,.35);
  --ease: cubic-bezier(.2,.7,.2,1);
  --font-d: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-b: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gut: clamp(1.25rem, 5vw, 3rem);
  --hdr: 68px;
}
body[data-tone="dawn"]   { --bg: #FFEBD6; --ink: #2B1A11; --muted: #6B5445; --card: rgba(255,255,255,.6); --line: rgba(43,26,17,.12); --accent-text: #0B6B6A; }
body[data-tone="day"]    { --bg: #FBF4E9; --ink: #2B1A11; --muted: #6B5445; --card: rgba(255,255,255,.6); --line: rgba(43,26,17,.12); --accent-text: #0B6B6A; }
body[data-tone="sunset"] { --bg: #FFD7BE; --ink: #2B1A11; --muted: #6B4A3A; --card: rgba(255,255,255,.55); --line: rgba(43,26,17,.14); --accent-text: #0A6463; }
body[data-tone="night"]  { --bg: #141B21; --ink: #FBF1E3; --muted: rgba(251,241,227,.72); --card: rgba(255,255,255,.06); --line: rgba(251,241,227,.14); --accent-text: #FFB838; --g1: #FFD36B; --g2: #FF9F4A; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; overflow-x: clip;
  font-family: var(--font-b); font-size: 1.0625rem; line-height: 1.65;
  background: var(--bg); color: var(--ink);
  transition: --bg 1.2s ease, --ink 1.2s ease, --muted 1.2s ease, --card 1.2s ease, --line 1.2s ease, --accent-text 1.2s ease;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; }
img { display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p, figure, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
:focus-visible { outline: 3px solid var(--sol1); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 10001; background: var(--nogal); color: #fff; padding: .7rem 1rem; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 1rem; }
.wrap { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(5rem, 12vw, 10rem); position: relative; }

.ic { width: 1.2em; height: 1.2em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic--m { width: 1.5rem; height: 1.5rem; }
.ic--l { width: 2.2rem; height: 2.2rem; }
.ic--xl { width: 3.4rem; height: 3.4rem; }

/* Tipografía */
.h1, .h2, h3 { font-family: var(--font-d); font-optical-sizing: auto; letter-spacing: -.02em; }
.h1 { font-size: clamp(2.75rem, 9.6vw, 7rem); line-height: .95; letter-spacing: -.03em; font-weight: 500; }
.h2 { font-size: clamp(2rem, 6vw, 4.25rem); line-height: 1.02; font-weight: 500; letter-spacing: -.025em; }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); line-height: 1.15; font-weight: 500; }
.h1 em, .h2 em, .wm em, .l-name em {
  font-style: italic; font-weight: 500;
  background: linear-gradient(100deg, var(--g1), var(--g2)); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding-right: .06em;
}
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--muted); max-width: 46ch; }
.eyebrow { font-size: .75rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 700; color: var(--accent-text); margin-bottom: 1rem; }
.sec-head { max-width: 22ch; margin-bottom: clamp(2rem, 6vw, 4rem); }
.sec-head .h2 { max-width: 16ch; }
.sec-head { max-width: none; }

/* ---------- Botones ---------- */
.btn {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .95rem 1.5rem; border-radius: 999px; border: 0; text-decoration: none;
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-align: center; letter-spacing: .005em;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s;
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(5px); }
.btn:active { transform: scale(.97); }
.btn--sm { padding: .65rem 1.15rem; font-size: .9rem; }
.btn--lg { padding: 1.1rem 1.8rem; font-size: 1.05rem; }
.btn--sun { background: linear-gradient(110deg, #FFC24A, #FF8A3D); color: #2B1A11; box-shadow: 0 14px 34px -12px rgba(255,138,61,.7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn--sun::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.65) 50%, transparent 65%);
  transform: translateX(-120%); animation: shine 4s ease-in-out 1.5s infinite;
}
.btn--sun:hover { box-shadow: 0 20px 44px -12px rgba(255,138,61,.85), inset 0 1px 0 rgba(255,255,255,.6); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: inherit; box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { background: var(--card); box-shadow: inset 0 0 0 1.5px var(--accent-text); }
@keyframes shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }

/* ---------- Cargador ---------- */
#loader {
  position: fixed; inset: 0; z-index: 9999; background: #FFEBD6; color: #2B1A11;
  display: grid; place-items: center; text-align: center;
  clip-path: circle(150% at 50% 52%);
  animation: loaderOut .4s 2.1s forwards;
}
@keyframes loaderOut { to { opacity: 0; visibility: hidden; pointer-events: none; } }
#loader.is-out { clip-path: circle(0% at 50% 52%); transition: clip-path .8s cubic-bezier(.7,0,.2,1); }
.l-wrap { display: grid; justify-items: center; gap: .35rem; transition: transform .8s cubic-bezier(.7,0,.2,1), opacity .6s; }
#loader.is-out .l-wrap { transform: scale(2.2); opacity: 0; }
.l-svg { width: 160px; height: 160px; overflow: visible; }
.l-ring { stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 80px 80px; animation: ringDraw 1.5s ease-in-out forwards; }
@keyframes ringDraw { to { stroke-dashoffset: 0; } }
.l-sun { transform: translateY(44px); animation: sunRise 1.5s cubic-bezier(.2,.8,.2,1) forwards; }
@keyframes sunRise { to { transform: translateY(0); } }
.l-rays { transform-origin: 80px 88px; animation: spin 6s linear infinite; }
.l-name { font-family: var(--font-d); font-size: 1.9rem; font-weight: 600; letter-spacing: -.02em; margin-top: .6rem; }
.l-pct { font-variant-numeric: tabular-nums; font-weight: 700; font-size: .95rem; letter-spacing: .1em; color: #6B5445; }
.l-sub { font-size: .85rem; color: #6B5445; }

/* ---------- Fondo "cielo", progreso, halo ---------- */
.sky { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.sky i { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.sky .s1 { background: radial-gradient(60vmax 50vmax at 85% 8%, rgba(255,196,80,.55), transparent 60%); }
.sky .s2 { background: radial-gradient(60vmax 50vmax at 8% 95%, rgba(228,87,46,.32), transparent 60%); }
.sky .s3 { background: radial-gradient(50vmax 45vmax at 95% 60%, rgba(14,124,123,.28), transparent 60%); }
body[data-tone="dawn"] .sky .s1 { opacity: .9; } body[data-tone="dawn"] .sky .s2 { opacity: .45; } body[data-tone="dawn"] .sky .s3 { opacity: .15; }
body[data-tone="day"] .sky .s1 { opacity: .5; } body[data-tone="day"] .sky .s2 { opacity: .18; } body[data-tone="day"] .sky .s3 { opacity: .35; }
body[data-tone="sunset"] .sky .s1 { opacity: .55; } body[data-tone="sunset"] .sky .s2 { opacity: 1; } body[data-tone="sunset"] .sky .s3 { opacity: .2; }
body[data-tone="night"] .sky .s1 { opacity: .12; } body[data-tone="night"] .sky .s2 { opacity: 0; } body[data-tone="night"] .sky .s3 { opacity: .55; }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 1002; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--sol1), var(--coral)); transform: scaleX(0); transform-origin: 0 50%; }
.halo { display: none; }
@media (pointer: fine) {
  .halo { display: block; position: fixed; left: 0; top: 0; width: 380px; height: 380px; margin: -190px 0 0 -190px; border-radius: 50%; z-index: 1; pointer-events: none; background: radial-gradient(circle, rgba(255,184,56,.2), transparent 65%); will-change: transform; }
}

/* ---------- Header ---------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: transform .4s var(--ease); }
.hdr-in {
  max-width: 1320px; margin: .6rem auto 0; width: calc(100% - 1.2rem);
  height: var(--hdr); padding: 0 .8rem 0 1rem; border-radius: 999px;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: var(--card); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  border: 1px solid var(--line);
  transition: height .35s var(--ease), box-shadow .35s, margin .35s;
}
.site-header.is-scrolled .hdr-in { height: 58px; box-shadow: 0 14px 40px -18px rgba(43,26,17,.4); }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; color: inherit; }
.brand-ico { width: 38px; height: 38px; color: var(--ink); flex: none; }
.brand-txt { display: grid; line-height: 1; }
.wm { font-family: var(--font-d); font-weight: 600; font-size: 1.35rem; letter-spacing: -.02em; }
.brand-sub { font-size: .62rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); margin-top: .22rem; }
.nav { display: none; }
.nav a { position: relative; text-decoration: none; font-weight: 600; font-size: .95rem; padding: .4rem 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: linear-gradient(90deg, var(--sol1), var(--coral)); transform: scaleX(0); transform-origin: 0 50%; transition: transform .4s var(--ease); }
.nav a:hover::after { transform: scaleX(1); }
.hdr-cta { display: none; }
.burger { width: 44px; height: 44px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; position: relative; }
.burger .ic { grid-area: 1/1; transition: opacity .25s, transform .35s var(--ease); }
.ic-shut { opacity: 0; transform: rotate(-90deg); }
.menu-open .ic-open { opacity: 0; transform: rotate(90deg); }
.menu-open .ic-shut { opacity: 1; transform: none; }
.menu { position: fixed; inset: 0; z-index: 999; background: var(--nogal); color: #FBF1E3; display: grid; place-items: center; visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s; }
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .4s; }
.menu-open .hdr-in { background: rgba(43,26,17,.9); color: #FBF1E3; --muted: rgba(251,241,227,.7); --line: rgba(251,241,227,.18); --ink: #FBF1E3; }
.menu-open .brand-ico { color: #FBF1E3; --bg: #2B1A11; }
.menu-nav { display: grid; gap: .4rem; justify-items: start; padding: 5rem var(--gut) 2rem; width: 100%; max-width: 560px; }
.menu-nav a { font-family: var(--font-d); font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.1; text-decoration: none; opacity: 0; transform: translateY(26px); transition: opacity .5s, transform .6s var(--ease); transition-delay: calc(var(--k) * 60ms + 120ms); }
.menu-nav .btn { font-family: var(--font-b); font-size: 1.05rem; margin-top: 1.2rem; }
.menu-open .menu-nav a { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--hdr) + 2.5rem) 0 7rem; overflow: clip; display: grid; align-items: center; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero-in { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero-copy { position: relative; z-index: 3; will-change: transform, opacity; }
.chip-live { display: inline-flex; align-items: center; gap: .6rem; padding: .5rem 1rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .8rem; font-weight: 700; letter-spacing: .04em; margin-bottom: 1.4rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--teal); position: relative; }
.dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--teal); animation: ping 2s ease-out infinite; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(3.2); opacity: 0; } }
.hero .h1 { margin-bottom: 1.4rem; }
.hero-sub { margin-bottom: 2rem; color: var(--ink); opacity: .82; }
.hero-ctas { display: grid; gap: .8rem; justify-items: stretch; margin-bottom: 2rem; }
.micro { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; font-size: .88rem; font-weight: 600; }
.micro li { display: inline-flex; align-items: center; gap: .45rem; color: var(--muted); }
.micro .ic { color: var(--accent-text); }

/* letras del H1 */
.wd { display: inline-block; white-space: nowrap; }
.ch { display: inline-block; }
.js .ch { opacity: 0; }
.is-ready .ch { animation: chIn .85s var(--ease) var(--d, 0s) both; }
@keyframes chIn { from { opacity: 0; transform: translateY(40px); filter: blur(10px); } to { opacity: 1; transform: none; filter: blur(0); } }
.h1 em .ch {
  background: linear-gradient(100deg, #FF8A3D 0%, #FFB838 30%, #E4572E 55%, #FF8A3D 100%); background-size: 260% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.is-ready .h1 em .ch { animation: chIn .85s var(--ease) var(--d, 0s) both, shimmer 4s linear 1.6s infinite; }
@keyframes shimmer { from { background-position: 0% 0; } to { background-position: -260% 0; } }

.js .hero-copy .chip-live, .js .hero-sub, .js .hero-ctas, .js .micro { opacity: 0; transform: translateY(24px); }
.is-ready .hero-copy .chip-live, .is-ready .hero-sub, .is-ready .hero-ctas, .is-ready .micro { opacity: 1; transform: none; transition: opacity .9s var(--ease), transform .9s var(--ease); }
.is-ready .hero-sub { transition-delay: .55s; } .is-ready .hero-ctas { transition-delay: .7s; } .is-ready .micro { transition-delay: .85s; }

/* visual */
.hero-visual { --w: clamp(120px, 36vw, 250px); --r: calc(var(--w) * 1.25); position: relative; z-index: 2; display: grid; place-items: center; min-height: calc(var(--w) * 16 / 9 + 6.5rem); }
.sun-wrap { position: absolute; left: 50%; top: 50%; width: min(70vw, 640px); aspect-ratio: 1; margin: calc(min(70vw, 640px) / -2) 0 0 calc(min(70vw, 640px) / -2); transform: translateY(var(--hy, 0px)); pointer-events: none; }
.sun { position: absolute; inset: 0; border-radius: 50%; background: radial-gradient(circle, #FFE9A8 0%, #FFB838 45%, rgba(255,184,56,0) 70%); animation: sunPulse 5s ease-in-out infinite; }
@keyframes sunPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.sun-rays { position: absolute; inset: -10%; border-radius: 50%; background: repeating-conic-gradient(from 0deg, rgba(255,184,56,.38) 0 3deg, transparent 3deg 15deg); -webkit-mask: radial-gradient(circle, transparent 26%, #000 40%, transparent 70%); mask: radial-gradient(circle, transparent 26%, #000 40%, transparent 70%); animation: spin2d 120s linear infinite; }
@keyframes spin2d { to { transform: rotate(360deg); } }
@keyframes spin { to { transform: rotate(360deg); } }

.ring-wrap { position: relative; width: 100%; }
.js .ring-wrap { opacity: 0; transform: scale(.7); }
.is-ready .ring-wrap { opacity: 1; transform: none; transition: opacity 1.2s var(--ease), transform 1.6s var(--ease); }
.is-ready .ring-wrap.anime-run { transition: none; }
.ring-stage { position: relative; height: calc(var(--w) * 16 / 9 + 2rem); perspective: 1400px; }
.ring-tilt, .ring-scroll { position: absolute; inset: 0; transform-style: preserve-3d; }
.ring-scroll { transform: rotateY(var(--rs, 0deg)); }
.ring { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: ringSpin 40s linear infinite; }
@keyframes ringSpin { from { transform: rotateX(-6deg) rotateY(0deg); } to { transform: rotateX(-6deg) rotateY(360deg); } }
.card {
  position: absolute; left: 50%; top: 50%; width: var(--w); height: calc(var(--w) * 16 / 9);
  margin: calc(var(--w) * -8 / 9) 0 0 calc(var(--w) / -2);
  transform: rotateY(calc(var(--i) * 45deg)) translateZ(var(--r)); backface-visibility: hidden; -webkit-backface-visibility: hidden;
}
.card-in { position: relative; width: 100%; height: 100%; border-radius: 22px; overflow: hidden; border: 2px solid rgba(255,255,255,.6); box-shadow: 0 30px 60px -24px rgba(43,26,17,.55); animation: bob 6s ease-in-out var(--bd, 0s) infinite; background: #e9d9c6; }
.card-in .photo { position: absolute; inset: 0; }
.card figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: .4rem .6rem; border-radius: 12px; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #2B1A11; font-size: clamp(.62rem, 1.6vw, .78rem); font-weight: 700; text-align: center; z-index: 2; }
@keyframes bob { 0%, 100% { transform: translateY(-10px); } 50% { transform: translateY(10px); } }

.fchip { position: absolute; z-index: 4; display: inline-flex; align-items: center; gap: .45rem; padding: .5rem .85rem; border-radius: 999px; background: rgba(255,255,255,.6); border: 1px solid rgba(255,255,255,.7); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: #2B1A11; font-size: .74rem; font-weight: 700; box-shadow: 0 14px 30px -14px rgba(43,26,17,.45); white-space: nowrap; }
.fchip .ic { color: #0B6B6A; }
.fchip--1 { top: 2%; left: 2%; animation: bob 6s ease-in-out infinite; }
.fchip--2 { top: 40%; right: 0; animation: bob 7s ease-in-out -2s infinite; }
.fchip--3 { bottom: 14%; left: 14%; animation: bob 5.5s ease-in-out -4s infinite; }
.seal { position: absolute; z-index: 5; left: 0; bottom: 0; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #2B1A11; background: rgba(255,255,255,.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); text-decoration: none; }
.seal-txt { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin2d 24s linear infinite; }
.seal-txt text { font: 700 10.2px var(--font-b); letter-spacing: .12em; fill: currentColor; }
.seal-ar { width: 1.4rem; height: 1.4rem; transition: transform .35s var(--ease); }
.seal:hover .seal-ar { transform: translateX(4px) rotate(-45deg); }

.waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 90px; z-index: 2; pointer-events: none; overflow: hidden; }
.wave { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.wave--1 { fill: rgba(255,184,56,.25); animation: waveMove 14s linear infinite; }
.wave--2 { fill: rgba(228,87,46,.18); animation: waveMove 20s linear infinite reverse; }
.wave--3 { fill: var(--bg); animation: waveMove 28s linear infinite; }
@keyframes waveMove { to { transform: translateX(-50%); } }

/* ---------- Marquee ---------- */
.marquee { padding: clamp(2rem, 6vw, 4rem) 0; overflow: clip; position: relative; }
.mq-row { overflow: clip; padding: .3rem 0; }
.mq-track { display: flex; width: max-content; will-change: transform; }
.mq-group { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem); padding-right: clamp(1rem, 3vw, 2.5rem); flex: none; white-space: nowrap; font-family: var(--font-d); font-size: clamp(3rem, 10vw, 9rem); line-height: 1.05; font-weight: 500; letter-spacing: -.03em; }
.mq-row--outline .mq-group { color: transparent; -webkit-text-stroke: 1.5px var(--ink); font-style: italic; }
.mq-track { animation: mqL 40s linear infinite; }
.mq-row[data-dir="-1"] .mq-track { animation-name: mqR; animation-duration: 50s; }
.mq-driven .mq-track { animation: none; }
@keyframes mqL { to { transform: translateX(-50%); } }
@keyframes mqR { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.star { display: inline-block; font-weight: 400; color: var(--sol2); -webkit-text-stroke: 0; animation: spin2d 9s linear infinite; font-size: .7em; }

/* ---------- Manifiesto ---------- */
.manifesto { padding-block: clamp(5rem, 14vw, 11rem); }
.mani-text { font-family: var(--font-d); font-size: clamp(1.8rem, 5vw, 3.6rem); line-height: 1.22; letter-spacing: -.02em; text-align: center; max-width: 26ch; margin-inline: auto; font-weight: 400; font-optical-sizing: auto; }
@media (min-width: 640px) { .mani-text { max-width: 24em; } }
.mani-text em { font-style: italic; }
.w { display: inline; }
.js .w { opacity: calc(.22 + var(--lit, 0) * .78); }
.chip { display: inline-block; vertical-align: -.16em; width: 2.4em; height: 1.3em; border-radius: .7em; margin: 0 .08em; overflow: hidden; }
.js .chip { transform: scale(calc(.6 + var(--lit, 0) * .4)); opacity: calc(.3 + var(--lit, 0) * .7); }
.mani-cta { display: flex; justify-content: center; margin-top: clamp(2rem, 5vw, 3.5rem); }

/* ---------- Foto (gradeo cálido unificado) ---------- */
.photo { position: relative; display: block; overflow: hidden; }
.photo img { display: block; width: 100%; height: 100%; object-fit: cover; filter: saturate(1.08) contrast(1.04) brightness(1.03); }
.photo::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(160deg, rgba(255,184,56,.18), rgba(228,87,46,.10)); mix-blend-mode: soft-light; }

/* ---------- Puerta ---------- */
.door { --o: 1; position: relative; }
.door-stage { padding: clamp(5rem, 12vw, 8rem) var(--gut) 4rem; display: grid; gap: 1.8rem; justify-items: center; text-align: center; max-width: 1400px; margin-inline: auto; }
.door-left .h2 { max-width: 16ch; margin-inline: auto; }
.door-hint { margin-top: 1rem; font-weight: 700; font-size: .9rem; letter-spacing: .06em; color: var(--accent-text); animation: hintBob 2s ease-in-out infinite; display: none; }
@keyframes hintBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
.door-center { display: flex; justify-content: center; min-height: 0; width: 100%; }
.door-frame { position: relative; height: min(70svh, 640px); aspect-ratio: 9 / 16; perspective: 2600px; }
.door-room { position: absolute; inset: 0; border-radius: 28px; box-shadow: var(--shadow); }
.door-room img { transform: scale(calc(1.15 - .15 * var(--o))); transition: transform .1s linear; }
.door-glow { position: absolute; inset: 0; border-radius: 28px; background: radial-gradient(60% 55% at 50% 50%, rgba(255,214,120,.85), rgba(255,184,56,.25) 55%, transparent 75%); opacity: calc(var(--o) * .85); mix-blend-mode: soft-light; pointer-events: none; z-index: 2; }
.door-sparks { position: absolute; left: 50%; top: 20%; bottom: 10%; width: 4px; z-index: 3; opacity: var(--o); pointer-events: none; }
.door-sparks i { position: absolute; left: 0; bottom: 0; width: 6px; height: 6px; border-radius: 50%; background: #FFD36B; box-shadow: 0 0 12px 3px rgba(255,184,56,.8); animation: spark 4s ease-in infinite; }
.door-sparks i:nth-child(1) { animation-delay: 0s; --dx: -18px; } .door-sparks i:nth-child(2) { animation-delay: .5s; --dx: 22px; }
.door-sparks i:nth-child(3) { animation-delay: 1s; --dx: -30px; } .door-sparks i:nth-child(4) { animation-delay: 1.5s; --dx: 12px; }
.door-sparks i:nth-child(5) { animation-delay: 2s; --dx: -8px; } .door-sparks i:nth-child(6) { animation-delay: 2.5s; --dx: 34px; }
.door-sparks i:nth-child(7) { animation-delay: 3s; --dx: -24px; } .door-sparks i:nth-child(8) { animation-delay: 3.5s; --dx: 6px; }
@keyframes spark { 0% { transform: translate(0, 0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(var(--dx), -42vh) scale(.2); opacity: 0; } }
.leaf { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 28px; z-index: 4; backface-visibility: hidden; -webkit-backface-visibility: hidden; filter: saturate(1.08) contrast(1.04) brightness(calc(1.03 - var(--o) * .18)); box-shadow: 0 20px 50px -20px rgba(43,26,17,.6); }
.leaf--l { clip-path: inset(0 48% 0 0); transform-origin: 0 50%; transform: rotateY(calc(var(--o) * -108deg)); }
.leaf--r { clip-path: inset(0 0 0 52%); transform-origin: 100% 50%; transform: rotateY(calc(var(--o) * 108deg)); }
.door-right { display: grid; gap: 1rem; justify-items: center; }
.door-welcome { font-family: var(--font-d); font-size: clamp(1.4rem, 4vw, 2rem); line-height: 1.15; max-width: 16ch; }

.pin-ok .door { height: 320vh; --o: 0; }
.pin-ok .door-stage { position: sticky; top: 0; height: 100svh; padding: calc(var(--hdr) + 1.4rem) var(--gut) 1rem; grid-template-rows: auto minmax(0, 1fr) auto; gap: .8rem; align-content: stretch; }
.pin-ok .door-left .h2 { font-size: clamp(1.5rem, 6vw, 2.2rem); }
.pin-ok .door-left .eyebrow { margin-bottom: .4rem; }
.pin-ok .door-hint { display: block; margin-top: .5rem; transition: opacity .4s; }
.pin-ok .door-hint.is-off { opacity: 0; }
.pin-ok .door-frame { height: 100%; max-height: min(88svh, 820px); }
.pin-ok .door-right { min-height: 4.5rem; opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); pointer-events: none; }
.pin-ok .door-right.is-on { opacity: 1; transform: none; pointer-events: auto; }
.pin-ok .door-welcome { font-size: 1.15rem; }
.js .door-room img { will-change: transform; }

/* ---------- Recorrido ---------- */
.rec-stage { padding: clamp(4rem, 10vw, 7rem) var(--gut); max-width: 1320px; margin-inline: auto; display: grid; gap: 2rem; }
.rec-head { margin-bottom: 1.5rem; }
.rec-head .h2 { max-width: 18ch; }
.rsteps { display: grid; gap: 2rem; }
.rstep { display: flex; gap: 1rem; align-items: flex-start; }
.rnum { font-family: var(--font-d); font-weight: 600; font-size: 3rem; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--accent-text); letter-spacing: -.03em; flex: none; }
.rbody h3 { margin-bottom: .5rem; }
.rbody p { color: var(--muted); max-width: 44ch; }
.rec-cta { margin-top: 1rem; }
.rec-panel { position: relative; }
.rsky, .rarc, .rbars { display: none; }
.rframe { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 560px; margin-inline: auto; }
.rslide { position: relative; aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); }
.rslide .ph { position: absolute; inset: 0; }

.pin-ok .rec { height: 480vh; }
.pin-ok .rec-stage { position: sticky; top: 0; height: 100svh; padding: calc(var(--hdr) + .9rem) var(--gut) .8rem; grid-template-columns: 1fr; grid-template-rows: minmax(0, 53fr) minmax(0, 47fr); gap: .8rem; align-items: stretch; }
.pin-ok .rec-panel { order: -1; border-radius: 36px; overflow: hidden; box-shadow: var(--shadow); isolation: isolate; }
.pin-ok .rsky, .pin-ok .rarc, .pin-ok .rbars { display: block; }
.pin-ok .rsky { position: absolute; inset: 0; z-index: 0; }
.rsky i { position: absolute; inset: 0; opacity: 0; }
.rsky .rs0 { opacity: 1; background: linear-gradient(180deg, #FFD9B8, #FFF1DD); }
.rsky .rs1 { background: linear-gradient(180deg, #CDE9EC, #FBF4E9); }
.rsky .rs2 { background: linear-gradient(180deg, #FFB38A, #E4572E 90%); }
.rsky .rs3 { background: linear-gradient(180deg, #1D2A31, #141B21); }
.rsky .rs3 b { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #FFF1D0; animation: twinkle 3s ease-in-out infinite; }
.rsky .rs3 b:nth-child(1) { left: 10%; top: 12%; } .rsky .rs3 b:nth-child(2) { left: 28%; top: 30%; animation-delay: .4s; } .rsky .rs3 b:nth-child(3) { left: 82%; top: 14%; animation-delay: .9s; }
.rsky .rs3 b:nth-child(4) { left: 70%; top: 36%; animation-delay: 1.3s; } .rsky .rs3 b:nth-child(5) { left: 92%; top: 52%; animation-delay: 1.8s; } .rsky .rs3 b:nth-child(6) { left: 6%; top: 58%; animation-delay: 2.2s; }
.rsky .rs3 b:nth-child(7) { left: 50%; top: 8%; animation-delay: .2s; } .rsky .rs3 b:nth-child(8) { left: 18%; top: 78%; animation-delay: 1.1s; } .rsky .rs3 b:nth-child(9) { left: 88%; top: 80%; animation-delay: 1.6s; }
@keyframes twinkle { 0%, 100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.3); } }
.pin-ok .rarc { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3; pointer-events: none; }
.as-moon { opacity: 0; transition: opacity .6s; } .as-sun { transition: opacity .6s; }
.is-moon .as-moon { opacity: 1; } .is-moon .as-sun { opacity: 0; }
.rec-panel.is-dark #arc { stroke: rgba(255,241,208,.45); }
.pin-ok .rframe { position: absolute; z-index: 2; top: 50%; left: 50%; translate: -50% -50%; display: block; height: calc(100% - 2.4rem); max-height: 700px; aspect-ratio: 9 / 16; max-width: none; margin: 0; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 60px -20px rgba(0,0,0,.5); background: #e8d8c4; }
.pin-ok .rslide { position: absolute; inset: 0; z-index: var(--z); border-radius: 0; box-shadow: none; aspect-ratio: auto; }
.pin-ok .rslide .ph { clip-path: inset(100% 0 0 0); transition: clip-path 1s cubic-bezier(.7,0,.2,1); }
.pin-ok .rslide .ph img { transform: scale(1.08); transition: transform 6s ease-out; }
.pin-ok .rslide.is-open .ph { clip-path: inset(0); }
.pin-ok .rslide.is-open .ph img { transform: scale(1); }
.pin-ok .rbars { position: absolute; z-index: 10; top: 10px; left: 10px; right: 10px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; }
.rbars i { display: block; height: 3px; border-radius: 3px; background: rgba(255,255,255,.4); overflow: hidden; }
.rbars b { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: 0 50%; }
.pin-ok .rsteps { display: grid; }
.pin-ok .rstep { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(24px); filter: blur(6px); transition: opacity .6s var(--ease), transform .7s var(--ease), filter .6s, visibility 0s .6s; }
.pin-ok .rstep.is-active { opacity: 1; visibility: visible; transform: none; filter: none; transition-delay: .15s, .15s, .15s, 0s; }
.pin-ok .rstep.is-out { transform: translateY(-24px); }
.pin-ok .rec-head { margin-bottom: .6rem; }
.pin-ok .rec-head .eyebrow { display: none; }
.pin-ok .rec-head .h2 { font-size: clamp(1.2rem, 5.2vw, 1.8rem); max-width: 22ch; }
.pin-ok .rsteps { gap: 0; }
.pin-ok .rnum { font-size: 2.6rem; }
.pin-ok .rbody h3 { font-size: 1.2rem; margin-bottom: .3rem; }
.pin-ok .rbody p { font-size: .95rem; line-height: 1.5; }
.pin-ok .rec-cta { margin-top: .6rem; }

/* ---------- Amenidades (bento) ---------- */
.bento { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; grid-auto-rows: 220px; }
.tile { position: relative; }
.tile--a, .tile--d, .tile--g { grid-column: 1 / -1; grid-row: span 1; }
.tile--a, .tile--g { grid-auto-rows: 280px; min-height: 280px; }
.tile--a { grid-row: span 1; }
.tile-in { position: relative; height: 100%; min-height: 220px; border-radius: 28px; padding: 1.4rem; overflow: hidden; background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); display: flex; flex-direction: column; justify-content: flex-end; gap: .4rem; transition: transform .25s ease-out, box-shadow .4s; transform-style: preserve-3d; }
.tile--a .tile-in, .tile--g .tile-in { min-height: 280px; }
.tile-in::before { content: ""; position: absolute; inset: 0; background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), rgba(255,184,56,.28), transparent 65%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 1; }
.tile-in:hover::before { opacity: 1; }
.tile-in:hover { box-shadow: var(--shadow); }
.tile-in > svg { position: absolute; top: 1.3rem; left: 1.4rem; color: var(--accent-text); }
.tile-in h3 { font-size: 1.25rem; position: relative; z-index: 2; }
.tile-in p { font-size: .9rem; line-height: 1.45; color: var(--muted); position: relative; z-index: 2; }
.tile-photo { color: #FBF1E3; border-color: rgba(255,255,255,.25); }
.tile-photo p { color: rgba(251,241,227,.88); }
.tile-photo .photo.bg { position: absolute; inset: 0; z-index: 0; }
.tile-photo::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(43,26,17,.05) 25%, rgba(43,26,17,.82)); pointer-events: none; }
.tile-body { position: relative; z-index: 2; display: grid; gap: .4rem; }
.tile-body > svg { color: #FFD36B; margin-bottom: .4rem; }
.tile-body h3, .tile-body p { position: relative; z-index: 2; }
.ico-row { position: absolute; top: 1.2rem; left: 1.4rem; display: flex; gap: 1rem; color: var(--accent-text); }
.spin-slow { animation: spin2d 14s linear infinite; transform-origin: 50% 50%; }
.spin-fast { animation: spin2d 2.4s linear infinite; transform-origin: 50% 50%; }
.float { animation: bob 4s ease-in-out infinite; } .f2 { animation-delay: -2s; }
.glow { animation: glowP 2.6s ease-in-out infinite; }
@keyframes glowP { 0%, 100% { filter: drop-shadow(0 0 0 rgba(255,184,56,0)); } 50% { filter: drop-shadow(0 0 10px rgba(255,184,56,.9)); } }
.sway { transform-origin: 50% 90%; animation: sway 5s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(-6deg); } 50% { transform: rotate(6deg); } }

/* ---------- Galería ---------- */
.gal { position: relative; padding-block: clamp(4rem, 9vw, 6rem) 3rem; }
.gal-stage { position: relative; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; padding-bottom: 1rem; }
.gal-track { display: flex; align-items: center; gap: 28px; width: max-content; padding: 2rem var(--gut); }
.gal-intro { flex: none; width: min(82vw, 440px); display: grid; gap: 1.2rem; justify-items: start; scroll-snap-align: start; padding-right: 1rem; }
.gal-hint { font-weight: 700; font-size: .85rem; letter-spacing: .08em; color: var(--accent-text); display: none; }
.g-card { --px: 0%; --sc: 1; position: relative; flex: none; height: clamp(380px, 64svh, 640px); aspect-ratio: 9 / 16; border: 0; background: none; padding: 0; text-align: left; scroll-snap-align: center; color: inherit; will-change: transform; }
.g-card:nth-child(odd) { margin-top: 6%; } .g-card:nth-child(even) { margin-top: -6%; }
.g-num { position: absolute; z-index: 0; left: -.1em; top: -.35em; font-family: var(--font-d); font-weight: 700; font-size: clamp(5rem, 14vw, 9rem); line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(43,26,17,.3); letter-spacing: -.04em; pointer-events: none; }
.g-clip { position: absolute; inset: 0; z-index: 1; border-radius: 28px; box-shadow: var(--shadow); transition: box-shadow .4s, transform .5s var(--ease); }
.g-card:hover .g-clip { transform: translateY(-6px); }
.g-img { position: absolute; top: 0; left: -12%; width: 124% !important; height: 100%; max-width: none; transform: translate3d(var(--px), 0, 0); }
.g-cap { position: absolute; z-index: 3; left: 12px; right: 12px; bottom: 12px; padding: .55rem .8rem; border-radius: 14px; background: rgba(255,255,255,.62); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #2B1A11; font-weight: 700; font-size: .85rem; }
.g-cta { flex: none; width: min(80vw, 380px); min-height: clamp(380px, 64svh, 640px); border-radius: 28px; padding: 2rem; display: grid; align-content: center; gap: 1rem; justify-items: start; background: linear-gradient(160deg, var(--nogal), #4a2c1b); color: #FBF1E3; scroll-snap-align: center; box-shadow: var(--shadow); }
.g-cta p { opacity: .85; }
.gal-bar { position: absolute; left: var(--gut); right: var(--gut); bottom: 1.2rem; height: 3px; border-radius: 3px; background: var(--line); display: none; }
.gal-bar i { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, var(--sol1), var(--coral)); transform: scaleX(0); transform-origin: 0 50%; }
.pin-ok .gal { padding: 0; }
.pin-ok .gal-stage { position: sticky; top: 0; height: 100svh; overflow: hidden; scroll-snap-type: none; display: grid; align-items: center; padding: 0; }
.pin-ok .gal-track { will-change: transform; padding-top: calc(var(--hdr) + 1rem); padding-bottom: 2.5rem; }
.pin-ok .gal-bar { display: block; }
.pin-ok .gal-hint { display: block; }
.pin-ok .g-card, .pin-ok .g-cta { scroll-snap-align: none; }
.pin-ok .g-card { height: clamp(380px, 64svh, 640px); transform: scale(var(--sc)); }

/* ---------- Reservar ---------- */
.res-grid { display: grid; gap: 3rem; }
.res-left { display: grid; gap: 2.4rem; align-content: start; }
.res-left header { display: grid; gap: 1.2rem; justify-items: start; }
.phone { width: min(100%, 290px); border-radius: 38px; border: 8px solid #1b1410; background: #ECE5DD; overflow: hidden; box-shadow: var(--shadow); position: relative; color: #1b1410; }
.ph-top { display: flex; align-items: center; gap: .55rem; padding: .7rem .9rem; background: #075E54; color: #fff; }
.ph-top b { font-size: .92rem; }
.ph-top small { margin-left: auto; font-size: .7rem; opacity: .8; }
.ph-av { width: 30px; height: 30px; border-radius: 50%; background: #FFEBD6; display: grid; place-items: center; color: #2B1A11; --bg: #FFEBD6; }
.ph-av svg { width: 22px; height: 22px; }
.ph-body { padding: 1rem .8rem; display: grid; gap: .6rem; min-height: 290px; align-content: start; background: radial-gradient(circle at 20% 10%, rgba(255,255,255,.4), transparent 50%), #ECE5DD; }
.slot { display: grid; }
.slot > * { grid-area: 1 / 1; }
.slot--r { justify-items: end; } .slot--l { justify-items: start; }
.bub { max-width: 86%; padding: .55rem .75rem; border-radius: 14px; font-size: .85rem; line-height: 1.35; box-shadow: 0 1px 1px rgba(0,0,0,.12); }
.bub--out { background: #DCF8C6; border-top-right-radius: 4px; } .bub--in { background: #fff; border-top-left-radius: 4px; }
.b1 { animation: bub1 14s infinite; } .b2 { animation: bub2 14s infinite; } .b3 { animation: bub3 14s infinite; }
@keyframes bub1 { 0%, 3% { opacity: 0; transform: translateY(10px) scale(.95); } 7%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes bub2 { 0%, 24% { opacity: 0; transform: translateY(10px) scale(.95); } 28%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
@keyframes bub3 { 0%, 48% { opacity: 0; transform: translateY(10px) scale(.95); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; } }
.typing { display: inline-flex; gap: 4px; padding: .7rem .8rem; border-radius: 14px; background: #fff; width: max-content; opacity: 0; }
.typing--out { background: #DCF8C6; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #8a8a8a; animation: dotB 1s ease-in-out infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dotB { 0%, 100% { transform: translateY(0); opacity: .5; } 50% { transform: translateY(-4px); opacity: 1; } }
.t1 { animation: typ1 14s infinite; } .t2 { animation: typ2 14s infinite; }
@keyframes typ1 { 0%, 10% { opacity: 0; } 12%, 22% { opacity: 1; } 24%, 100% { opacity: 0; } }
@keyframes typ2 { 0%, 34% { opacity: 0; } 36%, 46% { opacity: 1; } 48%, 100% { opacity: 0; } }
.ph-note { text-align: center; font-size: .68rem; padding: .4rem; background: #ECE5DD; color: #6a5f55; font-weight: 600; letter-spacing: .04em; }

.steps { position: relative; display: grid; gap: 2.4rem; padding-left: 4rem; }
.steps-line { position: absolute; left: 1.35rem; top: 1.5rem; bottom: 1.5rem; width: 4px; height: calc(100% - 3rem); overflow: visible; }
.sl-bg { stroke: var(--line); stroke-width: 2; fill: none; }
.sl-fg { stroke: var(--coral); stroke-width: 3; fill: none; stroke-linecap: round; }
.js .sl-fg { stroke-dasharray: 1; stroke-dashoffset: var(--sl, 1); }
.step { position: relative; display: block; }
.step .node { position: absolute; left: -4rem; top: 0; width: 2.9rem; height: 2.9rem; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-d); font-weight: 600; font-size: 1.2rem; background: var(--bg); border: 2px solid var(--line); color: var(--muted); transition: background .5s, border-color .5s, color .5s, transform .5s var(--ease), box-shadow .5s; }
.step.is-lit .node, html:not(.js) .step .node { background: linear-gradient(135deg, #FFC24A, #FF8A3D); border-color: transparent; color: #2B1A11; transform: scale(1.08); box-shadow: 0 10px 24px -8px rgba(255,138,61,.8); }
.step h3 { margin: .35rem 0 .4rem; }
.step p { color: var(--muted); max-width: 40ch; }

/* ---------- Ubicación ---------- */
.loc-grid { display: grid; gap: 2.4rem; }
.loc-list { display: grid; gap: 1.2rem; margin-bottom: 2rem; }
.loc-list li { display: flex; gap: 1rem; align-items: flex-start; }
.loc-list .ic { color: var(--accent-text); margin-top: .15rem; }
.loc-list b { display: block; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); margin-bottom: .15rem; }
.loc-list a { text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.loc-visual { position: relative; display: grid; gap: 2rem; justify-items: start; margin-bottom: 2rem; }
.plate { display: inline-flex; gap: .15em; padding: .3em .45em; background: #0b0b0b; border-radius: 14px; border: 3px solid #3a3a3a; font-family: var(--font-d); font-weight: 600; font-size: clamp(3rem, 10vw, 5.5rem); line-height: 1; color: #fff; box-shadow: 0 20px 50px -20px #000, inset 0 0 0 2px #1f1f1f; }
.od { display: block; height: 1em; overflow: hidden; width: .62em; text-align: center; }
.od-col { display: block; transform: translateY(calc(var(--v) * -1em)); transition: transform 1.8s cubic-bezier(.2,.8,.2,1) calc(var(--k) * .18s); }
.od-col i { display: block; height: 1em; font-style: normal; }
.js .plate:not(.is-in) .od-col { transform: translateY(0); transition: none; }
.rej { position: relative; width: min(60%, 220px); transform: rotate(-3deg); margin-left: .5rem; }
.rej .photo { border-radius: 18px; aspect-ratio: 9 / 16; box-shadow: var(--shadow); border: 6px solid #FBF1E3; }
.rej figcaption { font-size: .8rem; font-weight: 700; margin-top: .6rem; color: var(--muted); text-align: center; }
.tape { position: absolute; z-index: 2; top: -12px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: rgba(255,184,56,.75); transform: rotate(4deg); border-radius: 3px; }
.croq { width: 100%; max-width: 380px; height: auto; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 24px; padding: .5rem; }
.cq-road { fill: none; stroke: rgba(251,241,227,.2); stroke-width: 18; stroke-linecap: round; }
.cq-dash { fill: none; stroke: #FFB838; stroke-width: 2; stroke-dasharray: 6 8; animation: dashMove 1.4s linear infinite; }
@keyframes dashMove { to { stroke-dashoffset: -28; } }
.cq-t { font: 700 9px var(--font-b); fill: var(--ink); letter-spacing: .06em; }
.cq-b { font: 700 13px var(--font-d); fill: #FFB838; }
.cq-pulse { fill: rgba(255,184,56,.4); animation: ping2 2s ease-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes ping2 { from { transform: scale(1); opacity: .9; } to { transform: scale(3); opacity: 0; } }
.map { border-radius: 32px; overflow: hidden; height: 340px; background: repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 14px, rgba(255,255,255,.08) 14px 28px); border: 1px solid var(--line); box-shadow: var(--shadow); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.9) contrast(1.02); }
.loc-ctas { display: grid; gap: .8rem; margin-top: 1.2rem; }

/* ---------- Preguntas ---------- */
.faq-grid { display: grid; gap: 2.4rem; }
.faq-left { display: grid; gap: 1.4rem; justify-items: start; align-content: start; }
.faq-item { position: relative; }
.faq-item::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--line); transform-origin: 0 50%; transition: transform 1.2s var(--ease); }
.js .faq-item:not(.is-in)::before { transform: scaleX(0); }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.4rem 0; background: none; border: 0; text-align: left; font-family: var(--font-d); font-size: clamp(1.15rem, 3vw, 1.45rem); font-weight: 500; letter-spacing: -.01em; }
.faq-q .ic { transition: transform .45s var(--ease); color: var(--accent-text); width: 1.5rem; height: 1.5rem; }
.faq-q[aria-expanded="true"] .ic { transform: rotate(135deg); }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 2.5rem 1.4rem 0; color: var(--muted); }
.js .faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.js .faq-a.is-open { grid-template-rows: 1fr; }

/* ---------- Contacto ---------- */
.contact { overflow: clip; padding-bottom: clamp(9rem, 22vw, 14rem); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.moon-wrap { position: absolute; left: 0; right: 0; bottom: 0; height: 70%; pointer-events: none; overflow: hidden; }
.moon { position: absolute; right: 8%; bottom: 14%; width: clamp(150px, 34vw, 340px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFE9A8, #FFB838 45%, #E4572E); box-shadow: 0 0 120px 30px rgba(255,138,61,.25); animation: moonPulse 6s ease-in-out infinite; transform: translateY(var(--my2, 0%)); opacity: .9; }
@keyframes moonPulse { 0%, 100% { box-shadow: 0 0 100px 20px rgba(255,138,61,.2); } 50% { box-shadow: 0 0 150px 46px rgba(255,138,61,.38); } }
.con-in { position: relative; z-index: 2; display: grid; gap: 2.4rem; justify-items: start; max-width: 860px; }
.con-head { display: grid; gap: 1.2rem; }
.form { width: 100%; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; padding: clamp(1.2rem, 4vw, 2.2rem); border-radius: 32px; background: rgba(255,255,255,.07); border: 1px solid var(--line); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: 0 40px 80px -40px rgba(0,0,0,.6); }
.f { position: relative; grid-column: span 6; }
.f--date { grid-column: span 3; }
.f--full { grid-column: 1 / -1; }
.f input, .f textarea { width: 100%; padding: 1.5rem 1rem .6rem; border-radius: 16px; border: 1.5px solid var(--line); background: rgba(255,255,255,.05); color: var(--ink); outline: none; transition: border-color .3s, box-shadow .3s; resize: vertical; color-scheme: dark; }
.f input:focus, .f textarea:focus { border-color: var(--sol1); box-shadow: 0 0 0 4px rgba(255,184,56,.22); }
.f label { position: absolute; left: 1rem; top: 1.05rem; font-size: 1rem; color: var(--muted); pointer-events: none; transition: top .25s var(--ease), font-size .25s var(--ease), color .25s; }
.f input:focus + label, .f input:not(:placeholder-shown) + label, .f textarea:focus + label, .f textarea:not(:placeholder-shown) + label, .f--date label { top: .42rem; font-size: .7rem; font-weight: 700; letter-spacing: .06em; color: var(--accent-text); }
.f-err { grid-column: 1 / -1; color: #ffb59c; font-size: .9rem; font-weight: 600; }
.con-alt { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; }
.fb { font-weight: 700; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line); }
.night-waves { position: absolute; left: 0; right: 0; bottom: -1px; height: 120px; z-index: 3; overflow: hidden; pointer-events: none; }
.nw { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; }
.nw--1 { fill: #0e1317; opacity: .85; animation: waveMove 16s linear infinite; }
.nw--2 { fill: #0a0e12; animation: waveMove 24s linear infinite reverse; }

/* ---------- Footer ---------- */
.foot { position: relative; overflow: clip; padding: 3rem 0 2rem; background: #0a0e12; color: #FBF1E3; --ink: #FBF1E3; --muted: rgba(251,241,227,.7); --line: rgba(251,241,227,.14); --bg: #0a0e12; }
.foot .brand-ico { color: #FBF1E3; }
.foot-top { display: grid; gap: 2rem; position: relative; z-index: 2; }
.foot-addr { display: grid; gap: .5rem; color: var(--muted); font-size: .95rem; }
.foot-addr a { text-decoration-color: var(--line); }
.foot-nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; font-weight: 600; font-size: .95rem; }
.foot-nav a { text-decoration: none; opacity: .85; } .foot-nav a:hover { opacity: 1; color: #FFB838; }
.foot-word { position: relative; z-index: 1; margin-top: clamp(2rem, 6vw, 4rem); font-family: var(--font-d); font-weight: 600; font-size: clamp(4rem, 19vw, 17rem); line-height: .9; letter-spacing: -.05em; white-space: nowrap; text-align: center; background: linear-gradient(180deg, rgba(251,241,227,.95), rgba(251,241,227,.02) 85%); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(var(--fy, 0px)); user-select: none; }
.foot-sun { position: absolute; left: 50%; bottom: 14%; width: clamp(120px, 20vw, 240px); aspect-ratio: 1; margin-left: calc(clamp(120px, 20vw, 240px) / -2); border-radius: 50%; background: radial-gradient(circle at 40% 35%, #FFD36B, #FF8A3D 60%, #E4572E); opacity: .55; filter: blur(1px); transform: translateY(var(--sy, 40%)); z-index: 0; }
.foot-copy { position: relative; z-index: 2; text-align: center; font-size: .85rem; color: var(--muted); margin-top: 1.4rem; }

/* ---------- Reloj y botón WhatsApp ---------- */
.clock { position: fixed; left: 14px; bottom: 14px; z-index: 900; display: inline-flex; align-items: center; gap: .5rem; height: 44px; padding: 0 .9rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); font-size: .8rem; font-weight: 700; letter-spacing: .04em; pointer-events: none; }
.clock #clock-t { display: none; }
.clock .ic { width: 1.3rem; height: 1.3rem; color: var(--sol2); }
.ck-moon { display: none; } .clock.is-night .ck-moon { display: block; color: #FFD36B; } .clock.is-night .ck-sun { display: none; }
.wa-float { position: fixed; right: 16px; bottom: 16px; z-index: 950; display: flex; align-items: center; gap: .6rem; flex-direction: row-reverse; }
.wa-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #25D366, #128C7E); color: #fff; box-shadow: 0 14px 30px -8px rgba(18,140,126,.7); transition: transform .3s var(--ease); }
.wa-btn:hover { transform: scale(1.08); }
.wa-btn::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25D366; animation: waPulse 2.4s ease-out infinite; }
@keyframes waPulse { from { transform: scale(1); opacity: .9; } to { transform: scale(1.7); opacity: 0; } }
.wa-bubble { max-width: 200px; padding: .6rem .9rem; border-radius: 16px 16px 4px 16px; background: #fff; color: #2B1A11; font-size: .82rem; font-weight: 600; line-height: 1.35; box-shadow: 0 14px 30px -12px rgba(0,0,0,.4); opacity: 0; transform: translateX(14px) scale(.9); pointer-events: none; transition: opacity .5s, transform .5s var(--ease); }
.wa-bubble.is-show { opacity: 1; transform: none; }
.no-wa [data-wa], .no-wa .wa-only { display: none !important; }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 10000; background: rgba(20,12,8,.92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: .5rem; padding: 1rem; color: #FBF1E3; }
.lb[hidden] { display: none; }
.lb-fig { display: grid; justify-items: center; gap: .8rem; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: 80svh; width: auto; height: auto; object-fit: contain; border-radius: 18px; animation: lbIn .5s var(--ease); }
@keyframes lbIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
.lb-fig figcaption { font-weight: 700; }
.lb button { width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.lb button:hover { background: rgba(255,255,255,.28); }
.lb-x { position: absolute; top: 1rem; right: 1rem; z-index: 2; }

/* ---------- Reveals (el contenido es visible por defecto; solo se oculta con JS) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.js [data-reveal="scale"] { transform: translateY(40px) scale(.94); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Efectos de scroll solo con soporte nativo ---------- */
@supports (animation-timeline: view()) {
  .sec-head .h2 { animation: hdrIn linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes hdrIn { from { opacity: .2; transform: translateY(28px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
}

/* =====================================================================
   Pantallas medianas y grandes
   ===================================================================== */
@media (min-width: 640px) {
  .hero-ctas { display: flex; flex-wrap: wrap; }
  .f--date { grid-column: span 2; }
  .loc-ctas { display: flex; flex-wrap: wrap; }
  .clock #clock-t { display: inline; }
  .wa-bubble { max-width: 240px; }
  .seal { width: 118px; height: 118px; }
}
@media (min-width: 768px) {
  .bento { gap: 16px; }
  .tile--a, .tile--d, .tile--g { grid-column: span 2; }
  .tile--b, .tile--c, .tile--e, .tile--f { grid-column: span 1; }
  .hdr-in { padding-left: 1.2rem; }
  .res-left .phone { width: 300px; }
}
@media (min-width: 1024px) {
  .nav { display: flex; gap: 1.8rem; }
  .hdr-cta { display: inline-flex; }
  .burger { display: none; }
  .hdr-in { margin-top: .8rem; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 1rem; }
  .hero { padding-bottom: 8rem; }
  .waves { height: 120px; }
  .fchip { font-size: .85rem; }
  .hero-visual { min-height: 620px; }

  /* Puerta: tres columnas */
  .door-stage { grid-template-columns: 1fr auto 1fr; align-items: center; text-align: left; justify-items: stretch; gap: 2rem; }
  .door-left .h2 { margin-inline: 0; font-size: clamp(2rem, 4vw, 3.4rem); }
  .door-right { justify-items: start; }
  .pin-ok .door-stage { grid-template-rows: minmax(0, 1fr); padding-top: calc(var(--hdr) + 1.5rem); padding-bottom: 1.5rem; }
  .pin-ok .door-left .h2 { font-size: clamp(2rem, 4vw, 3.4rem); }
  .pin-ok .door-welcome { font-size: clamp(1.4rem, 2.4vw, 2rem); }
  .pin-ok .door-right { min-height: 0; }
  .pin-ok .door-center { align-self: stretch; min-height: 0; height: 100%; }
  .pin-ok .door-frame { height: 100%; width: auto; max-height: min(86svh, 820px); }

  /* Hero: el anillo cabe en su columna sin pisar el texto */
  .hero-copy { min-width: 0; }
  .hero .h1 { font-size: clamp(3.4rem, 5.6vw, 5.8rem); }
  .hero-visual { --w: clamp(130px, 12.5vw, 190px); }

  /* Recorrido: dos columnas */
  .rec-stage { grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; }
  .pin-ok .rec-stage { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; gap: 3rem; padding-top: calc(var(--hdr) + 1.4rem); padding-bottom: 1.4rem; }
  .pin-ok .rec-panel { order: 0; }
  .pin-ok .rframe { height: min(76svh, 700px); }
  .pin-ok .rec-text { align-self: center; }
  .pin-ok .rec-head .eyebrow { display: block; }
  .pin-ok .rec-head .h2 { font-size: clamp(1.8rem, 3.4vw, 3rem); }
  .pin-ok .rec-head { margin-bottom: 2rem; }
  .rstep { flex-direction: column; gap: .4rem; }
  .rnum { font-size: 5rem; }
  .pin-ok .rnum { font-size: clamp(5rem, 9vw, 9rem); }
  .pin-ok .rbody h3 { font-size: clamp(1.4rem, 2.4vw, 2rem); margin-bottom: .6rem; }
  .pin-ok .rbody p { font-size: 1.1rem; line-height: 1.6; }
  .pin-ok .rec-cta { margin-top: 1.2rem; }

  /* Bento 12 columnas */
  .bento { grid-template-columns: repeat(12, 1fr); grid-auto-rows: 260px; }
  .tile--a { grid-column: 1 / 6; grid-row: 1 / 3; }
  .tile--b { grid-column: 6 / 9; grid-row: 1; }
  .tile--c { grid-column: 9 / 13; grid-row: 1; }
  .tile--d { grid-column: 6 / 10; grid-row: 2; }
  .tile--e { grid-column: 10 / 13; grid-row: 2; }
  .tile--f { grid-column: 1 / 5; grid-row: 3; }
  .tile--g { grid-column: 5 / 13; grid-row: 3; }
  .tile--a .tile-in, .tile--g .tile-in { min-height: 0; }
  .tile-in { min-height: 0; padding: 1.8rem; }
  .tile-in h3 { font-size: 1.5rem; }
  .tile-in p { font-size: 1rem; }

  .res-grid { grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start; }
  .res-left { position: sticky; top: calc(var(--hdr) + 2rem); }
  .loc-grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; align-items: start; }
  .map { height: 560px; }
  .faq-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; align-items: start; }
  .faq-left { position: sticky; top: calc(var(--hdr) + 2rem); }
  .foot-top { grid-template-columns: 1.1fr 1fr auto; align-items: start; }
  .foot-nav { flex-direction: column; gap: .4rem; }
}
@media (min-width: 1440px) {
  .hero-visual { min-height: 700px; }
}
@media (max-width: 420px) {
  .fchip--1 { left: -2%; } .fchip--2 { right: -2%; }
  .seal { width: 84px; height: 84px; }
  .seal-txt text { font-size: 10.6px; }
  .brand-sub { display: none; }
  .hdr-in { padding-left: .7rem; }
}

/* ---------- Accesibilidad: menos movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js [data-reveal], .js .ch, .js .ring-wrap, .js .hero-copy .chip-live, .js .hero-sub, .js .hero-ctas, .js .micro { opacity: 1 !important; transform: none !important; filter: none !important; }
  .js .w, .js .chip { opacity: 1 !important; transform: none !important; }
  #loader { animation: loaderOut .3s .4s forwards; }
  .l-sun, .l-ring { animation: none; transform: none; stroke-dashoffset: 0; }
  .ring { animation: none; transform: rotateX(-6deg); }
  .sun, .sun-rays, .star, .seal-txt, .wave, .nw, .mq-track { animation: none !important; }
  .halo { display: none !important; }
  .typing { display: none; }
  .b1, .b2, .b3 { animation: none; opacity: 1; }
  .js .plate .od-col { transform: translateY(calc(var(--v) * -1em)); }
  .js .sl-fg { stroke-dashoffset: 0; }
  .js .faq-item::before { transform: none; }
}
