@import url('https://fonts.googleapis.com/css2?family=Anton&display=swap');

/* ===================================================================
   LIVING VICE SOCIETY — Landing premium (negro · blanco 3D · rojo)
   Narrativa "dos caminos" + scroll cinematográfico (entrada/salida)
   =================================================================== */

:root {
  --bg:        #0A0A0B;
  --surface:   #101012;
  --ink:       #ECECEC;
  --ink-dim:   #9A938A;
  --ink-faint: #8C867B;
  --gold:      #E9C46A;
  --gold-light:#F3DC94;
  --gold-dark: #C9A15A;
  --crimson:   #7E1416;
  --crimson-text: #D5483C;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;
  --font-accent:  'Cormorant Garamond', Georgia, serif;

  --maxw: 1240px;
  --nav-h: 70px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
body { animation: pageIn .55s ease both; } /* fundido de entrada (sin flash blanco, continuidad entre páginas) */
.joinwall { display: flex; flex-direction: column; align-items: center; gap: 11px; margin: 0 auto 2.4rem; }
.jw-avs { display: flex; }
.jw-av { width: 42px; height: 42px; border-radius: 50%; background-size: cover; background-position: center; border: 2px solid var(--bg); margin-left: -11px; box-shadow: 0 2px 8px rgba(0,0,0,.45); }
.jw-av:first-child { margin-left: 0; }
.jw-av[data-b="i"] { border-color: var(--gold); }
.jw-av[data-b="s"] { border-color: var(--crimson-text); }
.jw-txt { color: var(--ink-dim); font-size: .95rem; margin: 0; } .jw-txt b { color: var(--ink); }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { body { animation: none; } }
a { color: inherit; text-decoration: none; }

/* ---------- Tipografía / utilidades ---------- */
.eyebrow {
  font-size: .76rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem;
}
.h-section {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.06;
  letter-spacing: .005em;
}
.lead {
  color: var(--ink-dim); font-size: clamp(1rem, 1.35vw, 1.18rem);
  max-width: 56ch; margin-top: 1.2rem; font-weight: 400;
}
.lead--center { margin-left: auto; margin-right: auto; text-align: center; }
.quote {
  font-family: var(--font-accent); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem); color: var(--ink);
  margin-top: 1.6rem; line-height: 1.3;
}
.gold-text {
  background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold) 52%, var(--gold-dark) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.crimson-text { color: var(--crimson-text); font-style: italic; }

.ticks { list-style: none; margin-top: 1.8rem; display: grid; gap: .85rem; }
.ticks li { position: relative; padding-left: 1.7rem; color: var(--ink-dim); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .62em;
  width: 14px; height: 1px; background: var(--gold);
}

.section__head {
  max-width: 800px; margin: 0 auto; padding: 0 clamp(20px,5vw,40px);
  text-align: center;
}

