/* ============================================================
 * home.css — sekcje wyłącznie strony głównej: hero, pasek
 * statystyk, mapa/impact, oś czasu, stepper, kompetencje,
 * przed/po, FAQ. Ładowane tylko na froncie (inc/enqueue.php).
 * ============================================================ */

/* ═══ HERO — pełnoekranowe zdjęcie + lekka nakładka ════════ */
.hero {
  margin-top: var(--header-h);
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center 40%; background-repeat: no-repeat; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
/* Nakładka liczona pod kontrast, nie „na oko”. Poprzednia miała w środku
   5–8% granatu i biały tekst na jasnym wnętrzu biura wychodził poniżej progu:
   nagłówek 1,77:1, opis 1,86:1 (5. percentyl pikseli pod samym tekstem).
   Teraz pion zaciemnia dolne dwie trzecie, gdzie stoi tekst, a poziomy pas
   od lewej dokłada tło pod kolumną treści i wygasa przed prawą krawędzią,
   żeby zdjęcie nadal było widać. Po zmianie: nagłówek 7,05:1, opis 8,27:1,
   nadkreślenie 6,45:1 — wszystko z zapasem ponad WCAG AA.
   Przy zmianie zdjęcia w hero PRZELICZ to ponownie: wynik zależy od tego,
   jak jasne jest zdjęcie w miejscu, gdzie pada tekst. */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(0, 52, 103, .60) 0%,
      rgba(0, 52, 103, .20) 55%,
      rgba(0, 52, 103, 0) 85%),
    linear-gradient(180deg,
      rgba(0, 52, 103, .32) 0%,
      rgba(0, 52, 103, .22) 28%,
      rgba(0, 52, 103, .58) 44%,
      rgba(0, 52, 103, .80) 70%,
      rgba(0, 52, 103, .93) 100%);
}
.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(232, 146, 46, .04), transparent 40%, rgba(76, 176, 80, .03));
}
.hero-content { position: relative; z-index: 2; width: 100%; padding-bottom: 0; }
/* UWAGA: jawne padding-left/right MUSZĄ być po skrócie `padding`,
   inaczej skrót zeruje boczny padding kontenera (znany błąd makiety). */
.hero-main {
  padding: 0 0 clamp(48px, 5vw, 72px);
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: clamp(20px, 4vw, 48px);
  padding-right: clamp(20px, 4vw, 48px);
}
/* Nadkreślenie jest BIAŁE, nie pomarańczowe. Przy 11 px pomarańcz `--leaf-orange`
   na zdjęciu daje najwyżej 2,98:1, a wymagane jest 4,5:1 — i nie da się tego
   nadrobić nakładką bez zaciemnienia zdjęcia niemal do czerni. Marka zostaje
   w kresce przed napisem, która jest ozdobnikiem i progu nie musi spełniać. */
.hero-overline {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255, 255, 255, .95);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-overline::before { content: ''; width: 40px; height: 2px; background: var(--leaf-orange); }
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -.02em;
  max-width: 800px;
  text-shadow: 0 2px 40px rgba(0, 52, 103, .2);
}
/* Jaśniejszy odcień pomarańczu TYLKO w hero: `--leaf-orange` na zdjęciu dawał
   2,65:1 przy wymaganych 3:1 dla dużego tekstu. #F2A94E to 3,27:1 i nadal
   czytelnie ten sam akcent marki. Nie ruszaj `--leaf-orange` globalnie —
   na jednolitych tłach w reszcie motywu spełnia próg. */
