/* CLIENTE M3Sign: cabecera, pie y bloque de contacto (diseño de la web anterior, ya sin Elementor). */

/* ===== Cabecera ===== */

.m3-header,.m3-header *{box-sizing:border-box}
.m3-header{--m3-blue:#0054a6;--m3-blue-dark:#003d7c;--m3-blue-soft:#eaf3fc;--m3-blue-light:#f5f9fe;--m3-white:#fff;--m3-text:#202630;--m3-muted:#66717e;--m3-border:#e6edf4;position:relative;z-index:99999;width:100%;background:#fff;color:var(--m3-text);font:400 14px/1.5 'Poppins',Arial,Helvetica,sans-serif!important}
.m3-header a{text-decoration:none!important}.m3-header button{font-family:inherit!important}.m3-header svg{display:block}.m3-header a,.m3-header button{-webkit-tap-highlight-color:transparent}
.m3-topbar{background:var(--m3-blue);color:#fff;font-size:12px;font-weight:500}.m3-topbar-inner{max-width:1440px;margin:auto;padding:10px 30px;display:flex;align-items:center;justify-content:space-between;gap:20px}.m3-topbar-left,.m3-topbar-right{display:flex;align-items:center;gap:18px}.m3-topbar-item,.m3-topbar-contact{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}.m3-topbar-icon{display:inline-flex;align-items:center;justify-content:center;width:17px;height:17px;flex-shrink:0;color:#fff}.m3-topbar-icon svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.m3-topbar-divider{width:1px;height:16px;background:rgba(255,255,255,.4)}.m3-header .m3-topbar-contact{color:#fff!important;font-size:12px!important;font-weight:600!important}.m3-header .m3-topbar-contact:hover{opacity:.8}
.m3-navbar{position:relative;width:100%;background:#fff;box-shadow:0 4px 22px rgba(0,0,0,.055)}.m3-navbar-inner{max-width:1440px;min-height:86px;margin:auto;padding:12px 30px;display:flex;align-items:center;justify-content:space-between;gap:22px}.m3-logo{display:flex;align-items:center;flex-shrink:0}.m3-logo img{display:block;width:190px;max-width:100%;height:auto}.m3-nav{display:flex;align-items:center;justify-content:center;gap:23px;margin-left:auto}.m3-header .m3-nav>a,.m3-header .m3-services-link{display:inline-flex;align-items:center;padding:15px 0;color:var(--m3-text)!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;font-size:13px!important;font-weight:600!important;white-space:nowrap;transition:color .2s}.m3-header .m3-nav>a:hover,.m3-header .m3-services-link:hover{color:var(--m3-blue)!important}
.m3-services{position:static;display:flex;align-items:center}.m3-header .m3-services-arrow{display:flex!important;align-items:center;justify-content:center;width:23px;height:35px;margin-left:2px;padding:0!important;appearance:none!important;background:transparent!important;background-image:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--m3-text)!important;cursor:pointer}.m3-header .m3-services-arrow:hover,.m3-header .m3-services-arrow:focus,.m3-header .m3-services-arrow:active{background:transparent!important;border:0!important;box-shadow:none!important}.m3-services-arrow svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s}.m3-services.is-open .m3-services-link,.m3-services.is-open .m3-services-arrow{color:var(--m3-blue)!important}.m3-services.is-open .m3-services-arrow svg{transform:rotate(180deg)}
.m3-megamenu{position:absolute;top:100%;left:50%;width:min(1200px,calc(100vw - 50px));background:#fff;border:1px solid var(--m3-border);border-radius:14px;box-shadow:0 20px 55px rgba(0,35,75,.15);opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%);transition:opacity .18s,visibility .18s;z-index:99999;overflow:hidden}.m3-services.is-open .m3-megamenu{opacity:1;visibility:visible;pointer-events:auto}.m3-mega-head{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 25px;border-bottom:1px solid var(--m3-border)}.m3-mega-head .m3-mega-titulo{display:block;margin:0 0 4px!important;color:var(--m3-text)!important;font-size:17px!important;font-weight:700!important;line-height:1.35}.m3-mega-head p{margin:0!important;color:var(--m3-muted)!important;font-size:12px!important;font-weight:400!important}.m3-header .m3-mega-all{display:inline-flex;align-items:center;justify-content:center;padding:11px 16px;border-radius:40px;background:var(--m3-blue-soft);color:var(--m3-blue)!important;font-size:11px!important;font-weight:700!important;white-space:nowrap;transition:background .2s,color .2s}.m3-header .m3-mega-all:hover{background:var(--m3-blue);color:#fff!important}
.m3-mega-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding:17px 12px 20px}.m3-mega-column{min-width:0;padding:0 10px;border-right:1px solid var(--m3-border)}.m3-mega-column:last-child{border-right:0}.m3-mega-category{display:flex;align-items:center;gap:9px;margin:0 0 11px;padding:0 6px;color:var(--m3-blue);font-size:12px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.4px}.m3-mega-category::before{content:"";display:block;width:7px;height:7px;border-radius:50%;background:var(--m3-blue)}
.m3-header .m3-mega-link{display:flex;align-items:flex-start;gap:10px;padding:9px 6px;margin-bottom:3px;border-radius:9px;background:transparent;transition:background .2s,transform .2s}.m3-header .m3-mega-link:hover{background:var(--m3-blue-light);transform:translateX(2px)}.m3-mega-icon{display:flex;align-items:center;justify-content:center;width:36px;height:36px;min-width:36px;border-radius:9px;background:var(--m3-blue-soft);color:var(--m3-blue)}.m3-mega-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.m3-mega-copy{display:flex;flex-direction:column;gap:3px;min-width:0}.m3-mega-copy strong{display:block;color:var(--m3-text);font-size:12px!important;font-weight:600!important;line-height:1.4}.m3-mega-copy small{display:block;color:var(--m3-muted);font-size:11px!important;font-weight:400!important;line-height:1.45}.m3-mega-link:hover .m3-mega-copy strong{color:var(--m3-blue)}
.m3-header .m3-header-cta{display:inline-flex;align-items:center;justify-content:center;gap:9px;padding:14px 19px;border-radius:50px;background:var(--m3-blue)!important;color:#fff!important;font-size:13px!important;font-weight:600!important;white-space:nowrap;transition:background .25s,transform .25s,box-shadow .25s}.m3-header .m3-header-cta:hover{background:var(--m3-blue-dark)!important;transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,84,166,.2)}
.m3-header.is-sticky .m3-navbar{position:fixed;top:0;left:0;right:0;width:100%;box-shadow:0 5px 25px rgba(0,0,0,.12)}body.admin-bar .m3-header.is-sticky .m3-navbar{top:32px}.m3-sticky-placeholder{display:none;height:0}.m3-header.is-sticky .m3-sticky-placeholder{display:block}
.m3-header .m3-menu-toggle{display:none;width:44px;height:44px;padding:0!important;border:0!important;border-radius:9px;background:var(--m3-blue)!important;cursor:pointer;align-items:center;justify-content:center;flex-direction:column;gap:5px}.m3-menu-toggle span{display:block;width:21px;height:2px;border-radius:2px;background:#fff;transition:transform .2s,opacity .2s}.m3-menu-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}.m3-menu-toggle[aria-expanded="true"] span:nth-child(2){opacity:0}.m3-menu-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}.m3-mobile-services-head,.m3-mobile-services-back{display:none}
@media(max-width:1250px){.m3-nav{gap:15px}.m3-logo img{width:175px}.m3-header .m3-nav>a,.m3-header .m3-services-link{font-size:12px!important}.m3-header .m3-header-cta{padding:12px 15px}}
@media(max-width:1050px){.m3-topbar{display:none}.m3-navbar{position:relative;overflow:visible!important}.m3-navbar-inner{min-height:76px;padding:12px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:12px;overflow:visible!important}.m3-logo img{width:170px}.m3-header .m3-menu-toggle{display:flex;margin-left:auto}.m3-nav{display:none;width:100%;flex-basis:100%;order:5;margin:0;padding:8px 0 15px;background:#fff;max-height:calc(100dvh - 95px);overflow-y:auto;overflow-x:hidden;scroll-behavior:auto!important;overflow-anchor:none!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}.m3-nav.is-active{display:flex;flex-direction:column;align-items:stretch;gap:0}.m3-header .m3-nav>a{display:flex;width:100%;padding:15px 5px;border-bottom:1px solid var(--m3-border)!important;font-size:14px!important;font-weight:600!important}.m3-services{display:flex;flex-wrap:wrap;align-items:center;position:relative;width:100%;border-bottom:1px solid var(--m3-border)}.m3-header .m3-services-link{flex:1;min-width:0;padding:15px 5px;font-size:14px!important;font-weight:600!important}.m3-header .m3-services-arrow{width:46px;height:46px;margin:0;flex-shrink:0;color:var(--m3-blue)!important}.m3-services-arrow svg{width:16px;height:16px}.m3-megamenu{display:none!important;position:fixed!important;top:var(--m3-mobile-top,76px)!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;margin:0!important;padding:0!important;opacity:1!important;visibility:visible!important;pointer-events:auto!important;transform:none!important;transition:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:#fff!important;overflow:hidden!important;z-index:100000}.m3-services.is-open .m3-megamenu{display:flex!important;flex-direction:column}.m3-mobile-services-head{display:flex!important;align-items:center;gap:14px;flex-shrink:0;width:100%;min-height:65px;padding:12px 20px;background:#fff;border-bottom:1px solid var(--m3-border)}.m3-header .m3-mobile-services-back{display:inline-flex!important;align-items:center;justify-content:center;width:39px;height:39px;min-width:39px;padding:0!important;background:var(--m3-blue-soft)!important;border:0!important;border-radius:9px!important;color:var(--m3-blue)!important;cursor:pointer}.m3-mobile-services-back svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.m3-mobile-services-title{margin:0!important;color:var(--m3-text)!important;font-size:15px!important;font-weight:700!important;line-height:1.4}.m3-mega-head{display:none!important}.m3-mega-scroll{display:block;flex:1;min-height:0;width:100%;overflow-y:auto!important;overflow-x:hidden!important;scroll-behavior:auto!important;overflow-anchor:none!important;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;background:#f7faff}.m3-mega-grid{display:block!important;width:100%;margin:0!important;padding:8px 18px 28px!important}.m3-mega-column{width:100%;padding:0 0 12px!important;margin:0 0 12px!important;border-right:0!important;border-bottom:1px solid var(--m3-border)}.m3-mega-column:last-child{margin-bottom:0!important;padding-bottom:0!important;border-bottom:0!important}.m3-mega-category{display:block!important;width:100%;margin:0 0 5px!important;padding:12px 8px 8px!important;color:var(--m3-blue)!important;font-size:12px!important;font-weight:700!important;text-transform:uppercase;letter-spacing:.4px;cursor:default!important;border:0!important}.m3-mega-category::before,.m3-mega-category::after{display:none!important}.m3-header .m3-mega-link{display:flex!important;align-items:center;min-height:42px;margin:0!important;padding:11px 14px!important;border-radius:7px!important;background:transparent!important;transform:none!important}.m3-header .m3-mega-link:hover{background:#eaf3fc!important}.m3-mega-icon{display:none!important}.m3-mega-copy small{display:none!important}.m3-mega-copy strong{font-size:13px!important;font-weight:500!important;line-height:1.5;color:#303946!important}.m3-header .m3-header-cta{display:none}.m3-header .m3-header-cta.m3-cta-mobile-visible{display:flex!important;width:100%;order:6;margin:5px 0 10px;padding:14px 20px;border-radius:10px;text-align:center;font-size:13px!important}}
@media(max-width:600px){.m3-logo img{width:155px}.m3-navbar-inner{padding:10px 15px}.m3-mobile-services-head{padding:12px 15px}.m3-mega-grid{padding:8px 12px 25px!important}}
.m3-header a:focus-visible,.m3-header button:focus-visible{outline:2px solid var(--m3-blue)!important;outline-offset:3px}@media(prefers-reduced-motion:reduce){.m3-header *,.m3-header *::before,.m3-header *::after{transition:none!important;animation:none!important}}


/* ===== Pie ===== */


/* =========================================================
   01. VARIABLES Y BASE
========================================================= */

.m3-footer,
.m3-footer *{
    box-sizing:border-box;
}

.m3-footer{
    --m3-blue:#0054a6;
    --m3-blue-dark:#003d7c;
    --m3-blue-light:#287ac8;
    --m3-blue-soft:#eaf3fc;
    --m3-blue-pale:#f5f9fe;

    --m3-white:#ffffff;
    --m3-dark:#202630;
    --m3-text:#66717e;
    --m3-muted:#8993a0;
    --m3-border:#e6edf4;

    width:100%;
    margin:0;
    padding:0;

    background:#ffffff;
    color:var(--m3-text);

    font-family:'Poppins',Arial,Helvetica,sans-serif!important;
    font-size:13px;
    font-weight:400;
    line-height:1.8;
}

.m3-footer a{
    text-decoration:none!important;
}

.m3-footer svg{
    display:block;
}

.m3-footer a,
.m3-footer button{
    -webkit-tap-highlight-color:transparent;
}

/* =========================================================
   02. CONTENEDOR PRINCIPAL
   MÁS ESPACIO A LOS LADOS
========================================================= */

.m3-footer-main{
    width:100%;

    padding:
        75px
        90px
        70px;

    background:#ffffff;
}

.m3-footer-container{
    width:100%;
    max-width:1240px;
    margin:0 auto;
}

/* =========================================================
   03. GRID 3 COLUMNAS
========================================================= */

.m3-footer-grid{
    display:grid;

    grid-template-columns:
        1.05fr
        1.15fr
        1fr;

    gap:65px;

    align-items:start;
}

/* =========================================================
   04. LOGO
========================================================= */

.m3-footer-brand{
    min-width:0;
}

.m3-footer-logo{
    display:inline-flex;
    align-items:center;
    margin-bottom:25px;
}

.m3-footer-logo img{
    display:block;

    width:225px;
    max-width:100%;
    height:auto;

    object-fit:contain;
}

/* =========================================================
   05. DESCRIPCIÓN
========================================================= */

.m3-footer-description{
    max-width:360px;
    margin:0!important;

    color:var(--m3-text)!important;

    font-size:13px!important;
    font-weight:400!important;
    line-height:2;
}

.m3-footer-description strong{
    color:var(--m3-dark);
    font-weight:700;
}

/* =========================================================
   06. TÍTULOS
========================================================= */

.m3-footer-title{
    position:relative;

    margin:0 0 29px!important;
    padding:0 0 18px!important;

    color:var(--m3-blue)!important;

    font-size:20px!important;
    font-weight:700!important;
    line-height:1.4!important;
}

.m3-footer-title::after{
    content:"";

    position:absolute;
    left:0;
    bottom:0;

    width:50px;
    height:4px;

    background:var(--m3-blue);
    border-radius:10px;
}

/* =========================================================
   07. CONTACTO
========================================================= */

.m3-footer-contact{
    display:flex;
    flex-direction:column;
    gap:19px;
}

.m3-footer-contact-item{
    display:flex;
    align-items:flex-start;
    gap:16px;
}

.m3-footer-contact-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    width:45px;
    height:45px;
    min-width:45px;

    border-radius:13px;

    background:var(--m3-blue-soft);
    color:var(--m3-blue);
}

.m3-footer-contact-icon svg{
    width:20px;
    height:20px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.8;

    stroke-linecap:round;
    stroke-linejoin:round;
}

.m3-footer-contact-text{
    flex:1;
    min-width:0;
    padding-top:5px;

    color:var(--m3-text);

    font-size:13px!important;
    font-weight:400!important;
    line-height:1.85;

    overflow-wrap:anywhere;
}

.m3-footer .m3-footer-contact-text a{
    color:var(--m3-text)!important;
    font-size:13px!important;
    transition:color .2s ease;
}

.m3-footer .m3-footer-contact-text a:hover{
    color:var(--m3-blue)!important;
}

/* =========================================================
   08. SERVICIOS
========================================================= */

.m3-footer-services{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
}

.m3-footer-services li{
    margin:0!important;
    padding:0!important;
    list-style:none!important;
}

.m3-footer .m3-footer-services a{
    display:flex;
    align-items:center;
    gap:12px;

    min-height:48px;
    padding:10px 0;

    color:var(--m3-text)!important;

    font-size:13px!important;
    font-weight:500!important;
    line-height:1.6;

    transition:
        color .2s ease,
        transform .2s ease;
}

.m3-footer .m3-footer-services a:hover{
    color:var(--m3-blue)!important;
    transform:translateX(4px);
}

.m3-footer-service-arrow{
    display:flex;
    align-items:center;
    justify-content:center;

    flex-shrink:0;

    width:12px;
    height:18px;

    color:var(--m3-blue);
}

.m3-footer-service-arrow svg{
    width:12px;
    height:12px;

    fill:none;
    stroke:currentColor;
    stroke-width:2.8;

    stroke-linecap:round;
    stroke-linejoin:round;
}

/* =========================================================
   09. BOTÓN VER TODOS LOS SERVICIOS
========================================================= */

.m3-footer .m3-footer-all-services{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:16px;

    margin-top:17px;
    padding:15px 23px;

    border-radius:50px;

    background:var(--m3-blue)!important;
    color:#ffffff!important;

    font-size:12px!important;
    font-weight:700!important;
    line-height:1.4;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.m3-footer .m3-footer-all-services:hover{
    background:var(--m3-blue-dark)!important;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,84,166,.18);
}

.m3-footer-all-services svg{
    width:17px;
    height:17px;

    fill:none;
    stroke:currentColor;
    stroke-width:2;

    stroke-linecap:round;
    stroke-linejoin:round;
}

/* =========================================================
   10. CTA PRESUPUESTO
========================================================= */

.m3-footer-cta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;

    margin-top:75px;
    padding:30px 35px;

    border-radius:20px;

    background:linear-gradient(
        110deg,
        #eaf3fc 0%,
        #f5f9fe 100%
    );

    border:1px solid #d9e9f8;
}

.m3-footer-cta-left{
    display:flex;
    align-items:center;
    gap:20px;
}

.m3-footer-cta-icon{
    display:flex;
    align-items:center;
    justify-content:center;

    width:62px;
    height:62px;
    min-width:62px;

    border-radius:17px;

    background:var(--m3-blue);
    color:#ffffff;
}

.m3-footer-cta-icon svg{
    width:29px;
    height:29px;

    fill:none;
    stroke:currentColor;
    stroke-width:1.9;

    stroke-linecap:round;
    stroke-linejoin:round;
}

.m3-footer-cta-copy .m3-footer-cta-title{
    margin:0 0 4px!important;

    color:var(--m3-dark)!important;

    font-size:17px!important;
    font-weight:700!important;
    line-height:1.4;
}

.m3-footer-cta-copy p{
    margin:0!important;

    color:var(--m3-text)!important;

    font-size:13px!important;
    font-weight:400!important;
    line-height:1.7;
}

/* BOTÓN */

.m3-footer .m3-footer-cta-button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;

    padding:16px 28px;

    border-radius:50px;

    background:var(--m3-blue)!important;
    color:#ffffff!important;

    font-size:12px!important;
    font-weight:700!important;
    white-space:nowrap;

    transition:
        background .25s ease,
        transform .25s ease,
        box-shadow .25s ease;
}

.m3-footer .m3-footer-cta-button:hover{
    background:var(--m3-blue-dark)!important;
    transform:translateY(-2px);
    box-shadow:0 10px 25px rgba(0,84,166,.18);
}

/* =========================================================
   11. BARRA INFERIOR
========================================================= */

.m3-footer-bottom{
    width:100%;
    background:var(--m3-blue);
    border-top:1px solid var(--m3-blue);
}

.m3-footer-bottom-inner{
    width:100%;
    max-width:1240px;

    margin:0 auto;
    padding:25px 0;

    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:25px;
}

.m3-footer-copyright{
    margin:0!important;

    color:rgba(255,255,255,.9)!important;

    font-size:11px!important;
    font-weight:400!important;
    line-height:1.7;
}

.m3-footer-legal{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    flex-wrap:wrap;
    gap:23px;
}

.m3-footer .m3-footer-legal a{
    color:#ffffff!important;

    font-size:11px!important;
    font-weight:500!important;
    line-height:1.5;

    transition:opacity .2s ease;
}

.m3-footer .m3-footer-legal a:hover{
    opacity:.75;
}

/* =========================================================
   12. PANTALLAS MUY GRANDES
========================================================= */

@media(min-width:1600px){

    .m3-footer-main{
        padding-left:120px;
        padding-right:120px;
    }

    .m3-footer-bottom-inner{
        max-width:1240px;
    }

}

/* =========================================================
   13. TABLET
========================================================= */

@media(max-width:1100px){

    .m3-footer-main{
        padding:
            65px
            50px
            60px;
    }

    .m3-footer-grid{
        grid-template-columns:1fr 1fr;
        gap:55px 50px;
    }

    .m3-footer-brand{
        grid-column:1 / -1;
    }

    .m3-footer-description{
        max-width:650px;
    }

    .m3-footer-cta{
        margin-top:60px;
    }

    .m3-footer-bottom-inner{
        padding:25px 50px;
    }

}

/* =========================================================
   14. MÓVIL
========================================================= */

@media(max-width:767px){

    .m3-footer-main{
        padding:
            50px
            25px
            45px;
    }

    .m3-footer-grid{
        grid-template-columns:1fr;
        gap:43px;
    }

    .m3-footer-brand{
        grid-column:auto;
    }

    .m3-footer-logo{
        margin-bottom:23px;
    }

    .m3-footer-logo img{
        width:190px;
    }

    .m3-footer-description{
        max-width:100%;
        font-size:13px!important;
        line-height:1.9;
    }

    .m3-footer-title{
        font-size:19px!important;
        margin-bottom:23px!important;
    }

    .m3-footer-contact{
        gap:17px;
    }

    .m3-footer-contact-icon{
        width:43px;
        height:43px;
        min-width:43px;
    }

    .m3-footer-contact-text{
        font-size:13px!important;
    }

    .m3-footer .m3-footer-services a{
        min-height:46px;
        font-size:13px!important;
    }

    /* CTA */

    .m3-footer-cta{
        flex-direction:column;
        align-items:stretch;
        gap:24px;

        margin-top:50px;
        padding:25px 22px;
        border-radius:16px;
    }

    .m3-footer-cta-left{
        align-items:flex-start;
        gap:15px;
    }

    .m3-footer-cta-icon{
        width:52px;
        height:52px;
        min-width:52px;
        border-radius:13px;
    }

    .m3-footer-cta-icon svg{
        width:24px;
        height:24px;
    }

    .m3-footer-cta-copy .m3-footer-cta-title{
        font-size:15px!important;
    }

    .m3-footer-cta-copy p{
        font-size:12px!important;
    }

    .m3-footer .m3-footer-cta-button{
        width:100%;
        padding:15px 20px;
        text-align:center;
    }

    /* BARRA INFERIOR */

    .m3-footer-bottom-inner{
        flex-direction:column;
        align-items:center;
        justify-content:center;
        gap:17px;

        padding:25px;
        text-align:center;
    }

    .m3-footer-copyright{
        font-size:11px!important;
    }

    .m3-footer-legal{
        justify-content:center;
        gap:13px 18px;
    }

    .m3-footer .m3-footer-legal a{
        font-size:11px!important;
    }

}

/* =========================================================
   15. ACCESIBILIDAD
========================================================= */

.m3-footer a:focus-visible{
    outline:2px solid var(--m3-blue)!important;
    outline-offset:4px;
}

.m3-footer-bottom a:focus-visible{
    outline-color:#ffffff!important;
}

@media(prefers-reduced-motion:reduce){

    .m3-footer *,
    .m3-footer *::before,
    .m3-footer *::after{
        transition:none!important;
        animation:none!important;
    }

}



/* ===== Bloque de contacto [m3_contacto] ===== */

    .m3-contact,.m3-contact * {
        box-sizing:border-box
    }
    .m3-contact {
        --blue:#0054a6;
        --blue-dark:#003d7c;
        --blue-light:#eaf3fc;
        --dark:#202630;
        --text:#596675;
        position:relative;
        isolation:isolate;
        width:100%;
        padding:105px 0 115px;
        background:linear-gradient(125deg,#003d7c 0%,#0054a6 55%,#176bb9 100%);
        font-family:'Poppins',Arial,sans-serif!important;
        overflow:hidden;
        scroll-margin-top:90px
    }
    .m3-contact a {
        text-decoration:none!important
    }
    .m3-contact svg {
        display:block
    }
    .m3-contact button,.m3-contact input,.m3-contact textarea,.m3-contact select {
        font-family:'Poppins',Arial,sans-serif!important
    }
    .m3-contact:before {
        content:'';
        position:absolute;
        width:650px;
        height:650px;
        top:-330px;
        right:-200px;
        border:1px solid rgba(255,255,255,.13);
        border-radius:50%;
        box-shadow:0 0 0 75px rgba(255,255,255,.025),0 0 0 150px rgba(255,255,255,.018);
        pointer-events:none
    }
    .m3-contact:after {
        content:'';
        position:absolute;
        width:430px;
        height:430px;
        left:-240px;
        bottom:-250px;
        border-radius:50%;
        background:rgba(255,255,255,.045);
        pointer-events:none
    }
    .m3-contact-decoration {
        position:absolute;
        z-index:-1;
        inset:0;
        pointer-events:none;
        background-image:radial-gradient(rgba(255,255,255,.13) 1px,transparent 1px);
        background-size:28px 28px;
        background-position:right 30px top 35px;
        mask-image:linear-gradient(to left,#000,transparent 55%)
    }
    .m3-contact-container {
        position:relative;
        z-index:2;
        width:100%;
        max-width:1440px;
        margin:0 auto;
        padding:0 75px
    }
    .m3-contact-heading {
        display:flex;
        align-items:flex-end;
        justify-content:space-between;
        gap:50px;
        margin-bottom:55px
    }
    .m3-contact-heading-main {
        max-width:740px
    }
    .m3-contact-eyebrow {
        display:inline-flex;
        align-items:center;
        gap:11px;
        margin-bottom:20px;
        color:#bcdcff;
        font-size:12px;
        font-weight:700;
        letter-spacing:1.3px;
        text-transform:uppercase
    }
    .m3-contact-eyebrow:before {
        content:'';
        display:block;
        width:27px;
        height:3px;
        border-radius:5px;
        background:#bcdcff
    }
    .m3-contact .m3-contact-title {
        margin:0!important;
        color:#fff!important;
        font-size:clamp(36px,3.5vw,48px)!important;
        font-weight:700!important;
        line-height:1.2!important;
        letter-spacing:-1.2px
    }
    .m3-contact-title span {
        color:#bcdcff
    }
    .m3-contact-heading-side {
        max-width:395px;
        padding-bottom:5px
    }
    .m3-contact .m3-contact-heading-side p {
        margin:0!important;
        color:rgba(255,255,255,.88)!important;
        font-size:15px!important;
        line-height:1.85!important
    }
    .m3-contact-grid {
        display:grid;
        grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
        align-items:start;
        gap:35px
    }
    .m3-contact-info {
        display:flex;
        flex-direction:column;
        gap:24px;
        min-width:0
    }
    .m3-contact-info-intro {
        padding:0 4px 5px
    }
    .m3-contact .m3-contact-info-intro h3 {
        margin:0 0 12px!important;
        color:white!important;
        font-size:22px!important;
        font-weight:700!important;
        line-height:1.4!important
    }
    .m3-contact .m3-contact-info-intro p {
        max-width:490px;
        margin:0!important;
        color:rgba(255,255,255,.85)!important;
        font-size:14px!important;
        line-height:1.9!important
    }
    .m3-contact-cards {
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:16px
    }
    .m3-contact-card {
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:17px;
        min-width:0;
        min-height:195px;
        padding:25px 22px 27px;
        background:rgba(255,255,255,.98);
        border:1px solid rgba(255,255,255,.55);
        border-radius:17px;
        box-shadow:0 12px 30px rgba(0,31,72,.09);
        transition:transform .25s,box-shadow .25s
    }
    .m3-contact-card:hover {
        transform:translateY(-4px);
        box-shadow:0 18px 38px rgba(0,31,72,.16)
    }
    .m3-contact-card-icon {
        display:flex;
        align-items:center;
        justify-content:center;
        width:50px;
        height:50px;
        min-width:50px;
        border-radius:13px;
        background:var(--blue-light);
        color:var(--blue)
    }
    .m3-contact-card-icon svg {
        width:24px;
        height:24px;
        fill:none;
        stroke:currentColor;
        stroke-width:1.8;
        stroke-linecap:round;
        stroke-linejoin:round
    }
    .m3-contact-card-content {
        display:flex;
        flex-direction:column;
        align-items:flex-start;
        gap:9px;
        width:100%;
        min-width:0
    }
    .m3-contact .m3-contact-card-title {
        display:block;
        width:100%;
        margin:0!important;
        padding:0!important;
        color:var(--dark)!important;
        font-size:15px!important;
        font-weight:700!important;
        line-height:1.45!important;
        overflow-wrap:anywhere
    }
    .m3-contact-card-details {
        display:flex;
        flex-direction:column;
        gap:5px;
        width:100%;
        min-width:0;
        color:var(--text);
        font-size:13px;
        font-weight:400;
        line-height:1.75;
        overflow-wrap:anywhere
    }
    .m3-contact .m3-contact-card-details a {
        display:inline-block;
        width:fit-content;
        max-width:100%;
        color:var(--text)!important;
        font-size:14px!important;
        font-weight:500!important;
        line-height:1.75!important;
        overflow-wrap:anywhere;
        transition:color .2s
    }
    .m3-contact .m3-contact-card-details a:hover {
        color:var(--blue)!important
    }
    .m3-contact-whatsapp-box {
        display:flex;
        align-items:center;
        justify-content:space-between;
        gap:20px;
        padding:26px;
        border:1px solid rgba(255,255,255,.22);
        border-radius:17px;
        background:rgba(255,255,255,.1);
        backdrop-filter:blur(8px)
    }
    .m3-contact-whatsapp-copy {
        min-width:0
    }
    .m3-contact .m3-contact-whatsapp-copy strong {
        display:block;
        margin-bottom:7px;
        color:#fff!important;
        font-size:15px!important;
        font-weight:700!important;
        line-height:1.5
    }
    .m3-contact .m3-contact-whatsapp-copy span {
        display:block;
        color:rgba(255,255,255,.85);
        font-size:13px;
        line-height:1.7
    }
    .m3-contact .m3-contact-whatsapp-btn {
        display:inline-flex;
        align-items:center;
        justify-content:center;
        gap:10px;
        flex-shrink:0;
        min-height:49px;
        padding:13px 20px;
        border-radius:50px;
        background:#fff!important;
        color:var(--blue)!important;
        font-size:13px!important;
        font-weight:600!important;
        line-height:1.4!important;
        white-space:nowrap;
        transition:background .2s,transform .2s
    }
    .m3-contact .m3-contact-whatsapp-btn:hover {
        background:#eaf3fc!important;
        transform:translateY(-2px)
    }
    .m3-contact-whatsapp-btn svg {
        width:19px;
        height:19px;
        fill:currentColor
    }
    .m3-contact-form-card {
        position:relative;
        min-width:0;
        padding:45px 43px 47px;
        background:#fff;
        border:1px solid rgba(255,255,255,.7);
        border-radius:22px;
        box-shadow:0 24px 65px rgba(0,25,65,.18);
        overflow:visible
    }
    .m3-contact-form-card:before {
        content:'';
        position:absolute;
        top:0;
        left:22px;
        right:22px;
        height:5px;
        border-radius:0 0 5px 5px;
        background:linear-gradient(90deg,#0054a6,#4599e6)
    }
    .m3-contact-form-top {
        display:flex;
        align-items:center;
        gap:16px;
        margin-bottom:17px
    }
    .m3-contact-form-icon {
        display:flex;
        align-items:center;
        justify-content:center;
        width:52px;
        height:52px;
        min-width:52px;
        border-radius:13px;
        background:var(--blue-light);
        color:var(--blue)
    }
    .m3-contact-form-icon svg {
        width:25px;
        height:25px;
        fill:none;
        stroke:currentColor;
        stroke-width:1.8;
        stroke-linecap:round;
        stroke-linejoin:round
    }
    .m3-contact .m3-contact-form-title {
        margin:0!important;
        color:var(--dark)!important;
        font-size:24px!important;
        font-weight:700!important;
        line-height:1.35!important
    }
    .m3-contact .m3-contact-form-description {
        margin:0 0 30px!important;
        color:var(--text)!important;
        font-size:14px!important;
        line-height:1.85!important
    }
    @media(max-width:1200px) {
        .m3-contact-container {
            padding:0 45px
        }
        .m3-contact-grid {
            gap:26px
        }
        .m3-contact-form-card {
            padding:38px 31px 40px
        }
        .m3-contact-card {
            padding:22px 19px
        }
        .m3-contact-whatsapp-box {
            flex-direction:column;
            align-items:flex-start
        }
    }
    @media(max-width:950px) {
        .m3-contact {
            padding:85px 0 95px
        }
        .m3-contact-heading {
            flex-direction:column;
            align-items:flex-start;
            gap:20px;
            margin-bottom:40px
        }
        .m3-contact-heading-side {
            max-width:650px
        }
        .m3-contact-grid {
            grid-template-columns:1fr;
            gap:38px
        }
        .m3-contact-info {
            gap:22px
        }
        .m3-contact-card {
            min-height:170px
        }
        .m3-contact-whatsapp-box {
            flex-direction:row;
            align-items:center
        }
    }
    @media(max-width:600px) {
        .m3-contact {
            padding:70px 0 78px
        }
        .m3-contact-container {
            padding:0 20px
        }
        .m3-contact-heading {
            margin-bottom:35px
        }
        .m3-contact .m3-contact-title {
            font-size:34px!important;
            line-height:1.25!important
        }
        .m3-contact .m3-contact-heading-side p {
            font-size:14px!important
        }
        .m3-contact .m3-contact-info-intro h3 {
            font-size:20px!important
        }
        .m3-contact-cards {
            grid-template-columns:1fr;
            gap:13px
        }
        .m3-contact-card {
            display:grid;
            grid-template-columns:48px minmax(0,1fr);
            align-items:start;
            gap:17px;
            min-height:auto;
            padding:21px
        }
        .m3-contact-card-icon {
            width:47px;
            height:47px;
            min-width:47px
        }
        .m3-contact-card-content {
            padding-top:2px
        }
        .m3-contact-whatsapp-box {
            flex-direction:column;
            align-items:stretch;
            padding:23px
        }
        .m3-contact .m3-contact-whatsapp-btn {
            width:100%
        }
        .m3-contact-form-card {
            padding:32px 23px 35px;
            border-radius:18px
        }
        .m3-contact .m3-contact-form-title {
            font-size:21px!important
        }
        .m3-contact-form-top {
            gap:13px
        }
        .m3-contact-form-icon {
            width:46px;
            height:46px;
            min-width:46px
        }
    }
    .m3-contact a:focus-visible,.m3-contact button:focus-visible {
        outline:2px solid #8ac5ff!important;
        outline-offset:3px
    }
    @media(prefers-reduced-motion:reduce) {
        .m3-contact *,.m3-contact *:before,.m3-contact *:after {
            transition:none!important;
            animation:none!important
        }
    }
  

/* ===== Ajustes del tema (sin Elementor) ===== */
body{font-family:var(--fuente)}
.saltar:focus{z-index:100001}
/* Facebook en la barra superior y en el pie (no en los botones fijos). */
.m3-topbar-social .m3-topbar-icon svg{fill:currentColor;stroke:none}
@media(max-width:1024px){.m3-topbar-social-text{display:none}}
.m3-footer-social{display:inline-flex;align-items:center;gap:10px;margin-top:18px;color:var(--m3-blue,#0054a6)!important;font-weight:600;font-size:14px;text-decoration:none!important}
.m3-footer-social svg{width:34px;height:34px;padding:7px;border-radius:50%;background:#0054a6;fill:#fff;stroke:none}
.m3-footer-social:hover span{text-decoration:underline}
.m3-footer-contact-text a{color:inherit}
/* Formulario del tema dentro de los diseños de M3Sign. */
.m3-contact-form-wrapper .formulario,.m3-formulario .formulario{font-family:var(--fuente)}
.m3-contact-form-wrapper .formulario .boton,.m3-formulario .formulario .boton,
.m3-contact-form-wrapper .formulario button[type=submit],.m3-formulario .formulario button[type=submit]{width:100%;border-radius:50px;background:#0054a6;color:#fff;border-color:#0054a6}
.m3-contact-form-wrapper .formulario button[type=submit]:hover,.m3-formulario .formulario button[type=submit]:hover{background:#003d7c;border-color:#003d7c}
.m3-falta-foto{display:block;padding:12px;border:2px dashed #c62828;color:#c62828;font-size:13px}
/* Botones fijos: en escritorio, en el lateral; en móvil, barra abajo (estilos base en footer.css del tema). */
.contacto-rapido__boton--presupuesto{background:#003d7c;color:#fff}
.contacto-rapido__boton--presupuesto:hover{color:#fff}
/* Caja "Servicio relacionado" al final de las entradas del blog. */
.m3-servicio-entrada{padding:0 20px 70px;background:#fff}
.m3-servicio-entrada__dentro{max-width:860px;margin:0 auto;padding:30px 32px;border:1px solid #dce6f0;border-left:5px solid #0054a6;border-radius:16px;background:#f5f9fe;font-family:var(--fuente)}
.m3-servicio-entrada__antetitulo{margin:0 0 4px;color:#0054a6;font-size:12px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.m3-servicio-entrada__titulo{margin:0 0 8px;color:#202630;font-size:22px;font-weight:700;line-height:1.3}
.m3-servicio-entrada__dentro p{color:#3f4854}
.m3-servicio-entrada__botones{display:flex;flex-wrap:wrap;gap:12px 22px;align-items:center;margin-top:16px}
.m3-servicio-entrada__boton{display:inline-flex;padding:12px 24px;border-radius:50px;background:#0054a6;color:#fff!important;font-weight:600;text-decoration:none!important}
.m3-servicio-entrada__boton:hover{background:#003d7c}
.m3-servicio-entrada__enlace{color:#0054a6!important;font-weight:600}

/* ===== Correcciones 2 ===== */
/* El campo de "otro prefijo" solo se ve al elegir "Otro país". */
.formulario [hidden]{display:none!important}
/* Cabecera: textos más legibles en PC. */
@media(min-width:1051px){
	.m3-topbar{font-size:13.5px}
	.m3-header .m3-topbar-contact{font-size:13.5px!important}
	.m3-header .m3-nav>a,.m3-header .m3-services-link{font-size:15.5px!important}
	.m3-header .m3-header-cta{font-size:15px!important;padding:15px 24px}
	.m3-mega-head .m3-mega-titulo{font-size:20px!important}
	.m3-mega-head p{font-size:14px!important}
	.m3-header .m3-mega-all{font-size:13px!important}
	.m3-mega-category{font-size:13.5px!important}
	.m3-mega-copy strong{font-size:14.5px!important}
	.m3-mega-copy small{font-size:12.5px!important}
	.m3-logo img{width:205px}
}
@media(min-width:1051px) and (max-width:1250px){
	.m3-header .m3-nav>a,.m3-header .m3-services-link{font-size:14px!important}
	.m3-header .m3-header-cta{font-size:13.5px!important;padding:13px 18px}
	.m3-logo img{width:175px}
}
/* Mapa diferido dentro del bloque de contacto y en Home/Contacto. */
.m3-contact .m3-contact-mapa{margin:18px 0 0;aspect-ratio:16/8;border:6px solid rgba(255,255,255,.14);border-radius:18px}
.m3-mapa .contacto__mapa-boton{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:100%;border:0;cursor:pointer;font-family:var(--fuente);color:#0054a6}
.m3-mapa .contacto__mapa-texto{background:#0054a6;color:#fff}
.m3-mapa .contacto__mapa-boton:hover .contacto__mapa-texto{background:#003d7c;color:#fff}
.m3h-map-card .m3-mapa,.m3-contacto .m3-mapa{margin:0;height:405px;aspect-ratio:auto;border-radius:0}
@media(max-width:767px){.m3h-map-card .m3-mapa,.m3-contacto .m3-mapa{height:300px}}

/* Preguntas frecuentes (Home y entradas) */
.m3-faq{padding:56px 20px;background:#f5f8fb;font-family:Poppins,system-ui,sans-serif}
.m3-faq__dentro{max-width:860px;margin:0 auto}
.m3-faq__antetitulo{display:block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#0054a6;margin-bottom:8px}
.m3-faq h2{font-size:clamp(22px,3vw,30px);line-height:1.25;margin:0 0 24px;color:#0b1f33}
.m3-faq__lista{display:flex;flex-direction:column;gap:10px}
.m3-faq__item{background:#fff;border:1px solid #dce6f0;border-radius:10px;overflow:hidden}
.m3-faq__item summary{list-style:none;cursor:pointer;padding:16px 52px 16px 20px;font-weight:600;font-size:16px;line-height:1.4;color:#0b1f33;position:relative}
.m3-faq__item summary::-webkit-details-marker{display:none}
.m3-faq__item summary::after{content:"+";position:absolute;right:18px;top:50%;transform:translateY(-50%);width:26px;height:26px;border-radius:50%;background:#0054a6;color:#fff;font-size:18px;line-height:26px;text-align:center;font-weight:500}
.m3-faq__item[open] summary::after{content:"−"}
.m3-faq__item summary:focus-visible{outline:2px solid #0054a6;outline-offset:-2px}
.m3-faq__respuesta{padding:0 20px 18px;color:#34495e;font-size:15.5px;line-height:1.65}
.m3-faq__respuesta p{margin:0}
.m3-faq__mas{margin:22px 0 0}
.m3-faq__mas a{color:#0054a6;font-weight:600;text-decoration:none}
.m3-faq__mas a:hover{text-decoration:underline}
article .m3-faq{margin:40px 0;border-radius:14px;padding:36px 24px}
@media (max-width:640px){.m3-faq{padding:40px 16px}.m3-faq__item summary{font-size:15px;padding:14px 48px 14px 16px}.m3-faq__respuesta{padding:0 16px 16px}}
.m3-faq .m3-faq__dentro>h2{margin:0 0 24px}
.m3-faq .m3-faq__mas{margin-top:22px}

/* Servicios relacionados en landings */
.m3-relacionados{padding:56px 20px;background:#fff;font-family:Poppins,system-ui,sans-serif}
.m3-relacionados__dentro{max-width:1140px;margin:0 auto}
.m3-relacionados__antetitulo{display:block;font-size:13px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#0054a6;margin-bottom:8px}
.m3-relacionados .m3-relacionados__dentro>h2{font-size:clamp(22px,3vw,30px);line-height:1.25;margin:0 0 24px;color:#0b1f33}
.m3-relacionados__rejilla{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:16px}
.m3-relacionados__tarjeta{display:flex;flex-direction:column;gap:6px;padding:20px 22px;border:1px solid #dce6f0;border-radius:12px;background:#f5f8fb;text-decoration:none!important;transition:border-color .2s,transform .2s}
.m3-relacionados__tarjeta:hover{border-color:#0054a6;transform:translateY(-2px)}
.m3-relacionados__tarjeta strong{color:#0054a6;font-size:17px;font-weight:600}
.m3-relacionados__tarjeta span{color:#3f4854;font-size:14.5px;line-height:1.5}
.m3-relacionados__blog-titulo{margin:32px 0 10px;font-size:18px;font-weight:600;color:#0b1f33}
.m3-relacionados__blog{margin:0;padding-left:20px;line-height:1.9}
.m3-relacionados__blog a{color:#0054a6;font-weight:500}
@media (max-width:640px){.m3-relacionados{padding:40px 16px}}
