/* ===========================================================
   Package diagrams: the "Your package" card with its add-ons wired to it
   (contact page CTA, and the hero of the package pages).
   Everything inside a .pkg-d stage is placed in the Figma frame's own
   px (style="--x:…;--y:…" on each item, the stage's frame in --bx/--by/
   --bw/--bh) and scaled with the stage's width, so it keeps the exact
   composition at any size. The lines are one SVG with the same viewBox.
   package-diagram.js plays the entrance.
   =========================================================== */
.pkg-d {
  --u: calc(100cqw / var(--bw));
  position: relative;
  width: 100%;
  aspect-ratio: var(--bw) / var(--bh);
  container-type: inline-size;
}
.pkg-d__layer {
  position: absolute;
  inset: 0;
  --u: calc(100cqw / var(--bw));
}
.pkg-d__item {
  position: absolute;
  left: calc((var(--x) - var(--bx)) * var(--u));
  top: calc((var(--y) - var(--by)) * var(--u));
}
.pkg-d__lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.pkg-d__line {
  fill: none;
  stroke: #8a8b91;
  stroke-width: 1;
  stroke-dasharray: 3 3;
  vector-effect: non-scaling-stroke;
}
.pkg-d__line-mask {
  fill: none;
  stroke: #fff;
  stroke-width: 8;
}
.pkg-d__tag {
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: calc(5 * var(--u)) calc(9 * var(--u));
  border: 1px solid var(--eod-icon-border);
  border-radius: calc(5 * var(--u));
  background: var(--pkg-tag-bg, transparent);
  color: #000;
  /* Caption */
  font-size: max(9px, calc(12 * var(--u)));
  line-height: var(--eod-lh-c);
  letter-spacing: var(--eod-ls-c);
  white-space: nowrap;
}
.pkg-d__tag--far {
  z-index: 0;
  filter: blur(2px);
  opacity: 0.5;
}
.pkg-d__tag--far > span {
  display: block;
  animation: pkg-d-drift 6s ease-in-out infinite alternate;
}
.pkg-d__tag--far:nth-of-type(2n) > span {
  animation-duration: 7.5s;
  animation-direction: alternate-reverse;
}
@keyframes pkg-d-drift {
  from { transform: translate(0, 0); }
  to { transform: translate(calc(6 * var(--u)), calc(-8 * var(--u))); }
}
.pkg-d__joint {
  z-index: 3;
  width: calc(6 * var(--u));
  height: calc(6 * var(--u));
  margin: calc(-3 * var(--u)) 0 0 calc(-3 * var(--u));
  background: #000;
}
.pkg-d__card {
  z-index: 1;
  width: calc(var(--w) * var(--u));
  height: calc(var(--h) * var(--u));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(24 * var(--u));
  border-radius: var(--eod-radius-m); /* Radius m, 20px */
  background: #fff;
  color: #000;
  overflow: hidden;
}
.pkg-d__card-title {
  margin: 0;
  font-weight: 400;
  font-size: calc(var(--fs, 56) * var(--u));
  line-height: 1.05;
  letter-spacing: -0.04em;
  white-space: nowrap;
}
.pkg-d__card-text {
  margin: calc(12 * var(--u)) 0 0;
  max-width: calc(300 * var(--u));
  font-size: calc(20 * var(--u));
  line-height: var(--eod-lh-p1);
  letter-spacing: var(--eod-ls-p1);
}
.pkg-d__card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1em;
}
.pkg-d__from {
  font-size: max(9px, calc(12 * var(--u)));
  line-height: var(--eod-lh-c);
  letter-spacing: var(--eod-ls-c);
}
.pkg-d__price {
  font-size: calc(32 * var(--u));
  line-height: 1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.pkg-d__price--blur {
  filter: blur(calc(4 * var(--u)));
  user-select: none;
}

/* ===========================================================
   Contact page: "Weet je al wat je wilt" — blue block, grey card
   =========================================================== */
.pkg-cta {
  background: var(--eod-accent);
  padding-top: 7.5em;
  padding-bottom: 7.5em;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* a low, wide card: the text on the left, the two buttons on the right */
.pkg-cta__card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5em 3em;
  width: 100%;
  max-width: var(--eod-content-max);
  margin: 0 auto;
  padding: 5.5em 1.875em;
  border-radius: var(--eod-radius-m);
  background: var(--eod-bg-secondary);
  color: var(--eod-ink);
}
.pkg-cta__text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1em;
  min-width: 0;
}
.pkg-cta__title {
  margin: 0;
  font-weight: 400;
  /* Header 2 */
  font-size: var(--eod-fs-h2);
  line-height: var(--eod-lh-h2);
  letter-spacing: var(--eod-ls-h2);
}
.pkg-cta__title span {
  display: block;
}
.pkg-cta__body {
  margin: 0;
  max-width: 26em;
  /* Paragraph 2, secondary */
  font-size: var(--eod-fs-p2);
  line-height: var(--eod-lh-p2);
  letter-spacing: var(--eod-ls-p2);
  color: var(--eod-text-secondary);
}
.pkg-cta__small {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  margin-top: 0.25em;
  /* Paragraph 2 */
  font-size: var(--eod-fs-p2);
  line-height: var(--eod-lh-p2);
  letter-spacing: var(--eod-ls-p2);
  color: var(--eod-ink);
  text-decoration: none;
}
.pkg-cta__small-arrow {
  display: inline-block;
  color: var(--eod-text-secondary);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), color 0.3s ease;
}
.pkg-cta__small:hover .pkg-cta__small-arrow,
.pkg-cta__small:focus-visible .pkg-cta__small-arrow {
  color: var(--eod-ink);
  transform: translateX(0.3em);
}
.pkg-cta__links {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.25em;
}

