/* ============================================
   Footer - Shared Across All Pages
   Modern, centered, balanced layout
   ============================================ */

.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #ffffff;
    padding: 72px 0 0;
    position: relative;
    z-index: 3;
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Footer Top - Brand block (centered)
   ============================================ */
.footer-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.5px;
    margin-bottom: 14px;
}

.footer-note {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin: 0 auto;
    max-width: 560px;
}

/* ============================================
   Footer Grid - Link columns
   ============================================ */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 48px 0 40px;
    text-align: left;
}

.footer-col {
    display: flex;
    flex-direction: column;
}

.footer-col h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 18px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col ul li a,
.footer-col ul li span {
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-col ul li a:hover,
.footer-col ul li a:focus-visible {
    color: #ffffff;
    padding-left: 4px;
}

/* Labeled contact rows (WhatsApp / Email) in the Contact column */
.footer-contact-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-contact-label {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.45);
}

.footer-contact-item a {
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-contact-item a:hover,
.footer-contact-item a:focus-visible {
    color: #ffffff;
    padding-left: 0;
}

/* ============================================
   Footer Network - Group / related websites
   ============================================ */
.footer-network {
    margin-top: 8px;
    padding: 36px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.footer-network-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.6px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.footer-network-sub {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 auto 22px;
    max-width: 480px;
    line-height: 1.6;
}

.footer-network-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.footer-network-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-network-link:hover,
.footer-network-link:focus-visible {
    background-color: rgba(0, 102, 255, 0.14);
    border-color: rgba(0, 102, 255, 0.45);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-network-link svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    stroke: currentColor;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-network-link:hover svg,
.footer-network-link:focus-visible svg {
    transform: translate(2px, -2px);
}

/* ============================================
   Footer Bottom - Copyright
   ============================================ */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 24px 0;
    text-align: center;
}

.footer-copyright {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
}

.footer-copyright a {
    color: rgba(255, 255, 255, 0.72);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-copyright a:hover,
.footer-copyright a:focus-visible {
    color: #ffffff;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 56px 0 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 40px 0 32px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }

    .footer-col ul {
        align-items: center;
    }

    .footer-col ul li a:hover,
    .footer-col ul li a:focus-visible {
        padding-left: 0;
    }

    .footer-network {
        padding: 32px 0;
    }

    .footer-network-links {
        gap: 12px;
    }

    .footer-network-link {
        width: 100%;
        max-width: 320px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .footer .container {
        padding: 0 16px;
    }

    .footer-brand {
        font-size: 1.4rem;
    }

    .footer-btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}