/* New Bold Footer Statement */

.footer {
    background-color: var(--bg-soft);
    position: relative;
    overflow: hidden;
    padding-top: 100px;
    padding-bottom: 40px;
    border-top: 1px solid var(--border-color);
}

/* Subtle Background Pattern inspired by premium tech/automotive designs */
.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, 0.05) 1px, transparent 0),
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px, 80px 80px, 80px 80px;
    background-position: center center;
    pointer-events: none;
    z-index: 0;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.footer .container {
    position: relative;
    z-index: 1;
}

/* Top Section with Statement CTA */
.footer-top {
    padding-bottom: 100px;
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: 80px;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 8vw, 88px);
    max-width: 900px;
    line-height: 0.95;
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    background: linear-gradient(180deg, var(--text-light) 0%, rgba(245, 245, 247, 0.5) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-cta-text {
    font-size: 18px;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

/* Main Grid Layout inspired by Agro and Maple Square */
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-heading::after {
    content: "";
    display: block;
    width: 20px;
    height: 1px;
    background-color: var(--primary);
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 24px;
}

.footer-description {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 280px;
    line-height: 1.6;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-nav a {
    font-size: 18px;
    font-family: var(--font-heading);
    color: var(--text-muted);
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-nav a:hover {
    color: var(--text-light);
    transform: translateX(10px);
}

.footer-address {
    font-style: normal;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-contact-links a {
    color: var(--text-light);
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact-links a:hover {
    color: var(--primary);
}

.footer-schedule p {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Bottom Bar */
.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

.footer-legal {
    display: flex;
    gap: 32px;
}

.footer-legal a {
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 640px) {
    .footer {
        padding-top: 60px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-top {
        padding-bottom: 40px;
        margin-bottom: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
        gap: 20px;
    }
}