@font-face {
    font-family: 'DIN Bold';
    src: url('../fonts/din/DINNextRoundedLTPro-Bold.eot');
    src: url('../fonts/din/DINNextRoundedLTPro-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/din/DINNextRoundedLTPro-Bold.woff2') format('woff2'),
         url('../fonts/din/DINNextRoundedLTPro-Bold.woff') format('woff'),
         url('../fonts/din/DINNextRoundedLTPro-Bold.ttf')  format('truetype'),
         url('../fonts/din/DINNextRoundedLTPro-Bold.svg#DIN Next Rounded LT Pro') format('svg');
}

@font-face {
    font-family: 'DIN Regular';
    src: url('../fonts/din/DINNextRoundedLTPro-Regular.eot');
    src: url('../fonts/din/DINNextRoundedLTPro-Regular.eot?#iefix') format('embedded-opentype'),
         url('../fonts/din/DINNextRoundedLTPro-Regular.woff2') format('woff2'),
         url('../fonts/din/DINNextRoundedLTPro-Regular.woff') format('woff'),
         url('../fonts/din/DINNextRoundedLTPro-Regular.ttf')  format('truetype'),
         url('../fonts/din/DINNextRoundedLTPro-Regular.svg#DIN Next Rounded LT Pro') format('svg');
}

/* quicksand-300 - latin_latin-ext */
@font-face {
    font-family: 'Quicksand 300';
    font-style: normal;
    font-weight: 300;
    src: url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.woff') format('woff'), /* Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-300.svg#Quicksand') format('svg'); /* Legacy iOS */
  }
  /* quicksand-regular - latin_latin-ext */
  @font-face {
    font-family: 'Quicksand 400';
    font-style: normal;
    font-weight: 400;
    src: url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.woff') format('woff'), /* Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-regular.svg#Quicksand') format('svg'); /* Legacy iOS */
  }
  /* quicksand-500 - latin_latin-ext */
  @font-face {
    font-family: 'Quicksand 500';
    font-style: normal;
    font-weight: 500;
    src: url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.woff') format('woff'), /* Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-500.svg#Quicksand') format('svg'); /* Legacy iOS */
  }
  /* quicksand-600 - latin_latin-ext */
  @font-face {
    font-family: 'Quicksand 600';
    font-style: normal;
    font-weight: 600;
    src: url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.woff') format('woff'), /* Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-600.svg#Quicksand') format('svg'); /* Legacy iOS */
  }
  /* quicksand-700 - latin_latin-ext */
  @font-face {
    font-family: 'Quicksand 700';
    font-style: normal;
    font-weight: 700;
    src: url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.woff') format('woff'), /* Modern Browsers */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/quicksand/quicksand-v19-latin_latin-ext-700.svg#Quicksand') format('svg'); /* Legacy iOS */
  }


