
.site-footer.site-footer--brenda {
    position: relative;
    display: block;
    padding: 92px 0 0;
    background:
        linear-gradient(
            180deg,
            var(--careon-white) 0%,
            var(--color3) 52%,
            rgba(var(--careon-primary-rgb), 0.52) 100%
        );
    overflow: hidden;
    z-index: 1;
}

.site-footer--brenda .site-footer__bg-shape {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    opacity: 0.08;
    pointer-events: none;
    z-index: -2;
}

.site-footer.site-footer--brenda::before,
.site-footer.site-footer--brenda::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.site-footer.site-footer--brenda::before {
    width: 360px;
    height: 360px;
    left: -190px;
    top: 300px;
    background: radial-gradient(
        circle,
        rgba(var(--careon-base-rgb), 0.10) 0%,
        rgba(var(--careon-base-rgb), 0) 72%
    );
}

.site-footer.site-footer--brenda::after {
    width: 420px;
    height: 420px;
    right: -210px;
    bottom: 60px;
    background: radial-gradient(
        circle,
        rgba(var(--careon-primary-rgb), 0.78) 0%,
        rgba(var(--careon-primary-rgb), 0) 72%
    );
}

/*==============================================================
  CTA SUPERIOR
==============================================================*/

.site-footer--brenda .site-footer__newsletter {
    position: relative;
    display: block;
}

.site-footer--brenda .site-footer__newsletter-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 380px;
    padding: 58px 72px;
    border-radius: calc(var(--careon-bdr-radius) + 12px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(var(--careon-black-rgb), 0.10);
    box-shadow: 0 26px 70px rgba(var(--careon-gray-rgb), 0.14);
    background-color: var(--color3);
    z-index: 1;
}

/*
  IMPORTANTE:
  La fotografía ahora es un <img> real posicionado detrás del CTA.
  Esto evita que el background-image se pierda por rutas de CSS,
  overlays, caché o estilos heredados.
*/
.site-footer--brenda .nbf-footer-cta-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: -3;
}

.site-footer--brenda .nbf-footer-cta-bg img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center 48%;
    transform: scale(1.01);
    transition: transform 0.9s ease;
}

.site-footer--brenda .site-footer__newsletter-inner:hover .nbf-footer-cta-bg img {
    transform: scale(1.045);
}

/* Overlay suave: deja VER la fotografía */
.site-footer--brenda .site-footer__newsletter-inner::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(var(--careon-black-rgb), 0.54) 0%,
            rgba(var(--careon-black-rgb), 0.39) 38%,
            rgba(var(--careon-black-rgb), 0.24) 62%,
            rgba(var(--careon-black-rgb), 0.10) 100%
        );
    z-index: -2;
    pointer-events: none;
}

/* Marco interior fino */
.site-footer--brenda .site-footer__newsletter-inner::after {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid rgba(var(--careon-white-rgb), 0.30);
    border-radius: calc(var(--careon-bdr-radius) + 3px);
    pointer-events: none;
    z-index: 1;
}

.site-footer--brenda .site-footer__newsletter-inner-title-box {
    position: relative;
    width: 100%;
    max-width: 790px;
    text-align: center;
    z-index: 2;
}

.site-footer--brenda .site-footer__newsletter-title {
    color: var(--careon-white);
    font-size: 40px;
    line-height: 1.28;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0;
    text-wrap: balance;
    text-shadow:
        0 3px 12px rgba(var(--careon-gray-rgb), 0.34),
        0 1px 2px rgba(var(--careon-gray-rgb), 0.26);
}

.site-footer--brenda .site-footer__newsletter-title strong {
    color: var(--careon-primary);
    font-weight: 700;
}

