/* CTRL360 CES v1.2 — Migration Block 4
   Microsoft 365, IA, Ciberseguridad, Backup/Continuidad, Redes/Telefonía, Consultoría/Cómo trabajamos.
   Presentation-only. Content, DOM order, URLs and existing behavior remain intact. */
:root{--ces4-green:#47d97f;--ces4-green-dark:#15995d;--ces4-blue:#218fd6;--ces4-ink:#0d1a22;--ces4-text:#22313b;--ces4-muted:#66747e;--ces4-line:#dfe7e3;--ces4-soft:#f6f9f7;--ces4-card:#fff;--ces4-radius:24px;--ces4-shadow:0 22px 64px rgba(18,35,28,.08);--ces4-max:1400px}
body.ces-services{background:#fff;color:var(--ces4-text);text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased}
body.ces-services .wrap{max-width:var(--ces4-max)}
body.ces-services h1,body.ces-services h2,body.ces-services h3{letter-spacing:-.035em;text-wrap:balance}
body.ces-services p{line-height:1.72}
body.ces-services .eyebrow{letter-spacing:.1em;text-transform:uppercase;font-size:.76rem;font-weight:800;color:var(--ces4-green-dark)}
body.ces-services .btn{border-radius:999px;padding:.95rem 1.35rem;font-weight:750;transition:transform .25s ease,box-shadow .25s ease,background .25s ease}
body.ces-services .btn:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(18,35,28,.12)}
body.ces-services .service-hero,body.ces-services .enterprise-hero{position:relative;overflow:hidden;padding:clamp(88px,10vw,148px) 0 clamp(72px,9vw,118px);background:linear-gradient(135deg,#f9fbfa 0%,#f2f7f4 55%,#edf5f0 100%);border-bottom:1px solid var(--ces4-line)}
body.ces-services .service-hero:before,body.ces-services .enterprise-hero:before{content:"";position:absolute;inset:-20% -8% auto auto;width:min(54vw,780px);height:min(54vw,780px);background:radial-gradient(circle,rgba(71,217,127,.14),rgba(71,217,127,0) 68%);pointer-events:none}
body.ces-services .hero-grid,body.ces-services .enterprise-hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.95fr);gap:clamp(38px,6vw,80px);align-items:center}
body.ces-services .service-hero h1,body.ces-services .enterprise-hero h1{max-width:900px;font-size:clamp(2.75rem,5vw,5.15rem);line-height:.99;color:var(--ces4-ink);margin:.8rem 0 1.35rem}
body.ces-services .service-hero p,body.ces-services .enterprise-hero p{max-width:790px;font-size:clamp(1.06rem,1.4vw,1.25rem);color:#52616b}
body.ces-services .hero-actions{display:flex;gap:.8rem;flex-wrap:wrap;margin-top:1.7rem}
body.ces-services .human-proof{margin-top:1.15rem;color:#69776f;font-size:.85rem}
body.ces-services .hero-visual{border-radius:28px;overflow:hidden;box-shadow:0 28px 74px rgba(18,35,28,.13);border:1px solid rgba(31,89,57,.1);background:#eaf0ec}
body.ces-services .hero-visual img,body.ces-services .photo-landing{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
body.ces-services .photo-caption{padding:12px 16px;background:#fff;color:var(--ces4-muted);font-size:.75rem;border-top:1px solid var(--ces4-line)}
body.ces-services .section,body.ces-services .enterprise-section{padding:clamp(76px,8.5vw,124px) 0}
body.ces-services .section.soft{background:var(--ces4-soft)}
body.ces-services .section.dark{background:#10231b;color:#dce8e1}
body.ces-services .section.dark h2,body.ces-services .section.dark h3{color:#fff}
body.ces-services .section-head{max-width:820px;margin-bottom:clamp(34px,4.5vw,58px)}
body.ces-services .section-head.center{margin-left:auto;margin-right:auto;text-align:center}
body.ces-services .section-head h2{font-size:clamp(2.05rem,3.65vw,3.7rem);line-height:1.06;color:var(--ces4-ink);margin:.55rem 0 1rem}
body.ces-services .lead{font-size:clamp(1.08rem,1.45vw,1.25rem);color:#52616b;max-width:780px}
body.ces-services .section.dark .lead{color:#cbd9d1}

/* service promise + real scenarios */
body.ces-services .promise-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
body.ces-services .promise,body.ces-services .real-card,body.ces-services .ecosystem-card,body.ces-services .team-card{background:#fff;border:1px solid var(--ces4-line);border-radius:22px;padding:clamp(22px,2.6vw,30px);box-shadow:0 8px 26px rgba(18,35,28,.035);transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease}
body.ces-services .promise:hover,body.ces-services .real-card:hover,body.ces-services .ecosystem-card:hover,body.ces-services .team-card:hover{transform:translateY(-5px);box-shadow:var(--ces4-shadow);border-color:#c8ddd1}
body.ces-services .promise h3,body.ces-services .real-card h3,body.ces-services .ecosystem-card h3{color:var(--ces4-ink);line-height:1.15}
body.ces-services .real-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
body.ces-services .example{display:inline-flex;margin-top:.8rem;border-radius:999px;background:#eef7f2;color:#157449;padding:.4rem .62rem;font-size:.72rem;font-weight:800}
body.ces-services .split{display:grid;grid-template-columns:minmax(0,1fr) minmax(320px,.92fr);gap:clamp(38px,6vw,76px);align-items:center}
body.ces-services .editorial-photo{border-radius:26px;overflow:hidden;box-shadow:var(--ces4-shadow)}
body.ces-services .editorial-photo img{display:block;width:100%;height:auto;object-fit:cover}
body.ces-services .checks{display:grid;gap:10px;padding-left:0;list-style:none}
body.ces-services .checks li{position:relative;padding-left:30px}
body.ces-services .checks li:before{content:"✓";position:absolute;left:0;top:.05rem;width:21px;height:21px;display:grid;place-items:center;border-radius:50%;background:#e7f7ed;color:#14784c;font-size:.72rem;font-weight:900}

/* visual band */
body.ces-services .visual-band{position:relative;overflow:hidden;background:#10231b;color:#fff;padding:0}
body.ces-services .visual-band .editorial-photo{border-radius:0;box-shadow:none;min-height:520px}
body.ces-services .visual-band .editorial-photo img{width:100%;height:clamp(520px,62vw,760px);object-fit:cover;filter:saturate(.9) contrast(1.04) brightness(.68)}
body.ces-services .visual-band .overlay-copy{position:absolute;inset:0;display:flex;align-items:flex-end;padding:clamp(46px,7vw,92px);background:linear-gradient(180deg,transparent 28%,rgba(5,16,11,.72) 100%)}
body.ces-services .visual-band .overlay-copy>*{max-width:780px}

/* story and FAQ */
body.ces-services .story-strip{display:grid;gap:14px}
body.ces-services .story-item{display:grid;grid-template-columns:108px 1fr;gap:22px;border-top:1px solid var(--ces4-line);padding:22px 0}
body.ces-services .story-item:first-child{border-top:0}
body.ces-services .story-item>span,body.ces-services .story-item>b:first-child{color:var(--ces4-green-dark);font-size:.78rem;font-weight:850;letter-spacing:.06em;text-transform:uppercase}
body.ces-services .faq-rich{max-width:980px}
body.ces-services .question{border-top:1px solid var(--ces4-line);padding:22px 0}
body.ces-services .question:first-child{border-top:0}
body.ces-services .question h3{font-size:clamp(1.15rem,1.8vw,1.45rem);color:var(--ces4-ink);margin:0 0 .55rem}
body.ces-services .answer{color:#5e6b63}

/* CTA band */
body.ces-services .band{background:#10231b;color:#fff;padding:34px 0}
body.ces-services .band-row{display:flex;align-items:center;justify-content:space-between;gap:24px}
body.ces-services .band h2,body.ces-services .band h3{color:#fff}

/* category accents */
body.ces-m365 .service-hero:before{background:radial-gradient(circle,rgba(33,143,214,.13),rgba(33,143,214,0) 68%)}
body.ces-m365 .eyebrow{color:#1779b6}
body.ces-ai .service-hero{background:linear-gradient(135deg,#fbfcfb 0%,#f3f8f5 58%,#eef7f1 100%)}
body.ces-security .service-hero{background:linear-gradient(135deg,#f8fbfa 0%,#f1f7f4 55%,#eef5f1 100%)}
body.ces-continuity .service-hero:before{background:radial-gradient(circle,rgba(33,143,214,.12),rgba(33,143,214,0) 68%)}
body.ces-comms .enterprise-hero:before,body.ces-comms .service-hero:before{background:radial-gradient(circle,rgba(33,143,214,.13),rgba(33,143,214,0) 68%)}
body.ces-comms .eyebrow{color:#1779b6}
body.ces-comms .ecosystem-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}

/* how we work */
body.ces-process .process{display:grid;gap:0;counter-reset:step}
body.ces-process .step{position:relative;display:grid;grid-template-columns:72px 1fr;gap:22px;padding:28px 0;border-top:1px solid var(--ces4-line)}
body.ces-process .step:first-child{border-top:0}
body.ces-process .step:before{counter-increment:step;content:counter(step,decimal-leading-zero);display:grid;place-items:center;width:58px;height:58px;border-radius:50%;background:#e8f7ee;color:#14784c;font-weight:850}
body.ces-process .timeline{display:grid;gap:14px}
body.ces-process .timeline-event{position:relative;padding:20px 22px 20px 52px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.045);border-radius:18px}
body.ces-process .timeline-event:before{content:"";position:absolute;left:24px;top:28px;width:10px;height:10px;border-radius:50%;background:var(--ces4-green)}
body.ces-process .team-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
body.ces-process .team-avatar{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:#e8f7ee;color:#14784c;font-weight:900;margin-bottom:14px}
body.ces-process .role{font-size:.78rem;color:var(--ces4-muted);font-weight:750}

/* article pages */
body.ces-service-article .kp-article-hero .narrow{max-width:900px}
body.ces-service-article .article-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:clamp(38px,6vw,72px);align-items:start}
body.ces-service-article .article-body{max-width:820px}
body.ces-service-article .article-lead{font-size:clamp(1.2rem,1.7vw,1.45rem);line-height:1.62;color:#3e5146;margin-bottom:34px}
body.ces-service-article .article-section{padding:26px 0;border-top:1px solid var(--ces4-line)}
body.ces-service-article .article-section h2{font-size:clamp(1.7rem,2.7vw,2.45rem);color:var(--ces4-ink)}
body.ces-service-article .article-callout{border-left:3px solid var(--ces4-green);background:#f0f8f3;border-radius:0 18px 18px 0;padding:22px 24px;margin:28px 0}
body.ces-service-article .article-side{position:sticky;top:110px;display:grid;gap:16px}
body.ces-service-article .side-card{border:1px solid var(--ces4-line);border-radius:20px;padding:22px;background:#fff;box-shadow:0 9px 28px rgba(18,35,28,.04)}
body.ces-service-article .tag{display:inline-flex;border-radius:999px;background:#eaf8ef;color:#147d50;padding:.38rem .6rem;font-size:.68rem;font-weight:850;text-transform:uppercase;letter-spacing:.07em}
body.ces-service-article .related-link{display:block;padding:.6rem 0;color:var(--ces4-green-dark);font-weight:750;text-decoration:none;border-bottom:1px solid #edf2ef}

/* shared motion */
body.ces-services .ces4-reveal{opacity:0;transform:translateY(22px);transition:opacity .72s cubic-bezier(.22,1,.36,1),transform .72s cubic-bezier(.22,1,.36,1)}
body.ces-services .ces4-reveal.is-visible{opacity:1;transform:none}

@media(max-width:980px){
 body.ces-services .hero-grid,body.ces-services .enterprise-hero-grid,body.ces-services .split{grid-template-columns:1fr}
 body.ces-services .promise-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ces-services .real-grid{grid-template-columns:1fr}
 body.ces-comms .ecosystem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 body.ces-process .team-grid{grid-template-columns:1fr}
 body.ces-service-article .article-layout{grid-template-columns:1fr}
 body.ces-service-article .article-side{position:static}
}
@media(max-width:680px){
 body.ces-services .service-hero,body.ces-services .enterprise-hero{padding:76px 0 68px}
 body.ces-services .section,body.ces-services .enterprise-section{padding:64px 0}
 body.ces-services .promise-grid,body.ces-comms .ecosystem-grid{grid-template-columns:1fr}
 body.ces-services .story-item{grid-template-columns:1fr;gap:7px}
 body.ces-services .band-row{align-items:flex-start;flex-direction:column}
 body.ces-process .step{grid-template-columns:54px 1fr;gap:14px}
 body.ces-process .step:before{width:46px;height:46px}
 body.ces-services .visual-band .overlay-copy{padding:32px 22px}
}
@media(prefers-reduced-motion:reduce){body.ces-services .ces4-reveal{opacity:1;transform:none;transition:none}}
