/* ============================================================
   OnDestination - Klachtenbeleid pagina stijlen
   Extends home.css / colors_and_type.css
   ============================================================ */

/* ── Hero ───────────────────────────────────────────────── */
.kb-hero {
  position: relative;
  background:
    radial-gradient(860px 520px at 88% 10%, rgba(111,224,0,.10), transparent 54%),
    radial-gradient(520px 380px at 8% 92%, rgba(111,224,0,.06), transparent 50%),
    #000;
  color: #F8F5EE;
  padding: 130px 0 88px;
  overflow: hidden;
}

.kb-hero-inner {
  position: relative;
  z-index: 2;
}

.kb-hero h1 {
  font-size: clamp(42px, 6vw, 82px);
  line-height: .96;
  margin: 0 0 22px;
}

.kb-hero h1 em {
  font-style: normal;
  color: #6FE000;
  text-shadow: 0 0 44px rgba(111,224,0,.36);
}

.kb-hero-lead {
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 300;
  line-height: 1.62;
  color: rgba(248,245,238,.62);
  max-width: 50ch;
  margin: 0 0 36px;
}

.kb-hero-meta {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.kb-hero-meta-item {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(248,245,238,.44);
  letter-spacing: .02em;
}

.kb-hero-meta-item strong {
  color: rgba(248,245,238,.7);
  font-weight: 700;
}

/* ── Document meta strip ────────────────────────────────── */
.kb-strip {
  background: #F3EEE2;
  border-bottom: 1px solid rgba(0,0,0,.09);
  padding: 0;
}

.kb-strip-inner {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
}

.kb-strip-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 0;
  flex: 1;
  min-width: 200px;
  border-right: 1px solid rgba(0,0,0,.08);
  padding-right: 28px;
  margin-right: 28px;
}

.kb-strip-item:last-child {
  border-right: 0;
  padding-right: 0;
  margin-right: 0;
}

.kb-strip-icon {
  width: 36px;
  height: 36px;
  background: rgba(111,224,0,.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3F8A00;
  flex-shrink: 0;
}

.kb-strip-text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #0A0A0A;
  line-height: 1.3;
  margin-bottom: 2px;
}

.kb-strip-text span {
  font-size: 12px;
  color: #6a6a66;
  line-height: 1.4;
}

/* ── Main content ───────────────────────────────────────── */
.kb-main {
  background: #E3E1D8;
  padding: 80px 0 120px;
}

.kb-layout {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 56px;
  align-items: start;
}

/* ── Sticky sidebar TOC ─────────────────────────────────── */
.kb-toc {
  position: sticky;
  top: 92px;
}

.kb-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #8A8A8A;
  margin: 0 0 14px;
}

.kb-toc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.kb-toc-list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 7px 10px 7px 0;
  font-size: 13px;
  font-weight: 600;
  color: #4A4A4A;
  border-left: 2px solid transparent;
  padding-left: 12px;
  transition: color 160ms, border-color 160ms;
  line-height: 1.35;
}

.kb-toc-list a:hover {
  color: #1A3300;
  border-left-color: #6FE000;
}

.kb-toc-list a.is-active {
  color: #1A3300;
  border-left-color: #6FE000;
}

.kb-toc-list a .toc-num {
  font-size: 10px;
  font-weight: 700;
  color: #6FE000;
  flex-shrink: 0;
  min-width: 14px;
}

/* ── Article sections ───────────────────────────────────── */
.kb-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.kb-article {
  background: #fff;
  border: 1px solid rgba(0,0,0,.07);
  border-radius: 20px;
  padding: 36px 40px 32px;
  scroll-margin-top: 88px;
}

.kb-article-header {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(0,0,0,.07);
}

.kb-article-num {
  font-family: 'Kardige', sans-serif;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #6FE000;
  flex-shrink: 0;
}

.kb-article h2 {
  font-family: 'Kardige', sans-serif;
  font-weight: 400;
  font-size: 22px;
  letter-spacing: -.02em;
  color: #0A0A0A;
  margin: 0;
  line-height: 1.15;
}

.kb-article p {
  font-size: 15px;
  line-height: 1.68;
  color: #2A2A2A;
  margin: 0 0 14px;
  max-width: 64ch;
  text-wrap: pretty;
}

.kb-article p:last-child {
  margin-bottom: 0;
}

.kb-article ul,
.kb-article ol {
  margin: 8px 0 16px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 64ch;
}

