/* ==========================================================
   MANOSALVA — SITE FOOTER V2
========================================================== */

.ms-site-footer {
    position: relative;

    overflow: hidden;

    width: 100%;

    margin-top: 0;

    padding:
        clamp(42px, 5vw, 72px)
        clamp(20px, 4vw, 64px)
        24px;

    box-sizing: border-box;

    background:
        radial-gradient(
            circle at 84% 16%,
            rgba(16, 126, 202, 0.28) 0,
            rgba(16, 126, 202, 0) 29%
        ),
        linear-gradient(
            135deg,
            #062f5f 0%,
            #07539a 48%,
            #06366a 100%
        );

    color: #ffffff;
}


.ms-site-footer *,
.ms-site-footer *::before,
.ms-site-footer *::after {
    box-sizing: border-box;
}


/* ==========================================================
   DECORACIÓN
========================================================== */

.ms-site-footer::before,
.ms-site-footer::after {
    content: "";

    position: absolute;

    z-index: 0;

    pointer-events: none;

    border-radius: 50%;
}


.ms-site-footer::before {
    right: -14%;
    bottom: -260px;

    width: 720px;
    height: 420px;

    background:
        rgba(15, 122, 198, 0.18);

    transform:
        rotate(-7deg);
}


.ms-site-footer::after {
    left: -12%;
    bottom: -330px;

    width: 780px;
    height: 430px;

    background:
        rgba(0, 38, 84, 0.24);

    transform:
        rotate(7deg);
}


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

.ms-site-footer__inner {
    position: relative;

    z-index: 1;

    width:
        min(
            100%,
            1480px
        );

    margin:
        0
        auto;
}


/* ==========================================================
   CTA SUPERIOR
========================================================== */

.ms-site-footer__cta {
    position: relative;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 34px;

    overflow: hidden;

    margin-bottom:
        clamp(54px, 6vw, 82px);

    padding:
        28px
        30px;

    border:
        1px solid
        rgba(46, 162, 234, 0.55);

    border-radius:
        24px;

    background:
        linear-gradient(
            110deg,
            rgba(4, 76, 139, 0.92) 0%,
            rgba(7, 83, 154, 0.88) 62%,
            rgba(11, 101, 172, 0.84) 100%
        );

    box-shadow:
        0 16px 40px
        rgba(0, 20, 48, 0.16);
}


.ms-site-footer__cta::after {
    content: "";

    position: absolute;

    right: -90px;
    bottom: -150px;

    width: 520px;
    height: 280px;

    border-radius: 50%;

    background:
        rgba(25, 143, 216, 0.28);

    transform:
        rotate(-15deg);

    pointer-events: none;
}


.ms-site-footer__cta-content {
    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;

    min-width: 0;

    gap: 30px;
}


.ms-site-footer__cta-icon {
    display: flex;

    flex:
        0
        0
        112px;

    align-items: center;
    justify-content: center;

    width: 112px;
    height: 94px;

    padding-right: 28px;

    border-right:
        2px solid
        rgba(255, 255, 255, 0.78);

    color: #ffffff;
}


.ms-site-footer__cta-icon svg {
    width: 76px;
    height: 76px;
}


.ms-site-footer__cta-copy {
    max-width: 760px;
}


.ms-site-footer__cta-title {
    position: relative;

    width: fit-content;
    max-width: 100%;

    margin:
        0
        0
        12px;

    padding-bottom: 12px;

    color: #ffffff;

    font-size:
        clamp(27px, 2.4vw, 40px);

    font-weight: 800;
    line-height: 1.08;
}


.ms-site-footer__cta-title::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 72px;
    height: 5px;

    border-radius: 999px;

    background: #ed1c2e;
}


.ms-site-footer__cta-copy p {
    max-width: 700px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-size:
        clamp(15px, 1.3vw, 19px);

    line-height: 1.45;
}


