
.site-footer.rehab-footer-v5,
.site-footer.rehab-footer-v5 * {
    box-sizing: border-box;
}

.site-footer.rehab-footer-v5 {
    position: relative;
    display: block;
    overflow: hidden;
    padding: 78px 0 0;
    background:
        linear-gradient(
            180deg,
            var(--careon-primary) 0%,
            var(--color3) 46%,
            #edf6fb 100%
        );
    font-family: var(--careon-font);
    z-index: 1;
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__bg-shape {
    display: none !important;
}


/* ==========================================================================
   CTA SUPERIOR CON IMAGEN DE FONDO
   ========================================================================== */

.rehab-footer-v5__cta-wrap {
    position: relative;
    display: block;
    margin-bottom: 46px;
}

.site-footer__newsletter-inner.rehab-footer-v5__cta {
    position: relative;
    display: block;
    min-height: auto;
    padding: 0;
    background: transparent;
}

.rehab-footer-v5__cta-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 290px;
    padding: 42px 34px 38px;
    overflow: hidden;
    border: 1px solid rgba(var(--careon-base-rgb), .18);
    border-radius: 28px;
    text-align: center;
    box-shadow:
        0 22px 50px rgba(var(--careon-black-rgb), .16),
        0 4px 14px rgba(var(--careon-black-rgb), .05);
    isolation: isolate;
    background-color: var(--color1);
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.rehab-footer-v5__cta-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 110px;
    height: 4px;
    transform: translateX(-50%);
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, #ffffff, rgba(255,255,255,.55));
    z-index: 2;
}

.rehab-footer-v5__cta-content::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            135deg,
            rgba(0, 64, 124, .70) 0%,
            rgba(0, 77, 125, .60) 48%,
            rgba(0, 126, 178, .48) 100%
        );
    pointer-events: none;
    z-index: 1;
}

.rehab-footer-v5__cta-copy {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 760px;
    text-align: center;
}

.rehab-footer-v5__cta-kicker {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 12px;
    border: 1px solid rgba(255,255,255,.20);
    border-radius: 999px;
    background: rgba(255,255,255,.10);
    color: #e2f7ff;
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .05px;
    backdrop-filter: blur(2px);
}

.site-footer__newsletter-title.rehab-footer-v5__cta-title {
    max-width: 760px;
    margin: 0 auto;
    color: var(--white);
    font-family: var(--careon-font);
    font-size: clamp(29px, 2.9vw, 40px);
    line-height: 1.23;
    font-weight: 800;
    letter-spacing: -.22px;
    word-spacing: .9px;
    text-align: center !important;
    text-shadow: 0 3px 14px rgba(0, 20, 45, .48);
}

.site-footer__newsletter-title.rehab-footer-v5__cta-title strong {
    color: var(--white);
    font-weight: 800;
}

.rehab-footer-v5__cta-actions {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 13px;
    width: 100%;
    margin-top: 24px;
}

.rehab-footer-v5__cta-btn-box {
    position: relative;
    display: block;
}


/* ==========================================================================
   BOTONES CTA
   ========================================================================== */

.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn,
.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 210px;
    min-height: 52px;
    padding: 13px 20px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: var(--white);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .04px;
    word-spacing: .35px;
    box-shadow: 0 10px 22px rgba(0,0,0,.18);
    cursor: pointer;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        filter .25s ease;
    backdrop-filter: blur(2px);
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn {
    background: var(--color4);
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn {
    background: var(--color5);
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn::before,
.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn::after,
.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn::before,
.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn::after {
    content: none !important;
    display: none !important;
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn:hover,
.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn:hover {
    transform: translateY(-2px);
    color: var(--white);
    filter: brightness(1.05);
    box-shadow: 0 14px 28px rgba(0,0,0,.22);
}

.site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn i,
.site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,.16);
    color: var(--white);
    font-size: 15px;
}


/* ==========================================================================
   CONTENIDO PRINCIPAL
   ========================================================================== */

.site-footer__top.rehab-footer-v5__top {
    position: relative;
    display: block;
}

.site-footer__top-inner.rehab-footer-v5__top-inner {
    position: relative;
    display: block;
    padding: 0 0 58px;
}

.rehab-footer-v5__grid {
    row-gap: 24px;
}

.rehab-footer-v5__grid > [class*="col-"] {
    display: flex;
}

.rehab-footer-v5__panel {
    position: relative;
    display: block;
    width: 100%;
    min-height: 100%;
    padding: 28px 26px;
    border: 1px solid rgba(var(--careon-black-rgb), .09);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow:
        0 14px 34px rgba(var(--careon-black-rgb), .06),
        0 3px 10px rgba(var(--careon-black-rgb), .025);
}

.rehab-footer-v5__panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 26px;
    width: 54px;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--color1), var(--color2));
}

