/* ═══════════════════════════════════════════════════════
   Nomade Educatie: Nomade Reiskit (/reiskit)
   Builds on css/home.css (tokens, .nh-btn, .nh-badge, .nh-mark,
   .nh-chip, .nh-reveal), css/werken.css (.wm-section, .wm-kicker,
   .wm-h2, .wm-intro, .wm-dhero__meta, .wm-meet) and css/forms.css.
   Page markup: <main class="nh-home nh-werken nh-reiskit">.

   Visual idea: a packing list. The seven parts of the kit sit in
   one calm grid, each with its own travel icon; the hero shows
   what travels along (books, the digital environment) with a
   luggage tag on top.
   ═══════════════════════════════════════════════════════ */

/* ─── 1. Hero ─── */
.nh-reiskit .rk-hero {
  max-width: 1120px;
  margin: 0 auto;
  padding: calc(var(--header-height, 72px) + 56px) 32px 40px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.nh-reiskit .rk-hero__title {
  font-weight: 700;
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.12;
  margin: 22px 0 0;
  text-wrap: balance;
}

.nh-reiskit .rk-hero__title .nh-mark--hero {
  padding: 2px 8px;
  animation-delay: 0.6s;
}

.nh-reiskit .rk-hero__lead {
  color: var(--home-body);
  font-size: 17px;
  line-height: 1.75;
  max-width: 52ch;
  margin: 20px 0 0;
  text-wrap: pretty;
}

.nh-reiskit .rk-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

/* hero composition: screenshot in a browser frame, two covers, a luggage tag */
.nh-reiskit .rk-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  aspect-ratio: 6 / 5;
  justify-self: end;
}

.nh-reiskit .rk-visual__screen {
  position: absolute;
  top: 2%;
  right: 0;
  width: 82%;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--home-shadow-img);
}

.nh-reiskit .rk-visual__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 12px;
  background: var(--home-soft);
  border-bottom: 1px solid var(--home-border);
}

.nh-reiskit .rk-visual__bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #d9d5cc;
}

.nh-reiskit .rk-visual__screen img {
  display: block;
  width: 100%;
  height: auto;
}

.nh-reiskit .rk-visual__book {
  position: absolute;
  bottom: 2%;
  width: 33%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 16px 32px rgba(29, 29, 31, 0.22);
}

.nh-reiskit .rk-visual__book--back {
  left: 15%;
  bottom: 5%;
  transform: rotate(5deg);
}

.nh-reiskit .rk-visual__book--front {
  left: 2%;
  transform: rotate(-5deg);
}

/* luggage tag: notched left edge, punched hole, a loose string */
.nh-reiskit .rk-tag {
  position: absolute;
  right: 3%;
  bottom: 3%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 16px 24px 16px 40px;
  background: var(--home-marker);
  color: var(--home-ink);
  clip-path: polygon(16px 0, 100% 0, 100% 100%, 16px 100%, 0 50%);
  border-radius: 0 10px 10px 0;
  filter: drop-shadow(0 10px 18px rgba(29, 29, 31, 0.16));
  transform: rotate(-4deg);
}

.nh-reiskit .rk-tag__hole {
  position: absolute;
  left: 18px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -4.5px;
  border-radius: 50%;
  background: #fff;
  box-shadow: inset 0 0 0 1.5px rgba(15, 109, 119, 0.35);
}

.nh-reiskit .rk-tag__kicker {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--home-teal-dark);
}

.nh-reiskit .rk-tag__title {
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
}

.nh-reiskit .rk-tag__text {
  font-size: 13px;
  color: var(--home-body);
}


/* ─── 2. Inhoud: the packing list ─── */
.nh-reiskit .rk-kitbox {
  margin: 36px 0 0;
  border-radius: 24px;
  overflow: hidden;
}

.nh-reiskit .rk-kit {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5px;
  background: var(--home-border);
}

.nh-reiskit .rk-part {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 30px 30px 28px;
  background: var(--home-soft);
}

.nh-reiskit .rk-part__icon {
  display: block;
  margin-bottom: 18px;
  color: var(--home-teal);
  line-height: 0;
}

.nh-reiskit .rk-part__title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

.nh-reiskit .rk-part__name {
  font-weight: 700;
  color: var(--home-ink);
}

.nh-reiskit .rk-part__sub {
  font-weight: 600;
  font-size: 15px;
  color: var(--home-teal-dark);
}

.nh-reiskit .rk-part__text {
  color: var(--home-body);
  font-size: 14.5px;
  line-height: 1.65;
  margin: 12px 0 0;
  max-width: 36ch;
  text-wrap: pretty;
}

/* links sit on the bottom edge of every cell, never wrap */
.nh-reiskit .rk-part__more {
  margin: auto 0 0;
  padding-top: 18px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* part 7, the pitch tool: one dark row closing the kit */
.nh-reiskit .rk-pitch {
  display: grid;
  grid-template-columns: auto minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 16px 28px;
  padding: 30px 32px;
  background: var(--home-dark);
  color: #fff;
}

.nh-reiskit .rk-pitch__icon {
  color: var(--home-dark-accent);
  line-height: 0;
}

.nh-reiskit .rk-pitch__title {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
}

.nh-reiskit .rk-pitch__name {
  font-weight: 700;
  color: #fff;
}

.nh-reiskit .rk-pitch__sub {
  font-weight: 600;
  font-size: 15px;
  color: var(--home-dark-accent);
}

.nh-reiskit .rk-pitch__text {
  margin: 0;
  color: var(--home-dark-text);
  font-size: 15px;
  line-height: 1.65;
  text-wrap: pretty;
}

/* the demo is an add-on, not a part: one quiet line under the kit */
.nh-reiskit .rk-demo {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--home-body);
  font-size: 14.5px;
  line-height: 1.6;
}

