/* Encabezados compartidos: alineación y contraste de los antetítulos. */
body :is(h1,h2) {
  text-align:center!important;
  margin-inline:auto!important;
}
body .elementor-widget-heading:has(h1,h2) {
  text-align:center!important;
  align-self:stretch;
  width:100%;
}
body :is(h3,h4,h5,h6),
body .elementor-widget-heading:has(h3,h4,h5,h6) {
  text-align:left!important;
  margin-inline:0!important;
}
/* Compactar solamente el espacio entre antetítulo y título de sección. */
body #content :is(.r1-label,.r2-eyebrow,.conecta-eyebrow) + .elementor-widget-heading:has(h1,h2),
body #diagnostico > .elementor-widget:first-child + .elementor-widget-heading {
  margin-top:-10px!important;
}
body #content :is(.r1-label,.r2-eyebrow,.conecta-eyebrow),
body #content :is(.r1-label,.r2-eyebrow,.conecta-eyebrow) :is(p,.elementor-widget-container),
body #diagnostico > .elementor-widget:first-child p {
  color:var(--conecta-kicker,#bd4309)!important;
  text-align:center!important;
  justify-content:center!important;
}
body #content :is(.r1-label,.r2-eyebrow,.conecta-eyebrow)::before,
body #content :is(.r1-label,.r2-eyebrow,.conecta-eyebrow) p::before,
body #diagnostico > .elementor-widget:first-child p::before {
  content:none!important;
  display:none!important;
}
body :is(.r1-hero,.r1-dark,.r1-end,.r2-contact,.conecta-about-hero,.conecta-nova-hero,.conecta-services) {
  --conecta-kicker:var(--conecta-orange-500);
}
/* Los textos de presentación acompañan al título centrado de cada sección. */
body :is(.r1-wrap,.r2-wrap,.r2-head) > :is(.elementor-widget-heading,.elementor-widget-text-editor),
body :is(.r1-intro,.r2-hero-copy) > :is(.r1-label,.r2-eyebrow) {
  text-align:center;
  align-self:stretch;
}
body .r1-wrap > .elementor-widget-text-editor p {margin-inline:auto}

/* Una misma silueta completamente redondeada para los CTA del sitio. */
body .elementor .elementor-button,
body :is(.wp-element-button,.cx-form button,.cx-consent-actions button),
body .conecta-primary-menu .conecta-nav-cta > a {border-radius:999px!important}

/* CTA de casos: ghost blanco sobre azul y azul sobre superficies claras. */
body :is(.r1-dark,.r1-hero,.r1-end,.r2-contact,.r2-stat-band,.cx-calc-result) {--cx-case-ink:white}
body .elementor a.cx-case-ghost {
  background:transparent!important;color:var(--cx-case-ink,var(--conecta-blue-900))!important;
  border:1px solid currentColor!important;border-radius:999px!important;box-shadow:none!important;
  padding:10px 16px!important;text-decoration:none;
}
body .elementor a.cx-case-ghost:hover,
body .elementor a.cx-case-ghost:focus-visible {background:color-mix(in srgb,currentColor 8%,transparent)!important;filter:none}
