/* =============================================================================
   BLOK SECTION BERSAMA — dipakai bersama oleh / , /home-2 , /home-4
   =============================================================================
   Semua aturan yang dipakai LEBIH DARI SATU halaman dikumpulkan di sini,
   sehingga tiap aturan CSS hanya ada SATU di seluruh proyek.  Sebelumnya
   aturan yang sama diduplikasi di home-sections.css, home-2.css, dan
   home-4.css.

   Prefiks digabung dalam satu aturan:
     .hs-*  (beranda)  +  .h4-*  (home-4)  +  .h2-*  (home-2)
   Selisih deklarasi per prefix tetap di file asalnya (cascade normal).

   Design system dipatuhi: tanpa token / warna / font / radius baru.
   ============================================================================= */

/* ---------- tombol "Lihat Semua / Lihat FAQ" ---------- */
.hs-link, .h4-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--font-color);
  text-decoration: none;
  white-space: nowrap;
}
.hs-link .circle-arrow, .h4-link .circle-arrow {
  background-color: var(--font-color);
}

.hs-progres, .h4-progres {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) 260px; gap: 28px; align-items: center; padding: 26px 0; border-top: 1px solid var(--lines); border-bottom: 1px solid var(--lines)
}
.hs-progres-thumb, .h4-progres-thumb {
  display: block; overflow: hidden; border-radius: 10px
}
.hs-progres-thumb img, .h4-progres-thumb img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover
}
/* Slot logo: kotak putih + logo contain (bukan foto) */
.hs-progres-thumb.is-logo, .h4-progres-thumb.is-logo {
  background-color: #ffffff
}
.hs-progres-thumb.is-logo img, .h4-progres-thumb.is-logo img {
  width: 100%; height: auto; object-fit: contain; padding: 10px; box-sizing: border-box
}
.hs-progres-body .all-caps-title, .h4-progres-body .all-caps-title {
  margin-bottom: 10px
}
.hs-progres-body .paragraph-medium, .h4-progres-body .paragraph-medium {
  margin: 0; color: var(--text-grey); font-size: 16px; line-height: 22px
}
.hs-progres-value, .h4-progres-value {
  text-align: right
}
.hs-progres-num, .h4-progres-num {
  font-size: 54px; line-height: 56px; font-weight: 600; letter-spacing: -1.5px; color: var(--font-color)
}
.hs-progres-bar, .h4-progres-bar {
  margin-top: 12px; height: 6px; border-radius: 3px; background-color: var(--lines); overflow: hidden
}
.hs-progres-bar span, .h4-progres-bar span {
  display: block; width: 100%; height: 100%; background-color: var(--brand-green)
}
.hs-head-center, .h4-head-center {
  text-align: center; margin-bottom: 48px
}
.hs-head-center .h4, .h4-head-center .h4 {
  margin: 0 0 14px
}
.hs-head-center .subtitle, .h4-head-center .subtitle {
  margin: 0 auto; max-width: 58ch
}
.hs-tahap, .h4-tahap {
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px
}
.hs-tahap-item, .h4-tahap-item {
  position: relative; text-align: center; padding-top: 46px
}
.hs-tahap-item::before, .h4-tahap-item::before {
  content: ""; position: absolute; top: 15px; left: 50%; width: 100%; height: 1px; background-color: var(--lines); z-index: 0
}
.hs-tahap-item:last-child::before, .h4-tahap-item:last-child::before {
  display: none
}
.hs-tahap-num, .h4-tahap-num {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%); z-index: 1; width: 32px; height: 32px; border-radius: 50%; background-color: var(--bg); color: var(--font-color); border: 1px solid var(--font-color); font-size: 15px; font-weight: 600; line-height: 30px; text-align: center
}
.hs-tahap-title, .h4-tahap-title {
  display: block; font-size: 17px; line-height: 23px; font-weight: 600; color: var(--font-color)
}
.hs-head, .h2-head {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 6%; align-items: end; margin-bottom: 64px
}
.hs-head .all-caps-title, .h2-head .all-caps-title {
  margin-bottom: 22px
}
.hs-title, .h2-title {
  margin: 0; max-width: 20ch
}
.hs-head-aside .subtitle, .h2-head-aside .subtitle {
  margin: 0 0 20px; max-width: 44ch
}
.hs-proyek, .h2-proyek {
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 6%; align-items: start
}
.hs-proyek {
  margin-bottom: 80px
}
.hs-proyek-figure, .h2-proyek-figure {
  position: relative; overflow: hidden; border-radius: 24px; margin-bottom: 26px
}
.hs-proyek-figure img, .h2-proyek-figure img {
  display: block; width: 100%; height: auto; object-fit: cover
}
.hs-proyek-feature .all-caps-title, .h2-proyek-feature .all-caps-title {
  margin-bottom: 14px
}
.hs-proyek-feature .h4, .h2-proyek-feature .h4 {
  margin: 0 0 10px; max-width: 26ch
}
.hs-proyek-feature .paragraph-medium, .h2-proyek-feature .paragraph-medium {
  margin: 0; color: var(--text-grey); max-width: 58ch
}
.hs-proyek-jejak, .h2-proyek-jejak {
  border-top: 1px solid var(--lines); padding-top: 26px
}
.hs-proyek-jejak .all-caps-title, .h2-proyek-jejak .all-caps-title {
  margin-bottom: 18px
}
.hs-jejak-list, .h2-jejak-list {
  list-style: none; margin: 0 0 26px; padding: 0; border-top: 1px solid var(--lines)
}
.hs-jejak-list li, .h2-jejak-list li {
  display: flex; justify-content: space-between; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--lines)
}
.hs-jejak-nama, .h2-jejak-nama {
  font-size: 17px; font-weight: 600
}
.hs-jejak-temps, .h2-jejak-temps {
  font-size: 14px; color: var(--text-grey); text-align: right
}
.hs-proyek-jejak .paragraph-medium, .h2-proyek-jejak .paragraph-medium {
  margin: 0; color: var(--text-grey); font-size: 14px; line-height: 21px
}
.hs-head-row, .h4-head-row {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 46px
}
.hs-head-row .h4, .h4-head-row .h4 {
  margin: 0 0 10px
}
.hs-head-row .paragraph-medium, .h4-head-row .paragraph-medium {
  margin: 0; color: var(--text-grey)
}
.hs-faq, .h4-faq {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 46px
}
.hs-faq-item, .h4-faq-item {
  border-bottom: 1px solid var(--lines)
}
.hs-faq-trigger, .h4-faq-trigger {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none
}
.hs-faq-trigger::-webkit-details-marker, .h4-faq-trigger::-webkit-details-marker {
  display: none
}
.hs-faq-trigger .expand, .h4-faq-trigger .expand {
  flex: 1 1 auto; min-width: 0
}
.hs-faq-trigger .question, .h4-faq-trigger .question {
  font-size: 19px; line-height: 25px; font-weight: 600
}
.hs-faq-item[open] .vertical, .h4-faq-item[open] .vertical {
  transform: rotate(90deg)
}
.hs-faq-item .accordion-content, .h4-faq-item .accordion-content {
  padding-bottom: 22px
}
.hs-faq-item .paragraph-medium, .h4-faq-item .paragraph-medium {
  margin: 0; color: var(--text-grey); font-size: 16px; line-height: 23px
}
@media screen and (max-width: 1199px) {
  .hs-tahap, .h4-tahap {
    grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px
  }
  .hs-tahap-item:nth-child(3)::before, .h4-tahap-item:nth-child(3)::before {
    display: none
  }
}
@media screen and (max-width: 991px) {
  .hs-progres, .h4-progres {
    grid-template-columns: 72px minmax(0, 1fr); gap: 20px
  }
  .hs-progres-value, .h4-progres-value {
    grid-column: 1 / -1; text-align: left
  }
  .hs-head, .hs-proyek, .h2-head, .h2-proyek {
    grid-template-columns: minmax(0, 1fr); gap: 44px
  }
  .hs-proyek {
    margin-bottom: 60px
  }
  .hs-faq, .h4-faq {
    grid-template-columns: 1fr
  }
}
@media screen and (max-width: 767px) {
  .hs-head-center, .hs-head-row, .h4-head-center, .h4-head-row {
    margin-bottom: 34px
  }
  .hs-head-row {
    flex-direction: column; align-items: flex-start; gap: 16px
  }
  .hs-tahap, .h4-tahap {
    grid-template-columns: 1fr; gap: 0
  }
  .hs-tahap-item, .h4-tahap-item {
    display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; align-items: center; text-align: left; padding: 12px 0
  }
  .hs-tahap-item::before, .h4-tahap-item::before {
    top: 0; bottom: 0; left: 15px; width: 1px; height: auto
  }
  .hs-tahap-item:last-child::before, .h4-tahap-item:last-child::before {
    display: block; bottom: 50%
  }
  .hs-tahap-item:nth-child(3)::before, .h4-tahap-item:nth-child(3)::before {
    display: block
  }
  .hs-tahap-num, .h4-tahap-num {
    position: relative; top: auto; left: auto; transform: none
  }
  .hs-faq-trigger .question, .h4-faq-trigger .question {
    font-size: 17px; line-height: 23px
  }
}

