/* =========================================================
   AI INNOVATION — Sistema de diseño (v6)
   Fuentes auto-alojadas (Manrope + DM Sans). Sin CSS en línea.
   ========================================================= */
@font-face{
  font-family:"DM Sans";font-style:normal;font-weight:400 700;font-display:swap;
  src:url("/assets/fonts/dmsans-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2191,U+2193,U+2212;
}
@font-face{
  font-family:"Manrope";font-style:normal;font-weight:500 800;font-display:swap;
  src:url("/assets/fonts/manrope-latin.woff2") format("woff2");
  unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+2000-206F,U+2122,U+2191,U+2193,U+2212;
}
/* Sistema: una escala tipográfica (eyebrow, h2, subtítulo, h3), un ritmo de espacios (--sp) y fondos que alternan claro/blanco. */
:root{
  --bg:#f5f7fb; --white:#fff; --ink:#0a0f1c; --ink-2:#556178; --line:#e3e8f1;
  --blue:#1f5cff; --blue-d:#0f3fc7; --cyan:#13c8ed; --mint:#19c39a; --amber:#ffb224;
  --navy:#040d22; --navy-2:#0a1f4d;
  --f-display:"Manrope",system-ui,sans-serif; --f-body:"DM Sans",system-ui,sans-serif;
  --sp:clamp(72px,9vw,112px);          /* espacio vertical de toda sección */
  --gap-hd:clamp(36px,5vw,56px);       /* espacio entre encabezado y contenido */
  --t-h2:clamp(2rem,4.2vw,3.3rem);
  --t-lede:clamp(1.05rem,1.5vw,1.2rem);
  --t-h3:1.5rem;
  --ease:cubic-bezier(.2,.7,.2,1);
}
*{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{background:var(--bg);color:var(--ink);font:400 17.5px/1.55 var(--f-body);color-scheme:light;overflow-x:clip}
svg{display:block;max-width:100%}
a{color:inherit}
button{font-family:inherit}
h1,h2,h3{font-family:var(--f-display);letter-spacing:-.035em;text-wrap:balance}
.wrap{width:min(1180px,100% - 40px);margin-inline:auto}
section{padding-block:var(--sp);scroll-margin-top:84px}
.sec-w{background:#fff;border-block:1px solid var(--line)}
:focus-visible{outline:3px solid var(--blue);outline-offset:3px;border-radius:8px}
.ico{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex:none}
.grad{background:linear-gradient(95deg,var(--blue),var(--cyan));-webkit-background-clip:text;background-clip:text;color:transparent}
.pend{display:inline-block;border:1.5px dashed #d99a12;color:#8a5a00;background:#fff8e6;border-radius:6px;padding:2px 8px;font:500 12.5px var(--f-body)}

/* Encabezado de sección */
.hd{text-align:center;max-width:760px;margin:0 auto var(--gap-hd)}
.eyebrow{display:block;font:700 13px/1 var(--f-body);letter-spacing:.14em;text-transform:uppercase;color:var(--blue);margin-bottom:16px}
h2{font-size:var(--t-h2);line-height:1.04;font-weight:800}
.hd p,.lede{font-size:var(--t-lede);color:var(--ink-2);margin-top:16px}
h3{font-size:var(--t-h3);font-weight:800;line-height:1.1}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;font:700 16px/1 var(--f-body);padding:17px 28px;border-radius:999px;text-decoration:none;border:1.5px solid transparent;cursor:pointer;transition:transform .2s,box-shadow .2s,background .2s,border-color .2s}
.btn:hover{transform:translateY(-2px)}
.btn-blue{background:linear-gradient(135deg,var(--blue),var(--blue-d));color:#fff;box-shadow:0 12px 28px -12px rgba(31,92,255,.8)}
.btn-dark{background:var(--ink);color:#fff}
.btn-soft{background:#fff;color:var(--ink);border-color:var(--line)}
.btn-soft:hover{border-color:var(--ink)}
.btn-light{background:#fff;color:var(--blue-d)}
.btn-ghost{border-color:rgba(255,255,255,.4);color:#fff}
.btn-ghost:hover{border-color:#fff}
.btn-sm{padding:13px 20px;font-size:15px}
/* Animaciones al hacer scroll */
.rv{transition:opacity .8s var(--ease) var(--d,0s),transform .8s var(--ease) var(--d,0s)}
.rv.pre{opacity:0;transform:translateY(28px)}
.rv-l.pre{transform:translateX(-44px)}
.rv-r.pre{transform:translateX(44px)}
.rv-s.pre{transform:scale(.94)}
.progress{position:fixed;left:0;top:0;right:0;height:3px;z-index:100;pointer-events:none}
.progress i{display:block;height:100%;background:linear-gradient(90deg,var(--blue),var(--cyan));transform-origin:left;transform:scaleX(0)}
/* Header */
.site-header{position:sticky;top:12px;z-index:60;padding:0 20px}
.nav{max-width:1180px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:16px;height:64px;padding:0 10px 0 20px;background:rgba(255,255,255,.82);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border:1px solid var(--line);border-radius:999px;box-shadow:0 10px 30px -22px rgba(10,15,28,.55);position:relative;transition:box-shadow .3s,background .3s}
.site-header.scrolled .nav{box-shadow:0 18px 40px -22px rgba(10,15,28,.6);background:rgba(255,255,255,.94)}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none}
.brand svg{width:34px;height:34px}
.brand b{font:800 16.5px var(--f-display);letter-spacing:.01em}
.menu{display:flex;gap:6px;list-style:none;padding:0}
.menu a{display:block;font-size:15.5px;font-weight:500;text-decoration:none;color:var(--ink-2);padding:8px 16px;border-radius:999px;transition:color .2s,background .2s}
.menu a:hover{color:var(--ink)}
.menu a.act{color:var(--blue-d);background:#e8efff}
.menu .menu-cta{display:none}
.nav-r{display:flex;align-items:center;gap:8px}
.burger{display:none;width:44px;height:44px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;align-items:center;justify-content:center}
.burger span,.burger span::before,.burger span::after{display:block;width:18px;height:2px;background:var(--ink);border-radius:2px;position:relative;transition:transform .25s,background .25s}
.burger span::before,.burger span::after{content:"";position:absolute;left:0}
.burger span::before{top:-6px}.burger span::after{top:6px}
.burger[aria-expanded="true"] span{background:transparent}
.burger[aria-expanded="true"] span::before{transform:translateY(6px) rotate(45deg)}
.burger[aria-expanded="true"] span::after{transform:translateY(-6px) rotate(-45deg)}
/* Hero */
.hero{position:relative;overflow:hidden;isolation:isolate;padding:clamp(36px,5vw,64px) 0 var(--sp)}
.hero::before{content:"";position:absolute;z-index:-1;left:50%;top:-260px;width:1200px;height:760px;margin-left:-600px;transform:translateY(var(--hy,0px));background:radial-gradient(closest-side,rgba(31,92,255,.15),transparent),radial-gradient(closest-side at 72% 58%,rgba(19,200,237,.18),transparent)}
.hero::after{content:"";position:absolute;z-index:-1;right:-120px;bottom:-160px;width:520px;height:520px;border-radius:50%;background:radial-gradient(closest-side,rgba(19,200,237,.22),transparent);animation:drift 14s ease-in-out infinite alternate}
@keyframes drift{to{transform:translate(-50px,-30px) scale(1.1)}}
.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(28px,4vw,64px);align-items:center}
.tag{display:inline-flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font:700 12px var(--f-body);letter-spacing:.12em;color:var(--ink-2);margin-bottom:26px}
.tag i{width:8px;height:8px;border-radius:50%;background:var(--mint);animation:pulse 2s infinite;flex:none}
@keyframes pulse{0%{box-shadow:0 0 0 0 rgba(25,195,154,.5)}70%{box-shadow:0 0 0 8px rgba(25,195,154,0)}}
h1{font-size:clamp(2.1rem,3.75vw,3.4rem);line-height:1.03;font-weight:800}
h1 span{display:block}
.hero .sub{font-size:var(--t-lede);color:var(--ink-2);max-width:46ch;margin:22px 0 30px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap}
.comp{position:relative;height:500px;width:100%}
.win{position:absolute;background:#fff;border:1px solid var(--line);border-radius:20px;box-shadow:0 44px 80px -38px rgba(10,15,28,.5);animation:float 8s ease-in-out infinite alternate}
@keyframes float{to{transform:translateY(-10px)}}
.wbar{display:flex;align-items:center;gap:7px;padding:13px 18px;border-bottom:1px solid var(--line);font:700 13.5px var(--f-body);color:var(--ink-2)}
.wbar i{width:10px;height:10px;border-radius:50%;background:#dfe5f1}
.wbar span{margin-left:8px}
.dash{left:0;top:0;width:88%;height:370px;overflow:hidden}
.kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;padding:14px 16px 0}
.kpi{background:var(--bg);border-radius:14px;padding:10px 12px}
.kpi small{display:block;font:500 12.5px var(--f-body);color:var(--ink-2)}
.kpi svg{width:100%;height:30px;margin-top:4px}
.bars{display:flex;align-items:flex-end;gap:9px;height:128px;padding:16px 18px 0;margin-top:4px}
.bars i{flex:1;border-radius:7px 7px 0 0;background:linear-gradient(180deg,var(--cyan),var(--blue));opacity:.92;transform-origin:bottom;animation:grow 1.2s var(--ease) both}
.bars i:nth-child(2){animation-delay:.08s}.bars i:nth-child(3){animation-delay:.16s}.bars i:nth-child(4){animation-delay:.24s}.bars i:nth-child(5){animation-delay:.32s}.bars i:nth-child(6){animation-delay:.4s}.bars i:nth-child(7){animation-delay:.48s}.bars i:nth-child(8){animation-delay:.56s}.bars i:nth-child(9){animation-delay:.64s}
@keyframes grow{from{transform:scaleY(.08)}}
.rows{padding:12px 18px;display:grid;gap:8px}
.rows div{display:flex;align-items:center;gap:12px;font-size:13.5px;color:var(--ink-2)}
.rows i{height:8px;border-radius:4px;background:#e5eaf4;flex:1}
.rows b{font:700 12px var(--f-body);border-radius:999px;padding:3px 10px;background:#dcf6ee;color:#0a7d65}
.rows b.w{background:#fff1d6;color:#8a5a00}
.chat{right:0;top:92px;width:56%;animation-delay:-3s}
.chat .msgs{padding:14px;display:grid;gap:9px}
.bub{max-width:88%;padding:9px 13px;border-radius:16px;font-size:14px;line-height:1.35}
.bub.u{background:var(--bg);color:var(--ink);border-bottom-left-radius:5px}
.bub.b{background:var(--blue);color:#fff;border-bottom-right-radius:5px;justify-self:end}
.chat .bub,.chat .typing{animation:pop .5s var(--ease) both}
.chat .bub:nth-child(1){animation-delay:.4s}.chat .bub:nth-child(2){animation-delay:1.1s}.chat .bub:nth-child(3){animation-delay:1.8s}.chat .typing{animation-delay:2.3s}
@keyframes pop{from{opacity:0;transform:translateY(8px)}}
.typing{display:inline-flex;gap:4px;padding:11px 13px;background:var(--bg);border-radius:16px;width:max-content}
.typing i{width:7px;height:7px;border-radius:50%;background:#9aa7c0;animation:blink 1.2s infinite}
.typing i:nth-child(2){animation-delay:.2s}.typing i:nth-child(3){animation-delay:.4s}
@keyframes blink{0%,80%,100%{opacity:.3}40%{opacity:1}}
.dot-on{width:9px;height:9px;border-radius:50%;background:var(--mint);margin-left:auto}
.flowc{left:5%;bottom:0;width:74%;animation-delay:-5s}
.fl{display:flex;align-items:center;padding:16px 18px}
.fn{display:grid;gap:7px;justify-items:center;font:700 13px var(--f-body);text-align:center;width:76px;flex:none}
.fn span{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:#e8efff;color:var(--blue)}
.fn:nth-child(3) span{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff}
.fn:nth-child(5) span{background:#dcf6ee;color:#0a8f73}
.fl hr{flex:1;border:0;height:2px;background:repeating-linear-gradient(90deg,var(--blue) 0 6px,transparent 6px 12px);margin:0 0 20px;animation:dash 1s linear infinite}
@keyframes dash{to{background-position:12px 0}}
/* Soluciones */
.svc{display:grid;grid-template-columns:1fr 1fr;gap:22px}
.sv{background:#fbfcff;border:1px solid var(--line);border-radius:28px;overflow:hidden;display:flex;flex-direction:column;transition:transform .3s,box-shadow .3s,opacity .8s var(--ease) var(--d,0s)}
.sv:hover{transform:translateY(-6px);box-shadow:0 34px 60px -40px rgba(31,92,255,.6)}
.vis{height:220px;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#eaf1ff,#e2f7fc);position:relative;overflow:hidden}
.sv:nth-child(2) .vis{background:linear-gradient(145deg,#e6efff,#eaf0ff)}
.sv:nth-child(3) .vis{background:linear-gradient(145deg,#e2f7fc,#e8f9f2)}
.sv:nth-child(4) .vis{background:linear-gradient(145deg,#eaf0ff,#e2f3ff)}
.sbody{padding:26px 28px 30px}
.sbody small{font:800 14px var(--f-body);letter-spacing:.1em;color:var(--blue)}
.sbody h3{margin:8px 0}
.sbody p{color:var(--ink-2);font-size:17px}
.chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:16px}
.chips span{font:500 13.5px var(--f-body);background:#fff;border:1px solid var(--line);border-radius:999px;padding:5px 12px;color:#2a3550}
.mini{background:#fff;border-radius:16px;box-shadow:0 20px 40px -22px rgba(10,15,28,.4);padding:16px;width:min(340px,100%);font-size:13.5px}
.doc{display:grid;gap:8px}
.doc i{height:8px;border-radius:4px;background:#e3e8f1}
.doc i.h{background:#bcd0ff}
.ext{display:flex;gap:7px;margin-top:12px;flex-wrap:wrap}
.ext b{font:700 12px var(--f-body);background:#dcf6ee;color:#0a7d65;border-radius:999px;padding:4px 10px}
.mrow{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--line)}
.mrow:last-child{border:0}
.mrow i{flex:1;height:8px;border-radius:4px;background:#e3e8f1}
.mrow b{font:700 11.5px var(--f-body);border-radius:999px;padding:3px 9px;background:#e3edff;color:var(--blue-d)}
.mrow b.g{background:#dcf6ee;color:#0a7d65}
.chain{display:flex;align-items:center;width:min(380px,100%)}
.chain div{width:52px;height:52px;border-radius:15px;background:#fff;display:grid;place-items:center;color:var(--blue);box-shadow:0 14px 28px -16px rgba(10,15,28,.5);flex:none}
.chain div.hub{background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff}
.chain hr{flex:1;border:0;height:2px;background:repeating-linear-gradient(90deg,var(--blue) 0 6px,transparent 6px 12px);animation:dash 1s linear infinite}
/* Proyectos */
.pjs{display:grid;gap:clamp(20px,3vw,32px)}
.pj{display:grid;grid-template-columns:1.15fr .85fr;gap:clamp(24px,4vw,48px);align-items:center;background:#fff;border:1px solid var(--line);border-radius:32px;padding:20px;transition:box-shadow .3s}
.pj:hover{box-shadow:0 40px 70px -44px rgba(31,92,255,.55)}
.pj:nth-child(even){grid-template-columns:.85fr 1.15fr}
.pj:nth-child(even) .shot{order:2}
.shot{border-radius:22px;overflow:hidden;aspect-ratio:8/5;position:relative}
.px{position:absolute;inset:0;transform:translateY(var(--py,0px)) scale(1.14);will-change:transform}
.px svg{width:100%;height:100%;transition:transform .6s var(--ease)}
.pj:hover .px svg{transform:scale(1.04)}
.s1{background:linear-gradient(135deg,#2f6bff,#13c8ed)}
.s2{background:linear-gradient(135deg,#040d22,#0f2a63)}
.s4{background:linear-gradient(135deg,#0f3fc7,#040d22)}
.pt{padding:10px 18px 10px 4px}
.pj:nth-child(even) .pt{padding:10px 4px 10px 18px}
.cat{font:700 13px var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--blue)}
.pt h3{font-size:clamp(1.5rem,2.4vw,1.9rem);margin:10px 0}
.pt>p{color:var(--ink-2);font-size:17.5px}
.detail{margin-top:18px;padding:18px 20px;background:var(--bg);border-radius:16px;font-size:16px}
.detail b{display:block;font:700 12.5px var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--blue);margin:0 0 4px}
.detail b+ul,.detail p{margin-bottom:12px}
.detail ul{padding-left:18px;color:var(--ink-2)}
.detail p{color:var(--ink-2)}
.acts{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-top:22px}
/* Demos */
.dtabs{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-bottom:26px}
.dt{font:700 15.5px var(--f-body);border:1.5px solid var(--line);background:#fff;color:var(--ink-2);border-radius:999px;padding:12px 22px;cursor:pointer;transition:all .2s}
.dt:hover{color:var(--ink);border-color:#b9c6e0}
.dt[aria-selected="true"]{background:var(--ink);border-color:var(--ink);color:#fff}
.dpanel{max-width:880px;margin:0 auto;background:var(--navy);border-radius:28px;padding:clamp(18px,3vw,28px);color:#fff;position:relative;box-shadow:0 50px 90px -50px rgba(4,13,34,.9)}
.dpanel[hidden]{display:none}
.dlabel{display:inline-block;font:700 12.5px var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:#7fe3f7;background:rgba(19,200,237,.12);border-radius:999px;padding:6px 12px;margin-bottom:18px}
.cw{background:#fff;color:var(--ink);border-radius:20px;overflow:hidden}
.cw .wbar{background:#fff}
.log{height:280px;overflow-y:auto;padding:18px;display:flex;flex-direction:column;gap:10px;background:var(--bg)}
.log .bub{animation:pop .3s ease}
.quick{display:flex;gap:8px;flex-wrap:wrap;padding:14px 18px 0;background:#fff}
.quick button{font:500 14px var(--f-body);border:1px solid var(--line);background:#fff;border-radius:999px;padding:8px 14px;cursor:pointer;color:var(--blue-d);transition:all .2s}
.quick button:hover{background:#e8efff;border-color:var(--blue)}
.cin{display:flex;gap:10px;padding:14px 18px 18px;background:#fff}
.cin input{flex:1;min-width:0;font:400 16px var(--f-body);border:1.5px solid var(--line);border-radius:999px;padding:13px 18px;background:var(--bg)}
.cin input:focus{outline:none;border-color:var(--blue);background:#fff}
.step-list{display:grid;gap:10px;margin:6px 0 20px}
.stp{display:flex;gap:14px;align-items:center;padding:14px 18px;border-radius:16px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);color:#a9bbd8;transition:all .4s}
.stp i{width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.1);font:700 13px var(--f-body);font-style:normal;flex:none}
.stp.on{background:rgba(31,92,255,.3);border-color:#7b9cff;color:#fff}
.stp.ok{background:rgba(25,195,154,.14);border-color:rgba(25,195,154,.6);color:#fff}
.stp.ok i{background:var(--mint);color:#04241b}
.req{background:rgba(255,255,255,.07);border-radius:14px;padding:14px 18px;margin-bottom:16px;font-size:16.5px}
.req small{display:block;color:#7fe3f7;font:700 12px var(--f-body);letter-spacing:.1em;text-transform:uppercase;margin-bottom:4px}
.out{background:#fff;color:var(--ink);border-radius:16px;padding:18px 20px;min-height:86px;font-size:16px}
.out table{width:100%;border-collapse:collapse;margin-top:8px;font-size:15px}
.out td{padding:6px 0;border-bottom:1px solid var(--line)}.out td:last-child{text-align:right;font-weight:700}
.run{display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.logbox{margin-top:16px;background:rgba(255,255,255,.06);border-radius:14px;padding:14px 18px;font:500 14px/1.7 ui-monospace,Menlo,monospace;color:#a9bbd8;min-height:112px}
.logbox div{animation:pop .3s ease}
.logbox b{color:#4fe8c2}
.seg{display:inline-flex;background:rgba(255,255,255,.08);border-radius:999px;padding:4px}
.seg button{font:700 14.5px var(--f-body);border:0;background:transparent;color:#a9bbd8;padding:10px 18px;border-radius:999px;cursor:pointer}
.seg button[aria-pressed="true"]{background:#fff;color:var(--ink)}
.dk{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0}
.dk div{background:rgba(255,255,255,.07);border-radius:16px;padding:14px 16px}
.dk small{display:block;color:#a9bbd8;font-size:13.5px}
.dk b{font:800 1.8rem var(--f-display);color:#fff}
.chartbox{display:flex;align-items:flex-end;gap:10px;height:170px;padding:16px 8px 0;border-bottom:1px solid rgba(255,255,255,.15)}
.chartbox i{flex:1;border-radius:8px 8px 0 0;background:linear-gradient(180deg,var(--cyan),var(--blue));transition:height .6s cubic-bezier(.2,.8,.2,1)}
.wavebox{display:flex;align-items:center;justify-content:center;gap:4px;height:120px;margin:10px 0 18px}
.wavebox i{width:6px;border-radius:3px;background:linear-gradient(180deg,var(--cyan),var(--blue));height:20%;transition:height .15s}
@keyframes wv{from{transform:scaleY(.55)}to{transform:scaleY(1.1)}}
.dg{width:100%;height:auto;background:rgba(2,9,26,.5);border-radius:18px}
.dg .e{fill:none;stroke:rgba(19,200,237,.45);stroke-width:1.5}
.dg .nd{fill:#0f2a63;stroke:rgba(255,255,255,.22)}
.dg .hub{fill:url(#gh);stroke:#7fe3f7}
.dg text{fill:#fff;font:700 13.5px "DM Sans",sans-serif;text-anchor:middle;dominant-baseline:central}
.dg .pk{fill:#ffb224}
/* Proceso */
.tl{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;position:relative;--p:0}
.tl-line{position:absolute;left:30px;right:30px;top:29px;height:3px;border-radius:3px;background:rgba(31,92,255,.14)}
.tl-line i{display:block;height:100%;border-radius:3px;background:linear-gradient(90deg,var(--blue),var(--cyan),var(--mint));transform-origin:left;transform:scaleX(var(--p))}
.ph{position:relative}
.ph .n{width:60px;height:60px;border-radius:50%;display:grid;place-items:center;font:800 1.15rem var(--f-display);color:#fff;background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 0 0 9px var(--bg);position:relative;z-index:1;transition:filter .5s,opacity .5s,transform .5s var(--ease)}
.ph:nth-child(4) .n{background:linear-gradient(135deg,#0a9b82,#37d6b4)}
.js .ph:not(.on) .n{filter:grayscale(1);opacity:.5;transform:scale(.9)}
.pc{margin-top:20px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:16px 16px 22px;height:calc(100% - 80px)}
.vig{height:116px;border-radius:16px;background:linear-gradient(145deg,#eaf1ff,#e2f7fc);display:grid;place-items:center;margin-bottom:16px;overflow:hidden}
.vig svg{width:100%;height:100%}
.pc h3{margin:0 6px 6px}
.pc p{margin:0 6px;color:var(--ink-2);font-size:16px}

/* Nosotros */
.about{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(32px,6vw,80px);align-items:center}
.prin{display:grid;gap:14px}
.pr{display:flex;gap:18px;align-items:flex-start;padding:20px 22px;background:#fbfcff;border:1px solid var(--line);border-radius:20px;transition:transform .3s,border-color .3s}
.pr:hover{transform:translateX(6px);border-color:#b9cdee}
.pr .ibx{width:50px;height:50px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;flex:none}
.pr h3{font-size:1.25rem;margin-bottom:4px}
.pr p{color:var(--ink-2);font-size:16px}
.tools{margin-top:22px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.tools small{font:700 12.5px var(--f-body);letter-spacing:.1em;text-transform:uppercase;color:var(--ink-2);margin-right:6px}
.tools span{font:500 14px var(--f-body);background:var(--bg);border:1px solid var(--line);border-radius:999px;padding:6px 13px}
.stage{position:relative;display:grid;place-items:center;min-height:540px}
.stage::before{content:"";position:absolute;inset:6% 4%;border-radius:40px;background:linear-gradient(145deg,#e8efff,#dff6fb)}
.phone{position:relative;width:min(290px,78%);aspect-ratio:9/18.5;background:#0a0f1c;border-radius:42px;padding:11px;box-shadow:0 50px 90px -40px rgba(10,15,28,.7)}
.screen{height:100%;border-radius:32px;background:linear-gradient(180deg,#2f6bff,#13c8ed 60%,#bdeefa);padding:44px 14px 14px;display:grid;align-content:start;gap:10px;overflow:hidden;position:relative}
.screen::before{content:"";position:absolute;top:10px;left:50%;width:80px;height:22px;margin-left:-40px;border-radius:12px;background:#0a0f1c}
.clock{text-align:center;color:#fff;font:800 2.6rem/1 var(--f-display);margin:6px 0 10px;letter-spacing:-.03em}
.notif{display:flex;gap:11px;align-items:center;background:rgba(255,255,255,.92);border-radius:18px;padding:11px 13px;box-shadow:0 14px 30px -18px rgba(4,13,34,.6)}
.notif .ni{width:36px;height:36px;border-radius:11px;display:grid;place-items:center;color:#fff;flex:none;background:var(--blue)}
.notif:nth-of-type(2) .ni{background:var(--mint)}
.notif:nth-of-type(3) .ni{background:#7b6bff}
.notif .ni .ico{width:20px;height:20px}
.notif b{display:block;font:700 13.5px/1.2 var(--f-body);color:var(--ink)}
.notif small{font:500 12px var(--f-body);color:var(--ink-2)}
.chipf{position:absolute;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px 9px 12px;font:700 13.5px var(--f-body);display:flex;gap:8px;align-items:center;box-shadow:0 20px 40px -22px rgba(10,15,28,.5);animation:float 7s ease-in-out infinite alternate}
.chipf .ico{width:18px;height:18px;color:var(--mint)}
.chipf.c1{left:-2%;top:22%}
.chipf.c2{right:-2%;bottom:18%;animation-delay:-3.5s}
.stage .note{position:absolute;bottom:2%;left:0;right:0;text-align:center;font:500 12.5px var(--f-body);color:#6a7790}
/* Contacto */
.cta{background:linear-gradient(140deg,var(--blue) 0%,#0a2c8c 55%,var(--navy) 100%);color:#fff;position:relative;isolation:isolate;overflow:hidden}
.cta::before{content:"";position:absolute;z-index:-1;right:-200px;top:-200px;width:700px;height:700px;border-radius:50%;background:radial-gradient(closest-side,rgba(19,200,237,.45),transparent)}
.cgrid{display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(32px,6vw,64px);align-items:center}
.cta .eyebrow{color:#7fe3f7}
.cta h2{color:#fff}
.cta .lede{color:#d4e2ff;margin:18px 0 30px;max-width:44ch}
.cta .acts{margin-top:0}
.form{background:#fff;color:var(--ink);border-radius:28px;padding:clamp(20px,3vw,30px);display:grid;gap:16px;box-shadow:0 50px 90px -40px rgba(0,0,0,.6)}
.two{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.field{display:grid;gap:6px;min-width:0}
.field label{font:700 14px var(--f-body)}
.field input,.field select,.field textarea{font:400 16.5px var(--f-body);color:var(--ink);background:var(--bg);border:1.5px solid var(--line);border-radius:12px;padding:14px;width:100%;transition:border-color .2s,background .2s}
.field textarea{min-height:104px;resize:vertical}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--blue);background:#fff}
.field.bad input,.field.bad textarea{border-color:#d93a3a;background:#fff5f5}
.err{font-size:13.5px;color:#c62828}
.consent{display:flex;gap:10px;align-items:flex-start;font-size:14.5px;color:var(--ink-2)}
.consent input{margin-top:4px;accent-color:var(--blue);width:18px;height:18px;flex:none}
.consent a{color:var(--ink)}
.form .btn{width:100%;font-size:17px}
.form .btn[disabled]{opacity:.7;cursor:progress}
.fstatus{font-size:14.5px;min-height:1.4em;color:#0a7d65}
.fstatus.e{color:#c62828}
.hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-col{display:grid}
.form[hidden]{display:none}
.form-done{display:grid;place-items:center;text-align:center;gap:12px;outline:none}
.form-done[hidden]{display:none}
.form-done .done-ico{width:64px;height:64px;border-radius:50%;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--blue),var(--cyan));box-shadow:0 14px 30px -14px rgba(31,92,255,.8)}
.form-done .done-ico .ico{width:30px;height:30px}
.form-done h3{font-size:1.45rem}
.form-done p{color:var(--ink-2);max-width:40ch}
.form-done .btn{margin-top:6px}
/* Salto al contenido (accesibilidad) */
.skip-link{position:fixed;left:16px;top:-120px;z-index:200;background:var(--ink);color:#fff;padding:12px 18px;border-radius:12px;font:700 15px var(--f-body);text-decoration:none;transition:top .18s}
.skip-link:focus{top:16px}
/* Botón flotante de WhatsApp (contacto rápido) */
.wa-float{position:fixed;right:18px;bottom:18px;z-index:70;display:inline-flex;align-items:center;gap:9px;background:#1fab53;color:#fff;padding:14px 20px 14px 15px;border-radius:999px;text-decoration:none;font:700 15px var(--f-body);box-shadow:0 16px 34px -14px rgba(10,15,28,.6);transition:transform .2s,box-shadow .2s}
.wa-float:hover{transform:translateY(-2px);box-shadow:0 22px 42px -14px rgba(10,15,28,.7)}
.wa-float .ico{width:24px;height:24px;stroke:#fff}
@media (max-width:620px){.wa-float{padding:14px;gap:0}.wa-float span{display:none}}
@media (prefers-reduced-motion:reduce){.skip-link{transition:none}.wa-float{transition:none}}
/* Footer */
footer{background:var(--navy);color:#8ea3c8;padding:clamp(48px,6vw,70px) 0 34px;font-size:15px}
.foot{display:grid;grid-template-columns:1.5fr 1fr 1fr 1.3fr;gap:40px}
footer .brand b{color:#fff}
footer h4{font:700 13px var(--f-body);letter-spacing:.12em;text-transform:uppercase;color:var(--cyan);margin-bottom:16px}
footer ul{list-style:none;padding:0;display:grid;gap:10px}
footer a{text-decoration:none}footer a:hover{color:#fff}
.fclose{margin-top:48px;padding-top:26px;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;gap:14px 30px;justify-content:space-between;align-items:center;font-size:14px}
.fclose strong{color:#fff;font:800 16px var(--f-display);letter-spacing:-.01em}
footer .pend{background:transparent;border-color:var(--amber);color:var(--amber)}
/* Utilidades para estilos antes en línea (CSP sin inline) */
.svg-defs{position:absolute}
.m0{margin:0}
.mt14{margin-top:14px}
.mt16{margin-top:16px}
.mt18{margin-top:18px}
.foot-intro{margin-top:18px;max-width:34ch}
.demo-note{color:#a9bbd8;font-size:14.5px}
.ficticio{color:#7a869c;font-size:13.5px}
.mini-msgs{padding:0;display:grid;gap:9px}
.dg.plain{background:none;border-radius:0}
.vig.v2{background:linear-gradient(145deg,#e6efff,#eaf0ff)}
.vig.v3{background:linear-gradient(145deg,#e2f7fc,#e8f9f2)}
.vig.v4{background:linear-gradient(145deg,#e0f7ef,#e2f3ff)}
.gracias-wrap{min-height:70vh;display:grid;place-items:center;text-align:center;padding:40px 20px}
.gracias-wrap .ico-ok{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;background:linear-gradient(135deg,var(--blue),var(--cyan));color:#fff;margin:0 auto 24px}
.legal-wrap{max-width:760px;margin:0 auto;padding:clamp(40px,6vw,72px) 20px}
.legal-wrap h2{margin-top:36px;font-size:1.5rem}
.legal-wrap p,.legal-wrap li{color:var(--ink-2);margin-top:12px}
.legal-wrap ul{padding-left:20px}
/* Responsive */
@media (max-width:1100px){
  .menu a{padding:8px 12px}
}
@media (max-width:1000px){
  .hero-grid{grid-template-columns:1fr;gap:44px;text-align:center}
  .hero .sub{margin-inline:auto}
  .hero-ctas{justify-content:center}
  h1{font-size:clamp(2.2rem,7.4vw,3.6rem)}
  .comp{max-width:640px;margin-inline:auto;text-align:left}
  .pj,.pj:nth-child(even){grid-template-columns:1fr;gap:18px}
  .pj:nth-child(even) .shot{order:0}
  .pt,.pj:nth-child(even) .pt{padding:4px 12px 12px}
  .tl{grid-template-columns:1fr 1fr;row-gap:32px}
  .tl-line{display:none}
  .js .ph:not(.on) .n{filter:none;opacity:1;transform:none}
  .ph .n{box-shadow:none;width:52px;height:52px}
  .pc{height:auto;margin-top:14px}
  .about,.cgrid{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:900px){
  .burger{display:inline-flex}
  .menu{display:none;position:absolute;top:72px;left:0;right:0;flex-direction:column;gap:2px;background:#fff;border:1px solid var(--line);border-radius:22px;padding:10px;box-shadow:0 30px 60px -30px rgba(10,15,28,.5)}
  .menu.open{display:flex}
  .menu a{padding:15px 16px;font-size:17px;border-radius:12px;color:var(--ink)}
  .menu a:hover{background:var(--bg)}
  .menu .menu-cta{display:block;padding:8px 6px 4px}
  .menu .menu-cta a{background:var(--ink);color:#fff;text-align:center;border-radius:999px}
  .nav-r>.btn{display:none}
}
@media (max-width:760px){
  .svc{grid-template-columns:1fr}
  .dk{grid-template-columns:1fr}
  .vis{height:200px}
  .tl{grid-template-columns:1fr}
  .foot{grid-template-columns:1fr 1fr}
}
@media (max-width:620px){
  .comp{height:auto;display:grid;gap:14px}
  .win{position:relative;inset:auto;width:100%;height:auto;animation:none}
  .bars{height:96px}
  .flowc{margin-left:0}
  .two{grid-template-columns:1fr}
  .hero-ctas .btn{width:100%}
  .stage{min-height:480px}
  .chipf.c1{left:0}.chipf.c2{right:0}
}
@media (max-width:480px){
  body{font-size:17px}
  .foot{grid-template-columns:1fr}
  .tag{font-size:11px;letter-spacing:.08em}
  .fn{width:66px;font-size:12px}
  .fl{padding:14px 8px}
  .pt .acts .btn{flex:1 1 auto}
  .dtabs .dt{padding:10px 16px;font-size:14.5px}
  .pc{padding:14px 14px 20px}
  .pr{padding:16px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none!important;transition:none!important}
  .rv.pre{opacity:1;transform:none}
  .px{transform:scale(1.14)}
}

/* =========================================================
   AI INNOVATION — Identidad corporativa 2026
   Adaptación visual sobre la estructura existente.
   No elimina componentes ni comportamientos anteriores.
   ========================================================= */

:root {
  --bg: #f3f6fb;
  --white: #ffffff;
  --ink: #071a3a;
  --ink-2: #52647e;
  --line: #dce5f1;

  --blue: #0877ed;
  --blue-d: #0649b9;
  --cyan: #16c8f2;
  --mint: #19c39a;
  --amber: #ffb224;

  --navy: #041a3b;
  --navy-2: #082b5d;
  --navy-3: #0c3975;

  --sp: clamp(64px, 7vw, 90px);
}

/* BASE CORPORATIVA */

body {
  background: #f3f6fb;
  color: var(--ink);
}

.wrap {
  width: min(1180px, 100% - 48px);
}

h1, h2, h3 {
  letter-spacing: -0.04em;
}

.eyebrow {
  color: var(--blue);
  letter-spacing: .12em;
}

/* ENCABEZADO */

.site-header {
  top: 0;
  padding: 0;
  background: #fff;
}

.nav {
  max-width: 100%;
  height: 76px;
  padding-inline: max(24px, calc((100vw - 1440px) / 2));
  border: 0;
  border-radius: 0;
  box-shadow: 0 3px 18px rgba(4, 26, 59, .08);
  background: #fff;
}

.site-header.scrolled .nav {
  background: rgba(255,255,255,.97);
}

.menu a {
  color: #102b50;
  font-weight: 600;
  font-size: 14px;
  border-radius: 8px;
}

.menu a:hover,
.menu a.act {
  color: var(--blue);
  background: #edf5ff;
}

.btn {
  border-radius: 9px;
  font-weight: 700;
}

.btn-blue {
  background: linear-gradient(110deg, #0877ed, #0754ce);
  box-shadow: 0 8px 22px rgba(8,119,237,.25);
}

.btn-blue:hover {
  box-shadow: 0 12px 28px rgba(8,119,237,.35);
}

.btn-dark {
  background: var(--navy);
}

/* PORTADA */

.hero {
  color: #fff;
  padding-block: 66px 58px;
  background:
    radial-gradient(ellipse at 85% 35%, rgba(0,155,255,.24), transparent 42%),
    radial-gradient(ellipse at 10% 100%, rgba(0,95,220,.20), transparent 42%),
    linear-gradient(115deg, #03132e, #062653 65%, #041a3b);
}

.hero::before {
  background:
    radial-gradient(closest-side, rgba(0,119,237,.22), transparent),
    radial-gradient(closest-side at 72% 58%, rgba(22,200,242,.20), transparent);
}

.hero::after {
  background: radial-gradient(closest-side, rgba(22,200,242,.20), transparent);
}

.hero .tag {
  background: rgba(255,255,255,.08);
  color: #c9eaff;
  border-color: rgba(255,255,255,.18);
}

.hero h1 {
  color: #fff;
}

.hero h1 .grad {
  background: linear-gradient(90deg, #16c8f2, #4da4ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero .sub {
  color: #d2e1f5;
}

.hero .btn-soft {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,.5);
}

.hero .btn-soft:hover {
  background: rgba(255,255,255,.1);
  border-color: #fff;
}
/* MOCKUPS DE LA PORTADA */
.hero .win {
  background: #09234b;
  border-color: rgba(105,180,255,.3);
  color: #fff;
  box-shadow: 0 35px 75px -35px rgba(0,0,0,.75);
}
.hero .wbar {
  color: #d6eaff;
  border-color: rgba(255,255,255,.12);
}
.hero .kpi {
  background: #103361;
}
.hero .kpi small,
.hero .rows div {
  color: #c0d6f0;
}
.hero .rows i {
  background: #24466f;
}
.hero .bub.u {
  background: #163c6d;
  color: #fff;
}
.hero .fn span {
  background: #164477;
  color: #fff;
}
/* SOLUCIONES */
#soluciones {
  background: #fff;
}
#soluciones .hd {
  margin-bottom: 42px;
}
#soluciones .sv {
  background: #fff;
  border: 1px solid #e0e9f5;
  border-radius: 15px;
  box-shadow: 0 10px 28px rgba(7,26,58,.07);
}
#soluciones .sv:hover {
  border-color: #8fc9ff;
  box-shadow: 0 20px 38px rgba(8,119,237,.13);
}
#soluciones .vis {
  background: linear-gradient(140deg, #eaf4ff, #e5f8fd);
}
#soluciones .sbody {
  padding: 24px 26px 28px;
}
#soluciones .sbody h3 {
  color: #08244c;
}
#soluciones .sbody p {
  color: #52647e;
}
/* PORTAFOLIO */
#proyectos {
  background:
    radial-gradient(ellipse at 95% 5%, rgba(0,119,237,.22), transparent 40%),
    linear-gradient(125deg, #041832, #082b5d 65%, #041a3b);
  color: #fff;
}
#proyectos .hd h2,
#proyectos .hd p {
  color: #fff;
}
#proyectos .hd p {
  color: #c4d9f2;
}
#proyectos .eyebrow {
  color: #25c9f2;
}
#proyectos .pj {
  background: #0b2b55;
  border-color: rgba(125,181,237,.25);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0,0,0,.18);
}
#proyectos .pj:hover {
  border-color: #2b9cff;
  box-shadow: 0 22px 45px rgba(0,0,0,.3);
}
#proyectos .pt h3 {
  color: #fff;
}
#proyectos .pt > p {
  color: #c5d8ef;
}
#proyectos .cat {
  color: #38c8f3;
}
#proyectos .detail {
  background: #123967;
  color: #fff;
}
#proyectos .detail p,
#proyectos .detail ul {
  color: #d0e0f2;
}
#proyectos .btn-soft {
  background: transparent;
  border-color: rgba(255,255,255,.45);
  color: #fff;
}
#proyectos .btn-soft:hover {
  background: rgba(255,255,255,.1);
}
/* DEMOSTRACIONES */
#demos {
  background: #f3f6fb;
}
#demos .dt[aria-selected="true"] {
  background: var(--navy);
  border-color: var(--navy);
}
/* METODOLOGÍA */
#proceso {
  background: #fff;
}
#proceso .pc {
  border-radius: 15px;
  box-shadow: 0 8px 24px rgba(7,26,58,.05);
}
#proceso .ph .n {
  box-shadow: 0 0 0 8px #fff, 0 8px 20px rgba(8,119,237,.22);
}
/* NOSOTROS */
#nosotros {
  background: #f3f6fb;
}
#nosotros .pr {
  background: #fff;
  border-radius: 14px;
}
#nosotros .pr:hover {
  border-color: #8fc9ff;
  box-shadow: 0 12px 25px rgba(7,26,58,.07);
}
/* CONTACTO */
#contacto.cta {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(0,119,237,.3), transparent 40%),
    linear-gradient(120deg, #041832, #082b5d 65%, #041832);
}
#contacto .form {
  border-radius: 16px;
  box-shadow: 0 25px 55px rgba(0,0,0,.28);
}
#contacto .field input:focus,
#contacto .field select:focus,
#contacto .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(8,119,237,.10);
}
/* PIE CORPORATIVO */
footer {
  background: #03152f;
  color: #b5c9e4;
}
footer h4 {
  color: #20c8f2;
}
footer .fclose {
  border-color: rgba(255,255,255,.15);
}
/* WHATSAPP */
.wa-float {
  border-radius: 10px;
  box-shadow: 0 10px 28px rgba(0,0,0,.25);
}
/* RESPONSIVE: CONSERVAR EL MENÚ EXISTENTE */
@media (max-width: 900px) {
  .nav {
    height: 70px;
    padding-inline: 18px;
  }
  .menu {
    top: 70px;
    border-radius: 0 0 16px 16px;
  }
}
@media (max-width: 620px) {
  .hero {
    padding-block: 48px 42px;
  }
  .wrap {
    width: min(100% - 32px, 1180px);
  }
  #proyectos .pj {
    padding: 13px;
  }
}
/* LOGOTIPO OFICIAL AI INNOVATION */
.brand {
  flex: 0 0 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: 270px;
  height: auto;
  max-height: 66px;
  object-fit: contain;
}
.nav-r .btn {
  white-space: nowrap;
}
@media (max-width: 1100px) {
  .brand-logo {
    width: 220px;
  }
  .menu {
    gap: 0;
  }
  .menu a {
    padding-inline: 9px;
    font-size: 13px;
  }
}
@media (max-width: 900px) {
  .brand-logo {
    width: 225px;
    max-height: 62px;
  }
}
@media (max-width: 480px) {
  .brand-logo {
    width: 195px;
    max-height: 56px;
  }
  .nav {
    padding-inline: 12px;
  }
}
/* Ajuste de espacio superior de la portada */
.hero {
  padding-top: 28px !important;
}
/* Alineación del contenido de la portada */
.hero .wrap {
  margin-top: 0;
}

/* =====================================================
   AI INNOVATION — DASHBOARD ANIMADO DEL HERO
   ===================================================== */

.ai-dashboard {
  position: relative;
  width: 100%;
  min-width: 0;
  padding: 19px;
  border: 1px solid rgba(95,178,255,.28);
  border-radius: 20px;
  color: #e9f4ff;
  background:
    radial-gradient(ellipse at 85% 5%,rgba(0,157,255,.15),transparent 38%),
    linear-gradient(145deg,#0a2446,#061a35 75%);
  box-shadow: 0 35px 80px rgba(0,0,0,.35);
  overflow: hidden;
  font-family: var(--f-body);
}

.ai-dashboard::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg,transparent 30%,rgba(20,185,255,.035),transparent 70%);
}

.ai-dash-top,
.ai-dash-brand,
.ai-live,
.ai-dash-toolbar,
.ai-metric-head,
.ai-chart-title,
.ai-chart-footer,
.ai-flow-heading,
.ai-flow-nodes {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-dash-top {
  gap: 10px;
  padding-bottom: 17px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.ai-dash-brand {
  justify-content: flex-start;
  gap: 10px;
}

.ai-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg,#0877ed,#13c8ed);
  color: #fff;
  font-weight: 900;
  font-size: 16px;
  box-shadow: 0 0 22px rgba(19,200,237,.2);
}

.ai-dash-brand strong,
.ai-dash-brand small {
  display: block;
}

.ai-dash-brand strong {
  font-size: 13px;
  letter-spacing: .06em;
}

.ai-dash-brand small {
  margin-top: 3px;
  color: #8daecc;
  font-size: 9px;
  letter-spacing: .12em;
}

.ai-live {
  justify-content: flex-end;
  gap: 7px;
  color: #86caff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ai-live i,
.ai-demo-note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #20d6a0;
  box-shadow: 0 0 10px rgba(32,214,160,.65);
  animation: aiPulse 2s infinite;
}

@keyframes aiPulse {
  50% { opacity: .45; box-shadow: 0 0 2px rgba(32,214,160,.3); }
}

.ai-dash-toolbar {
  gap: 10px;
  padding: 15px 0;
  color: #d5e7fa;
  font-size: 12px;
  font-weight: 700;
}

.ai-period {
  color: #87a9cb;
  font-size: 9px;
  letter-spacing: .08em;
}

.ai-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 9px;
}

.ai-metric {
  position: relative;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(130,184,235,.13);
  border-radius: 12px;
  background: linear-gradient(145deg,#12365e,#0b294c);
  overflow: hidden;
}

.ai-metric-head {
  gap: 4px;
  color: #a9c4df;
  font-size: 9px;
}

.ai-metric-icon {
  color: #24c9f1;
  font-size: 15px;
}

.ai-metric > strong {
  display: block;
  margin-top: 9px;
  color: #fff;
  font: 800 25px var(--f-display);
}

.ai-metric > small {
  display: block;
  color: #88a8c8;
  font-size: 9px;
}

.ai-mini-line {
  margin-top: 8px;
}

.ai-mini-line svg {
  width: 100%;
  height: 26px;
  overflow: visible;
}

.ai-mini-line path {
  fill: none;
  stroke: #1687ff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 180;
  stroke-dashoffset: 180;
  animation: aiDraw 3s ease-in-out infinite alternate;
}

.ai-mini-line.cyan path { stroke: #16c8ed; }
.ai-mini-line.gold path { stroke: #f4c844; }

@keyframes aiDraw {
  to { stroke-dashoffset: 0; }
}

.ai-charts {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 10px;
  margin-top: 11px;
}

.ai-chart {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(130,184,235,.15);
  border-radius: 13px;
  background: rgba(12,39,70,.9);
  overflow: hidden;
}

.ai-chart-title {
  align-items: flex-start;
  gap: 6px;
}

.ai-chart-title strong,
.ai-chart-title small {
  display: block;
}

.ai-chart-title strong {
  color: #e7f2ff;
  font-size: 10px;
  letter-spacing: .045em;
}

.ai-chart-title small {
  margin-top: 4px;
  color: #829fbd;
  font-size: 9px;
}

.ai-chart-badge {
  padding: 4px 6px;
  border-radius: 5px;
  background: rgba(19,200,237,.10);
  color: #35d1f3;
  font-size: 8px;
  font-weight: 800;
}

.ai-chart-main svg {
  display: block;
  width: 100%;
  margin-top: 10px;
  overflow: visible;
}

.ai-grid-lines {
  fill: none;
  stroke: rgba(166,204,239,.12);
  stroke-width: 1;
}

.ai-area {
  fill: url(#aiLineFill);
}

.ai-chart-line {
  fill: none;
  stroke: #18c8f1;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
  animation: aiChartDraw 4.5s ease-in-out infinite alternate;
}

@keyframes aiChartDraw {
  to { stroke-dashoffset: 0; }
}

.ai-chart-point {
  fill: #f5cb45;
  stroke: #fff;
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: aiPoint 2s ease-in-out infinite;
}

@keyframes aiPoint {
  50% { transform: scale(1.6); opacity: .6; }
}

.ai-chart-footer {
  gap: 6px;
  margin-top: 5px;
  color: #7795b3;
  font-size: 8px;
  letter-spacing: .05em;
}

.ai-bars {
  height: 133px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 4px;
  padding-top: 12px;
  background: repeating-linear-gradient(to bottom,transparent 0,transparent 32px,rgba(166,204,239,.10) 33px);
}

.ai-bars i {
  flex: 1;
  min-width: 3px;
  height: var(--bar);
  border-radius: 3px 3px 0 0;
  background: linear-gradient(to top,#0877ed,#18c8ef);
  transform-origin: bottom;
  animation: aiBar 1.8s ease-in-out infinite alternate;
}

.ai-bars i:nth-child(3n) {
  background: linear-gradient(to top,#0d55c2,#18bce9);
}

.ai-bars i:nth-child(2n) {
  animation-delay: -.7s;
}

.ai-bars i:nth-child(4n) {
  animation-delay: -1.2s;
}

@keyframes aiBar {
  to { transform: scaleY(.65); opacity: .75; }
}

.ai-system-flow {
  margin-top: 11px;
  padding: 13px;
  border: 1px solid rgba(130,184,235,.15);
  border-radius: 13px;
  background: rgba(5,27,52,.85);
}

.ai-flow-heading {
  gap: 8px;
}

.ai-flow-heading strong {
  color: #d9eaff;
  font-size: 10px;
  letter-spacing: .06em;
}

.ai-flow-heading small {
  color: #7ea5c8;
  font-size: 8px;
}

.ai-flow-nodes {
  justify-content: space-around;
  gap: 5px;
  margin-top: 13px;
}
.ai-node {
  display: grid;
  justify-items: center;
  gap: 5px;
  min-width: 0;
}
.ai-node > span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(67,161,237,.3);
  border-radius: 9px;
  background: #123a64;
  color: #b5dfff;
  font-size: 17px;
}
.ai-node.active > span {
  background: linear-gradient(135deg,#0877ed,#0d9fd8);
  color: #fff;
  box-shadow: 0 0 18px rgba(19,200,237,.25);
  animation: aiNodeGlow 2.5s ease-in-out infinite alternate;
}
@keyframes aiNodeGlow {
  to { box-shadow: 0 0 24px rgba(19,200,237,.55); }
}
.ai-node small {
  color: #91b1d0;
  font-size: 8px;
  text-align: center;
}
.ai-flow-connector {
  position: relative;
  flex: 1;
  max-width: 34px;
  height: 2px;
  background: rgba(65,145,215,.3);
  overflow: hidden;
}
.ai-flow-connector i {
  position: absolute;
  inset: 0;
  background: #19c8f0;
  transform: translateX(-100%);
  animation: aiFlow 2s linear infinite;
}
@keyframes aiFlow {
  to { transform: translateX(100%); }
}
.ai-demo-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-top: 12px;
  color: #7896b5;
  font-size: 9px;
}
/* RESPONSIVE */
@media(max-width:1100px) {
  .ai-dashboard { padding: 14px; }
  .ai-metric { padding: 9px; }
}
@media(max-width:620px) {
  .ai-dashboard {
    padding: 12px;
    border-radius: 15px;
  }
  .ai-charts {
    grid-template-columns: 1fr;
  }
  .ai-chart-side .ai-bars {
    height: 90px;
  }
  .ai-flow-heading {
    align-items: flex-start;
    flex-direction: column;
  }
  .ai-node small {
    font-size: 7px;
  }
  .ai-period {
    font-size: 8px;
  }
}
@media(prefers-reduced-motion:reduce) {
  .ai-dashboard *,
  .ai-dashboard *::before,
  .ai-dashboard *::after {
    animation: none !important;
    transition: none !important;
  }
  .ai-chart-line {
    stroke-dashoffset: 0;
  }
}

/* =====================================================
   AI INNOVATION — HERO COMPACTO
   Ajuste para mostrar la portada completa en pantalla
   ===================================================== */

/* Menos espacio vertical en la portada */
.hero {
  padding-top: 24px;
  padding-bottom: 24px;
}

.hero-grid {
  gap: clamp(24px, 3vw, 42px);
  align-items: center;
}

/* Título más compacto */
.hero h1 {
  font-size: clamp(2.15rem, 3.15vw, 3.05rem);
  line-height: .99;
  letter-spacing: -.045em;
}

.hero .sub {
  margin-top: 16px;
  margin-bottom: 21px;
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.5;
}

/* Dashboard más bajo */
.ai-dashboard {
  padding: 13px;
  border-radius: 17px;
}

/* Encabezado */
.ai-dash-top {
  padding-bottom: 11px;
}

.ai-symbol {
  width: 33px;
  height: 33px;
}

.ai-dash-toolbar {
  padding: 10px 0;
}

/* Indicadores */
.ai-metrics {
  gap: 7px;
}

.ai-metric {
  padding: 9px;
}

.ai-metric > strong {
  margin-top: 5px;
  font-size: 21px;
}

.ai-metric > small {
  font-size: 8px;
}

.ai-mini-line {
  margin-top: 4px;
}

.ai-mini-line svg {
  height: 20px;
}

/* Gráficas */
.ai-charts {
  gap: 8px;
  margin-top: 8px;
}

.ai-chart {
  padding: 10px;
}

.ai-chart-main svg {
  height: 112px;
  margin-top: 5px;
}

.ai-chart-footer {
  font-size: 7px;
}

.ai-chart-side .ai-bars {
  height: 92px;
  padding-top: 8px;
}

/* Flujo tecnológico */
.ai-system-flow {
  margin-top: 8px;
  padding: 9px 11px;
}

.ai-flow-nodes {
  margin-top: 8px;
}

.ai-node > span {
  width: 29px;
  height: 29px;
}

.ai-demo-note {
  padding-top: 8px;
  font-size: 8px;
}

/* Pantallas medianas */
@media (min-width: 1001px) {
  .hero-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  }
}

/* Tablets */
@media (max-width: 1000px) {
  .hero {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 6vw, 3.2rem);
  }

  .ai-dashboard {
    max-width: 650px;
    margin-inline: auto;
  }
}

/* Móviles */
@media (max-width: 620px) {
  .hero {
    padding-top: 24px;
    padding-bottom: 28px;
  }

  .hero h1 {
    font-size: clamp(2.15rem, 9vw, 2.8rem);
  }

  .ai-dashboard {
    padding: 11px;
  }

  .ai-metrics {
    gap: 6px;
  }

  .ai-metric {
    padding: 8px 6px;
  }

  .ai-metric-head {
    font-size: 8px;
  }

  .ai-metric > strong {
    font-size: 19px;
  }
}

/* =====================================================
   AI INNOVATION — HERO COMPACTO V2
   Prioridad: mostrar ambos botones en el primer pantallazo
   ===================================================== */

.hero {
  padding-top: 16px !important;
  padding-bottom: 16px !important;
}

.hero-grid {
  align-items: center;
  gap: 26px;
}

/* Reducir altura del bloque de texto */
.hero h1 {
  font-size: clamp(2.15rem, 2.8vw, 2.65rem) !important;
  line-height: .96 !important;
  letter-spacing: -.05em;
}

.hero .sub {
  margin-top: 12px !important;
  margin-bottom: 14px !important;
  font-size: 16px !important;
  line-height: 1.4 !important;
}

/* Botones más compactos */
.hero-ctas {
  gap: 9px !important;
}

.hero-ctas .btn {
  padding: 12px 20px !important;
  min-height: 44px;
  font-size: 14px !important;
}

/* Reducir todavía más el dashboard */
.ai-dashboard {
  padding: 10px !important;
  border-radius: 15px;
}

.ai-dash-top {
  padding-bottom: 8px !important;
}

.ai-symbol {
  width: 29px;
  height: 29px;
}

.ai-dash-toolbar {
  padding: 8px 0 !important;
  font-size: 11px;
}

.ai-metric {
  padding: 7px !important;
}

.ai-metric > strong {
  font-size: 18px !important;
  margin-top: 3px;
}

.ai-metric > small {
  font-size: 7px;
}

.ai-mini-line {
  margin-top: 2px;
}

.ai-mini-line svg {
  height: 15px !important;
}

.ai-charts {
  margin-top: 6px !important;
  gap: 6px;
}

.ai-chart {
  padding: 8px !important;
}

.ai-chart-main svg {
  height: 88px !important;
  margin-top: 3px;
}

.ai-chart-side .ai-bars {
  height: 72px !important;
  padding-top: 5px;
}

.ai-chart-title strong {
  font-size: 9px;
}

.ai-chart-title small {
  font-size: 8px;
}

.ai-chart-footer {
  margin-top: 3px;
  font-size: 7px;
}

.ai-system-flow {
  margin-top: 6px !important;
  padding: 7px 9px !important;
}

.ai-flow-heading strong {
  font-size: 9px;
}

.ai-flow-nodes {
  margin-top: 6px !important;
}

.ai-node > span {
  width: 25px;
  height: 25px;
  font-size: 14px;
}

.ai-node small {
  font-size: 7px;
}

.ai-flow-connector {
  max-width: 27px;
}

.ai-demo-note {
  padding-top: 5px !important;
  font-size: 7px;
}

/* Pantallas medianas */
@media (min-width: 1001px) {
  .hero-grid {
    grid-template-columns: minmax(0, .96fr) minmax(0, 1.04fr);
  }
}

/* No sacrificar legibilidad en móviles */
@media (max-width: 1000px) {
  .hero {
    padding-top: 26px !important;
    padding-bottom: 26px !important;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 6vw, 3rem) !important;
  }

  .ai-dashboard {
    max-width: 650px;
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .hero h1 {
    font-size: clamp(2rem, 8vw, 2.6rem) !important;
  }

  .hero-ctas .btn {
    padding: 12px 16px !important;
  }
}

/* =====================================================
   ACTIVIDAD DEL SISTEMA — BARRAS DINÁMICAS AMARILLAS
   ===================================================== */

.ai-chart-side .ai-bars {
  height: 112px !important;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3px;
  padding: 8px 3px 0;
  margin-top: 9px;
  overflow: hidden;

  background:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 26px,
      rgba(180,205,225,.13) 27px
    );

  border-bottom: 1px solid rgba(180,205,225,.22);
}

.ai-chart-side .ai-bars span {
  display: block;
  flex: 1 1 0;
  min-width: 2px;
  height: var(--bar);
  border-radius: 2px 2px 0 0;

  background: linear-gradient(
    to top,
    #e9b91e 0%,
    #ffdf42 65%,
    #fff18a 100%
  );

  box-shadow: 0 0 5px rgba(255,211,50,.12);

  transform-origin: bottom;
  animation: aiYellowBars 1.15s ease-in-out infinite alternate;
  animation-delay: var(--delay);
}

@keyframes aiYellowBars {
  0% {
    transform: scaleY(.48);
    opacity: .72;
  }

  100% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@media (max-width: 620px) {
  .ai-chart-side .ai-bars {
    height: 90px !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-chart-side .ai-bars span {
    animation: none;
  }
}

/* CORRECCIÓN DEFINITIVA — BARRAS DE ACTIVIDAD */

.ai-chart-side .ai-bars {
  display: flex !important;
  align-items: flex-end !important;
  justify-content: space-between !important;
  height: 112px !important;
  min-height: 112px !important;
  gap: 3px !important;
  overflow: hidden !important;
  padding: 8px 3px 0 !important;
  box-sizing: border-box !important;
}

/* Compatible con etiquetas i y span */
.ai-chart-side .ai-bars > i,
.ai-chart-side .ai-bars > span {
  display: block !important;
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 2px !important;
  height: var(--bar, 50%) !important;
  max-height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-self: flex-end !important;
  border-radius: 2px 2px 0 0 !important;

  background: linear-gradient(
    to top,
    #e9b91e,
    #ffdf42 65%,
    #fff18a
  ) !important;

  opacity: 1 !important;
  visibility: visible !important;
  transform-origin: bottom center !important;
  animation: aiYellowBarsFix 1.2s ease-in-out infinite alternate !important;
  animation-delay: var(--delay, 0s) !important;
}

@keyframes aiYellowBarsFix {
  from { transform: scaleY(.45); }
  to { transform: scaleY(1); }
}

@media (prefers-reduced-motion: reduce) {
  .ai-chart-side .ai-bars > i,
  .ai-chart-side .ai-bars > span {
    animation: none !important;
  }
}

/* =====================================================
   AI INNOVATION — ADAPTACIÓN MÓVIL CORPORATIVA
   Mantiene intacta la composición de escritorio
   ===================================================== */

@media (max-width: 620px) {

  /* ENCABEZADO */
  .site-header {
    top: 0;
    padding: 0;
    background: #fff;
  }

  .nav {
    height: 66px !important;
    padding: 0 14px !important;
    gap: 10px;
  }

  .brand {
    max-width: calc(100% - 60px);
  }

  .brand-logo {
    width: 150px !important;
    max-width: 100%;
    max-height: 48px !important;
    object-fit: contain;
  }

  .burger {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  /* PORTADA */
  .hero {
    color: #fff !important;
    padding: 30px 0 34px !important;
    background:
      radial-gradient(
        ellipse at 85% 15%,
        rgba(0,155,255,.25),
        transparent 48%
      ),
      linear-gradient(
        145deg,
        #03132e,
        #062653 65%,
        #041a3b
      ) !important;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    text-align: left !important;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
    text-align: left !important;
  }

  .hero .tag {
    display: inline-flex;
    max-width: 100%;
    white-space: normal;
    font-size: 10px;
    line-height: 1.5;
    letter-spacing: .07em;
    padding: 9px 12px;
    margin-bottom: 22px;
    text-align: left;
    border-radius: 16px;
  }

  .hero h1 {
    color: #fff !important;
    font-size: clamp(31px, 8.2vw, 38px) !important;
    line-height: 1.06 !important;
    letter-spacing: -.045em !important;
    text-align: left !important;
  }

  .hero .sub {
    color: #d2e1f5 !important;
    font-size: 16px !important;
    line-height: 1.55 !important;
    margin: 18px 0 22px !important;
    max-width: 100%;
    text-align: left !important;
  }

  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 11px !important;
  }

  .hero-ctas .btn {
    width: 100%;
    min-height: 50px;
    padding: 13px 16px !important;
    font-size: 15px !important;
  }

  /* DASHBOARD */
  .ai-dashboard {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0;
    padding: 12px !important;
    border-radius: 15px;
  }

  .ai-dash-top {
    flex-wrap: wrap;
    gap: 9px;
  }

  .ai-live {
    font-size: 8px;
  }

  .ai-dash-toolbar {
    flex-wrap: wrap;
    font-size: 11px;
  }

  .ai-metrics {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .ai-metric {
    min-width: 0;
    padding: 8px 6px !important;
  }

  .ai-metric-head {
    font-size: 8px;
  }

  .ai-metric > strong {
    font-size: 18px !important;
  }

  .ai-metric > small {
    font-size: 7px;
    overflow-wrap: anywhere;
  }

  .ai-charts {
    grid-template-columns: minmax(0, 1fr);
    gap: 9px;
  }

  .ai-chart {
    min-width: 0;
    width: 100%;
  }
  .ai-chart-main svg {
    width: 100%;
    height: auto !important;
  }
  .ai-chart-side .ai-bars {
    height: 90px !important;
    min-height: 90px !important;
  }
  .ai-flow-heading {
    flex-direction: row;
    align-items: center;
  }
  .ai-flow-heading strong {
    font-size: 9px;
  }
  .ai-flow-heading small {
    font-size: 7px;
    text-align: right;
  }
  /* SOLUCIONES: EVITAR DESBORDAMIENTOS */
  #soluciones {
    overflow: hidden;
  }
  #soluciones .wrap {
    width: calc(100% - 32px);
    max-width: 100%;
  }
  #soluciones .hd {
    width: 100%;
    padding-inline: 4px;
  }
  .svc {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
  }
  .sv {
    min-width: 0;
    width: 100%;
  }
  .vis,
  .sbody {
    min-width: 0;
    max-width: 100%;
  }
  /* WHATSAPP */
  .wa-float {
    right: 12px;
    bottom: 14px;
    padding: 12px !important;
    border-radius: 50% !important;
  }
}
/* Teléfonos estrechos */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 30px !important;
  }
  .ai-dashboard {
    padding: 9px !important;
  }
  .ai-metric-head {
    font-size: 7px;
  }
  .ai-flow-nodes {
    gap: 3px;
  }
  .ai-flow-connector {
    max-width: 20px;
  }
}
/* ==========================================
   AI INNOVATION - FONDO HUMANO DEL HERO
   ========================================== */
.hero {
    position: relative;
    overflow: hidden;
    background-color: #04152f;
    background-image:
        linear-gradient(
            90deg,
            rgba(3, 17, 43, 0.58) 0%,
            rgba(3, 20, 49, 0.76) 38%,
            rgba(3, 20, 49, 0.93) 62%,
            rgba(3, 20, 49, 0.98) 100%
        ),
        url('/assets/img/ai-team-background.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}
.hero-grid {
    position: relative;
    z-index: 1;
}
/* Adaptación para celulares */
@media (max-width: 768px) {
    .hero {
        background-image:
            linear-gradient(
                180deg,
                rgba(3, 17, 43, 0.76) 0%,
                rgba(3, 20, 49, 0.88) 45%,
                rgba(3, 20, 49, 0.97) 100%
            ),
            url('/assets/img/ai-team-background.png');
        background-size: cover;
        background-position: 34% center;
    }
}
/* =====================================================
   CORRECCIÓN FINAL: IMAGEN DE FONDO DEL HERO EN MÓVILES
   ===================================================== */
@media (max-width: 768px) {
  .hero {
    background-color: #04152f !important;
    background-image:
      linear-gradient(
        180deg,
        rgba(3, 17, 43, 0.55) 0%,
        rgba(3, 20, 49, 0.72) 45%,
        rgba(3, 20, 49, 0.88) 100%
      ),
      url('/assets/img/ai-team-background.png') !important;
    background-size: cover !important;
    background-position: 34% center !important;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
  }
}

/* =====================================================
   AI INNOVATION — SOLUCIONES: PULIDO PARA MÓVILES
   No modifica la composición de escritorio
   ===================================================== */

@media (max-width: 620px) {

  /* Sección */
  #soluciones {
    padding-top: 58px;
    padding-bottom: 58px;
  }

  #soluciones .hd {
    margin-bottom: 30px;
  }

  #soluciones .eyebrow {
    font-size: 11px;
    margin-bottom: 12px;
  }

  #soluciones .hd h2 {
    font-size: clamp(28px, 7.5vw, 34px);
    line-height: 1.1;
  }

  #soluciones .hd p {
    font-size: 15px;
    line-height: 1.5;
    margin-top: 12px;
  }

  /* Separación entre tarjetas */
  #soluciones .svc {
    gap: 17px;
  }

  /* Tarjetas */
  #soluciones .sv {
    border-radius: 17px;
    box-shadow: 0 8px 22px rgba(7,26,58,.06);
  }
  /* Ilustraciones */
  #soluciones .vis {
    height: 150px;
    padding: 17px;
  }
  #soluciones .mini {
    width: min(300px, 100%);
    padding: 14px;
    border-radius: 14px;
  }
  /* Contenido */
  #soluciones .sbody {
    padding: 18px 19px 21px;
  }
  #soluciones .sbody small {
    font-size: 12px;
  }
  #soluciones .sbody h3 {
    font-size: 21px;
    line-height: 1.15;
    margin: 6px 0 8px;
  }
  #soluciones .sbody p {
    font-size: 15px;
    line-height: 1.5;
  }
  /* Etiquetas */
  #soluciones .chips {
    gap: 6px;
    margin-top: 13px;
  }
  #soluciones .chips span {
    font-size: 11px;
    padding: 5px 9px;
  }
  /* Ilustración de automatización */
  #soluciones .chain div {
    width: 43px;
    height: 43px;
  }
}
/* Teléfonos pequeños */
@media (max-width: 380px) {
  #soluciones .vis {
    height: 135px;
  }
  #soluciones .sbody {
    padding: 16px;
  }
  #soluciones .sbody h3 {
    font-size: 19px;
  }
  #soluciones .sbody p {
    font-size: 14px;
  }
}

/* AI INNOVATION - REDUCIR ESPACIO ENTRE HERO Y SOLUCIONES */
section#soluciones.sec-w {
    padding-top: 18px !important;
    margin-top: 0 !important;
}

section#soluciones.sec-w > .wrap {
    padding-top: 0 !important;
}

#soluciones .hd {
    margin-top: 0 !important;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
    section#soluciones.sec-w {
        padding-top: 14px !important;
    }
}

/* =====================================================
   AI INNOVATION — AJUSTE FINAL DE ESPACIO EN MÓVILES
   Unión visual entre portada y soluciones
   ===================================================== */

@media (max-width: 768px) {

  /* Reducir el espacio inferior de la portada */
  .hero {
    padding-bottom: 12px !important;
  }

  /* Acercar la sección de soluciones */
  section#soluciones.sec-w {
    padding-top: 12px !important;
    margin-top: 0 !important;
  }

  /* Evitar espacio adicional en el encabezado */
  #soluciones .hd {
    margin-top: 0 !important;
  }
}

/* =====================================================
   AI INNOVATION — SOLUCIONES CON FOTOGRAFÍA Y ELEMENTOS DINÁMICOS
   Conserva las ilustraciones y comportamientos existentes
   ===================================================== */

#soluciones .vis {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 18px;
  display: grid;
  place-items: center;
  background: #eaf3fc;
}

/* Fotografía de fondo */
#soluciones .vis > img {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  transition: transform .65s cubic-bezier(.2,.7,.2,1);
}

/* Movimiento suave de la fotografía */
#soluciones .sv:hover .vis > img {
  transform: scale(1.045);
}

/* Capa sutil para integrar fotografía y elementos */
#soluciones .vis::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: linear-gradient(
    135deg,
    rgba(4,26,59,.04),
    transparent 55%,
    rgba(4,26,59,.12)
  );
}

/* Elementos visuales flotantes */
#soluciones .vis > .mini {
  position: relative;
  z-index: 1;
  justify-self: end;
  align-self: end;
  width: min(270px, 78%);
  padding: 13px;
  border: 1px solid rgba(255,255,255,.8);
  border-radius: 14px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
  box-shadow: 0 15px 35px rgba(4,26,59,.24);
}

/* Conversación del chatbot */
#soluciones .vis > .mini-msgs {
  width: min(300px, 84%);
  justify-self: end;
  align-self: end;
}

/* Flujo de automatización */
#soluciones .vis > .chain {
  position: relative;
  z-index: 1;
  width: min(380px, 90%);
  padding: 12px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 16px;
  background: rgba(4,26,59,.62);
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  box-shadow: 0 15px 35px rgba(4,26,59,.2);
}

#soluciones .vis > .chain div {
  background: rgba(255,255,255,.96);
}

#soluciones .vis > .chain div.hub {
  background: linear-gradient(135deg,var(--blue),var(--cyan));
}

/* Ajustes para móviles */
@media (max-width: 620px) {
  #soluciones .vis {
    height: 150px;
    padding: 12px;
  }

  #soluciones .vis > .mini {
    width: min(245px, 78%);
    padding: 10px;
  }

  #soluciones .vis > .mini-msgs {
    width: min(265px, 84%);
  }

  #soluciones .vis > .chain {
    width: 90%;
    padding: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #soluciones .vis > img {
    transition: none;
  }
}

/* =====================================================
   PANEL AI INTELLIGENCE — TARJETA DE SOLUCIONES
   ===================================================== */

#soluciones .vis > .ai-insight {
  position: relative;
  z-index: 2;
  width: min(340px, 88%);
  justify-self: end;
  align-self: end;
  padding: 15px 17px 12px;
  overflow: hidden;
  color: #eaf5ff;
  border: 1px solid rgba(111,199,255,.35);
  border-radius: 14px;
  background: linear-gradient(
    145deg,
    rgba(5,25,53,.96),
    rgba(7,48,91,.91)
  );
  box-shadow: 0 18px 42px rgba(2,15,35,.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-family: var(--f-body);
}

.ai-insight-head,
.ai-insight-brand,
.ai-insight-label,
.ai-insight-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ai-insight-brand {
  justify-content: flex-start;
  gap: 10px;
}

.ai-insight-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 9px;
  background: linear-gradient(135deg,#0877ed,#16c8f2);
  color: white;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 0 18px rgba(22,200,242,.25);
}

.ai-insight-brand strong,
.ai-insight-brand small {
  display: block;
}

.ai-insight-brand strong {
  font-size: 10px;
  letter-spacing: .1em;
}

.ai-insight-brand small {
  margin-top: 3px;
  color: #9db8d6;
  font-size: 10px;
}

.ai-live-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #76e9c5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

.ai-live-status i,
.ai-insight-footer > span:first-child i {
  width: 7px;
  height: 7px;
  flex: none;
  border-radius: 50%;
  background: #35dfb0;
  box-shadow: 0 0 10px rgba(53,223,176,.7);
  animation: aiInsightPulse 1.8s infinite;
}

.ai-insight-content {
  margin-top: 15px;
  padding: 12px;
  border: 1px solid rgba(151,198,239,.12);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
}

.ai-insight-label {
  gap: 8px;
  color: #c8dcf2;
  font-size: 10px;
}

.ai-insight-label strong {
  color: #48d7f5;
  font-size: 8px;
  letter-spacing: .08em;
}

.ai-insight-bars {
  height: 49px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  margin-top: 9px;
  overflow: hidden;
}

.ai-insight-bars i {
  display: block;
  flex: 1;
  height: var(--bar-height,50%);
  min-width: 3px;
  border-radius: 4px;
  background: linear-gradient(180deg,#29d5f4,#0877ed);
  transform-origin: center;
  animation: aiInsightWave 1.5s ease-in-out infinite alternate;
}

.ai-insight-bars i:nth-child(3n) {
  background: linear-gradient(180deg,#8cecff,#1685ed);
}

.ai-insight-bars i:nth-child(2n) {
  animation-delay: -.5s;
}

.ai-insight-bars i:nth-child(3n) {
  animation-delay: -.9s;
}

.ai-insight-bars i:nth-child(1) { --bar-height: 30%; }
.ai-insight-bars i:nth-child(2) { --bar-height: 55%; }
.ai-insight-bars i:nth-child(3) { --bar-height: 40%; }
.ai-insight-bars i:nth-child(4) { --bar-height: 78%; }
.ai-insight-bars i:nth-child(5) { --bar-height: 48%; }
.ai-insight-bars i:nth-child(6) { --bar-height: 90%; }
.ai-insight-bars i:nth-child(7) { --bar-height: 62%; }
.ai-insight-bars i:nth-child(8) { --bar-height: 100%; }
.ai-insight-bars i:nth-child(9) { --bar-height: 55%; }
.ai-insight-bars i:nth-child(10) { --bar-height: 76%; }
.ai-insight-bars i:nth-child(11) { --bar-height: 42%; }
.ai-insight-bars i:nth-child(12) { --bar-height: 68%; }

.ai-insight-footer {
  margin-top: 11px;
  color: #a9c5e2;
  font-size: 9px;
}

.ai-insight-footer > span:first-child {
  display: flex;
  align-items: center;
  gap: 7px;
}

.ai-insight-spark {
  color: #54dafa;
  font-size: 17px;
  font-weight: 800;
}

@keyframes aiInsightPulse {
  50% { opacity: .45; }
}

@keyframes aiInsightWave {
  from { transform: scaleY(.55); opacity: .65; }
  to { transform: scaleY(1); opacity: 1; }
}

@media (max-width: 620px) {
  #soluciones .vis > .ai-insight {
    width: min(300px, 88%);
    padding: 11px 12px 9px;
  }

  .ai-insight-content {
    margin-top: 9px;
    padding: 9px;
  }

  .ai-insight-bars {
    height: 35px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ai-insight-bars i,
  .ai-live-status i,
  .ai-insight-footer > span:first-child i {
    animation: none;
  }
}

/* Ajuste de tamaño del panel AI Intelligence */
#soluciones .vis > .ai-insight {
  width: min(235px, 62%);
  padding: 10px 12px 8px;
  border-radius: 11px;
}

/* Encabezado más compacto */
.ai-insight-icon {
  width: 27px;
  height: 27px;
  font-size: 10px;
  border-radius: 7px;
}

.ai-insight-brand {
  gap: 7px;
}

.ai-insight-brand strong {
  font-size: 8px;
}

.ai-insight-brand small {
  font-size: 8px;
}

.ai-live-status {
  font-size: 7px;
}

/* Gráfica más pequeña */
.ai-insight-content {
  margin-top: 8px;
  padding: 8px;
}

.ai-insight-label {
  font-size: 8px;
}

.ai-insight-label strong {
  font-size: 7px;
}

.ai-insight-bars {
  height: 29px;
  gap: 3px;
  margin-top: 6px;
}

.ai-insight-footer {
  margin-top: 7px;
  font-size: 7px;
}

.ai-insight-spark {
  font-size: 13px;
}

/* Ajuste para móviles */
@media (max-width: 620px) {
  #soluciones .vis > .ai-insight {
    width: min(205px, 65%);
    padding: 8px 9px 7px;
  }

  .ai-insight-bars {
    height: 24px;
  }
}

/* =====================================================
   CHAT ASSISTANT — WIDGET CONVERSACIONAL
   ===================================================== */

#soluciones .vis > .chat-assistant {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: end;
  width: min(250px, 65%);
  padding: 11px;
  color: #eaf5ff;
  border: 1px solid rgba(116,199,255,.35);
  border-radius: 12px;
  background: linear-gradient(145deg,
    rgba(5,25,53,.97),
    rgba(7,48,91,.94)
  );
  box-shadow: 0 16px 36px rgba(2,15,35,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-body);
}

.chat-assistant-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(151,198,239,.15);
}

.chat-assistant-avatar {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg,#0877ed,#16c8f2);
}

.chat-assistant-avatar .ico {
  width: 16px;
  height: 16px;
}

.chat-assistant-identity {
  min-width: 0;
  flex: 1;
}

.chat-assistant-identity strong,
.chat-assistant-identity small {
  display: block;
}

.chat-assistant-identity strong {
  font-size: 8px;
  letter-spacing: .09em;
}

.chat-assistant-identity small {
  margin-top: 3px;
  color: #9db8d6;
  font-size: 8px;
}

.chat-assistant-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #76e9c5;
  font-size: 7px;
  font-weight: 800;
}

.chat-assistant-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35dfb0;
  box-shadow: 0 0 8px rgba(53,223,176,.7);
  animation: chatStatusPulse 1.8s infinite;
}

.chat-assistant-body {
  display: grid;
  gap: 7px;
  padding: 10px 0 8px;
}

.chat-message {
  max-width: 91%;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 9px;
  line-height: 1.45;
}

.chat-message.user {
  justify-self: end;
  color: #18365c;
  background: #edf5ff;
  border-bottom-right-radius: 3px;
}

.chat-message.assistant {
  justify-self: start;
  color: #eaf5ff;
  background: rgba(20,125,224,.38);
  border: 1px solid rgba(75,174,255,.2);
  border-bottom-left-radius: 3px;
}

.chat-typing {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #91b6d9;
  font-size: 7px;
}

.chat-typing i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #48d7f5;
  animation: chatTyping .9s infinite alternate;
}

.chat-typing i:nth-child(2) {
  animation-delay: .2s;
}

.chat-typing i:nth-child(3) {
  animation-delay: .4s;
  margin-right: 4px;
}

.chat-assistant-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(151,198,239,.15);
  color: #a9c5e2;
  font-size: 7px;
}

.chat-assistant-channel {
  color: #51d8f4;
  font-weight: 800;
  letter-spacing: .08em;
}

@keyframes chatTyping {
  from { opacity: .35; transform: translateY(1px); }
  to { opacity: 1; transform: translateY(-2px); }
}

@keyframes chatStatusPulse {
  50% { opacity: .4; }
}

@media (max-width: 620px) {
  #soluciones .vis > .chat-assistant {
    width: min(220px, 68%);
    padding: 9px;
  }

  .chat-message {
    font-size: 8px;
    padding: 7px 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .chat-typing i,
  .chat-assistant-status i {
    animation: none;
  }
}

/* =====================================================
   HOMOLOGAR PANELES AI Y CHATBOT
   ===================================================== */

#soluciones .vis > .ai-insight,
#soluciones .vis > .chat-assistant {
  box-sizing: border-box;
  width: min(250px, 65%);
  min-height: 182px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mantener proporciones internas del panel AI */
#soluciones .vis > .ai-insight .ai-insight-content {
  flex: 1;
}

/* Mantener el contenido del chatbot equilibrado */
#soluciones .vis > .chat-assistant .chat-assistant-body {
  flex: 1;
}

/* Ajuste responsive */
@media (max-width: 620px) {
  #soluciones .vis > .ai-insight,
  #soluciones .vis > .chat-assistant {
    width: min(220px, 68%);
    min-height: 165px;
  }
}

/* =====================================================
   CRM BUSINESS PLATFORM — DESARROLLO DE SOFTWARE
   ===================================================== */

#soluciones .vis > .crm-panel {
  position: relative;
  z-index: 2;
  justify-self: end;
  align-self: end;
  box-sizing: border-box;
  width: min(250px, 65%);
  min-height: 182px;
  padding: 11px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #eaf5ff;
  border: 1px solid rgba(116,199,255,.35);
  border-radius: 12px;
  background: linear-gradient(145deg,
    rgba(5,25,53,.97),
    rgba(7,48,91,.94)
  );
  box-shadow: 0 16px 36px rgba(2,15,35,.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: var(--f-body);
}

.crm-head,
.crm-brand {
  display: flex;
  align-items: center;
}

.crm-head {
  justify-content: space-between;
  gap: 6px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(151,198,239,.15);
}

.crm-brand {
  gap: 7px;
  min-width: 0;
}

.crm-logo {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  flex: none;
  border-radius: 8px;
  color: white;
  background: linear-gradient(135deg,#0877ed,#16c8f2);
  font-size: 8px;
  font-weight: 900;
}

.crm-brand strong,
.crm-brand small {
  display: block;
}

.crm-brand strong {
  font-size: 8px;
  letter-spacing: .07em;
}

.crm-brand small {
  margin-top: 3px;
  color: #9db8d6;
  font-size: 8px;
}

.crm-status {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #76e9c5;
  font-size: 7px;
  font-weight: 800;
}

.crm-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #35dfb0;
  box-shadow: 0 0 8px rgba(53,223,176,.7);
  animation: crmPulse 1.8s infinite;
}

.crm-content {
  display: flex;
  flex: 1;
  gap: 9px;
  padding-top: 9px;
}

.crm-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  width: 23px;
  flex: none;
  padding-right: 7px;
  border-right: 1px solid rgba(151,198,239,.15);
  color: #8eafd0;
  font-size: 11px;
}

.crm-sidebar span {
  display: grid;
  place-items: center;
  width: 21px;
  height: 21px;
  border-radius: 5px;
}

.crm-sidebar span.active {
  color: white;
  background: #0877ed;
}

.crm-main {
  flex: 1;
  min-width: 0;
}

.crm-metrics {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 5px;
}

.crm-metrics > div {
  min-width: 0;
  padding: 6px 5px;
  border: 1px solid rgba(151,198,239,.13);
  border-radius: 6px;
  background: rgba(255,255,255,.055);
}

.crm-metrics small {
  display: block;
  color: #9db8d6;
  font-size: 6px;
}

.crm-metrics strong {
  display: block;
  margin-top: 3px;
  color: #fff;
  font-size: 13px;
}

.crm-activity {
  margin-top: 8px;
}

.crm-activity-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 3px;
  color: #b8d0e9;
  font-size: 7px;
}

.crm-activity-title span {
  color: #48d7f5;
  font-size: 6px;
  font-weight: 800;
}

.crm-panel .mrow {
  gap: 6px;
  padding: 3px 0;
  border-bottom: 1px solid rgba(151,198,239,.12);
}

.crm-panel .mrow:last-child {
  border: 0;
}

.crm-panel .mrow i {
  height: 4px;
  border-radius: 5px;
  background: rgba(143,181,219,.28);
}

.crm-panel .mrow b {
  padding: 2px 6px;
  font-size: 6px;
  background: rgba(31,111,235,.2);
  color: #8dc4ff;
}

.crm-panel .mrow b.g {
  background: rgba(25,195,154,.15);
  color: #76e9c5;
}

@keyframes crmPulse {
  50% { opacity: .4; }
}

@media (max-width: 620px) {
  #soluciones .vis > .crm-panel {
    width: min(220px, 68%);
    min-height: 165px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .crm-status i {
    animation: none;
  }
}

/* =========================================================
   AI INNOVATION — PORTAFOLIO DE PROYECTOS
   Diseño corporativo premium / Responsive
   ========================================================= */

#proyectos.projects-section {
  padding: 0 0 clamp(64px, 8vw, 100px);
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 35%, rgba(8,119,237,.18), transparent 42%),
    linear-gradient(135deg, #03152f 0%, #062653 55%, #041832 100%);
}

/* ENCABEZADO FOTOGRÁFICO */

.projects-hero {
  position: relative;
  min-height: clamp(320px, 37vw, 470px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  background: #041832;
}

.projects-hero > img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
}

.projects-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(2,15,36,.92), rgba(3,25,55,.72) 55%, rgba(2,15,36,.55)),
    linear-gradient(0deg, rgba(3,17,39,.65), transparent 65%);
}

.projects-hero-content {
  padding-block: 70px;
  text-align: center;
  max-width: 920px;
}

.projects-eyebrow {
  display: inline-block;
  margin-bottom: 18px;
  color: #38d7fa;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .2em;
}

.projects-hero h2 {
  color: #fff;
  font-size: clamp(2.35rem, 5.5vw, 4.5rem);
  line-height: 1.06;
  font-weight: 800;
  text-shadow: 0 4px 24px rgba(0,0,0,.3);
}

.projects-hero h2 span {
  display: block;
  color: #36d4f4;
}

.projects-hero-content > p {
  max-width: 700px;
  margin: 22px auto 0;
  color: #d4e6fa;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.7;
}

/* CONTENEDOR DE TARJETAS */

.projects-container {
  display: grid;
  gap: clamp(26px, 4vw, 42px);
  padding-top: clamp(42px, 6vw, 68px);
}

/* TARJETAS */

.project-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  align-items: stretch;
  gap: clamp(25px, 4vw, 48px);
  padding: clamp(18px, 2.5vw, 30px);
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(85,190,255,.38);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(13,51,94,.98), rgba(5,30,64,.98));
  box-shadow:
    0 18px 45px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.045);
  transition: border-color .3s, box-shadow .3s, transform .3s;
}

.project-card:hover {
  border-color: rgba(38,204,245,.85);
  box-shadow:
    0 25px 55px rgba(0,0,0,.3),
    0 0 24px rgba(19,200,237,.09);
  transform: translateY(-3px);
}

/* ALTERNANCIA DE IMAGEN Y TEXTO */

.project-voice {
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
}

.project-voice .project-image {
  order: -1;
}

/* CONTENIDO */

.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(8px, 1.5vw, 20px);
}

.project-category {
  display: inline-block;
  color: #38d5f5;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  line-height: 1.5;
}

.project-content h3 {
  margin: 13px 0 15px;
  color: #fff;
  font-size: clamp(1.55rem, 2.6vw, 2.15rem);
  line-height: 1.16;
}

.project-content > p {
  color: #c9daed;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.75;
  max-width: 55ch;
}

/* ETIQUETAS */

.project-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 19px;
}

.project-chips span {
  padding: 7px 12px;
  border: 1px solid rgba(104,190,255,.3);
  border-radius: 7px;
  background: rgba(17,103,172,.2);
  color: #d8edff;
  font-size: 12px;
  font-weight: 600;
}

/* IMÁGENES */

.project-image {
  position: relative;
  min-width: 0;
  min-height: 280px;
  aspect-ratio: 1.48 / 1;
  overflow: hidden;
  align-self: center;
  border: 1px solid rgba(103,195,255,.35);
  border-radius: 14px;
  background: #071a36;
  box-shadow: 0 18px 35px rgba(0,0,0,.24);
}

.project-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(15,113,200,.09), transparent 60%);
}

.project-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  object-position: center;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-image img {
  transform: scale(1.045);
}

/* DETALLES DESPLEGABLES */

#proyectos .detail {
  width: 100%;
  margin-top: 20px;
  padding: 19px;
  border: 1px solid rgba(89,181,242,.22);
  border-radius: 12px;
  background: rgba(2,17,39,.55);
  color: #fff;
}

#proyectos .detail b {
  color: #38d5f5;
  font-size: 12px;
}

#proyectos .detail p,
#proyectos .detail ul {
  color: #d1e1f2;
  line-height: 1.65;
}

#proyectos .detail ul {
  padding-left: 20px;
}

#proyectos .detail li {
  margin-top: 5px;
}

/* BOTONES */

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 25px;
}

#proyectos .project-actions .btn {
  min-height: 45px;
  border-radius: 8px;
  padding: 13px 19px;
  font-size: 14px;
}

#proyectos .project-actions .btn-dark {
  color: #fff;
  background: linear-gradient(110deg, #0877ed, #0754ce);
  border-color: #1687f5;
  box-shadow: 0 8px 20px rgba(0,90,210,.2);
}

#proyectos .project-actions .btn-dark:hover {
  background: linear-gradient(110deg, #168bf8, #0877ed);
}

#proyectos .project-actions .btn-soft {
  color: #fff;
  background: rgba(255,255,255,.045);
  border-color: rgba(171,215,255,.48);
}

#proyectos .project-actions .btn-soft:hover {
  background: rgba(19,200,237,.13);
  border-color: #38d5f5;
}

/* AVISOS DE BORRADOR */

#proyectos .pend {
  color: #ffd47b;
  border-color: rgba(255,190,70,.6);
  background: rgba(255,190,70,.08);
}

/* TABLETS */

@media (max-width: 900px) {
  .projects-hero {
    min-height: 340px;
  }

  .project-card,
  .project-voice {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 20px;
    padding: 18px;
  }

  .project-image,
  .project-image img {
    min-height: 235px;
  }

  .project-content {
    padding: 8px;
  }

  .project-actions {
    gap: 8px;
  }
}

/* CELULARES */

@media (max-width: 680px) {
  #proyectos.projects-section {
    padding-bottom: 58px;
  }

  .projects-hero {
    min-height: 320px;
  }

  .projects-hero > img {
    object-position: center;
  }

  .projects-hero-overlay {
    background:
      linear-gradient(0deg, rgba(2,15,36,.9), rgba(3,25,55,.67)),
      linear-gradient(90deg, rgba(2,15,36,.35), transparent);
  }

  .projects-hero-content {
    padding-block: 55px;
  }

  .projects-eyebrow {
    font-size: 11px;
    margin-bottom: 14px;
  }

  .projects-hero h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .projects-hero-content > p {
    margin-top: 16px;
    font-size: 15px;
    line-height: 1.6;
  }

  .projects-container {
    gap: 23px;
    padding-top: 28px;
  }

  .project-card,
  .project-voice {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    padding: 13px;
    border-radius: 15px;
  }

  .project-image,
  .project-voice .project-image {
    order: 0;
    width: 100%;
    min-height: 0;
    aspect-ratio: 1.45 / 1;
    margin: 0;
  }

  .project-image img {
    min-height: 0;
    aspect-ratio: 1.45 / 1;
  }

  .project-content {
    padding: 22px 9px 12px;
  }

  .project-category {
    font-size: 11px;
  }

  .project-content h3 {
    font-size: 1.55rem;
    margin: 9px 0 11px;
  }

  .project-content > p {
    font-size: 15px;
    line-height: 1.65;
  }

  .project-chips {
    gap: 7px;
    margin-top: 15px;
  }

  .project-chips span {
    font-size: 11px;
    padding: 6px 9px;
  }

  .project-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    gap: 9px;
    margin-top: 20px;
  }

  #proyectos .project-actions .btn {
    width: 100%;
    min-width: 0;
    padding: 12px 8px;
    font-size: 12.5px;
    white-space: normal;
    line-height: 1.3;
  }

  #proyectos .detail {
    padding: 15px;
    font-size: 14px;
  }
}

/* CELULARES PEQUEÑOS */

@media (max-width: 380px) {
  .projects-hero {
    min-height: 300px;
  }

  .projects-hero h2 {
    font-size: 1.85rem;
  }

  .project-content h3 {
    font-size: 1.4rem;
  }

  .project-actions {
    grid-template-columns: 1fr;
  }

  #proyectos .project-actions .btn {
    font-size: 14px;
    min-height: 44px;
  }
}

/* ACCESIBILIDAD Y MOVIMIENTO REDUCIDO */

@media (prefers-reduced-motion: reduce) {
  .project-card,
  .project-image img {
    transition: none;
  }

  .project-card:hover {
    transform: none;
  }

  .project-card:hover .project-image img {
    transform: none;
  }
}

/* =========================================================
   AI INNOVATION — DEMOS | IDENTIDAD CORPORATIVA 2026
   Rediseño visual. No modifica HTML ni funcionalidad JS.
   ========================================================= */

#demos {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 8% 18%, rgba(8,119,237,.09), transparent 36%),
    radial-gradient(ellipse at 92% 75%, rgba(22,200,242,.10), transparent 34%),
    linear-gradient(135deg, #f5f8fd, #edf3fa);
}

#demos::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .32;
  background-image:
    linear-gradient(rgba(8,119,237,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(8,119,237,.035) 1px, transparent 1px);
  background-size: 42px 42px;
}

#demos .wrap {
  position: relative;
}

#demos .hd {
  max-width: 780px;
  margin-bottom: 42px;
}

#demos .eyebrow {
  color: #0877ed;
  letter-spacing: .17em;
}

#demos .hd h2 {
  color: #071a3a;
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
}

#demos .hd p {
  color: #526783;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
}

