/* ============================================================
   POLSKA GRUPA RYBNA — Main Stylesheet
   WCAG 2.2 AA compliant | Responsive | Brand: #2C6FB0 / #40add0
   ============================================================ */

/* --- Custom Properties --- */
:root {
  --pgr-navy:       #2C6FB0;
  --pgr-navy-dark:  #1F4F80;
  --pgr-navy-light: #5B97D1;
  --pgr-cyan:       #40add0;
  --pgr-cyan-dark:  #2e8fad;
  --pgr-cyan-light: #6dc6de;
  --pgr-white:      #ffffff;
  --pgr-off-white:  #f4f7fb;
  --pgr-gray-100:   #eef1f6;
  --pgr-gray-300:   #c4cdd9;
  --pgr-gray-600:   #4a5568;
  --pgr-gray-900:   #1a202c;
  --pgr-text:       #1a202c;
  --pgr-text-muted: #4a5568;

  --pgr-radius:     6px;
  --pgr-radius-lg:  12px;
  --pgr-shadow:     0 2px 12px rgba(44, 111, 176, .14);
  --pgr-shadow-lg:  0 8px 32px rgba(44, 111, 176, .2);

  --pgr-transition: 200ms ease;

  --pgr-container:  1200px;
  --pgr-nav-h:      72px;
  --pgr-font-body:  'Open Sans', system-ui, sans-serif;
  --pgr-font-head:  'Montserrat', system-ui, sans-serif;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  font-family: var(--pgr-font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--pgr-text);
  background: var(--pgr-white);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
  color: var(--pgr-cyan-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--pgr-transition);
}
a:hover  { color: var(--pgr-navy); }
a:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--pgr-font-head);
  font-weight: 700;
  line-height: 1.2;
  color: var(--pgr-navy);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font: inherit;
}

/* --- Skip Link (WCAG 2.4.1) --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: .5rem 1rem;
  background: var(--pgr-navy);
  color: var(--pgr-white);
  font-weight: 600;
  border-radius: 0 0 var(--pgr-radius) var(--pgr-radius);
  text-decoration: none;
  z-index: 9999;
  transition: top var(--pgr-transition);
}
.skip-link:focus { top: 0; }

/* --- Container --- */
.pgr-container {
  width: 100%;
  max-width: var(--pgr-container);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  font-family: var(--pgr-font-head);
  font-weight: 600;
  font-size: .9375rem;
  line-height: 1;
  border-radius: var(--pgr-radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--pgr-transition), color var(--pgr-transition), border-color var(--pgr-transition), box-shadow var(--pgr-transition);
  min-height: 44px; /* WCAG touch target */
}
.btn:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--pgr-cyan);
  color: var(--pgr-white);
  border-color: var(--pgr-cyan);
}
.btn-primary:hover {
  background: var(--pgr-cyan-dark);
  border-color: var(--pgr-cyan-dark);
  color: var(--pgr-white);
}
.btn-outline {
  background: transparent;
  color: var(--pgr-white);
  border-color: var(--pgr-white);
}
.btn-outline:hover {
  background: var(--pgr-white);
  color: var(--pgr-navy);
}
.btn-navy {
  background: var(--pgr-navy);
  color: var(--pgr-white);
  border-color: var(--pgr-navy);
}
.btn-navy:hover {
  background: var(--pgr-navy-dark);
  border-color: var(--pgr-navy-dark);
  color: var(--pgr-white);
}

/* --- Section helpers --- */
.pgr-section {
  padding-block: 5rem;
}
.pgr-section--alt {
  background: var(--pgr-off-white);
}
.pgr-section__header {
  text-align: center;
  margin-bottom: 3rem;
}
.pgr-section__label {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-family: var(--pgr-font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin-bottom: .5rem;
}
/* Mała ikona rybki przed etykietą — dziedziczy kolor tekstu (currentColor) */
.pgr-section__label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12C2 12 5 7 11 7C15 7 18 9 20 10L22 7V17L20 14C18 15 15 17 11 17C5 17 2 12 2 12Z'/%3E%3Ccircle cx='15' cy='10.5' r='1.1'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 12C2 12 5 7 11 7C15 7 18 9 20 10L22 7V17L20 14C18 15 15 17 11 17C5 17 2 12 2 12Z'/%3E%3Ccircle cx='15' cy='10.5' r='1.1'/%3E%3C/svg%3E");
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.pgr-section__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--pgr-navy);
  margin-bottom: .75rem;
}
.pgr-section__desc {
  font-size: 1.0625rem;
  color: var(--pgr-text-muted);
  max-width: 640px;
  margin-inline: auto;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--pgr-white);
  box-shadow: 0 1px 0 var(--pgr-gray-300), var(--pgr-shadow);
  height: var(--pgr-nav-h);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

/* Logo */
.site-logo {
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo img {
  height: 48px;
  width: auto;
}

/* Primary Nav */
.primary-nav {
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: .25rem;
}
.nav-list > li {
  position: relative;
}
.nav-list > li > a,
.nav-list > li > button {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .75rem;
  font-family: var(--pgr-font-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--pgr-gray-900);
  text-decoration: none;
  background: none;
  border: none;
  border-radius: var(--pgr-radius);
  cursor: pointer;
  white-space: nowrap;
  min-height: 44px;
  transition: background var(--pgr-transition), color var(--pgr-transition);
}
.nav-list > li > a:hover,
.nav-list > li > button:hover {
  background: var(--pgr-off-white);
  color: var(--pgr-navy);
}
.nav-list > li > a:focus-visible,
.nav-list > li > button:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.nav-list > li > a.active,
.nav-list > li.current-menu-item > a {
  color: var(--pgr-navy);
  background: var(--pgr-gray-100);
}

/* Dropdown arrow */
.nav-arrow {
  width: 12px;
  height: 12px;
  transition: transform var(--pgr-transition);
  flex-shrink: 0;
}
.nav-list > li[aria-expanded="true"] .nav-arrow {
  transform: rotate(180deg);
}

/* Dropdown panel */
.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  padding-top: 6px; /* wizualny odstęp bez przerwy w hover */
  left: 0;
  min-width: 220px;
  background: var(--pgr-white);
  border: 1px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  box-shadow: var(--pgr-shadow-lg);
  padding: .5rem;
  z-index: 200;
}
.nav-list > li[aria-expanded="true"] .nav-dropdown {
  display: block;
}

/* Hover dropdown — wszystkie pozycje z dropdownem, tylko urządzenia z myszką */
@media (hover: hover) {
  .nav-list > li:hover .nav-dropdown {
    display: block;
  }
  .nav-list > li:hover > a,
  .nav-list > li:hover > button {
    background: var(--pgr-off-white);
    color: var(--pgr-navy);
  }
  .nav-list > li:hover .nav-arrow {
    transform: rotate(180deg);
  }
}
.nav-dropdown a {
  display: block;
  padding: .6rem .875rem;
  font-family: var(--pgr-font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--pgr-gray-900);
  text-decoration: none;
  border-radius: var(--pgr-radius);
  transition: background var(--pgr-transition), color var(--pgr-transition);
}
.nav-dropdown a:hover {
  background: var(--pgr-off-white);
  color: var(--pgr-navy);
}
.nav-dropdown a:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: .625rem;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--pgr-radius);
}
.nav-toggle:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--pgr-navy);
  border-radius: 2px;
  transition: transform var(--pgr-transition), opacity var(--pgr-transition);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile overlay nav */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(26, 32, 44, .5);
}
.mobile-nav-overlay.is-open { display: block; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 90vw);
  background: var(--pgr-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 95;
  padding: 1.5rem 1rem;
}
.mobile-nav.is-open { transform: translateX(0); }

.mobile-nav__close {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 1.5rem;
}
.mobile-nav__close button {
  background: none;
  border: none;
  cursor: pointer;
  padding: .5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--pgr-radius);
  color: var(--pgr-gray-900);
}
.mobile-nav__close button:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: .125rem;
}
.mobile-nav-list a,
.mobile-nav-list button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: .75rem 1rem;
  font-family: var(--pgr-font-head);
  font-weight: 600;
  font-size: .9375rem;
  color: var(--pgr-gray-900);
  text-decoration: none;
  background: none;
  border: none;
  border-radius: var(--pgr-radius);
  cursor: pointer;
  text-align: left;
  min-height: 44px;
  transition: background var(--pgr-transition);
}
.mobile-nav-list a:hover,
.mobile-nav-list button:hover { background: var(--pgr-off-white); }
.mobile-nav-list a:focus-visible,
.mobile-nav-list button:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  border-left: 2px solid var(--pgr-gray-300);
  margin-left: 1rem;
  margin-block: .25rem;
}
.mobile-submenu.is-open { display: block; }
.mobile-submenu a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--pgr-text-muted);
}

