/* ==============================================================
   EG PERSIANA STUDIO
   FOOTER ELEGANTE Y COHERENTE CON TODO EL HOME
   ============================================================== */

.eg-footer.site-footer {
    position: relative;
    display: block;
    padding: 82px 0 0;
    overflow: hidden;
    background-color: var(--color1);
    background-image:
        radial-gradient(
            circle at 10% 18%,
            rgba(var(--careon-base-rgb), .10) 0%,
            rgba(var(--careon-base-rgb), 0) 28%
        ),
        radial-gradient(
            circle at 92% 78%,
            rgba(var(--careon-base-rgb), .07) 0%,
            rgba(var(--careon-base-rgb), 0) 26%
        );
    background-repeat: no-repeat;
    font-family: var(--careon-font);
    z-index: 1;
}

/* Forma original del template, ahora mucho más discreta */
.eg-footer .site-footer__bg-shape.eg-footer__shape {
    position: absolute;
    inset: 0;
    opacity: .24;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    filter: grayscale(1) contrast(1.08);
    mix-blend-mode: luminosity;
    pointer-events: none;
    z-index: 0;
}

/* Detalle circular elegante */
.eg-footer::before {
    content: "";
    position: absolute;
    top: -150px;
    right: -130px;
    width: 330px;
    height: 330px;
    border: 1px solid rgba(var(--careon-base-rgb), .18);
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.eg-footer::after {
    content: "";
    position: absolute;
    left: -120px;
    bottom: 105px;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: rgba(var(--careon-base-rgb), .05);
    pointer-events: none;
    z-index: -1;
}

/* ==============================================================
   CTA SUPERIOR
   ============================================================== */

.eg-footer .site-footer__newsletter.eg-footer-cta {
    position: relative;
    display: block;
    z-index: 2;
}

.eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    padding: 42px 52px;
    overflow: hidden;
    border: 1px solid rgba(var(--careon-base-rgb), .24);
    border-radius: 30px;

    /* LA IMAGEN VA DIRECTAMENTE DENTRO DE ESTE CONTENEDOR */
    background-color: transparent !important;
    background-image: url('../../images/resources/contacto-persianas-y-cortinas-en-chihuahua.jpg') !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;

    box-shadow: 0 26px 70px rgba(var(--careon-black-rgb), .30);
    isolation: isolate;
    z-index: 2;
}

/* Capa MUY ligera: solo ayuda a leer, no tapa la fotografía */
.eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        linear-gradient(
            90deg,
            rgba(var(--careon-black-rgb), .12) 0%,
            rgba(var(--careon-black-rgb), .05) 48%,
            rgba(var(--careon-black-rgb), .12) 100%
        );
    pointer-events: none;
    z-index: 0;
}

.eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner::after {
    content: "";
    position: absolute;
    top: -80px;
    right: -70px;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(var(--careon-base-rgb), .24);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Solo el contenido lleva un panel claro translúcido.
   De esta forma la imagen permanece visible alrededor y también se insinúa detrás. */
.eg-footer .site-footer__newsletter-inner-title-box.eg-footer-cta__content {
    position: relative;
    display: block;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 34px 42px 36px;
    border: 1px solid rgba(var(--careon-white-rgb), .58);
    border-radius: 24px;
    background-color: rgba(var(--careon-white-rgb), .76);
    box-shadow:
        0 18px 42px rgba(var(--careon-black-rgb), .14),
        inset 0 1px 0 rgba(var(--careon-white-rgb), .62);
    backdrop-filter: blur(3px);
    text-align: center;
    z-index: 2;
}

.eg-footer .site-footer__newsletter-inner-title-box.eg-footer-cta__content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    width: 78px;
    height: 3px;
    border-radius: 0 0 var(--careon-bdr-radius) var(--careon-bdr-radius);
    background-color: var(--color2);
    transform: translateX(-50%);
}

.eg-footer-cta__eyebrow {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
    color: var(--color2);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
    letter-spacing: .045em;
    word-spacing: .055em;
}