/* Selector de demostraciones */

#demos .dtabs {
  gap: 10px;
  margin-bottom: 30px;
}

#demos .dt {
  min-height: 44px;
  padding: 11px 22px;
  border: 1px solid #d6e2f1;
  border-radius: 10px;
  background: rgba(255,255,255,.88);
  color: #38516f;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(7,26,58,.035);
  transition: transform .22s ease, box-shadow .22s ease,
              background .22s ease, border-color .22s ease;
}

#demos .dt:hover {
  transform: translateY(-2px);
  border-color: #83baff;
  color: #0754ce;
  box-shadow: 0 9px 20px rgba(8,119,237,.10);
}

#demos .dt[aria-selected="true"] {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(115deg, #0877ed, #0754ce 70%, #0877ed);
  box-shadow: 0 9px 24px rgba(8,119,237,.27);
}

/* Marco principal de las demostraciones */

#demos .dpanel {
  width: min(880px, 100%);
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(117,185,255,.30);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(22,200,242,.15), transparent 38%),
    linear-gradient(145deg, #061a38, #082b57 65%, #04172f);
  color: #fff;
  box-shadow:
    0 28px 65px rgba(4,26,59,.20),
    0 8px 22px rgba(4,26,59,.10);
}

#demos .dpanel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 9%;
  right: 9%;
  height: 2px;
  border-radius: 0 0 5px 5px;
  background: linear-gradient(90deg, transparent, #16c8f2, #0877ed, transparent);
}

