/* ──────────────────────────────────────────────
   FOOTER – Balanced Layout: Logo Left | Company Center | Follow Us Right
   – with CSS variables
────────────────────────────────────────────── */
.site-footer {
    background: var(--footer-bg, #0f0f0f);
    color: var(--footer-text, #d0d0d0);
    padding: 30px 5% 10px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    /* Three equal columns */
    margin-bottom: 70px;
    align-items: start;
}

/* Left: RT Tracker Logo & Tagline */
.footer-brand {
    text-align: left;
}

.footer-brand .logo {
    font-size: 4rem;
    font-weight: 700;
    color: var(--logo-color, #2fa7ac);
    margin-bottom: 1rem;
    letter-spacing: -0.6px;
}

.footer-brand p {
    color: var(--text-muted, #aaa);
    font-size: 1rem;
    max-width: 320px;
}

/* Center: Company Links */
.footer-company {
    text-align: center;
}

.footer-company h4 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text-heading, #ffffff);
    margin-bottom: 1.4rem;
    letter-spacing: 0.3px;
}

.footer-company ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-company li {
    margin-bottom: 0.9rem;
}

.footer-company a {
    color: var(--footer-link, #bbb);
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-company a:hover {
    color: var(--accent, #1a73e8);
}

/* Right: Follow Us (Social Icons) */
.footer-social {
    text-align: center;
}

.footer-social h4 {
    font-size: 1.18rem;
    font-weight: 600;
    color: var(--text-heading, #ffffff);
    margin-bottom: 1.4rem;
    letter-spacing: 0.3px;
}

.social-icons {
    display: flex;
    justify-content: flex-end;
    gap: 1.4rem;
    padding: 0;
    margin: 0;
    list-style: none;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--social-bg, rgba(255, 255, 255, 0.06));
    color: var(--social-icon, #bbb);
    border-radius: 50%;
    font-size: 1.35rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--accent, #1a73e8);
    color: var(--social-icon-hover, white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-social, 0 10px 25px rgba(26, 115, 232, 0.35));
}

/* Bottom copyright */
.footer-bottom {
    border-top: 1px solid var(--border-footer, #222);
    text-align: center;
    color: var(--text-muted, #888);
    font-size: 1rem;
}

.footer-bottom p {
    margin: 0.6rem 0;
}

/* Responsive – stack on smaller screens */
@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .footer-brand,
    .footer-company,
    .footer-social {
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        gap: 1.6rem;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }
}

@media (max-width: 576px) {
    .site-footer {
        padding: 80px 5% 50px;
    }

    .social-icons a {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
    }
}