/* =========================================================
   SITE FOOTER — nativo PHP (Elementor Free)
   ========================================================= */

.ps-site-footer {
    width: 100%;
    margin-top: 0;
    padding: 72px 0 28px;
    /* Fondo propio (sin glow L/R) para no romper el intercalado de secciones */
    background: #090A0B;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 1px 0 rgba(123, 183, 255, 0.06);
    color: #9ca6ac;
    font-family: var(--ps-font);
}

.ps-site-footer__inner {
    width: min(1140px, calc(100% - 48px));
    margin: 0 auto;
}

.ps-site-footer__grid {
    display: grid;
    grid-template-columns: 1.2fr 0.9fr 0.85fr 1.35fr;
    gap: 32px 28px;
    padding-bottom: 42px;
}

.ps-site-footer__logo {
    display: inline-flex;
    align-items: center;
    margin-bottom: 16px;
    text-decoration: none !important;
    line-height: 0;
}

.ps-site-footer__logo-img {
    display: block;
    width: auto;
    height: 42px;
    max-width: 210px;
    object-fit: contain;
}

.ps-site-footer__logo-text {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.2;
}

.ps-site-footer__text {
    margin: 0 0 20px !important;
    max-width: 320px;
    color: #9ca6ac !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

.ps-site-footer__social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ps-site-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #ffffff !important;
    text-decoration: none !important;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.ps-site-footer__social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

.ps-site-footer__social-link:hover {
    background: rgba(123, 183, 255, 0.1);
    border-color: rgba(123, 183, 255, 0.45);
    color: #7bb7ff !important;
    transform: translateY(-2px);
}

.ps-site-footer__title {
    margin: 0 0 16px !important;
    color: #ffffff !important;
    font-family: var(--ps-font) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    letter-spacing: 0 !important;
    line-height: 1.3 !important;
}

.ps-site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ps-site-footer__list li {
    margin: 0 0 10px;
}

.ps-site-footer__list a {
    color: #9ca6ac !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ps-site-footer__list a:hover {
    color: #7bb7ff !important;
}

.ps-site-footer__contact {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.ps-site-footer__contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.ps-site-footer__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(123, 183, 255, 0.35);
    background: rgba(123, 183, 255, 0.06);
    color: #7bb7ff;
}

.ps-site-footer__contact-icon svg {
    width: 16px;
    height: 16px;
    display: block;
}

.ps-site-footer__contact-copy {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.ps-site-footer__contact-label {
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    line-height: 1.3 !important;
}

.ps-site-footer__contact-copy a,
.ps-site-footer__contact-copy span:not(.ps-site-footer__contact-label) {
    color: #9ca6ac !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
    text-decoration: none !important;
    white-space: nowrap;
}

.ps-site-footer__contact-copy a:hover {
    color: #7bb7ff !important;
}

.ps-site-footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    flex-wrap: wrap;
    padding-top: 22px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ps-site-footer__copy {
    margin: 0 !important;
    color: #7f8a90 !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.ps-site-footer__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 10px;
    color: #7f8a90;
    font-size: 12px !important;
}

.ps-site-footer__meta a {
    color: #7f8a90 !important;
    font-size: 12px !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.ps-site-footer__meta a:hover {
    color: #7bb7ff !important;
}

.ps-site-footer__sep {
    color: #5c666c;
    font-size: 12px !important;
}

.ps-site-footer__visits {
    margin-left: 4px;
    color: #7f8a90;
    font-size: 12px !important;
}

.ps-site-footer__visits .srs-pageviews,
.ps-site-footer__visits span {
    color: inherit;
}

@media (max-width: 1024px) {
    .ps-site-footer {
        padding: 56px 0 24px;
    }

    .ps-site-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px 24px;
    }

    .ps-site-footer__brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 700px) {
    .ps-site-footer__inner {
        width: calc(100% - 40px);
    }

    .ps-site-footer__grid {
        grid-template-columns: 1fr;
        gap: 28px;
        padding-bottom: 32px;
        justify-items: center;
        text-align: center;
    }

    .ps-site-footer__col--nav,
    .ps-site-footer__col--contact {
        display: none;
    }

    .ps-site-footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .ps-site-footer__logo {
        margin-left: auto;
        margin-right: auto;
    }

    .ps-site-footer__text {
        max-width: 360px;
        text-align: center !important;
    }

    .ps-site-footer__social {
        justify-content: center;
    }

    .ps-site-footer__bottom {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 12px;
    }

    .ps-site-footer__meta {
        justify-content: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ps-site-footer__social-link,
    .ps-site-footer__list a,
    .ps-site-footer__contact-copy a,
    .ps-site-footer__meta a {
        transition: none;
    }

    .ps-site-footer__social-link:hover {
        transform: none;
    }
}
