/* ==========================================================================
   FOKUS — negro profundo + naranja Fokus (#F87B0D)
   ========================================================================== */
:root {
  --bg: #070605;
  --bg-2: #0d0c0b;
  --bg-3: #161412;
  --fg: #fbf3e5;
  --muted: #9b9387;
  --line: rgba(255, 255, 255, .08);
  --line-2: rgba(255, 255, 255, .14);
  --accent: #f87b0d;
  --accent-2: #ffa654;
  --accent-3: #b44d00;
  --accent-rgb: 248, 123, 13;  /* naranja del logo #F87B0D */
  --glow: rgba(var(--accent-rgb), .45);
  --on-accent: #140a03;
  --ok: #4ade80;
  --err: #ff5d7a;
  --radius: 18px;
  --radius-lg: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 6px; }

.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 1000; padding: 10px 16px; background: var(--accent); border-radius: 10px; }
.skip:focus { top: 16px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container--narrow { max-width: 780px; }
.section { padding: clamp(96px, 14vw, 180px) 0; position: relative; }
.section--tight { padding: clamp(48px, 7vw, 96px) 0; }
.muted { color: var(--muted); }
.small { font-size: 14px; }

/* ---------- Tipografía ---------- */
.display, .h1, .h2, .h3 { font-family: var(--display); font-weight: 600; letter-spacing: -.04em; margin: 0; }
.display { font-size: clamp(64px, 12vw, 190px); line-height: .88; }
.display--md { font-size: clamp(54px, 9vw, 140px); }
.h1 { font-size: clamp(40px, 6vw, 76px); line-height: 1; margin: 14px 0 18px; }
.h2 { font-size: clamp(36px, 5.4vw, 72px); line-height: 1; margin-bottom: 28px; }
.h3 { font-size: clamp(24px, 2.6vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); color: #d8d0c3; max-width: 34em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font: 500 12px/1 var(--font); letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 22px;
}
.eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 12px var(--accent); }
.outline { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.line { display: block; overflow: hidden; padding-bottom: .04em; }
.line > span { display: inline-block; }
.link { color: var(--accent-2); background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.link:hover { background-size: 100% 1px; }
.link--muted { color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  --h: 58px;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: var(--h); padding: 0 30px; border-radius: 999px;
  font: 500 16px/1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .4s var(--ease), border-color .4s;
}
.btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn--accent { background: var(--accent); color: var(--on-accent); font-weight: 600; box-shadow: 0 10px 40px -10px var(--glow), inset 0 1px 0 rgba(255,255,255,.25); }
.btn--accent::after { background: #fff; }
.btn--accent:hover { color: var(--bg); box-shadow: 0 16px 60px -10px var(--glow); }
.btn--ghost { border: 1px solid var(--line-2); color: var(--fg); }
.btn--ghost::after { background: var(--fg); }
.btn--ghost:hover { color: var(--bg); border-color: var(--fg); }
.btn--sm { --h: 42px; padding: 0 20px; font-size: 14px; }
.btn--lg { --h: 70px; padding: 0 44px; font-size: 18px; }
.btn--block { width: 100%; }

/* ---------- Loader y cortina ---------- */
.loader {
  position: fixed; inset: 0; z-index: 900; background: var(--bg);
  display: none; place-items: center;
}
.anim .loader.is-on { display: grid; }
.loader__inner { width: min(420px, 80vw); }
.loader__word { display: flex; justify-content: center; overflow: hidden; }
.loader__word span { position: relative; display: block; transform: translateY(110%); }
.loader__word img { width: 100%; height: auto; }
.loader__base { opacity: .12; }
.loader__fill { position: absolute; inset: 0; clip-path: inset(0 100% 0 0); filter: drop-shadow(0 0 24px rgba(var(--accent-rgb), .5)); }
.loader__bar { height: 1px; background: var(--line-2); margin: 24px 0 12px; overflow: hidden; }
.loader__bar span { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 20px var(--accent); transform-origin: left; transform: scaleX(0); }
.loader__count { font: 500 13px/1 var(--font); letter-spacing: .2em; color: var(--muted); text-align: right; }

.curtain {
  position: fixed; inset: 0; z-index: 800; pointer-events: none;
  display: grid; place-items: center;
}
/* 5 columnas que caen escalonadas */
.curtain__col {
  position: absolute; top: 0; bottom: 0; width: calc(20% + 1px);
  background: linear-gradient(180deg, #120904 0%, #2a1206 55%, var(--accent-3) 100%);
  transform: scaleY(0); transform-origin: bottom;
}
.curtain__col:nth-child(1) { left: 0; } .curtain__col:nth-child(2) { left: 20%; } .curtain__col:nth-child(3) { left: 40%; }
.curtain__col:nth-child(4) { left: 60%; } .curtain__col:nth-child(5) { left: 80%; }
.curtain__logo { position: relative; z-index: 1; }
.curtain__logo { width: clamp(140px, 22vw, 260px); height: auto; opacity: 0; filter: brightness(0) invert(.96); }
.anim body:not(.is-ready) .curtain__col { transform: scaleY(1); }
.anim body:not(.is-ready) .curtain .curtain__logo { opacity: 1; }

/* ---------- Cursor y grano ---------- */
.cursor { position: fixed; inset: 0; z-index: 950; pointer-events: none; display: none; opacity: 0; }
.has-cursor .cursor { display: block; }
.cursor__dot, .cursor__ring { position: fixed; left: 0; top: 0; border-radius: 50%; transform: translate(-50%, -50%); }
.cursor__dot { width: 6px; height: 6px; background: var(--fg); mix-blend-mode: difference; }
.cursor__ring {
  width: 38px; height: 38px; border: 1px solid rgba(255, 166, 84, .6);
  transition: width .35s var(--ease), height .35s var(--ease), background .35s, border-color .35s;
}
.cursor.is-hover .cursor__ring { width: 74px; height: 74px; background: rgba(var(--accent-rgb), .14); border-color: var(--accent); }
.cursor__label {
  position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transform: scale(.6);
  font: 600 12px/1 var(--font); letter-spacing: .14em; text-transform: uppercase; color: var(--on-accent);
  transition: opacity .3s, transform .5s var(--ease);
}
.cursor.is-label .cursor__ring { width: 96px; height: 96px; background: var(--accent); border-color: var(--accent); }
.cursor.is-label .cursor__label { opacity: 1; transform: none; }
.cursor.is-label .cursor__dot { opacity: 0; }
.cursor.is-down .cursor__ring { width: 28px; height: 28px; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor label { cursor: none; }
.has-cursor input, .has-cursor textarea { cursor: text; }

.grain {
  position: fixed; inset: -50%; z-index: 700; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%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");
  animation: grain 1s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); } 20% { transform: translate(-5%, 3%); } 40% { transform: translate(4%, -6%); }
  60% { transform: translate(-3%, 5%); } 80% { transform: translate(6%, 2%); }
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  transition: transform .6s var(--ease), background .4s, backdrop-filter .4s;
}
.nav.is-scrolled { background: rgba(7, 6, 5, .62); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); border-bottom: 1px solid var(--line); }
.nav.is-hidden { transform: translateY(-100%); }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 76px; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.nav__brand { margin-right: auto; }
.logo { display: block; height: 30px; width: auto; }
.nav__links { display: flex; gap: 34px; font-size: 15px; color: #d8d0c3; }
.nav__links a { position: relative; transition: color .3s; }
.nav__links a:hover { color: var(--fg); }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .5s var(--ease); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--muted); }
.lang button { padding: 4px; color: var(--muted); transition: color .3s; }
.lang button.is-active, .lang button:hover { color: var(--fg); }
.nav__cart { position: relative; width: 26px; height: 26px; }
.nav__cart svg { width: 26px; height: 26px; }
.nav__count {
  position: absolute; top: -6px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: var(--on-accent); font: 600 11px/18px var(--font); text-align: center;
}
.nav__count.is-empty { display: none; }
.nav__burger { display: none; width: 34px; height: 34px; position: relative; }
.nav__burger span { position: absolute; left: 6px; right: 6px; height: 1.5px; background: var(--fg); transition: transform .5s var(--ease); }
.nav__burger span:first-child { top: 13px; } .nav__burger span:last-child { top: 20px; }
.menu-open .nav__burger span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-open .nav__burger span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.menu {
  position: fixed; inset: 0; z-index: 450; background: var(--bg);
  display: flex; align-items: center; padding: 100px var(--gutter) 40px;
  clip-path: circle(0% at calc(100% - 40px) 38px); transition: clip-path .8s var(--ease); visibility: hidden;
}
.menu-open .menu { clip-path: circle(150% at calc(100% - 40px) 38px); visibility: visible; }
.menu__links { display: flex; flex-direction: column; gap: 6px; font: 600 clamp(36px, 10vw, 56px)/1.15 var(--display); letter-spacing: -.04em; }
.menu__links a { opacity: 0; transform: translateY(30px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.menu-open .menu__links a { opacity: 1; transform: none; }
.menu-open .menu__links a:nth-child(2) { transition-delay: .06s; } .menu-open .menu__links a:nth-child(3) { transition-delay: .12s; }
.menu-open .menu__links a:nth-child(4) { transition-delay: .18s; } .menu-open .menu__links a:nth-child(5) { transition-delay: .24s; }

@media (max-width: 900px) {
  .nav__links, .nav__buy { display: none; }
  .nav__burger { display: block; }
}

/* ---------- Toasts ---------- */
.toasts { position: fixed; z-index: 600; right: 16px; bottom: 16px; display: grid; gap: 10px; max-width: calc(100vw - 32px); }
.toast {
  padding: 14px 20px; border-radius: 14px; background: rgba(24, 21, 18, .9); border: 1px solid var(--line-2);
  backdrop-filter: blur(12px); box-shadow: 0 20px 50px rgba(0,0,0,.5); font-size: 15px;
  animation: toast-in .7s var(--ease) both, toast-out .6s var(--ease) 5s forwards;
}
.toast--success { border-color: rgba(var(--accent-rgb), .5); }
.toast--error { border-color: rgba(255, 93, 122, .6); }
@keyframes toast-in { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); visibility: hidden; } }

/* ---------- Animaciones base (solo si html.anim) ---------- */
.anim [data-reveal], .anim [data-fade] { opacity: 0; }
.anim [data-line] { transform: translateY(105%); }

/* ==========================================================================
   BRICK 3D
   ========================================================================== */
.brick-scene {
  --w: 260px; --h: 162px; --d: 52px; --r: 22px;
  position: relative; width: var(--w); height: var(--h); perspective: 1400px;
}
.brick {
  position: absolute; inset: 0; transform-style: preserve-3d;
  --rx: 58deg; --rz: -28deg; --spread: 1;
  transform: rotateX(var(--rx)) rotateZ(var(--rz));
}
.brick__face--front {
  position: absolute; inset: 0; border-radius: var(--r);
  transform: translateZ(calc(var(--d) / 2 * var(--spread)));
  background:
    radial-gradient(120% 90% at 20% 0%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(160deg, color-mix(in srgb, var(--c) 92%, #fff), var(--c) 45%, color-mix(in srgb, var(--c) 70%, #000));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 -10px 30px rgba(0,0,0,.25);
}
/* 20 capas a lo largo de la profundidad forman el canto redondeado */
.brick__layer {
  position: absolute; inset: 0; border-radius: var(--r);
  transform: translateZ(calc(var(--d) * (var(--i) / 20 - .5) * var(--spread)));
  background: linear-gradient(160deg, color-mix(in srgb, var(--e) 85%, #fff), var(--e) 40%, color-mix(in srgb, var(--e) 55%, #000));
}
/* Logo grabado: la máscara toma la forma del logo y el color sale del propio brick */
.brick__logo {
  position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 425 / 138; transform: translate(-50%, -50%);
  background: color-mix(in srgb, var(--c) 70%, #fff); opacity: .45;
  -webkit-mask: url("../img/logo-fokus-mask.c7cb60e45e4d.png") center / contain no-repeat; mask: url("../img/logo-fokus-mask.c7cb60e45e4d.png") center / contain no-repeat;
}
.brick__led {
  position: absolute; right: 9%; top: 14%; width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 10px 2px var(--accent); animation: led 2.4s ease-in-out infinite;
}
@keyframes led { 50% { opacity: .25; box-shadow: 0 0 4px 0 var(--accent); } }
.brick-shadow {
  position: absolute; left: 10%; right: 10%; bottom: -26%; height: 30%;
  background: radial-gradient(closest-side, rgba(var(--accent-rgb),.45), transparent); filter: blur(18px);
}
.brick-scene--hero { --w: clamp(220px, 28vw, 360px); --h: calc(var(--w) * .625); --d: calc(var(--w) * .2); --r: calc(var(--w) * .085); }
.brick-scene--buy { --w: clamp(220px, 30vw, 380px); --h: calc(var(--w) * .625); --d: calc(var(--w) * .2); --r: calc(var(--w) * .085); }
.brick-scene--thumb { --w: 92px; --h: 58px; --d: 18px; --r: 9px; }
.brick-scene--thumb .brick-shadow, .brick-scene--thumb .brick__led { display: none; }

/* ==========================================================================
   HOME
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; }
.hero__glow {
  position: absolute; width: 70vmax; height: 70vmax; left: 60%; top: 45%; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(var(--accent-rgb), .32), rgba(180, 77, 0, .12) 45%, transparent 70%);
  pointer-events: none; filter: blur(20px);
}
.hero__grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: 40px; }
.hero__title { margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.hero__visual { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero__ring { position: absolute; width: 120%; aspect-ratio: 1; border: 1px solid rgba(var(--accent-rgb), .22); border-radius: 50%; animation: spin 40s linear infinite; }
.hero__ring::before { content: ""; position: absolute; top: -4px; left: 50%; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
.hero__ring--2 { width: 85%; border-style: dashed; border-color: rgba(255,255,255,.07); animation-duration: 70s; animation-direction: reverse; }
.hero__ring--2::before { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
.brick-scene--hero .brick { animation: float 7s ease-in-out infinite; }
@keyframes float { 50% { translate: 0 -16px; } }

.hero__notifs { position: absolute; inset: 0; pointer-events: none; }
.notif {
  position: absolute; left: var(--x); top: var(--y);
  padding: 10px 16px; border-radius: 14px; font-size: 13px; color: #ddd4c6; white-space: nowrap;
  background: rgba(30, 26, 22, .55); border: 1px solid var(--line); backdrop-filter: blur(10px);
  opacity: .5; filter: blur(.4px);
}
@media (max-width: 900px) {
  .notif:nth-child(1) { --x: 2% !important; --y: 12% !important; }
  .notif:nth-child(2) { --x: 30% !important; --y: 38% !important; }
}
.notif b { color: #fff; background: #ff3b5c; border-radius: 8px; padding: 1px 7px; margin-right: 4px; font-size: 12px; }
@media (max-width: 900px) { .notif:nth-child(n+3) { display: none; } }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); display: grid; justify-items: center; gap: 10px; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: var(--muted); }
.scroll-hint i { width: 1px; height: 48px; background: linear-gradient(var(--accent), transparent); animation: drip 2s var(--ease) infinite; transform-origin: top; }
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; min-height: 280px; margin-top: 10px; }
  .scroll-hint { display: none; }
}

/* Manifiesto */
.manifesto__text { font: 500 clamp(30px, 4.4vw, 64px)/1.12 var(--display); letter-spacing: -.035em; margin: 0; max-width: 20em; }
.manifesto__text .w { display: inline-block; }
.anim .manifesto__text .w { opacity: .14; }

/* Stats */
.stats { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 64px 32px 56px 0; }
.stat + .stat { padding-left: 32px; border-left: 1px solid var(--line); }
.stat__num { font: 600 clamp(64px, 8vw, 120px)/1 var(--display); letter-spacing: -.05em; display: flex; align-items: baseline; gap: 8px; }
.stat__num small { font-size: .28em; letter-spacing: 0; color: var(--accent-2); }
.stat p { color: var(--muted); max-width: 22em; margin: 16px 0 0; }
.stats__note { font-size: 12px; padding-bottom: 20px; }
@media (max-width: 800px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat { padding: 40px 0; } .stat + .stat { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
}

/* Cómo funciona */
.how__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.how__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.how__steps { padding: 20vh 0; }
.step { min-height: 70vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s var(--ease); }
.step.is-active { opacity: 1; }
.step__n { font: 500 14px/1 var(--display); color: var(--accent-2); letter-spacing: .1em; margin-bottom: 18px; }
.step h3 { font: 600 clamp(32px, 4vw, 56px)/1 var(--display); letter-spacing: -.04em; margin: 0 0 18px; }
.step p { color: #d8d0c3; font-size: 19px; max-width: 26em; margin: 0; }

.phone {
  position: relative; width: min(300px, 70vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #2e2b28, #0f0e0d); box-shadow: 0 0 0 1px rgba(255,255,255,.1), 0 50px 120px -30px var(--glow), inset 0 0 0 2px #000;
}
.phone__notch { position: absolute; top: 22px; left: 50%; width: 90px; height: 26px; border-radius: 20px; background: #000; transform: translateX(-50%); z-index: 2; }
.phone__screen { position: relative; height: 100%; border-radius: 36px; background: radial-gradient(120% 80% at 50% 0%, #2a1a0e, #080706 60%); overflow: hidden; }
.phone__state {
  position: absolute; inset: 0; padding: 70px 22px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  opacity: 0; transform: scale(.94); filter: blur(6px); transition: opacity .7s var(--ease), transform .7s var(--ease), filter .7s;
}
.phone[data-step="1"] .phone__state--1, .phone[data-step="2"] .phone__state--2, .phone[data-step="3"] .phone__state--3 { opacity: 1; transform: none; filter: none; }
.phone__label { font: 600 18px/1.2 var(--display); text-align: center; margin: 0; }
.phone__label--accent { color: var(--accent-2); letter-spacing: .2em; text-transform: uppercase; font-size: 13px; }
.phone__hint { font-size: 12px; color: var(--muted); margin: 0; text-align: center; }
.apps { display: grid; grid-template-columns: repeat(3, 52px); gap: 16px; }
.app { position: relative; width: 52px; height: 52px; border-radius: 14px; background: var(--app, #333); }
.app--1 { --app: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); } .app--2 { --app: #ff0033; } .app--3 { --app: #111; box-shadow: inset 0 0 0 1px #333; }
.app--4 { --app: #25d366; } .app--5 { --app: #1d9bf0; } .app--6 { --app: #ff4500; }
.app--7 { --app: #e50914; } .app--8 { --app: #5865f2; } .app--9 { --app: #1db954; }
.app span { position: absolute; inset: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.8); }
.app i { position: absolute; right: -4px; top: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); border: 2px solid #080706; transform: scale(0); transition: transform .4s var(--ease); }
.phone__state--1 .app:nth-child(-n+6) i { transform: scale(1); }
.phone__state--1 .app:nth-child(-n+6) i::after { content: ""; position: absolute; left: 4px; top: 2px; width: 4px; height: 7px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.apps--locked .app:nth-child(-n+6) { filter: grayscale(1) brightness(.35); }
.apps--locked .app:nth-child(-n+6)::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 11px; border-radius: 3px; background: #fff; transform: translate(-50%, -20%);
  box-shadow: 0 0 0 0 transparent;
}
.apps--locked .app:nth-child(-n+6)::before {
  content: ""; position: absolute; z-index: 1; left: 50%; top: 50%; width: 10px; height: 10px; border: 2px solid #fff; border-bottom: 0; border-radius: 6px 6px 0 0; transform: translate(-50%, -110%);
}
.nfc { position: relative; width: 150px; height: 150px; display: grid; place-items: center; }
.nfc span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--accent); animation: ripple 2.4s var(--ease) infinite; opacity: 0; }
.nfc span:nth-child(2) { animation-delay: .8s; } .nfc span:nth-child(3) { animation-delay: 1.6s; }
@keyframes ripple { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
.nfc__core { width: 56px; height: 56px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 50px var(--accent); }
.timer { font: 600 40px/1 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }

@media (max-width: 900px) {
  .how__grid { grid-template-columns: 1fr; gap: 0; }
  .how__sticky { height: auto; top: 70px; padding: 20px 0; z-index: 1; background: linear-gradient(var(--bg) 85%, transparent); }
  .phone { width: 170px; border-radius: 30px; padding: 7px; }
  .phone__screen { border-radius: 24px; }
  .phone__notch { width: 50px; height: 14px; top: 14px; }
  .phone__state { padding: 40px 10px 14px; gap: 12px; }
  .apps { grid-template-columns: repeat(3, 32px); gap: 8px; }
  .app { width: 32px; height: 32px; border-radius: 9px; } .app span { inset: 8px; }
  .nfc { width: 90px; height: 90px; } .nfc__core { width: 34px; height: 34px; }
  .timer { font-size: 24px; } .phone__label { font-size: 13px; } .phone__hint { display: none; }
  .how__steps { padding: 0; }
  .step { min-height: 60vh; }
}

/* Modos (horizontal) */
.modes { padding: clamp(96px, 12vw, 160px) 0; overflow: hidden; }
.modes__track { display: flex; gap: 24px; padding: 30px var(--gutter) 0; width: max-content; }
.mode {
  position: relative; width: min(420px, 78vw); min-height: 460px; padding: 34px; border-radius: var(--radius-lg);
  background: linear-gradient(180deg, var(--bg-3), var(--bg-2)); border: 1px solid var(--line);
  display: flex; flex-direction: column; overflow: hidden;
}
.mode__time { font-size: 13px; color: var(--accent-2); letter-spacing: .1em; }
.mode h3 { font: 600 clamp(36px, 4vw, 52px)/1 var(--display); letter-spacing: -.04em; margin: auto 0 14px; position: relative; }
.mode p { color: var(--muted); margin: 0; position: relative; }
.mode__orb {
  position: absolute; width: 260px; height: 260px; right: -80px; top: -60px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent) 35%, transparent 70%); opacity: .35; filter: blur(30px);
  transition: transform 1s var(--ease), opacity .6s;
}
.mode:hover .mode__orb { transform: translate(-40px, 40px) scale(1.2); opacity: .6; }
@media (max-width: 900px) {
  .modes__track { overflow-x: auto; width: auto; scroll-snap-type: x mandatory; padding-bottom: 10px; scrollbar-width: none; }
  .mode { flex: 0 0 auto; scroll-snap-align: start; min-height: 360px; }
}

/* Features */
.features__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 60px; }
.feature { position: relative; padding: 44px 36px; background: var(--bg); }
.feature svg { width: 30px; height: 30px; fill: none; stroke: var(--accent-2); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 40px; }
.feature h3 { font: 600 22px/1.2 var(--display); margin: 0 0 8px; letter-spacing: -.02em; }
.feature p { color: var(--muted); margin: 0; font-size: 16px; }
[data-spotlight] { --mx: 50%; --my: 50%; }
[data-spotlight]::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(400px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .16), transparent 45%);
}
[data-spotlight]:hover::before { opacity: 1; }
@media (max-width: 900px) { .features__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .features__grid { grid-template-columns: 1fr; } }

/* Comprar */
.buy { background: radial-gradient(60% 50% at 25% 50%, rgba(var(--accent-rgb), .14), transparent 70%); }
.buy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); align-items: start; }
.buy__visual { position: sticky; top: 100px; }
.buy__stage {
  aspect-ratio: 1; border-radius: var(--radius-lg); display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, var(--bg-3), var(--bg) 70%); border: 1px solid var(--line);
}
.brick-scene--buy .brick { --rx: 55deg; --rz: -25deg; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 14px; margin: 30px 0; }
.price__now { font: 600 52px/1 var(--display); letter-spacing: -.04em; }
.price__was { color: var(--muted); text-decoration: line-through; font-size: 22px; }
.price__tag { width: 100%; font-size: 14px; color: var(--muted); }
.swatches { border: 0; padding: 0; margin: 0 0 26px; display: flex; flex-wrap: wrap; gap: 14px; }
.swatches legend { width: 100%; padding: 0; margin-bottom: 14px; color: var(--muted); font-size: 15px; }
.swatches legend b { color: var(--fg); font-weight: 500; }
.swatch { position: relative; }
.swatch input { position: absolute; opacity: 0; }
.swatch span {
  display: block; width: 46px; height: 46px; border-radius: 50%;
  background: linear-gradient(145deg, var(--c), var(--e)); box-shadow: inset 0 0 0 1px rgba(255,255,255,.15);
  outline: 1px solid transparent; outline-offset: 4px; transition: outline-color .3s, transform .3s var(--ease);
}
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { outline-color: var(--accent-2); }
.swatch input:focus-visible + span { outline: 2px solid var(--accent-2); }
.swatch input:disabled + span { opacity: .3; }
.buy__row { display: flex; gap: 12px; }
.qty { display: inline-flex; align-items: center; height: 58px; border: 1px solid var(--line-2); border-radius: 999px; flex: 0 0 auto; }
.qty button { width: 46px; height: 100%; font-size: 20px; color: var(--muted); transition: color .3s; }
.qty button:hover { color: var(--fg); }
.qty input { width: 34px; text-align: center; background: none; border: 0; color: var(--fg); font: 500 17px var(--font); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.perks { list-style: none; padding: 0; margin: 26px 0 40px; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 14px; color: var(--muted); }
.perks li::before { content: "✓"; color: var(--accent-2); margin-right: 8px; }
@media (max-width: 900px) {
  .buy__grid { grid-template-columns: 1fr; }
  .buy__visual { position: relative; top: 0; }
}

/* Acordeones */
.acc { border-top: 1px solid var(--line); }
.acc:last-child { border-bottom: 1px solid var(--line); }
.acc summary {
  list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; font-weight: 500; cursor: pointer;
}
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after {
  content: ""; flex: 0 0 14px; height: 14px;
  background: linear-gradient(var(--fg), var(--fg)) center / 100% 1.5px no-repeat, linear-gradient(var(--fg), var(--fg)) center / 1.5px 100% no-repeat;
  transition: transform .5s var(--ease);
}
.acc[open] summary::after { transform: rotate(135deg); }
.acc__body { overflow: hidden; color: #d8d0c3; }
.acc__body > :first-child { margin-top: 0; }
.acc__body > :last-child { margin-bottom: 0; padding-bottom: 24px; }
.acc--lg summary { font: 500 clamp(19px, 1.8vw, 23px)/1.3 var(--display); letter-spacing: -.02em; padding: 28px 0; }
.list { padding-left: 18px; margin: 0; }
.list li::marker { color: var(--accent-2); }
.spec-table { display: grid; grid-template-columns: auto 1fr; gap: 10px 30px; margin: 0; padding-bottom: 24px; }
.spec-table dt { color: var(--muted); }
.spec-table dd { margin: 0; }

/* Testimonios */
.voices { overflow: hidden; }
.marquee { overflow: hidden; padding: 12px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 70s linear infinite; }
.marquee--reverse .marquee__track { animation-direction: reverse; animation-duration: 85s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.anim .marquee__track { animation: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.quote { width: 400px; margin: 0; padding: 30px; border-radius: var(--radius); background: var(--bg-2); border: 1px solid var(--line); }
.quote blockquote { margin: 0 0 20px; font-size: 17px; line-height: 1.55; }
.quote figcaption { font-size: 14px; color: var(--muted); }
.quote figcaption b { color: var(--fg); font-weight: 500; }
@media (max-width: 600px) { .quote { width: 300px; } }

/* FAQ */
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 20px; } }

/* Tarjetas de blog */
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.section-head .h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards--2 { grid-template-columns: repeat(2, 1fr); margin-top: 30px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); overflow: hidden; transition: transform .6s var(--ease), border-color .4s; }
.card:hover { transform: translateY(-6px); border-color: rgba(var(--accent-rgb), .4); }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.card:hover .card__media img, .card:hover .card__art { transform: scale(1.06); }
.card__art {
  width: 100%; height: 100%; transition: transform 1s var(--ease);
  background:
    radial-gradient(circle at calc(20% + var(--seed) * 23%) calc(30% + var(--seed) * 11%), var(--accent) 0, transparent 35%),
    radial-gradient(circle at calc(80% - var(--seed) * 17%) 80%, var(--accent-3) 0, transparent 45%),
    var(--bg-3);
  filter: saturate(1.2);
}
.card__body { padding: 26px 28px 30px; }
.card__meta { font-size: 13px; color: var(--accent-2); }
.card h3 { font: 600 24px/1.15 var(--display); letter-spacing: -.03em; margin: 10px 0; }
.card p { margin: 0; font-size: 15px; }
@media (max-width: 900px) { .cards, .cards--2 { grid-template-columns: 1fr; } }

/* CTA final */
.final { position: relative; min-height: 90vh; display: grid; place-items: center; text-align: center; overflow: hidden; border-top: 1px solid var(--line); }
.final__inner { position: relative; display: grid; justify-items: center; gap: 24px; }
.final__title { font-size: clamp(64px, 13vw, 210px); }
.final__rings { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.final__rings span { position: absolute; width: 30vmax; aspect-ratio: 1; border-radius: 50%; border: 1px solid var(--accent); opacity: 0; animation: pulse 6s var(--ease) infinite; }
.final__rings span:nth-child(2) { animation-delay: 2s; } .final__rings span:nth-child(3) { animation-delay: 4s; }
@keyframes pulse { 0% { transform: scale(.2); opacity: .8; } 100% { transform: scale(2.6); opacity: 0; } }

/* ==========================================================================
   PÁGINAS INTERIORES
   ========================================================================== */
.page-hero { padding: clamp(140px, 18vw, 220px) 0 clamp(30px, 5vw, 60px); position: relative; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 60% at 80% 0%, rgba(var(--accent-rgb), .18), transparent 70%); pointer-events: none; }
.page-hero--sm { padding-bottom: 0; }
.prose { font-size: 18px; line-height: 1.75; color: #e2dacd; }
.prose h2 { font: 600 clamp(26px, 3vw, 36px)/1.15 var(--display); letter-spacing: -.03em; color: var(--fg); margin: 2em 0 .6em; }
.prose h3 { font: 600 22px/1.2 var(--display); color: var(--fg); margin: 1.8em 0 .5em; }
.prose a { color: var(--accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--fg); }
.prose blockquote { margin: 2em 0; padding: 18px 24px; border-left: 2px solid var(--accent); background: var(--bg-2); border-radius: 0 12px 12px 0; color: var(--muted); }
.prose blockquote p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { color: var(--muted); font-weight: 500; }
.prose code { font-size: .9em; background: var(--bg-3); padding: 2px 6px; border-radius: 6px; }
.prose ul li::marker { color: var(--accent-2); }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 510; background: var(--accent); box-shadow: 0 0 12px var(--accent); transform-origin: left; transform: scaleX(0); }
.article__cover img { border-radius: var(--radius-lg); width: 100%; }
.cta-box { position: relative; padding: 48px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); text-align: center; display: grid; justify-items: center; gap: 6px; }
.cta-box .btn { margin-top: 18px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 60px; }

/* Contacto / formularios */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); }
.contact__item { display: grid; gap: 4px; margin-top: 30px; }
.form { display: grid; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; color: var(--muted); }
.field input, .field textarea {
  width: 100%; padding: 16px 0; background: transparent; border: 0; border-bottom: 1px solid var(--line-2);
  color: var(--fg); font: 400 18px/1.5 var(--font); transition: border-color .3s; resize: vertical; border-radius: 0;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: #5a544b; }
.field.has-error input, .field.has-error textarea { border-color: var(--err); }
.field__error { color: var(--err); }
.form .btn { justify-self: start; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

/* Carrito */
.cart { display: grid; grid-template-columns: 1fr 380px; gap: 50px; align-items: start; }
.line-item { display: grid; grid-template-columns: 120px 1fr auto auto; align-items: center; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.line-item:first-child { border-top: 1px solid var(--line); }
.line-item__thumb { height: 100px; border-radius: 16px; background: var(--bg-2); display: grid; place-items: center; }
.line-item h3 { font: 600 20px/1.2 var(--display); margin: 0 0 4px; }
.line-item p { margin: 0 0 6px; }
.line-item .qty { height: 46px; }
.line-item .qty button { width: 38px; }
.line-item__total { font: 500 18px var(--display); min-width: 80px; text-align: right; }
.summary { position: sticky; top: 100px; padding: 32px; border-radius: var(--radius-lg); background: var(--bg-2); border: 1px solid var(--line); }
.summary dl { display: grid; grid-template-columns: 1fr auto; gap: 14px; margin: 0 0 20px; }
.summary dt { color: var(--muted); } .summary dd { margin: 0; text-align: right; }
.summary__total { color: var(--fg) !important; font: 600 22px var(--display); padding-top: 14px; border-top: 1px solid var(--line); }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 16px 0 0; text-align: center; }
.summary__secure svg { width: 16px; height: 16px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.6; }
.summary--inline { position: static; margin: 20px 0; width: 100%; text-align: left; }
.summary__row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; }
.empty { text-align: center; display: grid; justify-items: center; gap: 20px; padding: 40px 0 80px; }
@media (max-width: 900px) {
  .cart { grid-template-columns: 1fr; }
  .line-item { grid-template-columns: 80px 1fr; gap: 14px 18px; }
  .line-item__thumb { height: 72px; grid-row: span 2; }
  .brick-scene--thumb { --w: 64px; --h: 40px; --d: 12px; --r: 6px; }
  .line-item__total { text-align: left; }
  .summary { position: static; }
}

.success, .notfound { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 140px 0 80px; overflow: hidden; }
.success__inner, .notfound .container { position: relative; display: grid; justify-items: center; gap: 22px; }

/* Footer */
.footer { position: relative; border-top: 1px solid var(--line); padding-bottom: 30px; overflow: hidden; }
.footer__big {
  width: min(88%, 1200px); aspect-ratio: 425 / 138; margin: clamp(40px, 6vw, 80px) auto clamp(30px, 5vw, 60px);
  background: linear-gradient(180deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .03));
  -webkit-mask: url("../img/logo-fokus-mask.c7cb60e45e4d.png") center / contain no-repeat; mask: url("../img/logo-fokus-mask.c7cb60e45e4d.png") center / contain no-repeat;
}
.footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer__grid h4 { font: 500 12px/1 var(--font); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin: 6px 0 18px; }
.footer__grid a { display: block; margin-bottom: 10px; color: #d8d0c3; transition: color .3s, transform .3s var(--ease); }
.footer__grid a:hover { color: var(--accent-2); transform: translateX(4px); }
.footer__claim { margin-top: 16px; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
@media (max-width: 800px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__grid > :first-child { grid-column: 1 / -1; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
}

/* ==========================================================================
   ANIMACIONES EXTRA
   ========================================================================== */
/* Texto partido en palabras / letras */
.word { display: inline-block; white-space: nowrap; }
.char { display: inline-block; will-change: transform; }
.line { perspective: 700px; }
[data-split] .word { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; vertical-align: top; }
.final__title .word { overflow: visible; }

/* Texto que rueda letra a letra al pasar el ratón */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__a, .roll__b { display: block; white-space: nowrap; }
.roll__b { position: absolute; inset: 0; }
.roll .c { display: inline-block; transition: transform .55s var(--ease); transition-delay: calc(var(--i) * 16ms); }
.roll__b .c { transform: translateY(115%); }
[data-roll]:hover .roll__a .c { transform: translateY(-115%); }
[data-roll]:hover .roll__b .c { transform: translateY(0); }

/* Partículas del hero */
.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; }
html:not(.anim) .hero__particles { display: none; }

/* Respira / Toca / Concéntrate */
.focus { position: relative; height: 100vh; display: grid; place-items: center; overflow: hidden; background: var(--bg); }
.focus__glow { position: absolute; inset: 0; background: radial-gradient(40% 40% at 50% 50%, rgba(var(--accent-rgb), .18), transparent 70%); opacity: .4; }
.focus__ring {
  position: absolute; width: 62vmin; aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(var(--accent-rgb), .6);
  box-shadow: inset 0 0 90px rgba(var(--accent-rgb), .18), 0 0 90px rgba(var(--accent-rgb), .12);
}
.focus__words { position: relative; display: grid; place-items: center; text-align: center; padding: 0 var(--gutter); }
.focus__words span { font: 600 clamp(52px, 11vw, 180px)/1 var(--display); letter-spacing: -.05em; }
.focus__last { color: var(--accent); }
.anim .focus__words span { grid-area: 1 / 1; opacity: 0; }
.focus__dot { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 30px 6px rgba(var(--accent-rgb), .6); opacity: 0; top: calc(50% + clamp(52px, 11vw, 180px) * .75); }
html:not(.anim) .focus { height: auto; padding: 120px 0; }
html:not(.anim) .focus__words { gap: 10px; }

/* Bandas de texto */
.band { position: relative; padding: clamp(60px, 9vw, 120px) 0; overflow: hidden; }
.band__row {
  display: flex; overflow: hidden; padding: .22em 0;
  font: 600 clamp(44px, 7.5vw, 112px)/1 var(--display); letter-spacing: -.04em; white-space: nowrap;
  background: var(--accent); color: var(--on-accent);
  transform: rotate(-3deg) scale(1.06); position: relative; z-index: 1;
}
.band__row--2 { background: var(--bg); color: var(--fg); transform: rotate(2.2deg) scale(1.06); border-block: 1px solid var(--line-2); margin-top: -.15em; z-index: 0; }
.band__track { display: flex; align-items: center; gap: .45em; padding-right: .45em; width: max-content; will-change: transform; }
.band__track i { font-style: normal; font-size: .45em; opacity: .7; }
.band .outline { color: transparent; -webkit-text-stroke: 2px var(--on-accent); }
.band__row--2 .outline { -webkit-text-stroke-color: var(--fg); }
html:not(.anim) .band__track { animation: marquee 40s linear infinite; }

/* Botón volver arriba con progreso */
.totop {
  position: fixed; right: 20px; bottom: 20px; z-index: 520; width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; background: rgba(13, 12, 11, .7); backdrop-filter: blur(10px);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .5s, transform .6s var(--ease);
}
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.totop circle { fill: none; stroke-width: 1.5; }
.totop__track { stroke: var(--line-2); }
.totop__bar { stroke: var(--accent); stroke-dasharray: 1; stroke-dashoffset: 1; }
.totop span { font-size: 18px; transition: transform .5s var(--ease); }
.totop:hover span { transform: translateY(-3px); }
html:not(.anim) .totop { display: none; }
.toasts { bottom: 86px; }

/* Brick explosionado en la compra */
.buy__stage { perspective: 1200px; }
.buy__stage .brick-scene { transform-style: preserve-3d; }

/* Foco de luz sobre el logo del pie */
.footer__big {
  --mx: 50%; --my: 50%;
  background:
    radial-gradient(420px circle at var(--mx) var(--my), rgba(var(--accent-rgb), .95), transparent 60%),
    linear-gradient(180deg, rgba(var(--accent-rgb), .22), rgba(var(--accent-rgb), .03));
}

/* Manifiesto: la frase final en acento */
.manifesto__text .w--accent { color: var(--accent); }

/* Tarjetas: profundidad al inclinarse */
[data-tilt] { transform-style: preserve-3d; will-change: transform; }
.anim .card:hover { transform: none; }
