
/* Navegación permanente e idiomas autorizados: móvil e iPad, 14/11/2026. */
@layer imoldes-device-controls {
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-header-inner{padding:8px 12px!important;min-height:0!important;height:auto!important;gap:16px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-top{min-height:42px!important;gap:8px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .site-header .brand-photo{width:145px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation{display:block!important;margin:0!important;padding:0!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation .imx-menu{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;justify-content:center!important;gap:8px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation a{width:auto!important;min-height:30px!important;height:30px!important;padding:4px 6px!important;font:600 12px/1.1 "iMoldes Inter",Arial,sans-serif!important;white-space:nowrap!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row{display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation a{background:rgba(251,253,255,.78)!important;border-color:rgba(118,149,174,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 2px 4px rgba(23,50,73,.10)!important;font-weight:500!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation a.active{background:rgba(209,220,230,.82)!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row:first-child{width:100%!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row:first-child a{flex:1 1 0!important;min-width:0!important;width:0!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row:last-child{width:auto!important;align-self:center!important}
html:is(.im-handset,.im-ipad) .language-selector-buttons{display:flex!important;align-items:center!important;width:96px!important;min-width:96px!important;height:32px!important;padding:2px!important;gap:0!important;border-radius:999px!important;border:1px solid rgba(118,149,174,.5)!important;background:rgba(251,253,255,.85)!important;overflow:hidden!important}
html:is(.im-handset,.im-ipad) .language-selector-buttons button{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:26px!important;min-height:26px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:#183044!important;-webkit-text-fill-color:#183044!important;font:500 10px/1 "iMoldes Inter",Arial,sans-serif!important}
html:is(.im-handset,.im-ipad) .language-selector-buttons button:is(.active,[aria-pressed="true"]){background:rgba(204,216,226,.9)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 1px 2px rgba(23,50,73,.12)!important;border-radius:999px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .language-selector-buttons,html.im-ipad .language-selector-buttons{box-shadow:none!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-toggle{display:none!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-header-inner{display:grid!important;grid-template-columns:minmax(0,1fr)!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation{grid-row:2!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-actions{grid-row:3!important;display:flex!important;justify-content:flex-end!important;width:100%!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-actions .nav-right{width:auto!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-actions .imx-cta{width:auto!important;min-height:34px!important;padding:6px 12px!important;font-size:12px!important}
html:is(.im-handset,.im-ipad) #capacidades .service-title-link{min-height:0!important;height:auto!important;align-items:center!important}
html:is(.im-handset,.im-ipad) #capacidades .service-title-link h3{display:inline-block!important;width:fit-content!important;max-width:100%!important;height:auto!important;min-height:0!important;padding:5px 12px!important;font-size:18px!important;line-height:1.3!important;white-space:normal!important;text-wrap:balance}
html.im-handset :is(.breadcrumbs,.im-page-breadcrumbs){position:static!important;display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 8px!important;font-size:15px!important;line-height:1.4!important;margin:0 0 16px!important;padding:0!important}
html.im-handset :is(.breadcrumbs,.im-page-breadcrumbs) a{display:inline-flex!important;align-items:center!important;min-height:36px!important;padding:4px 0!important;color:#12699d!important;font-size:inherit!important;text-decoration:underline!important;text-underline-offset:3px!important}
@media(max-width:340px){html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation a{font-size:11px!important}}
@media(min-width:600px) and (max-height:500px){
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-phone-navigation .imx-menu{flex-direction:row!important;gap:6px!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row{display:contents!important}
html.im-handset:not(:has(main > #inicio-contenido.route-active)) .im-mobile-home-nav-row:is(:first-child,:last-child) a{flex:0 0 auto!important;width:auto!important}
}
}
/* Inicio móvil: maqueta aprobada, 14/11/2026. */
@layer imoldes-mobile-home {
@font-face{font-family:"iMoldes Inter";src:url("recursos/InterVariable.woff2") format("woff2");font-weight:100 900;font-style:normal;font-display:swap}
html.im-handset:has(main > #inicio-contenido.route-active) body{height:100svh!important;min-height:100svh!important;display:flex!important;flex-direction:column!important;gap:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) body>main{flex:1 1 0!important;min-height:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) .site-header{height:auto!important;min-height:0!important;flex:0 0 auto!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-header-inner{padding:8px 12px!important;min-height:0!important;height:auto!important;gap:16px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-top{min-height:42px!important;gap:8px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .site-header .brand-photo{width:145px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .language-selector-buttons{width:90px!important;min-width:90px!important;height:30px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .language-selector-buttons button{width:30px!important;min-width:30px!important;height:30px!important;min-height:30px!important;font-size:10px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-actions{display:none!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation{display:block!important;margin:0!important;padding:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation .imx-menu{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;justify-content:center!important;gap:8px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation a{width:auto!important;min-height:30px!important;height:30px!important;padding:4px 6px!important;font:600 12px/1.1 "iMoldes Inter",Arial,sans-serif!important;white-space:nowrap!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido.route-active{display:flex!important;flex-direction:column!important;flex:1 1 0!important;height:auto!important;min-height:0!important;padding:16px 12px 4px!important;gap:5px!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido>.hero{flex:1 1 0!important;min-height:0!important;height:auto!important;padding:0!important;display:block!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-grid-photo{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto minmax(0,1fr)!important;gap:8px!important;height:100%!important;min-height:0!important;align-items:stretch!important;font-family:"iMoldes Inter",Arial,sans-serif!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-copy-photo{grid-row:1!important;min-height:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .eyebrow{font:600 10.5px/1.3 "iMoldes Inter",Arial,sans-serif!important;letter-spacing:.06em!important;margin:0 0 5px!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido h1{font:600 27px/1.07 "iMoldes Inter",Arial,sans-serif!important;letter-spacing:-.025em!important;margin:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-lead:not(.hero-lead-iphone){font:400 14px/1.35 "iMoldes Inter",Arial,sans-serif!important;margin:7px 0 0!important;max-width:none!important;width:100%!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-points-photo{display:none!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo{grid-row:2!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;background:transparent!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo>div{padding:2px 4px!important;border:0!important;min-width:0!important;background:transparent!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo>div+div{border-left:1px solid rgba(93,117,138,.22)!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo strong{font:600 19px/1.15 "iMoldes Inter",Arial,sans-serif!important;white-space:nowrap!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo span{font:400 10.5px/1.2 "iMoldes Inter",Arial,sans-serif!important;margin:7px 0 0!important;white-space:normal!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-media-photo{grid-row:3!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;min-height:0!important;height:100%!important;max-height:none!important;margin:0!important;padding:0!important;overflow:visible!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-media-photo img{width:auto!important;max-width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;object-fit:contain!important;transform:none!important;margin:0 auto!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions{display:flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;min-height:36px!important;width:100%!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions>.imx-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;width:auto!important;min-height:34px!important;height:34px!important;padding:6px 12px!important;border:1px solid var(--imx-study-border)!important;border-radius:22px!important;background:linear-gradient(180deg,rgba(251,253,255,.96),rgba(211,222,231,.92))!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 2px 5px rgba(23,50,73,.13)!important;color:#183044!important;-webkit-text-fill-color:#183044!important;text-shadow:none!important;filter:none!important;font:600 12px/1.2 "iMoldes Inter",Arial,sans-serif!important;text-decoration:none!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions .imoldes-social-links{display:flex!important;justify-content:flex-end!important;align-items:center!important;position:static!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;gap:12px!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions .imoldes-social-link,html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions .imoldes-social-link svg{width:22px!important;height:22px!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido>.imoldes-legal-footer{margin:0!important;padding:7px 0 0!important;min-height:0!important;flex:0 0 auto!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .legal-links{display:flex!important;justify-content:center!important;flex-wrap:wrap!important;gap:4px 8px!important;margin:0!important;padding:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .imoldes-legal-footer a{font:500 9.5px/1.3 "iMoldes Inter",Arial,sans-serif!important;white-space:nowrap!important}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .legal-company{font:400 9.5px/1.3 "iMoldes Inter",Arial,sans-serif!important;margin:6px 0 0!important;text-align:center!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row{display:flex!important;justify-content:center!important;align-items:center!important;gap:10px!important;width:100%!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation a{background:rgba(251,253,255,.78)!important;border-color:rgba(118,149,174,.42)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.95),0 2px 4px rgba(23,50,73,.10)!important;font-weight:500!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation a.active{background:rgba(209,220,230,.82)!important}

html.im-handset:has(main > #inicio-contenido.route-active) .language-selector-buttons{display:flex!important;align-items:center!important;width:96px!important;min-width:96px!important;height:32px!important;padding:2px!important;gap:0!important;border-radius:999px!important;border:1px solid rgba(118,149,174,.5)!important;background:rgba(251,253,255,.85)!important;overflow:hidden!important}
html.im-handset:has(main > #inicio-contenido.route-active) .language-selector-buttons button{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 30px!important;width:30px!important;min-width:30px!important;height:26px!important;min-height:26px!important;margin:0!important;padding:0!important;border:0!important;border-radius:999px!important;background:transparent!important;box-shadow:none!important;color:#183044!important;-webkit-text-fill-color:#183044!important;font:500 10px/1 "iMoldes Inter",Arial,sans-serif!important}
html.im-handset:has(main > #inicio-contenido.route-active) .language-selector-buttons button:is(.active,[aria-pressed="true"]){background:rgba(204,216,226,.9)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.92),0 1px 2px rgba(23,50,73,.12)!important;border-radius:999px!important}


html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row:first-child{width:100%!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row:first-child a{flex:1 1 0!important;min-width:0!important;width:0!important}
html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row:last-child{width:auto!important;align-self:center!important}


@media(max-width:340px){
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido h1{font-size:24px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation a{font-size:11px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-actions>.imx-cta{font-size:11px!important;padding-inline:10px!important}
}
html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo strong{font-size:clamp(16px,4.87vw,19px)!important}
html.im-handset:has(main > #inicio-contenido.route-active):lang(fr) #inicio-contenido h1{font-size:clamp(21px,6vw,24px)!important}
@media(min-width:600px) and (max-height:500px){
 html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-header-inner{padding:6px 12px!important;gap:8px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-top{min-height:36px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .site-header .brand-photo{width:125px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-phone-navigation .imx-menu{flex-direction:row!important;gap:6px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row{display:contents!important}
 html.im-handset:has(main > #inicio-contenido.route-active) .im-mobile-home-nav-row:is(:first-child,:last-child) a{flex:0 0 auto!important;width:auto!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido.route-active{padding-top:6px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-grid-photo{grid-template-columns:minmax(0,1fr) minmax(0,.9fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:8px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-copy-photo{grid-column:1!important;grid-row:1!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .stat-strip-photo{grid-column:1!important;grid-row:2!important;align-self:start!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-media-photo{grid-column:2!important;grid-row:1/3!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido h1{font-size:22px!important}
 html.im-handset:has(main > #inicio-contenido.route-active) #inicio-contenido .hero-lead:not(.hero-lead-iphone){font-size:13.5px!important}
}

}
/* Teléfonos: revisión autorizada 14/11/2026, aislada de iPad y PC. */
@layer imoldes-handset {
 html.im-handset body {background:#fff!important;position:relative!important;isolation:isolate!important}
 html.im-handset body::before {
  content:""!important;display:block!important;position:fixed!important;inset:0!important;
  z-index:-1!important;pointer-events:none!important;
  background:var(--imx-water) center center / cover no-repeat!important;
  filter:grayscale(1) brightness(1.09) contrast(.94)!important;opacity:.38!important;
 }
 html.im-handset body::after {
  content:""!important;display:block!important;position:fixed!important;inset:0!important;
  z-index:-1!important;pointer-events:none!important;opacity:1!important;
  background:radial-gradient(ellipse 48vw 40vh at 81% 15%,rgba(255,255,255,.72) 0%,rgba(255,255,255,.54) 50%,rgba(255,255,255,0) 100%),linear-gradient(90deg,rgba(255,255,255,.80) 0%,rgba(255,255,255,.30) 65%,rgba(255,255,255,.08) 100%)!important;
 }


 html.im-handset body > main {height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 html.im-handset body.detail-isolated > main > .route-active {
  height:auto!important;min-height:calc(100svh - var(--page-header-height,140px))!important;max-height:none!important;overflow:visible!important;
 }
 html.im-handset :is(.v152-workspace,.v152-panel,.process-overview,.process-stage-view,.rim33-core,.rim35-development) {
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  transform:none!important;translate:none!important;container-type:normal!important;
 }
 html.im-handset .v152-workspace {flex:0 0 auto!important}
 html.im-handset .v152-panel:not([hidden]) {display:block!important}
 html.im-handset .v152-panel > section {height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;position:relative!important;inset:auto!important;margin:0 0 24px!important}
 html.im-handset :where(main > .route-active:not(#inicio-contenido),body.im-standalone main) :is(figure,.v149-media-wrap,.v148-zoom-wrap,.service-photo,.rim33-photo,.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo,.material-card,.proposal-photos,.rim-process-photo,.mc-card-photo,.fresa-v76-media,.torno-v76-media,:where(div,a,span):has(> img)) {
  position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  margin:0!important;padding:0!important;transform:none!important;translate:none!important;scale:none!important;
  container-type:normal!important;overflow:visible!important;
 }
 html.im-handset :where(main > .route-active:not(#inicio-contenido),body.im-standalone main) img:not(:where(.footer-logo,dialog img)) {
  position:static!important;inset:auto!important;display:block!important;float:none!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  min-height:0!important;max-height:clamp(220px,38svh,400px)!important;
  object-fit:contain!important;object-position:center!important;
  transform:none!important;translate:none!important;scale:none!important;margin-inline:auto!important;
 }
 html.im-handset :is(.rim33-photo,.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo,.material-card,.proposal-photos) {
  display:flex!important;flex-direction:column!important;gap:10px!important;
 }
 html.im-handset :is(.rim33-engineering,.rim-applications-caption,.rim33-family,.rim151-development-heading,.rim35-case-copy) {
  position:static!important;inset:auto!important;height:auto!important;min-height:0!important;
  transform:none!important;translate:none!important;margin:0!important;
 }
 html.im-handset :is(.rim33-core-grid,.rim35-case-layout,.im-engineering-grid,.mat-grid,.material-grid,.tooling-photo-grid,.im-service-preview-grid,.project-grid,.split-grid,.fresa-v76-layout,.torno-v76-layout,.proposal-stage,.rim-process-top-grid,.im-kn-story-split,.glass-collage-layout) {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;
  grid-auto-rows:auto!important;gap:24px!important;align-items:start!important;
  width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
 }
 html.im-handset :is(.service-hub-grid,.sector-card-grid,.catalog,.proceso-etapas,.mc-service-grid,.glass-collage) {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  grid-template-rows:none!important;grid-auto-rows:auto!important;gap:24px!important;
  height:auto!important;min-height:0!important;max-height:none!important;align-items:start!important;
 }
 html.im-handset :is(.service-entry,.sector-card,.category,.proceso-etapa) {
  height:auto!important;min-height:0!important;max-height:none!important;
 }
 html.im-handset #sectores.sector-detail-mode .sector-card-grid {display:none!important}
 /* Servicios: una misma zona de imagen y de título alinea cada fila. */
 html.im-handset #capacidades .service-photo {
  height:clamp(220px,28svh,300px)!important;min-height:0!important;
  max-height:none!important;aspect-ratio:auto!important;margin-bottom:12px!important;
 }
 html.im-handset #capacidades .service-photo img {height:100%!important;max-height:100%!important}
 /* Ingeniería: la fotografía no puede absorber el ancho de su explicación. */
 html.im-handset #ingenieria .prototype-pair {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;
 }
 html.im-handset #ingenieria .example-card {
  display:flex!important;flex-direction:column!important;min-width:0!important;
  width:100%!important;height:auto!important;align-items:stretch!important;
 }
 html.im-handset #ingenieria :is(.example-media,.example-body,.project-copy) {
  width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 }
 html.im-handset #ingenieria .example-body {padding:12px 0 0!important}
 html.im-handset #ingenieria .project-media {
  display:flex!important;flex-direction:column!important;align-items:center!important;
  width:100%!important;min-width:0!important;gap:10px!important;
 }
 html.im-handset #ingenieria .project-media video {
  flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:38svh!important;object-fit:contain!important;
 }
 html.im-handset #ingenieria .project-media figcaption {
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:14px!important;line-height:1.45!important;text-align:center!important;
 }
 /* Prototipos utiliza el contenido aprobado del PC, con flujo de móvil. */
 html.im-handset main > #prototipos .prototipos-existing-responsive {display:none!important}
 html.im-handset main > #prototipos .prototipos-pc-content {display:block!important}
 html.im-handset main > #prototipos .prototipos-rows {display:grid!important;gap:32px!important;padding-block:20px!important}
 html.im-handset main > #prototipos .prototipos-row {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:20px!important;align-items:center!important;min-width:0!important;
 }
 html.im-handset main > #prototipos .prototipos-copy {min-width:0!important}
 html.im-handset main > #prototipos .prototipos-photo {
  display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;
 }
 html.im-handset main > #prototipos .prototipos-photo figcaption {
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:14px!important;line-height:1.45!important;text-align:center!important;
 }
 html.im-handset .glass-collage {position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:auto!important}
 html.im-handset .glass-collage-item {position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;translate:none!important}
 html.im-handset .glass-collage-item img {max-height:280px!important}
 html.im-handset .catalog {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 html.im-handset .cimg {height:140px!important;min-height:0!important;max-height:none!important}
 html.im-handset .cimg img {height:100%!important;max-height:100%!important}
 html.im-handset .rim151-development-heading {display:block!important}
 html.im-handset .rim33-family {margin:0 0 16px!important}
 html.im-handset .rim-applications-caption {padding-top:10px!important}
 html.im-handset :is(.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo) figcaption {
  height:auto!important;max-height:none!important;font-size:16px!important;line-height:1.45!important;
 }
 html.im-handset .machinery-photo-composition {height:auto!important;min-height:0!important}
 html.im-handset .machinery-workshop {height:auto!important;min-height:0!important}
 html.im-handset .machinery-workshop img {max-height:52svh!important}
 html.im-handset :is(.imoldes-legal-footer,footer.im-shared-footer) {
  position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;
  flex:0 0 auto!important;clear:both!important;margin-top:auto!important;padding-top:24px!important;
 }
 html.im-handset .feature .fimg {height:220px!important;min-height:0!important;overflow:visible!important}
 html.im-handset .feature .fimg img {height:100%!important;max-height:100%!important;object-fit:contain!important}
 html.im-handset .machinery-inset {width:min(100%,320px)!important;justify-self:center!important}
 html.im-handset .mc-card {height:auto!important;min-height:0!important;align-self:stretch!important}
 html.im-handset :is(.mc-gallery,.mc-card-photo,.fresa-v76-content,.fresa-v76-band,.torno-v76-content,.torno-v76-band) {height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
 html.im-handset .mc-gallery {display:block!important}
 html.im-handset :is(.fresa-v76-content,.torno-v76-content) {display:flex!important;flex-direction:column!important;gap:24px!important}

 html.im-handset .im-phone-navigation .imx-menu {display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;gap:8px!important;justify-content:flex-start!important}
 html.im-handset .im-phone-navigation a {width:auto!important;flex:0 0 auto!important;padding:10px 12px!important;white-space:nowrap!important;min-height:44px!important}
 html.im-handset #ingenieria .project-media video {max-height:clamp(180px,45svh,360px)!important}
 html.im-handset .imact-article,html.im-handset .im-kn-story {min-width:0!important;max-width:100%!important}
 @media (min-width:600px) {
  html.im-handset :is(.service-hub-grid,.sector-card-grid,.proceso-etapas,.mc-service-grid,.glass-collage) {grid-template-columns:repeat(2,minmax(0,1fr))!important}
 }

}
/* CABECERA COMUN iMoldes - única fuente de medidas, apariencia y estado activo. */
/* PC estrecho: corrección autorizada 14/11/2026, sin alcanzar las vistas amplias. */
@layer imoldes-pc-estrecho {
 @media (max-width:1120px) and (hover:hover) and (pointer:fine) {
  html:not(.im-ipad) .im-phone-navigation .imx-menu {
   display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;justify-content:flex-start!important;align-items:center!important;gap:8px!important;
  }
  html:not(.im-ipad) .im-phone-navigation a {
   width:auto!important;flex:0 0 auto!important;grid-area:auto!important;
   padding:9px 12px!important;white-space:nowrap!important;
  }
  html:not(.im-ipad) #capacidades .service-title-link h3 {
   display:flex!important;align-items:center!important;justify-content:center!important;
   width:100%!important;height:68px!important;min-height:68px!important;max-height:none!important;
   box-sizing:border-box!important;padding:8px 12px!important;margin:0!important;
   line-height:1.25!important;white-space:normal!important;text-wrap:balance;
  }
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos).route-active,
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) :is(.v152-workspace,.v152-panel) {
   height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  }
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) .v152-workspace {flex:0 0 auto!important}
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) .v152-panel:not([hidden]) {display:block!important}
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) :is(.project-media,.example-media,.prototipos-photo) {
   display:flex!important;flex-direction:column!important;align-items:center!important;
   width:100%!important;min-width:0!important;height:auto!important;max-height:none!important;
   margin:0!important;padding:0!important;gap:10px!important;overflow:visible!important;
  }
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) :is(.project-media,.example-media,.prototipos-photo) :is(img,video) {
   position:static!important;inset:auto!important;flex:0 0 auto!important;
   width:100%!important;max-width:100%!important;height:auto!important;
   min-height:0!important;max-height:min(38svh,400px)!important;
   object-fit:contain!important;transform:none!important;translate:none!important;margin:0!important;
  }
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) figcaption {
   width:100%!important;min-width:0!important;max-width:100%!important;
   font-size:14px!important;line-height:1.45!important;text-align:center!important;
  }
  html:not(.im-ipad) main > #ingenieria :is(.project-grid,.prototype-pair) {
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;
  }
  html:not(.im-ipad) main > #ingenieria .example-card {
   display:flex!important;flex-direction:column!important;align-items:stretch!important;
   width:100%!important;min-width:0!important;height:auto!important;
  }
  html:not(.im-ipad) main > #ingenieria :is(.project-copy,.example-body) {
   width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
  }
  html:not(.im-ipad) main > #ingenieria .example-body {padding:12px 0 0!important}
  html:not(.im-ipad) main > #prototipos .prototipos-existing-responsive {display:none!important}
  html:not(.im-ipad) main > #prototipos .prototipos-pc-content {display:block!important}
  html:not(.im-ipad) main > #prototipos .prototipos-rows {
   display:grid!important;gap:32px!important;padding-block:20px!important;
  }
  html:not(.im-ipad) main > #prototipos .prototipos-row {
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   gap:20px!important;align-items:center!important;min-width:0!important;
  }
  html:not(.im-ipad) main > #prototipos .prototipos-copy {min-width:0!important}
  html:not(.im-ipad) main > :is(#ingenieria,#prototipos) > .imoldes-legal-footer {
   position:relative!important;inset:auto!important;height:auto!important;clear:both!important;margin-top:auto!important;
  }
 }
 @media (min-width:901px) and (max-width:1120px) and (hover:hover) and (pointer:fine) {
  html:not(.im-ipad) main > #ingenieria .prototype-pair {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html:not(.im-ipad) main > #prototipos .prototipos-row {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:28px!important}
 }
}
/* iPad: flujo táctil propio; no alcanza PC, teléfonos ni otras tabletas. */
@layer imoldes-ipad {
 /* Inicio y fondo aprobados el 14/11/2026: aplicación exclusiva de iPad. */

html.im-ipad .im-phone-header-inner{gap:20px!important;padding:20px 28px!important}
html.im-ipad .im-phone-top{width:100%!important;justify-content:space-between!important;gap:20px!important}
html.im-ipad .im-ipad-controls{display:flex!important;align-items:center!important;gap:16px!important}
html.im-ipad .im-ipad-controls .nav-right{width:auto!important;display:block!important}
html.im-ipad .im-phone-actions{display:none!important}
html.im-ipad .im-phone-navigation{display:block!important;padding:0!important;margin:0!important}
html.im-ipad .im-phone-navigation .imx-menu{display:flex!important;flex-direction:row!important;justify-content:space-between!important;gap:8px!important}
html.im-ipad .im-phone-navigation a{width:auto!important;flex:0 0 auto!important;white-space:nowrap!important;padding:10px 16px!important}
html.im-ipad #inicio-contenido.route-active{display:flex!important;flex-direction:column!important;padding:24px 28px 0!important;min-height:calc(100svh - 170px)!important}
html.im-ipad #inicio-contenido>.hero{display:flex!important;flex:0 0 auto!important;align-items:flex-start!important;padding:24px 0!important}
html.im-ipad #inicio-contenido .hero-grid-photo{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto auto auto!important;gap:24px!important;align-items:center!important;width:100%!important}
html.im-ipad #inicio-contenido .hero-copy-photo{display:block!important;grid-column:1!important;grid-row:1!important;align-self:start!important;min-width:0!important}
html.im-ipad #inicio-contenido .hero-copy-photo>.eyebrow{margin:0 0 18px!important;font-size:12px!important;line-height:1.4!important}
html.im-ipad #inicio-contenido h1{font-size:clamp(34px,4.3vw,44px)!important;line-height:1.08!important;margin:0 0 22px!important}
html.im-ipad #inicio-contenido .hero-lead:not(.hero-lead-iphone){font-size:18px!important;line-height:1.5!important;margin:0!important;width:100%!important;max-width:none!important}
html.im-ipad #inicio-contenido .hero-media-photo{grid-column:1!important;grid-row:2!important;align-self:center!important;display:flex!important;justify-content:center!important;align-items:center!important;justify-self:stretch!important;width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
html.im-ipad #inicio-contenido .hero-media-photo img{width:auto!important;max-width:100%!important;height:clamp(300px,39vw,400px)!important;max-height:400px!important;object-fit:contain!important;margin:0 auto!important}
html.im-ipad #inicio-contenido .hero-points-photo{grid-column:1/-1!important;grid-row:3!important;width:100%!important;max-width:none!important;display:flex!important;flex-direction:column!important;gap:8px!important;margin:0!important;padding:0!important}
html.im-ipad #inicio-contenido .home-metal-link{width:auto!important;min-width:0!important;max-width:none!important;height:36px!important;min-height:36px!important;max-height:36px!important;flex:0 0 auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;padding:8px 8px!important;font-size:15px!important;font-weight:500!important;line-height:1.2!important;white-space:nowrap!important}
html.im-ipad #inicio-contenido .stat-strip-photo{grid-column:1/-1!important;grid-row:4!important;width:100%!important;max-width:none!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;margin:0!important;padding:0!important;background:transparent!important;border-radius:0!important;box-shadow:none!important}
html.im-ipad #inicio-contenido .stat-strip-photo>div{padding:12px 16px!important;border:0!important;background:transparent!important;min-width:0!important}
html.im-ipad #inicio-contenido .stat-strip-photo>div+div{border-left:1px solid rgba(93,117,138,.3)!important}
html.im-ipad #inicio-contenido .stat-strip-photo strong{font-size:36px!important;line-height:1.15!important}
html.im-ipad #inicio-contenido .stat-strip-photo span{font-size:14px!important;line-height:1.4!important}
html.im-ipad #inicio-contenido>.imoldes-social-links{width:100%!important;position:static!important;display:flex!important;justify-content:flex-end!important;gap:18px!important;margin:auto 0 18px!important;transform:none!important;flex:0 0 auto!important}
html.im-ipad #inicio-contenido>.imoldes-social-links .imoldes-social-link,html.im-ipad #inicio-contenido>.imoldes-social-links svg{width:28px!important;height:28px!important}
html.im-ipad #inicio-contenido .im-ipad-service-row{display:flex!important;justify-content:space-between!important;align-items:center!important;gap:8px!important;width:100%!important}
html.im-ipad #inicio-contenido .home-metal-link span{display:block!important;text-align:center!important;white-space:nowrap!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;padding:0!important;margin:0!important;font:inherit!important;color:inherit!important}
 @media (max-width:900px) {
  html.im-ipad .im-phone-navigation .imx-menu {gap:6px!important}
  html.im-ipad .im-phone-navigation a {padding:10px 10px!important}
 }
 /* Fondo blanco de interiores de PC, también en Inicio de iPad (14/11/2026). */
 html.im-ipad body {background:#fff!important;position:relative!important;isolation:isolate!important}
 html.im-ipad body::before {
  content:""!important;display:block!important;position:fixed!important;inset:0!important;
  z-index:-1!important;pointer-events:none!important;
  background:var(--imx-water) center center / cover no-repeat!important;
  filter:grayscale(1) brightness(1.09) contrast(.94)!important;opacity:.38!important;
 }
 html.im-ipad body::after {
  content:""!important;display:block!important;position:fixed!important;inset:0!important;
  z-index:-1!important;pointer-events:none!important;opacity:1!important;
  background:radial-gradient(ellipse 48vw 40vh at 81% 15%,rgba(255,255,255,.72) 0%,rgba(255,255,255,.54) 50%,rgba(255,255,255,0) 100%),linear-gradient(90deg,rgba(255,255,255,.80) 0%,rgba(255,255,255,.30) 65%,rgba(255,255,255,.08) 100%)!important;
 }


 html.im-ipad body > main {height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
 html.im-ipad body.detail-isolated > main > .route-active {
  height:auto!important;min-height:calc(100svh - var(--page-header-height,140px))!important;max-height:none!important;overflow:visible!important;
 }
 html.im-ipad :is(.v152-workspace,.v152-panel,.process-overview,.process-stage-view,.rim33-core,.rim35-development) {
  height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;
  transform:none!important;translate:none!important;container-type:normal!important;
 }
 html.im-ipad .v152-workspace {flex:0 0 auto!important}
 html.im-ipad .v152-panel:not([hidden]) {display:block!important}
 html.im-ipad .v152-panel > section {height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important;position:relative!important;inset:auto!important;margin:0 0 24px!important}
 html.im-ipad :where(main > .route-active:not(#inicio-contenido),body.im-standalone main) :is(figure,.v149-media-wrap,.v148-zoom-wrap,.service-photo,.rim33-photo,.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo,.material-card,.proposal-photos,.rim-process-photo,.mc-card-photo,.fresa-v76-media,.torno-v76-media,:where(div,a,span):has(> img)) {
  position:relative!important;inset:auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:auto!important;
  margin:0!important;padding:0!important;transform:none!important;translate:none!important;scale:none!important;
  container-type:normal!important;overflow:visible!important;
 }
 html.im-ipad :where(main > .route-active:not(#inicio-contenido),body.im-standalone main) img:not(:where(.footer-logo,dialog img)) {
  position:static!important;inset:auto!important;display:block!important;float:none!important;
  width:100%!important;max-width:100%!important;height:auto!important;
  min-height:0!important;max-height:clamp(220px,38svh,400px)!important;
  object-fit:contain!important;object-position:center!important;
  transform:none!important;translate:none!important;scale:none!important;margin-inline:auto!important;
 }
 html.im-ipad :is(.rim33-photo,.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo,.material-card,.proposal-photos) {
  display:flex!important;flex-direction:column!important;gap:10px!important;
 }
 html.im-ipad :is(.rim33-engineering,.rim-applications-caption,.rim33-family,.rim151-development-heading,.rim35-case-copy) {
  position:static!important;inset:auto!important;height:auto!important;min-height:0!important;
  transform:none!important;translate:none!important;margin:0!important;
 }
 html.im-ipad :is(.rim33-core-grid,.rim35-case-layout,.im-engineering-grid,.mat-grid,.material-grid,.tooling-photo-grid,.im-service-preview-grid,.project-grid,.split-grid,.fresa-v76-layout,.torno-v76-layout,.proposal-stage,.rim-process-top-grid,.im-kn-story-split,.glass-collage-layout) {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:none!important;
  grid-auto-rows:auto!important;gap:24px!important;align-items:start!important;
  width:100%!important;min-width:0!important;height:auto!important;min-height:0!important;
 }
 html.im-ipad :is(.service-hub-grid,.sector-card-grid,.catalog,.proceso-etapas,.mc-service-grid,.glass-collage) {
  display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:none!important;grid-auto-rows:auto!important;gap:24px!important;
  height:auto!important;min-height:0!important;max-height:none!important;align-items:start!important;
 }
 html.im-ipad :is(.service-entry,.sector-card,.category,.proceso-etapa) {
  height:auto!important;min-height:0!important;max-height:none!important;
 }
 html.im-ipad #sectores.sector-detail-mode .sector-card-grid {display:none!important}
 /* Servicios: una misma zona de imagen y de título alinea cada fila. */
 html.im-ipad #capacidades .service-photo {
  height:clamp(220px,28svh,300px)!important;min-height:0!important;
  max-height:none!important;aspect-ratio:auto!important;margin-bottom:12px!important;
 }
 html.im-ipad #capacidades .service-photo img {height:100%!important;max-height:100%!important}
 /* Ingeniería: la fotografía no puede absorber el ancho de su explicación. */
 html.im-ipad #ingenieria .prototype-pair {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:28px!important;
 }
 html.im-ipad #ingenieria .example-card {
  display:flex!important;flex-direction:column!important;min-width:0!important;
  width:100%!important;height:auto!important;align-items:stretch!important;
 }
 html.im-ipad #ingenieria :is(.example-media,.example-body,.project-copy) {
  width:100%!important;min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
 }
 html.im-ipad #ingenieria .example-body {padding:12px 0 0!important}
 html.im-ipad #ingenieria .project-media {
  display:flex!important;flex-direction:column!important;align-items:center!important;
  width:100%!important;min-width:0!important;gap:10px!important;
 }
 html.im-ipad #ingenieria .project-media video {
  flex:0 0 auto!important;width:100%!important;max-width:100%!important;
  height:auto!important;max-height:38svh!important;object-fit:contain!important;
 }
 html.im-ipad #ingenieria .project-media figcaption {
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:14px!important;line-height:1.45!important;text-align:center!important;
 }
 /* Prototipos utiliza el contenido aprobado del PC, con flujo de iPad. */
 html.im-ipad main > #prototipos .prototipos-existing-responsive {display:none!important}
 html.im-ipad main > #prototipos .prototipos-pc-content {display:block!important}
 html.im-ipad main > #prototipos .prototipos-rows {display:grid!important;gap:32px!important;padding-block:20px!important}
 html.im-ipad main > #prototipos .prototipos-row {
  display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  gap:20px!important;align-items:center!important;min-width:0!important;
 }
 html.im-ipad main > #prototipos .prototipos-copy {min-width:0!important}
 html.im-ipad main > #prototipos .prototipos-photo {
  display:flex!important;flex-direction:column!important;align-items:center!important;gap:10px!important;
 }
 html.im-ipad main > #prototipos .prototipos-photo figcaption {
  width:100%!important;min-width:0!important;max-width:100%!important;
  font-size:14px!important;line-height:1.45!important;text-align:center!important;
 }
 html.im-ipad .glass-collage {position:relative!important;inset:auto!important;width:100%!important;aspect-ratio:auto!important}
 html.im-ipad .glass-collage-item {position:relative!important;inset:auto!important;display:flex!important;flex-direction:column!important;gap:8px!important;width:100%!important;height:auto!important;min-height:0!important;margin:0!important;transform:none!important;translate:none!important}
 html.im-ipad .glass-collage-item img {max-height:280px!important}
 html.im-ipad .catalog {grid-template-columns:repeat(3,minmax(0,1fr))!important}
 html.im-ipad .cimg {height:160px!important;min-height:0!important;max-height:none!important}
 html.im-ipad .cimg img {height:100%!important;max-height:100%!important}
 html.im-ipad .rim151-development-heading {display:block!important}
 html.im-ipad .rim33-family {margin:0 0 16px!important}
 html.im-ipad .rim-applications-caption {padding-top:10px!important}
 html.im-ipad :is(.rim35-photo-card,.im-engineering-figure,.mat-figure,.tooling-photo) figcaption {
  height:auto!important;max-height:none!important;font-size:16px!important;line-height:1.45!important;
 }
 html.im-ipad .machinery-photo-composition {height:auto!important;min-height:0!important}
 html.im-ipad .machinery-workshop {height:auto!important;min-height:0!important}
 html.im-ipad .machinery-workshop img {max-height:52svh!important}
 html.im-ipad :is(.imoldes-legal-footer,footer.im-shared-footer) {
  position:relative!important;inset:auto!important;height:auto!important;min-height:0!important;
  flex:0 0 auto!important;clear:both!important;margin-top:auto!important;padding-top:24px!important;
 }
 html.im-ipad .feature .fimg {height:220px!important;min-height:0!important;overflow:visible!important}
 html.im-ipad .feature .fimg img {height:100%!important;max-height:100%!important;object-fit:contain!important}
 html.im-ipad .machinery-inset {width:min(100%,320px)!important;justify-self:center!important}
 html.im-ipad .mc-card {height:auto!important;min-height:0!important;align-self:stretch!important}
 html.im-ipad :is(.mc-gallery,.mc-card-photo,.fresa-v76-content,.fresa-v76-band,.torno-v76-content,.torno-v76-band) {height:auto!important;min-height:0!important;max-height:none!important;flex:0 0 auto!important}
 html.im-ipad .mc-gallery {display:block!important}
 html.im-ipad :is(.fresa-v76-content,.torno-v76-content) {display:flex!important;flex-direction:column!important;gap:24px!important}
 @media (min-width:1000px) {
  html.im-ipad #ingenieria .prototype-pair {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.im-ipad main > #prototipos .prototipos-row {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)!important;gap:28px!important}
  html.im-ipad :is(.service-hub-grid,.sector-card-grid,.proceso-etapas,.mc-service-grid) {grid-template-columns:repeat(3,minmax(0,1fr))!important}
  html.im-ipad .catalog {grid-template-columns:repeat(4,minmax(0,1fr))!important}
  html.im-ipad :is(.im-engineering-grid,.mat-grid,.material-grid,.tooling-photo-grid,.im-service-preview-grid,.project-grid,.split-grid,.fresa-v76-layout,.torno-v76-layout,.proposal-stage,.rim-process-top-grid,.im-kn-story-split,.glass-collage-layout) {grid-template-columns:repeat(2,minmax(0,1fr))!important}
  html.im-ipad .rim33-core-grid {grid-template-columns:minmax(0,.9fr) minmax(0,1.4fr) minmax(0,.9fr)!important}
  html.im-ipad .rim35-case-layout {grid-template-columns:minmax(0,.8fr) minmax(0,.8fr) minmax(0,1.4fr)!important}
 }
}
/* Referencia aprobada 13/11/2026: quinta maqueta.
   Una sola fuente para todos los HTML interiores. Inicio y las vistas táctiles
   conservan sus estilos. La capa evita duplicar los !important de cada ficha. */
@layer imoldes-interiores-pc {
 @media (min-width:1121px) and (hover:hover) and (pointer:fine) {
  @font-face {
   font-family:"iMoldes Inter";
   src:url("recursos/InterVariable.woff2") format("woff2");
   font-weight:100 900;
   font-style:normal;
   font-display:swap;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) {
   background:#fff!important;min-height:100dvh!important;height:auto!important;
   font-family:"iMoldes Inter","Segoe UI",Arial,sans-serif!important;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) * {
   font-family:"iMoldes Inter","Segoe UI",Arial,sans-serif!important;
   font-optical-sizing:auto;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active)))::before {
   background:var(--imx-water) center center / cover no-repeat!important;
   filter:grayscale(1) brightness(1.09) contrast(.94)!important;
   opacity:.38!important;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active)))::after {
   background:radial-gradient(ellipse 48vw 40vh at 81% 15%,rgba(255,255,255,.72) 0%,rgba(255,255,255,.54) 50%,rgba(255,255,255,0) 100%),linear-gradient(90deg,rgba(255,255,255,.80) 0%,rgba(255,255,255,.30) 65%,rgba(255,255,255,.08) 100%)!important;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) main :is(h2,h3,h4,.category strong,#im-kn-story-title) {
   font-weight:600!important;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) main :is(p,li,figcaption,.category small):not(:where(footer *, .imoldes-legal-footer *, .eyebrow, .im-kn-story-label, .article-tag, .fine, .imact-kicker, .imact-date, .proceso-experiencia>p:first-child)) {
   font-weight:500!important;
  }
  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) main :is(p,li,figcaption,.category small):not(:where(footer *, .imoldes-legal-footer *, .eyebrow, .lead, .proceso-entradilla, .proceso-experiencia>p:first-child, .im-kn-story-deck, .im-kn-story p, .imact-article p, .imact-summary, .imact-lead, .imact-kicker, .imact-date, .imact-quote *, .im-kn-story-label, .article-tag, .fine)) {
   font-size:16px!important;
   line-height:1.45!important;
   color:#17212b!important;
  }
  /* El contenido legible ocupa el espacio de PC sin cambiar las cuadrículas. */
  body.detail-isolated main>:is(#capacidades,#maquinaria,#sectores:not(.sector-detail-mode)).route-active {
   height:100dvh!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  }
  body.detail-isolated #capacidades .service-photo,
  body.detail-isolated #capacidades .service-photo img {
   height:clamp(72px,calc((100dvh - 640px)/3),148px)!important;max-height:100%!important;object-fit:contain!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode)>.section {
   flex:1 1 0!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode)>.section>.shell {
   flex:1 1 0!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode) .section-head {flex:0 0 auto!important}
  body.detail-isolated #sectores:not(.sector-detail-mode) .sector-card-grid {
   flex:1 1 0!important;min-height:0!important;grid-template-rows:repeat(3,minmax(0,1fr))!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode) .sector-card {
   height:100%!important;align-self:stretch!important;min-height:0!important;display:flex!important;flex-direction:column!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode) .sector-bg-img {
   flex:0 0 auto!important;min-height:0!important;height:clamp(40px,min(calc((100dvh - 690px)/3),calc((100vw - 720px)/6)),160px)!important;max-height:160px!important;object-fit:contain!important;
  }
  body.detail-isolated #sectores:not(.sector-detail-mode) .sector-card :is(h3,p) {flex:0 0 auto!important}
  body.detail-isolated #maquinaria>.machinery-presentation {
   flex:1 1 0!important;min-height:0!important;height:auto!important;
   display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;
  }
  body.detail-isolated #maquinaria .machinery-photo-composition {height:100%!important;min-height:0!important;width:auto!important;max-width:100%!important;aspect-ratio:1672 / 941!important;justify-self:center!important}
  body.detail-isolated #maquinaria .machinery-workshop {height:100%!important;min-height:0!important;margin:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
  body.detail-isolated #maquinaria .machinery-workshop img {height:100%!important;max-height:100%!important;width:100%!important;object-fit:contain!important;background:transparent!important}
  body.im-knowledge .hero {height:auto!important;padding-top:8px!important;padding-bottom:8px!important}
  body.im-knowledge .catalog-section {min-height:0!important}
  body.im-knowledge .category {min-height:0!important}
  body.im-knowledge .cbody {padding-top:4px!important;padding-bottom:4px!important;gap:3px!important}
  /* Fichas que necesitan lectura vertical: el pie queda después del contenido. */
  body.detail-isolated main>:is(#mecanizado-especiales,#utiles-control:has(#utiles-control-vista-1:not([hidden]))).route-active {
   height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important;
  }
  body.detail-isolated :is(#mecanizado-especiales,#utiles-control:has(#utiles-control-vista-1:not([hidden])))>.v152-workspace {
   height:auto!important;min-height:min-content!important;flex:1 0 auto!important;
  }
  body.detail-isolated :is(#mecanizado-especiales,#utiles-control:has(#utiles-control-vista-1:not([hidden]))) .v152-panel:not([hidden]) {
   height:auto!important;min-height:min-content!important;flex:1 0 auto!important;overflow:visible!important;
  }
  body.im-standalone .im-kn-story p:not(.im-kn-story-label):not(.im-kn-story-deck) {font-size:16px!important;line-height:1.65!important;color:#17212b!important}
  @media (max-height:950px) {
   /* Ampliar a la media ventana el flujo natural que RIM ya usa a menor altura. */
   body.detail-isolated main>#rim.route-active {height:auto!important;min-height:100dvh!important;max-height:none!important;overflow:visible!important}
   body.detail-isolated #rim>.v152-workspace {height:auto!important;min-height:min-content!important;flex:1 0 auto!important}
   body #rim #rim-vista-0:not([hidden]) {display:block!important;height:auto!important}
   body #rim .rim33-core {height:auto!important;margin-bottom:24px!important}
   body #rim .rim33-core-grid {height:auto!important}
   body #rim .rim33-core .rim33-photo {container-type:normal!important;height:auto!important}
   body #rim .rim33-core .rim33-photo.rim33-photo-detail {height:auto!important;margin-top:0!important;grid-template-rows:auto auto!important;translate:none!important}
   body #rim .rim33-core .rim33-photo img:not(.footer-logo) {height:220px!important;max-height:220px!important}
   body #rim .rim35-development,body #rim .rim35-case-layout {height:auto!important}
   body #rim .rim35-photo-card {container-type:normal!important;grid-template-rows:auto auto!important;height:auto!important}
   body #rim .rim35-photo-card img:not(.footer-logo) {height:340px!important;max-height:340px!important}
  }

  :is(body.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active))) main :is(.machinery-capabilities .tag-list span,.rim33-family>span,.rim-applications-caption) {
   font-size:16px!important;line-height:1.45!important;font-weight:500!important;color:#17212b!important;
  }
  #imoldes-legal-panels,#imoldes-legal-panels * {font-family:"iMoldes Inter","Segoe UI",Arial,sans-serif!important}
  #imoldes-legal-panels :is(p,li) {font-size:16px!important;line-height:1.45!important;font-weight:500!important}
  #imoldes-legal-panels :is(h2,h3) {font-weight:600!important}

 }
}
:root{
 --imx-glass:rgba(251,253,255,.75);
 --imx-glass-active:rgba(214,227,238,.83);
 --imx-glass-hover:rgba(251,253,255,.94);
 --imx-glass-border:rgba(80,140,176,.45);
 --imx-glass-shadow:0 4px 13px rgba(20,52,76,.12),inset 0 1px 0 rgba(255,255,255,.92);
 --imx-study:linear-gradient(180deg,rgba(224,230,235,.9),rgba(186,198,207,.86));
 --imx-study-hover:linear-gradient(180deg,rgba(231,236,240,.95),rgba(195,206,214,.91));
 --imx-study-border:rgba(105,134,155,.68);
 --imx-study-shadow:0 3px 0 rgba(102,124,140,.65),0 6px 15px rgba(25,51,70,.16),inset 0 1px 0 rgba(255,255,255,.9);
 --imx-pearl:#e5edf3;--imx-white:rgba(251,253,255,.80);--imx-header-height:164px;--imx-navy:#153957;--imx-water:url("recursos/imagen_003.webp?v=d60fe01cd81b")}
html,body{background-color:var(--imx-pearl)!important}
/* Evita el antiguo fondo azul durante los milisegundos anteriores a la ruta activa. */
#inicio-contenido>.hero.hero-photo-match{background-image:none!important;background-color:#dce6ed!important;isolation:isolate!important}
#inicio-contenido>.hero.hero-photo-match::before{content:""!important;display:block!important;position:absolute!important;inset:0!important;z-index:0!important;pointer-events:none!important;background-image:var(--imx-water)!important;background-repeat:no-repeat!important;background-size:inherit!important;background-position:inherit!important;filter:grayscale(.65) saturate(.72) brightness(1.055) contrast(.99)!important;opacity:1!important}
#inicio-contenido>.hero.hero-photo-match>.hero-grid{position:relative!important;z-index:2!important}
/* Vidrio constante; la pagina activa tiene solo un borde azul fino y cristal un poco mas denso. */
body.detail-isolated:not(:has(#inicio-contenido.route-active)) .site-header.hero-style-header .main-nav.main-nav-photo>.nav-links.nav-links-photo>a.nav-button-3d:not(.v174-mobile-only-link),
.im-shared-external .main-nav .nav-links>a{
 background:rgba(251,253,255,.75)!important;
 color:#183751!important;-webkit-text-fill-color:#183751!important;
 border:1px solid rgba(80,140,176,.45)!important;
 box-shadow:0 4px 13px rgba(20,52,76,.12),inset 0 1px 0 rgba(255,255,255,.92)!important;
 text-shadow:none!important;transform:none!important;
 backdrop-filter:blur(11px);-webkit-backdrop-filter:blur(11px)
}
body.detail-isolated:not(:has(#inicio-contenido.route-active)) .site-header.hero-style-header .main-nav.main-nav-photo>.nav-links.nav-links-photo>a.nav-button-3d.active:not(.v174-mobile-only-link),
.im-shared-external .main-nav .nav-links>a.active{
 background:rgba(214,227,238,.83)!important;
 color:#14324a!important;-webkit-text-fill-color:#14324a!important;
 border-color:rgba(38,112,160,.72)!important;
 box-shadow:0 0 0 1px rgba(65,125,166,.22),0 4px 13px rgba(20,52,76,.14),inset 0 1px 0 rgba(255,255,255,.95)!important;
 transform:none!important;text-shadow:none!important;
}
body.detail-isolated:not(:has(#inicio-contenido.route-active)) .site-header.hero-style-header .main-nav.main-nav-photo>.nav-links.nav-links-photo>a.nav-button-3d:active:not(.v174-mobile-only-link),
.im-shared-external .main-nav .nav-links>a:active{
 background:rgba(196,214,228,.88)!important;
 box-shadow:inset 0 2px 5px rgba(32,80,112,.14),0 2px 7px rgba(20,52,76,.12)!important;
}
/* Cabecera exterior: mismas coordenadas comprobadas en Proceso/Sectores a 1600px. */
.im-shared-external{height:var(--imx-header-height);position:relative;flex:0 0 var(--imx-header-height);z-index:45;font-family:Arial,Helvetica,sans-serif}
.im-shared-external .nav-wrap-photo{position:relative;height:var(--imx-header-height);width:100%;max-width:none;margin:0;padding:0}
.im-shared-external .brand-photo{position:absolute;top:24px;left:calc(50% + clamp(94px,11.875vw,190px));transform:translateX(-50%);width:clamp(230px,21.125vw,338px);height:auto;z-index:2;background:transparent!important;border:none!important;box-shadow:none!important;line-height:0}
.im-shared-external .brand-photo img{width:100%;height:auto;display:block;object-fit:contain;background:transparent!important;border:0;box-shadow:none}
.im-shared-external .main-nav{position:static;display:contents}
.im-shared-external .nav-links{position:absolute;top:48px;left:clamp(22px,5.125vw,82px);display:flex;gap:10px;align-items:center;width:max-content;max-width:57vw;flex-wrap:nowrap;z-index:4}
.im-shared-external .nav-links a{font-size:clamp(11px,.74vw,12px);font-weight:800;height:47px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:0 13px;border:1px solid rgba(187,204,217,.9);border-radius:999px;text-decoration:none;color:#17324c;background:var(--imx-white);box-shadow:0 4px 15px rgba(18,42,65,.13),inset 0 1px 0 #fff;backdrop-filter:blur(10px)}
.im-shared-external .nav-links a:hover{background:#fff;box-shadow:0 6px 18px rgba(18,42,65,.20)}
.im-shared-external .nav-right{position:absolute;top:45px;right:clamp(20px,2.1vw,36px);height:47px;display:flex;gap:17px;align-items:center;justify-content:flex-end;z-index:5}
.im-shared-external .imx-lang{height:30px;display:grid;grid-template-columns:repeat(3,32px);border-radius:999px;background:rgba(255,255,255,.72);border:1px solid rgba(169,187,202,.65);overflow:hidden;box-shadow:0 4px 15px rgba(18,42,65,.08)}
.im-shared-external .imx-lang button{background:transparent;color:#244057;border:0;padding:0;font-size:11px;font-weight:800;cursor:pointer}
.im-shared-external .imx-lang button[aria-pressed="true"]{background:rgba(255,255,255,.99);box-shadow:inset 0 0 0 1px #729cb7;color:#12344f}
.im-shared-external .imx-cta{height:47px;min-width:166px;display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;border-radius:999px;text-decoration:none;border:1px solid var(--imx-study-border)!important;font-size:12px;font-weight:800;color:#173a57;background:var(--imx-study)!important;box-shadow:var(--imx-study-shadow)!important}
.im-shared-external .imx-cta:hover{background:var(--imx-study-hover)!important}
/* Misma agua gris perla desde el primer cuadro. */
.im-standalone,body.detail-isolated:not(:has(#inicio-contenido.route-active)){background:var(--imx-pearl)!important;position:relative;isolation:isolate;min-height:100dvh}
.im-standalone:before,body.detail-isolated:not(:has(#inicio-contenido.route-active)):before{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:var(--imx-water) center center / cover no-repeat;filter:grayscale(.68) saturate(.65) brightness(1.09) contrast(.94);opacity:.74}
.im-standalone:after,body.detail-isolated:not(:has(#inicio-contenido.route-active)):after{content:"";position:fixed;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(100deg,rgba(248,250,252,.65),rgba(224,235,244,.30))}
@media(max-width:1250px){
 .im-shared-external{--imx-header-height:150px}
 .im-shared-external .nav-links{top:25px;left:20px;gap:5px;max-width:68vw}
 .im-shared-external .nav-links a{height:36px;padding:0 8px;font-size:10px}
 .im-shared-external .brand-photo{top:71px;left:50%;width:260px}
 .im-shared-external .nav-right{top:22px;right:14px;height:38px;gap:7px}
 .im-shared-external .imx-cta{height:38px;min-width:105px;padding:0 11px;font-size:10px}
 .im-shared-external .imx-lang{grid-template-columns:repeat(3,26px);height:28px}
}
@media(max-width:760px){
 .im-shared-external{--imx-header-height:154px}
 .im-shared-external .brand-photo{top:9px;left:50%;width:min(61vw,240px)}
 .im-shared-external .nav-links{left:10px;right:10px;top:80px;max-width:none;width:auto;flex-wrap:wrap;justify-content:center;gap:5px}
 .im-shared-external .nav-links a{height:29px;font-size:10px;padding:0 8px}
 .im-shared-external .nav-right{top:5px;right:6px;gap:5px}
 .im-shared-external .imx-lang{grid-template-columns:repeat(3,23px);height:24px}
 .im-shared-external .imx-lang button{font-size:9px}
 .im-shared-external .imx-cta{display:none}
}
/* Escritorio exterior: geometria y tipografia de Proceso. No alcanza Inicio ni las vistas tactiles. */
@media(min-width:1121px) and (hover:hover) and (pointer:fine){
 body:is(.im-knowledge,.im-news) .im-shared-external{height:var(--imx-header-height);position:relative;flex:0 0 var(--imx-header-height);z-index:45;font-family:Inter,"Segoe UI",Arial,sans-serif}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-wrap-photo{position:relative;height:var(--imx-header-height);width:100%;max-width:none;margin:0;padding:0}
 body:is(.im-knowledge,.im-news) .im-shared-external .brand-photo{position:absolute;top:var(--imx-half-logo-top,24px);left:var(--imx-half-logo-center,calc(50vw + clamp(0px,558px - 31vw,248px) + clamp(110px,8vw,155px)));transform:translateX(-50%);width:clamp(170px,28vw - 110px,360px);height:auto;margin:0;padding:0;z-index:2;background:transparent!important;border:0!important;box-shadow:none!important;line-height:0}
 body:is(.im-knowledge,.im-news) .im-shared-external .brand-photo img{width:100%;height:auto;display:block;object-fit:contain;background:transparent!important;border:0;box-shadow:none}
 body:is(.im-knowledge,.im-news) .im-shared-external .main-nav{position:static;display:contents}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-links{position:absolute;top:48px;left:82px;display:flex;gap:10px;align-items:center;width:max-content;max-width:none;flex-wrap:nowrap;margin:0;padding:0;z-index:4}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-links a{position:relative;display:inline-flex;align-items:center;justify-content:center;min-height:47px;height:47px;box-sizing:border-box;padding:11px 17px;margin:0;font:900 15px/1 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.01em;white-space:nowrap;border:1px solid var(--imx-glass-border);border-radius:999px;text-decoration:none}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-right{position:absolute;top:45px;right:clamp(20px,2.1vw,36px);height:47px;display:flex;gap:17px;align-items:center;justify-content:flex-end;width:max-content;margin:0;padding:0;z-index:5}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-lang{position:relative;flex:0 0 auto;box-sizing:border-box;display:grid;grid-template-columns:repeat(3,1fr);width:96px;min-width:96px;height:30px;padding:0;gap:0;border:1px solid #7b858e;border-radius:999px;background:linear-gradient(#fff 0%,#edf1f4 34%,#b8c1c9 75%,#eef1f3 100%);overflow:hidden;box-shadow:0 3px 0 #77818a,0 7px 13px rgba(17,26,38,.14),inset 0 1px 0 #fff}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-lang button{appearance:none;position:relative;box-sizing:border-box;display:flex;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;min-height:0;background:transparent;color:#111a22;-webkit-text-fill-color:#111a22;border:0;border-radius:0;padding:0;margin:0;font:900 11px/1 Inter,"Segoe UI",Arial,sans-serif;cursor:pointer;text-shadow:none;box-shadow:none}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-lang button[aria-pressed="true"]{background:rgba(255,255,255,.98);box-shadow:inset 0 0 0 1px #6795b3,0 2px 8px rgba(48,89,120,.18);color:#12344e;-webkit-text-fill-color:#12344e;transform:translateY(1px)}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-cta{position:relative;flex:0 0 auto;height:47px;min-height:47px;min-width:0;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;white-space:nowrap;border-radius:22px;text-decoration:none;border:2px solid var(--imx-study-border)!important;padding:11px 22px;font:850 15px/1.1 Inter,"Segoe UI",Arial,sans-serif;letter-spacing:-.01em;color:#20262c;-webkit-text-fill-color:#20262c;background:var(--imx-study)!important;box-shadow:var(--imx-study-shadow)!important}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-cta:hover{background:var(--imx-study-hover)!important}
}
@media(min-width:1121px) and (max-width:1380px) and (hover:hover) and (pointer:fine){
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-links{left:56px;top:43px}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-links a:not([data-nav="inicio"]):not([data-nav="proceso"]){height:43px;min-height:43px;padding:10px 13px;font-size:14px}
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-right{top:41px;height:43px}
 body:is(.im-knowledge,.im-news) .im-shared-external .imx-cta{height:43px;min-height:43px;padding:10px 17px;font-size:14px}
}
/* Inicio y Proceso conservan las medidas de sus posiciones en la referencia;
   el estado activo cambia solo el cristal, sin desplazar los otros enlaces. */
@media(min-width:1501px) and (hover:hover) and (pointer:fine){
 body:is(.im-knowledge,.im-news) .im-shared-external .nav-links a:not([data-nav="inicio"]):not([data-nav="proceso"]){padding-left:12px;padding-right:12px;font-size:clamp(12px,.84vw,14px)}
}
/* Media ventana con raton: anagrama original y coordenadas aprobadas de Proceso.
   La botonera y las distribuciones tactiles conservan sus propias medidas. */
@media(min-width:1121px) and (max-width:1500px) and (hover:hover) and (pointer:fine){
 :root{
  --imx-half-logo-width:clamp(170px,28vw - 110px,360px);
  --imx-half-logo-center:calc(50vw + clamp(0px,558px - 31vw,248px) + clamp(105px,7.5vw,155px));
  --imx-half-logo-top:122px;
 }
 .im-shared-external .brand-photo{top:var(--imx-half-logo-top);left:var(--imx-half-logo-center);width:var(--imx-half-logo-width)}
 /* Transformar solo el anagrama CNC: su hueco en la cuadricula no cambia. */
 body[data-imx-section="conocimiento"] .article-legacy-header .brand{
  --imx-cnc-logo-width:clamp(280px,27vw,440px);
  transform-origin:0 0;
  transform:translate(calc(var(--imx-half-logo-center) - var(--imx-half-logo-width)/2 - 50vw + 50%),calc(var(--imx-half-logo-top) - 87px + 50%)) scale(calc(var(--imx-half-logo-width)/var(--imx-cnc-logo-width)));
 }
}
@media(min-width:1260px) and (max-width:1500px) and (hover:hover) and (pointer:fine){
 :root{--imx-half-logo-top:82px}
}
@media(min-width:1121px) and (max-width:1190px) and (hover:hover) and (pointer:fine){
 body[data-imx-section="conocimiento"] .article-legacy-header .brand{
  --imx-cnc-logo-width:clamp(260px,34vw,390px);
  transform:translate(calc(var(--imx-half-logo-center) - var(--imx-half-logo-width)/2 - 32px),calc(var(--imx-cnc-logo-width)*650/2163 + 46px)) scale(calc(var(--imx-half-logo-width)/var(--imx-cnc-logo-width)));
 }
}
/* Destello inicial solo una vez; sin reactivación al navegar. */
html:not(.im-first-entry) .site-header.hero-style-header .brand.brand-photo:after{animation:none!important;opacity:0!important}
html.im-first-entry .site-header.hero-style-header .brand.brand-photo:after{animation:imx-chrome-reflection 1.5s linear 1!important}
@media(prefers-reduced-motion:reduce){html.im-first-entry .site-header.hero-style-header .brand.brand-photo:after{animation:none!important}}

@media(min-width:1450px){.im-shared-external .nav-links a{padding-left:18px;padding-right:18px}}

/* iMoldes 26/10: 40px arriba en interiores; Inicio se conserva intacto. */
@media(min-width:1260px){
 body.detail-isolated:not(:has(#inicio-contenido.route-active))
 .site-header.hero-style-header .brand.brand-photo{translate:0 -40px!important;overflow:visible!important}
}
.im-shared-external .brand-photo,.im-shared-external .brand-photo img,
.im-shared-external .nav-wrap-photo{overflow:visible!important;clip-path:none!important}
/* El recurso original completo ya incluye el signo registrado. */
/* Pie compartido: misma tipografia, enlaces y distribucion en cada pagina exterior. */
footer.im-shared-footer{width:calc(100% - 58px);max-width:1680px;margin:0 auto;
 padding:7px 0 10px;font:12px Arial,Helvetica,sans-serif;color:#536c82;
 text-align:center;flex:0 0 auto;border-top:1px solid rgba(154,179,198,.46)}
footer.im-shared-footer .standalone-legal{display:flex;gap:14px;justify-content:center;flex-wrap:wrap;margin-bottom:5px}
footer.im-shared-footer a{color:#30465a;text-decoration:none;font-weight:700}
footer.im-shared-footer .foot-links{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
footer.im-shared-footer .footer-cta{display:none}
/* Articulo: utilizar todo el ancho de lectura, sin cajas adicionales. */
body.im-article{display:flex;flex-direction:column;min-height:100dvh}
body.im-article main.article-shell{width:calc(100% - 72px);max-width:1420px;margin:0 auto;
 flex:1;min-width:0;padding:0 0 36px}
body.im-article #conocimiento .im-kn-story{max-width:100%;width:100%;margin:18px 0 0!important}
body.im-article #conocimiento .im-kn-story>h1{max-width:1150px}
body.im-article #conocimiento .im-kn-story p{max-width:100ch}
body.im-article #conocimiento .im-kn-story .im-kn-story-deck{max-width:1050px}
body.im-article #conocimiento .im-kn-story-split{grid-template-columns:minmax(0,1.4fr) minmax(320px,1fr)}
body.im-article #conocimiento .im-kn-story-figure{max-width:480px}
body.im-article .article-intro{padding:3px 0 5px}
@media(max-width:850px){
 body.im-article main.article-shell{width:calc(100% - 32px)}
 body.im-article #conocimiento .im-kn-story-split{grid-template-columns:1fr}
 body.im-article #conocimiento .im-kn-story-figure{max-width:440px}
}

/* Acabados compartidos: solo pintura; cada pagina conserva su geometria. */
body.im-standalone :is(.nav a,.glass,.back,.cta-solid),
body.im-confirmation main>a[href$="#inicio"]{
 background:var(--imx-glass)!important;border-color:var(--imx-glass-border)!important;
 box-shadow:var(--imx-glass-shadow)!important;text-shadow:none!important;
}
body.im-standalone .nav a.active{
 background:var(--imx-glass-active)!important;
}
body.im-standalone :is(.nav a,.glass,.back,.cta-solid):is(:hover,:focus-visible){
 background:var(--imx-glass-hover)!important;
}
body.im-standalone :is(a.cta,a[data-nav="solicitar"],a[href$="#contacto"]){
 background:var(--imx-study)!important;border-color:var(--imx-study-border)!important;
 box-shadow:var(--imx-study-shadow)!important;text-shadow:none!important;
}
body.im-standalone :is(a.cta,a[data-nav="solicitar"],a[href$="#contacto"]):is(:hover,:focus-visible){
 background:var(--imx-study-hover)!important;
}
/* Retirar las capas antiguas de interiores; Inicio y las fotos quedan excluidos. */
body.detail-isolated main>:is(#capacidades,#sectores,#proceso,#maquinaria,#contacto,.service-detail-page).route-active[id]{
 background:transparent!important;
}
body.detail-isolated main>:is(#capacidades,#sectores,#proceso,#maquinaria,#contacto,.service-detail-page).route-active::before,
body.detail-isolated main>:is(#capacidades,#sectores,#proceso,#maquinaria,#contacto,.service-detail-page).route-active::after{
 content:none!important;
}
/* Solo superficies detras de explicaciones: se mantienen sus espacios y bordes fisicos. */
body.detail-isolated main>:is(#capacidades,#sectores,#proceso,#maquinaria,#contacto,.service-detail-page).route-active[id]
 :is(.inner-hero,.seo-strip,.rim33-intro,.rim33-core,.rim35-development,.project-section,.soplado-material-block,
     .design-cap-card,.tooling-cap-card,.rim-material-placeholder,.torno-v76-band,.fresa-v76-band,.mc-card,
     .contact-map-block,.contact-map-head,.contact-mini,.contact-trust,.process-stage-button,.soplado-tech-cards>article,.sector-detail-panel.is-open),
body.im-confirmation main{
 background:transparent!important;border-color:transparent!important;box-shadow:none!important;
}

/* Ruta compartida de Conocimiento y Actualidad; en teléfonos sigue el flujo móvil. */
.im-page-breadcrumbs{position:absolute;top:0;left:0;display:flex;align-items:center;gap:7px;margin:0;padding:0;color:#63788a;font:12px/1.4 Arial,Helvetica,sans-serif;text-align:left}
.im-page-breadcrumbs a{color:#12699d;font-weight:700;text-decoration:none}
.im-page-breadcrumbs a:hover{text-decoration:underline}
.im-page-breadcrumbs a:focus-visible{outline:2px solid #1689d1;outline-offset:3px}

/* iMoldes - FASE 1, solo botones, 2026-11-07.
   Una capa compartida resuelve los !important heredados sin alterar geometria.
   NO modifica fondos de pagina, tarjetas, fotos, fuentes, anchos ni alturas.
   Inicio es la referencia: cristal claro, borde azul fino y extremos colisos. */
@layer imoldes-botones {
  :root {
    --imx-glass-active:rgba(205,212,218,.92)!important;
    --imx-study:linear-gradient(180deg,rgba(108,117,125,.97),rgba(67,76,84,.98))!important;
    --imx-study-hover:linear-gradient(180deg,rgba(120,129,137,.97),rgba(79,88,96,.98))!important;
  }
  :where(
  a.nav-button-3d,
  button.nav-button-3d,
  .im-shared-external .nav-links > a,
  a.home-metal-link,
  a.btn,
  button.btn,
  a.btn-3d,
  button.btn-3d,
  a.imx-cta,
  .im-confirmation main > a,
  a.detail-return-blue,
  button.detail-return-blue,
  .v153-navigation-button,
  .mc-card-action,
  .soplado-tech-btn,
  .soplado-back-btn,
  .btn-outline-blue,
  .v152-tabs button,
  .rim-material-link,
  .v149-machining-links a,
  .contact-map-link,
  .process-stage-button,
  a.inline-link-3d,
  a.text-link,
  a.cta-solid,
  a.glass,
  button.glass,
  a.back,
  a.cta,
  .sector-open-label,
  .process-open-label,
  .im-mobile-menu-trigger,
  .im-mobile-to-top,
  .im-mobile-float-panel > button,
  .im-phone-toggle,
  .imoldes-legal-close,
  #v148-lightbox-close,
  #v149-video-close,
  #material158-texture-close,
  .translated-upload > button
) {
    background:var(--imx-glass,rgba(251,253,255,.75))!important;
    border-color:var(--imx-glass-border,rgba(80,140,176,.45))!important;
    border-radius:999px!important;
    box-shadow:var(--imx-glass-shadow,0 4px 13px rgba(20,52,76,.12),inset 0 1px 0 rgba(255,255,255,.92))!important;
    color:#14233a!important;
    -webkit-text-fill-color:#14233a!important;
    text-shadow:none!important;
    -webkit-backdrop-filter:blur(11px) saturate(1.14)!important;
    backdrop-filter:blur(11px) saturate(1.14)!important;
  }
  :where(
  a.nav-button-3d,
  button.nav-button-3d,
  .im-shared-external .nav-links > a,
  a.home-metal-link,
  a.btn,
  button.btn,
  a.btn-3d,
  button.btn-3d,
  a.imx-cta,
  .im-confirmation main > a,
  a.detail-return-blue,
  button.detail-return-blue,
  .v153-navigation-button,
  .mc-card-action,
  .soplado-tech-btn,
  .soplado-back-btn,
  .btn-outline-blue,
  .v152-tabs button,
  .rim-material-link,
  .v149-machining-links a,
  .contact-map-link,
  .process-stage-button,
  a.inline-link-3d,
  a.text-link,
  a.cta-solid,
  a.glass,
  button.glass,
  a.back,
  a.cta,
  .sector-open-label,
  .process-open-label,
  .im-mobile-menu-trigger,
  .im-mobile-to-top,
  .im-mobile-float-panel > button,
  .im-phone-toggle,
  .imoldes-legal-close,
  #v148-lightbox-close,
  #v149-video-close,
  #material158-texture-close,
  .translated-upload > button
):is(:hover,:focus-visible) {
    background:var(--imx-glass-hover,rgba(251,253,255,.94))!important;
  }
  :where(
  a.nav-button-3d,
  button.nav-button-3d,
  .im-shared-external .nav-links > a,
  a.home-metal-link,
  a.btn,
  button.btn,
  a.btn-3d,
  button.btn-3d,
  a.imx-cta,
  .im-confirmation main > a,
  a.detail-return-blue,
  button.detail-return-blue,
  .v153-navigation-button,
  .mc-card-action,
  .soplado-tech-btn,
  .soplado-back-btn,
  .btn-outline-blue,
  .v152-tabs button,
  .rim-material-link,
  .v149-machining-links a,
  .contact-map-link,
  .process-stage-button,
  a.inline-link-3d,
  a.text-link,
  a.cta-solid,
  a.glass,
  button.glass,
  a.back,
  a.cta,
  .sector-open-label,
  .process-open-label,
  .im-mobile-menu-trigger,
  .im-mobile-to-top,
  .im-mobile-float-panel > button,
  .im-phone-toggle,
  .imoldes-legal-close,
  #v148-lightbox-close,
  #v149-video-close,
  #material158-texture-close,
  .translated-upload > button
):is(.active,.is-active,[aria-current="page"],[aria-selected="true"],[aria-pressed="true"],:active) {
    background:var(--imx-glass-active)!important;
  }
  :where(
  a.nav-button-3d,
  button.nav-button-3d,
  .im-shared-external .nav-links > a,
  a.home-metal-link,
  a.btn,
  button.btn,
  a.btn-3d,
  button.btn-3d,
  a.imx-cta,
  .im-confirmation main > a,
  a.detail-return-blue,
  button.detail-return-blue,
  .v153-navigation-button,
  .mc-card-action,
  .soplado-tech-btn,
  .soplado-back-btn,
  .btn-outline-blue,
  .v152-tabs button,
  .rim-material-link,
  .v149-machining-links a,
  .contact-map-link,
  .process-stage-button,
  a.inline-link-3d,
  a.text-link,
  a.cta-solid,
  a.glass,
  button.glass,
  a.back,
  a.cta,
  .sector-open-label,
  .process-open-label,
  .im-mobile-menu-trigger,
  .im-mobile-to-top,
  .im-mobile-float-panel > button,
  .im-phone-toggle,
  .imoldes-legal-close,
  #v148-lightbox-close,
  #v149-video-close,
  #material158-texture-close,
  .translated-upload > button
):focus-visible {
    outline:2px solid #366f98!important;
    outline-offset:3px!important;
  }
  /* Conservar la caja de la flecha del enlace de mecanizado, sin convertirla
     en una segunda capsula. El borde transparente mantiene la medida previa. */
  a.mc-card-action > span[aria-hidden] {
    border:1px solid transparent!important;
    background:transparent!important;
    border-radius:0!important;
    box-shadow:none!important;
  }
  /* ES/EN/FR conserva su selector segmentado, con seleccion gris persistente. */
  .imx-lang button[aria-pressed="true"],
  .language-selector-buttons button[aria-pressed="true"] {
    background:var(--imx-glass-active)!important;
    color:#14233a!important;
    -webkit-text-fill-color:#14233a!important;
  }
  :is(a.imx-cta,a.nav-cta,a.im-ipad-portrait-study,a.im-mobile-mold-study,a.cta,button.btn-dark-industrial[type="submit"]) {
    background:var(--imx-study)!important;
    border-color:var(--imx-study-border,rgba(105,134,155,.68))!important;
    border-radius:999px!important;
    box-shadow:var(--imx-study-shadow)!important;
    color:#fff!important;
    -webkit-text-fill-color:#fff!important;
    text-shadow:0 1px 1px rgba(0,0,0,.22)!important;
  }
  :is(a.imx-cta,a.nav-cta,a.im-ipad-portrait-study,a.im-mobile-mold-study,a.cta,button.btn-dark-industrial[type="submit"]):is(:hover,:focus-visible) {
    background:var(--imx-study-hover)!important;
  }
  :is(a.imx-cta,a.nav-cta,a.im-ipad-portrait-study,a.im-mobile-mold-study,a.cta,button.btn-dark-industrial[type="submit"]):is(.active,[aria-current="page"],:active) {
    background:linear-gradient(180deg,rgba(90,99,107,.98),rgba(54,63,71,.99))!important;
  }
  @media(max-width:760px) {
    :where(
  a.nav-button-3d,
  button.nav-button-3d,
  .im-shared-external .nav-links > a,
  a.home-metal-link,
  a.btn,
  button.btn,
  a.btn-3d,
  button.btn-3d,
  a.imx-cta,
  .im-confirmation main > a,
  a.detail-return-blue,
  button.detail-return-blue,
  .v153-navigation-button,
  .mc-card-action,
  .soplado-tech-btn,
  .soplado-back-btn,
  .btn-outline-blue,
  .v152-tabs button,
  .rim-material-link,
  .v149-machining-links a,
  .contact-map-link,
  .process-stage-button,
  a.inline-link-3d,
  a.text-link,
  a.cta-solid,
  a.glass,
  button.glass,
  a.back,
  a.cta,
  .sector-open-label,
  .process-open-label,
  .im-mobile-menu-trigger,
  .im-mobile-to-top,
  .im-mobile-float-panel > button,
  .im-phone-toggle,
  .imoldes-legal-close,
  #v148-lightbox-close,
  #v149-video-close,
  #material158-texture-close,
  .translated-upload > button
) {
      -webkit-backdrop-filter:none!important;
      backdrop-filter:none!important;
    }
  }
}

/* PC de menor altura: recuperar espacio sin recortar contenido ni reducir letras. */
@layer imoldes-desktop-height {
 @media (min-width:1121px) and (max-height:850px) {
  html:not(.im-phone) body.detail-isolated main > .route-active { overflow:visible!important; max-height:none!important; }
  html:not(.im-phone) #inicio-contenido.route-active { display:flex!important; flex-direction:column!important; height:auto!important; min-height:100dvh!important; overflow:visible!important; }
  html:not(.im-phone) #inicio-contenido.route-active > .hero.hero-photo-match { flex:1 0 auto!important; height:auto!important; min-height:0!important; padding-top:clamp(170px,29dvh,246px)!important; padding-bottom:60px!important; overflow:visible!important; }
  html:not(.im-phone) #inicio-contenido .hero-grid-photo { transform:none!important; }
  html:not(.im-phone) #inicio-contenido .hero-media-photo { min-width:0!important; }
  html:not(.im-phone) #inicio-contenido .hero-media-photo img { max-width:100%!important; transform:none!important; }
  html:not(.im-phone) body:has(#inicio-contenido.route-active) .site-header .brand-photo { top:90px!important; width:min(565px,53dvh)!important; }
  html:not(.im-phone) body:has(#inicio-contenido.route-active) .site-header .brand-photo img { width:100%!important; max-width:100%!important; height:auto!important; }
  html:not(.im-phone) #inicio-contenido .hero-copy-photo h1 { margin-top:0!important; margin-bottom:12px!important; }
  html:not(.im-phone) #inicio-contenido .hero-copy-photo .hero-lead { margin-top:0!important; margin-bottom:12px!important; }
  html:not(.im-phone) #inicio-contenido .hero-actions { margin-top:12px!important; margin-bottom:12px!important; gap:6px!important; }
  html:not(.im-phone) #inicio-contenido .stat-strip-photo { margin-top:14px!important; }
  html:not(.im-phone) body.detail-isolated main > .route-active > .imoldes-legal-footer { padding-top:6px!important; padding-bottom:6px!important; }
  html:not(.im-phone) #capacidades .service-photo,
  html:not(.im-phone) #capacidades .service-photo img { height:clamp(40px,calc((100dvh - 536px)/3),142px)!important; min-height:0!important; max-height:none!important; object-fit:contain!important; }
  html:not(.im-phone) #capacidades .service-hub-grid { margin-top:8px!important; margin-bottom:8px!important; row-gap:5px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card { min-height:0!important; height:auto!important; padding:0!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-bg-img { height:clamp(40px,calc((100dvh - 590px)/3),135px)!important; width:100%!important; object-fit:contain!important; margin-bottom:4px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card-grid { flex:0 0 auto!important; margin-top:6px!important; row-gap:8px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) > .section { padding-top:4px!important; padding-bottom:8px!important; }
  html:not(.im-phone) #maquinaria .machinery-presentation { display:flex!important; flex-direction:column!important; flex:1 0 auto!important; height:auto!important; min-height:0!important; padding-top:8px!important; padding-bottom:8px!important; gap:8px!important; }
  html:not(.im-phone) #maquinaria .machinery-photo-composition { height:clamp(140px,calc(100dvh - 450px),400px)!important; min-height:0!important; flex:none!important; }
  html:not(.im-phone) #maquinaria .machinery-workshop { height:100%!important; margin:0!important; background:transparent!important; border:0!important; box-shadow:none!important; }
  html:not(.im-phone) #maquinaria .machinery-workshop img { height:100%!important; max-height:100%!important; width:100%!important; object-fit:contain!important; background:transparent!important; }
  html:not(.im-phone) body.im-knowledge main.shell { height:calc(100dvh - var(--imx-header-height) - 62px)!important; min-height:530px!important; flex:0 0 auto!important; }
  html:not(.im-phone) body.im-knowledge .feature { height:118px!important; }
  html:not(.im-phone) body.im-knowledge .catalog { min-height:0!important; grid-template-rows:repeat(2,minmax(0,1fr))!important; }
  html:not(.im-phone) body.im-knowledge .cimg { min-height:0!important; }
  html:not(.im-phone) body.im-knowledge .catalog-section { min-height:0!important; }
 }
 @media (min-width:1501px) and (max-height:850px) {
  html:not(.im-phone) #capacidades .service-photo,html:not(.im-phone) #capacidades .service-photo img { height:clamp(40px,calc((100dvh - 566px)/3),142px)!important; }

  html:not(.im-phone) #maquinaria .machinery-photo-composition { height:clamp(140px,calc(100dvh - 480px),400px)!important; }
 }
 @media (min-width:1121px) and (max-height:850px) {
  html:not(.im-phone) #inicio-contenido .hero-copy-photo > .eyebrow { margin-bottom:6px!important; }
  html:not(.im-phone) #inicio-contenido .hero-points-photo { gap:4px!important; margin-top:8px!important; }
  html:not(.im-phone) #inicio-contenido .home-metal-link { min-height:30px!important; padding-top:5px!important; padding-bottom:5px!important; }
  html:not(.im-phone) #inicio-contenido .stat-strip-photo { margin-top:8px!important; }
  html:not(.im-phone) #inicio-contenido .stat-strip-photo > div { padding-top:4px!important; padding-bottom:4px!important; }
  html:not(.im-phone) #capacidades .service-photo { margin-bottom:3px!important; }
  html:not(.im-phone) #capacidades .service-hub-grid { row-gap:3px!important; }
  html:not(.im-phone) #capacidades > .shell > .eyebrow { margin-bottom:2px!important; }
  html:not(.im-phone) #capacidades > .shell > h2, html:not(.im-phone) #capacidades > .shell > .lead { margin-bottom:4px!important; }

  html:not(.im-phone) #sectores:not(.sector-detail-mode) > .inner-hero { padding-top:0!important; padding-bottom:0!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) > .inner-hero .breadcrumbs { margin-bottom:2px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) > .inner-hero .eyebrow { margin-bottom:2px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) > .section { padding-top:0!important; padding-bottom:0!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-bg-img { margin-bottom:2px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card-grid { margin-top:4px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) main.shell { gap:4px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .hero { padding-top:0!important; padding-bottom:0!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .hero h1 { margin-top:0!important; margin-bottom:2px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-index { padding-top:3px!important; padding-bottom:3px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-kicker { margin-bottom:5px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-date { margin-bottom:4px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-index h2 { margin-top:2px!important; margin-bottom:8px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-summary { margin-bottom:8px!important; }
  html:not(.im-phone) body.im-news:not(.imact-long) .imact-index-visual img { max-height:calc(100dvh - 410px)!important; object-fit:contain!important; }

  html:not(.im-phone) #sectores:not(.sector-detail-mode) .section-head .eyebrow { margin-top:0!important; margin-bottom:0!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .section-head h2 { margin-bottom:0!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card-grid { row-gap:3px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card h3 { padding-top:3px!important; padding-bottom:3px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card p { margin-top:3px!important; margin-bottom:0!important; }
  html:not(.im-phone) body.im-knowledge main.shell { min-height:0!important; gap:4px!important; }
  html:not(.im-phone) body.im-knowledge .hero { height:auto!important; padding-top:0!important; padding-bottom:0!important; }
  html:not(.im-phone) body.im-knowledge .hero h1 { margin-top:0!important; margin-bottom:0!important; }
  html:not(.im-phone) body.im-knowledge .feature { height:84px!important; }
  html:not(.im-phone) body.im-knowledge .fimg { height:84px!important; min-height:0!important; }
  html:not(.im-phone) body.im-knowledge .ftext { padding-top:0!important; padding-bottom:0!important; gap:3px!important; }
  html:not(.im-phone) body.im-knowledge .section-title { margin-top:0!important; margin-bottom:2px!important; }
  html:not(.im-phone) body.im-knowledge .catalog { gap:8px 12px!important; }
  html:not(.im-phone) body.im-knowledge .cbody { min-height:0!important; padding-top:2px!important; padding-bottom:2px!important; gap:2px!important; }
  html:not(.im-phone) body.im-knowledge .badge { margin-top:0!important; padding-top:0!important; padding-bottom:0!important; }
 }

 @media (min-width:1501px) and (max-height:850px) {
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card h3 { margin-bottom:1px!important; }
  html:not(.im-phone) #sectores:not(.sector-detail-mode) .sector-card p { margin-top:1px!important; }
 }

 @media (min-width:1501px) and (max-height:700px) {
  html:not(.im-phone) #inicio-contenido.route-active > .hero.hero-photo-match { padding-top:24dvh!important; }
  html:not(.im-phone) body:has(#inicio-contenido.route-active) .site-header .brand-photo { top:50px!important; }
 }
 @media (min-width:1121px) and (max-height:850px) {
  html:not(.im-phone) #inicio-contenido > .imoldes-social-links { bottom:70px!important; }
 }
 @media (min-width:1121px) and (max-height:599px) {
  html:not(.im-phone) body.im-knowledge main.shell { min-height:424px!important; }
 }

}

/* Botón flotante de regreso en los artículos de Conocimiento. */
body.im-standalone[data-imx-section="conocimiento"] > .article-return {position:sticky;bottom:max(12px,env(safe-area-inset-bottom));z-index:10;display:flex;align-items:center;justify-content:center;width:fit-content;max-width:calc(100% - 28px);min-height:44px;margin:0 max(14px,env(safe-area-inset-right)) 14px auto;padding:8px 16px;border:1px solid var(--imx-glass-border);border-radius:999px;background:var(--imx-glass);box-shadow:var(--imx-glass-shadow);color:#17212b;font-size:13px;font-weight:600;text-align:center;text-decoration:none;backdrop-filter:blur(8px)}
body.im-standalone[data-imx-section="conocimiento"] > .article-return:hover {background:var(--imx-glass-hover)}
body.im-standalone[data-imx-section="conocimiento"] > .article-return:active {background:var(--imx-glass-active)}
body.im-standalone[data-imx-section="conocimiento"] > .article-return:focus-visible {outline:2px solid #12699d;outline-offset:3px}

/* Regreso compartido de las portadas y artículos de Conocimiento. */
body.im-standalone[data-imx-section="conocimiento"] > .article-return.knowledge-return-fixed {
 position:fixed;right:max(14px,env(safe-area-inset-right));left:auto;
 bottom:max(calc(12px + var(--imx-return-footer-inset, 0px)),env(safe-area-inset-bottom));
 margin:0;
}
body.im-standalone[data-imx-section="conocimiento"] > .knowledge-article-top[hidden] {
 display:none!important
}
body.im-standalone[data-imx-section="conocimiento"]:has(> .knowledge-article-top) main #titulo {
 scroll-margin-top:18px
}

@media print {
 body.im-standalone[data-imx-section="conocimiento"] > .knowledge-return-fixed {display:none!important}
}
