/* ==========================================================================
   Fundacja Pro Futuro – arkusz stylów
   ========================================================================== */

/* Lexend – krój używany na stronie, serwowany z własnego serwera */
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 300; font-display: swap;
  src: url('/wp-content/uploads/fonts/Lexend-Light.woff2') format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/wp-content/uploads/fonts/Lexend-Regular.woff2') format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 500; font-display: swap;
  src: url('/wp-content/uploads/fonts/Lexend-Medium.woff2') format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 600; font-display: swap;
  src: url('/wp-content/uploads/fonts/Lexend-SemiBold.woff2') format('woff2'); }
@font-face { font-family: 'Lexend'; font-style: normal; font-weight: 700; font-display: swap;
  src: url('/wp-content/uploads/fonts/Lexend-Bold.woff2') format('woff2'); }

:root {
  --primary: #22386b;
  --ink: #181b31;
  --body: #808291;
  --muted: #a7a9b8;
  --light: #f7f9fb;
  --light-alt: #f4f5f8;
  --num: #03086f;
  --team: #023753;
  --font: 'Lexend', 'Segoe UI', Tahoma, Geneva, sans-serif;
  --container: 1170px;
  --header-h: 90px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* Elementy siatek mają domyślnie min-width:auto, przez co długie słowo
   (np. adres e-mail) potrafi rozepchnąć kolumnę ponad szerokość ekranu. */
.goals-grid > li, .post-grid > li, .team-grid > li,
.contact-grid > div, .about-grid > div, .numbers-grid > *,
.lead-grid > div, .counters > div, .footer-bottom > * { min-width: 0; }

h1, h2, h3, h4, h5, h6 { font-family: var(--font); font-weight: 700; color: var(--ink); margin: 0 0 .5em; }
h1 { font-size: 72px; line-height: 1.111em; }
h2 { font-size: 36px; line-height: 1.111em; }
h3 { font-size: 30px; line-height: 1.25em; }
h4 { font-size: 22px; line-height: 1.5em; }
h5 { font-size: 19px; line-height: 1.5em; }
h6 { font-size: 17px; line-height: 1.5em; }

p { margin: 0 0 1.5em; }
p:last-child { margin-bottom: 0; }

a { color: var(--muted); text-decoration: none; transition: color .3s; }
a:hover, a:focus { color: var(--ink); }

img { max-width: 100%; height: auto; display: block; }
ul, ol { margin: 0 0 1.5em; padding-left: 1.35em; }
li { margin-bottom: .35em; }
strong, b { font-weight: 700; color: var(--ink); }
hr { border: 0; border-top: 1px solid #e6e9ef; margin: 1.5em 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 15px; }
.visually-hidden {
  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: 5px; top: -60px; z-index: 200;
  padding: 14px 22px; background: #fff; color: var(--ink); font-weight: 700;
}
.skip-link:focus { top: 5px; }

/* --- nagłówek strony ---------------------------------------------------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 0 50px;
  transition: background-color .3s, box-shadow .3s;
}
.site-header .mainbar {
  display: flex; align-items: center; gap: 20px;
  min-height: var(--header-h);
}
.site-header .mainbar > .brand-col { flex: 0 0 auto; display: flex; align-items: center; }
.site-header .mainbar > .nav-col { flex: 1 1 auto; min-width: 0; }

.navbar-brand { display: inline-block; max-width: 300px; }
.navbar-brand img { max-height: 56px; width: auto; }
.logo-dark { display: none; }

.main-nav {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px 30px;
}
.main-nav li { margin: 0; }
.main-nav a {
  display: inline-block; position: relative; padding: 6px 0;
  font-size: 14px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: rgba(255, 255, 255, .769);
}
.main-nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right center;
  transition: transform .3s cubic-bezier(.23, 1, .32, 1);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left center; }

.site-header.is-stuck { background: #fff; box-shadow: 0 4px 30px rgba(0, 0, 0, .07); }
.site-header.is-stuck .logo-light { display: none; }
.site-header.is-stuck .logo-dark { display: block; }
.site-header.is-stuck .main-nav a { color: var(--ink); }
.site-header.is-stuck .nav-trigger .bar { background: var(--ink); }

.nav-trigger {
  display: none; margin-left: auto; padding: 10px; border: 0; background: none; cursor: pointer;
}
.nav-trigger .bar { display: block; width: 24px; height: 2px; margin: 5px 0; background: #fff; transition: background .3s; }

/* --- sekcja hero -------------------------------------------------------- */

.hero {
  position: relative; display: flex; align-items: center;
  min-height: 100vh; padding: calc(var(--header-h) + 80px) 0 160px;
  text-align: center; color: #fff; overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slides span {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease-in-out;
}
.hero-slides span.is-active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: rgba(9, 16, 79, .6); }
.hero .container { position: relative; z-index: 2; }
.hero-inner { max-width: 83.333%; margin: 0 auto; }
.hero-eyebrow {
  color: #fff; margin: 0 0 .25em;
  font-size: 17px; text-transform: uppercase; letter-spacing: .05em;
}
.hero-title {
  color: #fff; margin: 0;
  font-size: clamp(2rem, 6.2vw, 80px); line-height: 1.25em; letter-spacing: -.01em;
}
.hero-lead {
  max-width: 700px; margin: 34px auto 0;
  color: #fff; font-size: 24px; line-height: 30px; font-weight: 400;
}

/* --- pasek partnerów ---------------------------------------------------- */

.partners {
  position: relative; z-index: 3;
  margin: -105px 0 80px; padding: 29px 0;
  background: var(--light-alt);
}
.partners-track { display: flex; overflow: hidden; }
.partners-track ul {
  display: flex; align-items: center; flex: 0 0 auto;
  list-style: none; margin: 0; padding: 0;
  animation: marquee 32s linear infinite;
}
.partners-track:hover ul { animation-play-state: paused; }
.partners-track li {
  flex: 0 0 auto; width: 16.6666vw; min-width: 140px; max-width: 195px; height: 80px;
  margin: 0; padding: 0 15px; display: flex; align-items: center; justify-content: center;
}
.partners-track img { max-width: 120px; width: auto; max-height: 60px; object-fit: contain; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .partners-track ul { animation: none; }
  .partners-track { overflow-x: auto; }
}

/* --- sekcje ------------------------------------------------------------- */

.section { padding: 70px 0; }
.section-tinted { background: var(--light); margin: 0 5px; }
.section-lg { padding: 150px 0; }

.section-title { max-width: 66.667%; margin: 0 auto; font-size: 60px; line-height: 1.111em; }
.section-title-sm { font-size: 45px; line-height: 1.11em; }
.text-center { text-align: center; }

@media (max-width: 991px) {
  .section-lg { padding: 90px 0; }
  .section-title { max-width: 100%; font-size: 40px; }
  .section-title-sm { font-size: 32px; }
}

/* --- o fundacji --------------------------------------------------------- */

#onas { padding: 70px 0; }
.about-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 8.333%; align-items: center; }
.about-title { font-size: 52px; line-height: 1.2em; font-weight: 400; letter-spacing: -.025em; margin: 0; }
.about-title strong { font-weight: 700; }
.about-lead { margin: 45px 25% 40px 0; font-size: 20px; line-height: 1.3em; font-style: italic; color: var(--ink); }
.about-body { margin-right: 25%; }
.about-media { position: relative; padding-bottom: 60px; }
.about-media figure { margin: 0; }
.about-media img { box-shadow: 0 30px 80px rgba(0, 0, 0, .16); }
.about-media .about-media-alt {
  position: absolute; left: -45%; bottom: -13%; width: 74%; margin: 0;
}

