/* ==========================================================================
   RÚBIKA · "La energía que fluye"
   Propuesta de rediseño · Concreto Abstracto
   Mobile-first. El logo es blanco y negro: tinta + papel, y un único
   color de corriente (amarillo voltaje) para todo lo que "se enciende".
   ========================================================================== */

:root {
  color-scheme: dark;

  --bg: #080b10;
  --bg-2: #0c1118;
  --surface: #101722;
  --surface-2: #151e2b;
  --field: #0a0f16;
  --line: #1c2735;
  --line-2: #2b394c;
  --wire-off: #263449;
  --node-off: #50617c;

  --text: #f2f4f7;
  --text-2: #bac5d2;
  --muted: #8c9bb0;

  --volt: #ffe04a;
  --volt-2: #fff3a8;
  --volt-ink: #141100;
  --volt-a1: rgba(255, 224, 74, .07);
  --volt-a2: rgba(255, 224, 74, .22);
  --volt-a3: rgba(255, 224, 74, .5);
  --alarm: #ff6a55;
  --err: #ff9483;

  --f-sans: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --f-tag: "Permanent Marker", "Marker Felt", "Comic Sans MS", cursive;

  /* Raíles del circuito (posiciones relativas a .wrap) */
  --rail: 20px;
  --pad-l: 50px;
  --pad-r: 22px;
  --rail-r-off: 12px;
  --rail-off: calc(var(--rail) - var(--pad-l));

  --radius: 14px;
  --header-h: 60px;
  --ease: cubic-bezier(.2, .7, .2, 1);

  --grid-minor: rgba(120, 150, 190, .045);
  --grid-major: rgba(120, 150, 190, .07);
}

@media (min-width: 600px) {
  :root { --rail: 30px; --pad-l: 76px; --pad-r: 40px; --rail-r-off: 24px; }
}
@media (min-width: 960px) {
  :root { --rail: -48px; --pad-l: 0px; --pad-r: 0px; --rail-r-off: 48px; --header-h: 68px; }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
}

body {
  margin: 0;
  position: relative;
  overflow-x: clip;
  color: var(--text-2);
  font: 400 1rem/1.6 var(--f-sans);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg);
  /* Plano técnico de noche */
  background-image:
    linear-gradient(var(--grid-major) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-major) 1px, transparent 1px),
    linear-gradient(var(--grid-minor) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-minor) 1px, transparent 1px);
  background-size: 160px 160px, 160px 160px, 32px 32px, 32px 32px;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
h1, h2, h3, h4 {
  margin: 0;
  color: var(--text);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.015em;
  text-wrap: balance;
}
button, input, textarea { font: inherit; }

