/* Rodda — sitio de marketing.
   Tokens espejo del design system (brand/rodda_tokens.json y
   lib/core/theme/tokens.dart). Nomenclatura --rd-kebab-case, como manda el
   manual §07. Los alias cortos (--gold…) apuntan a los
   nuevos para no reescribir 400 reglas de golpe. */

:root {
  /* --- Oro Rodda. Un solo color de marca, siempre como acento. --- */
  --rd-gold-100: #FBF3D8;
  --rd-gold-300: #F2D468;
  --rd-gold-400: #E3C03E;
  --rd-gold-600: #B8942A;
  --rd-gold-800: #7A6218;

  /* --- Asfalto y Acero. Nunca negro puro, nunca gris de oficina. --- */
  --rd-asphalt:  #0D0E11;
  --rd-steel-900: #15171B;
  --rd-steel-800: #1D2026;
  --rd-steel-700: #292D35;
  --rd-steel-600: #3A3F49;
  --rd-steel-500: #5B6270;
  --rd-steel-400: #8A919E;
  --rd-steel-300: #B6BCC6;
  --rd-steel-100: #F1F3F6;

  /* --- Semánticos: solo hablan de estado. --- */
  --rd-success: #2FBF71;
  --rd-info:    #4A9EE8;
  --rd-warning: #F5A524;
  --rd-danger:  #E5484D;

  /* --- Tokens semánticos --- */
  --rd-bg-base:    var(--rd-asphalt);
  --rd-surface-1:  var(--rd-steel-900);
  --rd-surface-2:  var(--rd-steel-800);
  --rd-surface-3:  var(--rd-steel-700);
  --rd-border:     var(--rd-steel-700);
  --rd-accent:     var(--rd-gold-400);
  --rd-on-accent:  var(--rd-asphalt);
  --rd-text-primary:   #FFFFFF;
  --rd-text-secondary: var(--rd-steel-300);
  --rd-text-tertiary:  var(--rd-steel-400);

  /* --- Las tres familias del manual, y ni una más. --- */
  --display: "Poppins", "Montserrat", system-ui, sans-serif;
  --body:    "Inter", "Roboto", system-ui, sans-serif;
  --numeric: "JetBrains Mono", "Roboto Mono", ui-monospace, monospace;

  /* --- Radios: chips 4 · inputs y botones 8 · cards 12 · sheets 20 --- */
  --rd-radius-xs: 4px;
  --rd-radius-sm: 8px;
  --rd-radius-md: 12px;
  --rd-radius-lg: 20px;

  /* --- Alias cortos, con el vocabulario de Rodda --- */
  --gold: var(--rd-accent);
  --gold-dark: var(--rd-gold-600);
  --gold-soft: var(--rd-gold-300);
  --asphalt: var(--rd-bg-base);
  --ink: var(--rd-surface-1);
  --ink-soft: var(--rd-surface-2);
  --ink-card: var(--rd-surface-3);
  --line: var(--rd-border);
  --text-hi: var(--rd-text-primary);
  --text-mid: var(--rd-text-secondary);
  --text-low: var(--rd-text-tertiary);
  --cream: var(--rd-steel-100);
  --green: var(--rd-success);
  --amber: var(--rd-warning);

  --maxw: 1160px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--asphalt);
  color: var(--text-hi);
  font-family: var(--body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---- asphalt texture: faint diagonal grain over the whole page ---- */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    repeating-linear-gradient(115deg, rgba(255,255,255,0.014) 0 1px, transparent 1px 46px);
  pointer-events: none;
  z-index: 0;
}

/* ================= NAV ================= */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(15, 19, 25, 0.72);
  border-bottom: 1px solid rgba(57, 67, 79, 0.6);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand .mark { width: 30px; height: auto; display: block; }
/* El wordmark es un archivo, no texto: el manual prohíbe reescribirlo con otra
   tipografía o alterar su tracking. */
.brand .word-img { height: 22px; width: auto; display: block; padding-left: 8px; }
footer .fbrand .word-img { height: 26px; width: auto; margin: 12px 0 8px; }
.brand .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 5px;
  padding-left: 3px;
}
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  transition: color .18s;
}
.nav-links a:hover { color: var(--text-hi); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 1.5px;
  padding: 12px 22px;
  border-radius: 10px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s;
}
.btn-primary {
  /* Oro plano: el manual prohíbe oro sobre oro, "ni siquiera entre tonos
     distintos de la escala". Y sobre oro el texto va en Asfalto, nunca blanco:
     es la regla de color que más se rompe. */
  background: var(--gold);
  color: var(--rd-on-accent);
}
/* En fondo oscuro las sombras no se ven: la profundidad se construye subiendo
   un paso en la escala de Acero, no con glow. (Manual §03, "elevación por
   color, no por sombra".) */