/* --- Language Switcher — Desktop --- */
.nav-lang {
  margin-left: .25rem;
  border-left: 1px solid var(--pgr-gray-300);
  padding-left: .5rem;
}
.nav-lang__toggle {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .5rem .625rem;
  font-family: var(--pgr-font-head);
  font-weight: 700;
  font-size: .875rem;
  color: var(--pgr-gray-900);
  background: none;
  border: none;
  border-radius: var(--pgr-radius);
  cursor: pointer;
  min-height: 44px;
  transition: background var(--pgr-transition), color var(--pgr-transition);
}
.nav-lang__toggle:hover {
  background: var(--pgr-off-white);
  color: var(--pgr-navy);
}
.nav-lang__toggle:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.nav-lang__icon svg {
  width: 16px;
  height: 16px;
  color: var(--pgr-cyan-dark);
}
.nav-lang__current {
  font-size: .8125rem;
  letter-spacing: .05em;
}
.nav-lang__dropdown {
  min-width: 170px;
  left: auto;
  right: 0;
}
.nav-lang__item {
  display: flex;
  align-items: center;
  gap: .625rem;
  padding: .6rem .875rem;
  font-family: var(--pgr-font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--pgr-gray-900);
  text-decoration: none;
  border-radius: var(--pgr-radius);
  transition: background var(--pgr-transition), color var(--pgr-transition);
  cursor: pointer;
}
.nav-lang__item:hover {
  background: var(--pgr-off-white);
  color: var(--pgr-navy);
}
.nav-lang__item:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.nav-lang__item--active {
  color: var(--pgr-navy);
  background: var(--pgr-gray-100);
  font-weight: 700;
  border-radius: var(--pgr-radius);
}
.pgr-flag {
  font-size: 1.1em;
  line-height: 1;
}

/* --- Language Switcher — Mobile --- */
.mobile-lang {
  border-top: 1px solid var(--pgr-gray-300);
  margin-top: .75rem;
  padding-top: .875rem;
}
.mobile-lang__label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pgr-text-muted);
  padding: 0 1rem .5rem;
}
.mobile-lang__list {
  display: flex;
  flex-wrap: wrap;
  gap: .375rem;
  padding: 0 1rem;
}
.mobile-lang__item {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .75rem;
  font-family: var(--pgr-font-head);
  font-size: .875rem;
  font-weight: 700;
  border-radius: var(--pgr-radius);
  border: 1.5px solid var(--pgr-gray-300);
  color: var(--pgr-gray-900);
  text-decoration: none;
  background: var(--pgr-white);
  min-height: 36px;
  transition: border-color var(--pgr-transition), background var(--pgr-transition), color var(--pgr-transition);
}
.mobile-lang__item:hover {
  border-color: var(--pgr-cyan);
  color: var(--pgr-navy);
}
.mobile-lang__item:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.mobile-lang__item--active {
  background: var(--pgr-navy);
  border-color: var(--pgr-navy);
  color: var(--pgr-white);
  cursor: default;
}


/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  overflow: hidden;
  background: var(--pgr-navy-dark);
  width: 100%;
  aspect-ratio: 2560 / 867;
  max-height: 867px;
  min-height: 320px;
}

/* Wszystkie slajdy zawsze absolute — kontener kontroluje wysokość */
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
  display: flex;
  align-items: center;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center top;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}
.hero-slide__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 2.5rem;
}
.hero-slide__eyebrow {
  display: inline-block;
  font-family: var(--pgr-font-head);
  font-size: .8125rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pgr-cyan-light);
  margin-bottom: 1rem;
}
.hero-slide__title {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  color: var(--pgr-white);
  max-width: 640px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.hero-slide__desc {
  font-size: clamp(1rem, 2vw, 1.1875rem);
  color: rgba(255,255,255,.88);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.6;
}
.hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.slider-dots {
  display: flex;
  gap: .5rem;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--pgr-transition), transform var(--pgr-transition);
  min-width: 24px;
  min-height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-clip: padding-box;
}
.slider-dot::after {
  content: '';
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transition: background var(--pgr-transition), transform var(--pgr-transition);
}
.slider-dot.is-active::after,
.slider-dot:hover::after {
  background: var(--pgr-cyan);
  transform: scale(1.2);
}
.slider-dot:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
  border-radius: 50%;
}

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(255,255,255,.15);
  border: 2px solid rgba(255,255,255,.4);
  color: var(--pgr-white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--pgr-transition), border-color var(--pgr-transition);
  backdrop-filter: blur(4px);
}
.slider-btn:hover {
  background: rgba(64, 173, 208, .7);
  border-color: var(--pgr-cyan);
}
.slider-btn:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
}
.slider-btn--prev { left: 1.25rem; }
.slider-btn--next { right: 1.25rem; }
.slider-btn svg { width: 20px; height: 20px; }

/* ============================================================
   BLOG SECTION
   ============================================================ */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

/* Paginacja bloga */
.navigation.pagination {
  display: flex;
  justify-content: center;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
}
.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding-inline: .75rem;
  border-radius: var(--pgr-radius);
  border: 1.5px solid var(--pgr-gray-300);
  background: var(--pgr-white);
  color: var(--pgr-navy);
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background var(--pgr-transition), border-color var(--pgr-transition), color var(--pgr-transition);
}
.nav-links .page-numbers:hover {
  background: var(--pgr-navy);
  border-color: var(--pgr-navy);
  color: var(--pgr-white);
}
.nav-links .page-numbers.current {
  background: var(--pgr-navy);
  border-color: var(--pgr-navy);
  color: var(--pgr-white);
  font-weight: 700;
  pointer-events: none;
}
.nav-links .page-numbers.dots {
  border: none;
  background: none;
  color: var(--pgr-text-muted);
  pointer-events: none;
}
.nav-links .prev.page-numbers,
.nav-links .next.page-numbers {
  padding-inline: 1rem;
  font-weight: 600;
  color: var(--pgr-cyan-dark);
  border-color: var(--pgr-cyan-dark);
}
.nav-links .prev.page-numbers:hover,
.nav-links .next.page-numbers:hover {
  background: var(--pgr-cyan-dark);
  border-color: var(--pgr-cyan-dark);
  color: var(--pgr-white);
}

.blog-card {
  background: var(--pgr-white);
  border-radius: var(--pgr-radius-lg);
  box-shadow: var(--pgr-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
.blog-card:hover {
  box-shadow: var(--pgr-shadow-lg);
  transform: translateY(-3px);
}
.blog-card__img-wrap {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--pgr-gray-100);
}
.blog-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.blog-card:hover .blog-card__img-wrap img { transform: scale(1.04); }

.blog-card__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__cat {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin-bottom: .5rem;
  text-decoration: none;
}
.blog-card__title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin-bottom: .625rem;
  line-height: 1.35;
}
.blog-card__title a {
  color: inherit;
  text-decoration: none;
}
.blog-card__title a:hover { color: var(--pgr-cyan-dark); }
.blog-card__excerpt {
  font-size: .9rem;
  color: var(--pgr-text-muted);
  flex: 1;
  margin-bottom: 1rem;
  line-height: 1.6;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--pgr-gray-600);
}
.blog-card__meta svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--pgr-cyan-dark);
}
.blog-card__meta time { font-weight: 500; }

.blog-section__cta {
  text-align: center;
  margin-top: 2.5rem;
}
.blog-section__cta .btn {
  font-size: .875rem;
  padding: .5rem 1.375rem;
}

/* ============================================================
   WHOLESALERS MARQUEE
   ============================================================ */
/* Faliste przejście — motyw wody/ryb między sekcjami */
.pgr-wave-top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 48px;
  transform: translateY(-99%);
  line-height: 0;
  pointer-events: none;
  z-index: 1;
}
/* Tylko w sekcji dystrybutorów fala jest na dole */
.wholesalers-section .pgr-wave-top {
  top: auto;
  bottom: 0;
  transform: translateY(99%) scaleY(-1);
}
.pgr-wave-top svg {
  width: 100%;
  height: 100%;
  display: block;
}
.pgr-wave-top path {
  fill: var(--pgr-navy);
}
@media (max-width: 640px) {
  .pgr-wave-top { height: 28px; }
}

.wholesalers-section {
  position: relative;
  background: var(--pgr-navy);
  padding-block: 3.5rem;
}
.wholesalers-section .pgr-section__label,
.wholesalers-section .pgr-section__title {
  color: var(--pgr-white);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  animation: pgr-marquee 40s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; gap: 1.5rem; flex-wrap: wrap; justify-content: center; }
}

@keyframes pgr-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.wholesaler-item {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}
.wholesaler-logo-wrap {
  background: var(--pgr-white);
  border-radius: var(--pgr-radius-lg);
  padding: 1.125rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 110px;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
.wholesaler-logo-wrap:hover {
  box-shadow: 0 4px 16px rgba(64,173,208,.4);
  transform: translateY(-2px);
}
.wholesaler-logo-wrap img {
  max-height: 76px;
  max-width: 180px;
  width: auto;
  object-fit: contain;
}
.wholesaler-name {
  font-size: .8rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
  text-align: center;
}

/* ============================================================
   PARTNERS GRIDS
   ============================================================ */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.partner-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
}
.partner-logo-wrap {
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 3/2;
  transition: border-color var(--pgr-transition), box-shadow var(--pgr-transition), transform var(--pgr-transition);
  cursor: default;
}
.partner-logo-wrap[href] { cursor: pointer; text-decoration: none; }
.partner-logo-wrap:hover, a.partner-logo-wrap:hover {
  border-color: var(--pgr-cyan);
  box-shadow: 0 4px 16px rgba(64,173,208,.2);
  transform: translateY(-2px);
}
.partner-logo-wrap:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.partner-logo-wrap img {
  max-height: 60px;
  max-width: 100%;
  object-fit: contain;
}
.partner-name {
  font-size: .78rem;
  color: var(--pgr-text-muted);
  font-weight: 500;
  text-align: center;
  line-height: 1.3;
}

