/* Consolidated mobile styles from V45–V48, original cascade order preserved. */
/* mobile-v45.css */
/* MAGI IT V45 — Ajustes móviles compartidos. No altera escritorio ni duplica componentes. */
.im-module-mobile-controls {display:none;}
@media (max-width:800px) {
  /* Footer: identidad; primera fila Explora / Empresa; segunda fila Contacto / Redes. */
  .footer-grid {
    display:grid!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    column-gap:clamp(16px,4.5vw,36px);
    row-gap:25px;
    padding-top:38px;
    padding-bottom:28px;
    align-items:start;
  }
  .footer-grid>.footer-brand {grid-column:1/-1;grid-row:1;min-width:0;padding-bottom:18px;border-bottom:1px solid rgba(96,152,255,.16);}
  .footer-grid>.footer-column:not(.footer-column--contact):nth-child(2){grid-column:1;grid-row:2;}
  .footer-grid>.footer-column:not(.footer-column--contact):nth-child(3){grid-column:2;grid-row:2;}
  .footer-grid>.footer-column--contact {grid-column:1/-1;grid-row:3;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;align-items:center;padding:22px 0 0;border-top:1px solid rgba(96,152,255,.17);}
  .footer-grid>.footer-column--contact .footer-title{grid-column:1;grid-row:1;margin:0;line-height:1.5;letter-spacing:.11em;}
  .footer-grid>.footer-column--contact>a[href^="mailto:"]{grid-column:1;grid-row:2;min-width:0;font-size:clamp(11px,2.7vw,14px);overflow-wrap:anywhere;}
  .footer-grid>.footer-column--contact>small{grid-column:1/-1;grid-row:3;}
  .footer-grid>.footer-column--contact>.footer-social{grid-column:2;grid-row:1/3;justify-self:end;display:flex;gap:8px;align-items:center;}
  .footer-column:not(.footer-column--contact) {gap:11px;}
  .footer-column:not(.footer-column--contact) a{font-size:clamp(12px,3vw,14px);line-height:1.3;}
  .footer-title{font-size:10px;letter-spacing:.14em;}
  .footer-social-link{width:44px;height:44px;}
  .footer-bottom{padding:18px 0 27px;flex-direction:column;gap:5px;text-align:center;font-size:11px;}
  /* Hide demo descriptions that would squash mobile proportions, but keep live interaction. */
  .solutions-inner{grid-template-columns:1fr;}
  .solutions-header{text-align:center;max-width:600px;margin:0 auto 30px;}
  .solutions-header>p{max-width:46ch!important;margin:0 auto!important;padding:0!important;border:0!important;text-align:center!important;}
  .solutions-notice{justify-content:center;}
  .manifesto-grid>.manifesto-body{grid-column:1/-1;text-align:center;max-width:640px;margin:0 auto;}
  .manifesto-body p{text-align:center;}
  .manifesto-grid>.manifesto-pillar{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:148px;padding:20px 22px;}
  .manifesto-pillar strong{margin:13px 0 8px;font-size:clamp(24px,5vw,32px);}
  .manifesto-pillar small{margin:0;font-size:14px;max-width:35ch;}
  .allies-v40-intro{width:100%;max-width:none!important;}
  .allies-v40-intro h2{width:100%;max-width:none!important;margin-inline:auto;font-size:clamp(37px,6.9vw,56px)!important;line-height:1.16!important;letter-spacing:-.05em!important;text-wrap:balance;overflow-wrap:normal;}
}
@media(max-width:680px){
  /* Inicio: el núcleo precede a cuatro paneles de igual ancho y orden estable. */
  .hero{min-height:0!important;display:block;overflow:hidden;padding-bottom:0;}
  .hero-content{min-height:0!important;padding-top:110px;padding-bottom:18px!important;}
  .hero-holograms{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    width:min(100%,520px)!important;
    margin:0 auto;
    position:relative!important;
    left:auto!important;bottom:auto!important;
    transform:none!important;
    gap:14px!important;
    padding:315px 22px 48px!important;
    aspect-ratio:auto!important;
    isolation:isolate;
  }
  .hero-holograms::before{z-index:-2;}
  .hero-holograms::after{content:"";position:absolute;top:265px;bottom:87px;left:50%;width:2px;transform:translateX(-50%);z-index:-1;background:repeating-linear-gradient(to bottom,rgba(41,199,255,.65) 0 11px,transparent 11px 23px);box-shadow:0 0 12px rgba(62,159,255,.5);opacity:.52;pointer-events:none;}
  .hero-holograms .reactor-core{
    left:50%!important;top:147px!important;
    height:clamp(235px,67vw,290px)!important;
    width:auto!important;aspect-ratio:1;
    transform:translate(-50%,-50%)!important;
    z-index:0;
  }
  .hero-holograms>.holo-panel{
    grid-column:1!important;
    position:relative!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;
    width:100%!important;min-width:0;height:auto!important;min-height:0!important;
    margin:0!important;
  }
  .hero-holograms>.holo-panel .holo-surface{min-height:121px!important;height:auto!important;padding:15px 16px 12px;border-radius:17px;}
  .hero-holograms>.holo-panel.is-active .holo-surface{min-height:208px!important;transform:none!important;}
  .hero-holograms .holo-panel-label{font-size:clamp(12px,3.3vw,15px);}
  .hero-holograms .holo-panel-brief{font-size:12px;max-width:none;}
  .hero-holograms .holo-energy-network{display:none!important;}
  .hero-holograms .holo-instruction{position:relative!important;left:auto!important;bottom:auto!important;grid-column:1;transform:none!important;text-align:center;margin:2px 0 0;max-width:100%;}
  .hero-holograms .holo-instruction-dot{display:inline-block;}
  .hero-holograms .reactor-floor{opacity:.5;}
  .solution-cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:17px!important;}
  .solution-card{min-height:0!important;max-width:520px;width:100%;margin:0 auto;padding:18px 20px 16px;border-radius:20px;transform:none!important;}
  .solution-card .solution-photo{margin:15px auto 17px;max-width:100%;width:min(100%,380px);}
  .solution-card .card-body{text-align:center;}
  .solution-card .card-body strong{font-size:clamp(21px,5.5vw,26px);}
  .solution-card .card-body>span{font-size:14px;line-height:1.6;max-width:32ch;margin:0 auto 20px;}
  .solution-card .card-bottom{margin-top:0;font-size:12px;}
  .solutions{padding:58px 0 70px;}
  .manifesto{padding:68px 0 73px;}
  .manifesto-grid{gap:16px;}
  .manifesto-body{padding-top:0!important;}
  .manifesto-grid>.manifesto-pillar{min-height:136px;}
  .allies-v40-intro h2{font-size:clamp(33px,8.6vw,48px)!important;max-width:100%!important;line-height:1.16!important;}
  /* Desarrollo Web: cue entre hero y Soluciones; contenido sin superposiciones. */
  .web-hero{min-height:0!important;padding:102px 0 27px!important;}
  .web-hero-layout{gap:0!important;}
  .web-hero-bottom{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:auto;margin:25px auto 0;padding:0 14px;white-space:normal;text-align:center;font-size:10px;letter-spacing:.13em;}
  .web-hero-bottom span{margin:0;}
  .web-hero-metrics{margin-top:20px!important;}
  .web-services{padding-top:62px!important;}
  .web-lab{padding-bottom:42px!important;}
  .web-process{padding:44px 0 66px!important;}
  .web-process-grid{display:grid;grid-template-columns:1fr;gap:28px!important;}
  .web-process-grid>div{text-align:center;display:flex;flex-direction:column;align-items:center;}
  .web-process-grid>div>p{max-width:38ch!important;margin:0 auto 23px!important;text-align:center;font-size:15px;line-height:1.65;}
  .web-process h2{font-size:clamp(34px,8.9vw,49px)!important;max-width:16ch;margin:15px auto 19px!important;text-align:center;line-height:1.12;}
  .web-process .button{margin:0 auto;}
  .web-process-list{width:100%;margin:0 auto;}
  /* MAGI IM hero: copy first, full-width preview second. */
  .im-hero{padding:104px 0 51px!important;}
  .im-hero-layout{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:28px!important;}
  .im-hero-copy{width:100%;min-width:0;max-width:600px;margin:0 auto;text-align:center;}
  .im-hero-copy h1{font-size:clamp(37px,9vw,53px)!important;max-width:15ch;margin:16px auto 21px;line-height:1.13!important;letter-spacing:-.05em!important;}
  .im-hero-copy>p{max-width:38ch!important;margin:0 auto;text-align:center;font-size:15px!important;line-height:1.67;}
  .im-hero-actions{justify-content:center;margin:23px 0!important;}
  .im-quickstats{justify-content:center;gap:9px;}
  .im-preview{order:2;width:100%!important;max-width:580px;margin:0 auto;transform:none!important;animation:none!important;}
  .im-app-kpis>div{min-width:0;}
  .im-app-kpis strong{font-size:clamp(12px,4.2vw,20px)!important;}
  .im-app-top{flex-wrap:wrap;}
  .im-app-top span{min-width:0;}
  /* Módulos: la consola y el deslizador sustituyen los 10 renglones. */
  .im-section--modules .im-workbench{display:block!important;}
  .im-section--modules .im-workbench-index{display:none!important;}
  .im-section--modules .im-console{min-height:0!important;padding:0 16px 20px!important;border-radius:20px;}
  .im-section--modules .im-console h3{font-size:clamp(28px,7.7vw,39px);max-width:none!important;}
  .im-section--modules .im-console>p{font-size:14px;min-height:0!important;}
  .im-section--modules .im-console-screen{margin-top:18px!important;min-height:280px;}
  .im-module-mobile-controls{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;padding-top:17px;}
  .im-module-mobile-controls button{appearance:none;min-width:0;padding:12px 9px;border:1px solid rgba(90,179,255,.5);border-radius:13px;color:#edf6ff;background:rgba(30,85,181,.35);font:inherit;font-size:13px;font-weight:800;cursor:pointer;}
  .im-module-mobile-controls button:first-child{justify-self:stretch;}
  .im-module-mobile-controls button:last-child{justify-self:stretch;}
  .im-module-mobile-controls button:disabled{opacity:.35;cursor:not-allowed;}
  .im-module-mobile-controls button:focus-visible{outline:2px solid #7de5ff;outline-offset:3px;}
  .im-mobile-progress{font-size:11px;font-weight:800;color:#9bdbff;white-space:nowrap;}
  .im-console-foot{padding-top:15px!important;}
  .im-console-foot span:last-child{display:none;}
  .im-section--modules{padding-top:74px;}
}
@media(max-width:390px){
 .footer-social-link{width:39px;height:39px;}
 .footer-grid{column-gap:12px;}
 .footer-grid>.footer-column--contact{column-gap:7px;}
 .hero-holograms{padding-inline:15px!important;}
 .im-module-mobile-controls button span{font-size:11px;}
 .im-mobile-progress{font-size:10px;}
}
@media (prefers-reduced-motion:reduce){.hero-holograms::after{opacity:.28;}}

/* mobile-v46.css */
/* V46: ajustes de alineación y altura exclusivamente móviles. */
@media (max-width: 800px) {
  /* El contenido de desarrollo web conserva todo el ancho útil y queda centrado. */
  .web-service-body {
    align-items: center;
    text-align: center;
  }
  .web-service-body > .web-service-num,
  .web-service-body > h3,
  .web-service-body > p {
    width: 100%;
    text-align: center;
  }
  .web-service-body > p { max-width: 44ch; }
  .web-service-body > a {
    align-self: center;
    justify-content: center;
    text-align: center;
  }

  /* Footer de todas las vistas: marca centrada y enlaces en dos columnas. */
  .footer-grid > .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-brand p { margin-inline: auto; }
  .footer-badges { justify-content: center; }
  .footer-grid > .footer-column:not(.footer-column--contact) {
    align-items: center;
    text-align: center;
  }
  .footer-grid > .footer-column--contact {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    gap: 14px 0;
    text-align: center;
  }
  .footer-grid > .footer-column--contact .footer-title {
    grid-column: 1;
    grid-row: 1;
    margin: 0;
    text-align: center;
  }
  .footer-grid > .footer-column--contact > a[href^="mailto:"] {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    text-align: center;
    width: 100%;
  }
  .footer-grid > .footer-column--contact > .footer-social {
    grid-column: 1;
    grid-row: 3;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
  }
  .footer-grid > .footer-column--contact > small {
    grid-column: 1;
    grid-row: 4;
    text-align: center;
  }
  .footer-bottom { align-items: center; text-align: center; }

  /* Quiénes somos / Nosotros: titulares, argumentos y el visor centrados. */
  .about-intro-copy,
  .about-section-heading,
  .about-last-inner {
    text-align: center;
  }
  .about-intro-copy .eyebrow { justify-content: center; }
  .about-intro h1,
  .about-intro .about-lede,
  .about-identity-line,
  .about-intro-copy > p { margin-inline: auto; text-align: center; }
  .about-intro-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
  .about-console-readouts,
  .about-readout,
  .about-readout h3,
  .about-readout > p,
  .about-console-kicker { text-align: center; }
  .about-readout > p { margin-inline: auto; }
  .about-dots { display: flex; flex-wrap: wrap; justify-content: center; }
  .about-console-readouts { padding-inline: clamp(18px, 4vw, 36px); }
  .about-console-scene .diag-system { margin-inline: auto; }
}

@media (max-width: 680px) {
  /* En la OT, cada ilustración queda alineada con el centro del visor. */
  .im-journey-stage {
    min-height: 0;
    padding: 20px 19px 32px;
  }
  .im-stage-hud { gap: 10px; }
  .im-flow-art,
  .im-journey-stage .im-stage-diagram {
    position: absolute;
    top: 92px;
    left: 50%;
    right: auto;
    width: min(58%, 210px);
    height: 172px;
    opacity: 1;
    transform: translateX(-50%);
    transform-origin: center;
  }
  .im-stage-number {
    top: 75px;
    left: 50%;
    right: auto;
    font-size: clamp(146px, 44vw, 210px);
    transform: translateX(-50%);
    text-align: center;
  }
  .im-stage-detail {
    width: 100%;
    max-width: 100%;
    padding-top: 244px;
    text-align: center;
  }
  .im-stage-detail h3,
  .im-stage-detail p { margin-inline: auto; text-align: center; }
  .im-journey-progress { margin-inline: auto; }
  .im-stage-controls { justify-content: center; }
  .im-v43-flow-scene { margin-inline: auto; }

  /* El giro del recorrido de contacto muestra los cuatro pasos completos. */
  .contact-side-panel--journey { overflow: visible; }
  .journey-scene,
  .journey-flip-card { min-height: 755px; height: 755px; }
  .journey-flip-back {
    padding: 22px 16px;
    align-items: flex-start;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
  }
  .journey-steps-card { margin: auto 0; }
  .journey-steps-card h3 { text-align: center; font-size: clamp(24px, 6vw, 30px); margin-bottom: 21px; }
  .journey-steps-list { gap: 12px; }
  .journey-steps-list li { grid-template-columns: 46px minmax(0, 1fr); gap: 12px; padding: 15px 12px; }
  .journey-steps-list strong { font-size: clamp(15px, 4.2vw, 18px); }
  .journey-steps-list small { font-size: 13px; line-height: 1.48; }
  .journey-visual-chip { white-space: nowrap; font-size: 9px; padding: 10px 11px; }
  .chip-one { top: 9%; left: 6%; }
  .chip-two { top: 18%; right: 6%; }
  .chip-three { bottom: 23%; right: 7%; }
  .chip-four { bottom: 16%; left: 6%; }
  .journey-visual-caption {
    width: 92%;
    bottom: 25px;
    text-wrap: balance;
    font-size: 12px;
    line-height: 1.5;
  }
  .journey-support-copy { text-align: center; }

  /* Contacto: el formulario, el encabezado y los campos comparten un mismo eje. */
  .contact-form-layout { justify-items: center; }
  .contact-form-shell,
  .contact-side-panel { width: 100%; max-width: 610px; min-width: 0; margin-inline: auto; }
  .contact-form-shell { text-align: center; }
  .contact-form-shell .eyebrow { display: flex; justify-content: center; align-items: center; }
  .contact-form-shell h2,
  .contact-form-shell > p { margin-inline: auto; text-align: center; }
  .contact-form-grid { width: 100%; }
  .contact-field > span { text-align: center; }
  .contact-field input,
  .contact-field select { text-align: center; text-align-last: center; }
  .contact-field textarea { text-align: center; }
  .contact-form-actions { justify-content: center; flex-direction: column; align-items: center; }
  .contact-form-actions small { text-align: center; justify-content: center; }
  .contact-form-feedback { text-align: center; }
  .field-hint { text-align: center; }
  .contact-page-copy,
  .contact-page-copy h1,
  .contact-page-copy > p { text-align: center; }
  .contact-page-copy .eyebrow,
  .contact-page-tags { justify-content: center; }

  .web-service-body { padding: 23px 20px 28px; }
}

@media (max-width: 370px) {
  .journey-scene,
  .journey-flip-card { min-height: 805px; height: 805px; }
  .journey-steps-list li { gap: 9px; padding-inline: 9px; }
  .im-flow-art,
  .im-journey-stage .im-stage-diagram { width: min(64%, 200px); }
}

@media (max-width: 800px) {
  /* Una sola fila de contacto, en el orden correo / LinkedIn / Instagram. */
  .footer-grid > .footer-column--contact {
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: clamp(6px, 2.6vw, 14px);
    justify-items: stretch;
  }
  .footer-grid > .footer-column--contact .footer-title {
    grid-column: 1 / -1;
    grid-row: 1;
  }
  .footer-grid > .footer-column--contact > a[href^="mailto:"] {
    grid-column: 1;
    grid-row: 2;
    text-align: right;
    justify-self: end;
    align-self: center;
    font-size: clamp(10px, 2.8vw, 14px);
  }
  .footer-grid > .footer-column--contact > .footer-social {
    grid-column: 2;
    grid-row: 2;
    justify-self: start;
    gap: 7px;
  }
  .footer-grid > .footer-column--contact > small {
    grid-column: 1 / -1;
    grid-row: 3;
  }
}

/* mobile-v47.css */
/* V47: una sola capa de refinamientos y optimización. Los cambios estructurales
   se limitan a pantallas pequeñas; el carrusel usa dimensiones uniformes. */

/* Track: cada tarjeta, incluidas las clones del bucle, ocupa el mismo espacio.
   La luz destaca únicamente el contorno, sin escalado ni desplazamiento. */
.clients-marquee { overflow:hidden !important; padding-block:24px !important; contain:layout paint; }
.clients-track { display:flex !important; align-items:center !important; gap:34px !important;
  width:max-content !important; flex:0 0 auto !important; transform:translate3d(0,0,0);
  -webkit-backface-visibility:hidden; backface-visibility:hidden; }
.clients-group { display:flex !important; align-items:center !important; gap:34px !important;
  flex:none !important; width:max-content !important; padding:0 !important; }
.clients-marquee .client-logo, .clients-marquee .client-logo.is-center {
  flex:0 0 256px !important; width:256px !important; min-width:256px !important;
  max-width:256px !important; height:140px !important;
  min-height:140px !important; padding:12px !important;
  margin:0 !important; transform:none !important; scale:1 !important;
  box-sizing:border-box !important; overflow:hidden;
  transition:border-color .35s ease, box-shadow .35s ease,opacity .35s ease !important;
}
.clients-marquee .client-logo-plate { box-sizing:border-box; width:100%; max-width:100%; min-width:0; height:100%; }
.clients-marquee .client-logo-plate img { max-width:100%; max-height:100%; object-fit:contain; }
.clients-marquee .client-logo.is-center { z-index:1; box-shadow:0 0 0 1px rgba(134,214,255,.23) inset,
 0 0 22px rgba(44,153,255,.3),0 0 33px rgba(123,75,243,.16) !important; }
@media(max-width:1100px) {
 .clients-track,.clients-group {gap:26px !important;}
 .clients-marquee .client-logo,.clients-marquee .client-logo.is-center {
  width:224px !important;min-width:224px !important;max-width:224px !important;
  flex-basis:224px !important;height:126px !important;min-height:126px !important;
 }
}
@media(max-width:650px) {
 .clients-track,.clients-group {gap:22px !important;}
 .clients-marquee .client-logo,.clients-marquee .client-logo.is-center {
  width:190px !important;min-width:190px !important;max-width:190px !important;
  flex-basis:190px !important;height:118px !important;min-height:118px !important;
 }
}

/* Rendimiento de escritorio: se evita un coste por capa en cada tarjeta.
   Solo anima transformaciones u opacidad en los elementos realmente móviles. */
@media(min-width:801px) {
 .web-service, .solution-card, .im-outcome-line { will-change:auto; }
 .clients-marquee .client-logo { filter:none !important; }
 .clients-track { -webkit-transform:translateZ(0); }
}

.web-lab-mobile-controls{display:none;}
@media(max-width:800px) {
 /* Footer: enlaces contra los extremos, iconos centrados debajo y correo solo. */
 .footer-grid {grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:0 12px !important;}
 .footer-grid>.footer-column:not(.footer-column--contact):nth-child(2) {
  grid-column:1;grid-row:2;align-items:flex-start !important;text-align:left !important;
 }
 .footer-grid>.footer-column:not(.footer-column--contact):nth-child(3) {
  grid-column:2;grid-row:2;align-items:flex-end !important;text-align:right !important;
 }
 .footer-grid>.footer-column:not(.footer-column--contact):nth-child(2) .footer-title,
 .footer-grid>.footer-column:not(.footer-column--contact):nth-child(3) .footer-title {text-align:inherit !important;}
 .footer-grid>.footer-column--contact {display:contents !important;}
 .footer-grid>.footer-column--contact>.footer-title,
 .footer-grid>.footer-column--contact>small {display:none !important;}
 .footer-grid>.footer-column--contact>.footer-social {
  grid-column:1/-1 !important;grid-row:3 !important;display:flex !important;
  justify-content:center !important;justify-self:center !important;
  margin:26px auto 10px !important;padding:0 !important;
  border:0 !important;gap:17px !important;
 }
 .footer-grid>.footer-column--contact>a[href^="mailto:"] {
  grid-column:1/-1 !important;grid-row:4 !important;
  width:100% !important;text-align:center !important;
  justify-self:center !important;margin:8px auto 25px !important;
  font-size:clamp(12px,3.3vw,15px) !important;
  overflow-wrap:anywhere;
 }
 .footer-bottom {justify-content:center;text-align:center;}

 /* Tarjetas flotantes y contenido inicial con eje central consistente. */
 .hero-copy,.hero-copy h1,.hero-copy>p,.hero-copy .hero-description,
 .hero-content,.hero-content h1,.hero-content>p {text-align:center !important;}
 .hero-copy .eyebrow,.hero-content .eyebrow,
 .hero-actions,.hero-ctas,.hero-keywords {justify-content:center !important;}
 .hero-copy>p,.hero-content>p {margin-inline:auto !important;}
 .hero-holograms .holo-panel,.hero-holograms .holo-surface {
  text-align:center !important;
 }
 .hero-holograms .holo-surface {display:flex;flex-direction:column;justify-content:center;align-items:center;}
 .hero-holograms .holo-panel-title,.hero-holograms .holo-panel-label,
 .hero-holograms .holo-panel-brief {text-align:center !important;}
 .hero-holograms .holo-panel-head {justify-content:center;align-items:center;}
 .hero-holograms .holo-panel-head .holo-panel-icon {flex-shrink:0;}
 .hero-holograms .holo-panel .holo-chart {width:100%;}

 /* MAGI IM: introducción justificada, pero sin ensanchar el panel de preview. */
 .im-hero-copy>p {text-align:justify !important;text-align-last:center !important;
   max-width:43ch !important;hyphens:auto;overflow-wrap:normal;}
 /* Los seis botones ya se representan dentro del visor siguiente/anterior. */
 .im-journey-steps {display:none !important;}
 .im-journey {display:block !important;}
 .im-journey-stage {width:100% !important;min-width:0 !important;}
 /* Resultados: mismo eje centrado para las tres columnas editoriales. */
 .im-outcome-editorial {width:100%;}
 .im-outcome-line {display:flex !important;flex-direction:column !important;
  align-items:center !important;text-align:center !important;gap:10px !important;}
 .im-outcome-line>div,.im-outcome-line h3,.im-outcome-line p,
 .im-outcome-no {text-align:center !important;margin-inline:auto !important;}
 .im-outcome-mark {position:static !important;align-self:center !important;margin:0 auto !important;}

 /* Laboratorio web: un único visor con imagen íntegra y navegación manual. */
 .web-lab-nav {display:none !important;}
 .web-lab-shell {display:block !important;overflow:hidden;}
 .web-lab-preview {width:100%;max-width:100%;padding:12px !important;}
 .web-preview-stage {min-height:0 !important;display:flex;flex-direction:column;overflow:hidden;}
 .web-preview-stage>img {position:relative !important;inset:auto !important;
  width:100% !important;height:auto !important;max-height:310px !important;
  aspect-ratio:16/11;object-fit:contain !important;
  transform:none !important;clip-path:none !important;background:#061331;}
 .web-preview-stage.is-changing>img {transform:none !important;clip-path:none !important;opacity:.75;}
 .web-preview-caption {position:relative !important;bottom:auto !important;left:auto !important;
  right:auto !important;padding:22px 18px 20px !important;background:#061334 !important;
  text-align:center !important;}
 .web-preview-caption h3,.web-preview-caption p {text-align:center !important;margin-inline:auto !important;}
 .web-preview-caption h3 {font-size:clamp(24px,7vw,34px);}
 .web-preview-caption p {font-size:14px;max-width:39ch;line-height:1.6;}
 .web-preview-actions {justify-content:center;text-align:center;gap:12px;}
 .web-preview-actions>span {display:none;}
 .web-lab-mobile-controls {display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;
  padding:13px 12px 5px;border-top:1px solid rgba(115,177,255,.25);}
 .web-lab-mobile-controls button {appearance:none;border:1px solid rgba(83,178,255,.52);
  background:rgba(16,71,151,.36);color:#f3f9ff;border-radius:13px;
  padding:13px 9px;font:inherit;font-size:13px;font-weight:800;cursor:pointer;}
 .web-lab-mobile-controls button:disabled {opacity:.35;cursor:not-allowed;}
 .web-lab-mobile-controls button:focus-visible {outline:2px solid #7de5ff;outline-offset:3px;}
 .web-lab-mobile-controls output {font-size:11px;font-weight:850;white-space:nowrap;color:#9bdcff;}
}
@media(max-width:380px){
 .web-lab-mobile-controls {gap:6px;padding-inline:5px;}
 .web-lab-mobile-controls button {font-size:12px;padding-inline:6px;}
}
@media(prefers-reduced-motion:reduce){
 .web-preview-scan {animation:none !important;}
 .client-logo,.client-logo * {transition:none !important;}
}

/* mobile-v48.css */
/* V48 · Ajustes puntuales de composición móvil.
   La navegación, los efectos de escritorio y el backend se mantienen intactos. */
@media (max-width: 800px) {
  /* Footer: Explora | redes | Empresa. El correo queda en una fila inferior. */
  .footer-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) clamp(66px, 20vw, 94px) minmax(0, 1fr) !important;
    column-gap: clamp(5px, 2vw, 14px) !important;
    row-gap: 20px !important;
    align-items: start !important;
  }
  .footer-grid > .footer-brand {
    grid-column: 1 / -1 !important;
    grid-row: 1 !important;
  }
  .footer-grid > .footer-column:not(.footer-column--contact):nth-child(2) {
    grid-column: 1 !important;
    grid-row: 2 !important;
    align-items: flex-start !important;
    text-align: left !important;
  }
  .footer-grid > .footer-column:not(.footer-column--contact):nth-child(3) {
    grid-column: 3 !important;
    grid-row: 2 !important;
    align-items: flex-end !important;
    text-align: right !important;
  }
  .footer-grid > .footer-column--contact { display: contents !important; }
  .footer-grid > .footer-column--contact > .footer-title,
  .footer-grid > .footer-column--contact > small { display: none !important; }
  .footer-grid > .footer-column--contact > .footer-social {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center !important;
    justify-self: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    width: auto !important;
  }
  .footer-grid > .footer-column--contact > .footer-social > a {
    width: 44px !important;
    height: 44px !important;
    flex: none !important;
  }
  .footer-grid > .footer-column--contact > a[href^="mailto:"] {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    justify-self: center !important;
    align-self: center !important;
    width: 100% !important;
    padding: 19px 0 0 !important;
    margin: 0 0 5px !important;
    border-top: 1px solid rgba(105, 153, 255, .19);
    font-size: clamp(12px, 3.4vw, 15px) !important;
    text-align: center !important;
    overflow-wrap: anywhere;
  }
  .footer-grid > .footer-column:not(.footer-column--contact) a {
    font-size: clamp(12px, 3.2vw, 14px);
    line-height: 1.35;
  }

  /* Encabezado Clientes: sin saltos asimétricos ni párrafo alineado a la izquierda. */
  .clients-header,
  .clients-header h2,
  .clients-header > p {
    text-align: center !important;
  }
  .clients-header { max-width: min(100%, 620px) !important; margin-inline: auto !important; }
  .clients-header > .eyebrow {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
  }
  .clients-header h2 {
    max-width: 100% !important;
    margin-inline: auto !important;
    text-wrap: balance;
  }
  .clients-header > p {
    max-width: 42ch !important;
    margin-inline: auto !important;
    text-wrap: pretty;
  }

  /* Cuatro tarjetas del hero inicial: ícono a un lado, nombre en el eje central. */
  .hero-holograms .holo-panel .holo-surface {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 148px !important;
    padding: 20px 18px 42px !important;
    text-align: center !important;
  }
  .hero-holograms .holo-panel .holo-panel-top {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) 30px;
    align-items: center;
    gap: 8px;
    width: 100%;
    justify-items: center;
  }
  .hero-holograms .holo-panel .holo-panel-top::after {
    content: "";
    width: 30px;
  }
  .hero-holograms .holo-panel .holo-panel-top .icon {
    justify-self: start;
  }
  .hero-holograms .holo-panel .holo-panel-label {
    text-align: center !important;
    width: 100%;
    max-width: 27ch;
  }
  .hero-holograms .holo-panel .holo-panel-brief {
    margin: 11px auto 0 !important;
    max-width: 34ch !important;
    text-align: center !important;
  }
  .hero-holograms .holo-panel.is-active .holo-surface {
    min-height: 226px !important;
    justify-content: flex-start !important;
  }

  /* Desarrollo Web: hero centrado en el mismo eje que el globo y el CTA. */
  .web-hero-copy,
  .web-hero-copy h1,
  .web-hero-copy .web-lede {
    text-align: center !important;
  }
  .web-hero-copy { max-width: 660px !important; margin-inline: auto !important; }
  .web-hero-copy .web-overline {
    justify-content: center !important;
    text-align: center !important;
  }
  .web-hero-copy h1 {
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    text-wrap: balance;
  }
  .web-hero-copy .web-lede {
    max-width: 47ch !important;
    margin-inline: auto !important;
    text-wrap: pretty;
  }
  .web-hero-copy .web-hero-actions,
  .web-hero-copy .web-hero-metrics {
    justify-content: center !important;
  }
}
@media (max-width: 380px) {
  .footer-grid { column-gap: 4px !important; }
  .footer-grid > .footer-column--contact > .footer-social > a {
    width: 40px !important;
    height: 40px !important;
  }
  .hero-holograms .holo-panel .holo-panel-top { grid-template-columns: 25px minmax(0,1fr) 25px; gap: 5px; }
  .hero-holograms .holo-panel .holo-panel-top::after { width: 25px; }
}


/* MAGI IM V51 — Centrado de contenidos en pantallas móviles.
   Ajuste visual aislado: sin cambios en estructura, scripts ni escritorio. */
@media (max-width: 800px) {
  /* Consola de módulos: título y descripción (p. ej., Gestión de activos). */
  .im-section--modules .im-console h3,
  .im-section--modules .im-console > p {
    text-align: center;
    margin-inline: auto;
  }

  /* Carrusel de operaciones: encabezados, número, descripción y detalles. */
  .im-areas .im-sector-panel {
    align-items: center;
    text-align: center;
  }
  .im-areas .im-sector-panel > p {
    margin-left: auto;
    margin-right: auto;
  }
  .im-areas .im-sector-mini {
    align-items: center;
    text-align: center;
  }
  .im-areas .im-sector-link {
    justify-content: center;
    text-align: center;
    max-width: 100%;
  }
  .im-areas .im-sector-navigation {
    justify-content: center;
  }
}


/* MAGI IT V51 — Aparición elegante de los cuatro paneles holográficos.
   Reutiliza el observador de data-reveal de main.js, sin alterar su interacción.
   La propiedad translate es independiente del transform bloqueado en .holo-panel. */
@media (max-width: 800px) {
  .hero-holograms > .holo-panel[data-reveal] {
    opacity: 0;
    translate: 0 26px;
    transition: opacity .88s ease-out,
                translate .88s cubic-bezier(.2,.7,.2,1) !important;
    transition-delay: var(--reveal-delay, 0ms) !important;
  }
  .hero-holograms > .holo-panel[data-reveal].is-visible {
    opacity: 1;
    translate: 0 0;
  }
}
/* En escritorio estos paneles mantienen exactamente su presentación anterior. */
@media (min-width: 801px) {
  .hero-holograms > .holo-panel[data-reveal] { opacity: 1 !important; }
}
/* Accesibilidad: sin movimiento para quienes lo han desactivado. */
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .hero-holograms > .holo-panel[data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}


/* MAGI IT V51 — Aparición de tarjetas de Nuestras soluciones en móvil.
   La regla .solution-card de V45 usa transform:none!important; por eso la
   animación global de data-reveal no desplazaba estas tarjetas.  Usamos la
   propiedad translate independiente, ya aplicada a los paneles holográficos,
   y conservamos el IntersectionObserver de main.js (sin JS adicional). */
@media (max-width: 800px) {
  .solution-cards > .solution-card[data-reveal] {
    opacity: 0;
    transform: none !important;
    translate: 0 26px;
    transition: opacity .88s ease-out,
                translate .88s cubic-bezier(.2,.7,.2,1),
                border-color .3s ease,
                box-shadow .3s ease !important;
    transition-delay: var(--reveal-delay, 0ms),
                      var(--reveal-delay, 0ms), 0ms, 0ms !important;
  }
  .solution-cards > .solution-card[data-reveal].is-visible {
    opacity: 1;
    translate: 0 0;
  }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .solution-cards > .solution-card[data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    transition: none !important;
  }
}


/* MAGI IT V51 - Safari iOS: revelado uniforme de Soluciones.
   El titulo reutiliza data-reveal; las tarjetas usan el mismo transform + opacity.
   Evita el `translate` individual que compite con `transform:none!important` en V45.
   Las superficies con filtros intensos se simplifican solamente en movil. */
@media (max-width: 800px) {
  .solutions .solutions-header[data-reveal],
  .solutions .solution-cards > .solution-card[data-reveal] {
    opacity: 0;
    translate: none !important;
    -webkit-transform: translate3d(0, 19px, 0) !important;
    transform: translate3d(0, 19px, 0) !important;
    transition: opacity .8s ease,
                transform .8s cubic-bezier(.2, .7, .2, 1) !important;
    transition-delay: var(--reveal-delay, 0ms) !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    will-change: opacity, transform;
  }
  .solutions .solutions-header[data-reveal].is-visible,
  .solutions .solution-cards > .solution-card[data-reveal].is-visible {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0) !important;
    transform: translate3d(0, 0, 0) !important;
  }
  /* Safari movil: evitar repintados de tarjetas y desenfoques enormes
     mientras se desplazan/animan, conservando los degradados existentes. */
  .solutions .solution-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
  .solutions .planet-sphere::before,
  .solutions .planet-glow {
    -webkit-filter: none !important;
    filter: none !important;
  }
  .solutions .planet-glow { opacity: .5; }
}
@media (max-width: 800px) and (prefers-reduced-motion: reduce) {
  .solutions .solutions-header[data-reveal],
  .solutions .solution-cards > .solution-card[data-reveal] {
    opacity: 1 !important;
    translate: none !important;
    -webkit-transform: none !important;
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
}

/* MAGI V51 - Centrado del contenido de Misión en móviles (ES/EN/FR/PT/IT).
   Se mantiene intacto el HUD, las órbitas y el layout de escritorio. */
@media screen and (max-width: 767px) {
  .mission-main .mission-hero-copy,
  .mission-main .mission-section-heading,
  .mission-main .mission-panel,
  .mission-main .mission-outro-inner {
    text-align: center;
  }
  .mission-main .mission-hero-copy h1,
  .mission-main .mission-hero-copy .mission-lede,
  .mission-main .mission-section-heading h2,
  .mission-main .mission-section-heading p,
  .mission-main .mission-panel h3,
  .mission-main .mission-panel p {
    margin-inline: auto;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
  .mission-main .mission-hero-copy .eyebrow,
  .mission-main .mission-overline,
  .mission-main .mission-hero-actions,
  .mission-main .mission-industries,
  .mission-main .mission-panel-tags,
  .mission-main .mission-console-foot,
  .mission-main .mission-outro-inner > .eyebrow {
    justify-content: center;
  }
  .mission-main .mission-industries {
    border-left: 0;
    padding-left: 0;
  }
  .mission-main .mission-panel-tags span {
    text-align: center;
  }
  .mission-main .mission-console-foot > span {
    justify-content: center;
    text-align: center;
  }
  .mission-main .mission-hero-actions .button {
    text-align: center;
  }
}
