/* Bright, high-contrast global footer. Loaded after responsive.css. */

.site-footer {
    margin-top: auto;
    border-top: 5px solid #d6a84b;
    background: #eef6f0;
    color: #203c2d;
}

.footer-top {
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4.5rem);
    background:
        radial-gradient(circle at 8% 12%, rgba(214, 168, 75, .2), transparent 23rem),
        linear-gradient(145deg, #f8fbf7 0%, #e6f1e9 62%, #dcebe1 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.55fr) repeat(3, minmax(170px, 1fr));
    gap: clamp(2rem, 4vw, 4.5rem);
    align-items: start;
}

.footer-grid .footer-col,
.footer-grid .footer-col:first-child,
.footer-grid .footer-col:last-child {
    grid-column: auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.footer-brand {
    display: inline-flex;
    margin: 0 0 1.25rem;
}

.footer-logo-img {
    display: block;
    width: min(100%, 310px);
    height: auto;
}

.footer-col h4 {
    margin: .2rem 0 1.1rem;
    padding: 0 0 .8rem;
    border-bottom: 2px solid rgba(214, 168, 75, .65);
    color: #124734;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    letter-spacing: -.01em;
}

.footer-col p {
    max-width: 560px;
    margin: 0;
    color: #456253;
    font-size: .92rem;
    line-height: 1.75;
}

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

.footer-col ul li {
    margin: 0;
}

.footer-col ul li + li {
    margin-top: .68rem;
}

.footer-col ul li a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    color: #365745;
    font-size: .9rem;
    font-weight: 560;
    line-height: 1.45;
    text-decoration: none;
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
    color: #986008;
}

.footer-col a span[aria-hidden="true"] {
    color: #986008;
    font-size: .78em;
}

.footer-social-links {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.4rem;
}

.footer-social-links .social-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 44px;
    padding: .65rem .9rem;
    border: 1px solid #bfd3c5;
    border-radius: 10px;
    background: rgba(255,255,255,.78);
    color: #124734;
    font-size: .83rem;
    font-weight: 700;
    box-shadow: 0 6px 18px rgba(15,81,50,.05);
}

.footer-social-links .social-link:hover,
.footer-social-links .social-link:focus-visible {
    border-color: #d6a84b;
    background: #fff;
    color: #7b4d08;
    transform: translateY(-1px);
}

.footer-address {
    margin: 0 0 1.2rem;
    color: #456253;
    font-size: .9rem;
    font-style: normal;
    line-height: 1.7;
}

.footer-contact-btn {
    min-height: 44px;
    padding: .65rem 1rem;
    border: 1px solid #124734;
    border-radius: 9px;
    background: #124734;
    color: #fff;
    font-size: .85rem;
    font-weight: 700;
}

.footer-contact-btn:hover,
.footer-contact-btn:focus-visible {
    border-color: #986008;
    background: #986008;
    color: #fff;
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-top: 1rem;
    padding: .6rem .75rem;
    border: 1px solid #b8d2bf;
    border-radius: 9px;
    background: rgba(255,255,255,.7);
    color: #24543a;
    font-size: .76rem;
    font-weight: 700;
}

.footer-status span {
    color: #168047;
}

.footer-bottom {
    padding: 1.15rem 0;
    border-top: 0;
    background: #124734;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom p a,
.footer-bottom-links a {
    color: #e0eee5;
    font-size: .8rem;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom p a,
.footer-bottom-links a {
    text-decoration: none;
}

.footer-bottom p a:hover,
.footer-bottom-links a:hover {
    color: #f2c96d;
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}

#back-to-top {
    background: #d6a84b;
    color: #10261b;
    box-shadow: 0 8px 24px rgba(16,38,27,.24);
}

#back-to-top:hover {
    background: #f0c76f;
}

@media (max-width: 1180px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
    }

    .footer-logo-img {
        width: min(100%, 280px);
    }

    .footer-bottom-inner {
        align-items: flex-start;
        flex-direction: column;
        text-align: left;
    }

    .footer-bottom-links {
        gap: .75rem 1.1rem;
    }
}