.badge {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  font-size: .64rem; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(220, 224, 230,.45); border-radius: 999px;
  padding: 5px 11px; background: rgba(10,10,11,.55); backdrop-filter: blur(6px);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  padding: 13px 26px; border-radius: 4px; border: 1px solid transparent;
  cursor: pointer; transition: background .2s ease, transform .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn--lg { padding: 16px 34px; font-size: 1rem; }
.btn--gold { background: var(--gold); color: #0A0A0B; font-weight: 700; }
.btn--gold:hover { background: var(--gold-light); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(220, 224, 230,.6); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: rgba(220, 224, 230,.12); border-color: var(--gold); transform: translateY(-2px); }

/* ===================================================================
   CAPAS DE SCROLL / REVELADO (entrada + salida)
   =================================================================== */
.reveal { opacity: 0; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal[data-anim="up"]    { transform: translateY(30px); }
.reveal[data-anim="left"]  { transform: translateX(-34px); }
.reveal[data-anim="right"] { transform: translateX(34px); }
.reveal.is-in  { opacity: 1; transform: none; }
.reveal.is-out { opacity: .1; }

/* Revelado por líneas (máscara) — hero title y manifiesto */
.line-wrap { display: block; overflow: hidden; }
.line { display: block; transform: translateY(110%); transition: transform .85s var(--ease); }
.reveal.is-in .line { transform: translateY(0); }
.reveal.is-in .line-wrap:nth-child(1) .line { transition-delay: 0s; }
.reveal.is-in .line-wrap:nth-child(2) .line { transition-delay: .07s; }
.reveal.is-in .line-wrap:nth-child(3) .line { transition-delay: .14s; }
.reveal.is-in .line-wrap:nth-child(4) .line { transition-delay: .21s; }
.reveal.is-in .line-wrap:nth-child(5) .line { transition-delay: .28s; }
.reveal.is-in .line-wrap:nth-child(6) .line { transition-delay: .35s; }
.reveal.is-in .line-wrap:nth-child(7) .line { transition-delay: .42s; }

/* Revelado por recorte (clip) en imágenes */
.reveal[data-anim="clip"] .frame { clip-path: inset(0 0 0 100%); transition: clip-path .9s var(--ease); }
.reveal[data-anim="clip"].is-in .frame { clip-path: inset(0); }
.reveal[data-anim="clip-down"] .frame { clip-path: inset(100% 0 0 0); transition: clip-path .9s var(--ease); }
.reveal[data-anim="clip-down"].is-in .frame { clip-path: inset(0); }
.reveal[data-anim="clip"], .reveal[data-anim="clip-down"] { opacity: 1; }
.reveal[data-anim="clip"] .frame img, .reveal[data-anim="clip-down"] .frame img { transform: scale(1.07); transition: transform 1.1s var(--ease); }
.reveal.is-in .frame img { transform: scale(1); }

/* Capas parallax */
[data-speed] {
  position: absolute; top: -12%; left: 0; width: 100%; height: 124%;
  object-fit: cover; will-change: transform;
}
[data-crossfade] { will-change: opacity; }

/* ===================================================================
   BARRA SUPERIOR
   =================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 clamp(16px, 4vw, 40px);
  transition: background .3s ease, backdrop-filter .3s ease;
}
.nav::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform .5s var(--ease); transform-origin: center;
}
.nav.is-scrolled { background: rgba(10,10,11,.82); backdrop-filter: blur(12px); }
.nav.is-scrolled::after { transform: scaleX(1); }
.nav__logo { display: flex; align-items: baseline; gap: .6rem; }
.nav__logo-lvs {
  font-family: var(--font-display); font-weight: 800; font-size: 1.4rem;
  letter-spacing: .06em; color: var(--gold);
}
.nav__logo-full {
  font-size: .72rem; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: var(--ink-dim);
}
.nav__links { display: flex; gap: 1.8rem; }
.nav__links a { font-size: .86rem; font-weight: 500; letter-spacing: .04em; color: var(--ink-dim); position: relative; transition: color .2s ease; }
.nav__links a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .25s ease; }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1rem; }
.lang-toggle {
  background: none; border: 1px solid rgba(255,255,255,.16); border-radius: 4px;
  padding: 6px 10px; color: var(--ink-dim); cursor: pointer; font-family: var(--font-body);
  font-weight: 700; font-size: .78rem; letter-spacing: .05em; display: flex; gap: .35rem;
  transition: border-color .2s ease;
}
.lang-toggle:hover { border-color: var(--gold); }
.lang-toggle__opt { opacity: .5; transition: opacity .2s, color .2s; }
.lang-toggle__opt.is-active { opacity: 1; color: var(--gold); }
.lang-toggle__sep { opacity: .3; }
.nav__cta { padding: 8px 18px; font-size: .85rem; }
/* Menú móvil (hamburguesa) */
.nav__burger { display: none; background: none; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; color: var(--ink); font-size: 1.15rem; line-height: 1; padding: 6px 11px; cursor: pointer; }
.nav__burger:hover { border-color: var(--gold); }
.nav__mobile { display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99; background: rgba(10,10,11,.97); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(220,224,230,.22); flex-direction: column; padding: 8px clamp(16px,4vw,40px) 20px; }
.nav__mobile.is-open { display: flex; }
.nav__mobile a { padding: 13px 4px; font-size: 1.02rem; font-weight: 600; color: var(--ink-dim); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav__mobile a:last-child { border-bottom: none; }
.nav__mobile a:hover { color: var(--ink); }
.nav__mobile-cta { color: var(--gold) !important; }
@media (min-width: 901px){ .nav__mobile { display: none !important; } }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: calc(var(--nav-h) + 30px) 20px 70px; overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__photo { animation: heroPush 20s ease-out forwards; }
@keyframes heroPush { from { scale: 1.12; } to { scale: 1; } }
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,.82) 0%, rgba(8,8,10,.50) 40%, rgba(8,8,10,.72) 74%, var(--bg) 100%),
    radial-gradient(120% 82% at 50% 42%, transparent 26%, rgba(8,8,10,.80) 100%);
}
/* Aura de luz cálida tras la portada (glow premium, sin neón) */
.hero__aura {
  position: absolute; left: 50%; top: 46%; transform: translate(-50%, -50%);
  width: min(64vw, 820px); height: 42vh; border-radius: 50%; z-index: 1; pointer-events: none;
  background: radial-gradient(circle, rgba(220,224,230,.10) 0%, rgba(220,224,230,0) 66%);
  filter: blur(60px);
}
@keyframes auraPulse { 0%,100% { opacity: .62; transform: translate(-50%,-50%) scale(1); } 50% { opacity: 1; transform: translate(-50%,-50%) scale(1.07); } }

/* ===== Revelado de la ciudad (pinned + máscara con scroll) ===== */
.pin { position: relative; height: 220vh; }
.pin__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; background: #000; }
.pin__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; clip-path: inset(0 round 26px); transform: scale(1.05); will-change: clip-path, transform; }
.pin__veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 28%, rgba(10,10,11,.72) 100%), linear-gradient(180deg, rgba(10,10,11,.5), transparent 30%, transparent 68%, rgba(10,10,11,.65)); }
.pin__content { position: relative; z-index: 2; text-align: center; max-width: 760px; padding: 0 clamp(20px,5vw,40px); }
.pin__title { font-family: 'Oswald', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: clamp(2.4rem, 8.5vw, 6.6rem); line-height: 1; color: #fff; text-shadow: 0 8px 44px rgba(0,0,0,.7); margin: .3rem 0 1.1rem; }
@media (prefers-reduced-motion: reduce) {
  .hero__aura { animation: none; }
  .pin { height: auto; }
  .pin__stage { position: relative; height: 80vh; }
  .pin__img { clip-path: none !important; transform: none !important; }
}
.hero__content { position: relative; z-index: 2; max-width: 860px; }
.hero__eyebrow {
  display: inline-block; font-size: .76rem; font-weight: 600; letter-spacing: .28em;
  text-transform: uppercase; color: var(--gold); border: 1px solid rgba(220, 224, 230,.4);
  border-radius: 999px; padding: 7px 18px; margin-bottom: 1.8rem; background: rgba(10,10,11,.4);
}
.hero__title {
  font-family: var(--font-display); font-weight: 800; line-height: .98;
  text-transform: uppercase; letter-spacing: .02em;
  font-size: clamp(2.8rem, 9vw, 6.4rem);
  text-shadow: 0 4px 34px rgba(0,0,0,.55);
  animation: heroTrack 1.5s var(--ease) .05s both; /* tracking que asienta + micro-blur (intro de tráiler) */
}
@keyframes heroTrack { 0% { letter-spacing: .18em; filter: blur(7px); } 100% { letter-spacing: .02em; filter: blur(0); } }
.hero__tagline {
  font-family: var(--font-accent); font-style: italic; font-weight: 500;
  font-size: clamp(1.3rem, 3vw, 2.1rem); color: var(--gold); margin-top: 1.3rem;
  text-shadow: 0 2px 18px rgba(0,0,0,.5);
  animation: heroFade 1s var(--ease) .75s both;
}
@keyframes heroFade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__title { animation: none; } .hero__tagline { animation: none; opacity: 1; } }
.hero__sub { color: var(--ink-dim); font-size: clamp(1rem, 1.5vw, 1.18rem); max-width: 60ch; margin: 1.5rem auto 0; }
.hero__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; }
.hero__note { margin-top: 1.8rem; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-dim); opacity: .7; }
.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3;
  width: 24px; height: 40px; border: 1px solid rgba(220, 224, 230,.5); border-radius: 14px;
  display: flex; justify-content: center; padding-top: 8px;
}
.hero__scroll span { width: 3px; height: 8px; border-radius: 3px; background: var(--gold); animation: scrollDot 1.7s ease-in-out infinite; }
@keyframes scrollDot { 0%{opacity:0;transform:translateY(-4px);} 40%{opacity:1;} 80%{opacity:0;transform:translateY(12px);} 100%{opacity:0;} }

