/* ==========================================================
   Electrical & Solutions Services · v2
   Paleta tomada del logo: azul rey + rayo amarillo + dorado,
   llevada a tonos eléctricos sobre azul noche.
   ========================================================== */
:root {
  --night: #060a1c;
  --night-2: #0b1230;
  --night-3: #121c45;
  --royal: #1f4bff;
  --electric: #00d9ff;
  --volt: #ffd400;
  --amber: #ff8a00;
  --gold: #e3b341;
  --ink: #0b1020;
  --text: #e9eeff;
  --text-2: #a8b4dc;
  --paper: #f5f7ff;
  --paper-2: #ffffff;
  --muted: #5b6587;
  --line: rgba(140, 160, 255, .18);
  --grad-blue: linear-gradient(120deg, #1f4bff 0%, #00d9ff 100%);
  --grad-volt: linear-gradient(120deg, #ffd400 0%, #ff8a00 100%);
  --grad-text: linear-gradient(100deg, #00d9ff 0%, #4f7bff 45%, #ffd400 100%);
  --r: 18px;
  --shadow: 0 18px 50px -18px rgba(10, 20, 80, .45);
  --glow-blue: 0 0 0 1px rgba(0, 217, 255, .25), 0 12px 40px -10px rgba(0, 217, 255, .55);
  --glow-volt: 0 10px 34px -8px rgba(255, 180, 0, .7);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { font: 400 16px/1.65 Inter, system-ui, sans-serif; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: "Space Grotesk", Inter, sans-serif; line-height: 1.12; letter-spacing: -.02em; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }

.grad { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ul { text-decoration: underline; text-decoration-thickness: 6px; text-decoration-color: rgba(6, 10, 28, .3); text-underline-offset: 8px; }

/* ---------- Botones ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; padding: .95em 1.6em; border-radius: 999px; font-weight: 700; font-size: .98rem; border: 0; cursor: pointer; transition: transform .2s, box-shadow .25s, background .25s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6em 1.15em; font-size: .9rem; }
.btn-block { width: 100%; }
.btn-volt { background: var(--grad-volt); color: #1a1000; box-shadow: var(--glow-volt); }
.btn-volt:hover { box-shadow: 0 14px 44px -6px rgba(255, 170, 0, .9); }
.btn-ghost { color: #fff; border: 1.5px solid rgba(0, 217, 255, .6); background: rgba(0, 217, 255, .08); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(0, 217, 255, .18); box-shadow: var(--glow-blue); }
.btn-wa { background: #25d366; color: #052b14; box-shadow: 0 10px 30px -8px rgba(37, 211, 102, .8); }
.btn-dark { background: var(--night); color: #fff; }

/* ---------- Encabezado ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 100; transition: background .3s, box-shadow .3s, padding .3s; padding: 14px 0; }
.hdr.scrolled { background: rgba(6, 10, 28, .82); backdrop-filter: blur(14px); box-shadow: 0 8px 30px -12px rgba(0,0,0,.6); padding: 8px 0; }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; font-family: "Space Grotesk"; font-size: 1.05rem; line-height: 1.15; }
.brand img { width: 52px; height: 52px; filter: drop-shadow(0 6px 14px rgba(31, 75, 255, .75)); transition: transform .3s; }
.brand:hover img { transform: rotate(-6deg) scale(1.05); }
.brand b { color: var(--volt); }
.menu { display: flex; align-items: center; gap: 6px; list-style: none; }
.menu a:not(.btn) { color: #dfe6ff; font-weight: 500; font-size: .95rem; padding: .5em .85em; border-radius: 999px; transition: background .2s, color .2s; }
.menu a:not(.btn):hover, .menu a.on { color: #fff; background: rgba(0, 217, 255, .14); }
.menu-cta { margin-left: 8px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255,255,255,.06); cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; padding: 130px 0 80px; background: radial-gradient(1200px 600px at 80% -10%, #1a2a8a 0%, transparent 60%), var(--night); color: var(--text); overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
.b1 { width: 520px; height: 520px; background: #1f4bff; top: -120px; left: -140px; }
.b2 { width: 420px; height: 420px; background: #00d9ff; bottom: -160px; right: 8%; opacity: .35; animation-delay: -5s; }
.b3 { width: 300px; height: 300px; background: #ffb300; top: 30%; right: -80px; opacity: .3; animation-delay: -9s; }
@keyframes float { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } }
.grid-lines { position: absolute; inset: 0; background-image: linear-gradient(rgba(120,150,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(120,150,255,.07) 1px, transparent 1px); background-size: 56px 56px; mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%); }
.bolt-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.bolt-lines path { fill: none; stroke: rgba(0, 217, 255, .35); stroke-width: 2; stroke-dasharray: 14 900; animation: current 6s linear infinite; filter: drop-shadow(0 0 6px #00d9ff); }
.bolt-lines path:nth-child(2) { stroke: rgba(255, 212, 0, .45); animation-duration: 8s; animation-delay: -3s; filter: drop-shadow(0 0 6px #ffd400); }
.bolt-lines path:nth-child(3) { animation-duration: 10s; animation-delay: -6s; }
@keyframes current { from { stroke-dashoffset: 914; } to { stroke-dashoffset: 0; } }

.hero-in { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: .55em; padding: .5em 1em; border-radius: 999px; font-weight: 600; font-size: .88rem; color: var(--volt); background: rgba(255, 212, 0, .1); border: 1px solid rgba(255, 212, 0, .4); margin-bottom: 22px; }
.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); color: #fff; margin-bottom: 20px; }
.lead { font-size: 1.12rem; color: var(--text-2); max-width: 560px; margin-bottom: 32px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 44px; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; max-width: 560px; }
.stat { padding: 16px 18px; border-radius: 16px; background: linear-gradient(160deg, rgba(31,75,255,.22), rgba(0,217,255,.06)); border: 1px solid var(--line); }
.stat .num { display: block; font: 700 2rem/1 "Space Grotesk"; background: var(--grad-volt); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { font-size: .82rem; color: var(--text-2); }

.hero-vis { position: relative; }
.carousel { position: relative; aspect-ratio: 4 / 4.2; border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0,217,255,.35), 0 30px 80px -20px rgba(0, 100, 255, .7); }
.carousel::before { content: ""; position: absolute; inset: -2px; border-radius: 28px; padding: 2px; background: conic-gradient(from var(--ang, 0deg), #00d9ff, #1f4bff, #ffd400, #ff8a00, #00d9ff); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; z-index: 3; pointer-events: none; animation: spin 8s linear infinite; }
@property --ang { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --ang: 360deg; } }
.slides { position: absolute; inset: 0; }
.slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.06); transition: opacity .9s ease, transform 6s ease; }
.slide.active { opacity: 1; transform: scale(1); }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.slide.fit { background: var(--bg) center / cover no-repeat; }
.slide.fit::before { content: ""; position: absolute; inset: 0; backdrop-filter: blur(22px) brightness(.55); -webkit-backdrop-filter: blur(22px) brightness(.55); }
.slide.fit img { position: relative; object-fit: contain; }
.slide.fit::after { display: none; }
.slide figcaption { position: absolute; left: 18px; bottom: 54px; display: inline-flex; gap: .6em; align-items: center; padding: .65em 1.1em; border-radius: 14px; font-weight: 600; color: #fff; background: rgba(6, 10, 28, .65); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15); }
.slide figcaption i { color: var(--volt); }
.slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(6,10,28,.75)); }
.slide figcaption { z-index: 2; }
.car-btn { position: absolute; top: 50%; translate: 0 -50%; z-index: 4; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(6,10,28,.5); color: #fff; cursor: pointer; backdrop-filter: blur(6px); transition: background .2s, transform .2s; }
.car-btn:hover { background: var(--royal); transform: scale(1.08); }
.prev { left: 14px; } .next { right: 14px; }
.dots { position: absolute; bottom: 20px; left: 20px; z-index: 4; display: flex; gap: 8px; }
.dots button { width: 9px; height: 9px; border-radius: 99px; border: 0; background: rgba(255,255,255,.45); cursor: pointer; transition: width .3s, background .3s; }
.dots button.on { width: 28px; background: var(--volt); }
.hotline { position: absolute; right: -28px; bottom: -26px; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: var(--shadow); transition: transform .2s; }
.hotline:hover { transform: translateY(-3px); }
.hotline small { display: block; color: var(--muted); font-size: .78rem; }
.hotline b { font: 700 1.1rem "Space Grotesk"; }
.pulse { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 14px; background: var(--grad-blue); color: #fff; }
.pulse::after { content: ""; position: absolute; inset: 0; border-radius: 14px; box-shadow: 0 0 0 0 rgba(0, 217, 255, .7); animation: ping 2s infinite; }
@keyframes ping { to { box-shadow: 0 0 0 16px rgba(0, 217, 255, 0); } }

/* ---------- Franja ---------- */
.ticker { background: var(--grad-volt); color: #1a1000; overflow: hidden; padding: 14px 0; transform: skewY(-1.2deg); margin-top: -18px; position: relative; z-index: 2; }
.ticker-track { display: flex; gap: 46px; width: max-content; animation: marquee 32s linear infinite; font: 700 1rem "Space Grotesk"; text-transform: uppercase; letter-spacing: .04em; }
.ticker-track span { display: inline-flex; align-items: center; gap: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Secciones ---------- */
.sec { padding: 110px 0; position: relative; }
.sec-dark { background: radial-gradient(900px 500px at 10% 0%, #16236b 0%, transparent 60%), var(--night-2); color: var(--text); }
.sec-volt { background: var(--grad-volt); color: #1a1000; }
.head { text-align: center; max-width: 760px; margin: 0 auto 56px; }
.head h2, .about-txt h2, .contact h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); margin-top: 10px; }
.sub { color: var(--text-2); margin-top: 10px; }
.kicker { display: inline-block; font: 700 .8rem "Space Grotesk"; letter-spacing: .14em; text-transform: uppercase; color: var(--royal); padding: .4em .9em; border-radius: 99px; background: rgba(31, 75, 255, .1); }
.sec-dark .kicker { color: var(--electric); background: rgba(0, 217, 255, .12); }
.kicker-dark { color: #1a1000; background: rgba(0,0,0,.1); }

/* Quiénes somos */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.about-img { position: relative; }
.about-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; border-radius: 26px; box-shadow: var(--shadow); }
.about-img::before { content: ""; position: absolute; inset: 24px -24px -24px 24px; border-radius: 26px; background: var(--grad-blue); z-index: -1; opacity: .9; }
.float-badge { position: absolute; right: -18px; top: 28px; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 18px; background: var(--night); color: #fff; box-shadow: var(--glow-volt); }
.float-badge b { font: 700 2.2rem/1 "Space Grotesk"; color: var(--volt); }
.float-badge span { font-size: .85rem; line-height: 1.25; color: var(--text-2); }
.about-txt p { color: #3d4666; margin-top: 16px; }
.about-txt h2 { margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: .55em; padding: .7em 1.2em; border-radius: 14px; font-weight: 600; color: #fff; }
.chip.c1 { background: var(--grad-blue); }
.chip.c2 { background: var(--grad-volt); color: #1a1000; }
.chip.c3 { background: linear-gradient(120deg, #7c4dff, #ff3dbb); }

/* Servicios */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc { position: relative; padding: 36px 30px; border-radius: 22px; background: linear-gradient(170deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); border: 1px solid var(--line); overflow: hidden; transition: transform .3s, box-shadow .3s, border-color .3s; }
.svc::before { content: ""; position: absolute; width: 220px; height: 220px; right: -80px; top: -80px; border-radius: 50%; background: linear-gradient(135deg, var(--a), var(--b)); opacity: .18; filter: blur(10px); transition: opacity .3s, transform .4s; }
.svc:hover { transform: translateY(-8px); border-color: transparent; box-shadow: 0 0 0 1.5px var(--a), 0 24px 60px -18px var(--a); }
.svc:hover::before { opacity: .4; transform: scale(1.3); }
.ico { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; font-size: 1.6rem; color: #fff; background: linear-gradient(135deg, var(--a), var(--b)); box-shadow: 0 12px 30px -10px var(--a); margin-bottom: 22px; }
.svc h3 { font-size: 1.35rem; color: #fff; margin-bottom: 10px; }
.svc p { color: var(--text-2); }

/* Productos */
.prods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prod { background: var(--paper-2); border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px -18px rgba(20, 30, 90, .35); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.prod:hover { transform: translateY(-8px); box-shadow: 0 0 0 2px var(--royal), 0 30px 60px -20px rgba(31, 75, 255, .55); }
.pimg { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.pimg img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.prod:hover .pimg img { transform: scale(1.08); }
.ptag { position: absolute; left: 14px; top: 14px; padding: .35em .85em; border-radius: 99px; font: 700 .75rem "Space Grotesk"; letter-spacing: .05em; text-transform: uppercase; background: var(--volt); color: #1a1000; }
.pbody { padding: 24px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.pbody h3 { font-size: 1.28rem; }
.pbody p { color: var(--muted); flex: 1; }
.link { font-weight: 700; color: var(--royal); display: inline-flex; align-items: center; gap: .5em; }
.link i { transition: transform .2s; }
.link .fa-whatsapp { color: #25d366; font-size: 1.15em; }
.link:hover .fa-arrow-right { transform: translateX(5px); }

/* Por qué elegirnos */
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why-card { padding: 30px 24px; border-radius: 22px; background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.6); backdrop-filter: blur(6px); transition: transform .3s, background .3s; }
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.6); }
.why-card i { font-size: 1.5rem; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 16px; background: var(--night); color: var(--volt); margin-bottom: 18px; }
.why-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.why-card p { color: #3b2a00; font-size: .95rem; }

/* Proyectos */
.gal-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: -24px 0 34px; }
.gal-filters button { font: 600 .9rem Inter, sans-serif; color: var(--text); padding: .6em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.05); cursor: pointer; transition: background .2s, border-color .2s, color .2s; }
.gal-filters button small { opacity: .6; margin-left: 4px; }
.gal-filters button:hover { border-color: var(--electric); }
.gal-filters button.on { background: var(--grad-volt); color: #1a1000; border-color: transparent; box-shadow: var(--glow-volt); }
.gal { display: flex; gap: 16px; align-items: flex-start; }
.gcol { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gi { position: relative; margin: 0; border-radius: 18px; overflow: hidden; cursor: zoom-in; background: var(--night-3); }
.gi.hide { display: none; }
.gi img { display: block; width: 100%; height: auto; max-height: 420px; object-fit: cover; transition: transform .6s; }
.gi.flyer img { max-height: none; }
.gi figcaption { position: absolute; inset: auto 0 0 0; padding: 18px; background: linear-gradient(180deg, transparent, rgba(6,10,28,.92)); transform: translateY(35%); opacity: 0; transition: transform .35s, opacity .35s; }
.gi figcaption h3 { color: #fff; font-size: 1.05rem; }
.gi figcaption p { color: var(--text-2); font-size: .86rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gi::after { content: ""; position: absolute; inset: 0; border-radius: 18px; box-shadow: inset 0 0 0 0 var(--electric); transition: box-shadow .3s; pointer-events: none; }
.gi:hover img { transform: scale(1.06); }
.gi:hover figcaption { transform: none; opacity: 1; }
.gi:hover::after { box-shadow: inset 0 0 0 2px var(--electric); }
.gal-more { text-align: center; margin-top: 18px; }
.gal-more[hidden] { display: none; }

/* Testimonios */
.tst-track { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 48px) / 3); gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 20px; scrollbar-width: none; }
.tst-track::-webkit-scrollbar { display: none; }
.tst { scroll-snap-align: start; padding: 30px; border-radius: 22px; background: #fff; box-shadow: 0 12px 34px -20px rgba(20,30,90,.4); border-top: 4px solid transparent; border-image: var(--grad-text) 1; display: flex; flex-direction: column; gap: 16px; }
.stars { color: var(--volt); letter-spacing: 3px; font-size: 1.1rem; text-shadow: 0 0 10px rgba(255,180,0,.5); }
.tst p { color: #3d4666; flex: 1; }
.tst footer { display: flex; align-items: center; gap: 12px; }
.av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font: 700 .95rem "Space Grotesk"; color: #fff; background: var(--c); box-shadow: 0 6px 16px -6px var(--c); }
.tst b { display: block; }
.tst small { color: var(--muted); }
.tst-nav { display: flex; justify-content: center; gap: 12px; margin-top: 10px; }
.tst-nav button { width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--night); color: #fff; cursor: pointer; transition: background .2s, transform .2s; }
.tst-nav button:hover { background: var(--royal); transform: scale(1.06); }

/* CTA */
.cta { padding: 70px 0; background: var(--grad-blue); color: #fff; position: relative; overflow: hidden; }
.cta::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(-45deg, rgba(255,255,255,.06) 0 14px, transparent 14px 28px); }
.cta-in { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); }
.cta p { opacity: .9; margin-top: 6px; }
.cta-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.cinfo { display: grid; gap: 14px; margin-top: 30px; }
.ci { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
a.ci:hover { border-color: var(--electric); transform: translateX(6px); }
.ci i { width: 50px; height: 50px; flex: none; display: grid; place-items: center; border-radius: 14px; font-size: 1.2rem; color: var(--night); background: var(--c); box-shadow: 0 8px 24px -8px var(--c); }
.ci small { display: block; color: var(--text-2); font-size: .8rem; }
.ci b { color: #fff; font-weight: 600; word-break: break-word; }
.form { padding: 34px; border-radius: 24px; background: #fff; color: var(--ink); box-shadow: 0 30px 80px -30px rgba(0, 120, 255, .6); display: grid; gap: 16px; }
.form h3 { font-size: 1.5rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form label span { display: block; font-size: .84rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form input, .form textarea { width: 100%; padding: .9em 1em; border-radius: 12px; border: 1.5px solid #dfe4f5; font: inherit; color: var(--ink); background: #f8f9ff; transition: border-color .2s, box-shadow .2s; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--royal); box-shadow: 0 0 0 4px rgba(31, 75, 255, .15); background: #fff; }
.form .bad { border-color: #ff3d5e; }
.form-note { font-size: .82rem; color: var(--muted); text-align: center; }
.form-note a { color: var(--royal); font-weight: 700; }
.hp { position: absolute; left: -9999px; }

/* Pie */
.ftr { background: var(--night); color: var(--text-2); padding: 70px 0 0; }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 36px; }
.ftr h4 { color: #fff; font-size: 1.05rem; margin-bottom: 16px; }
.ftr ul { list-style: none; display: grid; gap: 8px; }
.ftr a:hover { color: var(--volt); }
.ftr p { margin-top: 12px; font-size: .94rem; }
.ftr p i { color: var(--electric); width: 20px; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; transition: background .2s, transform .2s; }
.social a:hover { background: var(--grad-blue); transform: translateY(-3px); color: #fff; }
.ftr-bottom { margin-top: 50px; padding: 22px 0; border-top: 1px solid var(--line); text-align: center; font-size: .88rem; }

/* Flotantes */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; font-size: 1.9rem; color: #fff; background: #25d366; box-shadow: 0 10px 30px -6px rgba(37,211,102,.8); animation: bob 3s ease-in-out infinite; opacity: 0; pointer-events: none; transition: opacity .3s; }
.wa-float.show { opacity: 1; pointer-events: auto; }
@keyframes bob { 50% { transform: translateY(-6px); } }
.to-top { position: fixed; right: 30px; bottom: 96px; z-index: 90; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer; color: #fff; background: var(--grad-blue); box-shadow: var(--glow-blue); opacity: 0; pointer-events: none; transform: translateY(10px); transition: opacity .3s, transform .3s; }
.to-top.show { opacity: 1; pointer-events: auto; transform: none; }

/* Visor de fotos */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: rgba(4, 6, 18, .92); backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity .3s; padding: 20px; }
.lb.open { opacity: 1; pointer-events: auto; }
.lb figure { max-width: min(1000px, 92vw); border-radius: 20px; overflow: hidden; background: var(--night-2); box-shadow: 0 0 0 1px rgba(0,217,255,.3), 0 30px 90px -20px rgba(0, 120, 255, .7); transform: scale(.94); transition: transform .3s; }
.lb.open figure { transform: none; }
.lb img { width: 100%; max-height: 72vh; object-fit: contain; background: #000; }
.lb figcaption { padding: 18px 22px; color: var(--text); }
.lb figcaption p { color: var(--text-2); margin-top: 4px; }
.lb-x { position: absolute; top: 18px; right: 22px; width: 46px; height: 46px; border-radius: 50%; border: 0; font-size: 1.8rem; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
.lb-nav { position: absolute; top: 50%; translate: 0 -50%; width: 50px; height: 50px; border-radius: 50%; border: 0; color: #fff; background: rgba(255,255,255,.1); cursor: pointer; }
.lb-nav:hover, .lb-x:hover { background: var(--royal); }
.lb-prev { left: 18px; } .lb-next { right: 18px; }

/* Aparición al hacer scroll */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-in, .about, .contact { grid-template-columns: 1fr; }
  .hero-vis { max-width: 560px; }
  .hotline { right: 12px; }
  .cards3, .prods { grid-template-columns: repeat(2, 1fr); }
  .why { grid-template-columns: repeat(2, 1fr); }
  .tst-track { grid-auto-columns: calc((100% - 24px) / 2); }
  .ftr-grid { grid-template-columns: 1fr 1fr; }
  .about-img { max-width: 520px; }
}
@media (max-width: 860px) {
  .burger { display: flex; }
  .menu { position: fixed; top: 0; right: 0; height: 100vh; width: min(320px, 85vw); flex-direction: column; align-items: stretch; gap: 4px; padding: 90px 22px 22px; background: rgba(6, 10, 28, .97); backdrop-filter: blur(14px); transform: translateX(100%); transition: transform .35s ease; box-shadow: -20px 0 50px rgba(0,0,0,.5); }
  .menu.open { transform: none; }
  .menu a:not(.btn) { display: block; padding: .9em 1em; font-size: 1.05rem; }
  .menu-cta { margin: 14px 0 0; }
  .menu-cta .btn { width: 100%; }
  .burger { position: relative; z-index: 101; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 32px); }
  .sec { padding: 80px 0; }
  .brand span { font-size: .9rem; }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px 10px; }
  .stat .num { font-size: 1.5rem; }
  .cards3, .prods, .why, .row2 { grid-template-columns: 1fr; }
  .gal, .gcol { gap: 10px; }
  .gal-filters { margin: -10px -16px 24px; padding: 0 16px 6px; gap: 8px; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .gal-filters::-webkit-scrollbar { display: none; }
  .gal-filters button { font-size: .82rem; padding: .5em .9em; white-space: nowrap; flex: none; }
  .gi figcaption { padding: 10px; }
  .gi figcaption h3 { font-size: .82rem; }
  .gi figcaption p { display: none; }
  .gi.flyer figcaption { display: none; }
  .gi figcaption { opacity: 1; transform: none; }
  .tst-track { grid-auto-columns: 88%; }
  .ftr-grid { grid-template-columns: 1fr; }
  .hotline { position: relative; right: 0; bottom: 0; margin-top: 18px; }
  .about-img::before { inset: 16px -10px -16px 16px; }
  .float-badge { right: 8px; }
  .hero-btns .btn { width: 100%; }
  .form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Modo revisión (#qa): todo visible, sin animaciones */
.qa .reveal { opacity: 1; transform: none; transition: none; }
.qa .hero { min-height: 900px; }
.qa .wa-float, .qa .hdr { position: absolute; }
.qa .wa-float { opacity: 1; }
