/* Desarrollo EG: sistema editorial de prevención y trabajo real. */
:root{--ink:#102d46;--deep:#102d46;--orange:#eb821b;--paper:#f0f4f4;--text:#172d3a;--muted:#536875;--line:#d5e0e2}
body{background:#fff;color:var(--text);font-family:'DM Sans',Arial,sans-serif}
.wrap{width:min(1240px,calc(100% - 80px))}
h1,h2,h3{font-family:Manrope,Arial,sans-serif;letter-spacing:-.025em;text-wrap:balance}
p{line-height:1.65}
.label{font-size:.72rem;letter-spacing:.1em;color:#a64700}
.label:before{width:20px;height:2px}
.button{min-height:50px;padding:15px 20px;letter-spacing:.015em;font-size:.85rem;border-radius:0;background:var(--orange);color:#132c41}
.button.secondary{border:1px solid #92a5ad;color:var(--ink)}
a:focus-visible,button:focus-visible{outline:3px solid #ec831e;outline-offset:4px}
.header{position:relative;top:auto;left:auto;right:auto;z-index:10;background:#fff;color:var(--ink);border-bottom:1px solid #dce5e7}
.header:has(+ main .page-hero){background:#fff}
.header .nav{min-height:90px;gap:24px}
.header .brand img{background:transparent;border-radius:0;width:58px;height:58px;object-fit:contain}
.header .brand-name{color:#102d46;font-size:14px;letter-spacing:.035em}
.header .brand-name small{color:#61727e}
.header .navlinks{gap:28px;align-items:center}
.header .navlinks a:not(.button){color:#203e51;font-size:.88rem}
.header .navlinks a[aria-current="page"]:not(.button){color:#102d46;text-decoration:underline;text-decoration-color:#e67d19;text-underline-offset:9px;text-decoration-thickness:2px}
.header .navlinks .button{color:#102d46;background:#ed8b22}
.hero{background:#102b42}
.hero-grid{min-height:660px;position:relative;display:block;isolation:isolate;background:#102b42}
.hero-photo{position:absolute;inset:0 0 0 auto;left:auto;width:64%;height:100%;min-height:0;z-index:-2}
.hero-slide img{object-fit:cover;object-position:center 30%}
.hero-slide:first-child img{object-position:center 20%}
.hero-grid:after{display:block;content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#102b42 0%,#102b42 32%,rgba(16,43,66,.89) 47%,rgba(16,43,66,.05) 100%)}
.hero-copy{position:relative;padding:130px 40px 130px max(40px,calc((100% - 1240px)/2));max-width:760px}
.hero .label{color:#ffd4a8}
.hero h1{font-size:clamp(3rem,2rem + 3.2vw,5rem);line-height:1.06;letter-spacing:-.04em;max-width:690px;color:white;margin:24px 0}
.hero-copy p{font-size:1.08rem;line-height:1.65;max-width:525px;color:#e8eff2}
.hero-copy .button.secondary{color:white;border-color:#b1c1c9}
.carousel-controls{bottom:28px;right:max(40px,calc((100% - 1240px)/2))}
.trust{background:#edf3f3;color:#153149;border-bottom:1px solid #d5e0e2}
.trust .wrap{display:grid;grid-template-columns:repeat(3,1fr)}
.trust-item,.trust-item:first-child{padding:25px 25px 25px 0;border-right:1px solid #d1dddf;border-bottom:0}
.trust-item:not(:first-child){padding-left:25px}
.trust-item:last-child{border:0}
.trust-item strong{font-size:1rem;color:#102d46}.trust-item span{font-size:.8rem;color:#516b76}
.section{padding:clamp(72px,7vw,112px) 0}
.section.gray{background:#f1f5f5}
.section-head{gap:40px;align-items:end;margin-bottom:42px}
.section-head h2,.section h2{font-size:clamp(2rem,1.4rem + 2.2vw,3.2rem);line-height:1.12;letter-spacing:-.035em;color:#102d46}
.section-head p{max-width:340px;color:#536875}
.services-layout{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr);gap:clamp(40px,6vw,88px);align-items:start}
.services-list{border-top:1px solid #b8cbd0}
.service-row{display:grid;grid-template-columns:40px minmax(0,1fr) 36px;gap:18px;align-items:start;color:#102d46;border-bottom:1px solid #c6d5d8;padding:25px 2px;text-decoration:none;transition:background-color .18s ease}
.service-number{font-size:.75rem;font-weight:700;letter-spacing:.08em;color:#a94d00;padding-top:5px}
.service-info{display:grid;gap:7px}
.service-info strong{font-family:Manrope,Arial,sans-serif;font-size:clamp(1.16rem,1rem + .5vw,1.5rem);line-height:1.25;letter-spacing:-.02em}
.service-info>span{font-size:.92rem;line-height:1.55;color:#506571;max-width:45ch}
.service-arrow{display:grid;place-items:center;width:34px;height:34px;border:1px solid #b7c9cf;font-size:1.05rem;transition:background-color .18s,color .18s}
.training-feature{background:#102d46;color:white}
.training-feature img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.training-feature>div{padding:26px 28px 30px}
.training-feature span{font-size:.68rem;letter-spacing:.1em;font-weight:700;color:#ffc284}
.training-feature p{font-family:Manrope,Arial,sans-serif;font-weight:700;font-size:1.45rem;line-height:1.2;margin:10px 0 16px}
.training-feature a{font-size:.87rem;font-weight:700;text-decoration:underline;text-underline-offset:5px;color:white}
.split{gap:clamp(38px,6vw,80px)}
.split img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.split p{max-width:55ch;color:#526874}
.process{border-top:1px solid #c5d5d9;gap:0}
.process>div,.process>div:not(:first-child){padding:28px 24px 0 0;border-right:1px solid #d7e1e2}
.process>div:not(:first-child){padding-left:24px}
.process>div:last-child{border:0}
.process b{color:#ad5100}.process h3{color:#102d46}
.clients{border:0;gap:1px;background:#dbe5e5;margin-top:36px}
.page-home .clients{grid-template-columns:repeat(6,minmax(0,1fr))}
.clients div{background:#fff;border:0;min-height:110px;height:auto;padding:16px}
.clients img{max-width:100%;max-height:76px;object-fit:contain}
.clients-link{display:inline-block;margin-top:24px;font-weight:700;color:#173e59;text-decoration:underline;text-underline-offset:5px}
.page-hero{background:#102d46;color:#fff;padding:76px 0 82px;border:0}
.page-hero .crumb{color:#ffd0a2;margin-bottom:28px}
.page-hero .label{color:#ffd0a2}
.page-hero h1{font-size:clamp(2.5rem,1.7rem + 2.8vw,4.4rem);line-height:1.08;color:#fff;max-width:900px;letter-spacing:-.035em}
.page-hero p{color:#dce8ed;font-size:1.05rem;max-width:64ch;margin-top:20px}
.page-hero .service-hero-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(220px,.38fr);align-items:end;gap:56px}
.service-hero-summary{border-top:1px solid #98aebb;padding-top:20px;color:#e8f0f3}
.service-hero-summary span{display:block;font-size:.7rem;letter-spacing:.1em;font-weight:700;color:#ffd0a2}
.service-hero-summary p{font-size:1.08rem;font-weight:700;line-height:1.4;margin:10px 0 20px}
.service-hero-summary a{font-size:.85rem;font-weight:700;color:white;text-decoration:underline;text-underline-offset:5px}
.detail{gap:clamp(38px,6vw,78px)}
.detail h2{font-size:clamp(1.8rem,1.3rem + 1.6vw,2.6rem);line-height:1.15}
.detail aside,.quote-aside{background:#eef4f4;padding:32px}
.detail aside h3{margin-top:4px}
.feature{border-color:#d5e2e3;padding:22px 0}
.feature b{color:#a94d00}
.service-context{padding:76px 0;background:#eaf1f1}
.service-context-inner{border:0;padding-left:0}
.related-service{border-color:#bdced1}
.quote-form input,.quote-form select,.quote-form textarea{background:#fff;border:1px solid #9aaeb5;border-radius:0}
.quote-form label{font-size:.86rem}
.real-stories-grid{gap:32px 24px}
.real-stories figure img{aspect-ratio:4/3;object-fit:cover}
.real-stories figcaption{font-weight:600;color:#325060;font-size:.88rem}
.autoridades{background:#f1f5f5}
.cta{background:#e9811a;color:#102d46;padding:58px 0}
.cta h2{color:#102d46;font-size:clamp(1.8rem,1.35rem + 1.5vw,2.8rem);max-width:700px}
.cta p{color:#203d4c}
.cta .button{background:#102d46;color:#fff}
.new-footer{background:#10293d;padding:76px 0 28px}
.new-footer .brand-name{color:white}.new-footer .brand-name small{color:#c3d1d7}
.footer-main{gap:40px}
.new-footer h2{font-size:.8rem;letter-spacing:.05em}
.new-footer a{font-size:.86rem}
.new-footer .footer-bottom{margin-top:48px;padding-top:22px;border-top:1px solid #ffffff30}
@media(hover:hover) and (pointer:fine){.service-row:hover{background:#f0f5f5}.service-row:hover .service-arrow{background:#102d46;color:#fff}.button:hover{box-shadow:none}}
@media(max-width:950px){.header .navlinks{gap:15px}.header .navlinks a:not(.button){font-size:.8rem}}
@media(max-width:800px){
 .wrap{width:calc(100% - 40px)}
 .header .nav{min-height:76px;flex-wrap:wrap;padding:12px 0}
 .header .brand img{width:48px;height:48px}
 .header .menu{display:none;margin-left:auto;color:#102d46;background:#fff;border:1px solid #a6b7bd;min-height:44px;padding:8px 14px}
 .js-menu .header .menu{display:block}
 .header .navlinks{position:static;width:100%;display:flex;flex-wrap:wrap;gap:14px;background:#fff;color:#102d46;padding:12px 0}
 .js-menu .header .navlinks:not(.open){display:none}
 .js-menu .header .navlinks.open{display:flex}
 .header .navlinks a:not(.button){color:#102d46;font-size:.95rem}
 .hero-grid{display:flex;flex-direction:column;min-height:0}
 .hero-copy{padding:68px 20px 38px;max-width:none;background:#102b42}
 .hero h1{font-size:clamp(2.65rem,1.9rem + 3vw,3.4rem)}
 .hero-copy p{font-size:1rem}
 .hero-photo{position:relative;inset:auto;left:auto;z-index:0;width:100%;height:auto;min-height:0;aspect-ratio:4/3}
 .hero-grid:after{display:none}
 .carousel-controls{right:14px;bottom:14px}
 .trust .wrap{grid-template-columns:1fr;gap:0}
 .trust-item,.trust-item:first-child,.trust-item:not(:first-child){padding:15px 0;border-right:0;border-bottom:1px solid #d1dddf}
 .trust-item:last-child{border:0}
 .section{padding:68px 0}
 .section-head{display:block}.section-head p{margin-top:18px}
 .services-layout{grid-template-columns:1fr;gap:40px}
 .service-row{grid-template-columns:32px minmax(0,1fr) 34px;gap:10px;padding:22px 0}
 .split,.detail{gap:35px}
 .process{grid-template-columns:1fr 1fr;gap:0}
 .process>div,.process>div:not(:first-child){padding:20px 15px 16px 0;border:0}
 .page-hero{padding:55px 0 62px}
 .page-hero h1{font-size:clamp(2.35rem,1.8rem + 2.8vw,3.2rem)}
 .page-hero .service-hero-layout{grid-template-columns:1fr;gap:36px}
 .footer-main{grid-template-columns:1fr 1fr}
 .page-home .clients{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:480px){.footer-main{grid-template-columns:1fr}.clients,.page-home .clients{grid-template-columns:repeat(2,1fr)}.cta .wrap{align-items:flex-start}.hero-copy .actions{gap:10px}}
@media(max-width:360px){.carousel-count{display:none}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}}
