/* LOKTRAK · ajustes comunes del sitio (v20261005)
   Se carga después del CSS propio de cada página: solo pule detalles,
   no cambia contenido ni la paleta de la marca. */
body{font-family:Manrope,Inter,system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3{text-wrap:balance}
p,li{text-wrap:pretty}
::selection{background:rgba(89,182,60,.28);color:inherit}
:where(img[width][height]){height:auto}

/* Saltar al contenido (accesibilidad) */
.lk-saltar{position:absolute;left:12px;top:-60px;z-index:3000;background:#0b4b92;color:#fff!important;padding:10px 16px;border-radius:999px;font-weight:800;font-size:14px;transition:top .2s}
.lk-saltar:focus{top:12px}

/* Foco visible y consistente */
a:focus-visible,button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:3px solid #59b63c;outline-offset:3px;border-radius:10px}

/* Botones: misma altura táctil y transición en todas las páginas */
.btn,.submit,.call,.phone{min-height:44px;transition:transform .2s ease,box-shadow .2s ease,background-color .2s ease,filter .2s ease}
.btn:hover,.submit:hover{transform:translateY(-2px)}
.btn.primary:hover,.btn-green:hover,.submit:hover,.call:hover,.phone:hover{filter:brightness(1.05);box-shadow:0 16px 32px rgba(74,173,51,.32)}
.btn:active,.submit:active{transform:translateY(0)}

/* Encabezado: sombra suave al hacer scroll */
header{transition:box-shadow .25s ease}
header.lk-scrolled{box-shadow:0 8px 28px rgba(8,44,88,.08)}

/* Tarjetas: transición uniforme */
.card,.service,.service-card,.product,.product-card,.why-item,.industry-card,.value,.sector{transition:transform .22s ease,box-shadow .22s ease}

/* Botón flotante de WhatsApp */
.wa,.wa-float{transition:transform .2s ease,box-shadow .2s ease}
.wa:hover,.wa-float:hover{transform:scale(1.06)}

/* Pie de página con 5 columnas (antes la quinta caía sola en otra fila) */
@media (min-width:981px){.foot.lk-foot-5{grid-template-columns:1.3fr .7fr .75fr 1fr .9fr}}

/* Menú móvil para las páginas de soluciones y blog (antes desaparecía sin botón) */
.lk-menu-btn{display:none;align-items:center;justify-content:center;border:0;background:#edf5ff;color:#0b4b92;border-radius:12px;width:44px;height:44px;font-size:22px;cursor:pointer;flex:0 0 auto}
@media (max-width:920px){
  body.lk-seo header .nav{position:relative}
  body.lk-seo .lk-menu-btn{display:inline-flex}
  body.lk-seo .menu.open{display:flex;position:absolute;top:100%;left:-16px;right:-16px;flex-direction:column;align-items:stretch;gap:4px;background:#fff;padding:12px 16px 16px;box-shadow:0 20px 40px rgba(8,44,88,.14);border-bottom:1px solid #e4ebf3}
  body.lk-seo .menu.open a{padding:12px 14px}
  body.lk-seo .menu.open .call{text-align:center;margin-top:6px}
}
/* Menús desplegables existentes: enlaces más cómodos al tacto */
@media (max-width:980px){.menu.open a{padding:12px 14px}}

/* Espacio inferior en el celular para que el botón de WhatsApp y LOKI no tapen el pie */
@media (max-width:640px){footer{padding-bottom:120px!important}}
footer .foot nav{display:grid;gap:8px}

/* ===== 20261005c: fotos de equipo, fichas técnicas, aviso de privacidad ===== */
.prod-visual img.pv-foto,.visual img.pv-foto{position:relative;z-index:2;width:88%;height:auto;max-height:300px;object-fit:contain;}
.visual img.pv-foto{width:auto;max-width:86%;max-height:190px}
.prod-visual img.pv-cover,.visual img.pv-cover{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:1}
/* Productos: fichas por categoría */
.fichas{background:#fff;border-top:1px solid #e4ebf3;border-bottom:1px solid #e4ebf3}
.fichas-cat{margin-top:30px}.fichas-cat-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-bottom:2px solid #e4ebf3;padding-bottom:8px;margin-bottom:16px}
.fichas-cat-head h3{margin:0;font-size:22px;color:#0b4b92}.fichas-cat-head a{font-size:13px;font-weight:800;color:#4d982f}
.fichas-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.ficha-card{background:#fff;border:1px solid #e4ebf3;border-radius:22px;overflow:hidden;box-shadow:0 10px 26px rgba(16,35,63,.06);display:flex;flex-direction:column;transition:.2s}
.ficha-card:hover{transform:translateY(-4px);box-shadow:0 20px 40px rgba(16,35,63,.12)}
.ficha-img{display:block;background:#fff;border-bottom:1px solid #eef3f8}.ficha-img img{width:100%;height:220px;object-fit:contain;padding:10px}
.ficha-body{padding:18px 20px 20px;display:flex;flex-direction:column;flex:1}.ficha-body h4{font-size:18px;line-height:1.25;margin:2px 0 8px;color:#0b4b92}
.ficha-body ul{list-style:none;padding:0;margin:0 0 16px;flex:1}.ficha-body li{font-size:13px;margin:6px 0;color:#425874}.ficha-body li:before{content:'✓';color:#58b33d;font-weight:900;margin-right:7px}
.ficha-body .label{align-self:flex-start}.ficha-body .actions{margin-top:auto;gap:8px}.ficha-body .btn{padding:10px 14px;font-size:13px}
/* Página de producto */
.pp-hero-grid{display:grid;grid-template-columns:1.12fr .88fr;gap:40px;align-items:center;position:relative;z-index:1}
.pp-hero h1{font-size:clamp(34px,4.4vw,56px)}.pp-sub{font-weight:800;color:#adf197!important;font-size:16px!important;margin:-6px 0 12px}
.pp-foto{margin:0;background:#fff;border-radius:28px;padding:16px 16px 10px;box-shadow:0 26px 60px rgba(0,0,0,.28)}.pp-foto img{width:100%;height:auto}
.pp-foto figcaption{text-align:center;color:#5b6b80;font-size:12px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;padding-top:6px}
.pp-chips{display:flex;flex-wrap:wrap;gap:8px;margin:-6px 0 30px}.pp-chips span{background:#eef8e9;color:#3f8a25;border:1px solid #d5ecc9;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800}
.pp-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:30px;align-items:start}
.pp-box{background:linear-gradient(145deg,#edf5ff,#eef9e9);border:1px solid #dce8f2;border-radius:22px;padding:22px;margin-bottom:18px}.pp-box h3{margin:0 0 12px;color:#0b4b92;font-size:19px}
.pp-cables{list-style:none;padding:0;margin:0}.pp-cables li{display:grid;grid-template-columns:16px 82px 1fr;gap:10px;align-items:center;padding:7px 0;border-bottom:1px dashed #d3e0ec;font-size:14px}.pp-cables li:last-child{border-bottom:0}
.pp-dot{width:16px;height:16px;border-radius:50%;border:1px solid rgba(0,0,0,.25)}.pp-nota{font-size:12px;color:#66758a;margin:10px 0 0}
.pp-loki{display:grid;grid-template-columns:92px 1fr;gap:14px;align-items:end;background:#fff;border:1px solid #dce8f2;border-radius:22px;padding:18px 18px 18px 10px;box-shadow:0 12px 30px rgba(16,35,63,.07)}
.pp-loki img{width:92px;height:auto}.pp-globo{background:#f2f8ff;border:1px solid #d7e7f7;border-radius:18px 18px 18px 4px;padding:14px 16px}.pp-globo b{color:#0b4b92}.pp-globo p{margin:6px 0 0;font-size:14px;color:#324a68}
.pp-globo .actions{margin-top:12px;gap:8px}.pp-globo .btn{padding:9px 13px;font-size:13px}
.pp-btn-loki,.pp-btn-out{background:#fff!important;border:1px solid #a7bfd7!important;color:#0b4b92!important;cursor:pointer;font-family:inherit}
.pp-ficha{margin:0 auto;max-width:900px;background:#fff;border:1px solid #e4ebf3;border-radius:22px;padding:14px;box-shadow:0 14px 34px rgba(16,35,63,.08)}
.pp-ficha a{display:block;cursor:zoom-in}.pp-ficha img{width:100%;height:auto;border-radius:12px}.pp-ficha figcaption{text-align:center;font-size:13px;color:#66758a;padding-top:10px}
.pp-rel-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}
.pp-rel{display:flex;flex-direction:column;background:#fff;border:1px solid #e4ebf3;border-radius:20px;overflow:hidden;box-shadow:0 10px 26px rgba(16,35,63,.06);transition:.2s}
.pp-rel:hover{transform:translateY(-4px)}.pp-rel img{width:100%;height:190px;object-fit:contain;padding:10px}.pp-rel b{padding:12px 16px 0;color:#0b4b92;font-size:16px}.pp-rel span{padding:2px 16px 14px;color:#4d982f;font-size:13px;font-weight:800}
.lk-equipos .section-head{margin-bottom:22px}
.lk-escena{margin:0;background:#fff;border:1px solid #e4ebf3;border-radius:20px;overflow:hidden;box-shadow:0 10px 26px rgba(16,35,63,.06);display:flex;flex-direction:column}
.lk-escena img{width:100%;height:190px;object-fit:cover}.lk-escena figcaption{padding:10px 14px 4px;font-size:13px;color:#425874}
.lk-escena .lk-credito,.lk-credito{padding:0 14px 12px;font-size:11px;color:#7d8ba0}.lk-credito a{color:#5a7593;text-decoration:underline}
/* Lightbox */
.lk-lightbox{position:fixed;inset:0;z-index:2147483000;background:rgba(3,14,28,.93);overflow:auto;padding:58px 12px 28px;display:flex;justify-content:center;align-items:flex-start}
.lk-lightbox img{max-width:min(1400px,100%);height:auto;background:#fff;border-radius:8px;box-shadow:0 20px 60px rgba(0,0,0,.5)}
.lk-lightbox button{position:fixed;top:12px;right:14px;width:44px;height:44px;border-radius:50%;border:0;background:#fff;color:#0b4b92;font-size:26px;line-height:1;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.3)}
body.lk-noscroll{overflow:hidden}
/* Aviso de privacidad */
.lk-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px}
.lk-legal-hero{padding:64px 0 52px!important}.lk-legal-hero h1{font-size:clamp(34px,4.6vw,54px)!important}.lk-fecha{font-size:14px!important;font-weight:800;color:#adf197!important}
.lk-aviso{display:grid;grid-template-columns:260px 1fr;gap:38px;align-items:start}
.lk-indice{position:sticky;top:96px;background:#f6f9fd;border:1px solid #e4ebf3;border-radius:18px;padding:18px 18px 10px;font-size:13px}.lk-indice ol{padding-left:18px;margin:10px 0}.lk-indice li{margin:6px 0}.lk-indice a{color:#0b4b92;font-weight:700}
.lk-aviso-txt{max-width:820px;color:#2b3f5a}.lk-aviso-txt h2{font-size:24px;color:#0b4b92;margin:30px 0 10px;scroll-margin-top:96px}.lk-aviso-txt h2:first-child{margin-top:0}.lk-aviso-txt h3{font-size:17px;margin:18px 0 6px;color:#10233f}
.lk-aviso-txt p,.lk-aviso-txt li{font-size:15px}.lk-aviso-txt li{margin:6px 0}.lk-aviso-txt a{color:#0b4b92;text-decoration:underline}.lk-aviso-txt .btn{text-decoration:none}
.lk-aviso-txt .lk-fecha{color:#4d982f!important}.lk-destacado{background:#eef8e9;border-left:4px solid #59b63c;border-radius:10px;padding:12px 14px}
.lk-cred-tabla td{vertical-align:top}.lk-cred-tabla a{color:#0b4b92;text-decoration:underline}
.lk-aviso-form{font-size:12px;color:#5b6b80;margin:4px 0 10px;line-height:1.5}.lk-aviso-form a{color:#0b4b92;font-weight:800;text-decoration:underline}
@media(max-width:920px){.pp-hero-grid,.pp-grid,.lk-aviso{grid-template-columns:1fr}.fichas-grid{grid-template-columns:repeat(2,1fr)}.lk-indice{position:static}.pp-foto{max-width:560px}}
@media(max-width:640px){.fichas-grid{grid-template-columns:1fr}.pp-loki{grid-template-columns:70px 1fr}.pp-loki img{width:70px}.pp-cables li{grid-template-columns:16px 70px 1fr;font-size:13px}.fichas-cat-head{flex-direction:column;gap:2px}}
/* ===== v2: recortes transparentes, escenario uniforme y encabezado de producto ===== */
:root{--lk-stage:radial-gradient(ellipse 85% 75% at 50% 38%,#ffffff 0%,#f1f6fb 48%,#dde8f3 100%)}
.img-producto{background:var(--lk-stage);object-fit:contain!important}
.service-card img.img-producto{padding:10px 18px}
.prod-visual img.pv-foto,.visual img.pv-foto{filter:drop-shadow(0 16px 14px rgba(8,30,60,.20))}
.prod-visual{background:var(--lk-stage)}.prod-visual:before{opacity:.6}
.ficha-img{background:var(--lk-stage)}.ficha-img img,.pp-rel img{background:transparent;filter:drop-shadow(0 12px 10px rgba(8,30,60,.18))}
.pp-rel{background:#fff}.pp-rel img{background:var(--lk-stage)}
.pp-rel img,.ficha-img img{filter:none}
/* encabezado */
.pp-hero{padding:64px 0 66px}
.pp-hero-grid{grid-template-columns:1.06fr .94fr;grid-template-areas:"head foto" "body foto";column-gap:48px;row-gap:0;align-items:center}
.pp-head{grid-area:head;align-self:end}.pp-body{grid-area:body;align-self:start}.pp-foto{grid-area:foto}
.pp-head h1{margin-bottom:10px}.pp-body p{margin-top:0}
.pp-foto{margin:0;position:relative;background:var(--lk-stage);border-radius:30px;padding:26px 24px 16px;box-shadow:0 34px 70px rgba(2,12,30,.45),inset 0 1px 0 rgba(255,255,255,.9);max-width:none}
.pp-escenario{position:relative}
.pp-escenario:after{content:'';position:absolute;left:12%;right:12%;bottom:2%;height:10%;background:radial-gradient(ellipse at center,rgba(8,30,60,.32) 0,rgba(8,30,60,.12) 42%,transparent 70%);z-index:0}
.pp-escenario img{position:relative;z-index:1;width:100%;height:auto;filter:drop-shadow(0 16px 16px rgba(8,30,60,.22))}
.pp-foto figcaption{display:table;margin:6px auto 0;padding:5px 12px;border-radius:999px;background:rgba(11,75,146,.08);color:#0b4b92;font-size:11px;letter-spacing:.08em}
@media(max-width:920px){.pp-hero-grid{grid-template-columns:1fr;grid-template-areas:"head" "foto" "body";row-gap:22px}.pp-head{align-self:auto}.pp-foto{max-width:560px;width:100%;justify-self:center}}
@media(max-width:640px){
 .pp-hero{padding:30px 0 40px}.pp-hero h1{font-size:33px;line-height:1.08;letter-spacing:-.03em}.pp-hero .breadcrumbs{font-size:12px;margin-bottom:10px}
 .pp-sub{font-size:14px!important;margin:0}.pp-hero .pp-body p{font-size:16px}
 .pp-foto{padding:16px 12px 12px;border-radius:24px}
 .pp-hero .actions{flex-direction:column;gap:10px;margin-top:20px}.pp-hero .actions .btn{width:100%;padding:15px 18px;font-size:15px}
 .pp-chips{margin:0 0 22px;gap:7px}.pp-chips span{font-size:12px;padding:6px 11px}
 .pp-grid{gap:22px}
 .pp-specs,.pp-specs tbody{display:block;width:100%}
 .pp-specs tr{display:block;padding:11px 14px;border-bottom:1px solid #e4ebf3}.pp-specs tr:last-child{border-bottom:0}
 .pp-specs td{display:block;border:0!important;padding:0!important;width:auto!important}
 .pp-specs td:first-child{font-size:11.5px;text-transform:uppercase;letter-spacing:.06em;color:#3f8a25!important;margin-bottom:2px}
 .pp-specs td:last-child{font-size:15px;color:#10233f;line-height:1.45}
 .pp-box{padding:18px}.pp-loki{padding:14px 14px 14px 6px}
 .pp-globo .actions{flex-direction:column}.pp-globo .btn{width:100%}
 .pp-rel-grid{grid-template-columns:1fr 1fr;gap:12px}.pp-rel img{height:130px;padding:8px}.pp-rel b{font-size:14px;padding:10px 12px 0}.pp-rel span{font-size:12px;padding:2px 12px 12px}
 .cta .actions{flex-direction:column;width:100%}.cta .actions .btn{width:100%}
}
.lk-loki.lk-oculto-movil .lk-reabrir{display:none!important}
@media(max-width:640px){
 .pp-rel-grid{grid-template-columns:1fr;gap:10px}
 .pp-rel{display:grid;grid-template-columns:120px 1fr;grid-template-rows:auto auto;align-items:center;border-radius:16px}
 .pp-rel img{grid-row:1/3;width:120px;height:96px;padding:6px}
 .pp-rel b{align-self:end;padding:0 14px;font-size:16px}.pp-rel span{align-self:start;padding:2px 14px 0;font-size:13px}
}
.nw{white-space:nowrap}

/* ===== 20261005d: botón flotante de WhatsApp unificado (logo oficial en SVG) ===== */
a.lk-wa{position:fixed;right:20px;bottom:20px;z-index:80;width:58px;height:58px;border-radius:50%;background:#25D366;color:#fff;display:grid;place-items:center;
  box-shadow:0 14px 30px rgba(37,211,102,.38);text-decoration:none;font-size:0;line-height:0;padding:0}
a.lk-wa svg{width:32px;height:32px;display:block;fill:#fff}
a.lk-wa:hover{background:#1ebe5b}
a.lk-wa:focus-visible{outline:3px solid #0b4b92;outline-offset:3px}
@media(max-width:768px){
  a.lk-wa{width:52px;height:52px;right:max(14px,env(safe-area-inset-right));bottom:max(14px,env(safe-area-inset-bottom))}
  a.lk-wa svg{width:29px;height:29px}
  /* margen seguro: el final del pie queda libre del botón de WhatsApp y de LOKI */
  body footer{padding-bottom:150px}
}

/* 20261005d: casos de éxito por sector */
.lk-casos-cifras{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-bottom:34px}
.lk-casos-cifra{background:linear-gradient(145deg,#0b4b92,#061d39);color:#fff;border-radius:20px;padding:20px 22px;box-shadow:0 14px 30px rgba(8,44,88,.18)}
.lk-casos-cifra b{display:block;font-size:26px;line-height:1.15;letter-spacing:-.02em;color:#adf197}.lk-casos-cifra span{display:block;margin-top:4px;font-size:14px;color:rgba(255,255,255,.82)}
.lk-casos-head{margin-bottom:18px}.lk-casos-head h2{margin:0 0 6px}.lk-casos-head p{margin:0;color:#5b6b80}
.lk-casos-grid{grid-template-columns:repeat(2,1fr)!important}
@media(max-width:760px){.lk-casos-cifras,.lk-casos-grid{grid-template-columns:1fr!important}.lk-casos-cifra b{font-size:22px}}
