/* ============================================================
   Electro Gipa — service técnico y electricista matriculado
   Concepto: el tablero. Las térmicas encienden el hero y
   sirven para armar la consulta.
   ============================================================ */

:root {
  --ink: #060E22;
  --navy: #0A1631;
  --navy-2: #102552;
  --navy-3: #18336D;
  --blue: #1F6FD0;
  --orange: #F26B12;
  --orange-2: #F58A1F;
  --amber: #FFC23A;
  --yellow: #FFD54A;
  --wall: #F1EEE8;
  --paper: #FAF8F4;
  --steel: #DCE0E6;
  --steel-2: #B8BFC9;
  --steel-3: #8D96A3;
  --text: #13203B;
  --muted: #5A6478;
  --red: #E0442B;
  --ok: #2FBF71;

  --f-display: "Saira Condensed", "Arial Narrow", sans-serif;
  --f-body: "Golos Text", system-ui, sans-serif;
  --f-mono: "Sometype Mono", ui-monospace, monospace;

  --gut: clamp(18px, 5vw, 72px);
  --max: 1240px;
  --r: 14px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text);
  background: var(--paper);
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { margin: 0; font-family: var(--f-display); line-height: .95; letter-spacing: .005em; }
p { margin: 0; }
em { font-style: normal; }
[hidden] { display: none !important; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 14px; border-radius: 8px; font-weight: 700;
}
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px;
  border-radius: 999px; border: 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.28rem; letter-spacing: .03em; text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn svg { width: 24px; height: 24px; flex: none; }
.btn--main {
  background: linear-gradient(180deg, #FF8A2A 0%, var(--orange) 100%);
  color: #fff;
  box-shadow: 0 10px 28px -10px rgba(242, 107, 18, .8), inset 0 1px 0 rgba(255,255,255,.35);
}
.btn--main:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -12px rgba(242, 107, 18, .95), inset 0 1px 0 rgba(255,255,255,.35); }
.btn--amber { background: var(--amber); color: var(--ink); box-shadow: 0 10px 28px -12px rgba(255, 194, 58, .9); }
.btn--amber:hover { transform: translateY(-2px); }
.btn--ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgba(255,255,255,.4); }
.btn--ghost:hover { box-shadow: inset 0 0 0 2px var(--amber); color: var(--amber); }

.secnum {
  display: block;
  font-family: var(--f-mono); font-weight: 700; font-size: .85rem; letter-spacing: .12em;
  color: var(--orange);
  margin-bottom: 14px;
}
.secnum::before { content: "CIRCUITO "; color: var(--steel-3); }
.secnum--light::before { color: rgba(255,255,255,.45); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 14px var(--gut);
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
}
.nav.is-solid {
  background: rgba(6, 14, 34, .96);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -18px rgba(0,0,0,.6);
  padding-top: 10px; padding-bottom: 10px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; }
.brand--seal { position: relative; width: 96px; height: 52px; flex: none; transition: width .3s ease; }
.brand__seal {
  position: absolute; left: 0; top: -6px;
  width: 96px; height: 96px;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
  transition: width .3s ease, height .3s ease, top .3s ease;
}
.nav.is-solid .brand--seal { width: 68px; }
.nav.is-solid .brand__seal { width: 68px; height: 68px; top: -4px; }
.brand__bolt { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 170, 40, .35)); }
.brand__name {
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; letter-spacing: .04em; line-height: 1;
}
.brand__name b { color: var(--amber); margin-left: .22em; font-weight: 800; }
.nav__links { display: flex; align-items: center; gap: 26px; }
.nav__links a {
  font-family: var(--f-display); font-weight: 600; font-size: 1.08rem; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.82); text-decoration: none;
}
.nav__links a:hover { color: var(--amber); }
.nav__links .nav__wa {
  color: var(--ink); background: var(--amber);
  padding: 8px 16px; border-radius: 999px;
}
.nav__links .nav__wa:hover { color: var(--ink); background: var(--yellow); }
.nav__burger {
  display: none; width: 46px; height: 46px; border-radius: 12px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.16);
  position: relative;
}
.nav__burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .25s ease, top .25s ease;
}
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 22px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 108px var(--gut) clamp(40px, 8vh, 80px);
  background:
    radial-gradient(70% 60% at 30% 55%, rgba(31, 111, 208, .28), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--navy) 55%, var(--navy-2) 100%);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.hero__rings { position: absolute; z-index: -1; left: 2%; top: 50%; width: min(980px, 95vw); aspect-ratio: 1; transform: translateY(-46%); pointer-events: none; }