/* =============================================================================
   BLOK BARU — REVISI BERANDA (ikon, daftar layanan, slide show, blog)
   Prefix .hs-* supaya tidak bentrok dengan halaman lain.
   ============================================================================= */

/* ---------- ① daftar 8 layanan (pengganti akordeon) ---------- */
.hs-layanan-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 46px
}
.hs-layanan-item {
  display: flex; align-items: center; gap: 18px;
  padding: 17px 0; border-bottom: 1px solid var(--lines)
}
.hs-layanan-nomor {
  font-size: 13px; font-weight: 600; color: var(--text-grey);
  letter-spacing: 1px; flex: 0 0 auto
}
.hs-layanan-nama {
  flex: 1 1 auto; min-width: 0;
  font-size: 19px; line-height: 25px; font-weight: 600;
  color: var(--font-color); text-decoration: none
}
.hs-layanan-item .circle-arrow {
  flex: 0 0 auto; opacity: 0; transform: translateX(-6px); transition: opacity .2s, transform .2s
}
.hs-layanan-item:hover .circle-arrow {
  opacity: 1; transform: none
}

/* ---------- ② slide show portofolio proyek ---------- */
.hs-slider {
  --hs-slide-h: 460px;
  height: auto; background-color: transparent; border-radius: 24px;
  overflow: visible; text-align: left
}
.hs-slider .ui-slider-mask {
  height: var(--hs-slide-h); border-radius: 24px; overflow: hidden
}
.hs-slider .ui-slider-nav {
  position: static; height: auto; margin: 18px auto 0; padding-top: 0
}
.hs-slider .ui-slider-arrow-left,
.hs-slider .ui-slider-arrow-right {
  top: 0; bottom: auto; height: var(--hs-slide-h)
}
.hs-slide-inner {
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  height: 100%; background-color: #fff
}
.hs-slide-figure {
  position: relative; overflow: hidden; height: 100%
}
/* Gambar slider diposisikan absolut: rasio asli tiap foto tidak mengubah
   tinggi slide, jadi tidak ada pergeseran layout (CLS 0). */
