/* =============================================================
   Figonero · Riglos — Archetype 01 · Editorial Light Cream
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg:        #f4efe6;
  --bg-2:      #ebe2d3;
  --paper:     #fbf8f2;
  --ink:       #1d1915;
  --ink-soft:  #3a332c;
  --ink-mute:  #786d61;
  --accent:    #b4532f;   /* rojo conglomerado de los Mallos */
  --accent-d:  #8f3d1f;
  --accent-2:  #4a5d3a;   /* verde carrasca */
  --sand:      #d9c3a2;
  --line:      rgba(29,25,21,.12);
  --wa:        #1f9d55;

  --serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --gutter: clamp(16px, 4vw, 56px);
  --maxw: 1320px;
  --radius: 22px;
  --nav-h: 76px;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

  --shadow-1: 0 1px 2px rgba(29,25,21,.06), 0 8px 24px -12px rgba(29,25,21,.18);
  --shadow-2: 0 30px 60px -30px rgba(80,35,15,.45);
}

/* =============================================================
   2. Reset & base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; line-height: 1.05; letter-spacing: -0.02em; font-weight: 400; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--accent); color: var(--paper); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
[hidden] { display: none !important; }

/* =============================================================
   3. Utilities
   ============================================================= */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link {
  position: fixed; top: -100px; left: 1rem; z-index: 9999;
  padding: .6rem 1rem; background: var(--ink); color: var(--paper); border-radius: 8px;
}
.skip-link:focus { top: 1rem; }
.grain {
  position: absolute; inset: 0; pointer-events: none; opacity: .16; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =============================================================
   4. Typography
   ============================================================= */
.kicker {
  font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  color: var(--accent); display: inline-flex; align-items: center; gap: .6em;
}
.kicker--light { color: var(--sand); }
.section-title {
  font-family: var(--serif); font-variation-settings: "opsz" 144, "SOFT" 50;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); font-weight: 350; margin-top: .5rem;
}
.section-title em, .hero-title em, .unit-title em, .radar-title em, .place-text em {
  font-style: italic; font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--accent);
}
.section-head { margin-bottom: clamp(2.5rem, 6vw, 4.5rem); max-width: 900px; }
.section-lead { margin-top: 1.2rem; font-size: clamp(1rem, 1.4vw, 1.15rem); color: var(--ink-soft); max-width: 640px; }

/* =============================================================
   5. Components
   ============================================================= */
.btn {
  --bg-btn: var(--ink); --fg-btn: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: .95em 1.5em; border-radius: 999px; font-weight: 500; font-size: .95rem; line-height: 1;
  background: var(--bg-btn); color: var(--fg-btn); white-space: nowrap;
  transition: transform .5s var(--ease-out), box-shadow .5s var(--ease-out), background .3s;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -14px rgba(143,61,31,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-accent { --bg-btn: var(--accent); }
.btn-accent:hover { --bg-btn: var(--accent-d); }
.btn-ghost { --bg-btn: transparent; --fg-btn: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn svg { width: 1.2em; height: 1.2em; }

.chip {
  padding: .6em 1.15em; border-radius: 999px; font-size: .9rem; font-weight: 500;
  box-shadow: inset 0 0 0 1px var(--line); background: var(--paper);
  transition: background .3s, color .3s, box-shadow .3s, transform .4s var(--ease-out);
}
.chip:hover { transform: translateY(-1px); box-shadow: inset 0 0 0 1px var(--ink); }
.chip.is-on { background: var(--ink); color: var(--paper); box-shadow: none; }

/* Splash */
.splash {
  position: fixed; inset: 0; z-index: 10000; background: var(--bg);
  display: grid; place-items: center;
  transition: opacity .9s var(--ease-out), clip-path 1.1s var(--ease-out);
  clip-path: inset(0 0 0 0);
  animation: splashSafety .01s 4.5s forwards;
}
.splash.is-out { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); }
@keyframes splashSafety { to { opacity: 0; pointer-events: none; clip-path: inset(0 0 100% 0); } }
.splash-inner { display: grid; justify-items: center; gap: .6rem; }
.splash-word {
  font-family: var(--serif); font-style: italic; font-size: clamp(3rem, 10vw, 6rem);
  font-variation-settings: "opsz" 144, "SOFT" 100; color: var(--ink);
  animation: splashIn 1.2s var(--ease-out) both;
}
.splash-sub { font-size: .75rem; letter-spacing: .3em; text-transform: uppercase; color: var(--accent); animation: splashIn 1.2s .15s var(--ease-out) both; }
.splash-line { width: 140px; height: 1px; background: var(--line); position: relative; overflow: hidden; margin-top: .8rem; }
.splash-line::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform-origin: left; animation: splashLine 1.4s .2s var(--ease-out) both; }
@keyframes splashIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } }
@keyframes splashLine { from { transform: scaleX(0); } }

/* Cursor */
.cursor { position: fixed; inset: 0; pointer-events: none; z-index: 9998; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--accent); }
.cursor-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid rgba(255,255,255,.9);
  mix-blend-mode: difference; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out);
}
.cursor.is-hover .cursor-ring { width: 70px; height: 70px; margin: -35px 0 0 -35px; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* Nav */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 900; height: var(--nav-h);
  display: flex; align-items: center; gap: 1.5rem; padding-inline: var(--gutter);
  color: var(--paper); transition: background .5s, color .5s, box-shadow .5s, transform .6s var(--ease-out);
}
.nav.is-solid {
  background: rgba(244,239,230,.86); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .nav.is-solid { background: var(--bg); } }