.hero__rings i {
  position: absolute; inset: 0; border-radius: 50%;
  border: 14px solid var(--orange);
  opacity: .16;
}
.hero__rings i:nth-child(2) { inset: 26px; border-width: 8px; border-color: var(--amber); opacity: .14; }
.hero__rings i:nth-child(3) { inset: 120px; border-width: 1px; border-color: rgba(255,255,255,.25); border-style: dashed; opacity: .5; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.hero__grid {
  position: relative;
  width: 100%; max-width: var(--max); margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 76px);
  align-items: center;
}
.hero__copy { order: 2; min-width: 0; }
.board { order: 1; min-width: 0; }

.kicker {
  display: flex; align-items: center; flex-wrap: wrap; gap: 12px;
  margin-bottom: 22px;
  font-family: var(--f-mono); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.8);
}
.reading {
  display: inline-flex; align-items: baseline; gap: 1px;
  padding: 6px 10px 5px;
  background: #A9C7A0;
  color: #13221A;
  border-radius: 5px;
  box-shadow: inset 0 0 0 2px #23262c, inset 0 3px 8px rgba(0,0,0,.25);
  font-family: var(--f-mono); font-weight: 700; font-size: 1rem; letter-spacing: .02em;
  min-width: 82px; justify-content: center;
}
.reading em { margin-left: 2px; }