#demos .dlabel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding: 7px 12px;
  border: 1px solid rgba(22,200,242,.22);
  border-radius: 7px;
  background: rgba(22,200,242,.09);
  color: #5de0fa;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .13em;
}

#demos .dlabel::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #19c39a;
  box-shadow: 0 0 10px rgba(25,195,154,.6);
}

/* CHATBOT */

#demos .cw {
  overflow: hidden;
  border: 1px solid #dce7f5;
  border-radius: 16px;
  background: #fff;
  color: #071a3a;
  box-shadow: 0 14px 35px rgba(0,0,0,.15);
}

#demos .cw .wbar {
  min-height: 54px;
  padding: 13px 18px;
  border-bottom: 1px solid #e5edf7;
  background: linear-gradient(110deg, #fff, #f5f9ff);
  color: #12345c;
  font-size: 13px;
}

#demos .cw .wbar .m0 {
  font-weight: 800;
}

#demos .dot-on {
  width: 9px;
  height: 9px;
  background: #19c39a;
  box-shadow: 0 0 0 4px rgba(25,195,154,.12);
}

#demos .log {
  height: 280px;
  padding: 20px;
  gap: 13px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(8,119,237,.045), transparent 45%),
    #f3f7fc;
  scrollbar-width: thin;
  scrollbar-color: #9db6d5 #edf2f8;
}

