/* =============================================================================
   KONTAKT.CSS — strona /kontakt/ + formularz
   Breakpoint: 560px = ciaśniejszy padding
   ============================================================================= */

.ngh-contact {
  --ngh-bg: #0a0a0f;
  --ngh-card: rgba(18, 18, 26, 0.85);
  --ngh-border: rgba(255, 255, 255, 0.08);
  --ngh-text: #ffffff;
  --ngh-muted: #a1a1b5;
  --ngh-blue: #5b8cff;
  font-family: 'Lato', 'Segoe UI', Tahoma, Arial, sans-serif;
  color: var(--ngh-text);
  background: var(--ngh-bg);
  position: relative;
  overflow-x: hidden;
  min-height: 100vh;
  padding: 100px 24px 80px;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
}
.ngh-contact *,
.ngh-contact *::before,
.ngh-contact *::after { box-sizing: border-box; }
.ngh-contact a { text-decoration: none; color: inherit; }

/* Brand → home (fixed chip) */
.ngh-contact__brand {
  position: fixed !important;
  top: 16px !important;
  left: 16px !important;
  z-index: 99999 !important;
  display: inline-block;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(10, 10, 15, 0.72);
  color: #fff !important;
  font-family: 'Lato', 'Segoe UI', Tahoma, Arial, sans-serif !important;
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.ngh-contact__brand:hover {
  color: #9fd0ff !important;
  background: rgba(10, 10, 15, 0.88);
}

/* Dekoracyjne poświaty */
.ngh-contact__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.ngh-contact__glow--1 {
  width: 480px;
  height: 480px;
  top: 40px;
  left: -80px;
  background: radial-gradient(circle, rgba(42, 92, 168, 0.45) 0%, transparent 70%);
}
.ngh-contact__glow--2 {
  width: 420px;
  height: 420px;
  top: 120px;
  right: -60px;
  background: radial-gradient(circle, rgba(30, 63, 115, 0.5) 0%, transparent 70%);
}

.ngh-contact__inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.ngh-contact__kicker {
  margin: 0 0 14px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8ec5ff;
}
.ngh-contact__title {
  margin: 0 0 16px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(90deg, #9fd0ff 0%, #6ea8ff 45%, #3d7adf 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.ngh-contact__lead {
  margin: 0 auto 32px;
  max-width: 520px;
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.78);
}

/* Formularz */
.ngh-contact__form {
  text-align: left;
  background: var(--ngh-card);
  border: 1px solid var(--ngh-border);
  border-radius: 20px;
  padding: 28px 24px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
/* Honeypot antyspam — ukryte pole */
.ngh-contact__hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.ngh-contact__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ngh-muted);
}
.ngh-contact__field input,
.ngh-contact__field textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
}
.ngh-contact__field input::placeholder,
.ngh-contact__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}
.ngh-contact__field input:focus,
.ngh-contact__field textarea:focus {
  border-color: rgba(91, 140, 255, 0.55);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.15);
}
.ngh-contact__submit {
  margin-top: 8px;
  appearance: none;
  border: 0;
  cursor: pointer;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #4f7cff 0%, #2a5ca8 55%, #1e3f73 100%);
  box-shadow: 0 8px 28px rgba(91, 140, 255, 0.35);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.ngh-contact__submit:hover { transform: translateY(-1px); }
.ngh-contact__submit:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}
.ngh-contact__status {
  margin: 4px 0 0;
  min-height: 1.4em;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--ngh-muted);
}
.ngh-contact__status.is-ok { color: #8fd6a8; }
.ngh-contact__status.is-err { color: #ffb4a8; }

/* Linki pod formularzem */
.ngh-contact__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 28px;
}
.ngh-contact__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}
.ngh-contact__btn:hover { transform: translateY(-1px); }

@media (max-width: 560px) {
  .ngh-contact { padding: 88px 16px 64px; }
  .ngh-contact__form { padding: 22px 16px; }
}