.site-footer--brenda .nbf-footer-cta-actions {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.site-footer--brenda .faq-two__btn-box {
    position: relative;
    display: block;
}

.site-footer--brenda .faq-two__btn-box .thm-btn,
.site-footer--brenda .faq-two__btn-box .thm-btn-1 {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 15px 25px;
    border-radius: 999px;
    color: var(--careon-white);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 1px solid rgba(var(--careon-white-rgb), 0.30);
    box-shadow: 0 10px 26px rgba(var(--careon-gray-rgb), 0.20);
    transition:
        transform 0.30s ease,
        box-shadow 0.30s ease,
        background-color 0.30s ease,
        color 0.30s ease;
    cursor: pointer;
}

.site-footer--brenda .faq-two__btn-box .thm-btn {
    background-color: var(--color4);
}

.site-footer--brenda .faq-two__btn-box .thm-btn-1 {
    background-color: var(--color5);
}

.site-footer--brenda .faq-two__btn-box .thm-btn:hover,
.site-footer--brenda .faq-two__btn-box .thm-btn-1:hover {
    transform: translateY(-3px);
    background-color: var(--careon-white);
    color: var(--color1);
    box-shadow: 0 14px 32px rgba(var(--careon-gray-rgb), 0.22);
}

/*==============================================================
  CUERPO DEL FOOTER
==============================================================*/

.site-footer--brenda .site-footer__top {
    position: relative;
    display: block;
}

.site-footer--brenda .site-footer__top-inner {
    position: relative;
    display: block;
    margin-top: 30px;
    padding: 50px 42px 44px;
    background: rgba(var(--careon-white-rgb), 0.86);
    border: 1px solid rgba(var(--careon-base-rgb), 0.10);
    border-radius: calc(var(--careon-bdr-radius) + 8px);
    box-shadow: 0 20px 55px rgba(var(--careon-gray-rgb), 0.07);
    overflow: hidden;
}

.site-footer--brenda .site-footer__top-inner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    right: 22px;
    height: 4px;
    border-radius: 0 0 10px 10px;
    background: linear-gradient(
        90deg,
        var(--color1) 0%,
        var(--color2) 58%,
        var(--careon-primary) 100%
    );
}

.site-footer--brenda .site-footer__top-inner .row {
    align-items: stretch;
}

.site-footer--brenda .site-footer__top-inner .row > div {
    position: relative;
}

.site-footer--brenda .site-footer__top-inner .row > div:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 8px;
    right: 0;
    bottom: 8px;
    width: 1px;
    background: linear-gradient(
        180deg,
        rgba(var(--careon-base-rgb), 0) 0%,
        rgba(var(--careon-base-rgb), 0.15) 18%,
        rgba(var(--careon-base-rgb), 0.15) 82%,
        rgba(var(--careon-base-rgb), 0) 100%
    );
}

.site-footer--brenda .footer-widget-two__newsletter-box,
.site-footer--brenda .footer-widget__contact-info,
.site-footer--brenda .footer-widget__page-link {
    position: relative;
    display: block;
    height: 100%;
    padding: 6px 28px;
    margin: 0;
}

.site-footer--brenda .footer-widget-two__newsletter-box {
    padding-left: 8px;
}

.site-footer--brenda .footer-widget-two__newsletter-box img {
    width: auto;
    max-width: 175px;
    height: auto;
    display: block;
    margin-bottom: 24px;
}

.site-footer--brenda .footer-widget-two__newsletter-text {
    color: var(--careon-gray);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: 0.01em;
    margin: 0;
    max-width: 340px;
}

.site-footer--brenda .footer-widget__title {
    position: relative;
    display: inline-block;
    color: var(--color1);
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    letter-spacing: 0.01em;
    margin: 0 0 24px;
    padding-bottom: 10px;
}

.site-footer--brenda .footer-widget__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 10px;
    background: linear-gradient(90deg, var(--color1) 0%, var(--color2) 100%);
}

/*==============================================================
  DATOS DE CONTACTO
==============================================================*/

.site-footer--brenda .footer-widget__contact-list {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 0;
}

.site-footer--brenda .footer-widget__contact-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0 !important;
    padding: 14px 15px;
    background: rgba(var(--careon-primary-rgb), 0.25);
    border: 1px solid rgba(var(--careon-base-rgb), 0.11);
    border-radius: 14px;
    transition:
        transform 0.30s ease,
        background-color 0.30s ease,
        border-color 0.30s ease,
        box-shadow 0.30s ease;
}

.site-footer--brenda .footer-widget__contact-list li:hover {
    transform: translateY(-2px);
    background: rgba(var(--careon-primary-rgb), 0.40);
    border-color: rgba(var(--careon-base-rgb), 0.20);
    box-shadow: 0 10px 24px rgba(var(--careon-gray-rgb), 0.055);
}

.site-footer--brenda .footer-widget__contact-icon {
    position: relative;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--color2);
    background: var(--careon-white);
    border: 1px solid rgba(var(--careon-base-rgb), 0.16);
    box-shadow: 0 8px 18px rgba(var(--careon-gray-rgb), 0.05);
}

.site-footer--brenda .footer-widget__contact-icon i,
.site-footer--brenda .footer-widget__contact-icon span {
    color: var(--color2);
    font-size: 16px;
}

.site-footer--brenda .footer-widget__contact-content {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
}

