
*{box-sizing:border-box}body{margin:0;background:#090e15;color:#edf4fa;font:16px system-ui,sans-serif}header,main,footer{max-width:1200px;margin:auto;padding:24px}header{display:flex;justify-content:space-between;align-items:center;gap:20px}header strong{font-size:25px;letter-spacing:-1px}em{color:#50e6a0;font-style:normal}nav{display:flex;gap:20px;flex-wrap:wrap}a{color:inherit;text-decoration:none}nav a{font-size:14px;color:#aebdca}.hero{position:relative;overflow:hidden;border:1px solid #24342f;border-radius:30px;padding:clamp(25px,6vw,80px);background:radial-gradient(ellipse at 90% 50%,#124331,#101a23 55%,#0d141d);min-height:390px;display:flex;align-items:center}.hero article{position:relative;z-index:1;max-width:580px}.eyebrow{font-size:12px;letter-spacing:3px;color:#63e5aa}h1{font-size:clamp(42px,6vw,76px);line-height:1.02;letter-spacing:-3px;margin:20px 0}p{color:#aebdca;line-height:1.6}.cta{display:inline-block;background:#50e6a0;color:#082219;padding:15px 22px;border-radius:10px;font-weight:700;margin-top:15px}.hero svg{position:absolute;right:-50px;width:55%;opacity:.65}.trace{stroke-dasharray:12 250;animation:flow 3s linear infinite}@keyframes flow{to{stroke-dashoffset:-262}}.trust{display:flex;gap:28px;flex-wrap:wrap;padding:25px 5px;color:#aebdca;font-size:14px}.trust b{color:#fff}.sectionhead{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:45px 0 20px}h2{font-size:32px;margin:0;letter-spacing:-1px}.tabs{display:flex;gap:8px;flex-wrap:wrap}button{font:inherit;cursor:pointer;color:inherit;background:#131e29;border:1px solid #30404e;border-radius:9px;padding:10px 15px}button.active{background:#d8fbea;color:#09271b}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.tile{position:relative;text-align:left;padding:24px;border:1px solid color-mix(in srgb,var(--c) 30%,#17212c);background:radial-gradient(ellipse at top right,color-mix(in srgb,var(--c) 15%,#101923),#101923 70%);border-radius:20px;transition:transform .25s;min-height:245px}.tile:hover{transform:translateY(-5px)}.tile svg{width:100%;height:115px;color:var(--c)}.tile h3{font-size:23px;margin:10px 0;color:var(--c)}.tile p{font-size:14px;margin:0}.tile small{display:block;margin-top:15px;color:var(--c)}dialog{background:#14202b;color:white;border:1px solid #405261;border-radius:20px;max-width:480px;width:90%;padding:28px}dialog::backdrop{background:#000b}footer{border-top:1px solid #23303c;color:#8798a8;font-size:13px;margin-top:40px}@media(max-width:750px){.grid{grid-template-columns:repeat(2,1fr)}.hero svg{opacity:.2;width:90%}.sectionhead{display:block}.tabs{margin-top:15px}header{align-items:start;flex-direction:column}}@media(max-width:450px){.grid{grid-template-columns:1fr}main,header{padding:15px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* Logotipo animado TECNOARROBA */
#logoTecno { width: 440px; max-width: 100%; height: auto; display: block; flex-shrink: 1; overflow: visible; }
#logoArroba { transform-origin: 55px 75px; transform-box: view-box; }
@media (max-width: 750px) { #logoTecno { width: 380px; } }
header {
    padding-top: 8px;
    padding-bottom: 8px;
    margin-top: 0;
}
.hero article p {
    max-width: 480px;
}
/* Circuito electrónico con marcas */

.hero svg {
    right: 3%;
    width: 50%;
    opacity: 1;
}

.pista-base {
    fill: none;
    stroke: #50e6a0;
    stroke-width: 2.5;
    opacity: .22;
}

.pulso-entrada, .pulso-salida {
    fill: none;
    stroke: #50e6a0;
    stroke-width: 4;
    stroke-dasharray: 18 650;
    animation: pulso-circuito 3s linear infinite;
}

@keyframes pulso-circuito {
    from { stroke-dashoffset: 18; }
    to { stroke-dashoffset: -650; }
}

.marca-circuito {
    fill: #50e6a0;
    font-family: Arial, sans-serif;
    font-size: 16px;
    font-weight: bold;
    animation: iluminar-marca 6s infinite;
}

@keyframes iluminar-marca {
    0%, 20%, 100% { opacity: .35; }
    40%, 75% { opacity: 1; }
}

.chip-central {
    fill: #102f27;
    stroke: #50e6a0;
    stroke-width: 2.5;
    animation: iluminar-chip 3s infinite;
}

@keyframes iluminar-chip {
    0%, 100% {
        filter: drop-shadow(0 0 2px #50e6a0);
    }
    50% {
        filter: drop-shadow(0 0 9px #50e6a0);
    }
}

@media (max-width: 750px) {
    .hero svg {
        width: 90%;
        opacity: .2;
    }
}
/* Animaciones de especialidades */
.tile .serv-pulse { stroke-dasharray:12 100; animation:serv-flow 2s linear infinite; }
@keyframes serv-flow { to { stroke-dashoffset:-112; } }
.tile .serv-glow { animation:serv-light 2.4s infinite; }
@keyframes serv-light { 0%,100% { opacity:.2; } 50% { opacity:1; filter:drop-shadow(0 0 5px currentColor); } }
.tile .serv-charge { animation:serv-charge 4s infinite; }
@keyframes serv-charge { 0% { width:0; } 85%,100% { width:100px; } }
.tile .serv-strip { fill:#39444d; animation-duration:12s; animation-iteration-count:infinite; animation-timing-function:linear; }
.tile .strip-0 { animation-name:serv-strip-0; }
@keyframes serv-strip-0 { 0%,100% { fill:#39444d; filter:none; } 0%, 15.0000%, 66.6667%, 91.6667% { fill:white; filter:drop-shadow(0 0 3px white) drop-shadow(0 0 5px #c9e9ff); } 15.1000%, 66.5667%, 91.7667% { fill:#39444d; filter:none; } }
.tile .strip-1 { animation-name:serv-strip-1; }
@keyframes serv-strip-1 { 0%,100% { fill:#39444d; filter:none; } 16.5667% { fill:#39444d; filter:none; } 16.6667%, 31.6667%, 66.6667%, 91.6667% { fill:white; filter:drop-shadow(0 0 3px white) drop-shadow(0 0 5px #c9e9ff); } 31.7667%, 66.5667%, 91.7667% { fill:#39444d; filter:none; } }
.tile .strip-2 { animation-name:serv-strip-2; }
@keyframes serv-strip-2 { 0%,100% { fill:#39444d; filter:none; } 33.2333% { fill:#39444d; filter:none; } 33.3333%, 48.3333%, 66.6667%, 91.6667% { fill:white; filter:drop-shadow(0 0 3px white) drop-shadow(0 0 5px #c9e9ff); } 48.4333%, 66.5667%, 91.7667% { fill:#39444d; filter:none; } }
.tile .strip-3 { animation-name:serv-strip-3; }
@keyframes serv-strip-3 { 0%,100% { fill:#39444d; filter:none; } 49.9000% { fill:#39444d; filter:none; } 50.0000%, 65.0000%, 66.6667%, 91.6667% { fill:white; filter:drop-shadow(0 0 3px white) drop-shadow(0 0 5px #c9e9ff); } 65.1000%, 66.5667%, 91.7667% { fill:#39444d; filter:none; } }
@media (prefers-reduced-motion:reduce) { .tile .serv-strip { fill:white; } }

/* Repuestos y reacondicionados */
.used-board { animation: used-board 8s infinite; }
.used-tv { animation: used-tv 8s infinite; }
.used-pc { animation: used-pc 8s infinite; }
@keyframes used-board {0%,25%{filter:drop-shadow(0 0 5px #22d3ee)}40%,100%{filter:none}}
@keyframes used-tv {0%,25%{opacity:.08}40%,100%{opacity:1;filter:drop-shadow(0 0 6px #22d3ee)}}
@keyframes used-pc {0%,50%{opacity:.08}65%,100%{opacity:1;filter:drop-shadow(0 0 6px #22d3ee)}}

/* Secciones informativas alineadas con las tarjetas */
#grid > #nosotros, #grid > #contacto { padding:24px; min-width:0; display:flex; flex-direction:column; align-items:flex-start; }
#grid > #nosotros .eyebrow, #grid > #contacto .eyebrow { display:flex; align-items:center; height:115px; flex-shrink:0; }
#grid > #nosotros h2, #grid > #contacto h2 { font-size:23px; line-height:1.25; letter-spacing:0; margin:10px 0; }
#grid > #nosotros p, #grid > #contacto p { font-size:14px; margin:0; }
.tile { display:flex; flex-direction:column; align-items:stretch; }
.tile svg { flex-shrink:0; }
@media(max-width:450px){ #grid > #nosotros .eyebrow, #grid > #contacto .eyebrow {height:auto;} }

/* Contacto comercial */
.contact-wa{display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid #50e6a0;background:#123126;color:#50e6a0;border-radius:10px;padding:12px 10px;margin:18px 0 4px;font-size:14px;font-weight:650;width:100%;animation:contact-glow 2.5s infinite;}
.contact-wa svg{flex-shrink:0}.contact-led{position:relative;width:10px;height:10px;flex-shrink:0;background:#9affb9;border-radius:50%;box-shadow:0 0 10px #50e6a0;}
.contact-led::before,.contact-led::after{content:"";position:absolute;inset:0;border:1px solid #50e6a0;border-radius:50%;animation:contact-wave 2.5s infinite;pointer-events:none;}.contact-led::after{animation-delay:.6s;}
@keyframes contact-wave{0%{transform:scale(1);opacity:1}80%,100%{transform:scale(4);opacity:0}}
@keyframes contact-glow{0%,100%{box-shadow:0 0 3px #50e6a022}50%{box-shadow:0 0 22px #50e6a077}}
.contact-info{margin-top:16px;font-size:14px;line-height:1.6}.contact-info strong{display:block;margin-bottom:4px}.contact-info a{color:#50e6a0}.contact-info p+p{margin-top:8px!important}
@media(prefers-reduced-motion:reduce){.contact-led::before,.contact-led::after{animation:none;opacity:0}}

/* Ventana reutilizable de especialidades */
#detail{width:min(92vw,490px);max-width:490px;max-height:90vh;padding:22px;border-color:var(--detail-color,#365775);overflow:auto;box-sizing:border-box}
#detail::backdrop{background:#000b;backdrop-filter:blur(5px)}
.detail-head{display:flex;align-items:center;gap:6px}.detail-head .eyebrow{flex:1;color:var(--detail-color);font-size:10px;letter-spacing:2px}
.detail-head button{padding:5px;width:32px;height:32px;flex-shrink:0;color:#aebdca}
#dt{color:var(--detail-color);font-size:25px;margin:12px 0}
#dd{height:240px;max-height:35vh;overflow-y:auto;scrollbar-width:thin;scrollbar-color:var(--detail-color) #101923;padding-right:10px;border-block:1px solid #26394a;overscroll-behavior:contain}
#dd p,#dd li{color:#aebdca;font-size:15px;line-height:1.75}#dd h3{font-size:16px;margin:24px 0 8px}#dd li{margin-bottom:8px}#detail-wa{margin-top:18px}

/* Puesta en marcha: conserva los dibujos y estilos originales. */
#logoPower{stroke:#159eff;filter:drop-shadow(0 0 4px #159eff) drop-shadow(0 0 12px #159eff) drop-shadow(0 0 20px #007bff)}
#logoGlow,#logoCore{opacity:1}#logoCore{stroke:#c8f4ff}
.standby #logoPower{stroke:#ff3434;filter:drop-shadow(0 0 4px #ff3030) drop-shadow(0 0 12px #ff2020)}
.standby #logoGlow{filter:hue-rotate(145deg)}.standby #logoCore{stroke:#ffb5b5}
.hero,.trust,.sectionhead,.grid,.journey,footer,nav{transition:filter .45s ease;}
.trust{transition-delay:.12s}.sectionhead{transition-delay:.22s}.grid{transition-delay:.32s}.journey,footer{transition-delay:.42s}
.standby .hero,.standby .trust,.standby .sectionhead,.standby .grid,.standby .journey,.standby footer,.standby nav{filter:brightness(.48)}
.standby main *,.standby main *::before,.standby main *::after{animation-play-state:paused!important}
.standby .pulso-entrada,.standby .pulso-salida,.standby .serv-pulse{visibility:hidden}
.standby .serv-strip{fill:#39444d!important;filter:none!important}
.standby #faq-toggle{visibility:hidden}
.journey{margin-top:55px;border:1px solid #29443e;border-radius:20px;padding:clamp(16px,4vw,32px);background:#0e1c24}.journey h2{margin-top:10px}.journey-board{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 36px;position:relative;margin:30px auto;max-width:650px}.journey-chip{position:relative;border:2px solid #405763;border-radius:5px;background:#122630;min-height:76px;padding:12px 6px;color:#aebdca;font-size:14px}.journey-chip:before,.journey-chip:after{content:'';position:absolute;left:12%;right:12%;height:5px;background:repeating-linear-gradient(90deg,#79939d 0 5px,transparent 5px 15px)}.journey-chip:before{top:-7px}.journey-chip:after{bottom:-7px}.journey-chip.current{border-color:#62eaff;box-shadow:0 0 15px #62eaff55;color:white}.journey-chip.complete{border-color:#50e6a0;color:#50e6a0}.journey-chip small{display:block;margin-bottom:6px}.journey-chip:nth-child(3){grid-column:2;grid-row:2}.journey-chip:nth-child(4){grid-column:1;grid-row:2}.journey-chip:nth-child(7){grid-column:1/-1;justify-self:center;width:48%}.journey-wire{position:absolute;pointer-events:none;z-index:0;overflow:visible}.journey-detail{display:flex;align-items:center;gap:18px;border:1px solid #29443e;border-radius:12px;padding:16px;background:#102a31}.journey-detail svg{width:35%;flex-shrink:0;color:#50e6a0}.journey-detail h3{margin:0;color:#62eaff}.journey-detail p{margin-bottom:0}.journey-controls{display:flex;justify-content:space-between;margin-top:15px}.journey-controls button:disabled{opacity:.4}.journey-controls button:last-child{border-color:#50e6a0;color:#50e6a0}
#faq-toggle{position:fixed;right:18px;bottom:18px;width:64px;height:64px;padding:0;border-radius:50%;border:1px solid #50e6a0;background:#102a31;box-shadow:0 0 16px #50e6a044;z-index:5}#faq-toggle svg{width:100%;height:100%}#faq-panel{position:fixed;bottom:94px;right:18px;width:min(350px,calc(100vw - 36px));max-height:70vh;overflow:auto;background:#14202b;border:1px solid #50e6a0;border-radius:15px;padding:16px;z-index:6;box-shadow:0 8px 35px #0009}.faq-head{display:flex;justify-content:space-between;align-items:center;color:#50e6a0}.faq-head button{padding:5px 10px}#faq-questions{display:grid;gap:8px}#faq-questions button{text-align:left;font-size:14px}#faq-answer{font-size:14px}#faq-panel[hidden]{display:none}@media(max-width:450px){.journey-detail{flex-direction:column;align-items:start}.journey-detail svg{width:100%;height:100px}.journey-chip{font-size:12px}.journey-board{gap:25px 22px}}@media(prefers-reduced-motion:reduce){.standby main,.standby main *{filter:none!important}}

.journey-chip{z-index:1}.journey-wire{left:0;top:0}

.standby #logoHalo stop{stop-color:#ff3030}.standby #logoGlow{filter:none}

/* Oscuridad real del taller, sin oscurecer el logotipo. */
body.standby {background:#020407;}
body.standby main,body.standby footer,body.standby nav {opacity:.23;}
body.standby .hero,body.standby .trust,body.standby .sectionhead,body.standby .grid,body.standby .journey,body.standby footer,body.standby nav {filter:brightness(.42);}
body.energizando main,body.energizando footer,body.energizando nav {opacity:1;transition:opacity .65s ease;}
body.energizando .hero,body.energizando .trust,body.energizando .sectionhead,body.energizando .grid,body.energizando .journey,body.energizando footer,body.energizando nav {filter:brightness(1);}
body.standby #logoArroba {filter:none;}
body.standby .contact-led::before,body.standby .contact-led::after {visibility:hidden;}
@media(prefers-reduced-motion:reduce){body.standby main,body.standby footer,body.standby nav{opacity:1;filter:none!important}}

/* Evita restauración y anclaje durante la bienvenida. */
html.inicio-taller {overflow:hidden;overflow-anchor:none;scroll-behavior:auto!important;}

/* Recorrido ilustrado: orden vertical explícito, sin cruces. */
.journey-board{display:flex;flex-direction:column;gap:0;max-width:760px;margin:24px auto}.journey-stage{display:flex;align-items:center;gap:clamp(12px,3vw,28px);width:100%;text-align:left;padding:18px;border:1px solid #29443e;border-radius:14px;background:linear-gradient(115deg,#132a31,#101923);color:#edf4fa;min-height:132px}.journey-stage>svg{width:40%;max-width:220px;flex-shrink:0;overflow:visible}.journey-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.journey-copy small{color:#83a5a8;letter-spacing:2px;font-size:11px}.journey-copy strong{font-size:clamp(16px,2.3vw,23px);color:#edf4fa}.journey-copy>span{font-size:14px;line-height:1.5;color:#aebdca}.journey-stage.current{border-color:#65caff;box-shadow:0 0 18px #159eff44}.journey-stage.complete{border-color:#50e6a0}.journey-stage:focus-visible{outline:2px solid #65caff;outline-offset:3px}.journey-link{height:32px}.journey-link svg{display:block;width:100%;height:100%}.journey-link path{fill:none;stroke:#50e6a0;stroke-width:1.5;vector-effect:non-scaling-stroke}.journey-link .journey-pulse{opacity:0;stroke:#b4ffdb;stroke-width:3;stroke-dasharray:5 50}.journey-link.energized .journey-pulse{opacity:1;animation:j-pulse 1s linear infinite}.current .j-arrive{animation:j-arrive 1.8s ease both}.current .j-write{animation:j-write 2s ease infinite}.current .j-glow{animation:j-glow 1.8s ease infinite}.current .j-confirm{animation:j-confirm 2s ease both}.current .j-tool{animation:j-tool 1.5s ease infinite}.current .j-screen{animation:j-screen 2s ease both}.current .j-clock{transform-origin:112px 75px;animation:j-clock 4s linear infinite}@keyframes j-pulse{to{stroke-dashoffset:-55}}@keyframes j-arrive{from{transform:translateX(-8px);opacity:.25}to{transform:none;opacity:1}}@keyframes j-write{0%{opacity:.15}70%,100%{opacity:1}}@keyframes j-glow{50%{filter:drop-shadow(0 0 4px #50e6a0)}}@keyframes j-confirm{0%,35%{opacity:.15}100%{opacity:1}}@keyframes j-tool{50%{transform:translate(3px,-4px)}}@keyframes j-screen{from{opacity:.12}to{opacity:1}}@keyframes j-clock{to{transform:rotate(360deg)}}@media(max-width:450px){.journey-stage{padding:12px;gap:12px}.journey-stage>svg{width:39%}.journey-copy>span{font-size:13px}.journey-copy small{font-size:10px}}

/* Recorrido compacto: tres columnas, orden serpenteante, sin desplazamiento automático. */
#recorrido{padding:16px clamp(10px,2vw,24px);scroll-margin-top:8px}#recorrido>p{margin:5px 0 10px}#recorrido h2{font-size:clamp(22px,3vw,30px)}
#journey-board{display:grid;grid-template-columns:minmax(0,1fr) 28px minmax(0,1fr) 28px minmax(0,1fr);grid-template-rows:repeat(2, minmax(0,1fr) 15px) minmax(0,1fr);gap:0;max-width:850px;margin:10px auto;align-items:stretch}
#journey-board .journey-stage{min-height:0;min-width:0;padding:5px 8px;display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:center;min-height:76px;border-radius:9px}#journey-board .journey-stage>svg{width:43%;height:64px;max-width:100px}#journey-board .journey-copy{gap:3px}#journey-board .journey-copy strong{font-size:clamp(11px,1.3vw,15px);line-height:1.15}#journey-board .journey-copy small{font-size:10px}#journey-board .journey-stage.complete{filter:grayscale(1);opacity:.62;border-color:#65717a;box-shadow:none}#journey-board .journey-stage:not(.current):not(.complete){opacity:.75}
.compact-wire{position:relative;align-self:center;height:2px;background:#415b61;overflow:hidden}.compact-wire.down{height:100%;width:2px;justify-self:center}.compact-wire i{display:none;position:absolute;background:#a5ffce;box-shadow:0 0 5px #50e6a0;width:9px;height:2px}.compact-wire.energized{background:#50e6a077}.compact-wire.energized i{display:block;animation:wire-right .8s linear infinite}.compact-wire.left.energized i{animation-direction:reverse}.compact-wire.down i{width:2px;height:7px;animation-name:wire-down}@keyframes wire-right{from{left:-9px}to{left:100%}}@keyframes wire-down{from{top:-7px}to{top:100%}}
.journey-description{max-width:850px;margin:0 auto;padding:9px 12px;background:#102a31;border:1px solid #29443e;border-radius:9px;min-height:74px;font-size:13px}.journey-description strong{color:#65caff}.journey-description p{margin:4px 0;line-height:1.4}.journey-controls{max-width:850px;margin:8px auto 0;align-items:center}.journey-controls button{padding:7px 12px}#journey-counter{font-size:13px;color:#aebdca}
#faq-hint{position:fixed;right:92px;bottom:28px;z-index:5;max-width:min(245px,calc(100vw - 110px));padding:10px 14px;background:#142c32;border:1px solid #50e6a0;color:#d8fbea;border-radius:12px;font-size:13px;text-align:left;box-shadow:0 3px 18px #0008}#faq-hint[hidden]{display:none}#faq-toggle.attention svg{animation:faq-wave .85s ease-in-out 2;transform-origin:center}@keyframes faq-wave{0%,100%{transform:none}30%{transform:translateY(-5px) rotate(-9deg)}65%{transform:rotate(9deg)}}
@media(max-width:600px){#journey-board{grid-template-columns:minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr);grid-template-rows:repeat(2,minmax(0,1fr) 12px) minmax(0,1fr)}#journey-board .journey-stage{flex-direction:column;gap:2px;padding:4px;min-height:82px;text-align:center}#journey-board .journey-stage>svg{width:100%;height:42px}#journey-board .journey-copy strong{font-size:10px}#journey-board .journey-copy small{font-size:9px}.journey-description{min-height:96px}}

/* Letrero telefónico independiente del encendido del taller. */
.header-contact{display:flex;flex-direction:column;align-items:flex-end;gap:10px;min-width:0}
.phone-neon{display:inline-flex;align-items:center;gap:12px;padding:9px 16px;border:1.5px solid #65ffb2;border-radius:9px;background:#10251f;color:#8affc3;box-shadow:0 0 12px #50e6a077,inset 0 0 12px #50e6a022;animation:phone-neon-glow 7s infinite;white-space:nowrap}
.phone-neon small{display:block;color:#b2ffda;font-size:10px;letter-spacing:1.8px;margin-bottom:3px;text-shadow:0 0 5px #50e6a0}
.phone-neon b{font-size:20px;text-shadow:0 0 4px #50e6a0,0 0 12px #50e6a0}
.phone-neon svg{width:26px;height:26px;filter:drop-shadow(0 0 5px #50e6a0)}
.phone-neon:focus-visible{outline:2px solid white;outline-offset:4px}
@keyframes phone-neon-glow{0%,85%,100%{box-shadow:0 0 12px #50e6a077,inset 0 0 12px #50e6a022}90%,95%{box-shadow:0 0 27px #50e6a0bb,inset 0 0 18px #50e6a044}}
@media(max-width:750px){.header-contact{width:100%;align-items:flex-end}.header-contact nav{justify-content:flex-end}.phone-neon{max-width:100%}}