.ms-site-footer__cta-button {
    position: relative;

    z-index: 1;

    display: inline-flex;

    flex:
        0
        0
        auto;

    align-items: center;
    justify-content: center;

    gap: 13px;

    min-height: 62px;

    padding:
        15px
        28px;

    border:
        1px solid
        #ed1c2e;

    border-radius:
        999px;

    background:
        #ed1c2e;

    color:
        #ffffff !important;

    font-size:
        16px;

    font-weight: 800;

    text-decoration:
        none !important;

    box-shadow:
        0 12px 28px
        rgba(237, 28, 46, 0.24);

    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        box-shadow 0.2s ease;
}


.ms-site-footer__cta-button svg {
    flex:
        0
        0
        26px;

    width: 26px;
    height: 26px;
}


.ms-site-footer__cta-button:hover {
    background:
        #cf1422;

    color:
        #ffffff !important;

    transform:
        translateY(-2px);

    box-shadow:
        0 15px 34px
        rgba(237, 28, 46, 0.31);
}


/* ==========================================================
   GRID PRINCIPAL
========================================================== */

.ms-site-footer__grid {
    display: grid;

    grid-template-columns:
        1.25fr
        1.35fr
        .85fr
        1.1fr;

    gap: 0;

    margin-bottom:
        54px;
}


.ms-site-footer__column {
    position: relative;

    min-width: 0;

    padding:
        0
        34px;
}


.ms-site-footer__column:first-child {
    padding-left: 0;
}


.ms-site-footer__column:last-child {
    padding-right: 0;
}


.ms-site-footer__column
+ .ms-site-footer__column {
    border-left:
        1px solid
        rgba(255, 255, 255, 0.28);
}


/* ==========================================================
   MARCA
========================================================== */

.ms-site-footer__logo {
    display: inline-flex;

    align-items: center;

    max-width: 340px;

    margin-bottom: 27px;

    line-height: 0;

    text-decoration: none;
}


.ms-site-footer__logo img {
    display: block;

    width: min(100%, 330px);

    height: auto;

    max-height: 105px;

    object-fit: contain;
    object-position: left center;
}


.ms-site-footer__logo span {
    color: #ffffff;

    font-size: 25px;

    font-weight: 800;
}


.ms-site-footer__brand-copy {
    max-width: 380px;

    margin:
        0
        0
        28px;

    color:
        rgba(255, 255, 255, 0.88);

    font-size: 15px;

    line-height: 1.55;
}


/* ==========================================================
   REDES
========================================================== */

.ms-site-footer__socials {
    display: flex;

    align-items: center;

    gap: 12px;
}


.ms-site-footer__social {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    border:
        1px solid
        rgba(255, 255, 255, 0.64);

    border-radius: 13px;

    color: #ffffff !important;

    text-decoration: none;

    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        transform 0.2s ease;
}


.ms-site-footer__social svg {
    width: 24px;
    height: 24px;
}


.ms-site-footer__social:hover {
    border-color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.12);

    transform:
        translateY(-2px);
}


/* ==========================================================
   TÍTULOS
========================================================== */

.ms-site-footer__heading {
    position: relative;

    width: fit-content;

    margin:
        2px
        0
        27px;

    padding-bottom:
        12px;

    color: #ffffff;

    font-size:
        clamp(22px, 1.8vw, 28px);

    font-weight: 800;

    line-height: 1.1;
}


.ms-site-footer__heading::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 54px;
    height: 4px;

    border-radius:
        999px;

    background:
        #ed1c2e;
}


/* ==========================================================
   SERVICIOS
========================================================== */

.ms-site-footer__services {
    display: flex;

    flex-direction: column;

    gap: 16px;

    margin: 0;

    padding: 0;

    list-style: none;
}


.ms-site-footer__services li {
    margin: 0;

    padding: 0;
}


.ms-site-footer__services a {
    display: flex;

    align-items: center;

    gap: 12px;

    color:
        rgba(255, 255, 255, 0.92) !important;

    font-size: 14.5px;

    line-height: 1.3;

    text-decoration:
        none !important;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}


.ms-site-footer__services a:hover {
    color:
        #ffffff !important;

    transform:
        translateX(3px);
}


/* ==========================================================
   ICONOS SERVICIOS
========================================================== */