:focus-visible { outline: 2px solid var(--volt); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.muted { color: var(--muted); }
.todo { color: var(--volt); font-family: var(--f-mono); font-size: .9em; }

.ico {
  width: 1.15em; height: 1.15em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}

.skip {
  position: absolute; left: 12px; top: -80px; z-index: 100;
  padding: .7em 1.1em; border-radius: 10px;
  background: var(--volt); color: var(--volt-ink); font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- Layout ---------- */
.wrap {
  position: relative;
  padding-left: var(--pad-l);
  padding-right: var(--pad-r);
}
.wrap-h { padding-inline: 16px; }

@media (min-width: 600px) {
  .wrap-h { padding-inline: 28px; }
}
@media (min-width: 960px) {
  .wrap, .wrap-h { width: min(1160px, 100% - 208px); margin-inline: auto; padding-inline: 0; }
}

main, .footer { position: relative; z-index: 2; }

.section { position: relative; padding: 88px 0; }
@media (min-width: 960px) { .section { padding: 132px 0; } }

/* ---------- Tipografía ---------- */
.h2 {
  font-size: clamp(1.85rem, 1.1rem + 3.4vw, 3.5rem);
  font-stretch: 108%;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.022em;
  max-width: 22ch;
}
.lead {
  margin-top: 16px;
  max-width: 54ch;
  font-size: clamp(1.02rem, .96rem + .3vw, 1.18rem);
  color: var(--text-2);
}

.kicker {
  position: relative;
  display: flex; align-items: center; gap: .75em;
  margin-bottom: 20px;
  font: 600 .72rem/1 var(--f-mono);
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted);
  transition: color .6s;
}
.kicker__ref {
  display: inline-grid; place-items: center;
  min-width: 2.6em; height: 2em; padding: 0 .45em;
  border: 1px solid var(--line-2); border-radius: 4px;
  color: var(--text-2);
  transition: color .6s, border-color .6s, box-shadow .6s;
}
.is-live .kicker { color: var(--text-2); }
.is-live .kicker__ref { color: var(--volt); border-color: var(--volt-a3); box-shadow: 0 0 18px -4px var(--volt-a3); }

.tag {
  font-family: var(--f-tag);
  font-weight: 400;
  font-stretch: 100%;
  letter-spacing: 0;
  color: var(--volt);
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  min-height: 48px; padding: 0 1.3em;
  border: 1px solid transparent; border-radius: 12px;
  font: 700 1rem/1.1 var(--f-sans); font-stretch: 104%;
  text-decoration: none; cursor: pointer;
  transition: transform .2s var(--ease), box-shadow .3s, background-color .3s, border-color .3s, color .3s;
}
.btn--volt {
  background: var(--volt); color: var(--volt-ink);
  box-shadow: 0 0 0 1px rgba(255, 224, 74, .35), 0 10px 34px -10px rgba(255, 224, 74, .6);
}
.btn--volt:hover { background: #ffe86e; box-shadow: 0 0 0 1px rgba(255, 224, 74, .6), 0 12px 44px -8px rgba(255, 224, 74, .8); }
.btn--volt:active { transform: translateY(1px); }
.btn--volt:focus-visible { outline-color: #fff; }
.btn--ghost { border-color: var(--line-2); color: var(--text); background: rgba(255, 255, 255, .02); }
.btn--ghost:hover { border-color: var(--volt-a3); color: #fff; }
.btn--text { background: none; color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; padding: 0 .6em; }
.btn--sm { min-height: 40px; padding: 0 1em; font-size: .88rem; border-radius: 10px; }
.btn--lg { min-height: 56px; padding: 0 1.6em; font-size: 1.05rem; }
.btn--block { width: 100%; }
@media (max-width: 599.98px) { .btn--block.btn--lg { padding: 0 1em; font-size: 1rem; font-stretch: 100%; } }
.btn .ico { transition: transform .25s var(--ease); }
.btn:hover .ico { transform: translateX(3px); }

.link { color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: .45em; font-weight: 600; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.link:hover { border-color: var(--volt); }

/* ---------- Franja de propuesta ---------- */
.proposal-bar {
  position: relative; z-index: 30;
  display: flex; justify-content: center; gap: .6em;
  padding: .5rem 1rem;
  background: #000; border-bottom: 1px solid var(--line);
  font: 500 .66rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
  color: var(--muted);
}

/* ---------- Cabecera ---------- */
.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 11, 16, .8);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(43, 57, 76, .6);
}
.header__in { display: flex; align-items: center; gap: 10px; height: var(--header-h); }

.brand { display: flex; align-items: center; margin-right: auto; text-decoration: none; }
/* El logo es un PNG negro sobre blanco: lo invertimos y lo recortamos al monograma */
.brand__crop {
  --w: 62px;
  position: relative; display: block; overflow: hidden;
  width: var(--w); height: calc(var(--w) * .587);
}
.brand__crop img {
  position: absolute; max-width: none;
  width: calc(var(--w) * 1.0917); height: auto;
  left: calc(var(--w) * -.0524); top: calc(var(--w) * -.2205);
  filter: invert(1); mix-blend-mode: screen;
}
.brand__crop--lg { --w: 120px; }

.nav { display: none; }
.header__tel {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--line-2); border-radius: 10px;
  color: var(--text); text-decoration: none;
}
.header__tel-num { display: none; }
.header__tel:hover { border-color: var(--volt-a3); }

@media (min-width: 600px) {
  .header__tel { display: inline-flex; gap: .5em; width: auto; padding: 0 .85em; font: 600 .85rem/1 var(--f-mono); }
  .header__tel-num { display: inline; }
  .header__tel-sr { display: none; }
}
.menu-btn {
  display: inline-grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid var(--line-2); border-radius: 10px; background: none; color: var(--text); cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 16px; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform .3s var(--ease), background-color .2s;
}
.menu-btn span { position: relative; }
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -5px; }
.menu-btn span::after { top: 5px; }
.menu-btn[aria-expanded="true"] span { background: transparent; }
.menu-btn[aria-expanded="true"] span::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span::after { transform: translateY(-5px) rotate(-45deg); }
.no-js .menu-btn { display: none; }
.menu {
  position: absolute; left: 0; right: 0; top: 100%;
  display: grid; padding: 6px 16px 16px;
  background: rgba(8, 11, 16, .97); border-bottom: 1px solid var(--line-2);
  box-shadow: 0 30px 60px -30px #000;
}
.menu[hidden] { display: none; }
.menu a {
  display: flex; align-items: center; min-height: 52px; padding: 0 4px;
  border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none; font-size: 1.1rem; font-weight: 600; font-stretch: 106%;
}
.menu a:last-child { border-bottom: 0; }
.menu .menu__tel { font: 600 .9rem/1 var(--f-mono); color: var(--volt); }
@media (min-width: 600px) { .menu { padding-inline: 28px; } }
@media (min-width: 1100px) {
  .menu-btn, .menu { display: none !important; }
  .nav { display: flex; gap: 24px; margin-right: 18px; }
  .nav a { color: var(--text-2); text-decoration: none; font-size: .92rem; font-weight: 500; }
  .nav a:hover { color: var(--text); }
}

.meter { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.meter__fill {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 224, 74, .15), var(--volt));
  box-shadow: 0 0 12px var(--volt-a3);
  transform-origin: 0 50%; transform: scaleX(0);
}

/* ---------- Capa del circuito ---------- */
.circuit {
  position: absolute; left: 0; top: 0; right: 0; height: 100%;
  z-index: 1; pointer-events: none; overflow: hidden;
  contain: layout paint;
}
.circuit__svg { position: absolute; left: 0; top: 0; overflow: visible; }
.circuit__grid {
  position: absolute; inset: 0; opacity: 0;
  background-image:
    linear-gradient(rgba(255, 224, 74, .09) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 224, 74, .09) 1px, transparent 1px);
  background-size: 32px 32px;
  transition: opacity 2.2s ease .3s;
}
.is-closed .circuit__grid { opacity: .55; }

