/* WSHE Tychy — arkusz główny.
   Tokeny 1:1 z handoff/tokens.css (jedyne źródło kolorów i typografii).
   Klasy js-* są niewidoczne dla tego arkusza — służą wyłącznie skryptom i GTM. */

:root {
  --brand-900: #16385B;
  --brand-800: #215387;
  --brand-600: #2B6CB0;
  --brand-400: #159BD8; /* tylko grafika — biały tekst na tym tle ma 3,2:1 */
  --brand-100: #E8F1F8;
  --accent-500: #FFA500; /* nigdy jako kolor tekstu (2,0:1 na białym) */
  --accent-600: #E08E00;
  --accent-100: #FFEFD1;
  --ink: #12293F;
  --bg: #F7F9FB;
  --surface: #FFFFFF;
  --text-2: #566B80;
  --line: #D8E1EA;
  --mono: "Geist Mono", ui-monospace, monospace;
  --sans: "Geist", "Geist-fallback", system-ui, sans-serif;
  --display: "Space Grotesk", var(--sans);

  --container: 1200px;
  --radius-card: 4px;
  --radius-media: 20px;
  --header-h: 76px;       /* zarezerwowane wysokości = brak CLS */
  --utility-h: 34px;
  --fomo-h: 40px;
  --stickybar-h: 64px;
}

/* ---------- Baza ---------- */

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
  overflow-x: clip; /* strona nigdy nie scrolluje w poziomie — szerokie tabele mają własne .c-tablewrap */
}

.c-btn, .c-btn-round { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--display);
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0 0 0.5em;
}
h2 { font-size: 34px; }
h3 { font-size: 21px; }

img { max-width: 100%; height: auto; }
::selection { background: var(--accent-100); }

a { color: var(--brand-600); text-underline-offset: 3px; }

/* Focus (brief §10): 2px granat + 2px offset + biała obwódka wewnętrzna. */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--brand-900);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fff;
  border-radius: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

.c-container { max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.c-section { padding-block: 64px; }
.c-section--surface { background: var(--surface); }
.c-section--muted h2 { color: var(--text-2); }

.u-visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.c-skip-link {
  position: absolute; left: -9999px;
  background: var(--accent-500); color: var(--ink);
  padding: 12px 20px; font-weight: 700; border-radius: 100px;
}
.c-skip-link:focus-visible { position: fixed; left: 16px; top: 16px; z-index: 200; }

.c-eyebrow {
  font-family: var(--mono);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-600); margin: 0 0 10px;
}

.c-todo-note { color: var(--text-2); font-size: 15px; border-left: 3px solid var(--line); padding-left: 14px; }

/* ---------- Przyciski ---------- */

.c-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 22px;
  font: 600 15px/1 var(--sans);
  border-radius: var(--radius-card); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
}
.c-btn--primary { background: var(--accent-500); color: var(--ink); font-weight: 700; }
.c-btn--primary:hover { background: var(--accent-600); }
.c-btn--ghost { background: transparent; color: var(--brand-800); border-color: var(--brand-800); }
.c-btn--ghost:hover { background: var(--brand-100); }
.c-btn--pill { border-radius: 100px; }
.c-btn--block { width: 100%; }

/* ---------- Utility bar ---------- */

.c-utility { background: var(--brand-900); min-height: var(--utility-h); padding-block: 7px; }
.c-utility__inner { display: flex; align-items: center; justify-content: flex-end; gap: 20px; flex-wrap: wrap; }
.c-utility__label {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: #7FA3C6;
}
.c-utility__logos {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border-radius: 100px; padding: 3px 10px;
}
.c-utility__logos img { height: 15px; width: auto; display: block; }
.c-utility__divider { width: 1px; height: 12px; background: var(--line); }
.c-utility__link { font-size: 12.5px; font-weight: 600; color: #BBD3E8; text-decoration: none; padding-block: 8px; display: inline-block; }
.c-utility__link:hover { color: #fff; }

/* ---------- Pasek FOMO ---------- */

.c-fomo {
  background: var(--accent-100); border-bottom: 1px solid #F0D9A8;
  min-height: var(--fomo-h); padding-block: 9px; font-size: 13.5px;
}
.c-fomo__inner { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; text-align: center; }
.c-fomo__label { text-transform: uppercase; letter-spacing: 0.04em; color: #8a5400; }
.c-fomo__strong { color: #8a5400; }

/* ---------- Header ---------- */

.c-header {
  background: var(--surface); border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 20; min-height: var(--header-h);
}
.c-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.c-header__lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.c-header__lockup img { height: 44px; width: auto; }
/* Logotypy partnerów w menu (decyzja klienta 2026-09-03) — chowane, gdy brakuje miejsca przy nawigacji. */
.c-header__partners { display: flex; align-items: center; gap: 12px; margin-left: 16px; padding-left: 16px; border-left: 1px solid var(--line); }
.c-header__partners img { height: 26px; width: auto; display: block; }
@media (max-width: 1200px) { .c-header__partners { display: none; } }
.c-header__filia {
  border-left: 1px solid var(--line); padding-left: 10px;
  font-size: 13px; color: var(--text-2); line-height: 1.25; white-space: nowrap;
}
.c-banner { position: relative; }
.c-header__nav { display: flex; gap: 14px; align-items: center; margin-left: auto; font-size: 14px; font-weight: 600; }
.c-header__nav li { list-style: none; } /* pozycje z wp_nav_menu */
.c-header__nav > a, .c-header__nav li > a { color: var(--ink); text-decoration: none; white-space: nowrap; padding-block: 10px; }
.c-header__nav > a:hover, .c-header__nav li > a:hover { color: var(--brand-600); }
.c-header__search { position: relative; display: flex; align-items: center; }
.c-header__search-icon { position: absolute; left: 12px; pointer-events: none; color: var(--text-2); }
.c-header__search input {
  width: 170px; padding: 9px 14px 9px 32px;
  border: 1px solid var(--line); border-radius: 100px;
  font: 400 13px var(--sans);
}
.c-header__burger { display: none; background: none; border: 1px solid var(--line); border-radius: var(--radius-card); padding: 10px; color: var(--ink); }

@media (max-width: 960px) {
  .c-header__burger { display: inline-flex; margin-left: auto; }
  .c-header__nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); padding: 12px 24px 20px;
  }
  .c-header__nav.is-open { display: flex; }
  .c-header__nav > a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .c-header__search { margin-block: 12px; }
  .c-header__search input { width: 100%; }
}

/* ---------- Pigułki (hero głównej) ---------- */

.c-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; padding: 10px 18px; border-radius: 100px;
}
.c-pill--brand { background: var(--brand-100); color: var(--brand-800); }
.c-pill--accent { background: var(--accent-100); color: var(--ink); }

/* ---------- Karty specjalności ---------- */

.c-sp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.c-sp-card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius-card); padding: 18px; display: flex; flex-direction: column; gap: 8px;
}
.c-sp-card:hover { border-color: var(--brand-400); }
.c-sp-card__img { border-radius: var(--radius-card); aspect-ratio: 3/2; object-fit: cover; }
.c-sp-card h3 { margin: 6px 0 0; font-size: 18px; }
.c-sp-card h3 a { color: var(--ink); text-decoration: none; }
.c-sp-card h3 a:hover { color: var(--brand-600); }
.c-sp-card__zawod { margin: 0; font-size: 14px; color: var(--text-2); }

