/* =============================================================
   nahuel.info v2 — styles.css
   Negro, letras claras, semitono naranja y grafiti.
   1. Tokens · 2. Base · 3. Utilidades · 4. Componentes
   5. Intro · 6. Secciones · 7. Animaciones · 8. Responsive
   9. Movimiento reducido
   ============================================================= */

/* =============================================================
   1. Tokens
   ============================================================= */
:root {
  --bg: #050505;
  --bg-2: #0f0f0f;
  --bg-3: #171717;
  --ink: #f3efe6;            /* letras: crema muy claro */
  --mute: #c9c5bd;           /* texto secundario, sigue siendo legible */
  --dim: #8e8b85;
  --line: rgba(243, 239, 230, 0.14);
  --line-2: rgba(243, 239, 230, 0.28);
  --accent: #ec5a2a;         /* naranja del semitono */
  --cream: #efeae0;
  --dark-ink: #0b0b0b;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --pad: clamp(1.1rem, 3.4vw, 3rem);
  --maxw: 1480px;
  --radius: clamp(18px, 2.4vw, 30px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.7, 0, 0.84, 0);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
}

/* =============================================================
   2. Base
   ============================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; scroll-behavior: smooth; background: var(--bg); }
body {
  background: var(--bg); color: var(--ink);
  font-family: var(--font); font-size: 17px; line-height: 1.55; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
.is-loading body { overflow: hidden; }
img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; }
p { text-wrap: pretty; }
h1, h2, h3 { font-weight: inherit; text-wrap: balance; }
::selection { background: var(--accent); color: var(--dark-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 4px; }

/* Titulares: Archivo ancho y pesado, en minúscula, con el espaciado justo */
.x {
  font-family: var(--font); font-stretch: 125%; font-weight: 800;
  letter-spacing: -0.03em; line-height: 0.92; text-transform: lowercase;
}

/* =============================================================
   3. Utilidades
   ============================================================= */
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: fixed; top: -100px; left: 1rem; z-index: 9999; padding: .6rem 1rem; background: var(--ink); color: var(--bg); border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.mono { font-family: var(--mono); }
.label {
  font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.02em; color: var(--mute);
  display: inline-flex; align-items: center; gap: .6em;
}
.label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.grain {
  position: fixed; inset: -50%; z-index: 80; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
.progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 95; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* =============================================================
   4. Componentes
   ============================================================= */
.btn {
  display: inline-flex; align-items: center; gap: .55em; height: 52px; padding: 0 1.5rem;
  border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--font); font-size: 16px; font-weight: 600; letter-spacing: 0;
  color: var(--ink); background: transparent; will-change: transform;
  transition: background .35s var(--ease-out), color .35s var(--ease-out), border-color .35s var(--ease-out);
}
.btn span { transition: transform .35s var(--ease-out); }
.btn:hover { background: var(--ink); color: var(--dark-ink); border-color: var(--ink); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--dark-ink); }
.btn--accent:hover { background: var(--ink); border-color: var(--ink); }

.dot-live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7be3a8; margin-right: .55em; animation: pulse 2.4s var(--ease-out) infinite; }

