/* ══════════════════════════════════════════════════════════
   pages.css — standalone footer pages (Hubungi Kami, Terma &
   Syarat, Notis Privasi). Reuses the didik design tokens from
   desktop.css (--green, --yellow, --orange, …).
   ══════════════════════════════════════════════════════════ */

/* ── Top nav ── */
.pnav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.pnav__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.pnav__logo img { height: 30px; }
.pnav__links { display: flex; gap: 8px; flex-wrap: wrap; }
.pnav__link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 999px;
  transition: background 0.15s, color 0.15s;
}
.pnav__link:hover { background: var(--green-light); color: var(--green-dark); }
.pnav__link.is-active { background: var(--green); color: #fff; }

/* ── Page shell ── */
.page {
  max-width: 1040px;
  margin: 0 auto;
  padding: 28px 20px 56px;
}

/* ── Hero strip ── */
.page-hero {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 100%);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.page-hero__eyebrow {
  display: inline-block;
  background: rgba(255,255,255,0.16);
  color: var(--yellow);
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.page-hero__title { font-size: 30px; font-weight: 800; line-height: 1.15; margin-bottom: 10px; }
.page-hero__title::after {
  content: "";
  display: block;
  width: 54px; height: 4px;
  background: var(--yellow);
  border-radius: 999px;
  margin-top: 12px;
}
.page-hero__sub { font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,0.9); max-width: 520px; }
.page-hero__mascot { width: 150px; flex-shrink: 0; }

/* ── Contact layout ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 22px;
  margin-top: 26px;
}
.contact-info {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.contact-info__heading,
.contact-form-card__heading {
  font-size: 18px;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 20px;
}
.cinfo { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 20px; }
.cinfo:last-child { margin-bottom: 0; }
.cinfo__icon {
  width: 40px; height: 40px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-light);
  border-radius: 12px;
  font-size: 19px;
}
.cinfo__label { font-size: 12px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: .4px; margin-bottom: 3px; }
.cinfo__value { font-size: 14px; color: var(--text); line-height: 1.55; }
a.cinfo__value { color: var(--green); font-weight: 600; }
a.cinfo__value:hover { text-decoration: underline; }

/* ── Contact form ── */
.contact-form-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.field__textarea { resize: vertical; min-height: 120px; line-height: 1.5; }

/* ── Map ── */
.contact-map {
  margin-top: 22px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  line-height: 0;
}
.contact-map iframe { width: 100%; height: 340px; border: 0; display: block; }

/* ── Placeholder pages ── */
.page-body { margin-top: 26px; }
.placeholder-card {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 48px 26px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.placeholder-card__icon { font-size: 40px; margin-bottom: 14px; }
.placeholder-card__text { font-size: 15px; color: var(--text-muted); margin-bottom: 22px; }
.placeholder-card .btn { max-width: 260px; margin: 0 auto; }

/* ── Footer ── */
.pfooter { background: var(--green-dark); color: #fff; margin-top: auto; }
.pfooter__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 40px 20px 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
}
.pfooter__logo { height: 26px; margin-bottom: 14px; filter: brightness(0) invert(1); }
.pfooter__addr { font-size: 12.5px; line-height: 1.7; color: rgba(255,255,255,0.7); }
.pfooter__title { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--yellow); }
.pfooter__item { display: block; font-size: 12.5px; color: rgba(255,255,255,0.75); margin-bottom: 8px; transition: color 0.15s; }
.pfooter__item:hover { color: #fff; }
.pfooter__copy {
  max-width: 1040px;
  margin: 0 auto;
  padding: 16px 20px 28px;
  border-top: 1px solid rgba(255,255,255,0.12);
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
  text-align: center;
}

/* ── Responsive ── */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .pfooter__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .page-hero { flex-direction: column; text-align: center; align-items: center; }
  .page-hero__title::after { margin-left: auto; margin-right: auto; }
  .page-hero__mascot { width: 120px; }
  .pfooter__inner { grid-template-columns: 1fr; }
}

/* ── Legal / prose pages (Terma & Syarat, Notis Privasi) ── */
.legal { max-width: 800px; margin: 0 auto; }
.legal__updated { font-size: 13px; color: var(--text-muted, #6B7280); margin-bottom: 18px; }
.legal__note {
  background: var(--orange-light, #FEF0E7);
  border: 1px solid #F6C9A6;
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--text, #111827);
  margin: 0 0 28px;
}
.legal h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--green, #1B6B4A);
  margin: 28px 0 10px;
  scroll-margin-top: 20px;
}
.legal h3 { font-size: 15px; font-weight: 700; color: var(--text, #111827); margin: 16px 0 6px; }
.legal p { font-size: 14.5px; line-height: 1.75; color: var(--text, #111827); margin-bottom: 12px; }
.legal ul, .legal ol { margin: 0 0 14px 22px; padding: 0; }
.legal li { font-size: 14.5px; line-height: 1.75; color: var(--text, #111827); margin-bottom: 7px; }
.legal a { color: var(--green, #1B6B4A); font-weight: 600; text-decoration: underline; }
.legal__contact {
  margin-top: 30px;
  padding: 18px 20px;
  background: var(--surface, #fff);
  border: 1px solid var(--border, #E2E8E4);
  border-radius: 16px;
  font-size: 14px;
  line-height: 1.7;
}

/* ── Contact form status message ── */
.contact-status { margin: 4px 0 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; }
.contact-status--ok { background: var(--green-light, #E6F4EE); color: var(--green, #1B6B4A); border: 1px solid #BFE3D2; }
.contact-status--error { background: #FEF0E7; color: #B45309; border: 1px solid #F6C9A6; }