/* ===== Comunidad viva (prueba social en el inicio) ===== */
.community { max-width: 1080px; margin: 0 auto; padding: clamp(48px,8vw,90px) clamp(20px,5vw,40px); }
.community__grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(20px,3vw,34px); margin-top: clamp(26px,4vw,42px); }
@media (max-width: 820px){ .community__grid { grid-template-columns: 1fr; } }
.cmt-col { display: flex; flex-direction: column; min-width: 0; }
.cmt-h { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 14px; color: var(--ink); }
.cmt-feed, .cmt-props { display: flex; flex-direction: column; gap: 10px; }
.cmt-msg { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 14px; padding: 13px 15px; }
.cmt-av { width: 38px; height: 38px; border-radius: 50%; flex: none; background-size: cover; background-position: center; display: grid; place-items: center; color: #0a0a0b; font-weight: 800; font-size: .85rem; }
.cmt-b { min-width: 0; flex: 1; }
.cmt-top { font-size: .8rem; color: var(--ink-faint); margin-bottom: 3px; }
.cmt-top b { color: var(--ink); font-weight: 700; }
.cmt-txt { color: var(--ink-dim); font-size: .92rem; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cmt-prop { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; padding: 11px 14px; }
.cmt-vote { display: flex; flex-direction: column; align-items: center; min-width: 60px; flex: none; }
.cmt-vote .v { font-weight: 800; font-size: .95rem; color: var(--ink); white-space: nowrap; }
.cmt-vote .l { font-size: .56rem; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-faint); }
.cmt-pt { font-size: .92rem; color: var(--ink-dim); font-weight: 600; line-height: 1.4; }
.cmt-more { display: inline-block; margin-top: 16px; color: var(--ink); font-weight: 700; font-size: .9rem; text-decoration: none; }
.cmt-more:hover { opacity: .8; }
.cmt-loading { color: var(--ink-faint); padding: 14px 4px; font-size: .9rem; }

/* ===== ¿Qué es LVS? (3 ideas) ===== */
.explain { max-width: 1080px; margin: 0 auto; padding: clamp(40px,7vw,80px) clamp(20px,5vw,40px); }
.explain__grid { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,2.5vw,28px); margin-top: clamp(22px,3.5vw,38px); }
@media (max-width: 760px){ .explain__grid { grid-template-columns: 1fr; } }
.xstep { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 16px; padding: clamp(20px,3vw,30px); }
.xstep__n { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--ink-faint); opacity: .55; }
.xstep h3 { font-family: var(--font-display); font-size: 1.25rem; margin: .5rem 0 .6rem; color: var(--ink); }
.xstep p { color: var(--ink-dim); font-size: .98rem; line-height: 1.6; margin: 0; }

/* ===== FAQ ===== */
.faq { max-width: 760px; margin: 0 auto; padding: clamp(40px,7vw,80px) clamp(20px,5vw,40px); }
.faq__list { margin-top: clamp(20px,3vw,34px); display: flex; flex-direction: column; gap: 10px; }
.faq__item { background: var(--surface); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; overflow: hidden; }
.faq__item summary { cursor: pointer; padding: 16px 18px; font-weight: 700; font-size: 1.02rem; color: var(--ink); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-size: 1.3rem; color: var(--ink-faint); font-weight: 400; transition: transform .2s ease; flex: none; }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__a { padding: 0 18px 16px; color: var(--ink-dim); font-size: .96rem; line-height: 1.6; }
.faq__a a { color: var(--ink); font-weight: 700; text-decoration: underline; }

/* ===== Accesibilidad: foco de teclado visible ===== */
:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 2px; border-radius: 5px; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible, summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid #8fb0ff; outline-offset: 2px; }

/* ===== Newsletter (captura de email) ===== */
.news { display: flex; flex-direction: column; gap: 8px; max-width: 340px; }
.news-label { font-weight: 700; font-size: .92rem; color: var(--ink); }
.news-row { display: flex; gap: 8px; }
.news-row input { flex: 1; min-width: 0; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); border-radius: 9px; padding: 10px 12px; color: var(--ink); font-family: var(--font-body); font-size: .92rem; }
.news-row .btn { flex: none; }
.news-msg { font-size: .82rem; color: var(--ink-dim); min-height: 1em; }

/* ===== Campanita de notificaciones ===== */
#notifBell { position: relative; display: inline-flex; }
#notifBell:empty { display: none; }
.nbell { position: relative; background: none; border: none; cursor: pointer; font-size: 1.15rem; line-height: 1; padding: 4px; color: var(--ink); }
.nbell-n { position: absolute; top: -2px; right: -4px; background: var(--crimson, #d5483c); color: #fff; font-size: .6rem; font-weight: 800; min-width: 15px; height: 15px; border-radius: 999px; display: grid; place-items: center; padding: 0 3px; }
.nbell-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); width: 320px; max-width: 86vw; max-height: 62vh; overflow-y: auto; background: #15161a; border: 1px solid rgba(255,255,255,.14); border-radius: 14px; box-shadow: 0 16px 50px rgba(0,0,0,.6); z-index: 90; text-align: left; }
.nbell-menu.open { display: block; }
.nbell-h { padding: 12px 15px; font-weight: 800; border-bottom: 1px solid rgba(255,255,255,.08); font-size: .9rem; color: var(--ink); }
.nbell-i { padding: 11px 15px; border-bottom: 1px solid rgba(255,255,255,.05); }
.nbell-i.un { background: rgba(120,170,255,.08); }
.nbell-s { font-weight: 700; font-size: .88rem; color: var(--ink); }
.nbell-b { font-size: .82rem; color: var(--ink-dim); margin-top: 2px; line-height: 1.4; }
.nbell-t { font-size: .72rem; color: var(--ink-faint); margin-top: 3px; }
.nbell-empty { padding: 22px 15px; color: var(--ink-faint); font-size: .88rem; text-align: center; }

/* ===================================================================
   MANIFIESTO
   =================================================================== */
.manifesto {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: clamp(80px, 14vw, 180px) clamp(20px, 6vw, 40px); background: var(--bg);
}
.manifesto__inner { max-width: 920px; text-align: center; }
.manifesto__rule { display: block; width: 60px; height: 1px; background: var(--gold); margin: 0 auto 2.6rem; }
.manifesto .line-wrap { margin: .1em 0; }
.manifesto .line {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.5rem, 3.6vw, 3rem); line-height: 1.28; color: var(--ink);
}
.manifesto__final { margin-top: 1.4em; }
.manifesto__final .line { font-weight: 700; font-size: clamp(1.7rem, 4vw, 3.4rem); }

/* ===================================================================
   SECCIONES "SPLIT" (texto + imagen)
   =================================================================== */
.split { padding: clamp(70px, 11vw, 150px) clamp(20px, 5vw, 48px); }
.split__inner {
  max-width: var(--maxw); margin: 0 auto; display: grid;
  grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 84px); align-items: center;
}
.split--reverse .split__inner { grid-template-columns: 1.15fr 1fr; }
.split--reverse .split__text { order: 2; }
.split--reverse .split__media { order: 1; }
.frame {
  position: relative; border-radius: 6px; overflow: hidden;
  border: 1px solid rgba(220, 224, 230,.25); box-shadow: 0 40px 90px rgba(0,0,0,.6);
}
.frame img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.frame--tall img { aspect-ratio: 3/4; }