#demos .log::-webkit-scrollbar {
  width: 7px;
}

#demos .log::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: #a8bdd7;
}

#demos .log .bub {
  max-width: 84%;
  padding: 12px 15px;
  border-radius: 13px;
  font-size: 13.5px;
  line-height: 1.5;
  box-shadow: 0 3px 9px rgba(7,26,58,.055);
}

#demos .log .bub.u {
  align-self: flex-start;
  border: 1px solid #dce7f5;
  border-bottom-left-radius: 4px;
  background: #fff;
  color: #183655;
}

#demos .log .bub.b {
  align-self: flex-end;
  border: 0;
  border-bottom-right-radius: 4px;
  background: linear-gradient(125deg, #0877ed, #0754ce);
  color: #fff;
  box-shadow: 0 5px 14px rgba(8,119,237,.17);
}

#demos .typing {
  border: 1px solid #e0e9f4;
  background: #fff;
}

#demos .typing i {
  background: #0877ed;
}

/* Preguntas sugeridas */

#demos .quick {
  gap: 8px;
  padding: 16px 18px 4px;
  border-top: 1px solid #edf1f7;
  background: #fff;
}

#demos .quick button {
  padding: 8px 13px;
  border: 1px solid #d7e5f6;
  border-radius: 8px;
  background: #f9fbff;
  color: #0754b9;
  font-size: 12px;
  font-weight: 600;
  transition: all .2s ease;
}