/* Strategic partners — slightly more prominent */
.partners-grid--strategic .partner-logo-wrap {
  border-width: 2px;
  border-color: var(--pgr-navy-light);
  background: var(--pgr-white);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  position: relative;
  background: var(--pgr-navy);
  color: var(--pgr-white);
}
.contact-section .pgr-section__label { color: var(--pgr-cyan-light); }
.contact-section .pgr-section__title { color: var(--pgr-white); }
.contact-section .pgr-section__desc  { color: rgba(255,255,255,.8); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-info__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-info__icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(64, 173, 208, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pgr-cyan-light);
}
.contact-info__icon svg { width: 20px; height: 20px; }
.contact-info__body {}
.contact-info__label {
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pgr-cyan-light);
  margin-bottom: .25rem;
}
.contact-info__value {
  font-size: 1rem;
  color: rgba(255,255,255,.9);
  line-height: 1.5;
}
.contact-info__value a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.contact-info__value a:hover { color: var(--pgr-cyan-light); }

.contact-form {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--pgr-radius-lg);
  padding: 2rem;
}
.contact-form h3 {
  color: var(--pgr-white);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: .375rem;
  margin-bottom: 1.125rem;
}
.form-group label {
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.85);
}
.form-control {
  width: 100%;
  padding: .75rem 1rem;
  background: rgba(255,255,255,.1);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: var(--pgr-radius);
  color: var(--pgr-white);
  font-size: 1rem;
  transition: border-color var(--pgr-transition), background var(--pgr-transition);
  min-height: 44px;
}
.form-control::placeholder { color: rgba(255,255,255,.4); }
.form-control:focus {
  outline: none;
  border-color: var(--pgr-cyan);
  background: rgba(255,255,255,.14);
  box-shadow: 0 0 0 3px rgba(64,173,208,.25);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}
.form-submit { display: inline-flex; width: auto; }

/* ============================================================
   AWARDS SECTION
   ============================================================ */
.awards-section {
  background: var(--pgr-off-white);
}

.awards-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.award-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .625rem;
}

.award-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  height: auto;
  min-height: 240px;
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 2rem 3rem;
  text-decoration: none;
  transition: border-color var(--pgr-transition), box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
a.award-logo-wrap:hover {
  border-color: var(--pgr-cyan);
  box-shadow: 0 4px 20px rgba(64, 173, 208, .2);
  transform: translateY(-3px);
}
a.award-logo-wrap:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.award-logo-wrap img {
  width: 100%;
  max-width: 560px;
  height: auto;
  object-fit: contain;
}

.award-name {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pgr-text-muted);
  text-align: center;
  max-width: 640px;
  line-height: 1.3;
  margin-top: .25rem;
}

@media (max-width: 640px) {
  .award-logo-wrap { padding: 1.5rem; min-height: 160px; }
}

/* ============================================================
   FOOTER
   ============================================================ */

/* Animacja — ryby pływają falistą ścieżką */
@keyframes pgr-fish-sway {
  0%   { transform: translate(0,      0px); }
  15%  { transform: translate(-10px,  -8px); }
  30%  { transform: translate(-22px,   0px); }
  45%  { transform: translate(-34px,   9px); }
  60%  { transform: translate(-48px,   0px); }
  75%  { transform: translate(-60px,  -8px); }
  100% { transform: translate(-70px,   0px); }
}
@keyframes pgr-fish-sway-r {
  0%   { transform: translate(0,      0px); }
  15%  { transform: translate(10px,   8px); }
  30%  { transform: translate(22px,   0px); }
  45%  { transform: translate(36px,  -9px); }
  60%  { transform: translate(50px,   0px); }
  75%  { transform: translate(62px,   8px); }
  100% { transform: translate(72px,   0px); }
}

.site-footer {
  position: relative;
  background: var(--pgr-navy-dark);
  color: rgba(255,255,255,.75);
  padding-block: 3rem 1.5rem;
}
/* Treść stopki nad rybami */
.site-footer > .pgr-container {
  position: relative;
  z-index: 1;
}

/* Wspólne właściwości warstw ryb */
.footer-fish-band,
.footer-fish-band::before,
.footer-fish-band::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  background-repeat: no-repeat;
}

/* Ryby rozrzucone po tle całej stopki — 3 grupy z niezależną animacją */
.footer-fish-band {
  z-index: 0;
  /* Grupa A: 2 większe ryby */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.11%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.11%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.09%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.09%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E");
  background-size: 80px 27px, 68px 23px;
  background-position: 12% 22%, 62% 68%;
  animation: pgr-fish-sway 50s ease-in-out infinite alternate;
}

.footer-fish-band::before {
  content: '';
  /* Grupa B: 2 średnie ryby — inna faza i prędkość */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.08%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.08%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.10%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.10%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E");
  background-size: 52px 17px, 64px 21px;
  background-position: 38% 80%, 80% 35%;
  animation: pgr-fish-sway 38s ease-in-out infinite alternate-reverse;
  animation-delay: -12s;
}

.footer-fish-band::after {
  content: '';
  /* Grupa C: 2 małe ryby — najwolniejsze, inne opóźnienie */
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.07%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.07%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E"),
    url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.06%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.06%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E");
  background-size: 44px 15px, 40px 13px;
  background-position: 55% 15%, 90% 60%;
  animation: pgr-fish-sway 65s ease-in-out infinite alternate;
  animation-delay: -28s;
}

@media (prefers-reduced-motion: reduce) {
  .footer-fish-band,
  .footer-fish-band::before,
  .footer-fish-band::after { animation: none; }
}

/* Separator z pojedynczą rybą przed copyright */
.footer-fish-sep {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  color: rgba(255,255,255,.18);
}
.footer-fish-sep::before,
.footer-fish-sep::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}
.footer-fish-sep__icon {
  width: 36px;
  height: 17px;
  flex-shrink: 0;
  color: rgba(255,255,255,.22);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 1.5rem;
}
.footer-brand {}
.footer-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: 8px;
  padding: .625rem 1.125rem;
  margin-bottom: 1rem;
}
.footer-logo {
  max-height: 40px;
  max-width: 180px;
  width: auto;
  height: auto;
  display: block;
}
.footer-tagline {
  font-size: .9375rem;
  line-height: 1.6;
  color: rgba(255,255,255,.65);
  margin-bottom: 1.25rem;
}
.footer-social {
  display: flex;
  gap: .625rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.75);
  text-decoration: none;
  transition: background var(--pgr-transition), color var(--pgr-transition);
}
.footer-social a:hover {
  background: var(--pgr-cyan);
  color: var(--pgr-white);
}
.footer-social a:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
}
.footer-social svg { width: 18px; height: 18px; }

.footer-col h4 {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--pgr-white);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.footer-links a {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color var(--pgr-transition);
}
.footer-links a:hover { color: var(--pgr-cyan-light); }
.footer-links a:focus-visible {
  outline: 2px solid var(--pgr-cyan);
  outline-offset: 2px;
  border-radius: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.45);
}
.footer-bottom a {
  color: rgba(255,255,255,.5);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bottom a:hover { color: rgba(255,255,255,.8); }

/* ============================================================
   RECIPE SINGLE
   ============================================================ */

/* Hero z pierwszym zdjęciem */
.recipe-hero {
  position: relative;
  max-height: 560px;
  overflow: hidden;
  background: var(--pgr-navy-dark);
}
.recipe-hero img {
  width: 100%;
  height: 100%;
  max-height: 560px;
  object-fit: cover;
  display: block;
}
.recipe-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,47,82,.9) 0%, rgba(26,47,82,.4) 50%, transparent 100%);
}
.recipe-hero__meta {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-bottom: 2rem;
  z-index: 2;
}
.recipe-hero .page-hero__breadcrumb {
  justify-content: flex-start;
  margin-bottom: .75rem;
}
.recipe-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--pgr-white);
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
  max-width: 800px;
}

/* Pasek metadanych */
.recipe-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1.5rem;
}
.recipe-meta-item {
  display: flex;
  align-items: center;
  gap: .625rem;
  background: rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--pgr-radius-lg);
  padding: .5rem 1rem;
}
.recipe-meta-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--pgr-cyan-light);
}
.recipe-meta-item__label {
  display: block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
  line-height: 1;
  margin-bottom: .2rem;
}
.recipe-meta-item__value {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pgr-white);
  line-height: 1;
}

/* Layout: składniki + wykonanie */
.recipe-intro {
  position: relative;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  background: var(--pgr-off-white);
  border-radius: var(--pgr-radius-lg);
  border-left: 4px solid var(--pgr-cyan);
  padding: 1.75rem 2rem 1.75rem 2.25rem;
}
.recipe-intro::before {
  content: '\201C';
  position: absolute;
  top: -.5rem;
  left: 1.25rem;
  font-size: 5rem;
  line-height: 1;
  color: var(--pgr-cyan-light);
  opacity: .35;
  font-family: Georgia, serif;
  pointer-events: none;
}
.recipe-intro p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--pgr-text);
  margin-bottom: .875rem;
}
.recipe-intro p:last-child { margin-bottom: 0; }
.recipe-intro strong { color: var(--pgr-navy); }
.recipe-intro a { color: var(--pgr-cyan-dark); }
.recipe-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3rem;
}
.recipe-card-title {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.25rem;
  color: var(--pgr-navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--pgr-gray-300);
}
.recipe-card-title svg {
  width: 20px;
  height: 20px;
  color: var(--pgr-cyan-dark);
  flex-shrink: 0;
}

