/* dp-type-v3 - UNA sola familia en TODO el sitio: Plus Jakarta Sans.
   Sin excepciones: se retiran Instrument Serif, Archivo, Poppins e IBM Plex Mono.
   Solo se excluyen los iconos, para no romperlos.
   Los tamanos, interlineados, mayusculas y colores de cada pagina no se tocan.
   Los :not(#_) solo elevan especificidad; no seleccionan nada real. */

:root,
html body,
html body .dpx-root,
html body .dpuni,
html body .dpc,
html body .dp-sap-page {
  --sr: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp-display: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp-serif: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --dp-mono: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pix-heading-font: "Plus Jakarta Sans", system-ui, sans-serif;
  --pix-body-font: "Plus Jakarta Sans", system-ui, sans-serif;
}

html body *:not(#_):not(#__):not(i):not(svg):not(path):not(code):not(pre):not([class*="fa-"]):not([class^="fa"]):not([class*="eicon"]):not([class*="dashicons"]):not([class*="icon-"]):not([class$="-icon"]) {
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif !important;
}

/* dp-type-v4 - color unico de titulos y cuerpos, alineado al home.
   Solo color y el h1 del sistema dpx. No cambia ninguna otra medida. */
html body h1, html body h2 { color:#EEF3F9 !important; }
html body .dpx h1 { font-size:clamp(34px,4.6vw,54px) !important; font-weight:500 !important; }
html body .dpx p, html body .dpx li, html body .dpx td { color:#94A5B9 !important; }
html body .dpx .lead, html body .dpx .side, html body .dpx .sub { color:#94A5B9 !important; }
html body .dpx .cd li, html body .dpx .ecolist span, html body .dpeco-l span { color:#94A5B9 !important; }


/* dp-noflicker 28sep2026: fondo fijo con blur animado causaba parpadeo en todo el sitio */
html body .dphb:not(#dpx),html body .dphb *:not(#dpx),html body .dpbgx:not(#dpx),html body .dpbgx *:not(#dpx){animation:none!important;transition:none!important}
html body .dphb .c:not(#dpx){opacity:.5!important;transform:translateZ(0)!important;will-change:auto!important}
html body .dphb:not(#dpx),html body .dpbgx:not(#dpx){transform:translateZ(0);backface-visibility:hidden;contain:strict}

/* dp-noflicker-2: el brillo vive en un pseudo-elemento ::after */
html body .dphb:not(#dpx)::before,html body .dphb:not(#dpx)::after,html body .dphb *:not(#dpx)::before,html body .dphb *:not(#dpx)::after,html body .dpbgx:not(#dpx)::before,html body .dpbgx:not(#dpx)::after,html body .dpbgx *:not(#dpx)::before,html body .dpbgx *:not(#dpx)::after{animation:none!important;transition:none!important}

/* dp-cards-global 28sep2026: tarjetas .grid.g4 de todas las paginas dpx con altura pareja y diseno de tarjeta */
html body .dpx-root .grid.g4{align-items:stretch!important;gap:14px!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
html body .dpx-root .grid.g4>.cell{position:relative;height:100%;box-sizing:border-box;border-radius:18px;padding:30px 24px 26px;background:linear-gradient(155deg,#14284A 0%,#0B1A30 58%,#0A1F44 100%)!important;border:1px solid rgba(255,255,255,.09);overflow:hidden;isolation:isolate;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}
html body .dpx-root .grid.g4>.cell:before{content:"";position:absolute;left:0;top:0;height:3px;width:32%;background:linear-gradient(90deg,#F26522,#FF8144);transition:width .5s ease;z-index:1}
html body .dpx-root .grid.g4>.cell:hover{transform:translateY(-5px);border-color:rgba(242,101,34,.5);box-shadow:0 28px 60px -30px rgba(0,0,0,.85)}
html body .dpx-root .grid.g4>.cell:hover:before{width:100%}
html body .dpx-root .grid.g4>.cell .k{position:absolute;right:18px;top:12px;font-size:54px;font-weight:300;letter-spacing:-.04em;line-height:1;color:rgba(255,255,255,.08)}
html body .dpx-root .grid.g4>.cell:hover .k{color:rgba(255,129,68,.35)}
html body .dpx-root .grid.g4>.cell h3{position:relative;color:#fff;margin:18px 0 10px;padding-right:52px}
html body .dpx-root .grid.g4>.cell p{position:relative;color:#B8C4D6}
@media(prefers-reduced-motion:reduce){html body .dpx-root .grid.g4>.cell,html body .dpx-root .grid.g4>.cell:before{transition:none}}

/* dp-grid-stretch 28sep2026: tarjetas de otras rejillas con altura pareja */
html body .dpx-root .g4:not(#dpx),html body .dpx-root .g3:not(#dpx),html body .dpx-root .grid.g2:not(#dpx),html body main .g4:not(#dpx),html body main .g3:not(#dpx){align-items:stretch!important}
html body .dpx-root .g4:not(#dpx)>.gl,html body .dpx-root .g4:not(#dpx)>.cd,html body .dpx-root .g3:not(#dpx)>.cd,html body .dpx-root .grid.g2:not(#dpx)>.cell,html body main .g4:not(#dpx)>.gl,html body main .g4:not(#dpx)>.cd,html body main .g3:not(#dpx)>.cd{height:auto!important;align-self:stretch!important}

/* dp-grid-stretch-2: mismas rejillas en paginas sin .dpx-root */
html body .elementor-widget-html .g4:not(#dpx),html body .elementor-widget-html .g3:not(#dpx),html body .elementor-widget-html .grid.g2:not(#dpx){align-items:stretch!important}
html body .elementor-widget-html .g4:not(#dpx)>.gl,html body .elementor-widget-html .g4:not(#dpx)>.cd,html body .elementor-widget-html .g3:not(#dpx)>.cd,html body .elementor-widget-html .g3:not(#dpx)>.gl,html body .elementor-widget-html .grid.g2:not(#dpx)>.cell{height:auto!important;align-self:stretch!important}

/* dp-grid-stretch-3: panel ABAP/BASIS */
html body .elementor-widget-html .dpmon:not(#dpx){align-items:stretch!important}
html body .elementor-widget-html .dpmon:not(#dpx)>.dpmon-c,html body .elementor-widget-html .dpmon:not(#dpx)>.dpmon-l{height:auto!important;align-self:stretch!important}
/* dp-canal-align: canales de contacto sueltos fuera del contenedor */
html body section#contacto:not(#dpx)>.dpcanal{max-width:1180px!important;margin:20px auto 0!important;padding:0 20px!important;justify-content:center!important}
html body section#contacto:not(#dpx)>.dpcanal-tel{max-width:1180px!important;margin:12px auto 0!important;padding:0 20px!important;text-align:center!important}
/* dp-map-v4: mapa de cobertura actualizado (USA remoto, Peru facturacion local) */
html body:has(main.dpc) .dpc-hero:not(#dpx):after{background:linear-gradient(180deg,rgba(5,25,55,.03),rgba(5,25,55,.35)),url("https://discoverypartners.co/wp-content/uploads/2026/10/mapa-cobertura-sap-salesforce-latam-v4-es.webp") center/cover no-repeat!important}
html[lang^="en"] body:has(main.dpc) .dpc-hero:not(#dpx):after{background:linear-gradient(180deg,rgba(5,25,55,.03),rgba(5,25,55,.35)),url("https://discoverypartners.co/wp-content/uploads/2026/10/coverage-map-sap-salesforce-latam-v4-en.webp") center/cover no-repeat!important}
