/* Un motivo: el iris del ojo de Argovis (un círculo) recorre la página: la escotadura del escenario,
   la máscara de las fotos, los botones, las viñetas y el diagrama de "Cómo funciona". */
:root{
  --word-dim:.5;
  --ground:#f0f4f9; --tone:#e2eaf4; --white:#ffffff;
  --ink:#081020; --muted:#3d4f66; --accent:#0a62d6; --accent-strong:#0850b0; --sky:#46a0ea;
  --accent-ink:#ffffff; --surface:#ffffff; --surface-ink:var(--muted); --card:#ffffff; --card-ink:#081020;
  --suite-bg:var(--tone); --statement-bg:transparent; --out-bg:var(--ink); --out-ink:#ffffff;
  --close-bg:var(--accent); --close-ink:#ffffff; --foot-bg:var(--ground); --foot-ink:var(--ink); --foot-muted:var(--muted);
  --dot-pale:#c7d6ea; --dot-mid:#46a0ea; --photo-filter:none; --focus:var(--accent);
  --alert-bg:#2a1d0a; --alert-ink:#f2c27a; --error:#b3261e;
  --f:"IBM Plex Sans","Helvetica Neue",Arial,sans-serif;
  --s-display:clamp(44px,6.2vw,96px);
  --s-h2:clamp(32px,3.6vw,56px);
  --s-statement:clamp(24px,2.6vw,36px);
  --s-body:18px;
  --s-small:14px;
  --m:max(16px,min(40px,4vw));
  --ease:cubic-bezier(.16,1,.3,1);
  color-scheme:light;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--ground);color:var(--ink);font:400 var(--s-body)/1.55 var(--f);-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;display:block}
h1,h2,h3,p{margin:0}
h1,h2{font-weight:500;letter-spacing:-.03em;line-height:1.02;text-wrap:balance}
a{color:inherit}
:focus-visible{outline:3px solid var(--focus);outline-offset:3px}
.close :focus-visible{outline-color:var(--close-ink)}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.skip{position:absolute;left:-9999px}
.skip:focus{left:var(--m);top:12px;z-index:10;background:var(--white);padding:10px 16px;border-radius:999px}
.frame{padding-left:max(var(--m),env(safe-area-inset-left,0px));padding-right:max(var(--m),env(safe-area-inset-right,0px));max-width:1520px;margin:0 auto}
section[id]{scroll-margin-top:16px}

/* Botones: siempre redondos, como el iris */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:12px 24px;border-radius:999px;border:0;font:600 16px/1.2 var(--f);text-decoration:none;cursor:pointer;transition:transform .12s var(--ease),background-color .2s ease}
.btn:active{transform:scale(.97)}
.btn-accent{background:var(--accent);color:var(--accent-ink)}
.btn-small{min-height:40px;padding:8px 18px;font-size:var(--s-small);background:var(--foot-ink);color:var(--foot-bg)}
.text-link{font-weight:600;text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.25em;transition:text-decoration-color .2s ease}
@media (hover:hover) and (pointer:fine){
  .btn-accent:hover{background:var(--accent-strong)}
  .text-link:hover,.bar a:not(.btn):hover,.foot nav a:hover{text-decoration-color:currentColor}
}

/* Barra */
.bar-in{display:flex;align-items:center;gap:28px;min-height:76px}
.brand{display:flex;align-items:center;gap:10px;font-weight:600;font-size:19px;text-decoration:none;margin-right:auto;white-space:nowrap}
.logo-badge{flex:none;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--white);overflow:hidden}
.logo-badge svg{width:32px;height:15px;display:block}
.bar-links{display:flex;gap:28px;font-size:16px}
.bar a:not(.btn){text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.3em;transition:text-decoration-color .2s ease}
.bar-login{font-size:16px;color:var(--muted)}
.bar-cta .short{display:none}

/* Hero: titular arriba a la izquierda, escenario azul con la escotadura del iris */
.hero{position:relative;min-height:min(980px,calc(100svh - 76px));display:grid;grid-template-rows:auto 1fr}
.hero-copy{width:100%;padding-top:clamp(48px,9vh,120px);display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px}
.hero-copy > *{grid-column:1 / span 7}
.hero h1{font-size:var(--s-display);max-width:11ch}
.lead{margin-top:32px;font-size:18px;max-width:40ch}
.hero-actions{margin-top:32px;display:flex;align-items:center;gap:28px;flex-wrap:wrap}
.note{margin-top:20px;font-size:var(--s-small);color:var(--muted)}
.stage{position:relative;margin-top:-12vh;margin-left:38%;min-height:520px;background:var(--accent);padding:56px 0 0 72px;overflow:hidden}
.stage::before{content:"";position:absolute;left:-150px;top:-150px;width:300px;height:300px;border-radius:50%;background:var(--ground)}
.stage::after{content:"";position:absolute;right:-28vw;bottom:-28vw;width:56vw;height:56vw;border-radius:50%;background:var(--accent-strong)}