.kb-article ul li,
.kb-article ol li {
  font-size: 15px;
  line-height: 1.62;
  color: #2A2A2A;
  position: relative;
  padding-left: 16px;
}

.kb-article ul li::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6FE000;
  position: absolute;
  left: 0;
  top: 8px;
}

/* ── Procedure steps ────────────────────────────────────── */
.kb-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 6px 0 4px;
}

.kb-step {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 16px;
  position: relative;
  padding-bottom: 28px;
}

.kb-step:last-child {
  padding-bottom: 0;
}

.kb-step-line {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.kb-step-dot {
  width: 40px;
  height: 40px;
  background: #6FE000;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Kardige', sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #000;
  flex-shrink: 0;
  letter-spacing: .02em;
}

.kb-step-connector {
  width: 1.5px;
  flex: 1;
  background: rgba(111,224,0,.25);
  margin-top: 6px;
}

.kb-step:last-child .kb-step-connector {
  display: none;
}

.kb-step-body {
  padding-top: 8px;
}

.kb-step-body strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 5px;
  line-height: 1.3;
}

.kb-step-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  background: rgba(111,224,0,.12);
  color: #1A3300;
  border-radius: 999px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.kb-step-body p {
  font-size: 14.5px;
  line-height: 1.65;
  color: #4A4A4A;
  margin: 0;
  max-width: 54ch;
}

/* ── Contact channels ────────────────────────────────────── */
.kb-channels {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 6px;
}

.kb-channel {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #F8F5EE;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 14px 18px;
}

.kb-channel-icon {
  width: 36px;
  height: 36px;
  background: rgba(111,224,0,.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3F8A00;
  flex-shrink: 0;
}

.kb-channel-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #8A8A8A;
  display: block;
  line-height: 1;
  margin-bottom: 3px;
}

.kb-channel-value {
  font-size: 15px;
  font-weight: 600;
  color: #0A0A0A;
  line-height: 1;
}

.kb-channel-note {
  font-size: 12px;
  color: #8A8A8A;
  margin-left: auto;
  white-space: nowrap;
  font-style: italic;
}

/* ── Info box ─────────────────────────────────────────────── */
.kb-infobox {
  background: #F8F5EE;
  border-left: 3px solid #6FE000;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 16px 0 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #2A2A2A;
  max-width: 64ch;
}

.kb-infobox strong {
  color: #1A3300;
}

/* ── Escalatie opties ────────────────────────────────────── */
.kb-escalation-items {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 14px 0 6px;
  max-width: 64ch;
}

.kb-esc-item {
  display: flex;
  align-items: baseline;
  gap: 14px;
  background: #F8F5EE;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  padding: 14px 18px;
}

.kb-esc-item-num {
  font-family: 'Kardige', sans-serif;
  font-size: 13px;
  color: #6FE000;
  flex-shrink: 0;
  min-width: 20px;
}

.kb-esc-item-body strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0A0A0A;
  margin-bottom: 2px;
}

.kb-esc-item-body span {
  font-size: 13.5px;
  color: #6a6a66;
  line-height: 1.5;
}

/* ── Contact CTA band ───────────────────────────────────── */
.kb-cta {
  background: #000;
  color: #F8F5EE;
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.kb-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 56% at 50% 50%, rgba(111,224,0,.09), transparent 66%);
  pointer-events: none;
}

.kb-cta-inner {
  position: relative;
  z-index: 2;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 32px;
}

.kb-cta h2 {
  font-family: 'Kardige', sans-serif;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.025em;
  margin: 0 0 20px;
}

.kb-cta h2 em {
  font-style: normal;
  color: #6FE000;
}

.kb-cta p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: rgba(248,245,238,.58);
  max-width: 40ch;
  margin: 0 auto 36px;
}

.kb-cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .kb-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .kb-toc {
    position: static;
    display: none;
  }
}

@media (max-width: 720px) {
  .kb-hero { padding: 100px 0 64px; }
  .kb-hero-meta { gap: 16px; }
  .kb-main { padding: 48px 0 80px; }
  .kb-layout { padding: 0 20px; gap: 12px; }
  .kb-article { padding: 24px 22px 22px; }
  .kb-strip { padding-bottom: 20px; }
  .kb-strip-item {
    padding-right: 0;
    margin-right: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(0,0,0,.07);
    padding-bottom: 16px;
    margin-bottom: 16px;
    min-width: 100%;
  }
  .kb-strip-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
    margin-bottom: 0;
  }
  .kb-channels { gap: 8px; }
  .kb-channel-note { display: none; }
}
