/* ─── Premium Floating Footer ─── */
.site-footer {
    background: var(--clr-dark);
    color: rgba(255, 255, 255, 0.75);
    /* Creates the floating effect at the bottom of the page */
    margin: 0 40px 40px; 
    border-radius: var(--r-lg);
    padding: 70px 70px 30px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 40px;
    margin-bottom: 50px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h2 {
    font-family: var(--font-d);
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 320px;
}

.social-links-footer {
    display: flex;
    gap: 12px;
}

.social-links-footer a {
    width: 40px; 
    height: 40px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: #ffffff;
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-links-footer a:hover {
    background: var(--clr-primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(139, 111, 222, 0.25);
}

.footer-links h3, .footer-contact h3 {
    font-family: var(--font-d);
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

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

.footer-links li {
    margin-bottom: 14px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #ffffff;
    transform: translateX(4px);
}

.footer-contact p {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.9rem;
    margin-bottom: 18px;
    line-height: 1.5;
}

.footer-contact svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--clr-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-links a:hover {
    color: #ffffff;
}

/* ─── Mobile Responsiveness ─── */
@media (max-width: 1024px) {
    .footer-top { grid-template-columns: 1fr 1fr; gap: 40px 20px; }
    .footer-brand { grid-column: span 2; }
    .footer-brand p { max-width: 100%; }
}

@media (max-width: 600px) {
    .site-footer { margin: 0 20px 20px; padding: 50px 30px 30px; }
    .footer-top { grid-template-columns: 1fr; gap: 40px; }
    .footer-brand { grid-column: span 1; }
    .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}