/* Lumen Studio — hoja de estilos
   Paleta del logo: la noche (fondo), el pergamino (tinta) y el oro del farol (acento). */

:root {
  --bg: #0a090d;
  --surface: #121016;
  --surface-2: #1b1820;
  --surface-3: #25212b;
  --ink: #f2efe9;
  --muted: #bfb29b;
  --accent: #e8b64c;
  --accent-ink: #1a1206;
  --paper: #ebeae6;
  --paper-ink: #0a090d;
  --paper-muted: #4a463f;

  --display: "Cinzel", "Trajan Pro", Georgia, serif;
  --text: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --t-h1: clamp(36px, 4.6vw, 64px);
  --t-xl: clamp(32px, 3.6vw, 52px);
  --t-l: clamp(22px, 2vw, 28px);
  --t-s: 17px;
  --t-xs: 14px;

  --m: clamp(16px, 3vw, 48px);
  --gap: clamp(80px, 8vw, 140px);
  --r: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --lx: 50vw;
  --ly: 45svh;
  --mx: -999px;
  --my: -999px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; color-scheme: dark; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 var(--t-s)/1.55 var(--text);
  overflow-x: hidden; text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, figure { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.muted { color: var(--muted); }
.skip { position: absolute; left: var(--m); top: -60px; z-index: 90; background: var(--accent); color: var(--accent-ink); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: var(--m); }

/* la luz del ratón por toda la página (lo que más gustó del hero) */
.glow {
  position: fixed; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(232, 182, 76, .07), transparent 70%); /* taste-skill-ignore: la luz del farol */
}
main, .footer, .hero { position: relative; z-index: 2; }

.h-xl { font: 600 var(--t-xl)/1.05 var(--display); letter-spacing: -0.005em; }
.h-l { font: 600 var(--t-l)/1.2 var(--display); }

/* ---------- farol (sprite de 8 fotogramas del juego) ---------- */
.farol {
  --s: 64px; display: inline-block; width: var(--s); height: var(--s); flex: none;
  background: url("../assets/img/farol-tira.webp") 0 0 / calc(var(--s) * 8) var(--s) no-repeat;
  animation: llama 0.9s steps(8) infinite;
}
.farol--s { --s: 30px; }
.farol--m { --s: clamp(120px, 12vw, 190px); }
@keyframes llama { to { background-position-x: calc(var(--s) * -8); } }

/* ---------- botones y enlaces ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font: 700 var(--t-s)/1 var(--text); text-decoration: none;
  transition: transform .3s var(--ease), background-color .25s ease;
}
.btn:hover { background: #f3c868; transform: translateY(-2px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--s { min-height: 40px; padding: 0 18px; font-size: 15px; }
.btn--ghost { background: var(--surface-3); color: var(--ink); }
.btn--ghost:hover { background: #322d39; }
.u-link { display: inline-flex; align-items: center; min-height: 32px; text-underline-offset: 6px; text-decoration-thickness: 2px; transition: color .25s ease; }
.u-link:hover { color: var(--accent); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font: 600 16px/1 var(--display); letter-spacing: .02em; text-decoration: none; }

/* ---------- barra fija ---------- */
.bar {
  position: fixed; top: 12px; left: 50%; z-index: 60;
  display: flex; align-items: center; gap: 28px;
  width: min(980px, calc(100% - 24px)); padding: 8px 8px 8px 18px;
  background: rgba(18, 16, 22, .94); border-radius: 999px;
  transform: translate(-50%, -140%); transition: transform .5s var(--ease);
}
.bar.is-on { transform: translate(-50%, 0); }
.bar-links { display: flex; gap: 22px; margin-left: auto; }
.bar-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s ease; }
.bar-links a:hover, .bar-links a.is-here { color: var(--ink); }

