.svg-definisi {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

/* ---------- Hero ---------- */
.beranda-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e3f0f5 0%, #f6fafb 55%, #ffffff 100%);
}

.beranda-hero::before,
.beranda-hero::after {
  position: absolute;
  content: "";
  border-radius: 50%;
}

.beranda-hero::before {
  top: -140px;
  right: -90px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, rgb(236 114 17 / 20%), transparent 68%);
}

.beranda-hero::after {
  bottom: -180px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgb(0 103 137 / 16%), transparent 68%);
}

.beranda-hero__isi {
  position: relative;
  z-index: 1;
  padding: 64px 0 72px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 40px;
}

.chip {
  margin: 0 0 18px;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ks-blue-dark);
  background: var(--ks-white);
  border: 1px solid #c7d6de;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.chip::before {
  width: 8px;
  height: 8px;
  content: "";
  background: var(--ks-orange);
  border-radius: 50%;
}

.beranda-hero h1 {
  margin: 0;
  color: var(--ks-ink);
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.beranda-hero h1 em {
  color: var(--ks-blue);
  font-style: normal;
}

.beranda-hero__sub {
  max-width: 540px;
  margin: 18px 0 0;
  color: #475569;
  font-size: 17px;
  line-height: 1.7;
}

.beranda-hero__aksi {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.beranda-hero__poin {
  margin: 30px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  color: #334155;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

.beranda-hero__poin li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.beranda-hero__poin li::before {
  width: 20px;
  height: 20px;
  content: "\2713";
  display: inline-grid;
  place-items: center;
  color: var(--ks-white);
  background: #037f0c;
  border-radius: 50%;
  font-size: 12px;
}

.beranda-hero__visual {
  display: flex;
  justify-content: center;
}

.beranda-hero__visual svg {
  width: min(100%, 340px);
  height: auto;
  filter: drop-shadow(0 28px 40px rgb(18 38 47 / 22%));
}

/* ---------- Bagian umum ---------- */
.bagian {
  padding: 72px 0;
}

.bagian--putih {
  background: var(--ks-white);
}

.bagian[hidden] {
  display: none;
}

.bagian__kepala {
  max-width: 640px;
  margin: 0 auto 40px;
  text-align: center;
}

.bagian__kepala h2 {
  margin: 0;
  color: var(--ks-ink);
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -0.01em;
}

.bagian__kepala p {
  margin: 12px 0 0;
  color: var(--ks-muted);
  font-size: 16px;
  line-height: 1.7;
}

.bagian__lainnya {
  margin-top: 32px;
  text-align: center;
}

/* ---------- Layanan ---------- */
.layanan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 16px;
}

.layanan-kartu {
  padding: 22px 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  background: var(--ks-white);
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-radius);
  text-align: center;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease,
    border-color 180ms ease;
}

.layanan-kartu:hover {
  border-color: #bfd3dc;
  box-shadow: var(--ks-bayangan);
  transform: translateY(-3px);
}

.layanan-kartu img,
.layanan-kartu__huruf {
  width: 60px;
  height: 60px;
  border-radius: 16px;
}

.layanan-kartu img {
  object-fit: contain;
  background: var(--ks-white);
}

.layanan-kartu__huruf {
  display: grid;
  place-items: center;
  color: var(--ks-blue-dark);
  background: var(--ks-blue-soft);
  font-size: 24px;
  font-weight: 800;
}

.layanan-kartu span:last-child {
  color: var(--ks-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

/* ---------- Keunggulan ---------- */
.keunggulan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.keunggulan-item {
  padding: 8px 6px;
  text-align: center;
}

.keunggulan-item__ikon {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  color: var(--ks-blue-dark);
  background: var(--ks-blue-soft);
  border: 2px solid #c7d6de;
  border-radius: 50%;
}

.keunggulan-item__ikon svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.keunggulan-item h3 {
  margin: 0;
  color: var(--ks-ink);
  font-size: 17px;
}

.keunggulan-item p {
  margin: 8px 0 0;
  color: var(--ks-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Langkah ---------- */
.langkah-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: langkah;
}

.langkah-item {
  position: relative;
  padding: 28px 24px 24px;
  background: var(--ks-white);
  border: 1px solid var(--ks-line);
  border-radius: var(--ks-radius);
  counter-increment: langkah;
}

.langkah-item::before {
  width: 40px;
  height: 40px;
  margin-bottom: 14px;
  content: counter(langkah);
  display: grid;
  place-items: center;
  color: var(--ks-white);
  background: var(--ks-orange);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgb(236 114 17 / 30%);
  font-size: 18px;
  font-weight: 800;
}

.langkah-item h3 {
  margin: 0;
  color: var(--ks-ink);
  font-size: 18px;
}

.langkah-item p {
  margin: 8px 0 0;
  color: var(--ks-muted);
  font-size: 14px;
  line-height: 1.7;
}

/* ---------- Promo ---------- */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.promo-kartu {
  position: relative;
  min-height: 240px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--ks-white);
  background: linear-gradient(135deg, var(--ks-blue), var(--ks-blue-dark));
  border-radius: 20px;
  transition:
    box-shadow 180ms ease,
    transform 180ms ease;
}

.promo-kartu:hover {
  box-shadow: var(--ks-bayangan);
  transform: translateY(-3px);
}

.promo-kartu img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo-kartu::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgb(0 57 77 / 0%) 30%, rgb(0 57 77 / 82%) 100%);
}

.promo-kartu > :not(img) {
  position: relative;
  z-index: 1;
}

.promo-kartu__label {
  align-self: flex-start;
  margin-bottom: 10px;
  padding: 4px 12px;
  color: var(--ks-white);
  background: var(--ks-orange);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.promo-kartu h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.3;
}

.promo-kartu p {
  margin: 8px 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: 14px;
  line-height: 1.6;
}

.promo-kartu__lanjut {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 700;
}

/* ---------- FAQ ringkas ---------- */
.faq-ringkas {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

/* ---------- Ajakan unduh ---------- */
.cta-unduh {
  position: relative;
  overflow: hidden;
  color: var(--ks-white);
  background: linear-gradient(120deg, #00526d, #006789 55%, #00759b);
}

.cta-unduh::before {
  position: absolute;
  top: -120px;
  right: -60px;
  width: 360px;
  height: 360px;
  content: "";
  background: radial-gradient(circle, rgb(236 114 17 / 40%), transparent 68%);
  border-radius: 50%;
}

.cta-unduh__isi {
  position: relative;
  padding: 56px 0;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 32px;
}

.cta-unduh h2 {
  margin: 0;
  font-size: clamp(26px, 3.8vw, 38px);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.cta-unduh p {
  max-width: 520px;
  margin: 12px 0 24px;
  color: rgb(255 255 255 / 88%);
  font-size: 16px;
  line-height: 1.7;
}

.cta-unduh__visual {
  display: flex;
  justify-content: center;
}

.cta-unduh__visual svg {
  width: min(100%, 220px);
  height: auto;
  filter: drop-shadow(0 22px 30px rgb(0 0 0 / 28%));
}

@media (max-width: 860px) {
  .beranda-hero__isi {
    padding: 44px 0 52px;
    grid-template-columns: 1fr;
  }

  .beranda-hero__visual {
    order: -1;
  }

  .beranda-hero__visual svg {
    width: min(70%, 260px);
  }

  .cta-unduh__isi {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-unduh p {
    margin-right: auto;
    margin-left: auto;
  }

  .cta-unduh__visual {
    display: none;
  }
}

@media (max-width: 960px) {
  .keunggulan-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .langkah-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .bagian {
    padding: 52px 0;
  }

  .keunggulan-grid {
    grid-template-columns: 1fr;
  }

  .beranda-hero__aksi .tombol {
    width: 100%;
  }

  .promo-grid,
  .artikel-grid {
    grid-template-columns: 1fr;
  }
}