.hero__title {
  font-weight: 800;
  font-size: clamp(2.9rem, 6.3vw, 5.9rem);
  text-transform: uppercase;
  line-height: .9;
  margin-bottom: 22px;
}
.hero__title .ln { display: block; white-space: nowrap; max-width: 100%; }
.hero__title .ln--on { color: rgba(255,255,255,.32); transition: color .9s ease, text-shadow .9s ease; }
.hero__title .ln--on em { color: inherit; transition: color .9s ease; }
.is-lit .hero__title .ln--on { color: #fff; }
.is-lit .hero__title .ln--on em {
  color: var(--amber);
  text-shadow: 0 0 22px rgba(255, 194, 58, .55), 0 0 60px rgba(242, 107, 18, .45);
}
.hero__lead {
  max-width: 520px;
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 30px;
}
.hero__lead strong { color: #fff; font-weight: 600; }
.hero__cta { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 22px; }
.hero__phone {
  font-family: var(--f-display); font-weight: 700; font-size: 1.4rem; letter-spacing: .04em;
  text-decoration: none; color: #fff;
}
.hero__phone span { display: block; font-family: var(--f-mono); font-size: .72rem; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero__phone:hover { color: var(--amber); }

/* El tablero */
.board {
  position: relative;
  padding: 18px 18px 14px;
  border-radius: 20px;
  background:
    linear-gradient(160deg, #EEF1F5 0%, var(--steel) 40%, #C3CAD3 100%);
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,.75),
    0 0 0 1px rgba(255,255,255,.5) inset,
    0 -3px 0 rgba(0,0,0,.12) inset;
  color: var(--text);
}
.screw {
  position: absolute; width: 12px; height: 12px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #9aa3ae 60%, #6d7682);
  box-shadow: 0 1px 1px rgba(0,0,0,.3);
}
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 2px; background: #5b636e; transform: rotate(35deg); border-radius: 1px; }
.s1 { left: 9px; top: 9px; } .s2 { right: 9px; top: 9px; } .s3 { left: 9px; bottom: 9px; } .s4 { right: 9px; bottom: 9px; }
.board__plate {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 14px 12px;
  padding: 6px 12px;
  background: var(--navy);
  border-radius: 6px;
  font-family: var(--f-mono); font-size: .74rem; font-weight: 700; letter-spacing: .14em;
  color: rgba(255,255,255,.75);
}
.board__state { color: var(--red); transition: color .4s ease; }
.board__state::before { content: "● "; }
.is-lit .board__state { color: var(--ok); }

.board__window {
  position: relative;
  aspect-ratio: 16 / 9.6;
  border-radius: 10px;
  overflow: hidden;
  background: #0b1020;
  box-shadow: inset 0 0 0 3px #1a1f29, inset 0 8px 20px rgba(0,0,0,.4);
}
.board__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.board__dark {
  position: absolute; inset: 0;
  background: radial-gradient(60% 70% at 50% 45%, rgba(6,14,34,.82), rgba(6,14,34,.96));
  transition: opacity 1.1s ease;
}
.is-lit .board__dark { opacity: 0; }
.board__window::after {
  /* reflejo del vidrio */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.08) 100%);
  box-shadow: inset 0 0 0 3px #1a1f29;
  border-radius: 10px;
}
.board__tag {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em;
  color: rgba(255,255,255,.85); background: rgba(6,14,34,.55); padding: 3px 7px; border-radius: 4px;
}

.rail {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 16px 6px 0;
  padding: 12px 10px 0;
}
.rail::before {
  /* riel DIN */
  content: ""; position: absolute; left: -4px; right: -4px; top: 36%; height: 16px;
  background: repeating-linear-gradient(90deg, #aab2bd 0 22px, #8e97a3 22px 26px);
  border-radius: 2px;
  box-shadow: inset 0 2px 0 rgba(255,255,255,.5), 0 2px 3px rgba(0,0,0,.2);
}
.brk {
  position: relative;
  display: grid; justify-items: center; gap: 8px;
  padding: 0; background: none; border: 0;
}
.brk__body {
  position: relative;
  width: 100%; max-width: 70px; aspect-ratio: .62;
  border-radius: 7px;
  background: linear-gradient(180deg, #FDFDFB, #E4E4DF);
  border: 1px solid #A9AEB6;
  box-shadow: 0 6px 10px -6px rgba(0,0,0,.45), inset 0 1px 0 #fff;
}
.brk__body::before {
  content: ""; position: absolute; left: 27%; right: 27%; top: 20%; bottom: 20%;
  background: #1D222B; border-radius: 4px;
  box-shadow: inset 0 2px 4px rgba(0,0,0,.6);
}
.brk__body::after {
  /* ventanita de estado */
  content: ""; position: absolute; left: 36%; right: 36%; top: 7%; height: 7%;
  background: var(--red); border-radius: 2px;
  transition: background .3s ease;
}
.brk__lever {
  position: absolute; left: 21%; right: 21%; height: 28%;
  top: 50%;
  border-radius: 4px;
  background: linear-gradient(180deg, #FF9A3C, var(--orange) 60%, #C9520A);
  box-shadow: 0 3px 5px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.45);
  transition: top .28s cubic-bezier(.5, -0.4, .3, 1.5);
}
.brk.on .brk__lever { top: 22%; }
.brk.on .brk__body::after { background: var(--ok); }
.brk__led {
  position: absolute; top: -2px; right: calc(50% - 30px);
  width: 7px; height: 7px; border-radius: 50%;
  background: #4a515d;
  transition: background .3s ease, box-shadow .3s ease;
}
.brk.on .brk__led { background: var(--amber); box-shadow: 0 0 8px 2px rgba(255,194,58,.8); }
.brk__lbl {
  font-family: var(--f-mono); font-weight: 700; font-size: .66rem; letter-spacing: .04em; text-transform: uppercase;
  line-height: 1.15; text-align: center;
  color: var(--navy);
  hyphens: manual;
}
.brk:hover .brk__body { box-shadow: 0 0 0 3px var(--amber), 0 6px 10px -6px rgba(0,0,0,.45); }
.board__hint {
  margin-top: 12px; text-align: center;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted);
}
.board__hint::before { content: "↑ "; color: var(--orange); }

/* ---------- Cable (marquesina) ---------- */
.cable {
  position: relative;
  background: linear-gradient(180deg, #FF8A2A, var(--orange) 55%, #D9590C);
  color: var(--ink);
  overflow: hidden;
  border-top: 3px solid #08132a;
  border-bottom: 3px solid #08132a;
}
.cable__track {
  display: flex; align-items: center; gap: 22px; width: max-content;
  padding: 13px 0;
  animation: marquee 38s linear infinite;
}
.cable__track span {
  font-family: var(--f-display); font-weight: 800; font-size: 1.35rem; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap;
}
.cable__track i {
  width: 14px; height: 18px; flex: none;
  background: var(--ink);
  clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%);
}
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Herramienta ---------- */
.tool {
  padding: clamp(70px, 10vw, 130px) var(--gut);
  background:
    linear-gradient(180deg, var(--wall), var(--paper));
}
.tool__head, .tool__grid { max-width: var(--max); margin: 0 auto; }
.tool__head {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 16px 60px; align-items: end;
  margin-bottom: clamp(30px, 5vw, 56px);
}
.tool__head .secnum { grid-column: 1 / -1; margin-bottom: 0; }
.tool__head h2 {
  font-size: clamp(2.6rem, 5.4vw, 4.6rem); font-weight: 800; text-transform: uppercase; color: var(--navy);
}
.tool__head h2 span { display: block; color: var(--orange); font-size: .62em; margin-top: 8px; }
.tool__head p { color: var(--muted); font-size: 1.05rem; max-width: 440px; }

.tool__grid {
  display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.6fr); gap: clamp(20px, 3vw, 36px);
  align-items: start;
}
.tool__media {
  margin: 0; position: relative;
  border-radius: var(--r); overflow: hidden;
  background: var(--navy);
  box-shadow: 0 30px 60px -36px rgba(10,22,49,.7);
  position: sticky; top: 92px;
}
.tool__media video { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tool__media figcaption {
  padding: 16px 18px 18px; color: rgba(255,255,255,.85); font-size: .95rem; line-height: 1.45;
}
.tool__media figcaption b { color: var(--amber); }
.tool__media figcaption span { display: block; margin-top: 8px; font-family: var(--f-mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }

.panel {
  position: relative;
  padding: clamp(18px, 3vw, 32px);
  border-radius: 22px;
  background: linear-gradient(165deg, #F6F7F9, var(--steel) 70%, #CDD3DB);
  box-shadow: 0 30px 70px -40px rgba(10,22,49,.6), inset 0 0 0 1px rgba(255,255,255,.7), inset 0 -3px 0 rgba(0,0,0,.08);
}
.panel__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 18px; }
.panel__title { font-family: var(--f-mono); font-weight: 700; font-size: .8rem; letter-spacing: .16em; color: var(--navy-3); }
.meter {
  display: flex; align-items: baseline; gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  background: #F2B620;
  box-shadow: 0 6px 14px -8px rgba(0,0,0,.5);
}
.meter__lcd {
  min-width: 72px; padding: 4px 10px; border-radius: 4px; text-align: right;
  background: #A9C7A0; color: #13221A;
  box-shadow: inset 0 0 0 2px #23262c, inset 0 3px 8px rgba(0,0,0,.25);
  font-family: var(--f-mono); font-weight: 700; font-size: 1.5rem; line-height: 1;
}
.meter__unit { font-family: var(--f-mono); font-weight: 700; font-size: .72rem; letter-spacing: .1em; color: #2a2a2a; }

.panel__rail {
  position: relative;
  display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px;
  padding: 14px 10px;
  border-radius: 12px;
  background: #2A3140;
  box-shadow: inset 0 3px 10px rgba(0,0,0,.5);
}
.panel__rail::before {
  content: ""; position: absolute; left: 0; right: 0; top: 30%; height: 18px;
  background: repeating-linear-gradient(90deg, #8b94a1 0 22px, #6f7885 22px 26px);
  opacity: .9;
}
.pk {
  position: relative;
  display: grid; justify-items: center; gap: 10px;
  padding: 0 0 4px; border: 0; background: none;
}
.pk__sw {
  position: relative; display: block;
  width: 100%; max-width: 78px; aspect-ratio: .64;
  border-radius: 8px;
  background: linear-gradient(180deg, #FDFDFB, #E3E3DE);
  box-shadow: 0 8px 12px -8px rgba(0,0,0,.7), inset 0 1px 0 #fff;
}
.pk__sw::before {
  content: ""; position: absolute; left: 27%; right: 27%; top: 18%; bottom: 18%;
  background: #1D222B; border-radius: 5px; box-shadow: inset 0 2px 4px rgba(0,0,0,.6);
}
.pk__sw span {
  position: absolute; left: 21%; right: 21%; height: 28%; top: 21%;
  border-radius: 5px;
  background: linear-gradient(180deg, #4C5A78, var(--navy-3) 60%, #0F214A);
  box-shadow: 0 3px 5px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.35);
  transition: top .28s cubic-bezier(.5, -0.4, .3, 1.5), background .3s ease;
}
.pk__sw::after {
  content: "ON"; position: absolute; left: 0; right: 0; bottom: 4%;
  text-align: center; font-family: var(--f-mono); font-weight: 700; font-size: .58rem; color: var(--ok);
}
.pk[aria-pressed="true"] .pk__sw span { top: 51%; background: linear-gradient(180deg, #FF7A5C, var(--red) 60%, #A82A16); }
.pk[aria-pressed="true"] .pk__sw::after { content: "FALLA"; color: var(--red); }
.pk__txt {
  font-family: var(--f-display); font-weight: 700; font-size: 1.02rem; letter-spacing: .03em; text-transform: uppercase;
  color: #fff; text-align: center; line-height: 1.05;
}
.pk:hover .pk__sw { box-shadow: 0 0 0 3px var(--amber), 0 8px 12px -8px rgba(0,0,0,.7); }

.faults { display: grid; gap: 12px; margin: 18px 0; }
.faults__empty {
  padding: 16px 18px; border-radius: 12px;
  border: 2px dashed var(--steel-2);
  color: var(--muted); font-size: .98rem;
}
.fault {
  padding: 14px 16px 16px;
  border-radius: 12px;
  background: #fff;
  border-left: 5px solid var(--red);
  box-shadow: 0 10px 24px -18px rgba(10,22,49,.6);
  animation: drop .35s ease;
}
@keyframes drop { from { opacity: 0; transform: translateY(-6px); } }
.fault h3 { font-size: 1.3rem; font-weight: 700; text-transform: uppercase; color: var(--navy); margin-bottom: 10px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.fault h3 small { font-family: var(--f-mono); font-size: .66rem; letter-spacing: .1em; color: var(--red); font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  min-height: 40px; padding: 7px 14px;
  border-radius: 999px;
  border: 1.5px solid var(--steel-2);
  background: var(--paper);
  font-size: .92rem; font-weight: 500; line-height: 1.2;
  transition: background .2s ease, border-color .2s ease, color .2s ease;
}
.chip:hover { border-color: var(--navy-3); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip[aria-pressed="true"]::before { content: "✓ "; color: var(--amber); }

.panel__extra { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; }
.field > span { font-family: var(--f-mono); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--navy-3); }
.field > span em { text-transform: none; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.field input {
  min-height: 48px; padding: 10px 14px;
  border-radius: 10px; border: 1.5px solid var(--steel-2); background: #fff;
  font: inherit; font-size: 1rem; color: var(--text);
}
.field input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(242,107,18,.2); }
.field--chips { grid-column: 1 / -1; }

.panel__err {
  margin-top: 16px; padding: 10px 14px; border-radius: 10px;
  background: #FDE7E2; color: #9C2A17; font-weight: 600; font-size: .95rem;
}
.panel__send { display: flex; align-items: center; flex-wrap: wrap; gap: 14px 20px; margin-top: 20px; }
.panel__reset {
  background: none; border: 0; padding: 8px 2px;
  font-family: var(--f-mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  text-decoration: underline; text-underline-offset: 4px;
}
.panel__note { margin-top: 12px; font-size: .9rem; color: var(--muted); }

/* ---------- Servicios ---------- */
.svc { padding: clamp(70px, 10vw, 130px) var(--gut); background: var(--paper); }
.svc__head, .svc__bento { max-width: var(--max); margin: 0 auto; }
.svc__head { margin-bottom: clamp(28px, 4vw, 48px); }
.svc__head h2 { font-size: clamp(2.3rem, 4.6vw, 4rem); font-weight: 800; text-transform: uppercase; color: var(--navy); }

.svc__bento {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "big a b"
    "big wide wide";
  gap: 18px;
}
.plate--big { grid-area: big; }
.svc__bento .plate:nth-child(2) { grid-area: a; }
.svc__bento .plate:nth-child(3) { grid-area: b; }
.plate--wide { grid-area: wide; }

.plate {
  display: flex; flex-direction: column;
  border-radius: 16px; overflow: hidden;
  background: #fff;
  box-shadow: 0 24px 50px -36px rgba(10,22,49,.7), 0 0 0 1px rgba(10,22,49,.06);
  transition: transform .3s ease, box-shadow .3s ease;
}
.plate:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(10,22,49,.8), 0 0 0 1px rgba(242,107,18,.4); }
.plate__img { position: relative; overflow: hidden; aspect-ratio: 16 / 10; }
.plate__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.plate:hover .plate__img img { transform: scale(1.04); }
.plate--big .plate__img { aspect-ratio: auto; flex: 1; min-height: 300px; }
.plate--wide { flex-direction: row; }
.plate--wide .plate__img { flex: 0 0 42%; aspect-ratio: auto; }
.plate__data {
  position: relative;
  padding: 20px 22px 22px;
  /* placa de características: aluminio cepillado */
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.0) 0 2px, rgba(255,255,255,.35) 2px 3px),
    linear-gradient(180deg, #EEF0F3, #DADFE5);
  border-top: 1px solid #c4cad2;
}
.plate__data::before,
.plate__data::after {
  content: ""; position: absolute; top: 12px; width: 8px; height: 8px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff, #8f98a4);
}
.plate__data::before { left: 10px; } .plate__data::after { right: 10px; }
.plate__row {
  display: flex; justify-content: space-between; gap: 10px;
  padding: 0 0 8px; margin: 0 6px 12px;
  border-bottom: 1px dashed #9aa3af;
  font-family: var(--f-mono); font-size: .72rem; letter-spacing: .12em;
}
.plate__row span { color: var(--steel-3); }
.plate__row b { color: var(--navy); text-transform: uppercase; }
.plate h3 { font-size: clamp(1.6rem, 2.3vw, 2.1rem); font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 8px; }
.plate p { color: #3c465a; font-size: .98rem; margin-bottom: 14px; }
.plate__go {
  margin-top: auto;
  padding: 0; background: none; border: 0;
  font-family: var(--f-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .05em; text-transform: uppercase;
  color: var(--orange);
}
.plate__go span { display: inline-block; transition: transform .2s ease; }
.plate__go:hover span { transform: translateX(4px); }
.plate--wide .plate__data { display: flex; flex-direction: column; border-top: 0; border-left: 1px solid #c4cad2; padding: 26px 28px; }

/* ---------- Cargadores EV ---------- */
.ev {
  position: relative;
  padding: clamp(70px, 10vw, 130px) var(--gut);
  background:
    radial-gradient(60% 80% at 85% 30%, rgba(31,111,208,.3), transparent 70%),
    var(--navy);
  color: #fff;
  overflow: hidden;
}
.ev__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(30px, 5vw, 70px); align-items: center;
}
.ev h2 { font-size: clamp(2.3rem, 4.4vw, 3.9rem); font-weight: 800; text-transform: uppercase; margin-bottom: 18px; }
.ev h2 em { color: var(--amber); }
.ev__copy > p { color: rgba(255,255,255,.8); margin-bottom: 22px; max-width: 520px; }
.checks { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.checks label {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease;
}
.checks input {
  grid-row: span 2;
  appearance: none; -webkit-appearance: none;
  width: 30px; height: 30px; margin: 0;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4);
  background: radial-gradient(circle, transparent 0 4px, transparent 5px);
  cursor: pointer;
  position: relative;
  transition: border-color .2s ease, background .2s ease;
}
.checks input::before,
.checks input::after {
  /* las dos patitas del conector */
  content: ""; position: absolute; top: 8px; width: 4px; height: 9px; border-radius: 2px; background: rgba(255,255,255,.4);
}
.checks input::before { left: 7px; } .checks input::after { right: 7px; }
.checks input:checked { border-color: var(--amber); background: var(--amber); box-shadow: 0 0 14px rgba(255,194,58,.6); }
.checks input:checked::before, .checks input:checked::after { background: var(--ink); }
.checks label:has(input:checked) { background: rgba(255,194,58,.1); border-color: rgba(255,194,58,.5); }
.checks span { font-weight: 600; }
.checks small { color: rgba(255,255,255,.55); font-size: .85rem; }

.ev__media { margin: 0; position: relative; }
.ev__media img {
  width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover;
  border-radius: 200px 18px 18px 18px;
  box-shadow: 0 40px 80px -40px rgba(0,0,0,.8);
}
.ev__plug {
  position: absolute; left: -8%; right: -4%; bottom: -10%; width: 112%; height: 46%;
  fill: none; stroke: var(--orange); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1200; stroke-dashoffset: 1200;
  filter: drop-shadow(0 0 10px rgba(242,107,18,.6));
  pointer-events: none;
}
.ev__media.is-in .ev__plug { animation: plug 2.2s .3s ease forwards; }
@keyframes plug { to { stroke-dashoffset: 0; } }
.ev__media figcaption {
  position: absolute; right: 12px; top: 12px;
  font-family: var(--f-mono); font-size: .66rem; letter-spacing: .06em; color: rgba(255,255,255,.85);
  background: rgba(6,14,34,.55); padding: 3px 7px; border-radius: 4px;
}

/* ---------- Pablo ---------- */
.pablo { padding: clamp(70px, 10vw, 130px) var(--gut); background: var(--wall); overflow: hidden; }
.pablo__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: center;
}
.pablo__art { position: relative; max-width: 480px; justify-self: center; width: 100%; }
.pablo__ring {
  border-radius: 50%; overflow: hidden; aspect-ratio: 1;
  padding: 12px;
  background: conic-gradient(from 200deg, var(--orange), var(--amber), var(--orange-2), var(--orange));
  box-shadow: 0 0 0 6px var(--navy), 0 40px 70px -30px rgba(10,22,49,.7);
}
.pablo__ring img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; transform: scale(1.12); }
.spark {
  position: absolute; width: 22px; height: 30px;
  background: var(--amber);
  clip-path: polygon(60% 0, 0 58%, 42% 58%, 30% 100%, 100% 38%, 56% 38%);
  filter: drop-shadow(0 0 6px rgba(255,194,58,.8));
  animation: zap 2.8s ease-in-out infinite;
}
.sp1 { left: -2%; top: 18%; }
.sp2 { right: 2%; top: 6%; width: 30px; height: 40px; animation-delay: .9s; }
.sp3 { right: -3%; bottom: 20%; animation-delay: 1.7s; }
@keyframes zap { 0%, 70%, 100% { opacity: .2; transform: scale(.85); } 76% { opacity: 1; transform: scale(1.1); } 82% { opacity: .3; } 88% { opacity: 1; } }

.pablo h2 { font-size: clamp(2.4rem, 4.8vw, 4.2rem); font-weight: 800; text-transform: uppercase; color: var(--navy); margin-bottom: 18px; }
.pablo h2 em { color: var(--orange); display: block; }
.pablo__lead { font-size: 1.08rem; color: #3c465a; margin-bottom: 30px; max-width: 560px; }
.steps { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.steps li {
  counter-increment: s;
  position: relative;
  display: grid; grid-template-columns: 54px 1fr; column-gap: 16px;
  padding: 0 0 22px;
}
.steps li::before {
  content: counter(s);
  grid-row: span 2;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #fff, var(--steel) 55%, var(--steel-3));
  box-shadow: inset 0 0 0 3px var(--navy), 0 6px 12px -6px rgba(0,0,0,.4);
  font-family: var(--f-display); font-weight: 800; font-size: 1.5rem; color: var(--navy);
}
.steps li::after {
  /* cable entre bornes */
  content: ""; position: absolute; left: 25px; top: 56px; bottom: 0; width: 4px; background: var(--orange); border-radius: 2px;
}
.steps li:last-child::after { display: none; }
.steps b { font-family: var(--f-display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; color: var(--navy); padding-top: 6px; line-height: 1.1; }
.steps span { color: var(--muted); }

/* ---------- FAQ ---------- */
.faq {
  padding: clamp(70px, 10vw, 120px) var(--gut);
  background: var(--paper);
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 30px clamp(30px, 6vw, 90px);
  max-width: calc(var(--max) + 2 * var(--gut)); margin: 0 auto;
}
.faq__head h2 { font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; text-transform: uppercase; color: var(--navy); }
.faq__list { display: grid; gap: 12px; }
.faq details {
  border-radius: 14px; background: #fff;
  box-shadow: 0 0 0 1px rgba(10,22,49,.08);
  transition: box-shadow .2s ease;
}
.faq details[open] { box-shadow: 0 0 0 2px var(--orange); }
.faq summary {
  list-style: none; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 18px 20px;
  font-weight: 700; font-size: 1.05rem; color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 34px; height: 20px; border-radius: 10px;
  background: var(--steel); box-shadow: inset 0 0 0 2px var(--steel-2);
  background-image: radial-gradient(circle at 10px 10px, #fff 0 6px, transparent 7px);
  transition: background-color .2s ease, background-position .2s ease;
}
.faq details[open] summary::after { background-color: var(--orange); background-position: 14px 0; box-shadow: none; }
.faq details p { padding: 0 20px 20px; color: #3c465a; }

/* ---------- Cierre ---------- */
.close {
  position: relative;
  padding: clamp(70px, 10vw, 130px) var(--gut);
  background: linear-gradient(180deg, var(--navy-2), var(--ink));
  color: #fff;
  overflow: hidden; isolation: isolate;
}
.close__rings { position: absolute; z-index: -1; right: -10%; top: 50%; width: min(900px, 120vw); aspect-ratio: 1; transform: translateY(-50%); }
.close__rings i { position: absolute; inset: 0; border-radius: 50%; border: 12px solid var(--orange); opacity: .12; }
.close__rings i + i { inset: 30px; border-width: 6px; border-color: var(--amber); }
.close__grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(30px, 6vw, 90px); align-items: center;
}
.close__seal { width: 100%; max-width: 420px; justify-self: center; filter: drop-shadow(0 30px 50px rgba(0,0,0,.5)); }
.close h2 { font-size: clamp(2.6rem, 5.4vw, 4.8rem); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
.close h2 em { color: var(--amber); }
.close__num {
  display: inline-block; margin-bottom: 26px;
  font-family: var(--f-display); font-weight: 800; font-size: clamp(2.4rem, 5.5vw, 4.6rem); letter-spacing: .02em;
  text-decoration: none; color: #fff;
  border-bottom: 4px solid var(--orange);
  line-height: 1.05;
}
.close__num:hover { color: var(--amber); }
.close__cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,.65); padding: 34px var(--gut) calc(34px + env(safe-area-inset-bottom)); }
.foot__in { max-width: var(--max); margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; font-size: .9rem; }
.foot__in a { color: #fff; }
.brand--foot .brand__bolt { width: 32px; height: 32px; }
.brand--foot .brand__name { font-size: 1.25rem; }
.foot__tpy a { color: var(--amber); font-weight: 600; text-decoration: none; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.5);
  opacity: 0; transform: translateY(20px) scale(.9); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.wa-float svg { width: 32px; height: 32px; }
.wa-float.is-on { opacity: 1; transform: none; pointer-events: auto; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .nav__links { gap: 18px; }
  .nav__links a:not(.nav__wa) { font-size: 1rem; }
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

@media (max-width: 900px) {
  .nav__burger { display: block; }
  .nav__links {
    position: fixed; inset: 0 0 auto 0; top: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 84px var(--gut) 26px;
    background: var(--ink);
    box-shadow: 0 30px 50px -20px rgba(0,0,0,.6);
    transform: translateY(-105%); transition: transform .35s ease;
    z-index: -1;
  }
  .nav__links.is-open { transform: none; }
  .nav__links a { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 1.3rem !important; }
  .nav__links .nav__wa { margin-top: 16px; text-align: center; border-bottom: 0; padding: 14px; }

  .hero { min-height: auto; padding-top: 96px; }
  .hero__grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hero__copy { order: 1; }
  .board { order: 2; max-width: 640px; width: 100%; justify-self: center; }
  .hero__rings { left: auto; right: -40%; top: 62%; width: 130vw; }

  .tool__head { grid-template-columns: minmax(0, 1fr); }
  .tool__grid { grid-template-columns: minmax(0, 1fr); }
  .tool__media { position: relative; top: 0; display: grid; grid-template-columns: 40% 1fr; align-items: center; }
  .tool__media video { aspect-ratio: 4 / 5; height: 100%; }

  .svc__bento { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "big big" "a b" "wide wide"; }
  .plate--big .plate__img { min-height: 0; aspect-ratio: 16 / 9; flex: none; }

  .ev__grid, .pablo__grid, .close__grid { grid-template-columns: minmax(0, 1fr); }
  .ev__media { order: -1; max-width: 640px; }
  .pablo__art { max-width: 360px; }
  .faq { grid-template-columns: minmax(0, 1fr); }
  .close__seal { max-width: 300px; }
}

@media (max-width: 768px) {
  body { font-size: 16px; }
  .plate--wide { flex-direction: column; }
  .plate--wide .plate__img { flex: none; aspect-ratio: 16 / 10; }
  .plate--wide .plate__data { border-left: 0; border-top: 1px solid #c4cad2; padding: 20px 22px 22px; }
  .panel__extra { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 600px) {
  .panel__rail { grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px; }
  .panel__rail::before { display: none; }
  .pk {
    grid-template-columns: 46px 1fr; justify-items: start; align-items: center; gap: 14px;
    padding: 6px 8px; border-radius: 10px; background: rgba(255,255,255,.04);
  }
  .pk__sw { width: 46px; }
  .pk__sw::after { font-size: .5rem; }
  .pk__txt { text-align: left; font-size: 1.15rem; }
  .pk[aria-pressed="true"] { background: rgba(224,68,43,.18); }
  .svc__bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "big" "a" "b" "wide"; }
  .tool__media { grid-template-columns: 38% 1fr; }
  .tool__media figcaption { font-size: .88rem; padding: 12px 14px; }
}

@media (max-width: 600px) {
  .kicker__long { display: none; }
  .hero { padding-top: 116px; padding-bottom: 44px; }
  .hero__grid { gap: 28px; }
  .hero__title { margin-bottom: 16px; }
  .hero__lead { margin-bottom: 22px; }
  .board__window { aspect-ratio: 16 / 9; }
}

@media (max-width: 480px) {
  .brand--seal, .brand__seal { width: 78px; }
  .brand__seal { height: 78px; top: -4px; }
  .nav.is-solid .brand--seal, .nav.is-solid .brand__seal { width: 60px; }
  .nav.is-solid .brand__seal { height: 60px; }
  .hero { padding-top: 104px; }
  .brand__name { font-size: 1.3rem; }
  .brand__bolt { width: 36px; height: 36px; }
  .kicker { gap: 10px; font-size: .72rem; }
  .hero__title { font-size: clamp(2.3rem, 11.4vw, 3.2rem); }
  .hero__cta { gap: 12px 16px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .hero__phone { display: flex; align-items: baseline; gap: 8px; font-size: 1.3rem; }
  .hero__phone span { display: inline; }
  .board { padding: 14px 12px 12px; border-radius: 16px; }
  .board__plate { margin: 0 8px 10px; font-size: .66rem; }
  .rail { gap: 5px; margin: 12px 0 0; padding: 10px 2px 0; }
  .brk__lbl { font-size: .56rem; }
  .brk__led { right: calc(50% - 22px); }
  .panel { border-radius: 18px; }
  .meter__lcd { font-size: 1.25rem; min-width: 56px; }
  .close__cta .btn { flex: 1 1 100%; }
  .wa-float { width: 56px; height: 56px; right: 14px; }
}

/* ---------- Movimiento reducido y modo QA ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
.qa .reveal { opacity: 1; transform: none; transition: none; }
.qa .hero { min-height: 900px; }
.qa .cable__track { animation: none; }
