/* Familias industriales: reticula y paleta coherentes con SmartMon. */
body.sx-theme .sm-family-page,body.sx-theme .sm-sector-index{--sm-family-gutter:clamp(18px,3vw,64px);--sm-family-width:clamp(1200px,76vw,2048px);--sm-family-orange:var(--sm-brand-orange,#ff8d2b);--sm-family-blue:var(--sm-brand-blue,#0a70b8)}
body.sx-theme :is(.sm-family-page,.sm-sector-index) .container{width:min(var(--sm-family-width),calc(100% - 2 * var(--sm-family-gutter)));margin-inline:auto;max-width:100%;min-width:0}
body.sx-theme .sm-family-page .sm-family-section{padding:clamp(35px,4vw,82px) 0}
body.sx-theme .sm-family-page .sm-family-section h2{font-size:clamp(25px,2.4vw,48px);line-height:1.2;margin:0 0 16px}
body.sx-theme .sm-family-page .sm-family-section h3{font-size:clamp(18px,1.3vw,25px);line-height:1.35}
body.sx-theme .sm-family-page .sm-family-section p{line-height:1.75;font-size:clamp(14px,1.02vw,20px)}
body.sx-theme .sm-family-page .sm-family-hero{padding-block:clamp(28px,3.8vw,64px);background:#101923;color:#fff}
body.sx-theme .sm-family-page .sm-family-hero-grid{display:grid;grid-template-columns:1fr .95fr;gap:clamp(24px,4vw,80px);align-items:center}
body.sx-theme .sm-family-page .sm-family-hero h1{font-size:clamp(34px,3.4vw,68px);line-height:1.09;color:#fff;letter-spacing:-.04em}
body.sx-theme .sm-family-page .sm-family-hero .eyebrow{color:#ffb16b}
body.sx-theme .sm-family-page .sm-family-hero p{color:#e0e7ef;max-width:760px;font-size:clamp(15px,1.2vw,24px);line-height:1.65}
body.sx-theme .sm-family-page .sm-family-hero-photo{overflow:hidden;min-width:0}
body.sx-theme .sm-family-page .sm-family-hero-photo img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
body.sx-theme .sm-family-page .sm-family-demo{background:var(--sm-family-orange)!important;border-color:var(--sm-family-orange)!important;color:#fff!important;box-shadow:none;border-radius:3px}
body.sx-theme .sm-family-page .sm-family-demo:hover,body.sx-theme .sm-family-page .sm-family-demo:focus-visible{background:var(--sm-brand-orange-hover,#ffa34f)!important;border-color:var(--sm-brand-orange-hover,#ffa34f)!important;color:#fff!important}
body.sx-theme .sm-family-page .sm-family-intro{background:#fff}
body.sx-theme .sm-family-page .sm-family-intro p{max-width:1100px;margin-bottom:0}
body.sx-theme .sm-family-page .sm-family-clients{background:#f7f9fb;padding-block:clamp(24px,3vw,52px);border-block:1px solid #e3e8ed}
body.sx-theme .sm-family-carousel{min-width:0;max-width:100%}
body.sx-theme .sm-family-carousel-viewport{width:100%;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;scroll-behavior:auto!important;overscroll-behavior-x:contain}
body.sx-theme .sm-family-carousel-viewport::-webkit-scrollbar{display:none}
body.sx-theme .sm-family-carousel.is-running .sm-family-carousel-viewport{overflow:hidden}
body.sx-theme .sm-family-carousel-track{display:flex;width:max-content;max-width:none;align-items:center;gap:0;flex-wrap:nowrap}
body.sx-theme .sm-family-logo-row{display:flex;align-items:center;gap:clamp(22px,3vw,56px);padding:0 clamp(22px,3vw,56px) 0 0;margin:0;list-style:none;flex:none;width:max-content;max-width:none}
body.sx-theme .sm-family-logo-row li{display:flex;align-items:center;justify-content:center;height:clamp(76px,7vw,125px);width:clamp(100px,10vw,190px);flex:none}
body.sx-theme .sm-family-logo-row img{display:block;width:100%;height:auto;max-width:100%;max-height:clamp(48px,5vw,88px);object-fit:contain}
body.sx-theme .sm-family-logo-row a{display:flex;align-items:center;width:100%;justify-content:center}
body.sx-theme .sm-family-carousel-controls{display:flex;justify-content:flex-end;align-items:center;gap:14px;min-height:20px;margin-top:8px}
body.sx-theme .sm-family-carousel-controls button{border:0;background:transparent;color:#526779;font:inherit;font-size:12px;cursor:pointer;text-decoration:underline;padding:5px 0}
body.sx-theme .sm-family-carousel-controls button[hidden]{display:none}
body.sx-theme .sm-family-nav-section{background:#fff;border-bottom:1px solid #e3e8ed}
body.sx-theme .sm-family-subnav{display:flex;flex-wrap:wrap;gap:10px}
body.sx-theme .sm-family-subnav a{border:1px solid #dce4eb;background:#fff;color:#0a70b8;padding:12px 16px;font-weight:750;font-size:clamp(13px,1vw,18px)}
body.sx-theme .sm-family-subnav a:hover,body.sx-theme .sm-family-subnav a:focus-visible{background:#fff2e4;border-color:#ff8d2b;color:#172435}
body.sx-theme .sm-family-page [id]{scroll-margin-top:125px}
body.sx-theme .sm-family-subsector{background:#fff}
body.sx-theme .sm-family-subsector-alt{background:#f5f7f9}
body.sx-theme .sm-family-sub-layout{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr);gap:clamp(24px,4vw,76px);align-items:start}
body.sx-theme .sm-family-subsector-alt .sm-family-sub-layout{grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}
body.sx-theme .sm-family-subsector-alt .sm-family-sub-copy{grid-column:2;grid-row:1}
body.sx-theme .sm-family-subsector-alt .sm-family-sub-photo{grid-column:1;grid-row:1}
body.sx-theme .sm-family-sub-photo{margin:0;min-width:0}
body.sx-theme .sm-family-sub-photo img{display:block;width:100%;height:auto;aspect-ratio:16/11;object-fit:cover}
body.sx-theme .sm-family-sub-copy .sm-family-sub-lead{font-weight:750;color:#172435}
body.sx-theme .sm-family-sub-copy .feature-list{margin:12px 0 20px}
body.sx-theme .sm-family-sub-copy .feature-list li{font-size:clamp(14px,1vw,19px);line-height:1.6}
body.sx-theme .sm-family-benefit{border-left:3px solid #ff8d2b;padding:12px 16px;background:#fff5e9;color:#172435}
body.sx-theme .sm-family-sub-links{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
body.sx-theme .sm-family-sub-links a{border:1px solid #dce4eb;padding:7px 10px;color:#0a70b8;background:#fff;font-size:12px;font-weight:700}
body.sx-theme .sm-family-specialist{display:inline-block;font-size:13px;font-weight:800;color:#0a70b8;margin-top:4px}
body.sx-theme .sm-family-common{background:#eef3f8}
body.sx-theme .sm-family-challenges,body.sx-theme .sm-family-module-grid,body.sx-theme .sm-family-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(14px,1.3vw,28px)}
body.sx-theme .sm-family-challenges article,body.sx-theme .sm-family-module-grid>a{min-width:0;background:#fff;border:1px solid #dce4eb;border-top:3px solid #ff8d2b;padding:clamp(18px,2vw,32px);display:flex;flex-direction:column;gap:8px}
body.sx-theme .sm-family-challenges h3,body.sx-theme .sm-family-module-grid h3{margin:0;color:#172435}
body.sx-theme .sm-family-challenges p,body.sx-theme .sm-family-module-grid p{margin:0;color:#526477}
body.sx-theme .sm-family-module-grid>a:hover{background:#fff5e9}
body.sx-theme .sm-family-module-grid b{color:#0a70b8;margin-top:auto;padding-top:8px;font-size:13px}
body.sx-theme .sm-family-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;flex-wrap:wrap}
body.sx-theme .sm-family-heading>.card-link{margin:0}
body.sx-theme .sm-family-cta{background:#101923;color:#fff}
body.sx-theme .sm-family-cta>.container{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:32px;align-items:center}
body.sx-theme .sm-family-cta h2{color:#fff}
body.sx-theme .sm-family-cta p{color:#dbe4ed;margin:0}
body.sx-theme .sm-family-cta .eyebrow{color:#ffb16b}
body.sx-theme .sm-family-actions{display:flex;flex-direction:column;align-items:stretch;gap:12px;text-align:center}
body.sx-theme .sm-family-contact{color:#fff;font-size:14px;font-weight:750}
body.sx-theme .sm-family-card{display:flex;flex-direction:column;min-width:0;border:1px solid #dce4eb;background:#fff}
body.sx-theme .sm-family-card-image img{width:100%;height:auto;aspect-ratio:16/10;object-fit:cover;display:block}
body.sx-theme .sm-family-card-body{display:flex;flex:1;flex-direction:column;padding:clamp(18px,1.8vw,32px);gap:10px}
body.sx-theme .sm-family-card-body h2{font-size:clamp(20px,1.5vw,30px);line-height:1.25;margin:0}
body.sx-theme .sm-family-card-body h2 a{color:#172435}
body.sx-theme .sm-family-card-body p{margin:0;font-size:clamp(14px,1vw,19px);line-height:1.6}
body.sx-theme .sm-family-card-body ul{list-style:none;padding:0;margin:0;display:grid;gap:5px}
body.sx-theme .sm-family-card-body li a{font-size:clamp(13px,.9vw,18px);color:#0a70b8;line-height:1.5}
body.sx-theme .sm-family-card-body li a:hover{text-decoration:underline}
body.sx-theme .sm-family-card-body .card-link{margin-top:auto;padding-top:8px}
body.sx-theme .sm3243-home .sm-home-industry-card{border-radius:0}
body.sx-theme .sm-old-family-link{margin-top:16px;display:inline-flex;font-weight:800;color:#0a70b8}
/* Mega menu: seis familias agrupadas, necesidades conservadas a la derecha. */
body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-soluciones>.sm3239-dropdown.sm-families-dropdown{box-sizing:border-box;min-width:0;max-width:calc(100vw - 32px);gap:16px;padding:16px}
body.sx-theme .sm-families-menu{min-width:0}
body.sx-theme .sm-families-menu-title{display:flex;align-items:center;justify-content:space-between;gap:6px;flex-wrap:wrap;border-bottom:1px solid #3b3f48;padding-bottom:7px;margin-bottom:10px}
body.sx-theme .sm-families-menu-title .sm3239-group-label{margin:0;padding:5px 6px}
body.sx-theme .sm-families-menu-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 14px}
body.sx-theme .sm-families-menu-group{min-width:0}
body.sx-theme .sm-families-menu-heading{display:flex;align-items:center;gap:4px}
body.sx-theme .site-header .sm-families-menu-heading>a{font-weight:800;color:#fff!important;white-space:normal;line-height:1.35;padding:6px 6px}
body.sx-theme .site-header .sm-families-menu-heading>a.active,body.sx-theme .site-header .sm-families-menu-heading>a:hover{color:#ff9b42!important}
body.sx-theme .sm-families-menu-sub{list-style:none;margin:0;padding:0 0 0 10px;border-left:1px solid #515963}
body.sx-theme .site-header .sm-families-menu-sub a{display:block;padding:5px 6px;white-space:normal;font-size:12px;line-height:1.35}
body.sx-theme .sm-families-menu-toggle{display:none}
@media(min-width:891px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-soluciones>.sm3239-dropdown.sm-families-dropdown{width:min(1110px,calc(100vw - 32px))!important;grid-template-columns:minmax(0,1fr) minmax(170px,.26fr)!important;max-height:calc(100dvh - 125px);overflow-y:auto}
 body.sx-theme .sm-families-dropdown>.sm3239-column{border-left:1px solid #344254;padding-left:14px}
 body.sx-theme .sm-families-menu-sub[hidden]{display:block!important}
}
@media(max-width:1100px) and (min-width:891px){body.sx-theme .sm-families-menu-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:890px){
 body.sx-theme .site-header .nav-main.sm3239-nav>.sm3239-soluciones>.sm3239-dropdown.sm-families-dropdown{width:100%!important;max-width:100%;min-width:0;padding:10px 12px!important;display:block;max-height:none;overflow:visible}
 body.sx-theme .sm-families-menu-grid{grid-template-columns:1fr;gap:0}
 body.sx-theme .sm-families-menu-group{border-bottom:1px solid #3b3f48;padding-block:4px}
 body.sx-theme .sm-families-menu-heading{justify-content:space-between}
 body.sx-theme .site-header .sm-families-menu-heading>a{flex:1;padding:10px 6px;font-size:14px}
 body.sx-theme .sm-families-menu-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:none;border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}
 body.sx-theme .sm-families-menu-toggle[aria-expanded=true] span{transform:rotate(180deg)}
 body.sx-theme .sm-families-menu-sub[hidden]{display:none!important}
 body.sx-theme .site-header .sm-families-menu-sub a{padding:10px 10px;font-size:13px}
 body.sx-theme .sm-families-dropdown>.sm3239-column{margin-top:18px}
}
@media(max-width:900px){
 body.sx-theme .sm-family-page .sm-family-hero-grid,body.sx-theme .sm-family-sub-layout,body.sx-theme .sm-family-subsector-alt .sm-family-sub-layout{grid-template-columns:1fr}
 body.sx-theme .sm-family-subsector-alt .sm-family-sub-copy,body.sx-theme .sm-family-subsector-alt .sm-family-sub-photo{grid-column:auto;grid-row:auto}
 body.sx-theme .sm-family-grid,body.sx-theme .sm-family-module-grid,body.sx-theme .sm-family-challenges{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.sx-theme .sm-family-hero-photo img,body.sx-theme .sm-family-sub-photo img{aspect-ratio:16/9}
}
@media(max-width:620px){
 body.sx-theme .sm-family-grid,body.sx-theme .sm-family-module-grid,body.sx-theme .sm-family-challenges,body.sx-theme .sm-family-cta>.container{grid-template-columns:1fr}
 body.sx-theme .sm-family-subnav{flex-direction:column}
 body.sx-theme .sm-family-subnav a{display:flex;justify-content:space-between;gap:10px}
 body.sx-theme .sm-family-page [id]{scroll-margin-top:96px}
 body.sx-theme .sm-family-page .sm-family-hero h1{font-size:clamp(32px,8vw,42px)}
}
@media(prefers-reduced-motion:no-preference){html:has(.sm-family-page){scroll-behavior:smooth}}


/* Inicio: control de pausa discreto, sin texto visible.
   El nombre del boton se conserva para lectores de pantalla y teclado. */
body.sx-theme .sm3243-home .sm32427-pause {
  position:relative;display:inline-flex;align-items:center;justify-content:center;
  width:28px;height:28px;padding:0;font-size:0!important;line-height:1;
  text-decoration:none;border:0;border-radius:4px;background:transparent;
}
body.sx-theme [data-sm-client-pause]:not([hidden])::before {
  content:"";display:block;width:9px;height:11px;box-sizing:border-box;
  border-left:3px solid currentColor;border-right:3px solid currentColor;
}
body.sx-theme [data-sm-client-pause][aria-pressed="true"]::before {
  width:0;height:0;border:0;border-left:9px solid currentColor;
  border-top:6px solid transparent;border-bottom:6px solid transparent;
}
body.sx-theme [data-sm-client-pause]:focus-visible {
  outline:2px solid #0a70b8;outline-offset:2px;
}
body.sx-theme [data-sm-client-pause][hidden]{display:none!important}
@media (hover:hover) and (pointer:fine){
  body.sx-theme [data-sm-client-pause][aria-pressed="false"]{opacity:0}
  body.sx-theme [data-sm-client-marquee]:hover [data-sm-client-pause],
  body.sx-theme [data-sm-client-pause]:focus-visible{opacity:1}
}