#demos .quick button:hover {
  transform: translateY(-1px);
  border-color: #72b7ff;
  background: #edf6ff;
  color: #0649b9;
}

/* Entrada de conversación */

#demos .cin {
  align-items: center;
  gap: 10px;
  padding: 12px 18px 18px;
  background: #fff;
}

#demos .cin input {
  height: 46px;
  min-width: 0;
  padding: 0 17px;
  border: 1px solid #dce6f2;
  border-radius: 10px;
  background: #f5f8fc;
  color: #071a3a;
  font-size: 13px;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

#demos .cin input::placeholder {
  color: #8292a8;
}

#demos .cin input:focus {
  outline: none;
  border-color: #0877ed;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8,119,237,.10);
}

#demos .cin .btn {
  min-height: 44px;
  border-radius: 9px;
  padding-inline: 20px;
  font-size: 13px;
}

/* Asistente de IA */

#demos .wavebox {
  border: 1px solid rgba(115,184,255,.16);
  border-radius: 13px;
  background: rgba(255,255,255,.045);
}

#demos .wavebox i {
  border-radius: 5px;
  background: linear-gradient(180deg, #5de0fa, #0877ed);
}

#demos .req {
  border: 1px solid rgba(135,190,245,.16);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

#demos .step-list {
  gap: 9px;
}

