.elementor-3780 .elementor-element.elementor-element-a4039a5{--display:flex;--overlay-opacity:0.26;box-shadow:0px 8px 30px -10px rgba(139.40000000000003, 139.40000000000003, 139.40000000000003, 0.5);--margin-top:-30px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:40px;--padding-left:0px;--padding-right:0px;}.elementor-3780 .elementor-element.elementor-element-a4039a5::before, .elementor-3780 .elementor-element.elementor-element-a4039a5 > .elementor-background-video-container::before, .elementor-3780 .elementor-element.elementor-element-a4039a5 > .e-con-inner > .elementor-background-video-container::before, .elementor-3780 .elementor-element.elementor-element-a4039a5 > .elementor-background-slideshow::before, .elementor-3780 .elementor-element.elementor-element-a4039a5 > .e-con-inner > .elementor-background-slideshow::before, .elementor-3780 .elementor-element.elementor-element-a4039a5 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:transparent;--background-overlay:'';background-image:linear-gradient(90deg, var( --e-global-color-primary ) 0%, var( --e-global-color-0d610ee ) 100%);}.elementor-3780 .elementor-element.elementor-element-c17d7e1{--display:flex;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-primary-font-size );font-weight:var( --e-global-typography-primary-font-weight );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );color:var( --e-global-color-primary );}.elementor-3780 .elementor-element.elementor-element-f9ca034 .elementor-heading-title{font-family:var( --e-global-typography-a3dea36-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-a3dea36-font-size );font-weight:var( --e-global-typography-a3dea36-font-weight );line-height:var( --e-global-typography-a3dea36-line-height );letter-spacing:var( --e-global-typography-a3dea36-letter-spacing );color:var( --e-global-color-8a570ab );}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-3780 .elementor-element.elementor-element-e14ef0d{font-family:var( --e-global-typography-2c5154c-font-family ), Arial, sans-serif;font-size:var( --e-global-typography-2c5154c-font-size );font-weight:var( --e-global-typography-2c5154c-font-weight );line-height:var( --e-global-typography-2c5154c-line-height );}@media(max-width:1366px){.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-3780 .elementor-element.elementor-element-f9ca034 .elementor-heading-title{font-size:var( --e-global-typography-a3dea36-font-size );line-height:var( --e-global-typography-a3dea36-line-height );letter-spacing:var( --e-global-typography-a3dea36-letter-spacing );}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-3780 .elementor-element.elementor-element-e14ef0d{font-size:var( --e-global-typography-2c5154c-font-size );line-height:var( --e-global-typography-2c5154c-line-height );}}@media(max-width:1366px) and (min-width:768px){.elementor-3780 .elementor-element.elementor-element-c17d7e1{--width:610px;}}@media(max-width:1200px) and (min-width:768px){.elementor-3780 .elementor-element.elementor-element-c17d7e1{--width:550px;}}@media(max-width:1024px){.elementor-3780 .elementor-element.elementor-element-a4039a5{--margin-top:-100px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:100px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-3780 .elementor-element.elementor-element-f9ca034 .elementor-heading-title{font-size:var( --e-global-typography-a3dea36-font-size );line-height:var( --e-global-typography-a3dea36-line-height );letter-spacing:var( --e-global-typography-a3dea36-letter-spacing );}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-3780 .elementor-element.elementor-element-e14ef0d{font-size:var( --e-global-typography-2c5154c-font-size );line-height:var( --e-global-typography-2c5154c-line-height );}}@media(max-width:767px){.elementor-3780 .elementor-element.elementor-element-a4039a5{--overlay-opacity:0.18;}.elementor-widget-heading .elementor-heading-title{font-size:var( --e-global-typography-primary-font-size );line-height:var( --e-global-typography-primary-line-height );letter-spacing:var( --e-global-typography-primary-letter-spacing );word-spacing:var( --e-global-typography-primary-word-spacing );}.elementor-3780 .elementor-element.elementor-element-f9ca034 .elementor-heading-title{font-size:var( --e-global-typography-a3dea36-font-size );line-height:var( --e-global-typography-a3dea36-line-height );letter-spacing:var( --e-global-typography-a3dea36-letter-spacing );}.elementor-widget-text-editor{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );letter-spacing:var( --e-global-typography-text-letter-spacing );}.elementor-3780 .elementor-element.elementor-element-e14ef0d{font-size:var( --e-global-typography-2c5154c-font-size );line-height:var( --e-global-typography-2c5154c-line-height );}}/* Start custom CSS for container, class: .elementor-element-a4039a5 *//* ==========================================================
   CODHEM — HERO SECUNDARIO GENERAL
   CSS limpio, unificado y responsive
   Reemplaza completamente los bloques anteriores del hero.
   ========================================================== */