@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow/Barlow-SemiBoldItalic.eot');
    src: url('../fonts/barlow/Barlow-SemiBoldItalic.eot?#iefix') format('embedded-opentype'),
        url('../fonts/barlow/Barlow-SemiBoldItalic.woff2') format('woff2'),
        url('../fonts/barlow/Barlow-SemiBoldItalic.woff') format('woff'),
        url('../fonts/barlow/Barlow-SemiBoldItalic.ttf') format('truetype'),
        url('../fonts/barlow/Barlow-SemiBoldItalic.svg#Barlow-SemiBoldItalic') format('svg');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow/Barlow-Bold.eot');
    src: url('../fonts/barlow/Barlow-Bold.eot?#iefix') format('embedded-opentype'),
        url('../fonts/barlow/Barlow-Bold.woff2') format('woff2'),
        url('../fonts/barlow/Barlow-Bold.woff') format('woff'),
        url('../fonts/barlow/Barlow-Bold.ttf') format('truetype'),
        url('../fonts/barlow/Barlow-Bold.svg#Barlow-Bold') format('svg');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Barlow';
    src: url('../fonts/barlow/Barlow-Regular.eot');
    src: url('../fonts/barlow/Barlow-Regular.eot?#iefix') format('embedded-opentype'),
        url('../fonts/barlow/Barlow-Regular.woff2') format('woff2'),
        url('../fonts/barlow/Barlow-Regular.woff') format('woff'),
        url('../fonts/barlow/Barlow-Regular.ttf') format('truetype'),
        url('../fonts/barlow/Barlow-Regular.svg#Barlow-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}
/* Podkreśl linki */
.wcag-links-highlight a{
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* Wysoki kontrast (ciemny) */
.wcag-contrast-dark{
  background: #000;
  color: #fff;
}

.wcag-contrast-dark a{
  color: #0dcaf0;
}

/* Tryb czytania (prosty) */
.wcag-reading-mode .content-body,
.wcag-reading-mode .news-content{
  max-width: 70ch;
  font-size: calc(1.05rem * var(--wcag-font-scale));
  line-height: 1.9;
}
html,
body{
    font-family: 'Barlow', sans-serif !important;
    font-weight: 400;
    line-height: 1.6;
}



.btn-pill{
  --pill-border: #1a2640;   /* granat */
  --pill-text:   #1a2640;

  display: inline-flex;
  align-items: center;
  gap: 10px;

  padding: 10px 18px;
  border: 2px solid var(--pill-border);
  border-radius: 999px;
  color: var(--pill-text);
  text-decoration: none;

  font-family: 'DIN Bold', system-ui, sans-serif;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;

  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.btn-pill__icon{
  font-size: 18px;     /* strzałka jak na podglądzie */
  line-height: 1;
}

.btn-pill:hover{
  transform: translateY(-1px);
}

.btn-pill:focus-visible{
  outline: 3px solid #37BBD4;  /* Twój turkus */
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce){
  .btn-pill{ transition: none; }
  .btn-pill:hover{ transform: none; }
}


.container-wide {
  max-width: 1600px;       /* 1440–1680 też OK */
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}


.megamenu .dropdown-menu {
  width: 700px;
  left: 0 !important;
  right: auto !important;
  transform: none !important;
  border-radius: 0;
}
.dropdown-item {
    font-size: 12px;
}
.nav-item {
    font-size: 1rem;
    font-family: 'DIN Regular';
}

/* pasek nawigacji */
.main-nav {
  font-size: 0.95rem;
}

/* megamenu w nav – pełna szerokość i zawsze pod paskiem */
@media (min-width: 992px) {
  .main-nav .dropdown.position-static .mega-menu {
    left: 0;
    right: 0;
    top: 100%;
    margin-top: 0;
  }
}

.main-nav.navbar {
  padding-top: 14px;
  padding-bottom: 14px;
}

.main-nav .navbar-nav {
  gap: 1.25rem;   /* ← zwiększaj: 1.5rem / 2rem */
    align-items: stretch;

}
.main-nav .dropdown-menu.mega-menu {
  background-color: #1b284a;
  color: white;
}

.main-nav .nav-link{
  position: relative;
  border-bottom: none !important;
  color: #000;
    transition: color .2s ease;

}
.main-nav .nav-link:hover,
.main-nav .nav-link:focus,
.main-nav .nav-link.active {
  color: #11c0e5;               /* kolor aktywny */
}

.main-nav.navbar-light .navbar-nav .nav-link.active,
.main-nav.navbar-light .navbar-nav .nav-link.active:visited {
  color: #11c0e5 !important;
}

.main-nav.navbar-light .navbar-nav .nav-link:hover,
.main-nav.navbar-light .navbar-nav .nav-link:focus {
  color: #11c0e5;
}
/* underline jako ::before (żeby NIE kolidować z dropdown-toggle::after) */
.main-nav .nav-link::before{
  content: '';
  position: absolute;
  left: 0;
  right: 0;

  bottom: -14px;            /* tu regulujesz "niżej" */
  height: 4px;

  background-color: #37BBD4;
  opacity: 0;

  transition: opacity .2s ease;
}

.main-nav .dropdown-menu.mega-menu .dropdown-item.active {
  background-color: transparent !important;
  color: #11c0e5;
  font-weight: 600;
}

/* pokazuj underline na hover/active */
.main-nav .nav-link:hover::before,
.main-nav .nav-link:focus::before,
.main-nav .nav-link.active::before{
  opacity: 1;
  color:#37BBD4;
}

.mega-menu h6 {
  letter-spacing: .03em;
  font-size: 1rem;
}

.main-nav .mega-menu .row {
  row-gap: 2rem;   /* 1.5–3rem, dobierz wizualnie */
}


/* linki w megamenu */
.main-nav .dropdown-menu.mega-menu .dropdown-item {
  color: #fff;
  position: relative;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1px solid #273a6a; /* 👈 linia */          /* ← docelowy kolor tekstu */
}
.main-nav .dropdown-menu.mega-menu .dropdown-item:hover,
.main-nav .dropdown-menu.mega-menu .dropdown-item:focus {
  color: #11c0e5;           /* np. brandowy */
  background-color: transparent; /* bootstrap domyślnie daje szary */
}


/* === ANIMACJA MEGAMENU (desktop) === */
@media (min-width: 992px) {
  .main-nav .dropdown-menu.mega-menu {
    display: block;                /* ważne: pozwala animować (Bootstrap normalnie przełącza display) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);   /* start "niżej" */
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    pointer-events: none;          /* żeby nie dało się kliknąć gdy niewidoczne */
  }

  .main-nav .dropdown-menu.mega-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
    pointer-events: auto;
  }
}

.main-nav .mega-menu .dropdown-item {
  transition: background-color .15s ease, padding-left .15s ease;
  white-space: normal;         /* pozwala łamać */
  overflow-wrap: anywhere;     /* łamie też bardzo długie słowa */
  word-break: normal;
  line-height: 1.3;
  padding-top: .45rem;
  padding-bottom: .45rem;
   font-size: 0.95rem;
}
.main-nav .mega-menu .dropdown-item:hover,
.main-nav .mega-menu .dropdown-item:focus {
  padding-left: 1.25rem;
}




.main-nav .dropdown-menu:not(.mega-menu) {
  background-color: #1b284a;
  color: #fff;

  border: 0;
  border-radius: 0;
  padding: 10px 0;
  margin-top: 14px;

  /* bootstrap shadow-sm już dodajesz w HTML, ale możesz zostawić */
  min-width: 280px;           /* dopasuj: 240–320 */
}

.main-nav .dropdown-menu:not(.mega-menu) .dropdown-item {
  color: #fff;
  font-size: 0.95rem;         /* jak w mega */
  padding: .45rem 1rem;
  border-bottom: 1px solid #273a6a;
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;


  background: transparent;
  transition: color .15s ease, padding-left .15s ease;
}

.main-nav .dropdown-menu:not(.mega-menu) .dropdown-item:hover,
.main-nav .dropdown-menu:not(.mega-menu) .dropdown-item:focus {
  color: #11c0e5;
  background: transparent;
  padding-left: 1.25rem;
}

.main-nav .dropdown-menu:not(.mega-menu) .dropdown-item.active {
  background-color: transparent !important;
  color: #11c0e5;
  font-weight: 600;
}

/* Animacja otwierania jak w mega-menu (desktop) */
@media (min-width: 992px) {
  .main-nav .dropdown-menu:not(.mega-menu) {
    display: block;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    pointer-events: none;
  }

  .main-nav .dropdown-menu:not(.mega-menu).show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity .18s ease, transform .18s ease, visibility 0s;
    pointer-events: auto;
  }
}

.search-pill-form {
  margin: 0;
}

.search-pill {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dcdcdc;
  border-radius: 999px;       /* efekt „pigułki” */
  padding: 4px 8px 4px 12px;
  font-size: 13px;
}

.search-pill-input {
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  min-width: 140px;           /* możesz zmienić szerokość */
  font-size: 13px;
  color: #1f2940;             /* ciemny granat jak w przykładzie */
  background: transparent;
}

.search-pill-input::placeholder {
  color: #7c8495;             /* kolor placeholdera */
}

/* przycisk z lupą po prawej */
.search-pill-btn {
  border: none;
  outline: none;
  padding: 0;
  margin-left: 6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* ikona lupy – turkusowy obrys */
.search-pill-icon {
  width: 18px;
  height: 18px;
  stroke: #1cc6e6;           /* turkus jak na screenie */
}
/* =========================
   ROZSZERZANIE SEARCH (DESKTOP)
   ========================= */

/* rodzic dla absolute */
.search-col{
  position: relative;
}

/* nic nie zmieniamy w wyglądzie – tylko dodajemy płynność */
@media (min-width: 992px){
  .search-pill-form{
    position: relative;
    z-index: 1;
    transition: width .2s ease, transform .2s ease;
  }

  /* po kliknięciu / focusie inputa */
  .search-pill-form:focus-within{
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 560px;     /* <- szerokość po rozwinięciu */
    z-index: 999;     /* przykryje przyciski obok */
  }

  /* żeby "pigułka" rozciągnęła się razem z formą */
  .search-pill-form:focus-within .search-pill{
    display: flex;    /* zamiast inline-flex, ale wizualnie bez zmian */
    width: 100%;
  }

  /* input ma wypełnić przestrzeń (bez zmiany fontów/kolorów) */
  .search-pill-form:focus-within .search-pill-input{
    width: 100%;
    min-width: 0;     /* pozwala rosnąć/kurczyć */
  }
}

/* =========================
   MOBILE/TABLET – bez rozsuwania
   ========================= */
@media (max-width: 991.98px){
  .search-pill-form{
    position: static;
    width: auto;
    transform: none;
  }
}
.flags-column {
    display: flex;
    flex-direction: column;
    gap: 10px;          /* odstęp między flagami */
    align-items: flex-start; /* lub center */
}

.flag-link img {
    width: 42px;        /* dopasuj do layoutu */
    height: auto;
    display: block;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.flag-link:hover img {
    transform: scale(1.1);
    opacity: 0.85;
}

/* WCAG: tekst widoczny dla czytników */
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* WCAG: widoczny focus (nie wyłączaj outline) */
.hero-nav-btn:focus-visible,
.splide__toggle:focus-visible,
.btn-pill:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

/* TŁO – stałe, z dużym logo */
.hero-wrapper {
  position: relative;
  padding: 80px 0;
  background-color: #eef1f7;
  overflow: hidden;
}

/* duże logo w tle */
.hero-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/usk2-logo-slider.png");
  background-repeat: no-repeat;
  background-position: left 20% center;
  background-size: 620px auto;
  opacity: 0.8;
  pointer-events: none;
}
@media (max-width: 991.98px) {
  .hero-wrapper::before {
    display: none;
  }
}

/* warstwa z treścią ponad tłem */
.hero-wrapper > .container {
  position: relative;
  z-index: 1;
}

.hero-layout {
  min-height: 420px;
}

/* SLIDES */
.hero-slides {
  position: relative;
}

.hero-slide {
  display: block;
  opacity: 0;
  transition: opacity .4s ease;
}

.hero-slide.active {

}
.splide__slide.is-active .hero-slide {
  opacity: 1;
}

.hero-title {
  font-size: 3rem;
  line-height: 1.2;
  font-weight: 700;
  color: #1a2640;
  font-family: 'DIN Bold';
}

/* ozdobnik pod tytułem */
.hero-spacer {
  display: block;
  margin: 18px 0 10px;
  max-width: 220px;      /* dopasuj do rzeczywistego SVG */
}

/* tekst */
.hero-text {
  font-size: 16px;
  line-height: 1.6;
  color: #4d5567;
 /* max-width: 520px; */
  margin: 10px 0 24px;
}

.hero-btn {
  border-radius: 999px;
  padding: 10px 28px;
  font-weight: 600;
}

/* NAWIGACJA */
.hero-nav {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  color: #2a344a;
}

.hero-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 999px;
  border: none;
  background: transparent;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.hero-nav-btn:hover,
.hero-nav-btn:focus-visible {
  background: rgba(0, 0, 0, 0.05);
  outline: none;
}

.hero-nav-icon {
  width: 24px;
  height: auto;
  display: block;
}

.hero-counter {
  font-weight: 600;
}



/* PRAWA STRONA – zdjęcie w ramce */
.hero-image-wrapper {
  position: relative;
  max-width: 520px;
  margin-left: auto;
}

.hero-nav-btn,
.splide__toggle--play-pause {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;          /* zwiększa hit-area */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
}

/* ikony mogą zostać małe */
.hero-nav-icon,
.splide__toggle__play,
.splide__toggle__pause {
  width: 50px;
  height: 50px;
}

.hero-nav-btn,
.splide__toggle--play-pause {
  -webkit-tap-highlight-color: transparent;
}

.hero-arrows {
  display: flex;
  align-items: center;
  gap: 8px;               /* odstęp między elementami */
}

.hero-nav-btn {
  min-width: 44px;
  min-height: 44px;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hero-counter {
  min-width: 64px;        /* stabilna szerokość (01/05) */
  text-align: center;
  font-weight: 600;
  font-size: 0.975rem;
  line-height: 1;
  user-select: none;
}

/* focus WCAG */
.hero-nav-btn:focus-visible,
.splide__toggle--play-pause:focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.hero-image-bg {
  position: absolute;
  bottom: -22px;
  right: -24px;
  width: 100%;
  height: 100%;
  background: #1a2640;
  border-radius: 24px;
}

.hero-image-foreground {
  position: relative;
  width: 520px;          /* 👈 wymuszony wymiar */
  height: 573px;         /* 👈 wymuszony wymiar */
  border-radius: 24px;
  overflow: hidden;
}

.hero-image-foreground img {
  display: block;
  width: 100%;
  height: 100%;          /* 👈 było auto */
  object-fit: cover;    /* 👈 KLUCZ */
  object-position: center;
}

/* Toggle button (opcjonalnie styl) */
.splide__toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  border-radius:999px;
  border:1px solid #d7d9e5;
  background: none;
  cursor:pointer;
}

/* DOMYŚLNIE pokaż PLAY, ukryj PAUSE */
.splide__toggle__play { display: block; }
.splide__toggle__pause { display: none; }

/* Gdy gra → pokaż PAUSE */
.splide.is-playing .splide__toggle__play { display: none; }
.splide.is-playing .splide__toggle__pause { display: block; }

.wcag-toolbar{
  max-width:100%;
  white-space:nowrap;
  overflow-x:auto;
}

.wcag-btn{
  border:1px solid #d7d9e5;
  background:#fff;
  color:#1a2640;
  border-radius:999px;
  padding:6px 12px;
  font-size:12px;
  line-height:1;
  font-family:'DIN Regular';
}

.wcag-btn:hover,
.wcag-btn:focus-visible{
  border-color:#11c0e5;
  outline:none;
  box-shadow:0 0 0 3px rgba(17,192,229,.25);
}

.wcag-btn.active{
  background:#1a2640;
  color:#fff;
  border-color:#1a2640;
}

/* Sekcja aktualności - Strona główna */

    .news-section {
    }

    .news-title{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

    .news-title a{
  color: #1b284a;
  text-decoration: none;
  transition: color .15s ease;
}

/* Hover / focus */
.news-title a:hover,
.news-title a:focus-visible{
  color: #0dcaf0;
  text-decoration: none;
}
    .news-heading {
        font-weight: 700;
        font-size: 2.25rem;
        color: #151b3c;
        position: relative;
        padding-bottom: .4rem;
    }



    .news-all-link {
        font-size: .95rem;
        color: #151b3c;
    }

    .news-all-link:hover,
    .news-all-link:focus {
        color: #0aa9cb;
        text-decoration: none;
    }

    .news-card {
        background-color: #ffffff;
        border-radius: 12px;
        overflow: hidden;
        border: 1px solid #e5e7f0;
        display: flex;
        flex-direction: column;
        height: 100%;
box-shadow: rgba(14, 63, 126, 0.04) 0px 0px 0px 1px, rgba(42, 51, 69, 0.04) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.04) 0px 6px 6px -3px, rgba(14, 63, 126, 0.04) 0px 12px 12px -6px, rgba(14, 63, 126, 0.04) 0px 24px 24px -12px;    }

  .news-card-img {
  width: 100%;
  height: 230px;           /* OK */
  object-fit: cover;
  display: block;          /* 🔑 usuwa whitespace pod img */
  flex-shrink: 0;          /* 🔑 obrazek nigdy się nie skurczy */
}

/* BODY */
.news-card-body {
  padding: 20px 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;                 /* 🔑 zamiast height: 100% */
}

.news-hero-image {
  width: 100%;
  height: 450px;
  margin: 100px 0 32px;          /* odstęp od treści */
  border-radius: 16px;
  overflow: hidden;
}

.news-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.news-hero-image {
  box-shadow:
    rgba(14, 63, 126, 0.06) 0 12px 24px -12px;
}
@media (max-width: 767px) {
  .news-hero-image {
    height: 220px;
    border-radius: 12px;
  }
}

.news-content {
  font-size: 1rem;
  line-height: 1.7;
}

    .news-meta {
        font-size: .8rem;
        color: #7a7f95;
        display: flex;
        align-items: center;
        gap: .35rem;
    }

    .news-meta-icon {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 1px solid #7a7f95;
        display: inline-block;
        position: relative;
    }

    .news-meta-icon::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background-color: #7a7f95;
        transform: translate(-50%, -50%);
    }

    .news-title {
        font-size: 1.35rem;
        line-height: 1.3;
        font-weight: 700;
        color: #151b3c;
        margin-bottom: 14px;
    }

    .news-excerpt {
        font-size: .95rem;
        line-height: 1.55;
        color: #3b3f54;
    }

    /* odstęp między treścią a linkiem na dole */
    .news-read-more {
        margin-top: auto;
        padding-top: 18px;
    }

    .news-read-btn {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        font-size: .9rem;
        font-weight: 600;
        color: #151b3c;
        text-decoration: none;
        border-radius: 999px;
        border: 1px solid #d7d9e5;
        padding: 8px 22px;
        background-color: #ffffff;
    }

    .news-read-btn:hover,
    .news-read-btn:focus {
        border-color: #11c0e5;
        color: #11c0e5;
        outline: none;
    }

    .news-read-icon {
        font-size: 1.1rem;
        line-height: 1;
    }

    /* drobne poprawki responsywne */
    @media (max-width: 767.98px) {
        .news-card-img {
            height: 200px;
        }
        .news-heading {
            font-size: 1.9rem;
        }
    }


    /* =========================
   ACCORDION – AKTUALNOŚCI
   ========================= */

/* usuń ramki całkowicie */
.news-unit .accordion-item,
.news-unit .accordion-button,
.news-unit .accordion-collapse,
.news-unit .accordion-body{
    border: 0;
    box-shadow: none;
    background: transparent;
}

/* nagłówek roku – większy, „mięsisty” */
.news-unit .accordion-button{
    padding: 1.25rem 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--bs-heading-color, #000);
    background: #f8f9fa;
    border-radius: 14px;
    transition: background-color .2s ease, color .2s ease;
}

/* hover */
.news-unit .accordion-button:hover{
    background: #1f2a52;
    color: #0dcaf0;
}

/* aktywny (otwarty) */
.news-unit .accordion-button:not(.collapsed){
    background: #1f2a52;
    color: #0dcaf0;
}

/* strzałka */
.news-unit .accordion-button::after{
    background-size: 1.1rem;
    transition: transform .2s ease;
}

/* ciało accordionu */
.news-unit .accordion-body{
    padding: 1.75rem 1.5rem 2rem;
}

/* oddziel newsy delikatną linią */
.news-unit .news-full:not(:last-child){
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(0,0,0,.06);
}

/* tytuł newsa */
.news-unit .news-title{
    font-size: 1.15rem;
}

/* data */
.news-unit .news-meta{
    color: rgba(0,0,0,.6);
}

    .line-spacer {
  display: block;
  margin: 5px 0 10px;
  max-width: 220px;      /* dopasuj do rzeczywistego SVG */
}

h2 {
  font-family: 'DIN Bold';
}

h3 {
  font-family: 'DIN Bold';
}


.motto {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;

  background:
    linear-gradient(
      90deg,
      rgba(45, 180, 200, 0.85),
      rgba(30, 50, 110, 0.85)
    ),
    url("images/motto-bg.jpg") center / cover no-repeat;
}

.motto-text {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 3rem;
  line-height: 1.3;
  font-weight: 400;
  max-width: 900px;
  padding: 0 24px;
  font-family: 'DIN Regular';
}

.split-section{
  position: relative;
  background-color: #101c3a; /* granat */
  overflow: hidden;
}

/* biały pas po prawej – dokładnie 3/12 */
.split-section::after{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:40%;        /* 3/12 = 25% */
  height:100%;
  background:#fff;
  z-index:0;
}

/* SVG przejście (Twoje Rectangle 133.svg) */
.split-section::before{
  content:"";
  position:absolute;
  top:0;
  right:40%;
  width:160px;      /* dopasuj do SVG */
  height:100%;
  background:url("../images/ksztalt.svg") no-repeat right center;
  background-size:contain;
  z-index:1;
}

/* treść nad tłem */
.split-section .container{
  position:relative;
  z-index:2;
  padding-top:20px;
  padding-bottom:20px;
}

/* kolumny */
.split-left{
  color:#fff;
}

.split-right{
  color:#1F284B;
}



/* Stopka */


/* ten sam kolor tła dla pre-stopki i stopki */
.bg-footer {
    background-color: #101c3a; /* kolor jak na makiecie */
}

/* opcjonalnie lekkie ograniczenie szerokości grafiki + dopasowanie do krawędzi */
.prefooter-phone {
    max-width: 780px;     /* szerokość Twojej grafiki */
    height: auto;
    margin-top: -25px;
}

/* jeśli chcesz, żeby element wizualnie „wchodził” w stopkę,
   możesz go minimalnie zsunąć w dół: */
.prefooter {

    margin-bottom: -120px; /* dopasuj na oko; można też zostawić 0 */
}


   :root {
        --footer-bg: #101c3a;
        --footer-bg-bottom: #0b1327;
        --footer-accent: #11c0e5;
        --footer-text: #f5f7ff;
        --footer-muted: #8d94b2;
    }

    .site-footer {
        font-family: inherit;
        color: var(--footer-text);
    }

    .footer-top,
    .footer-middle {
        background-color: var(--footer-bg);
    }

    .footer-bottom {
        background-color: var(--footer-bg-bottom);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    /* Biała "łezka" w prawym górnym rogu */
    .footer-top {
        padding-top: 40px;
        font-family: 'Barlow', sans-serif;
    }
.gradient-line {
    width: 100%;
    height: 2px; /* możesz dać 1px jeśli ma być bardzo subtelna */
  background: #101C3A;
background: linear-gradient(90deg, rgba(16, 28, 58, 1) 20%, rgba(58, 75, 142, 1) 50%, rgba(16, 28, 58, 1) 80%);
}
    .footer-top-shape {
        position: absolute;
        right: 0;
        top: 0;
        width: 38%;
        max-width: 520px;
        height: 400px;
        background-color: #ffffff;
        border-bottom-left-radius: 140px;
        z-index: 0;
    }

    .footer-top .container-fluid {
        position: relative;
        z-index: 1;
    }

    .footer-logo {
        max-width: 500px;
        height: auto;
    }

    .footer-top-text {
        color: var(--footer-text);
    }

    .footer-phone-card {
        background-color: #ffffff;
        border-radius: 999px;
        padding: 10px 22px;
        min-width: 280px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    }

    .footer-phone-icon {
        width: 28px;
        height: 28px;
    }

    .footer-phone-number {
        font-size: 1.4rem;
        color: #01a4c8;
        letter-spacing: 0.03em;
    }

    .footer-social-link img {
        width: 40px;
        height: 40px;
    }

    .footer-social-link {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;

    }

    .footer-social-link:hover,
    .footer-social-link:focus {
        border-color: var(--footer-accent);
        outline: none;
    }

    /* Tło – znak wodny */
    .footer-middle {
        overflow: hidden;
    }

    .footer-bg-mark {
        position: absolute;
        right: 10%;
        bottom: 0px;
        width: 560px;
        height: 560px;
        opacity: 0.5;
        background-image: url("../images/logo-footer-bg.svg"); /* np. duże logo jako znak wodny */
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
    }

    .footer-column-heading {
        font-size: 1.5rem;
        font-weight: 700;
        margin: 0;
        position: relative;
        padding-bottom: 20px;
    }

    .footer-heading-underline {
        display: block;
        width: 40px;
        height: 4px;
        margin-top: 6px;
        background-image: url("../images/spacer.svg");
        background-repeat: no-repeat;
        background-size: contain;
    }

    .footer-list {
        color: var(--footer-text);
        font-family: Barlow;
        line-height: 2rem;
    }

    .footer-link {
        color: var(--footer-text);
        text-decoration: none;
        font-size: 1rem;
    }

    .footer-link:hover,
    .footer-link:focus {
        color: var(--footer-accent);
        text-decoration: none;
        outline: none;
    }

    .footer-list li {
        margin-bottom: 0.25rem;
        font-size: 1rem;
        letter-spacing: 0.02em;
    }

    .footer-bottom {
        color: var(--footer-muted);
        background-color: #fff;
        font-family: 'Barlow', sans-serif;
    }

    /* Responsywność */
    @media (max-width: 991.98px) {
        .footer-top-shape {
            width: 55%;
            height: 170px;
        }
        .footer-phone-card {
            align-self: flex-start;
        }
    }

    @media (max-width: 575.98px) {
        .footer-top {
            padding-top: 20px;
        }
        .footer-top-shape {
            width: 65%;
        }
        .footer-phone-card {
            min-width: 0;
            width: 100%;
        }
    }


    /*strony */

    .page-hero{
  background:#eef2f6;
  padding: 138px 0 138px;
}

.page-breadcrumb{
  font-size: 13px;
  color: #1d2b44;
  opacity: .9;
  margin-bottom: 10px;
}
.page-breadcrumb a{ color: inherit; text-decoration: none; }
.page-breadcrumb a:hover{ text-decoration: underline; }
.breadcrumb-sep{ margin: 0 6px; opacity:.6; }
.breadcrumb-label{ margin-right: 6px; font-weight: 600; }

.page-title{
  font-size: 3rem;
  line-height: 1.1;
  font-weight: 800;
  color:#1d2b44;
  margin: 0;
  font-family: 'DIN Regular', sans-serif;
}
.page-title-underline{
  display:block;
  width: 48px;
  height: 4px;
  background: #2cc0d9;
  margin-top: 12px;
}

.page-body{ padding: 44px 0 60px; }

.side-nav{
  background:#1f2a52;
  border-radius: 14px;
  padding: 58px 0;
  margin-top: -102px;
}
.side-nav-list{ list-style:none; padding:0; margin:0; }
.side-nav-item{ margin:0; }
.side-nav-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 14px 18px;
  color: #fff;
  text-decoration:none;
  font-size: 15px;
}
.side-nav-link:hover{ background: rgba(255,255,255,.06); }

.side-nav-item.is-active .side-nav-link{
  background: rgba(255,255,255,.10);
}

.side-nav-arrow{ opacity:.9; }

.content-title{
  font-size: 34px;
  font-weight: 800;
  color:#1d2b44;
  margin: 0 0 8px;
}
.content-title-underline{
  display:block;
  width: 40px;
  height: 4px;
  background: #2cc0d9;
  margin-bottom: 20px;
}

.content-body{
  color:#1d2b44;
  font-size: 16px;
  line-height: 1.9;
}


/*paginacja */

.news-pagination{
  display:flex;
  justify-content:center;
  margin-top: 2.5rem;
}

.news-pagination__list{
  display:flex;
  gap: .5rem;
  list-style:none;
  padding:0;
  margin:0;
  align-items:center;
}

.news-pagination__item{}

.news-pagination__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width: 40px;
  height: 40px;
  padding: 0 .75rem;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: #fff;
  color: inherit;
  text-decoration:none;
  font-weight: 600;
  line-height: 1;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.news-pagination__item:hover .news-pagination__link{
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0,0,0,.08);
  border-color: rgba(0,0,0,.16);
  background-color: #0dcaf0;
  color: #ffffff;
}

