/* RESET I ZMIENNE DLA SZABLONU ZLECENIA */
:root {
  --sp-primary: #0056b3;
  --sp-primary-hover: #003d80;
  --sp-bg: #f4f6f9;
  --sp-card-bg: #ffffff;
  --sp-text: #2c3e50;
  --sp-text-muted: #6c757d;
  --sp-border: #e2e8f0;
}

body.standalone-service-page {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--sp-bg);
  color: var(--sp-text);
  line-height: 1.5;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* NAGŁÓWEK */
.service-header {
  background: #ffffff;
  border-bottom: 1px solid var(--sp-border);
  padding: 1rem 0;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.service-logo {
  text-decoration: none;
  font-size: 1.3rem;
  color: #111;
}

.service-logo span {
  color: var(--sp-primary);
  font-weight: 300;
}

.header-support {
  display: none;
}

@media (min-width: 640px) {
  .header-support {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
  }
  .support-label {
    font-size: 0.8rem;
    color: var(--sp-text-muted);
  }
  .support-phone {
    font-weight: 700;
    color: var(--sp-primary);
    text-decoration: none;
  }
}

.btn-back {
  text-decoration: none;
  color: var(--sp-text-muted);
  font-size: 0.9rem;
  padding: 0.5rem 0.8rem;
  border: 1px solid var(--sp-border);
  border-radius: 4px;
  transition: background 0.2s;
}

.btn-back:hover {
  background: #f8f9fa;
  color: #111;
}

/* HERO */
.service-hero {
  padding: 2.5rem 0 1.5rem;
  text-align: center;
}

.service-hero h1 {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  color: #111;
}

.service-hero p {
  color: var(--sp-text-muted);
  max-width: 650px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* PROCES KROK PO KROKU */
.process-section {
  padding: 1.5rem 0 2.5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.process-card {
  background: #ffffff;
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid var(--sp-border);
  position: relative;
}

.step-num {
  width: 28px;
  height: 28px;
  background: var(--sp-primary);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 0.8rem;
}

.process-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.process-card p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--sp-text-muted);
}

/* FORMULARZ */
.service-order-wrapper {
  background: var(--sp-card-bg);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--sp-border);
  margin-bottom: 3rem;
}

.form-section {
  border: 1px solid var(--sp-border);
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
  background: #fff;
}

.form-section legend {
  font-weight: 700;
  padding: 0 0.5rem;
  color: var(--sp-primary);
}

.form-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid.cols-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-group.full-width {
  margin-top: 0.8rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.7rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--sp-primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.15);
}

.checkbox-group label {
  display: flex;
  gap: 0.5rem;
  font-size: 0.85rem;
  cursor: pointer;
}

.btn-submit-large {
  width: 100%;
  background: var(--sp-primary);
  color: #fff;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-submit-large:hover {
  background: var(--sp-primary-hover);
}

/* FAQ */
.service-faq {
  padding: 2rem 0 4rem;
  border-top: 1px solid var(--sp-border);
}

.service-faq h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.faq-item h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.faq-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--sp-text-muted);
}

/* STOPKA */
.service-footer {
  background: #ffffff;
  border-top: 1px solid var(--sp-border);
  padding: 1.5rem 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--sp-text-muted);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--sp-text-muted);
  margin: 0 0.5rem;
  text-decoration: none;
}

.footer-links a:hover {
  text-decoration: underline;
}