.codhem-hero-secundario {
    --hero-azul: #153659;
    --hero-texto: #2E3C4A;
    --hero-turquesa: #69C2BF;
    --hero-morado: #8067AB;
    --hero-rosa: #B472AD;
    --hero-dorado: #ADA14C;

    position: relative;
    isolation: isolate;
    display: flex;
    width: 100% !important;
    min-width: 0 !important;
    min-height: clamp(390px, 34vw, 520px) !important;
    height: auto !important;
    overflow: hidden;
    align-items: center;
    padding: clamp(52px, 6vw, 82px) 24px !important;

    /* Conserva la imagen configurada desde Elementor. */
    background-color: #dceff0 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-blend-mode: multiply !important;
}

.codhem-hero-secundario *,
.codhem-hero-secundario *::before,
.codhem-hero-secundario *::after {
    box-sizing: border-box;
}

/* Capa cromática sobre la imagen */
.codhem-hero-secundario::before {
    position: absolute !important;
    z-index: 0 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    content: "" !important;
    pointer-events: none !important;
    transform: none !important;
    opacity: 1 !important;
    background:
        radial-gradient(circle at 9% 18%, rgba(128,103,171,.34), transparent 47%),
        radial-gradient(circle at 92% 30%, rgba(105,194,191,.46), transparent 52%),
        radial-gradient(circle at 80% 108%, rgba(173,161,76,.25), transparent 35%),
        linear-gradient(112deg, rgba(241,244,249,.31), rgba(207,200,234,.24) 45%, rgba(195,232,231,.30)) !important;
    border: 0 !important;
    border-radius: 0 !important;
}

/* Aro decorativo */
.codhem-hero-secundario::after {
    position: absolute !important;
    z-index: 1 !important;
    right: -95px !important;
    bottom: -175px !important;
    width: 410px !important;
    height: 410px !important;
    content: "" !important;
    pointer-events: none !important;
    transform: rotate(24deg) !important;
    opacity: .42 !important;
    background:
        radial-gradient(
            circle,
            rgba(105,194,191,.34) 0 32%,
            transparent 33% 47%,
            rgba(128,103,171,.19) 48% 60%,
            transparent 61%
        ) !important;
    border: 0 !important;
    border-radius: 50% !important;
}

/* Contenedor interior */
.codhem-hero-secundario > .e-con-inner {
    position: relative !important;
    z-index: 3 !important;
    display: flex !important;
    width: 100% !important;
    max-width: 1240px !important;
    min-width: 0 !important;
    margin-inline: auto !important;
    justify-content: flex-start !important;
}

/* Tarjeta glass */
.codhem-hero-secundario .codhem-hero-secundario-texto {
    position: relative;
    /* Elementor usa dirección vertical: el flex-basis anterior
       se interpretaba como 720px de ALTURA. */
    flex: 0 0 auto !important;
    width: min(100%, 720px) !important;
    max-width: 820px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    height: auto !important;
    align-self: flex-start !important;
    padding: clamp(30px, 3vw, 50px) !important;
    gap: 18px !important;
    overflow: hidden;

    background:
        linear-gradient(135deg, rgba(255,255,255,.92), rgba(241,244,249,.82)) !important;
    border: 1px solid rgba(255,255,255,.82) !important;
    border-radius: 12px 54px 12px 54px !important;
    box-shadow:
        0 28px 65px rgba(21,54,89,.18),
        0 7px 20px rgba(21,54,89,.08),
        inset 0 1px 0 rgba(255,255,255,.92) !important;
    backdrop-filter: blur(16px) saturate(120%);
    -webkit-backdrop-filter: blur(16px) saturate(120%);
}

/* Puntos decorativos */
.codhem-hero-secundario .codhem-hero-secundario-texto::after {
    position: absolute !important;
    right: 28px !important;
    bottom: 24px !important;
    width: 78px !important;
    height: 55px !important;
    content: "" !important;
    pointer-events: none !important;
    opacity: .38 !important;
    background-image:
        radial-gradient(circle, var(--hero-rosa) 1.6px, transparent 2px) !important;
    background-size: 12px 12px !important;
}

