/* ===================================================
   Nieuwsbrief sectie — Verdiax
   Stijl: organic editorial / nature dark
   =================================================== */

/* ── Sectie ──────────────────────────────────────── */
.nw-section {
  position: relative;
  overflow: hidden;
  background: #0f2419;
  padding: clamp(56px, 8vw, 96px) 0;
}

/* Decoratieve ring rechtsachter */
.nw-ring {
  position: absolute;
  top: -120px;
  right: -120px;
  width: clamp(320px, 45vw, 560px);
  height: clamp(320px, 45vw, 560px);
  border-radius: 50%;
  border: 1.5px solid rgba(143, 209, 158, 0.12);
  pointer-events: none;
}
.nw-ring::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(143, 209, 158, 0.07);
}

/* Decoratieve stippelraster linksonder */
.nw-dots {
  position: absolute;
  bottom: 24px;
  left: 24px;
  width: 120px;
  height: 80px;
  background-image: radial-gradient(circle, rgba(143,209,158,0.2) 1px, transparent 1px);
  background-size: 14px 14px;
  pointer-events: none;
}

/* ── Grid split ──────────────────────────────────── */
.nw-inner {
  position: relative;
  z-index: 1;
}

.nw-split {
  display: grid;
  grid-template-columns: 1fr min(420px, 42%);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ── Linkerkolom: tekst ───────────────────────────── */
.nw-left {
  color: #e8f3ea;
}

.nw-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #8fd19e;
  margin-bottom: 20px;
}

.nw-heading {
  /* Override h2 default from main.css */
  font-size: clamp(32px, 5vw, 54px) !important;
  font-family: Georgia, 'Times New Roman', serif !important;
  font-weight: normal !important;
  line-height: 1.15 !important;
  letter-spacing: -0.5px !important;
  color: #ffffff;
  margin: 0 0 20px !important;
}

.nw-heading em {
  font-style: italic;
  color: #8fd19e;
}

.nw-subtext {
  font-size: clamp(14px, 1.4vw, 16px);
  color: rgba(232, 243, 234, 0.65);
  line-height: 1.7;
  margin: 0 0 28px;
  max-width: 440px;
}

/* Chips */
.nw-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.nw-chip {
  display: inline-block;
  padding: 5px 14px;
  border: 1px solid rgba(143, 209, 158, 0.3);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #8fd19e;
  letter-spacing: 0.3px;
  background: rgba(143, 209, 158, 0.07);
}

.nw-tagline {
  font-size: 12px;
  color: rgba(232, 243, 234, 0.4);
  letter-spacing: 0.5px;
  margin: 0;
}

/* ── Rechterkolom: kaart ─────────────────────────── */
.nw-right {
  /* kaart is zelf-positionerend */
}

.nw-card {
  background: #ffffff;
  border-radius: 20px;
  padding: clamp(28px, 4vw, 44px) clamp(24px, 3.5vw, 40px);
  box-shadow:
    0 2px 4px rgba(0,0,0,.08),
    0 12px 32px rgba(0,0,0,.18),
    0 32px 64px rgba(0,0,0,.2);
}

.nw-card-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #2d5016;
  margin: 0 0 20px;
}

/* ── Formulier ───────────────────────────────────── */
.nw-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.nw-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.nw-label {
  font-size: 13px;
  font-weight: 600;
  color: #263a2c;
  display: block;
}

.nw-input {
  width: 100%;
  /* Respect site's 44px min-height for touch targets */
  min-height: 48px;
  padding: 12px 16px;
  border: 1.5px solid #d4e4d8;
  border-radius: 10px;
  background: #f8fbf8;
  color: #1a3a24;
  font-size: 15px;
  font-family: 'Montserrat', sans-serif;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
  box-sizing: border-box;
  -webkit-appearance: none;
}

.nw-input::placeholder {
  color: #b0c4b4;
}

.nw-input:focus {
  outline: none;
  border-color: #2d5016;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.12);
}

/* Consent */
.nw-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  /* Geen min-height override — label is geen interactief element op zichzelf */
}

.nw-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
  accent-color: #2d5016;
  cursor: pointer;
  flex-shrink: 0;
}

.nw-consent span {
  font-size: 12px;
  color: #5a7a60;
  line-height: 1.65;
  min-height: unset; /* geen min-height op spans */
}

.nw-consent span a {
  color: #2d5016;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Submit */
.nw-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 50px;
  padding: 14px 24px;
  background: linear-gradient(135deg, #2d5016 0%, #3a6520 100%);
  color: #ffffff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: 0.2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.12s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(45, 80, 22, 0.3);
}

.nw-submit:hover {
  background: linear-gradient(135deg, #3a6520 0%, #4a7a28 100%);
  box-shadow: 0 6px 20px rgba(45, 80, 22, 0.4);
}

.nw-submit:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(45, 80, 22, 0.25);
}

.nw-submit svg {
  flex-shrink: 0;
  transition: transform 0.18s;
}

.nw-submit:hover svg {
  transform: translateX(3px);
}

/* ── Succes state ─────────────────────────────────── */
.nw-success {
  text-align: center;
  padding: 12px 0;
}

.nw-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #e8f5e9;
  color: #2d5016;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.nw-success-title {
  font-size: 20px !important;
  color: #1a3a24 !important;
  font-family: Georgia, serif !important;
  font-weight: normal !important;
  margin: 0 0 10px !important;
}

.nw-success-text {
  font-size: 14px;
  color: #5a7a60;
  line-height: 1.6;
  margin: 0;
}

/* ── Error bericht ───────────────────────────────── */
.nw-error-msg {
  background: #fdecea;
  border: 1px solid #f5c6cb;
  color: #922b21;
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}

/* ── Footer mini-formulier (andere pagina's) ─────── */
.nw-footer-block {
  text-align: center;
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 860px) {
  .nw-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .nw-heading {
    font-size: clamp(28px, 7vw, 40px) !important;
  }

  .nw-subtext {
    max-width: 100%;
    font-size: 15px;
  }

  .nw-ring {
    top: -80px;
    right: -80px;
    width: 240px;
    height: 240px;
  }

  /* Kaart niet breder dan het scherm */
  .nw-card {
    max-width: 520px;
  }
}

@media (max-width: 480px) {
  .nw-section {
    padding: 48px 0;
  }

  .nw-card {
    padding: 24px 18px;
    border-radius: 16px;
    max-width: 100%;
  }

  .nw-heading {
    font-size: clamp(24px, 8vw, 32px) !important;
  }

  .nw-dots {
    display: none;
  }

  .nw-chips {
    gap: 6px;
  }

  .nw-chip {
    font-size: 11px;
    padding: 4px 10px;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  .nw-submit:hover svg {
    transform: none;
  }
}