.stats { display: flex; gap: clamp(22px, 4vw, 50px); margin-top: 2.2rem; flex-wrap: wrap; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4.4vw, 3rem); display: block; line-height: 1; }
.stat__label { display: block; margin-top: .5rem; color: var(--ink-dim); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }

/* ===================================================================
   SECCIONES "SCENE" (sticky crossfade día/noche)
   =================================================================== */
.scene { position: relative; height: 200vh; }
.scene__pin { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.scene__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.scene__shade {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,.85) 0%, rgba(10,10,11,.1) 45%, rgba(10,10,11,.5) 100%);
}
.scene__content { position: absolute; bottom: 8vh; max-width: 580px; padding: 0 clamp(22px, 5vw, 64px); z-index: 2; }
.scene__content--bl { left: 0; }
.scene__content--br { right: 0; text-align: right; }
.scene__content--br .lead { margin-left: auto; }

/* ===================================================================
   DOS CAMINOS (climax — oro vs rojo)
   =================================================================== */
.paths { padding: clamp(70px, 11vw, 150px) 0 0; background: var(--bg); }
.paths__head { max-width: 800px; margin: 0 auto clamp(36px, 5vw, 64px); padding: 0 clamp(20px,5vw,40px); text-align: center; }
.paths__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 2px;
  max-width: 1320px; margin: 0 auto;
}
.path {
  position: relative; min-height: 80vh; overflow: hidden;
  display: flex; align-items: flex-end;
  transition: opacity .5s ease, filter .5s ease;
}
.path__media { position: absolute; inset: 0; }
.path__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.path::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,10,11,.94) 8%, rgba(10,10,11,.2) 55%, rgba(10,10,11,.55) 100%);
}
.path--empire { box-shadow: inset 0 4px 0 var(--gold); }
.path--underworld { box-shadow: inset 0 4px 0 var(--crimson); }
.path__body { position: relative; z-index: 2; padding: clamp(26px, 3.4vw, 56px); max-width: 560px; }
.path__tag { font-size: .74rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; display: block; margin-bottom: .8rem; }
.path__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; margin-bottom: 1rem; }
.path__text { color: #d8d2c8; font-size: clamp(.98rem, 1.3vw, 1.12rem); }
.path--empire .path__tag, .path--empire .path__title { color: var(--gold); }
.path--underworld .path__tag, .path--underworld .path__title { color: var(--crimson-text); }
/* "Elige": al pasar el ratón por uno, el otro se atenúa */
.paths__grid:hover .path { opacity: .5; filter: grayscale(.5); }
.paths__grid .path:hover { opacity: 1; filter: none; }
.path:hover .path__media img { transform: scale(1.05); }

/* ===================================================================
   SECCIONES FULL-BLEED (policía, mansiones)
   =================================================================== */
.bleed { position: relative; min-height: 100vh; display: flex; overflow: hidden; }
.bleed__bg { position: absolute; inset: 0; overflow: hidden; }
.bleed__shade { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 50%, transparent 30%, rgba(10,10,11,.75) 100%), linear-gradient(180deg, rgba(10,10,11,.5), transparent 30%); }
.bleed__shade--bottom { background: linear-gradient(0deg, rgba(10,10,11,.92) 4%, rgba(10,10,11,.2) 50%), radial-gradient(120% 90% at 50% 50%, transparent 40%, rgba(10,10,11,.6) 100%); }
.bleed--cold .bleed__bg::after { content: ""; position: absolute; inset: 0; background: rgba(20,40,70,.18); }
.bleed__content { position: relative; z-index: 2; max-width: 640px; padding: clamp(28px, 6vw, 80px); align-self: flex-end; margin-bottom: 6vh; }
.bleed__content--bl { align-self: flex-end; }
.bleed__content--center { align-self: center; margin: 0 auto; text-align: center; }

/* ===================================================================
   GALERÍA
   =================================================================== */
.gallery { padding: clamp(70px, 11vw, 150px) 0; background: var(--surface); }
.gallery__grid {
  max-width: var(--maxw); margin: clamp(36px,5vw,60px) auto 0; padding: 0 clamp(20px, 5vw, 48px);
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.gallery__item { position: relative; border-radius: 6px; overflow: hidden; border: 1px solid rgba(255,255,255,.06); aspect-ratio: 4/3; }
.gallery__item--wide { grid-column: span 3; aspect-ratio: 21/8; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }

/* ===================================================================
   CTA — APÚNTATE
   =================================================================== */
.cta { position: relative; padding: clamp(90px, 14vw, 180px) clamp(20px, 5vw, 48px); text-align: center; overflow: hidden; }
.cta__bg { position: absolute; inset: 0; overflow: hidden; }
.cta__bg img { position: absolute; inset: 0; width: 100%; height: 124%; top: -12%; object-fit: cover; filter: blur(6px) brightness(.32); }
.cta::after { content: ""; position: absolute; inset: 0; background: radial-gradient(100% 100% at 50% 50%, rgba(10,10,11,.55), rgba(10,10,11,.9)); }
.cta__inner { position: relative; z-index: 2; max-width: 680px; margin: 0 auto; }
.cta__form { display: flex; gap: .8rem; margin: 2.4rem auto 0; max-width: 540px; }
.cta__input {
  flex: 1; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.2);
  border-radius: 4px; padding: 16px 18px; color: var(--ink); font-size: 1rem; font-family: var(--font-body);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cta__input::placeholder { color: var(--ink-dim); }
.cta__input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(220, 224, 230,.18); }
.cta__input.is-error { border-color: var(--crimson-text); box-shadow: 0 0 0 3px rgba(213,72,60,.2); }
.cta__msg { margin-top: 1.1rem; font-weight: 600; min-height: 1.4em; }
.cta__msg.is-ok { color: var(--gold); }
.cta__msg.is-err { color: var(--crimson-text); }
.cta__legal { margin-top: 1.4rem; font-size: .8rem; color: var(--ink-dim); opacity: .8; }

