/* ===========================================
   WENTYLACJA I REKUPERACJA — style specyficzne
   Współdzielony słownik podstron (hero, eyebrow, section-head, faq, breadcrumbs,
   cta-benefits, proc-timeline) jest w subpages.css. Design system + formularze: santier.css.
   Reguły reużywane z Klimatyzacji (edu-card, finance-grid, salon-grid, why-split)
   skopiowane tu świadomie — klimatyzacja.css NIE jest tu ładowany.
   =========================================== */

/* ===== Edukacja: schemat + punkty ===== */
.went-edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.went-scheme { margin: 0; border: 1px solid var(--gray-200); background: var(--white); padding: 24px; }
.went-scheme svg { width: 100%; height: auto; display: block; }
.went-scheme-cap { margin-top: 16px; font-size: 14px; line-height: 1.5; color: var(--gray-500); }
.went-scheme-cap strong { color: var(--navy-deep); }
.went-edu-copy h2 { color: var(--navy-deep); }
.went-edu-copy > p { color: var(--gray-500); line-height: 1.6; }
.went-points { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.went-points li { display: flex; gap: 14px; align-items: flex-start; }
.went-points .pt-icon { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: rgba(232, 78, 27, 0.08); color: var(--accent); }
.went-points .pt-icon svg { width: 20px; height: 20px; }
.went-points strong { display: block; color: var(--navy-deep); margin-bottom: 2px; }
.went-points > li > div > span { color: var(--gray-500); font-size: 15px; line-height: 1.5; }
@media (max-width: 860px) { .went-edu-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ===== Dwie drogi ===== */
.paths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.path-card { background: var(--white); border: 1px solid var(--gray-200); display: flex; flex-direction: column; }
.path-img { aspect-ratio: 16 / 10; overflow: hidden; }
.path-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.path-body { padding: 28px 30px 32px; display: flex; flex-direction: column; gap: 12px; }
.path-badge { align-self: flex-start; background: rgba(232, 78, 27, 0.08); color: var(--accent); font-size: 12.5px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.path-body h3 { color: var(--navy-deep); font-size: 24px; margin: 2px 0 0; letter-spacing: -0.3px; }
.path-body > p { color: var(--gray-500); line-height: 1.6; margin: 0; }
.path-features { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.path-features li { position: relative; padding-left: 28px; color: var(--gray-700); line-height: 1.5; }
.path-features li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--navy); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/14px no-repeat; }
@media (max-width: 860px) { .paths-grid { grid-template-columns: 1fr; } }

/* ===== Dobór (siatka ikon, port .edu-card z klimatyzacja.css) ===== */
.dobor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--gray-200); border: 1px solid var(--gray-200); }
.edu-card { background: var(--white); padding: 36px 32px; display: flex; flex-direction: column; gap: 14px; }
.edu-icon { width: 46px; height: 46px; border-radius: 10px; background: rgba(232, 78, 27, 0.08); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); }
.edu-icon svg { width: 24px; height: 24px; }
.edu-card h3 { font-size: 18px; font-weight: 700; color: var(--navy-deep); letter-spacing: -0.2px; }
.edu-card p { font-size: 14.5px; line-height: 1.6; color: var(--gray-700); }
@media (max-width: 980px) { .dobor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .dobor-grid { grid-template-columns: 1fr; } }

/* ===== Oś czasu: 4 kroki (override współdzielonego .proc-timeline z subpages.css) ===== */
.went-timeline { grid-template-columns: repeat(4, 1fr); }
/* Konektor środek-do-środka sąsiednich węzłów; białe obwódki węzłów (box-shadow)
   maskują linię pod nimi → równe odstępy między krokami (subpages ma 60%/80% pod 5 kolumn). */
.went-timeline li::after { left: 50%; width: 100%; }
@media (max-width: 760px) { .went-timeline { grid-template-columns: 1fr; } .went-timeline li::after { display: none; } }

/* ===== Od czego zależy cena (lista 2-kol, port .price-row z klimatyzacja.css) ===== */
.went-price-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; }
.price-row { display: grid; grid-template-columns: 38px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--gray-200); }
.went-price-list .price-row:nth-child(1), .went-price-list .price-row:nth-child(2) { padding-top: 0; }
.went-price-list .price-row:nth-last-child(1), .went-price-list .price-row:nth-last-child(2) { border-bottom: 0; }
.price-row .pn { font-size: 15px; font-weight: 700; color: var(--accent); padding-top: 2px; font-feature-settings: "tnum"; }
.price-row h4 { font-size: 16.5px; font-weight: 700; color: var(--navy-deep); margin-bottom: 5px; letter-spacing: -0.2px; }
.price-row p { font-size: 14px; line-height: 1.55; color: var(--gray-700); }
.went-price-cta { margin-top: 36px; }
@media (max-width: 760px) {
  .went-price-list { grid-template-columns: 1fr; gap: 0; }
  .went-price-list .price-row { padding: 22px 0; border-bottom: 1px solid var(--gray-200); }
  .went-price-list .price-row:first-child { padding-top: 0; }
  .went-price-list .price-row:last-child { border-bottom: 0; padding-bottom: 0; }
}