@media (max-width: 1199px) {
  .about-media .about-media-alt { left: 30%; bottom: -10%; width: 55%; }
}
@media (max-width: 991px) {
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-lead, .about-body { margin-right: 0; }
  .about-media { padding-bottom: 120px; }
}

/* --- cele fundacji ------------------------------------------------------ */

.goals-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 55px 30px;
  margin: 0; padding: 0; list-style: none; }
.goals-grid > li { margin: 0; }
.goal-num { margin: 0 0 .5em; font-size: 12px; font-weight: 700; letter-spacing: .2em; color: var(--num); }
.goal-title { font-size: 36px; line-height: 1.11em; margin: 0 0 18px; }
.goal-text { margin: 0; }
@media (max-width: 767px) { .goals-grid { grid-template-columns: 1fr; gap: 40px; } }

/* --- fundacja w liczbach ------------------------------------------------ */

.numbers-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 6%; align-items: center; }
.numbers-grid img { border-radius: 6px; box-shadow: 0 30px 80px rgba(0, 0, 0, .16); }
.numbers-title { font-size: 45px; line-height: 1.244em; margin: 0 0 .7em; }
.counters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
/* na szerokich ekranach kolumny dopasowują się do treści, żeby etykiety
   mieściły się w jednej linii; min-height niżej i tak trzyma równy dół */
