/* ============ Fotowoltaika i farmy PV (B2B) — style specyficzne ============ */
/* Wspólny słownik (hero, eyebrow, section-head, proc-timeline, FAQ, cta-form, google-banner) jest w subpages.css/santier.css. */

/* — Sekcja 2: Dwa filary — */
.pvb-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.pvb-pillar { position: relative; overflow: hidden; min-height: 280px; display: flex; align-items: flex-end; border: 1px solid var(--gray-200, #e5e7eb); }
.pvb-pillar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.pvb-pillar .pvb-pillar-body { position: relative; z-index: 2; padding: 28px; color: #fff; }
.pvb-pillar::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(11,28,54,0.92) 10%, rgba(11,28,54,0.45) 60%, rgba(11,28,54,0.2) 100%); }
.pvb-pillar h3 { margin: 0 0 8px; font-size: 1.45rem; }
.pvb-pillar p { margin: 0; color: rgba(255,255,255,0.85); }
.pvb-pillar .pvb-pillar-tag { display: inline-block; margin-bottom: 12px; padding: 5px 12px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

/* — Sekcja 3: Jak działa farma PV (split tekst + schemat SVG) — */
.pvb-edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.pvb-scheme { margin: 0; }
.pvb-scheme svg { width: 100%; height: auto; display: block; }
.pvb-scheme-cap { margin-top: 14px; color: var(--gray-500); font-size: 0.95rem; }
.pvb-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 16px; }
.pvb-points li { display: flex; gap: 14px; align-items: flex-start; }
.pvb-points .pt-icon { flex: none; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: rgba(232,78,27,0.08); color: var(--accent); }
.pvb-points .pt-icon svg { width: 20px; height: 20px; }
.pvb-points strong { display: block; }
.pvb-points div span { color: var(--gray-500); }

/* — Sekcja 4: Do kogo (3 kolumny) — */
.pvb-aud-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pvb-aud-col { border-top: 3px solid var(--accent); background: var(--white); padding: 26px; border-left: 1px solid var(--gray-200, #e5e7eb); border-right: 1px solid var(--gray-200, #e5e7eb); border-bottom: 1px solid var(--gray-200, #e5e7eb); }
.pvb-aud-col h3 { margin: 0 0 4px; }
.pvb-aud-col .aud-role { color: var(--accent); font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 700; }
.pvb-aud-col ul { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.pvb-aud-col li { display: flex; gap: 10px; align-items: flex-start; color: var(--gray-500); }
.pvb-aud-col li::before { content: "✓"; color: var(--accent); font-weight: 700; flex: none; }

/* — Sekcja 5: Co oferujemy (siatka ikon) — */
.pvb-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pvb-offer-card { border: 1px solid var(--gray-200, #e5e7eb); background: var(--white); padding: 24px; }
.pvb-offer-card .of-icon { width: 44px; height: 44px; border-radius: 999px; display: grid; place-items: center; background: rgba(232,78,27,0.08); color: var(--accent); margin-bottom: 12px; }
.pvb-offer-card .of-icon svg { width: 22px; height: 22px; }
.pvb-offer-card h3 { margin: 0 0 6px; font-size: 1.05rem; }
.pvb-offer-card p { margin: 0; color: var(--gray-500); font-size: 0.95rem; }

/* — Sekcja 6: Formaty instalacji (kafle foto) — */
.pvb-fmt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pvb-fmt-card { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.pvb-fmt-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pvb-fmt-card span { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 12px; color: #fff; font-weight: 700; background: linear-gradient(to top, rgba(11,28,54,0.85), transparent); }

/* — Sekcja 7: Efekty / liczby — */
.pvb-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pvb-stat { border: 1px solid var(--gray-200, #e5e7eb); background: var(--white); padding: 26px 22px; text-align: center; }
.pvb-stat .stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--accent); line-height: 1.1; }
.pvb-stat .stat-label { display: block; margin-top: 8px; color: var(--gray-500); font-size: 0.95rem; }

/* — Sekcja 9: Finansowanie dla firm (kanon .fin-* z fotowoltaika.css) — */
.fin-section { background: var(--navy-deep, #0a1f38); }
.fin-panel { color: #fff; }
.fin-head { max-width: 720px; margin: 0 auto 36px; text-align: center; }
.fin-head .eyebrow { justify-content: center; }
.fin-head .eyebrow span { color: #fff; }
.fin-head h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; letter-spacing: -0.6px; margin: 14px 0 14px; }
.fin-head p { font-size: 16px; line-height: 1.65; color: rgba(255, 255, 255, 0.82); margin: 0; }
.fin-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.fin-card { background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.12); border-radius: 0; padding: 22px; }
.fin-card h3 { margin: 0 0 8px; font-size: 17px; color: #fff; }
.fin-card p { margin: 0; font-size: 14px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); }
.fin-partner { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; color: rgba(255, 255, 255, 0.7); font-size: 14px; }
.fin-partner img { height: 26px; width: auto; background: #fff; padding: 7px 12px; border-radius: 6px; }

/* — Sekcja 10: Dlaczego Santier (kanon .why-split z fotowoltaika.css) — */
.why-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: stretch; }
.why-reasons { display: flex; flex-direction: column; }
.why-reason { display: grid; grid-template-columns: 50px 1fr; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--gray-200, #e6e9ef); }
.why-reason:first-child { padding-top: 0; }
.why-reason:last-child { border-bottom: 0; padding-bottom: 0; }
.why-reason .ic { width: 50px; height: 50px; border-radius: 12px; background: var(--navy-deep, #0a1f38); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.why-reason .ic svg { width: 24px; height: 24px; }
.why-reason h3 { font-size: 17px; font-weight: 700; color: var(--navy-deep, #0a1f38); margin-bottom: 5px; letter-spacing: -0.2px; }
.why-reason p { font-size: 14px; line-height: 1.58; color: var(--gray-700, #3A4252); margin: 0; }
.why-media { position: relative; overflow: hidden; min-height: 400px; border-radius: 0; }
.why-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.why-rating { display: inline-flex; align-items: center; gap: 14px; align-self: flex-start; margin-top: 32px; background: var(--white, #fff); border: 1px solid var(--gray-200, #e6e9ef); border-radius: 10px; padding: 14px 20px; transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.why-rating:hover { border-color: var(--gray-300, #d4d9e2); box-shadow: 0 14px 34px -22px rgba(10, 31, 56, 0.4); }
.why-rating .wr-num { font-size: 30px; font-weight: 700; color: var(--navy-deep, #0a1f38); line-height: 1; letter-spacing: -1px; }
.why-rating .wr-meta { display: flex; flex-direction: column; gap: 4px; }
.why-rating .wr-meta .stars { color: var(--gold, #f5a623); font-size: 14px; letter-spacing: 1.5px; line-height: 1; }
.why-rating .wr-sub { font-size: 13px; color: var(--gray-700, #3A4252); }

/* — FAQ: odstęp pod intro (subpages.css ustawia .faq-intro p{margin:0}, a po akapicie jest przycisk) — */
.faq-intro p { margin-bottom: 24px; }


/* — Responsywność — */
@media (max-width: 1024px) {
  .why-split { grid-template-columns: 1fr; gap: 36px; }
  .why-media { max-width: 460px; min-height: 280px; order: -1; }
  .fin-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pvb-pillars, .pvb-edu-grid, .pvb-aud-grid { grid-template-columns: 1fr; }
  .pvb-offer-grid, .pvb-fmt-grid, .pvb-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .pvb-offer-grid, .pvb-fmt-grid, .pvb-stats, .fin-grid { grid-template-columns: 1fr; }
}