/* Fragmento de producto (data-ui: sus propios bordes) */
.panel{position:relative;z-index:1;width:min(640px,100%);background:#0e1b33;color:#c9d6e8;border:1px solid #23395e;border-radius:14px 14px 0 0;padding:22px 22px 28px;display:flex;flex-direction:column;gap:16px;font-size:15px}
.panel-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
.panel-head strong{color:#fff;font-weight:600;margin-right:auto}
.chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;font-size:13px;padding:3px 10px;border-radius:999px}
.chip-example{background:#1b2c4b;color:#d8e3f2}
.chip-live{color:#5fd39b}
.chip-live::before{content:"";width:8px;height:8px;border-radius:50%;background:#5fd39b}
.kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.kpi{background:#0a1528;border:1px solid #1d3053;border-radius:10px;padding:12px;display:flex;flex-direction:column;gap:2px;min-width:0} /* taste-skill-ignore: fragmento data-ui */
.kpi span{font-size:13px}
.kpi b{font-size:30px;font-weight:600;color:#fff;font-variant-numeric:tabular-nums;line-height:1.1}
.kpi small{font-size:13px;color:#8ea3bf}
.chart{background:#0a1528;border:1px solid #1d3053;border-radius:10px;padding:12px} /* taste-skill-ignore: fragmento data-ui */
.chart-head{display:flex;justify-content:space-between;font-size:13px;margin-bottom:8px}
.chart svg{width:100%;height:auto}
.alert{background:var(--alert-bg);border:1px solid #5a3c10;color:var(--alert-ink);border-radius:10px;padding:10px 12px;font-size:14px} /* taste-skill-ignore: fragmento data-ui */
.alert b{color:#ffd99a;margin-right:6px}

/* Suite: foto cuadrada con el iris encima, pestañas por módulo */
.suite{background:var(--suite-bg);margin-top:clamp(120px,14vw,200px)}
.suite-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,5vw,80px);align-items:center;min-height:88svh;padding-top:80px;padding-bottom:80px}
.plate{position:relative;margin:0;aspect-ratio:1;overflow:hidden;border-radius:50%;max-width:100%}
.plate img{width:100%;height:100%;object-fit:cover;object-position:40% 50%;filter:var(--photo-filter)}
.slot img,.calc-photo img{filter:var(--photo-filter)}
.flow .d1{fill:var(--dot-pale)}.flow .d2{fill:var(--dot-mid)}.flow .d3{fill:var(--accent)}
.lens{position:absolute;inset:7%;border:6px solid rgba(255,255,255,.9);border-radius:50%;display:grid;place-items:center;pointer-events:none}
.lens-dot{width:22px;height:22px;border-radius:50%;background:var(--white)}
.suite-copy{display:flex;flex-direction:column;gap:32px;min-width:0}
.suite h2{font-size:var(--s-h2);max-width:14ch}
.tabs{display:flex;flex-wrap:wrap;gap:8px}
.tabs button{font:500 16px/1 var(--f);padding:10px 16px;border-radius:999px;border:0;background:var(--surface);color:var(--surface-ink);cursor:pointer;transition:background-color .2s ease,color .2s ease}
.tabs button[aria-selected="true"]{background:var(--ink);color:var(--ground)}
@media (hover:hover) and (pointer:fine){.tabs button[aria-selected="false"]:hover{color:var(--ink)}}
.tab-panel{display:flex;flex-direction:column;gap:14px;min-height:190px}
.tab-panel h3{font-size:22px;font-weight:600;color:var(--accent);letter-spacing:-.01em}
.tab-panel .q{font-size:var(--s-statement);font-weight:500;letter-spacing:-.02em;line-height:1.2;max-width:24ch;color:var(--ink)}
.tab-panel p{max-width:42ch}
.cells{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.cell{display:flex;align-items:center;justify-content:center;min-height:72px;border-radius:999px;font-weight:600;text-decoration:none;transition:transform .12s var(--ease),background-color .2s ease}
.cell:active{transform:scale(.98)}
.cell-ink{background:var(--ink);color:var(--ground)}
.cell-tone{background:var(--surface);color:var(--ink)}

/* Frase con palabras-imagen + calculadora */
.statement{padding-top:clamp(120px,14vw,200px);background:var(--statement-bg)}
.big-line{font-size:var(--s-statement);font-weight:500;line-height:1.3;letter-spacing:-.015em;max-width:30em}
.slot{display:inline-block;width:1.9em;height:1em;border-radius:999px;overflow:hidden;vertical-align:-.12em;background:var(--tone)}
.slot img{width:100%;height:100%;object-fit:cover}
.calc-row{margin-top:72px;display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:clamp(32px,5vw,80px);align-items:center}
.calc-photo{margin:0;aspect-ratio:1;border-radius:50%;overflow:hidden;width:min(100%,520px)}
.calc-photo img{width:100%;height:100%;object-fit:cover;object-position:60% 55%}
.calc{width:100%;background:var(--card);color:var(--card-ink);border-radius:24px;padding:32px;display:flex;flex-direction:column;gap:16px}
.calc h3{font-size:24px;font-weight:600;letter-spacing:-.01em;line-height:1.2}
.calc-sub{font-size:16px}
.calc-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
label{display:flex;flex-direction:column;gap:6px;font-size:15px;font-weight:600;color:inherit;min-width:0}
input[type=number],input[type=email],input:not([type]),input[type=text]{font:400 16px/1.3 var(--f);color:#081020;background:#ffffff;border:1.5px solid #6b7c93;border-radius:12px;padding:12px 14px;width:100%;min-width:0}
input[aria-invalid="true"]{border-color:var(--error);border-width:2px}
.calc-out{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;background:var(--out-bg);color:var(--out-ink);border-radius:18px;padding:18px 20px}
.calc-out b{font-size:clamp(28px,3vw,40px);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.calc-out span{font-size:16px}

/* Cómo funciona: muchos puntos que se ordenan */
.how{padding-top:clamp(120px,14vw,200px)}
.how-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end}
.how-head h2{grid-column:1 / span 5;font-size:var(--s-h2)}
.how-head p{grid-column:7 / span 5}
.flow{display:block;width:100%;height:auto;margin-top:56px}
.how-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.how-steps li{display:flex;flex-direction:column;gap:6px}
.how-steps b{font-size:22px;font-weight:600;display:flex;align-items:center;gap:10px}
.how-steps b::before{content:"";width:12px;height:12px;border-radius:50%;background:var(--accent);flex:none}
.how-steps span{max-width:34ch}

/* Cierre: campo azul con el formulario ya abierto */
.close{margin-top:clamp(120px,14vw,200px);background:var(--close-bg);color:var(--close-ink)}
.close-in{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:clamp(32px,5vw,80px);align-items:center;min-height:0;padding-top:96px;padding-bottom:96px}
.close h2{font-size:var(--s-display);line-height:.95;max-width:8ch}
.close-copy p{margin-top:28px;max-width:36ch;font-size:18px}
.dialog{justify-self:end;width:min(480px,100%);background:var(--card);color:var(--card-ink);border-radius:24px;padding:28px;display:flex;flex-direction:column;gap:14px;box-shadow:0 24px 60px rgba(4,12,30,.35)} /* taste-skill-ignore: fragmento data-ui */
.dialog h3{font-size:24px;font-weight:600;line-height:1.2}
.req{font-size:var(--s-small);color:#3d4f66}
.seg{border:0;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.seg legend{font-size:15px;font-weight:600;margin-bottom:6px;padding:0}
.seg label{flex-direction:row;align-items:center;font-weight:500;font-size:15px;cursor:pointer}
.seg input{position:absolute;opacity:0;width:1px;height:1px}
.seg label:has(input){padding:9px 14px;border-radius:999px;background:#e6ebf1;transition:background-color .2s ease}
.seg label:has(input:checked){background:#081020;color:#ffffff}
.seg label:has(input:focus-visible){outline:3px solid #0a62d6;outline-offset:2px}
.dialog .btn{width:100%;min-height:52px}
.dialog :focus-visible,.calc :focus-visible{outline-color:#0a62d6}
.status{font-size:15px;color:#3d4f66;min-height:0}
.status:empty{display:none}
.status.is-error{color:var(--error);font-weight:600}
.fine{font-size:var(--s-small);color:#3d4f66}

/* Pie: la marca en grande */
.foot{background:var(--foot-bg);color:var(--foot-ink);padding-top:96px;padding-bottom:40px}
.foot-mark{width:100%;max-width:860px;height:auto;aspect-ratio:760/357}
.foot-cols{margin-top:56px;display:flex;flex-wrap:wrap;justify-content:space-between;gap:24px 48px}
.foot nav{display:flex;flex-wrap:wrap;gap:12px 32px;font-size:16px}
.foot nav a{text-decoration:underline;text-decoration-color:transparent;text-underline-offset:.3em;padding:4px 0;transition:text-decoration-color .2s ease}
.mail{font-weight:600;user-select:all}
.credits{flex-basis:100%}
.foot-last{margin-top:48px;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;font-size:var(--s-small);color:var(--foot-muted)}

/* Movimiento: entradas por partes y el obturador de la foto principal */
@media (prefers-reduced-motion:no-preference){
  .js .rise{opacity:0;transform:translateY(24px);transition:opacity .7s var(--ease),transform .8s var(--ease)}
  .js .rise.is-in{opacity:1;transform:none}
  .js .how-steps li.rise:nth-child(2){transition-delay:80ms}
  .js .how-steps li.rise:nth-child(3){transition-delay:160ms}
  .js .shutter{clip-path:inset(0 0 100% 0);transition:clip-path 1.1s cubic-bezier(.65,0,.35,1)}
  .js .shutter img{transform:scale(1.12);transition:transform 1.5s var(--ease)}
  .js .shutter.is-in{clip-path:inset(0)}
  .js .shutter.is-in img{transform:none}
  .chip-live::before{animation:pulse 1.6s ease-in-out infinite}
  @keyframes pulse{50%{opacity:.35}}
}
html.is-paused *,html.is-paused *::before,html.is-paused *::after{animation-play-state:paused!important}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Teléfono y tableta */
@media (max-width:980px){
  .bar-links{display:none}
  .hero-copy > *{grid-column:1 / -1}
  .stage{margin-left:var(--m);margin-top:48px;padding:40px 0 0 32px;min-height:0}
  .stage::before{left:-72px;top:-72px;width:144px;height:144px}
  .suite-in,.close-in,.calc-row{grid-template-columns:minmax(0,1fr)}
  .calc-photo{width:min(420px,100%);justify-self:center}
  .plate{width:min(560px,100%);justify-self:center}
  .how-head h2,.how-head p{grid-column:1 / -1}
  .how-head p{margin-top:16px}
  .dialog{justify-self:stretch;width:100%}
  .close-in{min-height:0;align-items:start}
}
@media (max-width:640px){
  .bar-in{gap:14px;min-height:64px}
  .bar-cta .long{display:none}.bar-cta .short{display:inline}
  .bar-cta{min-height:44px;padding:10px 18px}
  .brand{font-size:17px}
  .lead{font-size:18px}
  .stage{margin-left:0;margin-right:0;padding:32px 24px 0}
  .panel{width:100%}
  .calc{padding:22px}
  .calc-grid,.how-steps{grid-template-columns:minmax(0,1fr)}
  .cells{grid-template-columns:minmax(0,1fr)}
  .cell{min-height:60px}
  .tab-panel{min-height:0}
  .dialog{padding:22px}
}

/* Opción 2 «El lente»: la página se comporta como la cámara de Argovis.
   1) un barrido de escaneo revela el titular, 2) un lente recorre la planta y marca lo que detecta,
   3) los módulos se apilan como fichas de inspección, 4) el recorrido de "Cómo funciona" se dibuja. */

/* 1. Barrido de escaneo sobre el titular */
.hero h1{position:relative}
@media (prefers-reduced-motion:no-preference){
  .js .hero h1{clip-path:inset(0 100% 0 0)}
  .js .hero.is-ready h1{animation:scan-text 1.3s cubic-bezier(.65,0,.35,1) .15s both}
  .js .hero h1::after{content:"";position:absolute;top:-4%;bottom:-4%;left:0;width:10px;border-radius:999px;background:var(--accent);opacity:0}
  .js .hero.is-ready h1::after{animation:scan-bar 1.3s cubic-bezier(.65,0,.35,1) .15s both}
  @keyframes scan-text{to{clip-path:inset(0 0 0 0)}}
  @keyframes scan-bar{0%{opacity:1;left:0}85%{opacity:1}100%{left:100%;opacity:0}}
  .js .stage{clip-path:inset(0 0 0 100%);transition:clip-path 1.1s cubic-bezier(.65,0,.35,1) .9s}
  .js .is-ready .stage{clip-path:inset(0)}
  .js .lines .trace{stroke-dasharray:1;stroke-dashoffset:1;transition:stroke-dashoffset 1.4s cubic-bezier(.65,0,.35,1) 1.5s}
  .js .is-ready .lines .trace{stroke-dashoffset:0}
  .js .lines .area{opacity:0;transition:opacity .8s ease 2.2s}
  .js .is-ready .lines .area{opacity:1}
  .js .lines .pt{transform:scale(0);transform-box:fill-box;transform-origin:center;transition:transform .5s var(--ease);transition-delay:calc(1.5s + var(--i) * 170ms)}
  .js .is-ready .lines .pt{transform:none}
}
html.is-paused .hero h1,html.is-paused .stage,html.is-paused .lines .pt,html.is-paused .lines .trace,html.is-paused .lines .area{stroke-dashoffset:0!important;opacity:1!important;clip-path:none!important;transform:none!important;animation:none!important}
html.is-paused .hero h1::after{display:none}

/* 2. Inspección: el lente recorre la planta (composición final: foto a color con todas las detecciones) */
.inspect{margin-top:clamp(96px,10vw,160px)}
.ins-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end;margin-bottom:32px}
.ins-head h2{grid-column:1 / span 6;font-size:var(--s-h2);max-width:14ch}
.ins-head p{grid-column:8 / span 5}
.ins-sticky{position:relative}
.ins-pin{position:relative;z-index:1}
.ins-photo{position:relative;margin:0 auto;width:100%;aspect-ratio:1920/800;overflow:hidden;border-radius:28px;background:var(--ink)}
.ins-photo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.ins-photo .grey{filter:grayscale(1) brightness(.62)}
.ins-photo .color{clip-path:none}
.det{position:absolute;border:2px solid #fff;border-radius:10px;font:600 13px/1.25 var(--f);color:#081020}
.det span{position:absolute;left:-2px;bottom:calc(100% + 6px);white-space:nowrap;background:#fff;padding:4px 9px;border-radius:999px}
.det.is-alert{border-color:#f2c27a}
.det.is-alert span{background:#f2c27a}
.ins-chip{position:absolute;right:16px;top:16px;font-size:13px;padding:4px 10px;border-radius:999px;background:#0e1b33;color:#d8e3f2}
html.motion .ins-pin{height:200vh}
html.motion .ins-photo{position:sticky;top:calc(50svh - min(20.84vw,50svh))}
/* Al llegar, la foto crece hasta ocupar todo el ancho y el resto de la pantalla se oscurece: modo pantalla completa */
html.motion .ins-photo{--g:0;width:calc(100% + (min(100vw,240svh) - 100%) * var(--g));margin-left:calc((100% - min(100vw,240svh)) / 2 * var(--g));border-radius:calc(28px * (1 - var(--g)));box-shadow:0 0 0 100vmax rgba(8,16,32,calc(var(--d,0) * .97))}
html.motion .ins-chip{top:calc(16px + 8px * var(--g))}
html.motion .ins-photo .color{clip-path:circle(17% at var(--lx,20%) var(--ly,50%))}
html.motion .det{opacity:0;transform:scale(.92);transition:opacity .35s ease,transform .5s var(--ease)}
html.motion .det.is-seen{opacity:1;transform:none}

/* 3. Filas de módulos: el lente se abre sobre la fila que cruza el centro de la pantalla */
.stack{margin-top:clamp(120px,14vw,200px)}
.stack h2{font-size:var(--s-h2)}
.stack-sub{margin:16px 0 40px;max-width:44ch}
.rows{display:flex;flex-direction:column;gap:8px;margin-bottom:32px}
.row{display:grid;grid-template-columns:minmax(0,3fr) minmax(0,6fr) 150px;gap:clamp(20px,3vw,48px);align-items:center;padding:28px clamp(20px,3vw,40px);border-radius:28px;background:var(--white);transition:background-color .5s ease}
.row h3{font-size:var(--s-statement);font-weight:500;letter-spacing:-.02em;line-height:1.1;display:flex;flex-direction:column;gap:6px}
.row h3 span{font-size:16px;font-weight:600;color:var(--accent);letter-spacing:0}
.row .q{font-size:20px;font-weight:600;line-height:1.3;margin-bottom:6px}
.row-photo{width:150px;height:150px;border-radius:50%;overflow:hidden;justify-self:end}
.row-photo img{width:100%;height:100%;object-fit:cover}
html.motion .row-photo{clip-path:circle(calc(24% + var(--o,0) * 26%) at 50% 50%);transition:clip-path .9s var(--ease)}
html.motion .row-photo img{transform:scale(calc(1.25 - var(--o,0) * .25));transition:transform 1.2s var(--ease)}
html.motion .row.is-active{background:var(--tone)}

/* 4. Recorrido que se dibuja */
.route{width:100%;height:auto;display:block;margin-top:48px;overflow:visible}
.route path{fill:none;stroke:var(--accent);stroke-width:6;stroke-linecap:round}
.route .base{stroke:var(--tone)}
.route circle{fill:var(--accent);stroke:var(--ground);stroke-width:6}
html.motion .route .draw{stroke-dasharray:var(--len);stroke-dashoffset:calc(var(--len) * (1 - var(--p,0) * 1.6))}
html.motion .route circle{transform-box:fill-box;transform-origin:center;transform:scale(var(--on,0));transition:transform .5s var(--ease)}

/* Frase entintada palabra por palabra (piso de contraste 4.5:1) */
.word{transition:opacity .25s linear}
html.is-paused .word{opacity:1!important}

@media (max-width:980px){
  .ins-head h2,.ins-head p{grid-column:1 / -1}
  .ins-head p{margin-top:16px}
  .det span{font-size:11px;padding:3px 7px}
  .ins-photo{border-radius:18px}
  .row{grid-template-columns:minmax(0,1fr) 96px}
  .row > div:nth-child(2){grid-column:1 / -1;order:3}
  .row-photo{width:96px;height:96px}
}

/* Hero y barra en azul noche, como la landing de referencia: foto de planta tenue + degradado, texto claro y acento celeste */
.bar{background:#081020;color:#fff;--focus:#46a0ea}
.bar-login{color:#b8c6da}
.hero{background:#081020;color:#fff;overflow:hidden;--focus:#46a0ea}
.hero::before{content:"";position:absolute;inset:0;background:var(--img-banner) center/cover;opacity:.32;pointer-events:none}
.hero::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081020 30%,rgba(8,16,32,.55) 70%,rgba(8,16,32,.2));pointer-events:none}
.hero > *{position:relative;z-index:1}
.hero h1 .ln:last-child{color:#46a0ea}
.hero .lead{color:#c9d6e8}
.hero .note{color:#8ea3bf}
.hero .text-link{color:#fff}
.stage::before{background:#081020}
/* Escenario más suave: azul profundo en degradado (sin el azul eléctrico) y panel un tono más claro con borde y sombra suaves */
.stage{background:linear-gradient(155deg,#16386f 0%,#0f2c5c 55%,#0c2550 100%)}
.stage::after{background:radial-gradient(circle at 35% 35%,rgba(70,160,234,.28),rgba(70,160,234,0) 70%)}
.panel{background:#13233f;border-color:rgba(160,195,240,.18);box-shadow:0 -12px 48px rgba(4,10,24,.35);color:#d3deec}
.kpi,.chart{background:#0f1d36;border-color:rgba(160,195,240,.14)}
.chip-example{background:#1f3355}
/* Cierre: copia y formulario centrados como un bloque; el ojo va en un círculo blanco (el iris, motivo de la página) */
.close .close-in{grid-template-columns:minmax(0,520px) minmax(0,480px);justify-content:center;column-gap:clamp(48px,7vw,120px);align-items:center}
.close .dialog{justify-self:stretch;width:100%}
.close-copy{display:flex;flex-direction:column;align-items:flex-start}
.close-eye{display:grid;place-items:center;width:128px;height:128px;border-radius:50%;background:#ffffff;margin-bottom:36px;box-shadow:0 0 0 10px rgba(255,255,255,.14),0 16px 40px rgba(4,12,30,.25)}
.close-mark{width:122px;height:auto;aspect-ratio:760/357;margin-left:-6px}
.close h2{max-width:none}
.close-copy p{margin-top:24px}
.close-facts{list-style:none;margin:32px 0 0;padding:0;display:flex;flex-direction:column;gap:12px;font-size:16px}
.close-facts li{display:flex;align-items:center;gap:12px}
.close-facts li::before{content:"";width:10px;height:10px;border-radius:50%;background:#ffffff;flex:none}
@media (max-width:980px){.close .close-in{grid-template-columns:minmax(0,1fr)}.close-eye{width:104px;height:104px;margin-bottom:28px}.close-mark{width:100px}}
.foot .foot-cols{margin-top:0}.foot{padding-top:64px}
/* Sin escenario: solo el panel, como tarjeta flotante sobre el fondo del hero */
.stage{background:none;overflow:visible}
.stage::before,.stage::after{display:none}
.panel{border-radius:16px;box-shadow:0 24px 60px rgba(2,6,16,.45)}
@media (min-width:981px){.hero .stage{align-self:center;padding:24px var(--m) 48px 0}.hero .panel{margin-left:auto}}
@media (max-width:980px){.hero .stage{margin-left:0;padding:0 var(--m) 48px}}
@media (max-width:640px){.hero .stage{padding:0 var(--m) 40px}}
html.js .hero h1::after{background:#46a0ea}
/* Escritorio: texto a la izquierda y panel a la derecha, para que el panel se vea completo al cargar */
@media (min-width:981px){
  .hero{grid-template-columns:minmax(0,46fr) minmax(0,54fr);grid-template-rows:1fr}
  .hero-copy{grid-column:1;grid-row:1;display:block;margin:0;max-width:none;padding-right:24px}
  .stage{grid-column:2;grid-row:1;align-self:end;margin:0;padding:48px 0 0 64px}
}
/* La suite: grilla de fichas con foto arriba, fácil de recorrer de un vistazo */
.stack-head{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:24px;align-items:end;margin-bottom:40px}
.stack-head h2{grid-column:1 / span 6}
.stack-head .stack-sub{grid-column:8 / span 5;margin:0;max-width:40ch;color:var(--muted)}
.mods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-bottom:24px}
.mod{display:flex;flex-direction:column;background:var(--white);border-radius:24px;padding:10px;min-width:0;transition:transform .35s var(--ease),box-shadow .35s var(--ease)}
.mod-photo{margin:0;aspect-ratio:16/10;border-radius:16px;overflow:hidden;background:var(--tone);max-width:100%}
.mod-photo img{width:100%;height:100%;object-fit:cover;transform:scale(var(--z,1));transition:transform .6s var(--ease)}
.mod-body{display:flex;flex-direction:column;gap:8px;padding:18px 14px 16px;min-width:0}
.mod-cat{align-self:flex-start;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--accent);background:var(--ground);padding:4px 10px;border-radius:999px}
.mod h3{font-size:24px;font-weight:600;letter-spacing:-.02em;line-height:1.15;margin-top:4px}
.mod .q{font-size:17px;font-weight:500;line-height:1.4;color:var(--ink)}
.mod-d{font-size:15px;line-height:1.5;color:var(--muted)}
@media (hover:hover) and (pointer:fine){
  .mod:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(8,16,32,.10)}
  .mod:hover .mod-photo img{transform:scale(calc(var(--z,1) * 1.06))}
}
@media (prefers-reduced-motion:reduce){.mod,.mod-photo img{transition:none}.mod:hover{transform:none}.mod:hover .mod-photo img{transform:scale(var(--z,1))}}
.stack .cell{min-height:60px}
@media (max-width:980px){
  .mods{grid-template-columns:repeat(2,minmax(0,1fr))}
  .stack-head h2,.stack-head .stack-sub{grid-column:1 / -1}
  .stack-head .stack-sub{margin-top:12px}
}
@media (max-width:640px){
  .mods{grid-template-columns:minmax(0,1fr);gap:14px}
  .mod{flex-direction:row;align-items:center;gap:4px;border-radius:20px}
  .mod-photo{flex:none;width:96px;aspect-ratio:1;border-radius:50%}
  .mod-body{padding:6px 10px 6px 12px;gap:4px}
  .mod h3{font-size:20px;margin-top:2px}
  .mod .q{font-size:15px}
  .mod-d{font-size:14px}
  .mod{align-items:flex-start}
  .mod-photo{width:84px;margin:6px}
}

/* Logo de la barra sin el círculo blanco: el ojo va directo sobre el azul noche; sus azules más oscuros se aclaran para que se lean */
.bar .logo-badge{background:none;width:auto;height:40px;border-radius:0;overflow:visible}
.bar .logo-badge svg{width:72px;height:34px}
.bar #logoOjo path[fill="#041f4c"]{fill:#2f6fd0}
.bar #anilloIris circle:first-child{fill:#1f56b0}
.bar #logoOjo .linea{stroke:#7f93b8}
/* Arreglos de la auditoría (diseño, accesibilidad, rendimiento, SEO y seguridad) */
.suite-actions{display:flex;flex-wrap:wrap;align-items:center;gap:20px 28px}
.calc-sec{padding-top:clamp(64px,8vw,120px)}
.calc-sec .calc-row{margin-top:0}
.calc-title{font-size:clamp(24px,2.2vw,32px);font-weight:600;letter-spacing:-.015em;line-height:1.15}
.calc label small{font-weight:400;font-size:14px;color:#3d4f66}
.calc-err{font-weight:600;font-size:14px;color:var(--error)}
.calc-err:empty{display:none}
.calc-out{flex-direction:column;align-items:flex-start;gap:4px}
.calc-out #c-anual{font-weight:600}
.calc-formula{font-size:14px;color:#3d4f66}
.calc-cta{align-self:flex-start}
.kpi b{min-width:3ch}
.skip-btn{border:0;font:600 15px var(--f);cursor:pointer}
.det-list{display:none}
html.motion .route .draw{stroke-dashoffset:calc(var(--len) * (1 - min(1, var(--p,0) * 1.6)))}
@media (max-width:980px){.calc-photo{display:none}}
@media (max-width:640px){
  html.motion .ins-pin{height:auto}
  html.motion .ins-photo{position:relative;top:0;width:100%;margin-left:0;border-radius:18px;box-shadow:none}
  html.motion .ins-photo .color{clip-path:none}
  html.motion .det{opacity:1;transform:none}
  .det:not(.is-alert) span{display:none}
  .ins-chip{top:auto!important;bottom:10px;right:auto;left:10px}
  .det-list{display:flex;flex-direction:column;gap:8px;list-style:none;margin:16px 0 0;padding:0;font-size:15px}
  .det-list li::before{content:"";display:inline-block;width:10px;height:10px;border-radius:50%;background:var(--accent);margin-right:10px}
  .det-list li.is-alert::before{background:#c98a1d}
  .route{display:none}
}

/* Imágenes: una sola copia de cada una en el archivo */
:root{--img-banner:url(/landing/assets/images/argovis-banner.webp);--img-banner-s:var(--img-banner);--img-cinta:url(/landing/assets/images/argovis-cinta.webp);--img-empaque:url(/landing/assets/images/argovis-empaque.webp)}
.mod-img{display:block;width:100%;height:100%;background-size:cover;background-repeat:no-repeat;transform:scale(var(--z,1));transition:transform .6s var(--ease)}
@media (hover:hover) and (pointer:fine){.mod:hover .mod-img{transform:scale(calc(var(--z,1) * 1.06))}}
@media (prefers-reduced-motion:reduce){.mod-img{transition:none}.mod:hover .mod-img{transform:scale(var(--z,1))}}
.calc-photo{background-size:cover;background-position:55% 60%;background-repeat:no-repeat}

/* Lente: imagen de la línea de procesos (1920×800); crece hasta ocupar todo el ancho */
.ins-photo{aspect-ratio:1920/800;width:100%;margin-left:auto;margin-right:auto}
.ins-photo .layer{position:absolute;inset:0;background:var(--img-banner) center/cover no-repeat}
html.motion .ins-photo{--w0:min(calc(100vw - 2 * var(--m)),200svh);--w1:min(100vw,240svh);
  width:calc(var(--w0) + (var(--w1) - var(--w0)) * var(--g,0));margin-left:50%;margin-right:0;translate:-50% 0;
  top:calc(50svh - (var(--w0) + (var(--w1) - var(--w0)) * var(--g,0)) * .2083);box-shadow:none;z-index:2}
.ins-dim{display:none}
html.motion .ins-dim{display:block;position:fixed;inset:0;z-index:1;background:#081020;opacity:calc(var(--d,0) * .97);pointer-events:none}
html.is-paused .ins-dim{display:none}
@media (max-width:640px){html.motion .ins-photo{width:100%;margin-left:0;translate:none;top:0}html.motion .ins-dim{display:none}}

/* Cierre amable: fondo claro, título moderado, pasos claros y el formulario como tarjeta suave */
.close{background:var(--tone);color:var(--ink)}
.close :focus-visible{outline-color:var(--accent)}
.close .close-in{padding-top:clamp(72px,8vw,112px);padding-bottom:clamp(72px,8vw,112px);align-items:start}
.close h2{font-size:var(--s-h2);line-height:1.05;letter-spacing:-.03em}
.close-copy p{color:var(--muted);font-size:18px;max-width:38ch}
.next-title{margin-top:40px;font-size:18px;font-weight:600;color:var(--ink)}
.next-steps{list-style:none;counter-reset:paso;margin:16px 0 0;padding:0;display:flex;flex-direction:column;gap:18px}
.next-steps li{counter-increment:paso;display:grid;grid-template-columns:40px minmax(0,1fr);column-gap:14px;align-items:start}
.next-steps li::before{content:counter(paso);grid-row:span 2;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--white);color:var(--accent);font-weight:600;font-size:16px}
.next-steps b{font-size:17px;font-weight:600;line-height:1.3;padding-top:2px}
.next-steps span{color:var(--muted);font-size:15px;line-height:1.5}
.close-mail{margin-top:32px;font-size:16px}
.close-mail .mail{color:var(--ink)}
.close .dialog{box-shadow:0 20px 50px rgba(8,16,32,.08)}
