/* ==========================================================================
   Gudeg Ploso — sistem desain landing page
   Palet: hijau (brand) · putih/krem (netral hangat) · kuning light (aksen)
   ========================================================================== */

:root {
  /* Brand */
  --green:      #1E7A4F;
  --green-600:  #186340;
  --green-400:  #35A16C;
  --forest:     #0E3A26;
  --forest-2:   #0A2419;
  --mint:       #DCEDE1;
  --mint-soft:  #EFF7F0;

  /* Aksen */
  --yellow:      #FFD84D;
  --yellow-soft: #FFF6D2;
  --yellow-tint: #FFFBEA;

  /* Netral hangat */
  --cream:  #FCFBF6;
  --white:  #FFFFFF;
  --line:   #E7EBE7;

  /* Ink */
  --ink:    #1A231E;
  --ink-2:  #46514B;
  --ink-3:  #78837D;

  /* Bentuk */
  --r-sm:   14px;
  --r-card: 20px;
  --r-lg:   28px;
  --r-pill: 999px;

  --container: 1180px;
  --gutter: 24px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--yellow); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--green-400);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------- tipografi */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 1.12;
}

h1 { font-size: clamp(34px, 5.4vw, 60px); letter-spacing: -0.03em; }
h2 { font-size: clamp(27px, 3.6vw, 42px); }
h3 { font-size: clamp(19px, 2vw, 23px); line-height: 1.25; }

p { margin: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
}
.eyebrow--onDark { color: var(--yellow); }

.lead {
  font-size: clamp(15.5px, 1.5vw, 17.5px);
  line-height: 1.75;
  color: var(--ink-2);
}
.lead--onDark { color: rgba(255, 255, 255, 0.85); }

.muted { color: var(--ink-2); font-size: 15px; line-height: 1.75; }
.small { font-size: 13.5px; line-height: 1.7; color: var(--ink-2); }

/* Kata yang disorot di dalam heading */
.hl { color: var(--green); }
.hl--yellow { color: var(--yellow); }

/* ------------------------------------------------------------------ layout */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.section { padding: clamp(56px, 8vw, 104px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--white { background: var(--white); }
.section--cream { background: var(--cream); }
.section--mint  { background: var(--mint-soft); }
.section--dark  { background: var(--forest); color: rgba(255, 255, 255, 0.86); }
.section--dark h2, .section--dark h3 { color: #fff; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--sm { gap: 10px; }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 44px);
}
.section-head .stack { max-width: 620px; }
.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.section-head--center .stack { align-items: center; }

/* Garis aksen kuning kecil sebagai penanda judul */
.rule {
  height: 6px;
  width: 56px;
  border-radius: var(--r-pill);
  background: var(--yellow);
  flex: none;
}

/* ----------------------------------------------------------------- tombol */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 26px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color .18s, color .18s, border-color .18s, transform .18s;
  white-space: nowrap;
}
.btn:active { transform: scale(.985); }

.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: var(--green-600); }

.btn--yellow { background: var(--yellow); color: var(--ink); }
.btn--yellow:hover { background: #F5C92F; }

.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--white); }
.btn--ghost:hover { border-color: var(--green-400); color: var(--green); }

.btn--onDark { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--onDark:hover { border-color: #fff; background: rgba(255,255,255,.1); }

.btn--sm { padding: 10px 18px; font-size: 13.5px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--green);
  text-decoration: none;
  width: fit-content;
  transition: gap .18s;
}
.link-arrow:hover { gap: 12px; }

/* ------------------------------------------------------------------- navbar */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(14, 58, 38, .94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.nav__mark {
  width: 40px; height: 40px;
  border-radius: 13px;
  background: var(--yellow);
  color: var(--forest);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700;
  flex: none;
}
.nav__name { display: block; font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; color: #fff; }
.nav__tag  { display: block; font-size: 9.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.6); margin-top: 2px; }

.nav__links { display: flex; align-items: center; gap: 4px; }
.nav__link {
  position: relative;
  padding: 8px 13px;
  border-radius: var(--r-pill);
  font-size: 14.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  transition: background-color .16s, color .16s;
}
.nav__link:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.nav__link.is-active { background: rgba(255, 255, 255, .14); color: var(--yellow); }

.nav__cta { flex: none; }

/* Toggle mobile — murni CSS, tanpa JS */
.nav__toggle { display: none; }
.nav__burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
  flex: none;
}
.nav__burger span {
  display: block;
  width: 17px; height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .2s, opacity .2s;
}

@media (max-width: 900px) {
  .nav__inner { height: 62px; }
  .nav__burger { display: flex; }
  .nav__menu {
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--forest);
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    padding: 10px var(--gutter) 18px;
    display: none;
    flex-direction: column;
    gap: 4px;
  }
  .nav__toggle:checked ~ .nav__menu { display: flex; }
  .nav__toggle:checked ~ .nav__burger span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav__toggle:checked ~ .nav__burger span:nth-child(2) { opacity: 0; }
  .nav__toggle:checked ~ .nav__burger span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__link { padding: 12px 14px; border-radius: var(--r-sm); font-size: 15.5px; }
  .nav__menu .btn { margin-top: 10px; justify-content: center; }
}
@media (min-width: 901px) {
  .nav__menu { display: contents; }
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--forest);
  color: #fff;
  display: flex;
  align-items: center;
  min-height: clamp(520px, 78vh, 700px);
  padding: clamp(56px, 9vw, 96px) 0 clamp(76px, 10vw, 120px);
}
.hero--compact { min-height: clamp(360px, 52vh, 480px); padding-bottom: clamp(56px, 7vw, 88px); }