.btn-primary:hover { background: var(--gold-soft); }
.btn-ghost {
  background: transparent;
  color: var(--text-hi);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-soft); }
.btn-sm { padding: 10px 18px; font-size: 13px; }

/* ================= HERO ================= */
.hero {
  position: relative;
  z-index: 1;
  padding: 92px 0 70px;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  top: -160px; right: -180px;
  width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(227, 192, 62,0.20), transparent 62%);
  filter: blur(20px);
  pointer-events: none;
}
.hero .wrap {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-soft);
  border: 1px solid var(--rd-gold-800);
  border-radius: 100px;
  padding: 6px 15px;
  margin-bottom: 26px;
}
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

h1.title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 8.2vw, 104px);
  line-height: 0.9;
  /* Titulares en Poppins con tracking −2% (manual §04). Sin mayúsculas: el
     manual las reserva para overline, botones pequeños y tags. */
  letter-spacing: -0.02em;
}
h1.title .em { color: var(--gold); }
.hero p.lede {
  color: var(--text-mid);
  font-size: 19px;
  max-width: 460px;
  margin: 26px 0 34px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.trust {
  display: flex;
  gap: 26px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trust .stat .n {
  font-family: var(--numeric);
  font-size: 42px;
  line-height: 1;
  color: var(--text-hi);
  font-feature-settings: "tnum";
}
.trust .stat .l {
  font-family: var(--body);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;   /* overline: Inter 600 +18% (manual §04) */
  text-transform: uppercase;
  color: var(--text-low);
}

/* ---- HUD device mock ---- */
.hud {
  position: relative;
  background: linear-gradient(160deg, var(--ink-card), var(--asphalt));
  border: 1px solid var(--line);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
}
.hud::before {
  content: "";
  position: absolute; inset: 0;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(150deg, rgba(227, 192, 62,.6), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none;
}
.hud-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.hud-top .lab { font-family: var(--display); letter-spacing: 2px; font-size: 12px; text-transform: uppercase; color: var(--text-low); }
.hud-top .live { display: flex; align-items: center; gap: 7px; font-family: var(--display); font-size: 12px; letter-spacing: 1.5px; color: var(--green); }
.hud-top .live .d { width: 7px; height: 7px; border-radius: 50%; background: var(--green); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.8)} }

.hud-speed { text-align: center; padding: 6px 0 2px; }
.hud-speed .big {
  font-family: var(--numeric);
  font-size: 150px;
  line-height: 0.8;
  color: var(--gold-soft);
  font-feature-settings: "tnum";
}
.hud-speed .unit { font-family: var(--display); letter-spacing: 4px; color: var(--text-mid); font-size: 15px; }
.lean {
  display: flex; justify-content: center; gap: 5px; margin: 16px 0 20px;
}
.lean i { width: 6px; height: 20px; border-radius: 3px; background: var(--line); display:block; }
.lean i.on { background: var(--gold); }  /* sin glow: §05 no admite neones */
.lean i.mid { height: 28px; }
.lean i.pk { height: 36px; }

.hud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hud-cell {
  background: rgba(15,19,25,.6);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 10px;
  text-align: center;
}
.hud-cell .v { font-family: var(--numeric); font-size: 34px; line-height: 1; color: var(--text-hi); font-feature-settings:"tnum"; }
.hud-cell .k { font-family: var(--display); font-size: 10px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--text-low); margin-top: 3px; }

/* ================= SECTION SHELL ================= */
section { position: relative; z-index: 1; }
.sec { padding: 84px 0; }
.sec-head { max-width: 640px; margin-bottom: 52px; }
.kicker {
  display: inline-block;
  font-family: var(--display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  padding-left: 14px;
  position: relative;
  margin-bottom: 16px;
}
.kicker::before { content: ""; position: absolute; left: 0; top: 3px; width: 5px; height: 15px; background: var(--gold); border-radius: 2px; }
h2.sec-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.0;
  letter-spacing: -0.02em;   /* titulares −2% (manual §04), sin mayúsculas */
}
.sec-head p { color: var(--text-mid); font-size: 18px; margin-top: 18px; }

