/* ==========================================================================
   Raposo Studio · hoja de estilos única (sin frameworks)
   ========================================================================== */
@font-face { font-family: "Bricolage Grotesque"; src: url(../fonts/bricolage.woff2) format("woff2"); font-weight: 200 800; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Inter"; src: url(../fonts/inter.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url(../fonts/instrument-italic.woff2) format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }

:root {
  --bg: #07060c;
  --bg-2: #0d0b16;
  --bg-3: #14111f;
  --ink: #f5f2ea;
  --ink-2: #d9d4e6;
  --muted: #a8a2bb;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --fox: #ff7a3d;
  --fox-2: #ffb547;
  --rose: #ff5f8f;
  --violet: #8f7cff;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --r: 28px;
  --r-sm: 16px;
  --wrap: 1200px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: dark;
}

/* Paletas de cada app (se aplican con la clase .t-<id>) */
.t-cosmic     { --a1: #f0cd84; --a2: #b9a3ff; --a3: #6f7dff; --abg: #10133a; --abg-2: #232a6b; --aon: #1a1530; }
.t-trivia     { --a1: #ffd23f; --a2: #ff5d73; --a3: #36d6a0; --abg: #3f17b8; --abg-2: #7b2ff7; --aon: #2a0e72; }
.t-framehabit { --a1: #c8f53c; --a2: #7fd6ff; --a3: #ffd166; --abg: #06142a; --abg-2: #0f2e57; --aon: #0a1a06; }
.t-freetours  { --a1: #f08a5d; --a2: #f2c879; --a3: #9b8cf0; --abg: #1a1224; --abg-2: #4a1f19; --aon: #2b0f08; }
.t-studio     { --a1: var(--fox); --a2: var(--fox-2); --a3: var(--rose); --abg: #1a0d08; --abg-2: #3b1709; --aon: #2b0f08; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.65 var(--body);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--fox); color: #1a0b05; }
:focus-visible { outline: 3px solid var(--fox-2); outline-offset: 3px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.wrap-narrow { width: min(820px, 100% - 40px); margin-inline: auto; }
section { position: relative; }
.section { padding: clamp(72px, 11vw, 140px) 0; }

/* Grano sutil sobre todo */
body::after {
  content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 90; opacity: .06; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Tipografía */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.04; letter-spacing: -.025em; margin: 0 0 .5em; font-stretch: 92%; }
h1 { font-size: clamp(44px, 7.4vw, 104px); letter-spacing: -.04em; }
h2 { font-size: clamp(34px, 5vw, 64px); letter-spacing: -.035em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); }
p { margin: 0 0 1em; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
.grad { background: linear-gradient(100deg, var(--a1, var(--fox)), var(--a2, var(--fox-2)) 55%, var(--a3, var(--rose))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase;
  color: var(--a1, var(--fox-2)); margin-bottom: 22px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font: 500 14px/1 var(--body);
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line-2); backdrop-filter: blur(10px); color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 0 4px rgba(61, 220, 132, .18); animation: pulse 2.2s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(61, 220, 132, 0); } }

/* ---------- Botones */
.btn {
  --bc: var(--a1, var(--fox)); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 24px; border-radius: 999px; border: 0; cursor: pointer; text-decoration: none; font: 600 16px/1 var(--body);
  background: var(--bc); color: var(--aon, #1a0b05); transition: transform .35s var(--spring), box-shadow .35s var(--ease), background .3s;
  box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--bc) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
  overflow: hidden; isolation: isolate;
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--bc) 80%, transparent); }
.btn:hover::after { transform: translateX(120%); }
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg.arr { transform: translateX(4px); }
.btn-ghost { background: rgba(255, 255, 255, .05); color: var(--ink); border: 1px solid var(--line-2); box-shadow: none; backdrop-filter: blur(10px); }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); box-shadow: none; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

/* Insignia de Google Play (próximamente / disponible) */
.play {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 20px 10px 14px; border-radius: 14px; text-decoration: none;
  background: #000; color: #fff; border: 1px solid rgba(255, 255, 255, .28); transition: transform .35s var(--spring), border-color .3s, box-shadow .3s;
  min-height: 58px;
}
.play svg { width: 30px; height: 30px; flex: none; }
.play span { display: grid; line-height: 1.1; }
.play small { font: 500 11px/1.2 var(--body); letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.play b { font: 600 20px/1.15 var(--body); letter-spacing: -.01em; }
a.play:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .6); box-shadow: 0 14px 30px -12px rgba(0, 0, 0, .8); }
.play.soon { cursor: default; position: relative; }
.play.soon::after {
  content: attr(data-soon); position: absolute; top: -10px; right: -10px; padding: 4px 9px; border-radius: 999px; font: 700 11px/1 var(--body);
  letter-spacing: .04em; background: var(--a1, var(--fox)); color: var(--aon, #1a0b05); transform: rotate(4deg); box-shadow: 0 6px 14px -6px rgba(0,0,0,.6);
}

/* ---------- Cabecera */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, border-color .4s, backdrop-filter .4s, transform .4s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(7, 6, 12, .72); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); border-color: var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 24px; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font: 700 19px/1 var(--display); letter-spacing: -.02em; }
.brand svg { width: 38px; height: 38px; transition: transform .6s var(--spring); }
.brand:hover svg { transform: rotate(-12deg) scale(1.08); }
.brand em { font-style: normal; color: var(--muted); font-weight: 500; }
.nav-links { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav-links a { padding: 10px 14px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: 15px; font-weight: 500; transition: background .25s, color .25s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { background: rgba(255, 255, 255, .07); color: var(--ink); }
.lang { display: inline-flex; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); margin-left: 8px; }
.lang a { padding: 6px 11px !important; font: 600 13px/1 var(--body) !important; letter-spacing: .04em; }
.lang a[aria-current="true"] { background: var(--ink) !important; color: var(--bg) !important; }
.menu-btn { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.05); cursor: pointer; }
.menu-btn span { display: block; width: 18px; height: 2px; margin: 4px auto; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.nav.open .menu-btn span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.open .menu-btn span:nth-child(2) { opacity: 0; }
.nav.open .menu-btn span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 880px) {
  .menu-btn { display: block; }
  .nav-links {
    position: fixed; inset: 74px 12px auto; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border-radius: 22px;
    background: rgba(13, 11, 22, .96); border: 1px solid var(--line-2); backdrop-filter: blur(20px);
    opacity: 0; transform: translateY(-10px) scale(.98); pointer-events: none; transition: opacity .3s, transform .35s var(--ease);
  }
  .nav.open .nav-links { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: 14px 16px; font-size: 17px; }
  .lang { margin: 8px 0 0; align-self: flex-start; }
  .nav.open { background: rgba(7, 6, 12, .9); backdrop-filter: blur(18px); }
}

/* ---------- Fondo aurora animado */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora i {
  position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .5; mix-blend-mode: screen;
  animation: drift 26s ease-in-out infinite alternate;
}
.aurora i:nth-child(1) { background: radial-gradient(circle, var(--a1, #ff7a3d), transparent 62%); top: -30vmax; left: -15vmax; }
.aurora i:nth-child(2) { background: radial-gradient(circle, var(--a3, #8f7cff), transparent 62%); top: -10vmax; right: -25vmax; animation-duration: 32s; animation-delay: -8s; }
.aurora i:nth-child(3) { background: radial-gradient(circle, var(--a2, #ff5f8f), transparent 62%); bottom: -40vmax; left: 20vw; animation-duration: 38s; animation-delay: -16s; opacity: .35; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(8vw, 6vh, 0) scale(1.12); }
  100% { transform: translate3d(-6vw, 10vh, 0) scale(.94); }
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.grid-lines {
  position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .35;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 40%, #000 10%, transparent 70%);
}

/* ---------- Hero de portada */
.hero { min-height: 100svh; display: grid; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero .wrap { position: relative; z-index: 2; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero h1 { margin: 22px 0 24px; }
.hero h1 .serif { font-size: 1.08em; letter-spacing: -.02em; }
.hero .lead { margin-bottom: 36px; }
.hero-meta { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 44px; color: var(--muted); font-size: 14px; }
.hero-meta b { display: block; font: 700 30px/1 var(--display); color: var(--ink); letter-spacing: -.03em; margin-bottom: 6px; }
.word-swap { display: inline-grid; vertical-align: bottom; }
.word-swap > span { grid-area: 1 / 1; opacity: 0; transform: translateY(40%) rotateX(-60deg); transition: opacity .6s var(--ease), transform .8s var(--ease); white-space: nowrap; }
.word-swap > span.on { opacity: 1; transform: none; }
.word-swap > span.out { opacity: 0; transform: translateY(-40%) rotateX(60deg); }

.stage { position: relative; height: min(720px, 80vh); min-height: 560px; perspective: 1400px; }
.stage .phone { position: absolute; width: clamp(210px, 19vw, 270px); }
.stage .p1 { left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-2deg); z-index: 3; }
.stage .p2 { left: 4%; top: 52%; transform: translate(0, -50%) rotate(-11deg) scale(.86); z-index: 2; filter: brightness(.82); }
.stage .p3 { right: 2%; top: 46%; transform: translate(0, -50%) rotate(10deg) scale(.86); z-index: 2; filter: brightness(.82); }
.float { position: absolute; z-index: 4; will-change: transform; }
.float > * { animation: bob 7s ease-in-out infinite; }
.float:nth-of-type(2n) > * { animation-duration: 9s; animation-delay: -3s; }
.float:nth-of-type(3n) > * { animation-duration: 8s; animation-delay: -5s; }
@keyframes bob { 50% { transform: translateY(-16px) rotate(3deg); } }
.f-card { width: 96px; border-radius: 10px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.12); }
.f-sparky { width: 130px; filter: drop-shadow(0 20px 30px rgba(0,0,0,.5)); }
.f-emblem { width: 92px; filter: drop-shadow(0 16px 26px rgba(0,0,0,.6)); }
.f-icon { width: 64px; border-radius: 18px; box-shadow: 0 16px 34px -8px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.14); }

/* ---------- Móvil dibujado con CSS */
.phone {
  aspect-ratio: 390 / 844; padding: 9px; border-radius: 46px; position: relative;
  background: linear-gradient(145deg, #3b3a44, #121217 40%, #26252d);
  box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.18), inset 0 0 0 6px #08080b, 0 50px 80px -30px rgba(0,0,0,.85), 0 30px 60px -40px var(--a2, #000);
}
.phone::before { content: ""; position: absolute; top: 19px; left: 50%; width: 30%; height: 22px; transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 2; box-shadow: inset 0 0 0 1px rgba(255,255,255,.05); }
.phone::after { content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 13%; border-radius: 0 3px 3px 0; background: #2a2930; }
.phone .screen { width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; position: relative; }
.phone .screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone .screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.12), transparent 30%); pointer-events: none; }

/* ---------- Marquesina */
.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 22px 0; background: var(--bg-2); position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 0; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { display: inline-flex; align-items: center; gap: 26px; padding-right: 26px; font: 600 clamp(22px, 2.6vw, 34px)/1 var(--display); letter-spacing: -.02em; white-space: nowrap; color: var(--ink-2); }
.marquee span i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.marquee .serif { font-size: 1.1em; color: var(--ink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Encabezado de sección */
.sec-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px; margin-bottom: 52px; }
.sec-head p { margin: 0; max-width: 46ch; color: var(--muted); }
@media (max-width: 760px) { .sec-head { grid-template-columns: 1fr; } }

/* ---------- Bento de apps */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(300px, auto); gap: 18px; }
.tile {
  --mx: 50%; --my: 50%; position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r); text-decoration: none; display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 36px); border: 1px solid var(--line); color: var(--ink);
  background: radial-gradient(120% 120% at 0% 0%, var(--abg-2), var(--abg) 60%);
  transition: transform .6s var(--ease), border-color .4s, box-shadow .6s var(--ease);
}
.tile::before { /* foco que sigue al ratón */
  content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx) var(--my), color-mix(in srgb, var(--a1) 28%, transparent), transparent 60%);
}
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(300px circle at var(--mx) var(--my), var(--a1), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.tile:hover { transform: translateY(-6px); box-shadow: 0 40px 80px -40px color-mix(in srgb, var(--a1) 55%, transparent); border-color: transparent; }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile .t-top { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; position: relative; z-index: 2; }
.tile .t-top img { width: 52px; height: 52px; border-radius: 15px; box-shadow: 0 10px 24px -8px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.12); }
.tile .t-top small { display: block; font-size: 13px; color: var(--a1); font-weight: 600; letter-spacing: .02em; }
.tile .t-top strong { font: 700 22px/1.1 var(--display); letter-spacing: -.02em; }
.tile h3 { font-size: clamp(26px, 2.6vw, 38px); max-width: 15ch; position: relative; z-index: 2; }
.tile p { color: var(--ink-2); max-width: 40ch; position: relative; z-index: 2; font-size: 16px; }
.tile .go {
  margin-top: auto; display: inline-flex; align-items: center; gap: 10px; font-weight: 600; font-size: 15px; color: var(--a1); position: relative; z-index: 2; padding-top: 12px;
}
.tile .go i { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--a1); color: var(--aon); transition: transform .45s var(--spring); }
.tile:hover .go i { transform: rotate(-45deg) scale(1.08); }
.tile .chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 16px; position: relative; z-index: 2; }
.chip { font-size: 13px; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); color: var(--ink-2); white-space: nowrap; }

