/* ===========================================
   SUBPAGES — współdzielony słownik podstron
   Używane przez: page-kariera, page-o-nas, page-klimatyzacja-domowa.
   Tokeny z :root w santier.css (--navy, --navy-deep, --gray-*, --accent...)
   =========================================== */

/* --- Kanoniczny system sekcji (1:1 z deploy/o-nas.html, linie 252-284) --- */
.section-light { background: var(--white); border-bottom: 1px solid var(--gray-200); }
.section-alt   { background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.section-dark  { background: var(--navy-deep); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ''; width: 32px; height: 2px; background: var(--accent); flex-shrink: 0; }

.section-head { max-width: 780px; margin: 0 0 56px; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  font-weight: 700;
  letter-spacing: -0.6px;
  color: var(--navy-deep);
  margin-bottom: 16px;
}
.section-head p { font-size: 17px; line-height: 1.65; color: var(--gray-700); margin: 0; }
.section-head.is-light h2 { color: var(--white); }
.section-head.is-light p { color: rgba(255,255,255,0.72); }
.section-head.is-light .eyebrow { color: rgba(255,255,255,0.92); }

.section-head.head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.head-center .eyebrow { justify-content: center; }

/* --- Hero podstrony (ported z o-nas.html, linie ~290-415) --- */
.page-hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  overflow: hidden;
  background: var(--navy-deep);
  display: flex;
  align-items: center;
}
.page-hero-bg { position: absolute; inset: 0; z-index: 0; }
.page-hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scaleX(-1); }
.page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(10,31,56,0.92) 0%, rgba(10,31,56,0.85) 32%, rgba(10,31,56,0.5) 44%, rgba(10,31,56,0) 60%),
    linear-gradient(180deg, rgba(6,18,38,0) 55%, rgba(6,18,38,0.4) 100%),
    linear-gradient(50deg in oklab,
      rgba(10,31,56,1) 0%, rgba(10,31,56,1) 22%, rgba(10,31,56,0.98) 25%, rgba(10,31,56,0.96) 28%,
      rgba(10,31,56,0.93) 31%, rgba(10,31,56,0.89) 34%, rgba(10,31,56,0.84) 37%, rgba(10,31,56,0.78) 40%,
      rgba(10,31,56,0.71) 43%, rgba(10,31,56,0.64) 46%, rgba(10,31,56,0.56) 49%, rgba(10,31,56,0.48) 52%,
      rgba(10,31,56,0.40) 55%, rgba(10,31,56,0.31) 58%, rgba(10,31,56,0.22) 61%, rgba(10,31,56,0.14) 64%,
      rgba(10,31,56,0.07) 67%, rgba(10,31,56,0.02) 70%, rgba(10,31,56,0) 73%);
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 58px 58px;
  -webkit-mask-image: radial-gradient(ellipse 55% 100% at 6% 50%, black 0%, transparent 62%);
  mask-image: radial-gradient(ellipse 55% 100% at 6% 50%, black 0%, transparent 62%);
}
.page-hero-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 120px 56px 80px 80px;
}
.page-hero-copy { width: 48%; max-width: 600px; }
.page-hero h1 {
  font-size: clamp(32px, 3.8vw, 50px);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.8px;
  color: var(--white);
  max-width: 640px;
  margin-bottom: 22px;
}
.page-hero .lead {
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.62;
  color: rgba(255,255,255,0.78);
  max-width: 580px;
  margin-bottom: 34px;
}
.page-hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }

