/* Animations */
@keyframes popIn {
    to { opacity: 1; transform: scale(1); }
}
@keyframes rotateSlow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotateSlowReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

footer {
    position: relative;
    background: #1f7f95;
    color: white;
    padding: 2.5rem 3rem 1.25rem;
    overflow: hidden;
}

.footer-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(179,207,109,.25), transparent 60%);
    z-index: 0;
}

.footer-content {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 5rem;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-left h3 {
    font-size: 2rem;
}

.footer-logo {
    height: 2.5rem;
    display: block;
}

.tagline {
    color: #b3cf6d;
    margin: .4rem 0 .6rem;
}

.desc {
    max-width: 460px;
    opacity: .85;
    color: white;
}

.block h3 {
    color: #b3cf6d;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: .8rem;
}

.footer-map-icon {
    width: 14px;
    height: 14px;
    vertical-align: -2px;
    filter: brightness(0) invert(1);
}

.block p {
    color: white;
}

.socials {
    display: flex;
    gap: 1rem;
}

.icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    opacity: 0;
    transform: scale(.4);
    animation: popIn .6s ease forwards;
}

.icon:nth-child(1) { animation-delay: .2s; }
.icon:nth-child(2) { animation-delay: .35s; }
.icon:nth-child(3) { animation-delay: .5s; }
.icon:nth-child(4) { animation-delay: .65s; }

.icon svg {
    width: 20px;
    height: 20px;
    fill: white;
}

.footer-bottom {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .9rem;
    opacity: .7;
    position: relative;
    z-index: 1;
}

.footer-bottom p {
    margin: 0;
    opacity: .7;
    color: white;
}

.footer-bottom a {
    opacity: .7;
    text-decoration: none;
    color: white;
}

.footer-bottom a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-circle {
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 1px solid rgba(179,207,109,.35);
    top: 10%;
    right: 6%;
    animation: rotateSlow 140s infinite;
}

.footer-diamond {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 1px solid rgba(241,176,102,.3);
    transform: rotate(45deg);
    bottom: 12%;
    left: 8%;
    animation: rotateSlowReverse 110s infinite;
}

@media (max-width: 768px) {
    footer {
        padding: 2rem 1.5rem 1.25rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: .5rem;
        text-align: center;
    }
}

@media (prefers-reduced-motion: reduce) {
    .footer-circle,
    .footer-diamond,
    .icon {
        animation: none;
    }

    .icon {
        opacity: 1;
        transform: scale(1);
    }
}