/* ---------- Strona specjalności ---------- */

.c-breadcrumbs { padding-block: 14px; font-size: 13.5px; }
.c-breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto; padding: 0 24px; max-width: var(--container); }
.c-breadcrumbs li + li::before { content: "›"; margin-right: 8px; color: var(--text-2); }
.c-breadcrumbs a { color: var(--text-2); }

.c-sp-hero { background: var(--surface); padding-block: 48px; }
.c-sp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.c-sp-hero__title { font-size: clamp(32px, 4vw, 48px); }
.c-sp-hero__zawod { font-weight: 700; color: var(--brand-800); margin: 4px 0 0; }
.c-sp-hero__lead { color: var(--text-2); max-width: 60ch; margin-top: 14px; }
.c-sp-hero__cta { display: flex; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.c-sp-hero__img { border-radius: var(--radius-media); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
@media (max-width: 800px) { .c-sp-hero__grid { grid-template-columns: 1fr; } }

.c-sp-facts { border-block: 1px solid var(--line); background: var(--surface); }
.c-sp-facts__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 0; }
.c-fact { padding: 18px 16px; border-left: 1px solid var(--line); }
.c-fact:first-child { border-left: 0; }
.c-fact__label {
  display: block; font-family: var(--mono); font-size: 11px;
  letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-2);
}
.c-fact__value { font-weight: 700; }

.c-subnav { position: sticky; top: var(--header-h); z-index: 15; background: var(--bg); border-bottom: 1px solid var(--line); }
.c-subnav__inner { display: flex; gap: 20px; overflow-x: auto; padding-block: 12px; font-size: 14px; font-weight: 600; }
.c-subnav a { color: var(--text-2); text-decoration: none; white-space: nowrap; padding-block: 10px; }
.c-subnav a:hover, .c-subnav a.is-active { color: var(--brand-600); }

.c-sp-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.c-sp-layout > * { min-width: 0; } /* tabele w kolumnie 1fr nie mogą rozpychać gridu */
@media (max-width: 960px) { .c-sp-layout { grid-template-columns: 1fr; } }

.c-checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.c-checklist li { padding-left: 28px; position: relative; }
.c-checklist li::before {
  content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 14px;
  border-radius: 50%; background: var(--brand-100);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232B6CB0' stroke-width='3'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-size: 9px; background-position: center; background-repeat: no-repeat;
}

.c-cards-2col { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.c-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; }
.c-card:hover { border-color: var(--brand-400); }
.c-card h3 { font-size: 17px; }
.c-card p { margin: 6px 0 0; color: var(--text-2); font-size: 15px; }
.c-card--compare { margin-bottom: 12px; }

.c-kompetencje__obszar { margin-top: 24px; font-size: 17px; }

.c-limits { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--text-2); }
.c-limits li { padding-left: 24px; position: relative; }
.c-limits li::before { content: "—"; position: absolute; left: 0; }

