/* ---------------------------------------------------------------
   hrd.pl/ksc — Dokumentacja KSC dla Partnerów HRD
   --------------------------------------------------------------- */

:root {
    --navy-900: #071a3d;
    --navy-800: #0b2350;
    --navy-700: #10305f;
    --navy-600: #123a75;
    --blue-600: #0a5cbf;
    --blue-500: #1e6fd9;
    --blue-300: #7fb6f2;
    --blue-050: #eaf2fd;

    --ink:      #1b2a41;
    --ink-soft: #4d5f76;
    --line:     #dde6f2;
    --bg:       #ffffff;
    --bg-soft:  #f2f6fc;

    --amber-600: #b7791f;
    --amber-400: #f0b429;
    --amber-050: #fdf8ec;

    --radius:    14px;
    --radius-sm: 9px;
    --shadow:    0 2px 10px rgba(12, 40, 90, .06);
    --shadow-lg: 0 14px 40px rgba(8, 30, 70, .10);
}

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font: 400 16px/1.6 "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
}

h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: var(--blue-600); }

.wrap {
    width: min(1180px, 100% - 40px);
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 10;
    padding: 12px 18px;
    background: #fff;
    border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; top: 0; }

.icon {
    width: 26px; height: 26px;
    flex: none;
}
.icon--sm { width: 18px; height: 18px; }

:focus-visible {
    outline: 3px solid var(--blue-500);
    outline-offset: 2px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 999px;
    font: inherit;
    font-weight: 600;
    letter-spacing: .01em;
    text-decoration: none;
    cursor: pointer;
    transition: background-color .15s, color .15s, transform .15s, box-shadow .15s;
}

.btn--primary {
    background: var(--blue-600);
    color: #fff;
    box-shadow: 0 8px 20px rgba(10, 92, 191, .22);
}
.btn--primary:hover { background: #084ea3; transform: translateY(-1px); }

/* Przycisk na białym pasku u góry strony. */
.btn--ghost {
    padding: 10px 20px;
    background: transparent;
    border: 1px solid var(--blue-600);
    color: var(--blue-600);
    font-size: 14px;
    text-transform: uppercase;
}
.btn--ghost:hover { background: var(--blue-050); }

.btn--block { width: 100%; }

.btn[disabled] { opacity: .6; cursor: progress; transform: none; }

/* ---------------------------------------------------------------
   Biały pasek z logo — na całą szerokość strony (konwencja hrd.pl)
   --------------------------------------------------------------- */

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--line);
}

/* ---------------------------------------------------------------
   Hero
   --------------------------------------------------------------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-bottom: 46px;
    background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 55%, #14417f 100%);
    color: #fff;
}

/* Wąski granatowy akcent pod białym paskiem (podstrony bez pełnego hero). */
.hero--slim { padding-bottom: 0; height: 7px; }

.hero__bg {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(255, 255, 255, .18) 1px, transparent 1.4px),
        radial-gradient(1000px 420px at 78% 20%, rgba(60, 140, 230, .35), transparent 65%);
    background-size: 26px 26px, 100% 100%;
    opacity: .5;
}

.hero > .wrap { position: relative; }

.hero__top {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 22px 0 10px;
}

/* Logo leży wprost na białym pasku (w stopce — biała wersja pliku). */
.logo {
    display: inline-flex;
    align-items: center;
    flex: none;
    text-decoration: none;
    transition: transform .18s, opacity .18s;
}
.logo:hover { transform: translateY(-1px); opacity: .85; }

.logo img {
    display: block;
    width: auto;
    height: 38px;
}

.logo--footer img { height: 32px; }

.hero__claim {
    flex: 1;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    color: var(--navy-700);
}
.hero__claim span { color: var(--blue-500); margin: 0 6px; }

.hero__body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    align-items: center;
    gap: 30px;
    padding-top: 18px;
}

.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 14px;
    color: var(--blue-300);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.hero h1 {
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.08;
    letter-spacing: -.02em;
    font-weight: 800;
}

