/* Corfolíder V7: refinamientos finales del sistema aprobado. */
/* Titular de Servicios a 50% de escala anterior en escritorio. */
body.cx-home .cx-solutions h2{font-size:clamp(24px,2.3vw,35px)!important;line-height:1.22!important;letter-spacing:-.045em!important;max-width:570px!important;}
body.cx-home .cx-solutions-intro{align-items:center!important;gap:40px!important;margin-bottom:44px!important;}
body.cx-home .cx-solutions .cx-eyebrow{margin-bottom:15px!important;}
/* Servicios: relación editorial entre bloque destacado y lista, sin tarjetas planas. */
body.cx-home .cx-service-grid{gap:18px!important;align-items:stretch!important;}
body.cx-home .cx-feature-service{border-radius:14px!important;box-shadow:0 22px 50px rgba(12,28,47,.12)!important;}
body.cx-home .cx-feature-service::after{background:linear-gradient(180deg,rgba(7,19,35,.02) 0%,rgba(9,22,40,.3) 42%,rgba(5,17,32,.94) 100%)!important;}
body.cx-home .cx-service-list{border-top:0!important;display:flex!important;flex-direction:column!important;gap:9px!important;height:100%;}
body.cx-home .cx-service-list a{position:relative;overflow:hidden;flex:1;min-height:96px;padding:19px 21px!important;border:1px solid #e4ded3!important;border-radius:11px!important;background:#fff!important;box-shadow:0 5px 17px rgba(19,40,61,.045);transition:transform .24s ease,background .24s ease,box-shadow .24s ease,border-color .24s ease!important;display:grid!important;grid-template-columns:26px 1fr 22px!important;gap:12px!important;align-items:center!important;}
body.cx-home .cx-service-list a::before{content:"";position:absolute;left:0;top:0;bottom:0;width:3px;background:#bd9b62;opacity:.7;transition:width .25s ease;}
body.cx-home .cx-service-list a:hover{transform:translateX(5px)!important;background:#faf7f1!important;border-color:#c9b18c!important;box-shadow:0 13px 26px rgba(19,40,61,.11)!important;}
body.cx-home .cx-service-list a:hover::before{width:5px;}
body.cx-home .cx-service-list a>span{color:#ad844d!important;}
body.cx-home .cx-service-list h3{font-size:clamp(17px,1.55vw,20px)!important;letter-spacing:-.035em!important;margin:0 0 5px!important;}
body.cx-home .cx-service-list p{font-size:12px!important;line-height:1.5!important;}
body.cx-home .cx-service-list b{color:#b08b57!important;font-size:22px!important;}
/* Internas: solución de bloques con ritmo, relieve y mejores enlaces. */
body.page-inner .section:not(.dark) .grid .item{border-top:1px solid #d9d2c6!important;padding:24px 15px!important;transition:background .25s ease,transform .25s ease!important;}
body.page-inner .section:not(.dark) .grid .item:hover{background:#f8f5ef!important;transform:translateY(-2px)!important;}
body.page-inner .related{margin-top:35px!important;}
body.page-inner .related a{border-radius:11px!important;background:#fff!important;box-shadow:0 8px 26px rgba(13,32,51,.07)!important;border-color:#e3ddcf!important;justify-content:center;text-align:center;}
body.page-inner .related a:hover{background:#f8f3e9!important;box-shadow:0 18px 35px rgba(13,32,51,.11)!important;}
/* Centrar encabezado Explora también en cada interna (sin afectar las demás secciones). */
body.page-inner .ci-related-center .eyebrow{justify-content:center;text-align:center;}
body.page-inner .ci-related-center h2{text-align:center!important;margin:18px auto 10px!important;max-width:850px!important;text-wrap:balance;}
body.page-inner .ci-related-center .related{width:100%;}
/* CTA de certificaciones: misma fotografía que el hero respectivo. */
body.page-inner[data-page="transforma-tu-mundo"]{--ci-cta-photo:url("hero-certificacion-transforma-tu-mundo.webp");}
body.page-inner[data-page="mas-alla-del-exito"]{--ci-cta-photo:url("hero-certificacion-mas-alla-del-exito.webp");}
body.page-inner[data-page="exito-autentico"]{--ci-cta-photo:url("hero-certificacion-exito-autentico.webp");}
body.page-inner[data-family="programa"] .cta::before{background-image:var(--ci-cta-photo)!important;background-position:center 45%!important;background-size:cover!important;}
body.page-inner[data-family="programa"] .cta::after{background:linear-gradient(110deg,rgba(6,20,35,.93),rgba(8,21,35,.83) 55%,rgba(0,0,0,.86))!important;}
@media(max-width:900px){body.cx-home .cx-solutions-intro{grid-template-columns:1fr!important;gap:22px!important;}body.cx-home .cx-service-grid{grid-template-columns:1fr!important;}body.cx-home .cx-feature-service{min-height:420px!important;}body.cx-home .cx-service-list{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;}}
@media(max-width:720px){body.cx-home .cx-solutions h2{font-size:clamp(25px,7vw,32px)!important;}body.cx-home .cx-service-list{display:flex!important;flex-direction:column!important;}body.cx-home .cx-service-list a{min-height:95px!important;}body.page-inner .related{grid-template-columns:1fr!important;}body.page-inner .ci-related-center h2{font-size:clamp(29px,7vw,42px)!important;}body.page-inner[data-family="programa"] .cta::before{background-position:center center!important;}}
@media(prefers-reduced-motion:reduce){body.cx-home .cx-service-list a,body.page-inner .related a{transition:none!important;transform:none!important;}}

/* V8: reducir un 20% el titulo de Perspectiva respecto a su escala V7 */
body.cx-home .cx-statement h2{font-size:clamp(24.8px,2.52vw,36px)!important;}
@media(max-width:720px){body.cx-home .cx-statement h2{font-size:clamp(22.4px,5.6vw,29.6px)!important;}}


/* V9 · Ajustes tipográficos aprobados */
body.cx-home .cx-statement h2{font-size:clamp(31px,3.15vw,45px)!important;line-height:1.15!important;}
body.cx-home .cx-solutions h2{font-size:clamp(30px,2.875vw,43.75px)!important;line-height:1.17!important;}
body.cx-home .cx-program-heading h2{font-size:clamp(32px,4vw,56px)!important;line-height:1.12!important;}
body.cx-home .cx-cta-foot p{font-size:clamp(18px,1.9vw,21px)!important;line-height:1.65!important;}
@media(max-width:720px){
 body.cx-home .cx-statement h2{font-size:clamp(28px,7vw,37px)!important;}
 body.cx-home .cx-solutions h2{font-size:clamp(29px,7.5vw,39px)!important;}
 body.cx-home .cx-program-heading h2{font-size:clamp(31px,7.8vw,43px)!important;}
 body.cx-home .cx-cta-foot p{font-size:18px!important;}
}
/* Servicios: fotografía editorial de ancho de contenedor en las páginas empresariales */
body.page-inner .ci-service-photo{height:clamp(235px,29vw,350px);position:relative;overflow:hidden;margin:32px 0 6px;border-radius:14px;background:#173049;}
body.page-inner .ci-service-photo::before{content:"";position:absolute;inset:0;background-image:var(--ci-detail-photo);background-size:cover;background-position:var(--ci-detail-position,center 46%);transition:transform .65s ease;}
body.page-inner .ci-service-photo::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(11,28,47,.45),rgba(9,23,38,.12) 55%,rgba(8,19,34,.25)),linear-gradient(0deg,rgba(8,19,32,.35),transparent 58%);}
body.page-inner .ci-service-photo span{position:absolute;z-index:1;bottom:25px;left:30px;font:800 11px/1.4 'Manrope',sans-serif;letter-spacing:.15em;color:#f4d59a;text-transform:uppercase;}
body.page-inner .ci-service-photo:hover::before{transform:scale(1.035);}
body.page-inner[data-page="desarrollo-de-liderazgo"]{--ci-detail-photo:url('soluciones-liderazgo.webp');--ci-detail-position:center 15%;}
body.page-inner[data-page="equipos-y-cultura"]{--ci-detail-photo:url('taller-liderazgo-corporativo.webp');--ci-detail-position:center 46%;}
body.page-inner[data-page="coaching"]{--ci-detail-photo:url('personas-detras.webp');--ci-detail-position:center 25%;}
body.page-inner[data-page="conferencias"]{--ci-detail-photo:url('hero-conferencias-respaldo.webp');}
body.page-inner[data-page="soluciones-a-medida"]{--ci-detail-photo:url('vision-fondo-corporativo.v17.webp');}
body.page-inner[data-page="impacto-360"]{--ci-detail-photo:url('corfolider-impacto.webp');}
@media(max-width:720px){body.page-inner .ci-service-photo{height:230px;margin:24px 0 0;border-radius:10px;}body.page-inner .ci-service-photo span{left:18px;bottom:17px;font-size:10px;}}
@media(prefers-reduced-motion:reduce){body.page-inner .ci-service-photo::before{transition:none!important;}}
