/* Kontaktní formulář — lightbox modal (náhrada za původní Balbooa Forms lightbox).
   Vizuálně sladěno s webem: font Barlow, zelená #3aaa35, kulaté rohy jako sppb-btn-rounded. */

.nz-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 16px;
  background: rgba(20, 30, 15, 0.72);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  overflow-y: auto;
}
.nz-modal-overlay.is-open { display: flex; }

.nz-modal {
  font-family: 'Barlow', sans-serif;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
  width: 100%;
  max-width: 560px;
  margin: auto 0;
  padding: 38px 42px 34px;
  position: relative;
  animation: nzModalIn 0.25s ease;
}
@keyframes nzModalIn {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}

.nz-modal__close {
  position: absolute;
  top: 14px;
  right: 16px;
  border: 0;
  background: none;
  font-size: 26px;
  line-height: 1;
  color: #9aa39a;
  cursor: pointer;
  padding: 6px;
}
.nz-modal__close:hover { color: #3aaa35; }

.nz-modal__title {
  font-family: 'Barlow', sans-serif;
  font-size: 26px;
  font-weight: 600;
  color: #222;
  margin: 0 0 6px;
}
.nz-modal__intro {
  font-size: 15px;
  color: #666;
  margin: 0 0 22px;
  line-height: 1.5;
}

.nz-form__row { margin-bottom: 14px; }
.nz-form__row--split {
  display: flex;
  gap: 14px;
}
.nz-form__row--split .nz-form__field { flex: 1 1 0; }

.nz-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #444;
  margin-bottom: 4px;
  letter-spacing: 0.02em;
}
.nz-form label .nz-req { color: #3aaa35; }

.nz-form input[type="text"],
.nz-form input[type="email"],
.nz-form input[type="tel"],
.nz-form textarea {
  width: 100%;
  font-family: 'Barlow', sans-serif;
  font-size: 15px;
  color: #222;
  background: #f7f8f7;
  border: 1px solid #dde2dd;
  border-radius: 8px;
  padding: 10px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.nz-form input:focus,
.nz-form textarea:focus {
  border-color: #3aaa35;
  box-shadow: 0 0 0 3px rgba(58, 170, 53, 0.15);
}
.nz-form textarea { min-height: 110px; resize: vertical; }

/* Honeypot — mimo obrazovku, ne display:none (roboti to kontrolují) */
.nz-form__hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}

.nz-form__consent {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  font-size: 13px;
  color: #666;
  margin: 4px 0 18px;
  line-height: 1.45;
}
.nz-form__consent input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: #3aaa35;
  flex: 0 0 auto;
}
.nz-form__consent a { color: #3aaa35; text-decoration: underline; }
.nz-form__consent a:hover { color: #2c8428; }

.nz-form__submit {
  font-family: 'Barlow', sans-serif;
  display: inline-block;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: #3aaa35;
  border: 2px solid #3aaa35;
  border-radius: 2em;
  padding: 11px 38px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}
.nz-form__submit:hover:not(:disabled) {
  background-color: #ffffff;
  color: #3aaa35;
}
.nz-form__submit:disabled { opacity: 0.65; cursor: default; }

.nz-form__status {
  margin: 14px 0 0;
  font-size: 14px;
  line-height: 1.45;
  border-radius: 8px;
  padding: 10px 14px;
}
.nz-form__status--ok  { background: #eaf6e9; color: #2c7a28; }
.nz-form__status--err { background: #fdeaea; color: #b03434; }

.nz-recaptcha-note {
  margin: 12px 0 0;
  font-size: 11px;
  color: #9aa39a;
  line-height: 1.4;
}
.nz-recaptcha-note a { color: #9aa39a; text-decoration: underline; }
/* reCAPTCHA badge schováváme (povoleno Googlem, pokud je zobrazena textová informace) */
.grecaptcha-badge { visibility: hidden; }

@media (max-width: 600px) {
  .nz-modal { padding: 28px 20px 24px; }
  .nz-form__row--split { flex-direction: column; gap: 0; }
  .nz-form__row--split .nz-form__field { margin-bottom: 14px; }
}