.hero__lead {
    max-width: 40em;
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.62;
    color: #d5e3f7;
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 26px 34px;
    margin-top: 32px;
}
.hero__features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    color: #c6d8f0;
}
.hero__features .icon { color: var(--blue-300); }
.hero__features strong {
    display: block;
    color: #fff;
    font-size: 15px;
}

.hero__art { justify-self: center; }
.hero__art svg { width: min(300px, 80vw); height: auto; }

/* ---------------------------------------------------------------
   Sekcje
   --------------------------------------------------------------- */

.section { padding: 58px 0; }
.section--tight { padding: 16px 0 42px; }

.section__title {
    text-align: center;
    font-size: clamp(24px, 2.6vw, 31px);
    font-weight: 700;
    color: var(--navy-600);
}
.section__title::after {
    content: "";
    display: block;
    width: 62px;
    height: 3px;
    margin: 14px auto 0;
    border-radius: 2px;
    background: var(--blue-500);
}

.section__lead {
    max-width: 62em;
    margin: 20px auto 0;
    text-align: center;
    color: var(--ink-soft);
}

/* ---------------------------------------------------------------
   Karty rozwijane
   --------------------------------------------------------------- */

/* align-items: stretch (domyślne) — wszystkie karty w rzędzie mają tę samą
   wysokość, zarówno zwinięte, jak i po rozwinięciu. */
.cards {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px;
    margin-top: 34px;
}

/* Karta pełni rolę zakładki — treść pokazuje się w panelu pod spodem. */
.card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 20px 16px 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: box-shadow .18s, border-color .18s, transform .18s;
}
.card:hover { border-color: var(--blue-300); box-shadow: var(--shadow-lg); transform: translateY(-2px); }

.card.is-active {
    border-color: var(--blue-500);
    box-shadow: 0 10px 26px rgba(10, 92, 191, .16);
}

/* Dzióbek łączący aktywną kartę z panelem szczegółów. */
.card.is-active::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    width: 16px; height: 16px;
    transform: translateX(-50%) rotate(45deg);
    background: #fff;
    border-right: 1px solid var(--blue-500);
    border-bottom: 1px solid var(--blue-500);
}

.card__icon {
    display: block;
    margin-bottom: 14px;
    color: var(--blue-600);
}

.card__title {
    font-size: 15.5px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy-700);
}

.card__lead {
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.55;
    color: var(--ink-soft);
}

.card__more {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    padding: 0;
    background: none;
    border: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    color: var(--blue-600);
    text-align: left;
    cursor: pointer;
}
.card__more .icon { transition: transform .18s; }
.card:hover .card__more .icon { transform: translateX(3px); }
.card.is-active .card__more { color: var(--navy-700); }

/* ---------------------------------------------------------------
   Panel szczegółów pod kartami
   --------------------------------------------------------------- */

.details {
    margin-top: 26px;
    padding: 30px 32px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Bez JavaScriptu widoczne są wszystkie panele — nic nie ginie. */
.details[data-enhanced="true"] .details__panel { display: none; }
.details[data-enhanced="true"] .details__panel.is-active { display: block; }
.details[data-enhanced="true"] .details__panel:focus-visible { outline-offset: 6px; }

/* Rozdzielenie paneli potrzebne tylko wtedy, gdy widać je wszystkie naraz
   (brak JavaScriptu) — przy działającym przełączaniu widoczny jest jeden. */
.details:not([data-enhanced="true"]) .details__panel + .details__panel {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid var(--line);
}

.details__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.details__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 46px; height: 46px;
    border-radius: 12px;
    background: var(--blue-050);
    color: var(--blue-600);
}
.details__head h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--navy-700);
}
.details__head p {
    margin-top: 4px;
    font-size: 14.5px;
    color: var(--ink-soft);
}

