/* Fasilitas Kami — homepage & detail */
.fac-section { padding: 0 0 56px; background: #fff; }
.fac-panel { background: #f2f8fb; border: 1px solid #e3eef5; border-radius: 20px; padding: 32px 28px 36px; }
.fac-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.fac-heading-text h2 { color: #0a3d6b; font-size: 28px; font-weight: 700; margin: 0 0 8px; }
.fac-heading-text p { color: #5f6f82; font-size: 15px; line-height: 1.6; margin: 0; max-width: 720px; }
.fac-see-all { flex-shrink: 0; border: 1px solid #0a3d6b; color: #0a3d6b; background: #fff; border-radius: 999px; padding: 8px 18px; font-size: 13px; font-weight: 700; text-decoration: none; text-transform: uppercase; }
.fac-see-all:hover { background: #0a3d6b; color: #fff; text-decoration: none; }

.fac-carousel-wrap { position: relative; padding: 0 48px; }
.fac-carousel { display: flex; gap: 20px; overflow: hidden; scroll-behavior: smooth; }
.fac-card { flex: 0 0 calc(25% - 15px); min-width: 240px; border-radius: 12px; overflow: hidden; text-decoration: none; display: block; box-shadow: 0 8px 24px rgba(10,61,107,.1); background: #fff; transition: transform .2s, box-shadow .2s; }
.fac-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(10,61,107,.16); text-decoration: none; }
.fac-card-image img, .fac-card-placeholder { width: 100%; height: 200px; object-fit: cover; display: block; }
.fac-card-placeholder { background: linear-gradient(135deg, #083358, #1565c0); }
.fac-card-label { background: #0a3d6b; color: #fff; text-align: center; padding: 14px 12px; font-size: 14px; font-weight: 700; line-height: 1.35; min-height: 52px; display: flex; align-items: center; justify-content: center; }

.fac-nav-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; border: none; background: #fff; color: #64748b; box-shadow: 0 2px 12px rgba(0,0,0,.12); cursor: pointer; z-index: 2; }
.fac-nav-btn.prev { left: 0; } .fac-nav-btn.next { right: 0; }
.fac-nav-btn:hover { color: #0a3d6b; }
.fac-dots { display: flex; justify-content: center; gap: 8px; margin-top: 18px; }

/* List page */
.fac-page-hero { padding: 36px 0 24px; background: #f7fafd; border-bottom: 1px solid #e8eef5; text-align: center; }
.fac-page-hero h1 { color: #0a3d6b; font-size: 32px; font-weight: 700; margin: 0 0 8px; }
.fac-page-hero p { color: #64748b; margin: 0; }
.fac-page-body { padding: 40px 0 60px; background: #fff; }
.fac-page-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }

/* Detail page */
.fac-detail-breadcrumb { background: #fff; padding: 14px 0; border-bottom: 1px solid #e8eef5; font-size: 13px; }
.fac-detail-breadcrumb a { color: #0a3d6b; text-decoration: none; }
.fac-detail-body { padding: 36px 0 60px; background: #f7fafd; }
.fac-detail-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.fac-detail-sidebar { background: #fff; border: 1px solid #e3eef5; border-radius: 12px; overflow: hidden; position: sticky; top: 20px; }
.fac-sidebar-link { display: flex; align-items: center; gap: 10px; width: 100%; border: none; background: #fff; color: #35556d; padding: 16px 18px; font-size: 14px; font-weight: 600; text-align: left; border-bottom: 1px solid #eef3f8; cursor: pointer; }
.fac-sidebar-link:last-child { border-bottom: none; }
.fac-sidebar-link.active, .fac-sidebar-link:hover { background: #0a3d6b; color: #fff; }
.fac-sidebar-link i { width: 18px; text-align: center; }

.fac-detail-main { background: #fff; border: 1px solid #e3eef5; border-radius: 16px; overflow: hidden; }
.fac-detail-banner { width: 100%; background: #f7fafd; border-bottom: 1px solid #e8eef5; }
.fac-detail-banner img { display: block; width: 100%; height: auto; object-fit: contain; object-position: center; background: #fff; }
.fac-detail-content-inner { padding: 28px 32px 36px; }
.fac-detail-video { position: relative; width: 100%; padding-bottom: 56.25%; margin-bottom: 24px; border-radius: 12px; overflow: hidden; background: #000; }
.fac-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.fac-tab-panel { display: none; }
.fac-tab-panel.active { display: block; }
.fac-tab-content { color: #334155; line-height: 1.8; font-size: 15px; margin-bottom: 24px; }
.fac-detail-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.fac-gallery-item { border-radius: 10px; overflow: hidden; box-shadow: 0 4px 16px rgba(10,61,107,.08); }
.fac-gallery-item img { width: 100%; height: 160px; object-fit: cover; display: block; }
.fac-gallery-caption { background: #0a3d6b; color: #fff; text-align: center; padding: 10px 8px; font-size: 13px; font-weight: 600; }
.fac-detail-features { margin-top: 28px; padding-top: 24px; border-top: 1px solid #e8eef5; }
.fac-features-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
.fac-features-list li { color: #334155; font-size: 14px; line-height: 1.5; }
.fac-features-list i { color: #1565c0; margin-right: 8px; }

@media (max-width: 991px) {
    .fac-card { flex: 0 0 calc(50% - 10px); }
    .fac-page-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .fac-detail-layout { grid-template-columns: 1fr; }
    .fac-detail-sidebar { position: static; display: flex; flex-wrap: wrap; }
    .fac-sidebar-link { flex: 1 1 50%; border-bottom: 1px solid #eef3f8; }
    .fac-detail-gallery, .fac-features-list { grid-template-columns: 1fr; }
    .fac-detail-content-inner { padding: 20px 18px 28px; }
    .fac-detail-banner img { max-height: none; }
    .fac-heading { flex-direction: column; }
}

@media (max-width: 575px) {
    .fac-page-grid { grid-template-columns: 1fr; }
    .fac-card { flex: 0 0 85%; }
}
