/* =========================================
   FIX: Hilangkan scroll di section kontak
   Scroll hanya untuk card alamat (mobile)
========================================= */
.contact-minimal .section-inner {
    overflow-x: hidden; /* cegah footer ikut scroll */
}
/* penting: jangan kunci overflow untuk grid/kolom */
.contact-minimal-grid,
.contact-brand,
.contact-column {
    overflow: visible;
}

/* =========================================================
   KONTAK (FOOTER MINIMAL) – NJA EXPRESS
   File: css/kontak.css
========================================================= */

.contact-minimal {
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 40px 0 34px;
}

.contact-minimal .section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   GRID UTAMA (Brand | Layanan | Hubungi Kami)
========================= */
.contact-minimal-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr));
    gap: 34px;
    align-items: flex-start;
}

/* kolom brand */
.contact-brand {
    font-size: 13px;
    color: #4a5563;
}

.contact-logo-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.contact-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #fff;
}

.contact-brand-name {
    font-weight: 800;
    font-size: 18px;
    color: #111827;
}

.contact-brand-text {
    font-size: 13px;
    line-height: 1.7;
    margin: 8px 0 12px;
    color: #4b5563;
}

/* =========================
   SOSIAL ICON
========================= */
.contact-social-list {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 10px 0 6px;
}

.contact-social-list a {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    color: #111827;
    font-size: 15px;
    text-decoration: none;

    transition: transform 0.18s ease, box-shadow 0.18s ease,
        background 0.18s ease, color 0.18s ease;
}

.contact-social-list a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.1);
    background: var(--primary-dark, #003b99);
    color: #fff;
    border-color: transparent;
}

/* =========================
   KOLOM LIST (LAYANAN, HUBUNGI)
========================= */
.contact-column {
    font-size: 13px;
    color: #4b5563;
}

.contact-column h3 {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 10px;
}

.contact-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-column li {
    margin: 6px 0;
}

.contact-column a {
    color: #4b5563;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.6;
}

.contact-column a:hover {
    color: var(--primary-dark, #003b99);
}

/* judul kecil */
.contact-small-title {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
    margin: 10px 0 6px;
}

.contact-text {
    font-size: 13px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 6px;

    /* penting biar alamat tidak “maksa” lebar */
    overflow-wrap: anywhere;
    word-break: break-word;
}

/* link inline (wa/email/maps) */
.contact-link-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #2563eb;
    text-decoration: none;
}

.contact-link-inline i {
    width: 16px;
    text-align: center;
}

.contact-link-inline:hover {
    text-decoration: underline;
}

/* =========================================================
   KANTOR KAMI (DESKTOP: tidak kepotong | MOBILE: ringkas)
========================================================= */

.contact-offices-wrap {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.contact-offices-title {
    font-size: 14px;
    font-weight: 800;
    color: #111827;
    margin-bottom: 12px;
}

/* =========================
   DESKTOP (>= 993px)
   - card tidak dipaksa persegi
   - teks tidak di-clamp (tidak kepotong)
========================= */
.contact-offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px; /* ✅ jarak antar card */
    align-items: stretch;
}

.office-item {
    display: flex; /* ✅ WAJIB */
    flex-direction: column; /* ✅ SUSUN KE BAWAH */
    gap: 10px; /* ✅ JARAK ANTAR ISI */

    padding: 14px;
    border-radius: 16px;

    min-width: 250px;
    max-width: 100%;
}

/* judul kantor */
.office-item .contact-small-title {
    margin: 0;
    font-size: 11px;
    line-height: 1.35;
}

/* ✅ DESKTOP: tampilkan full (tidak kepotong) */
.office-item .contact-text {
    margin: 0;
    line-height: 1.55;

    /* matikan clamp khusus desktop */
    display: block;
    overflow: visible;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;

    overflow-wrap: anywhere;
    word-break: break-word;
}

/* maps tetap rata bawah */
.office-item .contact-link-inline {
    margin-top: auto;
    padding-top: 12px;
    white-space: normal;
}

/* =========================
   TABLET/MOBILE (<= 992px)
   - tetap scroll horizontal
   - card dibuat ringkas (tidak kepanjangan)
   - teks di-clamp (biar pendek)
========================= */

@media (max-width: 576px) {
    .office-item {
        flex-basis: 86vw;
        max-width: none;
        -webkit-line-clamp: 6;
    }
    .office-item .contact-text {
        font-size: 13px;
        line-height: 1.45;

        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 4; /* maksimal 4 baris */
        overflow: hidden;
    }
}
/* =========================================================
   BOTTOM CTA (Siap kirim paket hari ini? + tombol)
========================================================= */

.contact-minimal-bottom {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 18px;
    padding-top: 14px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;

    font-size: 13px;
    color: #4b5563;
}

.contact-minimal-bottom span {
    font-size: 14px;
    font-weight: 700;
    color: #374151;
}

/* tombol kanan */
.contact-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 999px;

    background: var(--primary-dark, #003b99);
    border: 1px solid var(--primary-dark, #003b99);
    color: #fff;

    font-size: 13px;
    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        background 0.18s ease;

    margin-left: auto;
    white-space: nowrap;
}

.contact-cta-btn:hover {
    transform: translateY(-2px);
    background: var(--primary, #0052cc);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.14);
}

/* =========================================================
   RESPONSIVE GRID UTAMA
========================================================= */
@media (max-width: 640px) {
    .contact-minimal-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contact-minimal-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .contact-cta-btn {
        width: 100%;
        justify-content: center;
        margin-left: 0;
    }
}
