﻿/* Footer styles */
.site-footer {
    margin-top: 2.5rem;
    padding: 2.4rem 0 1.35rem;
    background: linear-gradient(180deg, rgba(37,152,90,0.09), rgba(255,255,255,0.95));
    color: var(--eco-muted);
    border-top: 1px solid rgba(23,104,67,0.12);
    font-size: 0.95rem;
}

.footer-top {
    display: grid;
    grid-template-columns: minmax(280px, 1.8fr) repeat(3, minmax(180px, 1fr));
    gap: 1.25rem;
    align-items: start;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto 1rem;
}

.footer-brand .brand-footer {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.footer-brand .footer-logo {
    height: 40px;
    width: auto;
}

.footer-brand-title {
    font-weight: 900;
    color: var(--eco-green-dark);
    font-size: 1.05rem;
}

.footer-desc {
    margin: 0.75rem 0 0.9rem;
    color: var(--eco-muted);
    line-height: 1.45;
    max-width: 420px;
}

.footer-highlights {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}

    .footer-highlights li {
        padding: 0.35rem 0.65rem;
        border-radius: 999px;
        background: rgba(37, 152, 90, 0.08);
        color: var(--eco-green-dark);
        font-size: 0.84rem;
        border: 1px solid rgba(23, 104, 67, 0.12);
    }

.footer-col h4,
.footer-social-col h4 {
    margin: 0 0 0.65rem;
    color: var(--eco-green-dark);
    font-weight: 800;
    font-size: 1rem;
}

.newsletter-form .newsletter-row {
    display: flex;
    gap: 8px;
    align-items: center;
}

.newsletter-row input[type="email"] {
    flex: 1;
    min-width: 0;
    padding: 9px 11px;
    border-radius: 10px;
    border: 1px solid rgba(23,104,67,0.2);
    background: #fff;
    color: var(--eco-text);
}

    .newsletter-row input[type="email"]:focus {
        border-color: rgba(37,152,90,0.6);
        box-shadow: 0 0 0 3px rgba(37,152,90,0.12);
        outline: 0;
    }

.newsletter-row .btn-primary {
    padding: 8px 12px;
    white-space: nowrap;
}

.footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .footer-list li {
        margin: 0.45rem 0;
    }

    .footer-list a {
        color: var(--eco-text);
        text-decoration: none;
        transition: color .12s ease;
    }

        .footer-list a:hover {
            color: var(--eco-green-dark);
            text-decoration: underline;
        }

.social-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    background: var(--eco-surface);
    border: 1px solid rgba(23,104,67,0.1);
    color: var(--eco-text);
    text-decoration: none;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}

    .social-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(23,40,27,0.08);
        background: var(--eco-gray);
    }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
     gap: 1rem;
    padding: 0.95rem 1rem 0;
    border-top: 1px dashed rgba(23,104,67,0.1);
    margin: 0 auto;
    max-width: 1200px;
}

    .footer-bottom small {
        color: var(--eco-muted);
    }

.footer-back-to-top {
    color: var(--eco-green-dark);
    text-decoration: none;
    font-weight: 700;
}

    .footer-back-to-top:hover {
        text-decoration: underline;
    }

@media (max-width: 992px) {
    .footer-top {
        grid-template-columns: repeat(2, minmax(220px, 1fr));
    }

    .newsletter-form .newsletter-row {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-row .btn-primary {
        width: 100%;
    }

    .footer-bottom {
        justify-content: flex-start;
        flex-wrap: wrap;
    }
}

@media (max-width: 600px) {
    .footer-top {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .footer-desc {
        max-width: 100%;
    }
}

.visually-hidden {
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
    border: 0;
    padding: 0;
    margin: -1px;
}