.nh-reiskit .rk-demo svg {
  flex: none;
  margin-top: 2px;
  color: var(--home-teal);
}


/* ─── 3. Zo werkt het: three stops on a dotted line ─── */
.nh-reiskit .rk-steps {
  --rk-gap: 48px;
  list-style: none;
  margin: 36px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--rk-gap);
}

.nh-reiskit .rk-step {
  position: relative;
  min-width: 0;
}

.nh-reiskit .rk-step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 9px;
  left: 30px;
  right: calc(var(--rk-gap) * -1 + 12px);
  border-top: 2px dotted var(--home-teal);
  opacity: 0.6;
}

.nh-reiskit .rk-step__dot {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 3px solid var(--home-teal);
  background: #fff;
  box-sizing: border-box;
}

.nh-reiskit .rk-step:last-child .rk-step__dot {
  background: var(--home-teal);
}

.nh-reiskit .rk-step__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  margin: 18px 0 0;
}

.nh-reiskit .rk-step__text {
  color: var(--home-body);
  font-size: 15px;
  line-height: 1.65;
  margin: 8px 0 0;
  max-width: 32ch;
  text-wrap: pretty;
}


/* ─── 4. Aanvragen: intro + form ─── */
.nh-reiskit .rk-order__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.nh-reiskit .rk-order__intro {
  padding-top: 8px;
}

.nh-reiskit .rk-checks {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.nh-reiskit .rk-checks li {
  position: relative;
  padding-left: 30px;
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.5;
}

.nh-reiskit .rk-checks li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 4px;
  width: 7px;
  height: 12px;
  border: solid var(--home-teal);
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.nh-reiskit .rk-order__alt {
  color: var(--home-body);
  font-size: 15px;
  line-height: 1.65;
  margin: 30px 0 0;
}

.nh-reiskit .rk-order__alt a {
  font-weight: 600;
}

.nh-reiskit .rk-order__alt a::after {
  content: " \2192";
}

/* forms.css builds .form-fields as the right half of a split page: here it is a panel */
.nh-reiskit .rk-form {
  flex: none;
  display: block;
  padding: clamp(14px, 2.4vw, 28px);
  border-radius: 28px;
  scroll-margin-top: calc(var(--header-height, 72px) + 16px);
}

.nh-reiskit .rk-form form,
.nh-reiskit .rk-form .form-success {
  max-width: none;
}

.nh-reiskit .rk-form .form-label {
  color: var(--home-teal-dark);
}

.nh-reiskit .rk-form .form-group.has-error .form-label {
  color: #d32f2f;
}

.nh-reiskit .rk-optional {
  font-weight: 400;
  opacity: 0.6;
  font-size: 0.78rem;
}

.nh-reiskit .rk-form .form-pills__label {
  color: var(--home-teal-dark);
  font-size: 0.82rem;
  margin: 6px 0 0.6rem;
}

.nh-reiskit .rk-form .form-pill:focus-visible,
.nh-reiskit .rk-check input:focus-visible {
  outline: 2px solid var(--home-teal-dark);
  outline-offset: 2px;
}

.nh-reiskit .rk-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--home-ink);
  cursor: pointer;
}

.nh-reiskit .rk-check input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--home-teal);
  cursor: pointer;
}

.nh-reiskit .rk-check__help {
  color: var(--home-body);
  font-size: 12.5px;
  line-height: 1.5;
  margin: -6px 0 10px 28px;
}

.nh-reiskit .rk-form .form-success__link span {
  margin-left: 2px;
}


/* ─── 5. Responsive ─── */
@media (max-width: 960px) {
  .nh-reiskit .rk-kit { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* pitch row: icon + title side by side, the copy underneath */
  .nh-reiskit .rk-pitch { grid-template-columns: auto minmax(0, 1fr); }
  .nh-reiskit .rk-pitch__text { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .nh-reiskit .rk-hero {
    grid-template-columns: 1fr;
    padding: calc(var(--header-height, 60px) + 32px) 32px 24px;
  }

  .nh-reiskit .rk-visual {
    justify-self: start;
    max-width: 480px;
  }

  .nh-reiskit .rk-order__grid { grid-template-columns: 1fr; }
}

/* steps turn into a short vertical route */
@media (max-width: 760px) {
  .nh-reiskit .rk-steps {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .nh-reiskit .rk-step {
    padding-left: 40px;
  }

  .nh-reiskit .rk-step__dot {
    position: absolute;
    left: 0;
    top: 1px;
  }

  .nh-reiskit .rk-step:not(:last-child)::after {
    top: 26px;
    bottom: -22px;
    left: 9px;
    right: auto;
    border-top: 0;
    border-left: 2px dotted var(--home-teal);
  }

  .nh-reiskit .rk-step__title { margin-top: 0; }
  .nh-reiskit .rk-step__text { max-width: none; }
}

@media (max-width: 640px) {
  .nh-reiskit .rk-hero {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nh-reiskit .rk-hero__cta {
    flex-direction: column;
    align-items: stretch;
  }

  .nh-reiskit .rk-kit { grid-template-columns: 1fr; }

  .nh-reiskit .rk-part { padding: 24px 22px; }

  .nh-reiskit .rk-pitch { padding: 26px 22px; gap: 14px 16px; }

  .nh-reiskit .rk-pitch__title { font-size: 18px; }

  .nh-reiskit .rk-form { border-radius: 20px; }

  .nh-reiskit .rk-tag {
    padding: 12px 18px 12px 34px;
  }

  .nh-reiskit .rk-tag__title { font-size: 18px; }
  .nh-reiskit .rk-tag__hole { left: 15px; }
}
