:root {
  --ink: #17212f;
  --muted: #5d6978;
  --line: #dfe5ec;
  --paper: #ffffff;
  --soft: #f5f7f9;
  --blue: #15559c;
  --blue-dark: #0d3768;
  --gold: #c99a35;
  --green: #2e6f63;
  --shadow: 0 18px 50px rgba(19, 38, 62, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, system-ui, sans-serif;
  line-height: 1.7;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.brand img {
  width: 205px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.4vw, 30px);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  text-decoration: none;
  color: #2b3543;
}

.site-nav a:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--ink);
}

.hero {
  min-height: calc(100vh - 77px);
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.75fr);
  align-items: end;
  gap: 40px;
  padding: clamp(92px, 11vw, 150px) clamp(20px, 5vw, 72px) 44px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(11, 26, 45, 0.9), rgba(11, 26, 45, 0.58) 54%, rgba(11, 26, 45, 0.36)),
    var(--hero-bg, url("assets/Kegiatan3.jpg")) center 42% / cover;
}

.hero-copy {
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 820px;
  font-size: clamp(38px, 5.7vw, 76px);
  line-height: 1.08;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.2;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.lead {
  max-width: 760px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(17px, 1.6vw, 21px);
}

.hero-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: 6px;
  font-weight: 800;
  text-decoration: none;
}

.button.primary {
  color: #fff;
  background: var(--blue);
}

.button.primary:hover {
  background: var(--blue-dark);
}

.button.secondary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-panel {
  display: grid;
  gap: 12px;
  padding: 22px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hero-panel div {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.hero-panel div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.hero-panel strong,
.hero-panel span {
  display: block;
}

.hero-panel strong {
  color: var(--blue);
  font-size: 18px;
}

.hero-panel span {
  color: var(--muted);
  font-size: 14px;
}

.section {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 112px) clamp(20px, 4vw, 40px);
}

.intro {
  display: grid;
  grid-template-columns: 0.82fr 1fr 1fr;
  gap: 28px;
  background: var(--paper);
}

.section-heading {
  max-width: 760px;
}

.intro p,
.split p,
.reason p,
.timeline p,
.cta p {
  color: var(--muted);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.reason-grid article {
  min-height: 260px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 35, 59, 0.06);
}

.reason-grid span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-weight: 900;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 30px;
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.photo-block {
  margin: 0;
}

.photo-block img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.photo-block figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 14px;
}

.process {
  max-width: none;
  background: #102134;
  color: #fff;
}

.process .section-heading,
.process .timeline {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 0;
  margin-top: 34px;
  list-style: none;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.timeline li {
  min-height: 220px;
  padding: 26px;
  background: #102134;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  color: #fff;
  font-size: 20px;
}

.timeline p {
  color: rgba(255, 255, 255, 0.75);
}

.gallery {
  display: grid;
  grid-template-columns: 1fr 1fr 0.82fr;
  gap: 18px;
  margin-top: 30px;
}

.gallery-card {
  overflow: hidden;
  min-height: 300px;
  padding: 0;
  text-align: left;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(15, 35, 59, 0.06);
}

button.gallery-card {
  cursor: pointer;
}

.gallery-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.gallery-card span {
  display: block;
  padding: 18px 18px 6px;
  font-weight: 800;
}

.gallery-card small {
  display: block;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 13px;
}

.info-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px;
  background: #eef5f3;
}

.info-card strong {
  margin-bottom: 12px;
  color: var(--green);
  font-size: 22px;
}

.info-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: clamp(54px, 7vw, 84px) clamp(20px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(90deg, #15559c, #2e6f63);
}

.cta div {
  max-width: 780px;
}

.cta p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.86);
}

.cta .button.primary {
  flex: 0 0 auto;
  background: #fff;
  color: var(--blue-dark);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 72px);
  background: #fff;
  border-top: 1px solid var(--line);
}

.site-footer img {
  width: 180px;
}

.site-footer p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal {
  width: min(920px, calc(100vw - 28px));
  padding: 18px;
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.modal::backdrop {
  background: rgba(8, 17, 29, 0.78);
}

.modal-close {
  position: absolute;
  top: 8px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 0, 0, 0.58);
  font-size: 28px;
  cursor: pointer;
}

.modal-image {
  width: 100%;
  max-height: 68vh;
  object-fit: contain;
  background: #111;
  border-radius: 6px;
}

.modal-caption {
  margin: 12px 0;
  color: var(--muted);
  font-weight: 700;
}

.modal-actions button {
  min-height: 40px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
}

@media (max-width: 980px) {
  .hero,
  .intro,
  .split,
  .gallery,
  .timeline,
  .reason-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .reason-grid article,
  .timeline li {
    min-height: auto;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 20px 18px;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .brand img {
    width: 175px;
  }

  .hero {
    padding-top: 80px;
    background-position: center top;
  }

  .hero-panel {
    padding: 18px;
  }

  .button {
    width: 100%;
  }

  .gallery-card {
    min-height: 0;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
