.elementor-452 .elementor-element.elementor-element-4c6c5de{width:100%;max-width:100%;}.elementor-452 .elementor-element.elementor-element-4c6c5de.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}/* Start custom CSS for html, class: .elementor-element-4c6c5de *//* ==========================================================================
   CORRECCIÓN GLOBAL
   ========================================================================== */

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: clip; /* FIX #1: clip en vez de hidden — no crea scroll context secundario */
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer,
footer,
#colophon,
.elementor-template-footer {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    overflow: clip !important; /* FIX #3: clip contiene los translateY sin generar espacio fantasma */
    box-sizing: border-box !important;
}

.site-footer {
    background: linear-gradient(135deg, #0a2847 0%, #011f3d 100%);
    border-top: 1px solid rgba(13, 164, 232, .2);
    color: #fff;
    font-family: 'Inter', system-ui, sans-serif;
}

/* ==========================================================================
   CONTENEDOR PRINCIPAL
   ========================================================================== */

.footer-inner {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 50px 80px 35px;
    box-sizing: border-box;

    display: grid;
    /* FIX #2: minmax(0, fr) en vez de minmax(420px, fr) — evita que el grid
       supere el ancho del viewport en pantallas pequeñas */
    grid-template-columns:
        minmax(0, 2.5fr)
        minmax(0, 1fr)
        minmax(0, 1fr)
        minmax(0, 1.4fr);

    gap: 60px;
}

/* ==========================================================================
   LOGO
   ========================================================================== */

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo-box {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

.footer-logo-box img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.footer-logo-text {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.2;
}

.footer-logo-text small {
    display: block;
    margin-top: 4px;
    color: #0da4e8;
    letter-spacing: 2px;
    font-size: .7rem;
}

/* ==========================================================================
   TEXTO
   ========================================================================== */

.footer-desc {
    font-size: 1rem;
    line-height: 1.8;
    max-width: 500px;
}

.site-footer p,
.site-footer li,
.site-footer span {
    color: rgba(255, 255, 255, .82);
}

.site-footer a {
    color: #fff;
    text-decoration: none;
    transition: .3s;
}

/* ==========================================================================
   COLUMNAS
   ========================================================================== */

.footer-col h4 {
    color: #0da4e8;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.footer-col ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a:hover {
    color: #0da4e8;
    padding-left: 5px;
}



/* ==========================================================================
   REDES SOCIALES
   ========================================================================== */

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.social-link {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    border-radius: 10px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);

    box-sizing: border-box;
    overflow: hidden;
    text-decoration: none;
    color: #fff;
    transition: all .35s ease;
}

.social-link svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
    margin: auto; /* ← centrado extra por si hay conflicto con WordPress */
}

.social-fb svg { width: 16px; height: 16px; }
.social-tt svg { width: 17px; height: 17px; }
.social-li svg { width: 17px; height: 17px; }

.social-link:hover {
    background: #0da4e8;
    border-color: #0da4e8;
    transform: translateY(-4px);
}

/* ==========================================================================
   FOOTER INFERIOR
   ========================================================================== */

.footer-bottom {
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    padding: 22px 80px;
    box-sizing: border-box; /* FIX #4: evita que padding + width desborde */

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, .08);
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-bottom span,
.footer-bottom-links a {
    opacity: .75;
}

/* ==========================================================================
   ANIMACIONES
   ========================================================================== */

.footer-brand,
.footer-col,
.footer-bottom {
    opacity: 0;
    transform: translateY(20px); /* rango reducido de 40px → 20px */
    will-change: opacity, transform;
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.site-footer.footer-visible .footer-brand {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .1s;
}

.site-footer.footer-visible .footer-col:nth-of-type(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .25s;
}

.site-footer.footer-visible .footer-col:nth-of-type(3) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .4s;
}

.site-footer.footer-visible .footer-col:nth-of-type(4) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .55s;
}

.site-footer.footer-visible .footer-bottom {
    opacity: 1;
    transform: translateY(0);
    transition-delay: .7s;
}

.site-footer.footer-visible .footer-logo-box img {
    animation: footerFloat 3s ease-in-out infinite;
}

@keyframes footerFloat {
    0%   { transform: translateY(0); }
    50%  { transform: translateY(-6px); }
    100% { transform: translateY(0); }
}

.site-footer.footer-visible .social-link {
    animation: socialPop .5s ease backwards;
}

.site-footer.footer-visible .social-link:nth-child(1) { animation-delay: .8s; }
.site-footer.footer-visible .social-link:nth-child(2) { animation-delay: .9s; }
.site-footer.footer-visible .social-link:nth-child(3) { animation-delay: 1s; }
.site-footer.footer-visible .social-link:nth-child(4) { animation-delay: 1.1s; }

@keyframes socialPop {
    from {
        opacity: 0;
        transform: scale(.7);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1024px) {
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        padding: 40px;
        gap: 35px;
    }
}

@media (max-width: 768px) {
    .footer-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 35px 24px;
    }

    .footer-logo,
    .footer-social,
    .footer-contact li {
        justify-content: center;
    }

    .footer-desc {
        max-width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        padding: 20px 24px;
    }
}/* End custom CSS */