.details__body {
    display: grid;
    gap: 16px;
    font-size: 14px;
    line-height: 1.55;
}
.details__body--timeline { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.details__body--variants { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.details__body--steps    { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.details__body--checks   { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.details__body--blocks   { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

/* Przejście do formularza — zaraz pod panelem szczegółów. */
.details__cta {
    margin-top: 26px;
    text-align: center;
}
.details__cta .icon { transition: transform .18s; }
.details__cta .btn:hover .icon { transform: translateY(2px); }

/* kamienie milowe (dawna oś czasu) */

.milestone {
    padding: 16px 18px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border-top: 3px solid var(--blue-500);
}
.milestone__label {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--navy-700);
}
.milestone__text { color: var(--ink-soft); }
.milestone__text strong { color: var(--ink); }

/* kroki procedury */

.step {
    padding: 16px 18px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
}
.step__no {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px; height: 26px;
    margin-bottom: 10px;
    border-radius: 50%;
    background: var(--blue-500);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.step__title { font-weight: 700; color: var(--navy-700); }
.step__text { margin-top: 4px; color: var(--ink-soft); }

/* warianty A1 / A2 / B */

.variant {
    padding: 16px 18px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    border-left: 3px solid var(--blue-500);
}
.variant--a2 { border-left-color: #2f9e6f; }
.variant--b  { border-left-color: var(--amber-400); }

.variant__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    padding: 3px 10px;
    margin-bottom: 9px;
    border-radius: 999px;
    background: var(--blue-500);
    color: #fff;
    font-size: 12.5px;
    font-weight: 700;
}
.variant--a2 .variant__badge { background: #2f9e6f; }
.variant--b .variant__badge  { background: var(--amber-400); color: #4a3407; }

.variant__title { font-weight: 700; color: var(--navy-700); }
.variant__text  { margin-top: 5px; color: var(--ink-soft); }

/* lista z ptaszkami */

.check {
    display: flex;
    gap: 10px;
    padding: 13px 16px;
    background: var(--bg-soft);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
}
.check .icon { color: var(--blue-500); flex: none; margin-top: 2px; }

/* bloki */

.block__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--navy-700);
}
.block__text { margin-top: 5px; color: var(--ink-soft); }

/* notki w kartach */

.details .note,
.details .callout--soft { margin-top: 20px; }

.note {
    margin-top: 14px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--ink-soft);
}
.note strong { color: var(--navy-700); }
.note--warning { background: var(--amber-050); border: 1px solid #f6e3bb; }
.note--info    { background: var(--bg-soft);  border: 1px solid var(--line); }

.callout--soft {
    margin-top: 14px;
    padding: 12px 14px;
    background: var(--blue-050);
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
}
.callout--soft .callout__title {
    font-weight: 700;
    color: var(--navy-700);
    margin-bottom: 5px;
}

/* Klasyfikacja w formularzu S46 (sekcja „Wykaz KSC") */

.s46class {
    margin-top: 22px;
    font-size: 14px;
    line-height: 1.55;
}
.s46class__intro { color: var(--ink-soft); }

.s46class__params {
    display: grid;
    gap: 9px;
    margin: 14px 0 0;
    padding: 16px 18px;
    background: var(--bg-soft);
    border-left: 3px solid var(--blue-500);
    border-radius: var(--radius-sm);
}
.s46class__params > div {
    display: grid;
    grid-template-columns: 185px 1fr;
    gap: 12px;
}
.s46class__params dt { font-weight: 700; color: var(--navy-700); }
.s46class__params dd { margin: 0; color: var(--ink-soft); }

.s46class__head {
    margin-top: 20px;
    font-weight: 700;
    color: var(--navy-700);
}
.s46class__note { margin-top: 8px; color: var(--ink-soft); }

.s46class__rules {
    display: grid;
    gap: 9px;
    margin-top: 10px;
}
.s46class__rules li {
    padding: 12px 15px;
    background: var(--amber-050);
    border: 1px solid #f6e3bb;
    border-radius: var(--radius-sm);
    color: var(--ink-soft);
}
.s46class__rules strong { color: var(--navy-700); }

/* ---------------------------------------------------------------
   Ramka ostrzegawcza
   --------------------------------------------------------------- */

.callout--warning {
    padding: 28px 30px;
    background: var(--amber-050);
    border: 1px solid #f2e0b8;
    border-radius: var(--radius);
}

.callout__head {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.callout__badge {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--amber-400);
    color: #fff;
}
.callout__head h2 {
    font-size: 19px;
    font-weight: 700;
    letter-spacing: .01em;
    text-transform: uppercase;
    color: var(--navy-800);
}
.callout__head p {
    margin-top: 9px;
    color: var(--ink-soft);
    font-size: 15px;
}
.callout__head strong { color: var(--ink); }

.callout__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 24px;
    font-size: 14px;
    color: var(--ink-soft);
}
.callout__item-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 7px;
    font-weight: 700;
    color: var(--navy-700);
}
.callout__item--accent {
    padding: 16px 18px;
    margin: -16px -18px;
    background: #fbf1d8;
    border: 1px solid #eed9a8;
    border-radius: var(--radius-sm);
}

.callout__foot {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #eeddb8;
    font-size: 13.5px;
    color: var(--ink-soft);
}
.callout__foot .icon { color: var(--amber-600); flex: none; margin-top: 2px; }

/* ---------------------------------------------------------------
   Formularz dostępu
   --------------------------------------------------------------- */

/* Zapas nad sekcją, żeby po przewinięciu nie kleiła się do krawędzi okna. */
#dostep { scroll-margin-top: 20px; }

.access {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: 40px;
    padding: 36px 38px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.access__intro h2 {
    font-size: clamp(22px, 2.4vw, 29px);
    font-weight: 700;
    color: var(--navy-700);
    line-height: 1.2;
}
.access__intro h2::after {
    content: "";
    display: block;
    width: 54px; height: 3px;
    margin-top: 16px;
    border-radius: 2px;
    background: var(--blue-500);
}
.access__intro p {
    margin-top: 18px;
    font-size: 15px;
    color: var(--ink-soft);
}
.access__highlight {
    padding-left: 16px;
    border-left: 3px solid var(--blue-500);
    color: var(--ink) !important;
    font-weight: 600;
}

.access__form {
    padding: 26px 26px 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.access__form h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--navy-700);
}
.access__hint {
    margin-top: 8px;
    font-size: 14px;
    color: var(--ink-soft);
}

.field { position: relative; margin-top: 18px; }
.field input {
    width: 100%;
    padding: 14px 46px 14px 16px;
    background: #fff;
    border: 1px solid #c9d7e8;
    border-radius: var(--radius-sm);
    font: inherit;
    color: var(--ink);
}
.field input::placeholder { color: #90a2b8; }
.field input:focus { border-color: var(--blue-500); outline-offset: 0; }
.field__icon {
    position: absolute;
    top: 50%; right: 15px;
    transform: translateY(-50%);
    color: #90a2b8;
    pointer-events: none;
}

.hp {
    position: absolute;
    left: -9999px;
    width: 1px; height: 1px;
    overflow: hidden;
}

.consent {
    display: flex;
    gap: 11px;
    margin-top: 16px;
    font-size: 13px;
    line-height: 1.5;
    color: var(--ink-soft);
    cursor: pointer;
}
.consent input {
    flex: none;
    width: 18px; height: 18px;
    margin-top: 1px;
    accent-color: var(--blue-600);
}

.access__form .btn { margin-top: 20px; text-transform: uppercase; font-size: 14px; }

.form-message {
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13.5px;
    line-height: 1.5;
}
.form-message:empty { display: none; }
.form-message.is-ok {
    background: #eaf7f0;
    border: 1px solid #b9e2cd;
    color: #14603f;
}
.form-message.is-error {
    background: #fdeeee;
    border: 1px solid #f3c6c6;
    color: #97281f;
}

.access__note {
    display: flex;
    gap: 9px;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--ink-soft);
}
.access__note .icon { color: var(--blue-500); flex: none; }

/* ---------------------------------------------------------------
   Dlaczego warto
   --------------------------------------------------------------- */

.benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 26px;
    margin-top: 34px;
    text-align: center;
}
.benefits li { display: flex; flex-direction: column; align-items: center; gap: 7px; }
.benefits__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px; height: 52px;
    margin-bottom: 6px;
    border-radius: 50%;
    background: var(--blue-050);
    color: var(--blue-600);
}
.benefits strong { color: var(--navy-700); font-size: 15px; }
.benefits span:last-child { font-size: 13.5px; color: var(--ink-soft); max-width: 26em; }

/* ---------------------------------------------------------------
   Stopka (jedna, wspólna dla wszystkich podstron)
   --------------------------------------------------------------- */

.footer {
    margin-top: 20px;
    padding: 44px 0 0;
    background: var(--navy-900);
    color: #c6d8f0;
    font-size: 14px;
}

.footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
    gap: 34px 48px;
    padding-bottom: 34px;
}

