/* NIB (nib.html) — condensed Tahap 04 page. Extends tokens/components from
   assets/site.css. No new colors/fonts/radius are introduced beyond what
   site.css already defines. Deep content lives on belajar-nib.html instead. */

/* ===== Hero title — same serif treatment as other single-hero pages. ===== */
.nib-hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 1.1;
  margin: 0 0 24px;
}

/* ===== Section shell — sections stack vertically, each separated by a
   hairline divider. ===== */
.nib-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 var(--gutter) 8px;
}

.nib-section {
  max-width: 820px;
  padding: 56px 0;
  border-top: 1px solid var(--hairline);
}

.nib-section:first-child {
  border-top: none;
}

/* ===== SEKSI 1 — Pengertian widens to hold the Panduan guide panel
   alongside it, same 2-column ratio as .page-hero (assets/site.css). ===== */
.nib-section.nib-section--pengertian {
  max-width: 1180px;
}

.nib-pengertian-grid {
  display: grid;
  grid-template-columns: 1.15fr .95fr;
  gap: 56px;
  align-items: start;
}

.nib-pengertian-left {
  max-width: 620px;
}

@media (max-width: 960px) {
  .nib-pengertian-grid {
    grid-template-columns: 1fr;
  }

  .nib-pengertian-left {
    max-width: none;
  }
}

.nib-section h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 32px;
  line-height: 1.2;
  margin: 10px 0 24px;
}

.nib-paragraph {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--muted);
  margin: 0 0 22px;
}

/* ===== Callout — the one urgent, time-bound notice kept on this page. ===== */
.nib-callout {
  background: var(--gold-soft);
  border: 1px solid #E3D5B2;
  border-radius: 8px;
  padding: 22px 26px;
  margin: 32px 0 0;
}

.nib-callout-body {
  font-size: 14px;
  line-height: 1.65;
  color: var(--ink);
}

.nib-callout-body p {
  margin: 0 0 12px;
}

.nib-callout-body p:last-child {
  margin-bottom: 0;
}

.nib-callout-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 18px;
  color: var(--navy);
  margin: 0 0 12px;
}

.nib-callout-link {
  display: inline-block;
  margin-top: 16px;
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.nib-callout-link:hover {
  color: var(--navy);
}

/* ===== SEKSI 2 — 4-card key-points grid (2x2) ===== */
.nib-reason-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 0;
}

.nib-reason-card {
  background: var(--cream-2);
  border: 1px solid var(--hairline);
  border-radius: 8px;
  padding: 22px 24px;
  transition: .22s;
}

.nib-reason-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(30, 37, 54, .10);
  border-color: #D9CFB6;
}

.nib-reason-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 10px;
}

.nib-reason-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin: 0 0 8px;
}

.nib-reason-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

/* ===== SEKSI 4 — condensed FAQ (3 questions, same accordion pattern as
   Perizinan Dasar / Belajar NIB). ===== */
.nib-faq {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px var(--gutter);
  border-top: 1px solid var(--hairline);
}

.nib-faq-title {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 28px;
  margin: 10px 0 28px;
}

.nib-faq-list {
  border-top: 1px solid var(--hairline);
}

.nib-faq-item {
  border-bottom: 1px solid var(--hairline);
}

.nib-faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 20px 4px;
  text-align: left;
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--navy);
}

.nib-faq-question-icon {
  flex: 0 0 auto;
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--gold);
  transition: transform 150ms ease;
}

.nib-faq-question[aria-expanded="true"] .nib-faq-question-icon {
  transform: rotate(45deg);
}

.nib-faq-answer {
  overflow: hidden;
  max-height: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

@media (prefers-reduced-motion: no-preference) {
  .nib-faq-answer {
    transition: max-height 250ms ease;
  }
}

.nib-faq-answer-inner {
  padding: 0 4px 20px;
}

/* ===== SEKSI 5 — "Belajar lebih dalam" CTA (navy .final block; adds an
   eyebrow and a second, non-clickable action beside the usual button). ===== */
.nib-final-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.nib-final-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* ===== Guide panel — identical pattern to perizinan-dasar.css's
   .dasar-guide-panel (navy card, gold-light eyebrow, serif title, outline
   badge, divider + footer note), duplicated under a nib- prefix per this
   page's own-CSS-file convention. Unlike the dasar version, the "learn
   more" line here is an active link since belajar-nib.html already
   exists. ===== */
.nib-guide-panel {
  background: var(--navy);
  border-radius: 8px;
  padding: 36px 38px;
}

.nib-guide-eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.nib-guide-panel h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 26px;
  line-height: 1.25;
  color: var(--ivory);
  margin: 0 0 16px;
}

.nib-guide-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(247, 243, 234, 0.72);
  margin: 0 0 28px;
}

.nib-guide-badge {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  border: 1px solid var(--gold-light);
  border-radius: var(--radius);
  padding: 13px 26px;
  cursor: default;
}

.nib-guide-divider {
  border-top: 1px solid rgba(247, 243, 234, 0.15);
  margin: 28px 0 20px;
}

.nib-guide-footer {
  font-size: 13px;
  line-height: 1.6;
  color: rgba(247, 243, 234, 0.6);
  margin: 0 0 14px;
}

.nib-guide-footer em {
  font-style: italic;
  color: var(--gold-light);
}

.nib-guide-learn-link {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: none;
}

.nib-guide-learn-link:hover {
  color: #fff;
}

/* ===== Penutup — stage-to-stage footer nav ===== */
.nib-stage-nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 28px var(--gutter) 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  flex-wrap: wrap;
}

.nib-stage-nav a {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.nib-stage-nav a:hover {
  color: var(--navy);
}

.nib-stage-nav span {
  color: var(--muted);
  font-weight: 600;
  cursor: default;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .nib-reason-grid {
    grid-template-columns: 1fr;
  }
}