.eg-footer .site-footer__newsletter-title.eg-footer-cta__title {
    margin: 0;
    color: var(--color1);
    font-family: var(--careon-title);
    font-size: 46px;
    line-height: 1.10;
    font-weight: 700;
    letter-spacing: -0.012em;
    word-spacing: .025em;
    text-wrap: balance;
    text-shadow:
        0 1px 0 rgba(var(--careon-white-rgb), .55),
        0 3px 14px rgba(var(--careon-black-rgb), .12);
}

.eg-footer .site-footer__newsletter-title.eg-footer-cta__title strong {
    display: block;
    margin-top: 6px;
    color: var(--color2);
    font-family: var(--careon-title);
    font-weight: 700;
    text-shadow:
        0 1px 0 rgba(var(--careon-white-rgb), .40),
        0 2px 10px rgba(var(--careon-black-rgb), .10);
}

.eg-footer-cta__text {
    max-width: 650px;
    margin: 20px auto 0;
    color: var(--careon-gray);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.85;
    font-weight: 400;
    letter-spacing: .012em;
    word-spacing: .04em;
    text-shadow: 0 1px 8px rgba(var(--careon-white-rgb), .20);
}

.eg-footer-cta__buttons {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.eg-footer .faq-two__btn-box.eg-footer-cta__button-box {
    position: relative;
    display: block;
    margin: 0;
    text-align: center;
}

.eg-footer-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 6px 7px 6px 22px !important;
    border-radius: var(--careon-bdr-radius);
    color: var(--careon-white) !important;
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.4;
    font-weight: 700;
    letter-spacing: .02em;
    word-spacing: .035em;
    box-shadow: 0 12px 28px rgba(var(--careon-black-rgb), .12);
}

.eg-footer-btn--whatsapp {
    background-color: var(--color4) !important;
}

.eg-footer-btn--phone {
    background-color: var(--color5) !important;
}

.eg-footer-btn::before,
.eg-footer-btn::after {
    background-color: var(--color1) !important;
}

.eg-footer-btn i {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 40px !important;
    height: 40px !important;
    margin-left: 16px !important;
    border-radius: 50%;
    background-color: rgba(var(--careon-white-rgb), .13) !important;
    color: var(--careon-white) !important;
    font-size: 16px;
}

/* ==============================================================
   ÁREA PRINCIPAL DEL FOOTER
   ============================================================== */

.eg-footer .site-footer__top.eg-footer__top {
    position: relative;
    display: block;
    z-index: 2;
}

.eg-footer .site-footer__top-inner.eg-footer__top-inner {
    position: relative;
    display: block;
    padding: 72px 0 64px;
    border-top: 1px solid rgba(var(--careon-white-rgb), .06);
}

.eg-footer__grid {
    align-items: flex-start;
    row-gap: 40px;
}

/* ==============================================================
   MARCA
   ============================================================== */

.eg-footer-brand {
    position: relative;
    display: block;
    height: 100%;
    padding: 28px 26px;
    padding-right: 30px;
    border: 1px solid rgba(var(--careon-white-rgb), .08);
    border-radius: 24px;
    background-color: rgba(var(--careon-black-rgb), .44);
    backdrop-filter: blur(2px);
}

.eg-footer-brand__logo {
    position: relative;
    display: block;
    margin-bottom: 26px;
}

.eg-footer-brand__logo img {
    display: block;
    width: auto;
    max-width: 300px;
    max-height: 300px;
    object-fit: contain;
}

.eg-footer-brand__text,
.eg-footer .footer-widget-two__newsletter-text.eg-footer-brand__text {
    margin: 0;
    color: rgba(var(--careon-white-rgb), .96);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.9;
    font-weight: 400;
    letter-spacing: .012em;
    word-spacing: .04em;
}

.eg-footer-brand__accent {
    width: 58px;
    height: 2px;
    margin-top: 26px;
    border-radius: var(--careon-bdr-radius);
    background-color: var(--color2);
}

/* ==============================================================
   WIDGETS
   ============================================================== */

.eg-footer-widget,
.eg-footer .footer-widget__page-link.eg-footer-widget {
    position: relative;
    display: block;
    height: 100%;
    margin-left: 0;
    padding: 28px 26px;
    border: 1px solid rgba(var(--careon-white-rgb), .08);
    border-radius: 24px;
    background-color: rgba(var(--careon-black-rgb), .44);
    backdrop-filter: blur(2px);
}