.hero-title em { font-style: italic; font-weight: 600; color: #F2A94E; }
/* .7 krycia przy wadze 300 dawało 1,86:1 na jasnym fragmencie zdjęcia.
   Nad zdjęciem tekst musi być kryjący i nie cieńszy niż 400 — wyjątek od
   domyślnej wagi 300 w reszcie motywu, gdzie tło jest jednolite. */
.hero-desc {
  font-size: clamp(.95rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, .92);
  max-width: 540px;
  line-height: 1.8;
  font-weight: 400;
  margin-bottom: 32px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ═══ PASEK STATYSTYK (hero-bar) ═══════════════════════════ */
.hero-bar {
  position: relative;
  z-index: 2;
  background: rgba(0, 52, 103, .9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, .06);
}
.hero-bar-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.hb-item { padding: clamp(22px, 3vw, 32px) clamp(16px, 2vw, 24px); text-align: center; position: relative; }
.hb-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0; top: 25%;
  height: 50%; width: 1px;
  background: rgba(255, 255, 255, .1);
}
.hb-num { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 700; line-height: 1; margin-bottom: 5px; color: var(--white); }
.hb-label { font-size: .76rem; color: rgba(255, 255, 255, .45); font-weight: 300; }

/* ═══ MAPA + WPŁYW (impact) ════════════════════════════════ */
.impact { background: var(--teal); padding: clamp(80px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.impact::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76, 176, 80, .06), transparent 50%, rgba(232, 146, 46, .05));
}
.impact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(48px, 6vw, 80px); align-items: center; position: relative; z-index: 1; }
.impact-map { position: relative; display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 380px; }
.impact-map svg { width: 100%; max-width: 420px; height: auto; }
.voiv { cursor: pointer; transition: fill-opacity .3s, stroke-width .3s, fill .3s; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .6; } }
.map-dot { fill: var(--leaf-orange); filter: drop-shadow(0 0 8px rgba(232, 146, 46, .5)); animation: pulse 2.5s ease-in-out infinite; }
.map-dot--green { fill: var(--leaf-green); filter: drop-shadow(0 0 8px rgba(76, 176, 80, .5)); }
.map-dot--blue { fill: var(--leaf-blue); filter: drop-shadow(0 0 8px rgba(59, 143, 212, .5)); }
.map-dot--purple { fill: var(--leaf-purple); filter: drop-shadow(0 0 8px rgba(123, 94, 167, .5)); }

/* Mapa — tooltip + legenda (graceful degradation gdy brak GeoJSON) */
.map-tooltip {
  position: fixed;
  pointer-events: none;
  background: var(--primary-dark);
  color: #fff;
  padding: 8px 12px;
  border-radius: var(--r);
  font-size: .78rem;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transition: opacity .15s;
  z-index: 200;
  white-space: nowrap;
}
.map-tooltip.show { opacity: 1; }
.map-tooltip strong { display: block; font-weight: 600; }
.map-legend {
  list-style: none;
  width: 100%;
  max-width: 420px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 18px;
}
.map-legend[hidden] { display: none; }
.map-legend a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .82rem;
  color: rgba(255, 255, 255, .7);
  padding: 6px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  transition: color .2s;
}
.map-legend a:hover { color: #fff; }
.map-legend .dot { width: 9px; height: 9px; border-radius: 2px; background: var(--leaf-orange); flex-shrink: 0; }
.map-legend .cnt { margin-left: auto; color: rgba(255, 255, 255, .4); font-size: .76rem; }

.impact-content .sec-label { color: var(--leaf-orange); }
.impact-content .sec-title { color: var(--white); }
.impact-content .sec-desc { color: rgba(255, 255, 255, .62); }
.impact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 36px; }
.impact-card { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r-md); padding: 24px; transition: all .3s; }
.impact-card:hover { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); transform: translateY(-2px); }
.ic-num { font-family: var(--serif); font-size: clamp(2rem, 3vw, 2.8rem); font-weight: 700; line-height: 1; margin-bottom: 6px; color: var(--white); }
.ic-label { font-size: .82rem; color: rgba(255, 255, 255, .5); font-weight: 300; }
.ic-sub { font-size: .68rem; color: rgba(255, 255, 255, .25); margin-top: 3px; }
.ic-bar { height: 3px; border-radius: 2px; margin-top: 12px; width: 50%; transition: width .6s var(--ease); }
.impact-card:hover .ic-bar { width: 80%; }
.ic-bar--o { background: var(--leaf-orange); }
.ic-bar--g { background: var(--leaf-green); }
.ic-bar--b { background: var(--leaf-blue); }
.ic-bar--y { background: var(--leaf-yellow); }

