.elementor-13386 .elementor-element.elementor-element-5907e36{--display:flex;}/* Start custom CSS *//* =========================================================
   CONFIANZ · CASO DE ÉXITO
   FULL WIDTH · ELEMENTOR
   ========================================================= */

.confianz-case {
    --cf-red: #D71920;
    --cf-dark: #1d1d1b;
    --cf-text: #353535;
    --cf-muted: #727272;
    --cf-line: #d9d9d5;
    --cf-soft: #f4f4f1;
    --cf-white: #ffffff;

    font-family: inherit;
    color: var(--cf-text);
    background: var(--cf-white);
    font-size: 17px;
    line-height: 1.65;

    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    overflow: hidden;
}

.confianz-case *,
.confianz-case *::before,
.confianz-case *::after {
    box-sizing: border-box;
}

.confianz-case p {
    margin: 0 0 20px;
}

.confianz-case strong {
    font-weight: 600;
    color: var(--cf-dark);
}

.confianz-case a {
    text-decoration: none;
}


/* =========================================================
   CONTENEDOR
   ========================================================= */

.confianz-case__container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(25px, 6vw, 95px);
    padding-right: clamp(25px, 6vw, 95px);
}


/* =========================================================
   HERO ROJO
   ========================================================= */

.confianz-case__hero {
    width: 100%;
    padding: 95px 0 72px;
    margin: 0;
    background: var(--cf-red);
    color: var(--cf-white);
}

.confianz-case__category {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
    color: var(--cf-white) !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.8px;
}

.confianz-case__category::before {
    content: "";
    width: 42px;
    height: 1px;
    background: var(--cf-white);
    flex: 0 0 auto;
}

.confianz-case .confianz-case__title {
    max-width: 1100px;
    margin: 0;
    padding: 0;
    color: #ffffff !important;
    font-size: clamp(40px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 400;
    letter-spacing: -2.2px;
}

.confianz-case__intro {
    max-width: 950px;
    margin-top: 38px;
    font-size: 20px;
    line-height: 1.6;
    color: #ffffff !important;
}

.confianz-case__intro p,
.confianz-case__intro strong {
    color: #ffffff !important;
}


/* =========================================================
   IMAGEN
   ========================================================= */

.confianz-case__image-strip {
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #111;
    border-radius: 0 !important;
}

.confianz-case__image-strip img {
    display: block;
    width: 100%;
    height: 200px;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center top;
    border: 0;
    border-radius: 0 !important;
}


/* =========================================================
   QUICK FACTS
   ========================================================= */

.confianz-case__facts-wrap {
    width: 100%;
    background: #ffffff;
}

.confianz-case__facts {
    display: grid;
    grid-template-columns: 1.25fr 1.15fr 0.8fr 0.8fr;
    width: 100%;
    border-bottom: 1px solid var(--cf-line);
}

.confianz-case__fact {
    padding: 34px 35px;
    border-right: 1px solid var(--cf-line);
}

.confianz-case__fact:first-child {
    padding-left: 0;
}

.confianz-case__fact:last-child {
    border-right: 0;
}

.confianz-case__fact-label {
    display: block;
    margin-bottom: 9px;
    color: var(--cf-muted);
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.confianz-case__fact-value {
    display: block;
    color: var(--cf-dark);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
}


/* =========================================================
   CLIENTE / REYUPLAS
   NOMBRE + LOGO EN LA MISMA LÍNEA
   ========================================================= */

.confianz-case__client-row {
    display: flex;
    align-items: center;
    gap: 18px;
    min-height: 48px;
}

.confianz-case__client-name {
    display: inline-block;
    color: var(--cf-dark);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 500;
    white-space: nowrap;
}

.confianz-case__client-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 125px;
    max-height: 46px;
    object-fit: contain;
    object-position: left center;
    flex: 0 0 auto;
}


/* =========================================================
   SECCIONES
   ========================================================= */

.confianz-case__standard-section {
    width: 100%;
    background: #ffffff;
}

.confianz-case__section {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    column-gap: 85px;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
    border-bottom: 1px solid var(--cf-line);
}

.confianz-case__number {
    display: block;
    margin-bottom: 15px;
    color: #999;
    font-size: 12px;
    line-height: 1;
    letter-spacing: 1px;
}

.confianz-case__heading {
    margin: 0;
    padding: 0;
    color: var(--cf-dark);
    font-size: 28px;
    line-height: 1.2;
    font-weight: 400;
    letter-spacing: -0.5px;
}

.confianz-case__content {
    width: 100%;
    max-width: 900px;
    font-size: 17px;
}

.confianz-case__content > *:last-child {
    margin-bottom: 0;
}


/* =========================================================
   LISTAS
   ========================================================= */

.confianz-case__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 28px 0 0 !important;
}

