/* ==========================================================================
   Layanan Perencanaan Bangunan & Manajemen Konstruksi: komponen bersama
   (hero slideshow, judul seksi, dekorasi, CTA + form konsultasi).
   Dipakai bersama services-planning.css / services-construction.css.
   ========================================================================== */
body.page-services-planning,
body.page-services-construction { background: #fff; }

.pc { --pc-line: #E1E7E3; --pc-soft: #F3F7F5; --pc-mint: #9BE3A6; }
.pc section[id] { scroll-margin-top: 80px; }
.pc-wrap { position: relative; z-index: 1; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Judul seksi ---------- */
.pc-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; }
.pc-head__main { display: flex; flex-direction: column; gap: 18px; max-width: 780px; }
.pc-kicker { font-family: var(--mono); font-size: 11.5px; color: var(--green-text); }
.pc-h2 { margin: 0; font-size: clamp(32px, 4vw, 56px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; color: var(--navy); }
.pc-h2 span { color: var(--green); }
.pc-h2--sm { font-size: clamp(32px, 3.8vw, 54px); }
.pc-hint { display: flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11px; color: var(--muted); }
.pc-hint .ms { font-size: 17px; color: var(--green); }
.pc-p { margin: 0; font-size: 16.5px; line-height: 1.8; color: var(--text); }
.pc-plus { position: absolute; right: 4%; top: 70px; font-family: var(--mono); font-size: 20px; line-height: 1; color: rgba(57,181,74,0.6); pointer-events: none; }
.pc-outline { position: absolute; font-size: clamp(120px, 17vw, 250px); line-height: 0.85; font-weight: 700; letter-spacing: -0.05em; color: transparent; -webkit-text-stroke: 1.5px rgba(39,38,96,0.06); white-space: nowrap; pointer-events: none; user-select: none; }

/* Tombol bulat "Lihat Semua Project" */
.pc-pill { display: flex; align-items: center; gap: 12px; padding: 7px 7px 7px 22px; border-radius: 999px; border: 1px solid var(--navy); color: var(--navy); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .2s ease, color .2s ease; }
.pc-pill:hover { background: var(--navy); color: #fff; }
.pc-pill .ms { width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; }

/* ---------- Hero ---------- */
.pc-hero {
  position: relative; background-color: #fff;
  background-image: linear-gradient(rgba(39,38,96,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(39,38,96,0.04) 1px, transparent 1px);
  background-size: 44px 44px;
}
.pc-hero__top { position: relative; overflow: hidden; }
.pc-hero__media { position: absolute; top: 0; right: 0; bottom: 0; width: 64%; overflow: hidden; z-index: 0; isolation: isolate; }
.pc-hero__layer { position: absolute; inset: -28px; z-index: 0; isolation: isolate; transition: transform .6s var(--ease); }
.pc-hero__slide { position: absolute; inset: 0; background-size: cover; clip-path: inset(0 0 0 0); }
.pc-hero__fade { position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,0.95) 20%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0) 58%); }
.pc-hero__fade2 { position: absolute; inset: auto 0 0 0; z-index: 1; height: 40%; pointer-events: none; background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.7) 100%); }
.pc-hero__inner { position: relative; z-index: 2; max-width: var(--container); margin: 0 auto; padding: 104px var(--gutter) 188px; }
.pc-hero__copy { max-width: 780px; display: flex; flex-direction: column; gap: 26px; transition: transform .6s var(--ease); }
.pc-hero__eyebrow { display: flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--green-text); }
.pc-hero__eyebrow span { width: 32px; height: 2px; background: var(--green); }
.pc-hero__title { margin: 0; font-size: clamp(38px, 5vw, 76px); line-height: 1.04; font-weight: 700; letter-spacing: -0.04em; color: var(--navy); }
.pc-hero__title--xl { font-size: clamp(46px, 6.2vw, 92px); }
.pc-hero__mask { display: block; overflow: hidden; padding: 0.02em 0.06em 0.22em 0; margin-bottom: -0.18em; }
.pc-hero__mask > span { display: block; white-space: nowrap; }
.pc-hero__mask .is-green { color: var(--green); }
.pc-hero__lead { margin: 0; max-width: 560px; font-size: 17px; line-height: 1.7; color: var(--text-strong); }
.pc-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.pc-hero__badge { position: absolute; right: max(var(--gutter), calc((100% - 1320px) / 2 + 32px)); bottom: 112px; z-index: 3; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.pc-hero__tag { padding: 9px 14px; border-radius: 12px; background: rgba(255,255,255,0.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); display: flex; align-items: center; gap: 10px; box-shadow: 0 20px 40px -24px rgba(39,38,96,0.5); }
.pc-hero__num { font-family: var(--mono); font-size: 11px; color: var(--green-text); }
.pc-hero__label { font-size: 13px; font-weight: 600; color: var(--navy); white-space: nowrap; }
.pc-hero__dots { display: flex; gap: 6px; }
.pc-hero__dot { width: 8px; height: 6px; padding: 0; border: none; border-radius: 6px; background: rgba(255,255,255,0.85); cursor: pointer; transition: width .4s ease, background .4s ease; }
.pc-hero__dot.is-on { width: 34px; background: var(--green); }
.pc-hero__links-wrap { position: relative; z-index: 2; max-width: var(--container); margin: -84px auto 0; padding: 0 var(--gutter); }
.pc-hero__links { background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -30px rgba(39,38,96,0.3); border: 1px solid var(--pc-line); display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); overflow: hidden; }
.pc-hero__link { display: flex; align-items: center; gap: 16px; padding: 26px 28px; color: var(--navy); box-shadow: 1px 0 0 var(--pc-line), 0 1px 0 var(--pc-line); transition: background .2s ease; }
.pc-hero__link:hover { background: var(--pc-soft); color: var(--navy); }
.pc-hero__link-icon { width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; background: var(--green-tint); color: var(--green-text); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.pc-hero__link-text { display: flex; flex-direction: column; gap: 3px; font-size: 16px; font-weight: 600; color: var(--navy); }
.pc-hero__link-text .mono { font-size: 10.5px; font-weight: 400; color: var(--green-text); }

@media (max-width: 1099px) {
  .pc-hero__media { width: 100%; }
  .pc-hero__fade { background: linear-gradient(180deg, #fff 0%, #fff 50%, rgba(255,255,255,0.4) 66%, rgba(255,255,255,0) 82%); }
  .pc-hero__inner { padding: 56px var(--gutter) 460px; }
}
@media (max-width: 640px) {
  .pc-hero__mask > span { white-space: normal; }
  .pc-hero__inner { padding-top: 44px; padding-bottom: 400px; }
  .pc-hero__badge { bottom: 104px; }
  .pc-hero__links { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pc-hero__link { flex-direction: column; align-items: flex-start; gap: 12px; padding: 18px 16px; }
  .pc-hero__link-icon { width: 42px; height: 42px; border-radius: 12px; font-size: 22px; }
  .pc-hero__link-text { font-size: 14.5px; line-height: 1.3; }
}

/* ---------- CTA + form ---------- */
.pc-cta { position: relative; max-width: 1400px; margin: 0 auto; border-radius: 36px; background: var(--navy); overflow: hidden; }
.pc-cta__grid { position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px); background-size: 44px 44px; }
.pc-cta__ring { position: absolute; border-radius: 50%; pointer-events: none; }
.pc-cta__ring--a { right: -160px; top: -160px; width: 520px; height: 520px; border: 1.5px dashed rgba(255,255,255,0.14); }
.pc-cta__ring--b { right: -60px; top: -60px; width: 320px; height: 320px; border: 1.5px dashed rgba(57,181,74,0.45); }
.pc-cta__inner { position: relative; max-width: 1288px; margin: 0 auto; padding: 88px var(--gutter); display: flex; flex-wrap: wrap; gap: 56px; align-items: stretch; }
.pc-cta__info { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; }
.pc-cta__copy { display: flex; flex-direction: column; gap: 22px; }
.pc-cta__kicker { font-family: var(--mono); font-size: 11.5px; color: #A9ABD0; }
.pc-cta__title {
  margin: 0; font-size: clamp(36px, 4.4vw, 62px); line-height: 1.02; font-weight: 600; letter-spacing: -0.04em; color: transparent;
  background-image: linear-gradient(90deg, #fff 0%, #fff 50%, rgba(255,255,255,0.22) 50%, rgba(255,255,255,0.22) 100%);
  background-size: 200% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
}
.pc-cta__title span { color: var(--green); }
.pc-cta__lead { margin: 0; font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.8); max-width: 440px; }
.pc-cta__rows { display: flex; flex-direction: column; border-top: 1px solid rgba(255,255,255,0.14); }
.pc-cta__row { display: grid; grid-template-columns: 44px minmax(0,1fr) 24px; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,0.14); color: #fff; }
.pc-cta__row:hover { color: var(--green-light); }
.pc-cta__row > .ms:last-child { font-size: 18px; }
.pc-cta__row-icon { width: 44px; height: 44px; border-radius: 50%; background: rgba(57,181,74,0.16); color: var(--green-light); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pc-cta__row-text { display: flex; flex-direction: column; gap: 2px; font-size: 15.5px; font-weight: 500; overflow-wrap: anywhere; }
.pc-cta__row-label { font-family: var(--mono); font-size: 10.5px; font-weight: 400; color: #A9ABD0; }
.pc-cta__addr { font-size: 14.5px; line-height: 1.5; }
.pc-cta__card { flex: 1 1 460px; min-width: 0; background: #fff; border-radius: 26px; padding: 34px; box-shadow: 0 40px 80px -40px rgba(0,0,0,0.5); }

.pc-form { display: flex; flex-direction: column; gap: 18px; }
.pc-form__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.pc-form__title { font-size: 22px; font-weight: 600; color: var(--navy); letter-spacing: -0.01em; }
.pc-form__code { font-family: var(--mono); font-size: 11px; color: var(--muted-2); }
.pc-form__fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px; }
.pc-field { display: flex; flex-direction: column; gap: 6px; }
.pc-field__label { font-family: var(--mono); font-size: 10.5px; color: var(--muted); }
.pc-field input, .pc-field textarea { padding: 0 14px; border-radius: 12px; border: 1px solid #E1E7E3; background: #fff; font-family: inherit; font-size: 14.5px; color: var(--navy); outline: none; transition: border-color .2s ease; }
.pc-field input { height: 48px; }
.pc-field textarea { padding: 12px 14px; resize: vertical; }
.pc-field input:focus, .pc-field textarea:focus { border-color: var(--green); }
.pc-form__group { display: flex; flex-direction: column; gap: 8px; }
.pc-form__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pc-chip { display: flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 999px; border: 1px solid #E1E7E3; background: #fff; color: var(--navy); font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pc-chip .ms { font-size: 16px; }
.pc-chip:hover { border-color: var(--navy); }
.pc-chip.is-on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pc-form__error { margin: 0; padding: 10px 14px; border-radius: 12px; background: #FDECEC; color: #B42318; font-size: 13.5px; line-height: 1.5; }
.pc-form__submit { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 7px 7px 24px; border-radius: 999px; border: none; background: var(--green); color: #fff; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s ease; }
.pc-form__submit:hover { background: var(--green-hover); }
.pc-form__submit:disabled { opacity: .7; cursor: wait; }
.pc-form__submit .ms { width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--navy); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.pc-form__sent { display: none; min-height: 420px; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
[data-form-wrap].is-sent .pc-form { display: none; }
[data-form-wrap].is-sent .pc-form__sent { display: flex; }
.pc-form__sent-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--green-tint); color: var(--green-text); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.pc-form__sent-title { font-size: 26px; font-weight: 600; color: var(--navy); letter-spacing: -0.02em; }
.pc-form__sent-text { font-size: 15.5px; line-height: 1.7; color: var(--text); max-width: 380px; }
.pc-form__again { margin-top: 8px; padding: 12px 20px; border-radius: 999px; border: 1px solid var(--navy); background: transparent; color: var(--navy); font-family: inherit; font-size: 14px; font-weight: 500; cursor: pointer; }
.pc-form__again:hover { background: var(--navy); color: #fff; }

@media (max-width: 640px) {
  .pc-cta { border-radius: 28px; }
  .pc-cta__inner { padding: 64px var(--gutter); gap: 40px; }
  .pc-cta__card { padding: 24px 20px; flex-basis: 100%; }
  .pc-cta__info { flex-basis: 100%; }
}