.hero__media {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(98deg, rgba(6,26,17,.92) 0%, rgba(6,26,17,.74) 46%, rgba(6,26,17,.34) 100%),
    radial-gradient(90% 80% at 92% 6%, rgba(255,216,77,.20) 0%, rgba(255,216,77,0) 58%);
}
.hero__inner { max-width: 660px; }
.hero h1 { color: #fff; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

/* Deretan chip kepercayaan di hero */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; padding: 0; list-style: none; }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.09);
  font-size: 13px; font-weight: 600;
  color: rgba(255,255,255,.92);
}
.chip svg { color: var(--yellow); flex: none; }

/* Kartu ringkas yang menumpuk keluar dari hero */
.overlap { margin-top: clamp(-70px, -6vw, -52px); position: relative; z-index: 5; }

/* --------------------------------------------------------------------- kartu */

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--mint);
  box-shadow: 0 18px 40px -22px rgba(14, 58, 38, .32);
}
.card__media { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; background: var(--mint-soft); }
.card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card__title { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.2; }
.card__text { font-size: 13.5px; line-height: 1.65; color: var(--ink-2); }

/* Kartu ikon/nomor tanpa gambar */
.tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.tile--center { align-items: center; text-align: center; }
.tile__badge {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--mint-soft);
  color: var(--green);
  font-family: var(--font-display);
  font-size: 19px; font-weight: 600;
  flex: none;
}
.tile__badge--yellow { background: var(--yellow-soft); color: #7A5B00; }
/* Badge berisi ikon garis, bukan huruf — sedikit lebih besar agar ikon bernapas */
.tile__badge--icon { width: 60px; height: 60px; background: var(--mint-soft); }
.tile__badge--icon svg { width: 30px; height: 30px; color: var(--green); }
.tile__badge--onDark { background: rgba(255,255,255,.08); border: 1.5px solid rgba(255,216,77,.55); color: var(--yellow); }
.tile--onDark { background: transparent; border-color: rgba(255,255,255,.14); }
.tile--onDark .card__text, .tile--onDark .small { color: rgba(255,255,255,.72); }

/* Kartu kontak mendatar */
.contact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, transform .18s;
}
a.contact-card:hover { border-color: var(--green-400); transform: translateY(-2px); }

/* ------------------------------------------------------------ panel & split */

/* Blok dua kolom teks + gambar */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.split__media {
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--mint-soft);
}
.split__media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }

/* Panel CTA lebar */
.panel {
  border-radius: var(--r-lg);
  padding: clamp(28px, 4.5vw, 52px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.panel--dark { background: var(--forest); color: rgba(255,255,255,.82); }
.panel--dark h2 { color: #fff; }
.panel--yellow { background: var(--yellow-tint); border: 1px solid var(--line); }
.panel--mint { background: var(--mint-soft); }
.panel__text { max-width: 560px; display: flex; flex-direction: column; gap: 10px; }
.panel__actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Panel CTA dengan foto latar */
.panel-photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--r-lg);
  min-height: 300px;
  display: flex;
  align-items: center;
  color: #fff;
  padding: clamp(28px, 5vw, 56px);
}
.panel-photo img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.panel-photo::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(92deg, rgba(6,26,17,.9) 0%, rgba(6,26,17,.66) 52%, rgba(6,26,17,.24) 100%);
}
.panel-photo h2 { color: #fff; }

/* Daftar dengan centang */
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); }
.checklist svg { flex: none; margin-top: 3px; color: #fff; background: var(--green); border-radius: 50%; padding: 4px; width: 20px; height: 20px; }

/* Galeri */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery img { border-radius: var(--r-card); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.gallery--duo { grid-template-columns: repeat(2, 1fr); }

/* Statistik / angka */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat__num { font-family: var(--font-display); font-size: clamp(28px, 4vw, 40px); font-weight: 600; color: var(--yellow); line-height: 1; }

/* Peta */
.map {
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  min-height: 420px;
  background: var(--mint-soft);
}
.map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* -------------------------------------------------------------------- footer */

.footer { background: var(--forest); color: rgba(255,255,255,.78); padding: clamp(48px, 7vw, 72px) 0 26px; }
.footer h4, .footer .footer__brandname { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; }
.footer__brandname { font-family: var(--font-display); font-size: 26px; font-weight: 600; }
.footer__head {
  font-family: var(--font-sans);
  font-size: 11px; font-weight: 800;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 4px;
}
.footer a { color: rgba(255,255,255,.82); text-decoration: none; transition: color .16s; }
.footer a:hover { color: var(--yellow); }
.footer__bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  text-align: center;
}

/* ------------------------------------------------------------------- motion */

/* Tidak ada animasi masuk saat scroll — disengaja.
   Markup halaman ini dirender di sisi klien; animasi masuk apa pun (berbasis JS
   maupun CSS) membuat konten bergantung pada timeline animasi untuk terlihat.
   Kalau timeline itu tidak berjalan, pengunjung melihat halaman kosong. Gerakan
   dibatasi pada hover saja, yang tidak pernah menyembunyikan apa pun.
   `.reveal` sengaja dibiarkan sebagai penanda struktur tanpa efek. */
.reveal { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* --------------------------------------------------------------- responsive */

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

@media (max-width: 860px) {
  :root { --gutter: 20px; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: -1; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .panel { flex-direction: column; align-items: flex-start; }
  .panel__actions { width: 100%; }
  .panel__actions .btn { flex: 1 1 auto; }
}

@media (max-width: 560px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__actions .btn { width: 100%; }
  .overlap { margin-top: -44px; }
}