/* Składniki */
.recipe-ingredients__card {
  background: var(--pgr-off-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 1.75rem;
  position: sticky;
  top: calc(var(--pgr-nav-h) + 1.5rem);
}
.recipe-ingredients__group-name {
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin: 1.25rem 0 .625rem;
}
.recipe-ingredients__group-name:first-of-type { margin-top: 0; }
.recipe-ingredients__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.recipe-ingredients__list li {
  display: flex;
  align-items: flex-start;
  gap: .625rem;
  font-size: .9375rem;
  color: var(--pgr-text);
  line-height: 1.5;
  padding-bottom: .5rem;
  border-bottom: 1px solid var(--pgr-gray-300);
}
.recipe-ingredients__list li:last-child { border-bottom: none; padding-bottom: 0; }
.recipe-ingredients__list li::before {
  content: '–';
  color: var(--pgr-cyan-dark);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Wykonanie */
.recipe-steps__content ol {
  counter-reset: steps;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.recipe-steps__content ol li {
  counter-increment: steps;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  line-height: 1.7;
  font-size: 1rem;
}
.recipe-steps__content ol li::before {
  content: counter(steps);
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pgr-navy);
  color: var(--pgr-white);
  font-family: var(--pgr-font-head);
  font-weight: 700;
  font-size: .875rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.recipe-steps__content p {
  margin-bottom: 1.125rem;
  line-height: 1.7;
  font-size: 1rem;
}

/* Gotowe danie */
.recipe-dish-photo {
  margin: 0 0 3rem;
  border-radius: var(--pgr-radius-lg);
  overflow: hidden;
  box-shadow: var(--pgr-shadow-lg);
}
.recipe-dish-photo img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 600px;
  object-fit: cover;
}
.recipe-dish-photo figcaption {
  background: var(--pgr-navy);
  color: rgba(255,255,255,.75);
  font-size: .875rem;
  text-align: center;
  padding: .625rem 1rem;
}

/* ── Galeria przepisu ── */
.recipe-gallery {
  margin-bottom: 3rem;
}
.recipe-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
.recipe-gallery__thumb {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--pgr-radius-lg);
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--pgr-gray-100);
  display: block;
}
.recipe-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.recipe-gallery__thumb:hover img,
.recipe-gallery__thumb:focus-visible img {
  transform: scale(1.05);
}
.recipe-gallery__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,47,82,.45);
  opacity: 0;
  transition: opacity var(--pgr-transition);
}
.recipe-gallery__zoom svg {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 1px 4px rgba(0,0,0,.5));
}
.recipe-gallery__thumb:hover .recipe-gallery__zoom,
.recipe-gallery__thumb:focus-visible .recipe-gallery__zoom {
  opacity: 1;
}
.recipe-gallery__thumb:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

/* ── Lightbox ── */
.pgr-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(10,14,23,.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: pgr-lb-in .2s ease;
}
.pgr-lightbox[hidden] { display: none; }
@keyframes pgr-lb-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.pgr-lightbox__img-wrap {
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pgr-lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  width: auto;
  height: auto;
  border-radius: var(--pgr-radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
  display: block;
  animation: pgr-lb-img-in .25s ease;
}
@keyframes pgr-lb-img-in {
  from { opacity: 0; transform: scale(.97); }
  to   { opacity: 1; transform: scale(1); }
}
.pgr-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--pgr-transition);
}
.pgr-lightbox__close:hover { background: rgba(255,255,255,.25); }
.pgr-lightbox__close:focus-visible { outline: 3px solid var(--pgr-cyan); outline-offset: 2px; }
.pgr-lightbox__close svg { width: 20px; height: 20px; }

.pgr-lightbox__prev,
.pgr-lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1.5px solid rgba(255,255,255,.25);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--pgr-transition);
}
.pgr-lightbox__prev:hover,
.pgr-lightbox__next:hover { background: rgba(64,173,208,.5); }
.pgr-lightbox__prev:focus-visible,
.pgr-lightbox__next:focus-visible { outline: 3px solid var(--pgr-cyan); outline-offset: 2px; }
.pgr-lightbox__prev svg,
.pgr-lightbox__next svg { width: 22px; height: 22px; }
.pgr-lightbox__prev { left: 1.25rem; }
.pgr-lightbox__next { right: 1.25rem; }

.pgr-lightbox__counter {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: .875rem;
  font-weight: 600;
  color: rgba(255,255,255,.6);
  background: rgba(0,0,0,.35);
  padding: .25rem .875rem;
  border-radius: 999px;
}

/* ── Nawigacja między przepisami ── */
.recipe-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1.5px solid var(--pgr-gray-300);
}
.recipe-post-nav__item {
  display: flex;
  align-items: center;
  gap: .875rem;
  padding: 1rem 1.25rem;
  background: var(--pgr-off-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  text-decoration: none;
  color: var(--pgr-text);
  transition: border-color var(--pgr-transition), box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
.recipe-post-nav__item:hover {
  border-color: var(--pgr-cyan);
  box-shadow: 0 4px 16px rgba(64,173,208,.15);
  transform: translateY(-2px);
  color: var(--pgr-text);
}
.recipe-post-nav__item:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.recipe-post-nav__item svg {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  color: var(--pgr-cyan-dark);
}
.recipe-post-nav__item--next {
  justify-content: flex-end;
  text-align: right;
}
.recipe-post-nav__item--next span { order: 1; }
.recipe-post-nav__item--next svg  { order: 2; }
.recipe-post-nav__label {
  display: block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin-bottom: .2rem;
}
.recipe-post-nav__title {
  display: block;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pgr-navy);
  line-height: 1.3;
}

/* Responsive */
@media (max-width: 900px) {
  .recipe-layout { grid-template-columns: 1fr; }
  .recipe-ingredients__card { position: static; }
  .recipe-hero { max-height: none; }
  .recipe-hero img { max-height: 400px; }
  .recipe-hero__meta { position: static; transform: none; background: linear-gradient(135deg, var(--pgr-navy) 0%, var(--pgr-navy-light) 100%); padding: 1.5rem 0; }
  .recipe-post-nav { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .recipe-meta-bar { gap: .5rem; }
  .recipe-meta-item { padding: .4rem .75rem; }
  .recipe-meta-item svg { width: 15px; height: 15px; }
  .recipe-gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .pgr-lightbox__prev { left: .5rem; }
  .pgr-lightbox__next { right: .5rem; }
}

/* ============================================================
   POST SINGLE (nie przepis)
   ============================================================ */

/* Hero ze zdjęciem */
.post-hero {
  position: relative;
  max-height: 520px;
  overflow: hidden;
  background: var(--pgr-navy-dark);
}
.post-hero__img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}
.post-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16,32,64,.92) 0%, rgba(16,32,64,.4) 55%, transparent 100%);
}
.post-hero__content {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  padding-bottom: 2.25rem;
  z-index: 2;
}
.post-hero__content .page-hero__breadcrumb {
  justify-content: flex-start;
  margin-bottom: .625rem;
}
.post-hero__cat {
  display: inline-block;
  font-family: var(--pgr-font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--pgr-cyan-light);
  text-decoration: none;
  margin-bottom: .625rem;
}
.post-hero__cat:hover { color: #fff; }
.post-hero__title {
  font-size: clamp(1.625rem, 4vw, 2.625rem);
  color: var(--pgr-white);
  margin-bottom: 1rem;
  max-width: 820px;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1.25rem;
}
.post-hero__meta-item {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: rgba(255,255,255,.7);
  font-weight: 500;
}
.post-hero__meta-item svg { flex-shrink: 0; }

/* Layout treści */
.post-content-wrap {
  padding-block: 3.5rem;
}
.post-content-wrap__inner {
  display: grid;
  grid-template-columns: 1fr;
  max-width: 820px;
  margin-inline: auto;
}

/* Artykuł */
.post-article__body {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--pgr-text);
}
.post-article__body h2 {
  font-size: 1.5rem;
  margin-top: 2.25rem;
  margin-bottom: .875rem;
}
.post-article__body h3 {
  font-size: 1.25rem;
  margin-top: 1.75rem;
  margin-bottom: .625rem;
}
.post-article__body p { margin-bottom: 1.25rem; }
.post-article__body ul,
.post-article__body ol {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
  list-style: revert;
}
.post-article__body li { margin-bottom: .375rem; }
.post-article__body img {
  border-radius: var(--pgr-radius-lg);
  margin-block: 1.5rem;
}
.post-article__body blockquote {
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border-left: 4px solid var(--pgr-cyan);
  background: var(--pgr-off-white);
  border-radius: 0 var(--pgr-radius-lg) var(--pgr-radius-lg) 0;
  font-size: 1.0625rem;
  font-style: italic;
  color: var(--pgr-gray-600);
}

/* Tagi */
.post-article__tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--pgr-gray-300);
  font-size: .8125rem;
  color: var(--pgr-text-muted);
}
.post-article__tags svg { flex-shrink: 0; color: var(--pgr-cyan-dark); }
.post-article__tag {
  display: inline-flex;
  padding: .25rem .75rem;
  background: var(--pgr-off-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: 999px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--pgr-gray-900);
  text-decoration: none;
  transition: border-color var(--pgr-transition), background var(--pgr-transition);
}
.post-article__tag:hover {
  border-color: var(--pgr-cyan);
  background: var(--pgr-white);
  color: var(--pgr-navy);
}