.site-footer--brenda .footer-widget__contact-content > span {
    display: block;
    color: var(--color1);
    font-size: 16px;
    line-height: 1.35;
    font-weight: 700;
    margin-bottom: 4px;
}

.site-footer--brenda .footer-widget__contact-text {
    color: var(--careon-gray);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 500;
    margin: 0;
    overflow-wrap: anywhere;
}

.site-footer--brenda .footer-widget__contact-text a {
    color: var(--careon-gray);
    text-decoration: none;
    transition: color 0.30s ease;
}

.site-footer--brenda .footer-widget__contact-text a:hover {
    color: var(--color2);
}

/*==============================================================
  PIE LEGAL
==============================================================*/

.site-footer--brenda .site-footer__bottom {
    position: relative;
    display: block;
    margin-top: 24px;
}

.site-footer--brenda .site-footer__bottom-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 30px;
    background: var(--careon-white);
    border: 1px solid rgba(var(--careon-base-rgb), 0.10);
    border-bottom: 0;
    border-radius: var(--careon-bdr-radius) var(--careon-bdr-radius) 0 0;
    box-shadow: 0 -8px 30px rgba(var(--careon-gray-rgb), 0.04);
}

.site-footer--brenda .site-footer__copyright-text {
    color: var(--careon-gray);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.site-footer--brenda .site-footer__copyright-text a {
    color: var(--color2);
}

.site-footer--brenda .site-footer__bottom-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 0;
}

.site-footer--brenda .site-footer__bottom-menu li {
    position: relative;
    display: block;
}

.site-footer--brenda .site-footer__bottom-menu li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -11px;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color2);
    transform: translateY(-50%);
}

.site-footer--brenda .site-footer__bottom-menu li a {
    color: var(--careon-gray);
    font-size: 16px;
    line-height: 1.5;
    text-decoration: none;
    transition: color 0.30s ease;
}

.site-footer--brenda .site-footer__bottom-menu li a:hover {
    color: var(--color2);
}

.site-footer--brenda .doctorweb {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.site-footer--brenda .doctorweb img {
    max-height: 24px;
    width: auto;
}

/*==============================================================
  ANIMACIÓN PROPIA
==============================================================*/

.site-footer--brenda .nbf-footer-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition:
        opacity 0.70s ease,
        transform 0.70s ease;
    transition-delay: var(--nbf-footer-delay, 0ms);
}

.site-footer--brenda .nbf-footer-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*==============================================================
  RESPONSIVE
==============================================================*/

@media (max-width: 1199px) {
    .site-footer.site-footer--brenda {
        padding-top: 84px;
    }

    .site-footer--brenda .site-footer__newsletter-inner {
        min-height: 350px;
        padding: 52px 56px;
    }

    .site-footer--brenda .site-footer__newsletter-title {
        font-size: 36px;
    }

    .site-footer--brenda .nbf-footer-cta-bg img {
        object-position: center 48%;
    }

    .site-footer--brenda .site-footer__top-inner {
        padding: 46px 28px 40px;
    }

    .site-footer--brenda .footer-widget-two__newsletter-box,
    .site-footer--brenda .footer-widget__contact-info,
    .site-footer--brenda .footer-widget__page-link {
        padding-left: 18px;
        padding-right: 18px;
    }
}