.hs-slide-figure img {
  position: absolute; inset: 0;
  display: block; width: 100%; height: 100%; object-fit: cover
}
.hs-slide-info {
  padding: 44px 104px 44px 48px; display: flex; flex-direction: column; justify-content: center;
  background-color: #fff
}
/* nomor proyek (NO 01 - NO 09) mengikuti daftar klien; dipakai juga di
   halaman /portfolio (kelas .works-row-nomor). */
.works-row-meta {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px
}
.works-row-meta .all-caps-title { margin: 0 }
.works-row-nomor {
  display: inline-block;
  flex: 0 0 auto;
  padding: 4px 10px;
  border: 1px solid var(--lines);
  border-radius: 999px;
  background-color: var(--bg);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  line-height: 1;
  color: var(--brand-blue)
}
.hs-slide-info .all-caps-title { color: var(--brand-blue) }
.hs-slide-judul {
  margin: 0 0 8px; max-width: 20ch
}
.hs-slide-lokasi {
  margin: 0 0 18px; font-size: 15px; line-height: 21px; font-weight: 600; color: var(--text-grey)
}
.hs-slide-info .paragraph-medium {
  margin: 0 0 26px; color: var(--text-grey); max-width: 46ch
}
.hs-slider .ui-slider-dot {
  background-color: var(--font-color); opacity: .35; border-radius: 50%
}
.hs-slider .ui-slider-dot.ui-active { background-color: var(--font-color); opacity: 1 }
.hs-slider .ui-slider-arrow-left img,
.hs-slider .ui-slider-arrow-right img {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 30px; height: 30px; padding: 8px; box-sizing: content-box;
  border-radius: 50%; background-color: var(--brand-blue-deep)
}

/* ---------- ③ dua kartu blog sederhana ---------- */
.hs-blog-list {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 46px
}
.hs-blog-item { min-width: 0 }
.hs-blog-figure {
  display: block; overflow: hidden; border-radius: 16px;
  aspect-ratio: 16 / 10; width: 100%; margin-bottom: 22px
}
.hs-blog-figure img {
  display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s
}
.hs-blog-item:hover .hs-blog-figure img { transform: scale(1.04) }
.hs-blog-kategori {
  letter-spacing: 1.5px; text-transform: uppercase;
  font-size: 13px; line-height: 16px; font-weight: 600;
  color: var(--brand-blue); margin-bottom: 12px
}
.hs-blog-judul { margin: 0 0 10px; font-size: 23px; line-height: 29px }
.hs-blog-judul a { color: var(--font-color); text-decoration: none }
.hs-blog-ringkas { margin: 0 0 20px; color: var(--text-grey); max-width: 48ch }