@media (max-width: 640px) {
  .post-hero { max-height: none; }
  .post-hero__img { max-height: 320px; }
  .post-hero__content { position: static; transform: none; background: linear-gradient(135deg, var(--pgr-navy) 0%, var(--pgr-navy-light) 100%); padding: 1.5rem 0; }
}

/* ============================================================
   INNER PAGES
   ============================================================ */

/* --- Nav dropdown separator + "wszystkie" link --- */
.nav-dropdown__sep {
  height: 1px;
  background: var(--pgr-gray-300);
  margin: .375rem .5rem;
  padding: 0;
}
.nav-dropdown__all {
  font-weight: 700 !important;
  color: var(--pgr-navy) !important;
}
.nav-dropdown--distributors {
  max-height: 70vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

/* ============================================================
   DISTRIBUTOR ARCHIVE
   ============================================================ */
/* Lista dystrybutorów */
.dist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.dist-list__item {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--pgr-gray-300);
  transition: background var(--pgr-transition);
}
.dist-list__item:first-child {
  border-top: 1px solid var(--pgr-gray-300);
}
.dist-list__item:hover {
  background: var(--pgr-gray-50, #f8fafc);
}

.dist-list__logo-wrap {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dist-list__logo-wrap img {
  max-width: 160px;
  max-height: 72px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.dist-list__logo-placeholder {
  width: 160px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pgr-gray-100);
  border-radius: var(--pgr-radius);
}

.dist-list__body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: .375rem;
}

.dist-list__name {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin: 0;
  line-height: 1.3;
}
.dist-list__name a {
  color: inherit;
  text-decoration: none;
}
.dist-list__name a:hover {
  color: var(--pgr-cyan-dark);
  text-decoration: underline;
}

.dist-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem 1.25rem;
}
.dist-list__meta-item {
  display: flex;
  align-items: center;
  gap: .35rem;
  font-size: .875rem;
  color: var(--pgr-text-muted);
}
.dist-list__meta-item svg {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  color: var(--pgr-cyan-dark);
}
.dist-list__meta-item a {
  color: var(--pgr-cyan-dark);
  text-decoration: none;
}
.dist-list__meta-item a:hover { text-decoration: underline; }

.dist-list__arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--pgr-navy);
  transition: background var(--pgr-transition), color var(--pgr-transition);
}
.dist-list__arrow svg { width: 18px; height: 18px; }
.dist-list__item:hover .dist-list__arrow {
  background: var(--pgr-navy);
  color: var(--pgr-white);
}

@media (max-width: 640px) {
  .dist-list__item { gap: 1rem; padding: 1rem; }
  .dist-list__logo-wrap { width: 90px; }
  .dist-list__logo-wrap img { max-width: 90px; max-height: 48px; }
  .dist-list__meta { flex-direction: column; gap: .25rem; }
  .dist-list__arrow { display: none; }
}

/* ============================================================
   DISTRIBUTOR SINGLE
   ============================================================ */
.dist-single__grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}

.dist-single__logo-wrap {
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  min-height: 130px;
}
.dist-single__logo-wrap img {
  max-width: 260px;
  max-height: 120px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.dist-single__contact-card {
  background: var(--pgr-off-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.125rem;
  margin-bottom: 1.5rem;
}

.dist-contact-item {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
}
.dist-contact-item__icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--pgr-navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pgr-white);
}
.dist-contact-item__icon svg { width: 17px; height: 17px; }
.dist-contact-item__label {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin-bottom: .2rem;
}
.dist-contact-item__value {
  font-size: .9375rem;
  color: var(--pgr-text);
  line-height: 1.5;
}
.dist-contact-item__value a {
  color: var(--pgr-cyan-dark);
  text-decoration: none;
}
.dist-contact-item__value a:hover { text-decoration: underline; }
.dist-contact-item__value--phone {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}
.dist-contact-item__sublabel {
  font-size: .8rem;
  font-weight: 600;
  color: var(--pgr-text-muted);
}

.dist-single__back { display: inline-flex; width: auto; }

.dist-single__desc { margin-bottom: 2rem; }
.dist-single__company-name {
  font-family: var(--pgr-font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin-bottom: .25rem !important;
}

.dist-single__map {
  border-radius: var(--pgr-radius-lg);
  overflow: hidden;
  line-height: 0;
}
.dist-single__map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

/* Galeria zdjęć dystrybutora */
.dist-single__gallery { margin-top: 2.5rem; }
.dist-single__gallery-heading {
  font-size: 1.25rem;
  color: var(--pgr-navy);
  margin-bottom: 1.25rem;
}
.dist-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1rem;
}
.dist-gallery-grid__item {
  position: relative;
  display: block;
  aspect-ratio: 4/3;
  border-radius: var(--pgr-radius);
  overflow: hidden;
  border: none;
  padding: 0;
  cursor: pointer;
  background: var(--pgr-gray-100);
}
.dist-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.dist-gallery-grid__item:hover img { transform: scale(1.06); }
.dist-gallery-grid__item:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}
.dist-gallery-grid__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,60,100,.45);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.dist-gallery-grid__item:hover .dist-gallery-grid__zoom,
.dist-gallery-grid__item:focus-visible .dist-gallery-grid__zoom { opacity: 1; }

/* Responsive */
@media (max-width: 900px) {
  .dist-archive-grid { grid-template-columns: repeat(2, 1fr); }
  .dist-single__grid { grid-template-columns: 1fr; }
  .dist-single__map iframe { height: 300px; }
}
@media (max-width: 640px) {
  .dist-archive-grid { grid-template-columns: 1fr; }
  .dist-gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

.page-hero {
  background: linear-gradient(135deg, var(--pgr-navy) 0%, var(--pgr-navy-light) 100%);
  padding-block: 4rem;
  text-align: center;
}
.page-hero__title {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: var(--pgr-white);
  margin-bottom: .5rem;
}
.page-hero__breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}
.page-hero__breadcrumb a {
  color: var(--pgr-cyan-light);
  text-decoration: none;
}
.page-hero__breadcrumb a:hover { text-decoration: underline; }
.page-hero__breadcrumb span { color: rgba(255,255,255,.4); }

.page-content {
  padding-block: 4rem;
}
.page-content .entry-content {
  max-width: 760px;
  margin-inline: auto;
}
.entry-content h1, .entry-content h2, .entry-content h3 { margin-bottom: 1rem; margin-top: 2rem; }
.entry-content p {
  margin-bottom: 1.25rem;
  text-align: justify;
  text-wrap: pretty;
}
.entry-content ul, .entry-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; list-style: revert; }
.entry-content a { color: var(--pgr-cyan-dark); }

/* ============================================================
   PAGE — POTENCJAŁ
   ============================================================ */

/* Sekcja intro — tekst + zdjęcie */
.pot-intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: center;
}
.pot-intro__title {
  text-align: left;
  margin-bottom: 1.25rem;
}
.pot-intro__body p { margin-bottom: 1rem; }
.pot-intro__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* Przewaga konkurencyjna — nagłówek "Dlaczego my?" większy */
.pot-advantages .pgr-section__label {
  font-size: 1.25rem;
  letter-spacing: .06em;
}

/* Przewaga konkurencyjna — numerowane karty */
.pot-adv-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  list-style: none;
  counter-reset: adv-counter;
}
.pot-adv-item {
  counter-increment: adv-counter;
  position: relative;
  background: var(--pgr-white);
  border-radius: var(--pgr-radius-lg);
  padding: 2rem 1.75rem 1.75rem;
  border-top: 4px solid var(--pgr-navy);
  box-shadow: var(--pgr-shadow);
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition), border-color var(--pgr-transition);
  display: flex;
  flex-direction: column;
  gap: .875rem;
}
.pot-adv-item:hover {
  box-shadow: var(--pgr-shadow-lg);
  transform: translateY(-4px);
  border-color: var(--pgr-cyan);
}
.pot-adv-item__icon { display: none; }
.pot-adv-item::before {
  content: counter(adv-counter, decimal-leading-zero);
  font-family: var(--pgr-font-head);
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  color: var(--pgr-gray-300);
  display: block;
  transition: color var(--pgr-transition);
}
.pot-adv-item:hover::before {
  color: var(--pgr-cyan-light);
}
.pot-adv-item__text {
  font-size: .9375rem;
  color: var(--pgr-text);
  line-height: 1.6;
  font-weight: 500;
}

/* Wolumeny */
.pot-volumes__image-wrap {
  border-radius: var(--pgr-radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  max-width: 960px;
  margin-inline: auto;
}
.pot-volumes__image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}
.pot-volumes__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 2px dashed rgba(255,255,255,.2);
  border-radius: var(--pgr-radius-lg);
  max-width: 960px;
  margin-inline: auto;
}