/* --- Registro / Inicio de sesión --- */
.is-hidden { display: none !important; }
.auth-form { margin: 2.2rem auto 0; max-width: 560px; }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; text-align: left; }
.auth-grid--login { grid-template-columns: 1fr; }
.auth-grid .cta__input { width: 100%; }
.auth-date { display: flex; flex-direction: column; gap: .3rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-dim); }
.auth-date input { text-transform: none; letter-spacing: normal; color-scheme: dark; }
.auth-form__submit { margin-top: 1.1rem; width: 100%; }
.auth-account { margin: 2rem auto 0; max-width: 560px; display: flex; flex-direction: column; gap: 1.1rem; align-items: center; }
.auth-account__hi { color: var(--ink); font-size: 1.15rem; }
.auth-account__hi strong { color: var(--gold); }
.auth-toggle { margin-top: 1.2rem; color: var(--ink-dim); font-size: .92rem; }
.auth-toggle a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
@media (max-width: 600px) { .auth-grid { grid-template-columns: 1fr; } }

/* CTA que abre la ventana */
.cta-auth { margin: 2.4rem auto 0; }
.cta-auth__login { margin-top: 1.2rem; color: var(--ink-dim); font-size: .92rem; }
.cta-auth__login a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }

/* --- Ventana (modal) de registro / sesión --- */
body.modal-open { overflow: hidden; }
.modal { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal.is-hidden { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(5,5,7,.82); backdrop-filter: blur(6px); }
.modal__card { position: relative; z-index: 1; width: 100%; max-width: 440px; max-height: 92vh; overflow-y: auto; background: var(--surface); border: 1px solid rgba(220, 224, 230,.2); border-radius: 14px; padding: clamp(28px, 5vw, 44px); box-shadow: 0 40px 120px rgba(0,0,0,.7); animation: modalIn .35s var(--ease); }
@keyframes modalIn { from { opacity: 0; transform: translateY(20px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__close { position: absolute; top: 12px; right: 16px; background: none; border: none; color: var(--ink-dim); font-size: 1.8rem; line-height: 1; cursor: pointer; transition: color .2s; }
.modal__close:hover { color: var(--ink); }
.modal__brand { text-align: center; margin-bottom: 1.4rem; }

.wiz { text-align: center; }
.wiz__progress { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-dim); }
.wiz__bar { height: 3px; background: rgba(255,255,255,.08); border-radius: 3px; margin: .7rem 0 1.5rem; overflow: hidden; }
.wiz__bar-fill { height: 100%; width: 25%; background: linear-gradient(90deg, var(--gold-dark), var(--gold)); border-radius: 3px; transition: width .4s var(--ease); }
.wiz__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.5rem, 4vw, 2rem); margin-bottom: 1.6rem; line-height: 1.1; }
.wiz__label { display: block; text-align: left; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); margin: 0 0 .5rem; }
.wiz__sublabel { display: block; text-align: left; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-dim); margin: 1rem 0 .5rem; }
.wiz__input { width: 100%; color-scheme: dark; }
.wiz__input + .wiz__input { margin-top: .7rem; }
.wiz__actions { display: flex; gap: .7rem; margin-top: 1.6rem; }
.wiz__grow { flex: 1; }
.wiz__alt { margin-top: 1.3rem; font-size: .9rem; color: var(--ink-dim); }
.wiz__alt a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.wiz__check { width: 64px; height: 64px; margin: 0 auto 1.2rem; border-radius: 50%; background: rgba(220, 224, 230,.12); border: 1px solid var(--gold); color: var(--gold); font-size: 2rem; display: flex; align-items: center; justify-content: center; }
.wiz #wizMsg, .wiz #loginMsg { min-height: 1.2em; margin-top: 1rem; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer { background: #060607; border-top: 1px solid rgba(220, 224, 230,.18); }
.footer__inner { max-width: var(--maxw); margin: 0 auto; padding: clamp(40px,7vw,70px) clamp(20px,5vw,48px); display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer__brand { max-width: 380px; }
.footer__tag { color: var(--ink-dim); margin-top: .8rem; font-size: .92rem; }
.footer__social { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.footer__social a { font-weight: 500; color: var(--ink-dim); font-size: .92rem; transition: color .2s ease; }
.footer__social a:hover { color: var(--gold); }
.footer__credits { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px,5vw,48px) clamp(28px,4vw,40px); }
.footer__credits p { color: var(--ink-dim); font-size: .74rem; line-height: 1.7; opacity: .65; }
.footer__credits a { color: var(--ink-dim); text-decoration: underline; text-underline-offset: 2px; }
.footer__credits a:hover { color: var(--gold); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.05); padding: 22px clamp(20px,5vw,48px); text-align: center; }
.footer__bottom p { color: var(--ink-dim); font-size: .8rem; opacity: .7; }
.footer__bottom p + p { margin-top: 6px; }
.footer__bottom a { color: var(--gold); opacity: 1; }
.footer__bottom a:hover { color: #e3c989; }

/* ===================================================================
   CAPAS CINEMATOGRÁFICAS GLOBALES
   =================================================================== */
.vignette { position: fixed; inset: 0; pointer-events: none; z-index: 55; background: radial-gradient(ellipse at center, transparent 58%, rgba(0,0,0,.6) 100%); }
.grain { position: fixed; inset: 0; pointer-events: none; z-index: 56; opacity: .5; mix-blend-mode: soft-light; }
.grain-svg { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 56; opacity: .045; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav__burger { display: inline-flex; align-items: center; }
  .nav__logo-full { display: none; }
  .split__inner, .split--reverse .split__inner { grid-template-columns: 1fr; gap: 30px; }
  .split--reverse .split__text, .split--reverse .split__media { order: initial; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 16/8; }
  .paths__grid { grid-template-columns: 1fr; }
  .path { min-height: 70vh; }
  .scene__content--br { text-align: left; }
  .scene__content--br .lead { margin-left: 0; }
}
@media (max-width: 600px) {
  .gallery__grid { grid-template-columns: 1fr; }
  .gallery__item, .gallery__item--wide { grid-column: span 1; aspect-ratio: 16/10; }
  .cta__form { flex-direction: column; }
  .nav__cta { display: none; }
  .hero__actions .btn { width: 100%; }
}

/* ===================================================================
   MEJORAS MÓVIL (auditoría) — el prefijo 'body' sube la especificidad
   para ganar a los <style> propios de cada página (que cargan después).
   =================================================================== */
@media (max-width: 600px) {
  /* Botones a ancho completo: el texto envuelve en 2 líneas en vez de cortarse */
  body .price .btn, body .home-offer__card .btn, .hero__actions .btn,
  body .actions .btn, body .new .btn { white-space: normal; line-height: 1.25; }
  /* Áreas táctiles mínimas (~40px) en toggles y enlaces de las barras */
  body .lng, .lang-toggle { min-height: 40px; padding: 8px 12px; }
  body .buy-nav a.back { padding: 8px 4px; display: inline-flex; align-items: center; }
  .modal__close { min-width: 40px; min-height: 40px; }
}
@media (max-width: 560px) {
  /* Barras superiores: que respiren y envuelvan en móviles estrechos */
  body .buy-nav { flex-wrap: wrap; gap: 8px 10px; padding: 10px clamp(12px,4vw,40px); }
  body .buy-nav__right { gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
  body .c-nav { padding: 10px 14px; }
  body .c-nav > div { flex-wrap: wrap; gap: 10px; }
  /* Formulario de nueva propuesta: controles a ancho completo y apilados */
  body .new { flex-direction: column; align-items: stretch; }
  body .new select, body .new input, body .new .btn { width: 100%; }
}
@media (hover: none) {
  /* En táctil no hay hover: el botón "Descargar" de los fondos, siempre visible */
  body .wp .dl { opacity: 1; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78)); }
}