.confianz-case__list li {
    position: relative;
    padding: 15px 0 15px 26px;
    margin: 0 !important;
    border-top: 1px solid #e6e6e2;
}

.confianz-case__list li:last-child {
    border-bottom: 1px solid #e6e6e2;
}

.confianz-case__list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 26px;
    width: 8px;
    height: 1px;
    background: var(--cf-dark);
}

.confianz-case__sublist {
    list-style: none !important;
    margin: 10px 0 2px !important;
    padding: 0 !important;
}

.confianz-case__sublist li {
    padding: 5px 0 5px 18px;
    border: 0 !important;
    font-size: 16px;
    color: #575757;
}

.confianz-case__sublist li::before {
    top: 16px;
    width: 5px;
}


/* =========================================================
   PUNTOS CLAVE DE VALOR
   ========================================================= */

.confianz-case__value-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 10px;
    border-top: 1px solid var(--cf-line);
    border-bottom: 1px solid var(--cf-line);
}

.confianz-case__value {
    min-height: 210px;
    padding: 28px 28px 28px 0;
    border-right: 1px solid var(--cf-line);
}

.confianz-case__value + .confianz-case__value {
    padding-left: 28px;
}

.confianz-case__value:last-child {
    border-right: 0;
    padding-right: 0;
}

.confianz-case__value-number {
    display: block;
    margin-bottom: 36px;
    color: #a0a09b;
    font-size: 12px;
    letter-spacing: 1px;
}

.confianz-case__value p {
    margin: 0;
    color: var(--cf-dark);
    font-size: 17px;
    line-height: 1.5;
}


/* =========================================================
   RESULTADO EN ROJO
   ========================================================= */

.confianz-case__result {
    width: 100%;
    background: var(--cf-red);
    color: var(--cf-white);
}

.confianz-case__result-inner {
    padding-top: 90px;
    padding-bottom: 90px;
    display: grid;
    grid-template-columns: 280px minmax(0, 850px);
    column-gap: 85px;
}

.confianz-case__result .confianz-case__number {
    color: rgba(255,255,255,0.65);
}

.confianz-case__result .confianz-case__heading {
    color: #ffffff !important;
}

.confianz-case__result-text {
    margin: 0;
    max-width: 800px;
    color: #ffffff !important;
    font-size: clamp(25px, 2.5vw, 36px);
    line-height: 1.35;
    font-weight: 300;
    letter-spacing: -0.5px;
}

.confianz-case__result-text strong {
    color: #ffffff !important;
    font-weight: 600;
}


/* =========================================================
   EQUIPO CONFIANZ
   ========================================================= */

.confianz-case__team-content {
    width: 100%;
    max-width: none;
}

.confianz-case__team-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    width: 100%;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--cf-line);
    border-bottom: 1px solid var(--cf-line);
}

.confianz-case__team-list a {
    display: flex;
    align-items: center;
    min-height: 125px;
    padding: 25px 30px;
    color: var(--cf-dark) !important;
    font-size: clamp(20px, 1.55vw, 28px);
    line-height: 1.18;
    font-weight: 400;
    letter-spacing: -0.5px;
    border-right: 1px solid var(--cf-line);
    transition:
        color .25s ease,
        background-color .25s ease;
}

.confianz-case__team-list a:first-child {
    padding-left: 0;
}

.confianz-case__team-list a:last-child {
    border-right: 0;
}