/* Zasoby grupy — siatka kart */
.pot-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.pot-stat-card {
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition), border-color var(--pgr-transition);
}
.pot-stat-card:hover {
  border-color: var(--pgr-cyan);
  box-shadow: 0 6px 24px rgba(64,173,208,.18);
  transform: translateY(-3px);
}
.pot-stat-card__top {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  flex-wrap: wrap;
}
.pot-stat-card__value {
  font-family: var(--pgr-font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--pgr-navy);
  line-height: 1;
}
.pot-stat-card__unit {
  font-family: var(--pgr-font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--pgr-cyan-dark);
}
.pot-stat-card__label {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--pgr-text-muted);
  margin: 0;
  line-height: 1.4;
}
.pot-stat-card__detail {
  margin-top: .5rem;
  padding-left: 1rem;
  list-style: disc;
  display: flex;
  flex-direction: column;
  gap: .2rem;
}
.pot-stat-card__detail li {
  font-size: .8125rem;
  color: var(--pgr-text-muted);
  line-height: 1.4;
}

/* Responsive */
@media (max-width: 1100px) {
  .pot-stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1050px) {
  .pot-adv-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pot-intro__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pot-intro__image-wrap { order: -1; }
}
@media (max-width: 600px) {
  .pot-adv-list { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pot-stats-grid { grid-template-columns: 1fr; }
  .pot-stat-card__value { font-size: 2rem; }
}

/* ============================================================
   PROMO ARCHIVE — Gazetki promocyjne
   ============================================================ */

/* Filtr miast */
.promo-city-filter {
  display: flex;
  flex-wrap: wrap;
  gap: .625rem;
  margin-bottom: 2.75rem;
}
.promo-city-btn {
  padding: .5rem 1.25rem;
  font-family: var(--pgr-font-head);
  font-size: .875rem;
  font-weight: 600;
  border: 2px solid var(--pgr-gray-300);
  border-radius: 999px;
  background: var(--pgr-white);
  color: var(--pgr-gray-900);
  cursor: pointer;
  min-height: 40px;
  transition: border-color var(--pgr-transition), background var(--pgr-transition), color var(--pgr-transition);
}
.promo-city-btn:hover {
  border-color: var(--pgr-cyan);
  color: var(--pgr-navy);
}
.promo-city-btn.is-active {
  background: var(--pgr-navy);
  border-color: var(--pgr-navy);
  color: var(--pgr-white);
}
.promo-city-btn:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

/* Wrapper — dwie kolumny grup dystrybutorów */
.promo-groups-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem 3rem;
  align-items: start;
}
@media (max-width: 768px) { .promo-groups-grid { grid-template-columns: 1fr; } }

/* Grupa miast */
.promo-city-group {
  margin-bottom: 0;
}
.promo-city-group:last-child { margin-bottom: 0; }

.promo-city-group__title {
  display: flex;
  align-items: center;
  gap: .625rem;
  font-size: 1.375rem;
  color: var(--pgr-navy);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--pgr-gray-300);
}
.promo-city-group__icon {
  width: 28px;
  height: 28px;
  color: var(--pgr-cyan-dark);
  flex-shrink: 0;
}
.promo-city-group__icon svg { width: 100%; height: 100%; }

/* Nagłówek dystrybutora */
.promo-dist-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--pgr-gray-300);
}
.promo-dist-header__logo {
  flex-shrink: 0;
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius);
  padding: .5rem .875rem;
  display: flex;
  align-items: center;
}
.promo-dist-header__logo img {
  max-height: 44px;
  max-width: 130px;
  width: auto;
  object-fit: contain;
}
.promo-dist-header__info {
  display: flex;
  align-items: baseline;
  gap: .875rem;
  flex-wrap: wrap;
}
.promo-city-group__title {
  font-size: 1.375rem;
  color: var(--pgr-navy);
  margin: 0;
  border: none;
  padding: 0;
}
.promo-city-group__title a {
  color: inherit;
  text-decoration: none;
}
.promo-city-group__title a:hover { color: var(--pgr-cyan-dark); }
.promo-dist-header__count {
  font-size: .8125rem;
  font-weight: 600;
  color: var(--pgr-text-muted);
  background: var(--pgr-gray-100);
  padding: .2rem .625rem;
  border-radius: 999px;
}

/* PDF canvas cover */
.promo-pdf-canvas {
  display: none; /* pokazany przez JS po wyrenderowaniu */
  width: 100%;
  height: auto;
}
.promo-pdf-canvas__loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pgr-gray-100);
  animation: pgr-pulse 1.6s ease-in-out infinite;
}
.promo-pdf-canvas__icon {
  color: var(--pgr-gray-300);
}
@keyframes pgr-pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: .45; }
}

/* Etykieta miesiąca */
.promo-card__month {
  display: inline-block;
  font-family: var(--pgr-font-head);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--pgr-cyan-dark);
  margin-bottom: .125rem;
}

/* Siatka gazetek */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 1rem;
}

/* Karta gazetki */
.promo-card {
  background: var(--pgr-white);
  border: 1.5px solid var(--pgr-gray-300);
  border-radius: var(--pgr-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
.promo-card:hover {
  box-shadow: var(--pgr-shadow-lg);
  transform: translateY(-3px);
}
.promo-card--expired {
  opacity: .7;
}

/* Okładka */
.promo-card__cover {
  position: relative;
  aspect-ratio: 210 / 297; /* A4 */
  overflow: hidden;
  background: var(--pgr-gray-100);
}
.promo-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.promo-card__cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  color: var(--pgr-gray-300);
}
.promo-card__cover-placeholder svg {
  width: 56px;
  height: 56px;
}
.promo-card__cover-placeholder span {
  font-family: var(--pgr-font-head);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--pgr-gray-300);
}

/* Badge */
.promo-card__badge {
  position: absolute;
  top: .75rem;
  right: .75rem;
  padding: .25rem .75rem;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 999px;
}
.promo-card__badge--active {
  background: #dcfce7;
  color: #15803d;
}
.promo-card__badge--expired {
  background: var(--pgr-gray-100);
  color: var(--pgr-gray-600);
}

/* Treść */
.promo-card__body {
  padding: 1rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  flex: 1;
}
.promo-card__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--pgr-navy);
  line-height: 1.3;
  margin: 0;
}
.promo-card__dates {
  display: flex;
  align-items: center;
  gap: .375rem;
  font-size: .8125rem;
  color: var(--pgr-text-muted);
  margin: 0;
}
.promo-card__dates svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
  color: var(--pgr-cyan-dark);
}
.promo-card__desc {
  font-size: .875rem;
  color: var(--pgr-text-muted);
  margin: 0;
  flex: 1;
  line-height: 1.5;
}
.promo-card__btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: .875rem;
  padding: .5rem 1.125rem;
  gap: .4rem;
}

/* Gdy grupy są w jednej kolumnie (mobile), karty mogą mieć 3 w rzędzie */
@media (max-width: 768px)  { .promo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px)  { .promo-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 360px)  { .promo-grid { grid-template-columns: 1fr; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .partners-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .partners-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .primary-nav { display: none; }
  .nav-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --pgr-nav-h: 60px; }
  .blog-grid { grid-template-columns: 1fr; }
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-slide__actions { flex-direction: column; }
  .hero-slide__actions .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .pgr-section { padding-block: 3.5rem; }
  .slider-btn { display: none; }
}

@media (max-width: 400px) {
  .partners-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   PAGE — BMC
   ============================================================ */

/* --- Hero: pełnoekranowy baner z logo BMC --- */
.bmc-hero {
  position: relative;
  background: linear-gradient(150deg, #0a2d6e 0%, #0e4193 55%, #1a6bc9 100%);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
}
/* Warstwa rybek w bmc-hero */
.bmc-hero__fish-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
/* Dekoracyjne fale w tle */
.bmc-hero__waves {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 0;
}
.bmc-hero__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
}
.bmc-hero__wave--2 {
  bottom: -20px;
}
/* Wewnętrzny kontener: breadcrumb u góry, treść wyśrodkowana, scroll indicator u dołu */
.bmc-hero__inner {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem 2.5rem;
}
.bmc-hero__breadcrumb-wrap {
  width: 100%;
  max-width: 900px;
  margin-bottom: auto;
}
.bmc-hero__breadcrumb-wrap .page-hero__breadcrumb {
  justify-content: center;
}
/* Centralna treść */
.bmc-hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
  margin-block: auto;
  padding-block: 3rem;
}
/* Logo bez karty — samo logo na ciemnym tle */
.bmc-hero__logo {
  display: block;
}
.bmc-hero__logo img {
  max-width: 320px;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.35));
}
.bmc-hero__title-fallback {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--pgr-white);
  margin-bottom: 0;
}
/* Eyebrow — "Tradycja · Jakość · Smak" */
.bmc-hero__eyebrow {
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  margin: 0;
}
/* Główny nagłówek hero */
.bmc-hero__headline {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  color: var(--pgr-white);
  line-height: 1.2;
  margin: 0;
}
.bmc-hero__hashtag {
  display: block;
  color: #5bb8ff;
}
.bmc-hero__tagline {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: rgba(255,255,255,.78);
  max-width: 520px;
  margin: 0;
  line-height: 1.6;
}
/* CTA — duży przycisk pill */
.bmc-hero__cta {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  padding: .85rem 2rem;
  font-family: var(--pgr-font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--pgr-navy);
  background: var(--pgr-white);
  border: 2px solid var(--pgr-white);
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  min-height: 52px;
  transition: background var(--pgr-transition), color var(--pgr-transition), transform var(--pgr-transition), box-shadow var(--pgr-transition);
  box-shadow: 0 4px 20px rgba(0,0,0,.18);
}
.bmc-hero__cta:hover {
  background: var(--pgr-cyan);
  border-color: var(--pgr-cyan);
  color: var(--pgr-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,0,0,.24);
}
.bmc-hero__cta:focus-visible {
  outline: 3px solid var(--pgr-cyan-light);
  outline-offset: 3px;
}
/* Scroll indicator na dole */
.bmc-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .3rem;
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: auto;
  padding-bottom: 1.5rem;
  animation: bmc-scroll-bounce 2s ease-in-out infinite;
}
@keyframes bmc-scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
/* Stary CTA (kompatybilność wsteczna) */
.bmc-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1.25rem;
  font-family: var(--pgr-font-head);
  font-size: .875rem;
  font-weight: 600;
  color: var(--pgr-navy);
  background: var(--pgr-white);
  border: 2px solid var(--pgr-white);
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  min-height: 40px;
  transition: background var(--pgr-transition), color var(--pgr-transition), transform var(--pgr-transition);
}
.bmc-cta:hover {
  background: var(--pgr-cyan);
  border-color: var(--pgr-cyan);
  color: var(--pgr-white);
  transform: translateY(-1px);
}
.bmc-cta:focus-visible {
  outline: 3px solid var(--pgr-cyan-light);
  outline-offset: 3px;
}