/* ===================================================================
   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: .01ms !important; }
  .reveal, .line, .frame, .frame img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  [data-speed], [data-crossfade] { transform: none !important; }
  [data-crossfade] { opacity: 1 !important; }
  .grain, .grain-svg { display: none; }
  .cookiebar { transition: none !important; }
}

/* ===================================================================
   EDICIÓN FUNDADOR — teaser en la home
   =================================================================== */
.ftease { padding: clamp(56px,9vw,110px) clamp(20px,5vw,40px); text-align: center; border-top: 1px solid rgba(255,255,255,.06); background: radial-gradient(120% 100% at 50% 0%, rgba(220, 224, 230,.07), transparent 60%); }
.ftease__inner { max-width: 640px; margin: 0 auto; }
.ftease__price { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 1.4rem 0 1.6rem; }
.ftease__old { color: var(--ink-faint); text-decoration: line-through; font-size: 1.3rem; }
.ftease__now { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 6vw, 2.8rem); line-height: 1; }
.ftease__off { background: var(--crimson); color: #fff; font-weight: 700; font-size: .85rem; padding: 3px 10px; border-radius: 999px; }
.ftease__note { color: var(--ink-faint); font-size: .85rem; margin-top: 1.1rem; }
.guarantee { display: inline-block; background: rgba(76,207,143,.12); border: 1px solid rgba(76,207,143,.4); color: #7fe0b0; font-weight: 700; font-size: .85rem; padding: 7px 16px; border-radius: 999px; }

/* ===================================================================
   MENÚ DE CUENTA EN LA BARRA SUPERIOR (cuando hay sesión)
   =================================================================== */
.nav__acct { position: relative; }
.nav__acct-btn { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.05); border: 1px solid rgba(220, 224, 230,.3); border-radius: 999px; padding: 4px 12px 4px 4px; color: var(--ink); cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .9rem; }
.nav__acct-btn:hover { border-color: var(--gold); }
.nav__acct-av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); background-size: cover; background-position: center; color: #0a0a0b; display: grid; place-items: center; font-weight: 800; font-size: .85rem; flex: none; }
.nav__acct-name { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav__acct-founder { color: var(--gold); font-size: .95rem; }
.nav__acct-caret { color: var(--ink-dim); font-size: .75rem; }
.nav__acct-menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 200px; background: #15161a; border: 1px solid rgba(220, 224, 230,.25); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.5); display: none; flex-direction: column; gap: 2px; z-index: 60; }
.nav__acct.is-open .nav__acct-menu { display: flex; }
.nav__acct-menu a, .nav__acct-menu button { text-align: left; background: none; border: none; color: var(--ink); font-family: var(--font-body); font-size: .9rem; font-weight: 600; padding: 9px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; }
.nav__acct-menu a:hover, .nav__acct-menu button:hover { background: rgba(255,255,255,.06); }
.nav__acct-menu #navLogout { color: var(--crimson-text); border-top: 1px solid rgba(255,255,255,.08); margin-top: 4px; }

/* Widget de cuenta compartido (páginas internas) */
.acct { position: relative; display: inline-block; }
.acct__btn { display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.05); border: 1px solid rgba(220, 224, 230,.3); border-radius: 999px; padding: 4px 11px 4px 4px; color: var(--ink); cursor: pointer; font-family: var(--font-body); font-weight: 600; font-size: .85rem; }
.acct__btn:hover { border-color: var(--gold); }
.acct__av { width: 26px; height: 26px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-dark), var(--gold)); background-size: cover; background-position: center; color: #0a0a0b; display: grid; place-items: center; font-weight: 800; font-size: .8rem; flex: none; }
.acct__name { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.acct__founder { color: var(--gold); } .acct__founder.is-hidden { display: none; }
.acct__caret { color: var(--ink-dim); font-size: .7rem; }
.acct__menu { position: absolute; top: calc(100% + 8px); right: 0; min-width: 190px; background: #15161a; border: 1px solid rgba(220, 224, 230,.25); border-radius: 12px; padding: 6px; box-shadow: 0 18px 50px rgba(0,0,0,.5); display: none; flex-direction: column; gap: 2px; z-index: 60; }
.acct.is-open .acct__menu { display: flex; }
.acct__menu a, .acct__menu button { text-align: left; background: none; border: none; color: var(--ink); font-family: var(--font-body); font-size: .88rem; font-weight: 600; padding: 8px 12px; border-radius: 8px; cursor: pointer; text-decoration: none; }
.acct__menu a:hover, .acct__menu button:hover { background: rgba(255,255,255,.06); }
.acct__menu #acctLogout { color: var(--crimson-text); border-top: 1px solid rgba(255,255,255,.08); margin-top: 4px; }
.acct-reg { color: var(--gold); font-weight: 700; font-size: .88rem; border: 1px solid rgba(220, 224, 230,.45); border-radius: 999px; padding: 6px 14px; text-decoration: none; white-space: nowrap; }
.acct-reg:hover { background: rgba(220, 224, 230,.12); }

/* ===================================================================
   HUB POST-REGISTRO (3 imágenes grandes, una al lado de la otra)
   =================================================================== */
.modal__card.is-wide { max-width: 1100px; width: 95vw; background: transparent; border: none; box-shadow: none; padding: clamp(12px,2.5vw,26px); }
.hub { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 1.5rem 0 .3rem; }
.hub__card {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; align-items: center;
  min-height: 360px; padding: 20px 14px; border-radius: 14px; overflow: hidden; text-decoration: none;
  border: 1px solid rgba(220, 224, 230,.22); color: var(--ink); text-align: center;
  background-image: linear-gradient(180deg, rgba(10,10,11,.10) 25%, rgba(10,10,11,.55) 62%, rgba(10,10,11,.93)), var(--img);
  background-size: cover; background-position: center;
  transition: transform .18s var(--ease), border-color .18s;
}
.hub__card:hover { transform: translateY(-4px); border-color: var(--gold); }
.hub__ic { font-size: 2.1rem; margin-bottom: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.55)); }
.hub__txt { display: flex; flex-direction: column; gap: 3px; }
.hub__t { font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1.2; }
.hub__s { font-size: .8rem; color: rgba(236,236,236,.78); }
.hub__arrow { display: none; }
@media (max-width: 560px) {
  .modal__card.is-wide { max-width: 440px; }
  .hub { grid-template-columns: 1fr; }
  .hub__card { min-height: 190px; }
}