/* ================= HERO ================= */
.hero { min-height: max(660px, 100svh); display: grid; grid-template-rows: auto 1fr auto auto 1fr; padding-bottom: clamp(32px, 5svh, 64px); overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(circle at var(--lx) var(--ly), rgba(232, 182, 76, .20) 0, rgba(232, 182, 76, .06) 28vw, rgba(10, 9, 13, 0) 52vw); /* taste-skill-ignore: la luz del farol es la marca */
}
.hero-top { grid-row: 1; display: flex; align-items: center; gap: 28px; padding: 20px var(--m) 0; }
.hero-stage { grid-row: 3; }
.hero-copy { grid-row: 4; }
.hero-links { display: flex; gap: 26px; margin-left: auto; }
.hero-links a { display: inline-flex; align-items: center; min-height: 32px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--muted); transition: color .2s ease; }
.hero-links a:hover { color: var(--ink); }
.hero-stage { display: grid; justify-items: center; align-content: center; gap: 12px; padding: 12px var(--m) 0; }
.lamp {
  position: relative; transform-origin: 50% 6%; animation: vaiven 6s ease-in-out infinite;
  border: 0; padding: 0; background: none; cursor: pointer; display: block; border-radius: 24px;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.lamp.is-hit { animation: none; }
.lamp.is-hit .farol { animation-duration: .35s; }
.lamp.is-hit::before { animation: destello .6s ease-out; }
@keyframes destello { 0% { opacity: 1; transform: translate(-50%, -50%) scale(1.25); } 100% { opacity: .85; transform: translate(-50%, -50%) scale(1); } }
.spark {
  position: fixed; left: 0; top: 0; z-index: 80; width: 6px; height: 6px; border-radius: 1px; pointer-events: none;
  background: #ffd76a;
}
.lamp::before {
  content: ""; position: absolute; left: 50%; top: 56%; width: 170%; aspect-ratio: 1; z-index: -1;
  transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255, 196, 90, .30) 0, rgba(255, 196, 90, .10) 34%, rgba(255, 196, 90, 0) 66%); /* taste-skill-ignore: la luz del farol */
  animation: pulso 2.4s ease-in-out infinite;
}
.farol--hero { --s: clamp(180px, 19vw, 270px); }
@keyframes vaiven { 0%, 100% { transform: rotate(-1.6deg); } 50% { transform: rotate(1.6deg); } }
@keyframes pulso { 0%, 100% { opacity: .85; } 50% { opacity: 1; } }
.hero-title {
  font: 600 var(--t-h1)/1 var(--display); letter-spacing: .04em; text-transform: uppercase; text-align: center;
  color: transparent;
  background: radial-gradient(circle at var(--lx) var(--ly), #fff6d8 0, #f0c25f 14vw, #c99a45 30vw, #a88b5c 60vw) fixed; /* taste-skill-ignore: la luz del farol es la marca */
  -webkit-background-clip: text; background-clip: text; /* taste-skill-ignore */
}
.hero-slogan { font: 600 clamp(19px, 1.9vw, 26px)/1.2 var(--text); color: var(--accent); letter-spacing: .01em; margin-top: 6px; text-align: center; }
.hero-copy { text-align: center; padding: 0 var(--m); margin-top: 22px; }
.hero-lede { font: 500 var(--t-l)/1.35 var(--text); max-width: 34ch; margin: 0 auto; }
.hero-fact { margin-top: 14px; color: var(--muted); }
.hero-actions { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ================= cabecera de sección ================= */
.head { display: flex; justify-content: space-between; align-items: end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.head-sub { max-width: 52ch; color: var(--muted); }

/* ================= PROYECTOS ================= */
.work { background: var(--surface); padding: var(--gap) var(--m); }
.filters { display: flex; flex-wrap: wrap; gap: 6px; }
.filters button {
  border: 0; cursor: pointer; min-height: 40px; padding: 0 16px; border-radius: 999px;
  background: var(--bg); color: var(--muted); font-weight: 700; font-size: 15px;
  transition: background-color .25s ease, color .25s ease;
}
.filters button:hover { color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--accent); color: var(--accent-ink); }
.project-list { display: grid; gap: 14px; }
.project {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 36px; align-items: center;
  padding: 16px; border-radius: 24px; background: var(--bg);
}
.project[hidden] { display: none; }
.project.is-in-filter { animation: entra-p .5s var(--ease); }
@keyframes entra-p { from { opacity: 0; transform: translateY(14px); } }
.project-media { display: grid; gap: 10px; min-width: 0; }
.project-main { aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--surface-2); }
.project-main img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: opacity .25s ease; }
.project-main img.is-contain { object-fit: contain; }
.project-main img.is-swap { opacity: 0; }
.project-thumbs { display: flex; gap: 8px; }
.project-thumbs button {
  flex: 1; min-width: 0; max-width: 120px; aspect-ratio: 16 / 10; padding: 0; border: 0; border-radius: 10px; overflow: hidden; cursor: pointer;
  background: var(--surface-2); opacity: .55; outline: 2px solid transparent; outline-offset: -2px;
  transition: opacity .25s ease, outline-color .25s ease;
}
.project-thumbs button:hover { opacity: .85; }
.project-thumbs button[aria-pressed="true"] { opacity: 1; outline-color: var(--accent); }
.project-thumbs img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.project-body { display: grid; gap: 12px; padding: 8px 16px 8px 0; }
.project-kind { color: var(--accent); font-weight: 700; font-size: 15px; }
.project-name { font: 600 var(--t-l)/1.15 var(--display); }
.project-lede { font-size: 19px; font-weight: 600; }
.case-facts { display: grid; gap: 10px; margin: 4px 0 0; }
.case-facts dt { font-weight: 700; font-size: 15px; }
.case-facts dd { margin: 2px 0 0; color: var(--muted); }
.project-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 40px; padding: 0 10px; border-radius: 999px;
  font-weight: 800; font-size: 14px; letter-spacing: .04em; text-decoration: none; color: var(--muted); background: var(--surface-2);
  transition: color .2s ease, background-color .2s ease;
}
.lang:hover { color: var(--ink); background: var(--surface-3); }