#demos .stp {
  border-radius: 11px;
  background: rgba(255,255,255,.045);
}

#demos .stp.on {
  border-color: #39a9ff;
  background: rgba(8,119,237,.22);
}

#demos .stp.ok {
  border-color: rgba(25,195,154,.5);
  background: rgba(25,195,154,.10);
}

#demos .out {
  border: 1px solid #dce7f5;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
}

/* Automatización */

#demos .dg {
  border: 1px solid rgba(115,184,255,.18);
  border-radius: 13px;
  background: rgba(2,12,31,.45);
}

#demos .dg .nd {
  fill: #103967;
  stroke: rgba(110,190,255,.35);
}

#demos .dg .hub {
  fill: #0877ed;
  stroke: #5de0fa;
}

#demos .dg .e {
  stroke: rgba(22,200,242,.55);
}

#demos .dg .pk {
  fill: #5de0fa;
}

#demos .logbox {
  border: 1px solid rgba(115,184,255,.15);
  border-radius: 12px;
  background: rgba(255,255,255,.055);
}

/* Dashboard */

#demos .seg {
  padding: 4px;
  border: 1px solid rgba(115,184,255,.18);
  background: rgba(255,255,255,.06);
}

#demos .seg button {
  font-size: 13px;
}

#demos .seg button[aria-pressed="true"] {
  color: #0754ce;
  box-shadow: 0 3px 10px rgba(0,0,0,.12);
}

