/* Fuentes servidas desde el propio servidor (Sora, Manrope, Comfortaa; subconjuntos latin y latin-ext) */
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/comfortaa-latin-ext-6b6d67.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Comfortaa';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/comfortaa-latin-bd280f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-ext-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-cf48e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-ext-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-cf48e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-ext-b4290e.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fuentes/manrope-latin-cf48e3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-ext-f9e5e3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-4fa0aa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-ext-f9e5e3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-4fa0aa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-ext-f9e5e3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-4fa0aa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-ext-f9e5e3.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(/assets/fuentes/sora-latin-4fa0aa.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Electroeve · grafito, naranja eléctrico y amarillo solar */
:root {
  --negro: #0b0c0f; --carbon: #121419; --panel: #181b22; --linea: #262a33; --linea-2: #333845;
  --texto: #ecedf0; --tenue: #9aa1ab; --gris-marca: #545454;
  --naranja: #ff7721; --naranja-2: #ffa25c; --amarillo: #ffd23f; --amarillo-2: #ffe58a;
  --brillo: 0 0 6px rgba(255, 119, 33, .9), 0 0 18px rgba(255, 119, 33, .55), 0 0 42px rgba(255, 119, 33, .35);
  --brillo-sol: 0 0 6px rgba(255, 210, 63, .9), 0 0 18px rgba(255, 210, 63, .55), 0 0 42px rgba(255, 210, 63, .35);
  --t: 'Sora', system-ui, sans-serif; --c: 'Manrope', system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
html { scroll-behavior: smooth; overflow-x: clip; scroll-padding-top: 80px; }
body { background: var(--negro); color: var(--texto); font-family: var(--c); font-size: 1.04rem; line-height: 1.7; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.sin-scroll { overflow: hidden; }
::selection { background: var(--naranja); color: #000; }
a { color: inherit; text-decoration: none; transition: color .25s; }
a:hover { color: var(--naranja); }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--t); font-weight: 700; letter-spacing: -.02em; }
.container-xl { padding-left: clamp(16px, 4vw, 2.5rem); padding-right: clamp(16px, 4vw, 2.5rem); }
.saltar { position: absolute; top: 8px; left: 8px; z-index: 3000; background: #fff; color: #000; padding: .5rem 1rem; }
.naranja { color: var(--naranja); } .amarillo { color: var(--amarillo); } .tenue { color: var(--tenue); }
.ico { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Tipografía y bloques */
.seccion { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.seccion.oscura { background: var(--carbon); border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); overflow: hidden; }
.eyebrow { font-family: var(--t); font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--naranja); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.eyebrow.text-center { justify-content: center; }
.eyebrow.sol { color: var(--amarillo); }
.titulo { font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.08; margin-bottom: 1.4rem; font-weight: 800; }
.titulo-sm { font-size: clamp(1.6rem, 3vw, 2.3rem); line-height: 1.12; font-weight: 800; margin-bottom: .8rem; }
.lead-v { font-size: clamp(1.15rem, 1.6vw, 1.35rem); color: var(--texto); font-weight: 500; }
p { color: #c9ccd3; }
.cab-sec { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.cab-sec-txt { max-width: 26rem; color: var(--tenue); margin: 0; }
.led { width: 8px; height: 8px; border-radius: 50%; background: var(--naranja); box-shadow: var(--brillo); animation: latido 1.8s ease-in-out infinite; }
.led.sol { background: var(--amarillo); box-shadow: var(--brillo-sol); }
@keyframes latido { 50% { opacity: .35; } }

/* Neón */
.neon { color: #fff4ea; text-shadow: var(--brillo); }
.neon.sol { color: #fffbe8; text-shadow: var(--brillo-sol); }
.js .neon[data-neon] { animation: encendido 2.4s steps(1) .3s both; }
@keyframes encendido {
  0% { opacity: .15; text-shadow: none; } 8% { opacity: 1; text-shadow: var(--brillo); } 11% { opacity: .2; text-shadow: none; }
  16% { opacity: 1; text-shadow: var(--brillo); } 19% { opacity: .3; text-shadow: none; } 30% { opacity: 1; text-shadow: var(--brillo); }
  33% { opacity: .5; } 36%, 100% { opacity: 1; text-shadow: var(--brillo); }
}
.neon.sol[data-neon] { animation-name: encendido-sol; }
@keyframes encendido-sol { 0% { opacity: .15; text-shadow: none; } 10% { opacity: 1; text-shadow: var(--brillo-sol); } 14% { opacity: .2; text-shadow: none; } 24%, 100% { opacity: 1; text-shadow: var(--brillo-sol); } }

/* Botones */
.btn-voltio { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--naranja); color: #140800; border: 1px solid var(--naranja);
  font-family: var(--t); font-weight: 700; font-size: .92rem; position: relative; overflow: hidden; isolation: isolate; transition: box-shadow .35s, transform .35s var(--ease), color .3s; cursor: pointer; }
.btn-voltio .ico { width: 1.15em; height: 1.15em; }
.btn-voltio::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%); transform: translateX(-120%); z-index: -1; }
.btn-voltio:hover { color: #000; box-shadow: var(--brillo); transform: translateY(-2px); }
.btn-voltio:hover::after { transform: translateX(120%); transition: transform .7s var(--ease); }
.btn-linea { background: transparent; color: var(--texto); border-color: var(--linea-2); }
.btn-linea:hover { color: var(--naranja); border-color: var(--naranja); box-shadow: 0 0 0 1px var(--naranja), var(--brillo); }
.btn-sol { background: var(--amarillo); border-color: var(--amarillo); }
.btn-sol:hover { box-shadow: var(--brillo-sol); }
.btn-grande { padding: 1.05rem 1.9rem; font-size: 1rem; }
.btn-sm-v { padding: .6rem 1.1rem; font-size: .85rem; }
.enlace-v { display: inline-flex; gap: .5rem; align-items: center; font-family: var(--t); font-weight: 700; color: var(--naranja); border-bottom: 2px solid transparent; }
.enlace-v span { transition: transform .35s var(--ease); }
.enlace-v:hover span { transform: translateX(6px); }

/* Logo */
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: 'Comfortaa', var(--t); font-weight: 700; line-height: 1; }
.logo-e { width: 40px; height: 40px; border-radius: 12px; background: var(--naranja); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.9rem; padding-bottom: 6px; box-shadow: 0 0 0 0 rgba(255, 119, 33, .6); animation: chispa-logo 4s ease-in-out infinite; }
@keyframes chispa-logo { 0%, 90%, 100% { box-shadow: 0 0 0 0 rgba(255, 119, 33, 0); } 93% { box-shadow: var(--brillo); } }
.logo-txt { font-size: 1.65rem; letter-spacing: -.02em; }
.logo-txt b { color: #d9dadd; font-weight: 700; }
.logo-txt i { color: var(--naranja); font-style: normal; }
.logo:hover { color: inherit; }

/* Cabecera */
.cab { position: fixed; inset: 0 0 auto; z-index: 1000; transition: transform .45s var(--ease), background .4s, border-color .4s; border-bottom: 1px solid transparent; }
.cab.compacta { background: rgba(11, 12, 15, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--linea); }
.cab.oculta { transform: translateY(-100%); }
.cab-barra { height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; transition: height .4s var(--ease); }
.cab.compacta .cab-barra { height: 68px; }
.cab-nav { gap: .3rem; }
.cab-nav a { font-family: var(--t); font-weight: 600; font-size: .9rem; padding: .5rem .9rem; border-radius: 999px; position: relative; color: #d4d6db; }
.cab-nav a:hover { color: #fff; background: rgba(255, 255, 255, .05); }
.cab-nav a.activo { color: #fff; }
.cab-nav a.activo::after { content: ''; position: absolute; left: 50%; bottom: 2px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--naranja); box-shadow: var(--brillo); }
.cab-acciones { display: flex; align-items: center; gap: .8rem; }
.hamb { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--linea-2); background: transparent; position: relative; }
.hamb span { position: absolute; left: 14px; right: 14px; height: 2px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), opacity .3s; }
.hamb span:nth-child(1) { top: 16px; } .hamb span:nth-child(2) { top: 22px; } .hamb span:nth-child(3) { top: 28px; }
.menu-abierto .hamb span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-abierto .hamb span:nth-child(2) { opacity: 0; }
.menu-abierto .hamb span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* Interruptor (apagar la luz) */
.interruptor { width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--linea-2); background: var(--panel); align-items: center; justify-content: center; padding: 0; }
.int-palanca { width: 14px; height: 24px; border-radius: 4px; background: #2a2e37; position: relative; box-shadow: inset 0 0 0 1px #3a3f4a; }
.int-palanca::after { content: ''; position: absolute; left: 2px; right: 2px; height: 10px; border-radius: 3px; background: var(--naranja); top: 2px; box-shadow: var(--brillo); transition: top .25s var(--ease), background .25s, box-shadow .25s; }
.interruptor[aria-pressed="false"] .int-palanca::after { top: 12px; background: #6b707b; box-shadow: none; }
.linterna { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: 0; transition: opacity .5s;
  background: radial-gradient(circle 190px at var(--lx, 50%) var(--ly, 50%), transparent 0, transparent 60%, rgba(0, 0, 0, .94) 100%); }
body.apagon .linterna { opacity: 1; }
body.apagon .cab { z-index: 950; }

/* Menú móvil */
.menu-movil { position: fixed; inset: 0; z-index: 990; background: rgba(11, 12, 15, .97); backdrop-filter: blur(10px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; display: flex; align-items: center; }
.menu-abierto .menu-movil { opacity: 1; visibility: visible; }
.menu-movil nav { display: flex; flex-direction: column; gap: .2rem; padding-top: 5rem; }
.menu-movil nav > a { font-family: var(--t); font-weight: 800; font-size: clamp(2rem, 9vw, 3rem); line-height: 1.2; color: #e2e3e6; transform: translateX(-20px); opacity: 0; transition: transform .5s var(--ease), opacity .5s; }
.menu-movil nav > a.activo { color: var(--naranja); text-shadow: var(--brillo); }
.menu-abierto .menu-movil nav > a { transform: none; opacity: 1; }
.mm-datos { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 2rem; }

/* Chispas al hacer clic */
#chispas { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1200; }

/* Héroe */
.heroe { position: relative; min-height: 100svh; display: flex; align-items: center; overflow: hidden; isolation: isolate; }
.heroe-foto { position: absolute; inset: 0; z-index: -3; }
.heroe-foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.6) contrast(1.1); transform: scale(1.08); animation: acercar 14s var(--ease) forwards; }
@keyframes acercar { to { transform: scale(1); } }
.heroe-velo { position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 75% 40%, rgba(255, 119, 33, .18), transparent 55%), linear-gradient(90deg, rgba(11, 12, 15, .96) 0%, rgba(11, 12, 15, .82) 45%, rgba(11, 12, 15, .45) 100%), linear-gradient(0deg, var(--negro), transparent 40%); }
.circuito { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.circuito .pistas path { fill: none; stroke: rgba(255, 119, 33, .28); stroke-width: 2; stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: trazar 3s var(--ease) forwards; }
.circuito .pistas path:nth-child(2) { animation-delay: .3s; } .circuito .pistas path:nth-child(3) { animation-delay: .5s; } .circuito .pistas path:nth-child(4) { animation-delay: .7s; } .circuito .pistas path:nth-child(5) { animation-delay: .9s; }
@keyframes trazar { to { stroke-dashoffset: 0; } }
.circuito .nodos circle { fill: var(--negro); stroke: var(--naranja); stroke-width: 2; filter: drop-shadow(0 0 6px var(--naranja)); }
.circuito .pulsos circle { fill: #fff3e6; filter: drop-shadow(0 0 4px #fff) drop-shadow(0 0 10px var(--naranja)) drop-shadow(0 0 20px var(--naranja)); }
.heroe-in { padding-top: 7rem; padding-bottom: 7rem; max-width: 1140px; }
.heroe-titulo { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; font-weight: 800; letter-spacing: -.035em; margin: 0 0 1.6rem; max-width: 15ch; }
.heroe-sub { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 36rem; color: #c9ccd3; margin-bottom: 2.2rem; }
.heroe-botones { display: flex; gap: 1rem; flex-wrap: wrap; }
.js .heroe-in > *:not(.heroe-titulo) { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .listo .heroe-in > * { opacity: 1; transform: none; }
.js .listo .heroe-in > *:nth-child(2) { transition-delay: .1s; } .js .listo .heroe-in > *:nth-child(3) { transition-delay: .25s; } .js .listo .heroe-in > *:nth-child(4) { transition-delay: .4s; }
.heroe-pie { position: absolute; left: 0; right: 0; bottom: 1.8rem; display: flex; justify-content: space-between; align-items: flex-end; }
.voltimetro { display: inline-flex; align-items: baseline; gap: .3rem; font-family: 'Courier New', monospace; padding: .5rem .9rem; border: 1px solid var(--linea-2); border-radius: 10px; background: rgba(0, 0, 0, .45); }
.vm-num { font-size: 1.6rem; font-weight: 700; color: var(--naranja); text-shadow: var(--brillo); min-width: 3ch; text-align: right; }
.vm-uni { color: var(--naranja); font-weight: 700; }
.vm-txt { font-family: var(--c); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; color: var(--tenue); margin-left: .6rem; }
.heroe-scroll { font-size: .7rem; letter-spacing: .26em; text-transform: uppercase; color: var(--tenue); position: relative; padding-bottom: 2.6rem; }
.heroe-scroll::after { content: ''; position: absolute; left: 50%; bottom: 0; width: 2px; height: 2rem; background: linear-gradient(var(--naranja), transparent); animation: caida 1.8s ease-in-out infinite; }
@keyframes caida { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* Cifras */
.cifras-banda { border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); background: linear-gradient(90deg, rgba(255, 119, 33, .07), transparent 40%, transparent 60%, rgba(255, 210, 63, .06)); }
.cifras { display: grid; grid-template-columns: repeat(4, 1fr); }
.cifras > div { padding: 2rem 1rem; text-align: center; border-left: 1px solid var(--linea); }
.cifras > div:first-child { border-left: 0; }
.cifras b { display: block; font-family: var(--t); font-size: clamp(2rem, 4vw, 3rem); line-height: 1; color: #fff; text-shadow: 0 0 22px rgba(255, 119, 33, .45); }
.cifras span { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--tenue); }

/* Mosaico de 4 fotos */
.mosaico-4 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 220px 220px; gap: 1rem; }
.m4-item { position: relative; overflow: hidden; border-radius: 18px; border: 1px solid var(--linea); }
.m4-0 { grid-row: span 2; }
.m4-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; filter: saturate(.85); }
.m4-item::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(11, 12, 15, .85), transparent 55%); }
.m4-txt { position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2; font-family: var(--t); font-weight: 700; color: #fff; display: flex; justify-content: space-between; gap: .5rem; }
.m4-txt i { font-style: normal; color: var(--naranja); transition: transform .4s var(--ease); }
.m4-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.m4-item:hover { border-color: var(--naranja); box-shadow: 0 0 0 1px var(--naranja), 0 0 30px rgba(255, 119, 33, .25); color: #fff; }
.m4-item:hover .m4-txt i { transform: translateX(5px); }

/* Fondo de rejilla tipo placa */
.rejilla-fondo { position: absolute; inset: 0; background-image: linear-gradient(rgba(255, 119, 33, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 119, 33, .06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0, #000, transparent 70%); }
.rejilla-fondo.sol { background-image: linear-gradient(rgba(255, 210, 63, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 210, 63, .06) 1px, transparent 1px); }

/* Tarjetas de servicio con borde "con corriente" */
@property --ang { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.servicios { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.servicios-3 { grid-template-columns: repeat(3, 1fr); }
.servicio { position: relative; display: block; padding: 2rem 1.6rem 1.8rem; border-radius: 20px; background: var(--panel); border: 1px solid var(--linea); color: var(--texto); isolation: isolate; transition: transform .45s var(--ease); }
.srv-borde { position: absolute; inset: -1px; border-radius: 21px; padding: 1px; z-index: -1; opacity: 0; transition: opacity .4s;
  background: conic-gradient(from var(--ang), transparent 0 70%, var(--naranja) 85%, #fff 90%, var(--naranja) 95%, transparent 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); animation: girar 2.6s linear infinite; }
.servicio.sol .srv-borde { background: conic-gradient(from var(--ang), transparent 0 70%, var(--amarillo) 85%, #fff 90%, var(--amarillo) 95%, transparent 100%); }
@keyframes girar { to { --ang: 360deg; } }
.servicio:hover { transform: translateY(-6px); color: var(--texto); }
.servicio:hover .srv-borde { opacity: 1; }
.srv-ico { width: 58px; height: 58px; border-radius: 16px; display: inline-flex; align-items: center; justify-content: center; background: rgba(255, 119, 33, .1); color: var(--naranja); font-size: 1.9rem; margin-bottom: 1.3rem; border: 1px solid rgba(255, 119, 33, .25); }
.servicio.sol .srv-ico, .lt-n { background: rgba(255, 210, 63, .1); color: var(--amarillo); border-color: rgba(255, 210, 63, .25); }
.srv-ico .ico { stroke-width: 3.2; width: 30px; height: 30px; }
.mm-ico .ico { width: 48px; height: 48px; }
.lt-n .ico { width: 28px; height: 28px; }
.ci-bombilla .ico { width: 36px; height: 36px; }
.fm-tag .ico { width: 20px; height: 20px; }
.js [data-rv] .ico path, .js [data-rv] .ico rect, .js [data-rv] .ico circle { stroke-dasharray: 220; stroke-dashoffset: 220; transition: stroke-dashoffset 1.6s var(--ease) calc(var(--d, 0s) + .25s); }
.js [data-rv].visto .ico path, .js [data-rv].visto .ico rect, .js [data-rv].visto .ico circle { stroke-dashoffset: 0; }
.servicio h3 { font-size: 1.2rem; margin-bottom: .6rem; }
.servicio p { font-size: .95rem; color: var(--tenue); margin: 0; }
.srv-mas { display: inline-block; margin-top: 1.1rem; font-family: var(--t); font-weight: 700; font-size: .85rem; color: var(--naranja); }
.servicio:hover .servicio-ico { box-shadow: var(--brillo); }

/* Electroeve / Solareve */
.dos-marcas { display: grid; grid-template-columns: 1fr 1fr; min-height: 70vh; }
.marca-mitad { position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: clamp(1.5rem, 4vw, 3.5rem); isolation: isolate; color: #fff; min-height: 420px; }
.marca-mitad img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 1.4s var(--ease), filter .8s; filter: grayscale(.6) brightness(.55); }
.mm-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11, 12, 15, .95), rgba(11, 12, 15, .2)); }
.marca-mitad.electro .mm-velo { background: linear-gradient(0deg, rgba(11, 12, 15, .95), rgba(255, 119, 33, .12)); }
.marca-mitad.solar .mm-velo { background: linear-gradient(0deg, rgba(11, 12, 15, .95), rgba(255, 210, 63, .12)); }
.marca-mitad:hover img { transform: scale(1.06); filter: grayscale(0) brightness(.65); }
.marca-mitad:hover { color: #fff; }
.mm-in { display: flex; flex-direction: column; gap: .7rem; max-width: 28rem; }
.mm-ico { font-size: 2.6rem; color: var(--naranja); filter: drop-shadow(0 0 10px var(--naranja)); }
.solar .mm-ico { color: var(--amarillo); filter: drop-shadow(0 0 10px var(--amarillo)); }
.mm-nombre { font-family: 'Comfortaa', var(--t); font-weight: 700; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1; color: #e6e7ea; }
.mm-nombre b { color: var(--naranja); }
.solar .mm-nombre b { color: var(--amarillo); }
.mm-txt { color: #c9ccd3; font-size: 1.05rem; }
.mm-ir { font-family: var(--t); font-weight: 700; color: var(--naranja); }
.solar .mm-ir { color: var(--amarillo); }

/* Pasos */
.pasos { list-style: none; padding: 0; margin: 2rem 0 0; position: relative; }
.pasos::before { content: ''; position: absolute; left: 23px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(var(--naranja), rgba(255, 119, 33, .1)); }
.pasos li { display: flex; gap: 1.3rem; padding: .9rem 0; position: relative; }
.paso-n { flex: none; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--negro); border: 2px solid var(--naranja); font-family: var(--t); font-weight: 800; font-size: .85rem; color: var(--naranja); box-shadow: 0 0 16px rgba(255, 119, 33, .35); }
.pasos h3 { font-size: 1.15rem; margin: .4rem 0 .2rem; }
.pasos p { margin: 0; color: var(--tenue); }
.foto-marco { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid var(--linea); aspect-ratio: 4 / 5; }
.foto-marco img { width: 100%; height: 115%; object-fit: cover; }
.fm-tag { position: absolute; left: 1rem; bottom: 1rem; display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1rem; border-radius: 999px; background: rgba(11, 12, 15, .8); backdrop-filter: blur(8px); font-family: var(--t); font-weight: 600; font-size: .85rem; border: 1px solid var(--linea-2); }
.fm-tag .ico { color: var(--naranja); }

/* Cabeceras de página */
.cabpag { position: relative; min-height: 62vh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; padding: 9rem 0 4rem; }
.cabpag.corta { min-height: 48vh; }
.cabpag.mini { min-height: 0; padding: 9rem 0 2rem; background: radial-gradient(ellipse at 80% 0, rgba(255, 119, 33, .14), transparent 60%); }
.cabpag-foto { position: absolute; inset: -10% 0; z-index: -2; }
.cabpag-foto img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.7); }
.cabpag-velo { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 12, 15, .95), rgba(11, 12, 15, .55)), linear-gradient(0deg, var(--negro), transparent 50%); }
.cabpag.solar .cabpag-velo { background: linear-gradient(90deg, rgba(11, 12, 15, .93), rgba(11, 12, 15, .4)), linear-gradient(0deg, var(--negro), transparent 50%); }
.sol-glow { position: absolute; right: 8%; top: 18%; width: 360px; height: 360px; border-radius: 50%; z-index: -1; background: radial-gradient(circle, rgba(255, 210, 63, .55), rgba(255, 210, 63, .15) 40%, transparent 70%); filter: blur(10px); animation: respira-sol 6s ease-in-out infinite; }
@keyframes respira-sol { 50% { transform: scale(1.12); opacity: .75; } }
.cabpag-titulo { font-size: clamp(2.4rem, 6.4vw, 5rem); line-height: 1.02; font-weight: 800; letter-spacing: -.03em; margin: 0 0 1rem; }
.cabpag-sub { font-size: 1.15rem; max-width: 38rem; color: #c9ccd3; margin: 0; }

/* Nosotros */
.duo { position: relative; height: clamp(420px, 48vw, 600px); }
.duo figure { position: absolute; margin: 0; overflow: hidden; border-radius: 22px; border: 1px solid var(--linea); }
.duo img { width: 100%; height: 115%; object-fit: cover; }
.duo-a { left: 0; top: 0; width: 58%; height: 80%; }
.duo-b { right: 0; bottom: 0; width: 50%; height: 66%; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.duo-sello { position: absolute; left: 48%; top: 42%; width: 120px; height: 120px; border-radius: 50%; background: var(--naranja); color: #140800; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: var(--brillo); z-index: 2; }
.duo-sello b { font-family: var(--t); font-size: 2.2rem; line-height: 1; }
.duo-sello span { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.valores { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 3rem; }
.valores-4 { grid-template-columns: repeat(4, 1fr); }
.kit-digital { margin-top: 2.5rem; padding: 1rem; background: #fff; border-radius: 12px; display: flex; justify-content: center; }
.kit-digital img { width: 100%; max-width: 640px; height: auto; }
.valor { text-align: center; padding: 2.2rem 1.6rem; border-radius: 20px; background: var(--panel); border: 1px solid var(--linea); }
.valor h3 { font-size: 1.3rem; }
.valor p { color: var(--tenue); margin: 0; }
.zona { display: grid; grid-template-columns: 1.1fr 1fr; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); border-radius: 26px; background: var(--panel); border: 1px solid var(--linea); }
.zona-mapa svg { width: 100%; }
.zona-linea { fill: none; stroke: var(--linea-2); stroke-width: 3; stroke-dasharray: 6 8; }
.zona-punto { fill: var(--naranja); filter: drop-shadow(0 0 8px var(--naranja)); }
.zona-punto.p2 { fill: var(--naranja-2); }
.zona-onda { fill: none; stroke: var(--naranja); stroke-width: 2; transform-origin: 230px 140px; animation: onda 2.2s ease-out infinite; }
@keyframes onda { from { transform: scale(1); opacity: 1; } to { transform: scale(5); opacity: 0; } }
.zona-mapa text { fill: #e6e7ea; font-family: var(--t); font-weight: 700; font-size: 15px; }
.zona-mapa text.t2 { fill: var(--tenue); font-weight: 500; font-size: 12px; letter-spacing: .1em; }

/* Electroeve: checklist y cuadro interactivo */
.checklist { list-style: none; padding: 0; margin: 0 0 2rem; }
.checklist li { position: relative; padding: .6rem 0 .6rem 2.2rem; color: #c9ccd3; border-bottom: 1px solid var(--linea); }
.checklist li::before { content: '⚡'; position: absolute; left: 0; top: .55rem; color: var(--naranja); }
.cuadro-interactivo { padding: 1.8rem; border-radius: 24px; background: linear-gradient(160deg, #20232b, #15171c); border: 1px solid var(--linea-2); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .05), 0 30px 60px rgba(0, 0, 0, .4); }
.ci-tit { font-family: var(--t); font-weight: 700; margin-bottom: 1.2rem; }
.ci-tit small { color: var(--tenue); font-weight: 500; }
.ci-carril { display: flex; gap: .5rem; padding: 1rem; border-radius: 12px; background: #0f1115; border: 1px solid #2a2e37; background-image: linear-gradient(90deg, transparent 48%, #2b2f38 48% 52%, transparent 52%); background-size: 100% 6px; background-repeat: no-repeat; background-position: 0 50%; overflow-x: auto; }
.ci-mag { flex: 1 1 0; min-width: 52px; height: 150px; border-radius: 8px; border: 1px solid #3a3f4a; background: linear-gradient(#f2f2f0, #d9d9d6); position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding: 12px 0 0; cursor: pointer; }
.ci-grande { flex-grow: 1.4; }
.ci-palanca { width: 22px; height: 56px; border-radius: 4px; background: #c8c8c4; position: relative; box-shadow: inset 0 0 0 1px #aaa; }
.ci-palanca::after { content: ''; position: absolute; left: 2px; right: 2px; height: 24px; border-radius: 3px; background: #1d1f24; top: 30px; transition: top .2s var(--ease), background .2s; }
.ci-mag.on .ci-palanca::after { top: 2px; background: var(--naranja); }
.ci-grande.on .ci-palanca::after { background: #2f6fd6; }
.ci-led { width: 8px; height: 8px; border-radius: 50%; margin-top: 12px; background: #5b1d0b; }
.ci-mag.on .ci-led { background: #3ddc6a; box-shadow: 0 0 8px #3ddc6a; }
.ci-mag small { position: absolute; bottom: 8px; font-size: .62rem; color: #333; font-weight: 700; text-transform: uppercase; letter-spacing: .02em; }
.ci-estado { display: flex; align-items: center; gap: .8rem; margin-top: 1.2rem; font-family: var(--t); font-weight: 600; }
.ci-bombilla { font-size: 2rem; color: var(--amarillo); filter: drop-shadow(0 0 12px var(--amarillo)); transition: color .3s, filter .3s; }
.cuadro-interactivo.parcial .ci-bombilla { color: var(--naranja); filter: drop-shadow(0 0 6px var(--naranja)); }
.cuadro-interactivo.apagado .ci-bombilla { color: #444; filter: none; }
.galeria-v { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--linea); }
.galeria-v figure { margin: 0; overflow: hidden; aspect-ratio: 1; }
.galeria-v img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.4); transition: transform 1.2s var(--ease), filter .6s; }
.galeria-v figure:hover img { transform: scale(1.06); filter: none; }

/* Simulador solar */
.simulador { border-radius: 26px; background: var(--panel); border: 1px solid var(--linea-2); overflow: hidden; }
.sim-svg { width: 100%; display: block; }
.sim-cielo { transition: opacity .3s; }
.cielo-a { stop-color: var(--cielo-a, #1b3d6e); transition: stop-color .4s; } .cielo-b { stop-color: var(--cielo-b, #f3a65a); transition: stop-color .4s; }
.sim-arco { fill: none; stroke: rgba(255, 255, 255, .18); stroke-width: 2; stroke-dasharray: 4 8; }
.sim-suelo { fill: #15171c; }
.sim-casa { fill: #23262e; stroke: #3a3f4a; stroke-width: 2; }
.sim-tejado { fill: none; stroke: #4a4f5c; stroke-width: 6; stroke-linecap: round; }
.sim-placas path { fill: #1d3a66; stroke: #6c8fc4; stroke-width: 1.5; transition: fill .3s, filter .3s; }
.sim-ventana { fill: #2b2f38; transition: fill .3s; }
.sim-nodo rect { fill: #23262e; stroke: #4a4f5c; stroke-width: 2; }
.sim-nodo text { fill: #c9ccd3; font: 700 12px var(--t); text-anchor: middle; }
.sim-bat-nivel { fill: #3ddc6a !important; stroke: none !important; transition: width .3s; }
.sim-torre path { fill: none; stroke: #5d626e; stroke-width: 3; }
.sim-flujo { fill: none; stroke: rgba(255, 255, 255, .08); stroke-width: 4; stroke-linecap: round; transition: stroke .3s; }
.sim-flujo.activo { stroke: rgba(255, 210, 63, .35); }
.sim-pulsos circle { fill: var(--amarillo); filter: drop-shadow(0 0 6px var(--amarillo)); opacity: 0; transition: opacity .3s; }
.sim-pulsos circle.ca { fill: var(--naranja); filter: drop-shadow(0 0 6px var(--naranja)); }
.sim-pulsos circle.on { opacity: 1; }
.sim-ctrl { padding: 1.2rem 1.4rem .4rem; }
.sim-hora { display: flex; gap: .6rem; align-items: baseline; font-family: var(--t); margin-bottom: .5rem; }
.sim-hora b { font-size: 1.6rem; color: var(--amarillo); text-shadow: var(--brillo-sol); }
.sim-hora span { color: var(--tenue); font-size: .9rem; }
.sim-ctrl input[type=range] { width: 100%; accent-color: var(--amarillo); height: 28px; }
.sim-datos { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--linea); border-top: 1px solid var(--linea); }
.sim-datos > div { background: var(--panel); padding: .9rem 1rem; }
.sim-datos span { display: block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--tenue); }
.sim-datos b { font-family: var(--t); font-size: 1.05rem; }
.barra { display: block; height: 4px; border-radius: 4px; background: #2a2e37; margin-top: .4rem; overflow: hidden; }
.barra s { display: block; height: 100%; width: 0; background: var(--amarillo); transition: width .3s; }
.sim-nota { font-size: .78rem; color: var(--tenue); padding: .8rem 1.4rem 1rem; margin: 0; }

/* Línea de tiempo solar */
.linea-tiempo { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.lt-cable { position: absolute; left: 4%; right: 4%; top: 28px; height: 2px; background: var(--linea-2); }
.lt-cable s { position: absolute; inset: 0; background: linear-gradient(90deg, var(--amarillo), var(--naranja)); transform: scaleX(0); transform-origin: left; transition: transform 2.4s var(--ease); box-shadow: var(--brillo-sol); }
.linea-tiempo.visto .lt-cable s { transform: scaleX(1); }
.lt-paso { position: relative; text-align: center; }
.lt-n { width: 58px; height: 58px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; border: 1px solid; background: var(--negro); margin-bottom: 1rem; position: relative; z-index: 1; }
.lt-paso h3 { font-size: 1.05rem; }
.lt-paso p { font-size: .9rem; color: var(--tenue); }

/* FAQ */
.faq-item { border-bottom: 1px solid var(--linea); }
.faq-p { width: 100%; background: none; border: 0; color: var(--texto); text-align: left; font-family: var(--t); font-weight: 600; font-size: 1.08rem; padding: 1.2rem 2.5rem 1.2rem 0; position: relative; }
.faq-mas { position: absolute; right: .3rem; top: 50%; width: 18px; height: 18px; margin-top: -9px; }
.faq-mas::before, .faq-mas::after { content: ''; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--amarillo); transition: transform .35s var(--ease); }
.faq-mas::after { transform: rotate(90deg); }
.faq-p:not(.collapsed) .faq-mas::after { transform: rotate(0); }
.faq-p:not(.collapsed) { color: var(--amarillo); }
.faq-r { color: var(--tenue); padding: 0 2rem 1.3rem 0; margin: 0; }

/* Contacto */
.contacto-tarjetas { display: flex; flex-direction: column; gap: 1rem; }
.ct { display: flex; align-items: center; gap: 1.1rem; padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--panel); border: 1px solid var(--linea); color: var(--texto); transition: border-color .3s, box-shadow .3s, transform .35s var(--ease); }
a.ct:hover { border-color: var(--naranja); box-shadow: 0 0 24px rgba(255, 119, 33, .2); transform: translateX(4px); color: var(--texto); }
.ct .srv-ico { margin: 0; flex: none; }
.ct small { display: block; color: var(--tenue); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; }
.ct b { font-family: var(--t); font-size: 1.08rem; word-break: break-word; }
.contacto-txt { margin-top: 2.2rem; padding-top: 2rem; border-top: 1px solid var(--linea); }
.contacto-txt p { color: var(--tenue); }
.formulario { padding: clamp(1.5rem, 4vw, 2.6rem); border-radius: 24px; background: var(--panel); border: 1px solid var(--linea-2); }
.form-tit { font-family: var(--t); font-weight: 800; font-size: 1.6rem; color: #fff; }
.tipos { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.tipo input { position: absolute; opacity: 0; }
.tipo span { display: inline-block; padding: .5rem .95rem; border-radius: 999px; border: 1px solid var(--linea-2); font-size: .88rem; cursor: pointer; transition: all .25s; }
.tipo input:checked + span { background: var(--naranja); color: #140800; border-color: var(--naranja); box-shadow: 0 0 16px rgba(255, 119, 33, .4); font-weight: 700; }
.tipo input:focus-visible + span { outline: 2px solid var(--naranja); outline-offset: 2px; }
.campo { position: relative; }
.campo input, .campo textarea { width: 100%; background: #0f1115; border: 1px solid var(--linea-2); border-radius: 12px; color: var(--texto); padding: 1.45rem 1rem .55rem; outline: none; transition: border-color .3s, box-shadow .3s; }
.campo textarea { resize: vertical; min-height: 130px; }
.campo label { position: absolute; left: 1rem; top: 1rem; color: var(--tenue); pointer-events: none; transition: all .3s var(--ease); }
.campo input:focus, .campo textarea:focus { border-color: var(--naranja); box-shadow: 0 0 0 3px rgba(255, 119, 33, .18); }
.campo input:focus + label, .campo input:not(:placeholder-shown) + label, .campo textarea:focus + label, .campo textarea:not(:placeholder-shown) + label { top: .45rem; font-size: .7rem; color: var(--naranja); letter-spacing: .06em; }
.campo small, .check small, .captcha small { display: block; color: #ff8f8f; font-size: .82rem; margin-top: .35rem; }
.con-error input, .con-error textarea { border-color: #ff6b6b; }
.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .92rem; color: #c9ccd3; cursor: pointer; flex-wrap: wrap; }
.check input { position: absolute; opacity: 0; }
.check > span { width: 22px; height: 22px; flex: none; border-radius: 6px; border: 1px solid var(--linea-2); background: #0f1115; position: relative; margin-top: .1rem; }
.check input:checked + span { background: var(--naranja); border-color: var(--naranja); }
.check input:checked + span::after { content: ''; position: absolute; left: 7px; top: 3px; width: 6px; height: 11px; border: solid #140800; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.check input:focus-visible + span { outline: 2px solid var(--naranja); outline-offset: 2px; }
.check a { text-decoration: underline; }
.trampa { position: absolute; left: -9999px; }
.aviso { padding: 1rem 1.2rem; margin-bottom: 1.4rem; border-radius: 12px; font-size: .95rem; }
.aviso.ok { background: rgba(61, 220, 106, .1); border: 1px solid rgba(61, 220, 106, .5); color: #d8ffe3; }
.aviso.mal { background: rgba(255, 107, 107, .1); border: 1px solid rgba(255, 107, 107, .5); color: #ffd9d9; }
.formulario.enviando button[type=submit] { opacity: .6; pointer-events: none; }
.captcha { border: 0; padding: 0; margin: 0; }
.captcha-tit { float: none; width: auto; font-size: .95rem; color: #c9ccd3; margin-bottom: .7rem; }
.captcha-tit b { color: var(--naranja); font-family: var(--t); }
.captcha-piezas { display: grid; grid-template-columns: repeat(4, minmax(0, 74px)); gap: .7rem; }
.captcha-pieza { position: relative; aspect-ratio: 1; border-radius: 14px; border: 1px solid var(--linea-2); background: #0f1115; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: all .3s var(--ease); }
.captcha-pieza input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.captcha-pieza svg { width: 58%; fill: none; stroke: #c9ccd3; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; transition: stroke .3s, filter .3s; }
.captcha-pieza:hover { border-color: var(--naranja); }
.captcha-pieza:has(input:checked) { border-color: var(--naranja); background: rgba(255, 119, 33, .12); transform: translateY(-3px); }
.captcha-pieza:has(input:checked) svg { stroke: var(--naranja); filter: drop-shadow(0 0 6px var(--naranja)); }
.captcha-pieza:has(input:focus-visible) { outline: 2px solid var(--naranja); outline-offset: 2px; }
.captcha.con-error .captcha-pieza { border-color: rgba(255, 107, 107, .5); }

/* Legal y 404 */
.texto-legal { max-width: 48rem; }
.texto-legal h2 { font-size: 1.3rem; margin: 2rem 0 .6rem; color: #fff; }
.texto-legal p, .texto-legal li { color: #c9ccd3; }
.texto-legal a { color: var(--naranja); text-decoration: underline; }
.error-num { font-family: var(--t); font-weight: 800; font-size: clamp(6rem, 20vw, 12rem); line-height: 1; margin: 0; }

/* CTA final con osciloscopio */
.cta-final { padding: 0 0 clamp(4rem, 8vw, 6rem); }
.pg-contacto .cta-final { display: none; }
.cta-caja { position: relative; overflow: hidden; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 28px; background: linear-gradient(120deg, #1c1f27, #14161b); border: 1px solid var(--linea-2); }
.cta-onda { position: absolute; inset: 0; opacity: .5; }
.cta-onda svg { width: 200%; height: 100%; animation: desplazar 6s linear infinite; }
.onda { fill: none; stroke-width: 2; }
.onda-1 { stroke: rgba(255, 119, 33, .5); } .onda-2 { stroke: rgba(255, 210, 63, .25); }
@keyframes desplazar { to { transform: translateX(-25%); } }

/* Pie */
.pie { border-top: 1px solid var(--linea); padding: 4.5rem 0 2rem; background: #08090b; }
.logo-pie .logo-txt { font-size: 1.9rem; }
.pie-lema { color: var(--tenue); margin-top: 1rem; max-width: 22rem; }
.pie-tit { font-family: var(--t); font-weight: 700; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--naranja); margin-bottom: .8rem; }
.pie ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: .45rem; color: #c9ccd3; font-size: .95rem; }
.pie-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3.5rem; padding-top: 1.5rem; border-top: 1px solid var(--linea); font-size: .85rem; color: var(--tenue); }
.pie-legal a { color: var(--naranja); text-decoration: underline; text-underline-offset: 3px; }
.aviso a, .contacto-txt a, .cta-caja p a { text-decoration: underline; }
.wa-flotante { position: fixed; right: 18px; bottom: 18px; z-index: 980; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); transition: transform .35s var(--ease); }
.wa-flotante:hover { color: #fff; transform: scale(1.08) rotate(-6deg); }
.wa-flotante .ico { stroke-width: 3.4; }

/* Aparición */
.js [data-rv] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
.js [data-rv].visto { opacity: 1; transform: none; }

@media (max-width: 1199.98px) { .servicios { grid-template-columns: repeat(2, 1fr); } .linea-tiempo { grid-template-columns: repeat(3, 1fr); row-gap: 2rem; } .lt-cable { display: none; } }
@media (max-width: 991.98px) {
  .cifras { grid-template-columns: repeat(2, 1fr); } .cifras > div:nth-child(3) { border-left: 0; } .cifras > div:nth-child(n+3) { border-top: 1px solid var(--linea); }
  .dos-marcas { grid-template-columns: 1fr; }
  .servicios-3 { grid-template-columns: repeat(2, 1fr); }
  .valores, .valores-4 { grid-template-columns: 1fr; }
  .zona { grid-template-columns: 1fr; }
  .sim-datos { grid-template-columns: repeat(2, 1fr); }
  .galeria-v { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575.98px) {
  .cab-barra { height: 72px; }
  .logo-txt { font-size: 1.35rem; } .logo-e { width: 34px; height: 34px; font-size: 1.6rem; }
  .servicios, .servicios-3 { grid-template-columns: 1fr; }
  .mosaico-4 { grid-template-rows: 170px 170px; }
  .linea-tiempo { grid-template-columns: repeat(2, 1fr); }
  .heroe-botones .btn-voltio { flex: 1 1 100%; }
  .vm-txt { display: none; }
  .duo-sello { width: 92px; height: 92px; } .duo-sello b { font-size: 1.7rem; }
  .captcha-piezas { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ci-mag { min-width: 44px; height: 130px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .js [data-rv] { opacity: 1; transform: none; }
  .js .heroe-in > * { opacity: 1; transform: none; }
  .circuito .pistas path { stroke-dashoffset: 0; }
  .js [data-rv] .ico path, .js [data-rv] .ico rect, .js [data-rv] .ico circle { stroke-dashoffset: 0; }
}
