.site-footer {
    width: 100%;
}

.site-footer-inner {
    width: 100%;
    max-width: 80rem;
    margin: 1.5rem auto;
    overflow: hidden;
    border: 1px solid #f3f4f6;
    border-radius: 1.5rem;
    background: #ffffff;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.site-footer-grid {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem;
}

@media (min-width: 768px) {
    .site-footer-grid {
        grid-template-columns: 4fr 8fr;
        padding: 3rem;
    }
}

.footer-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

.footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo {
    width: 5rem;
    height: 5rem;
    object-fit: contain;
}

.footer-brand-copy {
    max-width: 20rem;
    color: #4b5563;
    font-size: 0.875rem;
    line-height: 1.75;
    font-weight: 500;
}

.footer-brand-accent {
    width: 3rem;
    height: 0.1875rem;
    border-radius: 9999px;
    background: #2e7d32;
}

.footer-social-block {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-heading {
    margin: 0;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 700;
}

.footer-social-list {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid #f3f4f6;
    background: #ffffff;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.footer-social-link:hover {
    color: #2e7d32;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.footer-social-link-active {
    color: #2e7d32;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .footer-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.5rem;
    }
}

.footer-link-column {
    padding-inline: 0;
}

.footer-link-column-divider {
    border-left: 0;
}

@media (min-width: 768px) {
    .footer-link-column {
        padding-inline: 1rem;
    }

    .footer-link-column-divider {
        border-left: 1px solid #f3f4f6;
        padding-left: 1.5rem;
    }
}

.footer-column-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.footer-column-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: #edf7ed;
    color: #2e7d32;
}

.footer-column-heading h4 {
    margin: 0;
    color: #111827;
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.footer-column-line {
    width: 1.5rem;
    height: 0.125rem;
    margin-top: 0.25rem;
    background: #2e7d32;
}

.footer-link-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 1rem;
}

.footer-link-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link-list a:hover {
    color: #2e7d32;
}

.footer-link-list i {
    font-size: 0.75rem;
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-link-list a:hover i {
    opacity: 1;
    transform: translateX(0);
}

.footer-bottom-shell {
    position: relative;
    border-top: 1px solid #e5e7eb;
    background: linear-gradient(to top, #ebf6eb 0%, #f4fbf4 45%, #ffffff 100%);
    padding: 1.5rem 2rem 1.5rem;
}

@media (min-width: 768px) {
    .footer-bottom-shell {
        padding-inline: 3rem;
    }
}

.footer-bottom-decor {
    position: absolute;
    left: 1.5rem;
    bottom: 3rem;
    display: none;
    align-items: flex-end;
    gap: 1.5rem;
    pointer-events: none;
    opacity: 0.25;
    color: rgba(21, 128, 61, 0.6);
}

@media (min-width: 1024px) {
    .footer-bottom-decor {
        display: flex;
    }
}

.footer-tree-cluster {
    display: flex;
    gap: 0.25rem;
    font-size: 1.25rem;
    color: rgba(21, 128, 61, 0.3);
}

.footer-bottom-row {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    border-top: 1px solid rgba(229, 231, 235, 0.6);
    padding-top: 1.25rem;
}

@media (min-width: 640px) {
    .footer-bottom-row {
        flex-direction: row;
    }
}

.footer-security-pill {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 9999px;
    border: 1px solid #d1fae5;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.5rem 1rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
}

.footer-security-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 9999px;
    background: #2e7d32;
    color: #ffffff;
    font-size: 0.75rem;
}

.footer-security-pill p,
.footer-copy {
    margin: 0;
    font-size: 0.75rem;
    color: #374151;
    font-weight: 500;
}

.footer-seedling-mark {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2e7d32;
}

.footer-seedling-mark i {
    font-size: 1.25rem;
    animation: pulse 2s infinite;
}

.footer-seedling-mark span {
    display: block;
    width: 2rem;
    height: 0.25rem;
    margin-top: 0.25rem;
    border-radius: 9999px;
    background: #d1fae5;
}