/* ===== Finansowanie i dotacje (port .finance-* z klimatyzacja.css + panel dotacji) ===== */
.finance-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.finance-card { background: var(--white); border: 1px solid var(--gray-200); padding: 40px 36px; display: flex; flex-direction: column; gap: 14px; }
.fin-logo { height: 52px; display: flex; align-items: center; margin-bottom: 6px; }
.fin-logo img { max-height: 30px; width: auto; display: block; }
.finance-card .tag { font-size: 11.5px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.finance-card h3 { font-size: 22px; font-weight: 700; color: var(--navy-deep); letter-spacing: -0.3px; }
.finance-card p { font-size: 15px; line-height: 1.62; color: var(--gray-700); }
/* Panel dotacji = gradient zieleń→turkus→błękit z kolorów logo Santiera (#007830 / #1862A6) — „czyste powietrze". */
.finance-card--dotacje { background: linear-gradient(135deg, #007830 0%, #178074 46%, #1862A6 100%); border-color: transparent; }
.finance-card--dotacje h3 { color: var(--white); }
.finance-card--dotacje p { color: rgba(255, 255, 255, 0.82); }
.finance-card--dotacje .tag { color: rgba(255, 255, 255, 0.92); }
.fin-logo-chip { align-self: flex-start; display: inline-flex; align-items: center; background: var(--white); border-radius: 8px; padding: 8px 13px; margin-bottom: 6px; }
.fin-logo-chip img { height: 36px; width: auto; display: block; }
@media (max-width: 760px) { .finance-grid { grid-template-columns: 1fr; } }

/* ===== Salon (port .salon-* z klimatyzacja.css) ===== */
.salon-showcase { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.salon-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.salon-image { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--gray-100); }
.salon-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.salon-chips { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 0; margin: 4px 0 32px; }
.salon-chips li { font-size: 12.5px; font-weight: 500; color: var(--gray-700); background: var(--gray-50); padding: 7px 13px; border-radius: 4px; letter-spacing: 0.15px; border: 1px solid var(--gray-200); transition: border-color 0.2s ease, color 0.2s ease; }
.salon-chips li:hover { border-color: var(--accent); color: var(--navy-deep); }
.salon-content { display: flex; flex-direction: column; align-items: flex-start; max-width: 560px; }
.salon-content .eyebrow { margin-bottom: 22px; }
.salon-showcase h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.6px; color: var(--navy-deep); margin-bottom: 18px; }
.salon-lead { font-size: 17px; line-height: 1.6; font-weight: 500; color: var(--navy-deep); margin-bottom: 18px; }
.salon-info { display: flex; flex-wrap: wrap; gap: 22px 36px; margin-bottom: 36px; padding: 24px 0; border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); width: 100%; }
.salon-info-item { display: flex; align-items: center; gap: 12px; }
.salon-info-icon { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; }
.salon-info-text { display: flex; flex-direction: column; font-size: 15px; font-weight: 600; color: var(--navy-deep); line-height: 1.4; text-decoration: none; }
.salon-info-link { transition: color 0.2s ease; align-self: center; }
.salon-info-link:hover { color: var(--accent); }
@media (max-width: 1024px) {
  .salon-grid { grid-template-columns: 1fr; gap: 36px; }
  .salon-image { aspect-ratio: 16 / 10; max-height: 480px; }
  .salon-content { max-width: 100%; }
  .salon-info { gap: 18px 32px; }
}
@media (max-width: 640px) {
  .salon-image { aspect-ratio: 4 / 3; }
  .salon-info { flex-direction: column; gap: 16px; padding: 22px 0; }
}

/* ===== Dlaczego Santier (port .why-* z klimatyzacja.css) ===== */
.stars { color: var(--accent); letter-spacing: 1.5px; line-height: 1; }
.why-split { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 64px; 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); }
.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); color: var(--white); 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); margin-bottom: 5px; letter-spacing: -0.2px; }
.why-reason p { font-size: 14px; line-height: 1.58; color: var(--gray-700); }
.why-media { position: relative; overflow: hidden; min-height: 400px; }
.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); border: 1px solid var(--gray-200); 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); 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); line-height: 1; letter-spacing: -1px; }
.why-rating .wr-meta { display: flex; flex-direction: column; gap: 4px; }
.why-rating .wr-meta .stars { font-size: 14px; }
.why-rating .wr-sub { font-size: 13px; color: var(--gray-700); }
@media (max-width: 1024px) {
  .why-split { grid-template-columns: 1fr; gap: 36px; }
  .why-media { max-width: 460px; order: -1; min-height: 320px; }
}

/* ===== Kanciaste — override zaokrągleń bazowych (zdjęcia/karty; inputy zostają zaokrąglone) ===== */
.salon-image,
.why-media,
.cta-card { border-radius: 0; }

/* ===== FAQ: intro ma przycisk po akapicie (jak Klimatyzacja) ===== */
.faq-intro p { margin-bottom: 24px; }
/* Załącznik formularza używa globalnego .file-upload z santier.css (spójnie ze stroną główną). */