.nav.is-hidden { transform: translateY(-100%); }
.nav-logo { display: flex; align-items: center; gap: .6rem; margin-right: auto; }
.nav-mark { width: 30px; height: 30px; color: var(--accent); }
.nav:not(.is-solid) .nav-mark { color: var(--paper); }
.nav-name { font-family: var(--serif); font-size: 1.45rem; font-style: italic; line-height: 1; display: flex; flex-direction: column; }
.nav-name small { font-family: var(--sans); font-style: normal; font-size: .6rem; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-top: 3px; }
.nav-links { display: none; gap: 2rem; font-size: .92rem; }
.nav-links a { position: relative; padding: .3rem 0; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease-out); }
.nav-links a:hover::after, .nav-links a.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { display: none; padding: .8em 1.3em; }
.nav-burger { width: 44px; height: 44px; display: grid; place-content: center; gap: 7px; border-radius: 50%; position: relative; z-index: 2; }
.nav-burger span { width: 22px; height: 1.5px; background: currentColor; transition: transform .5s var(--ease-out); }
body.menu-open .nav-burger span:first-child { transform: translateY(4.25px) rotate(45deg); }
body.menu-open .nav-burger span:last-child { transform: translateY(-4.25px) rotate(-45deg); }
body.menu-open .nav { color: var(--ink); background: transparent; box-shadow: none; backdrop-filter: none; }
body.menu-open .nav-mark { color: var(--accent); }

.menu {
  position: fixed; inset: 0; z-index: 890; background: var(--bg);
  display: flex; flex-direction: column; justify-content: center; padding: var(--gutter);
  clip-path: circle(0% at calc(100% - 40px) 38px); visibility: hidden;
  transition: clip-path .8s var(--ease-out), visibility 0s .8s;
}
body.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; transition: clip-path .9s var(--ease-out), visibility 0s; }
.menu-links { display: grid; gap: .3rem; }
.menu-links a { font-family: var(--serif); font-size: clamp(2.4rem, 11vw, 4rem); line-height: 1.1; display: flex; align-items: baseline; gap: 1rem; opacity: 0; transform: translateY(30px); transition: opacity .6s, transform .8s var(--ease-out); }
.menu-links a span { font-family: var(--sans); font-size: .75rem; color: var(--accent); letter-spacing: .1em; }
body.menu-open .menu-links a { opacity: 1; transform: none; }
body.menu-open .menu-links a:nth-child(2) { transition-delay: .06s; }
body.menu-open .menu-links a:nth-child(3) { transition-delay: .12s; }
body.menu-open .menu-links a:nth-child(4) { transition-delay: .18s; }
body.menu-open .menu-links a:nth-child(5) { transition-delay: .24s; }
.menu-foot { margin-top: 3rem; color: var(--ink-mute); font-size: .9rem; }

/* =============================================================
   6. Sections
   ============================================================= */

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; color: var(--paper);
  display: flex; align-items: flex-end; overflow: hidden; isolation: isolate;
  padding: calc(var(--nav-h) + 3rem) 0 clamp(5rem, 9vh, 7rem);
}
.hero-media { position: absolute; inset: -6% 0 0; z-index: -2; will-change: transform; }
.hero-bg { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; animation: kenburns 24s var(--ease-soft) infinite alternate; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate3d(-1.5%, -1%, 0); } }
.hero-shade {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(20,12,8,.55) 0%, rgba(20,12,8,0) 28%),
    linear-gradient(0deg, rgba(20,12,8,.82) 0%, rgba(20,12,8,.35) 45%, rgba(20,12,8,0) 70%);
}
.hero .grain { z-index: -1; }
.hero-content { position: relative; }
.hero-kicker { color: #f3d9bf; text-shadow: 0 1px 12px rgba(0,0,0,.45); }
.hero-title, .hero-sub { text-shadow: 0 2px 30px rgba(20,12,8,.25); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 0 currentColor; animation: pulse 2.4s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px transparent; } }
.hero-title {
  font-family: var(--serif); font-weight: 300; font-variation-settings: "opsz" 144, "SOFT" 40;
  font-size: clamp(2.9rem, 10.5vw, 8.4rem); line-height: .95; margin: 1.1rem 0 1.3rem; letter-spacing: -.035em;
}
.hero-title em { color: #f0b48d; }
.hero-sub { max-width: 34rem; font-size: clamp(1rem, 1.6vw, 1.2rem); color: rgba(251,248,242,.88); font-weight: 300; }
.split-word { display: inline-block; will-change: transform; }

.hero-book {
  margin-top: 2rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: rgba(251,248,242,.18); border-radius: 20px; overflow: hidden; max-width: 760px;
  backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), inset 0 0 0 1px rgba(251,248,242,.22);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .hero-book { background: rgba(29,25,21,.75); } }
.hb-field { display: grid; gap: .1rem; padding: .8rem 1.1rem; background: rgba(20,12,8,.18); cursor: pointer; }
.hb-field span { font-size: .66rem; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); }
.hb-field input, .hb-field select { background: transparent; border: 0; color: var(--paper); font-size: 1rem; padding: 0; outline: none; color-scheme: dark; width: 100%; min-height: 1.6em; }
.hb-field select option { color: var(--ink); }
.hb-go { grid-column: 1 / -1; border-radius: 0; padding: 1.15em; font-size: 1rem; }
.hb-field:nth-child(3) { grid-column: 1 / -1; }
.hb-go:hover { transform: none; box-shadow: none; }
.hb-go span { transition: transform .5s var(--ease-out); }
.hb-go:hover span { transform: translateX(5px); }