/* Każda rybka to osobny element z własną animacją */
.bmc-fish {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Kształty — klasyczna ryba (płynie w prawo) */
.bmc-fish--1,
.bmc-fish--3,
.bmc-fish--5 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 8%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.12%22 d=%22M2,4 Q10,0 21,4 Q10,8 2,4 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.12%22 d=%22M0,2 L2,4 L0,6 Z%22/%3E%3C/svg%3E");
}
/* Smukła ryba (płynie w lewo — odbita) */
.bmc-fish--2 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 30 8%22%3E%3Cellipse fill=%22%23ffffff%22 fill-opacity=%220.10%22 cx=%2213%22 cy=%224%22 rx=%2213%22 ry=%222.2%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.10%22 d=%22M30,2 L26,4 L30,6 Z%22/%3E%3C/svg%3E");
}
/* Gruba ryba (płynie w lewo — odbita) */
.bmc-fish--4 {
  background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 20 10%22%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.09%22 d=%22M18,5 Q10,0 2,5 Q10,10 18,5 Z%22/%3E%3Cpath fill=%22%23ffffff%22 fill-opacity=%220.09%22 d=%22M20,2 L18,5 L20,8 Z%22/%3E%3C/svg%3E");
}

/* Ryba 1 — duża, płynie w prawo, górna część */
.bmc-fish--1 {
  width: 80px; height: 27px;
  top: 22%;
  animation: bmc-swim-r 18s linear infinite;
  animation-delay: -4s;
}
/* Ryba 2 — smukła, płynie w lewo, dolna część */
.bmc-fish--2 {
  width: 62px; height: 16px;
  top: 68%;
  animation: bmc-swim-l 14s linear infinite;
  animation-delay: -2s;
}
/* Ryba 3 — średnia, płynie w prawo, środek */
.bmc-fish--3 {
  width: 56px; height: 19px;
  top: 48%;
  animation: bmc-swim-r 22s linear infinite;
  animation-delay: -11s;
}
/* Ryba 4 — gruba, płynie w lewo, górna */
.bmc-fish--4 {
  width: 50px; height: 25px;
  top: 30%;
  animation: bmc-swim-l 16s linear infinite;
  animation-delay: -7s;
}
/* Ryba 5 — mała, płynie w prawo, dolna */
.bmc-fish--5 {
  width: 38px; height: 13px;
  top: 78%;
  animation: bmc-swim-r 20s linear infinite;
  animation-delay: -15s;
}

@keyframes bmc-swim-r {
  0%   { transform: translateX(-120px) translateY(0); }
  20%  { transform: translateX(calc(20vw))  translateY(-10px); }
  40%  { transform: translateX(calc(40vw))  translateY(6px); }
  60%  { transform: translateX(calc(60vw))  translateY(-8px); }
  80%  { transform: translateX(calc(80vw))  translateY(10px); }
  100% { transform: translateX(calc(100vw + 120px)) translateY(0); }
}
@keyframes bmc-swim-l {
  0%   { transform: translateX(calc(100vw + 80px)) translateY(0); }
  20%  { transform: translateX(calc(80vw))  translateY(10px); }
  40%  { transform: translateX(calc(60vw))  translateY(-8px); }
  60%  { transform: translateX(calc(40vw))  translateY(6px); }
  80%  { transform: translateX(calc(20vw))  translateY(-10px); }
  100% { transform: translateX(-80px) translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .bmc-fish { animation: none !important; }
}

/* --- Karta treści --- */
.bmc-content-card {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--pgr-text);
}
.bmc-content-card p { margin-bottom: 1.25rem; }
.bmc-content-card p:last-child { margin-bottom: 0; }
.bmc-content-card p:first-of-type {
  font-size: 1.1875rem;
  font-weight: 600;
  color: var(--pgr-navy);
}

/* --- Pozostałe linie hasła --- */
.bmc-slogan-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
  padding-top: 1.5rem;
  border-top: 1.5px dashed var(--pgr-gray-300);
}
.bmc-slogan-strip__line {
  font-size: 1rem;
  font-weight: 600;
  color: var(--pgr-cyan-dark);
}

/* --- Social media --- */
.bmc-social {
  margin-block: 2.5rem;
  text-align: center;
}
.bmc-social__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin-bottom: 1.25rem;
}
.bmc-social__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.bmc-social__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  text-decoration: none;
  color: #fff;
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, filter .2s;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.bmc-social__btn:hover {
  transform: translateY(-4px) scale(1.07);
  box-shadow: 0 12px 32px rgba(0,0,0,.24);
  filter: brightness(1.1);
}
.bmc-social__btn--fb  { background: #1877F2; }
.bmc-social__btn--ig  { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.bmc-social__btn--tt  { background: #010101; }
.bmc-social__label { display: none; }
/* Własna ikona (zdjęcie z ACF) */
.bmc-social__custom-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.bmc-social__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.bmc-social__icon svg { width: 40px; height: 40px; }

/* --- Galeria produktów --- */
.bmc-gallery-heading {
  text-align: center;
  font-size: 1.375rem;
  color: var(--pgr-navy);
  margin-bottom: 1.75rem;
}
.bmc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin-inline: auto;
}
.bmc-gallery-grid__item {
  position: relative;
  border-radius: var(--pgr-radius-lg);
  overflow: hidden;
  box-shadow: var(--pgr-shadow);
  transition: box-shadow var(--pgr-transition), transform var(--pgr-transition);
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  display: block;
  aspect-ratio: 1/1;
}
.bmc-gallery-grid__item:hover {
  box-shadow: var(--pgr-shadow-lg);
  transform: translateY(-4px);
}
.bmc-gallery-grid__item:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
}
.bmc-gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.bmc-gallery-grid__item:hover img {
  transform: scale(1.05);
}
/* Ikona lupy */
.bmc-gallery-grid__zoom {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(28,60,100,.45);
  color: #fff;
  opacity: 0;
  transition: opacity .25s ease;
}
.bmc-gallery-grid__item:hover .bmc-gallery-grid__zoom,
.bmc-gallery-grid__item:focus-visible .bmc-gallery-grid__zoom {
  opacity: 1;
}

@media (max-width: 640px) {
  .bmc-hero { padding-block: 2.5rem 3.5rem; }
  .bmc-gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
}

/* ============================================================
   BACK TO TOP
   ============================================================ */
.pgr-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--pgr-navy);
  color: var(--pgr-white);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--pgr-shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s ease, transform .25s ease, background .2s ease, visibility .25s;
  z-index: 60;
}
.pgr-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.pgr-back-to-top:hover {
  background: var(--pgr-cyan-dark);
  transform: translateY(-2px);
}
.pgr-back-to-top.is-visible:hover { transform: translateY(-2px); }
.pgr-back-to-top:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 3px;
}
.pgr-back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 640px) {
  .pgr-back-to-top {
    right: .875rem;
    bottom: .875rem;
    width: 44px;
    height: 44px;
  }
}

/* ============================================================
   DELIKATNE ANIMACJE — scroll reveal + mikro-interakcje
   ============================================================ */

/* Fade-up dla kart/elementów wchodzących w widok */
.pgr-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s ease, transform .6s ease;
}
.pgr-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Lekkie uniesienie przycisków przy hover */
.btn {
  transition: background var(--pgr-transition), color var(--pgr-transition), border-color var(--pgr-transition), box-shadow var(--pgr-transition), transform var(--pgr-transition);
}
.btn:hover {
  transform: translateY(-1px);
}
.btn:active {
  transform: translateY(0);
}

/* Animacja wejścia treści aktywnego slajdu w sliderze */
@keyframes pgr-hero-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-slide.is-active .hero-slide__content {
  animation: pgr-hero-in .65s ease both;
}

/* ============================================================
   KSIĄŻKI — archiwum
   ============================================================ */