@media (max-width: 991px) {
    .site-footer.site-footer--brenda {
        padding-top: 76px;
    }

    .site-footer--brenda .site-footer__newsletter-inner {
        min-height: 340px;
        padding: 48px 36px;
    }

    .site-footer--brenda .site-footer__newsletter-title {
        font-size: 32px;
    }

    .site-footer--brenda .site-footer__newsletter-inner::before {
        background:
            linear-gradient(
                90deg,
                rgba(var(--careon-black-rgb), 0.48) 0%,
                rgba(var(--careon-black-rgb), 0.34) 52%,
                rgba(var(--careon-black-rgb), 0.16) 100%
            );
    }

    .site-footer--brenda .nbf-footer-cta-bg img {
        object-position: 56% center;
    }

    .site-footer--brenda .site-footer__top-inner {
        padding: 44px 28px 36px;
    }

    .site-footer--brenda .site-footer__top-inner .row {
        row-gap: 34px;
    }

    .site-footer--brenda .site-footer__top-inner .row > div:not(:last-child)::after {
        display: none;
    }

    .site-footer--brenda .footer-widget-two__newsletter-box,
    .site-footer--brenda .footer-widget__contact-info,
    .site-footer--brenda .footer-widget__page-link {
        padding: 0;
    }

    .site-footer--brenda .site-footer__bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .site-footer--brenda .site-footer__bottom-menu {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .site-footer.site-footer--brenda {
        padding-top: 66px;
    }

    .site-footer--brenda .site-footer__newsletter-inner {
        min-height: 430px;
        padding: 42px 22px;
        align-items: flex-end;
    }

    /*
      En móvil la foto conserva protagonismo:
      se muestra más alta y el encuadre se desplaza
      para no perder el motivo principal de la imagen.
    */
    .site-footer--brenda .nbf-footer-cta-bg img {
        object-position: 62% center;
    }

    .site-footer--brenda .site-footer__newsletter-inner::before {
        background:
            linear-gradient(
                180deg,
                rgba(var(--careon-black-rgb), 0.08) 0%,
                rgba(var(--careon-black-rgb), 0.16) 34%,
                rgba(var(--careon-black-rgb), 0.48) 72%,
                rgba(var(--careon-black-rgb), 0.62) 100%
            );
    }

    .site-footer--brenda .site-footer__newsletter-inner-title-box {
        max-width: 600px;
    }

    .site-footer--brenda .site-footer__newsletter-title {
        font-size: 28px;
        line-height: 1.32;
        text-align: center;
    }

    .site-footer--brenda .nbf-footer-cta-actions {
        margin-top: 24px;
    }

    .site-footer--brenda .site-footer__top-inner {
        margin-top: 26px;
        padding: 40px 22px 34px;
        border-radius: calc(var(--careon-bdr-radius) + 2px);
    }

    .site-footer--brenda .site-footer__top-inner::before {
        left: 22px;
        right: 22px;
    }

    .site-footer--brenda .footer-widget__title {
        font-size: 21px;
    }

    .site-footer--brenda .footer-widget-two__newsletter-text,
    .site-footer--brenda .footer-widget__contact-content > span,
    .site-footer--brenda .footer-widget__contact-text,
    .site-footer--brenda .site-footer__copyright-text,
    .site-footer--brenda .site-footer__bottom-menu li a {
        font-size: 16px;
    }

    .site-footer--brenda .site-footer__bottom-inner {
        padding: 22px 18px;
    }
}

@media (max-width: 575px) {
    .site-footer.site-footer--brenda {
        padding-top: 58px;
    }

    .site-footer--brenda .site-footer__newsletter-inner {
        min-height: 470px;
        padding: 38px 16px;
        border-radius: var(--careon-bdr-radius);
    }

    .site-footer--brenda .site-footer__newsletter-inner::after {
        inset: 9px;
        border-radius: calc(var(--careon-bdr-radius) - 5px);
    }

    .site-footer--brenda .nbf-footer-cta-bg img {
        object-position: 64% center;
    }

    .site-footer--brenda .site-footer__newsletter-title {
        font-size: 26px;
        line-height: 1.34;
    }

    .site-footer--brenda .nbf-footer-cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .site-footer--brenda .faq-two__btn-box {
        width: 100%;
    }

    .site-footer--brenda .faq-two__btn-box .thm-btn,
    .site-footer--brenda .faq-two__btn-box .thm-btn-1 {
        width: 100%;
        max-width: 330px;
        margin: 0 auto;
    }

    .site-footer--brenda .site-footer__top-inner {
        padding: 36px 16px 30px;
    }

    .site-footer--brenda .footer-widget-two__newsletter-box img {
        max-width: 155px;
    }

    .site-footer--brenda .footer-widget__contact-list li {
        padding: 13px 12px;
    }

    .site-footer--brenda .footer-widget__contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .site-footer--brenda .site-footer__bottom-menu {
        flex-direction: column;
        gap: 8px;
    }

    .site-footer--brenda .site-footer__bottom-menu li::after {
        display: none !important;
    }
}

@media (max-width: 380px) {
    .site-footer--brenda .site-footer__newsletter-inner {
        min-height: 490px;
        padding-left: 13px;
        padding-right: 13px;
    }

    .site-footer--brenda .site-footer__newsletter-title {
        font-size: 24px;
    }

    .site-footer--brenda .nbf-footer-cta-bg img {
        object-position: 66% center;
    }

    .site-footer--brenda .site-footer__top-inner {
        padding-left: 13px;
        padding-right: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .site-footer--brenda .nbf-footer-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .site-footer--brenda .nbf-footer-cta-bg img,
    .site-footer--brenda .footer-widget__contact-list li {
        transition: none;
    }
}