.confianz-case__team-list a:hover {
    color: var(--cf-red) !important;
}


/* =========================================================
   TESTIMONIO
   ========================================================= */

.confianz-case__testimonial {
    width: 100%;
    padding: 90px 0;
    background: var(--cf-soft);
}

.confianz-case__testimonial-label {
    margin-bottom: 32px;
    color: var(--cf-muted);
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}

.confianz-case__quote {
    max-width: 1050px;
    margin: 0;
    padding: 0;
    border: 0;
    color: var(--cf-dark);
    font-size: clamp(25px, 2.6vw, 37px);
    font-weight: 300;
    line-height: 1.4;
    letter-spacing: -0.7px;
}

.confianz-case__quote::before {
    content: "“";
}

.confianz-case__quote::after {
    content: "”";
}


/* =========================================================
   CTA FINAL
   ========================================================= */

.confianz-case__cta {
    width: 100%;
    padding: 100px 0;
    background: #ffffff;
}

.confianz-case__cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 850px) auto;
    gap: 70px;
    align-items: end;
}

.confianz-case__cta-eyebrow {
    display: block;
    margin-bottom: 22px;
    color: var(--cf-red) !important;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.7px;
}

.confianz-case .confianz-case__cta h2 {
    margin: 0 0 25px;
    padding: 0;
    color: var(--cf-red) !important;
    font-size: clamp(34px, 4vw, 55px);
    line-height: 1.1;
    font-weight: 700 !important;
    letter-spacing: -1.5px;
}

.confianz-case__cta p {
    max-width: 720px;
    margin: 0;
    font-size: 18px;
    color: #555;
}


/* =========================================================
   BOTÓN FINAL
   ========================================================= */

.confianz-case__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    padding: 17px 28px;
    border: 1px solid var(--cf-red);
    border-radius: 0 !important;
    background: var(--cf-red);
    color: #ffffff !important;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.3px;
    white-space: nowrap;
    transition:
        background-color .25s ease,
        color .25s ease,
        transform .25s ease;
}

.confianz-case__button::after {
    content: "→";
    margin-left: 18px;
    font-size: 17px;
    line-height: 0;
    transition: transform .25s ease;
}

.confianz-case__button:hover {
    background: #ffffff;
    color: var(--cf-red) !important;
}