#demos .dk {
  gap: 12px;
}

#demos .dk div {
  border: 1px solid rgba(115,184,255,.16);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(255,255,255,.09), rgba(255,255,255,.035));
}

#demos .dk small {
  color: #b5cce7;
  font-size: 12px;
}

#demos .dk b {
  color: #fff;
  font-size: clamp(1.45rem, 3vw, 1.9rem);
}

#demos .chartbox {
  border-bottom-color: rgba(115,184,255,.24);
}

#demos .chartbox i {
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, #5de0fa, #0877ed);
}

/* Botones de ejecución */

#demos .run {
  gap: 14px;
}

#demos .run .btn {
  border-radius: 9px;
}

#demos button:disabled {
  opacity: .6;
  cursor: progress;
}

/* RESPONSIVE */

@media (max-width: 760px) {
  #demos .dk {
    grid-template-columns: repeat(3, minmax(0,1fr));
  }

  #demos .dk div {
    padding: 13px 10px;
  }

  #demos .dk small {
    font-size: 11px;
    line-height: 1.35;
  }
}

@media (max-width: 620px) {
  #demos {
    padding-block: 62px;
  }

  #demos .hd {
    margin-bottom: 30px;
  }

  #demos .dtabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 9px;
    margin-bottom: 22px;
  }

  #demos .dt {
    width: 100%;
    min-height: 43px;
    padding: 10px 8px;
    font-size: 12.5px;
  }

  #demos .dpanel {
    padding: 14px;
    border-radius: 16px;
  }

  #demos .dlabel {
    margin-bottom: 14px;
    font-size: 9px;
  }

  #demos .cw {
    border-radius: 12px;
  }

  #demos .cw .wbar {
    min-height: 48px;
    padding: 11px 13px;
    font-size: 12px;
  }

  #demos .log {
    height: 260px;
    padding: 13px;
    gap: 11px;
  }

  #demos .log .bub {
    max-width: 92%;
    padding: 10px 12px;
    font-size: 12px;
  }

  #demos .quick {
    padding: 12px 12px 3px;
    gap: 7px;
  }

  #demos .quick button {
    max-width: 100%;
    padding: 8px 10px;
    font-size: 11px;
    text-align: left;
  }

  #demos .cin {
    padding: 10px 12px 13px;
    gap: 7px;
  }

  #demos .cin input {
    height: 43px;
    padding-inline: 12px;
    font-size: 12px;
  }

  #demos .cin .btn {
    min-height: 43px;
    padding-inline: 13px;
    font-size: 12px;
  }

  #demos .dk {
    grid-template-columns: 1fr;
  }

  #demos .dk div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }

  #demos .dk b {
    font-size: 1.4rem;
  }

  #demos .dg {
    min-height: 110px;
  }

  #demos .run {
    align-items: flex-start;
  }

  #demos .run .btn {
    width: 100%;
  }

  #demos .demo-note {
    font-size: 12px;
  }
}

@media (max-width: 380px) {
  #demos .wrap {
    width: calc(100% - 24px);
  }

  #demos .dpanel {
    padding: 11px;
  }

  #demos .quick button {
    font-size: 10.5px;
  }

  #demos .cin .btn {
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  #demos .dt,
  #demos .quick button {
    transition: none;
  }
}
/* Reducir espacio superior de Demostraciones */
#demos {
  padding-top: 30px !important;
}

#demos .hd {
  margin-top: 0;
}

/* =========================================
   AI INNOVATION | PROCESO
   Identidad visual y tarjetas
========================================= */

#proceso {
  position: relative;
  overflow: hidden;
  padding-top: 32px !important;
  padding-bottom: 90px;
  background:
    radial-gradient(ellipse at 5% 15%,
      rgba(29, 145, 255, .10), transparent 35%),
    radial-gradient(ellipse at 95% 85%,
      rgba(19, 200, 237, .10), transparent 35%),
    linear-gradient(135deg, #f5faff 0%, #ffffff 52%, #f0f8ff 100%);
}

#proceso .hd {
  position: relative;
  z-index: 1;
  margin-top: 0 !important;
  margin-bottom: 48px;
}

#proceso .eyebrow {
  color: #0875ed;
  font-weight: 800;
  letter-spacing: .13em;
  text-transform: uppercase;
}

#proceso .hd h2 {
  color: #0a1f4d;
  font-weight: 850;
  letter-spacing: -.045em;
}

#proceso .hd p {
  color: #53698e;
}

/* Línea de tiempo */
#proceso .tl {
  position: relative;
  isolation: isolate;
}

#proceso .tl-line {
  background: #dce9fa;
}

#proceso .tl-line i {
  background: linear-gradient(90deg, #0875ed, #13c8ed, #19c39a);
}

#proceso .ph .n {
  border: 4px solid #fff;
  box-shadow: 0 8px 22px rgba(16, 91, 180, .18);
  font-weight: 800;
}

#proceso .ph:nth-of-type(2) .n,
#proceso .ph:nth-of-type(3) .n {
  background: linear-gradient(135deg, #0875ed, #13c8ed);
}

/* Tarjetas */
#proceso .pc {
  position: relative;
  height: 100%;
  padding: 14px;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #d9e8fa;
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(13, 54, 112, .08);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

#proceso .pc::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: -30px;
  width: 85px;
  height: 85px;
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(19, 200, 237, .13), transparent 70%);
  pointer-events: none;
}

#proceso .pc:hover {
  transform: translateY(-7px);
  border-color: rgba(19, 151, 237, .45);
  box-shadow: 0 20px 38px rgba(13, 75, 150, .15);
}

/* Imágenes */
#proceso .vig {
  height: 150px;
  overflow: hidden;
  border-radius: 15px;
  background: #e7f4ff;
  margin-bottom: 16px;
}

#proceso .vig img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

#proceso .pc:hover .vig img {
  transform: scale(1.055);
}

/* Títulos y textos */
#proceso .pc h3 {
  position: relative;
  color: #0a1f4d;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -.025em;
  margin: 0 0 9px;
  padding-bottom: 12px;
}

#proceso .pc h3::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 52px;
  height: 4px;
  border-radius: 10px;
  background: linear-gradient(90deg, #0875ed, #13c8ed);
}

#proceso .pc p {
  color: #53698e;
  line-height: 1.55;
  margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
  #proceso {
    padding-top: 24px !important;
    padding-bottom: 55px;
  }

  #proceso .hd {
    margin-bottom: 35px;
  }

  #proceso .vig {
    height: 175px;
  }

  #proceso .pc {
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  #proceso .vig {
    height: 155px;
  }
}

/* =====================================================
   AI INNOVATION | NOSOTROS
   Identidad visual premium
===================================================== */

#nosotros {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: 65px;
  padding-bottom: 85px;
  background:
    radial-gradient(ellipse at 0% 0%,
      rgba(25, 151, 255, .16), transparent 34%),
    radial-gradient(ellipse at 100% 65%,
      rgba(19, 200, 237, .13), transparent 34%),
    linear-gradient(135deg, #f1f7ff 0%, #ffffff 48%, #eff8ff 100%);
}

#nosotros::before,
#nosotros::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

#nosotros::before {
  width: 440px;
  height: 440px;
  top: -300px;
  left: -180px;
  border: 1px solid rgba(19, 142, 255, .16);
  box-shadow:
    0 0 0 25px rgba(19, 142, 255, .025),
    0 0 0 55px rgba(19, 142, 255, .025);
}

#nosotros::after {
  width: 500px;
  height: 500px;
  right: -300px;
  bottom: -350px;
  border: 1px solid rgba(19, 200, 237, .2);
  box-shadow:
    0 0 0 28px rgba(19, 200, 237, .035),
    0 0 0 58px rgba(19, 200, 237, .025);
}

#nosotros .wrap {
  position: relative;
  z-index: 1;
}

/* Encabezado */
#nosotros .hd {
  max-width: 900px;
  margin: 0 auto 48px;
  text-align: center;
}

#nosotros .hd .eyebrow {
  color: #0875ed;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#nosotros .hd h2 {
  max-width: 850px;
  margin: 12px auto 14px;
  color: #0a1f4d;
  font-weight: 850;
  letter-spacing: -.045em;
}

#nosotros .hd h2 span {
  color: #0875ed;
}

#nosotros .hd p {
  color: #53698e;
  font-size: 17px;
}

/* Distribución principal */
#nosotros .about {
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(35px, 6vw, 85px);
  align-items: center;
}

/* Tarjetas de valores */
#nosotros .prin {
  gap: 13px;
}

#nosotros .pr {
  position: relative;
  padding: 19px 22px;
  gap: 18px;
  align-items: center;
  background: rgba(255, 255, 255, .88);
  border: 1px solid #d9e8fa;
  border-radius: 17px;
  box-shadow: 0 8px 22px rgba(13, 54, 112, .045);
  transition:
    transform .3s ease,
    box-shadow .3s ease,
    border-color .3s ease;
}

#nosotros .pr:hover {
  transform: translateX(6px);
  border-color: #8cc8fa;
  box-shadow: 0 14px 30px rgba(13, 75, 150, .11);
}

#nosotros .pr .ibx {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: linear-gradient(135deg, #0865e9, #13c8ed);
  box-shadow: 0 7px 16px rgba(8, 117, 237, .22);
}

#nosotros .pr .ibx .ico {
  width: 24px;
  height: 24px;
}

#nosotros .pr h3 {
  color: #0a1f4d;
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 4px;
}

#nosotros .pr p {
  color: #53698e;
  font-size: 15.5px;
  line-height: 1.45;
  margin: 0;
}

/* Integraciones */
#nosotros .tools {
  margin-top: 22px;
  gap: 9px;
}

#nosotros .tools small {
  color: #53698e;
  font-weight: 800;
  letter-spacing: .09em;
}

#nosotros .tools span {
  background: rgba(255, 255, 255, .86);
  color: #17365f;
  border: 1px solid #d8e6f8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  box-shadow: 0 5px 14px rgba(13, 54, 112, .04);
  transition: .25s ease;
}

#nosotros .tools span:hover {
  border-color: #75bafa;
  background: #fff;
  transform: translateY(-2px);
}

/* Escenario del smartphone */
#nosotros .stage {
  min-height: 550px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

#nosotros .stage::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 8% 3%;
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 45%,
      rgba(19, 200, 237, .25), transparent 55%),
    linear-gradient(145deg, #e2edff, #dff8fc);
}

#nosotros .stage::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 390px;
  height: 390px;
  border: 2px solid rgba(19, 200, 237, .35);
  border-radius: 50%;
  box-shadow:
    0 0 30px rgba(19, 200, 237, .10),
    inset 0 0 30px rgba(19, 200, 237, .08);
  animation: nosotros-orbit 12s linear infinite;
}

@keyframes nosotros-orbit {
  to { transform: rotate(360deg); }
}

/* Smartphone */
#nosotros .phone {
  z-index: 2;
  width: min(290px, 76%);
  border: 2px solid #111b32;
  border-radius: 43px;
  padding: 9px;
  background: linear-gradient(145deg, #101a31, #020917);
  box-shadow:
    0 35px 65px -28px rgba(3, 22, 55, .65),
    0 0 0 5px rgba(255, 255, 255, .6);
}

#nosotros .screen {
  position: relative;
  border-radius: 33px;
  padding: 37px 12px 18px;
  gap: 9px;
  background:
    radial-gradient(ellipse at 50% 100%,
      rgba(19, 200, 237, .65), transparent 50%),
    linear-gradient(180deg, #073b8c 0%, #0875ed 55%, #0a2c70 100%);
}

#nosotros .screen::before {
  top: 9px;
  width: 76px;
  height: 19px;
  margin-left: -38px;
  background: #020917;
}

/* Marca dentro del teléfono */
#nosotros .phone-brand {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: #fff;
  margin: 0 0 9px;
  text-align: center;
}

#nosotros .brand-mark {
  font-size: 42px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -5px;
  color: #fff;
  text-shadow: 0 0 18px rgba(19, 200, 237, .75);
}

#nosotros .phone-brand b {
  font-size: 12px;
  letter-spacing: .08em;
  font-weight: 800;
}

#nosotros .phone-brand small {
  font-size: 7px;
  letter-spacing: .12em;
  opacity: .8;
}

/* Reloj y notificaciones */
#nosotros .clock {
  font-size: 2rem;
  margin: 0 0 3px;
}

#nosotros .notif {
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, .95);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 15px;
  padding: 10px;
  gap: 9px;
  box-shadow: 0 8px 18px rgba(0, 18, 55, .13);
}

#nosotros .notif .ni {
  width: 36px;
  height: 36px;
  border-radius: 11px;
}

#nosotros .notif b {
  color: #0a1f4d;
  font-size: 12px;
}

#nosotros .notif small {
  color: #647895;
  font-size: 10.5px;
}

/* Avisos flotantes */
#nosotros .chipf {
  z-index: 4;
  background: rgba(255, 255, 255, .97);
  color: #102c57;
  border: 1px solid #dceafa;
  border-radius: 999px;
  padding: 10px 15px;
  font-size: 12.5px;
  box-shadow: 0 14px 30px rgba(8, 48, 100, .16);
}

#nosotros .chipf .ico {
  color: #13bde4;
}

#nosotros .chipf.c1 {
  left: -1%;
  top: 22%;
}

#nosotros .chipf.c2 {
  right: -1%;
  bottom: 19%;
}

#nosotros .stage .note {
  bottom: 1%;
  color: #7186a5;
  font-size: 11px;
}

/* Responsive */
@media (max-width: 1000px) {
  #nosotros .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  #nosotros .stage {
    min-height: 570px;
  }

  #nosotros .stage::after {
    width: 350px;
    height: 350px;
  }
}

@media (max-width: 620px) {
  #nosotros {
    padding-top: 42px;
    padding-bottom: 55px;
  }

  #nosotros .hd {
    margin-bottom: 32px;
  }

  #nosotros .hd h2 {
    font-size: clamp(1.9rem, 7vw, 2.5rem);
    line-height: 1.12;
  }

  #nosotros .hd p {
    font-size: 15.5px;
  }

  #nosotros .pr {
    padding: 15px;
    gap: 13px;
  }

  #nosotros .pr .ibx {
    width: 45px;
    height: 45px;
    border-radius: 12px;
  }

  #nosotros .pr h3 {
    font-size: 1.08rem;
  }

  #nosotros .pr p {
    font-size: 14px;
  }

  #nosotros .tools {
    margin-top: 18px;
  }

  #nosotros .tools small {
    width: 100%;
  }

  #nosotros .stage {
    min-height: 500px;
  }

  #nosotros .phone {
    width: min(270px, 75%);
  }

  #nosotros .stage::after {
    width: 290px;
    height: 290px;
  }

  #nosotros .chipf.c1 {
    left: -2px;
    top: 19%;
  }

  #nosotros .chipf.c2 {
    right: -2px;
    bottom: 16%;
  }
}

@media (max-width: 380px) {
  #nosotros .chipf {
    font-size: 11px;
    padding: 8px 10px;
  }

  #nosotros .phone {
    width: 73%;
  }
}

@media (prefers-reduced-motion: reduce) {
  #nosotros .stage::after {
    animation: none;
  }
}

/* NOSOTROS — Fondo del smartphone inspirado en la referencia */

#nosotros .screen {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 105%,
      rgba(0, 229, 255, .72) 0%,
      rgba(0, 132, 255, .28) 27%,
      transparent 58%),
    radial-gradient(ellipse at 10% 85%,
      rgba(0, 200, 255, .42),
      transparent 48%),
    linear-gradient(180deg,
      #06275f 0%,
      #06499e 42%,
      #0875ed 72%,
      #031d55 100%);
}

