/* Pop-up "Download gratis de brochure" (brochure-popup.njk / .js) */
.sc-bp {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #ffffff;
  color: #1b2246;
  box-shadow: 0 30px 80px rgba(11, 15, 35, 0.45);
  overflow: auto;
}

.sc-bp::backdrop {
  background: rgba(17, 22, 48, 0.68);
}

.sc-bp[open] {
  animation: sc-bp-in 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sc-bp-in {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
}

html.sc-bp-open {
  overflow: hidden;
}

.sc-bp-kaart {
  position: relative;
  padding: clamp(26px, 4vw, 40px);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
}

.sc-bp-kaart::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, #56cfbd, #0d7f70);
}

.sc-bp h2 {
  margin: 0 40px 0 0;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.sc-bp h2 em {
  color: #0d7f70;
  font-style: normal;
}

.sc-bp-intro {
  margin: 12px 0 20px;
  color: #5c6b7d;
  font-size: 1rem;
  line-height: 1.6;
}

.sc-bp-sluit {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: #f1f4f8;
  color: #1b2246;
  cursor: pointer;
  transition: background 160ms ease;
}

.sc-bp-sluit:hover,
.sc-bp-sluit:focus-visible {
  background: #e3f6f1;
}

.sc-bp-sluit svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
}

.sc-bp-formulier {
  min-height: 200px;
}

.sc-bp-laden {
  margin: 0;
  color: #5c6b7d;
  font-weight: 600;
}

.sc-bp-formulier.is-geladen .sc-bp-laden {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .sc-bp[open] {
    animation: none;
  }
}