.rehab-footer-v5__logo-box {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 68px;
    margin-bottom: 20px;
    padding: 9px 13px;
  
    border-radius: 14px;
    background: var(--white);
}

.rehab-footer-v5__logo-box img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: auto;
    object-fit: contain;
}

.footer-widget-two__newsletter-text.rehab-footer-v5__description {
    margin: 0;
    color: var(--careon-gray);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.72;
    font-weight: 400;
    letter-spacing: .05px;
    word-spacing: .5px;
}

.footer-widget__page-link.rehab-footer-v5__contact-block--right {
    margin-left: 0;
}

.footer-widget__title.rehab-footer-v5__title {
    position: relative;
    display: inline-block;
    margin: 0 0 24px;
    padding-bottom: 12px;
    color: var(--color1);
    font-family: var(--careon-font);
    font-size: 21px;
    line-height: 1.3;
    font-weight: 800;
    text-transform: none;
}

.footer-widget__title.rehab-footer-v5__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--color2);
}


/* ==========================================================================
   LISTA DE CONTACTO
   ========================================================================== */

.footer-widget__contact-list.rehab-footer-v5__contact-list {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.footer-widget__contact-list.rehab-footer-v5__contact-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    padding: 13px 0;
    border-bottom: 1px solid rgba(var(--careon-black-rgb), .07);
}

.footer-widget__contact-list.rehab-footer-v5__contact-list li:first-child {
    padding-top: 0;
}

.footer-widget__contact-list.rehab-footer-v5__contact-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.footer-widget__contact-icon.rehab-footer-v5__contact-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(var(--careon-base-rgb), .13);
    border-radius: 11px;
    background: var(--careon-primary);
    color: var(--color2);
    transition:
        transform .25s ease,
        background-color .25s ease,
        color .25s ease;
}

.footer-widget__contact-icon.rehab-footer-v5__contact-icon i {
    color: var(--color2);
    font-size: 16px;
    transition: color .25s ease;
}

.footer-widget__contact-icon.rehab-footer-v5__contact-icon--whatsapp {
    background: rgba(0,138,62,.08);
    border-color: rgba(0,138,62,.14);
}

.footer-widget__contact-icon.rehab-footer-v5__contact-icon--whatsapp i {
    color: var(--color4);
}

.rehab-footer-v5__contact-list li:hover .rehab-footer-v5__contact-icon {
    transform: translateY(-2px);
    background: var(--color2);
}

.rehab-footer-v5__contact-list li:hover .rehab-footer-v5__contact-icon i {
    color: var(--white);
}

.rehab-footer-v5__contact-list li:hover .rehab-footer-v5__contact-icon--whatsapp {
    background: var(--color4);
}

.footer-widget__contact-content.rehab-footer-v5__contact-content {
    position: relative;
    display: block;
    min-width: 0;
    flex: 1;
}

.footer-widget__contact-content.rehab-footer-v5__contact-content > span {
    display: block;
    margin-bottom: 5px;
    color: var(--careon-gray);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.3;
    font-weight: 500;
}

.footer-widget__contact-text.rehab-footer-v5__contact-text {
    margin: 0;
    color: var(--color1);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: .02px;
    word-spacing: .35px;
    overflow-wrap: anywhere;
}

.footer-widget__contact-text.rehab-footer-v5__contact-text a {
    color: var(--color1);
    text-decoration: none;
    transition: color .25s ease;
}

.footer-widget__contact-text.rehab-footer-v5__contact-text a:hover {
    color: var(--color2);
}


/* ==========================================================================
   FRANJA INFERIOR
   ========================================================================== */

.site-footer__bottom.rehab-footer-v5__bottom {
    position: relative;
    display: block;
    background: var(--color1);
}

.site-footer__bottom-inner.rehab-footer-v5__bottom-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 24px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
}

.site-footer__copyright-text.rehab-footer-v5__copyright-text {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin: 0;
    color: rgba(var(--careon-white-rgb), .76);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.5;
}

