/* IDEM v6.1: capa visual. No altera copy ni flujo de diagnóstico. */
html {scroll-padding-top:0;}
html[lang] body .section-shell{max-width:1440px;width:100%;min-width:0;box-sizing:border-box;}
html[lang] body section[id],html[lang] body #top{scroll-margin-top:var(--idem-anchor-offset,80px)!important;}
html[lang] body .topbar{height:64px!important;min-height:64px!important;gap:12px;padding-inline:clamp(14px,3vw,44px)!important;}
html[lang] body .brand{min-width:0;gap:9px;}
.idem-brand-image{display:block;width:132px;height:43px;object-fit:contain;flex:none;}
.footer .idem-brand-image{width:98px;height:32px;background:#F5F2EB;border-radius:3px;padding:3px;}
html[lang] body .hero{display:grid!important;grid-template-columns:minmax(0,42%) minmax(0,58%)!important;height:auto!important;min-height:clamp(320px,28vw,410px)!important;overflow:hidden!important;background:#F5F2EB!important;isolation:isolate;}
html[lang] body .hero-copy{padding:30px 10px 30px clamp(24px,4vw,56px)!important;height:auto!important;min-width:0;align-self:stretch;justify-content:center;display:flex;flex-direction:column;z-index:3;position:relative;}
html[lang] body .hero-copy:after{display:block;position:absolute;inset:0 auto 0 calc(100% - 1px)!important;width:clamp(48px,7vw,105px)!important;height:100%!important;transform:none!important;background:#F5F2EB!important;clip-path:polygon(0 0,0 100%,100% 100%);pointer-events:none;z-index:-1;}
html[lang] body .hero h1{white-space:normal!important;width:auto!important;max-width:100%!important;font:600 clamp(32px,3vw,48px)/.98 Newsreader,Georgia,serif!important;letter-spacing:-.035em!important;overflow-wrap:normal;}
html[lang] body .hero-lead{width:auto!important;max-width:100%!important;font-size:clamp(13px,1.15vw,17px)!important;line-height:1.3!important;margin:12px 0 16px!important;}
html[lang] body .hero .cta-row{flex-wrap:wrap!important;gap:8px;}
html[lang] body .hero-visual{min-height:100%!important;height:100%!important;background: center/cover no-repeat url('/assets/VIS-02.webp')!important;background-image:image-set(url('/assets/VIS-02-1280w.webp') 1x,url('/assets/VIS-02.webp') 2x)!important;}
html[lang] body .goal-card{height:auto!important;min-height:104px!important;min-width:0;padding:8px 5px!important;font-size:clamp(12px,1vw,15px)!important;line-height:1.15!important;}
.goal-icon .symbol{width:31px;height:31px;display:block;flex:none;}
html[lang] body .goal-recommendation .rec-media{min-width:0;}
html[lang] body .rec-media img{width:100%;height:auto!important;aspect-ratio:2/1;object-fit:cover;min-height:0!important;max-height:none!important;}
html[lang] body .service-thumbnail{background-position:center!important;background-size:cover!important;}
html[lang] body .service-thumbnail.one{background-image:url('/assets/VIS-06-480w.webp')!important;}
html[lang] body .service-thumbnail.two{background-image:url('/assets/VIS-07-480w.webp')!important;}
html[lang] body .service-thumbnail.three{background-image:url('/assets/VIS-08-480w.webp')!important;}
html[lang] body .service-thumbnail.four{background-image:url('/assets/VIS-09-480w.webp')!important;}
html[lang] body .service-thumbnail.five{background-image:url('/assets/VIS-10-480w.webp')!important;}
/* VIS-12/13: texto vivo; los dos SVG aprobados se apilan sobre el relieve. */
html[lang] body .journey-wrap{background:none!important;position:relative;isolation:isolate;width:100%;min-width:0;min-height:210px!important;height:auto!important;padding:0!important;overflow:hidden!important;}
html[lang] body .journey-wrap:after{display:none!important;content:none!important;}
html[lang] body .journey-wave{display:none!important;}
html[lang] body .mountain-terrain{display:block!important;position:absolute;inset:auto 0 0!important;width:100%!important;height:45%!important;background:url('/assets/VIS-12.webp') center bottom/100% auto no-repeat!important;background-image:image-set(url('/assets/VIS-12-1280w.webp') 1x,url('/assets/VIS-12.webp') 2x)!important;z-index:0;opacity:1!important;}
.idem-curves,.idem-route{position:absolute;inset:0;width:100%;height:100%;object-fit:fill;pointer-events:none;z-index:1;}
.mountain-terrain{mask-image:linear-gradient(to right,transparent,#000 5%,#000 92%,transparent),linear-gradient(to bottom,transparent,#000 33%);mask-composite:intersect;}
html[lang] body .journey-cards{position:absolute!important;inset:32% 0 0!important;height:auto!important;display:block!important;z-index:2;}
html[lang] body .journey-cards button{position:absolute;top:0;width:17.6%;height:auto!important;min-height:0!important;padding:0 2px!important;opacity:1!important;transform:translateX(-50%)!important;display:block;text-align:center;background:transparent;}
html[lang] body .journey-cards button:nth-child(1){left:17.3246%}html[lang] body .journey-cards button:nth-child(2){left:35.0877%}html[lang] body .journey-cards button:nth-child(3){left:53.1798%}html[lang] body .journey-cards button:nth-child(4){left:70.8333%}html[lang] body .journey-cards button:nth-child(5){left:87.6096%}
html[lang] body .journey-cards .service-icon{display:none!important;}
html[lang] body .journey-cards h3{font:600 clamp(18px,1.8vw,28px)/1 Newsreader,Georgia,serif!important;margin:0 0 5px!important;}
html[lang] body .journey-cards p{font-size:clamp(11px,.98vw,14px)!important;line-height:1.15!important;}
/* VIS-14–17: tamaños ópticos, ninguna deformación. */
html[lang] body .experience-main{height:auto!important;min-height:0!important;}
html[lang] body .experience-grid{min-width:0;align-items:stretch;}
html[lang] body .evidence-card{min-width:0;}
html[lang] body .logo-row,html[lang] body .wordmark.tif{height:76px!important;min-height:76px!important;align-items:center;justify-content:flex-start;}
html[lang] body .logo-row img{object-fit:contain!important;mix-blend-mode:normal!important;max-width:100%;}
html[lang] body .celulas-card .logo-row img{width:45px!important;height:45px!important;flex:none;}
html[lang] body .logo-row img.logo-concamin{width:112px!important;height:64px!important;clip-path:none;transform:none;margin:0;}
html[lang] body .logo-row img.logo-coppel{width:132px!important;height:43px!important;}
html[lang] body .wordmark.tif .idem-tif{display:block;width:min(100%,145px);height:auto;max-height:62px;object-fit:contain;background:#263537;border-radius:4px;padding:6px 8px;}
/* VIS-18/19: fotografía editorial aprobada y texto del código original. */
html[lang] body .case-card{height:auto!important;min-height:156px!important;display:flex!important;position:relative;isolation:isolate;justify-content:center!important;align-items:flex-start!important;padding:18px 14px!important;background-position:center!important;background-size:cover!important;overflow:hidden;}
html[lang] body .case-card.dark{background-image:image-set(url('/assets/VIS-18-960w.webp') 1x,url('/assets/VIS-18.webp') 2x)!important;}
html[lang] body .case-card.sand{background-image:image-set(url('/assets/VIS-19-960w.webp') 1x,url('/assets/VIS-19.webp') 2x)!important;}
html[lang] body .case-card:before{display:block!important;content:''!important;position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.13) 62%,transparent)!important;}
html[lang] body .case-card>div,html[lang] body .case-card>.case-arrow{opacity:1!important;}
html[lang] body .case-card>div{max-width:67%;min-width:0;}
html[lang] body .case-card .case-kicker{display:none!important;}
html[lang] body .case-card h3{font:600 clamp(22px,2.2vw,30px)/1 Newsreader,Georgia,serif!important;margin:0 0 6px!important;}
html[lang] body .case-card p{font-size:clamp(11px,.95vw,14px)!important;line-height:1.2!important;}
html[lang] body .case-arrow{position:absolute;bottom:12px;right:12px;}
/* VIS-20: estaciones independientes debajo de los seis rótulos. */
html[lang] body .process-track{background:none!important;position:relative;min-width:0;min-height:210px!important;height:auto!important;display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:0!important;padding:12px 0 75px!important;overflow:visible!important;}
html[lang] body .process-track:after{display:none!important;content:none!important;}
html[lang] body .process-terrain{display:block!important;position:absolute;inset:auto 0 0!important;width:100%!important;height:70px!important;background:url('/assets/VIS-20.webp') center bottom/100% 100% no-repeat!important;background-image:image-set(url('/assets/VIS-20-1280w.webp') 1x,url('/assets/VIS-20.webp') 2x)!important;opacity:1!important;}
html[lang] body .process-track article{opacity:1!important;height:auto!important;min-height:0!important;padding:38px 3px 5px!important;position:relative;}
html[lang] body .process-track b{top:0!important;left:calc(50% - 14px)!important;}
html[lang] body .process-line{display:block!important;top:25px!important;}
html[lang] body .process-track h3{font-size:clamp(12px,1vw,15px)!important;line-height:1.1!important;}
html[lang] body .process-track p{font-size:clamp(11px,.9vw,13px)!important;line-height:1.2!important;}
/* VIS-21/22: no filtros, bordes ni ornamentos sobre la persona. */
html[lang] body .portrait-wrap{position:relative!important;isolation:isolate;overflow:hidden;background:transparent!important;border-radius:0!important;height:230px!important;min-height:230px!important;}
html[lang] body .portrait-wrap:after,html[lang] body .portrait-orbit:after{display:none!important;content:none!important;}
html[lang] body .portrait-topography{display:none!important;}
html[lang] body .portrait-orbit{inset:0!important;z-index:0!important;border-radius:0!important;background:url('/assets/VIS-22-768w.webp') center bottom/contain no-repeat!important;}
html[lang] body .portrait-wrap img{position:relative!important;z-index:2!important;width:100%!important;max-width:200px!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;clip-path:none!important;filter:none!important;border:0!important;margin:0 auto!important;}
/* VIS-23: paisaje visible y controles HTML. */
html[lang] body .final-cta{background:linear-gradient(90deg,rgba(4,44,36,.78),rgba(4,44,36,.58) 60%,transparent),url('/assets/VIS-23.webp') center/cover no-repeat,#073d33!important;background-image:linear-gradient(90deg,rgba(4,44,36,.78),rgba(4,44,36,.58) 60%,transparent),image-set(url('/assets/VIS-23-1280w.webp') 1x,url('/assets/VIS-23.webp') 2x)!important;height:auto!important;min-height:145px!important;}
html[lang] body .final-cta>.cta-row{flex-wrap:wrap!important;}
@media(max-width:1100px){html[lang] body .topbar .brand-tag{display:none!important;}html[lang] body .hero-visual{background-image:image-set(url('/assets/VIS-02-768w.webp') 1x,url('/assets/VIS-02-1280w.webp') 2x)!important;}}
@media(max-width:850px){
html[lang] body .topbar{height:60px!important;min-height:60px!important;}
html[lang] body .topbar .nav{top:60px!important;}
html[lang] body .hero{display:flex!important;flex-direction:column!important;min-height:0!important;}
html[lang] body .hero-copy{padding:24px 20px 18px!important;}
html[lang] body .hero-copy:after{display:none!important;}
html[lang] body .hero h1{font-size:clamp(34px,6.2vw,52px)!important;}
html[lang] body .hero-visual{height:clamp(165px,32vw,260px)!important;min-height:0!important;order:2;}
html[lang] body .final-cta{background-image:linear-gradient(90deg,rgba(4,44,36,.76),rgba(4,44,36,.58) 70%,rgba(4,44,36,.38)),image-set(url('/assets/VIS-23-768w.webp') 1x,url('/assets/VIS-23-1280w.webp') 2x)!important;}
html[lang] body .goal-recommendation{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;}
html[lang] body .experience-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
html[lang] body .process-track{grid-template-columns:repeat(3,minmax(0,1fr))!important;padding-bottom:10px!important;}
html[lang] body .process-terrain,html[lang] body .process-line{display:none!important;}
html[lang] body .portrait-wrap{height:185px!important;min-height:185px!important;}
html[lang] body .journey-cards p{overflow-wrap:anywhere;}
}
@media(max-width:620px){
.idem-brand-image{width:104px;height:34px;}
html[lang] body .goal-card{min-height:52px!important;display:grid;grid-template-columns:30px minmax(0,1fr) 18px!important;text-align:left;}
.service-tile h3,.service-tile p{text-align:left;}
html[lang] body .hero-visual{background-image:image-set(url('/assets/VIS-02-768w.webp') 1x,url('/assets/VIS-02-1280w.webp') 2x)!important;}
.goal-icon .symbol{width:24px;height:24px;}
html[lang] body .goal-recommendation:not([hidden]){display:flex!important;flex-direction:column!important;align-items:stretch!important;}
html[lang] body .goal-recommendation .rec-media{order:0;max-height:none!important;}
html[lang] body .goal-recommendation .rec-identification{order:-1;}
html[lang] body .system{display:none!important;}
html[lang] body .service-detail{display:block!important;}
html[lang] body .experience-grid{gap:8px!important;}
html[lang] body .logo-row,html[lang] body .wordmark.tif{height:60px!important;min-height:60px!important;}
html[lang] body .case-card>div{max-width:69%;}
html[lang] body .process-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;min-height:0!important;padding:8px 0!important;}
html[lang] body .process-track article{padding:12px 9px 12px 39px!important;min-height:96px!important;}
html[lang] body .process-track b{top:10px!important;left:7px!important;}
html[lang] body .founder-card{grid-template-columns:minmax(0,35%) minmax(0,1fr)!important;}
html[lang] body .portrait-wrap{height:150px!important;min-height:150px!important;}
html[lang] body .final-cta.section-shell{width:calc(100% - 30px);background-position:65% center!important;}
html[lang] body .footer .footer-links{display:flex;justify-content:center;gap:10px 14px;flex-basis:100%;padding:6px 0;}
html[lang] body .footer .footer-links :is(a,button){font-size:12px;}
}
/* Evitar que dos columnas del 50% más su separación excedan el ancho disponible. */
@media(min-width:851px){html[lang] body .founder-faq{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:24px!important;}}
@media(min-width:1101px){
html[lang] body .topbar{height:52px!important;min-height:52px!important;}
html[lang] body .hero{min-height:clamp(275px,22vw,320px)!important;}
html[lang] body .goal,html[lang] body .system{padding-block:18px!important;}
html[lang] body .experience,html[lang] body .process,html[lang] body .founder-faq{padding-inline:clamp(30px,4vw,57px)!important;}
html[lang] body .experience,html[lang] body .process{padding-block:16px!important;}
html[lang] body .case-card{min-height:125px!important;}
html[lang] body .process{min-height:0!important;}
html[lang] body .process-track{min-height:172px!important;padding-bottom:52px!important;}
html[lang] body .process-terrain{height:49px!important;}
html[lang] body .process-track b{left:calc(var(--idem-station,42%) - 14px)!important;}
.process-track article:nth-of-type(1){--idem-station:46%;}
.process-track article:nth-of-type(2){--idem-station:37%;}
.process-track article:nth-of-type(6){--idem-station:34%;}
}