.eg-footer .footer-widget__title.eg-footer-widget__title {
    position: relative;
    display: inline-block;
    margin: 0 0 30px;
    padding-bottom: 13px;
    color: var(--careon-white);
    font-family: var(--careon-title);
    font-size: 26px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -0.008em;
    text-transform: none;
}

.eg-footer .footer-widget__title.eg-footer-widget__title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 2px;
    border-radius: var(--careon-bdr-radius);
    background-color: var(--color2);
}

/* ==============================================================
   LISTA DE CONTACTO
   ============================================================== */

.eg-footer .footer-widget__contact-list.eg-footer-contact-list {
    position: relative;
    display: block;
    margin: 0;
}

.eg-footer .footer-widget__contact-list.eg-footer-contact-list li {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
}

.eg-footer .footer-widget__contact-list.eg-footer-contact-list li + li {
    margin-top: 18px;
}

.eg-footer .footer-widget__contact-icon.eg-footer-contact-icon {
    position: relative;
    display: flex;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(var(--careon-base-rgb), .34);
    border-radius: 50%;
    background-color: rgba(var(--careon-base-rgb), .08);
    color: var(--color2);
    transition:
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease;
}

.eg-footer .footer-widget__contact-list.eg-footer-contact-list li:hover .eg-footer-contact-icon {
    border-color: var(--color2);
    background-color: var(--color2);
    color: var(--careon-white);
}

.eg-footer .footer-widget__contact-icon.eg-footer-contact-icon i {
    color: inherit;
    font-size: 16px;
}

.eg-footer .footer-widget__contact-content.eg-footer-contact-content {
    position: relative;
    display: block;
    flex: 1;
    min-width: 0;
}

.eg-footer .footer-widget__contact-content.eg-footer-contact-content > span {
    display: block;
    margin-bottom: 4px;
    color: rgba(var(--careon-white-rgb), .60);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.45;
    font-weight: 500;
    letter-spacing: .015em;
}

.eg-footer .footer-widget__contact-text.eg-footer-contact-text {
    margin: 0;
    color: var(--careon-white);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.62;
    font-weight: 600;
    letter-spacing: .01em;
    word-spacing: .025em;
    overflow-wrap: anywhere;
}

.eg-footer .footer-widget__contact-text.eg-footer-contact-text a {
    color: var(--careon-white);
    transition: color .3s ease;
}

.eg-footer .footer-widget__contact-text.eg-footer-contact-text a:hover {
    color: var(--color2);
}

/* ==============================================================
   FOOTER INFERIOR
   ============================================================== */

.eg-footer-bottom.site-footer__bottom {
    position: relative;
    display: block;
    z-index: 2;
    border-top: 1px solid rgba(var(--careon-white-rgb), .10);
    background-color: rgba(var(--careon-black-rgb), .72);
    backdrop-filter: blur(2px);
}

.eg-footer .site-footer__bottom-inner.eg-footer-bottom__inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 26px 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
}

.eg-footer-bottom__text,
.eg-footer .site-footer__copyright-text.eg-footer-bottom__text {
    margin: 0;
    color: rgba(var(--careon-white-rgb), .90);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
}

.eg-footer .site-footer__copyright-text a {
    color: var(--color2);
}

.eg-footer .site-footer__copyright-text .doctorweb {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-left: 5px;
}

.eg-footer .site-footer__copyright-text .doctorweb img {
    max-height: 22px;
    width: auto;
}

.eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 10px 22px;
    margin: 0;
}

.eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu li {
    position: relative;
    display: block;
}

.eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu li a {
    position: relative;
    display: inline-block;
    color: rgba(var(--careon-white-rgb), .94);
    font-family: var(--careon-font);
    font-size: 16px;
    line-height: 1.55;
    font-weight: 400;
    transition: color .3s ease;
}

.eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu li a:hover {
    color: var(--color2);
}

/* ==============================================================
   RESPONSIVE - TABLET / ESCRITORIO MEDIO
   ============================================================== */