.tile-cosmic { grid-column: span 7; grid-row: span 2; min-height: 640px; }
.tile-trivia { grid-column: span 5; }
.tile-framehabit { grid-column: span 5; }
.tile-freetours { grid-column: span 8; min-height: 360px; }
.tile-stat { grid-column: span 4; }

/* arte de cada tarjeta */
.tile .art { position: absolute; z-index: 0; pointer-events: none; transition: transform .8s var(--ease); }
.tile-cosmic .art.bg { inset: 0; background: url(../img/cosmic/hero.webp) center 60% / cover; opacity: .32; mask-image: linear-gradient(180deg, transparent 0%, #000 55%); -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 55%); }
.fan { position: absolute; right: 6%; bottom: 7%; width: 54%; height: 58%; z-index: 1; }
.fan img { position: absolute; bottom: 0; left: 50%; width: 38%; border-radius: 10px; transform-origin: 50% 120%; box-shadow: 0 24px 40px -14px rgba(0,0,0,.8), 0 0 0 1px rgba(240,205,132,.3); transition: transform .8s var(--spring); }
.fan img:nth-child(1) { transform: translateX(-50%) rotate(-24deg); }
.fan img:nth-child(2) { transform: translateX(-50%) rotate(-8deg); }
.fan img:nth-child(3) { transform: translateX(-50%) rotate(8deg); }
.fan img:nth-child(4) { transform: translateX(-50%) rotate(24deg); }
.tile:hover .fan img:nth-child(1) { transform: translateX(-50%) rotate(-36deg) translateY(-6px); }
.tile:hover .fan img:nth-child(2) { transform: translateX(-50%) rotate(-12deg) translateY(-14px); }
.tile:hover .fan img:nth-child(3) { transform: translateX(-50%) rotate(12deg) translateY(-14px); }
.tile:hover .fan img:nth-child(4) { transform: translateX(-50%) rotate(36deg) translateY(-6px); }
.zring { position: absolute; left: -90px; bottom: -90px; width: 320px; height: 320px; z-index: 0; opacity: .7; animation: spin 80s linear infinite; }
.zring img { position: absolute; width: 58px; height: 58px; border-radius: 50%; left: 50%; top: 50%; box-shadow: 0 0 0 1px rgba(240,205,132,.35); }
@keyframes spin { to { transform: rotate(360deg); } }
.tile-trivia .art { right: -10px; bottom: -14px; width: 46%; max-width: 230px; }
.tile-trivia:hover .art { transform: translateY(-10px) rotate(-6deg) scale(1.05); }
.tile-trivia .art img { animation: hop 3.2s var(--ease) infinite; }
@keyframes hop { 0%, 100% { transform: translateY(0); } 12% { transform: translateY(-18px) scaleY(1.04); } 24% { transform: translateY(0) scaleY(.96); } 30% { transform: none; } }
.tile-trivia p, .tile-trivia h3 { max-width: 62%; }
.tile-framehabit .ba-mini { position: absolute; right: 22px; bottom: 22px; width: 42%; aspect-ratio: 4 / 5; border-radius: 18px; overflow: hidden; box-shadow: 0 20px 40px -16px #000, 0 0 0 1px rgba(200,245,60,.4); z-index: 1; }
.ba-mini img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-mini .after { clip-path: inset(0 0 0 var(--cut, 50%)); animation: wipe 6s ease-in-out infinite; }
.ba-mini .bar { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; background: var(--a1); animation: wipebar 6s ease-in-out infinite; }
@keyframes wipe { 0%, 100% { clip-path: inset(0 0 0 85%); } 50% { clip-path: inset(0 0 0 15%); } }
@keyframes wipebar { 0%, 100% { left: 85%; } 50% { left: 15%; } }
.tile-framehabit p, .tile-framehabit h3 { max-width: 55%; }
.tile-freetours .cities { position: absolute; right: 0; top: 0; bottom: 0; width: 48%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 14px; transform: rotate(6deg) translate(6%, -4%) scale(1.15); opacity: .9; mask-image: linear-gradient(90deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%); }
.tile-freetours .cities div { display: flex; flex-direction: column; gap: 10px; animation: rise 30s linear infinite; }
.tile-freetours .cities div:nth-child(2) { animation-direction: reverse; }
.tile-freetours .cities img { border-radius: 14px; aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@keyframes rise { to { transform: translateY(-50%); } }
.tile-freetours p, .tile-freetours h3 { max-width: 50%; }
.emblems { display: flex; gap: 10px; margin-bottom: 18px; position: relative; z-index: 2; }
.emblems img { width: 54px; height: 54px; transition: transform .5s var(--spring); }
.tile:hover .emblems img:nth-child(1) { transform: translateY(-6px) rotate(-8deg); }
.tile:hover .emblems img:nth-child(2) { transform: translateY(-10px); transition-delay: .05s; }
.tile:hover .emblems img:nth-child(3) { transform: translateY(-6px) rotate(8deg); transition-delay: .1s; }
.tile-stat { background: linear-gradient(160deg, #1b1426, #0d0b16); justify-content: space-between; }
.tile-stat .big { font: 700 clamp(64px, 8vw, 110px)/.9 var(--display); letter-spacing: -.05em; }
.tile-stat ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.tile-stat li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); }
.tile-stat li i { width: 10px; height: 10px; border-radius: 50%; }

@media (max-width: 1000px) {
  .tile-cosmic, .tile-freetours { grid-column: span 12; }
  .tile-trivia, .tile-framehabit { grid-column: span 6; }
  .tile-stat { grid-column: span 12; }
  .tile-cosmic { min-height: 560px; }
}
@media (max-width: 680px) {
  .bento { grid-auto-rows: auto; }
  .tile-trivia, .tile-framehabit { grid-column: span 12; min-height: 380px; }
  .tile-cosmic { min-height: 620px; }
  .fan { width: 86%; height: 44%; right: 7%; }
  .tile-freetours { min-height: 520px; }
  .tile-freetours .cities { width: 100%; top: auto; height: 46%; transform: rotate(4deg) translateY(8%) scale(1.1); mask-image: linear-gradient(180deg, transparent, #000 40%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%); }
  .tile-freetours p, .tile-freetours h3, .tile-trivia p, .tile-trivia h3, .tile-framehabit p, .tile-framehabit h3 { max-width: 100%; }
  .tile-trivia .art { width: 40%; }
  .tile-trivia { padding-bottom: 170px; }
  .tile-framehabit { padding-bottom: 300px; }
  .tile-framehabit .ba-mini { width: 60%; left: 50%; transform: translateX(-50%); right: auto; }
}

/* ---------- Cifras */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats > div { padding: 40px 28px; border-left: 1px solid var(--line); }
.stats > div:first-child { border-left: 0; }
.stats b { display: block; font: 700 clamp(44px, 5vw, 72px)/1 var(--display); letter-spacing: -.045em; margin-bottom: 10px; }
.stats span { color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } .stats > div:nth-child(3) { border-left: 0; } .stats > div { border-top: 1px solid var(--line); } }

/* ---------- Valores */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.value {
  position: relative; padding: 30px 26px 30px; border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s;
}
.value:hover { transform: translateY(-6px); border-color: var(--line-2); }
.value .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px; background: var(--c); color: #120a05; box-shadow: 0 14px 30px -10px var(--c); transition: transform .5s var(--spring); }
.value:hover .ico { transform: rotate(-8deg) scale(1.1); }
.value .ico svg { width: 28px; height: 28px; }
.value h3 { font-size: 24px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 15.5px; margin: 0; }
.value::after { content: ""; position: absolute; width: 180px; height: 180px; right: -60px; top: -60px; border-radius: 50%; background: var(--c); filter: blur(70px); opacity: .18; }
@media (max-width: 1000px) { .values { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .values { grid-template-columns: 1fr; } }

/* ---------- Hoja de ruta */
.road { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; }
.road > div { padding: 28px; border-radius: var(--r); border: 1px dashed var(--line-2); position: relative; }
.road > div.on { border-style: solid; border-color: color-mix(in srgb, var(--fox) 50%, transparent); background: linear-gradient(160deg, rgba(255,122,61,.12), transparent 60%); }
.road b { font: 700 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--fox-2); display: block; margin-bottom: 14px; }
.road h3 { font-size: 24px; margin-bottom: 8px; }
.road p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .road { grid-template-columns: 1fr; } }

/* ---------- Llamada a contacto */
.cta-box {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 40px; padding: clamp(40px, 7vw, 90px); text-align: center;
  background: radial-gradient(100% 140% at 50% 0%, #3b1709, #13090a 70%); border: 1px solid rgba(255,122,61,.25);
}
.cta-box h2 { max-width: 16ch; margin-inline: auto; }
.cta-box p { margin-inline: auto; }
.cta-box .btns { justify-content: center; margin-top: 30px; }
.cta-box .fox-big { position: absolute; width: 520px; right: -140px; bottom: -180px; opacity: .1; z-index: -1; transform: rotate(-14deg); }
.mail { font: 600 clamp(20px, 3vw, 34px)/1.2 var(--display); letter-spacing: -.02em; text-decoration: none; border-bottom: 2px solid rgba(255,181,71,.4); transition: border-color .3s, color .3s; word-break: break-all; }
.mail:hover { color: var(--fox-2); border-color: var(--fox-2); }

/* ---------- Pie */
.foot { border-top: 1px solid var(--line); padding: 64px 0 40px; background: var(--bg-2); position: relative; z-index: 1; }
.foot-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.foot h4 { font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot a { text-decoration: none; color: var(--ink-2); font-size: 15px; transition: color .2s; }
.foot a:hover { color: var(--fox-2); }
.foot .legal { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-grid > :first-child { grid-column: 1 / -1; } }

/* ---------- Aparición al hacer scroll */
.js [data-reveal] { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.92); }
.js [data-reveal].in { opacity: 1; transform: none; }
.js .split-line { display: block; overflow: hidden; }
.js .split-line > span { display: block; transform: translateY(105%); transition: transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js .in .split-line > span, .js .split-line.in > span { transform: none; }

/* ==========================================================================
   Página de app
   ========================================================================== */
.app-hero { min-height: 100svh; padding: 130px 0 80px; display: grid; align-items: center; overflow: hidden; isolation: isolate; background: radial-gradient(120% 90% at 80% 10%, var(--abg-2), var(--abg) 45%, var(--bg) 100%); }
.app-hero .bgart { position: absolute; inset: 0; z-index: -1; background-position: center; background-size: cover; opacity: .22; mask-image: linear-gradient(180deg, #000, transparent 85%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 85%); }
.app-hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; position: relative; z-index: 2; }
.app-id { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.app-id img { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 18px 40px -12px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.15); }
.app-id small { display: block; color: var(--a1); font-weight: 600; font-size: 14px; letter-spacing: .02em; }
.app-id strong { font: 700 26px/1.1 var(--display); letter-spacing: -.02em; }
.app-hero h1 { font-size: clamp(42px, 6.4vw, 88px); }
.app-hero .lead { margin-bottom: 32px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.app-stage { position: relative; height: min(700px, 82vh); min-height: 560px; }
.app-stage .phone { position: absolute; left: 50%; top: 50%; width: clamp(230px, 22vw, 300px); transform: translate(-50%, -50%) rotate(-3deg); z-index: 2; }
.app-stage .phone.back { transform: translate(-6%, -46%) rotate(9deg) scale(.86); z-index: 1; filter: brightness(.7) saturate(.9); }
.app-stage .glow { position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--a1) 45%, transparent), transparent 65%); filter: blur(40px); z-index: 0; animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: translate(-50%, -50%) scale(1.15); opacity: .7; } }
.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border-radius: 20px; border: 2px solid var(--line-2); z-index: 3; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: scrolly 1.8s infinite; }
@keyframes scrolly { 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Características */
.features { display: grid; gap: clamp(70px, 10vw, 130px); }
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.feat:nth-child(even) .feat-media { order: 2; }
.feat-media { position: relative; }
.feat-media .frame { border-radius: var(--r); overflow: hidden; position: relative; box-shadow: 0 40px 80px -40px rgba(0,0,0,.9), 0 0 0 1px var(--line-2); }
.feat-media .frame img { width: 100%; transition: transform 1.2s var(--ease); }
.feat:hover .feat-media .frame img { transform: scale(1.04); }
.feat-media::before { content: ""; position: absolute; inset: 10% -6% -8% 10%; border-radius: var(--r); background: linear-gradient(135deg, var(--a1), var(--a3)); opacity: .22; filter: blur(50px); z-index: -1; }
.feat-media .badge-num { position: absolute; top: -18px; left: -18px; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--a1); color: var(--aon); font: 700 22px/1 var(--display); box-shadow: 0 14px 30px -10px var(--a1); z-index: 2; }
.feat h3 { font-size: clamp(30px, 3.6vw, 48px); }
.feat ul { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.feat li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; color: var(--ink-2); }
.feat li svg { width: 22px; height: 22px; color: var(--a1); margin-top: 3px; }
@media (max-width: 860px) { .feat { grid-template-columns: 1fr; } .feat:nth-child(even) .feat-media { order: 0; } }

/* Mosaico de imágenes dentro de una característica */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.mosaic img { border-radius: 16px; aspect-ratio: 1; object-fit: cover; width: 100%; box-shadow: 0 0 0 1px var(--line); transition: transform .5s var(--spring); }
.mosaic img:hover { transform: scale(1.06) rotate(-2deg); }
.mosaic.cats img { background: radial-gradient(circle at 50% 40%, rgba(255,255,255,.12), rgba(255,255,255,.02)); padding: 10px; object-fit: contain; }

/* Tiras de capturas */
.shots { position: relative; }
.shots-track { display: flex; gap: 26px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 30px max(20px, calc((100vw - var(--wrap)) / 2)) 50px; scrollbar-width: none; cursor: grab; }
.shots-track::-webkit-scrollbar { display: none; }
.shots-track.drag { cursor: grabbing; scroll-snap-type: none; }
.shots-track figure { margin: 0; flex: none; width: clamp(220px, 22vw, 270px); scroll-snap-align: center; transition: transform .6s var(--ease); }
.shots-track figure:hover { transform: translateY(-10px) rotate(-1deg); }
.shots-track figcaption { text-align: center; margin-top: 18px; font-weight: 600; color: var(--ink-2); font-size: 15px; }
.shots-nav { display: flex; gap: 10px; }
.shots-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); cursor: pointer; display: grid; place-items: center; transition: background .25s, transform .3s var(--spring); }
.shots-nav button:hover { background: var(--a1); color: var(--aon); transform: scale(1.08); }
.shots-nav svg { width: 20px; height: 20px; }

/* Interactivos */
.ba { position: relative; aspect-ratio: 4 / 5; border-radius: var(--r); overflow: hidden; user-select: none; box-shadow: 0 40px 80px -40px #000, 0 0 0 1px var(--line-2); --pos: 50%; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba .after { clip-path: inset(0 0 0 var(--pos)); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--a1); pointer-events: none; }
.ba .handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--a1); color: var(--aon); font: 700 18px/1 var(--body); box-shadow: 0 10px 30px -6px rgba(0,0,0,.6); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba input:focus-visible + .handle::after { outline: 3px solid #fff; outline-offset: 3px; }
.ba .lbl { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; font: 700 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); }
.ba .lbl.l { left: 16px; } .ba .lbl.r { right: 16px; color: var(--a1); }
.ba-pick { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ba-pick button { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line-2); background: transparent; cursor: pointer; font-size: 14px; transition: background .2s, color .2s; }
.ba-pick button[aria-pressed="true"] { background: var(--a1); color: var(--aon); border-color: var(--a1); }

.decks { display: flex; gap: 28px; justify-content: center; perspective: 1200px; }
.flip { width: min(240px, 42vw); aspect-ratio: 720 / 1080; position: relative; cursor: pointer; border: 0; padding: 0; background: none; transform-style: preserve-3d; transition: transform 1s var(--spring); }
.flip.flipped { transform: rotateY(180deg); }
.flip img { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 14px; backface-visibility: hidden; -webkit-backface-visibility: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(240,205,132,.35); }
.flip img.front { transform: rotateY(180deg); }
.flip:hover { transform: translateY(-8px) rotateY(8deg); }
.flip.flipped:hover { transform: translateY(-8px) rotateY(172deg); }
.flip-cap { text-align: center; margin-top: 16px; font-weight: 600; color: var(--ink-2); }

.quiz { padding: clamp(24px, 4vw, 40px); border-radius: var(--r); background: linear-gradient(160deg, var(--abg-2), var(--abg)); border: 1px solid rgba(255,255,255,.14); position: relative; overflow: hidden; }
.quiz .q { font: 700 clamp(22px, 2.4vw, 30px)/1.2 var(--display); letter-spacing: -.02em; margin: 10px 0 22px; }
.quiz .opts { display: grid; gap: 10px; }
.quiz .opts button { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 0; cursor: pointer; text-align: left; background: #fff; color: #1d1442; font-weight: 600; font-size: 16px; transition: transform .3s var(--spring), background .2s, color .2s; box-shadow: 0 4px 0 rgba(0,0,0,.25); }
.quiz .opts button:hover:not([disabled]) { transform: translateY(-2px) scale(1.01); }
.quiz .opts b { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-size: 14px; background: var(--a2); color: #fff; flex: none; }
.quiz .opts button.ok { background: var(--a3); color: #05271b; }
.quiz .opts button.ko { background: var(--a2); color: #fff; animation: shake .4s; }
.quiz .opts button[disabled] { cursor: default; }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.quiz .fact { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: rgba(0,0,0,.28); font-size: 15.5px; color: var(--ink-2); display: none; }
.quiz .fact.show { display: block; animation: pop .5s var(--spring); }
.quiz .mascot { position: absolute; right: -16px; top: -10px; width: 110px; transform: rotate(10deg); }
@keyframes pop { from { opacity: 0; transform: scale(.9); } }

.tours3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tour { padding: 28px; border-radius: var(--r); background: rgba(255,255,255,.04); border: 1px solid var(--line); text-align: center; transition: transform .5s var(--ease), background .3s; }
.tour:hover { transform: translateY(-8px); background: rgba(255,255,255,.07); }
.tour img { width: 120px; margin: 0 auto 18px; transition: transform .6s var(--spring); }
.tour:hover img { transform: rotate(-8deg) scale(1.08); }
.tour h3 { font-size: 24px; margin-bottom: 8px; }
.tour p { color: var(--muted); font-size: 15.5px; margin: 0; }
@media (max-width: 760px) { .tours3 { grid-template-columns: 1fr; } }

.city-wall { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.city-wall figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 4; }
.city-wall img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.city-wall figure:hover img { transform: scale(1.08); }
.city-wall figcaption { position: absolute; inset: auto 0 0; padding: 30px 14px 12px; font: 700 18px/1.1 var(--display); background: linear-gradient(transparent, rgba(0,0,0,.75)); }
.city-wall figure:nth-child(even) { transform: translateY(28px); }
@media (max-width: 760px) { .city-wall { grid-template-columns: repeat(2, 1fr); } .city-wall figure:nth-child(n+5) { display: none; } .city-wall figure:nth-child(even) { transform: none; } }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border-radius: 20px; border: 1px solid var(--line); background: rgba(255,255,255,.025); transition: background .3s, border-color .3s; }
.faq details[open] { background: rgba(255,255,255,.05); border-color: var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 64px 22px 24px; position: relative; font: 600 18px/1.35 var(--display); letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; background: rgba(255,255,255,.07) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .4s var(--spring), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: var(--a1, var(--fox)); }
.faq .ans { padding: 0 24px 22px; color: var(--ink-2); }
.faq .ans p:last-child { margin: 0; }

/* Bloque final de app */
.app-end { text-align: center; }
.app-end .icon-xl { width: 120px; height: 120px; border-radius: 32px; margin: 0 auto 26px; box-shadow: 0 30px 60px -20px var(--a1), 0 0 0 1px rgba(255,255,255,.15); animation: bob 6s ease-in-out infinite; }
.app-end .btns { justify-content: center; margin-top: 26px; }
.links-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
.links-row a { font-size: 14.5px; padding: 9px 15px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; color: var(--ink-2); transition: background .2s, color .2s; }
.links-row a:hover { background: rgba(255,255,255,.08); color: var(--ink); }

.others { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.other { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 22px; text-decoration: none; border: 1px solid var(--line); background: radial-gradient(120% 140% at 0 0, var(--abg-2), var(--abg)); transition: transform .4s var(--ease), border-color .3s; }
.other:hover { transform: translateY(-5px); border-color: var(--a1); }
.other img { width: 56px; height: 56px; border-radius: 16px; }
.other b { display: block; font: 700 19px/1.15 var(--display); }
.other span { font-size: 14px; color: var(--ink-2); }
@media (max-width: 760px) { .others { grid-template-columns: 1fr; } }

/* ==========================================================================
   Páginas legales y de soporte (con vida, no «documento»)
   ========================================================================== */
.doc-hero { padding: 150px 0 70px; overflow: hidden; isolation: isolate; background: radial-gradient(100% 120% at 85% 0%, var(--abg-2), var(--abg) 50%, var(--bg)); }
.doc-hero .wrap { position: relative; z-index: 2; }
.doc-hero h1 { font-size: clamp(40px, 6vw, 76px); max-width: 18ch; }
.doc-hero .app-id { margin-bottom: 18px; }
.crumbs { display: flex; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); margin-bottom: 26px; }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--a1); }
.glance { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 44px; }
.glance > div { padding: 20px 20px 20px 18px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid var(--line); display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; backdrop-filter: blur(8px); }
.glance svg { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: color-mix(in srgb, var(--a1) 18%, transparent); color: var(--a1); }
.glance b { display: block; font: 600 16px/1.3 var(--display); margin-bottom: 4px; }
.glance span { font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.doc { display: grid; grid-template-columns: 250px 1fr; gap: 60px; padding: 70px 0 120px; align-items: start; }
.toc { position: sticky; top: 100px; display: grid; gap: 2px; font-size: 14.5px; max-height: calc(100vh - 120px); overflow: auto; }
.toc b { font: 600 12px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.toc a { text-decoration: none; color: var(--muted); padding: 7px 12px; border-left: 2px solid var(--line); transition: color .2s, border-color .2s; }
.toc a:hover, .toc a.on { color: var(--ink); border-color: var(--a1); }
.prose { max-width: 760px; }
.prose h2 { font-size: clamp(26px, 3vw, 36px); margin: 64px 0 18px; scroll-margin-top: 100px; display: flex; gap: 14px; align-items: baseline; }
.prose h2 .n { font: 600 14px/1 var(--body); color: var(--a1); letter-spacing: .06em; min-width: 26px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 20px; margin: 30px 0 10px; }
.prose p, .prose li { color: var(--ink-2); }
.prose ul { padding-left: 0; list-style: none; display: grid; gap: 10px; margin: 0 0 1.2em; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: .68em; width: 7px; height: 7px; border-radius: 2px; background: var(--a1); transform: rotate(45deg); }
.prose a { color: var(--a1); text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 10px 0 24px; font-size: 15px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 14px 16px; vertical-align: top; border-bottom: 1px solid var(--line); }
.prose th { background: rgba(255,255,255,.05); font-weight: 600; color: var(--ink); font-size: 14px; }
.prose tr:last-child td { border-bottom: 0; }
.prose td:first-child { color: var(--ink); font-weight: 500; }
.table-wrap { overflow-x: auto; }
.note { padding: 18px 20px; border-radius: 18px; background: color-mix(in srgb, var(--a1) 10%, transparent); border: 1px solid color-mix(in srgb, var(--a1) 35%, transparent); color: var(--ink-2); margin: 0 0 1.2em; }
.placeholder { background: #ffde59; color: #2b2200; padding: 1px 6px; border-radius: 5px; font-weight: 700; }
.app-switch { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.app-switch a { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-size: 14.5px; color: var(--ink-2); transition: background .2s, border-color .2s; }
.app-switch a img { width: 28px; height: 28px; border-radius: 8px; }
.app-switch a:hover { background: rgba(255,255,255,.06); }
.app-switch a[aria-current="page"] { border-color: var(--a1); color: var(--ink); background: rgba(255,255,255,.06); }
@media (max-width: 920px) { .doc { grid-template-columns: 1fr; gap: 30px; } .toc { position: static; max-height: none; grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .toc { grid-template-columns: 1fr; } }

/* Tarjetas de soporte */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.s-card { padding: 30px; border-radius: var(--r); border: 1px solid var(--line); background: radial-gradient(130% 120% at 0 0, var(--abg-2), var(--abg)); position: relative; overflow: hidden; }
.s-card .app-id { margin-bottom: 18px; }
.s-card .app-id img { width: 56px; height: 56px; border-radius: 16px; }
.s-card .faq summary { font-size: 16px; padding: 16px 52px 16px 18px; }
.s-card .faq summary::after { right: 14px; width: 26px; height: 26px; margin-top: -13px; }
.s-card .faq .ans { padding: 0 18px 16px; font-size: 15.5px; }
.s-card .links-row { justify-content: flex-start; margin-top: 18px; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.contact-card { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 30px; border-radius: var(--r); background: linear-gradient(120deg, rgba(255,122,61,.16), rgba(143,124,255,.08)); border: 1px solid rgba(255,122,61,.3); }
.contact-card .ico { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; background: var(--fox); color: #1a0b05; }
.contact-card .ico svg { width: 30px; height: 30px; }
@media (max-width: 700px) { .contact-card { grid-template-columns: 1fr; } }

/* 404 */
.nf { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 120px 20px 60px; overflow: hidden; isolation: isolate; }
.nf .big { font: 800 clamp(120px, 26vw, 300px)/.8 var(--display); letter-spacing: -.06em; }
.nf .fox-wrap svg { width: 110px; margin: 0 auto 10px; animation: bob 4s ease-in-out infinite; }

/* Página de idioma (raíz) */
.chooser { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; overflow: hidden; isolation: isolate; }
.chooser .btns { justify-content: center; margin-top: 30px; }

/* ---------- Responsive general */
@media (max-width: 980px) {
  .hero .wrap, .app-hero .wrap { grid-template-columns: 1fr; }
  .stage { height: 560px; min-height: 0; margin-top: 10px; }
  .app-stage { height: 600px; min-height: 0; }
  .hero { padding-top: 110px; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stage { height: 480px; }
  .stage .phone { width: 200px; }
  .stage .p2 { left: -8%; } .stage .p3 { right: -8%; }
  .f-sparky { width: 96px; } .f-card { width: 70px; } .f-emblem { width: 70px; }
  .app-stage { height: 520px; }
  .app-stage .phone { width: 230px; }
  .play b { font-size: 18px; }
  .hero-meta { gap: 20px; }
}

/* ---------- Movimiento reducido */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js [data-reveal], .js .split-line > span { opacity: 1 !important; transform: none !important; }
  .marquee-track { animation: none; }
  .ba-mini .after { clip-path: inset(0 0 0 50%); } .ba-mini .bar { left: 50%; }
}

/* ==========================================================================
   Añadidos: posicionamiento, B2B, capas del escenario y bloques de app
   ========================================================================== */
.position { font: 600 clamp(19px, 1.7vw, 23px)/1.45 var(--display); letter-spacing: -.01em; color: var(--ink); max-width: 40ch; margin-bottom: 14px; }
.hero .lead { font-size: 17px; color: var(--muted); }
.layer { position: absolute; inset: 0; pointer-events: none; will-change: translate; }
.layer .phone { pointer-events: auto; }
.stage .p4 { left: 50%; top: 40%; transform: translate(-50%, -50%) rotate(3deg) scale(.74); filter: brightness(.55) blur(.4px); }
.f-icon.round { border-radius: 50%; width: 84px; }
.f-sparky.small { width: 96px; }
.f-card.photo { width: 120px; border-radius: 16px; }
.aurora.soft i { opacity: .22; }
.stats-wrap { position: relative; z-index: 1; }

/* Trabaja con nosotros */
.work { overflow: hidden; isolation: isolate; background: linear-gradient(180deg, transparent, rgba(255,122,61,.05) 30%, rgba(143,124,255,.05) 70%, transparent); border-block: 1px solid var(--line); }
.work .wrap { position: relative; z-index: 2; }
.work-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.work-intro { position: sticky; top: 120px; }
.work-intro .lead { margin-bottom: 30px; }
.svcs { display: grid; gap: 14px; }
.svc { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px; border-radius: 24px; border: 1px solid var(--line); background: rgba(255,255,255,.03); transition: transform .5s var(--ease), border-color .3s, background .3s; }
.svc:hover { transform: translateX(8px); border-color: rgba(255,122,61,.45); background: rgba(255,122,61,.06); }
.svc .ico { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fox-2), var(--fox)); color: #1a0b05; transition: transform .5s var(--spring); }
.svc:hover .ico { transform: rotate(-10deg) scale(1.08); }
.svc .ico svg { width: 26px; height: 26px; }
.svc h3 { font-size: 22px; margin: 2px 0 6px; }
.svc p { margin: 0; color: var(--muted); font-size: 15.5px; }
.nums-block { margin-top: clamp(60px, 8vw, 100px); }
.nums-h { font: 600 13px/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.nums { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.nums > div { padding: 30px 26px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.nums > div:hover { background: rgba(255,255,255,.04); }
.nums > div:nth-child(4n) { border-right: 0; }
.nums > div:nth-last-child(-n+4) { border-bottom: 0; }
.nums b { display: block; font: 700 clamp(34px, 3.6vw, 52px)/1 var(--display); letter-spacing: -.04em; margin-bottom: 8px; background: linear-gradient(100deg, var(--fox-2), var(--fox) 60%, var(--rose)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nums span { font-size: 14.5px; color: var(--muted); }
@media (max-width: 980px) { .work-grid { grid-template-columns: 1fr; } .work-intro { position: static; } }
@media (max-width: 760px) {
  .nums { grid-template-columns: 1fr 1fr; }
  .nums > div:nth-child(4n) { border-right: 1px solid var(--line); }
  .nums > div:nth-child(2n) { border-right: 0; }
  .nums > div:nth-last-child(-n+4) { border-bottom: 1px solid var(--line); }
  .nums > div:nth-last-child(-n+2) { border-bottom: 0; }
  .svc { grid-template-columns: 1fr; padding: 22px; }
}

/* Sobre el nombre */
.about-grid { display: grid; grid-template-columns: auto 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.fox-about { width: clamp(140px, 18vw, 240px); filter: drop-shadow(0 30px 60px rgba(255,122,61,.35)); animation: bob 7s ease-in-out infinite; }
.about-fox { display: grid; place-items: center; }
@media (max-width: 700px) { .about-grid { grid-template-columns: 1fr; } }

/* Página de app: bloques extra */
.sec-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.sec-head.center .lead { margin-inline: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.split .mosaic { margin-top: 32px; }
.mosaic.looks img { aspect-ratio: 4 / 5; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.special { overflow: hidden; }
.premium-band { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(28px, 4vw, 48px); border-radius: var(--r); background: linear-gradient(120deg, color-mix(in srgb, var(--a1) 16%, transparent), color-mix(in srgb, var(--a3) 10%, transparent)); border: 1px solid color-mix(in srgb, var(--a1) 35%, transparent); }
.premium-band h3 { font-size: clamp(24px, 2.6vw, 32px); }
.premium-band p { color: var(--ink-2); margin: 0; max-width: 70ch; }
@media (max-width: 760px) { .premium-band { grid-template-columns: 1fr; } }
.ico-c { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: linear-gradient(135deg, var(--fox-2), var(--fox)); color: #1a0b05; flex: none; }
.ico-c svg { width: 26px; height: 26px; }
.fox-root { width: 110px; margin: 0 auto 16px; animation: bob 5s ease-in-out infinite; }
.doc-hero .lead { margin-top: 10px; }

/* ---- Iteración 2 de diseño */
.word-swap { perspective: 600px; padding-bottom: .08em; }
.word-swap > span { padding-right: .06em; }
.hero h1 .split-line { padding-bottom: .06em; }
.zring { left: auto; right: -110px; bottom: auto; top: -110px; opacity: .55; }
.tile-cosmic .t-top, .tile-cosmic h3, .tile-cosmic p { max-width: 70%; }
.section + .stats-wrap { margin-top: -30px; }
#values { padding-bottom: clamp(60px, 8vw, 110px); }
.cta-box .fox-big { width: 420px; right: -110px; bottom: -150px; opacity: .07; }
.mail { overflow-wrap: anywhere; word-break: normal; }
@media (max-width: 680px) {
  .tile-freetours { padding-bottom: 290px; min-height: 0; }
  .tile-freetours .cities { height: 270px; top: auto; bottom: 0; }
  .tile-cosmic { min-height: 700px; }
  .tile-cosmic .t-top, .tile-cosmic h3, .tile-cosmic p { max-width: 100%; }
  .mail { font-size: 18px; }
  .hero h1 { font-size: clamp(40px, 11vw, 56px); }
}
@media (max-width: 600px) {
  .decks { gap: 12px; }
  .decks > div { flex: 1; min-width: 0; }
  .flip { width: 100%; }
  .flip-cap { font-size: 12.5px; }
  .glance { grid-template-columns: 1fr 1fr; }
  .glance > div { grid-template-columns: 1fr; padding: 16px; }
}