/* ═══ OŚ CZASU ═════════════════════════════════════════════ */
.timeline { background: var(--cream-warm); position: relative; }
.timeline-header { text-align: center; margin-bottom: clamp(48px, 6vw, 72px); }
.timeline-header .sec-label { justify-content: center; }
.timeline-header .sec-desc { margin: 0 auto; }
.tl-track { position: relative; max-width: 800px; margin: 0 auto; }
.tl-line {
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--leaf-orange), var(--teal), var(--leaf-green));
  border-radius: 1px;
  transform: translateX(-50%);
}
.tl-item { display: flex; align-items: flex-start; gap: 0; margin-bottom: clamp(32px, 4vw, 48px); position: relative; }
.tl-item:last-child { margin-bottom: 0; }
.tl-item:nth-child(odd) { flex-direction: row; }
.tl-item:nth-child(even) { flex-direction: row-reverse; }
.tl-content {
  width: calc(50% - 28px);
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--r-md);
  padding: 24px;
  transition: all .3s;
}
.tl-content:hover { box-shadow: 0 12px 40px rgba(0, 52, 103, .06); transform: translateY(-2px); }
.tl-dot {
  position: absolute;
  left: 50%; top: 28px;
  width: 16px; height: 16px;
  border-radius: 50%;
  border: 3px solid var(--white);
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 3px var(--teal);
  background: var(--leaf-orange);
}
.tl-item:nth-child(1) .tl-dot { background: var(--leaf-orange); }
.tl-item:nth-child(2) .tl-dot { background: var(--teal); }
.tl-item:nth-child(3) .tl-dot { background: var(--leaf-green); }
.tl-item:nth-child(4) .tl-dot { background: var(--leaf-blue); }
.tl-year { font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--teal); margin-bottom: 6px; }
.tl-title { font-weight: 600; font-size: .92rem; color: var(--text); margin-bottom: 6px; }
.tl-desc { font-size: .84rem; color: var(--text-light); font-weight: 300; line-height: 1.7; }
/* Reveal osi czasu na scroll */
.tl-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.tl-reveal.is-visible { opacity: 1; transform: none; }

/* ═══ JAK DOŁĄCZYĆ — stepper ═══════════════════════════════ */
.stepper { background: var(--teal); padding: clamp(80px, 10vw, 120px) 0; position: relative; overflow: hidden; }
.stepper::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(76, 176, 80, .05), transparent 50%, rgba(232, 146, 46, .04)); }
.stepper-header { text-align: center; margin-bottom: clamp(48px, 6vw, 64px); position: relative; }
.stepper-header .sec-label { justify-content: center; color: var(--leaf-orange); }
.stepper-header .sec-title { color: var(--white); }
.stepper-header .sec-desc { color: rgba(255, 255, 255, .62); margin: 0 auto; }
.stepper-track { display: flex; gap: 0; position: relative; max-width: 960px; margin: 0 auto; }
.stepper-line { position: absolute; top: 36px; left: calc(12.5% + 16px); right: calc(12.5% + 16px); height: 2px; background: rgba(255, 255, 255, .1); }
.stepper-line-fill { height: 100%; background: linear-gradient(90deg, var(--leaf-orange), var(--leaf-green), var(--leaf-blue), var(--leaf-purple)); border-radius: 1px; width: 0%; transition: width 1.5s var(--ease); }
.stepper-line-fill.active { width: 100%; }
.step { flex: 1; text-align: center; position: relative; z-index: 1; cursor: pointer; background: none; border: 0; font-family: var(--sans); color: inherit; padding: 0; }
.step-circle {
  width: 72px; height: 72px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 1.4rem; font-weight: 700;
  transition: all .4s var(--ease);
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .4);
}
.step.active .step-circle { background: var(--leaf-orange); border-color: var(--leaf-orange); color: var(--primary); transform: scale(1.1); box-shadow: 0 8px 28px rgba(232, 146, 46, .3); }
.step:nth-child(2).active .step-circle { background: var(--leaf-green); border-color: var(--leaf-green); box-shadow: 0 8px 28px rgba(76, 176, 80, .3); }
.step:nth-child(3).active .step-circle { background: var(--leaf-blue); border-color: var(--leaf-blue); box-shadow: 0 8px 28px rgba(59, 143, 212, .3); }
.step:nth-child(4).active .step-circle { background: var(--leaf-purple); border-color: var(--leaf-purple); box-shadow: 0 8px 28px rgba(123, 94, 167, .3); }
/* Krok nieaktywny nadal musi być czytelny: .35 dawało 2,81:1, .2 tylko 1,80:1
   na granacie. Różnica między krokiem aktywnym a resztą zostaje, tylko oba
   końce podniesione ponad próg (.62 = 5,70:1, .55 = 4,81:1). */
.step-title { font-size: .88rem; font-weight: 600; color: rgba(255, 255, 255, .62); margin-bottom: 4px; transition: color .3s; }
.step.active .step-title { color: var(--white); }
.step-sub { font-size: .76rem; color: rgba(255, 255, 255, .55); font-weight: 300; transition: color .3s; max-width: 160px; margin: 0 auto; }
.step.active .step-sub { color: rgba(255, 255, 255, .85); }
.stepper-detail { max-width: 560px; margin: 40px auto 0; text-align: center; min-height: 80px; position: relative; }
.stepper-detail p { font-size: .95rem; color: rgba(255, 255, 255, .6); font-weight: 300; line-height: 1.8; animation: fadeUp .5s ease both; }

