/* ==========================================================================
   Layanan: Manajemen Konstruksi (khusus halaman). Komponen bersama: services-pc.css
   ========================================================================== */

/* ---------- 01 Tentang layanan ---------- */
.mk-about { position: relative; overflow: clip; padding: 130px 0 110px; }
.mk-about__grid { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr); gap: 56px; align-items: center; }
.mk-about__copy { display: flex; flex-direction: column; gap: 24px; }
.mk-about__visual { position: relative; height: 560px; }
.mk-about__main { position: absolute; left: 0; top: 0; width: 68%; height: 74%; border-radius: 28px; overflow: hidden; }
.mk-about__small { position: absolute; right: 0; bottom: 0; width: 52%; height: 56%; border-radius: 24px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -30px rgba(39,38,96,0.5); }
.mk-about__img { position: absolute; left: 0; right: 0; top: -12%; bottom: -12%; background-size: cover; background-position: 50% 60%; }
.mk-about__img--sm { top: -14%; bottom: -14%; }
.mk-about__card { position: absolute; left: 24px; bottom: 30px; width: min(270px, 48%); padding: 20px; border-radius: 18px; background: #fff; box-shadow: 0 24px 50px -24px rgba(39,38,96,0.45); display: flex; flex-direction: column; gap: 8px; }
.mk-about__bar { width: 30px; height: 3px; border-radius: 3px; background: var(--green); }
.mk-about__card-title { font-size: 16px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.mk-about__card-text { font-size: 13px; line-height: 1.55; color: var(--text); }

/* ---------- 02 Kanban lingkup layanan ---------- */
.mk-kb { position: relative; overflow: clip; padding: 110px 0; background: var(--pc-soft); }
.mk-kb__outline { right: -2vw; top: 30px; }
.mk-kb__lead { margin: 0; max-width: 380px; font-size: 15px; line-height: 1.7; color: var(--text); }
.mk-kb__grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; margin-top: 48px; }
.mk-kb__grid > div { display: flex; }
.mk-kb__col { flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 24px; background: transparent; border: 1px dashed #C9D3CD; transition: all .45s ease; cursor: default; }
.mk-kb__head { display: flex; justify-content: space-between; align-items: center; padding: 10px 10px 6px; }
.mk-kb__stage { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); transition: color .45s ease; }
.mk-kb__dot { width: 8px; height: 8px; border-radius: 50%; background: #C9D3CD; transition: background .45s ease; }
.mk-kb__num { font-family: var(--mono); font-size: 11px; color: #9A9DAA; }
.mk-kb__card { border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 10px 24px -20px rgba(39,38,96,0.3); transition: all .5s var(--ease); }
.mk-kb__media { position: relative; height: 150px; overflow: hidden; }
.mk-kb__img { position: absolute; inset: 0; background-size: cover; transition: transform 1s var(--ease); }
.mk-kb__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.mk-kb__title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.mk-kb__desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: var(--text); }
.mk-kb__foot { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid #EEF2EF; }
.mk-kb__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.mk-kb__tags span { padding: 4px 8px; border-radius: 6px; background: var(--green-tint); font-family: var(--mono); font-size: 9.5px; color: var(--green-text); }
.mk-kb__icon { font-size: 18px; color: var(--muted); transition: color .45s ease; }
.mk-kb__col.is-on { background: #E4F2E7; border-color: var(--green); }
.mk-kb__col.is-on .mk-kb__stage, .mk-kb__col.is-on .mk-kb__icon { color: var(--green-text); }
.mk-kb__col.is-on .mk-kb__dot { background: var(--green); }
.mk-kb__col.is-on .mk-kb__card { transform: translateY(-6px) rotate(-1deg); box-shadow: 0 30px 50px -28px rgba(39,38,96,0.45); }
.mk-kb__col.is-on .mk-kb__img { transform: scale(1.08); }

/* ---------- 03 Empat fokus ---------- */
.mk-fq { position: relative; overflow: clip; padding: 120px 0; }
.mk-fq__plus { left: 3%; right: auto; top: 60px; }
.mk-fq__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: center; }
.mk-fq__copy { display: flex; flex-direction: column; gap: 22px; }
.mk-fq__list { display: flex; flex-direction: column; border-top: 1px solid var(--pc-line); }
.mk-fq__item { display: grid; grid-template-columns: 40px minmax(0,1fr); gap: 14px; padding: 16px 0; border: none; border-bottom: 1px solid var(--pc-line); background: transparent; font-family: inherit; text-align: left; cursor: pointer; }
.mk-fq__num { font-family: var(--mono); font-size: 12px; color: #9A9DAA; padding-top: 3px; }
.mk-fq__text { display: flex; flex-direction: column; gap: 6px; }
.mk-fq__title { font-size: 19px; font-weight: 600; color: var(--muted-2); transition: color .3s ease; }
.mk-fq__acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mk-fq__acc > span { overflow: hidden; font-size: 15px; line-height: 1.65; color: var(--text); }
.mk-fq__item.is-on .mk-fq__num { color: var(--green-text); }
.mk-fq__item.is-on .mk-fq__title, .mk-fq__item:hover .mk-fq__title { color: var(--navy); }
.mk-fq__item.is-on .mk-fq__acc { grid-template-rows: 1fr; }
.mk-fq__wheel { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.mk-fq__ring { position: absolute; inset: -4%; border-radius: 50%; border: 1.5px dashed rgba(39,38,96,0.16); }
.mk-fq__quads { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; }
.mk-fq__quad { position: absolute; width: 50%; height: 50%; padding: 0; border: none; background: var(--pc-soft); cursor: pointer; transition: background .45s ease; box-shadow: inset 0 0 0 1px rgba(39,38,96,0.12); font-family: inherit; }
.mk-fq__quad.is-alt { background: #fff; }
.mk-fq__quad--tl { left: 0; top: 0; border-radius: 100% 0 0 0; }
.mk-fq__quad--tr { right: 0; top: 0; border-radius: 0 100% 0 0; }
.mk-fq__quad--bl { left: 0; bottom: 0; border-radius: 0 0 0 100%; }
.mk-fq__quad--br { right: 0; bottom: 0; border-radius: 0 0 100% 0; }
.mk-fq__quad-in { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mk-fq__quad--tl .mk-fq__quad-in { left: 42%; top: 42%; }
.mk-fq__quad--tr .mk-fq__quad-in { left: 58%; top: 42%; }
.mk-fq__quad--bl .mk-fq__quad-in { left: 42%; top: 58%; }
.mk-fq__quad--br .mk-fq__quad-in { left: 58%; top: 58%; }
.mk-fq__quad-in .ms { font-size: 30px; color: var(--green); transition: color .4s ease; }
.mk-fq__quad-in span:last-child { font-size: 16px; font-weight: 600; color: var(--navy); transition: color .4s ease; }
.mk-fq__quad.is-on { background: var(--green-text); }
.mk-fq__quad.is-on .mk-fq__quad-in .ms, .mk-fq__quad.is-on .mk-fq__quad-in span:last-child { color: #fff; }
.mk-fq__center { position: absolute; inset: 31%; border-radius: 50%; background: var(--navy); border: 8px solid #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; text-align: center; box-shadow: 0 30px 60px -30px rgba(39,38,96,0.6); pointer-events: none; }
.mk-fq__needle { position: absolute; left: 50%; top: 50%; width: 46%; height: 3px; margin-top: -1.5px; background: var(--green); border-radius: 3px; transform-origin: 0 50%; transform: rotate(-135deg); transition: transform .8s cubic-bezier(.2,1.3,.4,1); }
.mk-fq__center-label { position: relative; font-family: var(--mono); font-size: 10.5px; color: var(--pc-mint); }
.mk-fq__center-title { position: relative; font-size: clamp(22px, 2.4vw, 32px); font-weight: 700; color: #fff; letter-spacing: -0.02em; }

/* ---------- 04 Gantt tahapan ---------- */
.mk-gt { position: relative; overflow: clip; padding: 110px 0; background: var(--pc-soft); }
.mk-gt__chart { position: relative; margin-top: 44px; border-radius: 24px; background: #fff; border: 1px solid var(--pc-line); overflow: hidden; }
.mk-gt__row { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.6fr); border-bottom: 1px solid #EEF2EF; background: #fff; transition: background .3s ease; }
.mk-gt__row--head { border-bottom: 1px solid var(--pc-line); background: var(--navy); }
.mk-gt__col-label { padding: 14px 20px; font-family: var(--mono); font-size: 10.5px; color: var(--pc-mint); }
.mk-gt__weeks { display: grid; grid-template-columns: repeat(6, 1fr); }
.mk-gt__weeks span { padding: 14px 10px; border-left: 1px solid rgba(255,255,255,0.12); font-family: var(--mono); font-size: 10.5px; color: rgba(255,255,255,0.75); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mk-gt__rows { position: relative; }
.mk-gt__today { position: absolute; top: 0; bottom: 0; left: 36%; width: 2px; background: var(--green); z-index: 3; pointer-events: none; }
.mk-gt__today span { position: absolute; top: 0; left: -26px; padding: 3px 8px; border-radius: 6px; background: var(--green); font-family: var(--mono); font-size: 9.5px; color: #fff; }
.mk-gt__task { display: flex; flex-direction: column; gap: 6px; padding: 16px 20px; }
.mk-gt__task-head { display: flex; align-items: center; gap: 10px; }
.mk-gt__num { font-family: var(--mono); font-size: 11px; color: var(--green-text); }
.mk-gt__title { font-size: 15px; line-height: 1.3; font-weight: 600; color: var(--navy); }
.mk-gt__acc { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.mk-gt__acc > span { overflow: hidden; font-size: 13px; line-height: 1.6; color: var(--text); }
.mk-gt__time { position: relative; background-image: linear-gradient(90deg, #EEF2EF 1px, transparent 1px); background-size: 16.666% 100%; }
.mk-gt__track { position: absolute; top: 50%; height: 26px; margin-top: -13px; border-radius: 8px; background: #E4ECE7; overflow: hidden; }
.mk-gt__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--navy); border-radius: 8px; }
.mk-gt__code { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 9.5px; color: #fff; }
.mk-gt__row.is-on { background: var(--pc-soft); }
.mk-gt__row.is-on .mk-gt__acc { grid-template-rows: 1fr; }
.mk-gt__row.is-on .mk-gt__fill { background: var(--green); }

/* ---------- 05 Hub koordinasi ---------- */
.mk-hb { position: relative; margin: 0 16px; border-radius: 36px; background: var(--navy); overflow: hidden; }
.mk-hb__bg { position: absolute; inset: 0; background-size: cover; background-position: 70% 40%; opacity: 0.16; filter: grayscale(1); pointer-events: none; }
.mk-hb__inner { padding-top: 100px; padding-bottom: 100px; }
.mk-hb__kicker { color: var(--pc-mint); }
.mk-hb__title { color: #fff; }
.mk-hb__hint { color: rgba(255,255,255,0.7); }
.mk-hb__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: 48px; margin-top: 56px; align-items: center; }
.mk-hb__hub { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.mk-hb__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mk-hb__svg line { stroke: rgba(255,255,255,0.35); stroke-width: 0.6; stroke-dasharray: 2 2; transition: stroke .4s ease; animation: mkFlow .9s linear infinite; }
.mk-hb__hub.is-coord .mk-hb__svg line { stroke: var(--green); }
@keyframes mkFlow { from { stroke-dashoffset: 0; } to { stroke-dashoffset: -8; } }
.mk-hb__logo { position: absolute; left: 50%; top: 50%; width: 32%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 12px rgba(57,181,74,0.2), 0 30px 60px -20px rgba(0,0,0,0.5); }
.mk-hb__logo img { width: 76%; height: auto; }
.mk-hb__node { position: absolute; transform: translate(-50%,-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.mk-hb__node .ms { width: 62px; height: 62px; border-radius: 50%; background: rgba(255,255,255,0.12); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 28px; border: 2px solid rgba(255,255,255,0.3); transition: background .4s ease; }
.mk-hb__hub.is-coord .mk-hb__node .ms { background: var(--green); }
.mk-hb__node-label { font-family: var(--mono); font-size: 10.5px; color: #fff; white-space: nowrap; }
.mk-hb__vals { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.mk-hb__vals > div { display: flex; }
.mk-hb__val { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.14); transition: all .4s ease; cursor: default; }
.mk-hb__val.is-on { background: rgba(57,181,74,0.18); border-color: var(--green); }
.mk-hb__val-top { display: flex; justify-content: space-between; align-items: center; }
.mk-hb__val-icon { width: 46px; height: 46px; border-radius: 14px; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 24px; }
.mk-hb__val-num { font-family: var(--mono); font-size: 11px; color: var(--pc-mint); }
.mk-hb__val-title { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 600; color: #fff; }
.mk-hb__val-desc { margin: 0; font-size: 13.5px; line-height: 1.6; color: rgba(255,255,255,0.85); }

/* ---------- 06 Galeri proyek ---------- */
.mk-gl { position: relative; overflow: clip; padding: 110px 0; }
.mk-gl__nav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.mk-gl__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--pc-line); background: #fff; color: var(--navy); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease, color .2s ease, background .2s ease; }
.mk-gl__btn .ms { font-size: 20px; }
.mk-gl__btn:hover { border-color: var(--green); color: var(--green); }
.mk-gl__btn--next { border: none; background: var(--green); color: #fff; }
.mk-gl__btn--next:hover { background: var(--green-hover); color: #fff; }
.mk-gl__track {
  --pad: max(var(--gutter), calc((100vw - 1320px) / 2 + 32px));
  display: flex; gap: 22px; margin-top: 48px; padding: 0 var(--pad) 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--pad);
  scrollbar-width: none; cursor: grab; user-select: none; -webkit-user-select: none; overscroll-behavior-x: contain;
}
.mk-gl__track::-webkit-scrollbar { display: none; }
.mk-gl__track.is-drag { cursor: grabbing; scroll-snap-type: none; }
.mk-gl__card { flex: 0 0 min(760px, 62vw); scroll-snap-align: start; display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); border-radius: 26px; overflow: hidden; background: #fff; border: 1px solid var(--pc-line); min-height: 360px; }
.mk-gl__media { position: relative; min-height: 260px; }
.mk-gl__img { position: absolute; inset: 0; background-size: cover; pointer-events: none; }
.mk-gl__num { position: absolute; left: 16px; top: 16px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,0.94); font-family: var(--mono); font-size: 10.5px; color: var(--navy); white-space: nowrap; }
.mk-gl__body { display: flex; flex-direction: column; justify-content: space-between; gap: 20px; padding: 28px; }
.mk-gl__text { display: flex; flex-direction: column; gap: 12px; }
.mk-gl__badge { padding: 6px 12px; border-radius: 999px; background: var(--green); font-family: var(--mono); font-size: 10.5px; color: #fff; align-self: flex-start; }
.mk-gl__title { margin: 0; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; color: var(--navy); }
.mk-gl__loc { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: var(--muted); }
.mk-gl__loc .ms { font-size: 17px; color: var(--green); }
.mk-gl__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mk-gl__tags span { padding: 5px 11px; border-radius: 999px; border: 1px solid var(--pc-line); font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.mk-gl__link { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--green); align-self: flex-start; }
.mk-gl__link:hover { color: var(--green); }
.mk-gl__link .ms { font-size: 18px; transition: transform .25s ease; }
.mk-gl__link:hover .ms { transform: translateX(4px); }
.mk-gl__card.is-dark { background: var(--navy); }
.mk-gl__card.is-dark .mk-gl__title { color: #fff; }
.mk-gl__card.is-dark .mk-gl__loc, .mk-gl__card.is-dark .mk-gl__tags span { color: rgba(255,255,255,0.8); }
.mk-gl__card.is-dark .mk-gl__tags span { border-color: rgba(255,255,255,0.25); }
.mk-gl__progress { margin-top: 22px; }
.mk-gl__bar-bg { height: 3px; border-radius: 3px; background: var(--pc-line); overflow: hidden; }
.mk-gl__bar { height: 100%; width: 34%; background: var(--green); border-radius: 3px; }

/* ---------- Responsif (desain: narrow < 1100px) ---------- */
@media (max-width: 1099px) {
  .mk-about__grid, .mk-fq__grid, .mk-hb__grid { grid-template-columns: minmax(0,1fr); }
  .mk-about__visual { height: 440px; }
  .mk-kb__grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mk-gt__row { grid-template-columns: minmax(0,1fr); }
  .mk-gt__weeks, .mk-gt__time, .mk-gt__today { display: none; }
  .mk-gt__acc { grid-template-rows: 1fr; }
  .mk-gl__card { flex-basis: min(86vw, 520px); grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  .mk-about { padding: 96px 0 80px; }
  .mk-kb, .mk-gt, .mk-gl { padding: 80px 0; }
  .mk-fq { padding: 88px 0; }
  .mk-about__visual { height: 380px; }
  .mk-about__main { width: 78%; height: 66%; }
  .mk-about__small { width: 50%; height: 46%; border-width: 6px; }
  .mk-about__card { left: 12px; bottom: 16px; width: 50%; padding: 14px; gap: 6px; }
  .mk-about__card-title { font-size: 14px; }
  .mk-about__card-text { font-size: 12px; }
  .mk-kb__grid { grid-template-columns: minmax(0,1fr); }
  .mk-fq__quad-in .ms { font-size: 24px; }
  .mk-fq__quad-in span:last-child { font-size: 13px; }
  .mk-fq__center { border-width: 5px; }
  .mk-hb { margin: 0 8px; border-radius: 28px; }
  .mk-hb__inner { padding-top: 72px; padding-bottom: 72px; }
  .mk-hb__node .ms { width: 48px; height: 48px; font-size: 22px; }
  .mk-hb__node-label { font-size: 9px; }
  .mk-hb__vals { grid-template-columns: minmax(0,1fr); }
  .mk-gl__body { padding: 22px; }
}