/* ---- feature grid ---- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat {
  background: linear-gradient(165deg, var(--ink-soft), var(--ink));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px 24px;
  transition: transform .18s ease, border-color .2s;
}
.feat:hover { transform: translateY(-4px); border-color: rgba(227, 192, 62,.55); }
.feat .ic {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  /* Tile en Acero, icono en Oro: un lavado de oro debajo de un icono de oro
     es oro sobre oro, que el manual prohíbe incluso entre tonos (§03). */
  background: var(--rd-steel-800);
  border: 1px solid var(--rd-steel-600);
  margin-bottom: 18px;
  font-size: 22px;
}
.feat h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .5px;
  margin-bottom: 8px;
}
.feat p { color: var(--text-mid); font-size: 15px; }

/* ---- split / pro ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.pro-card {
  background: linear-gradient(160deg, var(--rd-surface-2), var(--rd-bg-base));
  border: 1px solid var(--rd-gold-800);
  border-radius: 22px;
  padding: 34px;
  box-shadow: 0 24px 70px rgba(0,0,0,.5);
}
.pro-card .tag {
  display:inline-block; font-family: var(--display); font-weight:700; letter-spacing:2px;
  text-transform: uppercase; font-size: 12px; color: var(--gold-soft);
  border:1px solid rgba(227, 192, 62,.4); border-radius: 6px; padding: 5px 11px; margin-bottom: 18px;
}
.pro-card .price { font-family: var(--numeric); font-size: 74px; line-height: 1; }
.pro-card .price span { font-family: var(--display); font-size: 20px; color: var(--text-mid); letter-spacing: 1px; }
.perks { list-style: none; margin: 22px 0 26px; }
.perks li { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; color: var(--text-mid); border-bottom: 1px solid rgba(57,67,79,.5); }
.perks li:last-child { border: none; }
.perks .ck { color: var(--gold); font-weight: 800; flex: none; }

/* ---- safety band ---- */
.band {
  background:
    radial-gradient(circle at 15% 20%, rgba(227, 192, 62,.14), transparent 45%),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band .row { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.band .item .ic { font-size: 26px; margin-bottom: 12px; }
.band .item h3 { font-family: var(--display); letter-spacing:.5px; font-size: 20px; margin-bottom: 7px; }
.band .item p { color: var(--text-mid); font-size: 15px; }

/* ---- final CTA ---- */
.cta-final { padding: 96px 0; }  /* alineado a la izquierda, manual §04 */
.cta-final h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 82px);
  line-height: .92;
  letter-spacing: -0.02em;
}
.cta-final h2 .em { color: var(--gold); }
/* `margin: auto` centraba el párrafo y las tiendas mientras el titular salía
   del margen izquierdo: tres ejes distintos en un mismo bloque. El manual (§04)
   no admite centrado, y la medida va en ch para caer dentro de 45–75 caracteres. */
.cta-final p { color: var(--text-mid); font-size: 19px; margin: 20px 0 34px; max-width: 58ch; }
.store-row { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; }
.store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink-card); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 20px; transition: border-color .2s, transform .12s;
}
.store:hover { border-color: var(--gold); transform: translateY(-2px); }
.store .big { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: .5px; line-height: 1; }
.store .small { font-size: 11px; color: var(--text-low); letter-spacing: 1px; text-transform: uppercase; }

/* ================= FOOTER ================= */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--line);
  padding: 48px 0 40px;
  background: var(--asphalt);
}
footer .wrap { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
footer .fbrand { max-width: 300px; }
footer .fbrand .word { font-family: var(--display); font-weight: 700; font-size: 24px; letter-spacing: 5px; margin: 12px 0 8px; }
footer .fbrand p { color: var(--text-low); font-size: 14px; }
footer .fcols { display: flex; gap: 56px; flex-wrap: wrap; }
footer .fcol h4 { font-family: var(--display); text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--text-low); margin-bottom: 14px; }
footer .fcol a { display: block; color: var(--text-mid); font-size: 14px; padding: 5px 0; transition: color .16s; }
footer .fcol a:hover { color: var(--gold-soft); }
.copy { border-top: 1px solid var(--line); margin-top: 40px; padding-top: 22px; color: var(--text-low); font-size: 13px; }