.ms-site-footer__service-icon {
    display: block;

    flex:
        0
        0
        29px;

    width: 29px;
    height: 29px;

    background-color:
        #ffffff;

    opacity: 0.96;

    -webkit-mask-repeat:
        no-repeat;

    mask-repeat:
        no-repeat;

    -webkit-mask-position:
        center;

    mask-position:
        center;

    -webkit-mask-size:
        contain;

    mask-size:
        contain;
}


.ms-site-footer__service-icon--split {
    -webkit-mask-image:
        url("../../icons/header/split.svg");

    mask-image:
        url("../../icons/header/split.svg");
}


.ms-site-footer__service-icon--repair,
.ms-site-footer__service-icon--maintenance {
    -webkit-mask-image:
        url("../../icons/header/repair.svg");

    mask-image:
        url("../../icons/header/repair.svg");
}


.ms-site-footer__service-icon--aerothermy {
    -webkit-mask-image:
        url("../../icons/header/aerothermy.svg");

    mask-image:
        url("../../icons/header/aerothermy.svg");
}


.ms-site-footer__service-icon--electric {
    -webkit-mask-image:
        url("../../icons/header/electric.svg");

    mask-image:
        url("../../icons/header/electric.svg");
}


/* ==========================================================
   INFORMACIÓN
========================================================== */

.ms-site-footer__links {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 16px;
}


.ms-site-footer__links a {
    color:
        rgba(255, 255, 255, 0.92) !important;

    font-size: 15px;

    line-height: 1.25;

    text-decoration:
        none !important;

    transition:
        color 0.18s ease,
        transform 0.18s ease;
}


.ms-site-footer__links a:hover {
    color:
        #ffffff !important;

    transform:
        translateX(3px);
}


/* ==========================================================
   CONTACTO
========================================================== */

.ms-site-footer__contact {
    display: flex;

    flex-direction: column;

    gap: 13px;
}


.ms-site-footer__contact-item {
    display: flex;

    align-items: center;

    gap: 13px;

    min-height: 54px;

    padding:
        10px
        15px;

    border:
        1px solid
        rgba(255, 255, 255, 0.65);

    border-radius:
        13px;

    color:
        #ffffff !important;

    font-size: 14px;

    font-weight: 700;

    line-height: 1.25;

    text-decoration:
        none !important;

    transition:
        background-color 0.18s ease,
        border-color 0.18s ease,
        transform 0.18s ease;
}


.ms-site-footer__contact-item svg {
    flex:
        0
        0
        26px;

    width: 26px;
    height: 26px;
}


.ms-site-footer__contact-item:hover {
    border-color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.10);

    transform:
        translateY(-2px);
}


/* ==========================================================
   PIE LEGAL
========================================================== */

.ms-site-footer__bottom {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 28px;

    padding-top:
        23px;

    border-top:
        1px solid
        rgba(255, 255, 255, 0.68);
}


.ms-site-footer__copyright {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.82);

    font-size: 13px;

    line-height: 1.4;
}


.ms-site-footer__legal {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 0;
}


.ms-site-footer__legal a {
    position: relative;

    padding:
        0
        18px;

    color:
        rgba(255, 255, 255, 0.90) !important;

    font-size: 13px;

    text-decoration:
        none !important;

    transition:
        color 0.18s ease;
}


.ms-site-footer__legal a:first-child {
    padding-left: 0;
}


.ms-site-footer__legal a:last-child {
    padding-right: 0;
}


.ms-site-footer__legal a
+ a::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 0;

    width: 1px;
    height: 17px;

    background:
        rgba(255, 255, 255, 0.58);

    transform:
        translateY(-50%);
}


.ms-site-footer__legal a:hover {
    color:
        #ffffff !important;
}


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