/* ═══ MAPA KOMPETENCJI ═════════════════════════════════════ */
.skills { background: var(--cream); position: relative; }
.skills-header { text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.skills-header .sec-label { justify-content: center; }
.skills-header .sec-desc { margin: 0 auto; }
.skills-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 960px; margin: 0 auto; }
.skill-card { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-md); padding: 28px 20px; text-align: center; transition: all .4s var(--ease); cursor: default; position: relative; overflow: hidden; }
.skill-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; transition: opacity .3s; opacity: 0; background: var(--leaf-orange); }
.skill-card:hover { transform: translateY(-6px); box-shadow: 0 16px 48px rgba(0, 52, 103, .08); }
.skill-card:hover::before { opacity: 1; }
.skill-card:nth-child(1)::before { background: var(--leaf-orange); }
.skill-card:nth-child(2)::before { background: var(--leaf-green); }
.skill-card:nth-child(3)::before { background: var(--leaf-blue); }
.skill-card:nth-child(4)::before { background: var(--leaf-purple); }
.skill-card:nth-child(5)::before { background: var(--leaf-pink); }
.skill-card:nth-child(6)::before { background: var(--leaf-yellow); }
.skill-card:nth-child(7)::before { background: var(--leaf-green); }
.skill-card:nth-child(8)::before { background: var(--leaf-orange); }
.skill-icon { width: 48px; height: 48px; border-radius: 50%; margin: 0 auto 14px; display: flex; align-items: center; justify-content: center; background: rgba(232, 146, 46, .1); color: var(--leaf-orange); }
.skill-card:nth-child(1) .skill-icon { background: rgba(232, 146, 46, .1); color: var(--leaf-orange); }
.skill-card:nth-child(2) .skill-icon { background: rgba(76, 176, 80, .1); color: var(--leaf-green); }
.skill-card:nth-child(3) .skill-icon { background: rgba(59, 143, 212, .1); color: var(--leaf-blue); }
.skill-card:nth-child(4) .skill-icon { background: rgba(123, 94, 167, .1); color: var(--leaf-purple); }
.skill-card:nth-child(5) .skill-icon { background: rgba(212, 91, 138, .1); color: var(--leaf-pink); }
.skill-card:nth-child(6) .skill-icon { background: rgba(242, 201, 76, .12); color: #C9A020; }
.skill-card:nth-child(7) .skill-icon { background: rgba(76, 176, 80, .1); color: var(--leaf-green); }
.skill-card:nth-child(8) .skill-icon { background: rgba(232, 146, 46, .1); color: var(--leaf-orange); }
.skill-name { font-size: .88rem; font-weight: 600; color: var(--teal); margin-bottom: 4px; }
.skill-desc { font-size: .76rem; color: var(--text-light); font-weight: 300; line-height: 1.5; }
.skill-bar-wrap { margin-top: 12px; height: 4px; background: var(--border-light); border-radius: 2px; overflow: hidden; }
/* Liczba pod paskiem. Wcześniej procent był wyłącznie w atrybucie sterującym
   szerokością, więc informacja, która jest sensem tej sekcji, istniała tylko
   jako długość kreski. */
.skill-percent { margin-top: 7px; font-size: .72rem; font-weight: 600; color: var(--text-light); font-variant-numeric: tabular-nums; }
.skill-bar { height: 100%; border-radius: 2px; width: 0%; transition: width 1.2s var(--ease); background: var(--leaf-orange); }
.skill-card:nth-child(1) .skill-bar { background: var(--leaf-orange); }
.skill-card:nth-child(2) .skill-bar { background: var(--leaf-green); }
.skill-card:nth-child(3) .skill-bar { background: var(--leaf-blue); }
.skill-card:nth-child(4) .skill-bar { background: var(--leaf-purple); }
.skill-card:nth-child(5) .skill-bar { background: var(--leaf-pink); }
.skill-card:nth-child(6) .skill-bar { background: var(--leaf-yellow); }
.skill-card:nth-child(7) .skill-bar { background: var(--leaf-green); }
.skill-card:nth-child(8) .skill-bar { background: var(--leaf-orange); }

/* ═══ PRZED / PO ═══════════════════════════════════════════ */
.beforeafter { background: var(--white); }
.ba-header { text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.ba-header .sec-label { justify-content: center; }
.ba-header .sec-desc { margin: 0 auto; }
.ba-grid { display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0; max-width: 800px; margin: 0 auto; align-items: start; }
.ba-col { display: flex; flex-direction: column; gap: 14px; }
.ba-col-title { font-family: var(--serif); font-size: 1.1rem; font-weight: 600; text-align: center; padding: 14px; border-radius: var(--r-md); margin-bottom: 4px; }
.ba-col--before .ba-col-title { background: rgba(212, 91, 79, .06); color: #B84234; }
.ba-col--after .ba-col-title { background: rgba(76, 176, 80, .06); color: #2E8B33; }
.ba-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: var(--cream); border-radius: var(--r-md); transition: all .3s; }
.ba-item:hover { transform: translateX(4px); box-shadow: 0 4px 16px rgba(0, 0, 0, .04); }
.ba-col--after .ba-item:hover { transform: translateX(-4px); }
.ba-val { font-family: var(--serif); font-size: 1.4rem; font-weight: 700; min-width: 48px; text-align: center; }
.ba-col--before .ba-val { color: #B84234; }
.ba-col--after .ba-val { color: #2E8B33; }
.ba-label { font-size: .84rem; color: var(--text-mid); font-weight: 300; line-height: 1.4; }
.ba-divider { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding-top: 60px; }
.ba-arrow { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); display: flex; align-items: center; justify-content: center; }
.ba-arrow svg { width: 14px; height: 14px; stroke: white; fill: none; stroke-width: 2; stroke-linecap: round; }
.ba-vs { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; color: var(--text-muted); }

/* ═══ FAQ ══════════════════════════════════════════════════ */
.faq { background: var(--cream-warm); border-top: 1px solid var(--border-light); }
.faq-header { text-align: center; margin-bottom: clamp(40px, 5vw, 56px); }
.faq-header .sec-label { justify-content: center; }
.faq-header .sec-desc { margin: 0 auto; }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 8px; }
.faq-item { background: var(--white); border: 1px solid var(--border-light); border-radius: var(--r-md); overflow: hidden; transition: all .3s; }
.faq-item:hover { border-color: var(--border); }
.faq-item.open { border-color: var(--teal); box-shadow: 0 4px 20px rgba(0, 52, 103, .06); }
.faq-q { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; cursor: pointer; gap: 16px; -webkit-user-select: none; user-select: none; width: 100%; background: none; border: 0; text-align: left; font-family: var(--sans); }
.faq-q-text { font-size: .92rem; font-weight: 500; color: var(--text); line-height: 1.4; }
.faq-item.open .faq-q-text { color: var(--teal); }
.faq-toggle { width: 28px; height: 28px; border-radius: 50%; background: var(--cream); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all .3s; }
.faq-item.open .faq-toggle { background: var(--teal); transform: rotate(45deg); }
.faq-toggle svg { width: 12px; height: 12px; stroke: var(--text-muted); stroke-width: 2; transition: stroke .3s; }
.faq-item.open .faq-toggle svg { stroke: white; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-item.open .faq-a { max-height: 600px; }
.faq-a-inner { padding: 0 22px 20px; font-size: .88rem; color: var(--text-light); font-weight: 300; line-height: 1.8; border-top: 1px solid var(--border-light); padding-top: 16px; margin: 0 22px; }
.faq-a-inner p { margin-bottom: .75em; }
.faq-a-inner p:last-child { margin-bottom: 0; }

/* ═══ RESPONSIVE (strona główna) ═══════════════════════════ */
@media (max-width: 1024px) {
  .hero-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .hb-item:nth-child(2)::after { display: none; }
  .impact-inner { grid-template-columns: 1fr; }
  .impact-map { order: -1; margin-bottom: 16px; }
  .impact-map svg { max-width: 320px; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
  .map-legend { grid-template-columns: 1fr; }
  .tl-line, .tl-dot { display: none; }
  .tl-item, .tl-item:nth-child(even) { flex-direction: column; align-items: stretch; }
  .tl-content { width: 100%; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
  .ba-grid { grid-template-columns: 1fr; gap: 16px; }
  .ba-divider { flex-direction: row; padding-top: 0; }
  .stepper-track { flex-wrap: wrap; gap: 8px; }
  .stepper-track .step { min-width: 45%; }
  .stepper-line { display: none; }
}
@media (max-width: 768px) {
  .hero { min-height: 80vh; }
  .impact-grid { grid-template-columns: 1fr 1fr; }
}