@media (min-width: 1200px) {
  .counters { grid-template-columns: repeat(3, auto); justify-content: space-between; }
}
.counter-value {
  font-size: clamp(34px, 4vw, 60px); font-weight: 300; line-height: 1em;
  color: #000; white-space: nowrap; margin-bottom: .35em;
}
/* dwie linie rezerwy na etykietę — dzięki temu wszystkie trzy bloki
   mają tę samą wysokość i liczby stoją w jednej linii */
.counter-label {
  display: block; min-height: 3em; font-size: 15px; line-height: 1.5em;
  color: rgba(0, 0, 0, .55);
}
@media (max-width: 991px) {
  .numbers-grid { grid-template-columns: 1fr; gap: 50px; }
  .counter-value { font-size: 48px; }
}
@media (max-width: 575px) { .counters { grid-template-columns: 1fr; } }

/* --- listy wpisów ------------------------------------------------------- */

.post-grid { display: grid; gap: 30px; margin: 0; padding: 0; list-style: none; }
.post-grid-2 { grid-template-columns: repeat(2, 1fr); gap: 30px 10px; }
.post-grid-3 { grid-template-columns: repeat(3, 1fr); }
.post-grid > li { margin: 0; }

.card { position: relative; color: var(--ink); }
.card-media { margin: 0 0 1.25em; overflow: hidden; }
.card-media img { width: 100%; aspect-ratio: 660 / 500; object-fit: cover;
  transition: transform .85s cubic-bezier(.23, 1, .32, 1); }
.card:hover .card-media img { transform: scale(1.06); }
.card-title { font-size: 24px; line-height: 1.3em; font-weight: 700; margin: 0; }
.card-title a { color: inherit; }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card:hover .card-title { color: var(--primary); }
.card-date { display: block; margin-bottom: .5em; font-size: 15px; color: rgba(0, 0, 0, .35); }
.card-excerpt { margin: .35em 0 .75em; }

.list-item .list-title { font-size: 22px; line-height: 1.5em; margin: 0; }
.list-item .list-title a { color: var(--ink); }
.list-item .list-title a:hover { color: var(--primary); }
.list-item p { margin: 1em 0 0; }

@media (max-width: 991px) { .post-grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px) {
  .post-grid-2, .post-grid-3 { grid-template-columns: 1fr; }
  .card-title { font-size: 24px; }
}

.card-media-empty {
  aspect-ratio: 660 / 500;
  background: linear-gradient(135deg, var(--primary) 0%, #0b1642 100%);
  position: relative;
}
.card-media-empty::after {
  content: 'Pro Futuro'; position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255, 255, 255, .32);
}

/* --- paginacja (po stronie przeglądarki) -------------------------------- */

.pagination { display: flex; flex-wrap: wrap; gap: 4px; margin: 30px 0 0; padding: 0; list-style: none; font-size: 14px; }
.pagination li { margin: 0; }
.pagination button {
  min-width: 30px; height: 34px; padding: 0 8px;
  border: 0; background: none; cursor: pointer;
  font-family: inherit; font-size: 14px; color: var(--muted);
  transition: color .3s;
}
.pagination button:hover { color: var(--ink); }
.pagination button[aria-current="page"] { color: var(--ink); font-weight: 700; }
.pagination .dots { padding: 0 6px; line-height: 34px; color: var(--muted); }

/* na ekranach dotykowych powiększamy cele kliknięcia */
@media (max-width: 767px) {
  .pagination { gap: 8px; }
  .pagination button { min-width: 44px; height: 44px; }
  .pagination .dots { line-height: 44px; }
}

.sample-projects { background: #fff; margin: 100px 5px; }
@media (max-width: 991px) { .sample-projects { margin: 70px 5px; } }

/* --- zespół ------------------------------------------------------------- */

.lead-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 8.333%; align-items: center; }
.lead-title { font-size: 38px; line-height: 1.342em; margin: 0 0 30px; }
.lead-title .roles { display: block; position: relative; min-height: 1.342em; }
.lead-title .role { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .6s; }
.lead-title .role.is-active { opacity: 1; position: relative; }
.lead-media img { border-radius: 6px; box-shadow: 0 20px 70px rgba(0, 0, 0, .16); margin: 0 auto; }
.lead-caption { margin-top: 1.5em; text-align: center; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; padding-top: 50px; }
.team-member { text-align: center; color: var(--ink); }
.team-name { font-size: 20px; font-weight: 600; line-height: 1.5em; margin: 0 0 1rem; }
.team-role { font-size: 12px; font-weight: 700; letter-spacing: .175em; text-transform: uppercase; line-height: 1.5em; margin: 0 0 1rem; color: var(--team); }
.team-bio { margin: 0; }