@media (max-width: 1099.98px) {

    .ms-site-footer__cta {
        align-items: flex-start;

        flex-direction: column;
    }


    .ms-site-footer__cta-button {
        margin-left: 142px;
    }


    .ms-site-footer__grid {
        grid-template-columns:
            1fr
            1fr;

        row-gap: 48px;
    }


    .ms-site-footer__column {
        padding:
            0
            30px;
    }


    .ms-site-footer__column:nth-child(odd) {
        padding-left: 0;

        border-left: 0;
    }


    .ms-site-footer__column:nth-child(even) {
        padding-right: 0;
    }


    .ms-site-footer__bottom {
        align-items: flex-start;

        flex-direction: column;
    }

}


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

@media (max-width: 699.98px) {

    .ms-site-footer {
        padding:
            32px
            16px
            22px;
    }


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

    .ms-site-footer__cta {
        gap: 24px;

        margin-bottom: 48px;

        padding:
            24px
            20px;

        border-radius:
            20px;
    }


    .ms-site-footer__cta-content {
        align-items: flex-start;

        flex-direction: column;

        gap: 18px;
    }


    .ms-site-footer__cta-icon {
        justify-content: flex-start;

        width: auto;
        height: auto;

        flex-basis: auto;

        padding:
            0
            0
            14px;

        border-right: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.50);
    }


    .ms-site-footer__cta-icon svg {
        width: 60px;
        height: 60px;
    }


    .ms-site-footer__cta-title {
        font-size:
            clamp(27px, 8vw, 34px);
    }


    .ms-site-footer__cta-button {
        width: 100%;

        margin-left: 0;

        min-height: 56px;

        padding:
            13px
            20px;
    }


    /* ======================================================
       COLUMNAS
    ====================================================== */

    .ms-site-footer__grid {
        display: flex;

        flex-direction: column;

        gap: 0;

        margin-bottom: 40px;
    }


    .ms-site-footer__column,
    .ms-site-footer__column:first-child,
    .ms-site-footer__column:last-child,
    .ms-site-footer__column:nth-child(odd),
    .ms-site-footer__column:nth-child(even) {
        width: 100%;

        padding:
            30px
            0;

        border-left: 0;

        border-bottom:
            1px solid
            rgba(255, 255, 255, 0.20);
    }


    .ms-site-footer__column:first-child {
        padding-top: 0;
    }


    .ms-site-footer__column:last-child {
        padding-bottom: 0;

        border-bottom: 0;
    }


    /* ======================================================
       LOGO
    ====================================================== */

    .ms-site-footer__logo {
        max-width:
            290px;
    }


    .ms-site-footer__logo img {
        width:
            min(
                100%,
                280px
            );
    }


    /* ======================================================
       CONTACTO
    ====================================================== */

    .ms-site-footer__contact-item {
        min-height: 56px;
    }


    /* ======================================================
       LEGAL
    ====================================================== */

    .ms-site-footer__bottom {
        gap: 18px;

        padding-top: 20px;
    }


    .ms-site-footer__legal {
        align-items: flex-start;

        flex-direction: column;

        gap: 11px;
    }


    .ms-site-footer__legal a,
    .ms-site-footer__legal a:first-child,
    .ms-site-footer__legal a:last-child {
        padding: 0;
    }


    .ms-site-footer__legal a
    + a::before {
        display: none;
    }

}

/* ==========================================================
   FOOTER — AJUSTE DE ALTURA Y DECORACIÓN
========================================================== */

.ms-site-footer {
    position: relative;
    overflow: hidden;

    padding:
        clamp(28px, 3.2vw, 44px)
        clamp(20px, 4vw, 64px)
        20px;
}


/* Eliminamos las grandes formas ovaladas del fondo */

.ms-site-footer::before,
.ms-site-footer::after {
    content: none !important;
    display: none !important;
}


/* CTA algo más compacto */

.ms-site-footer__cta {
    padding: 22px 28px;
}


/* Menos espacio antes del cierre legal */

.ms-site-footer__bottom {
    padding-top: 18px;
}

/* ==========================================================
   ANULAR FONDO HEREDADO DEL FOOTER DEL TEMA PADRE
========================================================== */

#colophon.ms-site-footer {
    background-image: none !important;

    background:
        linear-gradient(
            145deg,
            #062f5f 0%,
            #07539a 58%,
            #10234b 100%
        ) !important;
}