/* ===================================================================
   SELECTOR DE PAÍS (registro / Mi cuenta)
   =================================================================== */
select.wiz__input, .field select {
  -webkit-appearance: none; -moz-appearance: none; appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='%23E8EAEE' d='M0 0h12L6 8z'/></svg>");
  background-repeat: no-repeat; background-position: right 14px center;
  padding-right: 40px; cursor: pointer;
}
select.wiz__input option, .field select option { color: #111; background: #fff; }

/* ===================================================================
   TRÁILER (teaser)
   =================================================================== */
.trailer { position: relative; overflow: hidden; min-height: 78vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: clamp(64px,10vw,120px) 20px; }
.trailer__bg { position: absolute; inset: -12% 0; }
.trailer__bg img { width: 100%; height: 124%; object-fit: cover; }
.trailer__montage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: tMontage 32s linear infinite; }
.trailer__montage img:nth-child(1) { animation-delay: 0s; }
.trailer__montage img:nth-child(2) { animation-delay: 6.4s; }
.trailer__montage img:nth-child(3) { animation-delay: 12.8s; }
.trailer__montage img:nth-child(4) { animation-delay: 19.2s; }
.trailer__montage img:nth-child(5) { animation-delay: 25.6s; }
@keyframes tMontage { 0% { opacity: 0; transform: scale(1.02); } 2% { opacity: 1; } 18% { opacity: 1; } 22% { opacity: 0; } 100% { opacity: 0; transform: scale(1.13); } }
@media (prefers-reduced-motion: reduce) { .trailer__montage img { animation: none; } .trailer__montage img:nth-child(1) { opacity: 1; } }
.trailer__veil { position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 42%, rgba(10,10,11,.5), rgba(10,10,11,.94)); }
.trailer__inner { position: relative; z-index: 2; max-width: 640px; }
.trailer__soon { display: inline-block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); border: 1px solid rgba(220, 224, 230,.4); border-radius: 999px; padding: 4px 13px; margin-bottom: 1.2rem; }
.trailer__play { width: 92px; height: 92px; margin: 0 auto 1.5rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(220, 224, 230,.12); border: 1.5px solid rgba(220, 224, 230,.6); position: relative; }
.trailer__play::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(220, 224, 230,.3); animation: trailerPulse 2.6s ease-out infinite; }
@keyframes trailerPulse { 0% { transform: scale(1); opacity: .75; } 100% { transform: scale(1.55); opacity: 0; } }
.trailer__play-tri { width: 0; height: 0; margin-left: 7px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--gold); }

/* ===================================================================
   AVISO DE COOKIES / CONSENTIMIENTO
   =================================================================== */
.cookiebar {
  position: fixed; left: 50%; bottom: 18px;
  transform: translate(-50%, 160%); opacity: 0;
  width: min(700px, calc(100% - 28px));
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  background: rgba(18, 18, 20, .97); border: 1px solid rgba(220, 224, 230, .28);
  border-radius: 14px; padding: 16px 18px; z-index: 200;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .55); backdrop-filter: blur(10px);
  transition: transform .38s cubic-bezier(.2, .7, .3, 1), opacity .38s;
}
.cookiebar.is-in { transform: translate(-50%, 0); opacity: 1; }
.cookiebar__txt { flex: 1; min-width: 240px; margin: 0; font-size: .85rem; line-height: 1.55; color: var(--ink-dim); }
.cookiebar__txt a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }
.cookiebar__btns { display: flex; gap: 10px; margin-left: auto; }
.cookiebar__btns .btn { padding: 9px 18px; font-size: .85rem; }
@media (max-width: 520px) {
  .cookiebar { bottom: 10px; }
  .cookiebar__btns { width: 100%; }
  .cookiebar__btns .btn { flex: 1; }
}

/* ===================================================================
   TEMA BLANCO 3D (sustituye al dorado) + LOGO 1
   =================================================================== */