@media (max-width: 991px) {
  .lead-grid { grid-template-columns: 1fr; gap: 50px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) { .team-grid { grid-template-columns: 1fr; } }

/* --- stopka ------------------------------------------------------------- */

.site-footer { padding-bottom: 0; }
.site-footer > .section { padding-bottom: 0; }
.contact-grid { display: grid; grid-template-columns: 1.35fr 1fr 1fr 1fr; gap: 30px; }
.contact-grid h3 { font-size: 20px; font-weight: 700; color: var(--ink); margin: 0 0 15px; }
.contact-grid p { margin: 0; overflow-wrap: break-word; }
.contact-grid a { color: inherit; }
.contact-grid a:hover { color: var(--primary); }

.footer-bottom {
  display: grid; grid-template-columns: repeat(3, 1fr); align-items: center;
  gap: 20px; margin-top: 60px; padding: 22px 0; font-size: 14px;
  border-top: 1px solid #edeff4;
}
.footer-bottom > :nth-child(2) { text-align: center; }
.footer-bottom > :nth-child(3) { text-align: right; }
.footer-bottom p { margin: 0; }

/* stopka: 4 kolumny od md, 2 na tablecie, 1 na telefonie — jak w oryginale */
@media (max-width: 991px) {
  .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 35px 30px; }
  .contact-grid p { overflow-wrap: anywhere; }
}

@media (max-width: 767px) {
  .hero-lead { font-size: 20px; line-height: 26px; }
  .footer-bottom { grid-template-columns: 1fr; text-align: left; }
  .footer-bottom > :nth-child(2), .footer-bottom > :nth-child(3) { text-align: left; }
}

@media (max-width: 575px) {
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .goals-grid { gap: 45px; }
  .goal-title { font-size: 30px; }
  .about-title { font-size: 38px; }
  .numbers-title, .section-title-sm { font-size: 32px; }
  .lead-title { font-size: 30px; }
}

/* --- powrót do góry ----------------------------------------------------- */

.back-to-top {
  position: fixed; right: 25px; bottom: 25px; z-index: 90;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: var(--primary); color: #fff; font-size: 20px; line-height: 1;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s, transform .3s;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; }
.back-to-top:hover { color: #fff; transform: translateY(-3px); }

/* --- wpis: okładka ------------------------------------------------------ */

.entry-cover {
  position: relative; height: 87vh; min-height: 520px;
  background: #12131a; overflow: hidden;
}
.entry-cover img { width: 100%; height: 100%; object-fit: cover; }
.entry-cover::after {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(20, 22, 34, .75) 0%, rgba(20, 22, 34, .15) 100%);
}
.entry-cover .container { position: absolute; top: 50%; left: 0; right: 0; transform: translateY(-50%); z-index: 2; }
.entry-title {
  max-width: 50%; margin: 0; color: #fff;
  font-size: 36px; line-height: 1.111em; letter-spacing: -.01em;
}
@media (max-width: 991px) { .entry-title { max-width: 100%; font-size: 30px; } }

/* --- wpis: treść -------------------------------------------------------- */

.entry {
  position: relative; z-index: 2;
  max-width: 1170px; margin: -150px auto 0; padding: 65px 195px 80px;
  background: #fff;
}
@media (max-width: 1199px) { .entry { padding: 65px 90px 80px; } }
@media (max-width: 991px) { .entry { margin-top: -80px; padding: 45px 25px 60px; } }
@media (max-width: 575px) { .entry { margin-top: 0; padding: 40px 15px 50px; } }

.entry-meta { margin: 0 0 2.5em; font-size: 14px; }
.entry-meta a { color: var(--primary); }

.pf-row { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 30px; }
.pf-row + .pf-row { margin-top: 30px; }
.pf-col { grid-column: span 12; min-width: 0; }
.pf-space { width: 100%; }
.pf-image { margin: 1.5em 0; }
.pf-image.is-center { text-align: center; }
.pf-image.is-center img { margin: 0 auto; }
.entry h2, .entry h3, .entry h4, .entry h5 { margin-top: 1.2em; }
.entry h2:first-child, .entry h3:first-child, .entry h4:first-child, .entry h5:first-child { margin-top: 0; }
.entry a { color: var(--primary); text-decoration: underline; }
.entry a:hover { color: var(--ink); }

/* karta szkolenia (CTA) */
.pf-cta {
  height: 100%; padding: 30px; margin-bottom: 30px;
  border: 1px solid #f0f0f0; border-radius: 5px; background: #f7f7f7;
  display: flex; flex-direction: column;
}
.pf-cta h5 { margin: 0 0 .75em; font-size: 19px; line-height: 1.4em; }
.pf-cta hr { margin: 0 0 1.25em; }
.pf-cta p { margin-bottom: 1.25em; }
.pf-cta-body { flex: 1 1 auto; }
.pf-btn {
  display: block; width: 100%; margin-top: 20px; padding: 12px 20px; border-radius: 4px;
  background: #ebebeb; color: #666; text-align: center; text-decoration: none !important;
  font-size: 14px; transition: background-color .3s, color .3s;
}
.pf-btn:hover { background: var(--primary); color: #fff; }

@media (min-width: 768px) {
  .pf-col-1 { grid-column: span 1; }  .pf-col-2 { grid-column: span 2; }
  .pf-col-3 { grid-column: span 3; }  .pf-col-4 { grid-column: span 4; }
  .pf-col-5 { grid-column: span 5; }  .pf-col-6 { grid-column: span 6; }
  .pf-col-7 { grid-column: span 7; }  .pf-col-8 { grid-column: span 8; }
  .pf-col-9 { grid-column: span 9; }  .pf-col-10 { grid-column: span 10; }
  .pf-col-11 { grid-column: span 11; } .pf-col-12 { grid-column: span 12; }
}

/* --- bloki nowych wpisów ------------------------------------------------ */

.pf-link { word-break: break-word; }

.pf-factbox {
  margin: 2em 0 0; padding: 24px 28px;
  border-left: 3px solid var(--primary); background: var(--light);
  border-radius: 0 5px 5px 0;
}
.pf-factbox p { margin: 0 0 .4em; }
.pf-factbox p:last-child { margin-bottom: 0; }

.pf-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 2em 0 0; padding: 0; list-style: none;
}
.pf-gallery li { margin: 0; }
.pf-gallery img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px;
  transition: transform .45s cubic-bezier(.23, 1, .32, 1);
}
.pf-gallery a { display: block; overflow: hidden; border-radius: 4px; }
.pf-gallery a:hover img { transform: scale(1.05); }
@media (max-width: 575px) { .pf-gallery { grid-template-columns: repeat(2, 1fr); } }