/* Widgets interiores */
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-element,
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-container {
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

/* Título */
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-heading {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
}

.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    color: var(--hero-azul) !important;
    font-size: clamp(2.5rem, 3vw, 3rem) !important;
    font-weight: 800 !important;
    line-height: 1.03 !important;
    letter-spacing: -.04em !important;
    white-space: normal !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
    hyphens: auto;
    text-wrap: balance;
    text-shadow: none !important;
}

/* Elimina líneas antiguas del título */
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title::before,
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title::after {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    content: none !important;
    background: none !important;
}

/* Única línea institucional */
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-heading::after {
    display: block !important;
    width: 128px !important;
    height: 4px !important;
    margin-top: 20px !important;
    content: "" !important;
    background:
        linear-gradient(
            90deg,
            var(--hero-turquesa) 0 48%,
            var(--hero-morado) 48% 74%,
            var(--hero-dorado) 74%
        ) !important;
    border: 0 !important;
    border-radius: 999px !important;
}

/* Descripción */
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor {
    position: relative;
    z-index: 2;
    width: 100% !important;
    max-width: 620px !important;
    min-width: 0 !important;
    margin: 0 !important;
}

.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor,
.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor p {
    color: var(--hero-texto) !important;
    font-size: clamp(1rem, 1.18vw, 1.08rem) !important;
    font-weight: 400 !important;
    line-height: 1.68 !important;
    letter-spacing: 0 !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
}

.codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor p {
    margin: 0 !important;
}

.codhem-hero-secundario .codhem-hero-secundario-texto strong {
    color: var(--hero-azul) !important;
    font-weight: 750 !important;
}

/* ==========================================================
   VARIANTES DE FONDO
   ========================================================== */

/* Quiénes somos */
.codhem-hero-secundario.hero-institucional {
    background-color: #dcefee !important;
}

.codhem-hero-secundario.hero-institucional::before {
    background:
        radial-gradient(circle at 8% 15%, rgba(105,194,191,.48), transparent 47%),
        radial-gradient(circle at 88% 22%, rgba(132,191,136,.35), transparent 49%),
        radial-gradient(circle at 78% 108%, rgba(173,161,76,.30), transparent 35%),
        linear-gradient(110deg, rgba(219,238,240,.43), rgba(225,240,230,.27)) !important;
}

/* Recomendaciones */
.codhem-hero-secundario.hero-recomendaciones {
    background-color: #e9e0ef !important;
}

.codhem-hero-secundario.hero-recomendaciones::before {
    background:
        radial-gradient(circle at 8% 20%, rgba(128,103,171,.48), transparent 48%),
        radial-gradient(circle at 92% 28%, rgba(180,114,173,.34), transparent 47%),
        radial-gradient(circle at 73% 105%, rgba(105,194,191,.38), transparent 39%),
        linear-gradient(110deg, rgba(234,224,242,.41), rgba(211,240,238,.25)) !important;
}

/* Prensa */
.codhem-hero-secundario.hero-prensa {
    background-color: #d9e9ef !important;
}

.codhem-hero-secundario.hero-prensa::before {
    background:
        radial-gradient(circle at 5% 18%, rgba(58,83,126,.36), transparent 49%),
        radial-gradient(circle at 92% 30%, rgba(105,194,191,.50), transparent 52%),
        radial-gradient(circle at 78% 110%, rgba(128,103,171,.25), transparent 39%),
        linear-gradient(110deg, rgba(214,228,239,.41), rgba(210,239,237,.26)) !important;
}

/* Diagnóstico */
.codhem-hero-secundario.hero-diagnostico {
    background-color: #dce9ef !important;
}

.codhem-hero-secundario.hero-diagnostico::before {
    background:
        radial-gradient(circle at 6% 17%, rgba(58,83,126,.43), transparent 48%),
        radial-gradient(circle at 92% 23%, rgba(105,194,191,.47), transparent 49%),
        radial-gradient(circle at 81% 108%, rgba(222,206,96,.32), transparent 36%),
        linear-gradient(110deg, rgba(215,228,239,.44), rgba(213,240,238,.27)) !important;
}

/* ==========================================================
   TABLETA — 768px a 1200px
   ========================================================== */