.hero-proof { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 1.8rem; align-items: center; }
.hero-proof li { display: flex; align-items: center; gap: .7rem; font-size: .8rem; line-height: 1.3; color: rgba(251,248,242,.8); }
.hero-proof b { font-family: var(--serif); font-size: 1.15rem; font-weight: 500; color: var(--ink); background: var(--paper); border-radius: 10px 10px 10px 2px; padding: .35rem .55rem; }
.hero-proof .hero-proof-src { font-size: .7rem; opacity: .6; flex-basis: 100%; }
.hero-scroll { position: absolute; left: 50%; margin-left: -13px; bottom: 1.6rem; width: 26px; height: 44px; border: 1px solid rgba(251,248,242,.6); border-radius: 20px; display: none; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px; background: var(--paper); animation: scrollHint 2s var(--ease-out) infinite; }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }

/* ---- Marquee ---- */
.marquee { background: var(--ink); color: var(--paper); overflow: hidden; padding: 1.1rem 0; border-block: 1px solid #000; }
.marquee-track { display: flex; width: max-content; gap: 2.2rem; align-items: center; animation: marquee 40s linear infinite; }
.marquee span { font-family: var(--serif); font-style: italic; font-size: clamp(1.3rem, 2.6vw, 2rem); white-space: nowrap; }
.marquee i { color: var(--accent); font-style: normal; font-size: .9rem; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- El lugar ---- */
.place { padding-block: clamp(5rem, 12vw, 10rem); display: grid; gap: 2rem; }
.place-num { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.place-text {
  font-family: var(--serif); font-weight: 330; font-variation-settings: "opsz" 72;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem); line-height: 1.18; letter-spacing: -.015em; max-width: 1100px;
}
.place-text .w { opacity: .16; transition: opacity .3s; }
.place-text .w.is-lit { opacity: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border-block: 1px solid var(--line); margin-top: 2rem; }
.stat { background: var(--bg); padding: 1.6rem 1rem 1.6rem 0; }
.stat dt { font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; font-weight: 300; color: var(--ink); }
.stat dd { margin-top: .5rem; color: var(--ink-mute); font-size: .9rem; max-width: 16ch; }

/* ---- Apartamentos ---- */
.units { padding-bottom: clamp(4rem, 10vw, 8rem); }
.unit { display: grid; gap: clamp(2rem, 4vw, 4.5rem); align-items: center; margin-bottom: clamp(5rem, 10vw, 9rem); }
.unit-mosaic {
  position: relative; display: grid; gap: 10px;
  grid-template-columns: 1.25fr 1fr; grid-template-rows: repeat(3, clamp(110px, 18vw, 210px));
}
.m { overflow: hidden; border-radius: 18px; position: relative; background: var(--bg-2); cursor: zoom-in; }
.m img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter .8s; }
.m:hover img { transform: scale(1.07); filter: saturate(1.12) brightness(1.04); }
.m-a { grid-row: 1 / 4; border-radius: 22px 22px 22px 120px; }
.m-b { grid-row: 1 / 2; }
.m-c { grid-row: 2 / 3; }
.m-d { grid-row: 3 / 4; }
.m-more {
  position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: .5rem; align-items: center;
  background: var(--paper); color: var(--ink); padding: .65rem 1rem; border-radius: 999px; font-size: .85rem; font-weight: 500;
  box-shadow: var(--shadow-1); transition: transform .5s var(--ease-out);
}
.m-more:hover { transform: translateY(-2px) scale(1.03); }
.m-more svg { width: 16px; height: 16px; }
.unit-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.score { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); }
.score b { background: var(--accent-2); color: var(--paper); font-weight: 600; padding: .3rem .5rem; border-radius: 9px 9px 9px 2px; }
.unit-title { font-family: var(--serif); font-size: clamp(2.3rem, 4.6vw, 3.8rem); font-weight: 330; margin: .6rem 0 1rem; }
.unit-desc { color: var(--ink-soft); font-size: 1.05rem; max-width: 36rem; }
.amen { display: grid; grid-template-columns: 1fr; gap: .2rem 1.5rem; margin: 1.6rem 0 1.2rem; }
.amen li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.amen svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.unit-note { font-size: .85rem; color: var(--ink-mute); }
.unit-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.6rem; }

.compare { margin-top: -2rem; }
.compare-title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 350; margin-bottom: 1.4rem; }
.compare-table { background: var(--paper); border-radius: var(--radius); box-shadow: var(--shadow-1); overflow: hidden; font-size: .9rem; }
.c-row { display: grid; grid-template-columns: .8fr 1fr 1fr; border-bottom: 1px solid var(--line); }
.c-row:last-child { border-bottom: 0; }
.c-row > span { padding: .95rem 1rem; }
.c-row > span:first-child { color: var(--ink-mute); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; align-self: center; }
.c-head { background: var(--ink); color: var(--paper); font-family: var(--serif); font-size: 1.15rem; font-style: italic; }

/* ---- Strip horizontal ---- */
.strip { background: var(--bg-2); padding-block: clamp(4rem, 8vw, 6rem); overflow: hidden; }
.strip-pin { display: grid; gap: 2rem; }
.strip-intro { padding-inline: var(--gutter); max-width: 560px; }
.strip-hint { margin-top: 1rem; color: var(--ink-mute); font-size: .9rem; }
.strip-track {
  display: flex; gap: 14px; padding-inline: var(--gutter); overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-bottom: 6px;
}
.strip-track::-webkit-scrollbar { display: none; }
.s-card { position: relative; flex: none; scroll-snap-align: start; height: clamp(320px, 62vh, 560px); border-radius: var(--radius); overflow: hidden; }
.s-wide { width: min(86vw, 780px); }
.s-tall { width: min(66vw, 400px); }
.s-card img { width: 100%; height: 100%; object-fit: cover; }
.s-card figcaption {
  position: absolute; left: 14px; right: 14px; bottom: 14px; color: var(--paper);
  background: rgba(20,12,8,.42); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  padding: .7rem 1rem; border-radius: 14px; font-size: .88rem; display: flex; gap: .7rem; align-items: baseline;
}
.s-card figcaption b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.1rem; }

