/* ---------- tło sekcji ---------- */
.nl-bg {
  background: var(--ocean-dark);
}

/* ---------- karta ---------- */
.nl-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius-lg);
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

/* ---------- dekoracje ---------- */
.nl-deco {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.nl-deco-1 { width: 360px; height: 360px; top: -120px; left: -100px; background: rgba(255,255,255,0.03); }
.nl-deco-2 { width: 220px; height: 220px; bottom: -70px; right: -50px; background: rgba(255,255,255,0.03); }
.nl-deco-3 { width: 120px; height: 120px; top: 20px; right: 140px; background: rgba(244,166,35,0.07); }

/* ---------- etykieta ---------- */
.nl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sun);
  margin-bottom: 14px;
}
.nl-eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sun);
  flex-shrink: 0;
  animation: nlBlink 2s ease-in-out infinite;
}
@keyframes nlBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.25; }
}

/* ---------- tytuł / podtytuł ---------- */
.nl-title {
  font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin: 0 0 14px;
}
.nl-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  margin: 0 0 28px;
}

/* ---------- korzyści ---------- */
.nl-perks {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nl-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.75);
}
.nl-perk-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

/* ---------- prawa kolumna ---------- */
.nl-right {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  position: relative;
  z-index: 1;
}

.nl-form-title {
  font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, sans-serif;
  font-size: 18px;
  color: var(--dark);
  margin: 0 0 20px;
  line-height: 1.3;
}

/* ---------- form row ---------- */
.nl-form-row {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.nl-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--dark);
  background: var(--sand);
  outline: none;
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}
.nl-input::placeholder { color: var(--light-text); }
.nl-input:focus {
  border-color: var(--ocean);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,110,138,0.10);
}
.nl-input.nl-error { border-color: var(--coral); }

/* ---------- checkbox RODO ---------- */
.nl-checkbox-wrap {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nl-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  line-height: 1;
}

/* ukryj natywny checkbox */
.nl-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

/* własny checkbox box */
.nl-checkbox-box {
  width: 18px;
  height: 18px;
  min-width: 18px;
  border-radius: 4px;
  border: 1.5px solid var(--border);
  background: var(--sand);
  margin-top: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  position: relative;
}

/* haczyk */
.nl-checkbox-box::after {
  content: '';
  display: block;
  width: 5px; height: 9px;
  border: 2px solid transparent;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translate(-1px, -1px);
  transition: border-color 0.2s ease;
}

/* zaznaczony stan */
.nl-checkbox-label input[type="checkbox"]:checked + .nl-checkbox-box {
  background: var(--ocean);
  border-color: var(--ocean);
}
.nl-checkbox-label input[type="checkbox"]:checked + .nl-checkbox-box::after {
  border-color: var(--white);
}

/* focus ring dostępność */
.nl-checkbox-label input[type="checkbox"]:focus-visible + .nl-checkbox-box {
  box-shadow: 0 0 0 3px rgba(10,110,138,0.20);
}

/* błąd checkboxa */
.nl-checkbox-label.nl-error .nl-checkbox-box {
  border-color: var(--coral);
  background: rgba(232,83,58,0.05);
}

.nl-checkbox-text {
  font-size: 12.5px;
  color: var(--mid);
  line-height: 1.55;
}
.nl-checkbox-text strong { color: var(--dark); }
.nl-checkbox-text a { color: var(--ocean); text-decoration: underline; }
.nl-checkbox-text a:hover { color: var(--ocean-dark); }

.nl-req { color: var(--coral); font-weight: 600; }

/* ---------- błędy ---------- */
.nl-error-msg {
  font-size: 12px;
  color: var(--coral);
  min-height: 15px;
  line-height: 1.4;
  display: block;
}

/* ---------- przycisk ---------- */
.nl-btn {
  width: 100%;
  justify-content: center;
  font-size: 16px;
  padding: 16px 24px;
}

/* ---------- drobny tekst pod formularzem ---------- */
.nl-fine-print {
  font-size: 11px;
  color: var(--light-text);
  line-height: 1.55;
  margin: 0;
  text-align: center;
}

/* ---------- ekran sukcesu ---------- */
.nl-success {
  display: none;
  text-align: center;
  padding: 12px 0;
}
.nl-success-icon { display: block; font-size: 48px; margin-bottom: 14px; }
.nl-success-title {
  font-family: "Trebuchet MS", Trebuchet, Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: var(--dark);
  margin: 0 0 8px;
}
.nl-success-sub { font-size: 14px; color: var(--mid); line-height: 1.65; }

/* ---------- helper dostępność ---------- */
.nl-sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* ---------- responsywność ---------- */
@media (max-width: 900px) {
  .nl-card { grid-template-columns: 1fr; gap: 32px; padding: 44px 32px; }
  .nl-perks { flex-direction: row; flex-wrap: wrap; gap: 12px 20px; }
}
@media (max-width: 540px) {
  .nl-card { padding: 36px 20px; border-radius: var(--radius); }
  .nl-right { padding: 28px 20px; }
  .nl-deco-1, .nl-deco-2, .nl-deco-3 { display: none; }
}