
:root{
  --bg:#06111d;
  --bg2:#0b1726;
  --ink:#0a1522;
  --text:#dce7f4;
  --muted:#8ea0b5;
  --line:rgba(255,255,255,.10);
  --primary:#22d3ee;
  --primary2:#3b82f6;
  --green:#59f2b1;
  --paper:#f6f9fc;
  --paper2:#eaf0f7;
  --shadow:0 30px 80px rgba(0,0,0,.28);
  --radius:24px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}

/* Anchor offset for fixed header */
section[id], footer[id], div[id]{scroll-margin-top: 108px;}
@media (max-width: 900px){
  section[id], footer[id], div[id]{scroll-margin-top: 92px;}
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;
  color:var(--ink);
  background:var(--paper);
  overflow-x:hidden
}
body.menu-open{overflow:hidden}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
.container{width:min(1520px, calc(100% - 64px));margin:0 auto}
.section-pad{padding:112px 0}
.noise{
  position:fixed;inset:0;pointer-events:none;z-index:100;opacity:.03;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E")
}
.site-header{
  position:fixed;top:0;left:0;width:100%;z-index:90;
  background:rgba(5,15,27,.68);backdrop-filter:blur(16px);
  border-bottom:1px solid rgba(255,255,255,.08);transition:.3s
}
.site-header.scrolled{background:rgba(5,15,27,.94)}
.nav-wrap{height:78px;display:flex;align-items:center;gap:36px;color:white}
.brand{display:inline-flex;align-items:center;gap:10px;font-family:Manrope,sans-serif}
.brand-mark{
  width:34px;height:34px;display:grid;place-items:center;border-radius:10px;
  background:linear-gradient(135deg,var(--primary),var(--primary2));
  color:#04121f;font-weight:900;box-shadow:0 10px 26px rgba(34,211,238,.25)
}
.brand-name{font-weight:800;letter-spacing:.12em}
.nav{display:flex;gap:28px;margin-left:auto}
.nav a{font-size:14px;color:#cbd7e5;transition:.2s}
.nav a:hover{color:white}
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  border-radius:14px;padding:14px 20px;font-weight:700;border:1px solid transparent;
  transition:transform .2s,box-shadow .2s,background .2s
}
.btn:hover{transform:translateY(-2px)}
.btn-small{padding:10px 15px;font-size:13px}
.btn-outline{border-color:rgba(255,255,255,.2);color:white;background:rgba(255,255,255,.04)}
.btn-primary{
  color:#04131f;background:linear-gradient(135deg,var(--primary),#58e1a9);
  box-shadow:0 18px 45px rgba(34,211,238,.2)
}
.btn-ghost{color:#dce8f5;background:rgba(255,255,255,.05);border-color:rgba(255,255,255,.1)}
.btn-light{background:white;color:#0a1725}
.menu-btn{display:none;margin-left:auto;background:none;border:0;padding:10px}
.menu-btn span{display:block;width:24px;height:2px;background:white;margin:5px 0}

.hero{
  position:relative;min-height:100svh;padding-top:150px!important;
  color:white;background:
    radial-gradient(circle at 12% 20%,rgba(43,129,255,.18),transparent 28%),
    linear-gradient(180deg,#06111d 0%,#081827 100%);
  overflow:hidden
}
.hero:before{
  content:"";position:absolute;inset:0;opacity:.22;
  background-image:linear-gradient(rgba(255,255,255,.04) 1px,transparent 1px),
  linear-gradient(90deg,rgba(255,255,255,.04) 1px,transparent 1px);
  background-size:48px 48px;
  mask-image:linear-gradient(to bottom,black,transparent 85%)
}
.hero-watermark{position:absolute;right:-20px;top:86px;width:min(42vw,520px);height:auto;z-index:1;pointer-events:none;opacity:.9;filter:drop-shadow(0 0 22px rgba(34,211,238,.05))}

.orb{position:absolute;border-radius:50%;filter:blur(20px);opacity:.7}
.orb-a{width:420px;height:420px;background:rgba(34,211,238,.08);right:8%;top:14%}
.orb-b{width:320px;height:320px;background:rgba(59,130,246,.12);left:38%;bottom:3%}
.hero-grid{position:relative;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);gap:72px;align-items:center;z-index:2}
.eyebrow{font-size:12px;font-weight:800;letter-spacing:.18em;color:#21cbe6;margin-bottom:18px}
.hero h1,.section-heading h2,.impact h2,.contact h2,.cta-band h2{
  font-family:Manrope,sans-serif;letter-spacing:-.045em;margin:0
}
.hero h1{font-size:clamp(52px,6vw,78px);line-height:.98;max-width:750px}
.hero h1 span{background:linear-gradient(90deg,#67e8f9,#60a5fa,#c4b5fd);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero-sub{font-size:18px;line-height:1.7;color:#aebed0;max-width:660px;margin:28px 0 32px}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:42px;padding-top:26px;border-top:1px solid var(--line)}
.trust-row div{display:flex;flex-direction:column;gap:5px}
.trust-row strong{font-size:13px;color:white}
.trust-row span{font-size:11px;line-height:1.5;color:#7f93aa}

.dashboard-shell{
  border:1px solid rgba(255,255,255,.1);border-radius:28px;overflow:hidden;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  box-shadow:0 50px 100px rgba(0,0,0,.36);backdrop-filter:blur(16px);
  transform:perspective(1200px) rotateY(-5deg) rotateX(2deg)
}
.dash-top{height:58px;padding:0 16px;display:flex;align-items:center;border-bottom:1px solid rgba(255,255,255,.08);gap:16px}
.traffic{display:flex;gap:5px}.traffic i{width:7px;height:7px;background:#405064;border-radius:50%}.traffic i:first-child{background:#24d6b1}
.dash-title{font-size:11px;color:#91a4b9;margin-right:auto}
.status{font-size:10px;color:#93a7bd}.status span{display:inline-block;width:7px;height:7px;border-radius:50%;background:#59f2b1;margin-right:5px;box-shadow:0 0 0 5px rgba(89,242,177,.08)}
.dash-grid{padding:14px;display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.metric-card,.flow-card,.chart-card{
  background:rgba(6,17,29,.75);border:1px solid rgba(255,255,255,.08);border-radius:16px;padding:16px
}
.metric-card{min-height:118px}.metric-card span{display:block;font-size:10px;color:#7f93aa}.metric-card strong{display:block;font-size:29px;margin:16px 0 7px}.metric-card small{font-size:9px;color:#668097}
.metric-card.emphasis{background:linear-gradient(135deg,rgba(34,211,238,.12),rgba(59,130,246,.08))}
.flow-card{grid-column:span 2;min-height:240px}
.flow-head{display:flex;justify-content:space-between;color:#8ca0b6;font-size:10px}.flow-head b{color:#56efad}
.flow{padding:30px 0 0;display:flex;flex-direction:column;gap:9px}
.node{display:flex;align-items:center;gap:11px;padding:12px;border-radius:12px;background:rgba(255,255,255,.03);border:1px solid rgba(255,255,255,.06)}
.node.active{border-color:rgba(34,211,238,.4);box-shadow:inset 0 0 30px rgba(34,211,238,.04)}
.node-icon{width:28px;height:28px;border-radius:8px;display:grid;place-items:center;background:#10253a;color:#61d9e9;font-size:9px;font-weight:800}
.node strong{display:block;font-size:11px}.node small{font-size:9px;color:#748aa0}
.connector{width:1px;height:8px;background:#2c4961;margin:-1px 0 -1px 26px}
.chart-card{display:flex;flex-direction:column;justify-content:space-between}
.chart-copy span{font-size:10px;color:#7f93aa;display:block}.chart-copy strong{font-size:34px;display:block;margin-top:10px}
.bars{height:120px;display:flex;align-items:end;gap:7px}.bars i{flex:1;background:#1a354b;border-radius:5px 5px 2px 2px}.bars .hot{background:linear-gradient(180deg,#56efad,#22d3ee)}


.tech-stack-section{padding:72px 0 78px;background:linear-gradient(180deg,#f7fafc 0%,#edf3f8 100%);border-bottom:1px solid #dce5ee}
.stack-heading{display:grid;grid-template-columns:1.2fr .8fr;gap:56px;align-items:end;margin-bottom:34px}
.stack-heading h2{font-family:Manrope,sans-serif;font-size:clamp(30px,3.4vw,45px);line-height:1.1;letter-spacing:-.04em;margin:0}
.stack-heading h2 span{color:#6f7e8f}
.stack-heading p{margin:0;color:#687a8e;line-height:1.7;font-size:14px}
.tech-logo-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}
.tech-logo-card{min-height:150px;background:rgba(255,255,255,.96);border:1px solid #dbe4ed;border-radius:18px;padding:18px 16px;display:flex;flex-direction:column;align-items:center;justify-content:center;box-shadow:0 10px 30px rgba(20,46,75,.04);transition:.25s;overflow:hidden}
.tech-logo-card:hover{transform:translateY(-4px);border-color:#b9d9e3;box-shadow:0 18px 40px rgba(20,46,75,.09)}
.tech-logo-wrap{height:98px;max-width:180px;width:100%;display:flex;align-items:center;justify-content:center}
.tech-logo-wrap img{display:block;max-height:84px;max-width:170px;width:auto;height:auto;object-fit:contain}
.tech-logo-wrap img.wide-logo{max-width:170px;max-height:72px}
.tech-logo-wrap img.tall-logo{max-height:92px;max-width:140px}
.tech-logo-wrap img.compact-logo{max-height:68px;max-width:136px}
.tech-fallback{display:none;min-width:42px;height:42px;padding:0 9px;border-radius:10px;background:#0c2135;color:#62e4f0;align-items:center;justify-content:center;font-size:11px;font-weight:800;letter-spacing:.05em}

.section-heading{display:grid;grid-template-columns:1.25fr .75fr;gap:60px;align-items:end;margin-bottom:48px}
.section-heading h2,.impact h2,.contact h2{font-size:clamp(38px,4.3vw,58px);line-height:1.08}
.section-heading h2 span,.impact h2 span{color:#6f7e8f}
.section-heading p{color:#67778a;line-height:1.7;margin:0}

.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.services-grid-four{grid-template-columns:repeat(2,1fr)}
.service-card{
  position:relative;min-height:420px;padding:30px;border-radius:24px;
  background:white;border:1px solid #dfe7f0;display:flex;flex-direction:column;
  box-shadow:0 12px 40px rgba(30,54,82,.05);transition:.25s
}
.service-card:hover{transform:translateY(-6px);box-shadow:0 24px 50px rgba(30,54,82,.10);border-color:#c8d5e3}
.service-card.featured{background:linear-gradient(160deg,#eefcff,#eef4ff);border-color:#bde9ef}
.service-card.dark{background:#0a1725;color:white;border-color:#0a1725}
.card-num{position:absolute;right:24px;top:24px;font-size:11px;color:#9ba9b8;font-weight:800}
.service-icon{
  width:50px;height:50px;border-radius:14px;background:#0b1f32;color:#67e8f9;display:grid;place-items:center;font-size:12px;font-weight:800;letter-spacing:.08em;margin-bottom:26px
}
.service-icon.wide{
  width:auto;
  min-height:44px;
  padding:0 14px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  letter-spacing:.12em;
}
.service-card.dark .service-icon{background:#12334a}
.service-card h3{font-family:Manrope,sans-serif;font-size:23px;margin:0 0 14px}
.service-card p{color:#67778a;line-height:1.65;margin:0 0 18px;font-size:14px}
.service-card.dark p{color:#9eb0c2}
.service-card ul{padding:0;margin:0 0 22px;list-style:none}
.service-card li{font-size:12px;color:#4e6074;padding:7px 0;border-bottom:1px solid #edf1f5}
.service-card.dark li{color:#aebdcb;border-color:rgba(255,255,255,.08)}
.service-card li:before{content:"•";color:#16bcd3;margin-right:8px}
.service-card a{margin-top:auto;color:#0b6f80;font-weight:800;font-size:12px}
.service-card.dark a{color:#6de3ef}



.impact{background:#eaf0f7}
.impact-grid{display:grid;grid-template-columns:1fr .9fr;gap:70px;align-items:center}
.impact-copy p{color:#617286;line-height:1.8;max-width:610px}
.bullet-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin-top:30px}
.bullet-grid div{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.7);border:1px solid #d8e2ec;padding:13px 15px;border-radius:13px}
.bullet-grid b{color:#13a7bd;font-size:11px}.bullet-grid span{font-size:13px;font-weight:700}
.impact-panel{background:#071522;color:white;border-radius:26px;padding:30px;box-shadow:var(--shadow)}
.impact-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:20px;margin-bottom:26px}
.impact-top span{color:#8fa3b8;font-size:13px}.impact-top strong{color:#62efb0;font-size:12px;letter-spacing:.12em}
.impact-row{margin:20px 0}.impact-row>div:first-child{display:flex;justify-content:space-between;font-size:12px;color:#93a7bb;margin-bottom:9px}.impact-row strong{color:white}
.meter{height:9px;background:#14283b;border-radius:99px;overflow:hidden}.meter i{display:block;height:100%;background:#51677a}.meter.green i{background:linear-gradient(90deg,#54efae,#22d3ee)}
.impact-footer{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:30px}
.impact-footer div{padding:18px;border:1px solid var(--line);border-radius:14px}.impact-footer strong{display:block;font-size:19px}.impact-footer span{font-size:10px;color:#8599ae}
.impact-points div{transition:transform .25s, box-shadow .25s, border-color .25s, background .25s}
.impact-points div.active{border-color:#9de8ef;background:linear-gradient(180deg,#ffffff,#f5fbff);box-shadow:0 10px 24px rgba(33,196,220,.10);transform:translateY(-2px)}
.impact-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0 0 24px}
.impact-kpi{padding:16px 16px 14px;border-radius:16px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.04);position:relative;overflow:hidden}
.impact-kpi.glow:before{content:"";position:absolute;inset:-40% auto auto -20%;width:120px;height:120px;background:radial-gradient(circle,rgba(86,239,173,.22),transparent 70%);pointer-events:none}
.impact-kpi small{display:block;font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:#83a0b6;margin-bottom:8px}
.impact-kpi strong{display:block;font-size:28px;line-height:1;color:#fff;margin-bottom:6px}
.impact-kpi span{font-size:10px;color:#8ea4b9}
.impact-live-chart{margin:26px 0 8px;padding:16px;border-radius:18px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.035)}
.impact-chart-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.impact-chart-head span{font-size:11px;color:#8ea4b9}
.impact-chart-head b{font-size:12px;color:#56efad;letter-spacing:.08em}
.impact-chart-body{position:relative;height:148px;padding-top:10px;padding-bottom:26px}
.impact-bars{position:absolute;left:0;right:0;bottom:0;height:126px;display:flex;align-items:flex-end;gap:10px}
.impact-bar-group{flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:stretch;gap:8px;min-width:0}.impact-bars i{display:block;width:100%;border-radius:8px 8px 3px 3px;background:linear-gradient(180deg,rgba(72,208,255,.15),rgba(86,239,173,.85));box-shadow:0 0 20px rgba(86,239,173,.08);height:20%}.impact-bar-group span{display:block;text-align:center;font-size:9px;line-height:1.2;color:#90a4b9;letter-spacing:.04em;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.impact-line{position:absolute;left:0;right:0;top:0;bottom:28px;width:100%;height:auto}
.impact-line polyline{fill:none;stroke:#69dff0;stroke-width:3;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 0 6px rgba(105,223,240,.32))}
.impact-footer strong.impact-247,.impact-footer strong.impact-scale{font-size:19px}


.use-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.use-card{padding:22px;border-radius:22px;background:white;border:1px solid #dde6ef;min-height:255px;position:relative;overflow:hidden;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease;background-image:radial-gradient(circle at 90% 8%,rgba(34,211,238,.055),transparent 32%)}
.use-card:hover,.use-card.active,.use-card:focus-visible{transform:translateY(-6px);border-color:#b7dce5;box-shadow:0 20px 45px rgba(20,46,75,.10);outline:none}
.use-card>span{display:block;font-size:10px;font-weight:800;letter-spacing:.13em;color:#16a6bc;margin-top:18px;text-transform:uppercase}
.use-card h3{font-family:Manrope,sans-serif;font-size:18px;line-height:1.3;margin:10px 0 10px}
.use-card p{font-size:12px;line-height:1.62;color:#718195;margin:0}
.area-icon{width:54px;height:54px;border-radius:16px;background:linear-gradient(145deg,#0a1d30,#123c59);display:grid;place-items:center;color:#64e4ee;box-shadow:0 12px 26px rgba(9,31,52,.13);transition:transform .3s ease,box-shadow .3s ease}
.area-icon svg{width:32px;height:32px;overflow:visible}
.area-icon svg *{stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.area-card:hover .area-icon,.area-card.active .area-icon,.area-card:focus-visible .area-icon{transform:scale(1.06);box-shadow:0 14px 30px rgba(34,211,238,.20)}
.area-card:hover .icon-line,.area-card.active .icon-line,.area-card:hover .sales-line,.area-card.active .sales-line{stroke-dasharray:60;stroke-dashoffset:60;animation:draw-area-line .9s ease forwards}
.area-card:hover .wheel,.area-card.active .wheel,.area-card:hover .cart-wheel,.area-card.active .cart-wheel,.area-card:hover .roller,.area-card.active .roller{animation:area-roll .8s linear infinite;transform-box:fill-box;transform-origin:center}
.area-card:hover .calc-key,.area-card.active .calc-key{animation:area-key .8s ease infinite alternate}
.area-card:hover .calc-key:nth-of-type(2),.area-card.active .calc-key:nth-of-type(2){animation-delay:.12s}.area-card:hover .calc-key:nth-of-type(3),.area-card.active .calc-key:nth-of-type(3){animation-delay:.24s}.area-card:hover .calc-key:nth-of-type(4),.area-card.active .calc-key:nth-of-type(4){animation-delay:.36s}
.area-card:hover .cart-plus,.area-card.active .cart-plus,.area-card:hover .incoming,.area-card.active .incoming,.area-card:hover .pay-arrow,.area-card.active .pay-arrow{animation:area-shift .8s ease-in-out infinite alternate}
.area-card:hover .coin,.area-card.active .coin{animation:area-pulse 1s ease-in-out infinite}
.area-card:hover .box.b2,.area-card.active .box.b2{animation:area-float 1s ease-in-out infinite alternate}
.area-card:hover .chat-dot,.area-card.active .chat-dot{animation:area-dot .9s ease-in-out infinite}.area-card:hover .chat-dot.d2,.area-card.active .chat-dot.d2{animation-delay:.15s}.area-card:hover .chat-dot.d3,.area-card.active .chat-dot.d3{animation-delay:.3s}
.area-card:hover .gear,.area-card.active .gear,.area-card:hover .gear-teeth,.area-card.active .gear-teeth{animation:area-spin 2s linear infinite;transform-box:fill-box;transform-origin:center}
@keyframes draw-area-line{to{stroke-dashoffset:0}}
@keyframes area-roll{to{transform:rotate(360deg)}}
@keyframes area-key{from{opacity:.45}to{opacity:1}}
@keyframes area-shift{from{transform:translateX(-1px)}to{transform:translateX(3px)}}
@keyframes area-pulse{50%{transform:scale(1.06)}}
@keyframes area-float{to{transform:translateY(-3px)}}
@keyframes area-dot{0%,100%{opacity:.25}50%{opacity:1}}
@keyframes area-spin{to{transform:rotate(360deg)}}

.process{background:#071522;color:white}
.section-heading.light p{color:#8fa3b8}
.process-line{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;position:relative}
.step{padding:26px 22px;border:1px solid rgba(255,255,255,.09);background:rgba(255,255,255,.03);border-radius:18px;min-height:230px}
.step-num{color:#62e4f0;font-size:11px;font-weight:800;margin-bottom:50px}
.step h3{font-family:Manrope,sans-serif;margin:0 0 12px}
.step p{font-size:12px;line-height:1.7;color:#93a7bb}

.case-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.case-card{padding:26px;border-radius:24px;background:#0a1725;color:white;min-height:330px;display:flex;flex-direction:column}
.case-tag{font-size:10px;font-weight:800;letter-spacing:.14em;color:#64ddea}
.case-card h3{font-family:Manrope,sans-serif;font-size:22px;line-height:1.28;margin:34px 0 16px}
.case-card p{color:#9fb0c1;font-size:13px;line-height:1.7}
.case-meta{margin-top:auto;display:flex;gap:7px;flex-wrap:wrap}.case-meta span{padding:7px 9px;background:rgba(255,255,255,.06);border-radius:8px;font-size:9px;color:#a9bac9}

.cta-band{padding:62px 0;background:linear-gradient(110deg,#0f89ae,#13b79f)}
.cta-inner{display:grid;grid-template-columns:1fr auto;gap:40px;align-items:center;color:white}
.cta-inner .eyebrow{color:#d8fff7;margin-bottom:10px}
.cta-band h2{font-size:clamp(30px,3.4vw,46px);max-width:850px;line-height:1.13}

.contact{background:#f9fbfd}
.contact-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:80px}
.contact-copy>p{color:#697b8f;line-height:1.8}
.contact-points{margin-top:28px;display:flex;flex-direction:column;gap:12px}
.contact-points div{display:flex;gap:12px;align-items:start}.contact-points span{font-size:10px;font-weight:800;color:#12a9bf;margin-top:3px}.contact-points p{font-size:13px;margin:0;color:#526479}
.contact-form{background:white;border:1px solid #dce5ef;border-radius:24px;padding:28px;box-shadow:0 20px 55px rgba(37,58,85,.07)}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.contact-form label{display:block;font-size:11px;font-weight:800;color:#35465a;margin-bottom:16px}
.contact-form input,.contact-form select,.contact-form textarea{
  width:100%;margin-top:8px;border:1px solid #dbe4ed;background:#f9fbfd;border-radius:12px;
  padding:13px 14px;color:#0f1f30;outline:none;transition:.2s
}
.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#41bed0;box-shadow:0 0 0 4px rgba(65,190,208,.1)}
.full{width:100%;border:0;cursor:pointer}
.form-note{text-align:center;color:#8997a7;font-size:10px;margin:12px 0 0}

.footer{background:#05101b;color:white;padding:60px 0 24px}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.2fr;gap:50px}
.footer-brand{margin-bottom:18px}.footer-grid p{color:#8094a8;font-size:12px;line-height:1.7;max-width:330px}
.footer-grid>div{display:flex;flex-direction:column;gap:10px}.footer-grid strong{font-size:11px;letter-spacing:.11em;color:#c9d6e3;margin-bottom:5px}.footer-grid a,.footer-grid span{font-size:11px;color:#7f93a8}
.footer-bottom{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:22px;margin-top:44px;color:#61788f;font-size:10px}

.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s ease,transform .7s ease}
.reveal.show{opacity:1;transform:none}
.delay-1{transition-delay:.08s}.delay-2{transition-delay:.16s}.delay-3{transition-delay:.24s}


@media(max-width:1400px){
  .case-grid{grid-template-columns:1fr 1fr;}
  .case-demo-frame{width:min(282px,100%);}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr);}
  .tech-logo-card{min-height:138px;}
  .tech-logo-wrap{height:88px;max-width:160px;}
  .tech-logo-wrap img{max-height:76px;max-width:150px;}

  .container{width:calc(100% - 40px);}
  .nav,.nav-wrap>.btn{display:none}
  .menu-btn{display:block}
  .nav.open{
    display:flex;position:fixed;top:78px;left:0;right:0;height:calc(100vh - 78px);
    flex-direction:column;background:#06111d;padding:40px;gap:26px
  }
  .nav.open a{font-size:24px}
  .hero-grid,.impact-grid,.contact-grid{grid-template-columns:1fr}
  .dashboard-shell{transform:none}
  .services-grid,.use-grid,.case-grid{grid-template-columns:1fr 1fr}
  .services-grid-four{grid-template-columns:1fr 1fr}
  .process-line{grid-template-columns:1fr 1fr}
  .tech-logo-grid{grid-template-columns:repeat(3,1fr)}
  .stack-heading{grid-template-columns:1fr;gap:16px}
  .section-heading{grid-template-columns:1fr;gap:18px}
  .footer-grid{grid-template-columns:2fr 1fr 1fr}
  .footer-grid>div:last-child{grid-column:1/-1}
  .hero-watermark{right:-70px;top:150px;width:min(60vw,470px);opacity:.26}
}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}

  .container{width:calc(100% - 28px)}
  .section-pad{padding:78px 0}
  .hero{padding-top:135px!important;min-height:auto}
  .hero h1{font-size:46px}
  .hero-sub{font-size:16px}
  .trust-row{grid-template-columns:1fr}
  .services-grid,.services-grid-four,.use-grid,.case-grid,.process-line{grid-template-columns:1fr}
  .tech-logo-grid{grid-template-columns:1fr 1fr}
  .dash-grid{grid-template-columns:1fr 1fr}.metric-card:nth-child(3){grid-column:1/-1}.flow-card{grid-column:1/-1}.chart-card{grid-column:1/-1}
  .bullet-grid,.impact-footer,.form-row{grid-template-columns:1fr}
  .cta-inner{grid-template-columns:1fr}
  .footer-grid{grid-template-columns:1fr 1fr}
  .footer-grid>div:first-child,.footer-grid>div:last-child{grid-column:1/-1}
  .footer-bottom{flex-direction:column;gap:8px}
  .hero-watermark{right:-110px;top:185px;width:82vw;opacity:.18}
  .service-icon.wide{
    font-size:10px;
    line-height:1.2;
    text-align:center;
    min-height:46px;
  }
}

/* v5: IA watermark sin texto + logos locales */
.hero-ai-network{right:-30px;top:95px;width:min(43vw,540px);opacity:.78;mix-blend-mode:screen;filter:blur(.05px) drop-shadow(0 0 26px rgba(34,211,238,.07))}
.hero-ai-network svg{width:100%;height:auto;display:block}
.tech-logo-wrap img{display:block;max-width:100%;max-height:64px;object-fit:contain}
.tech-logo-card .tech-logo-wrap{min-height:72px;display:flex;align-items:center;justify-content:center}
.tech-logo-card img[src$="n8n.png"]{max-height:66px;border-radius:10px}
.tech-logo-card img[src$="claude.webp"],.tech-logo-card img[src$="copilot.webp"],.tech-logo-card img[src$="gemini.webp"]{max-height:54px}

@media(max-width:1400px){
  .case-grid{grid-template-columns:1fr 1fr;}
  .case-demo-frame{width:min(282px,100%);}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr);}
  .tech-logo-card{min-height:138px;}
  .tech-logo-wrap{height:88px;max-width:160px;}
  .tech-logo-wrap img{max-height:76px;max-width:150px;}

  .container{width:calc(100% - 40px);}.hero-ai-network{right:-85px;top:150px;width:min(60vw,460px);opacity:.55}}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}
.hero-ai-network{right:-130px;top:170px;width:92vw;opacity:.34}}


@media(min-width: 1440px){
  .container{width:min(1680px, calc(100% - 80px));}
  .hero-grid{gap:88px;}
  .hero-copy{max-width:780px;}
  .hero-visual{display:flex;justify-content:flex-end;}
  .dashboard-shell{width:min(100%, 760px);}
}



/* Interactive service demos */
.service-card{min-height:620px}
.service-demo{position:relative;margin:6px 0 20px;padding:15px 16px 13px;border:1px solid #d9e5ef;border-radius:18px;background:linear-gradient(180deg,#f8fcff,#f1f7fb);overflow:hidden;min-height:178px}
.service-card.featured .service-demo{background:linear-gradient(180deg,rgba(255,255,255,.76),rgba(235,248,252,.78));border-color:#c9e7ec}
.service-card.dark .service-demo{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.025));border-color:rgba(255,255,255,.10)}
.demo-top,.demo-status{display:flex;align-items:center;justify-content:space-between;gap:12px}
.demo-top{font-size:9px;font-weight:800;letter-spacing:.08em;color:#607487;text-transform:uppercase;margin-bottom:15px}
.service-card.dark .demo-top{color:#92a9bc}
.demo-top b{font-size:8px;color:#0aa6bb;display:flex;align-items:center;gap:6px;white-space:nowrap}
.demo-top b i{width:6px;height:6px;border-radius:50%;background:#2adfb8;box-shadow:0 0 0 4px rgba(42,223,184,.10)}
.demo-status{padding-top:10px;margin-top:10px;border-top:1px solid #deE8f0;font-size:9px;color:#708398}
.service-card.dark .demo-status{border-color:rgba(255,255,255,.08);color:#88a0b5}
.demo-status strong{font-size:9px;color:#0d7888}
.service-card.dark .demo-status strong{color:#62e4f0}

/* RPA */
.rpa-flowline{padding:8px 4px 0}
.rpa-track{height:4px;background:#dce9f1;border-radius:99px;position:relative;margin:15px 25px 0;overflow:visible}
.rpa-progress{position:absolute;inset:0 auto 0 0;width:0%;border-radius:99px;background:linear-gradient(90deg,#20c9df,#45e6a7);transition:width .65s ease}
.rpa-packet{position:absolute;top:50%;left:0%;width:11px;height:11px;border-radius:50%;background:#fff;border:3px solid #20c9df;box-shadow:0 0 0 5px rgba(32,201,223,.11);transform:translate(-50%,-50%);transition:left .65s ease}
.rpa-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;margin-top:-11px;position:relative}
.rpa-step{text-align:center;color:#93a4b5;transition:.35s}
.rpa-step span{display:grid;place-items:center;width:26px;height:26px;margin:0 auto 7px;border-radius:9px;background:#edf4f8;border:1px solid #d7e3eb;font-size:8px;font-weight:800;position:relative;z-index:2;transition:.35s}
.rpa-step small{display:block;font-size:8px;font-weight:700;white-space:nowrap}
.rpa-step.active{color:#0f6474}.rpa-step.active span{background:#08243a;color:#59e5f2;border-color:#1b8da0;box-shadow:0 8px 20px rgba(18,160,181,.12)}

/* AI agent */
.chat-window{display:flex;flex-direction:column;gap:9px;min-height:99px}
.chat-row{display:flex;align-items:flex-end;gap:7px}.chat-row.client{justify-content:flex-start}.chat-row.agent{justify-content:flex-end;flex-direction:row-reverse}
.chat-avatar{width:25px;height:25px;flex:0 0 25px;display:grid;place-items:center;border-radius:9px;background:#dfeaf2;color:#50667a;font-size:8px;font-weight:900}
.ai-mark{background:#08243a;color:#5be3ef}
.chat-bubble{max-width:77%;padding:9px 11px;border-radius:12px;font-size:9px;line-height:1.42;color:#455b70;background:white;border:1px solid #dce6ef;min-height:34px}
.agent-bubble{color:#0e6370;background:#ecfbfc;border-color:#bfe8ec}
.typing-dots{display:inline-flex;gap:3px;align-items:center;height:13px}.typing-dots i{width:4px;height:4px;border-radius:50%;background:#3b9bab;animation:typingBounce .9s infinite alternate}.typing-dots i:nth-child(2){animation-delay:.15s}.typing-dots i:nth-child(3){animation-delay:.3s}
.typing-dots.hidden{display:none}
@keyframes typingBounce{to{transform:translateY(-4px);opacity:.45}}

/* BI */
.bi-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-bottom:10px}.bi-kpis div{padding:8px 9px;border-radius:10px;background:white;border:1px solid #e0e9f0}.bi-kpis small{display:block;font-size:7px;color:#8394a5}.bi-kpis strong{display:block;font-size:11px;color:#13283a;margin-top:4px;transition:.35s}
.bi-chart-wrap{height:70px;position:relative;padding:3px 6px 0;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.05));border-radius:10px;overflow:hidden}
.bi-bars{position:absolute;inset:7px 8px 6px;display:flex;align-items:flex-end;gap:6px}.bi-bars i{flex:1;min-width:5px;border-radius:4px 4px 1px 1px;background:linear-gradient(180deg,#54dbe9,#2f79bf);opacity:.45;transition:height .7s cubic-bezier(.2,.8,.2,1)}
.bi-line{position:absolute;inset:8px;width:calc(100% - 16px);height:calc(100% - 16px);overflow:visible}.bi-line polyline{fill:none;stroke:#16a6bc;stroke-width:4;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke;transition:.7s ease;filter:drop-shadow(0 4px 6px rgba(22,166,188,.15))}

/* Low code */
.app-shell{display:grid;grid-template-columns:1fr 1fr;gap:8px}.app-field{min-width:0}.app-field label{display:block;margin:0 0 5px!important;font-size:7px!important;color:#8ea3b7!important}.fake-input,.fake-select{height:31px;border:1px solid rgba(255,255,255,.11);background:rgba(255,255,255,.055);border-radius:9px;padding:8px 9px;color:#dcebf5;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fake-input{display:flex;align-items:center}.field-cursor{display:inline-block;width:1px;height:12px;background:#5ee8f1;margin-left:2px;animation:cursorBlink .7s steps(1) infinite}.app-field-row{grid-column:1/-1;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:end}.fake-submit{height:31px;border:0;border-radius:9px;padding:0 13px;background:linear-gradient(135deg,#24cadf,#57e4aa);color:#052033;font-size:8px;font-weight:900;pointer-events:none;transition:.3s}.fake-submit.saving{transform:scale(.97);opacity:.7}.app-feedback{grid-column:1/-1;display:flex;align-items:center;gap:7px;min-height:24px;padding:5px 7px;border-radius:8px;background:rgba(89,242,177,.06);color:#91abc0;font-size:8px}.feedback-icon{width:16px;height:16px;border-radius:50%;display:grid;place-items:center;background:rgba(89,242,177,.12);color:#5af0af;font-weight:900;opacity:.35;transition:.3s}.app-feedback.success .feedback-icon{opacity:1}.app-feedback.success{color:#81e9b7}
@keyframes cursorBlink{50%{opacity:0}}


@media(max-width:1400px){
  .case-grid{grid-template-columns:1fr 1fr;}
  .case-demo-frame{width:min(282px,100%);}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr);}
  .tech-logo-card{min-height:138px;}
  .tech-logo-wrap{height:88px;max-width:160px;}
  .tech-logo-wrap img{max-height:76px;max-width:150px;}
.service-card{min-height:600px}}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}
.service-card{min-height:auto}.service-demo{min-height:172px}.rpa-step small{font-size:7px}.bi-kpis strong{font-size:10px}.chat-bubble{max-width:82%}}
@media(prefers-reduced-motion:reduce){.typing-dots i,.field-cursor{animation:none}.rpa-progress,.rpa-packet,.rpa-step,.bi-bars i,.bi-line polyline{transition:none}}





/* v10: cuatro servicios en una sola línea en desktop */
#servicios .services-grid-four{
  width:100%;
  max-width:100%;
  margin-left:auto;
  margin-right:auto;
  gap:20px;
  grid-template-columns:repeat(4,minmax(0,1fr));
  align-items:stretch;
}
#servicios .service-card{
  min-width:0;
  min-height:640px;
  padding:22px;
}
#servicios .service-icon.wide{
  min-height:40px;
  padding:0 12px;
  font-size:10px;
  letter-spacing:.10em;
}
#servicios .service-card h3{font-size:18px;margin:0 0 10px}
#servicios .service-card p{font-size:13px;line-height:1.55;margin:0 0 14px}
#servicios .service-demo{min-height:160px;padding:13px 14px 12px;margin:6px 0 16px}
#servicios .service-card ul{margin:0 0 16px}
#servicios .service-card li{font-size:11px;padding:6px 0}
#servicios .service-card a{font-size:11px}

@media(max-width:1400px){
  #servicios .services-grid-four{grid-template-columns:repeat(2,minmax(0,1fr)); width:min(100%,1180px);}
  #servicios .service-card{min-height:600px; padding:26px;}
  #servicios .service-card h3{font-size:22px}
  #servicios .service-card p{font-size:14px}
  #servicios .service-card li{font-size:12px}
}

@media(max-width:1400px){
  .case-grid{grid-template-columns:1fr 1fr;}
  .case-demo-frame{width:min(282px,100%);}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr);}
  .tech-logo-card{min-height:138px;}
  .tech-logo-wrap{height:88px;max-width:160px;}
  .tech-logo-wrap img{max-height:76px;max-width:150px;}

  #servicios .services-grid-four{grid-template-columns:repeat(2,minmax(0,1fr)); width:100%;}
  #servicios .service-card{min-height:600px;}
}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}

  #servicios .services-grid-four{grid-template-columns:1fr; width:100%;}
  #servicios .service-card{min-height:auto; padding:22px;}
}


@media(max-width:1400px){
  .case-grid{grid-template-columns:1fr 1fr;}
  .case-demo-frame{width:min(282px,100%);}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr);}
  .tech-logo-card{min-height:138px;}
  .tech-logo-wrap{height:88px;max-width:160px;}
  .tech-logo-wrap img{max-height:76px;max-width:150px;}

  .impact-kpis{grid-template-columns:1fr 1fr 1fr}
}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}

  .impact-kpis{grid-template-columns:1fr;}
  .impact-kpi strong{font-size:24px}
  .impact-live-chart{padding:14px}
  .impact-chart-body{height:108px}
}


/* v13 official QHUB branding + guaranteed raster stack logos */
.brand-official{display:inline-flex;align-items:center;min-width:0}
.brand-official img{display:block;width:210px;max-height:56px;object-fit:contain;object-position:left center;background:transparent!important;border:0!important;padding:0!important}
.site-header .brand-official img{filter:none}
.tech-logo-wrap{width:100%;height:70px;max-width:190px}
.tech-logo-wrap img,.tech-logo-wrap img.wide-logo{display:block!important;opacity:1!important;visibility:visible!important;max-height:62px;max-width:172px;width:auto;height:auto;object-fit:contain}
.tech-logo-card{min-height:142px}
.tech-fallback{display:none!important}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr);gap:12px;}
  .tech-logo-card{min-height:124px;padding:14px 12px;}
  .tech-logo-wrap{height:74px;max-width:132px;}
  .tech-logo-wrap img{max-height:62px;max-width:124px;}

  .brand-official img{width:150px;max-height:46px}
  .tech-logo-wrap{height:58px}
  .tech-logo-wrap img,.tech-logo-wrap img.wide-logo{max-height:50px;max-width:138px}
}


.contact-direct{display:grid;grid-template-columns:1fr;gap:14px;margin-top:40px}
.contact-direct-card{display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:18px;border:1px solid #dce6ef;background:rgba(255,255,255,.88);box-shadow:0 10px 24px rgba(20,46,75,.05);transition:transform .25s, box-shadow .25s, border-color .25s;color:inherit;text-decoration:none}
.contact-direct-card:hover{transform:translateY(-3px);border-color:#b9d9e3;box-shadow:0 16px 36px rgba(20,46,75,.10)}
.contact-direct-icon{width:48px;height:48px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#0d2238,#12365a);color:#5eeaf2;flex:0 0 48px;box-shadow:inset 0 1px 0 rgba(255,255,255,.08)}
.contact-direct-icon svg{width:24px;height:24px;display:block}
.contact-direct-card small{display:block;font-size:11px;letter-spacing:.08em;text-transform:uppercase;color:#6e8094;margin-bottom:4px}
.contact-direct-card strong{display:block;font-size:16px;line-height:1.3;color:#0c1830}

@media(min-width: 981px){
  .contact-direct{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:680px){
  .contact-direct-card{padding:14px 15px;gap:12px}
  .contact-direct-icon{width:44px;height:44px;flex-basis:44px}
  .contact-direct-card strong{font-size:14px}
}


/* v16 brand + contact refinements */
.site-header .brand-official{padding:0;background:none;box-shadow:none}
.footer-brand-block{display:flex;flex-direction:column;gap:12px}
.footer-title{font-family:Manrope,sans-serif;font-size:26px;font-weight:800;letter-spacing:.12em;color:#f2f7fb;text-decoration:none}
.footer-brand-block p{color:#8094a8;font-size:12px;line-height:1.8;max-width:330px;margin:0}
.footer-contact-block{display:flex;flex-direction:column;gap:12px}
.footer-contact-block a,.footer-contact-block span{color:#a8bacb}
.footer-contact-block a,.footer-contact-block>span{display:flex;flex-direction:column;gap:3px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.05)}
.footer-contact-block a:last-of-type,.footer-contact-block>span:last-child{border-bottom:0}
.footer-contact-block span span,.footer-contact-block a span{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:#6de3ef}

.contact-direct{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:28px}
.contact-direct-card{align-items:flex-start;gap:15px;padding:18px 18px 16px;border-radius:20px;border:1px solid #d8e3ee;background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(248,251,255,.96));box-shadow:0 14px 34px rgba(20,46,75,.06);min-width:0}
.contact-direct-card:hover{transform:translateY(-4px);border-color:#b7dbe6;box-shadow:0 18px 40px rgba(20,46,75,.11)}
.contact-direct-icon{width:52px;height:52px;border-radius:16px;background:linear-gradient(135deg,#0d2238,#123c63);color:#6deaf2;flex:0 0 52px}
.contact-direct-card > div{min-width:0;display:flex;flex-direction:column;gap:4px}
.contact-direct-card small{display:block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#6d7f92;margin:0}
.contact-direct-card strong{display:block;font-size:15px;line-height:1.4;color:#0c1830;font-weight:800;overflow-wrap:anywhere;word-break:break-word}
.contact-direct-phone strong{font-size:16px;line-height:1.35}
.contact-direct-email strong{font-size:14px}
.contact-direct-location strong{font-size:15px}

@media(max-width:1200px){
  .contact-direct{grid-template-columns:1fr;gap:14px}
}
@media(max-width:680px){
  .brand-official img{width:176px;max-height:48px}
  .contact-direct-card{padding:16px 16px 14px}
  .contact-direct-icon{width:48px;height:48px;flex-basis:48px}
}


/* v17: áreas de aplicación */
@media(max-width:1400px){.area-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1100px){.area-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.area-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.use-card{min-height:235px;padding:20px}}
@media(max-width:520px){.area-grid{grid-template-columns:1fr}.use-card{min-height:auto}}
@media(prefers-reduced-motion:reduce){.area-card svg *{animation:none!important;transition:none!important}}


/* v19: contacto más ancho para textos en una línea */
.contact-direct{
  max-width:980px;
  margin:28px auto 0;
  display:grid;
  grid-template-columns:repeat(2,minmax(420px,1fr));
  gap:18px;
}
.contact-direct-card{
  min-width:0;
  padding:20px 20px 18px;
}
.contact-direct-card > div{min-width:0}
.contact-direct-card strong{
  white-space:nowrap;
  font-size:15px;
  line-height:1.25;
}
.contact-direct-phone strong{font-size:16px}
.contact-direct-email strong{font-size:14px}

@media(max-width:1200px){
  .contact-direct{
    max-width:900px;
    grid-template-columns:repeat(2,minmax(360px,1fr));
  }
}
@media(max-width:860px){
  .contact-direct{
    max-width:none;
    grid-template-columns:1fr;
  }
  .contact-direct-card strong{
    white-space:normal;
    overflow-wrap:anywhere;
  }
}


/* v20: hero dashboard more interactive and executive */
.dashboard-shell{
  --dash-accent:#5ce1e8;
  --dash-accent-2:#39bdf8;
  --dash-accent-soft:rgba(92,225,232,.16);
  position:relative;
}
.dashboard-shell:before{
  content:"";position:absolute;inset:-1px;border-radius:28px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.08),transparent 28%,rgba(255,255,255,.02) 60%,rgba(255,255,255,.08));
  mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite:exclude;-webkit-mask:linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite:xor;padding:1px;opacity:.7;
}
.dashboard-shell[data-dashboard-theme="cyan"]{--dash-accent:#67e8f9;--dash-accent-2:#3b82f6;--dash-accent-soft:rgba(103,232,249,.18)}
.dashboard-shell[data-dashboard-theme="teal"]{--dash-accent:#56efad;--dash-accent-2:#22d3ee;--dash-accent-soft:rgba(86,239,173,.18)}
.dashboard-shell[data-dashboard-theme="violet"]{--dash-accent:#a78bfa;--dash-accent-2:#60a5fa;--dash-accent-soft:rgba(167,139,250,.18)}
.dashboard-shell .metric-card,.dashboard-shell .flow-card,.dashboard-shell .chart-card{transition:background .55s,border-color .55s,box-shadow .55s,transform .3s}
.dashboard-shell .metric-card:hover,.dashboard-shell .flow-card:hover,.dashboard-shell .chart-card:hover{transform:translateY(-2px)}
.metric-card.emphasis{background:linear-gradient(135deg,var(--dash-accent-soft),rgba(59,130,246,.10))}
.metric-card strong,.chart-copy strong,.dash-kpi{letter-spacing:-.03em}
.flow-head b{display:inline-flex;align-items:center;gap:6px;color:var(--dash-accent)}
.flow-head b i{width:6px;height:6px;border-radius:50%;background:var(--dash-accent);box-shadow:0 0 0 5px color-mix(in srgb, var(--dash-accent) 18%, transparent)}
.node{transition:border-color .45s, box-shadow .45s, background .45s, transform .35s}
.node.active{border-color:color-mix(in srgb, var(--dash-accent) 45%, white 10%);box-shadow:inset 0 0 30px color-mix(in srgb, var(--dash-accent) 8%, transparent),0 0 0 1px color-mix(in srgb, var(--dash-accent) 16%, transparent);transform:translateX(2px)}
.node-icon{transition:background .45s,color .45s,box-shadow .45s}
.node.active .node-icon{background:linear-gradient(135deg,color-mix(in srgb, var(--dash-accent) 28%, #10253a),#10253a);color:#e9fbff;box-shadow:0 0 0 6px color-mix(in srgb, var(--dash-accent) 10%, transparent)}
.connector{transition:background .45s,height .35s}
.dashboard-shell[data-flow-step="0"] .flow .node:nth-child(1),.dashboard-shell[data-flow-step="1"] .flow .node:nth-child(3),.dashboard-shell[data-flow-step="2"] .flow .node:nth-child(5){}
.status{display:flex;align-items:center;font-style:normal}
.status em{font-style:normal;color:#d3e0eb}
.status span{background:var(--dash-accent);box-shadow:0 0 0 5px color-mix(in srgb,var(--dash-accent) 16%, transparent)}
.dash-flow-note{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;padding-top:14px;border-top:1px solid rgba(255,255,255,.08)}
.dash-flow-tag{display:inline-flex;align-items:center;justify-content:center;padding:8px 10px;border-radius:999px;background:color-mix(in srgb,var(--dash-accent) 12%, transparent);color:#e9fbff;font-size:9px;font-weight:800;letter-spacing:.10em;text-transform:uppercase;border:1px solid color-mix(in srgb,var(--dash-accent) 25%, transparent)}
.dash-flow-subtext{font-size:10px;color:#88a0b5;font-weight:600;text-align:right}
.dash-bars i{background:#1a354b;transition:height .65s ease, background .55s ease, box-shadow .55s ease, opacity .55s ease;opacity:.78}
.dash-bars i.active,.dash-bars .hot{background:linear-gradient(180deg,var(--dash-accent-2),var(--dash-accent));box-shadow:0 10px 24px color-mix(in srgb,var(--dash-accent) 18%, transparent);opacity:1}
.dash-chart-caption{display:flex;align-items:center;justify-content:space-between;padding-top:10px;margin-top:8px;border-top:1px solid rgba(255,255,255,.08)}
.dash-chart-caption span{font-size:10px;color:#7f93aa}
.dash-chart-caption b{font-size:11px;color:var(--dash-accent);letter-spacing:.08em}
@keyframes dashboardPulse{0%,100%{box-shadow:0 0 0 0 color-mix(in srgb,var(--dash-accent) 0%, transparent)}50%{box-shadow:0 0 0 10px color-mix(in srgb,var(--dash-accent) 10%, transparent)}}
.status span,.flow-head b i{animation:dashboardPulse 2.8s ease-in-out infinite}
@media(max-width:680px){
  .dash-flow-note{flex-direction:column;align-items:flex-start}
  .dash-flow-subtext{text-align:left}
}

@media(max-width:680px){.impact-chart-body{height:164px;padding-bottom:34px}.impact-bars{height:138px;gap:6px}.impact-bar-group span{font-size:8px}}


/* v23: servicios más compactos y BI circular */
.service-card{min-height:386px;padding:26px}
.service-card h3{margin:0 0 10px}
.service-card p{margin:0 0 14px}
.service-card ul{margin:0 0 14px}
.service-card li{padding:6px 0}
.service-card a{margin-top:8px}
.service-demo{min-height:158px;padding:14px 15px 12px;margin:6px 0 16px}
.demo-top{margin-bottom:12px}
.demo-status{padding-top:8px;margin-top:8px}

.bi-demo{min-height:0}
.bi-donut-layout{display:grid;grid-template-columns:96px 1fr;gap:12px;align-items:center}
.bi-donut-wrap{position:relative;width:96px;height:96px;display:grid;place-items:center}
.bi-donut{width:96px;height:96px;transform:rotate(-90deg)}
.bi-donut-track,.bi-segment{fill:none;stroke-width:11;stroke-linecap:round}
.bi-donut-track{stroke:#e8f0f5}
.service-card.dark .bi-donut-track{stroke:rgba(255,255,255,.10)}
.bi-segment{transition:stroke-dasharray .7s ease, stroke-dashoffset .7s ease}
.bi-segment-1{stroke:#1fb6c9}
.bi-segment-2{stroke:#54dbe9}
.bi-segment-3{stroke:#4d86ff}
.bi-segment-4{stroke:#56efad}
.bi-donut-center{position:absolute;inset:0;display:grid;place-items:center;text-align:center}
.bi-donut-center strong{display:block;font-size:18px;line-height:1;color:#13283a}
.bi-donut-center small{display:block;margin-top:3px;font-size:8px;letter-spacing:.08em;text-transform:uppercase;color:#7f93a5}
.bi-legend{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px}
.bi-legend div{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:6px;min-width:0}
.bi-legend i{width:8px;height:8px;border-radius:50%;display:block}
.bi-legend .seg1{background:#1fb6c9}.bi-legend .seg2{background:#54dbe9}.bi-legend .seg3{background:#4d86ff}.bi-legend .seg4{background:#56efad}
.bi-legend span{font-size:8px;color:#6f8296;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bi-legend b{font-size:9px;color:#0f7385}
.service-card.dark .bi-donut-center strong{color:#f3fbff}
.service-card.dark .bi-donut-center small{color:#89a1b6}
.service-card.dark .bi-legend span{color:#9ab0c4}
.service-card.dark .bi-legend b{color:#67e8f9}

@media(min-width:1201px){
  .services-grid-four{align-items:start}
}
@media(max-width:1400px){
  .service-card{min-height:370px}
}
@media(max-width:680px){
  .service-card{min-height:0;padding:22px}
  .bi-donut-layout{grid-template-columns:86px 1fr;gap:10px}
  .bi-donut-wrap,.bi-donut{width:86px;height:86px}
  .bi-donut-center strong{font-size:16px}
}


/* v24: alineación horizontal de CTAs en las 4 tarjetas de servicio */
.services-grid-four{align-items:stretch}
.services-grid-four .service-card{height:100%;display:flex;flex-direction:column}
.services-grid-four .service-card ul{margin-bottom:0}
.services-grid-four .service-card > a{
  margin-top:auto !important;
  padding-top:18px;
  min-height:40px;
  display:flex;
  align-items:flex-end;
}


/* v25: CTAs cerca del contenido y tarjetas recortadas */
#servicios .services-grid-four{
  align-items:start;
}
#servicios .services-grid-four .service-card{
  height:auto !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:auto auto minmax(52px,auto) 178px minmax(92px,auto) auto;
  align-content:start;
  padding-bottom:22px;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:22px;
}
#servicios .services-grid-four .service-card h3{
  align-self:start;
}
#servicios .services-grid-four .service-card > p{
  min-height:52px;
  margin-bottom:14px;
}
#servicios .services-grid-four .service-demo{
  height:178px;
  min-height:178px !important;
  margin:0 0 14px;
}
#servicios .services-grid-four .service-card ul{
  min-height:92px;
  margin:0 !important;
  align-self:start;
}
#servicios .services-grid-four .service-card > a{
  margin-top:16px !important;
  padding-top:0 !important;
  min-height:0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-self:start;
  align-self:start;
  line-height:1.25;
}

@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto auto minmax(58px,auto) 182px minmax(98px,auto) auto;
  }
  #servicios .services-grid-four .service-card > p{min-height:58px}
  #servicios .services-grid-four .service-demo{height:182px;min-height:182px !important}
  #servicios .services-grid-four .service-card ul{min-height:98px}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-card{
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    min-height:0 !important;
  }
  #servicios .services-grid-four .service-card > p,
  #servicios .services-grid-four .service-card ul{min-height:0}
  #servicios .services-grid-four .service-demo{height:auto;min-height:168px !important}
  #servicios .services-grid-four .service-card > a{margin-top:16px !important}
}


/* v26: BI donut fix + Recursos Humanos */
#servicios .services-grid-four .service-card{
  grid-template-rows:auto auto minmax(52px,auto) minmax(178px,auto) minmax(92px,auto) auto;
}
#servicios .services-grid-four .service-demo{
  height:auto;
}
#servicios .services-grid-four .bi-demo{
  min-height:194px !important;
}
.bi-donut-layout{
  display:grid;
  grid-template-columns:1fr;
  gap:12px;
  align-items:start;
}
.bi-donut-wrap{
  position:relative;
  width:108px;
  height:108px;
  display:grid;
  place-items:center;
  margin:0 auto;
  overflow:visible;
}
.bi-donut{
  width:108px;
  height:108px;
  transform:rotate(-90deg);
  overflow:visible;
}
.bi-donut-track,.bi-segment{stroke-width:10}
.bi-donut-center strong{font-size:22px}
.bi-donut-center small{font-size:9px}
.bi-legend{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px 12px;
  width:100%;
}
.bi-legend div{
  min-width:0;
}
.bi-legend span{
  white-space:normal;
  overflow:visible;
  text-overflow:unset;
  line-height:1.2;
}
.bi-legend b{justify-self:end}
.area-card:hover .person,.area-card.active .person{animation:area-pulse 1s ease-in-out infinite}
.area-card:hover .p2,.area-card.active .p2{animation-delay:.15s}
.area-card:hover .hr-check,.area-card.active .hr-check{animation:area-shift .8s ease-in-out infinite alternate}
.area-card:hover .team-base,.area-card.active .team-base{animation:area-float 1s ease-in-out infinite alternate}

@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto auto minmax(58px,auto) minmax(186px,auto) minmax(98px,auto) auto;
  }
  #servicios .services-grid-four .bi-demo{min-height:202px !important}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-demo{min-height:168px !important}
  #servicios .services-grid-four .bi-demo{min-height:190px !important}
}
@media(max-width:680px){
  .bi-donut-wrap,.bi-donut{width:98px;height:98px}
  .bi-donut-center strong{font-size:20px}
  .bi-legend{grid-template-columns:1fr}
}


/* v27: hero copy + stack logos + chart readability */
.hero-sub{max-width:800px}

.tech-logo-card{min-height:164px;padding:18px 14px}
.tech-logo-wrap{height:106px;max-width:188px}
.tech-logo-wrap img{max-height:92px;max-width:176px;object-fit:contain}
.tech-logo-wrap img.logo-xl{max-width:180px;max-height:92px}
.tech-logo-wrap img.logo-excel-vba{max-width:148px;max-height:88px}
.tech-logo-wrap img.logo-n8n{max-width:176px;max-height:74px}
.tech-logo-wrap img.logo-chatgpt{max-width:186px;max-height:76px}
.tech-logo-wrap img.logo-claude{max-width:170px;max-height:74px}
.tech-logo-wrap img.logo-copilot{max-width:168px;max-height:84px}
.tech-logo-wrap img.logo-python{max-width:118px;max-height:92px}

.chart-card{position:relative;overflow:hidden}
.bars-wrap{position:relative;height:130px;margin-top:10px}
.bars-wrap::before{
  content:"";position:absolute;inset:10px 0 8px;border-radius:12px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,.00));
}
.bars{height:130px;display:flex;align-items:flex-end;gap:8px;position:absolute;inset:0}
.bars i{
  flex:1;min-width:12px;align-self:flex-end;
  background:linear-gradient(180deg,rgba(84,219,233,.28),rgba(18,51,74,.92));
  border-radius:7px 7px 3px 3px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08),0 8px 18px rgba(9,22,37,.25);
}
.dash-bars i{opacity:.94}
.dash-bars i.active,.dash-bars .hot{
  background:linear-gradient(180deg,var(--dash-accent-2),var(--dash-accent));
  box-shadow:0 12px 26px color-mix(in srgb,var(--dash-accent) 24%, transparent), inset 0 1px 0 rgba(255,255,255,.14);
}
.dash-line{position:absolute;inset:8px 2px 16px;width:calc(100% - 4px);height:calc(100% - 24px);overflow:visible;pointer-events:none}
.dash-line polyline{fill:none;stroke:var(--dash-accent);stroke-width:4;stroke-linecap:round;stroke-linejoin:round;filter:drop-shadow(0 6px 14px color-mix(in srgb,var(--dash-accent) 35%, transparent));transition:.7s ease}

.impact-live-chart{padding:18px;border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.05),rgba(255,255,255,.025));box-shadow:inset 0 1px 0 rgba(255,255,255,.03)}
.impact-chart-body{height:162px;padding-top:14px;padding-bottom:30px}
.impact-chart-body::before{
  content:"";position:absolute;left:0;right:0;top:16px;bottom:34px;border-radius:14px;
  background:linear-gradient(180deg,rgba(255,255,255,.03),rgba(255,255,255,0));
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.05);
}
.impact-bars{height:136px;gap:12px;z-index:1}
.impact-bars i{min-height:18%;border-radius:10px 10px 3px 3px;background:linear-gradient(180deg,rgba(73,202,255,.18),rgba(86,239,173,.95));box-shadow:0 12px 24px rgba(86,239,173,.10), inset 0 1px 0 rgba(255,255,255,.08)}
.impact-bar-group span{font-size:9px;white-space:normal;line-height:1.15}
.impact-line{z-index:2;left:6px;right:6px;top:8px;bottom:34px;width:calc(100% - 12px)}
.impact-line polyline{stroke:#74e8f7;stroke-width:4;filter:drop-shadow(0 0 10px rgba(116,232,247,.28))}

.bi-demo{min-height:222px !important}
.bi-kpis{gap:8px;margin-bottom:12px}
.bi-kpis div{padding:9px 10px;border-radius:11px}
.bi-kpis small{font-size:7px}
.bi-kpis strong{font-size:12px}
.bi-donut-layout{display:grid;grid-template-columns:1fr;gap:12px;align-items:start}
.bi-donut-wrap{position:relative;width:114px;height:114px;display:grid;place-items:center;margin:0 auto;overflow:visible}
.bi-donut{width:114px;height:114px;transform:rotate(-90deg);overflow:visible}
.bi-donut-track,.bi-segment{stroke-width:10}
.bi-donut-center strong{font-size:24px}
.bi-donut-center small{font-size:9px;letter-spacing:.12em}
.bi-legend{display:grid;grid-template-columns:1fr 1fr;gap:9px 14px;width:100%}
.bi-legend div{grid-template-columns:auto 1fr auto;gap:7px;align-items:center}
.bi-legend span{font-size:9px;white-space:normal;overflow:visible;text-overflow:unset;line-height:1.2}
.bi-legend b{font-size:10px}

@media(max-width:1400px){
  .tech-logo-grid{grid-template-columns:repeat(4,1fr)}
}
@media(max-width:980px){
  .tech-logo-grid{grid-template-columns:repeat(3,1fr)}
  .bi-legend{grid-template-columns:1fr 1fr}
}
@media(max-width:680px){
  .tech-logo-grid{grid-template-columns:repeat(2,1fr)}
  .bars-wrap{height:118px}
  .impact-chart-body{height:176px}
  .impact-bars{gap:7px}
  .bi-kpis{grid-template-columns:1fr}
  .bi-legend{grid-template-columns:1fr}
  .bi-donut-wrap,.bi-donut{width:102px;height:102px}
}


/* v28: corrected Python logo */
.tech-logo-wrap img.logo-python{max-width:132px;max-height:96px;width:auto;height:auto;object-fit:contain}


/* v29: stack carousel + Office 365 logo */
.tech-stack-section .container{overflow:hidden}
.tech-carousel{position:relative;margin-top:28px}
.tech-carousel::before,
.tech-carousel::after{
  content:"";position:absolute;top:0;bottom:0;width:84px;z-index:2;pointer-events:none;
}
.tech-carousel::before{left:0;background:linear-gradient(90deg,#eef3f8 0%, rgba(238,243,248,0) 100%)}
.tech-carousel::after{right:0;background:linear-gradient(270deg,#eef3f8 0%, rgba(238,243,248,0) 100%)}
.tech-carousel-viewport{overflow:hidden;border-radius:28px;padding:8px 0}
.tech-carousel-track{
  display:flex;align-items:stretch;gap:18px;width:max-content;
  animation:techMarquee 36s linear infinite;
  will-change:transform;
}
.tech-carousel:hover .tech-carousel-track{animation-play-state:paused}
@keyframes techMarquee{
  from{transform:translateX(0)}
  to{transform:translateX(calc(-50% - 9px))}
}
.tech-logo-card{
  flex:0 0 210px;min-height:160px;padding:20px 16px;border-radius:24px;
  background:linear-gradient(180deg,rgba(255,255,255,.94),rgba(247,250,253,.96));
  box-shadow:0 14px 36px rgba(19,40,62,.06), inset 0 1px 0 rgba(255,255,255,.7);
  border:1px solid #d8e5ef;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.tech-logo-card:hover{transform:translateY(-4px);box-shadow:0 18px 42px rgba(19,40,62,.10);border-color:#c2d8e9}
.tech-logo-wrap{height:108px;max-width:180px}
.tech-logo-wrap img{max-width:170px;max-height:92px;object-fit:contain}
.tech-logo-wrap img.logo-office365{max-width:182px;max-height:84px}
.tech-logo-wrap img.logo-python{max-width:136px;max-height:102px}
.tech-logo-wrap img.logo-chatgpt{max-width:188px;max-height:78px}
.tech-logo-wrap img.logo-claude{max-width:170px;max-height:72px}
.tech-logo-wrap img.logo-copilot{max-width:170px;max-height:82px}
.tech-logo-wrap img.logo-n8n{max-width:176px;max-height:74px}
.tech-logo-wrap img.logo-excel-vba{max-width:170px;max-height:90px}

@media(max-width:980px){
  .tech-carousel::before,.tech-carousel::after{width:42px}
  .tech-logo-card{flex-basis:190px;min-height:148px}
  .tech-carousel-track{animation-duration:32s}
}
@media(max-width:680px){
  .tech-logo-card{flex-basis:168px;min-height:136px;padding:16px 12px;border-radius:20px}
  .tech-logo-wrap{height:92px;max-width:144px}
  .tech-logo-wrap img{max-width:142px;max-height:76px}
  .tech-logo-wrap img.logo-python{max-width:108px;max-height:84px}
  .tech-carousel-track{gap:14px;animation-duration:28s}
}

/* v30: Office 365 moved to text-VBA slot, Excel+VBA sheet restored */
.tech-logo-wrap img.logo-office365{max-width:182px;max-height:84px}.tech-logo-wrap img.logo-excel-vba{max-width:148px;max-height:88px}


/* v31: BI back to bar chart */
.bi-demo{min-height:205px !important}
.bi-chart-wrap-bars{
  height:auto; position:relative; padding:12px 12px 10px;
  background:linear-gradient(180deg,rgba(255,255,255,.52),rgba(255,255,255,.08));
  border-radius:14px; overflow:hidden; border:1px solid #d9e6ef;
}
.bi-chart-wrap-bars::before{
  content:""; position:absolute; left:12px; right:12px; top:14px; bottom:34px; border-radius:10px;
  background:linear-gradient(180deg,rgba(255,255,255,.18),rgba(255,255,255,0));
}
.bi-bars-areas{
  position:relative; inset:auto; display:grid; grid-template-columns:repeat(4,1fr); gap:8px; align-items:end;
  min-height:118px; height:auto;
}
.bi-bar-item{
  position:relative; min-width:0; display:flex; flex-direction:column; justify-content:flex-end; align-items:center; gap:6px;
}
.bi-bar-item .bi-bar{
  display:block; width:100%; max-width:52px; min-width:34px; align-self:center; min-height:20px;
  border-radius:8px 8px 3px 3px; box-shadow:0 10px 20px rgba(20,46,75,.10), inset 0 1px 0 rgba(255,255,255,.35);
  transition:height .7s cubic-bezier(.2,.8,.2,1), transform .35s ease;
}
.bi-bar-item:hover .bi-bar{transform:translateY(-2px)}
.bar-finanzas{background:linear-gradient(180deg,#1fb6c9,#1493b2)}
.bar-compras{background:linear-gradient(180deg,#73dced,#39bfd6)}
.bar-ventas{background:linear-gradient(180deg,#4d86ff,#3568dd)}
.bar-rrhh{background:linear-gradient(180deg,#56efad,#24c98d)}
.bi-bar-item span{
  font-size:8px; color:#72859a; line-height:1.2; text-align:center;
}
.bi-bar-item b{
  font-size:10px; color:#0e6d84; line-height:1; font-weight:800;
}
@media(max-width:680px){
  .bi-bars-areas{grid-template-columns:repeat(2,1fr); row-gap:10px; min-height:170px}
  .bi-bar-item .bi-bar{max-width:46px}
  .bi-bar-item span{font-size:7px}
}


/* v32: BI donut compacto, centrado y alineado con los demás servicios */
#servicios .services-grid-four .service-demo{
  height:178px !important;
  min-height:178px !important;
}
#servicios .services-grid-four .bi-demo{
  height:178px !important;
  min-height:178px !important;
  overflow:hidden;
}
.bi-demo .bi-kpis{gap:7px;margin-bottom:8px}
.bi-demo .bi-kpis div{padding:7px 8px;border-radius:10px}
.bi-demo .bi-kpis small{font-size:6.5px}
.bi-demo .bi-kpis strong{font-size:10.5px;margin-top:3px}
.bi-donut-compact{
  display:grid !important;
  grid-template-columns:82px minmax(0,1fr) !important;
  align-items:center !important;
  gap:10px !important;
  margin-top:0 !important;
}
.bi-donut-compact .bi-donut-wrap{
  position:relative !important;
  width:78px !important;
  height:78px !important;
  margin:0 auto !important;
  display:block !important;
  overflow:visible !important;
}
.bi-donut-compact .bi-donut{
  display:block !important;
  width:78px !important;
  height:78px !important;
  overflow:visible !important;
  transform:rotate(-90deg) !important;
}
.bi-donut-compact .bi-donut-track,
.bi-donut-compact .bi-segment{
  fill:none !important;
  stroke-width:9 !important;
  stroke-linecap:round !important;
}
.bi-donut-compact .bi-donut-track{stroke:#e5eef4 !important}
.bi-donut-compact .bi-donut-center{
  position:absolute !important;
  inset:0 !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  gap:2px !important;
  text-align:center !important;
  line-height:1 !important;
  pointer-events:none !important;
}
.bi-donut-compact .bi-donut-center strong{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:15px !important;
  line-height:1 !important;
  letter-spacing:-.03em !important;
  color:#10283a !important;
}
.bi-donut-compact .bi-donut-center small{
  display:block !important;
  margin:0 !important;
  padding:0 !important;
  font-size:5.5px !important;
  line-height:1 !important;
  letter-spacing:.12em !important;
  color:#7d91a4 !important;
  text-transform:uppercase !important;
}
.bi-legend-compact{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px 8px !important;
  width:100% !important;
  align-content:center !important;
}
.bi-legend-compact div{
  display:grid !important;
  grid-template-columns:7px minmax(0,1fr) auto !important;
  align-items:center !important;
  gap:5px !important;
  min-width:0 !important;
}
.bi-legend-compact i{
  width:7px !important;
  height:7px !important;
  border-radius:50% !important;
}
.bi-legend-compact span{
  font-size:6.5px !important;
  line-height:1.1 !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
  color:#718499 !important;
}
.bi-legend-compact b{
  font-size:7.5px !important;
  color:#0c7285 !important;
  justify-self:end !important;
}
.bi-demo .demo-status{
  padding-top:6px !important;
  margin-top:6px !important;
  font-size:7px !important;
}
.bi-demo .demo-status strong{font-size:7px !important}

/* Neutralize v31 bar chart rules if cached in stylesheet */
.bi-chart-wrap-bars,.bi-bars-areas{display:none !important}

@media(max-width:1400px){
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{
    height:182px !important;
    min-height:182px !important;
  }
  .bi-donut-compact{grid-template-columns:78px minmax(0,1fr) !important;gap:8px !important}
  .bi-donut-compact .bi-donut-wrap,.bi-donut-compact .bi-donut{width:74px !important;height:74px !important}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{
    height:auto !important;
    min-height:168px !important;
  }
}
@media(max-width:680px){
  .bi-donut-compact{grid-template-columns:72px minmax(0,1fr) !important;gap:8px !important}
  .bi-donut-compact .bi-donut-wrap,.bi-donut-compact .bi-donut{width:68px !important;height:68px !important}
  .bi-donut-compact .bi-donut-center strong{font-size:13px !important}
  .bi-donut-compact .bi-donut-center small{font-size:5px !important}
}


/* v33: Agile methodology with five interactive phases */
.agile-methodology{position:relative;overflow:hidden;background:radial-gradient(circle at 75% 15%,rgba(34,211,238,.07),transparent 28%),#071522}
.agile-methodology::before{content:"";position:absolute;left:0;right:0;top:0;height:1px;background:linear-gradient(90deg,transparent,rgba(103,232,249,.38),transparent)}
.agile-heading{margin-bottom:42px}
.agile-heading h2 span{color:#7d91a6}
.agile-process{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;position:relative}
.agile-process::before{content:"";position:absolute;left:5%;right:5%;top:55px;height:1px;background:linear-gradient(90deg,rgba(103,232,249,.10),rgba(103,232,249,.42),rgba(86,239,173,.32),rgba(103,232,249,.10));z-index:0}
.agile-step{position:relative;z-index:1;min-height:330px;padding:22px 20px 20px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));border-radius:22px;display:flex;flex-direction:column;transition:transform .3s ease,border-color .3s ease,background .3s ease,box-shadow .3s ease;outline:none;cursor:pointer}
.agile-step:hover,.agile-step.active,.agile-step:focus-visible{transform:translateY(-6px);border-color:rgba(103,232,249,.32);background:linear-gradient(180deg,rgba(34,211,238,.075),rgba(255,255,255,.02));box-shadow:0 22px 48px rgba(0,0,0,.18),inset 0 1px 0 rgba(255,255,255,.04)}
.agile-step-top{display:flex;align-items:center;justify-content:space-between;margin-bottom:28px}
.agile-num{font-size:10px;font-weight:900;letter-spacing:.11em;color:#5ce3ef}
.agile-icon{width:64px;height:64px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#0a2135,#0d344d);color:#68e5ef;border:1px solid rgba(103,232,249,.10);box-shadow:0 12px 28px rgba(0,0,0,.16);transition:transform .35s ease,box-shadow .35s ease,background .35s ease}
.agile-icon svg{width:36px;height:36px;overflow:visible}
.agile-icon svg *{stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none;vector-effect:non-scaling-stroke}
.agile-step:hover .agile-icon,.agile-step.active .agile-icon,.agile-step:focus-visible .agile-icon{transform:scale(1.06) rotate(-2deg);background:linear-gradient(145deg,#0b2d45,#0d4760);box-shadow:0 14px 34px rgba(34,211,238,.14)}
.agile-tag{font-size:9px;font-weight:900;letter-spacing:.14em;text-transform:uppercase;color:#5ce3ef;margin-bottom:9px}
.agile-step h3{font-family:Manrope,sans-serif;font-size:18px;line-height:1.25;margin:0 0 12px;color:#fff}
.agile-step p{font-size:11px;line-height:1.65;color:#94a9bd;margin:0 0 20px}
.agile-output{margin-top:auto;padding-top:14px;border-top:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:4px}
.agile-output span{font-size:8px;letter-spacing:.12em;text-transform:uppercase;color:#667f95}
.agile-output strong{font-size:11px;color:#c9d8e5}
.agile-cycle-note{margin-top:22px;padding:14px 18px;border-radius:16px;border:1px solid rgba(255,255,255,.07);background:rgba(255,255,255,.025);display:grid;grid-template-columns:auto auto 1fr;align-items:center;gap:10px;color:#9fb3c5}
.agile-cycle-note .cycle-dot{width:8px;height:8px;border-radius:50%;background:#56efad;box-shadow:0 0 0 6px rgba(86,239,173,.08)}
.agile-cycle-note strong{font-size:11px;color:#d4e0e9;white-space:nowrap}
.agile-cycle-note p{font-size:10px;line-height:1.55;margin:0;color:#8298ac}

/* phase micro-animations */
.agile-step:hover .discovery .agile-ring,.agile-step.active .discovery .agile-ring{animation:agileRing 1.6s ease-in-out infinite}
.agile-step:hover .discovery .agile-pulse,.agile-step.active .discovery .agile-pulse,.agile-step:hover .build .agile-pulse,.agile-step.active .build .agile-pulse,.agile-step:hover .support .agile-pulse,.agile-step.active .support .agile-pulse{animation:agilePulse 1.2s ease-in-out infinite}
.agile-step:hover .design .c1,.agile-step.active .design .c1{animation:agileCard1 1.4s ease-in-out infinite alternate}
.agile-step:hover .design .c2,.agile-step.active .design .c2{animation:agileCard2 1.4s ease-in-out infinite alternate}
.agile-step:hover .build .code-left,.agile-step.active .build .code-left,.agile-step:hover .build .code-slash,.agile-step.active .build .code-slash{stroke-dasharray:70;stroke-dashoffset:70;animation:agileDraw 1.2s ease forwards}
.agile-step:hover .launch .rocket,.agile-step.active .launch .rocket{animation:agileRocket 1.15s ease-in-out infinite alternate;transform-box:fill-box;transform-origin:center}
.agile-step:hover .launch .flame,.agile-step.active .launch .flame{animation:agileFlame .65s ease-in-out infinite alternate}
.agile-step:hover .support .support-loop,.agile-step.active .support .support-loop{stroke-dasharray:40;stroke-dashoffset:40;animation:agileDraw 1.1s ease forwards}
@keyframes agileRing{50%{transform:scale(1.08);transform-origin:center;opacity:.65}}
@keyframes agilePulse{50%{transform:scale(1.45);transform-origin:center;opacity:.45}}
@keyframes agileCard1{to{transform:translate(-2px,-2px)}}
@keyframes agileCard2{to{transform:translate(2px,2px)}}
@keyframes agileDraw{to{stroke-dashoffset:0}}
@keyframes agileRocket{to{transform:translate(2px,-3px) rotate(2deg)}}
@keyframes agileFlame{to{transform:translate(-2px,2px);opacity:.55}}

@media(max-width:1400px){
  .agile-process{grid-template-columns:repeat(3,minmax(0,1fr))}
  .agile-process::before{display:none}
  .agile-step{min-height:300px}
}
@media(max-width:980px){
  .agile-process{grid-template-columns:repeat(2,minmax(0,1fr))}
  .agile-cycle-note{grid-template-columns:auto 1fr}.agile-cycle-note p{grid-column:1/-1}
}
@media(max-width:680px){
  .agile-process{grid-template-columns:1fr}
  .agile-step{min-height:0}
  .agile-icon{width:58px;height:58px}
  .agile-step-top{margin-bottom:20px}
}


/* v34: quienes somos section */
.about-section{
  padding:84px 0 82px;
  background:linear-gradient(180deg,#f7fafc 0%,#eef4f8 100%);
  border-top:1px solid #dce7ef;
  border-bottom:1px solid #dce7ef;
}
.about-heading{margin-bottom:34px}
.about-heading h2 span{color:#6f7e8f}
.about-heading p{margin:0;color:#687a8e;line-height:1.78;font-size:14px;max-width:540px}
.about-highlights{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.about-card{
  position:relative;
  padding:24px 22px 22px;
  border-radius:24px;
  background:rgba(255,255,255,.92);
  border:1px solid #dbe4ed;
  box-shadow:0 12px 34px rgba(20,46,75,.05);
  overflow:hidden;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.about-card::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 88% 12%, rgba(34,211,238,.08), transparent 28%);
  pointer-events:none;
}
.about-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(20,46,75,.10);
  border-color:#b8dbe4;
}
.about-card-icon{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background:linear-gradient(145deg,#0a1d30,#123c59);
  color:#63e3ee;font-size:11px;font-weight:800;letter-spacing:.08em;
  box-shadow:0 10px 24px rgba(9,31,52,.10);
  margin-bottom:16px;
}
.about-card h3{font-family:Manrope,sans-serif;font-size:22px;line-height:1.2;margin:0 0 10px;color:#09192b}
.about-card p{margin:0;color:#6e8195;font-size:13px;line-height:1.7}
.about-services-strip{
  margin-top:24px;
  display:flex;flex-wrap:wrap;gap:12px;
}
.about-services-strip span{
  display:inline-flex;align-items:center;justify-content:center;
  padding:11px 16px;border-radius:999px;
  background:rgba(255,255,255,.9);
  border:1px solid #dbe4ed;
  color:#0a1d30;font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
  box-shadow:0 8px 24px rgba(20,46,75,.04);
}

@media(max-width:1200px){
  .about-highlights{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:760px){
  .about-section{padding:68px 0}
  .about-highlights{grid-template-columns:1fr}
  .about-card h3{font-size:20px}
  .about-services-strip{gap:10px}
  .about-services-strip span{width:100%;justify-content:flex-start}
}


/* v35: quienes somos institucional - historia, misión y visión */
.about-modern{padding:92px 0 88px;background:linear-gradient(180deg,#f7fafc 0%,#eef4f8 100%);position:relative;overflow:hidden}
.about-modern::before{content:"";position:absolute;width:580px;height:580px;border-radius:50%;right:-250px;top:-280px;background:radial-gradient(circle,rgba(34,211,238,.10),rgba(59,130,246,.025) 48%,transparent 70%);pointer-events:none}
.about-modern .about-heading{margin-bottom:38px}
.about-modern .about-heading p{max-width:590px;font-size:14px;line-height:1.8;color:#687a8e}
.about-story-grid{display:grid;grid-template-columns:1.55fr .75fr;gap:18px;align-items:stretch}
.about-story-card{position:relative;padding:32px 32px 28px;border-radius:28px;background:#0a1725;color:#fff;border:1px solid rgba(255,255,255,.06);box-shadow:0 22px 50px rgba(10,23,37,.12);overflow:hidden}
.about-story-card::after{content:"";position:absolute;right:-80px;bottom:-120px;width:300px;height:300px;border-radius:50%;background:radial-gradient(circle,rgba(34,211,238,.15),transparent 68%);pointer-events:none}
.about-story-label{font-size:10px;font-weight:900;letter-spacing:.16em;color:#62e4f0;margin-bottom:22px}
.about-story-card h3{font-family:Manrope,sans-serif;font-size:clamp(25px,2.3vw,34px);line-height:1.18;margin:0 0 18px;max-width:720px}
.about-story-card p{font-size:13px;line-height:1.8;color:#a4b6c7;margin:0 0 12px;max-width:840px}
.about-story-card p strong{color:#eef8ff}
.about-evolution{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:26px;padding-top:20px;border-top:1px solid rgba(255,255,255,.08)}
.about-evolution div{position:relative;display:flex;align-items:center;gap:8px;color:#b7c6d4;font-size:10px;font-weight:700}
.about-evolution i{width:9px;height:9px;border-radius:50%;background:#56efad;box-shadow:0 0 0 5px rgba(86,239,173,.08)}
.about-evolution div:not(:last-child)::after{content:"";position:absolute;left:16px;right:-5px;top:50%;height:1px;background:linear-gradient(90deg,rgba(86,239,173,.35),transparent);z-index:0}
.about-evolution span{position:relative;z-index:1;background:#0a1725;padding-right:5px}
.about-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.about-fact{min-height:148px;padding:22px;border-radius:24px;background:rgba(255,255,255,.94);border:1px solid #dbe4ed;box-shadow:0 12px 34px rgba(20,46,75,.05);display:flex;flex-direction:column;justify-content:flex-end;transition:.28s}
.about-fact:hover{transform:translateY(-4px);border-color:#b7dce5;box-shadow:0 18px 40px rgba(20,46,75,.09)}
.about-fact.primary{background:linear-gradient(145deg,#eefcff,#eef4ff);border-color:#bde9ef}
.about-fact strong{font-family:Manrope,sans-serif;font-size:38px;line-height:1;color:#0a1d30;letter-spacing:-.05em}
.about-fact span{margin-top:8px;font-size:11px;color:#6c8093;font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.purpose-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:18px}
.purpose-card{padding:28px;border-radius:26px;background:rgba(255,255,255,.94);border:1px solid #dbe4ed;display:grid;grid-template-columns:64px 1fr;gap:20px;box-shadow:0 14px 38px rgba(20,46,75,.05);transition:.28s}
.purpose-card:hover{transform:translateY(-4px);box-shadow:0 20px 44px rgba(20,46,75,.09);border-color:#bddce5}
.purpose-icon{width:60px;height:60px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#0a1d30,#123c59);color:#64e4ee;box-shadow:0 12px 28px rgba(9,31,52,.12)}
.purpose-icon svg{width:34px;height:34px}.purpose-icon svg *{stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;fill:none}
.purpose-card:hover .purpose-arrow{stroke-dasharray:28;stroke-dashoffset:28;animation:purposeDraw .8s ease forwards}
.purpose-card:hover .vision-spark{animation:purposeSpark 1s ease-in-out infinite}
@keyframes purposeDraw{to{stroke-dashoffset:0}}@keyframes purposeSpark{50%{opacity:.35;transform:scale(.86);transform-origin:center}}
.purpose-card span{display:block;font-size:10px;font-weight:900;letter-spacing:.16em;color:#16a6bc;margin-bottom:9px}
.purpose-card h3{font-family:Manrope,sans-serif;font-size:20px;line-height:1.32;margin:0 0 10px;color:#0b1a2c}
.purpose-card p{font-size:12px;line-height:1.7;color:#708397;margin:0}
.about-principles{margin-top:20px;display:flex;flex-wrap:wrap;justify-content:center;gap:10px;padding-top:4px}
.about-principles span{display:inline-flex;padding:10px 15px;border-radius:999px;background:white;border:1px solid #dbe4ed;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:#32495e;box-shadow:0 8px 22px rgba(20,46,75,.035)}
@media(max-width:1100px){.about-story-grid{grid-template-columns:1fr}.about-facts{grid-template-columns:repeat(4,1fr)}.about-fact{min-height:125px}.purpose-grid{grid-template-columns:1fr}}
@media(max-width:760px){.about-modern{padding:70px 0}.about-facts{grid-template-columns:1fr 1fr}.about-evolution{grid-template-columns:1fr 1fr}.purpose-card{grid-template-columns:1fr}.purpose-icon{width:54px;height:54px}.about-story-card{padding:26px 22px}.about-fact strong{font-size:32px}}


/* v36: quienes somos with richer institutional content */
.about-story-grid{display:grid;grid-template-columns:1.35fr .95fr;gap:18px;align-items:stretch}
.about-trust{display:grid;grid-template-rows:auto auto;gap:14px}
.about-trust-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.about-trust-card{
  position:relative;
  padding:24px 22px;
  border-radius:24px;
  background:rgba(255,255,255,.95);
  border:1px solid #dbe4ed;
  box-shadow:0 12px 34px rgba(20,46,75,.05);
  overflow:hidden;
}
.about-trust-card::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 85% 18%, rgba(34,211,238,.09), transparent 30%);
}
.about-trust-card.primary{padding:26px 24px 24px}
.about-trust-label{font-size:10px;font-weight:900;letter-spacing:.16em;color:#0db8d4;margin-bottom:12px;position:relative;z-index:1}
.about-trust-card h3{font-family:Manrope,sans-serif;font-size:28px;line-height:1.15;margin:0 0 12px;color:#09192b;position:relative;z-index:1}
.about-trust-card p{margin:0 0 10px;color:#6e8195;font-size:13px;line-height:1.76;position:relative;z-index:1}
.about-check-list{list-style:none;margin:2px 0 0;padding:0;display:grid;gap:10px;position:relative;z-index:1}
.about-check-list li{position:relative;padding-left:18px;color:#6e8195;font-size:13px;line-height:1.65}
.about-check-list li::before{content:"";position:absolute;left:0;top:.55em;width:8px;height:8px;border-radius:50%;background:#56efad;box-shadow:0 0 0 4px rgba(86,239,173,.10)}
.about-mini-pills{display:flex;flex-wrap:wrap;gap:10px;position:relative;z-index:1;margin-top:12px}
.about-mini-pills span{display:inline-flex;align-items:center;justify-content:center;padding:10px 12px;border-radius:999px;background:#f4f8fb;border:1px solid #dbe4ed;color:#0b1f34;font-size:11px;font-weight:800;letter-spacing:.04em}
.purpose-grid{margin-top:18px}

@media(max-width:1200px){
  .about-story-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .about-trust-grid{grid-template-columns:1fr}
  .about-trust-card h3{font-size:24px}
}


/* v37: reduce empty space in about story dark panel */
.about-story-grid{align-items:start !important}
.about-story-card{
  align-self:start;
  height:auto;
  min-height:unset;
  display:block;
}
@media(min-width:1201px){
  .about-story-card{max-width:none}
}


/* v38: about section aligned bottom, no extra capacities card */
.about-story-grid{
  grid-template-columns:1.45fr .95fr;
  gap:18px;
  align-items:stretch;
}
.about-story-card,
.about-trust{
  height:100%;
}
.about-trust{
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  gap:14px;
}
.about-trust-grid{
  grid-template-columns:1fr;
  gap:14px;
}
.about-trust-card.primary{
  min-height:0;
}
.about-trust-grid .about-trust-card{
  min-height:0;
}
.about-check-list{gap:12px}
@media(max-width:1200px){
  .about-story-grid{grid-template-columns:1fr; align-items:start;}
  .about-story-card,.about-trust{height:auto}
}


/* v39: compact history + 3 aligned lower panels */
.about-story-grid{
  grid-template-columns:1.42fr .98fr !important;
  align-items:start !important;
}
.about-story-card{
  padding:28px 30px 22px !important;
}
.about-story-card h3{
  font-size:clamp(22px,2vw,30px);
  margin:0 0 14px;
  max-width:650px;
}
.about-story-card p{
  font-size:12.5px;
  line-height:1.72;
  max-width:760px;
}
.about-evolution{
  margin-top:18px;
  padding-top:16px;
}
.about-trust{display:block;height:auto !important}
.about-trust-card.primary{
  height:100%;
  min-height:0;
}
.about-bottom-panels{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
  margin-top:18px;
}
.about-trust-card.compact{
  padding:22px 22px 20px;
  min-height:220px;
}
.about-trust-card.compact h4{
  position:relative;z-index:1;
  font-family:Manrope,sans-serif;
  font-size:22px;line-height:1.2;
  margin:0 0 12px;color:#09192b;
}
.about-trust-card.compact p{
  margin:0; font-size:13px; line-height:1.72;
}
.about-trust-card.compact .about-check-list{gap:10px; margin-top:2px}
.about-trust-card.compact .about-check-list li{font-size:13px; line-height:1.6}
@media(max-width:1200px){
  .about-bottom-panels{grid-template-columns:1fr}
}
@media(max-width:760px){
  .about-story-card{padding:24px 22px 20px !important}
  .about-trust-card.compact{min-height:0}
  .about-trust-card.compact h4{font-size:20px}
}


/* v40: cleaner about layout matching two-row composition */
.about-section.about-modern{padding-top:78px;padding-bottom:78px}
.about-heading{margin-bottom:26px}
.about-heading h2{max-width:760px}
.about-heading p{max-width:640px;font-size:14px;line-height:1.72}
.about-story-grid{grid-template-columns:1.45fr .95fr !important;gap:16px;align-items:stretch !important;margin-bottom:16px}
.about-story-card,.about-trust-card.primary{border-radius:26px}
.about-story-card{padding:24px 28px 20px !important;min-height:320px}
.about-story-label,.about-trust-label{margin-bottom:14px}
.about-story-card h3{font-size:clamp(21px,2vw,28px);line-height:1.18;margin:0 0 12px;max-width:620px}
.about-story-card p{font-size:12.5px;line-height:1.7;margin:0 0 10px;max-width:700px}
.about-evolution{margin-top:16px;padding-top:14px;gap:8px}
.about-evolution div{font-size:10px}
.about-trust-card.primary{padding:22px 24px 18px;min-height:320px}
.about-trust-card h3{font-size:24px;line-height:1.12;margin:0 0 12px}
.about-trust-card p{font-size:13px;line-height:1.7;margin:0 0 10px}
.about-bottom-panels{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:0}
.about-trust-card.compact{padding:20px 22px;min-height:220px;border-radius:24px}
.about-trust-card.compact h4{font-size:18px;line-height:1.28;margin:0 0 10px;max-width:95%}
.about-trust-card.compact p{font-size:12.5px;line-height:1.66}
.about-trust-card.compact .about-check-list{gap:11px;margin-top:2px}
.about-trust-card.compact .about-check-list li{font-size:12.5px;line-height:1.55}
.about-check-list li{padding-left:16px}
.about-check-list li::before{width:8px;height:8px}
@media(max-width:1200px){
  .about-story-grid{grid-template-columns:1fr !important}
  .about-story-card,.about-trust-card.primary{min-height:0}
  .about-bottom-panels{grid-template-columns:1fr;gap:14px}
}
@media(max-width:760px){
  .about-section.about-modern{padding-top:64px;padding-bottom:64px}
  .about-heading{margin-bottom:22px}
  .about-story-card{padding:22px 20px 18px !important}
  .about-trust-card.primary,.about-trust-card.compact{padding:20px 18px}
  .about-trust-card h3{font-size:22px}
  .about-trust-card.compact h4{font-size:17px}
  .about-evolution{grid-template-columns:1fr 1fr}
}


/* v41: cleaner who-we-are layout with fewer panels */
.about-section.about-modern{padding-top:78px;padding-bottom:74px}
.about-story-grid{
  grid-template-columns:1.42fr .98fr !important;
  gap:18px;
  align-items:stretch !important;
  margin-top:4px;
  margin-bottom:0 !important;
}
.about-story-card{
  padding:26px 28px 22px !important;
  min-height:0;
  align-self:stretch;
}
.about-story-card h3{max-width:620px}
.about-story-card p{max-width:760px}
.about-evolution{margin-top:18px}
.about-info-panel{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  padding:24px 24px 22px;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,253,.94));
  border:1px solid #dbe4ed;
  box-shadow:0 12px 34px rgba(20,46,75,.05);
}
.about-info-block h3{
  font-family:Manrope,sans-serif;
  font-size:27px;
  line-height:1.12;
  margin:0 0 12px;
  color:#09192b;
}
.about-info-block p{
  margin:0 0 10px;
  color:#6e8195;
  font-size:13px;
  line-height:1.72;
}
.about-info-divider{
  height:1px;
  background:linear-gradient(90deg, rgba(12,184,212,.16), rgba(12,184,212,0));
}
.about-info-duo{
  display:grid;
  grid-template-columns:1fr;
  gap:16px;
}
.about-info-mini h4{
  font-family:Manrope,sans-serif;
  font-size:20px;
  line-height:1.25;
  margin:0 0 10px;
  color:#09192b;
}
.about-info-mini p{
  margin:0;
  color:#6e8195;
  font-size:12.8px;
  line-height:1.68;
}
.about-distinction-band{
  margin-top:18px;
  padding:18px 22px;
  border-radius:24px;
  background:rgba(255,255,255,.9);
  border:1px solid #dbe4ed;
  box-shadow:0 10px 28px rgba(20,46,75,.04);
}
.about-distinction-band .about-trust-label{margin-bottom:12px}
.about-distinction-items{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
}
.about-distinction-items span{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:10px 14px;
  border-radius:999px;
  background:#f5f9fc;
  border:1px solid #dbe4ed;
  color:#0b1f34;
  font-size:11px;
  line-height:1.35;
  font-weight:700;
}
.about-distinction-items span::before{
  content:"";
  width:8px;
  height:8px;
  border-radius:50%;
  background:#56efad;
  box-shadow:0 0 0 4px rgba(86,239,173,.10);
  flex:0 0 auto;
}
@media(max-width:1200px){
  .about-story-grid{grid-template-columns:1fr !important}
  .about-info-panel{padding:22px 20px}
}
@media(max-width:760px){
  .about-story-card{padding:22px 20px 18px !important}
  .about-info-block h3{font-size:24px}
  .about-info-mini h4{font-size:18px}
  .about-distinction-band{padding:18px 16px}
  .about-distinction-items span{font-size:10.5px;width:100%}
}


/* v42: simple but premium about section */
.about-premium{padding-top:80px;padding-bottom:78px}
.about-premium-heading{margin-bottom:26px}
.about-premium-heading h2{max-width:760px}
.about-premium-heading p{max-width:640px;font-size:14px;line-height:1.78}

.about-premium-card{
  position:relative;
  padding:26px 28px 28px;
  border-radius:30px;
  background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,253,.94));
  border:1px solid #dbe4ed;
  box-shadow:0 18px 48px rgba(18,44,72,.07);
  overflow:hidden;
}
.about-premium-card::before{
  content:"";
  position:absolute;
  top:0;left:0;right:0;height:4px;
  background:linear-gradient(90deg,#0dc2ec, #6df4c0 60%, #0dc2ec);
  opacity:.9;
}
.about-premium-topline{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-bottom:22px;
}
.about-premium-topline span{
  display:inline-flex;align-items:center;justify-content:center;
  padding:10px 14px;border-radius:999px;
  background:#f4f8fb;border:1px solid #dbe4ed;
  color:#0b1f34;font-size:11px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;
}
.about-premium-grid{
  display:grid;
  grid-template-columns:1.15fr 1fr 1fr;
  gap:0;
}
.about-premium-block{
  padding:8px 22px 0;
  min-width:0;
}
.about-premium-block + .about-premium-block{
  border-left:1px solid #e7eef5;
}
.about-premium-block.history{padding-left:0}
.about-premium-block.vision{padding-right:0}
.about-premium-label{
  font-size:10px;font-weight:900;letter-spacing:.16em;color:#0db8d4;margin-bottom:12px;
}
.about-premium-block h3{
  margin:0 0 12px;
  font-family:Manrope,sans-serif;
  font-size:24px;
  line-height:1.18;
  color:#09192b;
}
.about-premium-block p{
  margin:0 0 10px;
  color:#6e8195;
  font-size:13px;
  line-height:1.76;
}
.about-premium-block p strong{color:#0b1f34}

.about-premium-band{
  margin-top:18px;
  padding:16px 20px;
  border-radius:22px;
  background:rgba(255,255,255,.78);
  border:1px solid #dbe4ed;
  box-shadow:0 10px 26px rgba(18,44,72,.04);
}
.about-premium-band .about-premium-label{margin-bottom:10px}
.about-premium-points{
  display:flex;
  flex-wrap:wrap;
  gap:10px 12px;
}
.about-premium-points span{
  display:inline-flex;align-items:center;gap:8px;
  padding:9px 12px;border-radius:999px;
  background:#f7fafc;border:1px solid #e3ebf2;
  color:#0b1f34;font-size:11px;font-weight:700;line-height:1.35;
}
.about-premium-points span::before{
  content:"";
  width:8px;height:8px;border-radius:50%;
  background:#56efad;box-shadow:0 0 0 4px rgba(86,239,173,.10);
  flex:0 0 auto;
}

@media(max-width:1200px){
  .about-premium-grid{grid-template-columns:1fr;gap:18px}
  .about-premium-block{padding:0}
  .about-premium-block + .about-premium-block{border-left:none;border-top:1px solid #e7eef5;padding-top:18px}
}
@media(max-width:760px){
  .about-premium{padding-top:68px;padding-bottom:64px}
  .about-premium-heading{margin-bottom:22px}
  .about-premium-card{padding:22px 18px 22px}
  .about-premium-topline{margin-bottom:18px}
  .about-premium-topline span{width:100%;justify-content:flex-start}
  .about-premium-block h3{font-size:22px}
  .about-premium-band{padding:16px}
  .about-premium-points span{width:100%}
}

/* v43: remove lower distinction band */
.about-premium{padding-bottom:64px}


/* v44: remove premium pills and distinction band from who-we-are */
.about-premium-card{padding-top:30px}
.about-premium-grid{margin-top:0}



/* v46: restore natural text alignment in Who We Are */
#quienes-somos .about-premium-heading > p,
#quienes-somos .about-premium-block p{
  text-align:left;
  text-justify:auto;
  hyphens:none;
  -webkit-hyphens:none;
}


/* v47: vector QHUB brand */
:root{
  --qhub-brand-cyan:#0BADDA;
  --qhub-brand-gray:#626264;
  --qhub-brand-dark:#071421;
  --qhub-brand-light:#E8F0F5;
}
.site-header .brand-official img{
  width:214px;
  height:auto;
  max-height:64px;
  object-fit:contain;
  object-position:left center;
  background:transparent!important;
  filter:none!important;
}
@media(max-width:680px){
  .site-header .brand-official img{width:178px;max-height:50px}
}


/* v53: user-approved header logo treatment */
.brand-official{
  display:inline-flex;
  align-items:center;
  min-width:0;
  padding:0;
  border-radius:0;
  background:transparent;
  border:0;
  box-shadow:none;
}
.brand-official img.qhub-header-logo{
  display:block;
  width:246px;
  height:auto;
  max-height:64px;
  object-fit:contain;
  object-position:left center;
  background:transparent !important;
  border:0 !important;
  padding:0 !important;
  filter:none !important;
}
@media(max-width:680px){
  .brand-official img.qhub-header-logo{width:190px;max-height:52px}
  .brand-official{padding:0}
}


/* v55: reposition AI network so it stays visible around the hero panel */
.hero-ai-right{right:-115px;top:170px;width:min(19vw,240px);opacity:.55;z-index:1}
.hero-ai-left{left:35%;right:auto;top:auto;bottom:8px;width:min(24vw,310px);opacity:.26;z-index:1;transform:translateX(-50%) scale(1.02)}
.hero-ai-left svg,.hero-ai-right svg{display:block}
@media(max-width:1200px){
  .hero-ai-right{right:-90px;top:150px;width:min(23vw,210px);opacity:.46}
  .hero-ai-left{left:36%;bottom:2px;width:min(26vw,270px);opacity:.21}
}
@media(max-width:980px){
  .hero-ai-right{right:-80px;top:185px;width:min(30vw,180px);opacity:.34}
  .hero-ai-left{left:39%;bottom:-2px;width:min(30vw,220px);opacity:.16}
}
@media(max-width:680px){
  .hero-ai-right{right:-70px;top:165px;width:38vw;opacity:.24}
  .hero-ai-left{display:none}
}


/* v58: neural network positioned inside the user-marked lower-center glow */
.hero-ai-right{display:none !important;}
.hero-ai-left{display:none !important;}
.hero-ai-focus{
  position:absolute;
  left:45.0%;
  right:auto;
  top:auto;
  bottom:-40px;
  width:min(31vw,470px);
  height:auto;
  z-index:1;
  opacity:.10;
  transform:translateX(-50%);
  mix-blend-mode:screen;
  pointer-events:none;
  filter:drop-shadow(0 0 10px rgba(34,211,238,.03));
}
.hero-ai-focus svg{width:100%;height:auto;display:block;}

@media(min-width:1700px){
  .hero-ai-focus{left:44.9%;bottom:-42px;width:min(30vw,500px);opacity:.10;}
}
@media(max-width:1400px){
  .hero-ai-focus{left:44.4%;bottom:-32px;width:min(32vw,430px);opacity:.09;}
}
@media(max-width:1200px){
  .hero-ai-focus{left:43.1%;bottom:-22px;width:min(34vw,380px);opacity:.08;}
}
@media(max-width:980px){
  .hero-ai-focus{left:48.8%;bottom:2px;width:min(42vw,300px);opacity:.07;}
}
@media(max-width:680px){
  .hero-ai-focus{display:none;}
}


/* v67 cleanups and demos */
.card-num,.agile-num{display:none !important;}
.tech-logo-wrap img{background:transparent !important;}
.tech-logo-wrap img.logo-chatgpt,.tech-logo-wrap img.logo-claude,.tech-logo-wrap img.logo-copilot,.tech-logo-wrap img.logo-excel-vba,.tech-logo-wrap img.logo-office365,.tech-logo-wrap img.logo-python,.tech-logo-wrap img.logo-n8n{background:transparent !important; box-shadow:none !important;}
.impact-line{display:none !important;}
.impact-chart-body{padding:22px 14px 18px; min-height:186px;}
.impact-bars{position:relative; height:148px; gap:12px; align-items:flex-end;}
.impact-bar-group{justify-content:flex-end; gap:10px;}
.impact-bars i{min-height:22%; background:linear-gradient(180deg, rgba(87,235,254,.28), rgba(110,156,255,.95)); box-shadow:0 14px 26px rgba(69,212,255,.12), inset 0 1px 0 rgba(255,255,255,.08);}
.case-card{min-height:unset; position:relative; overflow:hidden;}
.case-demo-frame{margin:16px 0 22px; border:1px solid rgba(108,145,176,.22); border-radius:18px; overflow:hidden; background:linear-gradient(180deg, rgba(14,28,44,.95), rgba(8,18,30,.98)); box-shadow:inset 0 1px 0 rgba(255,255,255,.04);}
.case-demo-frame img{display:block; width:100%; height:auto; aspect-ratio:16/9; object-fit:cover;}
.case-card h3{margin:0 0 16px;}
.case-card .case-tag{display:inline-flex; align-self:flex-start;}
@media (max-width: 980px){ .case-demo-frame{margin:14px 0 18px;} }


/* v68 calmer demo visuals */
.case-demo-frame{background:linear-gradient(180deg, rgba(8,18,30,.97), rgba(7,18,30,.99)); border-color:rgba(96,128,156,.22); box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 18px 40px rgba(3,12,23,.22);}
.case-demo-frame img{filter:saturate(.82) brightness(.96) contrast(.98);}

/* v68 operational impact bars visible + interactive */
.impact-chart-body{padding:18px 16px 14px; min-height:220px;}
.impact-bars{position:relative; height:170px !important; display:flex; align-items:flex-end; gap:14px; padding:8px 6px 0; z-index:1;}
.impact-bar-group{flex:1; min-width:0; display:flex; flex-direction:column; align-items:center; justify-content:flex-end; gap:8px; cursor:pointer; transition:transform .25s ease;}
.impact-bar-group:hover{transform:translateY(-3px);}
.impact-bar-value{display:block; font-size:10px; line-height:1; color:#dff9ff; font-weight:800; letter-spacing:.03em; opacity:.94; transition:transform .25s ease, color .25s ease;}
.impact-bar-group i{display:block; width:100%; min-height:18%; border-radius:12px 12px 4px 4px; background:linear-gradient(180deg, rgba(103,232,249,.42), rgba(104,168,255,.96)); box-shadow:0 12px 28px rgba(79,186,255,.12), inset 0 1px 0 rgba(255,255,255,.10); transition:height .8s cubic-bezier(.22,.61,.36,1), transform .25s ease, box-shadow .25s ease, filter .25s ease; transform-origin:bottom center;}
.impact-bar-group:hover i,.impact-bar-group.active i{transform:translateY(-4px) scaleY(1.03); box-shadow:0 18px 34px rgba(98,223,255,.18), inset 0 1px 0 rgba(255,255,255,.14); filter:saturate(1.08);}
.impact-bar-group:hover .impact-bar-value,.impact-bar-group.active .impact-bar-value{transform:translateY(-2px); color:#57efff;}
.impact-bar-group span{display:block; text-align:center; font-size:10px; line-height:1.15; color:#9bb0c5; letter-spacing:.03em; white-space:normal; overflow:visible; text-overflow:clip; min-height:24px;}
@media(max-width:680px){
  .impact-chart-body{min-height:205px; padding:16px 10px 12px;}
  .impact-bars{height:156px !important; gap:8px;}
  .impact-bar-group span{font-size:8px; min-height:28px;}
  .impact-bar-value{font-size:9px;}
}


/* v69 professional demos + reliable impact bars */
.case-demo-frame{
  margin:14px 0 20px;
  border:1px solid rgba(112,140,168,.18);
  border-radius:16px;
  overflow:hidden;
  background:linear-gradient(180deg, rgba(8,18,30,.98), rgba(9,20,32,.995));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03), 0 12px 28px rgba(3,12,23,.18);
}
.case-demo-frame img{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio: 2 / 1;
  object-fit:cover;
  filter:saturate(.62) brightness(.92) contrast(.98);
}
.case-card{padding-bottom:34px;}

.impact-chart-body{
  padding:20px 16px 16px;
  min-height:228px;
}
.impact-bars{
  position:relative;
  height:174px !important;
  display:flex;
  align-items:flex-end;
  gap:12px;
  padding:8px 6px 0;
  z-index:2;
}
.impact-bar-group{
  flex:1;
  min-width:0;
  height:100%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  cursor:pointer;
  transition:transform .25s ease;
}
.impact-bar-group i{
  display:block;
  width:74%;
  height:40%;
  min-height:18px;
  border-radius:12px 12px 4px 4px;
  background:linear-gradient(180deg, rgba(95,224,245,.72), rgba(117,158,255,.96));
  border:1px solid rgba(170,226,255,.08);
  box-shadow:0 12px 24px rgba(79,186,255,.14), inset 0 1px 0 rgba(255,255,255,.12);
  transition:height .8s cubic-bezier(.22,.61,.36,1), transform .25s ease, box-shadow .25s ease, filter .25s ease;
  transform-origin:bottom center;
}
.impact-bar-group:hover i,.impact-bar-group.active i{
  transform:translateY(-4px);
  box-shadow:0 18px 32px rgba(96,198,255,.2), inset 0 1px 0 rgba(255,255,255,.14);
  filter:saturate(1.04);
}
.impact-bar-value{
  display:block;
  font-size:10px;
  line-height:1;
  color:#dff9ff;
  font-weight:800;
  letter-spacing:.03em;
}
.impact-bar-group span{
  display:block;
  text-align:center;
  font-size:10px;
  line-height:1.15;
  color:#9bb0c5;
  letter-spacing:.02em;
  min-height:24px;
  white-space:normal;
}
@media(max-width:980px){
  .case-demo-frame img{aspect-ratio:16/9;}
}
@media(max-width:680px){
  .impact-chart-body{min-height:212px; padding:18px 10px 14px;}
  .impact-bars{height:154px !important; gap:8px;}
  .impact-bar-group i{width:80%;}
  .impact-bar-group span{font-size:8px; min-height:28px;}
}


/* v70: compact professional process videos */
.case-demo-frame{
  width:min(238px,100%);
  margin:16px auto 22px;
  border:1px solid rgba(105,138,168,.18);
  border-radius:16px;
  overflow:hidden;
  background:#07121e;
  box-shadow:0 14px 30px rgba(2,10,20,.20), inset 0 1px 0 rgba(255,255,255,.03);
}
.case-demo-frame video{
  display:block;
  width:100%;
  height:auto;
  aspect-ratio:16/9;
  object-fit:cover;
  background:#07121e;
}
.case-card .case-tag{margin-bottom:0;}
.case-card h3{margin-top:0;}
@media(max-width:980px){
  .case-demo-frame{width:min(320px,100%);margin:14px auto 20px;}
}
@media(max-width:680px){
  .case-demo-frame{width:min(300px,100%);}
}

/* v78: restaurar logo original y mejorar legibilidad del subtítulo del logo */
.nav-wrap{height:84px}
.brand-official img.qhub-header-logo{
  width:296px;
  max-height:82px;
  object-fit:contain;
  object-position:left center;
  filter:drop-shadow(0 0 1px rgba(255,255,255,.08));
}
@media(max-width:680px){
  .nav-wrap{height:78px}
  .brand-official img.qhub-header-logo{width:202px;max-height:58px}
}

/* v78: recortar espacio vertical en las 4 tarjetas de servicios y mantenerlas alineadas */
#servicios .services-grid-four{
  align-items:stretch;
}
#servicios .services-grid-four .service-card{
  height:100% !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:auto minmax(46px,auto) 164px minmax(86px,auto) auto;
  align-content:start;
  gap:0;
  padding:24px 24px 20px;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:14px;
}
#servicios .services-grid-four .service-card > p{
  min-height:46px;
  margin:0 0 12px;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  height:164px;
  min-height:164px !important;
  margin:0 0 12px;
}
#servicios .services-grid-four .service-card ul{
  min-height:86px;
  margin:0 0 12px !important;
}
#servicios .services-grid-four .service-card > a{
  margin-top:0 !important;
  padding-top:0 !important;
  min-height:0 !important;
  align-self:end;
}
@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto minmax(50px,auto) 168px minmax(90px,auto) auto;
  }
  #servicios .services-grid-four .service-card > p{min-height:50px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:168px;min-height:168px !important}
  #servicios .services-grid-four .service-card ul{min-height:90px}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-card{
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    min-height:0 !important;
    padding:22px;
  }
  #servicios .services-grid-four .service-icon.wide{margin-bottom:12px}
  #servicios .services-grid-four .service-card > p,
  #servicios .services-grid-four .service-card ul{min-height:0}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:auto;min-height:160px !important}
  #servicios .services-grid-four .service-card > a{margin-top:14px !important}
}

/* v79: ajuste intermedio de espaciado en servicios — más aire sin volver a dejar huecos excesivos */
#servicios .services-grid-four{
  align-items:stretch;
}
#servicios .services-grid-four .service-card{
  height:100% !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:auto minmax(62px,auto) 190px minmax(104px,auto) auto;
  align-content:start;
  padding:28px 26px 24px;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:18px;
}
#servicios .services-grid-four .service-card > p{
  min-height:62px;
  margin:0 0 16px;
  line-height:1.6;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  height:190px;
  min-height:190px !important;
  margin:0 0 16px;
}
#servicios .services-grid-four .service-card ul{
  min-height:104px;
  margin:0 0 16px !important;
}
#servicios .services-grid-four .service-card li{
  padding:7px 0;
  line-height:1.45;
}
#servicios .services-grid-four .service-card > a{
  margin-top:2px !important;
  padding-top:0 !important;
  min-height:22px !important;
  align-self:end;
}
@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto minmax(66px,auto) 184px minmax(108px,auto) auto;
    padding:26px 24px 22px;
  }
  #servicios .services-grid-four .service-card > p{min-height:66px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:184px;min-height:184px !important}
  #servicios .services-grid-four .service-card ul{min-height:108px}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-card{
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    min-height:0 !important;
    padding:24px;
  }
  #servicios .services-grid-four .service-icon.wide{margin-bottom:16px}
  #servicios .services-grid-four .service-card > p,
  #servicios .services-grid-four .service-card ul{min-height:0}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:auto;min-height:178px !important}
  #servicios .services-grid-four .service-card > a{margin-top:16px !important}
}

/* v80: más respiración visual en los 4 servicios sin perder alineación */
#servicios .services-grid-four{
  align-items:stretch;
  gap:20px;
}
#servicios .services-grid-four .service-card{
  height:100% !important;
  min-height:0 !important;
  display:grid !important;
  grid-template-rows:auto minmax(70px,auto) 198px minmax(112px,auto) auto;
  align-content:start;
  padding:32px 30px 28px;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:22px;
}
#servicios .services-grid-four .service-card > p{
  min-height:70px;
  margin:0 0 20px;
  line-height:1.68;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  height:198px;
  min-height:198px !important;
  margin:0 0 20px;
}
#servicios .services-grid-four .service-card ul{
  min-height:112px;
  margin:0 0 18px !important;
}
#servicios .services-grid-four .service-card li{
  padding:8px 0;
  line-height:1.5;
}
#servicios .services-grid-four .service-card > a{
  margin-top:4px !important;
  min-height:24px !important;
}
@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto minmax(72px,auto) 192px minmax(114px,auto) auto;
    padding:30px 28px 26px;
  }
  #servicios .services-grid-four .service-card > p{min-height:72px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:192px;min-height:192px !important}
  #servicios .services-grid-four .service-card ul{min-height:114px}
}
@media(max-width:980px){
  #servicios .services-grid-four .service-card{
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    min-height:0 !important;
    padding:26px;
  }
  #servicios .services-grid-four .service-icon.wide{margin-bottom:18px}
  #servicios .services-grid-four .service-card > p,
  #servicios .services-grid-four .service-card ul{min-height:0}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:auto;min-height:184px !important}
  #servicios .services-grid-four .service-card > a{margin-top:18px !important}
}

/* v33: más aire en tarjetas de servicios */
#servicios .services-grid-four{
  gap:24px;
}
#servicios .services-grid-four .service-card{
  padding:32px 30px 30px;
  grid-template-rows:auto auto minmax(68px,auto) minmax(190px,auto) minmax(112px,auto) auto;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:26px;
}
#servicios .services-grid-four .service-card > p{
  min-height:68px;
  margin:0 0 18px;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  min-height:190px !important;
  margin:0 0 18px;
  padding:16px 16px 14px;
}
#servicios .services-grid-four .service-card ul{
  min-height:112px;
}
#servicios .services-grid-four .service-card li{
  padding:8px 0;
}
#servicios .services-grid-four .service-card > a{
  margin-top:20px !important;
}

@media(max-width:1400px){
  #servicios .services-grid-four{
    gap:22px;
  }
  #servicios .services-grid-four .service-card{
    padding:30px 28px 28px;
    grid-template-rows:auto auto minmax(66px,auto) minmax(186px,auto) minmax(108px,auto) auto;
  }
  #servicios .services-grid-four .service-card > p{min-height:66px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{min-height:186px !important}
  #servicios .services-grid-four .service-card ul{min-height:108px}
}

@media(max-width:980px){
  #servicios .services-grid-four{
    gap:20px;
  }
  #servicios .services-grid-four .service-card{
    padding:26px;
  }
  #servicios .services-grid-four .service-card > p{min-height:0;margin-bottom:16px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{min-height:176px !important;margin-bottom:16px}
  #servicios .services-grid-four .service-card ul{min-height:0}
}

/* v82: corregir hueco vacío en tarjetas de servicios al quitar el título repetido */
#servicios .services-grid-four{
  gap:22px;
  align-items:stretch;
}
#servicios .services-grid-four .service-card{
  height:100% !important;
  min-height:0 !important;
  display:grid !important;
  /* 5 filas reales: icono, descripción, demo, lista, CTA */
  grid-template-rows:auto minmax(72px,auto) minmax(188px,auto) minmax(102px,auto) auto;
  align-content:start;
  padding:30px 28px 26px;
}
#servicios .services-grid-four .service-icon.wide{
  margin-bottom:18px;
}
#servicios .services-grid-four .service-card > p{
  min-height:72px;
  margin:0 0 16px;
  line-height:1.62;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  height:188px;
  min-height:188px !important;
  margin:0 0 16px;
  padding:16px 16px 14px;
}
#servicios .services-grid-four .service-card ul{
  min-height:102px;
  margin:0 0 12px !important;
}
#servicios .services-grid-four .service-card li{
  padding:7px 0;
  line-height:1.48;
}
#servicios .services-grid-four .service-card > a{
  margin-top:0 !important;
  min-height:22px !important;
  align-self:end;
}

@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto minmax(70px,auto) minmax(182px,auto) minmax(100px,auto) auto;
    padding:28px 26px 24px;
  }
  #servicios .services-grid-four .service-card > p{min-height:70px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:182px;min-height:182px !important}
  #servicios .services-grid-four .service-card ul{min-height:100px}
}

@media(max-width:980px){
  #servicios .services-grid-four{
    gap:20px;
  }
  #servicios .services-grid-four .service-card{
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    min-height:0 !important;
    padding:24px;
  }
  #servicios .services-grid-four .service-icon.wide{margin-bottom:16px}
  #servicios .services-grid-four .service-card > p,
  #servicios .services-grid-four .service-card ul{min-height:0}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:auto;min-height:176px !important;margin-bottom:16px}
  #servicios .services-grid-four .service-card > a{margin-top:14px !important}
}

/* v83: agrandar ligeramente los bloques informativos de servicios y equilibrar BI */
#servicios .services-grid-four{
  gap:24px;
}
#servicios .services-grid-four .service-card{
  grid-template-rows:auto minmax(78px,auto) minmax(206px,auto) minmax(106px,auto) auto;
  padding:32px 30px 28px;
}
#servicios .services-grid-four .service-card > p{
  min-height:78px;
  margin:0 0 18px;
}
#servicios .services-grid-four .service-demo,
#servicios .services-grid-four .bi-demo{
  height:206px;
  min-height:206px !important;
  margin:0 0 18px;
  padding:18px 18px 16px;
}
/* BI: ajustar un poco la composición para que no se sienta más abajo */
#servicios .services-grid-four .bi-demo{
  padding-bottom:14px;
}
#servicios .services-grid-four .bi-demo .demo-status{
  margin-top:6px;
}
#servicios .services-grid-four .service-card ul{
  min-height:106px;
  margin:0 0 14px !important;
}
#servicios .services-grid-four .service-card li{
  padding:8px 0;
}

@media(max-width:1400px){
  #servicios .services-grid-four .service-card{
    grid-template-rows:auto minmax(76px,auto) minmax(198px,auto) minmax(104px,auto) auto;
    padding:30px 28px 26px;
  }
  #servicios .services-grid-four .service-card > p{min-height:76px}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:198px;min-height:198px !important}
  #servicios .services-grid-four .service-card ul{min-height:104px}
}

@media(max-width:980px){
  #servicios .services-grid-four .service-card{
    padding:24px;
  }
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{height:auto;min-height:184px !important;margin-bottom:16px}
}

/* v84: CTA del header con destello sutil para llamar la atención */
.btn-attention{
  position:relative;
  overflow:hidden;
  animation:ctaPulse 2.8s ease-in-out infinite;
  box-shadow:0 0 0 rgba(34,211,238,0);
}
.btn-attention::after{
  content:"";
  position:absolute;
  top:-20%;
  left:-38%;
  width:34%;
  height:140%;
  transform:rotate(18deg);
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.20),rgba(255,255,255,0));
  animation:ctaShine 3.2s ease-in-out infinite;
  pointer-events:none;
}
.btn-attention:hover{
  animation-play-state:paused;
}
.btn-attention:hover::after{
  animation-play-state:paused;
}
@keyframes ctaPulse{
  0%,100%{
    border-color:rgba(255,255,255,.22);
    background:rgba(255,255,255,.05);
    box-shadow:0 0 0 0 rgba(34,211,238,0),0 0 0 rgba(34,211,238,0);
  }
  45%{
    border-color:rgba(34,211,238,.45);
    background:rgba(255,255,255,.08);
    box-shadow:0 0 0 1px rgba(34,211,238,.18),0 0 18px rgba(34,211,238,.14);
  }
  60%{
    border-color:rgba(88,225,169,.42);
    box-shadow:0 0 0 1px rgba(88,225,169,.14),0 0 22px rgba(34,211,238,.18);
  }
}
@keyframes ctaShine{
  0%,70%,100%{left:-40%;opacity:0}
  12%{opacity:.55}
  32%{left:112%;opacity:0}
}

@media (prefers-reduced-motion: reduce){
  .btn-attention,
  .btn-attention::after{animation:none !important}
}

/* v94: contacto directo con destello sutil, alineado al CTA del header */
.contact-attention{
  position:relative;
  overflow:hidden;
  animation:contactPulse 3.4s ease-in-out infinite;
}
.contact-attention-delay{
  animation-delay:1.1s;
}
.contact-attention::after{
  content:"";
  position:absolute;
  top:-30%;
  left:-32%;
  width:24%;
  height:160%;
  transform:rotate(16deg);
  background:linear-gradient(90deg,rgba(34,211,238,0),rgba(34,211,238,.16),rgba(255,255,255,.38),rgba(34,211,238,0));
  animation:contactShine 3.8s ease-in-out infinite;
  pointer-events:none;
}
.contact-attention-delay::after{
  animation-delay:1.1s;
}
.contact-attention:hover,
.contact-attention:hover::after{
  animation-play-state:paused;
}
@keyframes contactPulse{
  0%,100%{
    border-color:#d8e3ee;
    box-shadow:0 14px 34px rgba(20,46,75,.06);
  }
  46%{
    border-color:rgba(34,211,238,.52);
    box-shadow:0 15px 38px rgba(20,46,75,.08),0 0 0 1px rgba(34,211,238,.08),0 0 20px rgba(34,211,238,.11);
  }
  58%{
    border-color:rgba(34,211,238,.34);
    box-shadow:0 16px 40px rgba(20,46,75,.09),0 0 22px rgba(34,211,238,.09);
  }
}
@keyframes contactShine{
  0%,72%,100%{left:-32%;opacity:0}
  10%{opacity:.55}
  30%{left:116%;opacity:0}
}
@media(prefers-reduced-motion:reduce){
  .contact-attention,
  .contact-attention::after{animation:none!important}
}

/* v95: ajuste icono WhatsApp para que no se vea recortado */
.contact-direct-icon svg{overflow:visible}
.contact-direct-phone .contact-direct-icon svg{width:26px;height:26px;transform:translateY(0.5px)}

/* v96: footer simplificado y centrado */
.footer-simple{padding:28px 0 24px;}
.footer-bottom-centered{justify-content:center;border-top:1px solid rgba(255,255,255,.06);padding-top:20px;margin-top:0;text-align:center;}

/* v97: responsive móvil real - evita desbordes y adapta el layout sin tocar desktop */
@media (max-width: 680px){
  html, body{width:100%;max-width:100%;overflow-x:hidden;}
  body{min-width:0;}
  img,svg,video,canvas{max-width:100%;}

  .container{
    width:100% !important;
    max-width:100% !important;
    padding-left:18px;
    padding-right:18px;
    margin-left:auto;
    margin-right:auto;
  }

  .site-header{width:100vw;max-width:100%;}
  .nav-wrap{
    width:100% !important;
    max-width:100% !important;
    height:76px;
    padding-left:18px;
    padding-right:18px;
    gap:12px;
  }
  .brand-official{min-width:0;max-width:calc(100% - 58px);overflow:visible;}
  .brand-official img.qhub-header-logo{
    width:184px !important;
    max-width:100%;
    max-height:54px !important;
    object-fit:contain;
  }
  .menu-btn{
    display:block !important;
    flex:0 0 auto;
    margin-left:auto;
    padding:8px 4px;
    position:relative;
    z-index:95;
  }
  .menu-btn span{width:26px;height:2px;margin:6px 0;}
  .nav.open{
    top:76px;
    height:calc(100svh - 76px);
    padding:30px 22px;
    overflow-y:auto;
  }
  .nav.open a{font-size:21px;}

  .hero{
    width:100%;
    max-width:100%;
    min-height:auto;
    padding-top:118px !important;
    padding-bottom:64px !important;
    overflow:hidden;
  }
  .hero-grid{
    width:100%;
    max-width:100%;
    min-width:0;
    grid-template-columns:minmax(0,1fr) !important;
    gap:38px;
  }
  .hero-grid > *,
  .hero-copy,
  .hero-visual{
    width:100%;
    max-width:100%;
    min-width:0;
  }
  .hero-copy{overflow:visible;}
  .eyebrow{
    font-size:10px;
    line-height:1.45;
    letter-spacing:.14em;
    margin-bottom:16px;
    max-width:100%;
    overflow-wrap:anywhere;
  }
  .hero h1{
    font-size:clamp(38px,10.4vw,44px) !important;
    line-height:1.02;
    letter-spacing:-.045em;
    width:100%;
    max-width:100%;
    overflow-wrap:normal;
    word-break:normal;
  }
  .hero-sub{
    width:100%;
    max-width:100%;
    font-size:15px !important;
    line-height:1.65;
    margin:22px 0 26px;
    overflow-wrap:break-word;
  }
  .hero-actions{
    width:100%;
    display:grid;
    grid-template-columns:1fr;
    gap:10px;
  }
  .hero-actions .btn{
    width:100%;
    min-height:52px;
    padding:13px 16px;
    text-align:center;
  }
  .trust-row{
    width:100%;
    grid-template-columns:1fr;
    gap:14px;
    margin-top:30px;
    padding-top:22px;
  }
  .trust-row div{min-width:0;}

  .hero-ai-focus{display:none !important;}
  .orb-a{width:240px;height:240px;right:-80px;top:18%;}
  .orb-b{width:220px;height:220px;left:42%;bottom:8%;}

  .hero-visual{
    display:block;
    margin-top:2px;
  }
  .dashboard-shell{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    transform:none !important;
    border-radius:20px;
  }
  .dash-top{
    height:48px;
    padding:0 12px;
    gap:9px;
    min-width:0;
  }
  .dash-title{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
  .status{font-size:8px;white-space:nowrap;}
  .dash-grid{
    width:100%;
    min-width:0;
    padding:10px;
    gap:8px;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;
  }
  .dash-grid > *{min-width:0;max-width:100%;}
  .metric-card{
    min-height:100px;
    padding:12px;
  }
  .metric-card:nth-child(3){grid-column:1/-1;}
  .metric-card span{font-size:8px;line-height:1.25;}
  .metric-card strong{font-size:24px;margin:12px 0 5px;}
  .metric-card small{font-size:7.5px;line-height:1.3;display:block;}
  .flow-card,
  .chart-card{grid-column:1/-1 !important;min-width:0;}
  .flow-card{min-height:218px;padding:12px;}
  .flow{padding-top:20px;}
  .node{padding:10px;min-width:0;}
  .node > div{min-width:0;}
  .node strong{font-size:10px;}
  .node small{font-size:8px;white-space:normal;overflow-wrap:anywhere;}
  .chart-card{min-height:190px;padding:13px;}
  .bars{height:96px;}

  .section-pad{padding:72px 0;}
  .section-heading h2,.impact h2,.contact h2{font-size:clamp(31px,8.5vw,40px);}
  .section-heading p,.impact-copy p,.contact-copy>p{font-size:14px;line-height:1.7;}

  #servicios .services-grid-four{grid-template-columns:1fr !important;gap:18px;}
  #servicios .services-grid-four .service-card{
    width:100%;
    max-width:100%;
    min-width:0;
    display:flex !important;
    flex-direction:column;
    height:auto !important;
    padding:22px;
  }
  #servicios .services-grid-four .service-icon.wide{width:100%;margin-bottom:16px;}
  #servicios .services-grid-four .service-card > p{min-height:0;margin-bottom:16px;}
  #servicios .services-grid-four .service-demo,
  #servicios .services-grid-four .bi-demo{
    width:100%;
    max-width:100%;
    min-width:0;
    height:auto;
    min-height:176px !important;
    margin-bottom:16px;
  }
  #servicios .services-grid-four .service-card ul{min-height:0;}
  #servicios .services-grid-four .service-card > a{margin-top:14px !important;}

  .tech-carousel,.tech-carousel-viewport,.tech-carousel-track{max-width:100%;}
  .impact-grid,.contact-grid,.cta-inner{grid-template-columns:1fr !important;gap:28px;}
  .contact-direct{grid-template-columns:1fr !important;}
  .contact-form{padding:20px;}
  .form-row{grid-template-columns:1fr !important;}

  .footer-simple{padding:24px 0 20px;}
  .footer-bottom-centered{padding-top:18px;font-size:10px;}
}


/* v101: WhatsApp flotante */
.whatsapp-widget{position:fixed;right:28px;bottom:28px;z-index:120;font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif}
.whatsapp-fab{position:relative;width:64px;height:64px;border:0;border-radius:50%;background:#19c879;color:#fff;display:grid;place-items:center;cursor:pointer;box-shadow:0 16px 38px rgba(0,0,0,.24),0 0 0 8px rgba(25,200,121,.12);transition:transform .2s,box-shadow .2s}
.whatsapp-fab:hover{transform:translateY(-2px) scale(1.03);box-shadow:0 20px 44px rgba(0,0,0,.28),0 0 0 9px rgba(25,200,121,.14)}
.whatsapp-fab svg{width:34px;height:34px}
.whatsapp-badge{position:absolute;right:-2px;top:-4px;min-width:22px;height:22px;padding:0 6px;border-radius:999px;background:#ff2f52;color:#fff;font-size:12px;font-weight:800;display:grid;place-items:center;border:2px solid #fff}
.whatsapp-tip{position:absolute;right:2px;bottom:82px;width:175px;background:#fff;color:#142033;border:1px solid #e4e9ef;border-radius:8px;padding:16px 14px;font-size:14px;line-height:1.25;box-shadow:0 12px 28px rgba(0,0,0,.14);text-align:left}
.whatsapp-tip:after{content:"";position:absolute;right:22px;bottom:-8px;width:14px;height:14px;background:#fff;border-right:1px solid #e4e9ef;border-bottom:1px solid #e4e9ef;transform:rotate(45deg)}
.whatsapp-close-tip{position:absolute;right:0;bottom:142px;width:24px;height:24px;border:0;background:transparent;color:#aeb7c2;font-size:22px;line-height:1;cursor:pointer;z-index:2}
.whatsapp-panel{position:absolute;right:0;bottom:84px;width:320px;border-radius:12px;background:#fff;box-shadow:0 22px 55px rgba(0,0,0,.24);overflow:hidden;opacity:0;visibility:hidden;transform:translateY(12px) scale(.98);transform-origin:bottom right;transition:.22s ease}
.whatsapp-panel.open{opacity:1;visibility:visible;transform:translateY(0) scale(1)}
.whatsapp-panel-head{position:relative;background:#19c879;color:#fff;padding:24px 22px 22px;display:flex;flex-direction:column;align-items:center;text-align:center}
.whatsapp-panel-close{position:absolute;right:14px;top:10px;border:0;background:transparent;color:#fff;font-size:24px;font-weight:700;cursor:pointer}
.whatsapp-avatar-wrap{
    position:relative;
    width:62px;
    height:62px;
    border-radius:50%;
    background:#fff;
    display:grid;
    place-items:center;
    border:3px solid #fff;
    overflow:hidden;
    margin-bottom:10px;
}

.whatsapp-avatar{
    width:74px;
    height:74px;
    object-fit:cover;
    border-radius:50%;
    padding:0;
    transform:scale(1.18);
}
.whatsapp-online-dot{position:absolute;right:-1px;bottom:4px;width:14px;height:14px;border-radius:50%;background:#30d889;border:3px solid #fff}
.whatsapp-panel-head strong{font-size:16px;margin-bottom:2px}
.whatsapp-panel-head span{font-size:13px}
.whatsapp-panel-body{padding:15px;background:#fff}
.whatsapp-start{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;border-radius:12px;background:#19c879;color:#fff;font-weight:800;font-size:14px;transition:transform .18s,filter .18s}
.whatsapp-start:hover{transform:translateY(-1px);filter:brightness(.97)}
@media (max-width:680px){
  .whatsapp-widget{right:18px;bottom:18px}
  .whatsapp-fab{width:58px;height:58px}
  .whatsapp-fab svg{width:31px;height:31px}
  .whatsapp-tip{right:0;bottom:76px;width:166px;padding:14px 12px;font-size:13px}
  .whatsapp-close-tip{bottom:132px}
  .whatsapp-panel{right:0;bottom:74px;width:min(320px,calc(100vw - 36px))}
}


/* v102: destello/pulso tipo Wix para el botón flotante de WhatsApp */
.whatsapp-fab{overflow:visible;isolation:isolate}
.whatsapp-fab::before{
  content:"";position:absolute;inset:-9px;border-radius:50%;
  border:2px solid rgba(25,200,121,.42);opacity:.65;z-index:-2;
  animation:whatsappPulse 2.1s ease-out infinite;
}
.whatsapp-fab::after{
  content:"";position:absolute;inset:0;border-radius:50%;overflow:hidden;z-index:-1;
  background:linear-gradient(115deg,transparent 25%,rgba(255,255,255,.55) 48%,transparent 72%);
  transform:translateX(-150%);animation:whatsappShine 3.2s ease-in-out infinite;
}
@keyframes whatsappPulse{
  0%{transform:scale(.92);opacity:.7}
  65%{transform:scale(1.35);opacity:0}
  100%{transform:scale(1.35);opacity:0}
}
@keyframes whatsappShine{
  0%,55%{transform:translateX(-150%);opacity:0}
  62%{opacity:.9}
  80%{transform:translateX(150%);opacity:0}
  100%{transform:translateX(150%);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .whatsapp-fab::before,.whatsapp-fab::after{animation:none}
}

/* v108: ajuste exclusivo móvil de la sección Resultados.
   Mantiene el panel dentro de los mismos márgenes del resto del sitio. */
@media (max-width: 680px){
  #resultados,
  #resultados .container,
  #resultados .impact-grid,
  #resultados .impact-copy,
  #resultados .impact-panel{
    min-width:0 !important;
    max-width:100% !important;
  }

  #resultados .impact-grid{
    width:100% !important;
    overflow:visible;
  }

  #resultados .impact-copy,
  #resultados .impact-panel{
    width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  #resultados .impact-panel{
    padding:22px 18px;
    box-sizing:border-box;
    overflow:hidden;
  }

  #resultados .impact-top,
  #resultados .impact-kpis,
  #resultados .impact-row,
  #resultados .impact-live-chart,
  #resultados .impact-footer{
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }

  #resultados .impact-kpis,
  #resultados .impact-footer{
    grid-template-columns:1fr !important;
  }

  #resultados .impact-live-chart{
    padding-left:12px;
    padding-right:12px;
  }

  #resultados .impact-bars,
  #resultados .impact-bar-group{
    min-width:0;
    max-width:100%;
  }
}

/* v109: estabilización móvil del carrusel Stack + eliminación de saltos/repaints */
@media (max-width: 680px){
  /* El track debe conservar el ancho total de todas las tarjetas duplicadas.
     El max-width:100% anterior hacía que el loop regresara prematuramente. */
  .tech-carousel-track{
    width:max-content !important;
    max-width:none !important;
    gap:14px;
    animation-name:techMarqueeMobile;
    animation-duration:18s;
    animation-timing-function:linear;
    animation-iteration-count:infinite;
    transform:translate3d(0,0,0);
    backface-visibility:hidden;
  }

  @keyframes techMarqueeMobile{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(calc(-50% - 7px),0,0)}
  }

  /* Evita cambios de altura periódicos en contenido animado situado arriba del Stack,
     que en Safari/iPhone pueden provocar micro-saltos verticales de la página. */
  #servicios .ai-demo{
    height:176px !important;
    min-height:176px !important;
    max-height:176px !important;
    overflow:hidden !important;
  }

  /* En iOS dejamos el WhatsApp fijo con brillo estático. El pulso y shine continuos
     pueden forzar repaints de toda la capa durante el scroll. En desktop se conservan. */
  .whatsapp-fab::before,
  .whatsapp-fab::after{
    animation:none !important;
  }
  .whatsapp-fab::before{
    opacity:.42;
    transform:scale(1.08);
  }
  .whatsapp-fab::after{
    display:none;
  }
}


/* v110: correcciones finales de experiencia móvil */
@media (max-width: 680px){
  /* Dashboard estable: ninguna actualización puede cambiar la altura del hero */
  .dashboard-shell{contain:layout paint;}
  .dash-top{min-height:48px;height:48px;}
  .flow-card{min-height:270px !important;height:270px !important;overflow:hidden;}
  .flow{min-height:160px;}
  .dash-flow-note{
    min-height:62px;
    height:62px;
    display:grid !important;
    grid-template-columns:1fr;
    align-content:start;
    gap:7px !important;
    overflow:hidden;
  }
  .dash-flow-tag{width:max-content;max-width:100%;white-space:nowrap;}
  .dash-flow-subtext{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    line-height:1.35;
    min-height:2.7em;
  }
  .chart-card{min-height:205px !important;height:205px !important;overflow:hidden;}

  /* Stack: loop medido en píxeles, rápido y realmente continuo */
  .tech-stack-section .container{overflow:hidden !important;}
  .tech-carousel,.tech-carousel-viewport{width:100% !important;max-width:100% !important;overflow:hidden !important;}
  .tech-carousel-track{
    width:max-content !important;
    max-width:none !important;
    animation-name:techMarqueeMeasured !important;
    animation-duration:var(--tech-duration,14s) !important;
    animation-timing-function:linear !important;
    animation-iteration-count:infinite !important;
    will-change:transform;
  }
  @keyframes techMarqueeMeasured{
    from{transform:translate3d(0,0,0)}
    to{transform:translate3d(var(--tech-shift,-2700px),0,0)}
  }

  /* Resultados: el panel ocupa exactamente el mismo margen que las demás secciones */
  #resultados{overflow:hidden !important;}
  #resultados > .container{
    width:calc(100% - 28px) !important;
    max-width:none !important;
    margin-left:14px !important;
    margin-right:14px !important;
    padding:0 !important;
  }
  #resultados .impact-grid{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }
  #resultados .impact-copy,
  #resultados .impact-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin-left:0 !important;
    margin-right:0 !important;
    transform:none !important;
    box-sizing:border-box !important;
  }
  #resultados .impact-panel{
    margin-top:28px !important;
    padding:20px 16px !important;
    overflow:hidden !important;
    border-radius:20px;
  }
  #resultados .impact-panel *{box-sizing:border-box;min-width:0;}
  #resultados .impact-top,
  #resultados .impact-kpis,
  #resultados .impact-row,
  #resultados .impact-live-chart,
  #resultados .impact-footer{
    width:100% !important;
    max-width:100% !important;
  }
  #resultados .impact-live-chart{padding:14px 8px !important;margin-left:0 !important;margin-right:0 !important;overflow:hidden !important;}
  #resultados .impact-chart-body{width:100% !important;padding:14px 0 12px !important;overflow:hidden !important;}
  #resultados .impact-bars{
    width:100% !important;
    max-width:100% !important;
    padding-left:0 !important;
    padding-right:0 !important;
    gap:4px !important;
  }
  #resultados .impact-bar-group{flex:1 1 0 !important;width:0 !important;max-width:none !important;}
  #resultados .impact-bar-group i{width:72% !important;max-width:28px;margin:0 auto;}
  #resultados .impact-bar-group span{font-size:7px !important;line-height:1.05 !important;overflow-wrap:anywhere;}
  #resultados .impact-kpis,#resultados .impact-footer{grid-template-columns:1fr !important;}

  /* Logo: el PNG ahora es transparente; no aplicar ninguna placa o fondo */
  .site-header .brand-official,
  .site-header .brand-official img.qhub-header-logo{
    background:transparent !important;
    box-shadow:none !important;
  }
}

/* v111: Resultados - ajuste exclusivo móvil, sin tocar desktop */
@media (max-width: 680px){
  #resultados{
    width:100% !important;
    max-width:100vw !important;
    overflow-x:clip !important;
  }

  #resultados > .container{
    width:calc(100% - 28px) !important;
    max-width:calc(100% - 28px) !important;
    margin:0 auto !important;
    padding:0 !important;
  }

  #resultados .impact-grid{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:28px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
  }

  #resultados .impact-copy,
  #resultados .impact-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-panel{
    padding:20px 16px !important;
    border-radius:20px !important;
    overflow:hidden !important;
  }

  #resultados .impact-panel *,
  #resultados .impact-copy *{
    min-width:0 !important;
    max-width:100%;
    box-sizing:border-box;
  }

  #resultados .impact-copy h2,
  #resultados .impact-copy p,
  #resultados .impact-top span,
  #resultados .impact-top strong,
  #resultados .impact-kpi,
  #resultados .impact-row,
  #resultados .impact-footer div{
    overflow-wrap:anywhere;
    word-break:normal;
  }

  #resultados .impact-kpis,
  #resultados .impact-footer{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) !important;
    gap:12px !important;
    width:100% !important;
  }

  #resultados .impact-live-chart{
    width:100% !important;
    max-width:100% !important;
    margin:24px 0 8px !important;
    padding:14px 10px !important;
    overflow:hidden !important;
  }

  #resultados .impact-chart-body{
    width:100% !important;
    max-width:100% !important;
    height:170px !important;
    padding:12px 0 34px !important;
    overflow:hidden !important;
  }

  #resultados .impact-bars{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    max-width:100% !important;
    height:138px !important;
    display:grid !important;
    grid-template-columns:repeat(7,minmax(0,1fr)) !important;
    align-items:end !important;
    gap:3px !important;
    overflow:hidden !important;
  }

  #resultados .impact-bar-group{
    width:100% !important;
    min-width:0 !important;
    max-width:100% !important;
    display:grid !important;
    grid-template-rows:auto 1fr auto !important;
    align-items:end !important;
    justify-items:center !important;
    gap:5px !important;
  }

  #resultados .impact-bar-group i{
    width:min(72%,24px) !important;
    margin:0 auto !important;
  }

  #resultados .impact-bar-group b{
    font-size:7px !important;
    line-height:1 !important;
  }

  #resultados .impact-bar-group span{
    width:100% !important;
    font-size:6.5px !important;
    line-height:1.05 !important;
    white-space:normal !important;
    overflow:visible !important;
    text-overflow:clip !important;
    overflow-wrap:anywhere !important;
    text-align:center !important;
  }

  #resultados .impact-line{
    width:100% !important;
    left:0 !important;
    right:0 !important;
  }
}

/* v112: RESULTADOS móvil - solución definitiva de márgenes y desbordamiento.
   Solo aplica en móvil; escritorio permanece intacto. */
@media (max-width:680px){
  #resultados{
    width:100% !important;
    max-width:100% !important;
    padding-left:20px !important;
    padding-right:20px !important;
    overflow-x:hidden !important;
    box-sizing:border-box !important;
  }

  #resultados > .container{
    width:100% !important;
    max-width:100% !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-grid{
    display:flex !important;
    flex-direction:column !important;
    gap:28px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-copy{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-copy .eyebrow,
  #resultados .impact-copy h2,
  #resultados .impact-copy p{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-copy h2{
    font-size:clamp(34px,9.2vw,42px) !important;
    line-height:1.08 !important;
    overflow-wrap:normal !important;
    word-break:normal !important;
  }

  #resultados .impact-copy p{
    font-size:15px !important;
    line-height:1.72 !important;
  }

  #resultados .bullet-grid{
    width:100% !important;
    max-width:100% !important;
    grid-template-columns:1fr !important;
    gap:14px !important;
    margin:28px 0 0 !important;
  }

  #resultados .bullet-grid > div{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-panel{
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
    padding:20px 16px !important;
    border-radius:20px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
    transform:none !important;
  }

  #resultados .impact-panel > *,
  #resultados .impact-panel *{
    max-width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
  }

  #resultados .impact-top{
    gap:12px !important;
  }

  #resultados .impact-kpis,
  #resultados .impact-footer{
    grid-template-columns:1fr !important;
    width:100% !important;
  }

  #resultados .impact-live-chart{
    width:100% !important;
    margin:24px 0 8px !important;
    padding:14px 8px !important;
    overflow:hidden !important;
  }

  #resultados .impact-chart-body{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
  }
}

@media (max-width:390px){
  #resultados{padding-left:16px !important;padding-right:16px !important;}
  #resultados .impact-copy h2{font-size:34px !important;}
}

/* v113: Stack logos ChatGPT + Claude más pequeños en móvil para que no se corten */
@media (max-width: 680px){
  .tech-logo-card{flex-basis:156px !important; min-height:132px !important; padding:14px 10px !important;}
  .tech-logo-wrap{height:86px !important; max-width:126px !important;}
  .tech-logo-wrap img{max-width:124px !important; max-height:68px !important; object-fit:contain !important;}
  .tech-logo-wrap img.logo-chatgpt{max-width:114px !important; max-height:52px !important;}
  .tech-logo-wrap img.logo-claude{max-width:112px !important; max-height:50px !important;}
}

/* v114: Dashboard móvil nuevamente animado, con bloque de altura fija para evitar que empuje el contenido inferior. */
@media (max-width:680px){
  .hero-visual{min-height:768px !important;}
  .dashboard-shell{
    height:768px !important;
    min-height:768px !important;
    max-height:768px !important;
    overflow:hidden !important;
    contain:layout paint style !important;
  }
  .dash-grid{
    grid-auto-rows:min-content;
  }
  .metric-card{
    height:100px !important;
    min-height:100px !important;
    overflow:hidden !important;
  }
  .flow-card{
    height:270px !important;
    min-height:270px !important;
    max-height:270px !important;
  }
  .chart-card{
    height:205px !important;
    min-height:205px !important;
    max-height:205px !important;
  }
}

/* v117: Base v114 - bajar un poco más el texto inferior de la gráfica de barras en móvil,
   sin romper la animación ni el layout general del dashboard. */
@media (max-width:680px){
  .chart-card{
    height:218px !important;
    min-height:218px !important;
    max-height:218px !important;
    padding-bottom:14px !important;
  }

  .bars-wrap{
    height:108px !important;
    margin-top:8px !important;
    margin-bottom:2px !important;
  }

  .dash-line{
    inset:8px 2px 18px !important;
    height:calc(100% - 26px) !important;
  }

  .dash-chart-caption{
    margin-top:12px !important;
    padding-top:12px !important;
    position:relative;
    top:4px;
  }
}

/* v118: unificar el color del header con el fondo oscuro del logo */
.site-header,
.site-header.scrolled{
  background: linear-gradient(90deg, #071321 0%, #0a1a2e 52%, #071321 100%) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: 1px solid rgba(255,255,255,.06) !important;
}

/* mantener el menú móvil con el mismo lenguaje visual del header */
@media (max-width: 980px){
  .nav.open{
    background: linear-gradient(180deg, #071321 0%, #0a1a2e 100%) !important;
  }
}

/* v119: conservar el fondo unificado del header, restaurando el tamaño anterior del logo */
.site-header .brand-official img.qhub-header-logo{
  width:246px !important;
  max-height:64px !important;
}
@media (max-width:980px){
  .site-header .brand-official img.qhub-header-logo{
    width:184px !important;
    max-height:54px !important;
  }
}
@media (max-width:680px){
  .nav-wrap{height:76px !important;}
  .site-header .brand-official img.qhub-header-logo{
    width:184px !important;
    max-height:54px !important;
  }
}

/* v122: escritorio - igualar el header al tono real de fondo del PNG del logo.
   Móvil se conserva como estaba porque ya se veía correcto. */
@media (min-width:981px){
  .site-header,
  .site-header.scrolled{
    background:#051325 !important;
    background-image:none !important;
    backdrop-filter:none !important;
    -webkit-backdrop-filter:none !important;
  }
}

/* v123: restaurar efecto de WhatsApp en móvil sin afectar el layout */
@media (max-width:680px) and (prefers-reduced-motion:no-preference){
  .whatsapp-fab{
    will-change:transform;
  }
  .whatsapp-fab::before{
    display:block !important;
    animation:whatsappPulse 2.4s ease-out infinite !important;
    opacity:.65 !important;
    transform:scale(.92);
    will-change:transform,opacity;
  }
  .whatsapp-fab::after{
    display:block !important;
    animation:whatsappShine 3.6s ease-in-out infinite !important;
    will-change:transform,opacity;
  }
}

/* v124: unificar definitivamente el fondo del header con el fondo real del logo
   en escritorio y móvil. No se modifica el logo ni ningún otro bloque del sitio. */
.site-header,
.site-header.scrolled{
  background:#051325 !important;
  background-image:none !important;
  backdrop-filter:none !important;
  -webkit-backdrop-filter:none !important;
}

@media (max-width:980px){
  .site-header,
  .site-header.scrolled,
  .nav.open{
    background:#051325 !important;
    background-image:none !important;
  }
}

.contact-direct-agenda{
    background: linear-gradient(135deg, #0b1726 0%, #103a5b 55%, #0fa7c6 100%);
    border-color: #19c6df !important;
    color: #fff;
    box-shadow: 0 12px 30px rgba(15, 167, 198, .22);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.contact-direct-agenda small,
.contact-direct-agenda strong{
    color: #fff !important;
}

.contact-direct-agenda .contact-direct-icon{
    background: rgba(255,255,255,.10);
    color: #38e0f2;
}

.contact-direct-agenda:hover{
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(15, 167, 198, .30);
    border-color: #38e0f2 !important;
}
.contact-direct{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:18px !important;
}

.contact-direct-card{
    width:100% !important;
    min-width:0 !important;
    box-sizing:border-box !important;
}

@media (max-width:760px){
    .contact-direct{
        grid-template-columns:1fr !important;
    }
}
.contact-direct-card strong{
    font-size:12px !important;
    line-height:1.2 !important;
}
.contact-direct-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:6px !important;
    min-height:140px;
}

.contact-direct-card .contact-direct-icon{
    margin:0 0 6px 0 !important;
}

.contact-direct-card > div{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:3px;
}

.contact-direct-card small{
    display:block;
    font-size:11px !important;
    letter-spacing:.14em;
}

.contact-direct-card strong{
    display:block;
    font-size:14px !important;
    line-height:1.25 !important;
}
.contact-direct-card{
    display:flex !important;
    flex-direction:column !important;
    align-items:center !important;
    justify-content:center !important;
    text-align:center !important;
    gap:8px !important;
    min-height:130px;
}

.contact-direct-card .contact-direct-icon{
    margin:0 !important;
}

.contact-direct-card small{
    display:none !important;
}

.contact-direct-card strong{
    display:block;
    font-size:14px !important;
    line-height:1.25 !important;
}
.contact-direct-agenda{
    position:relative;
    animation:agendaPulse 2.2s ease-in-out infinite;
}

@keyframes agendaPulse{
    0%,100%{
        box-shadow:
            0 0 0 1px rgba(35,220,240,.35),
            0 0 0 rgba(35,220,240,0);
    }

    50%{
        box-shadow:
            0 0 0 2px rgba(35,220,240,.85),
            0 0 18px rgba(35,220,240,.45);
    }
}
.contact-direct-agenda .contact-direct-icon{
    animation:agendaIconJump 2.4s ease-in-out infinite;
}

@keyframes agendaIconJump{
    0%, 72%, 100%{
        transform:translateY(0);
    }

    80%{
        transform:translateY(-6px);
    }

    87%{
        transform:translateY(0);
    }

    93%{
        transform:translateY(-3px);
    }
}

.site-header .btn-attention[data-agenda-qhub]{
    min-width:220px;
    justify-content:center;
}
