/* ==========================================================================
   Strony „O nas", „Historia" - spójne z Władzami (navy, biel, żółty akcent)
   ========================================================================== */

.about-page {
  background: #fff;
  --about-gap: clamp(1.35rem, 2.4vw, 2rem);
  --about-gap-sm: clamp(0.85rem, 1.5vw, 1.15rem);
  --about-text-gap: 0.85rem;
  --about-block-gap: clamp(0.85rem, 1.4vw, 1.1rem);
  --about-title-gap: 0.75rem;
}

/* ===== Nagłówki sekcji ===== */
.about-section-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--kpks-navy, #031047);
  margin: 0 0 var(--about-title-gap);
}

.about-section-title::after {
  display: none;
}

.about-section-title.text-center {
  text-align: center;
}

/* ===== Statystyki ===== */
.about-stats {
  margin-top: 0;
  position: relative;
  z-index: 1;
  padding: 0 0 clamp(0.65rem, 1.2vw, 0.95rem);
  background: #fff;
}

.about-stats-showcase {
  border-radius: 22px;
  box-shadow: 0 10px 30px rgba(3, 16, 71, 0.12);
}

.about-stats-showcase,
.about-achievements-showcase,
.history-cta-showcase,
.about-section-card--split .about-section-card-head {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.about-stats-showcase::before,
.about-achievements-showcase::before,
.history-cta-showcase::before,
.about-section-card--split .about-section-card-head::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: var(--kpks-navy, #031047);
  background-image: url("../images/sections-showcase-bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-stats-showcase-fx,
.about-achievements-showcase-fx,
.history-cta-showcase-fx,
.about-section-card-head-fx {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.about-stats-showcase-lines,
.about-achievements-showcase-lines,
.history-cta-showcase-lines,
.about-section-card-head-lines {
  position: absolute;
  inset: -20% -15%;
  background-image: url("../images/sections-showcase-lines.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform-origin: 58% 40%;
  will-change: transform, opacity;
}

.about-stats-showcase-lines--outer,
.about-achievements-showcase-lines--outer,
.history-cta-showcase-lines--outer,
.about-section-card-head-lines--outer {
  animation: kpksLinesBreatheOut 8s ease-in-out infinite;
}

.about-stats-showcase-lines--inner,
.about-achievements-showcase-lines--inner,
.history-cta-showcase-lines--inner,
.about-section-card-head-lines--inner {
  mix-blend-mode: screen;
  animation: kpksLinesBreatheIn 8s ease-in-out infinite;
}

.about-stats-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: clamp(1.35rem, 3cqw, 1.85rem) clamp(1rem, 2.5cqw, 1.5rem);
}

.about-stats-showcase .about-stat {
  position: relative;
  padding: 0.2rem clamp(0.65rem, 1.5vw, 1.1rem);
}

.about-stats-showcase .about-stat:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18%;
  right: 0;
  width: 1px;
  height: 64%;
  background: rgba(255, 255, 255, 0.22);
  pointer-events: none;
}

.about-page .about-stats .container {
  container-type: inline-size;
  container-name: kpks-stats;
}

.about-stat {
  text-align: center;
}

.about-stat-num {
  display: block;
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(1.5rem, 4cqw, 2.1rem);
  color: #fff;
  line-height: 1;
}

.about-stat-label {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* ===== Treść tekstowa ===== */
.about-page .about-prose p {
  font-size: clamp(0.95rem, 1.05vw, 1rem);
  line-height: 1.7;
  color: rgba(3, 16, 71, 0.82);
  margin: 0 0 var(--about-text-gap);
}

.about-prose p {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(3, 16, 71, 0.82);
  margin: 0 0 1rem;
}

.about-prose p:last-child {
  margin-bottom: 0;
}

.about-page .about-prose p:last-child {
  margin-bottom: 0;
}

.about-prose--compact p {
  font-size: 0.95rem;
  margin-bottom: 0.85rem;
}

.about-page .about-prose--compact p {
  margin-bottom: var(--about-text-gap);
}

.about-intro {
  padding: 0;
}

.about-page .about-section-title {
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 var(--about-title-gap);
}

/* ===== Mistrzowskie DNA ===== */
.about-dna {
  padding: 0;
}

.about-dna .container {
  display: flex;
  flex-direction: column;
  gap: var(--about-block-gap);
}

.about-dna-lead {
  margin: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: var(--about-text-gap);
}

.about-dna-head {
  margin: 0;
  width: 100%;
}

.about-dna-head .about-section-title {
  margin: 0;
}

.about-dna-gallery-wrap {
  width: 100%;
  min-width: 0;
  margin: 0;
  padding-top: clamp(0.15rem, 0.4vw, 0.35rem);
}

.about-dna-gallery {
  display: grid;
  grid-template-columns: repeat(var(--about-gallery-cols, 4), minmax(0, 1fr));
  gap: clamp(0.35rem, 0.7vw, 0.55rem);
  width: 100%;
}

.about-dna-gallery-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  background: #eef1f5;
  cursor: zoom-in;
  aspect-ratio: 4 / 3;
  box-shadow: 0 4px 14px rgba(3, 16, 71, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.about-dna-gallery-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(3, 16, 71, 0.12);
}

.about-dna-gallery-item:focus-visible {
  outline: 2px solid var(--kpks-primary, #008bd2);
  outline-offset: 2px;
}

.about-dna-gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Lightbox galerii sukcesów */
.about-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 2rem);
}

.about-gallery-lightbox[hidden] {
  display: none;
}

.about-gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(243, 246, 251, 0.42);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  cursor: pointer;
}

.about-gallery-lightbox-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1100px);
  max-height: calc(100vh - 2rem);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: clamp(0.5rem, 2vw, 1rem);
}

