/* ===== FOOTER ===== */
.footer {
    background: var(--color-black);
    color: rgba(255, 255, 255, 0.70);
    padding: 64px 0 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid .brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-grid .brand .logo-footer {
    height: 100px;
    width: auto;
    margin-bottom: 16px;
}

.footer-grid .brand p {
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.60);
}

.footer-grid .brand .socials {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

.footer-grid .brand .socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    transition: background 0.3s, color 0.3s, transform 0.3s;
    font-size: 1rem;
}

.footer-grid .brand .socials a:hover {
    background: var(--color-gold);
    color: var(--color-black);
    transform: translateY(-3px);
}

.footer-grid .col h4 {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 16px;
    letter-spacing: 0.04em;
}

.footer-grid .col a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s, padding-right 0.3s;
}

.footer-grid .col a i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
}

.footer-grid .col a:hover {
    color: var(--color-gold);
    padding-right: 4px;
}

.footer-grid .col a.email-link {
    font-size: 0.75rem;
    white-space: nowrap;
    gap: 6px;
}

.footer-grid .col a.email-link i {
    font-size: 0.8rem;
}

.footer-grid .col a.time-schedule {
    align-items: flex-start;
    gap: 6px;
}

.footer-grid .col a.time-schedule i {
    margin-top: 2px;
}

.footer-grid .col a.time-schedule span {
    display: flex;
    flex-direction: column;
    line-height: 1.6;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    flex-wrap: wrap;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: var(--color-gold);
}

/* ===== BACK TO TOP ===== */
.back-top {
    position: fixed;
    bottom: 32px;
    left: 32px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-gold);
    color: var(--color-black);
    border: none;
    box-shadow: 0 8px 24px rgba(201, 168, 76, 0.30);
    cursor: pointer;
    font-size: 1.2rem;
    transition: opacity 0.4s ease, transform 0.4s ease, background 0.3s;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    z-index: 900;
    touch-action: manipulation;
}

.back-top.visible {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.back-top:hover {
    transform: translateY(-4px) scale(1.05);
    background: #dbb95a;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px 32px;
        text-align: center;
        padding-bottom: 32px;
    }
    .footer-grid .brand {
        grid-column: 1 / -1;
        align-items: center;
        text-align: center;
    }
    .footer-grid .brand p {
        max-width: 100%;
        text-align: center;
    }
    .footer-grid .brand .socials {
        justify-content: center;
    }
    .footer-grid .col:nth-child(2) {
        grid-column: 1 / 2;
        text-align: center;
    }
    .footer-grid .col:nth-child(3) {
        grid-column: 2 / 3;
        text-align: center;
    }
    .footer-grid .col:nth-child(4) {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: 8px;
    }
    .footer-grid .col h4 {
        text-align: center;
    }
    .footer-grid .col a {
        justify-content: center;
        padding: 4px 0;
    }
    .footer-grid .col a.time-schedule {
        justify-content: center;
        align-items: center;
    }
    .footer-grid .col a.time-schedule span {
        text-align: center;
    }
    .footer-grid .col a.email-link {
        font-size: 0.7rem;
        white-space: nowrap;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .back-top {
        bottom: 20px;
        left: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}