/* IngSoft V80.99.1 · corrección estricta: NO usar captura/mockup como hero; integrar solo visual 3D del péndulo y header superior global */
:root{
  --v8099-fixed-header-h:72px;
  --v8099-logo-w:clamp(150px,13vw,216px);
  --v8099-cyan:#19d3ff;
  --v8099-blue:#0b73d9;
  --v8099-navy:#020a16;
  --v8099-panel:#06152a;
  --v8099-white:#f6fbff;
}
html{scroll-padding-top:calc(var(--v8099-fixed-header-h) + 12px)!important;}
body.v8099-worldclass{padding-top:var(--v8099-fixed-header-h)!important;}
body.v8099-worldclass .v8099-global-header,
.v8099-global-header{
  position:fixed!important;
  top:0!important;left:0!important;right:0!important;
  z-index:99999!important;
  height:var(--v8099-fixed-header-h)!important;
  min-height:var(--v8099-fixed-header-h)!important;
  max-height:var(--v8099-fixed-header-h)!important;
  background:linear-gradient(90deg,rgba(2,10,22,.985),rgba(4,18,38,.972) 54%,rgba(2,10,22,.985))!important;
  border-bottom:1px solid rgba(139,212,255,.24)!important;
  box-shadow:0 16px 44px rgba(0,0,0,.42),0 0 30px rgba(25,211,255,.08)!important;
  backdrop-filter:blur(18px)!important;
  overflow:visible!important;
}
.v8099-global-header .site-header,
.v8099-site-header{
  height:var(--v8099-fixed-header-h)!important;
  min-height:var(--v8099-fixed-header-h)!important;
  max-height:var(--v8099-fixed-header-h)!important;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  padding:0!important;
  margin:0!important;
}
.v8099-global-header .wide.header-inner,
.v8099-global-header .v8099-header-inner,
.site-header .v8099-header-inner{
  height:var(--v8099-fixed-header-h)!important;
  min-height:var(--v8099-fixed-header-h)!important;
  max-height:var(--v8099-fixed-header-h)!important;
  width:min(100% - 34px,1560px)!important;
  margin-inline:auto!important;
  padding:0!important;
  display:grid!important;
  grid-template-columns:minmax(150px, var(--v8099-logo-w)) minmax(460px, 1fr) auto!important;
  grid-template-rows:1fr!important;
  grid-template-areas:"brand nav lang"!important;
  align-items:center!important;
  column-gap:clamp(.75rem,1.4vw,1.65rem)!important;
  row-gap:0!important;
  overflow:visible!important;
}
.v8099-global-header .brand,
.v8099-global-header .v8099-brand{grid-area:brand!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;height:var(--v8099-fixed-header-h)!important;min-width:0!important;}
.v8099-global-header .brand img,
.v8099-global-header .v8099-brand img{width:var(--v8099-logo-w)!important;max-width:var(--v8099-logo-w)!important;max-height:52px!important;height:auto!important;object-fit:contain!important;display:block!important;filter:drop-shadow(0 0 12px rgba(25,211,255,.12))!important;}
.v8099-global-header .nav,
.v8099-global-header .v8099-main-nav{grid-area:nav!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:center!important;gap:clamp(.5rem,.95vw,1.05rem)!important;white-space:nowrap!important;overflow:visible!important;height:var(--v8099-fixed-header-h)!important;min-width:0!important;padding:0!important;margin:0!important;}
.v8099-global-header .nav-link,
.v8099-global-header .nav a{font-size:clamp(.74rem,.82vw,.92rem)!important;line-height:1!important;font-weight:900!important;color:#f8fdff!important;-webkit-text-fill-color:#f8fdff!important;text-decoration:none!important;text-shadow:0 1px 0 rgba(0,0,0,.42)!important;padding:.52rem .24rem!important;border-radius:999px!important;letter-spacing:-.012em!important;}
.v8099-global-header .nav-link:hover,
.v8099-global-header .nav a:hover{color:#8bd4ff!important;-webkit-text-fill-color:#8bd4ff!important;background:rgba(139,212,255,.08)!important;}
.v8099-global-header .v8099-langbar{grid-area:lang!important;justify-self:end!important;display:inline-flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-end!important;gap:.22rem!important;height:40px!important;min-height:40px!important;max-height:40px!important;white-space:nowrap!important;overflow:visible!important;padding:.18rem .22rem!important;border-radius:999px!important;border:1px solid rgba(139,212,255,.32)!important;background:linear-gradient(135deg,rgba(7,24,50,.95),rgba(8,33,62,.92))!important;box-shadow:0 10px 28px rgba(0,0,0,.26),inset 0 0 0 1px rgba(255,255,255,.03)!important;}
.v8099-global-header .v8099-langbar button,
.v8099-global-header .v8099-langbar select,
.v8099-global-header .v8099-ai{height:32px!important;min-height:32px!important;max-height:32px!important;border-radius:999px!important;font-size:.72rem!important;line-height:1!important;font-weight:950!important;letter-spacing:.01em!important;white-space:nowrap!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;}
.v8099-global-header .v8099-langbar button{min-width:32px!important;padding:0 .45rem!important;border:0!important;background:transparent!important;color:#f8fdff!important;-webkit-text-fill-color:#f8fdff!important;}
.v8099-global-header .v8099-langbar button[aria-pressed="true"],
.v8099-global-header .v8099-langbar button.is-active{background:linear-gradient(135deg,#0b73d9,#19d3ff)!important;color:#fff!important;-webkit-text-fill-color:#fff!important;box-shadow:0 7px 18px rgba(25,211,255,.25)!important;}
.v8099-global-header .v8099-langbar select{width:72px!important;min-width:72px!important;max-width:72px!important;padding:0 .28rem!important;border:1px solid rgba(139,212,255,.3)!important;background:#06152a!important;color:#f8fdff!important;-webkit-text-fill-color:#f8fdff!important;}
.v8099-global-header .v8099-ai{padding:0 .5rem!important;border:1px solid rgba(228,30,43,.55)!important;background:rgba(228,30,43,.14)!important;color:#ffe9ec!important;-webkit-text-fill-color:#ffe9ec!important;}

/* El hero NO debe pegar la captura de muestra ni un mockup de pantalla; usa solo un visual 3D integrado del péndulo */
body.v8099-worldclass .v91-feature{position:relative!important;overflow:hidden!important;isolation:isolate!important;background:linear-gradient(115deg,rgba(3,13,28,.98) 0%,rgba(6,21,42,.96) 34%,rgba(5,37,68,.78) 100%)!important;border:1px solid rgba(139,212,255,.30)!important;box-shadow:0 30px 90px rgba(0,0,0,.42),inset 0 0 0 1px rgba(255,255,255,.035),0 0 60px rgba(25,211,255,.10)!important;}
body.v8099-worldclass .v91-feature::before{content:""!important;position:absolute!important;inset:0!important;background:radial-gradient(circle at 70% 45%,rgba(25,211,255,.22),transparent 38%),url('/assets/img/celso-aq/lab/pendulum-3d-integrated-only-v8099.svg?v=84.42') right center/contain no-repeat!important;opacity:.92!important;z-index:0!important;pointer-events:none!important;filter:drop-shadow(0 0 22px rgba(25,211,255,.16))!important;}
body.v8099-worldclass .v91-feature::after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(90deg,rgba(2,10,22,.95) 0%,rgba(2,10,22,.78) 38%,rgba(2,10,22,.10) 70%,rgba(2,10,22,.28) 100%)!important;z-index:1!important;pointer-events:none!important;}
body.v8099-worldclass .v91-feature>.copy,
body.v8099-worldclass .v91-feature .copy{position:relative!important;z-index:4!important;max-width:min(450px,42%)!important;}
body.v8099-worldclass .v8099-hero-media{position:absolute!important;inset:auto 0 0 auto!important;right:0!important;top:0!important;bottom:0!important;width:66%!important;height:100%!important;margin:0!important;z-index:2!important;pointer-events:none!important;display:flex!important;align-items:center!important;justify-content:flex-end!important;overflow:visible!important;background:transparent!important;border:0!important;box-shadow:none!important;}
body.v8099-worldclass .v8099-hero-media img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center right!important;display:block!important;opacity:.98!important;filter:drop-shadow(0 0 32px rgba(25,211,255,.22))!important;background:transparent!important;border:0!important;}
body.v8099-worldclass .v91-feature .v91-statgrid{position:relative!important;z-index:5!important;grid-template-columns:repeat(4,minmax(76px,1fr))!important;gap:.5rem!important;max-width:440px!important;}
body.v8099-worldclass .v91-feature .v91-stat{min-height:92px!important;padding:.62rem .5rem!important;overflow:hidden!important;}
body.v8099-worldclass .v91-feature .v91-stat b{font-size:clamp(1rem,1.4vw,1.35rem)!important;line-height:1.05!important;word-break:normal!important;overflow-wrap:normal!important;}
body.v8099-worldclass .v91-feature .v91-stat span,
body.v8099-worldclass .v91-feature .stat-caption{font-size:.68rem!important;line-height:1.12!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;}
body.v8099-worldclass .v91-feature .v91-actions{position:relative!important;z-index:5!important;}

/* primera pantalla más compacta sin recorte por el header fijo */
body.v8099-worldclass .v8099-first-screen,
body.v8099-worldclass .v91-hero{min-height:calc(100svh - var(--v8099-fixed-header-h))!important;padding-top:clamp(.8rem,1.5vw,1.15rem)!important;padding-bottom:clamp(.8rem,1.5vw,1.15rem)!important;}
body.v8099-worldclass .v91-hero-grid{min-height:calc(100svh - var(--v8099-fixed-header-h) - 38px)!important;align-items:stretch!important;}
body.v8099-worldclass .v91-title{font-size:clamp(2.65rem,4.1vw,5.4rem)!important;line-height:.96!important;}

/* neutralizar fondos de versiones anteriores que insertaban capturas completas */
body.v8099-worldclass .v91-feature .v91-holo{background-image:radial-gradient(circle at 50% 42%,rgba(25,211,255,.20),transparent 44%),url('/assets/img/celso-aq/lab/pendulum-3d-integrated-only-v8099.svg?v=84.42')!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;}

@media (max-width:1380px){
  :root{--v8099-fixed-header-h:68px;--v8099-logo-w:clamp(136px,12vw,184px);}
  .v8099-global-header .wide.header-inner,.v8099-global-header .v8099-header-inner{grid-template-columns:minmax(136px,var(--v8099-logo-w)) minmax(410px,1fr) auto!important;column-gap:.65rem!important;}
  .v8099-global-header .nav-link,.v8099-global-header .nav a{font-size:.74rem!important;padding:.48rem .12rem!important;}
  .v8099-global-header .v8099-langbar button{min-width:28px!important;padding:0 .34rem!important;font-size:.68rem!important;}
  .v8099-global-header .v8099-langbar select{width:60px!important;min-width:60px!important;font-size:.68rem!important;}
  .v8099-global-header .v8099-ai{padding:0 .38rem!important;font-size:.66rem!important;}
}
@media (max-width:1120px){
  :root{--v8099-fixed-header-h:66px;--v8099-logo-w:132px;}
  .v8099-global-header .wide.header-inner,.v8099-global-header .v8099-header-inner{width:calc(100% - 18px)!important;grid-template-columns:132px 1fr 260px!important;column-gap:.45rem!important;}
  .v8099-global-header .nav,.v8099-global-header .v8099-main-nav{justify-content:flex-start!important;overflow-x:auto!important;scrollbar-width:none!important;gap:.4rem!important;}
  .v8099-global-header .nav::-webkit-scrollbar{display:none!important;}
  .v8099-global-header .nav-link,.v8099-global-header .nav a{font-size:.69rem!important;}
}
@media (max-width:760px){
  body.v8099-worldclass{padding-top:64px!important;}
  :root{--v8099-fixed-header-h:64px;--v8099-logo-w:116px;}
  .v8099-global-header .wide.header-inner,.v8099-global-header .v8099-header-inner{grid-template-columns:116px 1fr auto!important;column-gap:.35rem!important;}
  .v8099-global-header .v8099-langbar{max-width:45vw!important;overflow-x:auto!important;scrollbar-width:none!important;}
  .v8099-global-header .v8099-langbar::-webkit-scrollbar{display:none!important;}
  body.v8099-worldclass .v91-feature>.copy,body.v8099-worldclass .v91-feature .copy{max-width:100%!important;}
  body.v8099-worldclass .v8099-hero-media{position:relative!important;width:100%!important;height:280px!important;margin-top:.8rem!important;}
  body.v8099-worldclass .v91-feature::after{background:linear-gradient(180deg,rgba(2,10,22,.92),rgba(2,10,22,.30))!important;}
}
