/* ── HERO ── */
.hero-serwis {
  text-align: center;
  padding: 52px 24px 40px;
  background: white;
  border-bottom: 1px solid var(--border);
}
.hero-serwis h1 {
  font-family: 'Syne', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.hero-serwis p { font-size: 0.9rem; color: var(--blue); line-height: 1.6; }

/* ── PAGE ── */
.page { max-width: 1100px; margin: 0 auto; padding: 44px 24px 72px; }

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

/* ── USŁUGI ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 52px;
}
.service-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 18px;
  transition: all 0.2s;
}
.service-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 4px 20px rgba(43,62,245,0.08);
  transform: translateY(-2px);
}
.service-icon {
  width: 38px;
  height: 38px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  margin-bottom: 12px;
}
.service-card h3 { font-family: 'Syne', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.service-card p { font-size: 0.76rem; color: var(--muted); line-height: 1.5; margin-bottom: 12px; }
.service-card p span { color: var(--blue); }
.service-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.75rem; }
.service-meta .cena-label { color: var(--muted); }
.service-meta .cena { color: var(--blue); font-weight: 700; font-size: 0.82rem; }
.service-meta .czas { color: var(--muted); }

/* ── JAK TO DZIAŁA ── */
.how-section {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 36px 32px;
  margin-bottom: 48px;
  text-align: center;
}
.how-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.step-num {
  width: 44px; height: 44px;
  background: var(--blue);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 800;
}
.step h4 { font-family: 'Syne', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text); }
.step p { font-size: 0.76rem; color: var(--blue); line-height: 1.4; }

/* ── STEPPER FORMULARZ ── */
.zgloszenie-wrap { max-width: 640px; margin: 0 auto; }
.zgloszenie-wrap > h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--text);
  text-align: center;
  margin-bottom: 32px;
  letter-spacing: -0.02em;
}

/* PROGRESS */
.stepper {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  margin-bottom: 36px;
}
.stepper-step { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stepper-connector {
  width: 70px;
  height: 2px;
  background: var(--border);
  margin-top: 17px;
  transition: background 0.25s;
  flex-shrink: 0;
}
.stepper-connector.done { background: var(--blue); }
.stepper-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Syne', sans-serif; font-size: 0.85rem; font-weight: 800;
  background: var(--border);
  color: var(--muted);
  transition: all 0.25s;
}
.stepper-step.active .stepper-num { background: var(--blue); color: white; box-shadow: 0 0 0 4px rgba(43,62,245,0.15); }
.stepper-step.done .stepper-num { background: var(--blue); color: white; }
.stepper-label { font-size: 0.68rem; color: var(--muted); font-weight: 500; white-space: nowrap; }
.stepper-step.active .stepper-label,
.stepper-step.done .stepper-label { color: var(--blue); font-weight: 600; }

/* PANELS */
.step-panel { display: none; }
.step-panel.active { display: block; }