.footer__lead {
    max-width: 30em;
    margin-top: 18px;
    line-height: 1.6;
    color: #a9c2e2;
}

.footer__title {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.footer__title .icon { color: var(--blue-300); }

.footer__note {
    margin-bottom: 12px;
    color: #a9c2e2;
    line-height: 1.55;
}

.footer__list { display: grid; gap: 9px; }
.footer__list a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #c6d8f0;
    text-decoration: none;
    line-height: 1.45;
}
.footer__list a:hover { color: #fff; text-decoration: underline; }
.footer__list .icon { color: var(--blue-300); flex: none; }

.footer__list--links a { align-items: baseline; }
/* „Przydatne strony" w dwóch kolumnach (jedna na wąskich ekranach). */
.footer__list--links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }
.footer__ext { color: var(--blue-300); font-size: 12px; }

.footer__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 26px;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, .12);
    font-size: 12.5px;
    color: #8fa8ca;
}
.footer__disclaimer { max-width: 62em; }

/* ---------------------------------------------------------------
   Strona z materiałami (materials.php)
   --------------------------------------------------------------- */

.panel {
    max-width: 720px;
    margin: 48px auto;
    padding: 34px 36px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}
.panel h1 {
    font-size: 26px;
    font-weight: 700;
    color: var(--navy-700);
}
.panel p { margin-top: 14px; color: var(--ink-soft); }
.panel__mail {
    display: inline-block;
    margin-top: 6px;
    padding: 4px 12px;
    background: var(--blue-050);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-700);
}
.panel .btn { margin-top: 24px; }
.panel__list { margin-top: 18px; display: grid; gap: 10px; }
.panel__list li { display: flex; gap: 10px; color: var(--ink-soft); font-size: 14.5px; }
.panel__list .icon { color: var(--blue-500); flex: none; margin-top: 2px; }

