@charset "UTF-8";
/* styles.css — Álvaro Moreno · Lanzador digital
   Mobile-first: los estilos base son para móvil; los @media (min-width) amplían. */

/* ── Tokens ─────────────────────────────────────── */
:root {
  --paper:   #efede7;
  --paper-2: #e6e3db;
  --ink:     #0e0e0e;
  --mute:    #5f5c55;
  --accent:  #ff4a1c;
  --line:    #0e0e0e;
  --nav-h:   60px;
  --pad-x:   1.25rem;
  --pad-y:   2.25rem;
  --head-top: 4.5rem;
  --sans:    "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono:    "JetBrains Mono", ui-monospace, Menlo, monospace;
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Reset ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.mono { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.02em; }
.accent { color: var(--accent); }

/* ── Barra de progreso ──────────────────────────── */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

/* ── Cabecera fija ──────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: stretch; justify-content: space-between;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-logo {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0 var(--pad-x);
  font-weight: 800; letter-spacing: -0.01em; white-space: nowrap;
}
.logo-mark { color: var(--accent); width: 20px; height: 20px; flex-shrink: 0; transition: transform .35s var(--ease); }
.nav-logo:hover .logo-mark { transform: translate(2px, -2px); }
.logo-role { display: none; font-family: var(--mono); font-weight: 400; font-size: 0.72rem; color: var(--mute); }
.nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0 var(--pad-x);
  background: var(--ink); color: var(--paper);
  font-weight: 700; font-size: 0.95rem;
  transition: background .15s, color .15s;
}
.nav-cta:hover { background: var(--accent); color: var(--ink); }
.nav-cta-long { display: none; }

/* ── Retícula (las líneas son el diseño) ────────── */
.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.grid > .cell { background: var(--paper); padding: var(--pad-y) var(--pad-x); min-width: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 0.55rem;
  font-family: var(--mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--mute);
  margin-bottom: 1.5rem;
}
.dot { width: 8px; height: 8px; background: var(--accent); display: inline-block; flex-shrink: 0; animation: blink 1.6s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

.h2 {
  font-size: clamp(2.3rem, 9.5vw, 4.6rem);
  font-weight: 800;
  font-variation-settings: "wdth" 72;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
}
.h2-xl {
  font-size: clamp(2.7rem, 12vw, 7.5rem);
  font-weight: 900;
  font-variation-settings: "wdth" 66;
  line-height: 0.9;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1.6rem;
}
.lead { font-size: 1.1rem; line-height: 1.55; max-width: 46ch; }

/* Cabecera de sección: título + entradilla (en móvil se leen seguidos) */
.cell-head { padding-top: var(--head-top) !important; padding-bottom: 1.25rem !important; }
.cell-lead { padding-top: 0 !important; margin-top: -1px; }

/* ── Botones ────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 1.1rem 1.6rem;
  border: 1px solid var(--ink);
  font-weight: 700; font-size: 1rem; text-align: center;
  cursor: pointer;
  transition: background .15s, color .15s, transform .15s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn span { transition: transform .2s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--accent); color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.btn-accent:hover { background: var(--paper); border-color: var(--paper); }
.link-quiet {
  display: inline-flex; align-items: center; padding: 0.9rem 0;
  font-weight: 600; border-bottom: 1px solid currentColor; align-self: center;
}
.link-quiet:hover { color: var(--accent); }

/* ── Hero ───────────────────────────────────────── */
.hero-copy { padding-top: 3.5rem !important; padding-bottom: 3rem !important; }
.hero-title {
  font-size: clamp(2.9rem, 13.5vw, 8.6rem);
  font-weight: 900;
  font-variation-settings: "wdth" 64;
  line-height: 0.88;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}
.hero-title .line { display: block; }
.hero-title .accent { color: var(--accent); }
/* Solo transform: el titular nunca queda invisible aunque la animación no corra */
.js .hero-title .line { animation: lineUp .9s var(--ease) both; }
.js .hero-title .line:nth-child(2) { animation-delay: .08s; }
.js .hero-title .line:nth-child(3) { animation-delay: .16s; }
@keyframes lineUp { from { transform: translateY(35%); } to { transform: none; } }

.hero-sub { font-size: 1.1rem; max-width: 50ch; margin-bottom: 2rem; }
.hero-sub strong { font-weight: 700; }
.hero-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; margin-bottom: 1.5rem; }
.hero-note { color: var(--mute); }

/* Consola */
.hero-console-cell { display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; background: var(--paper-2) !important; }
.console { background: var(--ink); color: var(--paper); }
.console-head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #333;
  color: #a9a59c;
}
.console-live { display: inline-flex; align-items: center; gap: 0.45rem; text-transform: uppercase; color: var(--accent); }
.console-live i { width: 7px; height: 7px; background: var(--accent); display: inline-block; animation: blink 1.2s steps(2) infinite; }
.console-rows { padding: 0.3rem 0; }
.console-rows li {
  display: grid; grid-template-columns: 2rem 1fr auto; gap: 0.6rem; align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px dashed #2a2a2a;
  font-size: 0.74rem;
  transition: opacity .35s, background .35s;
}
.console-rows .d { color: #7d7a72; }
.console-rows .s { color: var(--accent); text-align: right; white-space: nowrap; font-weight: 700; }
.js .console-rows li { opacity: 0.22; }
.js .console-rows li.is-done { opacity: 1; }
.js .console-rows li.is-active { opacity: 1; background: #1d1d1d; }
.js .console-rows li.is-active .t::after { content: "_"; color: var(--accent); animation: blink 0.8s steps(2) infinite; }
.console-foot { padding: 1rem; display: grid; gap: 0.9rem; }
.console-bar { height: 6px; background: #2a2a2a; }
.console-bar span { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(1); }
.js .console-bar span { transform: scaleX(0); }
.console-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; color: #a9a59c; }
.console-total strong {
  font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 900; font-variation-settings: "wdth" 70;
  color: var(--paper); white-space: nowrap; transition: color .3s;
}
.console.is-complete .console-total strong { color: var(--accent); }
.console-replay {
  justify-self: start;
  background: none; border: 1px solid #333; color: #a9a59c;
  padding: 0.4rem 0.7rem; cursor: pointer;
}
.console-replay:hover { background: var(--paper); color: var(--ink); }
.console-caption { color: var(--mute); }

/* ── Marquee ────────────────────────────────────── */
.marquee {
  background: var(--ink); color: var(--paper);
  border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
  padding: 1rem 0;
}
.marquee-track { display: inline-flex; align-items: center; gap: 1.75rem; padding-left: 1.75rem; animation: marquee 48s linear infinite; }
.marquee span { font-size: clamp(1.2rem, 2.4vw, 1.9rem); font-weight: 800; font-variation-settings: "wdth" 70; text-transform: uppercase; }
.marquee i { color: var(--accent); font-style: normal; font-size: 0.8rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Tarjetas ───────────────────────────────────── */
.card, .risk-card { display: flex; flex-direction: column; gap: 0.75rem; }
.card h3, .risk-card h3, .phase h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 800; font-variation-settings: "wdth" 80;
  line-height: 1.05; text-transform: uppercase; letter-spacing: -0.01em;
}
.card p, .phase p { color: var(--mute); max-width: 40ch; }
.num { color: var(--accent); font-weight: 700; padding-bottom: 1rem; }

/* ── Solución ───────────────────────────────────── */
.split-label {
  display: inline-block; padding: 0.3rem 0.6rem; margin-bottom: 1.5rem;
  border: 1px solid var(--ink); text-transform: uppercase;
}
.split-me .split-label { background: var(--ink); color: var(--paper); }
.split-you { background: var(--paper-2) !important; }
.tick-list li { padding: 0.95rem 0 0.95rem 1.8rem; border-top: 1px solid var(--line); position: relative; font-size: 1.05rem; }
.tick-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.note { font-size: 0.8rem; color: var(--mute); line-height: 1.6; }

/* ── Cómo funciona (sección invertida) ──────────── */
.section-ink .grid { background: #3a3a3a; border-color: #3a3a3a; }
.section-ink .grid > .cell { background: var(--ink); color: var(--paper); }
.section-ink .kicker { color: #8f8b82; }
.phase { display: flex; flex-direction: column; gap: 0.75rem; }
.phase-n {
  font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; font-variation-settings: "wdth" 62;
  line-height: 0.85; color: transparent; -webkit-text-stroke: 1px #6d6a63;
  margin-bottom: 0.75rem;
  transition: color .2s, -webkit-text-stroke-color .2s;
}
.section-ink .phase p { color: #a9a59c; }
.phase:hover .phase-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); }

/* ── Con quién he trabajado ─────────────────────── */
/* Móvil: filas compactas (foto pequeña + datos). Tablet+: tarjetas con foto grande. */
.creator, .school {
  position: relative;
  display: grid; grid-template-columns: 84px 1fr auto; gap: 1.1rem; align-items: center;
  transition: background .15s, color .15s;
}
.creator-photo { margin: 0; overflow: hidden; background: var(--paper-2); aspect-ratio: 1; }
.creator-photo img, .school img { display: block; width: 100%; height: 100%; object-fit: cover; }
.creator h3, .school h3 {
  font-size: clamp(1.15rem, 1.8vw, 1.5rem); font-weight: 800; font-variation-settings: "wdth" 80;
  line-height: 1.1; letter-spacing: -0.01em; overflow-wrap: anywhere;
}
.creator-info p { display: flex; flex-wrap: wrap; gap: 0.2rem 0.8rem; color: var(--mute); margin-top: 0.35rem; text-transform: uppercase; }
.creator-info p span:last-child { color: var(--ink); font-weight: 700; }
.school p { color: var(--mute); margin-top: 0.35rem; text-transform: uppercase; }
.school img { width: 84px; height: 84px; border: 1px solid var(--line); }
.creator-arrow { font-family: var(--mono); color: var(--accent); font-size: 1.1rem; transition: transform .2s var(--ease); }
.creator:hover, .school:hover { background: var(--ink) !important; color: var(--paper); }
.creator:hover p, .school:hover p, .creator:hover .creator-info p span:last-child { color: #b7b3aa; }
.creator:hover .creator-arrow, .school:hover .creator-arrow,
.js .cell.reveal.is-visible:hover > .creator-arrow { transform: translate(3px, -3px); }

@media (hover: hover) {
  .creator-photo img { filter: grayscale(1) contrast(1.05); transition: filter .4s var(--ease), transform .6s var(--ease); }
  .creator:hover .creator-photo img { filter: none; transform: scale(1.04); }
}

/* ── Quién soy ───────────────────────────────────── */
.about-photo { margin: 0; padding-top: var(--head-top) !important; background: var(--paper-2) !important; display: flex; flex-direction: column; gap: 0.9rem; }
.about-photo img { display: block; width: 100%; height: auto; max-width: 440px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; border: 1px solid var(--line); }
.about-photo figcaption { color: var(--mute); }
.about-text .h2 { margin-bottom: 1.75rem; }
.about-body { display: grid; gap: 1rem; font-size: 1.08rem; max-width: 56ch; margin-bottom: 2.25rem; }
.about-body p:first-child { font-size: 1.25rem; font-weight: 600; line-height: 1.45; }
.about-facts { border-top: 1px solid var(--line); max-width: 56ch; }
.about-facts div { display: grid; grid-template-columns: 1fr; gap: 0.2rem; padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
.about-facts dt { color: var(--accent); text-transform: uppercase; font-weight: 700; }
.about-facts dd { color: var(--ink); font-size: 0.8rem; }

@media (hover: hover) {
  .about-photo img { filter: grayscale(1) contrast(1.05); transition: filter .5s var(--ease); }
  .about-photo:hover img { filter: none; }
}

/* ── Sin riesgo (bloque destacado) ──────────────── */
.section-accent .grid > .cell { background: var(--accent); }
.section-accent .kicker { color: var(--ink); }
.section-accent .dot { background: var(--ink); }
.risk-head { padding-top: var(--head-top) !important; padding-bottom: 3rem !important; }
.risk-head .h2-xl { font-size: clamp(3rem, 14vw, 10rem); line-height: 0.86; }
.risk-sub {
  font-size: clamp(1.3rem, 3vw, 2.2rem); font-weight: 700; font-variation-settings: "wdth" 85;
  line-height: 1.2; max-width: 30ch;
}
.risk-card .num { color: var(--ink); }
.risk-card p { max-width: 40ch; }

/* ── Calculadora ─────────────────────────────────── */
.calc-inputs { display: grid; gap: 2.25rem; }
.calc-row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 0.9rem; }
.calc-row label { text-transform: uppercase; letter-spacing: 0.06em; color: var(--mute); }
.calc-number-wrap { display: inline-flex; align-items: baseline; gap: 0.25rem; }
.calc-number {
  width: 7.5ch; min-width: 0; text-align: right;
  background: transparent; border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
  padding: 0.1rem 0;
  font-family: var(--sans); font-size: clamp(1.8rem, 6vw, 2.6rem); font-weight: 900; font-variation-settings: "wdth" 70;
  letter-spacing: -0.02em; font-variant-numeric: tabular-nums; color: var(--ink);
}
#calcFollowers { width: 9ch; }
.calc-number:focus { outline: none; border-bottom-color: var(--accent); }
.calc-unit { font-size: clamp(1.3rem, 4vw, 1.8rem); font-weight: 800; color: var(--mute); }
.calc-hint { display: flex; justify-content: space-between; color: var(--mute); margin-top: 0.5rem; font-size: 0.68rem; }

/* Slider: pista fina negra y tirador cuadrado naranja */
.calc-range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; margin: 0; }
.calc-range:focus { outline: none; }
.calc-range::-webkit-slider-runnable-track {
  height: 4px;
  background: linear-gradient(to right, var(--accent) 0 var(--fill, 50%), var(--ink) var(--fill, 50%) 100%);
}
.calc-range::-moz-range-track { height: 4px; background: var(--ink); }
.calc-range::-moz-range-progress { height: 4px; background: var(--accent); }
.calc-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; margin-top: -9px;
  background: var(--accent); border: 2px solid var(--ink); border-radius: 0;
  transition: transform .15s var(--ease);
}
.calc-range::-moz-range-thumb { width: 18px; height: 18px; background: var(--accent); border: 2px solid var(--ink); border-radius: 0; }
.calc-range:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px var(--paper), 0 0 0 5px var(--accent); }

.calc .calc-result { background: var(--ink); color: var(--paper); display: flex; flex-direction: column; gap: 1.25rem; justify-content: center; }
.calc-line { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 1rem; border-bottom: 1px dashed #333; color: #a9a59c; text-transform: uppercase; }
.calc-line strong { font-family: var(--sans); font-size: 1.6rem; font-weight: 900; color: var(--paper); font-variant-numeric: tabular-nums; }
.calc-total { display: grid; gap: 0.4rem; }
.calc-total .mono { color: #a9a59c; text-transform: uppercase; }
.calc-total output {
  font-size: clamp(2.8rem, 12vw, 5.4rem); font-weight: 900; font-variation-settings: "wdth" 64;
  line-height: 0.95; letter-spacing: -0.03em; color: var(--accent);
  font-variant-numeric: tabular-nums; overflow-wrap: anywhere;
}
.calc-formula { color: #8f8b82; }
.calc-note { color: #8f8b82; font-size: 0.68rem; line-height: 1.6; }

/* ── Para quién ─────────────────────────────────── */
.fit h3 {
  font-size: clamp(1.4rem, 2.2vw, 2rem); font-weight: 800; font-variation-settings: "wdth" 78;
  text-transform: uppercase; margin-bottom: 1.4rem;
  display: flex; gap: 0.7rem; align-items: baseline;
}
.fit h3 .mono { font-size: 1rem; }
.fit-yes h3 .mono { color: var(--accent); }
.fit-no { background: var(--paper-2) !important; }
.fit li { padding: 0.95rem 0; border-top: 1px solid var(--line); font-size: 1.05rem; }
.fit-no li { color: var(--mute); }

/* ── CTA final ──────────────────────────────────── */
.final-cell { padding-top: 5rem !important; padding-bottom: 3.5rem !important; }
.final .h2-xl { margin-bottom: 1.75rem; }
.final .lead { color: #c9c5bb; margin-bottom: 2.5rem; max-width: 52ch; }
.final-actions { display: flex; flex-direction: column; align-items: stretch; gap: 0.5rem; }
.link-wa { color: var(--paper); }
.final-note { color: #8f8b82; margin-top: 1.5rem; }

/* Calendario (Calendly inline) */
.final .grid > .calendar-cell { background: var(--paper); padding: 0; }
.calendar { position: relative; height: 1040px; }
.calendar iframe { position: relative; z-index: 1; display: block; }
.calendar-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.9rem;
  color: var(--mute);
}
.calendar-placeholder a { color: var(--ink); border-bottom: 1px solid currentColor; }
.calendar-placeholder a:hover { color: var(--accent); }

/* ── Footer ─────────────────────────────────────── */
.footer-big { font-size: clamp(2.2rem, 9vw, 4rem); font-weight: 900; font-variation-settings: "wdth" 66; text-transform: uppercase; line-height: 0.9; margin-bottom: 0.8rem; }
.footer-links, .footer-legal { display: flex; flex-direction: column; gap: 0.6rem; justify-content: flex-end; }
.footer-links a:hover, .footer-legal a:hover { color: var(--accent); }
.footer-legal { color: var(--mute); }

/* ── Aparición al hacer scroll (sutil) ──────────── */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
/* En celdas de la retícula se anima solo el contenido: si se animara la celda,
   asomaría el fondo negro de las líneas mientras aparece */
.js .cell.reveal { opacity: 1; transform: none; }
.js .cell.reveal > * { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: inherit; }
.js .cell.reveal.is-visible > * { opacity: 1; transform: none; }
.reveal[data-split] { opacity: 1; transform: none; }

/* ══ Tablet ≥ 640px ═════════════════════════════ */
@media (min-width: 640px) {
  :root { --pad-x: 2rem; --pad-y: 2.75rem; --head-top: 6rem; }
  .logo-role { display: inline; }
  .nav-cta-long { display: inline; }
  .nav-cta-short { display: none; }
  .hero-actions { flex-direction: row; align-items: center; gap: 1.75rem; }
  .final-actions { flex-direction: row; align-items: center; gap: 1.75rem; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-3 > .cell:last-child { grid-column: 1 / -1; }
  .creators { grid-template-columns: repeat(3, 1fr); }
  .creators > .cell:last-child { grid-column: auto; }
  .creator { grid-template-columns: 1fr; grid-template-rows: auto auto; align-content: start; gap: 1.25rem; }
  .creator .creator-arrow { position: absolute; top: calc(var(--pad-y) + 0.75rem); right: calc(var(--pad-x) + 0.75rem); z-index: 1; background: var(--paper); width: 2.2rem; height: 2.2rem; display: grid; place-items: center; }
  .creator:hover .creator-arrow { background: var(--accent); color: var(--ink); }
  .school { grid-template-columns: 110px 1fr auto; gap: 1.5rem; }
  .school img { width: 110px; height: 110px; }
  .about-facts div { grid-template-columns: 9rem 1fr; gap: 1rem; }
}

/* ══ Escritorio ≥ 960px ═════════════════════════ */
@media (min-width: 960px) {
  :root { --nav-h: 64px; --pad-x: clamp(2rem, 3vw, 3rem); --pad-y: clamp(2.5rem, 4vw, 3.5rem); --head-top: clamp(7rem, 10vw, 9.5rem); }
  body { font-size: 17px; }
  .nav-logo { border-right: 1px solid var(--line); }
  .nav-cta { padding: 0 2rem; }

  .grid { grid-template-columns: 7fr 5fr; }
  .grid-1 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-3 > .cell:last-child { grid-column: auto; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }

  .cell-head { padding-bottom: var(--pad-y) !important; }
  .cell-lead { display: flex; align-items: flex-end; padding-top: var(--pad-y) !important; margin-top: 0; }
  .lead { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }

  .hero-grid { grid-template-columns: 7fr 5fr; min-height: calc(100svh - var(--nav-h)); }
  .hero-copy { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(4rem, 7vw, 6rem) !important; }
  .hero-title { font-size: clamp(3.5rem, 7.6vw, 8.6rem); }
  .hero-sub { font-size: clamp(1.1rem, 1.4vw, 1.3rem); }
  .console-rows li { grid-template-columns: 2.4rem 1fr auto; font-size: 0.8rem; padding: 0.8rem 1.1rem; }

  .card, .risk-card { min-height: 17rem; }
  .num { margin-bottom: auto; padding-bottom: 2.5rem; }
  .phase { min-height: 24rem; }
  .phase-n { margin: 0 0 auto; }
  .phase h3 { margin-top: 2.5rem; }

  .note { padding-block: 1.5rem !important; }
  .final-grid { grid-template-columns: 5fr 7fr; }
  .final-cell { display: flex; flex-direction: column; justify-content: center; padding-block: clamp(5rem, 8vw, 8rem) !important; }
  .final .h2-xl { font-size: clamp(3rem, 5.2vw, 5.8rem); }
  .final-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
  .final .grid > .calendar-cell { padding: var(--pad-y) var(--pad-x); }
  .calendar { height: 720px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .about-grid { grid-template-columns: 5fr 7fr; }
  .calc { grid-template-columns: 7fr 5fr; }
  .calc-inputs { gap: 2.75rem; padding-block: clamp(3rem, 5vw, 4.5rem) !important; }
  .calc-total output { font-size: clamp(3.4rem, 5.6vw, 5.8rem); }
  .about-photo img { max-width: none; }
  .about-photo { padding-bottom: var(--pad-y) !important; }
  .about-text { padding-top: var(--head-top) !important; padding-bottom: var(--head-top) !important; display: flex; flex-direction: column; justify-content: center; }
  .about-photo { position: relative; }
}

/* ── Cursor personalizado (solo ratón) ───────────── */
/* Se activa desde JS al primer movimiento: si el JS falla, queda el cursor normal. */
html.has-cursor, html.has-cursor * { cursor: none !important; }
html.has-cursor input[type="text"], html.has-cursor textarea, html.has-cursor .calendar, html.has-cursor .calendar * { cursor: auto !important; }

.cursor { position: fixed; top: 0; left: 0; z-index: 9999; pointer-events: none; opacity: 0; transition: opacity .25s; }
.cursor.is-ready { opacity: 1; }
.cursor.is-hidden { opacity: 0; }
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; will-change: transform; }
/* Contorno doble (negro + papel) para que se vea sobre fondo claro, negro o naranja */
.cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); box-shadow: 0 0 0 1.5px var(--ink); }
.cursor-ring {
  width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border: 1.5px solid var(--ink);
  box-shadow: 0 0 0 1.5px rgba(239, 237, 231, 0.85), inset 0 0 0 1.5px rgba(239, 237, 231, 0.85);
  transition: width .25s var(--ease), height .25s var(--ease), margin .25s var(--ease), border-color .2s, background .2s;
}
.cursor.is-hover .cursor-ring { width: 60px; height: 60px; margin: -30px 0 0 -30px; border-color: var(--accent); background: rgba(255, 74, 28, 0.12); }
.cursor.is-down .cursor-ring { width: 26px; height: 26px; margin: -13px 0 0 -13px; }

/* Estela tipo propulsor */
.cursor-spark {
  position: fixed; top: 0; left: 0; z-index: 9998; pointer-events: none;
  width: 6px; height: 6px; margin: -3px 0 0 -3px;
  background: var(--accent); box-shadow: 0 0 0 1px rgba(14, 14, 14, 0.35); opacity: 0;
}

/* Solo los bucles intrusivos se ralentizan */
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation-duration: 120s; }
}
/* Corrección temporal: asegurar que las imágenes se vean en móvil */
@media (max-width: 639px) {
  .creator-photo img,
  .school img,
  .about-photo img {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }

  .creator.reveal > *,
  .school.reveal > * {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}