/* OLAERC | Portada experimental V6. Afecta exclusivamente a index.html. */
:root{--v6-bg:#080913;--v6-purple:#b64ef9;--v6-magenta:#f600bf;--v6-cyan:#10e4ee;--v6-lime:#cbf631}
html {scroll-behavior:smooth}
body{overflow-x:clip;background:#080911}
#dual-hero.olaerc-v6-hero{display:block!important;position:relative!important;isolation:isolate;width:100%!important;height:auto!important;min-height:640px!important;overflow:hidden!important;margin:0!important;padding:0!important;background:#060913!important;color:#fff!important;font-family:Inter,system-ui,sans-serif}
#dual-hero .v6-hero-backdrop{position:absolute;inset:0;z-index:-2;overflow:hidden;background:#070b14}
#dual-hero .v6-hero-image{position:absolute;inset:0;background-repeat:no-repeat;background-size:cover;pointer-events:none;transition:opacity .65s ease,filter .7s ease, transform 1.2s cubic-bezier(.2,.8,.2,1)}
#dual-hero .v6-hero-cine{left:24%;right:21%;background-image:linear-gradient(90deg,#070b14 0%,rgba(5,7,17,.26) 36%,rgba(5,7,17,.08) 100%),url('../assets/inicio-v6/cine-concepto.webp');background-position:center,50% 42%;}
#dual-hero .v6-hero-tech{left:70%;right:-4%;background-image:linear-gradient(90deg,rgba(4,10,24,.25),rgba(3,7,19,.28)),url('../assets/inicio-v6/codigo-concepto.webp');background-position:center,60% 50%;clip-path:polygon(25% 0,100% 0,100% 100%,0 100%)}
#dual-hero .v6-hero-divider{position:absolute;top:-18%;left:75.5%;height:145%;width:4px;transform:rotate(23deg);background:linear-gradient(180deg,transparent,#a046f8 26%,#11f0ec 65%,transparent);box-shadow:0 0 17px #17defc,0 0 35px #803dfb;opacity:.88}
#dual-hero .v6-hero-grain{position:absolute;inset:0;background:linear-gradient(90deg,#080913 0%,rgba(8,9,19,.95) 14%,rgba(8,9,19,.66) 35%,rgba(8,9,19,.08) 63%,rgba(3,7,21,.17) 100%),linear-gradient(180deg,rgba(4,6,15,.12),transparent 36%,rgba(2,4,15,.55) 94%)}
#dual-hero .v6-glow-orb{z-index:0;position:absolute;width:450px;height:450px;left:var(--v6-x,40%);top:var(--v6-y,46%);transform:translate(-50%,-50%);border-radius:50%;background:radial-gradient(circle,rgba(127,40,218,.16) 0,rgba(105,30,180,.05) 35%,transparent 66%);pointer-events:none;mix-blend-mode:screen;transition:opacity .25s}
#dual-hero .v6-hero-inner{position:relative;z-index:1;max-width:1600px;margin:0 auto;min-height:640px;padding:clamp(72px,7vw,108px) clamp(24px,5.4vw,92px) 150px;display:flex;flex-direction:column;justify-content:space-between}
#dual-hero .v6-hero-copy{position:relative;z-index:3;max-width:min(610px,48vw)}
#dual-hero .v6-eyebrow{display:flex;align-items:center;gap:12px;margin:0 0 23px;color:#f1d9ff;font-size:clamp(9px,.81vw,12px);font-weight:750;letter-spacing:.22em;line-height:1.45;text-transform:uppercase}
#dual-hero .v6-eyebrow span{height:3px;width:32px;flex:none;border-radius:4px;background:var(--v6-lime);box-shadow:0 0 12px #daff6388}
#dual-hero .v6-eyebrow b{color:var(--v6-cyan)}
#dual-hero h1{font-family:Inter,system-ui,sans-serif;max-width:600px;margin:0 0 21px;color:#fff;font-size:clamp(45px,4.55vw,77px);line-height:.99;font-weight:900;letter-spacing:-.068em;text-shadow:0 5px 22px #02030a66;text-wrap:balance}
#dual-hero h1 em{display:block;font-style:normal;background:linear-gradient(105deg,#ef77fc 0%,#b76afc 50%,#8ae7ff 100%);color:transparent;background-clip:text;-webkit-background-clip:text}
#dual-hero .v6-hero-lead{max-width:510px;margin:0 0 27px;color:#e6e5f1;font-size:clamp(14px,1.17vw,18px);font-weight:470;line-height:1.58;text-shadow:0 2px 8px #03040b}
#dual-hero .v6-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:11px}
#dual-hero .v6-btn{display:inline-flex;gap:12px;align-items:center;justify-content:center;min-height:46px;padding:12px 21px;border-radius:999px;text-decoration:none;white-space:nowrap;font-size:clamp(12px,.9vw,14px);font-weight:750;letter-spacing:-.01em;transition:transform .25s,background .25s,box-shadow .25s;color:#fff}
#dual-hero .v6-btn:hover{transform:translateY(-3px)}
#dual-hero .v6-btn:focus-visible,#dual-hero .v6-portal:focus-visible{outline:3px solid #d8ff50;outline-offset:4px}
#dual-hero .v6-btn-primary{background:linear-gradient(115deg,#a443ed,#7838e8);border:1px solid #c977ff82;box-shadow:0 12px 32px #6e24f333;color:#fff}
#dual-hero .v6-btn-primary:hover{box-shadow:0 14px 36px #b751fc66}
#dual-hero .v6-btn-secondary{border:1px solid #f3e5ff99;background:#090e19b8;backdrop-filter:blur(10px)}
#dual-hero .v6-btn-secondary:hover{background:#312149}
#dual-hero .v6-play{font-size:15px}
#dual-hero .v6-hero-caption{display:flex;align-items:center;gap:9px;margin-top:29px;font-size:10px;letter-spacing:2.1px;color:#c1aacf;font-weight:700}
#dual-hero .v6-live-dot{width:7px;height:7px;background:#d5ff35;border-radius:100%;box-shadow:0 0 0 3px #d5ff3520,0 0 12px #d5ff35a1}
#dual-hero .v6-portals{position:absolute;left:43%;right:clamp(23px,5.3vw,84px);bottom:32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;z-index:3}
#dual-hero .v6-portal{display:flex;align-items:center;gap:13px;min-width:0;min-height:98px;padding:17px 16px;color:#fff;text-decoration:none;border-radius:23px;position:relative;overflow:hidden;backdrop-filter:blur(20px);transition:transform .3s ease,box-shadow .3s ease,border-color .3s ease}
#dual-hero .v6-portal:hover{transform:translateY(-6px)}
#dual-hero .v6-portal-production{background:linear-gradient(110deg,rgba(93,28,112,.87),rgba(22,13,38,.77));border:1px solid #db7ff8a8;box-shadow:0 5px 23px #05030e9e,inset 0 0 24px #dd43ef19}
#dual-hero .v6-portal-production:hover{box-shadow:0 15px 36px #64117277}
#dual-hero .v6-portal-tech{background:linear-gradient(108deg,rgba(0,67,79,.83),rgba(4,23,39,.83));border:1px solid #33eaf6a6;box-shadow:0 5px 23px #05030e9e,inset 0 0 24px #00e6e619}
#dual-hero .v6-portal-tech:hover{box-shadow:0 15px 36px #007e9877}
#dual-hero .v6-portal-icon{width:48px;height:48px;flex:none;display:grid;place-items:center;color:#efa0fc}
#dual-hero .v6-portal-tech .v6-portal-icon{color:#4aeef7}
#dual-hero .v6-portal-icon svg{width:38px;height:38px}
#dual-hero .v6-portal-text{display:flex;flex-direction:column;gap:7px;min-width:0}
#dual-hero .v6-portal-text strong{font-size:clamp(13px,1.18vw,19px);line-height:1.17;font-weight:850;letter-spacing:-.035em}
#dual-hero .v6-portal-text small{font-size:clamp(10px,.72vw,12px);line-height:1.25;color:#eee0f7}
#dual-hero .v6-portal-arrow{display:grid;place-items:center;width:32px;height:32px;flex:none;margin-left:auto;border:1px solid currentColor;border-radius:100%;color:#faadff;font-size:18px}
#dual-hero .v6-portal-tech .v6-portal-arrow{color:#7ff9ff}
#dual-hero .v6-hero-edge{position:absolute;left:0;right:0;bottom:0;height:3px;z-index:3;display:flex}
#dual-hero .v6-hero-edge span:nth-child(1){width:39%;background:linear-gradient(90deg,#641baa,#ca4afd)}
#dual-hero .v6-hero-edge span:nth-child(2){width:33%;background:linear-gradient(90deg,#ca4afd,#38e6f5)}
#dual-hero .v6-hero-edge span:nth-child(3){width:28%;background:linear-gradient(90deg,#38e6f5,#d3f93a)}
#dual-hero[data-v6-focus="cine"] .v6-hero-cine{filter:saturate(1.19) brightness(1.12);transform:scale(1.03)}
#dual-hero[data-v6-focus="tech"] .v6-hero-tech{filter:saturate(1.22) brightness(1.14);transform:scale(1.04)}
.v6-capabilities{position:relative;z-index:4;display:flex;align-items:center;justify-content:space-around;gap:18px;min-height:70px;padding:15px clamp(18px,5vw,76px);border-bottom:1px solid #3d255b9c;background:#0b0d1b;color:#ebe5f7;font:650 12px/1.4 Inter,system-ui,sans-serif}
.v6-capabilities span{display:flex;align-items:center;gap:10px;white-space:nowrap}
.v6-capabilities i{font-style:normal;font-size:21px;font-weight:500;color:#bf80ee}
.v6-capabilities span:nth-child(even) i{color:#54e3f4}
/* Only one capabilities strip: suppress the strip dynamically injected by the prior v5 enhancement. */
.olaerc-v5-reel-strip{display:none!important}
/* Make the LAB feel part of the new cinematic system without changing approved structure */
#laboratorio.olaerc-lab-cine{border-top:1px solid #3e2964;background:#0a0915!important}
#laboratorio.olaerc-lab-cine .lab-cine-hero{height:clamp(320px,27vw,370px)}
#laboratorio.olaerc-lab-cine .lab-cine-stats{background:#111222!important;color:#f8f6ff!important;border-bottom:1px solid #453052!important}
#laboratorio.olaerc-lab-cine .lab-cine-stat{border-color:#49394c!important}
#laboratorio.olaerc-lab-cine .lab-cine-stat-value{color:#fff!important}
#laboratorio.olaerc-lab-cine .lab-cine-stat-label{color:#c5b9d9!important}
#laboratorio.olaerc-lab-cine .lab-cine-stat svg{color:#cb8aff!important}
/* Supplementary sections retain all original information with a softer editorial rhythm */
#quienes-somos,#lo-que-hacemos,#nuestro-proceso,#contacto{position:relative}
#quienes-somos{background:radial-gradient(circle at 80% 0%,#32134b57,transparent 45%),#080a14}
#lo-que-hacemos{background:radial-gradient(circle at 12% 15%,#082a3850,transparent 48%),#090b15}
#nuestro-proceso{background:radial-gradient(circle at 86% 15%,#1f164650,transparent 42%),#090b14}
/* Reveals only after JS is active. Existing cards are not hidden if scripts fail. */
@media(prefers-reduced-motion:no-preference){
  html.v6-motion #dual-hero .v6-hero-copy{animation:v6-rise .85s both cubic-bezier(.16,1,.3,1)}
  html.v6-motion #dual-hero .v6-portals{animation:v6-rise .9s .13s both cubic-bezier(.16,1,.3,1)}
  @keyframes v6-rise{from{opacity:.0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
}
@media(max-width:1300px){
 #dual-hero .v6-hero-inner{min-height:610px;padding-top:86px;padding-bottom:170px}
 #dual-hero .v6-hero-copy{max-width:560px}
 #dual-hero h1{font-size:clamp(43px,4.8vw,65px)}
 #dual-hero .v6-portals{left:40%;right:28px}
 #dual-hero .v6-portal{padding:13px 12px;min-height:90px}
 #dual-hero .v6-portal-icon{width:34px}
 #dual-hero .v6-portal-icon svg{width:31px;height:31px}
 .v6-capabilities{gap:13px;font-size:11px}
}
@media(max-width:1050px){
 #dual-hero.olaerc-v6-hero{min-height:700px!important}
 #dual-hero .v6-hero-inner{min-height:700px;padding:78px 32px 150px}
 #dual-hero .v6-hero-copy{max-width:570px}
 #dual-hero .v6-hero-cine{left:20%;right:19%}
 #dual-hero .v6-hero-tech{left:66%}
 #dual-hero .v6-hero-grain{background:linear-gradient(90deg,#090b15 0%,#090b15ee 23%,#080a16a8 52%,#040c1880 100%),linear-gradient(0deg,#070914aa,transparent 35%)}
 #dual-hero .v6-portals{left:32px;right:32px;bottom:28px}
 .v6-capabilities{flex-wrap:wrap;justify-content:center;gap:10px 26px;min-height:62px}
}
@media(max-width:680px){
 #dual-hero.olaerc-v6-hero{min-height:0!important}
 #dual-hero .v6-hero-inner{min-height:0;padding:67px 20px 25px;display:block}
 #dual-hero .v6-hero-copy{max-width:560px}
 #dual-hero .v6-eyebrow{font-size:9px;letter-spacing:.11em;gap:7px;margin-bottom:19px}
 #dual-hero .v6-eyebrow span{width:18px}
 #dual-hero h1{font-size:clamp(40px,10.1vw,62px);max-width:520px;letter-spacing:-.06em;margin-bottom:19px}
 #dual-hero .v6-hero-lead{font-size:14px;line-height:1.54;margin-bottom:23px;max-width:460px}
 #dual-hero .v6-hero-actions{gap:8px}
 #dual-hero .v6-btn{min-height:46px;padding:11px 14px;font-size:11px;gap:8px}
 #dual-hero .v6-hero-caption{font-size:9px;letter-spacing:1.5px;margin:22px 0 26px}
 #dual-hero .v6-hero-cine{left:20%;right:-12%;top:0;bottom:34%;background-position:48% center}
 #dual-hero .v6-hero-tech{left:47%;right:-22%;top:34%;clip-path:polygon(23% 0,100% 0,100% 100%,0 100%);opacity:.55}
 #dual-hero .v6-hero-divider{left:77%;top:19%;height:80%;opacity:.42}
 #dual-hero .v6-hero-grain{background:linear-gradient(90deg,#060912 0%,#060912ef 26%,#080b18bb 72%,#060817aa 100%),linear-gradient(0deg,#060912 3%,transparent 62%)}
 #dual-hero .v6-portals{position:relative;left:auto;right:auto;bottom:auto;grid-template-columns:1fr;gap:10px}
 #dual-hero .v6-portal{min-height:77px;padding:11px 12px;border-radius:16px}
 #dual-hero .v6-portal-text strong{font-size:15px}
 #dual-hero .v6-portal-text small{font-size:10px}
 #dual-hero .v6-portal-arrow{width:28px;height:28px}
 .v6-capabilities{display:grid;grid-template-columns:1fr 1fr;padding:15px 20px;column-gap:13px;row-gap:13px}
 .v6-capabilities span{white-space:normal;font-size:10px;line-height:1.3}
 .v6-capabilities i{font-size:18px}
 #laboratorio.olaerc-lab-cine .lab-cine-hero{height:auto}
}
@media(max-width:360px){#dual-hero .v6-btn{font-size:10px}#dual-hero h1{font-size:38px}.v6-capabilities{column-gap:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}#dual-hero .v6-hero-image,#dual-hero .v6-portal,#dual-hero .v6-btn{transition:none!important}}

/* v6 responsive polish: tablet landscape, narrow phones and touch targets. */
@media (min-width:681px) and (max-width:1050px) {
  #dual-hero .v6-hero-actions {max-width:535px;}
  #dual-hero .v6-portal-text strong {font-size:clamp(14px,1.9vw,18px);}
  #dual-hero .v6-portal-text small {font-size:11px;}
}
@media (max-width:680px) {
  #dual-hero .v6-portal {min-height:82px;}
  #dual-hero .v6-portals {margin-bottom:6px;}
  #dual-hero .v6-portal:focus-visible {outline-offset:2px;}
  .v6-capabilities {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:380px) {
  #dual-hero .v6-eyebrow {font-size:8px;letter-spacing:.08em;}
  #dual-hero .v6-hero-inner {padding-left:15px;padding-right:15px;}
  #dual-hero h1 {font-size:clamp(36px,9.8vw,40px);}
  #dual-hero .v6-btn {white-space:normal;text-align:center;}
  .v6-capabilities {padding-left:15px;padding-right:15px;}
}