.state {
    max-width: 620px;
    margin: 60px auto;
    padding: 32px 34px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px; height: 58px;
    margin-bottom: 16px;
    border-radius: 50%;
    background: var(--amber-050);
    color: var(--amber-600);
}
.state h1 { font-size: 22px; color: var(--navy-700); }
.state p { margin-top: 12px; color: var(--ink-soft); }

/* ---------------------------------------------------------------
   Responsywność
   --------------------------------------------------------------- */

/* Karty nie zwężają się w nieskończoność — zamiast ściskać sześć kolumn,
   układają się w równe rzędy: 6 → 3 + 3 → 2 + 2 + 2 → jedna kolumna. */
@media (max-width: 1220px) {
    .cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero__body { grid-template-columns: 1fr; }
    .hero__art { order: -1; }
    .hero__art svg { width: min(220px, 60vw); }
    .hero__claim { display: none; }
    .access { grid-template-columns: 1fr; padding: 26px 22px; }
    .details { padding: 24px 20px; }
    .footer__grid { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
    .callout--warning { padding: 22px 20px; }
    .callout__item--accent { margin: 0; }
    .footer__grid { gap: 26px; }
    .footer__list--links { grid-template-columns: 1fr; gap: 9px; }
    .footer__bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 620px) {
    .cards { grid-template-columns: 1fr; }
    .hero__top { flex-wrap: wrap; gap: 14px; }
    .section { padding: 42px 0; }
    .s46class__params > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (prefers-reduced-motion: reduce) {
    * { transition: none !important; }
    html { scroll-behavior: auto; }
}
