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

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-sizing: border-box;
}

.footer-main-row {
    display: grid;
    grid-template-columns: 263.03px 557.38px 185.79px 185.79px;
    gap: 40px;
    align-items: flex-start;
    min-height: 150px;
}

/* Col 1: Logo (Frame 36) */
.footer-logo-col {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 40px;
    width: 263.03px;
    height: 150px;
    box-sizing: border-box;
}

.footer-logo-img {
    width: 183.03px;
    height: 42px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

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

/* Col 2: Company Info (Frame 1000011679) */
.footer-info-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 557.38px;
    min-height: 148px;
}

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

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

.footer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    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;
}

/* Wrapper for Produk & Navigasi Columns */
.footer-nav-wrapper {
    display: contents;
}

/* Col 3 & Col 4: Links Columns */
.footer-links-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 185.79px;
}

.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-style: normal;
    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);
}

/* Divider Line (Vector 10) */
.footer-divider-line {
    width: 100%;
    height: 0;
    border-top: 1px solid #00A7E1;
}

/* Copyright Text */
.footer-copyright-text {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
    text-align: center;
    color: #333333;
    width: 100%;
}

.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;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS (Desktop, Macbook, Tablet, Mobile)
   ============================================================ */

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

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

    .footer-logo-col {
        width: 220px;
        padding: 0 20px;
    }

    .footer-info-col {
        width: 100%;
    }

    .footer-links-col {
        width: 160px;
    }
}

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

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

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

    .footer-info-col {
        width: 100%;
    }

    .footer-nav-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        grid-column: span 2;
    }

    .footer-links-col {
        width: 100%;
    }
}

/* Mobile Tier (< 768px) -> Mobile Specific Requirements */
@media (max-width: 767px) {
    .footer-container {
        padding: 0 20px;
        gap: 20px;
    }

    .footer-main-row {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        min-height: auto;
    }

    /* 1. Mobile Logo: Rata Tengah (Center Aligned) with background cover fit */
    .footer-logo-col {
        width: 100%;
        height: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 0;
        margin: 0 auto;
    }

    .footer-logo-img {
        width: 183.03px;
        height: 42px;
        object-fit: cover;
        margin: 0 auto;
    }

    /* 2. PT. Coway International Indonesia (nama pt - email): 1 baris / full width block */
    .footer-info-col {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        gap: 12px;
    }

    .footer-col-title {
        font-size: 17px;
        line-height: 24px;
    }

    /* 3. Underneath: 2 columns for Produk and Navigasi */
    .footer-nav-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        width: 100%;
    }

    .footer-links-col {
        width: 100%;
        gap: 12px;
    }

    .footer-address-text,
    .footer-contact-item span,
    .footer-links-list li a,
    .footer-copyright-text {
        font-size: 12px !important;
        line-height: 18px !important;
    }
}

/* Mobile Small Tier (< 480px) */
@media (max-width: 479px) {
    .footer-container {
        padding: 0 16px;
    }

    .footer-logo-img {
        width: 183px;
        height: 42px;
        object-fit: contain;
    }
}