/* ============================================================
   COWAY FOOTER COMPONENT - EXACT FIGMA MATCH
   ============================================================ */
.site-footer {
    background: #F8FAFC;
    padding: 48px 0;
    color: #333333;
    border-top: 1px solid #E2E8F0;
}

.footer-container {
    max-width: var(--max-container-desktop);
    margin: 0 auto;
    padding: 0 var(--gutter-desktop);
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer-main-row {
    display: grid;
    grid-template-columns: 263.03px 1fr 170px 170px;
    gap: 40px;
    align-items: flex-start;
    min-height: 148px;
}

.footer-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: 148px;
}

.footer-logo-img {
    width: 150px;
    height: auto;
    object-fit: cover;
    display: block;
    opacity: 1;
    transform: rotate(0deg);
}

.footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 509.38px;
}

.footer-col-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 26px;
    color: #333333;
    margin: 0;
}

.footer-info-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #333333;
}

.footer-info-item span {
    font-size: 14px;
    line-height: 21px;
    color: #333333;
}

.footer-info-item a {
    color: #333333;
    text-decoration: none;
    font-size: 14px;
    line-height: 21px;
    transition: color 0.2s ease;
}

.footer-info-item a:hover {
    color: #00A7E1;
}

.footer-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links-list a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 21px;
    color: #333333;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.footer-links-list a:hover {
    color: #00A7E1;
    transform: translateX(3px);
}

.footer-divider-line {
    width: 100%;
    height: 0;
    border-top: 1px solid #00A7E1;
}

.footer-copyright-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #333333;
}

.footer-copyright-text a.footer-dev-link {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-copyright-text a.footer-dev-link:hover {
    color: #00A7E1;
}

.footer-nav-wrapper {
    display: contents;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (4 TIERS)
   ============================================================ */

/* Mac / Laptop Tier (1024px - 1439px) */
@media (max-width: 1439px) and (min-width: 1024px) {
    .footer-container {
        padding: 0 var(--gutter-mac);
    }

    .footer-main-row {
        grid-template-columns: 220px 1fr 160px 160px;
        gap: 32px;
    }
}

/* Tablet Tier (768px - 1023px) */
@media (max-width: 1023px) and (min-width: 768px) {
    .footer-container {
        padding: 0 var(--gutter-tablet);
    }

    .footer-main-row {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .footer-logo-col {
        height: auto;
        justify-content: flex-start;
        padding: 0;
    }
}

/* Mobile Besar Tier (480px - 767px) */
@media (max-width: 767px) and (min-width: 480px) {
    .footer-container {
        padding: 0 var(--gutter-mobile, 20px);
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 28px;
    }

    .footer-logo-col {
        height: auto;
        justify-content: flex-start;
        padding: 0;
    }

    .footer-nav-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        width: 100%;
    }
}

/* Mobile Kecil Tier (< 480px) */
@media (max-width: 479px) {
    .footer-container {
        padding: 0 var(--gutter-mobile-sm, 16px);
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .footer-logo-col {
        height: auto;
        justify-content: flex-start;
        padding: 0;
    }

    .footer-logo-img {
        width: 150px;
        height: auto;
    }

    .footer-nav-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }
}