/* static-pages.css — style dla cennik.html, kontakt.html */

.sp-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.sp-main {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  max-width: 1000px;
}

/* ── Tip: wyslij zdjecia ───────────────────────────────────── */
.sp-photo-tip {
  display:          flex;
  gap:              1.5rem;
  align-items:      flex-start;
  background:       linear-gradient(135deg, #e8f9f0, #d0f0e0);
  border:           2px solid #2d9e5f;
  border-radius:    12px;
  padding:          1.75rem 2rem;
  margin-bottom:    2.5rem;
}
.sp-photo-tip--compact { margin-top: 1.5rem; margin-bottom: 0; }

.sp-photo-tip-icon { font-size: 3rem; line-height: 1; flex-shrink: 0; }
.sp-photo-tip-body h2,
.sp-photo-tip-body h3 { color: #124d2c; margin-bottom: .5rem; }
.sp-photo-tip-body p { color: #2a4a38; margin-bottom: 1rem; }

.sp-contact-buttons { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: .75rem; }

.btn-tip {
  display:       inline-flex;
  align-items:   center;
  gap:           .5rem;
  padding:       .65rem 1.4rem;
  border-radius: 8px;
  font-weight:   700;
  font-size:     .95rem;
  transition:    transform .2s, box-shadow .2s;
  text-decoration: none;
}
.btn-tip:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-tip-sms   { background: #1a6b3c; color: #fff !important; }
.btn-tip-email { background: #1a1a2e; color: #fff !important; }

/* ── Sekcja ────────────────────────────────────────────────── */
.sp-section { margin-bottom: 3rem; }
.sp-section h2 { margin-bottom: 1rem; }
.sp-section > p { color: #444; line-height: 1.75; margin-bottom: 1.5rem; }

/* ── Czynniki cenowe ───────────────────────────────────────── */
.sp-factors-grid {
  display:               grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap:                   1.25rem;
  margin-bottom:         1.5rem;
}
.sp-factor {
  background:    #f4faf7;
  border:        1px solid #d4e8da;
  border-radius: 10px;
  padding:       1.25rem;
}
.sp-factor-icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.sp-factor h3   { font-size: 1rem; color: #1a3a28; margin-bottom: .4rem; }
.sp-factor p    { font-size: .88rem; color: #555; margin: 0; line-height: 1.6; }

/* ── Tabela cenowa ─────────────────────────────────────────── */
.sp-price-table-wrap { overflow-x: auto; margin: 1rem 0 1rem; }
.sp-price-table {
  width:            100%;
  border-collapse:  collapse;
  font-size:        .93rem;
}
.sp-price-table thead { background: #1a6b3c; color: #fff; }
.sp-price-table th { padding: .75rem 1rem; text-align: left; font-weight: 600; }
.sp-price-table td { padding: .65rem 1rem; border-bottom: 1px solid #e0ece6; vertical-align: top; }
.sp-price-table td small { color: #888; font-size: .82rem; }
.sp-price-table td.price { font-weight: 700; color: #1a6b3c; white-space: nowrap; }
.sp-price-table tr.alt td { background: #f4faf7; }
.sp-price-table tr:hover td { background: #eaf5ef; }

.sp-price-disclaimer {
  background: #fff9e6;
  border-left: 4px solid #e8a020;
  padding: .85rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  color: #555;
  line-height: 1.65;
  margin-top: 1rem;
}

/* ── Kroki zamowienia ──────────────────────────────────────── */
.sp-steps { list-style: none; counter-reset: none; margin: 1.5rem 0 2rem; }
.sp-steps li {
  display:       flex;
  gap:           1.25rem;
  align-items:   flex-start;
  margin-bottom: 1.25rem;
}
.step-num {
  display:          flex;
  align-items:      center;
  justify-content:  center;
  min-width:        36px;
  height:           36px;
  background:       #1a6b3c;
  color:            #fff;
  border-radius:    50%;
  font-weight:      700;
  font-size:        1rem;
  flex-shrink:      0;
  margin-top:       .1rem;
}
.sp-steps li > div { line-height: 1.7; color: #333; }
.sp-steps li strong { color: #1a3a28; }
.sp-steps li a { color: #1a6b3c; font-weight: 600; }

.sp-cta-section { margin-top: 2rem; }
.sp-cta-section h2 { margin-bottom: 1.25rem; }

/* ── Kontakt layout ────────────────────────────────────────── */
.sp-contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.sp-info-card {
  display:       flex;
  gap:           1rem;
  align-items:   flex-start;
  background:    #f4faf7;
  border:        1px solid #d4e8da;
  border-radius: 10px;
  padding:       1.25rem 1.4rem;
  margin-bottom: 1.25rem;
}
.sp-info-icon { font-size: 2rem; line-height: 1; flex-shrink: 0; }
.sp-info-card h2 { font-size: 1.1rem; margin-bottom: .4rem; }

.sp-big-phone {
  display:     block;
  font-size:   1.8rem;
  font-weight: 800;
  color:       #1a6b3c;
  line-height: 1.2;
  margin-bottom: .3rem;
}
.sp-big-phone:hover { color: #2d9e5f; }

.sp-email-link {
  display:     block;
  font-size:   1.05rem;
  font-weight: 600;
  color:       #1a6b3c;
  word-break:  break-all;
  margin-bottom: .3rem;
}
.sp-email-link:hover { text-decoration: underline; }
.sp-muted { color: #666; font-size: .88rem; line-height: 1.6; }

/* ── Formularz ─────────────────────────────────────────────── */
.sp-contact-form-wrap { background: #fff; }
.sp-contact-form-wrap h2 { margin-bottom: .5rem; }

.sp-form { display: flex; flex-direction: column; gap: 1rem; }
.sp-form-group { display: flex; flex-direction: column; gap: .35rem; }
.sp-form-group label { font-size: .9rem; font-weight: 600; color: #2a3a30; }
.sp-form-group input,
.sp-form-group textarea {
  border:        1.5px solid #d0ddd6;
  border-radius: 8px;
  padding:       .65rem .9rem;
  font-size:     1rem;
  font-family:   inherit;
  transition:    border-color .2s;
  width:         100%;
}
.sp-form-group input:focus,
.sp-form-group textarea:focus {
  outline:       none;
  border-color:  #2d9e5f;
  box-shadow:    0 0 0 3px rgba(45,158,95,.15);
}
.sp-form-group textarea { resize: vertical; min-height: 120px; }

.sp-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.sp-form-check { flex-direction: row !important; align-items: flex-start; gap: .5rem !important; }
.sp-check-label { display: flex; gap: .6rem; cursor: pointer; font-size: .88rem; color: #444; line-height: 1.5; }
.sp-check-label input[type="checkbox"] { margin-top: .2rem; flex-shrink: 0; width: 16px; height: 16px; }

.sp-submit-btn {
  align-self: flex-start;
  font-size: 1.05rem;
  padding: .85rem 2rem;
}

.sp-form-note {
  font-size: .82rem;
  color: #777;
  line-height: 1.65;
  margin: 0;
}
.sp-form-note a { color: #1a6b3c; font-weight: 600; }

/* ── Sekcja usług (linkowanie wewnętrzne na cennik/kontakt) ──── */
.sp-services-bar {
  background: #f0f7f3;
  border-top: 2px solid #c0ddd0;
  padding: 1.5rem 1rem 2rem;
}
.sp-services-bar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1a6b3c;
  margin: 0 0 .85rem;
}
.sp-services-bar-links {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
.sp-svc-link {
  display: inline-block;
  background: #fff;
  border: 1.5px solid #c8ddd0;
  border-radius: 20px;
  padding: .35rem .9rem;
  color: #1a6b3c;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, color .18s;
}
.sp-svc-link:hover {
  background: #1a6b3c;
  color: #fff;
  border-color: #1a6b3c;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .sp-contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .sp-photo-tip { flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .sp-factors-grid { grid-template-columns: 1fr; }
  .sp-form-row { grid-template-columns: 1fr; }
  .sp-submit-btn { align-self: stretch; text-align: center; justify-content: center; }
  .sp-contact-buttons { flex-direction: column; }
  .btn-tip { justify-content: center; text-align: center; }
}