/* ---- Actividades ---- */
.acts { padding-block: clamp(5rem, 12vw, 9rem); }
.filters { display: flex; gap: .5rem; overflow-x: auto; scrollbar-width: none; margin-bottom: 2rem; padding-bottom: 4px; }
.filters::-webkit-scrollbar { display: none; }
.filters .chip { flex: none; }
.bento { display: grid; grid-template-columns: 1fr; gap: 14px; grid-auto-flow: dense; }
.act {
  position: relative; border-radius: var(--radius); overflow: hidden; min-height: 400px; cursor: pointer;
  color: var(--paper); background: var(--ink); isolation: isolate;
  transform-style: preserve-3d; transition: transform .7s var(--ease-out), box-shadow .7s var(--ease-out), opacity .45s, filter .45s;
}
.act img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease-out), filter .9s; }
.act::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(20,12,8,.92) 0%, rgba(20,12,8,.4) 52%, rgba(20,12,8,.05) 80%); transition: opacity .6s; }
.act:hover, .act:focus-visible { box-shadow: 0 40px 70px -35px rgba(180,83,47,.75); }
.act:hover img, .act:focus-visible img { transform: scale(1.1); filter: saturate(1.18) brightness(1.06); }
.act-body { position: absolute; inset: auto 0 0; padding: 1.4rem; display: grid; gap: .5rem; transform: translateZ(30px); }
.act-dist { justify-self: start; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500; background: rgba(251,248,242,.16); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); padding: .35rem .7rem; border-radius: 999px; box-shadow: inset 0 0 0 1px rgba(251,248,242,.25); }
.act h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.1rem); font-weight: 400; }
.act-short { font-size: .95rem; color: rgba(251,248,242,.85); max-width: 40ch; }
.act-more { display: none; }
.act-tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .2rem; }
.act-tags li { font-size: .72rem; padding: .25rem .6rem; border-radius: 999px; background: rgba(251,248,242,.12); }
.act.is-out { opacity: .12; filter: grayscale(1); pointer-events: none; transform: scale(.97); }
.act.is-hide { display: none; }

.radar { display: grid; gap: 2.5rem; align-items: center; margin-top: clamp(5rem, 10vw, 8rem); }
.radar-title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.3rem); font-weight: 330; margin: .5rem 0 .8rem; }
.radar-copy > p { color: var(--ink-mute); }
.radar-list { margin-top: 1.6rem; display: grid; }
.radar-list li { display: flex; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.radar-list b { font-family: var(--serif); font-size: 1.4rem; font-weight: 400; min-width: 4.2rem; color: var(--accent); }
.radar-viz { max-width: 520px; width: 100%; margin-inline: auto; }
.radar-viz svg { width: 100%; height: auto; overflow: visible; }
.rings circle { stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 5; }
.sweep path { fill: url(#none); fill: rgba(180,83,47,.10); transform-origin: 200px 200px; animation: sweep 7s linear infinite; }
@keyframes sweep { to { transform: rotate(360deg); } }
.pins g { opacity: 0; transform: scale(.4); transform-box: fill-box; transform-origin: center; transition: opacity .6s var(--d), transform .8s var(--ease-bounce) var(--d); }
.radar-viz.is-in .pins g { opacity: 1; transform: none; }
.pins circle { fill: var(--accent-2); }
.pins text, .center text { font-family: var(--sans); font-size: 12px; fill: var(--ink-soft); }
.center circle { fill: var(--accent); }
.center text { font-family: var(--serif); font-style: italic; font-size: 17px; fill: var(--ink); }
.center .pulse { fill: none; stroke: var(--accent); stroke-width: 2; transform-origin: 200px 200px; animation: ring 2.4s var(--ease-out) infinite; }
@keyframes ring { from { transform: scale(1); opacity: .9; } to { transform: scale(4.5); opacity: 0; } }

.seasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: clamp(4rem, 8vw, 6rem); }
.season { background: var(--paper); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-1); transition: transform .6s var(--ease-out); }
.season:hover { transform: translateY(-4px) rotate(-.4deg); }
.season-ico { font-size: 1.6rem; }
.season h4 { font-family: var(--serif); font-size: 1.5rem; font-weight: 400; margin: .6rem 0 .3rem; }
.season p { font-size: .9rem; color: var(--ink-soft); }

/* ---- Opiniones ---- */
.reviews { background: var(--paper); padding-block: clamp(5rem, 11vw, 9rem); }
.reviews-grid { display: grid; gap: 3.5rem; }
.big-score { font-family: var(--serif); font-size: clamp(5rem, 14vw, 9rem); line-height: .9; font-weight: 300; margin-top: 1rem; color: var(--accent); }
.big-score small { font-size: .3em; color: var(--ink-mute); margin-left: .2em; }
.big-score-label { color: var(--ink-mute); font-size: .92rem; margin-top: .6rem; max-width: 30ch; }
.bars { display: grid; gap: .8rem; margin-top: 2rem; max-width: 460px; }
.bars li { display: grid; grid-template-columns: 8.5rem 1fr 2.4rem; align-items: center; gap: .8rem; font-size: .88rem; }
.bars i { height: 6px; border-radius: 6px; background: var(--bg-2); position: relative; overflow: hidden; }
.bars i::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--accent-2), #6f8a55); transform-origin: left; transform: scaleX(var(--v)); transition: transform 1.6s var(--ease-out); }
.bars:not(.is-in) i::after { transform: scaleX(0); }
.bars b { font-weight: 600; text-align: right; }
.quotes { position: relative; align-self: center; }
.quotes-track { display: grid; }
.quote { grid-area: 1 / 1; opacity: 0; transform: translateY(20px); transition: opacity .8s var(--ease-out), transform 1s var(--ease-out); pointer-events: none; }
.quote.is-on { opacity: 1; transform: none; pointer-events: auto; }
.quote p { font-family: var(--serif); font-weight: 330; font-size: clamp(1.6rem, 3.4vw, 2.7rem); line-height: 1.2; letter-spacing: -.01em; }
.quote footer { margin-top: 1.4rem; color: var(--ink-mute); font-size: .9rem; display: flex; gap: .6rem; align-items: center; }
.quote footer::before { content: ""; width: 28px; height: 1px; background: var(--accent); }
.quotes-nav { display: flex; align-items: center; gap: 1rem; margin-top: 2.2rem; }
.q-btn { width: 48px; height: 48px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s, color .3s, transform .4s var(--ease-out); font-size: 1.1rem; }
.q-btn:hover { background: var(--ink); color: var(--paper); transform: scale(1.06); }
.q-count { font-size: .85rem; color: var(--ink-mute); font-variant-numeric: tabular-nums; min-width: 3.5rem; text-align: center; }
.quotes-src { margin-top: 1rem; font-size: .75rem; color: var(--ink-mute); }