.form-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
}
.form-card-title { font-family: 'Syne', sans-serif; font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.form-card-sub { font-size: 0.78rem; color: var(--muted); margin-bottom: 22px; }

.form-divider {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 18px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-field { margin-bottom: 13px; }
.form-field label { display: block; font-size: 0.76rem; font-weight: 500; color: var(--blue); margin-bottom: 5px; }
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: #f8f9fc;
  outline: none;
  transition: border 0.2s;
  appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(43,62,245,0.07);
}
.form-field textarea { height: 110px; resize: none; }

/* PRIORYTET */
.priority-btns { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 2px; }
.priority-btn {
  padding: 10px 8px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: white;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  text-align: center;
  transition: all 0.15s;
}
.priority-btn:hover { border-color: var(--blue); color: var(--blue); }
.priority-btn.sel-standard { background: #eff6ff; border-color: var(--blue); color: var(--blue); }
.priority-btn.sel-pilny    { background: #fffbeb; border-color: #f59e0b; color: #b45309; }
.priority-btn.sel-ekspres  { background: #fef2f2; border-color: #ef4444; color: #b91c1c; }

/* NAV */
.step-nav { display: flex; justify-content: space-between; margin-top: 22px; gap: 10px; }
.btn-prev {
  padding: 11px 22px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  transition: all 0.15s;
}
.btn-prev:hover { border-color: #9ca3af; }
.btn-next {
  flex: 1;
  padding: 11px 22px;
  background: var(--blue);
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-next:hover { background: var(--blue-light); }
.btn-next:disabled { background: #9ca3af; cursor: not-allowed; }

/* PODSUMOWANIE */
.summary-block {
  background: #f8f9fc;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 14px;
}
.summary-block h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.summary-row { display: flex; justify-content: space-between; font-size: 0.84rem; padding: 5px 0; border-bottom: 1px solid var(--border); }
.summary-row:last-child { border-bottom: none; }
.summary-row .s-label { color: var(--muted); }
.summary-row .s-val { font-weight: 500; color: var(--text); }

.rodo-check { display: flex; align-items: flex-start; gap: 10px; margin: 16px 0; font-size: 0.78rem; color: var(--muted); line-height: 1.5; }
.rodo-check input[type="checkbox"] { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--blue); }

/* SUKCES */
.success-panel {
  display: none;
  text-align: center;
  padding: 52px 32px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.success-icon { font-size: 52px; margin-bottom: 16px; }
.success-panel h3 { font-family: 'Syne', sans-serif; font-size: 1.3rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.success-panel p { font-size: 0.875rem; color: var(--muted); margin-bottom: 6px; }
.nr-zlecenia {
  display: inline-block;
  background: #eff6ff;
  border: 1px solid #c7d2fe;
  color: var(--blue);
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  padding: 8px 20px;
  border-radius: 8px;
  margin: 10px 0 18px;
  letter-spacing: 0.05em;
}
.btn-new-order {
  padding: 11px 28px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-new-order:hover { background: var(--blue-light); }

/* ERROR */
.api-error {
  display: none;
  background: #fef2f2;
  border: 1px solid #fca5a5;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  margin-top: 10px;
}

@media (max-width: 860px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .form-row-2 { grid-template-columns: 1fr; }
  .stepper-connector { width: 36px; }
}
@media (max-width: 500px) {
  .services-grid { grid-template-columns: 1fr; }
  .priority-btns { grid-template-columns: 1fr; }
  .stepper-label { display: none; }
}

/* ── SPRAWDŹ STATUS ── */
.status-check-wrap {
  max-width: 860px;
  margin: 0 auto 48px;
}
.status-check-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.status-check-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 220px;
}
.status-check-icon {
  font-size: 28px;
  width: 52px; height: 52px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.status-check-title {
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}
.status-check-sub { font-size: 0.76rem; color: var(--muted); }
.status-check-right {
  display: flex;
  gap: 10px;
  flex: 1;
  min-width: 260px;
}
.status-check-right input {
  flex: 1;
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  color: var(--text);
  background: #f8f9fc;
  outline: none;
  transition: border 0.2s;
}
.status-check-right input:focus {
  border-color: var(--blue);
  background: white;
  box-shadow: 0 0 0 3px rgba(43,62,245,0.07);
}
.status-check-right button {
  padding: 11px 20px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}
.status-check-right button:hover { background: var(--blue-light); }
.status-check-right button:disabled { background: #9ca3af; cursor: not-allowed; }

.status-result {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin-top: 14px;
  display: none;
}
.status-nr-badge {
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.status-badge {
  display: inline-block;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1.5px solid;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 18px;
}
.status-details {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}
.status-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.status-row:last-child { border-bottom: none; }
.status-row span:first-child { color: var(--muted); }
.status-row span:last-child { font-weight: 500; color: var(--text); text-align: right; max-width: 60%; word-break: break-word; }

@media (max-width: 600px) {
  .status-check-card { flex-direction: column; align-items: flex-start; }
  .status-check-right { width: 100%; }
}