.news-pagination__item.is-active .news-pagination__link{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 10px 24px rgba(0,0,0,.10);
  background-color: #0dcaf0;
  color: #ffffff;
}

.news-pagination__item.is-disabled .news-pagination__link{
  opacity: .45;
  pointer-events:none;
  box-shadow:none;
  transform:none;
}

.news-pagination__item.is-ellipsis .news-pagination__link{
  border-color: transparent;
  background: transparent;
  min-width: auto;
  padding: 0 .25rem;
  box-shadow:none;
}

/* =========================
   WORK CARD (lista /praca)
   ========================= */

.work-card{
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  min-height: 220px;
}

.work-card-top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 16px;
}

.work-card-icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #1f2940;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.work-card-icon-svg{
  width: 22px;
  height: 22px;
  stroke: #fff;
}
.work-card-link{
  color: inherit;
  text-decoration: none;
}

.work-card-link:hover,
.work-card-link:focus{
  color: inherit;
  text-decoration: none;
}
.work-empty-state{
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #7c8495;
}
.work-card-badge{
  background: #eef1f6;
  color: #1f2940;
  font-size: 12px;
  padding: 8px 12px;
  border-radius: 999px;
  line-height: 1;
  white-space: nowrap;
}

.work-card-title{
  font-size: 24px;
  font-weight: 700;
  color: #1f2940;
  margin: 0 0 18px 0;
}