/* ---- FAQ ---- */
.faq { padding-block: clamp(5rem, 11vw, 9rem); }
.faq-list { border-top: 1px solid var(--line); max-width: 980px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; padding: 1.4rem 3rem 1.4rem 0; position: relative;
  font-family: var(--serif); font-size: clamp(1.2rem, 2.2vw, 1.6rem); font-weight: 380; transition: color .3s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; width: 36px; height: 36px; margin-top: -18px;
  border-radius: 50%; display: grid; place-items: center; font-family: var(--sans); font-size: 1.2rem;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .5s var(--ease-out), background .3s, color .3s;
}
.faq-item[open] summary::after { transform: rotate(135deg); background: var(--accent); color: var(--paper); box-shadow: none; }
.faq-item summary:hover { color: var(--accent); }
.faq-a { padding: 0 0 1.5rem; color: var(--ink-soft); max-width: 62ch; animation: faqIn .6s var(--ease-out); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---- Reservar ---- */
.book { position: relative; color: var(--paper); padding-block: clamp(5rem, 11vw, 9rem); overflow: hidden; isolation: isolate; background: #1c130e; }
.book-bg { position: absolute; inset: 0; z-index: -1; }
.book-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .32; filter: saturate(.8); }
.book-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,19,14,.6), rgba(28,19,14,.95)); }
.book-grid { display: grid; gap: 2.5rem; align-items: start; }
.book-head p:last-child { color: rgba(251,248,242,.78); margin-top: 1.2rem; max-width: 40ch; }
.book-head .section-title em { color: #f0b48d; }
.book-card { background: var(--paper); color: var(--ink); border-radius: 28px; padding: clamp(1.1rem, 3vw, 2rem); box-shadow: 0 50px 100px -40px rgba(0,0,0,.7); display: grid; gap: 1.2rem; }
.bk-units { border: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.bk-units legend, .bk-field > span, .bk-dates label span { font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: .5rem; font-weight: 500; }
.bk-unit { position: relative; cursor: pointer; }
.bk-unit input { position: absolute; opacity: 0; }
.bk-unit span { display: grid; padding: .8rem .8rem; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, background .3s, transform .4s var(--ease-out); height: 100%; }
.bk-unit b { font-family: var(--serif); font-weight: 450; font-size: 1.05rem; }
.bk-unit small { font-size: .75rem; color: var(--ink-mute); }
.bk-unit input:checked + span { box-shadow: inset 0 0 0 2px var(--accent); background: #fbefe8; }
.bk-unit input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.bk-unit:hover span { transform: translateY(-2px); }

.bk-cal { display: none; }
.has-cal .bk-cal { display: block; }
.cal { display: grid; gap: 1.5rem; }
.cal-top { display: flex; align-items: center; justify-content: space-between; }
.cal-top b { font-family: var(--serif); font-weight: 450; font-size: 1.15rem; }
.cal-nav { width: 40px; height: 40px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.cal-nav:hover:not(:disabled) { background: var(--bg-2); }
.cal-nav:disabled { opacity: .3; cursor: default; }
.cal-months { display: grid; gap: 1.5rem; }
.cal-month h5 { font-family: var(--serif); font-weight: 450; font-size: 1.05rem; margin-bottom: .6rem; text-align: center; }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px 0; }
.cal-dow { font-size: .68rem; text-align: center; color: var(--ink-mute); padding-bottom: .3rem; text-transform: uppercase; }
.cal-day {
  aspect-ratio: 1; display: grid; place-items: center; font-size: .9rem; border-radius: 50%; position: relative;
  transition: background .25s, color .25s, transform .3s var(--ease-out); font-variant-numeric: tabular-nums;
}
.cal-day:hover:not(:disabled) { background: var(--bg-2); }
.cal-day:disabled { color: rgba(29,25,21,.22); cursor: default; }
.cal-day.is-range { background: #f6e1d5; border-radius: 0; }
.cal-day.is-start, .cal-day.is-end { background: var(--accent); color: var(--paper); border-radius: 50%; transform: scale(1.02); }
.cal-day.is-today::after { content: ""; position: absolute; bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

.bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; align-items: end; }
.bk-dates label { display: grid; }
.bk-dates input, .bk-field input[type="text"], .bk-field textarea {
  width: 100%; border: 0; border-radius: 12px; background: var(--bg); padding: .8rem .9rem; box-shadow: inset 0 0 0 1px var(--line); outline: none; transition: box-shadow .3s;
}
.bk-dates input:focus, .bk-field input:focus, .bk-field textarea:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.bk-nights { grid-column: 1 / -1; font-size: .9rem; color: var(--ink-soft); }
.bk-nights b { color: var(--accent); }
.has-cal .bk-dates label { display: none; }
.has-cal .bk-nights { padding: .8rem 1rem; border-radius: 12px; background: var(--bg); }
.bk-row { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; align-items: end; }
.bk-field { display: grid; }
.bk-full { grid-column: 1 / -1; }
.bk-field textarea { resize: vertical; }
.stepper { display: flex; align-items: center; justify-content: space-between; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); padding: 4px; }
.stepper button { width: 38px; height: 38px; border-radius: 9px; font-size: 1.2rem; transition: background .25s; }
.stepper button:hover { background: var(--bg-2); }
.stepper input { width: 3rem; text-align: center; border: 0; background: transparent; font-weight: 600; -moz-appearance: textfield; appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.bk-check { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; font-size: .95rem; cursor: pointer; }
.bk-check input { width: 20px; height: 20px; accent-color: var(--accent); }
.bk-error { color: #b42318; font-size: .9rem; min-height: 0; }
.bk-error:empty { display: none; }
.bk-actions { display: grid; gap: .6rem; }
.btn-wa { --bg-btn: var(--wa); padding: 1.1em 1.4em; font-size: 1rem; }
.btn-wa:hover { --bg-btn: #178246; box-shadow: 0 14px 30px -14px rgba(31,157,85,.8); }
.btn-mail { --bg-btn: var(--ink); padding: 1.1em 1.4em; font-size: 1rem; }
.bk-legal { font-size: .76rem; color: var(--ink-mute); }

/* ---- Footer ---- */
.foot { background: var(--ink); color: rgba(251,248,242,.8); padding: clamp(4rem, 8vw, 6rem) 0 calc(2rem + 76px); }
.foot-grid { display: grid; gap: 2.5rem; }
.foot-word { font-family: var(--serif); font-style: italic; font-size: clamp(3.4rem, 10vw, 7rem); line-height: .9; color: transparent; -webkit-text-stroke: 1px rgba(251,248,242,.6); transition: color .8s var(--ease-out); }
.foot-word:hover { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.foot-tag { margin-top: .8rem; }
.foot-col { display: grid; gap: .4rem; align-content: start; font-size: .92rem; }
.foot-col h4 { font-family: var(--sans); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--sand); margin-bottom: .5rem; font-weight: 500; }
.foot-col a { transition: color .3s; justify-self: start; }
.foot-col a:hover { color: #f0b48d; }
.foot-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(251,248,242,.12); font-size: .8rem; color: rgba(251,248,242,.5); }

/* ---- Barra móvil ---- */
.mbar {
  position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 800;
  display: flex; gap: 8px; padding: 8px; border-radius: 999px;
  background: rgba(251,248,242,.9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5), inset 0 0 0 1px var(--line);
  transform: translateY(150%); transition: transform .7s var(--ease-out);
}
.mbar.is-on { transform: none; }
.mbar-wa { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; }
.mbar-wa svg { width: 26px; height: 26px; }
.mbar-book { flex: 1; }
.mbar-leo { width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; }
.mbar-leo svg { width: 30px; height: 30px; }
body.mbar-on .chat-fab { opacity: 0; pointer-events: none; transform: translateY(20px) scale(.8); }

/* ---- Lightbox ---- */
.lb { position: fixed; inset: 0; z-index: 2000; background: rgba(16,11,8,.96); display: grid; grid-template-rows: 1fr auto; padding: 60px 12px 12px; animation: fadeIn .4s var(--ease-out); }
@keyframes fadeIn { from { opacity: 0; } }
.lb-stage { display: grid; place-items: center; min-height: 0; gap: .6rem; }
.lb-stage img { max-height: calc(100vh - 200px); max-height: calc(100svh - 200px); width: auto; max-width: 100%; border-radius: 14px; object-fit: contain; animation: lbIn .6s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; transform: scale(.97); } }
.lb-stage figcaption { color: rgba(251,248,242,.7); font-size: .85rem; text-align: center; }
.lb-close, .lb-nav { position: absolute; width: 48px; height: 48px; border-radius: 50%; color: var(--paper); background: rgba(251,248,242,.1); font-size: 1.2rem; transition: background .3s; }
.lb-close:hover, .lb-nav:hover { background: rgba(251,248,242,.22); }
.lb-close { top: 10px; right: 10px; }
.lb-nav { top: 50%; margin-top: -24px; display: none; }
.lb-prev { left: 16px; } .lb-next { right: 16px; }
.lb-thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 0; scrollbar-width: none; justify-content: safe center; }
.lb-thumbs button { flex: none; width: 56px; height: 56px; border-radius: 10px; overflow: hidden; opacity: .45; transition: opacity .3s; }
.lb-thumbs button.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---- Modal actividad ---- */
.am { position: fixed; inset: 0; z-index: 1900; display: grid; place-items: end center; }
.am-backdrop { position: absolute; inset: 0; background: rgba(16,11,8,.6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fadeIn .4s; }
.am-card { position: relative; width: 100%; max-width: 860px; max-height: 92vh; max-height: 92svh; overflow: auto; background: var(--paper); border-radius: 28px 28px 0 0; animation: amUp .7s var(--ease-out); display: grid; }
@keyframes amUp { from { transform: translateY(60px); opacity: 0; } }
.am-media { height: 240px; overflow: hidden; }
.am-media img { width: 100%; height: 100%; object-fit: cover; }
.am-body { padding: 1.6rem; display: grid; gap: .8rem; }
.am-body .act-dist { color: var(--accent); background: #fbefe8; box-shadow: none; }
.am-body h3 { font-family: var(--serif); font-weight: 380; font-size: clamp(2rem, 4vw, 2.8rem); }
.am-body p { color: var(--ink-soft); }
.am-body .act-tags li { background: var(--bg-2); }
.am-cta { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .6rem; }
.am-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; background: rgba(251,248,242,.9); box-shadow: var(--shadow-1); }

/* ---- Asistente ---- */
.chat-fab {
  position: fixed; right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); z-index: 1500;
  display: flex; align-items: center; gap: .7rem; padding: 7px; border-radius: 999px;
  background: var(--ink); color: var(--paper); box-shadow: 0 20px 40px -18px rgba(0,0,0,.6);
  transition: transform .6s var(--ease-out), opacity .4s, bottom .6s var(--ease-out);
}
.chat-fab:hover { transform: translateY(-3px); }
.chat-fab-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; position: relative; }
.chat-fab-ico::after { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 0 rgba(180,83,47,.6); animation: fabPulse 2.6s infinite; }
@keyframes fabPulse { 70% { box-shadow: 0 0 0 14px rgba(180,83,47,0); } }
.chat-fab-ico svg { width: 30px; height: 30px; }
.chat-fab-txt { display: none; font-size: .85rem; line-height: 1.2; padding-right: 1rem; text-align: left; }
.chat-fab-txt b { display: block; font-weight: 600; }
body.chat-open .chat-fab { opacity: 0; pointer-events: none; transform: scale(.8); }

.chat {
  position: fixed; inset: 0; z-index: 1600; display: flex; flex-direction: column;
  background: var(--paper); transform: translateY(105%); visibility: hidden;
  transition: transform .7s var(--ease-out), visibility 0s .7s;
}
body.chat-open .chat { transform: none; visibility: visible; transition: transform .7s var(--ease-out), visibility 0s; }
.chat-head { display: flex; align-items: center; gap: .8rem; padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top)); background: var(--ink); color: var(--paper); }
.chat-head small { display: flex; align-items: center; gap: .4rem; font-size: .75rem; opacity: .75; }
.chat-head b { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.3rem; }
.chat-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; flex: none; }
.chat-avatar svg { width: 28px; height: 28px; color: var(--paper); }
.online { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; display: inline-block; }
.chat-x { margin-left: auto; width: 40px; height: 40px; border-radius: 50%; background: rgba(251,248,242,.1); }
.chat-log { flex: 1; overflow-y: auto; padding: 18px 14px; display: flex; flex-direction: column; gap: 10px; background: var(--bg); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: .75rem 1rem; border-radius: 18px; font-size: .95rem; line-height: 1.5; animation: msgIn .5s var(--ease-out); white-space: pre-line; }
@keyframes msgIn { from { opacity: 0; transform: translateY(10px) scale(.98); } }
.msg-bot { background: var(--paper); align-self: flex-start; border-bottom-left-radius: 6px; box-shadow: var(--shadow-1); }
.msg-user { background: var(--accent); color: var(--paper); align-self: flex-end; border-bottom-right-radius: 6px; }
.msg-typing { display: inline-flex; gap: 4px; padding: 1rem; }
.msg-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-mute); animation: typing 1.2s infinite; }
.msg-typing i:nth-child(2) { animation-delay: .15s; } .msg-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 30% { transform: translateY(-5px); opacity: .5; } }
.msg-actions { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.msg-actions a, .msg-actions button { font-size: .82rem; padding: .5rem .8rem; border-radius: 999px; background: var(--bg-2); font-weight: 500; transition: background .3s; }
.msg-actions a:hover, .msg-actions button:hover { background: var(--sand); }
.msg-actions .is-wa { background: var(--wa); color: #fff; }
.msg-card { width: 100%; max-width: 100%; }
.cb-form { display: grid; gap: .55rem; margin-top: .6rem; }
.cb-form label { display: grid; gap: .2rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); }
.cb-form input, .cb-form select { border: 0; border-radius: 10px; background: var(--bg); padding: .6rem .7rem; box-shadow: inset 0 0 0 1px var(--line); font-size: .95rem; text-transform: none; letter-spacing: 0; color: var(--ink); width: 100%; }
.cb-row { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.cb-btns { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .3rem; }
.cb-btns button { padding: .75rem; border-radius: 12px; color: #fff; font-weight: 600; font-size: .88rem; }
.cb-btns .is-wa { background: var(--wa); }
.cb-btns .is-mail { background: var(--ink); }
.cb-err { color: #b42318; font-size: .82rem; }
.chat-chips { display: flex; gap: .4rem; padding: 10px 12px 0; overflow-x: auto; scrollbar-width: none; background: var(--paper); flex: none; }
.chat-chips::-webkit-scrollbar { display: none; }
.chat-chips button { flex: none; font-size: .82rem; padding: .5rem .8rem; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); transition: background .3s; }
.chat-chips button:hover { background: var(--bg-2); }
.chat-form { display: flex; gap: .5rem; padding: 10px 12px; padding-bottom: max(12px, env(safe-area-inset-bottom)); background: var(--paper); flex: none; }
.chat-form input { flex: 1; border: 0; border-radius: 999px; background: var(--bg); padding: .85rem 1.1rem; outline: none; box-shadow: inset 0 0 0 1px var(--line); font-size: 16px; }
.chat-form input:focus { box-shadow: inset 0 0 0 2px var(--accent); }
.chat-form button { width: 48px; height: 48px; border-radius: 50%; background: var(--accent); color: var(--paper); display: grid; place-items: center; flex: none; transition: transform .4s var(--ease-out); }
.chat-form button:hover { transform: rotate(-12deg) scale(1.05); }
.chat-form button svg { width: 20px; height: 20px; }

/* =============================================================
   7. Effects (reveal)
   ============================================================= */
.js .reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); }
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.js .clip-reveal { clip-path: inset(100% 0 0 0 round 18px); transition: clip-path 1.4s var(--ease-out); }
.js .clip-reveal.is-visible { clip-path: inset(0 0 0 0 round 0px); }
.js .m-a.clip-reveal.is-visible { clip-path: inset(0 0 0 0); }
.clip-reveal:nth-child(2) { transition-delay: .1s; } .clip-reveal:nth-child(3) { transition-delay: .2s; } .clip-reveal:nth-child(4) { transition-delay: .3s; }
.js .seasons .reveal:nth-child(2), .js .stats .reveal:nth-child(2) { transition-delay: .08s; }
.js .seasons .reveal:nth-child(3), .js .stats .reveal:nth-child(3) { transition-delay: .16s; }
.js .seasons .reveal:nth-child(4), .js .stats .reveal:nth-child(4) { transition-delay: .24s; }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 540px) {
  .hero-book { grid-template-columns: 1fr 1fr 1fr; }
  .hb-field:nth-child(3) { grid-column: auto; }
  .hb-go { grid-column: 1 / -1; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .stat { padding-left: 1.2rem; }
  .stat:first-child { padding-left: 0; }
  .amen { grid-template-columns: 1fr 1fr; }
  .bk-actions { grid-template-columns: 1fr 1fr; }
  .bk-row { grid-template-columns: 1fr 1fr auto; }
  .bk-check { grid-column: auto; padding-bottom: .9rem; }
  .cb-row { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .act-xl { grid-column: span 2; min-height: 520px; }
  .act-wide { grid-column: span 2; }
  .seasons { grid-template-columns: repeat(4, 1fr); }
  .chat-fab-txt { display: block; }
  .chat {
    inset: auto 20px 20px auto; width: 400px; height: min(640px, calc(100vh - 40px)); border-radius: 26px; overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0,0,0,.55), 0 0 0 1px var(--line); transform-origin: bottom right;
    transform: translateY(20px) scale(.92); opacity: 0;
    transition: transform .6s var(--ease-out), opacity .4s, visibility 0s .6s;
  }
  body.chat-open .chat { transform: none; opacity: 1; transition: transform .6s var(--ease-out), opacity .4s, visibility 0s; }
  .am { place-items: center; padding: 24px; }
  .am-card { border-radius: 28px; grid-template-columns: 1fr 1.1fr; }
  .am-media { height: auto; min-height: 100%; }
  .lb-nav { display: block; }
  .lb { padding: 70px 80px 16px; }
  .hero-scroll { display: block; }
}
@media (min-width: 960px) {
  :root { --nav-h: 84px; }
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-burger { display: none; }
  .mbar { display: none; }
  .chat-fab { bottom: 24px; right: 24px; }
  .foot { padding-bottom: 2rem; }
  .hero-book { grid-template-columns: 1fr 1fr 1fr auto; border-radius: 999px; }
  .hb-field { padding: .85rem 1.6rem; }
  .hb-field:first-child { padding-left: 2rem; }
  .hb-go { grid-column: auto; border-radius: 999px; margin: 6px; padding: 1em 1.8em; }
  .place { grid-template-columns: 220px 1fr; column-gap: 3rem; }
  .place-num { padding-top: 1.2rem; }
  .stats { grid-column: 1 / -1; }
  .unit { grid-template-columns: 1.15fr 1fr; }
  .unit--flip .unit-mosaic { order: 2; }
  .unit--flip .unit-mosaic .m-a { border-radius: 22px 120px 22px 22px; }
  .compare { max-width: 900px; }
  .c-row > span { padding: 1.1rem 1.4rem; }
  .bento { grid-template-columns: repeat(3, 1fr); }
  .act { min-height: 440px; }
  .act-xl { grid-column: span 2; grid-row: span 2; min-height: 100%; }
  .radar { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
  .reviews-grid { grid-template-columns: .9fr 1.1fr; gap: 5rem; }
  .book-grid { grid-template-columns: .8fr 1.2fr; gap: 4rem; }
  .book-head { position: sticky; top: calc(var(--nav-h) + 2rem); }
  .cal-months { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }

  /* Strip horizontal anclado (GSAP) */
  .strip.is-pinned { padding-block: 0; }
  .strip.is-pinned .strip-pin { height: 100vh; display: flex; align-items: center; gap: 0; }
  .strip.is-pinned .strip-intro { flex: none; width: 420px; padding-right: 3rem; }
  .strip.is-pinned .strip-track { overflow: visible; padding-left: 0; scroll-snap-type: none; }
  .strip.is-pinned .strip-hint { display: none; }
  .strip.is-pinned .s-card { height: 66vh; }
  .strip.is-pinned .s-wide { width: 56vw; max-width: 900px; }
  .strip.is-pinned .s-tall { width: 30vw; max-width: 460px; }
}
@media (min-width: 1280px) {
  .act-wide { grid-column: span 2; }
  .unit-mosaic { grid-template-rows: repeat(3, 220px); }
}

/* =============================================================
   9. Reduced motion — solo efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .marquee-track { animation-duration: 120s; }
  .sweep path { animation: none; }
  html { scroll-behavior: auto; }
}