/* ================= TPV EN VIVO ================= */
.tpv { padding: var(--gap) var(--m); }
.tpv-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(260px, 1fr); gap: 48px; align-items: start; }
.device { background: var(--surface-2); border-radius: 22px; padding: 12px; }
.device-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 2px 4px 12px; flex-wrap: wrap; }
.seg { display: inline-flex; background: var(--bg); border-radius: 999px; padding: 4px; }
.seg button {
  border: 0; background: none; cursor: pointer; padding: 8px 16px; border-radius: 999px;
  font-weight: 700; font-size: 15px; color: var(--muted); transition: background-color .25s ease, color .25s ease;
}
.seg button:hover { color: var(--ink); }
.seg button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); }
.device-full { display: inline-flex; align-items: center; min-height: 32px; font-size: var(--t-xs); font-weight: 600; text-decoration: none; color: var(--muted); }
.device-full:hover { color: var(--accent); }
.screen { position: relative; aspect-ratio: 1366 / 900; border-radius: 12px; overflow: hidden; background: #111; }
.screen iframe {
  position: absolute; left: 0; top: 0; width: 1366px; height: 900px; border: 0;
  transform-origin: 0 0; transform: scale(var(--k, .5));
}
.screen-cover {
  position: absolute; inset: 0; border: 0; padding: 0; cursor: pointer; background: #000;
  display: grid; place-items: center;
}
.screen-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; transition: transform 1s var(--ease), opacity .4s ease; }
.screen-cover:hover img { transform: scale(1.03); opacity: .9; }
.play {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-weight: 800;
  transition: transform .3s var(--ease);
}
.play::before { content: ""; width: 0; height: 0; border-left: 12px solid currentColor; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.screen-cover:hover .play { transform: scale(1.05); }
.screen.is-on .screen-cover { opacity: 0; pointer-events: none; transition: opacity .5s ease; }
.device-note { font-size: var(--t-xs); color: var(--muted); padding: 12px 4px 2px; }
.feats { display: grid; gap: 22px; }
.feats li { color: var(--muted); padding-left: 20px; position: relative; }
.feats li::before { content: ""; position: absolute; left: 0; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.feats strong { color: var(--ink); display: block; font-size: 18px; margin-bottom: 2px; }

/* ================= FENDARIA ================= */
.game { padding: var(--gap) var(--m); background: var(--surface); }
.game-title { color: var(--accent); }
.picker { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.pedestal {
  position: relative; aspect-ratio: 1; max-height: 620px; border-radius: 24px; overflow: hidden;
  background: var(--bg); display: grid; place-items: center; isolation: isolate;
}
.pedestal::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(circle at var(--px, 50%) var(--py, 45%), rgba(232, 182, 76, .26), rgba(232, 182, 76, .05) 40%, transparent 70%); /* taste-skill-ignore: luz que sigue al ratón */
}
.pedestal::after { content: ""; position: absolute; left: 50%; bottom: 23%; width: 46%; height: 7%; transform: translateX(-50%); border-radius: 50%; background: rgba(0, 0, 0, .55); z-index: -1; }
.hero-sprite {
  width: min(74%, 440px); height: auto; image-rendering: pixelated; margin-top: -6%;
  transition: transform .4s var(--ease), opacity .25s ease;
}
.hero-sprite.is-swap { opacity: 0; transform: translateY(12px) scale(.96); }
.moves { position: absolute; left: 50%; bottom: 18px; transform: translateX(-50%); display: flex; gap: 6px; background: rgba(27, 24, 32, .9); padding: 5px; border-radius: 999px; }
.moves button { border: 0; background: none; cursor: pointer; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; color: var(--muted); transition: background-color .25s ease, color .25s ease; }
.moves button:hover { color: var(--ink); }
.moves button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.hero-info { min-width: 0; }
.hero-role { color: var(--accent); font-weight: 700; }
.hero-name { font: 600 var(--t-l)/1.2 var(--display); margin: 6px 0 14px; }
.hero-sum { max-width: 46ch; }
.hero-ult { margin-top: 14px; color: var(--muted); }
.hero-ult strong { color: var(--ink); }
.roster { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin: 28px 0 32px; }
.roster button {
  border: 0; padding: 0; cursor: pointer; aspect-ratio: 1; border-radius: 14px; background: var(--bg); overflow: hidden;
  outline-offset: 2px; transition: transform .3s var(--ease), background-color .25s ease;
}
.roster button:hover { transform: translateY(-3px); background: var(--surface-3); }
.roster button[aria-selected="true"] { background: var(--surface-3); outline: 2px solid var(--accent); outline-offset: -2px; }
.roster img { width: 100%; height: 100%; object-fit: cover; image-rendering: pixelated; transform: scale(1.35) translateY(4%); }
.play-row { display: flex; align-items: center; gap: 16px 20px; flex-wrap: wrap; }
.play-row .muted { font-size: var(--t-xs); }
.game-media { display: grid; grid-template-columns: 1.6fr 1fr; gap: 12px; margin-top: 64px; }
.film video { width: 100%; aspect-ratio: 1280 / 604; border-radius: var(--r); background: #000; }
.film figcaption, .shots figcaption { font-size: var(--t-xs); color: var(--muted); padding-top: 8px; }
.shots { display: grid; gap: 12px; }
.shots img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r); }

/* ================= SERVICIOS ================= */
.services { padding: var(--gap) var(--m); }
.svc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.svc li {
  display: grid; gap: 6px; align-content: start; padding: 26px 24px; border-radius: 18px; background: var(--surface);
  transition: background-color .3s ease, transform .4s var(--ease);
}
.svc li:hover { background: var(--surface-2); transform: translateY(-3px); }
.svc-word { font: 600 var(--t-l)/1.2 var(--display); transition: color .3s ease; }
.svc li:hover .svc-word { color: var(--accent); }
.svc-fact { color: var(--muted); }

/* ================= PROCESO ================= */
.process { display: grid; grid-template-columns: 30% minmax(0, 600px) 1fr; padding: var(--gap) var(--m); background: var(--surface); }
.process-side { display: flex; justify-content: center; align-items: flex-start; }
.process-side .farol { position: sticky; top: 20svh; }
.process-col { grid-column: 2; }
.process-col > .h-l { margin-bottom: 40px; }
.stage { display: grid; gap: 18px; }
.stage + .stage { margin-top: 64px; }
.stage p { color: var(--muted); line-height: 1.6; }
.stage strong { color: var(--ink); }
.evidence img, .evidence video { width: 100%; border-radius: var(--r); background: #000; }
.evidence figcaption { font-size: var(--t-xs); color: var(--muted); padding-top: 8px; }
.evidence--three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.evidence--three img { height: 200px; object-fit: cover; object-position: top; }

/* ================= OPINIONES ================= */
.voices { padding: var(--gap) var(--m); background: var(--surface); }
.voice-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.voice { display: grid; gap: 24px; align-content: space-between; padding: clamp(24px, 3vw, 40px); border-radius: 22px; background: var(--bg); }
.voice blockquote { margin: 0; }
.voice blockquote p { font: 500 clamp(19px, 1.7vw, 24px)/1.45 var(--text); }
.voice figcaption { display: grid; gap: 2px; }
.voice figcaption span { color: var(--muted); font-size: 15px; }

/* ================= PRESUPUESTO ================= */
.quote { padding: var(--gap) var(--m); background: var(--surface); }
.calc { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 28px; align-items: start; }
.calc-steps { display: grid; gap: 28px; }
.calc-group { border: 0; margin: 0; padding: 0; }
.calc-group legend { font-weight: 700; margin-bottom: 12px; padding: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--muted); font-weight: 600; transition: background-color .25s ease, color .25s ease, transform .3s var(--ease);
}
.chip span small { font-weight: 500; font-size: 13px; opacity: .8; }
[data-theme="light"] .chip span small { opacity: 1; }
.chip span:hover { color: var(--ink); transform: translateY(-1px); }
.chip input:checked + span { background: var(--accent); color: var(--accent-ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 3px; }
.calc-result { position: sticky; top: 96px; display: grid; gap: 12px; padding: 28px; border-radius: 22px; background: var(--bg); }
.calc-kicker { color: var(--muted); font-weight: 600; }
.calc-price { font: 700 clamp(30px, 3.2vw, 44px)/1.05 var(--text); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--accent); }
.calc-meta { color: var(--ink); font-weight: 600; }
.calc-sum { display: grid; gap: 4px; color: var(--muted); font-size: 15px; }
.calc-sum li::before { content: "· "; color: var(--accent); }
.calc-actions { display: grid; gap: 8px; margin-top: 8px; }
.calc-note { font-size: var(--t-xs); color: var(--muted); }

/* ================= CONTACTO ================= */
.contact {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 40px; align-items: start;
  margin: var(--gap) var(--m) 0; padding: clamp(28px, 5vw, 64px); border-radius: 28px;
  background: var(--paper); color: var(--paper-ink);
}
.contact-sub { margin-top: 10px; max-width: 40ch; color: var(--paper-muted); }
.contact-direct { display: grid; gap: 10px; justify-items: start; margin-top: 28px; }
.btn--wa { background: #18783f; color: #fff; }
.btn--wa:hover { background: #23a159; }
.btn--mail { background: transparent; color: var(--paper-ink); box-shadow: inset 0 0 0 2px var(--paper-ink); } /* taste-skill-ignore: borde del botón secundario */
.btn--mail:hover { background: var(--paper-ink); color: var(--paper); }
.contact-direct .btn { min-width: 300px; justify-content: flex-start; padding: 0 24px; }
.contact-direct .btn svg { flex: none; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 15px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--paper-ink); background: #fff; border: 2px solid #d9d6cf; border-radius: 12px; padding: 12px 14px;
  transition: border-color .2s ease;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: #9a6a12; }
.field input:user-invalid, .field textarea:user-invalid { border-color: #b3261e; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-legal { font-size: var(--t-xs); color: var(--paper-muted); }
.form-legal a { color: var(--paper-ink); }
.form-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-status { font-weight: 600; }
.form-status.is-ok { color: #1f7a43; }
.form-status.is-err { color: #b3261e; }

/* ================= PIE (compacto) ================= */
.footer { display: flex; align-items: center; justify-content: space-between; gap: 12px 32px; flex-wrap: wrap; padding: 32px calc(var(--m) + 72px) 40px var(--m); }
.foot-links { display: flex; align-items: center; gap: 4px 22px; flex-wrap: wrap; }
.foot-links a { color: var(--muted); font-size: 15px; text-decoration: none; transition: color .2s ease; }
.foot-links a:hover { color: var(--ink); }
.foot-social a { display: inline-flex; align-items: center; gap: 7px; }
.foot-social svg { flex: none; }
.contact-social { margin-top: 18px; color: var(--paper-muted); font-size: 15px; }
.contact-social a { color: var(--paper-ink); font-weight: 600; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.contact-social a:hover { text-decoration-color: var(--paper-ink); }
.foot-legal a, .foot-legal span { font-size: var(--t-xs); color: var(--muted); }

/* WhatsApp flotante */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 70; width: 56px; height: 56px; border-radius: 50%;
  display: grid; place-items: center; background: #1f8f4e; color: #fff;
  transition: transform .3s var(--ease), background-color .25s ease;
}
.wa-float:hover { background: #23a159; }
.wa-float { opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .35s ease, transform .4s var(--ease), background-color .25s ease; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-on:hover { transform: scale(1.08); }
.soon { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; background: var(--surface-3); color: var(--muted); font-size: var(--t-xs); font-weight: 700; }

/* Champi, la mascota (la seta de Fendaria) */
.champi { --cx: -120px; --cy: 0px; --dir: 1; position: fixed; left: 0; bottom: 8px; z-index: 65; transform: translate(var(--cx), var(--cy)); pointer-events: none; }
.champi[hidden] { display: none; }
.champi::after { content: ""; position: absolute; left: 50%; bottom: 4px; width: 54px; height: 9px; margin-left: -27px; border-radius: 50%; background: rgba(0, 0, 0, .45); z-index: -1; }
.champi-body { pointer-events: auto; display: block; width: 88px; height: 88px; padding: 0; border: 0; background: none; cursor: grab; border-radius: 20px; -webkit-tap-highlight-color: transparent; touch-action: none; transform-origin: 50% 6%; }
.champi.is-held .champi-body { cursor: grabbing; }
.champi.is-held::after, .champi.is-falling::after { opacity: 0; }
/* colgando: agita los brazos */
.champi.is-held .champi-sprite { background-image: url("../assets/img/champi/attack.webp"); animation: champi-steps .55s steps(8) infinite; }
.champi-sprite {
  display: block; width: 88px; height: 88px; transform: scaleX(var(--dir));
  background: url("../assets/img/champi/idle.webp") 0 0 / 704px 88px no-repeat; image-rendering: pixelated;
  animation: champi-steps 1s steps(8) infinite;
}
/* andar: solo los 6 fotogramas de perfil (los 2 primeros de la tira original miran de frente y parecían un paso atrás) */
.champi.is-walk .champi-sprite { background-image: url("../assets/img/champi/walk.webp"); background-size: 528px 88px; animation: champi-walk .6s steps(6) infinite; }
@keyframes champi-walk { to { background-position-x: -528px; } }
.champi.is-run .champi-sprite { animation-duration: .32s; } /* corriendo a su rincón */
.champi.is-wave .champi-sprite { background-image: url("../assets/img/champi/attack.webp"); animation: champi-steps .8s steps(8) 1; }
@keyframes champi-steps { to { background-position-x: -704px; } }
.champi-bubble {
  position: absolute; bottom: 92px; left: 10px; width: max-content; max-width: min(260px, calc(100vw - 32px));
  padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: var(--paper); color: var(--paper-ink);
  font: 600 14px/1.4 var(--text); pointer-events: auto;
  opacity: 0; transform: translateY(8px) scale(.96); transform-origin: 20px 100%; transition: opacity .3s ease, transform .4s var(--ease);
}
.champi-bubble.is-on { opacity: 1; transform: none; }
.champi.is-right .champi-bubble { left: auto; right: 10px; border-radius: 16px 16px 4px 16px; transform-origin: calc(100% - 20px) 100%; }
.champi-close {
  pointer-events: auto; position: absolute; top: -2px; right: -6px; width: 26px; height: 26px; border: 0; border-radius: 50%;
  background: var(--surface-3); color: var(--ink); font: 700 16px/1 var(--text); cursor: pointer; opacity: 0; transition: opacity .2s ease;
}
.champi:hover .champi-close, .champi-close:focus-visible { opacity: 1; }
.champi-back { border: 0; background: none; padding: 0; cursor: pointer; color: var(--muted); font: inherit; font-size: var(--t-xs); min-height: 32px; text-decoration: underline; text-underline-offset: 3px; }
.champi-back[hidden] { display: none; }
@media (hover: none) { .champi-close { opacity: .85; } }
@media (max-width: 680px) {
  .champi-body, .champi-sprite { width: 48px; height: 48px; }
  .champi::after { width: 30px; height: 6px; margin-left: -15px; bottom: 3px; }
  .champi-close { width: 26px; height: 26px; font-size: 15px; top: -12px; right: -14px; }
  .champi-sprite { background-size: 384px 48px; }
  .champi-sprite, .champi.is-wave .champi-sprite { animation-name: champi-steps-s; }
  @keyframes champi-steps-s { to { background-position-x: -384px; } }
  .champi.is-walk .champi-sprite { background-size: 288px 48px; animation-name: champi-walk-s; }
  @keyframes champi-walk-s { to { background-position-x: -288px; } }
  .champi-bubble { bottom: 52px; font-size: 13px; max-width: min(220px, calc(100vw - 32px)); }
  .champi-chat { bottom: 56px; }
  .champi.is-held .champi-sprite { animation-name: champi-steps-s; }
}

/* chat con Champi */
.champi-chat {
  position: absolute; bottom: 96px; left: 0; width: min(320px, calc(100vw - 24px)); pointer-events: auto;
  display: grid; gap: 10px; padding: 14px; border-radius: 18px; background: var(--paper); color: var(--paper-ink);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .45); /* taste-skill-ignore: flota sobre la página */
  animation: entra .3s var(--ease);
}
.champi-chat[hidden] { display: none; }
.champi-chat-head { display: flex; justify-content: space-between; align-items: center; font-size: 15px; }
.champi-chat-head button { border: 0; background: none; font: 700 20px/1 var(--text); color: var(--paper-muted); cursor: pointer; width: 32px; height: 32px; border-radius: 50%; }
.champi-chat-head button:hover { background: #dcdad4; }
.champi-log { display: grid; gap: 8px; max-height: 240px; overflow-y: auto; overscroll-behavior: contain; font-size: 14px; line-height: 1.45; }
.champi-msg { max-width: 88%; padding: 8px 12px; border-radius: 14px; }
.champi-msg--bot { background: #fff; border-bottom-left-radius: 4px; justify-self: start; }
.champi-msg--me { background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 4px; justify-self: end; }
.champi-msg--typing { color: var(--paper-muted); }
.champi-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.champi-chips[hidden] { display: none; }
.champi.is-held .champi-close, .champi.is-falling .champi-close { display: none; }
.champi-chips button { border: 0; cursor: pointer; padding: 6px 10px; min-height: 32px; border-radius: 999px; background: #fff; color: var(--paper-ink); font: 600 13px/1.2 var(--text); }
.champi-chips button:hover { background: #f6f1e4; }
.champi-form { display: flex; gap: 6px; }
.champi-form input { flex: 1; min-width: 0; font: inherit; font-size: 14px; padding: 10px 12px; border-radius: 999px; border: 2px solid #d9d6cf; background: #fff; color: var(--paper-ink); }
.champi-form input:focus { outline: none; border-color: #9a6a12; }
.champi-form button { border: 0; cursor: pointer; width: 42px; height: 42px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font: 800 18px/1 var(--text); }

/* páginas legales */
.legal-page { max-width: 760px; margin: 0 auto; padding: 120px var(--m) 80px; }
.legal-page h1 { font: 600 var(--t-xl)/1.1 var(--display); margin-bottom: 12px; }
.legal-page h2 { font: 600 var(--t-l)/1.2 var(--display); margin: 40px 0 12px; }
.legal-page p, .legal-page li { color: var(--muted); margin-bottom: 12px; }
.legal-page ul { padding-left: 20px; list-style: disc; }
.legal-page strong { color: var(--ink); }
.legal-page .fill { color: var(--accent); }
.legal-top { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center; padding: 16px var(--m); background: rgba(10, 9, 13, .94); }

/* ================= ENTRADAS ================= */
.js [data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ================= TABLET ================= */
@media (max-width: 1024px) {
  .tpv-grid, .picker, .calc, .contact, .project, .voice-list { grid-template-columns: 1fr; }
  .project { gap: 18px; }
  .project-body { padding: 0 8px 8px; }
  .calc-result { position: static; }
  .pedestal { max-width: 560px; width: 100%; margin: 0 auto; }
  .svc { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: 1fr minmax(0, 600px) 1fr; }
  .process-side { display: none; }
  .bar { gap: 8px; }
  .bar-links {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 10px;
    flex-direction: column; gap: 2px; background: rgba(18, 16, 22, .97); border-radius: 22px;
  }
  .bar.is-open .bar-links { display: flex; }
  .bar-links a { min-height: 44px; padding: 0 14px; border-radius: 12px; }
  .bar-links a:hover, .bar-links a.is-here { background: var(--surface-2); }
  [data-theme="light"] .bar-links { background: rgba(255, 255, 255, .98); box-shadow: 0 12px 32px rgba(20, 18, 24, .12); }
  .bar .menu-btn { display: inline-grid; margin-left: auto; }
  .bar .theme-btn { margin-left: 0; }
}

/* ================= MÓVIL ================= */
@media (max-width: 680px) {
  :root { --t-h1: 34px; --t-xl: 30px; --gap: 88px; }
  .hero-top { padding-top: 14px; gap: 12px; justify-content: space-between; }
  .hero-links { display: none; }
  .farol--hero { --s: 52vw; }
  .hero-lede { font-size: 19px; }
  .hero-actions { flex-direction: column; align-items: stretch; }


  .device { padding: 8px; border-radius: 18px; }
  .seg button { padding: 8px 12px; }
  .roster { grid-template-columns: repeat(4, 1fr); }
  .moves button { padding: 7px 10px; font-size: 13px; }
  .game-media { grid-template-columns: 1fr; }
  .svc { grid-template-columns: 1fr; }
  .process { display: block; }
  .evidence--three { display: flex; overflow-x: auto; }
  .evidence--three img { height: 180px; width: auto; flex: none; }
  .contact { margin-left: 16px; margin-right: 16px; }
  .form { grid-template-columns: 1fr; }
  .contact-direct, .contact-direct .btn { width: 100%; min-width: 0; }
  .wa-float { width: 52px; height: 52px; right: 14px; bottom: 14px; }
  .footer { flex-direction: column; align-items: flex-start; padding-right: var(--m); padding-bottom: 88px; }
}

/* ================= MOVIMIENTO REDUCIDO ================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .farol, .lamp, .lamp::before, .champi-sprite { animation: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}

/* ================= BOTÓN DE MODO Y LOGO MODERNO ================= */
.mark { display: none; flex: none; color: var(--ink); }
.wordmark .mark { width: 30px; height: 30px; }
.mark--hero { width: clamp(140px, 14vw, 200px); height: clamp(140px, 14vw, 200px); }
.mark--m { width: clamp(110px, 11vw, 170px); height: clamp(110px, 11vw, 170px); position: sticky; top: 20svh; }
.theme-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: var(--surface-2); transition: color .2s ease, background-color .2s ease, transform .3s var(--ease);
}
.menu-btn {
  display: none; place-items: center; width: 40px; height: 40px; flex: none; border: 0; border-radius: 999px; cursor: pointer;
  color: var(--muted); background: var(--surface-2); transition: color .2s ease, background-color .2s ease;
}
.menu-btn:hover, .menu-btn[aria-expanded="true"] { color: var(--ink); background: var(--surface-3); }
.menu-btn svg { width: 20px; height: 20px; }
.theme-btn:hover { color: var(--ink); background: var(--surface-3); transform: rotate(-12deg); }
.theme-btn svg { width: 20px; height: 20px; grid-area: 1 / 1; }
.theme-btn .i-moon { display: none; }
.pixel-veil { position: fixed; inset: 0; z-index: 200; pointer-events: none; width: 100vw; height: 100vh; image-rendering: pixelated; }

/* ================= MODO CLARO: Lumen moderno ================= */
html[data-theme="light"] {
  --bg: #f6f4ef; --surface: #ffffff; --surface-2: #efebe3; --surface-3: #e5dfd3;
  --ink: #141218; --muted: #635b4f; --accent: #e8a33a; --accent-ink: #141218;
  --paper: #ece6da; --paper-ink: #141218; --paper-muted: #5a5144;
  --display: "Plus Jakarta Sans", "Manrope", system-ui, sans-serif;
  --line: #e6e0d4; --gold-text: #9a6a10;
  color-scheme: light;
}
[data-theme="light"] .farol { display: none; }
[data-theme="light"] .mark { display: inline-block; }
[data-theme="light"] .theme-btn .i-sun { display: none; }
[data-theme="light"] .theme-btn .i-moon { display: block; }

/* letras: geométricas y compactas */
[data-theme="light"] .h-xl, [data-theme="light"] .h-l, [data-theme="light"] .project-name, [data-theme="light"] .svc-word,
[data-theme="light"] .hero-name, [data-theme="light"] .legal-page h1, [data-theme="light"] .legal-page h2 { font-weight: 700; letter-spacing: -0.03em; }
[data-theme="light"] .wordmark { font: 700 19px/1 var(--display); letter-spacing: -0.03em; text-transform: lowercase; }
[data-theme="light"] .wm-b { font-weight: 400; color: var(--muted); }
[data-theme="light"] .hero-title {
  color: var(--ink); background: none; -webkit-background-clip: border-box; background-clip: border-box;
  text-transform: lowercase; letter-spacing: -0.045em; font-weight: 700; font-size: clamp(48px, 7vw, 104px);
}
[data-theme="light"] .hero-title .wm-b { color: var(--muted); opacity: 1; }
[data-theme="light"] .hero-slogan, [data-theme="light"] .project-kind, [data-theme="light"] .hero-role, [data-theme="light"] .game-title,
[data-theme="light"] .calc-price, [data-theme="light"] .calc-sum li::before, [data-theme="light"] .u-link:hover,
[data-theme="light"] .svc li:hover .svc-word { color: var(--gold-text); }

/* fondo: rejilla fina en la portada en vez de la luz del farol */
[data-theme="light"] .hero::before {
  background:
    radial-gradient(circle at var(--lx) var(--ly), rgba(232, 163, 58, .16), rgba(232, 163, 58, 0) 34vw),
    linear-gradient(rgba(20, 18, 24, .055) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(20, 18, 24, .055) 1px, transparent 1px) 0 0 / 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 40%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 70% at 50% 42%, #000 40%, transparent 100%);
}
[data-theme="light"] .glow { background: radial-gradient(520px circle at var(--mx) var(--my), rgba(232, 163, 58, .08), transparent 70%); }

/* el logo de la portada no se balancea: respira */
[data-theme="light"] .lamp { animation: none; border-radius: 40px; }
[data-theme="light"] .lamp::before { background: radial-gradient(circle, rgba(232, 163, 58, .22) 0, rgba(232, 163, 58, 0) 60%); }
[data-theme="light"] .lamp.is-hit .mark { animation: late .5s var(--ease); }
@keyframes late { 30% { transform: scale(.92); } 65% { transform: scale(1.05); } }

/* botones: tinta sólida, el dorado queda de acento */
[data-theme="light"] .btn { background: var(--ink); color: #fff; }
[data-theme="light"] .btn:hover { background: #2c2733; }
[data-theme="light"] .btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
[data-theme="light"] .btn--ghost:hover { background: var(--surface-2); }
[data-theme="light"] .btn--wa { background: #18783f; color: #fff; }
[data-theme="light"] .btn--mail { background: transparent; color: var(--paper-ink); }
[data-theme="light"] .btn--mail:hover { background: var(--paper-ink); color: #fff; }
[data-theme="light"] .legal-top { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line); }

/* tarjetas: blancas, borde fino y sombra suave */
[data-theme="light"] .bar { background: rgba(255, 255, 255, .9); box-shadow: 0 12px 32px rgba(40, 30, 10, .1), 0 0 0 1px var(--line); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
[data-theme="light"] .project, [data-theme="light"] .svc li, [data-theme="light"] .voice, [data-theme="light"] .calc-result, [data-theme="light"] .device {
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(40, 30, 10, .18);
}
[data-theme="light"] .svc li { background: var(--surface); }
[data-theme="light"] .services, [data-theme="light"] .process { background: var(--bg); }
[data-theme="light"] .footer { border-top: 1px solid var(--line); }
[data-theme="light"] .lang { background: var(--surface-2); }

@media (prefers-reduced-motion: reduce) { .theme-btn:hover { transform: none; } }

/* barras en celular: con el botón de modo, todo en una línea */
.hero-top .btn, .bar .btn, .wordmark { white-space: nowrap; }
@media (max-width: 680px) {
  .hero-top { gap: 8px; justify-content: flex-start; }
  .hero-top .wordmark { margin-right: auto; }
  .bar .lang { margin-left: 0; }
}
@media (max-width: 430px) {
  .hero-top .wordmark > span:last-child, .bar .wordmark > span:last-child { display: none; } /* solo el símbolo */
}

/* ================= MODO CLARO · acabado refinado ================= */
.hero-badge { display: none; }
[data-theme="light"] .hero-badge {
  display: inline-flex; align-items: center; gap: 10px; margin: 6px 0 4px; padding: 7px 14px 7px 10px; border-radius: 999px;
  font: 600 13px/1 var(--text); letter-spacing: .02em; color: var(--muted); background: rgba(255, 255, 255, .75);
  box-shadow: 0 0 0 1px var(--line), 0 6px 18px -10px rgba(40, 30, 10, .25);
}
[data-theme="light"] .hero-badge span { width: 8px; height: 8px; border-radius: 50%; background: linear-gradient(135deg, #ffd27a, #e2742a); box-shadow: 0 0 0 4px rgba(232, 163, 58, .18); }
[data-theme="light"] .mark--hero { width: clamp(96px, 9vw, 132px); height: clamp(96px, 9vw, 132px); filter: drop-shadow(0 18px 30px rgba(226, 116, 42, .25)); }
[data-theme="light"] .hero-title { font-size: clamp(52px, 8vw, 120px); line-height: .95; margin-top: 6px; }
[data-theme="light"] .hero-slogan { font-weight: 600; letter-spacing: -0.01em; }
[data-theme="light"] .hero-lede { letter-spacing: -0.01em; }
[data-theme="light"] .hero-actions .btn:first-child::after { content: "→"; font-weight: 700; transition: transform .3s var(--ease); }
[data-theme="light"] .hero-actions .btn:first-child:hover::after { transform: translateX(4px); }

/* títulos de sección: rótulo numerado y letra grande y compacta */
[data-theme="light"] main { counter-reset: sec; }
[data-theme="light"] .h-xl { font-size: clamp(38px, 4.6vw, 68px); letter-spacing: -0.045em; line-height: 1; }
[data-theme="light"] section .h-xl::before {
  counter-increment: sec; content: counter(sec, decimal-leading-zero);
  display: flex; align-items: center; gap: 12px; margin-bottom: 18px;
  font: 700 13px/1 var(--text); letter-spacing: .14em; color: var(--gold-text);
}
[data-theme="light"] section .h-xl::after { content: none; }
[data-theme="light"] .game-title { color: var(--ink); }
[data-theme="light"] .work, [data-theme="light"] .services, [data-theme="light"] .tpv, [data-theme="light"] .game,
[data-theme="light"] .voices, [data-theme="light"] .process, [data-theme="light"] .quote { border-top: 1px solid var(--line); }

/* filtros: control segmentado */
[data-theme="light"] .filters { padding: 4px; gap: 2px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
[data-theme="light"] .filters button { background: transparent; }
[data-theme="light"] .filters button[aria-pressed="true"] { background: var(--ink); color: #fff; }

/* tarjetas: se elevan con suavidad */
[data-theme="light"] .project, [data-theme="light"] .svc li, [data-theme="light"] .voice { background: var(--surface); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
[data-theme="light"] .project:hover, [data-theme="light"] .svc li:hover, [data-theme="light"] .voice:hover {
  transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(40, 30, 10, .3);
}
[data-theme="light"] .project-main, [data-theme="light"] .device { border-radius: 16px; box-shadow: 0 0 0 1px var(--line); }
[data-theme="light"] .work { background: var(--bg); }
[data-theme="light"] .svc { counter-reset: svc; gap: 14px; }
[data-theme="light"] .svc li { position: relative; padding: 30px 28px; border-radius: 20px; }
[data-theme="light"] .svc li::after { counter-increment: svc; content: counter(svc, decimal-leading-zero); position: absolute; top: 28px; right: 26px; font: 600 12px/1 var(--text); letter-spacing: .1em; color: var(--muted); opacity: .7; }
[data-theme="light"] .voice { border-radius: 22px; }
[data-theme="light"] .voice blockquote p { letter-spacing: -0.01em; }
[data-theme="light"] .calc-result { background: var(--surface); }
[data-theme="light"] .contact { box-shadow: 0 0 0 1px var(--line); }
[data-theme="light"] .footer { background: var(--surface); }
[data-theme="light"] .chip input:checked + span, [data-theme="light"] .seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
/* Champi de traje y gafas en el modo moderno (tools/champi_traje.py): tres animaciones de 16 cuadros */
[data-theme="light"] .champi-sprite { background-image: url("../assets/img/champi/idle-traje.webp"); background-size: 1408px 88px; background-position: 0 0; animation: none; } /* en reposo, quieto */
[data-theme="light"] .champi.is-walk .champi-sprite { background-image: url("../assets/img/champi/walk-traje.webp"); background-size: 1408px 88px; animation: champi-steps16 1s steps(16) infinite; }
[data-theme="light"] .champi.is-walk .champi-sprite { transform: scaleX(calc(var(--dir) * -1)); } /* este diseño camina mirando a la izquierda */
[data-theme="light"] .champi.is-run .champi-sprite { animation-duration: .55s; }
[data-theme="light"] .champi.is-held .champi-sprite { background-image: url("../assets/img/champi/attack-traje.webp"); background-size: 1408px 88px; animation: champi-steps16 1s steps(16) infinite; }
[data-theme="light"] .champi.is-wave .champi-sprite { background-image: url("../assets/img/champi/attack-traje.webp"); background-size: 1408px 88px; animation: champi-steps16 1.1s steps(16) 1; }
@keyframes champi-steps16 { to { background-position-x: -1408px; } }
@media (max-width: 680px) {
  [data-theme="light"] .champi-sprite,
  [data-theme="light"] .champi.is-walk .champi-sprite,
  [data-theme="light"] .champi.is-held .champi-sprite,
  [data-theme="light"] .champi.is-wave .champi-sprite { background-size: 768px 48px; animation-name: champi-steps16-s; }
  @keyframes champi-steps16-s { to { background-position-x: -768px; } }
}

/* Champi señala el botón de modo */
.theme-btn.is-hint { color: var(--ink); animation: hint-ring 1.3s ease-out 4; }
@keyframes hint-ring { 0% { box-shadow: 0 0 0 0 rgba(232, 163, 58, .75); } 100% { box-shadow: 0 0 0 16px rgba(232, 163, 58, 0); } }
@media (prefers-reduced-motion: reduce) { .theme-btn.is-hint { animation: none; outline: 2px solid var(--accent); outline-offset: 3px; } }

/* reseñas en Google, bajo las opiniones */
.voices-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 20px; margin-top: 36px; text-align: center; }
.voices-cta p { margin: 0; color: var(--muted); }
.btn--google svg { flex: none; }