/* Ondas luminosas inferiores */
#nosotros .screen::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: -25%;
  bottom: -9%;
  width: 150%;
  height: 36%;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 100%,
      rgba(0, 229, 255, .95),
      rgba(0, 145, 255, .48) 35%,
      transparent 72%);
  border-top: 2px solid rgba(0, 238, 255, .9);
  border-radius: 50% 50% 0 0;
  box-shadow:
    0 -8px 22px rgba(0, 220, 255, .24),
    inset 0 12px 22px rgba(0, 220, 255, .12);
  transform: rotate(-7deg);
}

/* Segunda onda de luz */
#nosotros .screen {
  background-image:
    radial-gradient(ellipse at 50% 105%,
      rgba(0, 229, 255, .72) 0%,
      rgba(0, 132, 255, .28) 27%,
      transparent 58%),
    radial-gradient(ellipse at 10% 85%,
      rgba(0, 200, 255, .42),
      transparent 48%),
    linear-gradient(180deg,
      #06275f 0%,
      #06499e 42%,
      #0875ed 72%,
      #031d55 100%);
}

#nosotros .phone-brand,
#nosotros .clock,
#nosotros .notif {
  position: relative;
  z-index: 2;
}

/* =====================================================
   AI INNOVATION | CONTACTO
   Presencia comercial premium
===================================================== */

#contacto.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(65px, 8vw, 105px) 0;
  background:
    radial-gradient(ellipse at 5% 15%,
      rgba(19, 200, 237, .22), transparent 35%),
    radial-gradient(ellipse at 100% 80%,
      rgba(15, 105, 230, .28), transparent 40%),
    linear-gradient(120deg, #041a38 0%, #082c5d 55%, #041a38 100%);
}

#contacto.cta::before,
#contacto.cta::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}

#contacto.cta::before {
  width: 480px;
  height: 480px;
  top: -330px;
  right: -100px;
  border: 1px solid rgba(19, 200, 237, .25);
  box-shadow:
    0 0 0 25px rgba(19, 200, 237, .035),
    0 0 0 55px rgba(19, 200, 237, .025);
}

#contacto.cta::after {
  width: 380px;
  height: 380px;
  left: -230px;
  bottom: -250px;
  border: 1px solid rgba(72, 157, 255, .24);
  box-shadow: 0 0 0 35px rgba(72, 157, 255, .035);
}

#contacto .cgrid {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .95fr);
  align-items: center;
  gap: clamp(38px, 6vw, 85px);
}

/* Mensaje comercial */
#contacto .contact-copy {
  max-width: 590px;
}

#contacto .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #48dcf5;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}

#contacto .eyebrow::before {
  content: "";
  width: 34px;
  height: 3px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1f5cff, #13c8ed);
}

#contacto .contact-copy h2 {
  color: #fff;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
  line-height: 1.08;
  font-weight: 850;
  letter-spacing: -.045em;
  margin: 20px 0;
  max-width: 600px;
}

#contacto .contact-copy .lede {
  max-width: 490px;
  color: #c5d8f2;
  font-size: 17px;
  line-height: 1.7;
}

/* Responsable de contacto */
#contacto .contact-person {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

#contacto .contact-avatar {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 850;
  background: linear-gradient(135deg, #1f5cff, #13c8ed);
  box-shadow: 0 9px 24px rgba(0, 139, 255, .3);
}

#contacto .contact-person strong,
#contacto .contact-person span {
  display: block;
}

#contacto .contact-person strong {
  color: #fff;
  font-size: 17px;
}

#contacto .contact-person span {
  color: #9db9df;
  font-size: 13px;
  margin-top: 3px;
}

/* Datos directos */
#contacto .contact-details {
  display: grid;
  gap: 12px;
  margin-top: 23px;
  max-width: 440px;
}

#contacto .contact-detail {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 12px 15px;
  text-decoration: none;
  border: 1px solid rgba(164, 207, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  transition: .25s ease;
}

#contacto .contact-detail:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(19, 200, 237, .55);
  transform: translateX(4px);
}

#contacto .contact-detail-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  color: #fff;
  border-radius: 12px;
  background: linear-gradient(135deg, #1269ed, #13c8ed);
}

#contacto .contact-detail-icon svg {
  width: 21px;
  height: 21px;
}

#contacto .contact-detail small,
#contacto .contact-detail strong {
  display: block;
}

#contacto .contact-detail small {
  color: #9db9df;
  font-size: 12px;
  margin-bottom: 3px;
}

#contacto .contact-detail strong {
  color: #fff;
  font-size: 15px;
  overflow-wrap: anywhere;
}

/* Acciones */
#contacto .acts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 25px;
}

#contacto .acts .btn {
  min-height: 48px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 12px 20px;
  border-radius: 11px;
  font-weight: 800;
  text-decoration: none;
  transition: .25s ease;
}

#contacto .acts .btn-light {
  color: #07316b;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .13);
}

#contacto .acts .btn-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 13px 28px rgba(0, 0, 0, .2);
}

#contacto .acts .btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(255, 255, 255, .055);
}

#contacto .acts .btn-ghost:hover {
  border-color: #13c8ed;
  background: rgba(19, 200, 237, .12);
}

#contacto .contact-assurance {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 22px;
  color: #a9c3e5;
  font-size: 12.5px;
}

#contacto .contact-assurance span {
  color: #39dfc0;
  font-size: 17px;
  font-weight: 900;
}

/* Formulario */
#contacto .form-col {
  position: relative;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 23px;
  background: linear-gradient(145deg,
    rgba(255, 255, 255, .99),
    rgba(242, 248, 255, .98));
  box-shadow:
    0 30px 75px rgba(0, 8, 28, .28),
    0 0 0 7px rgba(255, 255, 255, .035);
}

#contacto .form-col::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 28px;
  right: 28px;
  height: 4px;
  border-radius: 0 0 8px 8px;
  background: linear-gradient(90deg, #1f5cff, #13c8ed, #19c39a);
}

#contacto .form-heading {
  margin-bottom: 23px;
}

#contacto .form-kicker {
  color: #0875ed;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .15em;
}

#contacto .form-heading h3 {
  margin: 7px 0;
  color: #0a1f4d;
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.035em;
}

#contacto .form-heading p {
  color: #607493;
  font-size: 14px;
}

/* Campos */
#contacto .form {
  gap: 15px;
}

#contacto .form .field label {
  color: #18345c;
  font-size: 12.5px;
  font-weight: 800;
  margin-bottom: 7px;
}

#contacto .form input:not([type="checkbox"]),
#contacto .form select,
#contacto .form textarea {
  width: 100%;
  color: #0a1f4d;
  border: 1px solid #d5e2f2;
  border-radius: 10px;
  background: #f6f9fe;
  transition: border-color .2s, box-shadow .2s, background .2s;
}

#contacto .form input:not([type="checkbox"]),
#contacto .form select {
  min-height: 44px;
  padding: 10px 12px;
}

#contacto .form textarea {
  min-height: 112px;
  padding: 12px;
  resize: vertical;
}

#contacto .form input:focus,
#contacto .form select:focus,
#contacto .form textarea:focus {
  outline: none;
  border-color: #1685ed;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(22, 133, 237, .12);
}

#contacto .form .field.bad input,
#contacto .form .field.bad textarea {
  border-color: #d83e52;
}

/* Privacidad y botón */
#contacto .form .consent {
  align-items: flex-start;
  color: #526987;
  font-size: 12px;
  line-height: 1.5;
}

#contacto .form .consent a {
  color: #075fd2;
  font-weight: 800;
}

#contacto .form .btn-blue {
  min-height: 50px;
  border: 0;
  border-radius: 11px;
  color: #fff;
  font-size: 15px;
  font-weight: 850;
  background: linear-gradient(100deg, #0865e9, #0875ed 55%, #13aee0);
  box-shadow: 0 10px 22px rgba(8, 101, 233, .22);
  transition: .25s ease;
}

#contacto .form .btn-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(8, 101, 233, .3);
}

#contacto .form-security {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #7486a0;
  font-size: 11px;
  text-align: center;
}

#contacto .form-security span {
  color: #1685ed;
}

/* Estado de envío y éxito */
#contacto .fstatus {
  color: #087d65;
}

#contacto .fstatus.e {
  color: #c62828;
}

#contacto .form-done {
  min-height: 350px;
  background: transparent;
}

#contacto .form-done h3 {
  color: #0a1f4d;
}

#contacto .form-done p {
  color: #607493;
}

/* Adaptación móvil */
@media (max-width: 900px) {
  #contacto .cgrid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  #contacto .contact-copy {
    max-width: 720px;
  }

  #contacto .contact-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: none;
  }

  #contacto .form-col {
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  #contacto.cta {
    padding: 55px 0;
  }

  #contacto .contact-copy h2 {
    font-size: clamp(2rem, 8vw, 2.7rem);
  }

  #contacto .contact-copy .lede {
    font-size: 15px;
  }

  #contacto .contact-details {
    grid-template-columns: 1fr;
  }

  #contacto .acts {
    display: grid;
    grid-template-columns: 1fr;
  }

  #contacto .acts .btn {
    width: 100%;
  }

  #contacto .form-col {
    padding: 23px 17px;
    border-radius: 18px;
  }

  #contacto .form-heading h3 {
    font-size: 22px;
  }

  #contacto .form .two {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  #contacto .contact-assurance {
    align-items: flex-start;
    line-height: 1.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  #contacto .contact-detail,
  #contacto .acts .btn,
  #contacto .form .btn-blue {
    transition: none;
  }
}

/* =====================================================
   AI INNOVATION | FOOTER CORPORATIVO
===================================================== */

.site-footer {
  position: relative;
  overflow: hidden;
  color: #d8e7fa;
  background: #03152d;
}

/* Franja tecnológica superior */
.site-footer .footer-identity {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
  background:
    radial-gradient(ellipse at 85% 50%,
      rgba(0, 145, 255, .23), transparent 35%),
    linear-gradient(105deg, #061c3b, #092b57 55%, #041a36);
  border-top: 1px solid rgba(19, 200, 237, .22);
  border-bottom: 1px solid rgba(19, 200, 237, .2);
}

.site-footer .footer-identity::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -30px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(19, 200, 237, .16);
  border-radius: 50%;
  box-shadow:
    0 0 0 22px rgba(19, 200, 237, .025),
    0 0 0 48px rgba(19, 200, 237, .025);
  pointer-events: none;
}

.site-footer .footer-identity-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 2.5fr 1.15fr;
  align-items: center;
  gap: 25px;
}

/* Mensaje principal */
.site-footer .footer-promise {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.site-footer .footer-promise-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  border-radius: 13px;
  color: #38dafa;
  font-size: 26px;
  background: rgba(19, 200, 237, .10);
  border: 1px solid rgba(19, 200, 237, .27);
}

.site-footer .footer-promise strong,
.site-footer .footer-promise span:not(.footer-promise-icon) {
  display: block;
}

.site-footer .footer-promise strong {
  color: #fff;
  font-size: 17px;
  font-weight: 850;
}

.site-footer .footer-promise div span {
  color: #a9c6e8;
  font-size: 12px;
  margin-top: 4px;
}

/* Pilares */
.site-footer .footer-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-left: 1px solid rgba(180, 215, 255, .2);
  border-right: 1px solid rgba(180, 215, 255, .2);
}

.site-footer .footer-pillar {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 7px 12px;
  color: #e3efff;
  font-size: 12px;
  line-height: 1.4;
  font-weight: 700;
  border-right: 1px solid rgba(180, 215, 255, .15);
}

.site-footer .footer-pillar:last-child {
  border-right: 0;
}

.site-footer .pillar-icon {
  color: #36d9f5;
  flex: 0 0 27px;
}

.site-footer .pillar-icon svg {
  width: 25px;
  height: 25px;
}

/* Mensaje de futuro y globo */
.site-footer .footer-future {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.site-footer .footer-globe {
  width: 72px;
  flex: 0 0 72px;
  color: #168ff7;
  filter: drop-shadow(0 0 9px rgba(19, 200, 237, .38));
}

.site-footer .footer-globe svg {
  display: block;
  width: 100%;
}

.site-footer .footer-future span,
.site-footer .footer-future strong {
  display: block;
  white-space: nowrap;
}

.site-footer .footer-future span {
  color: #fff;
  font-size: 10px;
  letter-spacing: .12em;
  font-weight: 700;
}

.site-footer .footer-future strong {
  color: #45dafa;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 900;
}

.site-footer .footer-future i {
  display: block;
  width: 34px;
  height: 3px;
  margin-top: 8px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1f5cff, #13c8ed);
}

/* Footer inferior */
.site-footer .footer-main {
  padding-top: 45px;
}

.site-footer .foot {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 38px;
  padding-bottom: 35px;
}

.site-footer .foot h4 {
  margin: 0 0 17px;
  color: #35d9f5;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.site-footer .foot ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer .foot ul a,
.site-footer .footer-privacy {
  color: #b7cbe5;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s ease;
}

.site-footer .foot ul a:hover,
.site-footer .footer-privacy:hover {
  color: #36d9f5;
}

/* Marca */
.site-footer .footer-brand-column .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.site-footer .footer-brand-column .brand svg {
  width: 35px;
  height: 35px;
  color: #35d9f5;
}

.site-footer .footer-brand-column .brand b {
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .025em;
}

.site-footer .foot-intro {
  max-width: 290px;
  color: #9eb7d7;
  font-size: 13px;
  line-height: 1.7;
  margin: 15px 0 10px;
}

.site-footer .footer-brand-caption {
  color: #38dafa;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

/* Facebook */
.site-footer .footer-social-column p {
  max-width: 230px;
  color: #9eb7d7;
  font-size: 13px;
  line-height: 1.6;
  margin: 0 0 15px;
}

.site-footer .footer-facebook {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(80, 159, 255, .35);
  border-radius: 10px;
  color: #e8f4ff;
  background: rgba(35, 108, 220, .13);
  text-decoration: none;
  font-size: 13px;
  font-weight: 750;
  transition: .25s ease;
}

.site-footer .footer-facebook:hover {
  color: #fff;
  border-color: #399bff;
  background: rgba(35, 108, 220, .28);
  transform: translateY(-2px);
}

.site-footer .footer-facebook > span:first-child {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 6px;
  color: #07316b;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
}

.site-footer .footer-social-arrow {
  color: #35d9f5;
}

.site-footer .footer-privacy {
  display: block;
  width: fit-content;
  margin-top: 17px;
}

/* Copyright */
.site-footer .fclose {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  padding: 19px 0;
  border-top: 1px solid rgba(180, 215, 255, .13);
}

.site-footer .fclose strong {
  color: #b9d4f4;
  font-size: 12px;
}

.site-footer .fclose > span {
  color: #829bb9;
  font-size: 11px;
}

.site-footer .fclose a {
  color: #36d9f5;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 1050px) {
  .site-footer .footer-identity-inner {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .site-footer .footer-promise {
    justify-content: center;
  }

  .site-footer .footer-future {
    justify-content: center;
  }

  .site-footer .footer-pillars {
    border-top: 1px solid rgba(180, 215, 255, .15);
    border-bottom: 1px solid rgba(180, 215, 255, .15);
  }
}

@media (max-width: 760px) {
  .site-footer .foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 22px;
  }

  .site-footer .footer-brand-column {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .site-footer .footer-identity {
    padding: 26px 0;
  }

  .site-footer .footer-pillars {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    border: 0;
    gap: 8px;
  }

  .site-footer .footer-pillar {
    justify-content: flex-start;
    min-height: 58px;
    border: 1px solid rgba(180, 215, 255, .13);
    border-radius: 10px;
    background: rgba(255, 255, 255, .035);
  }

  .site-footer .footer-future {
    margin-top: 4px;
  }

  .site-footer .footer-main {
    padding-top: 32px;
  }

  .site-footer .foot {
    gap: 27px 15px;
  }

  .site-footer .foot h4 {
    font-size: 11px;
  }

  .site-footer .foot ul a {
    font-size: 12px;
  }

  .site-footer .fclose {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-footer a {
    transition: none !important;
  }
}

/* Logo AI INNOVATION - Footer */
.site-footer .footer-brand-column {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
}

.site-footer .footer-brand-logo {
  display: inline-flex;
  width: 100%;
  max-width: 185px;
  padding: 8px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .65);
  box-shadow: 0 8px 25px rgba(0, 0, 0, .20);
  transition: transform .25s ease, box-shadow .25s ease;
}

.site-footer .footer-brand-logo img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
}

.site-footer .footer-brand-logo:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(19, 200, 237, .18);
}

@media (max-width: 760px) {
  .site-footer .footer-brand-column {
    justify-content: center;
  }

  .site-footer .footer-brand-logo {
    max-width: 155px;
    border-radius: 15px;
  }
}
