/* static-pages.css — cennik, kontakt, opinie, polityka prywatności, 404 */

.sp-hero { padding: clamp(2.5rem, 5vw, 4rem) 0; }

.sp-main {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 2rem);
  max-width: 1000px;
}

/* ── Baner: wyslij zdjecia ─────────────────────────────────── */
.sp-photo-tip {
  display:          flex;
  gap:              1.5rem;
  align-items:      flex-start;
  background:       var(--color-accent-bg, #E7F0F8);
  border:           2px solid var(--color-secondary, #2E7DB2);
  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: var(--color-primary, #123B5E); margin-bottom: .5rem; }
.sp-photo-tip-body p { color: #33404f; margin-bottom: 1rem; }

.sp-contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: .75rem;
  align-items: center;
}

.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-wa    { background: var(--color-secondary, #2E7DB2); color: #fff !important; }
.btn-tip-email { background: var(--color-primary, #123B5E);   color: #fff !important; }
.btn-tip-tel   { background: var(--color-cta, #D9480F);       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; }

/* ── Listy wypunktowane ────────────────────────────────────── */
.sp-check-list {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}
.sp-check-list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: .6rem;
  color: #444;
  line-height: 1.7;
}
.sp-check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--color-secondary, #2E7DB2);
}

/* ── Pytania i odpowiedzi (bez akordeonu) ──────────────────── */
.sp-qa h3 {
  font-size: 1.02rem;
  color: var(--color-primary, #123B5E);
  margin: 1.4rem 0 .35rem;
}
.sp-qa p { color: #444; line-height: 1.75; margin: 0; }

/* ── 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:    var(--color-light, #F3F6FA);
  border:        1px solid var(--color-border, #DBE2EB);
  border-radius: 10px;
  padding:       1.25rem;
}
.sp-factor-icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.sp-factor h3   { font-size: 1rem; color: var(--color-primary, #123B5E); 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; }
.sp-price-table {
  width:            100%;
  border-collapse:  collapse;
  font-size:        .93rem;
}
.sp-price-table caption {
  caption-side: top;
  text-align: left;
  font-size: .82rem;
  color: #6a7482;
  padding-bottom: .5rem;
}
.sp-price-table thead { background: var(--color-primary, #123B5E); color: #fff; }
.sp-price-table th { padding: .75rem 1rem; text-align: left; font-weight: 600; }
.sp-price-table th:last-child { text-align: right; }
.sp-price-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--color-border, #DBE2EB); vertical-align: top; }
.sp-price-table td small { color: #7a838f; font-size: .82rem; line-height: 1.5; display: inline-block; margin-top: .15rem; }
.sp-price-table td.price {
  font-weight: 700;
  color: var(--color-primary, #123B5E);
  white-space: nowrap;
  text-align: right;
  font-size: 1rem;
}
.sp-price-table tr.alt td { background: var(--color-light, #F3F6FA); }
.sp-price-table tr:hover td { background: var(--color-accent-bg, #E7F0F8); }

/* Placeholder stawki — widoczny na pierwszy rzut oka, dopoki B3 nie wejdzie */
.sp-price-ph {
  display: inline-block;
  background: #FFF4E0;
  border: 1px dashed #D9480F;
  border-radius: 6px;
  padding: .1rem .5rem;
  color: #A83A08;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.sp-price-disclaimer {
  background: #FFF7E8;
  border-left: 4px solid var(--color-cta, #D9480F);
  padding: .85rem 1.25rem;
  border-radius: 0 8px 8px 0;
  font-size: .88rem;
  color: #555;
  line-height: 1.65;
  margin-top: 1rem;
}

/* ── Kroki ─────────────────────────────────────────────────── */
.sp-steps { list-style: none; margin: 1.5rem 0 2rem; padding: 0; }
.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:       var(--color-primary, #123B5E);
  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: var(--color-primary, #123B5E); }
.sp-steps li a { color: var(--color-secondary, #2E7DB2); font-weight: 600; }

.sp-cta-section { margin-top: 2rem; }
.sp-cta-section h2 { margin-bottom: 1.25rem; }

/* ── Obszar dzialania ──────────────────────────────────────── */
.sp-area-list {
  list-style: none;
  margin: .5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: .6rem 1.25rem;
}
.sp-area-list li {
  border-left: 3px solid var(--color-secondary, #2E7DB2);
  padding-left: .75rem;
  line-height: 1.5;
}
.sp-area-list strong { color: var(--color-primary, #123B5E); display: block; }
.sp-area-sub { font-size: .82rem; color: #6a7482; }

/* ── 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:    var(--color-light, #F3F6FA);
  border:        1px solid var(--color-border, #DBE2EB);
  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-info-card .sp-area-list { grid-template-columns: 1fr; margin-top: .75rem; }

.sp-big-phone {
  display:     block;
  font-size:   1.8rem;
  font-weight: 800;
  color:       var(--color-cta, #D9480F);
  line-height: 1.2;
  margin-bottom: .3rem;
}
.sp-big-phone:hover { color: var(--color-cta-hover, #B23A0B); }

.sp-email-link {
  display:     block;
  font-size:   1.05rem;
  font-weight: 600;
  color:       var(--color-secondary, #2E7DB2);
  word-break:  break-word;
  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: #2a3644; }
.sp-form-group input,
.sp-form-group textarea {
  border:        1.5px solid var(--color-border, #DBE2EB);
  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:  var(--color-secondary, #2E7DB2);
  box-shadow:    0 0 0 3px rgba(46,125,178,.18);
}
.sp-form-group textarea { resize: vertical; min-height: 140px; }

.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: var(--color-secondary, #2E7DB2); font-weight: 600; }
.sp-or-label { font-weight: 400; color: #888; font-size: .82rem; }
.sp-field-error { font-size: .82rem; color: #c0392b; margin: -.25rem 0 .5rem; }

/* ── Pasek uslug ───────────────────────────────────────────── */
.sp-services-bar {
  background: var(--color-light, #F3F6FA);
  border-top: 2px solid var(--color-border, #DBE2EB);
  padding: 1.5rem 1rem 2rem;
}
.sp-services-bar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary, #123B5E);
  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 var(--color-border, #DBE2EB);
  border-radius: 20px;
  padding: .35rem .9rem;
  color: var(--color-primary, #123B5E);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: background .18s, color .18s, border-color .18s;
}
.sp-svc-link:hover {
  background: var(--color-primary, #123B5E);
  color: #fff;
  border-color: var(--color-primary, #123B5E);
}

/* ── Stopka: dane rejestrowe ───────────────────────────────── */
.footer-legal { font-size: .82rem; opacity: .8; margin: .25rem 0; }

/* ════════════════════════════════════════════════════════════
   OPINIE
   ════════════════════════════════════════════════════════════ */

.rv-intro {
  color: #444;
  line-height: 1.75;
  margin-bottom: 2rem;
}

/* Stan pusty — dopoki nie ma prawdziwych opinii (TODO W3) */
.rv-empty {
  background: var(--color-light, #F3F6FA);
  border: 1.5px dashed var(--color-secondary, #2E7DB2);
  border-radius: 16px;
  padding: 2.25rem 2rem;
  margin-bottom: 3rem;
  text-align: center;
}
.rv-empty-icon { font-size: 2.5rem; display: block; margin-bottom: .5rem; }
.rv-empty h2 { margin-bottom: .75rem; }
.rv-empty p {
  max-width: 640px;
  margin: 0 auto .85rem;
  color: #4a5462;
  line-height: 1.75;
}

.rv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.rv-card {
  background: #fff;
  border: 1.5px solid var(--color-border, #DBE2EB);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(18,59,94,.07);
  transition: transform .2s, box-shadow .2s;
  position: relative;
  overflow: hidden;
}
.rv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary, #123B5E), var(--color-secondary, #2E7DB2));
  border-radius: 14px 14px 0 0;
}
.rv-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(18,59,94,.13);
}

.rv-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}
.rv-quote-icon {
  font-size: 2.5rem;
  color: var(--color-accent-bg, #E7F0F8);
  line-height: 1;
  margin-left: auto;
  flex-shrink: 0;
  margin-top: -.2rem;
}

.rv-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}

.rv-card-meta { flex: 1; min-width: 0; }
.rv-name { display: block; font-size: 1rem; color: var(--color-primary, #123B5E); margin-bottom: .2rem; }
.rv-city-badge {
  display: inline-block;
  background: var(--color-accent-bg, #E7F0F8);
  border: 1px solid var(--color-border, #DBE2EB);
  border-radius: 12px;
  padding: .1rem .55rem;
  font-size: .75rem;
  color: var(--color-primary, #123B5E);
  font-weight: 600;
  margin-bottom: .3rem;
}
.rv-rating-row { display: flex; align-items: center; gap: .4rem; margin-top: .15rem; }
.rv-score { font-size: .82rem; color: #888; font-weight: 600; }

.rv-stars { display: inline-flex; gap: 2px; }
.rv-star { width: 16px; height: 16px; }
.rv-star--full polygon { fill: #f5a623; }
.rv-star--empty polygon { fill: #ddd; }

.rv-text {
  font-size: .92rem;
  line-height: 1.7;
  color: #444;
  margin: 0;
}
.rv-source { font-size: .78rem; color: #8a939f; margin: .75rem 0 0; }

/* ════════════════════════════════════════════════════════════
   404
   ════════════════════════════════════════════════════════════ */

.nf-hero { text-align: center; padding: 56px 16px 40px; }
.nf-hero svg { width: 120px; height: 120px; margin-bottom: 14px; }
.nf-code {
  font-size: 64px;
  font-weight: 800;
  color: var(--color-primary, #123B5E);
  line-height: 1;
  margin: 0;
}
.nf-hero h1 { font-size: 26px; margin: 10px 0 8px; }
.nf-hero p { max-width: 560px; margin: 0 auto 22px; color: #555; }
.nf-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.nf-actions a {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
}
.nf-home { background: var(--color-primary, #123B5E); color: #fff; }
.nf-tel {
  background: #fff;
  color: var(--color-cta, #D9480F);
  border: 2px solid var(--color-cta, #D9480F);
}
.nf-links { max-width: 800px; margin: 26px auto 60px; text-align: center; }
.nf-links h2 { font-size: 17px; margin-bottom: 14px; }
.nf-links .sp-services-bar-links { justify-content: center; }

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 860px) {
  .sp-contact-layout { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .rv-grid { grid-template-columns: 1fr; }
  .sp-photo-tip { flex-direction: column; gap: 1rem; padding: 1.25rem; }
  .sp-factors-grid { grid-template-columns: 1fr; }
  .sp-area-list { grid-template-columns: 1fr; }
  .sp-submit-btn { align-self: stretch; text-align: center; justify-content: center; }
  .sp-contact-buttons { flex-direction: column; align-items: stretch; }
  .btn-tip { justify-content: center; text-align: center; }
  .sp-price-table th, .sp-price-table td { padding: .6rem .7rem; }
}