/* Garabatos animados (se dibujan al aparecer) */
.scrib { position: absolute; pointer-events: none; overflow: visible; filter: url(#spray); }
.scrib path {
  fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 1; stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.1s var(--ease-io);
}
.scrib path + path { transition-delay: .5s; }
.is-revealed .scrib path, .is-revealed.scrib path { stroke-dashoffset: 0; }
.mark { position: relative; font-style: normal; display: inline-block; }

/* Pegatinas de grafiti (imágenes con transparencia) */
.sticker { display: block; width: 100%; height: auto; pointer-events: none; user-select: none; }

/* Cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; opacity: 0; transition: opacity .3s; mix-blend-mode: difference; }
.cursor.is-ready { opacity: 1; }
.cursor-dot, .cursor-ring { position: absolute; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: #fff; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1px solid #fff; transition: width .35s var(--ease-out), height .35s var(--ease-out), margin .35s var(--ease-out); }
.cursor.is-hover .cursor-ring { width: 74px; height: 74px; margin: -37px 0 0 -37px; }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 90;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1rem var(--pad); color: #fff; mix-blend-mode: difference; pointer-events: none;
}
.nav > * { pointer-events: auto; }
.nav-logo { display: inline-flex; align-items: center; gap: .6rem; font-weight: 700; font-size: 17px; letter-spacing: -0.01em; justify-self: start; }
.nav-logo svg { width: 22px; height: 22px; fill: currentColor; transition: transform .9s var(--ease-out); }
.nav-logo:hover svg { transform: rotate(180deg); }
.nav-clock { font-size: 12.5px; letter-spacing: .02em; opacity: .85; font-variant-numeric: tabular-nums; }
.nav-menu {
  justify-self: end; display: inline-flex; align-items: center; gap: .7rem; height: 42px; padding: 0 1.1rem;
  border: 1px solid currentColor; border-radius: 999px; font-size: 13px; letter-spacing: .02em;
}
.nav-menu i { position: relative; width: 16px; height: 8px; }
.nav-menu i::before, .nav-menu i::after { content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .45s var(--ease-out), top .45s var(--ease-out); }
.nav-menu i::before { top: 0; }
.nav-menu i::after { top: 6.5px; }
.nav-menu[aria-expanded="true"] i::before { top: 3.25px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] i::after { top: 3.25px; transform: rotate(-45deg); }

/* Menú a pantalla completa */
.menu {
  position: fixed; inset: 0; z-index: 85; background: var(--bg);
  display: grid; grid-template-rows: 1fr auto; padding: 6.5rem var(--pad) 2rem;
  clip-path: inset(0 0 100% 0); transition: clip-path .8s var(--ease-io);
}
.menu[hidden] { display: none; }
.menu.is-open { clip-path: inset(0 0 0 0); }
.menu-links { display: grid; align-content: center; }
.menu-links a {
  display: flex; align-items: baseline; gap: 1rem; padding: .25rem 0;
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; line-height: 1;
  font-size: clamp(2.4rem, 8vw, 7rem); color: var(--ink);
  transform: translateY(40px); opacity: 0;
  transition: transform .8s var(--ease-out), opacity .8s var(--ease-out), color .3s;
}
.menu-links a span { font-size: 13px; font-weight: 400; color: var(--accent); letter-spacing: 0; }
.menu.is-open .menu-links a { transform: none; opacity: 1; }
.menu.is-open .menu-links a:nth-child(2) { transition-delay: .06s; }
.menu.is-open .menu-links a:nth-child(3) { transition-delay: .12s; }
.menu.is-open .menu-links a:nth-child(4) { transition-delay: .18s; }
.menu.is-open .menu-links a:nth-child(5) { transition-delay: .24s; }
.menu-links a:hover { color: var(--accent); }
.menu-side { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: 13px; color: var(--mute); }
.menu-sticker { position: absolute; right: 4vw; top: 18vh; width: min(30vw, 340px); opacity: .9; pointer-events: none; }

/* =============================================================
   5. Intro: la estrella crece, entramos en ella y flash blanco
   ============================================================= */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--bg); overflow: hidden;
  display: grid; place-items: center;
  animation: loaderSafety 0s 7.5s forwards;
}
.loader-top {
  position: absolute; top: var(--pad); left: var(--pad); right: var(--pad);
  display: flex; justify-content: space-between; font-size: 12.5px; color: var(--mute);
}
.loader-glow {
  position: absolute; width: 50vmin; height: 50vmin; border-radius: 50%;
  background: radial-gradient(circle, rgba(243, 239, 230, .22), rgba(236, 90, 42, .08) 40%, transparent 68%);
  transform: scale(.5); opacity: .7;
  animation: glowBreath 2.4s ease-in-out infinite alternate;
}
.loader-spin { position: relative; animation: spin 6s linear infinite; }
.loader-star {
  width: 46px; height: 46px; fill: var(--ink);
  transform: scale(1); transform-origin: 50% 50%; will-change: transform;
  animation: starPulse 1.2s ease-in-out infinite alternate;
}
.loader-count {
  position: absolute; left: var(--pad); bottom: calc(var(--pad) - .1em);
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .8;
  font-size: clamp(4rem, 14vw, 12rem); font-variant-numeric: tabular-nums;
  transition: opacity .4s var(--ease-out), transform .6s var(--ease-out);
}
.loader-label {
  position: absolute; right: var(--pad); bottom: var(--pad); font-size: 12.5px; color: var(--mute);
  transition: opacity .4s var(--ease-out);
}
.blink { animation: blink 1s steps(2, jump-none) infinite; }
.loader-flash { position: absolute; inset: 0; background: #fff; opacity: 0; pointer-events: none; }

.loader.is-enter .loader-count { opacity: 0; transform: translateY(30px); }
.loader.is-enter .loader-label, .loader.is-enter .loader-top { opacity: 0; transition: opacity .3s; }
.loader.is-enter .loader-spin { animation-duration: 1.4s; }
.loader.is-enter .loader-star { animation: starEnter 1.15s cubic-bezier(.75, 0, .9, .35) forwards; }
.loader.is-enter .loader-glow { animation: none; transform: scale(7); opacity: 1; transition: transform 1.2s var(--ease-in), opacity 1.2s; }
.loader.is-flash .loader-flash { opacity: 1; transition: opacity .1s linear; }
.loader.is-flash .loader-spin, .loader.is-flash .loader-glow { visibility: hidden; }
.loader.is-out { opacity: 0; transition: opacity 1.05s var(--ease-out); pointer-events: none; }

/* =============================================================
   6. Secciones
   ============================================================= */

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh; overflow: hidden; isolation: isolate;
  display: grid; align-items: end; padding: 7rem var(--pad) 7.5rem;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-tilt { position: absolute; inset: 0; will-change: transform; }
.hero-bust {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 78% 40%;
  transform: scale(1); opacity: 1; filter: none;
  transition: transform 2s var(--ease-out), opacity 1.4s var(--ease-out), filter 1.6s var(--ease-out);
}
.hero-shade {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5,5,5,.92) 0%, rgba(5,5,5,.7) 30%, rgba(5,5,5,0) 62%),
    linear-gradient(0deg, rgba(5,5,5,.95) 0%, rgba(5,5,5,0) 38%);
}
.hero-stickers { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.stk { position: absolute; }
.stk .sticker { transition: clip-path 1.1s var(--ease-out), transform 1.2s var(--ease-out), opacity .6s; clip-path: circle(80% at 50% 50%); }
.stk--star { width: clamp(70px, 8vw, 140px); left: 34%; top: 13%; }
.stk--star .sticker { animation: floatRot 7s ease-in-out infinite alternate; }
.stk--scribble { width: clamp(160px, 22vw, 360px); right: 4%; bottom: 14%; opacity: .55; }
.stk--arrow { width: clamp(120px, 14vw, 230px); left: 46%; bottom: 13%; transform: rotate(150deg); opacity: .8; }

.hero-content { position: relative; z-index: 1; display: grid; gap: 1.5rem; width: 100%; }
.hero-title {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.035em; line-height: .9;
  font-size: clamp(2.9rem, 8.6vw, 10rem); max-width: 100%;
}
.hero-title.is-fit .ln > span, .is-fit { white-space: nowrap; }
.hero-title .ln { display: block; overflow: hidden; padding: 0 .04em .06em 0; margin-bottom: -.06em; }
.hero-title .ln > span { display: inline-block; transition: transform 1.2s var(--ease-out); }
.hero-title .ln:nth-child(2) > span { transition-delay: .1s; }
.hero-title .mark { color: var(--accent); }
.scrib--under { left: -2%; width: 104%; bottom: -.12em; height: .32em; }
.hero-sub { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; color: var(--mute); max-width: 38ch; transition: opacity 1s var(--ease-out) .35s, transform 1s var(--ease-out) .35s; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .7rem; transition: opacity 1s var(--ease-out) .5s, transform 1s var(--ease-out) .5s; }
.hero-foot {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 1.6rem; z-index: 1;
  display: flex; align-items: center; gap: 1rem; font-size: 12.5px; color: var(--mute);
}
.hero-foot span:last-child { margin-left: auto; }
.scroll-line { position: relative; width: 70px; height: 1px; background: var(--line-2); overflow: hidden; }
.scroll-line i { position: absolute; inset: 0; background: var(--ink); animation: scrollLine 2.2s var(--ease-io) infinite; }

/* Estado antes de entrar (solo con JS): se revela tras el flash */
.js:not(.is-entered) .hero-bust { transform: scale(1.25); opacity: 0; filter: blur(10px); }
.js:not(.is-entered) .hero-title .ln > span { transform: translateY(112%); }
.js:not(.is-entered) .hero-sub, .js:not(.is-entered) .hero-cta { opacity: 0; transform: translateY(24px); }
.js:not(.is-entered) .stk .sticker { clip-path: circle(0% at 50% 50%); transform: scale(1.4); }
.is-entered .stk--scribble .sticker { transition-delay: .35s; }
.is-entered .stk--star .sticker { transition-delay: .55s; }
.is-entered .stk--arrow .sticker { transition-delay: .75s; }
.is-entered .hero .scrib path { stroke-dashoffset: 0; transition-delay: .9s; }

/* ---------- Encabezados de sección ---------- */
.h2 {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.035em; line-height: .92;
  font-size: clamp(2.6rem, 7.6vw, 8rem);
}
.lead { font-size: clamp(1.15rem, 1.7vw, 1.45rem); line-height: 1.5; color: var(--mute); max-width: 44ch; }
.sec-head { display: grid; gap: 1.4rem; padding: clamp(6rem, 14vw, 11rem) var(--pad) clamp(2.5rem, 6vw, 4rem); max-width: var(--maxw); margin-inline: auto; }
.sec-note { font-size: 1.1rem; color: var(--mute); max-width: 40ch; }

/* ---------- El estudio ---------- */
.team { position: relative; padding: clamp(7rem, 16vw, 13rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; }
.team-head { position: relative; z-index: 2; display: grid; gap: 2rem; padding: 0 var(--pad); max-width: var(--maxw); margin-inline: auto; }
.statement {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.035em; line-height: .98;
  font-size: clamp(2.3rem, 6.4vw, 6.6rem); display: grid; gap: .1em;
}
.st-line { display: block; }
.statement .strike { position: relative; display: inline-block; color: var(--dim); }
.scrib--strike { left: -3%; width: 106%; top: 38%; height: .34em; }
.st-line--yes { color: var(--ink); }
.st-line--yes::after { content: " ✦"; color: var(--accent); font-size: .6em; vertical-align: .3em; }
.team-hand {
  position: absolute; right: -2vw; top: 6%; width: min(38vw, 520px); z-index: 1; pointer-events: none;
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent); mask-image: linear-gradient(to bottom, #000 70%, transparent);
}
.team-hand img { width: 100%; }
.roles { position: relative; z-index: 2; margin-top: clamp(4rem, 10vw, 8rem); border-top: 1px solid var(--line); }
.role {
  display: grid; grid-template-columns: 3rem 1fr; align-items: center; gap: .5rem 1rem;
  padding: clamp(1rem, 2.4vw, 2rem) var(--pad); border-bottom: 1px solid var(--line); overflow: hidden;
}
.role-n { font-size: 12.5px; color: var(--accent); align-self: start; padding-top: 1.2em; }
.role-w {
  position: relative; display: inline-block; width: max-content;
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .86;
  font-size: clamp(3.2rem, 11.5vw, 12rem); will-change: transform;
}
.role-d { grid-column: 2; font-size: 1.1rem; color: var(--mute); max-width: 34ch; }
.scrib--circle { left: -7%; top: -16%; width: 114%; height: 132%; }
.scrib--under2 { left: 0; width: 100%; bottom: -.08em; height: .22em; }
.scrib--arrow { right: -.9em; top: 8%; width: .9em; height: .4em; }

/* ---------- Servicios: tarjetas apiladas ---------- */
.stack { position: relative; padding: 0 var(--pad) clamp(4rem, 10vw, 8rem); max-width: var(--maxw); margin-inline: auto; }
.card {
  --p: 0;
  position: sticky; top: calc(6.5rem + var(--i) * 16px);
  min-height: min(78vh, 760px); margin-bottom: 6vh; padding: clamp(1.5rem, 4vw, 3.5rem);
  border-radius: var(--radius); overflow: hidden; isolation: isolate;
  display: grid; grid-template-rows: auto 1fr auto; gap: 2rem;
  transform: scale(calc(1 - var(--p) * .06)); transform-origin: 50% 0;
  box-shadow: 0 -30px 80px rgba(0, 0, 0, .55);
}
.card::after { content: ""; position: absolute; inset: 0; background: #000; opacity: calc(var(--p) * .55); pointer-events: none; z-index: 3; }
.card--dark { background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); }
.card--accent { background: var(--accent); color: var(--dark-ink); }
.card--cream { background: var(--cream); color: var(--dark-ink); }
.card-top { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; font-size: 12.5px; opacity: .85; }
.card-title {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .88;
  font-size: clamp(2.6rem, 8.6vw, 8.8rem); align-self: center; position: relative; z-index: 1;
}
.card-body { display: grid; gap: 1.5rem; position: relative; z-index: 1; }
.card-desc { font-size: clamp(1.1rem, 1.6vw, 1.4rem); line-height: 1.45; max-width: 36ch; font-weight: 500; }
.card-list { display: grid; gap: .45rem; font-size: 1rem; }
.card-list li { display: flex; gap: .6rem; }
.card-list li::before { content: "✦"; color: var(--accent); font-size: .8em; padding-top: .2em; }
.card--accent .card-list li::before { color: var(--dark-ink); }
.card-sticker { position: absolute; right: 4%; top: 10%; width: clamp(110px, 20vw, 300px); z-index: 0; opacity: .9; pointer-events: none; transform: rotate(-8deg); }

/* ---------- Iris ---------- */
.iris { position: relative; height: 260vh; }
.iris-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: grid; place-items: center; }
.iris-word {
  display: grid; justify-items: center; text-align: center;
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .86;
  font-size: clamp(3.4rem, 14vw, 13rem); transform: scale(var(--iris-s, 1)); will-change: transform;
}
.iris-amp { color: var(--accent); font-size: .7em; line-height: .9; }
.iris-canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.iris-f, .iris-cap { position: absolute; z-index: 2; font-size: 12.5px; color: var(--mute); }
.iris-f { top: 5.5rem; left: var(--pad); font-variant-numeric: tabular-nums; }
.iris-f b { color: var(--accent); font-weight: 500; }
.iris-cap { bottom: 1.6rem; left: var(--pad); right: var(--pad); text-align: center; }

/* ---------- Delivery ---------- */
.delivery { position: relative; }
.dl-rows { position: relative; padding: clamp(5rem, 12vw, 10rem) 0; overflow: hidden; }
.dl-row {
  white-space: nowrap; width: max-content; will-change: transform;
  font-stretch: 125%; font-weight: 900; letter-spacing: -0.03em; line-height: .84; text-transform: uppercase;
  font-size: clamp(4rem, 16vw, 16rem); color: var(--cream);
}
.dl-row--outline { color: transparent; -webkit-text-stroke: clamp(1px, .18vw, 2.5px) var(--cream); }
.dl-frag { position: absolute; left: 50%; width: min(42vw, 560px); margin-left: calc(min(42vw, 560px) / -2); z-index: 2; pointer-events: none; }
.dl-frag img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.dl-frag--top { top: 4%; }
.dl-frag--bot { top: 44%; }

.guide { display: grid; gap: 3rem; padding: clamp(4rem, 10vw, 8rem) var(--pad) clamp(5rem, 12vw, 9rem); max-width: var(--maxw); margin-inline: auto; }
.guide-head { display: grid; gap: 1.4rem; align-content: start; justify-items: start; }
.guide-head .h2 { font-size: clamp(2.4rem, 5.6vw, 5.6rem); }
.guide-meter { display: grid; gap: .6rem; width: min(100%, 24rem); font-size: 12.5px; color: var(--mute); font-variant-numeric: tabular-nums; }
.guide-meter b { color: var(--ink); font-weight: 500; font-size: 1.6em; }
.guide-bar { display: block; height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; }
.guide-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .6s var(--ease-out); }
.guide-result { font-size: 1.15rem; color: var(--ink); max-width: 34ch; min-height: 3em; }
.guide-list { border-top: 1px solid var(--line); }
.g-item { display: grid; grid-template-columns: 3.4rem 1fr; gap: 1.1rem; padding: 1.3rem 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.g-item input { position: absolute; opacity: 0; pointer-events: none; }
.g-box {
  display: grid; place-items: center; height: 2.6rem; border: 1px solid var(--line-2); border-radius: 10px;
  font-size: 13px; color: var(--mute); transition: background .3s, color .3s, border-color .3s;
}
.g-text { font-size: 1.05rem; line-height: 1.5; color: var(--mute); transition: color .3s; }
.g-text strong { display: block; color: var(--ink); font-weight: 700; font-size: 1.2rem; line-height: 1.25; margin-bottom: .25rem; letter-spacing: -0.005em; }
.g-item:hover .g-box { border-color: var(--ink); color: var(--ink); }
.g-item input:checked + .g-box { background: var(--accent); color: var(--dark-ink); border-color: var(--accent); }
.g-item input:checked + .g-box::before { content: "✓ "; }
.g-item input:checked ~ .g-text { color: var(--ink); }
.g-item input:focus-visible + .g-box { outline: 2px solid var(--accent); outline-offset: 3px; }

/* ---------- Método: teclas ---------- */
.method { padding: clamp(6rem, 14vw, 11rem) var(--pad) clamp(4rem, 8vw, 6rem); border-top: 1px solid var(--line); display: grid; gap: clamp(2.5rem, 5vw, 4rem); justify-items: center; text-align: center; }
.keys { display: flex; gap: clamp(.35rem, 1vw, .9rem); justify-content: center; }
.key {
  --h: clamp(3rem, 12vw, 8rem);
  position: relative; width: var(--h); height: var(--h); border-radius: 18%;
  display: grid; place-items: center; cursor: pointer; user-select: none;
  background: linear-gradient(180deg, #232323, #0c0c0c);
  border: 1px solid #2c2c2c;
  box-shadow: 0 calc(var(--h) * .07) 0 #000, 0 calc(var(--h) * .14) calc(var(--h) * .22) rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .14);
  transition: transform .11s ease-out, box-shadow .11s ease-out;
}
.key::before {
  content: ""; position: absolute; inset: 9% 9% 14%; border-radius: 14%;
  background: linear-gradient(180deg, #262626, #141414);
  box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .6), inset 0 2px 2px rgba(255, 255, 255, .06);
}
.key > span {
  position: relative; margin-top: -8%;
  font-family: var(--mono); font-weight: 500; text-transform: uppercase; font-size: calc(var(--h) * .34); color: var(--ink);
  transition: color .2s, text-shadow .2s;
}
.key.is-down { transform: translateY(calc(var(--h) * .06)); box-shadow: 0 calc(var(--h) * .01) 0 #000, 0 calc(var(--h) * .04) calc(var(--h) * .08) rgba(0, 0, 0, .7), inset 0 1px 0 rgba(255, 255, 255, .08); }
.key.is-lit > span { color: var(--accent); text-shadow: 0 0 18px rgba(236, 90, 42, .6); }
.method-sub { font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-size: clamp(1.6rem, 3.6vw, 3.2rem); }
.steps { display: grid; width: 100%; max-width: var(--maxw); text-align: left; border-top: 1px solid var(--line); }
.step { display: grid; gap: .7rem; padding: 2rem 0; border-bottom: 1px solid var(--line); align-content: start; }
.step-n { font-size: 12.5px; color: var(--accent); }
.step-t { font-stretch: 125%; font-weight: 800; letter-spacing: -0.03em; line-height: .95; font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.step p { font-size: 1.05rem; color: var(--mute); max-width: 34ch; }

/* ---------- FAQ ---------- */
.faq { padding: clamp(6rem, 14vw, 11rem) 0 0; border-top: 1px solid var(--line); }
.faq-head { display: grid; gap: 1.4rem; padding: 0 var(--pad) 3rem; max-width: var(--maxw); margin-inline: auto; }
.faq-list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary {
  display: grid; grid-template-columns: 3rem 1fr 1.5rem; align-items: center; gap: 1rem;
  padding: 1.4rem var(--pad); cursor: pointer; list-style: none; transition: background .3s;
}
.qa summary::-webkit-details-marker { display: none; }
.qa-n { font-size: 12.5px; color: var(--dim); }
.qa-q { font-size: clamp(1.15rem, 2vw, 1.6rem); font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; color: var(--ink); }
.qa-plus { position: relative; width: 16px; height: 16px; justify-self: end; transition: transform .45s var(--ease-out); }
.qa-plus::before, .qa-plus::after { content: ""; position: absolute; background: var(--ink); }
.qa-plus::before { left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; }
.qa-plus::after { top: 0; bottom: 0; left: 50%; width: 1.5px; margin-left: -.75px; }
.qa summary:hover { background: var(--bg-2); }
.qa[open] .qa-plus { transform: rotate(45deg); }
.qa[open] .qa-plus::before, .qa[open] .qa-plus::after { background: var(--accent); }
.qa-a { padding: 0 var(--pad) 1.8rem calc(var(--pad) + 4rem); }
.qa-a p { font-size: 1.1rem; line-height: 1.55; color: var(--mute); max-width: 56ch; }
.qa[open] .qa-a { animation: fadeUp .5s var(--ease-out) both; }

/* ---------- Contacto ---------- */
.contact { position: relative; padding: clamp(7rem, 16vw, 12rem) var(--pad) clamp(3rem, 8vw, 5rem); display: grid; gap: clamp(2.5rem, 6vw, 4rem); border-top: 1px solid var(--line); overflow: hidden; }
.contact-sticker { position: absolute; right: 5vw; top: 8vh; width: clamp(110px, 16vw, 240px); opacity: .9; pointer-events: none; }
.contact-status { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; font-size: 12.5px; color: var(--mute); }
.contact-title { font-stretch: 125%; font-weight: 800; letter-spacing: -0.04em; line-height: .9; font-size: clamp(3.2rem, 11vw, 12rem); }
.contact-title .scrib--circle { left: -5%; top: -12%; width: 110%; height: 124%; }
.form { display: grid; gap: 1.5rem; max-width: 64rem; }
.field { display: grid; gap: .5rem; border: 0; }
.field label, .field legend { font-size: 14px; font-weight: 600; color: var(--mute); }
.field input[type="text"], .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line-2); border-radius: 0;
  padding: .7rem 0; font-size: 1.3rem; color: var(--ink); transition: border-color .3s;
}
.field textarea { resize: vertical; min-height: 6rem; }
.field input::placeholder, .field textarea::placeholder { color: var(--dim); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field--chips { display: flex; flex-wrap: wrap; gap: .55rem; }
.field--chips legend { width: 100%; margin-bottom: .7rem; }
.chip { position: relative; cursor: pointer; }
.chip input { position: absolute; opacity: 0; pointer-events: none; }
.chip span {
  display: inline-flex; align-items: center; height: 42px; padding: 0 1.1rem; border: 1px solid var(--line-2); border-radius: 999px;
  font-size: 15px; font-weight: 500; color: var(--mute); transition: background .3s, color .3s, border-color .3s;
}
.chip:hover span { border-color: var(--ink); color: var(--ink); }
.chip input:checked + span { background: var(--accent); color: var(--dark-ink); border-color: var(--accent); }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 3px; }
.form-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; padding-top: .5rem; }
.form-note { font-size: 14px; color: var(--dim); max-width: 46ch; }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }
.field.is-error input, .field.is-error textarea { border-color: var(--accent); }
.contact-big { display: grid; gap: 1.25rem; padding-top: clamp(2rem, 6vw, 4rem); border-top: 1px solid var(--line); }
.contact-mail {
  font-stretch: 125%; font-weight: 800; letter-spacing: -0.035em; line-height: .95;
  font-size: clamp(1.8rem, 7vw, 7.5rem); width: fit-content; overflow-wrap: anywhere;
  background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 3px no-repeat;
  transition: background-size .6s var(--ease-out), color .3s; padding-bottom: .06em;
}
.contact-mail:hover { background-size: 100% 3px; color: var(--accent); }
.contact-mail.is-fit { white-space: nowrap; overflow-wrap: normal; }
.contact-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; font-size: 13px; }
.copy { border: 1px solid var(--line-2); border-radius: 999px; height: 40px; padding: 0 1rem; font-size: 13px; color: var(--mute); transition: color .3s, border-color .3s; }
.copy:hover, .copy.is-done { color: var(--ink); border-color: var(--ink); }
.social { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.social a { color: var(--mute); transition: color .3s; }
.social a:hover { color: var(--accent); }

/* ---------- Footer ---------- */
.footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; padding: 2rem var(--pad) 2.4rem; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--mute); }
.footer a:hover { color: var(--accent); }

