/* Landing page SIGAP Api (Figma: "Landing page", 1440 px). */
.beranda { background: #000; color: #fff; position: relative; overflow-x: hidden; }

.hero-latar {
  position: absolute; inset: 0 0 auto; height: max(810px, 56vw); z-index: 0;
  background: url("../img/hero.jpg") center top / cover no-repeat;
}
/* bayangan hitam: gradasi transparan → hitam, mulai ±41% tinggi foto */
.hero-latar::after {
  content: ""; position: absolute; left: 0; right: 0; top: 40.9%; height: 82.2%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, .58) 25%, rgba(0, 0, 0, .875) 50%, #000);
}

.wadah { position: relative; z-index: 1; max-width: calc(1256px + 2 * 92px); margin: 0 auto; padding: 0 clamp(16px, 6.4vw, 92px); }

/* ---------- hero */
.hero { padding-top: clamp(56px, 8.8vw, 126px); min-height: clamp(420px, 44.5vw, 635px); }
.hero h1 {
  font-weight: 600; font-style: italic; font-size: clamp(48px, 6.95vw, 100px); line-height: .905;
  max-width: 6.2em; letter-spacing: -.5px;
}
.hero-aksi { display: flex; flex-wrap: wrap; gap: 19px; margin-top: clamp(28px, 4.7vw, 68px); }
.pil {
  display: inline-flex; align-items: center; justify-content: center; height: 50px; padding: 0 20px; min-width: 192px;
  border-radius: 25px; color: #fff; text-decoration: none; font-size: 20px; white-space: nowrap;
  transition: transform .15s ease, filter .15s ease;
}
.pil:hover { transform: translateY(-1px); filter: brightness(1.08); }
.pil:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.pil-kaca { background: rgba(255, 255, 255, .2); font-weight: 500; min-width: 196px; backdrop-filter: blur(4px); }
.pil-merah { background: linear-gradient(to right, var(--merah), var(--merah-tua)); font-weight: 600; }

/* ---------- bagian */
.bagian { scroll-margin-top: 24px; }
#map { padding-top: 48px; }
#map .judul-bagian { margin-bottom: 43px; }
#team { padding-top: 82px; }
.judul-bagian { display: flex; align-items: center; gap: 14px; font-weight: 700; font-size: 25px; line-height: 37.5px; margin-bottom: 24px; }
.penanda { width: 24px; height: 23px; flex: none; }
.penanda-hijau { background: linear-gradient(to left, #04ca97, var(--hijau-tua)); }
.penanda-biru { background: linear-gradient(to left, var(--biru), var(--biru-tua)); }
.penanda-kuning { background: linear-gradient(to left, var(--kuning), var(--kuning-tua)); }

.teks-about { margin: 0; font-size: clamp(16px, 1.74vw, 25px); line-height: 1.5; text-align: justify; }
.teks-about strong { font-weight: 700; }
.baca { color: #fff; font-weight: 700; text-decoration: underline; float: right; }

.pratinjau-peta {
  display: block; position: relative; border-radius: 29px; overflow: hidden; aspect-ratio: 1256 / 737;
  transition: transform .2s ease;
}
.pratinjau-peta::after { content: ""; position: absolute; inset: 0; border: 2px solid #fff; border-radius: 30px; pointer-events: none; }
.pratinjau-peta img { width: 105.7%; max-width: none; height: 100%; object-fit: cover; object-position: left center; }
.pratinjau-peta:hover { transform: scale(1.005); }
.pratinjau-peta:focus-visible { outline: 3px solid #fff; outline-offset: 4px; }

/* ---------- tim */
.tim {
  list-style: none; margin: 0; padding: 44px 0 0;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; column-gap: 24px;
}
.tim li { display: flex; flex-direction: column; font-size: clamp(16px, 1.74vw, 25px); line-height: 1.5; }
.tim strong { font-weight: 700; margin-top: 26px; }
.tim span:last-child { max-width: 10.7em; text-align: justify; }

/* foto anggota: hasil ekspor Figma (sudah terpotong lingkaran), tampil 98 px */
.foto { width: 98px; height: 98px; flex: none; border-radius: 50%; object-fit: cover; }

/* avatar cadangan (tanpa foto): lingkaran putih 98 px + ikon orang (kepala & badan) dari desain */
.avatar {
  width: 98px; height: 98px; flex: none; position: relative;
  background: url("../img/avatar-lingkaran.svg") center / 98px 98px no-repeat;
}
.avatar::before, .avatar::after { content: ""; position: absolute; background-repeat: no-repeat; background-size: 100% 100%; }
.avatar::before { left: 34.1px; top: 19px; width: 29.8px; height: 33px; background-image: url("../img/avatar-kepala.svg"); }
.avatar::after { left: 19px; top: 54.4px; width: 60px; height: 24.6px; background-image: url("../img/avatar-badan.svg"); }

/* ---------- kontak */
.kontak {
  position: relative; z-index: 1; display: flex; justify-content: center; flex-wrap: wrap; gap: 11px 66px;
  padding: clamp(96px, 13.5vw, 194px) 16px 70px; font-size: clamp(16px, 1.74vw, 25px); color: rgba(255, 255, 255, .8);
}
.kontak-item { display: inline-flex; align-items: center; gap: 11px; }
.kontak-item img { width: 40px; height: auto; }

@media (max-width: 800px) {
  .tim { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 40px; }
  .tim strong { margin-top: 16px; }
  .avatar { transform: scale(.8); transform-origin: left top; margin-bottom: -20px; }
  .foto { width: 78px; height: 78px; }
  .pil { font-size: 16px; min-width: 0; height: 44px; }
  .baca { float: none; display: inline-block; }
}
@media (max-width: 480px) {
  .tim { grid-template-columns: 1fr; }
}