.about-gallery-lightbox-figure {
  margin: 0;
  min-width: 0;
  text-align: center;
}

.about-gallery-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(3, 16, 71, 0.22);
}

.about-gallery-lightbox-caption {
  margin: 0.65rem auto 0;
  width: 100%;
  max-width: none;
  color: rgba(3, 16, 71, 0.78);
  font-size: 0.88rem;
  line-height: 1.5;
}

.about-gallery-lightbox-close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(3, 16, 71, 0.82);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-gallery-lightbox-close:hover {
  background: var(--kpks-navy, #031047);
}

.about-gallery-lightbox-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(3, 16, 71, 0.82);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.about-gallery-lightbox-nav:hover {
  background: var(--kpks-navy, #031047);
}

body.about-gallery-lightbox-open {
  overflow: hidden;
}

body.about-gallery-lightbox-open .site-header,
body.about-gallery-lightbox-open .top-bar,
body.about-gallery-lightbox-open .btn-back-to-top,
body.about-gallery-lightbox-open .kpks-mega-panel {
  z-index: 1 !important;
}

/* ===== Nasze osiągnięcia - osobna sekcja ===== */
.about-achievements {
  padding: 0;
}

.about-achievements .container {
  display: flex;
  flex-direction: column;
  gap: var(--about-block-gap);
}

.about-achievements .about-achievements-showcase-inner {
  display: flex;
  flex-direction: column;
  gap: var(--about-gap-sm);
}

.about-achievements-head-label {
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1;
  white-space: nowrap;
}

.about-achievements-showcase {
  border-radius: 22px;
  padding: clamp(0.9rem, 1.6vw, 1.2rem);
  box-shadow: 0 10px 30px rgba(3, 16, 71, 0.12);
}

.about-achievements-showcase-inner {
  position: relative;
  z-index: 1;
}

.about-achievements-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  padding-top: 0.15rem;
}

.about-achievements-aside-label {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: "Oswald", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--kpks-secondary, #ffd000);
  line-height: 1;
}

.about-achievements-aside-line {
  display: block;
  width: 2px;
  height: 2.5rem;
  border-radius: 2px;
  background: var(--kpks-secondary, #ffd000);
}

.about-achievements-showcase .about-achievements-grid {
  position: relative;
  z-index: 1;
  gap: clamp(0.45rem, 0.9vw, 0.6rem);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(0.6rem, 1.2vw, 0.85rem);
  margin: 0;
}

.about-achievement-tile {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: clamp(0.75rem, 1.2vw, 0.9rem);
  border-radius: 14px;
  background: #eef1f5;
  border: 1px solid rgba(3, 16, 71, 0.07);
  box-shadow: none;
}

.about-achievements-showcase .about-achievement-tile {
  background: #fff;
  border: 0;
}

.about-achievement-body {
  min-width: 0;
}

.about-achievement-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(3, 16, 71, 0.08);
  color: var(--kpks-navy, #031047);
  font-size: 0.82rem;
  flex-shrink: 0;
  margin: 0;
}

.about-achievements-showcase .about-achievement-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(3, 16, 71, 0.08);
  color: var(--kpks-primary, #008bd2);
  font-size: 0.85rem;
}

.about-achievement-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 0.84rem;
  line-height: 1.2;
  color: var(--kpks-navy, #031047);
  margin: 0 0 0.2rem;
}

.about-achievements-showcase .about-achievement-title {
  font-size: 0.8rem;
  color: var(--kpks-navy, #031047);
}

.about-achievement-text {
  margin: 0;
  font-size: 0.74rem;
  line-height: 1.4;
  color: var(--kpks-gray, #6c757d);
}

.about-achievements-showcase .about-achievement-text {
  font-size: 0.7rem;
  color: rgba(3, 16, 71, 0.68);
}

.about-dna-footer {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: clamp(0.92rem, 1vw, 0.98rem);
  line-height: 1.65;
  color: rgba(3, 16, 71, 0.72);
  font-style: italic;
}

/* ===== Misja ===== */
.about-mission {
  padding: 0;
}

.about-mission-inner {
  display: flex;
  flex-direction: column;
  gap: var(--about-block-gap);
}

.about-mission-inner .about-section-title {
  margin: 0;
}

/* ===== Sekcje klubu ===== */
.about-sections {
  padding: 0;
}

.about-sections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(0.85rem, 2vw, 1.25rem);
  margin: 0;
}

.about-section-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(1.35rem, 2.5vw, 1.75rem);
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(3, 16, 71, 0.08);
  box-shadow: 0 6px 20px rgba(3, 16, 71, 0.06);
}

.about-section-card.about-section-card--split {
  padding: 0;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(3, 16, 71, 0.08);
  box-shadow: 0 10px 30px rgba(3, 16, 71, 0.08);
}

.about-section-card--split .about-section-card-head {
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border-bottom: 0;
  border-radius: 22px 22px 0 0;
}

.about-section-card-head-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: clamp(1.15rem, 2vw, 1.35rem) clamp(1.25rem, 2vw, 1.5rem);
}

.about-section-card--split .about-section-card-head h3 {
  color: #fff;
}

.about-section-card--split .about-section-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: #fff;
  color: var(--kpks-navy, #031047);
  box-shadow: 0 1px 0 rgba(3, 16, 71, 0.06);
}

.about-section-card--split .about-section-card-icon img {
  filter: none;
  opacity: 1;
  width: 32px;
  height: 32px;
}

.about-section-card-body {
  padding: clamp(1.15rem, 2vw, 1.35rem) clamp(1.25rem, 2vw, 1.5rem);
}

.about-section-card-head {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 0.75rem;
}

.about-section-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 0.9rem;
  color: var(--kpks-navy, #031047);
  background: rgba(3, 16, 71, 0.06);
  flex-shrink: 0;
}

.about-section-card-icon img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.about-section-card-head h3 {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0;
  color: var(--kpks-navy, #031047);
}

.about-section-card p {
  color: rgba(3, 16, 71, 0.78);
  line-height: 1.65;
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.about-section-card .about-prose {
  margin-bottom: 1rem;
}

.about-section-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--kpks-navy, #031047);
  text-decoration: none;
  transition: color 0.2s ease, gap 0.2s ease;
}

.about-section-link:hover {
  gap: 0.65rem;
  color: var(--kpks-primary, #008bd2);
}

.about-section-link--btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.15rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  border: 2px solid var(--kpks-secondary, #ffd000);
  background: var(--kpks-secondary, #ffd000);
  color: var(--kpks-navy, #031047);
  box-shadow: 0 8px 20px rgba(255, 208, 0, 0.28);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.about-section-link--btn:hover {
  gap: 0.65rem;
  background: var(--kpks-primary, #008bd2);
  border-color: var(--kpks-primary, #008bd2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 139, 210, 0.35);
}

/* ===== CTA ===== */
.about-cta {
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  background: var(--kpks-light, #f8f9fa);
  color: var(--kpks-navy, #031047);
}

.about-cta .container {
  background: #fff;
  border: 1px solid rgba(3, 16, 71, 0.08);
  border-radius: 22px;
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(3, 16, 71, 0.08);
}

.about-cta-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 0.6rem;
  color: var(--kpks-navy, #031047);
}

.about-cta-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--kpks-gray, #6c757d);
  margin-bottom: 1.25rem;
}

.about-cta-buttons {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 10px;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 0.78rem;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.about-btn-primary {
  background: var(--kpks-secondary, #ffd000);
  color: var(--kpks-navy, #031047);
  border: 2px solid var(--kpks-secondary, #ffd000);
  box-shadow: 0 8px 20px rgba(255, 208, 0, 0.28);
}

.about-btn-primary:hover {
  background: var(--kpks-primary, #008bd2);
  border-color: var(--kpks-primary, #008bd2);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 139, 210, 0.35);
}

.about-btn-outline {
  background: #fff;
  color: var(--kpks-navy, #031047);
  border: 2px solid rgba(3, 16, 71, 0.15);
}

.about-btn-outline:hover {
  background: var(--kpks-navy, #031047);
  border-color: var(--kpks-navy, #031047);
  color: #fff;
  transform: translateY(-2px);
}

.about-btn-outline--light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}

.about-btn-outline--light:hover {
  background: #fff;
  border-color: #fff;
  color: var(--kpks-navy, #031047);
}

/* ==========================================================================
   Historia - oś czasu
   ========================================================================== */
.history-page .inner-page-content {
  display: flex;
  flex-direction: column;
  gap: clamp(1.35rem, 2.4vw, 2rem);
  padding: clamp(1.25rem, 2vw, 1.75rem) 0 clamp(2rem, 3.5vw, 2.75rem);
}

.history-timeline-section {
  padding: 0;
}

.history-timeline-head {
  margin-bottom: clamp(1.1rem, 2vw, 1.5rem);
}

.history-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: none;
  position: relative;
}

.history-timeline::before {
  content: "";
  position: absolute;
  left: 17px;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: linear-gradient(
    180deg,
    rgba(0, 139, 210, 0.35) 0%,
    rgba(3, 16, 71, 0.14) 45%,
    rgba(255, 208, 0, 0.45) 100%
  );
  border-radius: 2px;
}

.history-item {
  position: relative;
  display: flex;
  gap: clamp(0.85rem, 2vw, 1.25rem);
  padding-bottom: clamp(1.15rem, 2.2vw, 1.65rem);
}

.history-item:last-child {
  padding-bottom: 0;
}

.history-marker {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  margin-top: 0.15rem;
  border-radius: 10px;
  background: #fff;
  border: 2px solid rgba(3, 16, 71, 0.1);
  color: var(--kpks-navy, #031047);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(3, 16, 71, 0.08);
}

.history-item--first .history-marker {
  background: var(--kpks-primary, #008bd2);
  border-color: var(--kpks-primary, #008bd2);
  color: #fff;
}

.history-item--last .history-marker {
  background: var(--kpks-secondary, #ffd000);
  border-color: var(--kpks-secondary, #ffd000);
  color: var(--kpks-navy, #031047);
}

.history-content {
  background: #fff;
  border-radius: 16px;
  padding: clamp(1.1rem, 2.2vw, 1.45rem) clamp(1.15rem, 2.4vw, 1.65rem);
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(3, 16, 71, 0.08);
  box-shadow: 0 6px 20px rgba(3, 16, 71, 0.06);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.history-item:hover .history-content {
  transform: translateY(-1px);
  border-color: rgba(3, 16, 71, 0.12);
  box-shadow: 0 10px 28px rgba(3, 16, 71, 0.09);
}

.history-date {
  display: inline-block;
  font-family: "Oswald", sans-serif;
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--kpks-primary, #008bd2);
  margin-bottom: 0.4rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(0, 139, 210, 0.08);
}

.history-item--last .history-date {
  color: var(--kpks-navy, #031047);
  background: rgba(255, 208, 0, 0.22);
}

.history-title {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--kpks-navy, #031047);
  margin: 0 0 0.5rem;
}

.history-text {
  color: rgba(3, 16, 71, 0.78);
  line-height: 1.65;
  margin: 0;
  font-size: 0.95rem;
}

.history-cta {
  margin: 0;
  padding: 0;
}

.history-cta-showcase {
  border-radius: 22px;
  padding: clamp(1.75rem, 3.5vw, 2.5rem) clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 10px 30px rgba(3, 16, 71, 0.12);
  text-align: center;
}

.history-cta-inner {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin: 0 auto;
}

.history-cta-showcase .about-cta-title {
  color: #fff;
  font-size: clamp(1.25rem, 2.2vw, 1.45rem);
  margin-bottom: 0.65rem;
}

.history-cta-showcase .about-cta-text {
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 1.35rem;
}

@media (prefers-reduced-motion: reduce) {
  .about-dna-gallery-item,
  .history-item:hover .history-content {
    transition: none;
    transform: none;
  }

  .about-gallery-lightbox-backdrop {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(243, 246, 251, 0.88);
  }
}

/* ==========================================================================
   Responsywność
   ========================================================================== */
@media (max-width: 991px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-stats-showcase .about-stat:not(:last-child)::after {
    display: none;
  }

  .about-stats-showcase .about-stat {
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    border-right: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.65rem clamp(0.75rem, 2vw, 1rem);
  }

  .about-stats-showcase .about-stat:nth-child(2n) {
    border-right: none;
  }

  .about-achievements-grid,
  .about-achievements-showcase .about-achievements-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-sections-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 576px) and (max-width: 991px) {
  .about-stats-showcase .about-stat:nth-last-child(-n + 2) {
    border-bottom: none;
  }
}

@media (max-width: 575px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    padding: 1.15rem;
    gap: 0;
  }

  .about-stats-showcase .about-stat {
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    padding: 0.7rem 0;
  }

  .about-stats-showcase .about-stat:last-child {
    border-bottom: none;
  }

  .about-achievements-grid,
  .about-achievements-showcase .about-achievements-grid {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }

  .about-achievements-showcase {
    padding: 0.85rem;
    border-radius: 18px;
  }

  .about-achievements-showcase .about-achievement-tile {
    padding: 0.7rem 0.75rem;
    gap: 0.6rem;
    min-width: 0;
  }

  .about-achievements-showcase .about-achievement-body {
    overflow-wrap: anywhere;
  }

  .about-achievements-showcase .about-achievement-title {
    font-size: 0.84rem;
  }

  .about-achievements-showcase .about-achievement-text {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .about-achievements-head-label {
    white-space: normal;
  }

  .about-stat-num {
    font-size: 1.5rem;
  }

  .about-dna-gallery {
    gap: 0.3rem;
  }

  .about-dna-gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
  }

  .about-section-title,
  .about-cta-title {
    font-size: 1.3rem;
  }

  .history-timeline::before {
    left: 16px;
  }

  .history-marker {
    width: 34px;
    height: 34px;
  }

  .history-content {
    padding: 1.15rem;
  }

  .about-cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .about-btn {
    justify-content: center;
    width: 100%;
  }
}