/* =============================================================
   7. Animaciones
   ============================================================= */
.rv [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); }
.rv [data-reveal].is-revealed { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }
.rv .statement .strike { transition: color .8s var(--ease-out) .9s; }

@keyframes loaderSafety { to { opacity: 0; visibility: hidden; pointer-events: none; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes starPulse { from { transform: scale(.9); } to { transform: scale(1.08); } }
@keyframes starEnter {
  0% { transform: scale(1) rotate(0deg); }
  20% { transform: scale(.7) rotate(-20deg); }
  100% { transform: scale(240) rotate(160deg); }
}
@keyframes glowBreath { from { transform: scale(.45); opacity: .5; } to { transform: scale(.6); opacity: .9; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(123, 227, 168, .5); } 70%, 100% { box-shadow: 0 0 0 10px rgba(123, 227, 168, 0); } }
@keyframes scrollLine { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes floatRot { from { transform: rotate(-10deg) translateY(0); } to { transform: rotate(14deg) translateY(-12px); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =============================================================
   8. Responsive
   ============================================================= */
@media (min-width: 720px) {
  .form { grid-template-columns: 1fr 1fr; column-gap: 2rem; }
  .field--chips, .field--full, .form-foot { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); column-gap: 2rem; }
}
@media (min-width: 960px) {
  .card-body { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; gap: 3rem; }
  .role { grid-template-columns: 4rem minmax(0, 1fr); }
  .role-d { justify-self: end; text-align: right; margin-top: -.5rem; }
  .guide { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(3rem, 6vw, 6rem); }
  .guide-head { position: sticky; top: 6.5rem; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .step { padding-right: 1.5rem; }
}
@media (max-width: 719px) {
  body { font-size: 16px; }
  .nav-clock { display: none; }
  .nav { grid-template-columns: 1fr auto; }
  .hero { padding-bottom: 6.5rem; }
  .hero-bust { object-position: 82% 20%; }
  .hero-shade { background: linear-gradient(0deg, rgba(5,5,5,1) 12%, rgba(5,5,5,.75) 48%, rgba(5,5,5,.1) 75%); }
  .stk--star { display: none; }
  .stk--arrow { display: none; }
  .stk--scribble { right: -8%; bottom: auto; top: 24%; width: 52vw; opacity: .45; }
  .hero-foot span:last-child { display: none; }
  .team-hand { position: relative; right: auto; top: auto; width: 70%; margin: 2rem 0 -4rem auto; }
  .card { top: calc(5rem + var(--i) * 10px); min-height: 72vh; }
  .card-sticker { width: 34%; top: 7%; right: 3%; }
  .dl-frag { width: 64vw; margin-left: -32vw; }
  .qa summary { grid-template-columns: 2.2rem 1fr 1rem; }
  .qa-a { padding-left: calc(var(--pad) + 3.2rem); }
  .menu-sticker { width: 40vw; top: auto; bottom: 18vh; opacity: .6; }
}

/* =============================================================
   9. Movimiento reducido: solo se quitan los efectos intrusivos
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .loader-spin, .loader-star, .loader-glow, .stk--star .sticker, .scroll-line i { animation: none; }
}