.c-tablewrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); }
.c-miejsca, .c-program, .c-zjazdy { width: 100%; border-collapse: collapse; font-size: 15px; }
.c-miejsca caption, .c-program caption, .c-zjazdy caption {
  text-align: left; padding: 12px 16px; color: var(--text-2); font-size: 14px;
  caption-side: top;
}
.c-miejsca th, .c-program th, .c-zjazdy th {
  font-family: var(--mono); font-size: 11.5px; font-weight: 500;
  letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2);
  text-align: left; padding: 10px 16px; border-bottom: 1px solid var(--line); background: var(--brand-100);
}
.c-miejsca td, .c-program td, .c-zjazdy td { padding: 10px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.c-miejsca tr:last-child td, .c-program tr:last-child td, .c-zjazdy tr:last-child td { border-bottom: 0; }
.c-miejsca__podstawa { font-size: 13.5px; color: var(--text-2); }
.c-program td:nth-child(n+2) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.c-program__praktyka td { background: var(--accent-100); }
/* Informacja nigdy samym kolorem (brief §10) — praktyka ma też badge. */
.c-badge {
  display: inline-block; font-family: var(--mono); font-size: 10.5px;
  letter-spacing: 0.05em; text-transform: uppercase;
  border: 1px solid var(--accent-600); color: #8a5400;
  border-radius: 100px; padding: 1px 8px; margin-left: 8px; vertical-align: middle;
}
.c-zjazdy th[scope="row"] { background: transparent; font-family: var(--sans); font-size: 15px; text-transform: none; letter-spacing: 0; color: var(--ink); font-weight: 600; }

.c-timeline { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.c-timeline li { display: flex; gap: 14px; align-items: baseline; }
.c-timeline__time { font-family: var(--mono); font-size: 13px; color: var(--brand-600); flex: none; min-width: 56px; }

.c-faq { border: 1px solid var(--line); border-radius: var(--radius-card); background: var(--surface); margin-bottom: 10px; }
.c-faq summary {
  list-style: none; cursor: pointer; font-weight: 600; padding: 16px 44px 16px 18px; position: relative;
}
.c-faq summary::-webkit-details-marker { display: none; }
.c-faq summary::after {
  content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%;
  font-size: 20px; color: var(--brand-600);
}
.c-faq[open] summary::after { content: "–"; }
.c-faq__answer { padding: 0 18px 16px; color: var(--text-2); }

/* ---------- Opiekun + formularze ---------- */

.c-opiekun__grid { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.c-opiekun__grid > * { min-width: 0; }
@media (max-width: 800px) { .c-opiekun__grid { grid-template-columns: 1fr; } }
/* Bez wizytówki opiekuna (2026-09-03) — sam formularz na pełną szerokość. */
.c-opiekun__grid--solo { grid-template-columns: 1fr; max-width: 560px; }
.c-opiekun__card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; text-align: center; }
.c-opiekun__photo { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; margin-inline: auto; }
.c-opiekun__photo--placeholder { background: var(--brand-100); }
.c-opiekun__rola { color: var(--text-2); font-size: 14px; margin: 4px 0 0; }
.c-opiekun__dostepnosc { font-size: 13.5px; color: var(--brand-600); font-weight: 600; min-height: 20px; }

.c-form { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.c-form__intro { margin-top: 0; color: var(--text-2); }
.c-form__status { min-height: 24px; margin: 12px 0 0; font-size: 14.5px; }
.c-form__status.is-error { color: #B3261E; }
.c-form__status.is-ok { color: var(--brand-600); }

.c-fld { margin-bottom: 16px; }
.c-fld label { display: block; font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.c-fld input, .c-fld select {
  width: 100%; padding: 12px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-card);
  font: 400 15px var(--sans); background: var(--surface); color: var(--ink);
}
.c-fld input[aria-invalid="true"], .c-fld select[aria-invalid="true"] { border-color: #B3261E; }
/* Błąd: tekst + ikona + kolor, nigdy sam kolor (brief 5.2). */
.c-fld__error { color: #B3261E; font-size: 13.5px; margin: 6px 0 0; }
.c-fld__error::before { content: "⚠ "; }
.c-fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .c-fld-row { grid-template-columns: 1fr; } }
.c-fld--hp { position: absolute; left: -9999px; }

.c-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--text-2); margin-bottom: 10px; }
.c-consent input { margin-top: 3px; width: 16px; height: 16px; flex: none; }

/* ---------- Formularz zapisu (strona) ---------- */

.c-zapis { max-width: 560px; margin-inline: auto; padding: 48px 24px 80px; }
.c-zapis__form { border: 0; padding: 0; background: transparent; }
.c-zapis__stepcount { font-family: var(--mono); font-size: 13px; color: var(--brand-600); margin: 0 0 8px; }
.c-zapis__dots { display: flex; gap: 6px; margin-bottom: 32px; }
.c-zapis__dots span { flex: 1; height: 4px; border-radius: 2px; background: var(--line); }
.c-zapis__dots span.is-active { background: var(--accent-500); }
.c-zapis__step { border: 0; padding: 0; margin: 0; }
.c-zapis__title { font-family: var(--display); font-size: 26px; letter-spacing: -0.015em; font-weight: 700; padding: 0; margin-bottom: 8px; }
.c-zapis__intro { color: var(--text-2); margin: 0 0 24px; }
.c-zapis__hint { font-size: 13.5px; color: var(--text-2); }
.c-zapis__nav { display: flex; justify-content: space-between; gap: 14px; margin-top: 36px; }
.c-zapis__next, .c-zapis__submit { margin-left: auto; } /* bez stylowania klas js-* (twarda reguła repo) */
.c-zapis__summary { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px; margin-block: 24px; }
.c-zapis__summary-title { font-size: 16px; }
.c-zapis__summary dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 16px; font-size: 14.5px; margin: 0; }
.c-zapis__summary dt { color: var(--text-2); }
.c-zapis__summary dd { margin: 0; font-weight: 600; }
.c-zapis__success, .c-zapis__fail { text-align: center; padding-block: 40px; }
.c-zapis__fail { color: #B3261E; }

/* ---------- Box cenowy + sticky bar mobile ---------- */

.c-sp-aside { position: sticky; top: calc(var(--header-h) + 56px); }
.c-pricebox { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.c-pricebox__price { font-family: var(--display); font-size: 34px; font-weight: 700; margin: 0; }
.c-pricebox__price span { font-size: 15px; font-family: var(--sans); font-weight: 400; color: var(--text-2); }
.c-pricebox__row { font-size: 14.5px; color: var(--text-2); margin: 6px 0; }
.c-pricebox__deadline { font-size: 13.5px; color: #8a5400; font-weight: 600; }
.c-pricebox .c-btn { margin-top: 12px; }
.c-pricebox__punkt { font-size: 12.5px; color: var(--text-2); margin: 12px 0 0; }
.c-pricebox__links { font-size: 13px; margin: 10px 0 0; }

.c-stickybar {
  display: none; position: fixed; inset: auto 0 0 0; z-index: 30;
  min-height: var(--stickybar-h);
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 10px 16px; gap: 12px; align-items: center; justify-content: space-between;
}
.c-stickybar__tel { font-weight: 700; }
@media (max-width: 800px) {
  .c-stickybar { display: flex; }
  body:has(.c-stickybar) { padding-bottom: var(--stickybar-h); }
}

/* ---------- Stopka ---------- */

.c-footer { background: var(--brand-900); color: #BBD3E8; padding-block: 72px; font-size: 15px; }
.c-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .c-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .c-footer__grid { grid-template-columns: 1fr; } }
.c-footer__logo { background: #fff; border-radius: 12px; padding: 6px; margin-bottom: 14px; }
.c-footer__heading { color: #fff; font-family: var(--sans); font-size: 15px; font-weight: 700; margin: 0 0 14px; letter-spacing: 0; }
.c-footer__note { font-size: 14px; }
.c-footer__links { list-style: none; margin: 0; padding: 0; }
.c-footer__links a { color: #BBD3E8; text-decoration: none; display: block; padding: 8px 0; }
.c-footer__links a:hover { color: #fff; }
.c-footer__tel { color: #fff; font-weight: 700; text-decoration: none; }
.c-footer__partners { display: flex; align-items: center; gap: 20px; margin-top: 24px; flex-wrap: wrap; }
/* height:34px jawnie — globalny reset img{height:auto} nadpisuje atrybut height i logotypy różniły się wielkością. */
.c-footer__partners img { background: #fff; border-radius: 10px; padding: 4px 8px; display: block; height: 34px; width: auto; }
.c-footer__partners-label { font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; }
.c-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, 0.14); margin-top: 48px; padding-top: 24px;
  font-size: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 32px;
}
.c-footer__legal a { color: #BBD3E8; text-decoration: none; }
.c-footer__legal a:hover { color: #fff; }
.c-footer__fb { margin-left: auto; }
.c-footer--slim { padding-block: 24px; margin-top: 48px; }
.c-footer--slim .c-footer__legal { border: 0; margin: 0; padding: 0; }

/* ---------- Patterny strony głównej ---------- */

.c-trust { border-block: 1px solid var(--line); background: var(--surface); padding-block: 28px; }
.c-trust__item { border-left: 3px solid var(--accent-500); padding-left: 14px; font-size: 14.5px; color: var(--text-2); margin: 0; }
.c-trust__item strong { color: var(--ink); font-size: 16px; }

.c-metrics { padding-block: 40px; }
.c-metric { border-left: 3px solid var(--accent-500); padding-left: 16px; color: var(--text-2); font-size: 14.5px; margin: 0; }
.c-metric strong { display: block; font-family: var(--display); font-size: 36px; font-weight: 700; color: var(--ink); line-height: 1.1; }

.c-lejek__steps { list-style: none; counter-reset: lejek; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.c-lejek__steps li { counter-increment: lejek; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 18px 20px 18px 56px; position: relative; font-size: 15px; color: var(--text-2); }
.c-lejek__steps li strong { color: var(--ink); display: block; }
.c-lejek__steps li::before {
  content: "0" counter(lejek); position: absolute; left: 18px; top: 18px;
  font-family: var(--mono); font-size: 13px; color: var(--brand-600);
}
.c-lejek__cta { margin-top: 24px; }

/* (martwe bloki c-opinia/c-cta-final/c-oferta usunięte — strony używają pg-*/of-*) */

/* ==========================================================================
   STRONA GŁÓWNA (hp-*) — odwzorowanie 1:1 sekcji z referencji
   ========================================================================== */

/* Prototyp strony głównej to nowsza iteracja designu: żywsza paleta niebieskich
   i Plus Jakarta Sans (source/Strona główna.dc.html). Parytet 1:1 per strona —
   pozostałe szablony zostają na tokenach z tokens.css. TODO KLIENT: decyzja,
   czy ten styl idzie na cały serwis (wtedy aktualizacja :root + theme.json). */
body.home {
  --brand-900: #0D2C5B;
  --brand-800: #12439B;
  --brand-600: #1E5FD6;
  --brand-400: #4E8FF0;
  --brand-100: #EBF2FE;
  --accent-500: #FFA51F;
  --accent-600: #F29100;
  --accent-100: #FFF1D6;
  --ink: #10233F;
  --bg: #F6F8FC;
  --text-2: #51647E;
  --line: #DCE4F0;
  --sans: "Plus Jakarta Sans", system-ui, sans-serif;
  --display: var(--sans);
  --mono: var(--sans);
  font-family: var(--sans);
}

/* Waga 800 tam, gdzie prototyp głównej jej używa (PJS ma zakres 400–800). */
body.home .hp-hero__title,
body.home .hp-h2,
body.home .hp-trust__item b,
body.home .hp-level h3,
body.home .hp-level__price b,
body.home .hp-cell__num,
body.home .hp-why__big,
body.home .hp-why__quality h3,
body.home .hp-group__head h3,
body.home .hp-mitfakt h3,
body.home .hp-strip h2,
body.home .hp-final h2,
body.home .hp-reviews__stat span,
body.home .hp-rata__value {
  font-weight: 800;
}

.c-btn-round {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 16px; font-weight: 700; padding: 14px 28px;
  border-radius: 100px; text-decoration: none; min-height: 48px;
  box-sizing: border-box; border: 0; cursor: pointer;
}
.c-btn-round--primary { background: var(--accent-500); color: var(--ink); }
.c-btn-round--primary:hover { background: var(--accent-600); }
.c-btn-round--outline { border: 2px solid var(--brand-800); color: var(--brand-800); background: transparent; }
.c-btn-round--outline:hover { background: var(--brand-100); }
.c-btn-round--ghostwhite { border: 2px solid rgba(255, 255, 255, 0.5); color: #fff; background: transparent; }
.c-btn-round--ghostwhite:hover { background: rgba(255, 255, 255, 0.1); }
.c-btn-round--sm { font-size: 14px; padding: 11px 20px; min-height: 44px; } /* cel dotykowy 44px (brief §10) */

.hp-section { padding-block: 112px; }
.hp-section--tight { padding-block: 0 96px; }
.hp-section--surface { background: var(--surface); }
.hp-section--blue { background: var(--brand-100); }
.hp-section--navy { background: var(--brand-800); color: #fff; }
.hp-section--navy .hp-h2 { color: #fff; }

.hp-eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--brand-600); margin: 0;
}
.hp-eyebrow--accent { color: var(--accent-500); }
.hp-h2 { margin: 14px 0 0; font-weight: 700; letter-spacing: -0.02em; font-size: clamp(27px, 3.2vw, 36px); }
.hp-h2--wide { font-size: clamp(27px, 3.4vw, 40px); max-width: 22ch; }
.hp-lead { font-size: 19px; color: var(--text-2); margin-top: 20px; max-width: 60ch; }
.hp-lead--ondark { color: #C6DCEE; }
.hp-copy { font-size: 17px; color: var(--text-2); margin-top: 14px; max-width: 56ch; }
.hp-copy--wide { max-width: 62ch; margin-top: 20px; }
.hp-copy--wide b { color: var(--brand-800); }
.hp-link { color: var(--brand-600); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; font-size: 15px; }
.hp-link:hover { color: var(--brand-800); }
.hp-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.hp-2col--top { margin-top: 44px; }
@media (max-width: 900px) { .hp-2col { grid-template-columns: 1fr; gap: 32px; } }

.hp-iconbox {
  display: flex; width: 44px; height: 44px; border-radius: 14px;
  background: var(--brand-100); color: var(--brand-600);
  align-items: center; justify-content: center; flex: none;
}
.hp-iconbox--accent { background: var(--accent-100); color: var(--accent-600); }
.hp-iconbox--sm { width: 38px; height: 38px; border-radius: 12px; }
.hp-dot { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.hp-dot--accent { background: var(--accent-500); }
.hp-dot--blue { background: var(--brand-400); }
.hp-dot--white { background: #fff; }

/* --- Hero --- */

.hp-hero { padding: 88px 0 72px; background: var(--surface); }
.hp-hero__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 4vw, 64px); align-items: stretch; }
.hp-hero__badge {
  display: inline-flex; align-self: flex-start; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--brand-800); margin: 0; background: var(--brand-100); border-radius: 100px; padding: 8px 16px;
}
.hp-hero__title { margin: 22px 0 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; font-size: clamp(40px, 5.2vw, 64px); }
.hp-hero__title span { color: var(--brand-600); }
.hp-hero__lead { font-size: 19px; color: var(--text-2); margin-top: 20px; max-width: 58ch; }
.hp-hero__pills { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hp-hero__pills > b { font-size: 18px; font-weight: 700; color: var(--brand-800); }
.hp-hero__pills-note { font-size: 13.5px; font-weight: 600; color: var(--text-2); }
.hp-hero__usp { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 12px; }
.hp-hero__usp li { padding-left: 32px; position: relative; color: var(--text-2); }
.hp-hero__usp li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F29100' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 12.5l2.5 2.5L16 9.5'/%3E%3C/svg%3E") center/14px no-repeat;
}
.hp-hero__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; }
.hp-hero__figure { margin: 0; position: relative; width: 100%; justify-self: end; align-self: stretch; display: flex; }
.hp-hero__figure img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; object-position: center top; display: block; border-radius: 24px; }
.hp-hero__float {
  position: absolute; background: var(--surface); border-radius: 100px; padding: 10px 18px;
  font-size: 14px; font-weight: 700; box-shadow: 0 10px 30px rgba(13, 44, 91, 0.18);
  display: inline-flex; align-items: center; gap: 8px;
}
.hp-hero__float--tl { top: 18px; left: -14px; }
.hp-hero__float--br { bottom: 22px; right: -14px; }
@media (max-width: 900px) {
  .hp-hero { padding-block: 48px; }
  .hp-hero__grid { grid-template-columns: 1fr; }
  .hp-hero__figure img { min-height: 280px; }
  .hp-hero__float--tl { left: 8px; }
  .hp-hero__float--br { right: 8px; }
}

/* --- Pasek zaufania --- */

.hp-trust { background: var(--brand-900); color: #fff; padding: 28px 0; }
.hp-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 0; }
.hp-trust__item { padding: 2px 22px; border-left: 2px solid var(--accent-500); }
.hp-trust__item span {
  display: block; font-size: 11px; font-weight: 600; letter-spacing: 0.09em;
  text-transform: uppercase; color: #7FA3C6;
}
.hp-trust__item b { display: block; margin-top: 6px; font-size: 15.5px; font-weight: 700; color: #fff; line-height: 1.3; }

/* --- Poziomy studiów --- */

.hp-levels { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .hp-levels { grid-template-columns: 1fr; } }
.hp-level { border-radius: 24px; padding: 40px; display: flex; flex-direction: column; gap: 14px; }
.hp-level--dark { background: var(--brand-800); color: #fff; }
.hp-level--dark h3 { color: #fff; }
.hp-level--dark p { color: #C6DCEE; }
.hp-level--light { background: var(--surface); border: 1px solid var(--line); box-shadow: 0 6px 24px rgba(16, 35, 63, 0.05); }
.hp-level--light p { color: var(--text-2); }
.hp-level h3 { font-size: clamp(24px, 2.4vw, 30px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 0; }
.hp-level p { font-size: 16px; margin: 0; flex: 1; }
.hp-level__tag { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-600); }
.hp-level__tag--accent { color: var(--accent-500); }
.hp-level__tag--brand { display: inline-flex; align-items: center; gap: 10px; }
.hp-level__price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.hp-level__price b { font-size: 34px; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.hp-level__price span { font-size: 14px; color: #C6DCEE; }
.hp-level__price--brand b { color: var(--brand-800); }
.hp-level__price--brand span { color: var(--text-2); }
.hp-level__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.hp-level__cta .c-btn-round { font-size: 15px; padding: 12px 24px; min-height: 44px; }

/* --- Metryki / komórki --- */

.hp-cells { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.hp-cells--4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.hp-cells--2 { grid-template-columns: 1fr 1fr; }
.hp-cells--stats { margin-top: 32px; }
.hp-cell { background: var(--surface); padding: 28px 24px; }
.hp-cell span { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); }
.hp-cell__num { display: block; font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--brand-800); line-height: 1; }
.hp-cell__num--sm { font-size: 36px; }
.hp-cell--fact { padding: 24px; }
.hp-cell--fact b { display: block; margin-top: 14px; font-size: 16px; font-weight: 700; color: var(--brand-800); }
.hp-cell--fact span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
/* Ikonobox to też span — reguły tekstowe .hp-cell span nadpisywały flex (ikona uciekała z centrum). */
.hp-cell .hp-iconbox { display: flex; margin-top: 0; }
.hp-whobox {
  font-size: 15px; color: var(--text-2); margin-top: 14px; max-width: 56ch;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px;
}
.hp-whobox b { color: var(--brand-800); }

/* --- Dlaczego WSHE --- */

.hp-why { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px; margin-top: 44px; }
.hp-why__years { grid-column: span 5; background: var(--brand-900); color: #fff; border-radius: 24px; padding: 40px; display: flex; flex-direction: column; }
.hp-why__big { font-size: clamp(68px, 7vw, 96px); font-weight: 700; letter-spacing: -0.045em; line-height: 0.95; margin-top: 14px; font-variant-numeric: tabular-nums; }
.hp-why__big span { font-size: 0.35em; color: var(--accent-500); letter-spacing: -0.02em; margin-left: 10px; }
.hp-why__years p { font-size: 15.5px; color: #C6DCEE; margin: 18px 0 0; flex: 1; }
.hp-why__timeline { margin-top: 28px; }
.hp-why__line { display: flex; align-items: center; }
.hp-why__line .hp-dot { width: 12px; height: 12px; }
.hp-why__rule { flex: 1; height: 2px; background: rgba(255, 255, 255, 0.25); }
.hp-why__dates { display: flex; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: #9FC0DA; margin-top: 10px; }
.hp-why__more { display: inline-block; margin-top: 24px; color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; }
.hp-why__more:hover { color: var(--accent-500); }
.hp-why__quality { grid-column: span 7; background: var(--brand-100); border-radius: 24px; padding: 40px; display: flex; flex-direction: column; }
.hp-why__quality h3 { font-size: clamp(22px, 2.4vw, 29px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; margin: 14px 0 0; color: var(--brand-900); }
.hp-why__quality > p { font-size: 15.5px; color: var(--text-2); margin: 12px 0 0; }
.hp-why__checks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; flex: 1; }
.hp-check { display: flex; gap: 12px; align-items: flex-start; background: var(--surface); border-radius: 16px; padding: 16px 18px; }
.hp-check__icon { flex: none; margin-top: 2px; color: var(--accent-600); stroke-width: 2.5; }
.hp-check b { display: block; font-size: 14.5px; font-weight: 700; color: var(--brand-900); }
.hp-check span span { display: block; font-size: 13.5px; color: var(--text-2); margin-top: 4px; }
.hp-usp { grid-column: span 3; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 26px; }
.hp-usp:hover { border-color: var(--brand-400); }
.hp-usp b { display: block; margin-top: 14px; font-size: 16.5px; font-weight: 700; color: var(--brand-900); }
.hp-usp > span:last-child { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
@media (max-width: 960px) {
  .hp-why__years, .hp-why__quality { grid-column: span 12; }
  .hp-usp { grid-column: span 6; }
  .hp-why__checks { grid-template-columns: 1fr; }
}
@media (max-width: 560px) { .hp-usp { grid-column: span 12; } }

.hp-mitfakt { margin-top: 72px; }
.hp-mitfakt h3 { font-size: clamp(21px, 2.4vw, 27px); font-weight: 700; letter-spacing: -0.015em; margin: 0; }
.hp-mitfakt__intro { font-size: 16.5px; color: var(--text-2); margin: 12px 0 0; max-width: 64ch; }
.hp-mitfakt__rows { display: flex; flex-direction: column; gap: 14px; margin-top: 32px; }
.hp-mitfakt__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
@media (max-width: 800px) { .hp-mitfakt__row { grid-template-columns: 1fr; } }
.hp-mit, .hp-fakt { display: flex; gap: 14px; align-items: flex-start; border-radius: 18px; padding: 20px 22px; }
.hp-mit { background: var(--bg); border: 1px solid var(--line); }
.hp-mit__icon { flex: none; margin-top: 2px; color: #B3261E; stroke-width: 2.5; }
.hp-mit b { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #B3261E; }
.hp-mit span span { display: block; font-size: 15.5px; font-weight: 600; color: var(--brand-900); margin-top: 4px; }
.hp-fakt { background: var(--brand-100); }
.hp-fakt__icon { flex: none; margin-top: 2px; color: var(--brand-600); stroke-width: 2.5; }
.hp-fakt b { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-600); }
.hp-fakt span span { display: block; font-size: 15px; color: var(--ink); margin-top: 4px; }

/* --- Persony --- */

.hp-personas { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; margin-top: 44px; }
.hp-persona {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 24px rgba(16, 35, 63, 0.04);
}
.hp-persona:hover { border-color: var(--brand-400); }
.hp-persona h3 { font-size: 21px; letter-spacing: -0.01em; font-weight: 700; margin: 0; }
.hp-persona p { font-size: 16px; color: var(--text-2); flex: 1; margin: 0; }

/* --- Grupy specjalności --- */

.hp-group__head { display: flex; align-items: center; gap: 14px; margin-top: 64px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.hp-group__head h3 { font-size: 20px; font-weight: 700; margin: 0; }
.hp-group__head em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text-2); }
.hp-group__photo { margin: 20px 0 0; aspect-ratio: 16/6; border-radius: 20px; overflow: hidden; }
.hp-group__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hp-group__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 20px; }
.hp-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px;
  display: flex; flex-direction: column; gap: 12px; box-shadow: 0 6px 24px rgba(16, 35, 63, 0.04);
}
.hp-card:hover { border-color: var(--brand-400); }
.hp-card__top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.hp-card__tag { font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-600); }
.hp-card h3 { font-size: 21px; letter-spacing: -0.01em; font-weight: 700; margin: 0; }
.hp-card p { font-size: 16px; color: var(--text-2); flex: 1; margin: 0; }
.hp-card__price { font-size: 14px; font-weight: 600; color: var(--ink); border-top: 1px solid var(--line); padding-top: 14px; }
.hp-card__cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Kalendarz roku --- */

.hp-year { display: grid; grid-template-columns: 1fr 320px; gap: 56px; align-items: start; margin-top: 44px; }
@media (max-width: 900px) { .hp-year { grid-template-columns: 1fr; } }
/* Miesiące obok siebie: flex-wrap na wewnętrznej siatce (wspólny partial kalendarz-siatka.php). */
.hp-calendar__grid { display: flex; flex-wrap: wrap; gap: 14px; }
.hp-calendar__name { font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: #9FC0DA; padding-bottom: 8px; }
.hp-calendar__week { display: flex; gap: 2px; margin-bottom: 2px; }
.hp-calendar__day { width: 16px; height: 16px; border-radius: 4px; background: rgba(255, 255, 255, 0.12); }
.hp-calendar__day--zjazd { background: var(--accent-500); border: 1px solid #E09000; box-sizing: border-box; }
.hp-calendar__day--empty { background: transparent; }
.hp-calendar__summary { font-size: 14px; font-weight: 600; color: #C6DCEE; margin-top: 20px; }
.hp-calendar__summary b { color: var(--accent-500); font-weight: 700; }
.hp-year__aside h3 { font-size: 19px; font-weight: 700; color: #fff; margin: 0; }
.hp-year__aside > p { font-size: 16px; color: #C6DCEE; margin-top: 14px; }
.hp-year__stream {
  display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #C6DCEE;
  margin-top: 18px; background: rgba(255, 255, 255, 0.07); border-radius: 16px; padding: 16px 20px;
}
.hp-year__stream-icon { flex: none; margin-top: 3px; color: var(--accent-500); }
.hp-year__note { font-size: 14px; font-weight: 600; color: #C6DCEE; margin-top: 16px; }

/* --- Figury / galeria / placówki --- */

.hp-figures { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
@media (max-width: 800px) { .hp-figures { grid-template-columns: 1fr; } }
.hp-figures figure { margin: 0; }
.hp-figures img { width: 100%; aspect-ratio: 3/2; object-fit: cover; display: block; border-radius: 20px; }
.hp-figures figcaption { font-size: 15px; color: var(--text-2); margin-top: 12px; line-height: 1.5; }

.hp-placowki { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 32px; }
.hp-placowki__title { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 700; margin: 0 0 12px; }
.hp-placowki__icon { flex: none; color: var(--brand-600); }
.hp-placowki ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hp-placowki li { font-size: 14.5px; color: var(--text-2); padding-left: 14px; border-left: 3px solid var(--brand-400); }

.hp-strip { padding: 64px 0; background: var(--brand-800); }
.hp-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.hp-strip h2 { margin: 10px 0 0; font-weight: 700; letter-spacing: -0.02em; color: #fff; font-size: clamp(22px, 2.6vw, 30px); }
.hp-strip p { font-size: 16px; color: #C6DCEE; margin-top: 10px; max-width: 56ch; }

.hp-reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 44px; }
.hp-review { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px; box-shadow: 0 6px 24px rgba(16, 35, 63, 0.04); }
.hp-review p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ink); }
.hp-review footer { font-size: 14px; color: var(--text-2); margin-top: 16px; }
.hp-reviews__stat { display: inline-flex; align-items: baseline; gap: 14px; margin-top: 32px; }
.hp-reviews__stat span { font-size: 32px; font-weight: 700; color: var(--brand-800); font-variant-numeric: tabular-nums; }
.hp-reviews__stat em { font-style: normal; font-size: 15px; color: var(--text-2); }

.hp-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-top: 44px; }
.hp-tile {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 24px; text-decoration: none; color: var(--ink); box-shadow: 0 6px 24px rgba(16, 35, 63, 0.04);
}
.hp-tile:hover { border-color: var(--brand-400); }
.hp-tile b { display: block; margin-top: 14px; font-size: 15.5px; font-weight: 700; }

.hp-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); gap: 28px 18px; margin-top: 32px; }
.hp-gallery figure { margin: 0; }
.hp-gallery img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: 20px; }
.hp-gallery figcaption { font-size: 14px; color: var(--text-2); margin-top: 10px; line-height: 1.5; }
.hp-gallery__more { margin: 24px 0 0; }

/* --- Kontakt + mapa --- */

.hp-contact__row { display: flex; gap: 12px; align-items: flex-start; font-size: 17px; color: var(--text-2); margin-top: 20px; }
.hp-contact__row--strong { font-size: 15px; font-weight: 600; color: var(--ink); margin-top: 16px; }
.hp-contact__row a { color: var(--ink); text-decoration: none; }
.hp-contact__row a:hover { color: var(--brand-600); }
.hp-contact__icon { flex: none; margin-top: 4px; color: var(--brand-600); }
.hp-map { aspect-ratio: 16/11; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); background: var(--brand-100); }
.hp-map iframe { width: 100%; height: 100%; border: 0; display: block; }
.hp-map__placeholder {
  height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; text-align: center; color: var(--brand-800);
}
.hp-map__placeholder p { margin: 0; font-weight: 600; }

/* --- Kroki / koszty / FAQ / finał --- */

.hp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px 28px; margin-top: 44px; }
.hp-step { padding-top: 20px; border-top: 3px solid var(--accent-500); }
.hp-step span { font-size: 13px; font-weight: 700; color: var(--brand-600); display: block; margin-bottom: 8px; }
.hp-step b { display: block; font-weight: 700; margin-bottom: 6px; }
.hp-step em { font-style: normal; font-size: 16px; color: var(--text-2); }

.hp-costs { display: flex; flex-direction: column; max-width: 340px; margin-top: 16px; }
.hp-costs > div { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.hp-costs > div:last-child { border-bottom: 0; }
.hp-costs > div span + span { font-weight: 700; font-variant-numeric: tabular-nums; }
.hp-rata { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 32px; box-shadow: 0 6px 24px rgba(16, 35, 63, 0.05); }
.hp-rata__label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-600); }
.hp-rata__value { font-size: 44px; font-weight: 700; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; color: var(--brand-800); margin: 12px 0 0; line-height: 1; }
.hp-rata__unit { font-size: 16px; color: var(--text-2); font-weight: 500; }
.hp-rata__count { font-size: 14px; color: var(--text-2); margin: 6px 0 0; }
.hp-rata input[type="range"] { width: 100%; accent-color: var(--accent-500); margin-top: 16px; }

.hp-faq { border-top: 1px solid var(--line); margin-top: 44px; }
.hp-faq__item { border-bottom: 1px solid var(--line); }
.hp-faq__item summary {
  cursor: pointer; padding: 22px 0; font-size: 18px; font-weight: 700; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
}
.hp-faq__item summary::-webkit-details-marker { display: none; }
.hp-faq__chevron { flex: none; color: var(--brand-600); transition: rotate 150ms; }
.hp-faq__item[open] .hp-faq__chevron { rotate: 180deg; }
.hp-faq__item > p { padding-bottom: 22px; color: var(--text-2); margin: 0; max-width: 68ch; }

.hp-final { padding: 112px 0; background: var(--brand-800); color: #fff; text-align: center; }
.hp-final h2 { max-width: 20ch; margin: 0 auto; font-weight: 700; letter-spacing: -0.02em; color: #fff; font-size: clamp(27px, 3.2vw, 38px); }
.hp-final__lead { font-size: 19px; color: #C6DCEE; margin: 20px auto 0; max-width: 56ch; }
.hp-final__scarcity { font-size: 13px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--accent-500); margin-top: 10px; }
.hp-final__cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 32px; justify-content: center; }
.hp-final__tel { font-size: 14px; font-weight: 600; color: #C6DCEE; margin-top: 28px; }
.hp-final__tel a { color: #fff; text-decoration: none; font-weight: 700; }

.hp-studentbar { border-top: 1px solid var(--line); background: var(--surface); padding: 20px 0; }
.hp-studentbar__inner { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }
.hp-studentbar span { font-size: 14px; color: var(--text-2); }

.hp-fomo-fixed {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--brand-900); padding: 12px 20px;
  display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
}
.hp-fomo-fixed > span { font-size: 12.5px; font-weight: 700; color: var(--accent-500); letter-spacing: 0.04em; text-transform: uppercase; }
body.home { padding-bottom: 64px; } /* zarezerwowana wysokość pod fixed bar (CLS) */

/* ==========================================================================
   PODSTRONY (pg-*) — wspólne komponenty stron statycznych (tokeny z tokens.css)
   ========================================================================== */

.pg-narrow { max-width: 900px; margin-inline: auto; padding-inline: 24px; }
.pg-hero { padding: 88px 0 72px; background: var(--surface); }
.pg-hero__icon { margin-bottom: 10px; }
.pg-eyebrow {
  font-family: var(--mono); font-size: 13px; font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-600); margin: 0;
}
.pg-eyebrow--h2 { font-size: 20px; letter-spacing: 0.04em; margin: 0 0 20px; }
.pg-h1 { margin: 18px 0 0; font-weight: 600; letter-spacing: -0.02em; line-height: 1.12; font-size: clamp(34px, 4.4vw, 52px); }
.pg-h1--sm { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.pg-h2 { font-size: 24px; letter-spacing: -0.015em; margin: 0 0 12px; font-weight: 600; }
.pg-h2--lg { font-size: 26px; margin-bottom: 20px; }
.pg-h3 { font-size: 18px; margin: 0 0 8px; font-weight: 600; }
.pg-lead { font-size: 18px; color: var(--text-2); margin-top: 20px; }
.pg-copy { color: var(--text-2); margin: 0 0 8px; }
.pg-copy--sm { font-size: 15px; margin-top: 12px; }
.pg-mono { font-family: var(--mono); }
.pg-mt { margin-top: 40px; }
.pg-section { padding: 80px 0; }
.pg-section--surface { background: var(--surface); }
.pg-section--navy { background: var(--brand-800); color: #fff; }
.pg-section--flush { padding-top: 0; }
.pg-section--hub { padding: 64px 0; }
.pg-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; }
.pg-2col--top { gap: 56px; align-items: start; }
@media (max-width: 800px) { .pg-2col { grid-template-columns: 1fr; } }

.pg-row { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 36px; }
.pg-row svg { flex: none; margin-top: 2px; }
.pg-row:last-child { margin-bottom: 0; }

.pg-steps { display: flex; flex-direction: column; }
.pg-step { display: grid; grid-template-columns: 60px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.pg-step__n { font-size: 22px; color: var(--brand-600); }
.pg-step b { display: block; font-size: 17px; }
.pg-step span { display: block; margin-top: 6px; color: var(--text-2); font-size: 15.5px; }
.pg-step .pg-step__n { margin-top: 0; }

.pg-checklist { display: flex; flex-direction: column; }
.pg-checklist__row { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.pg-checklist__row span { color: var(--brand-600); }

.pg-faq { border-top: 1px solid var(--line); }
.pg-faq__item { border-bottom: 1px solid var(--line); }
.pg-faq__item summary { cursor: pointer; padding: 20px 0; font-size: 17px; font-weight: 500; list-style: none; }
.pg-faq__item summary::-webkit-details-marker { display: none; }
.pg-faq__item > p { padding-bottom: 20px; color: var(--text-2); margin: 0; }

.pg-cta { padding: 80px 0; background: var(--brand-800); color: #fff; text-align: center; }
.pg-cta h2 { font-weight: 600; letter-spacing: -0.02em; color: #fff; font-size: clamp(26px, 3vw, 34px); margin: 0; }
.pg-cta p { color: #C6DCEE; margin-top: 12px; }
.pg-cta .c-btn { margin-top: 24px; }

.pg-stat { display: inline-flex; align-items: baseline; gap: 14px; margin-top: 24px; }
.pg-stat span { font-size: 36px; font-weight: 600; color: var(--brand-800); font-variant-numeric: tabular-nums; }
.pg-stat em { font-style: normal; font-size: 16px; color: var(--text-2); }
.pg-rocznik { margin-bottom: 48px; }

.pg-cards-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.pg-cards-grid--sm { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.pg-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 22px; }
.pg-card > b { display: block; font-size: 15.5px; color: var(--ink); }
.pg-card > b:first-child { color: var(--brand-600); font-size: 15px; }
.pg-card > span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-2); }
.pg-card p { margin: 8px 0 0; font-size: 15px; }
.pg-card--hours { margin-bottom: 32px; }
.pg-card--hours > b { margin-bottom: 8px; }
.pg-hours__row { display: flex; justify-content: space-between; font-size: 15px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.pg-hours__row:last-child { border-bottom: 0; }
.pg-cards2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 32px; }
@media (max-width: 560px) { .pg-cards2 { grid-template-columns: 1fr; } }
.pg-opinia { padding: 28px; margin: 0; }
.pg-opinia p { font-size: 16px; line-height: 1.6; margin: 0; color: var(--ink); }
.pg-opinia footer { font-size: 14px; color: var(--text-2); margin-top: 16px; }
.pg-map { margin-bottom: 32px; border-radius: var(--radius-card); aspect-ratio: 16/10; }
.pg-form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-card);
  font: 400 15px var(--sans); resize: vertical; background: var(--surface); color: var(--ink);
}

.pg-notice { background: var(--brand-100); border-bottom: 1px solid var(--line); padding: 14px 0; font-size: 14.5px; }
.pg-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.pg-tile { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; text-decoration: none; color: var(--ink); }
.pg-tile:hover { border-color: var(--brand-400); }
.pg-tile b { font-size: 16px; }

/* Oferta dydaktyczna */
.pg-hero--oferta { padding-bottom: 60px; }
.of-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; margin-top: 32px; }
@media (max-width: 700px) { .of-metrics { grid-template-columns: 1fr 1fr; } }
.of-metrics > div { background: var(--surface); padding: 22px; }
.of-metrics svg { margin-bottom: 8px; display: block; }
.of-metrics b { display: block; font-size: 32px; font-weight: 600; color: var(--brand-800); font-variant-numeric: tabular-nums; }
.of-metrics span { font-size: 13.5px; color: var(--text-2); }
.of-social { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; color: var(--text-2); }
.of-social b { color: var(--ink); }
.of-social__dot { width: 8px; height: 8px; border-radius: 50%; background: #2E9E5B; flex: none; animation: of-pulse 2s infinite; }
@keyframes of-pulse { 50% { opacity: 0.4; } }
.of-h2 { margin-bottom: 8px; }
.of-note { font-size: 14px; color: var(--brand-600); margin: 0 0 4px; }
.of-chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 8px; }
.of-chips > span { font-size: 14px; color: var(--text-2); align-self: center; }
.of-chips a { font-size: 13.5px; padding: 11px 16px; border: 1px solid var(--line); border-radius: 22px; text-decoration: none; color: var(--ink); }
.of-chips a:hover { border-color: var(--brand-400); }
.of-search { position: relative; max-width: 420px; margin: 20px 0 36px; }
.of-search svg { position: absolute; left: 14px; top: 50%; translate: 0 -50%; pointer-events: none; }
.of-search input {
  width: 100%; padding: 13px 16px 13px 42px; border: 1px solid var(--line);
  border-radius: var(--radius-card); font: 400 15px var(--sans); background: var(--surface); color: var(--ink);
}
.of-group__head { display: flex; align-items: baseline; gap: 12px; margin-top: 44px; padding-bottom: 14px; border-bottom: 1px solid var(--line); scroll-margin-top: 150px; }
.of-group__head svg { flex: none; align-self: center; }
.of-group__head h3 { font-size: 18px; margin: 0; }
.of-group__head em { font-style: normal; font-size: 13px; color: var(--text-2); }
.of-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin-top: 16px; }
.of-card {
  display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  padding: 22px; text-decoration: none; color: var(--ink); transition: transform 0.15s, box-shadow 0.15s;
}
.of-card:hover { border-color: var(--brand-400); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(22, 56, 91, 0.08); }
.of-card b { display: block; font-size: 16px; }
.of-card > span { display: block; margin-top: 8px; font-size: 14px; color: var(--text-2); }
.of-card > span.of-card__price { margin-top: 12px; font-size: 13px; color: var(--ink); }
.of-strip { padding: 80px 0; background: var(--brand-800); color: #fff; }
.of-strip__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.of-strip h2 { margin: 10px 0 0; font-weight: 600; letter-spacing: -0.02em; color: #fff; font-size: clamp(22px, 2.6vw, 28px); }
.of-strip__btn {
  display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500;
  padding: 12px 22px; border-radius: var(--radius-card); text-decoration: none;
  border: 1px solid #fff; color: #fff; flex: none;
}
.of-strip__btn:hover { background: rgba(255, 255, 255, 0.1); }
.pg-copy--narrow { max-width: 56ch; }

/* Uczelnia */
.pg-h2--xl { font-size: 28px; margin-bottom: 20px; }
.pg-copy--lg { font-size: 17px; }
.pg-copy--wide { max-width: 70ch; margin-bottom: 28px; }
.pg-ink { color: var(--ink); }
.pg-subnav { padding: 24px 0; background: var(--surface); border-block: 1px solid var(--line); position: sticky; top: var(--header-h); z-index: 10; }
.pg-subnav__inner { display: flex; gap: 24px; flex-wrap: wrap; font-size: 14.5px; }
.pg-subnav a { color: var(--brand-600); text-decoration: none; }
.pg-card--bg { background: var(--bg); }
.pg-card > span.pg-card__role, .pg-card .pg-card__role { color: var(--brand-600); }
/* height jawnie (reset img{height:auto} unieważnia atrybut) + stały slot, żeby teksty kart zaczynały się na tej samej wysokości. */
.pg-card__logo { margin-bottom: 14px; width: auto; height: 38px; object-fit: contain; display: block; }
.pg-doclist { display: flex; flex-direction: column; margin-top: 16px; }
.pg-doclist a { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.pg-doclist a:last-child { border-bottom: 0; }
.pg-doclist a span { color: var(--brand-600); }
.pg-doclist a.is-soon { color: var(--text-2); cursor: default; }
.pg-doclist a.is-soon span { color: var(--text-2); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--line); border-radius: 100px; padding: 2px 10px; }
.pg-doclist__soon { display: flex; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.pg-doclist__soon:last-child { border-bottom: 0; }
.pg-doclist__soon > span { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; border: 1px solid var(--line); border-radius: 100px; padding: 2px 10px; align-self: center; }
.pg-photos3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 700px) { .pg-photos3 { grid-template-columns: 1fr; } }
.pg-photos3 img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius-card); }
.pg-photos3--tall img { aspect-ratio: 3/4; }
.pg-cells { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.pg-cells > div { background: var(--surface); padding: 24px; }
.pg-cells b { display: block; color: var(--brand-800); font-size: 16px; }
.pg-cells span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--text-2); }
.pg-events { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 28px 20px; }
.pg-events figure { margin: 0; }
.pg-events img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; border-radius: var(--radius-card); }
.pg-events figcaption { font-size: 13.5px; color: var(--text-2); margin-top: 10px; line-height: 1.5; }

/* Strefa studenta — sub-nav i strony wewnętrzne */
.st-subnav { background: var(--surface); border-bottom: 1px solid var(--line); }
.st-subnav__inner { display: flex; gap: 24px; overflow-x: auto; padding-block: 14px; }
.st-subnav a { font-size: 13.5px; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.st-subnav a:hover { color: var(--brand-600); }
.st-subnav .is-active { font-size: 13.5px; font-weight: 600; color: var(--brand-800); white-space: nowrap; border-bottom: 2px solid var(--brand-800); padding-bottom: 4px; }
.st-page { padding: 56px 0 72px; }
.st-crumb { font-family: var(--mono); font-size: 12.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-600); margin: 0; }
.st-crumb a { color: inherit; text-decoration: none; }
.st-h1 { margin: 12px 0 0; font-weight: 600; letter-spacing: -0.02em; font-size: clamp(28px, 3.4vw, 40px); }
.st-lead { font-size: 17px; color: var(--text-2); margin: 14px 0 0; max-width: 64ch; }
.st-block { margin-top: 36px; }
.st-table { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.st-table__row { display: flex; justify-content: space-between; gap: 24px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.st-table__row:last-child { border-bottom: 0; }
.st-table__row span:first-child { color: var(--text-2); }
.st-table__row span + span { font-weight: 500; text-align: right; }
.st-h2 { font-size: 22px; letter-spacing: -0.015em; margin: 40px 0 16px; font-weight: 600; }
.st-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.st-list li { padding-left: 16px; border-left: 2px solid var(--brand-400); font-size: 15px; color: var(--text-2); }
.st-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.st-box p { margin: 0; font-size: 15px; color: var(--text-2); }
.st-box ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.st-box > b { display: block; font-size: 17px; }
.st-box > b + p { margin-top: 8px; }
.st-box .c-btn { margin-top: 16px; }
.st-note { background: var(--brand-100); border-radius: var(--radius-card); padding: 20px 24px; font-size: 14.5px; color: var(--ink); margin-top: 20px; }
.st-note + .st-table { margin-top: 24px; }
.st-steps { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.st-intro { color: var(--text-2); margin: 0 0 16px; font-size: 15px; }
.st-docs { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 16px; }
.st-doc { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 20px; text-decoration: none; color: var(--ink); }
.st-doc:hover { border-color: var(--brand-400); }
.st-doc b { display: block; font-size: 15px; }
.st-doc > span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-2); }
.st-doc .st-doc__cta { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--brand-600); }
.st-footnote { margin-top: 24px; font-size: 14px; color: var(--text-2); }
.st-box b { color: var(--ink); }

/* ---------- Baner cookies (zarezerwowana wysokość — brief 6.3) ---------- */

.c-cookies {
  position: fixed; inset: auto 16px 16px 16px; z-index: 100;
  max-width: 560px; margin-inline: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card);
  box-shadow: 0 8px 30px rgba(18, 41, 63, 0.15);
  padding: 20px; min-height: 120px;
}
.c-cookies__text { margin: 0 0 14px; font-size: 14.5px; color: var(--text-2); }
.c-cookies__actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