.books-archive { background: var(--pgr-bg-light); }

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.book-card {
  background: var(--pgr-white);
  border-radius: var(--pgr-radius-lg);
  box-shadow: 0 2px 12px rgba(0,0,0,.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow .25s ease, transform .25s ease;
}
.book-card:hover {
  box-shadow: 0 8px 30px rgba(44,111,176,.18);
  transform: translateY(-3px);
}

/* Okładka — przycisk */
.book-card__cover-btn {
  position: relative;
  display: block;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.book-card__cover-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}
.book-card__cover-btn:hover img,
.book-card__cover-btn:focus-visible img {
  transform: scale(1.04);
}
.book-card__cover-placeholder {
  width: 100%;
  height: 100%;
  background: var(--pgr-bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pgr-navy);
}
.book-card__cover-placeholder svg { width: 60%; height: 60%; }

/* Nakładka "Czytaj" */
.book-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(44,111,176,.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity .3s ease;
}
.book-card__cover-btn:hover .book-card__overlay,
.book-card__cover-btn:focus-visible .book-card__overlay {
  opacity: 1;
}
.book-card__open-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .4rem;
  color: #fff;
  font-family: var(--pgr-font-head);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: .04em;
}
.book-card__cover-btn:focus-visible {
  outline: 3px solid var(--pgr-cyan);
  outline-offset: 2px;
}

/* Info pod okładką */
.book-card__info {
  padding: 1.25rem 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex: 1;
}
.book-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--pgr-navy);
  line-height: 1.3;
  margin: 0;
}
.book-card__excerpt {
  font-size: .9rem;
  color: var(--pgr-text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.book-card__btn {
  align-self: flex-start;
  font-size: .85rem;
  padding: .45rem 1rem;
  min-height: 38px;
  gap: .4rem;
}

.books-empty {
  text-align: center;
  color: var(--pgr-text-muted);
  font-size: 1.1rem;
  padding: 3rem 0;
}

/* ============================================================
   KSIĄŻKI — single
   ============================================================ */
.book-single { background: var(--pgr-bg-light); }

.book-single__layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3.5rem;
  align-items: start;
  margin-top: 2rem;
}
.book-single__cover img {
  width: 100%;
  height: auto;
  border-radius: var(--pgr-radius-lg);
  box-shadow: 0 12px 40px rgba(0,0,0,.18);
  display: block;
}
.book-single__info {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.book-single__title {
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  color: var(--pgr-navy);
  line-height: 1.2;
  margin: 0;
}
.book-single__excerpt {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--pgr-text);
  margin: 0;
}
.book-single__read-btn {
  align-self: flex-start;
  gap: .5rem;
}
.book-single__download-btn {
  align-self: flex-start;
  gap: .5rem;
  font-size: .9rem;
  padding: .5rem 1.1rem;
  min-height: 40px;
}
.book-single__back {
  display: inline-flex;
  align-items: center;
  gap: .3rem;
  font-size: .9rem;
  color: var(--pgr-navy);
  text-decoration: none;
  opacity: .65;
  transition: opacity .2s;
}
.book-single__back svg { transform: rotate(90deg); width: 14px; height: 14px; }
.book-single__back:hover { opacity: 1; }

@media (max-width: 860px) {
  .book-single__layout {
    grid-template-columns: 260px 1fr;
    gap: 2rem;
  }
}
@media (max-width: 640px) {
  .book-single__layout {
    grid-template-columns: 1fr;
  }
  .book-single__cover { max-width: 280px; margin: 0 auto; }
  .books-grid { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
}
@media (max-width: 400px) {
  .books-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   MODAL PDF (książki)
   ============================================================ */
.book-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.book-modal[hidden] { display: none; }

.book-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,.75);
  backdrop-filter: blur(3px);
}
.book-modal__panel {
  position: relative;
  z-index: 1;
  background: var(--pgr-navy-dark);
  border-radius: var(--pgr-radius-lg);
  width: min(92vw, 960px);
  height: min(92vh, 860px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(0,0,0,.45);
}
.book-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .875rem 1.25rem;
  background: var(--pgr-navy);
  flex-shrink: 0;
}
.book-modal__title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}
.book-modal__close {
  background: none;
  border: none;
  cursor: pointer;
  color: rgba(255,255,255,.75);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: background .2s, color .2s;
  flex-shrink: 0;
}
.book-modal__close:hover { background: rgba(255,255,255,.12); color: #fff; }
.book-modal__close:focus-visible { outline: 2px solid var(--pgr-cyan); outline-offset: 2px; }

.book-modal__body { flex: 1; overflow: hidden; }
.book-modal__iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: #fff;
}

/* Subtelne podświetlenie linków w treści przy hover (underline grow) */
.entry-content a,
.post-article__body a {
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 0% 1px;
  background-position: 0 100%;
  background-repeat: no-repeat;
  text-decoration: none;
  transition: background-size .25s ease;
}
.entry-content a:hover,
.post-article__body a:hover {
  background-size: 100% 1px;
}

/* ============================================================
   STRONA KONTAKT
   ============================================================ */

/* Hero */
.cp-hero {
  position: relative;
  background: linear-gradient(135deg, var(--pgr-navy) 0%, var(--pgr-navy-light) 100%);
  color: var(--pgr-white);
  padding-block: 4rem 5rem;
  overflow: hidden;
}
.cp-hero .pgr-section__label { color: var(--pgr-cyan-light); }
.cp-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--pgr-white);
  line-height: 1.15;
  margin: .5rem 0 1rem;
}
.cp-hero__desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  max-width: 620px;
  line-height: 1.65;
  margin: 0;
}

/* Mapa */
.cp-map {
  width: 100%;
  height: 400px;
  overflow: hidden;
  display: block;
  line-height: 0;
}
.cp-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Główna siatka danych + formularza */
.cp-main { background: var(--pgr-bg-light); }

.cp-grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 3rem;
  align-items: start;
}

/* Kolumna danych */
.cp-info__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin: 0 0 1.5rem;
}
.cp-info__card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.1rem 1.25rem;
  background: var(--pgr-white);
  border-radius: var(--pgr-radius);
  margin-bottom: .75rem;
  box-shadow: 0 1px 6px rgba(0,0,0,.06);
  transition: box-shadow .2s;
}
.cp-info__card:hover { box-shadow: 0 4px 16px rgba(44,111,176,.12); }

.cp-info__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--pgr-navy);
  color: var(--pgr-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cp-info__icon svg { width: 18px; height: 18px; }

.cp-info__body { flex: 1; min-width: 0; }
.cp-info__label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--pgr-text-muted);
  margin-bottom: .25rem;
}
.cp-info__value {
  font-size: .95rem;
  color: var(--pgr-navy-dark);
  line-height: 1.55;
  word-break: break-word;
}
.cp-info__value a {
  color: var(--pgr-navy);
  text-decoration: none;
  font-weight: 600;
  transition: color .2s;
}
.cp-info__value a:hover { color: var(--pgr-cyan-dark); }

.cp-info__social {
  display: flex;
  gap: .625rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--pgr-border);
}
.cp-info__social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pgr-navy);
  color: var(--pgr-white);
  border-radius: 50%;
  transition: background .2s, transform .2s;
}
.cp-info__social a:hover { background: var(--pgr-cyan); transform: translateY(-2px); }
.cp-info__social a svg { width: 18px; height: 18px; }

/* Karta formularza */
.cp-form-card {
  background: var(--pgr-white);
  border-radius: var(--pgr-radius-lg);
  box-shadow: 0 4px 24px rgba(0,0,0,.08);
  padding: 2.5rem 2rem;
}
.cp-form-card__heading {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--pgr-navy);
  margin: 0 0 1.75rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--pgr-cyan);
  display: inline-block;
}

/* Wiersz 2 kolumn */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Stopka formularza */
.cp-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.cp-form-footer__note {
  font-size: .8rem;
  color: var(--pgr-text-muted);
  margin: 0;
}
.cp-submit {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .65rem 1.6rem;
  font-size: .95rem;
  min-height: 44px;
  flex-shrink: 0;
}

/* Status komunikat */
#pgr-form-status:not(:empty) {
  padding: .75rem 1rem;
  border-radius: var(--pgr-radius);
  font-size: .9rem;
  margin-bottom: 1.25rem;
}
.form-status--ok  { background: #ecfdf5; color: #065f46; border: 1px solid #6ee7b7; }
.form-status--err { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

/* Responsywność */
@media (max-width: 960px) {
  .cp-grid { grid-template-columns: 1fr; }
  .cp-map  { height: 320px; }
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
  .cp-form-card { padding: 1.5rem 1.25rem; }
  .cp-form-footer { flex-direction: column; align-items: flex-start; }
  .cp-submit { width: 100%; justify-content: center; }
  .cp-map  { height: 260px; }
}

/* Nadpisania formularza na jasnym tle (strona kontakt, cp-form-card) */
.cp-form-card .form-group label {
  color: var(--pgr-navy-dark);
}
.cp-form-card .form-control {
  background: var(--pgr-off-white);
  border-color: var(--pgr-gray-300);
  color: var(--pgr-gray-900);
}
.cp-form-card .form-control::placeholder {
  color: var(--pgr-gray-600);
}
.cp-form-card .form-control:focus {
  background: var(--pgr-white);
  border-color: var(--pgr-cyan);
  box-shadow: 0 0 0 3px rgba(64,173,208,.2);
}
.cp-form-card .req {
  color: var(--pgr-cyan-dark);
}

/* Respektuj prefers-reduced-motion — wyłącz wszystkie animacje dekoracyjne */
@media (prefers-reduced-motion: reduce) {
  .pgr-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .pgr-back-to-top,
  .btn {
    transition: none !important;
  }
  .hero-slide.is-active .hero-slide__content {
    animation: none !important;
  }
}
