/* ===========================
   PMF FINANCE — FOOTER STYLES
   =========================== */

:root {
    --footer-bg: #1e1a18;
    --footer-bottom-bg: #161210;
    --red: #CC1F1F;
    --white: #ffffff;
    --footer-text: #c8c0ba;
    --footer-text-dim: #8a8078;
    --footer-link-hover: #ffffff;
    --footer-border: #2e2824;
}

/* ===== MAIN FOOTER ===== */
.site-footer {
    background-color: var(--footer-bg);
    font-family: 'DM Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
}

.footer-main {
    padding: 44px 0 36px;
    border-bottom: 1px solid var(--footer-border);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 40px;
    align-items: start;
}

/* ===== SOCIAL ICONS ===== */
.footer-social {
    display: flex;
    flex-direction: row;
    gap: 14px;
    flex-wrap: nowrap;
    padding-top: 4px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--red);
    transition: color 0.2s, transform 0.2s;
    flex-shrink: 0;
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    color: var(--white);
    transform: translateY(-2px);
}

/* ===== FOOTER NAV COLUMNS ===== */
.footer-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.footer-nav-col {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
    text-align: left;
}

.footer-nav-col li a {
    font-size: 13px;
    font-weight: 400;
    color: var(--footer-text);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.18s, padding-left 0.18s;
    display: block;
}

.footer-nav-col li a:hover {
    color: var(--footer-link-hover);
    padding-left: 4px;
}

/* ===== BOTTOM BAR ===== */
.footer-bottom {
    background-color: var(--footer-bottom-bg);
    padding: 14px 0;
    position: relative;
}

.footer-bottom-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: grid;
    grid-template-columns: 200px 1fr 220px;
    align-items: center;
    gap: 24px;
}

.footer-copy {
    font-size: 12px;
    color: var(--footer-text-dim);
    white-space: nowrap;
}

.footer-legal {
    font-size: 11.5px;
    color: var(--footer-text-dim);
    line-height: 1.65;
    text-align: center;
}

.footer-legal strong {
    color: var(--footer-text);
    font-weight: 600;
}

.footer-legal sup {
    font-size: 9px;
}

.footer-credit {
    font-size: 12px;
    color: var(--footer-text-dim);
    text-align: right;
    white-space: nowrap;
}

/* ===== FLOATING CALL BUTTON ===== */
.float-call {
    position: absolute;
    right: 48px;
    top: 50%;
    transform: translateY(-130%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--red);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(204, 31, 31, 0.45);
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
    z-index: 10;
}

.float-call:hover {
    background: #aa1515;
    transform: translateY(-140%) scale(1.07);
    box-shadow: 0 6px 20px rgba(204, 31, 31, 0.6);
}

.float-call svg {
    width: 22px;
    height: 22px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 16px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-social {
        flex-direction: row;
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .footer-inner { padding: 0 20px; }

    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-inner {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 10px;
        padding: 0 20px;
    }

    .footer-copy,
    .footer-credit,
    .footer-legal {
        text-align: center;
    }

    .float-call {
        right: 20px;
    }
}

@media (max-width: 480px) {
    .footer-nav {
        grid-template-columns: 1fr 1fr;
        gap: 20px 12px;
    }
}