@media (max-width: 1199.98px) {
    .eg-footer.site-footer {
        padding-top: 72px;
    }

    .eg-footer .site-footer__newsletter-title.eg-footer-cta__title {
        font-size: 42px;
    }

    .eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner {
        min-height: 310px;
        padding: 46px 38px;
    }

    .eg-footer .site-footer__top-inner.eg-footer__top-inner {
        padding: 64px 0 58px;
    }

    .eg-footer-brand {
        padding-right: 20px;
    }
}

@media (max-width: 991.98px) {
    .eg-footer .site-footer__newsletter-title.eg-footer-cta__title {
        font-size: 40px;
    }

    .eg-footer-widget--schedule {
        margin-top: 6px;
    }

    .eg-footer .site-footer__bottom-inner.eg-footer-bottom__inner {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu {
        justify-content: center;
    }
}

/* ==============================================================
   RESPONSIVE - MÓVIL
   ============================================================== */

@media (max-width: 767.98px) {
    .eg-footer.site-footer {
        padding-top: 62px;
    }

    .eg-footer::before {
        width: 220px;
        height: 220px;
        right: -145px;
    }

    .eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner {
        min-height: 0;
        padding: 28px 18px;
        border-radius: 24px;
        background-position: center center !important;
    }

    .eg-footer .site-footer__newsletter-inner-title-box.eg-footer-cta__content {
        max-width: 100%;
        padding: 28px 22px 30px;
        border-radius: 20px;
        background-color: rgba(var(--careon-white-rgb), .80);
    }

    .eg-footer-cta__eyebrow {
        font-size: 16px;
        line-height: 1.65;
    }

    .eg-footer .site-footer__newsletter-title.eg-footer-cta__title {
        font-size: 36px;
        line-height: 1.12;
        text-align: center !important;
    }

    .eg-footer-cta__text {
        font-size: 16px;
        line-height: 1.85;
        text-align: center;
    }

    .eg-footer-cta__buttons {
        flex-direction: column;
        width: 100%;
    }

    .eg-footer .faq-two__btn-box.eg-footer-cta__button-box {
        width: 100%;
        max-width: 330px;
    }

    .eg-footer-btn {
        width: 100%;
    }

    .eg-footer .site-footer__top-inner.eg-footer__top-inner {
        padding: 56px 0 50px;
    }

    .eg-footer-brand,
    .eg-footer-widget {
        text-align: center;
        padding: 24px 20px;
    }

    .eg-footer-brand {
        padding-right: 0;
    }

    .eg-footer-brand__logo img {
        margin-left: auto;
        margin-right: auto;
    }

    .eg-footer-brand__accent {
        margin-left: auto;
        margin-right: auto;
    }

    .eg-footer .footer-widget__title.eg-footer-widget__title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .eg-footer .footer-widget__contact-list.eg-footer-contact-list {
        max-width: 470px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .eg-footer.site-footer {
        padding-top: 54px;
    }

    .eg-footer .site-footer__newsletter-inner.eg-footer-cta__inner {
        padding: 22px 12px;
        border-radius: 22px;
    }

    .eg-footer .site-footer__newsletter-inner-title-box.eg-footer-cta__content {
        padding: 25px 18px 27px;
        border-radius: 18px;
    }

    .eg-footer .site-footer__newsletter-title.eg-footer-cta__title {
        font-size: 34px;
        line-height: 1.14;
    }

    .eg-footer .site-footer__top-inner.eg-footer__top-inner {
        padding: 50px 0 44px;
    }

    .eg-footer .footer-widget__title.eg-footer-widget__title {
        font-size: 24px;
    }

    .eg-footer .footer-widget__contact-list.eg-footer-contact-list li {
        gap: 12px;
    }

    .eg-footer .footer-widget__contact-icon.eg-footer-contact-icon {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
    }

    .eg-footer .site-footer__bottom-inner.eg-footer-bottom__inner {
        padding: 22px 0;
    }

    .eg-footer .site-footer__bottom-menu.eg-footer-bottom__menu {
        gap: 8px 16px;
    }
}