.btn--gold {
  background: linear-gradient(180deg, #f3dc94 0%, #e9c46a 48%, #cba14e 100%);
  color: #0a0a0b; border: 1px solid rgba(243,220,148,.6);
  box-shadow: inset 0 1px 0 rgba(255,245,214,.9), inset 0 -2px 5px rgba(0,0,0,.14), 0 6px 18px rgba(0,0,0,.45);
  text-shadow: 0 1px 0 rgba(255,240,200,.5);
}
.btn--gold:hover { background: linear-gradient(180deg, #f7e6ad 0%, #efd07f 50%, #dcb35e 100%); box-shadow: inset 0 1px 0 rgba(255,248,224,1), inset 0 -2px 5px rgba(0,0,0,.16), 0 9px 24px rgba(0,0,0,.5); transform: translateY(-1px); }
/* Sheen (reflejo que barre) + glow dorado en los CTA principales (botones grandes) */
.btn--gold.btn--lg { position: relative; overflow: hidden; }
.btn--gold.btn--lg::before { content:""; position:absolute; top:0; left:-20%; width:55%; height:100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: translateX(-160%) skewX(-18deg); animation: btnSheen 4.8s ease-in-out infinite; pointer-events:none; }
@keyframes btnSheen { 0% { transform: translateX(-160%) skewX(-18deg); } 55%, 100% { transform: translateX(320%) skewX(-18deg); } }
.btn--gold.btn--lg:hover { box-shadow: inset 0 1px 0 rgba(255,248,224,1), 0 9px 24px rgba(0,0,0,.5), 0 0 34px rgba(233,196,106,.5); }
@media (prefers-reduced-motion: reduce) { .btn--gold.btn--lg::before { animation: none; opacity: 0; } }
.gold-text {
  background: linear-gradient(180deg, #f7e6ad 0%, #e9c46a 52%, #f7e6ad 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.45)) drop-shadow(0 2px 3px rgba(0,0,0,.45));
}
.lvs-logo { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; position: relative; overflow: hidden; vertical-align: middle; background: linear-gradient(160deg,#fbf9f4 0%,#efece4 60%,#e8e4da 100%); box-shadow: inset 0 1px 2px rgba(255,255,255,.9), inset 0 -3px 6px rgba(0,0,0,.07), 0 5px 14px rgba(0,0,0,.45); }
.lvs-logo::before { content:""; position:absolute; inset:0; background: linear-gradient(115deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 40%); pointer-events:none; }
.lvs-logo > span { font-family:'Anton', sans-serif; font-weight:400; font-size: 17px; line-height:1; letter-spacing:.5px; position:relative; background: linear-gradient(180deg,#6a6a6a 0%,#000 50%,#2a2a2a 70%,#000 100%); -webkit-background-clip:text; background-clip:text; color:transparent; filter: drop-shadow(0 -1px 0 rgba(255,255,255,.9)) drop-shadow(0 1px 1px rgba(0,0,0,.35)); }
.footer .lvs-logo { width: 46px; height: 46px; } .footer .lvs-logo > span { font-size: 19px; }

/* Contador de comunidad en la barra superior */
.nav__members { display: inline-flex; align-items: center; gap: 7px; color: var(--ink-dim); font-weight: 700; font-size: .82rem; text-decoration: none; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 5px 13px; white-space: nowrap; }
.nav__members:hover { color: var(--ink); border-color: rgba(255,255,255,.4); }
.nav__members .nm-ic { font-size: 1rem; }
@media (max-width: 680px) { .nav__members { display: none; } }

/* ===================================================================
   HUB DE BIENVENIDA — pantalla completa tras registrarse / entrar
   =================================================================== */
.hub-overlay { position: fixed; inset: 0; z-index: 400; background: #06060a; display: none; overflow: hidden; }
.hub-overlay.is-open { display: block; }
.hub-bg { position: absolute; inset: -10%; background: radial-gradient(120% 90% at 50% 26%, rgba(46,46,54,.5), transparent 58%); z-index: 0; }
.hub-close { position: absolute; top: 18px; right: 20px; z-index: 6; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); color: var(--ink); width: 38px; height: 38px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; }
.hub-close:hover { background: rgba(255,255,255,.16); }
.hub-logo { position: absolute; top: 22px; left: clamp(16px,5vw,56px); z-index: 5; }
.hub-logo .lvs-logo { width: 44px; height: 44px; border-radius: 12px; }
.hub-logo .lvs-logo > span { font-size: 18px; }
.hub-logo .lvs-logo::after { content: ""; position: absolute; top: -15%; height: 130%; width: 75%; left: -90%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.8), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; z-index: 3; }
.hub-inner { position: absolute; inset: 0; z-index: 2; display: flex; flex-direction: column; justify-content: center; text-align: center; padding: 16px clamp(16px,5vw,56px); max-width: 1140px; margin: 0 auto; }
.hub-welcome { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem,2vw,1.5rem); margin: 0; }
.hub-welcome #hubName { background: linear-gradient(180deg,#fff,#cfd3da); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hub-sub { color: var(--ink-dim); font-size: .9rem; margin: .35rem 0 0; }
.hub-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(10px,1.2vw,15px); margin-top: clamp(14px,2vw,22px); }
.hcard { position: relative; overflow: hidden; border-radius: 18px; text-decoration: none; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 16px; border: 1px solid rgba(255,255,255,.14); transition: transform .28s ease, border-color .25s; aspect-ratio: 16 / 10; }
.hcard.wide { grid-column: 1 / -1; aspect-ratio: 22 / 7; padding: 22px 28px; }
.hcard .img { position: absolute; inset: 0; z-index: 0; background-image: linear-gradient(180deg, rgba(8,8,11,.05) 24%, rgba(8,8,11,.5) 60%, rgba(8,8,11,.92)), var(--img); background-size: cover; background-position: center; transition: transform .5s ease; }
.hcard.wide .img { background-image: linear-gradient(90deg, rgba(8,8,11,.74) 6%, rgba(8,8,11,.2) 55%, rgba(8,8,11,.5)), var(--img); }
.hcard .ic { position: absolute; top: 13px; left: 16px; z-index: 1; font-size: 1.55rem; filter: drop-shadow(0 2px 6px rgba(0,0,0,.6)); }
.hcard.wide .ic { font-size: 1.9rem; }
.hcard .txt { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 1px; }
.hcard .t { font-weight: 800; font-size: 1.08rem; }
.hcard.wide .t { font-family: var(--font-display); font-size: clamp(1.4rem,2.6vw,2.1rem); }
.hcard .d { color: rgba(236,236,236,.86); font-size: .82rem; }
.hcard.wide .d { font-size: .95rem; }
.hcard:hover { transform: translateY(-5px); border-color: rgba(255,255,255,.6); }
.hcard:hover .img { transform: scale(1.07); }
.hub-overlay .hub-logo, .hub-overlay .hub-welcome, .hub-overlay .hub-sub, .hub-overlay .hcard { opacity: 0; }
.hub-overlay.playing .hub-logo { animation: hubLogo 2.8s cubic-bezier(.5,.05,.2,1) forwards; }
.hub-overlay.playing .hub-logo .lvs-logo::after { animation: hubSweep 1.9s cubic-bezier(.4,0,.2,1) forwards .55s; }
.hub-overlay.playing .hub-welcome { animation: hubFadeUp .55s ease forwards 2.55s; }
.hub-overlay.playing .hub-sub { animation: hubFadeUp .55s ease forwards 2.68s; }
.hub-overlay.playing .hub-cards .hcard { animation: hubCardFade .65s ease forwards; }
.hub-overlay.playing .hub-cards .hcard:nth-child(1) { animation-delay: 2.82s; }
.hub-overlay.playing .hub-cards .hcard:nth-child(2) { animation-delay: 2.96s; }
.hub-overlay.playing .hub-cards .hcard:nth-child(3) { animation-delay: 3.08s; }
.hub-overlay.playing .hub-cards .hcard:nth-child(4) { animation-delay: 3.2s; }
@keyframes hubLogo { 0% { opacity: 0; transform: translate(44vw,30vh) scale(2.9); } 10% { opacity: 1; transform: translate(44vw,30vh) scale(2.9); } 62% { opacity: 1; transform: translate(44vw,30vh) scale(2.9); } 82% { transform: translate(0,0) scale(1.07); } 100% { opacity: 1; transform: none; } }
@keyframes hubSweep { 0% { left: -90%; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 160%; opacity: 0; } }
@keyframes hubFadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
@keyframes hubCardFade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 720px) { .hub-cards { grid-template-columns: 1fr; } .hcard { aspect-ratio: 16/9; } .hcard.wide { aspect-ratio: 16/9; } .hub-inner { overflow-y: auto; justify-content: flex-start; padding-top: 72px; padding-bottom: 24px; } }