.work-card-footer{
  margin-top: auto; /* przycisk do dołu */
}

/* opcjonalnie: hover */
.work-card:hover{
  box-shadow: 0 14px 38px rgba(0,0,0,.10);
}


.team { margin: 10px 0 80px; }

.team-section-title{
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
  text-align: center;
  margin: 40px 0 20px;
  color: #000;
  font-weight: 700;
}
.team-section-title.with-line{ position: relative; }
.team-section-title.with-line span{
  background: #fff;
  padding: 0 15px;
  position: relative;
  z-index: 2;
}
.team-section-title.with-line:before{
  content:"";
  position:absolute;
  top:50%;
  left:0; right:0;
  border-top:1px solid #dcdcdc;
  z-index:1;
}

.person-card{
  margin-bottom: 10px; /* BS5 daje g-4 odstępy w gridzie */
  text-align: center;
}

.person-position{
  font-size: 14px;
  color: #999;
  margin-bottom: 8px;
  min-height: 24px;
}

.person-img-wrapper{
  position: relative;      /* <<< KLUCZOWE dla tooltipa */
  height: 350px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.person-img-wrapper a{
  display:flex;
  justify-content:center;
  align-items:center;
  height:100%;
  width:100%;
}

.person-img-wrapper img{
  max-height: 100%;
  width: auto;
  height: auto;
  display: block;
  transition: filter 0.35s ease, transform 0.35s ease;
  will-change: filter, transform;
}

.person-title{
  font-size: 14px;
  color: #777;
  margin: 8px 0 2px;
  min-height: 16px;
}

.person-name{
  font-weight: 700;
  font-size: 16px;
  margin: 0;
  color: #28c0d5;
  font-family: "DIN Bold";
}

/* TOOLTIP CENTRUM */
.tooltip-download{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0,0,0,0.65);
  color: #fff;
  padding: 8px 15px;
  border-radius: 5px;
  font-size: 13px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease-in-out;
  white-space: nowrap;
  z-index: 2;
}