/* Outlined pill link (Figma "button-bubble") with the site's button motion
   (shared.css .eod-btn--secondary): label + arrows are one track in a
   clipping window; on hover the track slides right, so a leading arrow
   comes in from the left while the trailing arrow slides out. */
.pkg-link {
  display: inline-flex;
  align-items: center;
  height: 4.5rem; /* 72px */
  padding: 0 1.375rem;
  border: 1px solid var(--eod-icon-border);
  border-radius: var(--eod-radius-m);
  color: #000;
  text-decoration: none;
  /* Header 4 */
  font-size: var(--eod-fs-h4);
  line-height: var(--eod-lh-h4);
  letter-spacing: var(--eod-ls-h4);
  transition: border-color 0.3s ease;
}
.pkg-link__viewport {
  display: inline-block;
  overflow: hidden;
}
.pkg-link__track {
  position: relative;
  display: inline-flex;
  align-items: center;
  /* same duration + easing as every other button on the site */
  transition: transform 0.45s cubic-bezier(0.65, 0, 0.35, 1);
}
.pkg-link__label {
  white-space: nowrap;
}
.pkg-link__arrow {
  flex: none;
  display: inline-flex;
  width: 1.1em;
  height: 1.1em;
}
.pkg-link__arrow svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
}
.pkg-link__arrow--lead {
  position: absolute;
  right: 100%;
  margin-right: 0.45em;
}
.pkg-link__arrow--trail {
  margin-left: 0.45em;
}
.pkg-link:hover,
.pkg-link:focus-visible {
  border-color: #000;
}
.pkg-link:hover .pkg-link__track,
.pkg-link:focus-visible .pkg-link__track {
  transform: translateX(calc(1.1em + 0.45em));
}
.pkg-link:focus-visible {
  outline: 2px solid var(--eod-accent);
  outline-offset: 3px;
}

@media (max-width: 1023px) {
  .pkg-cta__card {
    flex-direction: column;
    align-items: flex-start;
    padding: 3.5em 1.5em;
  }
  .pkg-cta__links {
    align-items: flex-start;
  }
}
@media (max-width: 767px) {
  .pkg-cta {
    padding-top: 5em;
    padding-bottom: 5em;
  }
  .pkg-cta__card {
    padding: 2.5em 1.25em;
  }
  .pkg-link {
    height: 3.75rem;
    padding: 0 1.125rem;
  }
}
