/* ============================================
        FOOTER
============================================ */

.footer {
    position: relative;
    padding: 90px 0 30px;
    background: var(--bg);
    border-top: 1px solid var(--accent-border);
    transition: background .4s ease, border-color .4s ease;
    overflow: hidden;
}

.footer::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 300px;
    top: -180px;
    right: -150px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    filter: blur(90px);
    pointer-events: none;
    opacity: .5;
}

.footer .container {
    width: min(1200px, 92%);
    margin: auto;
    position: relative;
    z-index: 2;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 50px;
}

/* ============================================
        BRAND
============================================ */

.footer-brand {
    max-width: 350px;
}

.footer-logo img {
    width: 150px;
    height: auto;
    margin-bottom: 25px;
    transition: transform .35s ease;
}

.footer-logo:hover img {
    transform: scale(1.04);
}

.footer-logo .logo-gold { display: block; }
.footer-logo .logo-blue { display: none; }

body.light .footer-logo .logo-gold { display: none; }
body.light .footer-logo .logo-blue { display: block; }

.footer-brand p {
    font-size: 16px;
    line-height: 2.2;
    margin: 0;
    color: var(--text-muted);
}

/* ============================================
        MANAGERS
============================================ */

.footer-managers {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 25px;
    font-size: 15px;
    padding: 18px 22px;
    border-radius: 18px;
    background: var(--bg-card);
    border: 1px solid var(--accent-border);
}

.footer-managers span {
    font-weight: 700;
    color: var(--text);
}

.footer-managers strong {
    color: var(--accent);
}

/* ============================================
        COLUMNS
============================================ */

.footer-column h3 {
    margin: 0 0 25px;
    font-size: 20px;
    font-weight: 800;
    color: var(--text);
    position: relative;
    padding-bottom: 12px;
}

.footer-column h3::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--accent-2), var(--accent));
}

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

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    text-decoration: none;
    font-size: 15px;
    color: var(--text-muted);
    position: relative;
    padding-right: 0;
    transition: color .3s ease, padding-right .3s ease;
}

.footer-column ul li a::before {
    content: "←";
    position: absolute;
    right: -20px;
    opacity: 0;
    color: var(--accent);
    transition: all .3s ease;
}

.footer-column ul li a:hover {
    color: var(--accent);
    padding-right: 22px;
}

.footer-column ul li a:hover::before {
    opacity: 1;
    right: 0;
}

/* ============================================
        SOCIAL
============================================ */

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--accent);
    border: 1px solid var(--accent-border);
    background: var(--accent-soft);
    transition: all .35s ease;
}

.social-link svg {
    width: 17px;
    height: 17px;
}

.social-link:hover {
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: var(--bg);
    transform: translateY(-5px);
    box-shadow: 0 15px 35px var(--accent-glow);
}

/* ============================================
        BOTTOM
============================================ */

.footer-bottom {
    margin-top: 70px;
    padding-top: 30px;
    text-align: center;
    border-top: 1px solid var(--accent-border);
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
    line-height: 2;
    color: var(--text-faint);
}

.footer-credits-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-left: 12px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--accent-2), var(--accent));
    color: var(--bg);
    transition: transform .3s ease, box-shadow .3s ease;
    white-space: nowrap;
}

.footer-credits-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25);
}

.footer-credits-btn svg {
    width: 14px;
    height: 14px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.3));
}

.footer-heart {
    color: #e74c3c;
    display: inline-block;
    animation: heartBeat 1.5s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.25); }
    40% { transform: scale(1); }
    60% { transform: scale(1.2); }
}

/* ============================================
        RESPONSIVE
============================================ */

@media (max-width: 1100px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .footer { padding: 70px 0 25px; }
    .footer-grid { grid-template-columns: 1fr; gap: 35px; }
    .footer-brand { max-width: 100%; text-align: center; }
    .footer-logo { display: flex; justify-content: center; }
    .footer-managers { align-items: center; }
    .footer-column { text-align: center; }
    .footer-column h3::after {
        right: 50%;
        transform: translateX(50%);
    }
    .footer-column ul li a::before { display: none; }
    .footer-column ul li a:hover { padding-right: 0; }
    .footer-social { justify-content: center; }
    .footer-bottom { margin-top: 50px; }
}

@media (max-width: 480px) {
    .footer-brand p { font-size: 15px; }
    .footer-column h3 { font-size: 18px; }
    .social-link { width: 100%; justify-content: center; }
}