.w-base { fill: none; stroke: var(--wire-off); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.w-base.is-wait { stroke: #34445c; stroke-dasharray: 2 7; }
.w-glow, .w-mid, .w-core { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.w-glow { stroke: var(--volt); stroke-width: 10; stroke-opacity: .12; }
.w-mid { stroke: var(--volt); stroke-width: 2.4; }
.w-core { stroke: #fffbe3; stroke-width: 1; }
.w-dot { fill: var(--node-off); transition: fill .4s; }
.w-dot.is-on { fill: var(--volt); }

.pulse {
  position: absolute; left: 0; top: 0;
  width: 36px; height: 3px; margin-top: -1.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(255, 224, 74, 0), rgba(255, 224, 74, .8) 70%, #fff);
  transform-origin: 100% 50%;
  opacity: 0;
  will-change: transform;
}
.spark {
  position: absolute; left: 0; top: 0;
  width: 34px; height: 34px; margin: -17px 0 0 -17px;
  border-radius: 50%;
  background: radial-gradient(circle, #fff 0 10%, rgba(255, 243, 168, .95) 20%, rgba(255, 224, 74, .45) 40%, rgba(255, 224, 74, 0) 70%);
  opacity: 0;
  will-change: transform;
}
.spark::after {
  content: ""; position: absolute; inset: -14px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(255, 246, 190, .7) 50%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(255, 246, 190, .7) 50%, transparent 53%);
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  mask-image: radial-gradient(circle, #000 20%, transparent 70%);
  animation: flicker .18s steps(2) infinite;
}
@keyframes flicker { 50% { transform: rotate(45deg) scale(.8); opacity: .6; } }

.circuit__halo {
  position: absolute; left: 0; top: 0;
  width: 560px; height: 560px; margin: -280px 0 0 -280px;
  opacity: 0; transition: opacity .8s;
  background-image:
    linear-gradient(rgba(255, 224, 74, .2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 224, 74, .2) 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 224, 74, .09), transparent 62%);
  background-size: 32px 32px, 32px 32px, 100% 100%;
  -webkit-mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 30%, transparent 66%);
  mask-image: radial-gradient(circle, #000 0, rgba(0, 0, 0, .55) 30%, transparent 66%);
  will-change: transform;
}

.page-glow {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background: radial-gradient(130% 90% at 50% 50%, transparent 55%, rgba(255, 224, 74, .07));
  opacity: 0; transition: opacity 1.6s ease;
}
.is-closed .page-glow { opacity: 1; }

.fx-canvas { position: fixed; inset: 0; z-index: 60; pointer-events: none; width: 100%; height: 100%; }

/* ---------- Nodos (componentes del circuito) ---------- */
.rail-node {
  position: absolute; left: var(--rail-off); top: 50%;
  width: 28px; height: 40px;
  transform: translate(-50%, -50%);
  background: var(--bg); border-radius: 6px;
  color: var(--node-off);
  transition: color .5s, filter .5s;
}
.rail-node svg { width: 28px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.rail-node.is-on { color: var(--volt); filter: drop-shadow(0 0 6px rgba(255, 224, 74, .55)); }
.rail-node__ref {
  display: none; position: absolute; right: calc(100% + 10px); top: 50%;
  transform: translateY(-50%);
  font: 600 10px/1 var(--f-mono); letter-spacing: .1em; color: var(--muted);
}
@media (min-width: 960px) { .rail-node__ref { display: block; } }
.rail-node.is-on .rail-node__ref { color: var(--volt); }

/* ---------- 01 · Hero ---------- */
.hero {
  position: relative;
  padding: 26px 0 80px;
  background: radial-gradient(900px 520px at 60% -40px, rgba(255, 224, 74, .075), transparent 70%);
}
.sources { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.source {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  padding: 12px 4px 10px;
  border: 1px solid var(--line); border-radius: 12px;
  background: rgba(16, 23, 34, .78);
  text-align: center;
  color: var(--node-off);
  transition: color .6s, border-color .6s, box-shadow .6s;
}
.source::after {
  content: ""; position: absolute; top: 8px; right: 8px;
  width: 5px; height: 5px; border-radius: 50%; background: var(--node-off);
  transition: background .4s, box-shadow .4s;
}
.source.is-on { color: var(--volt); border-color: rgba(255, 224, 74, .22); box-shadow: 0 0 30px -14px var(--volt-a3); }
.source.is-on::after { background: var(--volt); box-shadow: 0 0 8px var(--volt); }
.src-ico { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.src-core { fill: currentColor; stroke: none; }
.source__label { font: 600 .62rem/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.source__spec { display: none; font-size: .74rem; color: var(--muted); }

.bus { position: relative; height: 46px; }
.bus .rail-node { top: 60%; }
.bus__label {
  position: absolute; right: 0; top: calc(60% + 10px); display: none;
  font: 500 .62rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}

.hero__body { padding-top: 26px; }
.hero__title {
  font-size: clamp(2.3rem, 1rem + 6.2vw, 5.6rem);
  font-stretch: 112%;
  font-weight: 850;
  line-height: .98;
  letter-spacing: -.03em;
  max-width: 14.5ch;
  isolation: isolate;
}
.spray-mark { position: relative; color: var(--volt); white-space: nowrap; }
.spray-mark::after {
  content: ""; position: absolute; z-index: -1;
  left: -6%; right: -10%; top: 74%; height: .5em;
  background: var(--spray-swash, none) center / 100% 100% no-repeat;
  opacity: .9; pointer-events: none;
}
.hero__lead { margin-top: 22px; max-width: 34ch; font-size: clamp(1.12rem, 1rem + .7vw, 1.45rem); line-height: 1.45; color: var(--text-2); }
.hero__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 26px; margin-top: 30px; }
.hero__phones { font: 500 .88rem/1.5 var(--f-mono); color: var(--muted); }
.hero__phones a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.hero__phones a:hover { border-color: var(--volt); }
.hero__trust { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 30px; font-size: .9rem; color: var(--text-2); }
.hero__trust li { display: flex; align-items: center; gap: .55em; }
.hero__trust li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }

@media (min-width: 600px) {
  .sources { gap: 12px; }
  .source { padding: 16px 8px 14px; }
  .src-ico { width: 52px; height: 52px; }
  .source__label { font-size: .68rem; }
  .source__spec { display: block; }
  .bus__label { display: block; }
}
@media (min-width: 960px) {
  .hero { padding: 40px 0 120px; }
  .sources { gap: 18px; }
  .source { padding: 20px 12px 18px; gap: 8px; }
  .src-ico { width: 60px; height: 60px; }
  .bus { height: 60px; }
  .hero__body { padding-top: 36px; }
}

@media (prefers-reduced-motion: no-preference) {
  .src-sun__rays { transform-box: view-box; transform-origin: 32px 32px; animation: spin 26s linear infinite; }
  .src-wind__blades { transform-box: view-box; transform-origin: 32px 24px; animation: spin 5s linear infinite; }
  .src-water__waves { animation: wave 2.8s linear infinite; }
  .src-grid__cable { stroke-dasharray: 3 5; animation: dash 1.1s linear infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes wave { to { transform: translateX(26px); } }
@keyframes dash { to { stroke-dashoffset: -16; } }

/* ---------- Tarjetas ---------- */
.card {
  position: relative;
  background: linear-gradient(180deg, var(--surface), var(--bg-2));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .7s, box-shadow .7s;
  transition-delay: calc(var(--i, 0) * 120ms);
}
.is-live .card { border-color: rgba(255, 224, 74, .2); box-shadow: 0 24px 60px -36px rgba(255, 224, 74, .32); }

/* ---------- 02 · Cifras ---------- */
.stats__grid {
  list-style: none;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  margin-top: 40px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 24px 16px 20px; background: var(--bg-2); }
.stat:last-child { grid-column: 1 / -1; }
.stat::before {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: var(--volt); box-shadow: 0 0 10px var(--volt);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .55s var(--ease) calc(var(--i) * 150ms);
}
.is-live .stat::before { transform: scaleX(1); }
.stat__led {
  position: absolute; top: 14px; right: 14px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--node-off);
  transition: background .4s calc(var(--i) * 150ms + 200ms), box-shadow .4s calc(var(--i) * 150ms + 200ms);
}
.is-live .stat__led { background: var(--volt); box-shadow: 0 0 10px 2px rgba(255, 224, 74, .55); }
.stat__num {
  font-size: clamp(3rem, 2.2rem + 3.6vw, 4.8rem);
  font-weight: 800; font-stretch: 70%;
  line-height: .9; letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  transition: color .5s calc(var(--i) * 150ms), text-shadow .5s calc(var(--i) * 150ms);
}
.is-live .stat__num { color: var(--volt); text-shadow: 0 0 30px rgba(255, 224, 74, .32); }
.stat__pre { font-size: .62em; vertical-align: .34em; margin-right: .02em; }
.stat__unit { font-size: .5em; margin-left: .06em; }
.stat__ast { font-size: .32em; vertical-align: 1.4em; color: var(--muted); font-stretch: 100%; }
.stat__label { font-size: .92rem; line-height: 1.35; color: var(--text-2); }
.stats__note { margin-top: 14px; max-width: 70ch; font-size: .8rem; color: var(--muted); }

@media (min-width: 720px) {
  .stats__grid { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4) { grid-column: auto; }
  .stat:last-child { grid-column: span 2; }
}
@media (min-width: 1080px) {
  .stats__grid { grid-template-columns: repeat(5, 1fr); }
  .stat:last-child { grid-column: auto; }
  .stat { padding: 30px 22px 26px; }
}

/* ---------- 03 · Por qué ---------- */
.why__grid { list-style: none; display: grid; gap: 14px; margin-top: 40px; }
.why__item { padding: 22px 20px 26px; }
.why__sym { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; color: var(--node-off); transition: color .6s calc(var(--i) * 140ms), filter .6s calc(var(--i) * 140ms); }
.why__sym svg { width: 64px; height: 32px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.why__ref { font: 500 .68rem/1.35 var(--f-mono); letter-spacing: .05em; color: var(--muted); }
.is-live .why__sym { color: var(--volt); }
.is-live .why__sym svg { filter: drop-shadow(0 0 6px rgba(255, 224, 74, .45)); }
.why__item h3 { margin-bottom: 8px; font-size: 1.22rem; font-stretch: 104%; }
.why__item p { font-size: .97rem; }
@media (min-width: 720px) { .why__grid { grid-template-columns: 1fr 1fr; gap: 18px; } }
@media (min-width: 1180px) { .why__grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- 04 · Cómo funciona ---------- */
.steps__list { list-style: none; display: grid; gap: 40px; margin-top: 48px; }
.step { position: relative; }
.step__node {
  position: absolute; left: var(--rail-off); top: -6px;
  width: 40px; height: 40px; transform: translateX(-50%);
  display: grid; place-items: center;
  border: 1.5px solid var(--node-off); border-radius: 50%;
  background: var(--bg);
  font: 700 .95rem/1 var(--f-mono); color: var(--muted);
  transition: border-color .5s, color .5s, box-shadow .5s;
}
.step__node.is-on { border-color: var(--volt); color: var(--volt); box-shadow: 0 0 0 5px rgba(255, 224, 74, .07), 0 0 24px rgba(255, 224, 74, .45); }
.step__title { margin-bottom: 8px; font-size: 1.3rem; font-stretch: 104%; }
.step__via { display: none; }
.step p { max-width: 34ch; }

@media (min-width: 960px) {
  .steps__list { grid-template-columns: repeat(4, 1fr); gap: 32px; margin-top: 64px; }
  .step__node { position: relative; left: auto; top: auto; transform: none; width: 52px; height: 52px; margin-bottom: 26px; font-size: 1.05rem; }
  .step__via { display: block; position: absolute; left: calc(100% + 32px); top: 26px; width: 2px; height: 2px; margin: -1px 0 0 -1px; }
}

/* ---------- 05 · Particulares / Empresas ---------- */
.branch-switch {
  position: relative; display: inline-flex; gap: 4px;
  margin: 28px 0 22px; padding: 4px;
  border: 1px solid var(--line-2); border-radius: 13px; background: var(--bg-2);
}
.branch-switch__btn {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  min-height: 44px; padding: 0 18px; border-radius: 9px;
  font: 700 .95rem/1 var(--f-sans); color: var(--text-2);
  transition: background-color .3s, color .3s;
}
.branch-switch__btn[aria-pressed="true"] { background: var(--volt); color: var(--volt-ink); }
.no-js .branch-switch { display: none; }
.rail-node--spdt .spdt-lever { transition: transform .4s var(--ease); transform-box: view-box; transform-origin: 14px 9px; }
[data-branch-active="empresas"] .spdt-lever { transform: rotate(-38deg); }

.junction { display: none; }
.branches__grid { display: grid; gap: 18px; }
.branch { padding: 26px 22px 28px; }
.branch::before, .branch::after {
  content: ""; position: absolute; left: 50%; width: 12px; height: 12px;
  background: var(--bg); border: 1.5px solid var(--node-off); border-radius: 3px;
  transform: translate(-50%, -50%) rotate(45deg);
  display: none;
  transition: border-color .5s, background-color .5s, box-shadow .5s;
}
.branch::before { top: 0; }
.branch::after { top: 100%; }
.branch.is-on::before, .branch.is-on::after { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.branch__kicker { font: 600 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.branch__title { margin: 10px 0 12px; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-stretch: 110%; }
.branch.is-on .branch__title { color: var(--volt); }
.branch__lead { max-width: 52ch; }
.branch__cols { display: grid; gap: 18px; margin: 24px 0 26px; }
.branch h4 { margin-bottom: 10px; font: 600 .7rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); }
.list { list-style: none; display: grid; gap: 8px; }
.list li { position: relative; padding-left: 20px; font-size: .96rem; }
.list li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 8px; height: 2px; background: var(--volt);
}
.branch__chips-title { margin-top: -4px; }
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; }
.chips li { padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; font-size: .86rem; color: var(--text); }

@media (max-width: 959.98px) { .branch.is-off { display: none; } }
@media (min-width: 600px) { .branch__cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) {
  .branch-switch, .rail-node--spdt { display: none; }
  .junction {
    display: block; width: 14px; height: 14px; margin: 72px auto 0;
    border-radius: 50%; background: var(--bg); border: 2px solid var(--node-off);
    transition: background-color .4s, border-color .4s, box-shadow .4s;
  }
  .junction.is-on { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 14px var(--volt); }
  .junction--merge { margin: 52px auto 0; }
  .branches__grid { grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 64px; }
  .branch { padding: 38px 34px 40px; }
  .branch::before, .branch::after { display: block; }
  .branch__cols { grid-template-columns: 1fr; }
}
@media (min-width: 1180px) { .branch__cols { grid-template-columns: 1fr 1fr; } }

/* ---------- 06 · El interruptor ---------- */
.switch__title .tag {
  position: relative; z-index: 0; display: inline-block;
  font-size: .74em; transform: rotate(-3deg) translateY(-.06em); margin-left: .1em;
}
.switch__title .tag::before {
  content: ""; position: absolute; z-index: -1; inset: -40% -14%;
  background: var(--spray-blob, none) center / 100% 100% no-repeat;
  opacity: .28;
}
.panel {
  position: relative;
  margin-top: 36px;
  padding: 0 18px 24px;
  border: 1px solid var(--line-2); border-radius: 18px;
  background: linear-gradient(180deg, #111a26, #0b1118);
  box-shadow: 0 40px 90px -50px #000, inset 0 1px 0 rgba(255, 255, 255, .04);
}
.is-live .panel { border-color: rgba(255, 224, 74, .25); }
.screw {
  position: absolute; width: 9px; height: 9px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4d5b70, #1d2633);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .5);
}
.screw::after { content: ""; position: absolute; left: 1.5px; right: 1.5px; top: 4px; height: 1px; background: #0b0f15; transform: rotate(-35deg); }
.screw--tl { left: 10px; top: 10px; } .screw--tr { right: 10px; top: 10px; }
.screw--bl { left: 10px; bottom: 10px; } .screw--br { right: 10px; bottom: 10px; }

.panel__head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 16px 8px; margin-bottom: 22px;
  border-bottom: 1px dashed var(--line-2);
  font: 600 .64rem/1.2 var(--f-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.panel__label-pre { display: none; }
@media (min-width: 600px) { .panel__label-pre { display: inline; } }
.panel__state { display: inline-flex; white-space: nowrap; align-items: center; gap: 8px; color: var(--text-2); }
.led { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--alarm); box-shadow: 0 0 8px rgba(255, 106, 85, .75); transition: background .4s, box-shadow .4s; }
.panel.is-ready .led, .panel.is-done .led { background: var(--volt); box-shadow: 0 0 10px var(--volt); }

.form__grid { display: grid; gap: 22px; }

/* Zona de arrastre */
.drop { position: relative; }
.drop__input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.drop__zone {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  min-height: 210px; padding: 26px 18px;
  border: 1.5px dashed var(--line-2); border-radius: 14px;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 224, 74, .05), transparent 60%),
    repeating-linear-gradient(-45deg, transparent 0 10px, rgba(255, 255, 255, .012) 10px 11px);
  text-align: center; cursor: pointer;
  transition: border-color .3s, background-color .3s, transform .3s var(--ease);
}
.drop__zone:hover, .drop.is-over .drop__zone { border-color: var(--volt); background-color: rgba(255, 224, 74, .04); }
.drop.is-over .drop__zone { transform: scale(1.01); }
.drop__input:focus-visible + .drop__zone, #f-files:focus-visible ~ .drop__zone { outline: 2px solid var(--volt); outline-offset: 3px; }
.drop.has-files .drop__zone { border-style: solid; border-color: rgba(255, 224, 74, .4); }
.drop__icon { width: 52px; height: 52px; fill: none; stroke: var(--volt); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.drop__title { font-size: 1.12rem; font-weight: 700; font-stretch: 106%; color: var(--text); }
.drop__hint { font-size: .86rem; color: var(--muted); }
.drop__pick { margin-top: 6px; pointer-events: none; }
.drop__cam { display: none; width: 100%; margin-top: 10px; }
#f-camera:focus-visible ~ .drop__cam { outline: 2px solid var(--volt); outline-offset: 3px; }
@media (pointer: coarse) { .drop__cam { display: inline-flex; } }
.files { list-style: none; display: grid; gap: 8px; margin-top: 12px; }
.files:empty { display: none; }
.file {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 8px 8px 10px;
  border: 1px solid var(--volt-a2); border-radius: 10px; background: rgba(255, 224, 74, .04);
}
.file__thumb {
  width: 38px; height: 38px; flex: none; border-radius: 6px; object-fit: cover;
  display: grid; place-items: center; background: var(--surface-2);
  font: 600 .6rem/1 var(--f-mono); color: var(--volt); letter-spacing: .08em;
}
.file__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: .9rem; color: var(--text); }
.file__size { font: 500 .72rem/1 var(--f-mono); color: var(--muted); white-space: nowrap; }
.file__rm {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: 8px; background: none; color: var(--text-2); cursor: pointer;
  font-size: 1.1rem; line-height: 1;
}
.file__rm:hover { border-color: var(--err); color: var(--err); }
.drop__msg { margin-top: 8px; font-size: .85rem; color: var(--err); }
.drop__msg:empty { display: none; }
.drop__note { margin-top: 12px; font-size: .84rem; color: var(--muted); }

/* Campos */
.fields { display: grid; gap: 16px; align-content: start; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: 7px; padding: 0; font-size: .86rem; font-weight: 600; color: var(--text); }
.opt { font-weight: 400; color: var(--muted); }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px;
  border: 1px solid var(--line-2); border-radius: 10px;
  background: var(--field); color: var(--text);
  font-size: 1rem; line-height: 1.4;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 92px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgba(255, 224, 74, .2); }
.field [aria-invalid="true"] { border-color: var(--err); }
.field__err { margin-top: 6px; font-size: .82rem; color: var(--err); }
.field__err:empty { display: none; }

.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--field); }
.seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.seg label { display: grid; place-items: center; min-height: 42px; margin: 0; border-radius: 9px; font-size: .9rem; font-weight: 600; color: var(--text-2); cursor: pointer; transition: background-color .25s, color .25s; }
.seg input:checked + label { background: var(--volt); color: var(--volt-ink); }
.seg input:focus-visible + label { outline: 2px solid var(--volt); outline-offset: 2px; }

.field--check { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: start; }
.field--check input {
  appearance: none; -webkit-appearance: none;
  width: 24px; height: 24px; margin: 0; flex: none;
  display: grid; place-items: center;
  border: 1.5px solid var(--line-2); border-radius: 6px; background: var(--field); cursor: pointer;
}
.field--check input:checked { background: var(--volt); border-color: var(--volt); }
.field--check input:checked::after { content: ""; width: 11px; height: 6px; border-left: 2.5px solid var(--volt-ink); border-bottom: 2.5px solid var(--volt-ink); transform: translateY(-1px) rotate(-45deg); }
.field--check input[aria-invalid="true"] { border-color: var(--err); }
.field--check label { margin: 1px 0 0; font-size: .88rem; font-weight: 400; color: var(--text-2); }
.field--check label a { color: var(--text); }
.field--check .field__err { grid-column: 2; margin-top: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (min-width: 600px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .field--full { grid-column: 1 / -1; }
}
@media (min-width: 960px) {
  .panel { padding: 0 34px 34px; margin-top: 48px; }
  .panel__head { padding: 18px 0; }
  .form__grid { grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
  .drop__zone { min-height: 330px; }
}

/* El interruptor (palanca) */
.breaker {
  --lever: 92px;
  --pivot: calc(50% - var(--lever) / 2);
  --y: 58px;
  position: relative; height: 84px; margin: 22px -18px 8px;
}
.breaker__term {
  position: absolute; top: var(--y); width: 14px; height: 14px; margin-top: -7px;
  border: 2px solid var(--node-off); border-radius: 50%; background: var(--bg);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.breaker__term--a { left: -7px; }
.breaker__term--b { right: -7px; }
.breaker__term.is-on { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.breaker__wire { position: absolute; top: var(--y); height: 2px; margin-top: -1px; background: var(--wire-off); transition: background-color .4s, box-shadow .4s; }
.breaker__wire--a { left: 7px; width: calc(var(--pivot) - 7px); }
.breaker__wire--b { left: calc(var(--pivot) + var(--lever)); right: 7px; }
.breaker__pivot, .breaker__contact {
  position: absolute; top: var(--y); width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; border: 2px solid var(--node-off); background: var(--bg);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.breaker__pivot { left: var(--pivot); }
.breaker__contact { left: calc(var(--pivot) + var(--lever)); }
.breaker__lever {
  position: absolute; left: var(--pivot); top: var(--y);
  width: var(--lever); height: 4px; margin-top: -2px;
  border-radius: 4px; background: var(--text-2);
  transform-origin: 0 50%;
  transform: rotate(calc(var(--open, 1) * -30deg));
  transition: transform .55s var(--ease), background-color .4s, box-shadow .4s;
}
.breaker__ref {
  position: absolute; left: calc(var(--pivot) - 4px); top: calc(var(--y) + 14px);
  font: 600 .62rem/1 var(--f-mono); letter-spacing: .14em; color: var(--muted);
}
.breaker.is-armed .breaker__wire--a, .breaker.is-armed .breaker__pivot { border-color: var(--volt); }
.breaker.is-armed .breaker__wire--a { background: var(--volt); box-shadow: 0 0 10px rgba(255, 224, 74, .6); }
.breaker.is-armed .breaker__pivot { background: var(--volt); }
.breaker.is-armed .breaker__lever { background: var(--volt); box-shadow: 0 0 12px rgba(255, 224, 74, .55); }
.breaker.is-ready .breaker__contact { border-color: var(--volt); animation: arc 1.2s ease-in-out infinite; }
.breaker.is-sending .breaker__lever { animation: tremble .12s linear infinite; }
.breaker.is-closed .breaker__lever { transform: rotate(0deg); transition: transform .2s cubic-bezier(.6, 0, .9, .4); }
.breaker.is-closed .breaker__contact,
.breaker.is-closed .breaker__term--b { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 14px var(--volt); animation: none; }
.breaker.is-closed .breaker__wire--b { background: var(--volt); box-shadow: 0 0 10px rgba(255, 224, 74, .6); transition-delay: .15s; }
@keyframes arc { 50% { box-shadow: 0 0 0 4px rgba(255, 224, 74, .12), 0 0 18px rgba(255, 224, 74, .8); } }
@keyframes tremble {
  0% { transform: rotate(calc(var(--open) * -30deg - 1.5deg)); }
  50% { transform: rotate(calc(var(--open) * -30deg + 1.5deg)); }
  100% { transform: rotate(calc(var(--open) * -30deg - 1.5deg)); }
}
@media (min-width: 960px) {
  .breaker { --lever: 120px; --y: 66px; height: 96px; margin: 30px -34px 10px; }
}

.panel__submit { display: grid; gap: 10px; max-width: 520px; margin-inline: auto; }
.form__error { font-size: .9rem; color: var(--err); text-align: center; }
.form__error:empty { display: none; }
.form__fine { text-align: center; font: 500 .66rem/1.5 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.panel.is-done .panel__submit .btn { display: none; }

.success { padding: 10px 6px 4px; text-align: center; }
.success:focus { outline: none; }
.success__kicker { font: 600 .7rem/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--volt); }
.success__title { max-width: 22ch; margin: 14px auto 12px; font-size: clamp(1.6rem, 1.1rem + 2.2vw, 2.6rem); font-stretch: 108%; text-shadow: 0 0 40px rgba(255, 224, 74, .25); }
.success__text { color: var(--text-2); }
.success__text a { color: var(--text); }
.success__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 16px; margin-top: 22px; }

/* ---------- 07 · Testimonios ---------- */
.quotes__scroller {
  margin: 40px calc(-1 * var(--pad-r)) 0 0;
  padding: 4px var(--pad-r) 12px 0;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
}
.quotes__scroller::-webkit-scrollbar { display: none; }
.quotes__list { list-style: none; display: grid; grid-auto-flow: column; grid-auto-columns: min(86%, 360px); gap: 14px; }
.quote { scroll-snap-align: start; }
.quote figure { margin: 0; height: 100%; display: flex; flex-direction: column; gap: 18px; padding: 24px 22px; }
.quote__head { display: flex; align-items: center; gap: 10px; }
.quote .led { background: var(--node-off); box-shadow: none; transition: background .4s calc(var(--i) * 220ms + 150ms), box-shadow .4s calc(var(--i) * 220ms + 150ms); }
.is-live .quote .led { background: var(--volt); box-shadow: 0 0 10px var(--volt); }
.quote__meta { font: 600 .66rem/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.quote blockquote { margin: 0; flex: 1; color: var(--text); font-size: .98rem; line-height: 1.62; }
.quote blockquote p::before { content: "“"; display: block; height: .5em; margin-bottom: .2em; font: 800 2.6rem/1 var(--f-sans); color: var(--volt); }
.quote figcaption { display: flex; flex-direction: column; gap: 2px; padding-top: 16px; border-top: 1px solid var(--line); }
.quote figcaption strong { color: var(--text); font-weight: 700; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }
@media (min-width: 960px) {
  .quotes__scroller { margin-right: 0; padding-right: 0; overflow: visible; }
  .quotes__list { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

/* ---------- 08 · Equipo ---------- */
.team__layout { display: grid; gap: 36px; }
.team__grid { list-style: none; display: grid; gap: 18px; }
.person { overflow: hidden; }
.person__photo { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 16%; filter: grayscale(1) contrast(1.06); }
.person__photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(255, 224, 74, .22), transparent 40%);
  mix-blend-mode: screen; opacity: 0; transition: opacity 1s calc(var(--i) * 200ms + 200ms);
}
.is-live .person__photo::after { opacity: 1; }
.person__body { padding: 20px 22px 24px; }
.person h3 { font-size: 1.35rem; font-stretch: 106%; }
.person__role { margin: 8px 0 10px; font: 600 .68rem/1.4 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--volt); }
@media (min-width: 640px) { .team__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1080px) {
  .team__layout { grid-template-columns: .85fr 1.4fr; gap: 56px; align-items: start; }
  .team__intro { position: sticky; top: calc(var(--header-h) + 40px); }
}

/* ---------- 09 · Colaboradores ---------- */
.partners__grid {
  list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  margin-top: 40px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.slot { position: relative; display: flex; align-items: center; justify-content: center; min-height: 84px; padding: 14px 12px; text-align: center; background: var(--bg-2); }
/* Logos en blanco monocromo; --h iguala el peso visual entre logos anchos y compactos */
.slot__logo {
  width: auto; max-width: 82%; height: calc(var(--h) * .74); object-fit: contain;
  filter: brightness(0) invert(1); opacity: .5;
  transition: opacity .5s calc(var(--i) * 70ms);
}
.slot__led {
  position: absolute; top: 10px; right: 10px; width: 5px; height: 5px; border-radius: 50%;
  background: var(--node-off); transition: background-color .4s calc(var(--i) * 70ms), box-shadow .4s calc(var(--i) * 70ms);
}
.is-live .slot__logo { opacity: .92; }
.is-live .slot__led { background: var(--volt); box-shadow: 0 0 8px var(--volt); }
@media (min-width: 720px) {
  .partners__grid { grid-template-columns: repeat(4, 1fr); }
  .slot { min-height: 112px; }
  .slot__logo { height: var(--h); max-width: 72%; }
}

/* ---------- 10 · Destino / Footer ---------- */
.footer {
  padding: 100px 0 0;
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .4) 70%);
}
.final__title { max-width: 18ch; }
.final .btn { margin-top: 30px; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 20px; font-size: .9rem; color: var(--text-2); }
.ticks li { display: flex; align-items: center; gap: .55em; }
.ticks li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--volt); box-shadow: 0 0 8px var(--volt); }

.dest { position: relative; margin-top: 88px; }
.dest__term {
  position: absolute; top: 0; width: 14px; height: 14px; margin-top: -7px;
  border: 2px solid var(--node-off); border-radius: 50%; background: var(--bg);
  transition: border-color .4s, background-color .4s, box-shadow .4s;
}
.dest__term--l { left: -7px; }
.dest__term--r { right: -7px; }
.dest__term.is-on { border-color: var(--volt); background: var(--volt); box-shadow: 0 0 12px var(--volt); }
.dest__via { position: absolute; top: 0; left: calc(100% + var(--rail-r-off)); width: 2px; height: 2px; margin: -1px 0 0 -1px; }
.dest__line { position: absolute; left: 7px; right: 7px; top: 0; height: 2px; margin-top: -1px; background: var(--wire-off); transition: background-color .6s .2s, box-shadow .6s .2s; }
.is-closed .dest__line { background: var(--volt); box-shadow: 0 0 12px rgba(255, 224, 74, .6); }
.dest__loads { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.load { position: relative; margin: 0; text-align: center; }
.load svg { width: 100%; max-width: 230px; height: auto; margin-inline: auto; overflow: visible; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.load .o { stroke: var(--node-off); transition: stroke .6s; }
.load .lead { stroke: var(--wire-off); transition: stroke .5s .3s; }
.load .win { fill: rgba(255, 255, 255, .02); stroke: var(--node-off); transition: fill .8s 1s, stroke .6s; }
.load .sign { fill: none; stroke: var(--node-off); transition: fill .6s .9s, stroke .6s; }
.load .beam { fill: rgba(255, 224, 74, 0); stroke: none; transition: fill .6s 1.4s; }
.load .leds circle { fill: #1c2635; stroke: none; transition: fill .3s calc(var(--d) * 70ms + .6s); }
.load figcaption { margin-top: 10px; font: 600 .64rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); transition: color .6s 1s; }
.is-closed .load .o { stroke: var(--text); }
.is-closed .load .lead { stroke: var(--volt); }
.is-closed .load .win { fill: rgba(255, 224, 74, .32); stroke: var(--volt); }
.is-closed .load .sign { fill: rgba(255, 224, 74, .85); stroke: var(--volt); }
.is-closed .load .beam { fill: rgba(255, 224, 74, .28); }
.is-closed .load .leds circle { fill: var(--volt); }
.is-closed .load svg { filter: drop-shadow(0 0 8px rgba(255, 224, 74, .45)); }
.is-closed .load figcaption { color: var(--volt); }
@media (prefers-reduced-motion: no-preference) {
  .is-closed .load .leds circle { animation: twinkle 2.6s ease-in-out infinite; animation-delay: calc(var(--d) * 110ms + 2s); }
}
@keyframes twinkle { 50% { fill: #fff6c0; } }

.dest__status { margin-top: 26px; text-align: center; font-family: var(--f-tag); font-size: clamp(1.1rem, 1rem + .8vw, 1.5rem); color: var(--muted); }
.dest__status span { display: inline-block; transform: rotate(-2deg); }
.dest__on { display: none !important; color: var(--volt); }
.is-closed .dest__open { display: none; }
.is-closed .dest__on { display: inline-block !important; }

.footer__grid { display: grid; gap: 32px; margin-top: 88px; padding: 40px 0; border-top: 1px solid var(--line); }
.footer__brand p { margin-top: 16px; max-width: 34ch; font-size: .92rem; }
.footer__h { margin-bottom: 14px; font: 600 .68rem/1 var(--f-mono); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.footer__list { list-style: none; display: grid; gap: 10px; }
.footer__list a { display: inline-flex; align-items: center; gap: .6em; min-height: 32px; color: var(--text); text-decoration: none; }
.footer__list a:hover { color: var(--volt); }
.footer__list .ico { color: var(--muted); }
.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px;
  padding: 20px 0 30px; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted);
}
@media (min-width: 860px) { .footer__grid { grid-template-columns: 1.3fr 1fr 1fr; } }
@media (min-width: 960px) {
  .footer { padding-top: 140px; }
  .dest { margin-top: 120px; }
  .dest__loads { gap: 40px; padding-inline: 4%; }
}

/* ---------- Subpáginas (legal, FAQ) ---------- */
.sub { padding: 64px 0 96px; }
.sub .wrap { max-width: 820px; }
.sub h1 { font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem); font-stretch: 108%; margin-bottom: 22px; }
.sub h2 { font-size: 1.3rem; margin: 40px 0 12px; }
.sub p + p { margin-top: 14px; }
.notice { margin: 24px 0; padding: 18px 20px; border: 1px dashed rgba(255, 224, 74, .4); border-radius: 12px; background: rgba(255, 224, 74, .04); color: var(--text); }
.faq { display: grid; gap: 10px; margin-top: 32px; }
.faq details { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 700; color: var(--text); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 600 1.2rem/1 var(--f-mono); color: var(--volt); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 20px 20px; }
.sub-footer { padding: 26px 0 40px; border-top: 1px solid var(--line); font-size: .85rem; color: var(--muted); }
.sub-footer .wrap { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.sub-footer a { color: var(--text-2); }
.page-sub .wrap { padding-inline: 20px; }
@media (min-width: 960px) { .page-sub .wrap { padding-inline: 0; } }

/* ---------- Movimiento reducido: versión estática ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
}
.is-reduced *, .is-reduced *::before, .is-reduced *::after { transition-duration: .01ms !important; transition-delay: 0s !important; animation: none !important; }
.is-reduced { scroll-behavior: auto; }