/* pokazywanie po najechaniu */
.person-img-wrapper:hover .tooltip-download{ opacity: 1; }
.person-img-wrapper:hover img{ filter: brightness(70%); }

/* opcjonalnie: focus dla klawiatury */
.person-img-wrapper a:focus-visible{
  outline: 3px solid #0dcaf0;
  outline-offset: 4px;
}



/* ZAKŁADKA PARTNERZY */
.section_partners {
  background-color: #fff;
  margin-bottom: 120px;
}

/* karta */
.partners {
  background-color: #fff;
  text-align: center;
  padding: 0 35px;
  border-radius: 10px;
  height: 100%;
  position: relative;
  margin-top: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.2);
}

.partners:hover {
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.5);
}

.partners__top_line {
  position: absolute;
  top: 0;
  left: 44%;
  background-color: #30b5cf;
  width: 12%;
  height: 3px;
}

/* logo */
.partners__logo {
  padding: 0;
}

.partners__logo img {
  margin: 0 auto;
  width: 50%;
  height: auto;
}

/* typografia */
.partners__title_header {
  font-weight: 600;
  font-size: 12px;
  padding-top: 18px;
  margin: 0;
  color: #2b353a;
}

.partners__title_header_description {
  font-weight: 200;
  font-size: 12px;
  padding-top: 18px;
  margin: 0;
  color: #2b353a;
}

