/* 3S INDUSTRIA 4.0 (2026) - Solo el articulo Joomla asignado al menu de Implantaciones Industria 4.0.
   Todo el texto, imagenes, enlaces y titulos viven en el HTML del articulo (no en este CSS). */
body.site #content .s3i40{--i40-ink:#12354b;--i40-navy:#004266;--i40-deep:#00324d;--i40-lime:#8bae2d;--i40-muted:#547080;--i40-line:#dce8ed;--i40-soft:#f4f8fa;max-width:1160px;margin:0 auto 36px;color:var(--i40-ink);font:400 16px/1.62 Arial,Helvetica,sans-serif;box-sizing:border-box;overflow-wrap:anywhere}
body.site #content .s3i40 *,body.site #content .s3i40 *:before,body.site #content .s3i40 *:after{box-sizing:border-box}
body.site #content .s3i40 :is(h2,h3,h4,p,figure,ul){margin-top:0}
body.site #content .s3i40 :is(h2,h3,h4){color:var(--i40-ink);font-family:Arial,Helvetica,sans-serif;letter-spacing:-.025em}
body.site #content .s3i40 a{transition:background-color .18s ease,border-color .18s ease,transform .18s ease}
body.site #content .s3i40 a:focus-visible{outline:3px solid #66b9df;outline-offset:3px}
body.site #content .s3i40 .s3i40-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.91fr);min-height:415px;border-radius:19px;overflow:hidden;background:#003b5a;box-shadow:0 12px 35px rgba(0,46,70,.15);margin-bottom:16px}
body.site #content .s3i40 .s3i40-hero-copy{padding:clamp(26px,3.3vw,48px) clamp(26px,3.2vw,46px);align-self:center;position:relative;z-index:1}
body.site #content .s3i40 .s3i40-kicker{color:#c6e99c;letter-spacing:.12em;font-size:12px;font-weight:800;margin-bottom:17px}
body.site #content .s3i40 .s3i40-kicker span{padding:0 6px;color:#a2bece}
body.site #content .s3i40 .s3i40-hero h2{color:white!important;font-size:clamp(27px,3.15vw,42px)!important;font-weight:800;line-height:1.13;margin:0 0 17px!important;letter-spacing:-.035em}
body.site #content .s3i40 .s3i40-hero-copy>p:not(.s3i40-kicker){color:#dae9f0;font-size:15.5px;margin:0 0 16px;line-height:1.58}
body.site #content .s3i40 .s3i40-hero-copy>p.s3i40-lead{font-size:19px!important;line-height:1.42;font-weight:700;color:#fff}
body.site #content .s3i40 .s3i40-hero-photo{position:relative;min-height:100%;margin:0;overflow:hidden}
body.site #content .s3i40 .s3i40-hero-photo:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,59,90,.2),transparent 34%);pointer-events:none}
body.site #content .s3i40 .s3i40-hero-photo img{display:block;width:100%!important;height:100%!important;min-height:415px;object-fit:cover;object-position:center;border:0;border-radius:0;max-width:none!important}
body.site #content .s3i40 .s3i40-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:22px}
body.site #content .s3i40 .s3i40-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;border-radius:8px;background:#8bad30!important;border:1px solid #8bad30!important;color:#082b3e!important;font-weight:800;font-size:13px;text-decoration:none!important;padding:11px 17px;line-height:1.35;text-align:center}
body.site #content .s3i40 .s3i40-button:hover{background:#a1c94a!important;border-color:#a1c94a!important;transform:translateY(-1px)}
body.site #content .s3i40 .s3i40-button-light{color:#fff!important;border-color:#97bacb!important;background:transparent!important}
body.site #content .s3i40 .s3i40-button-light:hover{background:rgba(255,255,255,.14)!important;border-color:#fff!important}
body.site #content .s3i40 .s3i40-highlights{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid var(--i40-line);background:#f7fbfc;border-radius:13px;margin-bottom:42px}
body.site #content .s3i40 .s3i40-highlights p{padding:19px 25px;margin:0;display:flex;flex-direction:column;gap:2px;position:relative}
body.site #content .s3i40 .s3i40-highlights p+p{border-left:1px solid var(--i40-line)}
body.site #content .s3i40 .s3i40-highlights strong{font-size:16px;color:var(--i40-navy)}
body.site #content .s3i40 .s3i40-highlights span{font-size:13px;color:var(--i40-muted)}
body.site #content .s3i40 .s3i40-section{margin-bottom:44px}
body.site #content .s3i40 .s3i40-section-header{max-width:800px;margin:0 0 22px}
body.site #content .s3i40 .s3i40-overline{color:#668d21;font-size:12px;font-weight:800;letter-spacing:.115em;margin-bottom:10px}
body.site #content .s3i40 .s3i40-section-header h3,body.site #content .s3i40 .s3i40-outcomes-text h3{font-size:clamp(24px,2.8vw,33px)!important;line-height:1.2;margin:0 0 13px!important;font-weight:800}
body.site #content .s3i40 .s3i40-section-header p:not(.s3i40-overline){font-size:15.6px;color:#506b79;margin:0;line-height:1.68}
body.site #content .s3i40 .s3i40-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
body.site #content .s3i40 .s3i40-card{background:#fff;border:1px solid var(--i40-line);border-radius:13px;padding:24px 22px 23px;box-shadow:0 4px 15px rgba(0,51,74,.035);border-top:3px solid #a1be66}
body.site #content .s3i40 .s3i40-card-number{display:inline-flex;align-items:center;justify-content:center;background:#edf5e4;color:#52771e;font-size:13px;font-weight:800;border-radius:8px;width:38px;height:34px;margin-bottom:15px}
body.site #content .s3i40 .s3i40-card h4{font-size:17px!important;font-weight:800;line-height:1.3;margin-bottom:9px!important;color:#003f5d}
body.site #content .s3i40 .s3i40-card p{color:#526f7b;font-size:14px;line-height:1.65;margin:0}
body.site #content .s3i40 .s3i40-process{border:1px solid #dfe9ed;border-radius:17px;padding:32px; margin:0 0 44px;background:#f4f8fa}
body.site #content .s3i40 .s3i40-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:28px 0 16px}
body.site #content .s3i40 .s3i40-flow-step{position:relative;border:1px solid #d7e4e9;background:#fff;border-radius:10px;padding:21px 15px 19px;min-height:171px;box-shadow:0 2px 12px rgba(4,52,70,.035)}
body.site #content .s3i40 .s3i40-flow-step:not(:last-child):after{content:'';position:absolute;top:35px;right:-11px;z-index:2;width:10px;height:3px;background:#85ac37}
body.site #content .s3i40 .s3i40-flow-step>span{color:#5b8229;font-weight:900;font-size:13px;display:block;margin-bottom:14px}
body.site #content .s3i40 .s3i40-flow-step h4{font-size:18px!important;color:var(--i40-navy);font-weight:800;margin:0 0 7px!important}
body.site #content .s3i40 .s3i40-flow-step p{font-size:13.5px;color:#526e7a;line-height:1.55;margin:0}
body.site #content .s3i40 .s3i40-method-note{font-size:13px;color:#68808c;margin:0}
body.site #content .s3i40 .s3i40-outcomes{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:30px;align-items:center;margin:0 0 40px}
body.site #content .s3i40 .s3i40-outcomes-text h3{margin:0 0 13px!important}
body.site #content .s3i40 .s3i40-outcomes-text p:not(.s3i40-overline){color:#4d6876;font-size:15px;line-height:1.67;margin:0 0 13px}
body.site #content .s3i40 .s3i40-outcomes-panel{background:#eef5f5;border-left:4px solid #82a931;border-radius:0 14px 14px 0;padding:27px 26px}
body.site #content .s3i40 .s3i40-outcomes-panel h4{font-size:18px!important;font-weight:800;margin:0 0 13px!important}
body.site #content .s3i40 .s3i40-outcomes-panel ul{margin:0;padding:0;list-style:none}
body.site #content .s3i40 .s3i40-outcomes-panel li{position:relative;padding:5px 0 6px 23px;font-size:14px;line-height:1.5;color:#405e6a}
body.site #content .s3i40 .s3i40-outcomes-panel li:before{content:'';position:absolute;left:1px;top:13px;width:9px;height:9px;background:#8bad30;border-radius:50%}
body.site #content .s3i40 .s3i40-cta{display:flex;align-items:center;justify-content:space-between;gap:25px;border-radius:15px;padding:27px 30px;background:#003f61;color:#fff}
body.site #content .s3i40 .s3i40-cta>div{max-width:650px}
body.site #content .s3i40 .s3i40-cta .s3i40-overline{color:#c1e48b}
body.site #content .s3i40 .s3i40-cta h3{color:white!important;font-size:24px!important;line-height:1.23;margin:0 0 8px!important;font-weight:800}
body.site #content .s3i40 .s3i40-cta p:not(.s3i40-overline){color:#d5e5ed;font-size:14px;line-height:1.5;margin:0}
body.site #content .s3i40 .s3i40-cta>.s3i40-button{flex:0 0 auto}
body.site #content .s3i40 .s3i40-original-resources{margin-top:30px;border-top:1px solid var(--i40-line);padding-top:22px}
body.site #content .s3i40 .s3i40-original-resources h3{font-size:19px;font-weight:800}
body.site #content .s3i40 .s3i40-original-resources .s3i40-original-images{display:flex;flex-wrap:wrap;gap:16px}
body.site #content .s3i40 .s3i40-original-resources :is(img,picture,svg){display:block;max-width:100%!important;width:auto!important;height:auto!important;max-height:300px;border-radius:8px}
body.site #content .s3i40 .s3i40-original-resources a{color:#00618d}
@media(max-width:940px){body.site #content .s3i40 .s3i40-hero{grid-template-columns:1fr}body.site #content .s3i40 .s3i40-hero-photo{height:310px}body.site #content .s3i40 .s3i40-hero-photo img{min-height:310px}body.site #content .s3i40 .s3i40-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.site #content .s3i40 .s3i40-outcomes{grid-template-columns:1fr;gap:10px}body.site #content .s3i40 .s3i40-hero-copy{padding:30px}}
@media(max-width:650px){body.site #content .s3i40{font-size:15px}body.site #content .s3i40 .s3i40-hero{border-radius:12px}body.site #content .s3i40 .s3i40-hero h2{font-size:30px!important}body.site #content .s3i40 .s3i40-hero-copy{padding:25px 22px 24px}body.site #content .s3i40 .s3i40-hero-photo{height:215px}body.site #content .s3i40 .s3i40-hero-photo img{min-height:215px}body.site #content .s3i40 .s3i40-actions{display:grid;grid-template-columns:1fr}body.site #content .s3i40 .s3i40-highlights{grid-template-columns:1fr;margin-bottom:32px}body.site #content .s3i40 .s3i40-highlights p{padding:13px 20px}body.site #content .s3i40 .s3i40-highlights p+p{border-left:0;border-top:1px solid var(--i40-line)}body.site #content .s3i40 .s3i40-grid{grid-template-columns:1fr}body.site #content .s3i40 .s3i40-section{margin-bottom:29px}body.site #content .s3i40 .s3i40-process{padding:23px 18px;margin-bottom:32px}body.site #content .s3i40 .s3i40-flow{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}body.site #content .s3i40 .s3i40-flow-step{min-height:150px;padding:17px 14px}body.site #content .s3i40 .s3i40-flow-step:not(:last-child):after{display:none}body.site #content .s3i40 .s3i40-cta{flex-direction:column;align-items:stretch;padding:24px 20px}body.site #content .s3i40 .s3i40-cta>.s3i40-button{align-self:stretch}}
@media(max-width:385px){body.site #content .s3i40 .s3i40-flow{grid-template-columns:1fr}body.site #content .s3i40 .s3i40-hero h2{font-size:27px!important}}
@media(prefers-reduced-motion:reduce){body.site #content .s3i40 a{transition:none}}

/* BEGIN S3 INDUSTRIA 4.0 TITULAR CONTRASTE FIX V2 */
/* El contenido y el titular continúan siendo editables en Joomla. */
html body.site #content article.s3i40 section.s3i40-hero .s3i40-hero-copy > h2,
html body.site #content article.s3i40 section.s3i40-hero .s3i40-hero-copy > h2 *,
html body.site #content .s3i40 .s3i40-hero .s3i40-hero-copy h2,
html body.site #content .s3i40 .s3i40-hero .s3i40-hero-copy h2 * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
  text-shadow: none !important;
}
/* END S3 INDUSTRIA 4.0 TITULAR CONTRASTE FIX V2 */

/* BEGIN S3 INDUSTRIA40 FINAL EDICION JOOMLA V4 */
/* Corrección localizada y no editorial: título legible y encuadre centrado. */
html body.site #content .s3i40 .s3i40-hero {
  align-items: stretch !important;
}
html body.site #content .s3i40 .s3i40-hero > .s3i40-hero-copy > :is(h1,h2,h3,h4) {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}
html body.site #content .s3i40 .s3i40-hero > .s3i40-hero-copy > p:not(.s3i40-kicker) {
  color: #e5f0f5 !important;
  -webkit-text-fill-color: #e5f0f5 !important;
}
html body.site #content .s3i40 .s3i40-hero > figure.s3i40-hero-photo {
  position: relative !important;
  align-self: stretch !important;
  height: auto !important;
  min-height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body.site #content .s3i40 .s3i40-hero > figure.s3i40-hero-photo > img {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 47% center !important;
  transform: none !important;
  border: 0 !important;
  border-radius: 0 !important;
}
@media (max-width: 940px) {
  html body.site #content .s3i40 .s3i40-hero > figure.s3i40-hero-photo {
    height: 310px !important;
    min-height: 310px !important;
  }
}
@media (max-width: 650px) {
  html body.site #content .s3i40 .s3i40-hero > figure.s3i40-hero-photo {
    height: 240px !important;
    min-height: 240px !important;
  }
}
/* END S3 INDUSTRIA40 FINAL EDICION JOOMLA V4 */