.pf-files { margin: 2em 0 0; padding: 0; list-style: none; }
.pf-files li { margin: 0 0 10px; }
.pf-files a {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 18px; border: 1px solid #e2e5ec; border-radius: 5px;
  color: var(--primary); font-weight: 700; font-size: 15px; text-decoration: none !important;
  transition: border-color .3s, background-color .3s;
}
.pf-files a::before { content: '↓'; font-size: 17px; }
.pf-files a:hover { border-color: var(--primary); background: var(--light); }

/* okładka wpisu bez zdjęcia */
.entry-cover:not(:has(img)) { background: linear-gradient(135deg, var(--primary) 0%, #0b1642 100%); }
.entry-cover:not(:has(img))::after { background-image: none; }

/* --- strona 404 --------------------------------------------------------- */

.page-simple { padding: calc(var(--header-h) + 120px) 0 120px; text-align: center; }
.page-simple h1 { font-size: 48px; }
.btn-primary {
  display: inline-block; margin-top: 20px; padding: 14px 32px; border-radius: 4px;
  background: var(--primary); color: #fff; font-weight: 700; font-size: 14px;
  letter-spacing: .1em; text-transform: uppercase;
}
.btn-primary:hover { background: var(--ink); color: #fff; }

/* --- nawigacja mobilna -------------------------------------------------- */

@media (max-width: 1199px) {
  .site-header { padding: 0 20px; }
  .nav-trigger { display: block; }
  .site-header .mainbar { flex-wrap: wrap; }
  .site-header .mainbar > .brand-col { flex: 1 1 auto; display: flex; align-items: center; }
  .site-header .mainbar > .nav-col { flex: 1 0 100%; display: none; }
  .site-header.nav-open { background: #fff; }
  .site-header.nav-open .logo-light { display: none; }
  .site-header.nav-open .logo-dark { display: block; }
  .site-header.nav-open .nav-trigger .bar { background: var(--ink); }
  .site-header.nav-open .mainbar > .nav-col { display: block; }
  .main-nav { flex-direction: column; gap: 0; padding: 10px 0 24px; }
  .main-nav a { color: #0a0943; padding: 10px 0; }
  .site-header.nav-open .main-nav a { color: #0a0943; }
  .hero-lead { margin-left: 0; margin-right: 0; }
  .hero-inner { max-width: 100%; }
}