.partners__title_main {
  font-weight: 600;
  font-size: 16px;
  margin: 0;
  color: #2b353a;
}

.partners__description {
  font-weight: 200;
  font-size: 12px;
  margin: 0;
  color: #2b353a;
}

/* ikona w kółku na dole */
.partners__icon_href {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  background-color: #30b5cf;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.partners__icon_href i {
  font-size: 18px;
  line-height: 1;
}


/* =========================================
   MOBILE OFFCANVAS MENU – styl jak mega-menu
   ========================================= */

@media (max-width: 991.98px){

  /* całe offcanvas jak mega-menu */
  .main-nav .offcanvas{
    width: min(92vw, 420px);
    background: #1b284a;
    color: #fff;
  }

  .main-nav .offcanvas-header{
    border-bottom: 1px solid #273a6a;
  }

  .main-nav .offcanvas-title{
    font-family: 'DIN Bold', system-ui, sans-serif;
    color: #fff;
  }

  /* X zamykania – na ciemnym tle */
  .main-nav .btn-close{
    filter: invert(1) grayscale(1);
    opacity: .9;
  }
  .main-nav .btn-close:focus-visible{
    outline: 3px solid #37BBD4;
    outline-offset: 3px;
    opacity: 1;
  }

  /* Accordion bez “bootstrapowych” ramek */
  .main-nav .accordion-item{
    background: transparent;
    border: 0;
    border-bottom: 1px solid #273a6a;
  }

  /* Nagłówek sekcji (top-level) */
  .main-nav .accordion-button{
    background: transparent;
    color: #fff;
    padding: 14px 14px;
    font-family: 'DIN Regular', system-ui, sans-serif;
    font-size: 1.05rem;
    box-shadow: none;
  }

  /* Hover / focus */
  .main-nav .accordion-button:hover{
    color: #11c0e5;
  }
  .main-nav .accordion-button:focus{
    box-shadow: none;
  }
  .main-nav .accordion-button:focus-visible{
    outline: 3px solid #37BBD4;
    outline-offset: 3px;
    border-radius: 10px;
  }

  /* Stan otwarty */
  .main-nav .accordion-button:not(.collapsed){
    background: rgba(255,255,255,.04);
    color: #fff;
  }

  /* Strzałka accordionu – na białą */
  .main-nav .accordion-button::after{
    filter: invert(1);
    opacity: .95;
  }

  /* BODY: tło jak panel, separator jak w mega-menu */
  .main-nav .accordion-body{
    padding: 12px 14px 16px;
    background: rgba(0,0,0,.12);
    border-left: 3px solid #37BBD4;
    margin: 0 12px 14px;
    border-radius: 12px;
  }

  /* “Zobacz wszystko” (opcjonalny link) */
  .main-nav .mobile-nav-all{
    display: inline-block;
    margin-bottom: 12px;
    color: #fff;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
  }
  .main-nav .mobile-nav-all:hover{
    color: #11c0e5;
  }
  .main-nav .mobile-nav-all:focus-visible{
    outline: 3px solid #37BBD4;
    outline-offset: 3px;
    border-radius: 8px;
  }

  /* Grupy w środku */
  .main-nav .mobile-nav-group{
    padding-top: 10px;
  }
  .main-nav .mobile-nav-group + .mobile-nav-group{
    border-top: 1px solid #273a6a;
    margin-top: 10px;
  }

  .main-nav .mobile-nav-group-title{
    font-family: 'DIN Bold', system-ui, sans-serif;
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: #fff;
    margin: 10px 0 8px;
  }

  /* Linki w środku – jak .dropdown-item w mega-menu */
  .main-nav .mobile-nav-link{
    display: block;
    padding: 12px 10px;        /* duży touch target */
    border-radius: 10px;
    color: #fff;
    text-decoration: none;     /* u Ciebie dropdowny nie są podkreślane */
    border-bottom: 1px solid #273a6a;  /* linia jak w mega-menu */
  }

  .main-nav .mobile-nav-link:hover{
    color: #11c0e5;
    background: transparent;
  }

  .main-nav .mobile-nav-link:focus-visible{

  }

  /* Top linki bez dzieci (nie-accordion) */
  .main-nav .mobile-nav-toplink{
    display:block;
    padding: 14px 14px;
    font-family: 'DIN Regular', system-ui, sans-serif;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
  }
  .main-nav .mobile-nav-toplink:hover{
    color: #11c0e5;
  }
  .main-nav .mobile-nav-toplink:focus-visible{

  }

  /* opcjonalnie: oddech w offcanvas */
  .main-nav .offcanvas-body{
    padding-top: 8px;
  }
}