.confianz-case__button:hover::after {
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE TABLET
   ========================================================= */

@media (max-width: 1100px) {

    .confianz-case__facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .confianz-case__fact:nth-child(2) {
        border-right: 0;
    }

    .confianz-case__fact:nth-child(1),
    .confianz-case__fact:nth-child(2) {
        border-bottom: 1px solid var(--cf-line);
    }

    .confianz-case__team-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .confianz-case__team-list a {
        min-height: 105px;
        border-bottom: 1px solid var(--cf-line);
    }

    .confianz-case__team-list a:nth-child(2) {
        border-right: 0;
    }

    .confianz-case__team-list a:nth-child(3),
    .confianz-case__team-list a:nth-child(4) {
        border-bottom: 0;
    }

    .confianz-case__team-list a:nth-child(3) {
        padding-left: 0;
    }
}


@media (max-width: 900px) {

    .confianz-case__container {
        padding-left: 30px;
        padding-right: 30px;
    }

    .confianz-case__hero {
        padding: 65px 0 50px;
    }

    .confianz-case .confianz-case__title {
        letter-spacing: -1.3px;
    }

    .confianz-case__intro {
        margin-top: 28px;
        font-size: 18px;
    }

    .confianz-case__image-strip,
    .confianz-case__image-strip img {
        height: 300px;
    }

    .confianz-case__section,
    .confianz-case__result-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .confianz-case__section {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .confianz-case__result-inner {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .confianz-case__value-grid {
        grid-template-columns: 1fr;
    }

    .confianz-case__value,
    .confianz-case__value + .confianz-case__value {
        min-height: 0;
        padding: 26px 0;
        border-right: 0;
        border-bottom: 1px solid var(--cf-line);
    }

    .confianz-case__value:last-child {
        border-bottom: 0;
    }

    .confianz-case__value-number {
        margin-bottom: 15px;
    }

    .confianz-case__testimonial {
        padding: 65px 0;
    }

    .confianz-case__cta {
        padding: 70px 0;
    }

    .confianz-case__cta-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        align-items: start;
    }
}


/* =========================================================
   RESPONSIVE MÓVIL
   ========================================================= */

@media (max-width: 600px) {

    .confianz-case {
        font-size: 16px;
    }

    .confianz-case__container {
        padding-left: 20px;
        padding-right: 20px;
    }

    .confianz-case__hero {
        padding: 50px 0 42px;
    }

    .confianz-case__category {
        margin-bottom: 23px;
    }

    .confianz-case .confianz-case__title {
        font-size: 39px;
        line-height: 1.07;
        letter-spacing: -1px;
    }

    .confianz-case__image-strip,
    .confianz-case__image-strip img {
        height: 300px;
    }

    .confianz-case__facts {
        grid-template-columns: 1fr;
    }

    .confianz-case__fact,
    .confianz-case__fact:first-child {
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--cf-line);
    }

    .confianz-case__fact:last-child {
        border-bottom: 0;
    }

    .confianz-case__client-row {
        gap: 14px;
        flex-wrap: wrap;
    }

    .confianz-case__client-logo {
        max-width: 110px;
        max-height: 42px;
    }

    .confianz-case__heading {
        font-size: 25px;
    }

    .confianz-case__result-text {
        font-size: 27px;
    }

    .confianz-case__quote {
        font-size: 27px;
    }

    .confianz-case .confianz-case__cta h2 {
        font-size: 36px;
    }

    .confianz-case__button {
        width: 100%;
    }

    .confianz-case__team-list {
        grid-template-columns: 1fr;
    }

    .confianz-case__team-list a,
    .confianz-case__team-list a:first-child,
    .confianz-case__team-list a:nth-child(3) {
        min-height: auto;
        padding: 22px 0;
        font-size: 23px;
        border-right: 0;
        border-bottom: 1px solid var(--cf-line);
    }

    .confianz-case__team-list a:last-child {
        border-bottom: 0;
    }
}

/* ===== Añadidos para contenido desde ACF ===== */

/* Listas del editor WYSIWYG */
.confianz-case__content ul { list-style: none !important; padding: 0 !important; margin: 28px 0 0 !important; }
.confianz-case__content > ul > li { position: relative; padding: 15px 0 15px 26px; margin: 0 !important; border-top: 1px solid #e6e6e2; }
.confianz-case__content > ul > li:last-child { border-bottom: 1px solid #e6e6e2; }
.confianz-case__content > ul > li::before { content: ""; position: absolute; left: 0; top: 26px; width: 8px; height: 1px; background: var(--cf-dark); }
.confianz-case__content ul ul { margin: 10px 0 2px !important; }
.confianz-case__content ul ul li { position: relative; padding: 5px 0 5px 18px; border: 0 !important; font-size: 16px; color: #575757; }
.confianz-case__content ul ul li::before { content: ""; position: absolute; left: 0; top: 16px; width: 5px; height: 1px; background: var(--cf-dark); }
.confianz-case__content ul + p { margin-top: 28px; }

/* Resultado: el texto llega dentro de <p> */
.confianz-case__result-text p { margin: 0; color: #fff !important; font-size: inherit; line-height: inherit; font-weight: inherit; }

/* Testimonio: comillas en el primer y último párrafo */
.confianz-case__quote::before, .confianz-case__quote::after { content: none; }
.confianz-case__quote p { margin: 0 0 1em; }
.confianz-case__quote p:last-child { margin-bottom: 0; }
.confianz-case__quote p:first-child::before { content: "“"; }
.confianz-case__quote p:last-child::after { content: "”"; }

/* Imagen destacada */
.confianz-case__image-strip img { width: 100%; height: 200px; object-fit: cover; }

/* Si no hay "Valor", tres columnas en vez de cuatro */
.confianz-case__facts--3 { grid-template-columns: 1.25fr 1.15fr 0.8fr; }/* End custom CSS */