/* ================= LEGAL PAGES ================= */
.legal { position: relative; z-index: 1; padding: 64px 0 90px; }
.legal .wrap { max-width: 680px; }  /* ~70 caracteres por línea (manual §04) */
.legal .back {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 13px; color: var(--text-mid); margin-bottom: 34px;
}
.legal .back:hover { color: var(--gold-soft); }
.legal h1 {
  font-family: var(--display); font-weight: 700;
  font-size: clamp(38px, 6vw, 60px); line-height: .95; letter-spacing: -0.5px;
}
.legal .updated { color: var(--text-low); font-size: 14px; margin: 14px 0 40px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.legal h2 {
  font-family: var(--display); font-weight: 700;
  font-size: 24px; letter-spacing: .5px; margin: 40px 0 14px;
  padding-left: 14px; position: relative;
}
.legal h2::before { content:""; position:absolute; left:0; top:4px; width:5px; height:20px; background: var(--gold); border-radius:2px; }
.legal p { color: var(--text-mid); margin: 12px 0; }
.legal ul { list-style: none; margin: 12px 0; }
.legal li { color: var(--text-mid); padding: 8px 0 8px 26px; position: relative; }
.legal li::before { content: "›"; position: absolute; left: 6px; color: var(--gold); font-weight: 700; }
.legal strong { color: var(--text-hi); }
.legal a.inline { color: var(--gold-soft); border-bottom: 1px solid rgba(242,128,30,.4); }

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; gap: 44px; }
  /* El HUD va DESPUÉS del texto, no antes: el manual (§04) fija el orden de
     lectura overline → titular → cuerpo, y en una columna estrecha un
     velocímetro gigante por delante del mensaje se lee como decoración. */
  .hud { max-width: 420px; }
  .features { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .band .row { grid-template-columns: 1fr; gap: 26px; }
  .nav-links { display: none; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .trust { flex-wrap: wrap; gap: 18px; }
  .hud-speed .big { font-size: 116px; }
}

/* Botones de tienda mientras la ficha no está publicada: se ven, se entiende
   que aún no llevan a ningún sitio, y no invitan a hacer clic en vano. */
.store.soon {
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
}

.soon-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--rd-steel-400);
}

.soon-note a {
  color: var(--rd-gold-400);
}

/* ============================================================================
   MOVIMIENTO Y RECURSOS GRÁFICOS · manual §05
   La Línea de Ruta y sus cuatro derivados. Un solo gesto, cuatro aplicaciones:
   es lo que hace reconocible una pieza Rodda incluso sin logo.
   ========================================================================== */

/* --- Aparición: sube 8 px (múltiplo de 4, el ritmo vertical del manual) --- */
[data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.22,.61,.36,1);
}
[data-reveal].is-in { opacity: 1; transform: none; }

/* --- 1. Curva maestra ------------------------------------------------------
   Trazo en perspectiva con demarcación discontinua encima. Asciende de
   izquierda a derecha y nunca se invierte. */
.curva { display: block; width: 100%; height: auto; }
.curva .asfalto { fill: none; stroke: var(--rd-steel-700); stroke-width: 10; stroke-linecap: round; }
.curva .demarcacion { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; stroke-dasharray: 14 12; }
.curva .borde { fill: none; stroke: var(--rd-steel-600); stroke-width: 1; }

/* Divisor entre secciones: el gesto que "divide, conecta y guía la lectura". */
.divisor-ruta { margin: 0; padding: 0 24px; max-width: var(--maxw); margin-inline: auto; }

/* --- 2. Perfil de datos ---------------------------------------------------
   La misma curva como gráfica de altimetría. Relleno al 14%, eje en Acero 700. */
.perfil { display: block; width: 100%; height: auto; }
.perfil .relleno { fill: var(--gold); opacity: .14; }
.perfil .linea { fill: none; stroke: var(--gold); stroke-width: 2.5; stroke-linejoin: round; }
.perfil .eje { stroke: var(--rd-steel-700); stroke-width: 1; }

/* --- 3. Retícula de asfalto -----------------------------------------------
   Líneas horizontales en Acero 600 con la curva encima. Fondo de sección. */
.reticula { position: relative; isolation: isolate; }
.reticula::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(
    to bottom,
    var(--rd-steel-600) 0 1px,
    transparent 1px 68px
  );
  opacity: .5;
  mask-image: linear-gradient(to bottom, transparent, #fff 22%, #fff 78%, transparent);
}