/* --- Pastylka social proof (1:1 z deploy/klimatyzacja-domowa.html, linie 385-413) --- */
.hero-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 34px;
  background: var(--white);
  border-radius: 999px;
  padding: 7px 22px 7px 7px;
  box-shadow: 0 18px 44px -18px rgba(0,0,0,0.55);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  text-decoration: none;
}
.hero-pill:hover { box-shadow: 0 22px 50px -18px rgba(0,0,0,0.62); transform: translateY(-1px); }
.hero-pill .pill-rating {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.hero-pill .pill-rating .star { color: var(--accent); font-size: 13px; }
.hero-pill .pill-item { font-size: 14px; color: var(--navy-deep); white-space: nowrap; }
.hero-pill .pill-item strong { font-weight: 700; }
.hero-pill .pill-sep { width: 1px; height: 18px; background: var(--gray-300); }

/* --- Breadcrumbs w hero (współdzielone: O nas, Klimatyzacja) --- */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 28px;
}
.breadcrumbs a { color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs .sep { color: rgba(255,255,255,0.32); }
.breadcrumbs [aria-current] { color: var(--accent); }

/* --- Lista korzyści w sekcji CTA granatowej (współdzielone: O nas, Klimatyzacja) --- */
.cta-benefits { list-style: none; padding: 0; margin: 0 0 auto; display: flex; flex-direction: column; gap: 16px; }
.cta-benefits li { display: grid; grid-template-columns: 26px 1fr; gap: 14px; align-items: start; }
.cta-benefits .chk { width: 26px; height: 26px; border-radius: 50%; background: rgba(232,78,27,0.14); display: inline-flex; align-items: center; justify-content: center; color: var(--accent); margin-top: 1px; }
.cta-benefits .chk svg { width: 15px; height: 15px; }
.cta-benefits strong { display: block; font-size: 15px; font-weight: 700; color: var(--white); margin-bottom: 2px; }
.cta-benefits span.txt { font-size: 13.5px; line-height: 1.5; color: rgba(255,255,255,0.6); }

@media (max-width: 1024px) {
  .page-hero { align-items: flex-end; }
  .page-hero-inner { padding: 120px 28px 56px; }
  .page-hero-copy { width: 100%; max-width: 600px; }
  .page-hero-overlay { background: linear-gradient(180deg, rgba(10,31,56,0.42) 0%, rgba(10,31,56,0.78) 56%, rgba(10,31,56,0.97) 100%); }
  .page-hero::after { opacity: 0.5; }
}
@media (max-width: 640px) {
  .page-hero-inner { padding: 104px 20px 48px; }
  .page-hero-actions { flex-direction: column; align-items: stretch; }
  .page-hero-actions .btn-primary, .page-hero-actions .btn-secondary { justify-content: center; }
}

/* ===========================================
   PROCES / timeline (współdzielony — Kariera, O nas)
   =========================================== */
.proc-timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.proc-timeline li { position: relative; text-align: center; padding-top: 4px; }
.proc-num { position: relative; z-index: 1; display: inline-flex; width: 52px; height: 52px; align-items: center; justify-content: center; border-radius: 999px; background: var(--navy, #0E2A4A); color: #fff; font-weight: 700; font-size: 19px; box-shadow: 0 0 0 6px var(--white, #fff); }
.proc-num-final { background: var(--accent, #E84E1B); }
.proc-num-final svg { width: 24px; height: 24px; }
.proc-timeline h3 { margin: 14px 0 5px; font-size: 16px; color: var(--navy-deep, #0a1f38); }
.proc-timeline p { margin: 0; color: #5a6677; font-size: 14px; line-height: 1.5; }
.proc-timeline li::after { content: ""; position: absolute; top: 30px; left: 60%; width: 80%; height: 2px; background: var(--gray-200, #e6e9ef); z-index: 0; }
.proc-timeline li:last-child::after { display: none; }
@media (max-width: 760px) { .proc-timeline { grid-template-columns: 1fr; gap: 24px; } .proc-timeline li::after { display: none; } }

/* ===========================================
   FAQ — układ jak deploy/klimatyzacja-domowa.html (.faq-wrap)
   =========================================== */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 56px; align-items: start; }
.faq-intro h2 { font-size: clamp(28px, 3vw, 40px); line-height: 1.12; font-weight: 700; letter-spacing: -0.6px; color: var(--navy-deep, #0a1f38); margin-bottom: 16px; }
.faq-intro p { font-size: 16px; line-height: 1.65; color: var(--gray-700, #3A4252); margin: 0; }
.faq-intro p a { color: var(--accent, #E84E1B); text-decoration: none; }
.faq-list { border-top: 1px solid var(--gray-200, #e6e9ef); }
.faq-item { border-bottom: 1px solid var(--gray-200, #e6e9ef); }
.faq-item summary { list-style: none; cursor: pointer; padding: 22px 44px 22px 0; position: relative; font-size: 16.5px; font-weight: 600; color: var(--navy-deep, #0a1f38); line-height: 1.4; transition: color 0.2s ease; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--accent, #E84E1B); }
.faq-item summary::after { content: ''; position: absolute; right: 6px; top: 26px; width: 11px; height: 11px; border-right: 2px solid var(--accent, #E84E1B); border-bottom: 2px solid var(--accent, #E84E1B); transform: rotate(45deg); transition: transform 0.25s ease; }
.faq-item[open] summary::after { transform: rotate(225deg); top: 30px; }
.faq-item[open] summary { color: var(--accent, #E84E1B); }
.faq-answer { padding: 0 44px 24px 0; }
.faq-answer p { font-size: 15px; line-height: 1.65; color: var(--gray-700, #3A4252); margin: 0; }
.faq-answer p + p { margin-top: 12px; }
@media (max-width: 760px) { .faq-wrap { grid-template-columns: 1fr; gap: 32px; } }
