/* ===== Footer ===== */
.footer {
    background: #2b2b2b;
    color: #e0e0e0;
    padding: 60px 20px 20px;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr) 0.9fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-section h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #ffffff;
}

.footer-section h4 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 18px;
    color: #d32f2f;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: #bdbdbd;
    margin: 6px 0;
}

.footer-tagline {
    font-style: italic;
    color: #999;
    margin-top: 8px;
}

.footer-section p i {
    margin-right: 10px;
    color: #d32f2f;
    width: 18px;
    text-align: center;
}

.footer-section p a {
    color: #bdbdbd;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section p a:hover {
    color: #fff;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bdbdbd;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    display: inline-block;
    line-height: 1.4;
}

.footer-links a:hover {
    color: #d32f2f;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    color: #e0e0e0;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: #d32f2f;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(211, 47, 47, 0.3);
}

.social-icon.whatsapp:hover {
    background-color: #25d366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
}

.footer-nip {
    margin-top: 15px;
    font-size: 0.85rem;
    color: #999;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding-top: 25px;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: #888;
    margin: 0;
}

.footer-credit {
    margin-top: 8px !important;
    font-size: 0.65rem !important;
    color: #555 !important;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.footer-credit:hover {
    opacity: 0.7;
}

.footer-credit a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-credit a:hover {
    color: #888;
}

/* ===== Scroll to Top Button ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: #d32f2f;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.4s ease, visibility 0.4s ease, transform 0.4s ease, background 0.3s ease;
    z-index: 999;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: #b71c1c;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.4);
}

.scroll-to-top.visible:hover {
    transform: translateY(-2px);
}

/* ===== Mobile ===== */
@media (max-width: 1100px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

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

@media (max-width: 576px) {
    .footer {
        padding: 40px 20px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .footer-section {
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-links a:hover {
        padding-left: 0;
    }

    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
        font-size: 1rem;
    }
}