*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,Arial,sans-serif;background:#04172c;color:#061d3b}.sbep-services{background:#fff}.services-inner{max-width:1440px;margin:auto;padding:44px clamp(18px,4vw,64px) 32px}.services-header{display:flex;justify-content:space-between;align-items:flex-end;gap:18px;margin-bottom:23px}.eyebrow{color:#123d78;font-size:12px;font-weight:800;letter-spacing:.26em;margin:0 0 9px}.services-header h2{font-size:clamp(22px,2.4vw,34px);font-weight:750;letter-spacing:-.035em;line-height:1.15;margin:0;max-width:900px}.service-count{font-size:11px;letter-spacing:.12em;font-weight:800;white-space:nowrap;color:#b47e00;border:1px solid #e7cf8e;padding:11px 14px}.services-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}.service-card{display:block;overflow:hidden;border-radius:5px;background:#061c36;box-shadow:0 8px 24px #001a3620;outline-offset:4px;transition:transform .2s,box-shadow .2s}.service-card img{display:block;width:100%;height:auto;aspect-ratio:1.31;object-fit:fill}.service-card:hover,.service-card:focus-visible{transform:translateY(-5px);box-shadow:0 16px 34px #001a3633}.experience-banner{display:block;background:#03162b;overflow:hidden}.experience-banner img{display:block;width:100%;height:auto}.service-dialog{border:0;border-radius:13px;padding:0;max-width:min(760px,calc(100% - 32px));width:100%;box-shadow:0 30px 90px #0007;color:#071f3c}.service-dialog::backdrop{background:#031020bb;backdrop-filter:blur(4px)}.dialog-layout{display:grid;grid-template-columns:45% 55%;align-items:center}.dialog-layout img{width:100%;height:100%;object-fit:cover}.dialog-layout>div{padding:32px}.dialog-layout h2{font-size:clamp(22px,3vw,32px);margin:0 0 16px}.dialog-layout p:not(.eyebrow){line-height:1.65}.close{position:absolute;right:12px;top:9px;border:0;background:#ffcb38;color:#081e37;font-size:28px;width:38px;height:38px;cursor:pointer;border-radius:6px}.dialog-action{display:inline-block;background:#ffc52b;padding:12px 18px;color:#071c35;text-decoration:none;font-weight:800;border-radius:5px;margin-top:14px}@media(max-width:750px){.services-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.services-header{align-items:flex-start;flex-direction:column}.services-inner{padding:30px 14px 24px}.dialog-layout{grid-template-columns:1fr}.dialog-layout img{max-height:250px;object-fit:cover}.dialog-layout>div{padding:22px}}@media(max-width:440px){.services-grid{grid-template-columns:1fr}.service-card img{aspect-ratio:auto}.service-count{display:none}}
.corporate-about{background:#03172d;color:#f8fbff}.about-intro{position:relative;padding:clamp(38px,5vw,76px) clamp(22px,6vw,100px);background:linear-gradient(90deg,#04182ff5 0%,#04182fee 48%,#04182f80 100%),url('assets/hero-industria.jpg') center/cover;min-height:320px}.about-intro>*{max-width:850px}.about-intro .eyebrow{color:#ffcb37}.about-intro h2{font-size:clamp(29px,4vw,54px);line-height:1.08;margin:8px 0 24px;letter-spacing:-.03em}.about-intro p:not(.eyebrow){font-size:clamp(15px,1.35vw,18px);line-height:1.72;color:#e3eaf5}.about-stat{margin-top:25px;display:flex;align-items:center;gap:18px}.about-stat strong{font-size:40px;color:#ffca34}.about-stat span{font-size:12px;letter-spacing:.16em;font-weight:800}.about-values{max-width:1440px;margin:auto;padding:40px clamp(22px,5vw,75px) 55px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.about-values article{padding:clamp(24px,3vw,38px);border:1px solid #36506d;background:#0a2443;border-top:3px solid #ffcb38}.about-values h3{font-size:28px;margin:10px 0}.about-values p{line-height:1.8;color:#e1e9f4;margin:0}.value-icon{font-size:29px;color:#ffcb38}@media(max-width:750px){.about-values{grid-template-columns:1fr;padding:22px 15px 35px}.about-intro{padding:38px 22px}}

:root{--gold:#ffcb39;--navy:#061b35}body{overflow-x:hidden}section{scroll-margin-top:85px}.site-header{position:sticky;top:0;z-index:90;background:#04182ff4;border-bottom:1px solid #ffffff22;backdrop-filter:blur(14px)}.header-inner{max-width:1550px;margin:auto;display:flex;align-items:center;gap:22px;min-height:93px;padding:8px clamp(16px,3vw,45px)}.brand{display:block;flex:0 0 clamp(185px,22vw,310px);height:74px;overflow:hidden}.brand img{height:100%;width:100%;object-fit:contain}.main-nav{display:flex;align-items:center;justify-content:center;gap:clamp(10px,1.25vw,22px);flex:1}.main-nav a{color:#eaf0fa;text-decoration:none;font-weight:700;font-size:clamp(11px,.87vw,14px);white-space:nowrap}.main-nav a:hover,.main-nav a:focus-visible{color:var(--gold)}.nav-cta{background:var(--gold);color:#07182a;text-decoration:none;font-size:12px;font-weight:850;padding:15px 18px;border-radius:5px;white-space:nowrap}.menu-toggle{display:none}.hero{min-height:min(740px,78vw);position:relative;display:flex;align-items:center;background:linear-gradient(90deg,#03142ff2 0%,#03142fe6 33%,#03142f66 65%,#03142f22 100%),url('assets/hero-industria.jpg') 75% center/cover;color:#fff}.hero:before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#03142f9e,transparent 28%);pointer-events:none}.hero-content{position:relative;max-width:1540px;width:100%;margin:auto;padding:65px clamp(22px,5.2vw,85px) 88px}.kicker{display:flex;align-items:center;gap:14px;letter-spacing:.27em;font-size:clamp(10px,1.1vw,14px);color:#edf4ff}.kicker span{display:block;background:var(--gold);width:42px;height:4px}.hero h1{font-size:clamp(42px,6.3vw,99px);font-weight:900;line-height:.98;letter-spacing:-.045em;margin:30px 0 22px;max-width:850px}.hero h1 em{font-style:normal;color:var(--gold)}.hero-content>p{font-size:clamp(16px,1.55vw,21px);line-height:1.5;max-width:570px;color:#f2f5fb}.hero-actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.btn{display:inline-flex;justify-content:center;align-items:center;gap:20px;padding:16px 23px;border-radius:5px;text-decoration:none;font-size:13px;font-weight:900;text-transform:uppercase;transition:transform .2s}.btn:hover{transform:translateY(-3px)}.btn-gold{background:var(--gold);color:#07192d}.btn-ghost{color:white;border:1px solid #ffffffbd;background:#061a2d65}.btn-dark{background:#071d3a;color:#fff}.hero-credit{position:absolute;right:16px;bottom:15px;font-size:9px;letter-spacing:.1em;color:#e8eef4a9}.pillars{display:grid;grid-template-columns:repeat(4,1fr);padding:27px max(20px,calc((100vw - 1380px)/2));background:#03162b;color:white}.pillars>div{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:9px 15px;border-right:1px solid #b7c5d555}.pillars>div:last-child{border:0}.pillars b{font-size:30px;color:var(--gold)}.pillars strong{font-size:13px}.pillars span{font-size:12px;color:#dce4ee}.sectors{background:linear-gradient(105deg,#061b35ef,#061b35d9),url('assets/hero-industria.jpg') center/cover;color:white;padding:65px 22px}.sectors-inner{max-width:1330px;margin:auto}.sectors .eyebrow,.contact .eyebrow{color:var(--gold)}.sectors h2,.documents h2,.contact h2{font-size:clamp(28px,3.5vw,45px);margin:9px 0 26px}.sectors-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.sectors-grid div{border:1px solid #e7ecf044;padding:24px 20px;display:flex;flex-direction:column;gap:12px;background:#071e38b3}.sectors-grid span{color:var(--gold);font-size:14px;font-weight:900}.sectors-grid strong{font-size:20px}.documents,.contact{padding:58px clamp(22px,6vw,95px);display:flex;justify-content:space-between;align-items:center;gap:32px}.documents{background:#f1f5fa;color:#061b35}.documents>div:first-child,.contact>div:first-child{max-width:780px}.documents p:not(.eyebrow),.contact p:not(.eyebrow){line-height:1.65}.document-actions{display:flex;gap:12px;flex-wrap:wrap}.contact{background:#082548;color:#fff}.contact-note{font-size:12px;color:#c2d1e1}.contact>.btn{flex-shrink:0}footer{background:#021123;display:flex;align-items:center;justify-content:space-between;gap:22px;padding:16px clamp(20px,4vw,55px);color:#cbd7e6;font-size:12px}footer img{width:185px;height:70px;object-fit:contain}footer a{color:var(--gold);text-decoration:none}@media(max-width:1100px){.header-inner{flex-wrap:wrap}.menu-toggle{display:block;margin-left:auto;background:transparent;border:1px solid #8095ae;color:white;padding:9px 13px;font-size:21px;cursor:pointer}.main-nav{display:none;order:4;flex-basis:100%;flex-direction:column;align-items:stretch;gap:0}.main-nav.open{display:flex}.main-nav a{padding:13px 6px;font-size:15px;border-top:1px solid #ffffff20}.nav-cta{display:none}.hero{min-height:630px}}@media(max-width:720px){.hero{min-height:610px;background-position:62% center}.hero-content{padding:65px 22px}.hero h1{font-size:clamp(43px,10vw,70px)}.pillars{grid-template-columns:repeat(2,1fr)}.pillars>div:nth-child(2){border:0}.pillars>div{border-bottom:1px solid #b7c5d533}.sectors-grid{grid-template-columns:repeat(2,1fr)}.documents,.contact{flex-direction:column;align-items:stretch}.document-actions{flex-direction:column}.document-actions a{text-align:center}footer{flex-wrap:wrap}.brand{flex-basis:240px}}

/* V9: el hero es el archivo gráfico exacto aportado por el cliente.
   No se reconstruye ni se modifica el logotipo EP. */
@media(min-width:1101px){.site-header{display:none}}
.hero-reference{position:relative;width:100%;background:#03152d;line-height:0}
.hero-reference>img{display:block;width:100%;height:auto}
.hero-hotspots{position:absolute;inset:0;pointer-events:none}
.hs{position:absolute;display:block;pointer-events:auto;outline-offset:2px}
.hs:focus-visible{outline:3px solid #ffd13f;background:#ffd13f33}
.hs-inicio{left:34.8%;top:5.2%;width:4.3%;height:7.5%}
.hs-nosotros{left:39.4%;top:5.2%;width:5.9%;height:7.5%}
.hs-servicios{left:45.4%;top:5.2%;width:6%;height:7.5%}
.hs-sectores{left:51.5%;top:5.2%;width:6%;height:7.5%}
.hs-proyectos{left:57.7%;top:5.2%;width:6%;height:7.5%}
.hs-documentos{left:63.8%;top:5.2%;width:8.3%;height:7.5%}
.hs-contacto{left:72.3%;top:5.2%;width:6.5%;height:7.5%}
.hs-cotizacion{left:80.4%;top:4.4%;width:16%;height:8%}
.hs-servicios-btn{left:4.4%;top:68.8%;width:22%;height:9%}
.hs-video-btn{left:27.1%;top:68.8%;width:16.5%;height:9%}
.mobile-hero-actions{display:none}
@media(max-width:1100px){
.site-header{display:block}
.hero-reference{overflow:hidden}
.hero-reference>img{width:100%;height:auto}
.hero-hotspots{display:none}
.mobile-hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;background:#061b35;padding:17px}
.mobile-hero-actions .btn{font-size:12px}
}
@media(max-width:600px){
.hero-reference>img{width:100%;height:auto}
.mobile-hero-actions .btn{flex:1 1 140px}
}

/* V10: photographic service cards with accessible sharp HTML typography */
.service-card-v10{position:relative;min-height:345px;aspect-ratio:1.31;isolation:isolate;border:1px solid #e1e8f1;display:block;text-decoration:none;color:#fff;overflow:hidden}
.service-card-v10 img{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;object-fit:cover;object-position:center;transition:transform .45s ease}
.service-card-v10:hover img,.service-card-v10:focus-visible img{transform:scale(1.045)}
.service-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,transparent 24%,#03142a7d 48%,#03142af5 76%,#03142aff 100%);z-index:1}
.service-card-content{position:absolute;inset:0;z-index:2;padding:clamp(18px,2.1vw,28px);display:flex;flex-direction:column;justify-content:flex-end;align-items:flex-start;gap:7px}
.service-card-num{font-size:clamp(28px,3vw,43px);line-height:1;color:#ffcc32;font-weight:900;text-shadow:0 1px 5px #03142b}
.service-card-title{font-size:clamp(16px,1.4vw,22px);line-height:1.08;font-weight:900;max-width:calc(100% - 52px)}
.service-card-desc{font-size:clamp(12px,1.06vw,15px);line-height:1.38;color:#f4f7fc;max-width:calc(100% - 45px)}
.service-card-arrow{position:absolute;right:17px;bottom:36px;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border:2px solid #ffcb36;border-radius:50%;color:#ffcb36;font-size:25px;line-height:1}
.brand{display:flex;align-items:center;justify-content:center;overflow:visible}.brand img{object-fit:contain;object-position:center;max-height:100%;width:100%}
footer img{object-fit:contain}
@media(max-width:750px){.service-card-v10{min-height:320px;aspect-ratio:1.05}.service-card-title{font-size:17px}.service-card-desc{font-size:12px}}
@media(max-width:440px){.service-card-v10{min-height:360px;aspect-ratio:1.25}.service-card-title{font-size:20px}.service-card-desc{font-size:14px}.service-card-content{padding:22px}}


/* V11 — Corrección de ventanas de servicios en teléfonos.
   Evita el ancho mínimo implícito del grid y centra el diálogo en el viewport. */
.service-dialog {
  position: fixed;
  inset: 0;
  margin: auto;
  padding: 0;
  width: min(760px, calc(100vw - 32px));
  max-width: calc(100vw - 32px);
  max-height: min(88vh, 88dvh);
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-sizing: border-box;
}
.service-dialog:not([open]) { display: none; }
.service-dialog .dialog-layout { width:100%; min-width:0; grid-template-columns: minmax(0,45%) minmax(0,55%); }
.service-dialog .dialog-layout > * { min-width:0; max-width:100%; }
.service-dialog .dialog-layout > div { overflow-wrap:anywhere; }
.service-dialog .dialog-layout img { display:block; max-width:100%; }
.service-dialog .dialog-action { max-width:100%; white-space:normal; overflow-wrap:break-word; }
.service-dialog .close { position:sticky; top:10px; float:right; z-index:5; margin:10px 10px -48px 0; flex-shrink:0; }
@media (max-width:750px) {
  .service-dialog { width:calc(100vw - 28px); max-width:calc(100vw - 28px); max-height:calc(100dvh - 36px); border-radius:14px; }
  .service-dialog .dialog-layout { display:grid; grid-template-columns:minmax(0,1fr); width:100%; }
  .service-dialog .dialog-layout img { width:100%; height:clamp(175px,38dvh,285px); max-height:none; object-fit:cover; object-position:center; }
  .service-dialog .dialog-layout > div { padding:22px 20px 25px; width:100%; min-width:0; }
  .service-dialog .dialog-layout h2 { font-size:clamp(22px,6vw,29px); line-height:1.15; }
  .service-dialog .dialog-layout p { font-size:15px; line-height:1.55; }
  .service-dialog .dialog-action { display:inline-flex; align-items:center; font-size:14px; }
}
@media (max-width:360px) {
  .service-dialog { width:calc(100vw - 18px); max-width:calc(100vw - 18px); }
  .service-dialog .dialog-layout > div { padding:18px 16px 22px; }
}

/* V12 — mobile width containment: no horizontal overflow from service cards */
html,body{width:100%;max-width:100%;overflow-x:clip}
.hero-reference,.hero-reference>img,.site-header,.mobile-hero-actions,.pillars,.sbep-services,.services-inner,.services-grid,.corporate-about,.about-values,.sectors,.documents,.contact,footer{max-width:100%;min-width:0}
.services-grid{width:100%}
.services-grid>*{min-width:0;max-width:100%;width:100%}
.service-card-v10{min-width:0;width:100%;max-width:100%;}
.service-card-v10 .service-card-content{min-width:0;width:100%;max-width:100%;}
.service-card-v10 .service-card-title,.service-card-v10 .service-card-desc{overflow-wrap:break-word;min-width:0}
@media(max-width:600px){
  .header-inner{width:100%;min-width:0;flex-wrap:nowrap;padding:8px 16px;gap:10px}
  .brand{flex:1 1 auto;min-width:0;max-width:260px;height:72px}
  .menu-toggle{flex:0 0 auto}
  .main-nav.open{position:absolute;top:100%;left:0;right:0;background:#04182f;padding:10px 18px 18px;max-height:calc(100dvh - 80px);overflow-y:auto;box-shadow:0 16px 30px #0005}
  .hero-reference{width:100%;max-width:100%;overflow:hidden}
  .hero-reference>img{display:block;width:100%;max-width:100%;height:auto}
  .mobile-hero-actions{width:100%;padding:16px;gap:10px}
  .mobile-hero-actions .btn{min-width:0;flex:1 1 calc(50% - 10px);padding:14px 10px;font-size:11px;gap:5px}
  .pillars{width:100%;padding:20px 12px}
  .pillars>div{min-width:0;padding:12px 7px}
  .services-inner{width:100%;padding:30px 16px 24px}
  .services-header{width:100%}
  .services-header h2{max-width:100%;overflow-wrap:break-word}
  .services-grid{display:grid;grid-template-columns:minmax(0,1fr);gap:16px;width:100%}
  .service-card-v10{display:block;aspect-ratio:1.17;min-height:320px;max-height:470px}
  .service-card-v10 img{width:100%;height:100%;object-fit:cover}
  .service-card-v10 .service-card-content{padding:20px}
  .service-card-v10 .service-card-title{max-width:calc(100% - 44px);font-size:clamp(17px,5vw,22px)}
  .service-card-v10 .service-card-desc{max-width:calc(100% - 44px);font-size:clamp(13px,3.5vw,15px)}
  .service-card-arrow{right:13px;bottom:25px}
  .service-dialog{box-sizing:border-box;max-width:calc(100vw - 24px);width:calc(100vw - 24px);margin:auto;left:0;right:0}
}

/* V13: se elimina la franja HTML duplicada; el hero original ya contiene los cuatro valores. */
.anchor-target{display:block;height:0;scroll-margin-top:90px}