@media screen and (max-width: 991px) {
  .hs-layanan-list, .hs-blog-list { grid-template-columns: 1fr; gap: 0 }
  .hs-blog-list { gap: 44px }
  .hs-slider { --hs-slide-h: auto }
  .hs-slider .ui-slider-mask { height: auto }
  .hs-slider .ui-slider-arrow-left,
  .hs-slider .ui-slider-arrow-right { height: 56vw; max-height: 300px }
  .hs-slide-inner { grid-template-columns: minmax(0, 1fr); height: auto }
  .hs-slide-figure { aspect-ratio: 16 / 10; height: auto }
  .hs-slide-info { padding: 30px 24px 34px }
}
.hs-proyek-wrap { display: block; margin-bottom: 80px }
@media screen and (max-width: 991px) { .hs-proyek-wrap { margin-bottom: 60px } }

/* ---------- ②b nested carousel: thumbnail dinamis proyek ---------- */
/* baris thumbnail per-slide: dipakai di mobile (tepat di bawah foto utama).
   Di desktop disembunyikan karena bar global di bawah kartu yang dipakai. */
.hs-slide-thumbs { display: none }
.hs-thumbs-row {
  display: flex; align-items: center; gap: 18px; margin-top: 22px
}
/* area dibatasi: sekitar 5 thumbnail terlihat, sisanya digeser horizontal */
.hs-thumbs {
  max-width: 560px; flex: 1 1 auto; min-width: 0;
  overflow-x: auto; overflow-y: hidden;
  scrollbar-width: thin; scrollbar-color: var(--lines) transparent;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain
}
.hs-thumbs::-webkit-scrollbar { height: 6px }
.hs-thumbs::-webkit-scrollbar-thumb { background: var(--lines); border-radius: 3px }
.hs-thumbs::-webkit-scrollbar-track { background: transparent }
.hs-thumbs-track { display: flex; gap: 10px; padding-bottom: 8px; width: max-content }
.hs-thumb {
  flex: 0 0 auto; width: 104px; height: 69px; padding: 0;
  border: 2px solid transparent; border-radius: 12px; overflow: hidden;
  background: none; cursor: pointer; display: block;
  transition: border-color .2s, transform .2s
}
.hs-thumb img {
  display: block; width: 100%; height: 100%; object-fit: cover
}
.hs-thumb:hover { transform: translateY(-2px) }
.hs-thumb.is-active { border-color: var(--brand-green) }
.hs-thumb:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 2px }
.hs-thumbs-count {
  font-size: 13px; font-weight: 600; color: var(--text-grey);
  white-space: nowrap; letter-spacing: .4px
}
/* transisi halus saat gambar besar berganti */
.hs-slide-figure img { transition: opacity .25s ease }
.hs-slide-figure img.is-ganti { opacity: .3 }

@media screen and (max-width: 991px) {
  /* mobile: baris thumbnail pindah ke dalam slide, menempel di bawah foto */
  .hs-thumbs-row { display: none }
  .hs-slide-thumbs {
    display: flex; align-items: center; gap: 12px;
    background-color: #fff; padding: 16px 24px 0
  }
  .hs-slide-thumbs .hs-thumbs { max-width: 100% }
  .hs-slide-thumbs .hs-thumbs-track { gap: 8px }
  .hs-slide-thumbs .hs-thumb { width: 64px; height: 43px; border-radius: 9px }
  .hs-slide-thumbs .hs-thumbs-count { font-size: 12px; flex: 0 0 auto }
  .hs-slide-info { padding: 20px 24px 34px }
}

@media screen and (max-width: 991px) {
  .hs-thumbs-row { gap: 12px; margin-top: 18px }
  .hs-thumbs { max-width: 100% }
  .hs-thumbs-track { gap: 8px }
  .hs-thumb { width: 64px; height: 43px; border-radius: 9px }
  .hs-thumbs-count { font-size: 12px }
}

/* ---------- ②c slider: panah modern, tombol portfolio, titik navigasi ---------- */

/* tombol panah: lingkaran kaca di tepi gambar */
.hs-slider {
  --hs-figure-edge: 55%;          /* lebar kolom gambar (1.1fr dari 2fr) */
}
/* layer khusus: mengikuti letak gambar (desktop: kolom kiri 55%,
   mobile: rasio 16/10 di atas) sehingga panah selalu tepat di gambar */