.site-footer__copyright-text.rehab-footer-v5__copyright-text a {
    color: var(--white);
}

.rehab-footer-v5__copyright .doctorweb {
    display: inline-flex;
    align-items: center;
}

.rehab-footer-v5__copyright .doctorweb img {
    max-height: 28px;
    width: auto;
}

.site-footer__bottom-menu.rehab-footer-v5__bottom-menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px 20px;
    margin: 0;
}

.site-footer__bottom-menu.rehab-footer-v5__bottom-menu li a {
    color: rgba(var(--careon-white-rgb), .99);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
    text-decoration: none;
    transition: color .25s ease;
}

.site-footer__bottom-menu.rehab-footer-v5__bottom-menu li a:hover {
    color: var(--white);
}


/* ==========================================================================
   TABLET
   ========================================================================== */

@media (max-width: 1199px) {

    .site-footer.rehab-footer-v5 {
        padding-top: 70px;
    }

    .site-footer__bottom-inner.rehab-footer-v5__bottom-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .site-footer__bottom-menu.rehab-footer-v5__bottom-menu {
        justify-content: flex-start;
    }
}

@media (max-width: 991px) {

    .site-footer.rehab-footer-v5 {
        padding-top: 62px;
    }

    .rehab-footer-v5__cta-content {
        min-height: 270px;
        padding: 34px 28px 32px;
        border-radius: 24px;
    }

    .rehab-footer-v5__grid {
        row-gap: 22px;
    }
}


/* ==========================================================================
   MÓVIL
   ========================================================================== */

@media (max-width: 767px) {

    .site-footer.rehab-footer-v5 {
        padding-top: 54px;
    }

    .rehab-footer-v5__cta-content {
        min-height: 250px;
        padding: 30px 20px 28px;
        border-radius: 22px;
        background-position: center center;
    }

    .site-footer__newsletter-title.rehab-footer-v5__cta-title {
        width: 100%;
        margin: 0 auto;
        font-size: clamp(26px, 7.7vw, 33px);
        line-height: 1.26;
        text-align: center !important;
    }

    .rehab-footer-v5__cta-actions {
        flex-direction: column;
        width: 100%;
        margin-top: 22px;
    }

    .rehab-footer-v5__cta-btn-box {
        width: 100%;
        max-width: 310px;
    }

    .site-footer.rehab-footer-v5 .rehab-footer-v5__whatsapp-btn,
    .site-footer.rehab-footer-v5 .rehab-footer-v5__phone-btn {
        width: 100%;
        min-width: 0;
        min-height: 53px;
        font-size: 16px;
    }

    .site-footer__top-inner.rehab-footer-v5__top-inner {
        padding-bottom: 44px;
    }

    .rehab-footer-v5__panel {
        padding: 24px 21px;
        border-radius: 18px;
    }

    .rehab-footer-v5__logo-box {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-widget-two__newsletter-text.rehab-footer-v5__description {
        text-align: center;
    }

    .footer-widget__title.rehab-footer-v5__title {
        display: table;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .footer-widget__title.rehab-footer-v5__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .site-footer__bottom-inner.rehab-footer-v5__bottom-inner {
        align-items: center;
        padding: 22px 0;
        text-align: center;
    }

    .site-footer__copyright-text.rehab-footer-v5__copyright-text {
        justify-content: center;
        text-align: center;
    }

    .site-footer__bottom-menu.rehab-footer-v5__bottom-menu {
        justify-content: center;
        gap: 10px 17px;
    }
}

@media (max-width: 420px) {

    .site-footer.rehab-footer-v5 {
        padding-top: 48px;
    }

    .rehab-footer-v5__cta-content {
        min-height: 235px;
        padding: 27px 16px 25px;
    }

    .site-footer__newsletter-title.rehab-footer-v5__cta-title {
        font-size: clamp(25px, 7.8vw, 31px);
    }

    .rehab-footer-v5__panel {
        padding: 22px 17px;
    }

    .rehab-footer-v5__logo-box img {
        max-width: 165px;
    }

    .footer-widget__contact-list.rehab-footer-v5__contact-list li {
        gap: 11px;
    }

    .footer-widget__contact-icon.rehab-footer-v5__contact-icon {
        flex-basis: 39px;
        width: 39px;
        height: 39px;
    }
}