@media (min-width: 768px) and (max-width: 1200px) {
    .codhem-hero-secundario {
        min-height: 420px !important;
        padding: 48px clamp(28px, 5vw, 60px) !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto {
        flex: 0 0 auto !important;
        width: min(76vw, 650px) !important;
        max-width: min(76vw, 650px) !important;
        padding: clamp(32px, 4vw, 42px) !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title {
        font-size: clamp(2.15rem, 5vw, 3.25rem) !important;
        line-height: 1.05 !important;
        letter-spacing: -.032em !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor,
    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor p {
        font-size: 1rem !important;
        line-height: 1.64 !important;
    }

    .codhem-hero-secundario::after {
        right: -125px !important;
        bottom: -195px !important;
        width: 360px !important;
        height: 360px !important;
        opacity: .36 !important;
    }
}

/* ==========================================================
   MÓVIL — hasta 767px
   ========================================================== */

@media (max-width: 767px) {
    .codhem-hero-secundario {
        min-height: 0 !important;
        align-items: center !important;
        padding: 30px 16px 36px !important;
        background-position: 64% center !important;
    }

    .codhem-hero-secundario > .e-con-inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 27px 22px 30px !important;
        gap: 15px !important;
        border-radius: 9px 32px 9px 32px !important;
        backdrop-filter: blur(11px) saturate(115%);
        -webkit-backdrop-filter: blur(11px) saturate(115%);
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto::before {
        left: 23px !important;
        width: 105px !important;
        height: 3px !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto::after {
        display: none !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title {
        font-size: clamp(1.9rem, 9vw, 2.65rem) !important;
        line-height: 1.07 !important;
        letter-spacing: -.025em !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-heading::after {
        width: 86px !important;
        height: 3px !important;
        margin-top: 16px !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor,
    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-widget-text-editor p {
        font-size: .95rem !important;
        line-height: 1.6 !important;
    }

    .codhem-hero-secundario::before {
        background:
            radial-gradient(circle at 4% 14%, rgba(128,103,171,.32), transparent 59%),
            radial-gradient(circle at 100% 70%, rgba(105,194,191,.42), transparent 59%),
            linear-gradient(145deg, rgba(231,234,243,.37), rgba(214,240,238,.34)) !important;
    }

    .codhem-hero-secundario::after {
        right: -145px !important;
        bottom: -205px !important;
        width: 325px !important;
        height: 325px !important;
        opacity: .31 !important;
    }
}

/* Móvil pequeño */
@media (max-width: 390px) {
    .codhem-hero-secundario {
        padding: 26px 13px 31px !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto {
        padding: 24px 18px 27px !important;
    }

    .codhem-hero-secundario .codhem-hero-secundario-texto .elementor-heading-title {
        font-size: clamp(1.72rem, 9.2vw, 2.2rem) !important;
    }
}

/* ==========================================================
   ACCESIBILIDAD
   ========================================================== */

.codhem-hero-secundario a:focus-visible,
.codhem-hero-secundario button:focus-visible {
    outline: 3px solid rgba(105,194,191,.75) !important;
    outline-offset: 4px !important;
}

.codhem-hero-secundario ::selection {
    color: var(--hero-azul);
    background: rgba(105,194,191,.48);
}

@media (prefers-reduced-motion: reduce) {
    .codhem-hero-secundario,
    .codhem-hero-secundario *,
    .codhem-hero-secundario *::before,
    .codhem-hero-secundario *::after {
        scroll-behavior: auto !important;
        animation: none !important;
        transition: none !important;
    }
}/* End custom CSS */
/* Start custom CSS *//* =========================================================
   CODHEM | HERO SECUNDARIO IMPACTO - CORREGIDO
========================================================= */

.codhem-hero-secundario {
  position: relative;
  min-height: 380px;
  padding: 80px 20px 80px !important;
  overflow: hidden;
  background:
    linear-gradient(
      90deg,
      rgba(255,255,255,.98) 0%,
      rgba(241,244,249,.94) 48%,
      rgba(105,194,191,.20) 100%
    ),
    url("https://codhem-principal.s3.amazonaws.com/wp-content/uploads/2026/05/01141839/Diseno-sin-titulo-_10_-scaled.webp") !important;
  background-size: cover !important;
  background-position: right center !important;
  background-repeat: no-repeat !important;
  border-bottom: 1px solid rgba(21,54,89,.08);
}

/* overlay para legibilidad */
.codhem-hero-secundario::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,.95) 0%,
    rgba(255,255,255,.88) 46%,
    rgba(255,255,255,.38) 72%,
    rgba(255,255,255,.08) 100%
  );
  z-index: 1;
  pointer-events: none;
}

/* puntos decorativos */
.codhem-hero-secundario::after {
  content: "";
  position: absolute;
  right: 42%;
  top: 120px;
  width: 145px;
  height: 145px;
  background-image: radial-gradient(rgba(105,194,191,.55) 2px, transparent 2px);
  background-size: 17px 17px;
  opacity: .45;
  z-index: 2;
  pointer-events: none;
}

/* layout */
.codhem-hero-secundario > .e-con-inner {
  position: relative;
  z-index: 3;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 520px);
  align-items: center;
  gap: 46px;
}

/* texto */
.codhem-hero-secundario-texto {
  position: relative;
  max-width: 760px;
  padding-left: 34px !important;
}


/* título */
.codhem-hero-secundario h1,
.codhem-hero-secundario h2 {
  color: var(--e-global-color-7567e64) !important;
  font-size: clamp(46px, 1.7vw, 22px) !important;
  line-height: .94 !important;
  font-weight: 900 !important;
  letter-spacing: -0.045em;
  margin: 0 0 26px !important;
}

/* subrayado */
.codhem-hero-secundario h1::after,
.codhem-hero-secundario h2::after {
  content: "";
  display: block;
  width: 116px;
  height: 5px;
  margin-top: 24px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--e-global-color-primary),
    var(--e-global-color-99bf75b)
  );
}

/* descripción */
.codhem-hero-secundario .elementor-widget-text-editor,
.codhem-hero-secundario .elementor-widget-text-editor p {
  color: var(--e-global-color-0049219) !important;
  font-size: clamp(16px, 1.7vw, 20px) !important;
  line-height: 1.55 !important;
  font-weight: 700 !important;
  max-width: 680px;
}

/* imagen destacada */
.codhem-hero-secundario .imgdestacada {
  position: relative;
  z-index: 4;
  width: 70%;
  justify-self: center;
}

/* halo detrás de imagen */
.codhem-hero-secundario .imgdestacada::before {
  content: "";
  position: absolute;
  inset: auto -24px -24px auto;
  width: 82%;
  height: 82%;
  border-radius: 999px;
  background: rgba(105,194,191,.22);
  z-index: -1;
  filter: blur(2px);
}

/* imagen visible */
.codhem-hero-secundario .imgdestacada img {
  width: 100% !important;
  max-width: 480px !important;
  height: 260px !important;
  object-fit: cover !important;
  object-position: center center !important;
  border-radius: 32px !important;
  box-shadow: 0 26px 60px rgba(21,54,89,.18);
  transform: rotate(1.5deg);
  display: block;
}

/* brillo sobre imagen */
.codhem-hero-secundario .imgdestacada::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 32px;
  background: linear-gradient(135deg, rgba(105,194,191,.16), transparent 58%);
  pointer-events: none;
}

/* TABLET */
@media (max-width: 1024px) {
  .codhem-hero-secundario {
    min-height: auto;
    padding: 74px 22px 88px !important;
    background-position: right center !important;
  }

  .codhem-hero-secundario > .e-con-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .codhem-hero-secundario::before {
    background: rgba(255,255,255,.82);
  }

  .codhem-hero-secundario .imgdestacada {
    max-width: 620px;
  }

  .codhem-hero-secundario .imgdestacada img {
    height: 280px !important;
    max-width: 100% !important;
  }
}

/* MÓVIL */
@media (max-width: 767px) {
  .codhem-hero-secundario {
    padding: 54px 18px 70px !important;
    background-position: center center !important;
  }

  .codhem-hero-secundario::before {
    background: rgba(255,255,255,.88);
  }

  .codhem-hero-secundario::after {
    right: -28px;
    top: 26px;
    width: 110px;
    height: 110px;
    opacity: .28;
  }

  .codhem-hero-secundario > .e-con-inner {
    gap: 26px;
  }

  .codhem-hero-secundario-texto {
    padding-left: 24px !important;
  }

  .codhem-hero-secundario-texto::before {
    width: 5px;
    height: 102px;
  }

  .codhem-hero-secundario-texto::after {
    font-size: 11px;
    letter-spacing: .12em;
  }

  .codhem-hero-secundario h1,
  .codhem-hero-secundario h2 {
    font-size: 32px !important;
    line-height: 1.02 !important;
  }

  .codhem-hero-secundario .elementor-widget-text-editor,
  .codhem-hero-secundario .elementor-widget-text-editor p {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }

  .codhem-hero-secundario .imgdestacada img {
    height: 210px !important;
    border-radius: 24px !important;
    transform: none;
  }

  .codhem-hero-secundario .imgdestacada::after {
    border-radius: 24px;
  }
}/* End custom CSS */