.hs-arrows-layer {
  position: absolute; top: 0; left: 0;
  width: var(--hs-figure-edge); height: var(--hs-slide-h);
  pointer-events: none; z-index: 5
}
.hs-arrows-layer .ui-slider-arrow-left,
.hs-arrows-layer .ui-slider-arrow-right {
  inset: auto; top: 50%; bottom: auto;
  width: 48px; height: 48px; margin: 0; padding: 0;
  pointer-events: auto;
  border: 1px solid rgba(31, 31, 32, .10);
  border-radius: 50%;
  background-color: rgba(253, 252, 247, .90);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  box-shadow: 0 8px 22px rgba(31, 31, 32, .16);
  color: var(--font-color);
  display: flex; align-items: center; justify-content: center;
  overflow: visible;
  transform: translateY(-50%);
  transition: background-color .25s, color .25s, border-color .25s,
              transform .25s, box-shadow .25s
}
.hs-arrows-layer .ui-slider-arrow-left { left: 22px; right: auto }
.hs-arrows-layer .ui-slider-arrow-right { right: 22px; left: auto }
.hs-slider .ui-slider-arrow-left svg,
.hs-slider .ui-slider-arrow-right svg { width: 22px; height: 22px; display: block }
.hs-arrows-layer .ui-slider-arrow-left:hover,
.hs-arrows-layer .ui-slider-arrow-right:hover {
  background-color: var(--font-color);
  border-color: var(--font-color);
  color: var(--bg);
  transform: translateY(-50%) scale(1.07);
  box-shadow: 0 12px 26px rgba(31, 31, 32, .24)
}
.hs-arrows-layer .ui-slider-arrow-left:focus-visible,
.hs-arrows-layer .ui-slider-arrow-right:focus-visible {
  outline: 2px solid var(--brand-blue); outline-offset: 3px
}

/* tombol "Lihat Portfolio" - pill dengan garis (border 1px) */
.hs-portfolio-btn {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start; width: auto;
  height: 42px; padding: 0 20px 0 24px;
  border: 1px solid var(--font-color); border-radius: 21px;
  background-color: transparent; color: var(--font-color);
  font-size: 12px; font-weight: 600; letter-spacing: .9px;
  line-height: 1; text-transform: uppercase;
  transition: background-color .25s, color .25s, gap .25s
}
.hs-portfolio-icon { width: 18px; height: 18px; flex: 0 0 auto; transition: transform .25s }
.hs-portfolio-btn:hover {
  background-color: var(--font-color); color: var(--bg); gap: 14px
}
.hs-portfolio-btn:hover .hs-portfolio-icon { transform: translateX(3px) }
.hs-portfolio-btn:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px }

/* titik navigasi: pill modern, titik aktif memanjang */
.hs-slider .ui-slider-nav {
  display: flex; justify-content: center; align-items: center; gap: 9px
}
.hs-slider .ui-slider-dot {
  width: 9px; height: 9px; margin: 0;
  border: 0; border-radius: 999px;
  background-color: var(--font-color); opacity: .22;
  transition: width .35s cubic-bezier(.22, .61, .36, 1), opacity .25s,
              background-color .25s
}
.hs-slider .ui-slider-dot:hover { opacity: .5 }
.hs-slider .ui-slider-dot.ui-active {
  width: 30px; opacity: 1; background-color: var(--brand-green)
}
.hs-slider .ui-slider-dot:focus-visible { outline: 2px solid var(--brand-blue); outline-offset: 3px }

@media screen and (max-width: 991px) {
  .hs-arrows-layer { width: 100%; height: auto; aspect-ratio: 16 / 10 }
  .hs-arrows-layer .ui-slider-arrow-left,
  .hs-arrows-layer .ui-slider-arrow-right { width: 40px; height: 40px }
  .hs-arrows-layer .ui-slider-arrow-left { left: 14px }
  .hs-arrows-layer .ui-slider-arrow-right { right: 14px }
  .hs-arrows-layer .ui-slider-arrow-left svg,
  .hs-arrows-layer .ui-slider-arrow-right svg { width: 18px; height: 18px }
  .hs-portfolio-btn { height: 40px; padding: 0 18px 0 20px; font-size: 11px }
}

/* ---------- peta lokasi (dipakai /hubungi-kami) ---------- */
.hs-peta {
  position: relative; overflow: hidden; border-radius: 24px;
  min-height: 430px; background-color: var(--bg-text-white)
}
.hs-peta iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0 }
@media screen and (max-width: 991px) { .hs-peta { min-height: 320px } }