/* --- 4. Corte diagonal ----------------------------------------------------
   Ángulo fijo de 18°, un solo corte por pieza. Se reserva para bloques
   ESTRECHOS: a ancho completo, 18° reales son ~380 px de caída (1160 × tan 18°)
   y se tragan el contenido. Para separar secciones a ancho completo el manual
   admite la curva maestra, y es la que usa esta página. */
.corte-18 {
  clip-path: polygon(0 calc(100% * 0.3249), 100% 0, 100% 100%, 0 100%);
}
.divisor-cierre { margin-top: 32px; }

/* --- Trama de escudos -----------------------------------------------------
   Isotipo repetido a 12°, en Acero 700 sobre Asfalto. Nunca en oro, nunca
   sobre texto de lectura, nunca a más del 20% de opacidad. El `mask` es lo que
   garantiza que se pinte en Acero y no en el oro del archivo original. */
.trama-escudos { position: relative; isolation: isolate; overflow: hidden; }
.trama-escudos::before {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  background-color: var(--rd-steel-700);
  -webkit-mask-image: url("brand/rodda_isotipo_oro.png");
  mask-image: url("brand/rodda_isotipo_oro.png");
  -webkit-mask-size: 76px;
  mask-size: 76px;
  -webkit-mask-repeat: space;
  mask-repeat: space;
  transform: rotate(12deg);
  opacity: .18;              /* el manual: nunca más del 20% */
}

/* --- Marca de agua: 5–8%, sangrada por un solo borde, nunca centrada ----- */
/* --- Retícula de asfalto en perspectiva (WebGL) -----------------------------
   El lienzo va detrás de todo y se disuelve por arriba con una máscara: sin
   ella, las líneas terminarían de golpe en una arista horizontal y el horizonte
   dejaría de ser horizonte. La máscara también las apaga en los bordes
   laterales, donde competirían con el titular.

   Aparece con una transición de opacidad al inicializarse (`is-on`): así no hay
   un salto visible entre la página sin escena y la página con escena. */
.hero-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  pointer-events: none;
  /* La columna de texto queda fuera: la máscara horizontal no deja nada a la
     izquierda del 30% y sube al 100% hacia la derecha, donde solo flota la
     tarjeta del HUD. Un recurso gráfico que pasa por encima de una línea de
     texto deja de ser recurso y se convierte en un estorbo. */
  -webkit-mask-image:
    linear-gradient(to top, #000 0%, #000 10%, rgba(0,0,0,.5) 56%, transparent 88%),
    linear-gradient(to right, transparent 30%, rgba(0,0,0,.45) 48%, #000 72%, #000 100%);
  mask-image:
    linear-gradient(to top, #000 0%, #000 10%, rgba(0,0,0,.5) 56%, transparent 88%),
    linear-gradient(to right, transparent 30%, rgba(0,0,0,.45) 48%, #000 72%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.hero-3d.is-on { opacity: 1; }

.marca-agua {
  position: absolute;
  right: -12%;
  bottom: -18%;
  width: min(62vw, 780px);
  opacity: .06;
  pointer-events: none;
  z-index: 1;
  will-change: transform;
}

/* --- Números en vivo ------------------------------------------------------
   Cifras tabulares y ancho reservado para el valor máximo: un dato que salta
   de posición es un dato que no se puede leer rodando (§04). */
.dato-vivo {
  font-family: var(--numeric);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  color: var(--gold);
  transition: color .3s ease;
}
.dato-vivo.is-warning { color: var(--rd-warning); }
.dato-vivo.is-danger  { color: var(--rd-danger); }
.dato-vivo[data-ancho="3"] { min-width: 3ch; display: inline-block; text-align: right; }

/* --- Elevación por color, no por sombra (§03) ----------------------------- */
.feat, .pro-card, .band .item {
  transition: background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.feat:hover, .band .item:hover {
  background-color: var(--rd-surface-3);
  border-color: var(--rd-steel-600);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .marca-agua { transform: none !important; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}


/* --- Iconografía del manual (§05): trazo 2 px, sin relleno, round caps ----
   Antes eran emoji: glifos de color y RELLENOS, y el manual prohíbe mezclar
   iconos de trazo con iconos rellenos en la misma pantalla. */
.ic svg { width: 24px; height: 24px; display: block; }
.ic svg * {
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.band .item .ic svg * { stroke: var(--rd-steel-300); }
.band .item:hover .ic svg * { stroke: var(--gold); }