/* =========================
   HERO / SLIDER – MOBILE (WCAG + UX)
   ========================= */

@media (max-width: 991.98px) {

  /* mniej powietrza na mobile */
  .hero-wrapper {
    padding: 36px 0;
  }

  .hero-layout {
    min-height: auto;
  }

  /* typografia: czytelna na ekranach 320–480 */
  .hero-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.15;
  }

  .hero-text {
    font-size: 1rem;
    line-height: 1.7;
    margin: 10px 0 16px;
  }

  .hero-spacer {
    max-width: 160px;
    margin: 14px 0 10px;
  }

  /* obraz: pełna szerokość, stała proporcja, bez “wymyślonej” wysokości */
  .hero-image-wrapper {
    max-width: 100%;
    margin: 22px 0 0; /* odstęp od tekstu */
  }

  .hero-image-bg {
    bottom: -14px;
    right: -14px;
    border-radius: 18px;
  }

  .hero-image-foreground {
    width: 100%;
    height: auto;
    aspect-ratio: 402 / 443; /* zachowaj proporcję (u Ciebie docelowo 402x443) */
    border-radius: 18px;
  }

  .hero-image-foreground img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  /* nawigacja: zawijanie i czytelność */
  .hero-nav {
    margin-top: 18px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .hero-arrows {
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .hero-counter {
    min-width: 92px; /* żeby “01/12” nie skakało */
    font-size: 1rem;
  }
}

/* WCAG 2.5.5 Target Size: min 44x44 dla mobile/touch i ogólnie */
.hero-nav-btn,
.splide__toggle,
.splide__toggle--play-pause {
  min-width: 44px;
  min-height: 44px;
  width: auto;
  height: auto;
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Ikony mogą zostać mniejsze (czytelne, ale nie gigantyczne) */
.hero-nav-icon {
  width: 44px;
  height: 44px;
}
.splide__toggle__play,
.splide__toggle__pause {
  width: 22px;
  height: 22px;
}

/* Focus WCAG */
.hero-nav-btn:focus-visible,
.splide__toggle:focus-visible,
.splide__toggle--play-pause:focus-visible {
  outline: 3px solid #37BBD4;
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  .splide__slide,
  .hero-slide {
    transition: none !important;
  }
}
@media (max-width: 991.98px) {
  .hero-splide {
    margin-bottom: 10px;
  }
  .hero-nav {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .hero-layout {
    min-height: auto;
  }
}

/* =========================
   HERO SLIDER – AUTO HEIGHT NA MOBILE
   ========================= */

@media (max-width: 767.98px) {

  /* Zdejmujemy sztywne wysokości */
  .hero-layout,
  .hero-slide {
    min-height: auto !important;
    height: auto !important;
  }

  /* Nie centrujemy w pionie */
  .hero-layout {
    align-items: flex-start;
  }

  /* Usuwamy sztuczne odstępy */
  .hero-slide {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* Mniejszy odstęp pod tekstem, gdy go mało */
  .hero-text {
    margin-bottom: 12px;
  }

  /* CTA bliżej tekstu */
  .hero-slide .btn-pill {
    margin-top: 8px;
  }
}
/* =========================
   PROJECTS LIST – UPGRADE
   ========================= */

.projects-list{
  list-style:none;
  padding:0;
  margin:32px 0;
}

.projects-item + .projects-item{
  margin-top:12px;
}

.projects-link{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;

  padding:18px 20px;

  background:#fff;
  border:1px solid rgba(26,38,64,.18);
  border-radius:14px;

  text-decoration:none;
  color:#1a2640;

  min-height:56px;
  box-shadow:0 8px 18px rgba(26,38,64,.06);

  transition:all .15s ease;
}

.projects-content{
  min-width:0;
}

.projects-title{
  font-size:15px;
  line-height:1.45;
  font-weight:650;

  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.projects-arrow{
  flex-shrink:0;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;

  border-radius:10px;
  background:rgba(55,187,212,.12);
  font-size:18px;
}

/* hover */
.projects-link:hover{
  background:#f7f9ff;
  border-color:rgba(26,38,64,.30);
  box-shadow:0 12px 26px rgba(26,38,64,.12);
  transform:translateY(-1px);
}

.projects-link:focus-visible{
  outline:3px solid #37BBD4;
  outline-offset:3px;
}

/* mobile */
@media (max-width:767px){
  .projects-title{ font-size:14px; }
}


.projects-filter{
  display:inline-flex;
  align-items:center;
  justify-content:center;

  padding:12px 18px;
  font-size:14px;
  font-weight:600;

  border-radius:999px; /* pill */
  border:1px solid #101c3a;

  background:#fff;
  color:#101c3a;

  text-decoration:none;

  transition:all .15s ease;
}

/* hover */
.projects-filter:hover{
  background:#11c0e5;
  border-color:#11c0e5;
  color:#fff;
  transform:translateY(-1px);
}

/* aktywny */
.projects-filter.is-active{
  background:#101c3a;
  color:#fff;
  box-shadow:0 6px 14px rgba(16,28,58,.25);
}

/* focus WCAG */
.projects-filter:focus-visible{
  outline:3px solid #11c0e5;
  outline-offset:3px;
}

/* mobile */
@media (max-width:767px){
  .projects-filter{
    padding:10px 16px;
    font-size:13px;
  }
}
.btn-wyniki {
    padding: 30px;
    color: #fff;
    background: #1b284a;
}
.btn-wyniki:hover {
    padding: 30px;
    color: #fff;
    background: #28c0d5;
}

.report-card{
    background:#fff;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.06);
    overflow:hidden;
}

.report-table{
    width:100%;
    border-collapse:collapse;
}

.report-table thead{
    background:#f7f9fc;
}

.report-table th,
.report-table td{
    padding:16px;
    border-bottom:1px solid #eef1f4;
}

.report-table tr:hover{
    background:#fafcff;
}

.pdf{
    font-size:12px;
    background:#11c0e5;
    color:#fff;
    padding:6px 8px;
    border-radius:6px;
    font-weight:600;
}

.title{ font-weight:600; }
.desc{ font-size:13px; color:#6b7280; }

.btn-download{
    background:#101c3a;
    color:#fff;
    padding:8px 12px;
    border-radius:8px;
    text-decoration:none;
}
