@charset "UTF-8";
/* ============================================================
   style2.css – KPCNT Projekt 2
   Styl: editorial / adventure club inspired
   Białe przestrzenie, zdjęcia w kształtach clip-path V/arrow,
   bold typografia, minimalne użycie koloru
   ============================================================ */
:root {
  --red: #d63931;
  --red-dk: #7a0000;
  --red-mid: #aa221b;
  --black: #000000;
  --white: #ffffff;
  --gray: #ededed;
  --gray-dk: #cccccc;
  --font: "Montserrat", sans-serif;
  --tr: 0.22s ease;
  --tr-slow: 0.42s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html.font-sm {
  font-size: 14px;
}

html.font-lg {
  font-size: 18px;
}

html.font-xl {
  font-size: 20px;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
  line-height: 1.65;
}

body.high-contrast,
body.high-contrast *:not(img):not(svg):not(path):not(use) {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}

body.high-contrast img {
  filter: grayscale(1) contrast(1.2) !important;
}

body.high-contrast svg {
  fill: #fff !important;
}

body.high-contrast a {
  color: #ff0 !important;
  text-decoration: underline !important;
}

body.high-contrast button,
body.high-contrast .btn,
body.high-contrast [class*=-btn],
body.high-contrast [class*=btn-] {
  outline: 1px solid #fff !important;
}

/* Zatrzymanie animacji */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
  animation-duration: 0s !important;
  animation-delay: 0s !important;
  transition-duration: 0s !important;
  transition-delay: 0s !important;
}

body.no-animations [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

/* Podkreślenie linków */
body.underline-links a {
  text-decoration: underline !important;
}

/* Aktywny stan przycisku WCAG */
.wcag-tool-btn[aria-pressed=true] {
  background: var(--red) !important;
}

/* Tooltips WCAG */
.wcag-tool-btn[data-tooltip],
.wcag-toggle[data-tooltip] {
  position: relative;
}

.wcag-tool-btn[data-tooltip]::before,
.wcag-toggle[data-tooltip]::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 500;
  white-space: nowrap;
  padding: 5px 10px;
  border-radius: 4px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 9999;
}

.wcag-tool-btn[data-tooltip]::after,
.wcag-toggle[data-tooltip]::after {
  content: "";
  position: absolute;
  right: calc(100% + 2px);
  top: 50%;
  transform: translateY(-50%);
  border: 4px solid transparent;
  border-left-color: #111;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.15s ease;
  z-index: 9999;
}

.wcag-tool-btn[data-tooltip]:hover::before,
.wcag-tool-btn[data-tooltip]:focus-visible::before,
.wcag-toggle[data-tooltip]:hover::before,
.wcag-toggle[data-tooltip]:focus-visible::before {
  opacity: 1;
}

.wcag-tool-btn[data-tooltip]:hover::after,
.wcag-tool-btn[data-tooltip]:focus-visible::after,
.wcag-toggle[data-tooltip]:hover::after,
.wcag-toggle[data-tooltip]:focus-visible::after {
  opacity: 1;
}

/* ---- WCAG PANEL ------------------------------------------ */
.wcag-panel {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 9000;
  display: flex;
  flex-direction: column;
}

.wcag-toggle {
  width: 42px;
  height: 42px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-left: 3px solid var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--tr);
}

.wcag-toggle:hover {
  background: var(--red);
}

.wcag-toggle:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.wcag-tools {
  background: var(--black);
  border-left: 3px solid var(--red);
}

.wcag-tools[hidden] {
  display: none;
}

.wcag-tool-btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-family: var(--font);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tr);
}

.wcag-tool-btn:hover {
  background: var(--red);
}

.wcag-tool-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}

.aaa-sm {
  font-size: 0.62rem;
  font-weight: 700;
}

.aaa-md {
  font-size: 0.76rem;
  font-weight: 700;
}

.aaa-lg {
  font-size: 0.9rem;
  font-weight: 700;
}

/* ---- HEADER ---------------------------------------------- */
.s2-header {
  background: var(--white);
  border-bottom: 2px solid var(--black);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: box-shadow var(--tr);
}

.s2-header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

.s2-header-inner {
  display: flex;
  align-items: center;
  height: 100px;
  padding: 0;
}

/* Logo – white, fixed width */
.s2-logo-block {
  background: var(--white);
  width: 220px;
  height: 100%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--gray);
  text-decoration: none;
}

.s2-logo-img {
  height: 90px;
  width: auto;
  display: block;
}

/* Nav – white bg, black text, centered */
.s2-nav-wrap {
  flex: 1;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
}

.s2-nav-list {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.s2-nav-link {
  display: block;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #595959;
  text-decoration: none;
  position: relative;
  transition: color var(--tr);
  white-space: nowrap;
}

.s2-nav-link::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--tr);
}

.s2-nav-link:hover, .s2-nav-link.active {
  color: var(--black);
}

.s2-nav-link:hover::after, .s2-nav-link.active::after {
  transform: scaleX(1);
}

.s2-nav-link--cta {
  background: var(--red);
  color: var(--white) !important;
  margin-left: 12px;
  padding: 8px 20px !important;
}

.s2-nav-link--cta::after {
  display: none;
}

.s2-nav-link--cta:hover {
  background: var(--red-dk) !important;
}

/* Search – white, same width as logo, NOT full header height */
.s2-search-block {
  width: 220px;
  height: 100%;
  flex-shrink: 0;
  border-left: 1px solid var(--gray);
  display: flex;
  align-items: center;
  background: var(--white);
  padding: 0 12px;
  gap: 0;
}

.s2-search-input {
  border: 1px solid #767676;
  outline: none;
  padding: 0 10px;
  font-family: var(--font);
  font-size: 0.82rem;
  color: var(--black);
  flex: 1;
  background: var(--white);
  height: 36px; /* stała, nie rozciągnięta */
}

.s2-search-input:focus {
  border-color: var(--black);
}

.s2-search-input::placeholder {
  color: #595959;
}

.s2-search-btn {
  width: 36px;
  height: 36px;
  background: var(--black);
  border: none;
  color: var(--white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--tr);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.s2-search-btn:hover {
  background: var(--red);
}

/* Mobile toggle */
.s2-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  flex-direction: column;
  gap: 5px;
  padding: 0 20px;
  cursor: pointer;
  align-self: center;
}

.s2-nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--black);
}

.s2-nav-toggle:focus-visible {
  outline: 2px solid var(--red);
}

/* ============================================================
   HERO – editorial layout
   Zdjęcie wpuszczone w kształt V (clip-path arrow down)
   ============================================================ */
.s2-hero {
  background: var(--white);
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}

/* Left: text column */
.s2-hero-text {
  padding: 120px 56px 180px 64px; /* top 120 = 48px bar + 72px spacing; bottom zwiększony żeby przesunąć tekst ku górze */
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.s2-hero-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.s2-hero-eyebrow::before {
  content: "";
  display: block;
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.s2-hero-title {
  font-family: var(--font);
  font-size: clamp(2.16rem, 3.6vw, 3.96rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 28px;
}

.s2-hero-title em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.s2-hero-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.75;
  max-width: 400px;
  margin-bottom: 36px;
}

.s2-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  width: fit-content;
  border-bottom: 3px solid var(--red);
  transition: background var(--tr), transform var(--tr);
}

.s2-hero-cta:hover {
  background: var(--red);
  color: var(--white);
  transform: translateX(4px);
}

.s2-hero-cta:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* Slide counter */
.s2-slide-counter {
  position: absolute;
  bottom: 40px;
  left: 64px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: #767676;
  text-transform: uppercase;
}

.s2-slide-counter strong {
  color: var(--black);
  font-size: 1.1rem;
}

/* Right: image in V-shape */
.s2-hero-img-col {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}

/* The image cut into arrow/V shape – like reference */
.s2-hero-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  overflow: hidden;
}

.s2-hero-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.swiper-slide-active .s2-hero-img-shape img {
  transform: scale(1.05);
}

/* White area below V */
.s2-hero-img-white {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: var(--white);
}

/* Tag on image */
.s2-hero-img-tag {
  position: absolute;
  top: 28px;
  left: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-right: 3px solid var(--red-dk);
  z-index: 3;
}

/* Swiper for hero */
.s2-hero-swiper {
  width: 100%;
  height: 100%;
}

.s2-hero-slide {
  height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Controls – TOP, full width, above slider content */
.s2-hero-controls {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 48px;
  background: var(--black);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  padding: 0 64px;
  gap: 14px;
  z-index: 10;
}

.s2-pause-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.6);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: background var(--tr);
  flex-shrink: 0;
}

.s2-pause-btn:hover {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.s2-pause-btn:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.s2-hero-pag {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  position: static !important;
}

.s2-hero-pag .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 0;
  opacity: 1;
  transition: var(--tr);
  margin: 0 !important;
}

.s2-hero-pag .swiper-pagination-bullet-active {
  background: var(--red);
  width: 24px;
}

.s2-hero-nav {
  display: flex;
  gap: 0;
  flex-shrink: 0;
}

.s2-hero-prev, .s2-hero-next {
  position: static !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.08) !important;
  color: rgba(255, 255, 255, 0.6) !important;
  margin: 0 !important;
  transform: none !important;
  transition: background var(--tr) !important;
}

.s2-hero-prev:hover, .s2-hero-next:hover {
  background: var(--red) !important;
  color: var(--white) !important;
}

.s2-hero-prev::after, .s2-hero-next::after {
  font-size: 12px !important;
  font-weight: 900;
}

/* ---- STATS STRIP ----------------------------------------- */
.s2-stats {
  display: none !important;
}

.s2-stats--base {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--red);
  border-bottom: 1px solid var(--black);
}

.s2-stat {
  padding: 28px 32px;
  border-right: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.s2-stat:last-child {
  border-right: none;
}

/* Red top accent per cell */
.s2-stat::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--red-dk);
}

.s2-stat-num {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--black);
  line-height: 1;
}

.s2-stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--red);
}

.s2-stat-lbl {
  font-size: 0.7rem;
  color: #747474;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* ---- ABOUT SECTION – image in arrow shape ---------------- */
.s2-about {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  min-height: 600px;
  overflow: hidden;
}

/* Image in V-shape pointing right */
.s2-about-img-col {
  position: relative;
  background: var(--gray);
  overflow: hidden;
}

.s2-about-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  overflow: hidden;
}

.s2-about-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: transform var(--tr-slow), filter var(--tr-slow);
}

.s2-about-img-col:hover .s2-about-img-shape img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Year badge */
.s2-about-badge {
  position: absolute;
  top: 40px;
  right: -2px;
  z-index: 4;
  background: var(--red);
  color: var(--white);
  padding: 16px 22px 16px 18px;
  border-left: 4px solid var(--red-dk);
  display: flex;
  align-items: center;
  gap: 10px;
}

.s2-about-badge-num {
  font-family: var(--font);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.04em;
}

.s2-about-badge-txt {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  line-height: 1.3;
}

/* Text column */
.s2-about-text {
  padding: 80px 64px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.s2-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.s2-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.s2-section-title {
  font-family: var(--font);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 24px;
}

.s2-about-lead {
  font-size: 1rem;
  font-weight: 600;
  color: var(--black);
  border-left: 4px solid var(--red);
  padding-left: 16px;
  margin-bottom: 16px;
}

.s2-about-body {
  font-size: 0.88rem;
  color: #444;
  line-height: 1.8;
  margin-bottom: 24px;
}

.s2-checklist {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
  margin-bottom: 8px;
}

.s2-checklist li {
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s2-checklist li::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--red);
  transform: rotate(45deg);
  flex-shrink: 0;
}

/* Primary button */
.s2-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-bottom: 3px solid var(--red);
  transition: background var(--tr), transform var(--tr);
  cursor: pointer;
  border-top: none;
  border-left: none;
  border-right: none;
}

.s2-btn:hover {
  background: var(--red);
  color: var(--white);
  transform: translateX(4px);
}

.s2-btn:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

.s2-btn--outline {
  background: transparent;
  color: var(--black);
  box-shadow: inset 0 -3px 0 var(--red), inset 0 0 0 1px var(--black);
  border: none;
}

.s2-btn--outline:hover {
  background: var(--black);
  color: var(--white);
}

/* ---- NEWS SECTION ---------------------------------------- */
.s2-news {
  padding: 96px 0;
  background: var(--white);
}

.s2-news-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 52px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--black);
}

.s2-more-link {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid transparent;
  transition: gap var(--tr), border-color var(--tr);
}

.s2-more-link:hover {
  gap: 12px;
  border-color: var(--red);
}

.s2-more-link:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
}

/* Card */
.s2-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  border: 1px solid var(--black);
  overflow: hidden;
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.s2-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 4px 4px 0 var(--red);
}

/* Image wrapper – kwadrat */
.s2-nc-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  flex-shrink: 0;
}

/* Zdjęcie – zwykłe kwadratowe, bez ucięć */
.s2-nc-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.s2-news-card:hover .s2-nc-photo {
  transform: scale(1.04);
}

/* SVG overlay – pokrywa całe zdjęcie */
.s2-nc-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}

/* Kategoria tag */
.s2-news-card-cat {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
}

/* Card body */
.s2-news-card-body {
  padding: 20px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s2-news-card-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: #767676;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.s2-news-card-title {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 8px;
  flex: 1;
}

.s2-news-card-title a {
  color: var(--black);
  text-decoration: none;
  transition: color var(--tr);
}

.s2-news-card-title a:hover {
  color: var(--red);
}

.s2-news-card-excerpt {
  font-size: 0.82rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 14px;
}

.s2-news-card-more {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  border-bottom: 1px solid transparent;
  transition: gap var(--tr), border-color var(--tr);
  width: fit-content;
}

.s2-news-card-more:hover {
  gap: 10px;
  border-color: var(--red);
}

/* ---- CTA BAND -------------------------------------------- */
.s2-cta {
  background: var(--black);
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
}

/* Left: text */
.s2-cta-text {
  padding: 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.s2-cta-title {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 16px;
}

.s2-cta-desc {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 28px;
}

.s2-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 15px 30px;
  width: fit-content;
  border-bottom: 3px solid var(--red-dk);
  transition: background var(--tr), transform var(--tr);
}

.s2-cta-btn:hover {
  background: var(--red-dk);
  transform: translateX(4px);
}

/* Right: image in arrow shape */
.s2-cta-img {
  position: relative;
  overflow: hidden;
  background: #222;
}

.s2-cta-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(12% 0, 100% 0, 100% 100%, 12% 100%, 0 50%);
  overflow: hidden;
}

.s2-cta-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
  transition: opacity var(--tr-slow), transform var(--tr-slow);
}

.s2-cta:hover .s2-cta-img-shape img {
  opacity: 0.65;
  transform: scale(1.04);
}

/* ---- FOOTER ---------------------------------------------- */
.s2-footer {
  background: var(--black);
}

/* EU project bar */
.s2-eu-bar {
  background: #f4f6fb;
  border-top: 3px solid #003399;
  border-bottom: 1px solid #dde3f0;
  padding: 24px 0;
}

.s2-eu-bar-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.s2-eu-text {
  font-family: var(--font);
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
  margin: 0;
  max-width: 860px;
}

.s2-eu-logo {
  height: 91px;
  width: auto;
  display: block;
}

/* Top: thick red + white line */
.s2-footer-bar {
  height: 6px;
  background: linear-gradient(90deg, var(--red-dk) 0%, var(--red) 40%, var(--white) 40%, var(--white) 100%);
}

.s2-footer-main {
  padding: 64px 0 48px;
}

.s2-footer-logos {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.s2-footer-logo {
  height: 108px;
  width: auto;
  display: block;
}

.s2-footer-bip {
  height: 48px;
  width: auto;
  display: block;
}

.s2-footer-desc {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.8;
  max-width: 340px;
  margin-top: 20px;
}

.s2-footer-socials {
  display: flex;
  gap: 2px;
  margin-top: 20px;
}

.s2-social {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--tr), color var(--tr), border-color var(--tr);
}

.s2-social:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.s2-social:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.s2-footer-heading {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s2-footer-heading::before {
  content: "";
  width: 16px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.s2-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s2-footer-links a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color var(--tr), padding-left var(--tr);
  display: block;
}

.s2-footer-links a:hover {
  color: var(--white);
  padding-left: 8px;
}

.s2-footer-links a:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.s2-footer-contact {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.s2-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.s2-footer-contact-row i {
  color: var(--red);
  margin-top: 3px;
  flex-shrink: 0;
}

.s2-footer-contact-row span, .s2-footer-contact-row a {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  line-height: 1.5;
}

.s2-footer-contact-row a:hover {
  color: var(--white);
}

.s2-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  padding: 16px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.76rem;
  color: #767676;
}

.s2-footer-bottom a {
  color: #767676;
  text-decoration: none;
  transition: color var(--tr);
}

.s2-footer-bottom a:hover {
  color: var(--white);
}

.s2-footer-credit {
  font-size: 0.68rem;
  color: #767676;
}

.s2-footer-credit a {
  color: #767676;
  font-weight: 700;
}

.s2-footer-credit a:hover {
  color: var(--red);
}

/* ---- SCROLL REVEAL --------------------------------------- */
.s2r {
  opacity: 1;
}

/* .s2r { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.s2r.on { opacity: 1; transform: none; } */
/* ---- MOBILE NAV ------------------------------------------ */
/* WCAG AA fix – red on black bg needs slightly lighter red */
.s2-nav-wrap .s2-nav-link--cta {
  background: #dc4139;
}

.s2-nav-wrap .s2-nav-link--cta:hover {
  background: var(--red-dk) !important;
}

@media (max-width: 1100px) {
  .s2-search-block {
    display: none;
  }
}
@media (max-width: 991px) {
  .s2-nav-wrap {
    display: none;
  }
  .s2-nav-toggle {
    display: flex;
    margin-left: auto;
  }
  .s2-nav-wrap.open {
    display: flex !important;
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 2000;
    padding: 100px 32px 40px;
    flex-direction: column;
    overflow-y: auto;
  }
  .s2-nav-wrap.open .s2-nav-list {
    flex-direction: column;
    gap: 0;
  }
  .s2-nav-wrap.open .s2-nav-link {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.2rem;
    padding: 14px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
  .s2-nav-wrap.open .s2-nav-link:hover, .s2-nav-wrap.open .s2-nav-link.active {
    color: var(--white);
  }
  .s2-nav-wrap.open .s2-nav-link::after {
    display: none;
  }
  .s2-nav-wrap.open .s2-nav-link--cta {
    margin: 20px 0 0;
    display: block;
    text-align: center;
  }
  .s2-hero {
    grid-template-columns: 1fr;
  }
  .s2-hero-slide {
    grid-template-columns: 1fr;
    height: auto;
  }
  .s2-hero-text {
    padding: 60px 32px 80px;
  }
  .s2-hero-img-col {
    min-height: 360px;
  }
  .s2-hero-controls {
    width: 100%;
    padding: 0 32px;
  }
  .s2-about {
    grid-template-columns: 1fr;
  }
  .s2-about-img-col {
    min-height: 380px;
  }
  .s2-about-text {
    padding: 48px 32px;
  }
  .s2-cta {
    grid-template-columns: 1fr;
  }
  .s2-cta-img {
    min-height: 280px;
  }
}
@media (max-width: 767px) {
  .s2-stats {
    grid-template-columns: 1fr 1fr;
  }
  .s2-hero-title {
    font-size: 1.9rem;
  }
  .s2-about-text {
    padding: 36px 24px;
  }
}
@media (max-width: 575px) {
  .s2-stats {
    grid-template-columns: 1fr 1fr;
  }
  .s2-stat {
    padding: 20px;
  }
  .s2-header-inner {
    height: 66px;
  }
  .s2-logo-img {
    height: 40px;
  }
  .s2-logo-block {
    padding: 0 18px;
  }
}
/* ---- RESPONSIVE OVERRIDES (updated) ---------------------- */
@media (max-width: 991px) {
  .s2-hero-slide {
    grid-template-columns: 1fr;
    height: auto;
  }
  .s2-hero-text {
    padding: 80px 32px 80px !important;
  }
  .s2-hero-controls {
    padding: 0 32px !important;
  }
  .s2-logo-block {
    width: 160px !important;
  }
}
@media (max-width: 575px) {
  .s2-header-inner {
    height: 70px !important;
  }
  .s2-logo-img {
    height: 52px !important;
  }
  .s2-logo-block {
    width: 120px !important;
  }
  .s2-footer-logo {
    height: 80px !important;
  }
}
/* ---- FOOTER COLUMN FIX ----------------------------------- */
.s2-footer-main .row {
  margin-left: 0;
  margin-right: 0;
}

.s2-footer-main .row > [class*=col-] {
  padding-left: 24px;
  padding-right: 24px;
}

/* ============================================================
   subpage2.css – KPCNT Projekt 2 – wspólne elementy podstron
   Styl: editorial / V-shape image masks
   ============================================================ */
/* ---- PAGE BANNER ------------------------------------------ */
.s2-page-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 440px;
  overflow: hidden;
  background: var(--white);
}

/* Left: text */
.s2-banner-text {
  padding: 72px 56px 72px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
  position: relative;
  z-index: 2;
}

.s2-banner-breadcrumb {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.s2-banner-breadcrumb li {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #767676;
  display: flex;
  align-items: center;
}

.s2-banner-breadcrumb a {
  color: #595959;
  text-decoration: none;
  transition: color var(--tr);
  display: flex;
  align-items: center;
  gap: 4px;
}

.s2-banner-breadcrumb a:hover {
  color: var(--red);
}

.s2-banner-breadcrumb [aria-current=page] {
  color: var(--black);
  font-weight: 800;
}

.s2-banner-breadcrumb .bi-chevron-right {
  font-size: 0.6rem;
  color: #ccc;
}

.s2-banner-title {
  font-family: var(--font);
  font-size: clamp(2.8rem, 5vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 20px;
}

.s2-banner-title em {
  font-style: normal;
  color: var(--red);
  display: block;
}

.s2-banner-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  max-width: 420px;
  margin-bottom: 28px;
}

/* Stats row in banner */
.s2-banner-stats {
  display: flex;
  gap: 0;
  border-top: 2px solid var(--black);
  margin-top: 8px;
}

.s2-bstat {
  padding: 14px 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-right: 1px solid var(--gray-dk);
  margin-right: 20px;
}

.s2-bstat:last-child {
  border-right: none;
}

.s2-bstat strong {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.s2-bstat strong sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--red);
}

.s2-bstat span {
  font-size: 0.62rem;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Right: image in V-shape */
.s2-banner-img-col {
  position: relative;
  background: var(--gray);
  overflow: hidden;
}

.s2-banner-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 12% 50%);
  overflow: hidden;
}

.s2-banner-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.s2-page-banner:hover .s2-banner-img-shape img {
  transform: scale(1.04);
}

/* Tag pill on image */
.s2-banner-img-tag {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 3;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
}

/* White arrow pointing into image */
.s2-banner-img-arrow {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 12%;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 2;
  pointer-events: none;
}

/* ---- RED LABEL BAR --------------------------------------- */
.s2-label-bar {
  background: var(--red);
  border-top: 3px solid var(--red-dk);
  padding: 11px 0;
}

.s2-label-bar-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.s2-label-bar-inner i {
  color: rgba(255, 255, 255, 0.65);
}

.s2-label-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* ---- SECTION HELPERS ------------------------------------- */
.s2-sec-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.s2-sec-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  flex-shrink: 0;
}

.s2-sec-title {
  font-family: var(--font);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--black);
  margin: 0;
}

/* ---- FILTER BAR ------------------------------------------ */
.s2-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 24px 0;
  border-bottom: 2px solid var(--black);
  margin-bottom: 40px;
}

.s2-filter-lbl {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.s2-filter-lbl i {
  color: var(--red);
}

.s2-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.s2-filter-tab {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  border: 1px solid var(--black);
  background: var(--white);
  color: var(--black);
  padding: 6px 14px;
  cursor: pointer;
  transition: background var(--tr), color var(--tr);
}

.s2-filter-tab:hover {
  background: var(--black);
  color: var(--white);
}

.s2-filter-tab.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.s2-filter-tab:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---- SEARCH BOX ------------------------------------------ */
.s2-search-box {
  border: 1px solid var(--black);
  border-top: 4px solid var(--red);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.s2-search-kw {
  position: relative;
  margin-bottom: 16px;
}

.s2-search-kw i {
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  color: #595959;
  pointer-events: none;
}

.s2-search-kw-input {
  width: 100%;
  border: 1px solid var(--gray-dk);
  outline: none;
  padding: 12px 14px 12px 38px;
  font-family: var(--font);
  font-size: 0.88rem;
  color: var(--black);
  transition: border-color var(--tr);
}

.s2-search-kw-input:focus {
  border-color: var(--black);
}

.s2-search-kw-input::placeholder {
  color: #ccc;
}

.s2-filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: flex-end;
}

.s2-fgroup {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1 1 160px;
  min-width: 140px;
}

.s2-flabel {
  font-family: var(--font);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #666;
  display: flex;
  align-items: center;
  gap: 5px;
}

.s2-flabel i {
  color: var(--red);
}

.s2-fselect-wrap {
  position: relative;
}

.s2-fselect {
  width: 100%;
  border: 1px solid var(--gray-dk);
  outline: none;
  padding: 8px 28px 8px 10px;
  font-family: var(--font);
  font-size: 0.8rem;
  color: var(--black);
  background: var(--white);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color var(--tr);
}

.s2-fselect:focus {
  border-color: var(--black);
}

.s2-farrow {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #595959;
  font-size: 0.7rem;
  pointer-events: none;
}

input[type=date].s2-fselect {
  padding: 8px 10px;
}

.s2-search-go {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--black);
  color: var(--white);
  border: none;
  padding: 9px 20px;
  cursor: pointer;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background var(--tr);
}

.s2-search-go:hover {
  background: var(--red);
}

.s2-search-reset {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: transparent;
  color: #595959;
  border: 1px solid var(--gray-dk);
  padding: 8px 14px;
  cursor: pointer;
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color var(--tr), border-color var(--tr);
}

.s2-search-reset:hover {
  color: var(--red);
  border-color: var(--red);
}

.s2-results-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--gray);
}

.s2-results-count {
  font-family: var(--font);
  font-size: 0.72rem;
  color: #595959;
}

.s2-results-count strong {
  color: var(--red);
  font-weight: 800;
}

.s2-active-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.s2-active-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(214, 57, 49, 0.08);
  border: 1px solid rgba(214, 57, 49, 0.25);
  color: var(--red);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  cursor: pointer;
  transition: background var(--tr);
}

.s2-active-tag:hover {
  background: rgba(214, 57, 49, 0.16);
}

/* ---- NEWS CARD (subpage) ---------------------------------- */
.s2-np-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--black);
  background: var(--white);
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.s2-np-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 0 var(--red);
}

/* Image in V-cut */
.s2-np-card-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  background: var(--gray);
}

.s2-np-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.s2-np-card:hover .s2-np-card-img img {
  transform: scale(1.06);
}

.s2-np-cat {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--red);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 11px;
}

.s2-np-card-body {
  padding: 20px 20px 18px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.s2-np-date {
  font-size: 0.68rem;
  font-weight: 700;
  color: #767676;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 7px;
}

.s2-np-title {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 8px;
  flex: 1;
}

.s2-np-title a {
  color: var(--black);
  text-decoration: none;
  transition: color var(--tr);
}

.s2-np-title a:hover {
  color: var(--red);
}

.s2-np-excerpt {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 12px;
}

.s2-np-more {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  border-bottom: 1px solid transparent;
  width: fit-content;
  transition: gap var(--tr), border-color var(--tr);
}

.s2-np-more:hover {
  gap: 9px;
  border-color: var(--red);
}

.s2-np-item.is-hidden {
  display: none;
}

/* ---- OFFER ROW – image in shape -------------------------- */
.s2-offer-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--black);
  margin-bottom: 20px;
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--tr-slow), transform var(--tr-slow);
  position: relative;
}

.s2-offer-row:hover {
  transform: translateY(-3px);
  box-shadow: 4px 4px 0 var(--red);
}

.s2-offer-row.is-hidden {
  display: none;
}

/* Image column with right-pointing arrow cut */
.s2-offer-img-col {
  position: relative;
  overflow: hidden;
  background: var(--gray);
}

.s2-offer-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  overflow: hidden;
}

.s2-offer-img-shape img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: transform 0.5s, filter 0.5s;
}

.s2-offer-row:hover .s2-offer-img-shape img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.s2-offer-row--logo .s2-offer-img-shape {
  background: #fff;
}

.s2-offer-row--logo .s2-offer-img-shape img {
  object-fit: contain;
  padding: 20px;
  filter: none;
}

.s2-offer-row--logo:hover .s2-offer-img-shape img {
  transform: none;
  filter: none;
}

.s2-offer-badge {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-top: 2px solid var(--red);
}

/* Completed training state */
.s2-offer-row--done {
  filter: grayscale(100%);
}

.s2-offer-row--done:hover {
  transform: none;
  box-shadow: none;
}

.s2-done-badge {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 10;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px 6px 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  filter: none !important;
}

.s2-done-badge .bi {
  font-size: 0.75rem;
}

/* keep badge colorful while card is grayscale */
.s2-offer-row--done .s2-done-badge {
  filter: none !important;
}

/* single training page */
.s2-done-banner-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--red);
  color: #fff;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 3px solid #fff;
}

.s2-reg-closed {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
  padding: 4px 0;
}

.s2-reg-closed .bi {
  color: #aaa;
  font-size: 0.9rem;
}

.s2-reg-closed--lg {
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 14px 20px;
  font-size: 0.8rem;
  width: 100%;
  justify-content: center;
}

.s2-reg-closed--lg .bi {
  font-size: 1.3rem;
  color: #999;
}

.s2-done-cta-box {
  background: #f0f0f0;
  border: 1px solid #ccc;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #555;
}

.s2-done-cta-box .bi {
  color: #888;
  font-size: 1.2rem;
}

.s2-done-info-box {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  background: #fff;
  border: 1px solid var(--black);
  border-top: 4px solid var(--red);
  padding: 40px;
}

.s2-done-info-icon {
  font-size: 3rem;
  color: var(--red);
  line-height: 1;
  flex-shrink: 0;
}

.s2-done-info-title {
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 10px;
}

.s2-done-info-desc {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.75;
}

/* Offer body */
.s2-offer-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.s2-offer-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #595959;
}

.s2-offer-meta i {
  color: var(--red);
}

.s2-offer-meta-sep {
  color: #ddd;
}

.s2-offer-title {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 8px;
}

.s2-offer-desc {
  font-size: 0.84rem;
  color: #555;
  line-height: 1.7;
  margin-bottom: 12px;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.s2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 14px;
}

.s2-tag {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--gray-dk);
  color: #666;
  padding: 2px 9px;
  transition: border-color var(--tr), color var(--tr);
}

.s2-tag:hover {
  border-color: var(--red);
  color: var(--red);
}

.s2-offer-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--gray);
}

/* Broker */
.s2-broker {
  display: flex;
  align-items: center;
  gap: 10px;
}

.s2-broker-av {
  width: 34px;
  height: 34px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
  border-bottom: 2px solid var(--red);
}

.s2-broker > div {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.s2-broker-lbl {
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767676;
}

.s2-broker-name {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--black);
}

.s2-broker-email {
  font-family: var(--font);
  font-size: 0.72rem;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  transition: color var(--tr);
}

.s2-broker-email:hover {
  color: var(--red-dk);
}

.s2-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

/* Buttons */
.s2-obtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 16px;
  cursor: pointer;
  border: none;
  transition: background var(--tr), transform var(--tr);
}

.s2-obtn--red {
  background: var(--red);
  color: var(--white);
  border-bottom: 2px solid var(--red-dk);
}

.s2-obtn--red:hover {
  background: var(--red-dk);
  color: var(--white);
  transform: translateX(2px);
}

.s2-obtn--blk {
  background: var(--black);
  color: var(--white);
  border-bottom: 2px solid var(--red);
}

.s2-obtn--blk:hover {
  background: #222;
  color: var(--white);
  transform: translateX(2px);
}

.s2-obtn:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

/* ---- FORM SECTION ---------------------------------------- */
.s2-form-section {
  background: var(--gray);
  padding: 80px 0;
  border-top: 4px solid var(--black);
}

.s2-form-card {
  background: var(--white);
  border: 1px solid var(--black);
  border-top: 4px solid var(--red);
}

.s2-form-card-hdr {
  background: var(--black);
  color: var(--white);
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--red);
}

.s2-form-card-hdr i {
  color: var(--red);
}

.s2-form-card-body {
  padding: 28px;
}

.s2-label {
  font-family: var(--font);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.s2-label span {
  color: var(--red);
}

.s2-input {
  width: 100%;
  border: 1px solid var(--gray-dk);
  outline: none;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.86rem;
  color: var(--black);
  background: var(--white);
  display: block;
  transition: border-color var(--tr);
}

.s2-input::placeholder {
  color: #ccc;
}

.s2-input:focus {
  border-color: var(--black);
}

.s2-input.err {
  border-color: var(--red);
}

.s2-textarea {
  resize: vertical;
  min-height: 120px;
}

.s2-ckb-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.55;
}

.s2-ckb-label a {
  color: var(--red);
  text-decoration: none;
}

.s2-ckb-label a:hover {
  text-decoration: underline;
}

.s2-ckb {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--red);
  flex-shrink: 0;
  cursor: pointer;
}

.s2-submit {
  width: 100%;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--red);
  color: var(--white);
  border: none;
  border-bottom: 3px solid var(--red-dk);
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--tr), transform var(--tr);
}

.s2-submit:hover {
  background: var(--red-dk);
  transform: translateX(4px);
}

.s2-submit:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
}

/* Form contact items */
.s2-fcontact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s2-fcontact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.s2-fcontact-icon {
  width: 34px;
  height: 34px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border-bottom: 2px solid var(--red);
}

.s2-fcontact-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s2-fcontact-lbl {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767676;
}

.s2-fcontact-row a {
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  transition: color var(--tr);
}

.s2-fcontact-row a:hover {
  color: var(--red);
}

/* Cert box */
.s2-cert-box {
  border: 1px solid var(--black);
  border-left: 4px solid var(--red);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 24px;
  background: var(--white);
}

.s2-cert-icon {
  font-size: 1.6rem;
  color: var(--red);
  flex-shrink: 0;
}

.s2-cert-title {
  display: block;
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 4px;
}

.s2-cert-desc {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* ---- PAGINATION ------------------------------------------ */
.s2-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2px;
  flex-wrap: wrap;
  margin-top: 48px;
}

.s2-pgbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--black);
  text-decoration: none;
  border: 1px solid var(--black);
  transition: background var(--tr), color var(--tr);
}

.s2-pgbtn:hover {
  background: var(--black);
  color: var(--white);
}

.s2-pgbtn--act {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  pointer-events: none;
}

.s2-pgbtn--nav {
  background: var(--black);
  color: var(--white);
}

.s2-pgbtn--nav:hover {
  background: var(--red);
  border-color: var(--red);
}

.s2-pgbtn[aria-disabled=true] {
  opacity: 0.3;
  pointer-events: none;
}

.s2-pgdots {
  color: #767676;
  padding: 0 4px;
  font-size: 0.85rem;
}

/* ---- EMPTY STATE ----------------------------------------- */
.s2-empty {
  text-align: center;
  padding: 56px 0;
}

.s2-empty i {
  font-size: 2.2rem;
  color: var(--gray-dk);
  display: block;
  margin-bottom: 10px;
}

.s2-empty p {
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #767676;
  margin-bottom: 16px;
}

/* ---- TRAINING DATE BOX ----------------------------------- */
.s2-train-datebox {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray);
}

.s2-datebox-num {
  background: var(--red);
  color: var(--white);
  padding: 8px 12px;
  flex-shrink: 0;
  text-align: center;
  border-right: 3px solid var(--red-dk);
  min-width: 54px;
}

.s2-datebox-num .day {
  font-family: var(--font);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1;
  display: block;
}

.s2-datebox-num .mon {
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: block;
}

.s2-datebox-num .yr {
  font-family: var(--font);
  font-size: 0.55rem;
  font-weight: 600;
  opacity: 0.8;
  display: block;
}

.s2-datebox-num--online {
  background: var(--black);
}

.s2-datebox-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-family: var(--font);
  font-size: 0.74rem;
  color: #555;
}

.s2-datebox-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.s2-datebox-meta i {
  color: var(--red);
  font-size: 0.72rem;
}

.s2-seats {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 700;
  color: #2e7d32;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.s2-seats--full {
  color: #b71c1c;
}

/* ---- BADGE formats --------------------------------------- */
.s2-fmt-badge {
  position: absolute;
  top: 0;
  right: 0;
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 11px;
  color: var(--white);
}

.s2-fmt--stac {
  background: var(--black);
}

.s2-fmt--online {
  background: #1a6bb5;
}

.s2-fmt--hybr {
  background: #6b46c1;
}

.s2-fmt--elrn {
  background: #15803d;
}

/* ---- Akademia – banner + intro ----------------------------- */
.ak-banner-title-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.ak-innonet-logo {
  height: 100px;
  width: auto;
  flex-shrink: 0;
}

.ak-academy-title {
  line-height: 1.01 !important;
  font-size: clamp(2.24rem, 4vw, 4rem) !important;
}

.ak2-about-content p {
  font-size: 0.9rem;
  line-height: 1.85;
  color: #444;
  margin-bottom: 1em;
}

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

/* B+R service cards */
.br-service-card {
  background: var(--white);
  border: 1px solid var(--black);
  border-top: 4px solid var(--red);
  padding: 32px 28px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.br-service-icon {
  width: 48px;
  height: 48px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.br-service-icon .bi {
  font-size: 1.3rem;
  color: var(--white);
}

.br-service-title {
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--black);
  margin: 0;
  line-height: 1.3;
}

.br-service-lead {
  font-size: 0.82rem;
  color: #666;
  margin: 0;
  line-height: 1.6;
}

.br-service-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.br-service-list li {
  font-size: 0.82rem;
  color: #444;
  line-height: 1.5;
  padding-left: 14px;
  position: relative;
}

.br-service-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 5px;
  height: 5px;
  background: var(--red);
  border-radius: 50%;
}

.ak-intro-section {
  background: var(--gray, #f5f5f5);
  padding: 48px 0;
  border-top: 3px solid #0217a6;
}

.ak-intro-body {
  max-width: 860px;
  margin: 0 auto;
}

.ak-intro-body p {
  font-size: 0.97rem;
  line-height: 1.85;
  color: #333;
  margin-bottom: 1.1em;
}

.ak-intro-body p:last-child {
  margin-bottom: 0;
}

/* ---- Akademia ak2-* ---------------------------------------- */
.ak2-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px;
  overflow: hidden;
  border-bottom: 2px solid var(--black);
}

.ak2-about-img {
  position: relative;
  background: var(--gray);
  overflow: hidden;
  border-right: 2px solid var(--black);
}

.ak2-about-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  overflow: hidden;
}

.ak2-about-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.ak2-about-img:hover .ak2-about-img-shape img {
  transform: scale(1.04);
}

.ak2-about-text {
  padding: 64px 56px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ak2-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--black);
  border: 1px solid var(--black);
  margin-top: 32px;
}

.ak2-stat-cell {
  background: var(--white);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ak2-stat-icon {
  font-size: 1.2rem;
  color: var(--red);
  width: 36px;
  flex-shrink: 0;
}

.ak2-stat-num {
  font-family: var(--font);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--black);
  line-height: 1;
}

.ak2-stat-lbl {
  font-size: 0.62rem;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (max-width: 991px) {
  .ak2-about {
    grid-template-columns: 1fr;
  }
  .ak2-about-img {
    min-height: 280px;
    border-right: none;
    border-bottom: 2px solid var(--black);
  }
  .ak2-about-text {
    padding: 40px 28px;
  }
  .ak2-stats-row {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 575px) {
  .ak2-stats-row {
    grid-template-columns: 1fr;
  }
}
/* ---- RESPONSIVE ------------------------------------------ */
@media (max-width: 991px) {
  .s2-page-banner {
    grid-template-columns: 1fr;
  }
  .s2-banner-text {
    padding: 48px 32px;
  }
  .s2-banner-img-col {
    min-height: 320px;
  }
  .s2-offer-row {
    grid-template-columns: 1fr;
  }
  .s2-offer-img-col {
    min-height: 220px;
  }
  .s2-offer-img-shape {
    clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  }
}
@media (max-width: 767px) {
  .s2-form-card-body {
    padding: 20px 16px;
  }
  .s2-filters-row {
    flex-direction: column;
  }
  .s2-fgroup {
    min-width: 0;
    flex: 1 1 100%;
  }
  .s2-offer-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .s2-banner-title {
    font-size: 2.4rem;
  }
  .ak-academy-title {
    font-size: 1.92rem !important;
  }
}
@media (max-width: 575px) {
  .s2-offer-actions {
    width: 100%;
  }
  .s2-obtn {
    flex: 1;
    justify-content: center;
  }
}
/* ============================================================
   innonet2.css – KPCNT INNO-NET – paleta niebieska
   ============================================================ */
:root {
  --in-blue: #0217a6;
  --in-blue-dk: #041398;
  --in-blue-lt: #e8eeff;
  --in-white: #ffffff;
  --in-black: #000000;
  --in-gray: #ededed;
  --font: "Montserrat", sans-serif;
  --tr: 0.22s ease;
  --tr-slow: 0.42s ease;
}

/* Override red with blue – only on Inno-Net page template */
.is-innonet .s2-header {
  border-bottom-color: var(--in-blue) !important;
}

.is-innonet .s2-logo-block {
  background: var(--in-white) !important;
}

.is-innonet .s2-nav-link::after {
  background: var(--in-blue) !important;
}

.is-innonet .s2-nav-link:hover,
.is-innonet .s2-nav-link.active {
  color: var(--in-blue) !important;
}

.is-innonet .s2-nav-link--cta {
  background: var(--in-blue) !important;
}

.s2-header-innonet-logo {
  height: 80px;
  width: auto;
  display: block;
  margin-left: 4px;
}

@media (min-resolution: 1.25dppx) {
  .is-innonet .s2-logo-img {
    height: 64px !important;
  }
  .s2-header-innonet-logo {
    height: 56px;
  }
  .is-innonet .s2-search-block {
    display: none !important;
  }
  /* Homepage video section – reduce height and title at 125% DPI scaling */
  .s2-about-video-frame {
    height: 62% !important;
    inset: 19% 0 !important;
  }
  .s2-video-mute-btn {
    bottom: 19% !important;
    right: 8px !important;
  }
  .s2-about .s2-section-title {
    font-size: clamp(1.4rem, 2.45vw, 2.1rem);
  }
}
.is-innonet .s2-nav-link--cta:hover {
  background: var(--in-blue-dk) !important;
  color: var(--white) !important;
}

.is-innonet .s2-search-btn {
  background: var(--in-blue) !important;
}

.is-innonet .s2-search-btn:hover {
  background: var(--in-blue-dk) !important;
}

.is-innonet .wcag-toggle {
  border-left-color: var(--in-blue) !important;
}

.is-innonet .wcag-toggle:hover {
  background: var(--in-blue) !important;
}

.is-innonet .wcag-tool-btn:hover {
  background: var(--in-blue) !important;
}

.is-innonet .wcag-tools {
  border-left-color: var(--in-blue) !important;
}

/* Footer – only on Inno-Net page template */
.is-innonet .s2-footer-bar {
  background: linear-gradient(90deg, var(--in-blue-dk) 0%, var(--in-blue) 40%, var(--in-white) 40%, var(--in-white) 100%) !important;
}

.is-innonet .s2-footer-heading::before {
  background: var(--in-blue) !important;
}

.is-innonet .s2-social:hover {
  background: var(--in-blue) !important;
  border-color: var(--in-blue) !important;
}

.is-innonet .s2-footer-contact-row i {
  color: var(--in-blue) !important;
}

/* ---- INNO-NET specific components ----------------------- */
/* Hero banner */
.in-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
  border-bottom: 2px solid var(--in-black);
}

.in-hero-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--in-white);
}

.in-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--in-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.in-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--in-blue);
  flex-shrink: 0;
}

.in-hero-title-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.in-hero-logo {
  height: 64px;
  width: auto;
  flex-shrink: 0;
}

.in-hero-title {
  font-family: var(--font);
  font-size: clamp(2.45rem, 4.9vw, 4.9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 32px;
}

.in-hero-title em {
  font-style: normal;
  color: var(--in-blue);
  display: block;
}

.in-hero-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 32px;
  border-left: 3px solid var(--in-blue);
  padding-left: 16px;
}

/* Hero stats */
.in-hero-stats {
  display: flex;
  gap: 0;
  border-top: 2px solid var(--in-black);
  padding-top: 24px;
}

.in-hstat {
  padding-right: 24px;
  border-right: 1px solid #ccc;
  margin-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.in-hstat:last-child {
  border-right: none;
}

.in-hstat strong {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--in-black);
  line-height: 1;
}

.in-hstat strong sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--in-blue);
}

.in-hstat span {
  font-size: 0.62rem;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero image col */
.in-hero-img-col {
  position: relative;
  background: var(--in-gray);
  overflow: hidden;
}

.in-hero-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  overflow: hidden;
}

.in-hero-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.in-hero-img-white {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: var(--in-white);
}

/* Blue tag */
.in-tag {
  display: inline-block;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-right: 3px solid var(--in-blue-dk);
}

/* Buttons */
.in-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  transition: background var(--tr), transform var(--tr);
  cursor: pointer;
  border: none;
}

.in-btn--blue {
  background: var(--in-blue);
  color: var(--in-white);
  border-bottom: 3px solid var(--in-blue-dk);
}

.in-btn--blue:hover {
  background: var(--in-blue-dk);
  color: var(--in-white);
  transform: translateX(4px);
}

.in-btn--black {
  background: var(--in-black);
  color: var(--in-white);
  border-bottom: 3px solid var(--in-blue);
}

.in-btn--black:hover {
  background: #222;
  color: var(--in-white);
  transform: translateX(4px);
}

.in-btn:focus-visible {
  outline: 3px solid var(--in-blue);
  outline-offset: 3px;
}

/* Blue strip */
.in-blue-strip {
  background: var(--in-blue);
  border-top: 3px solid var(--in-blue-dk);
  padding: 11px 0;
}

.in-blue-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.in-blue-strip-inner i {
  color: rgba(255, 255, 255, 0.65);
}

.in-strip-sep {
  color: rgba(255, 255, 255, 0.6);
}

/* Stats bar */
.in-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--in-blue);
  border-bottom: 1px solid var(--in-black);
}

.in-stat {
  padding: 28px 32px;
  border-right: 1px solid var(--in-black);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.in-stat:last-child {
  border-right: none;
}

.in-stat::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--in-blue-dk);
}

.in-stat-num {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--in-black);
  line-height: 1;
}

.in-stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--in-blue);
}

.in-stat-lbl {
  font-size: 0.7rem;
  color: #747474;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Section helper */
.in-sec-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--in-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.in-sec-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--in-blue);
  flex-shrink: 0;
}

.in-sec-title {
  font-family: var(--font);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--in-black);
  margin: 0;
}

/* About section – image V right */
.in-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 2px solid var(--in-black);
}

.in-about-text {
  padding: 80px 64px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--in-white);
}

.in-about-img-col {
  position: relative;
  background: var(--in-gray);
  overflow: hidden;
}

.in-about-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  overflow: hidden;
}

.in-about-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: transform var(--tr-slow), filter var(--tr-slow);
}

.in-about-img-col:hover .in-about-img-shape img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Feature cards */
.in-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--in-black);
  border: 1px solid var(--in-black);
  margin-top: 32px;
}

.in-feat-card {
  background: var(--in-white);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.in-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--in-blue);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.in-feat-card h3 {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 4px;
}

.in-feat-card p {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Benefits – full width dark */
.in-benefits {
  background: var(--in-black);
  padding: 96px 0;
  border-bottom: 2px solid var(--in-blue-dk);
}

.in-ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 48px;
}

.in-ben-card {
  background: var(--in-black);
  padding: 32px 28px;
  position: relative;
}

.in-ben-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.in-ben-icon {
  width: 44px;
  height: 44px;
  background: var(--in-blue);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--in-blue-dk);
}

.in-ben-title {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-white);
  margin-bottom: 8px;
}

.in-ben-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* Steps */
.in-steps {
  max-width: 680px;
}

.in-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.in-step-num {
  width: 48px;
  height: 48px;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.in-step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(36, 86, 243, 0.2);
}

.in-step-line--last {
  display: none;
}

.in-step-body {
  padding-top: 6px;
  flex: 1;
}

.in-step-title {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 5px;
}

.in-step-body p {
  font-size: 0.86rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* Projects – image V card */
.in-proj-card {
  border: 1px solid var(--in-black);
  background: var(--in-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.in-proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 0 var(--in-blue);
}

.in-proj-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  background: var(--in-gray);
}

.in-proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.in-proj-card:hover .in-proj-img img {
  transform: scale(1.06);
}

.in-proj-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.in-proj-badge--closed {
  background: #555;
}

.in-proj-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.in-proj-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.in-proj-meta i {
  color: var(--in-blue);
}

.in-proj-title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--in-black);
  margin-bottom: 8px;
  line-height: 1.25;
}

.in-proj-body p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 12px;
  flex: 1;
}

.in-proj-more {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--in-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid transparent;
  transition: gap var(--tr), border-color var(--tr);
}

.in-proj-more:hover {
  gap: 9px;
  border-color: var(--in-blue);
}

/* Partners */
.in-partner {
  border: 1px solid var(--in-black);
  background: var(--in-white);
  overflow: hidden;
  transition: box-shadow var(--tr-slow), border-color var(--tr-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.in-partner:hover {
  border-color: var(--in-blue);
  box-shadow: 3px 3px 0 var(--in-blue);
}

.in-partner-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.in-partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter var(--tr-slow), transform var(--tr-slow);
}

.in-partner:hover .in-partner-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.in-partner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}

.in-partner-info {
  padding: 22px 14px;
  border-top: 3px solid var(--in-blue);
  flex: 1;
}

.in-partner-info strong {
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--in-black);
  display: block;
  line-height: 1.35;
  margin-bottom: 3px;
}

.in-partner-info span {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.in-partner-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.in-partner-img-wrap--logo {
  background: #fff;
}

.in-partner-img-wrap--logo .in-partner-img {
  object-fit: contain;
  padding: 50px;
  filter: none;
}

.in-partner-link:hover .in-partner {
  border-color: var(--in-blue);
  box-shadow: 3px 3px 0 var(--in-blue);
}

.in-partner-link:hover .in-partner-img-wrap--logo .in-partner-img {
  filter: none;
  transform: scale(1.04);
}

/* Form section */
.in-form-section {
  background: var(--in-gray);
  padding: 80px 0;
  border-top: 4px solid var(--in-black);
}

.in-form-card {
  background: var(--in-white);
  border: 1px solid var(--in-black);
  border-top: 4px solid var(--in-blue);
}

.in-form-hdr {
  background: var(--in-black);
  color: var(--in-white);
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--in-blue);
}

.in-form-hdr i {
  color: var(--in-blue);
}

.in-form-body {
  padding: 28px;
}

.in-label {
  font-family: var(--font);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.in-label span {
  color: var(--in-blue);
}

.in-input {
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.86rem;
  color: var(--in-black);
  background: var(--in-white);
  display: block;
  transition: border-color var(--tr);
}

.in-input::placeholder {
  color: #595959;
}

.in-input:focus {
  border-color: var(--in-blue);
}

.in-input.err {
  border-color: var(--in-blue);
}

.in-textarea {
  resize: vertical;
  min-height: 120px;
}

.in-ckb-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.55;
}

.in-ckb-label a {
  color: var(--in-blue);
  text-decoration: none;
}

.in-ckb {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--in-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.in-submit {
  width: 100%;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--in-blue);
  color: var(--in-white);
  border: none;
  border-bottom: 3px solid var(--in-blue-dk);
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--tr), transform var(--tr);
}

.in-submit:hover {
  background: var(--in-blue-dk);
  transform: translateX(4px);
}

.in-fcontact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.in-fcontact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.in-fcontact-icon {
  width: 34px;
  height: 34px;
  background: var(--in-black);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border-bottom: 2px solid var(--in-blue);
}

.in-fcontact-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.in-fcontact-lbl {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767676;
}

.in-fcontact-row a {
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--in-black);
  text-decoration: none;
  transition: color var(--tr);
}

.in-fcontact-row a:hover {
  color: var(--in-blue);
}

/* Scroll reveal */
.in-r {
  opacity: 1;
}

/* .in-r { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.in-r.on { opacity: 1; transform: none; } */
/* Responsive */
@media (max-width: 991px) {
  .in-hero {
    grid-template-columns: 1fr;
  }
  .in-hero-img-col {
    min-height: 320px;
  }
  .in-hero-text {
    padding: 48px 28px;
  }
  .in-about {
    grid-template-columns: 1fr;
  }
  .in-about-img-col {
    min-height: 300px;
  }
  .in-about-text {
    padding: 48px 28px;
  }
  .in-ben-grid {
    grid-template-columns: 1fr 1fr;
  }
  .in-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .in-ben-grid {
    grid-template-columns: 1fr;
  }
  .in-feat-grid {
    grid-template-columns: 1fr;
  }
  .in-form-body {
    padding: 20px 16px;
  }
}
/* ============================================================
   innonet2.css – KPCNT INNO-NET – paleta niebieska
   ============================================================ */
:root {
  --in-blue: #0217a6;
  --in-blue-dk: #041398;
  --in-blue-lt: #e8eeff;
  --in-white: #ffffff;
  --in-black: #000000;
  --in-gray: #ededed;
  --font: "Montserrat", sans-serif;
  --tr: 0.22s ease;
  --tr-slow: 0.42s ease;
}

/* Override red with blue – only on Inno-Net page template */
.is-innonet .s2-header {
  border-bottom-color: var(--in-blue) !important;
}

.is-innonet .s2-logo-block {
  background: var(--in-white) !important;
}

.is-innonet .s2-nav-link::after {
  background: var(--in-blue) !important;
}

.is-innonet .s2-nav-link:hover,
.is-innonet .s2-nav-link.active {
  color: var(--in-blue) !important;
}

.is-innonet .s2-nav-link--cta {
  background: var(--in-blue) !important;
}

.is-innonet .s2-nav-link--cta:hover {
  background: var(--in-blue-dk) !important;
  color: var(--white) !important;
}

.is-innonet .s2-search-btn {
  background: var(--in-blue) !important;
}

.is-innonet .s2-search-btn:hover {
  background: var(--in-blue-dk) !important;
}

.is-innonet .wcag-toggle {
  border-left-color: var(--in-blue) !important;
}

.is-innonet .wcag-toggle:hover {
  background: var(--in-blue) !important;
}

.is-innonet .wcag-tool-btn:hover {
  background: var(--in-blue) !important;
}

.is-innonet .wcag-tools {
  border-left-color: var(--in-blue) !important;
}

/* Footer – only on Inno-Net page template */
.is-innonet .s2-footer-bar {
  background: linear-gradient(90deg, var(--in-blue-dk) 0%, var(--in-blue) 40%, var(--in-white) 40%, var(--in-white) 100%) !important;
}

.is-innonet .s2-footer-heading::before {
  background: var(--in-blue) !important;
}

.is-innonet .s2-social:hover {
  background: var(--in-blue) !important;
  border-color: var(--in-blue) !important;
}

.is-innonet .s2-footer-contact-row i {
  color: var(--in-blue) !important;
}

/* ---- INNO-NET specific components ----------------------- */
/* Hero banner */
.in-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 580px;
  overflow: hidden;
  border-bottom: 2px solid var(--in-black);
}

.in-hero-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--in-white);
}

.in-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--in-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.in-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--in-blue);
  flex-shrink: 0;
}

.in-hero-title {
  font-family: var(--font);
  font-size: clamp(2.45rem, 4.9vw, 4.9rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 32px;
}

.in-hero-title em {
  font-style: normal;
  color: var(--in-blue);
  display: block;
}

.in-hero-desc {
  font-size: 0.92rem;
  color: #555;
  line-height: 1.75;
  max-width: 600px;
  margin-bottom: 32px;
  border-left: 3px solid var(--in-blue);
  padding-left: 16px;
}

/* Hero stats */
.in-hero-stats {
  display: flex;
  gap: 0;
  border-top: 2px solid var(--in-black);
  padding-top: 24px;
}

.in-hstat {
  padding-right: 24px;
  border-right: 1px solid #ccc;
  margin-right: 24px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.in-hstat:last-child {
  border-right: none;
}

.in-hstat strong {
  font-family: var(--font);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--in-black);
  line-height: 1;
}

.in-hstat strong sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--in-blue);
}

.in-hstat span {
  font-size: 0.62rem;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* Hero image col */
.in-hero-img-col {
  position: relative;
  background: var(--in-gray);
  overflow: hidden;
}

.in-hero-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  overflow: hidden;
}

.in-hero-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.in-hero-img-white {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 22%;
  background: var(--in-white);
}

/* Blue tag */
.in-tag {
  display: inline-block;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-right: 3px solid var(--in-blue-dk);
}

/* Buttons */
.in-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  transition: background var(--tr), transform var(--tr);
  cursor: pointer;
  border: none;
}

.in-btn--blue {
  background: var(--in-blue);
  color: var(--in-white);
  border-bottom: 3px solid var(--in-blue-dk);
}

.in-btn--blue:hover {
  background: var(--in-blue-dk);
  color: var(--in-white);
  transform: translateX(4px);
}

.in-btn--black {
  background: var(--in-black);
  color: var(--in-white);
  border-bottom: 3px solid var(--in-blue);
}

.in-btn--black:hover {
  background: #222;
  color: var(--in-white);
  transform: translateX(4px);
}

.in-btn:focus-visible {
  outline: 3px solid var(--in-blue);
  outline-offset: 3px;
}

/* Blue strip */
.in-blue-strip {
  background: var(--in-blue);
  border-top: 3px solid var(--in-blue-dk);
  padding: 11px 0;
}

.in-blue-strip-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.9);
}

.in-blue-strip-inner i {
  color: rgba(255, 255, 255, 0.65);
}

.in-strip-sep {
  color: rgba(255, 255, 255, 0.6);
}

/* Stats bar */
.in-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 4px solid var(--in-blue);
  border-bottom: 1px solid var(--in-black);
}

.in-stat {
  padding: 28px 32px;
  border-right: 1px solid var(--in-black);
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.in-stat:last-child {
  border-right: none;
}

.in-stat::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 0;
  width: 40px;
  height: 4px;
  background: var(--in-blue-dk);
}

.in-stat-num {
  font-family: var(--font);
  font-size: clamp(1.6rem, 2.5vw, 2.4rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--in-black);
  line-height: 1;
}

.in-stat-num sup {
  font-size: 0.5em;
  vertical-align: super;
  color: var(--in-blue);
}

.in-stat-lbl {
  font-size: 0.7rem;
  color: #747474;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Section helper */
.in-sec-eyebrow {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--in-blue);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.in-sec-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--in-blue);
  flex-shrink: 0;
}

.in-sec-title {
  font-family: var(--font);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: var(--in-black);
  margin: 0;
}

/* About section – image V right */
.in-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 560px;
  overflow: hidden;
  border-bottom: 2px solid var(--in-black);
}

.in-about-text {
  padding: 80px 64px 80px 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--in-white);
}

.in-about-img-col {
  position: relative;
  background: var(--in-gray);
  overflow: hidden;
}

.in-about-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 88% 0, 100% 50%, 88% 100%, 0 100%);
  overflow: hidden;
}

.in-about-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(10%);
  transition: transform var(--tr-slow), filter var(--tr-slow);
}

.in-about-img-col:hover .in-about-img-shape img {
  transform: scale(1.04);
  filter: grayscale(0%);
}

/* Feature cards */
.in-feat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--in-black);
  border: 1px solid var(--in-black);
  margin-top: 32px;
}

.in-feat-card {
  background: var(--in-white);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.in-feat-icon {
  width: 36px;
  height: 36px;
  background: var(--in-blue);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.in-feat-card h3 {
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 4px;
}

.in-feat-card p {
  font-size: 0.78rem;
  color: #555;
  line-height: 1.6;
  margin: 0;
}

/* Benefits – full width dark */
.in-benefits {
  background: var(--in-black);
  padding: 96px 0;
  border-bottom: 2px solid var(--in-blue-dk);
}

.in-ben-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin-top: 48px;
}

.in-ben-card {
  background: var(--in-black);
  padding: 32px 28px;
  position: relative;
}

.in-ben-num {
  position: absolute;
  top: 20px;
  right: 20px;
  font-family: var(--font);
  font-size: 3rem;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.05);
  line-height: 1;
}

.in-ben-icon {
  width: 44px;
  height: 44px;
  background: var(--in-blue);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 16px;
  border-bottom: 3px solid var(--in-blue-dk);
}

.in-ben-title {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-white);
  margin-bottom: 8px;
}

.in-ben-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0;
}

/* Steps */
.in-steps {
  max-width: 680px;
}

.in-step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding-bottom: 28px;
  position: relative;
}

.in-step-num {
  width: 48px;
  height: 48px;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 1.2rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.in-step-line {
  position: absolute;
  left: 23px;
  top: 48px;
  bottom: 0;
  width: 2px;
  background: rgba(36, 86, 243, 0.2);
}

.in-step-line--last {
  display: none;
}

.in-step-body {
  padding-top: 6px;
  flex: 1;
}

.in-step-title {
  font-family: var(--font);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--in-black);
  margin-bottom: 5px;
}

.in-step-body p {
  font-size: 0.86rem;
  color: #555;
  line-height: 1.75;
  margin: 0;
}

/* Projects – image V card */
.in-proj-card {
  border: 1px solid var(--in-black);
  background: var(--in-white);
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform var(--tr-slow), box-shadow var(--tr-slow);
}

.in-proj-card:hover {
  transform: translateY(-5px);
  box-shadow: 5px 5px 0 var(--in-blue);
}

.in-proj-img {
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  aspect-ratio: 16/9;
  clip-path: polygon(0 0, 100% 0, 100% 80%, 50% 100%, 0 80%);
  background: var(--in-gray);
}

.in-proj-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--tr-slow);
}

.in-proj-card:hover .in-proj-img img {
  transform: scale(1.06);
}

.in-proj-badge {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--in-blue);
  color: var(--in-white);
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
}

.in-proj-badge--closed {
  background: #555;
}

.in-proj-body {
  padding: 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.in-proj-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.in-proj-meta i {
  color: var(--in-blue);
}

.in-proj-title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--in-black);
  margin-bottom: 8px;
  line-height: 1.25;
}

.in-proj-body p {
  font-size: 0.8rem;
  color: #555;
  line-height: 1.65;
  margin-bottom: 12px;
  flex: 1;
}

.in-proj-more {
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--in-blue);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid transparent;
  transition: gap var(--tr), border-color var(--tr);
}

.in-proj-more:hover {
  gap: 9px;
  border-color: var(--in-blue);
}

/* Partners */
.in-partner {
  border: 1px solid var(--in-black);
  background: var(--in-white);
  overflow: hidden;
  transition: box-shadow var(--tr-slow), border-color var(--tr-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.in-partner:hover {
  border-color: var(--in-blue);
  box-shadow: 3px 3px 0 var(--in-blue);
}

.in-partner-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.in-partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter var(--tr-slow), transform var(--tr-slow);
}

.in-partner:hover .in-partner-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

.in-partner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}

.in-partner-info {
  padding: 22px 14px;
  border-top: 3px solid var(--in-blue);
  flex: 1;
}

.in-partner-info strong {
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--in-black);
  display: block;
  line-height: 1.35;
  margin-bottom: 3px;
}

.in-partner-info span {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Form section */
.in-form-section {
  background: var(--in-gray);
  padding: 80px 0;
  border-top: 4px solid var(--in-black);
}

.in-form-card {
  background: var(--in-white);
  border: 1px solid var(--in-black);
  border-top: 4px solid var(--in-blue);
}

.in-form-hdr {
  background: var(--in-black);
  color: var(--in-white);
  padding: 14px 24px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  border-left: 4px solid var(--in-blue);
}

.in-form-hdr i {
  color: var(--in-blue);
}

.in-form-body {
  padding: 28px;
}

.in-label {
  font-family: var(--font);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: #555;
  display: block;
  margin-bottom: 5px;
}

.in-label span {
  color: var(--in-blue);
}

.in-input {
  width: 100%;
  border: 1px solid #ccc;
  outline: none;
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 0.86rem;
  color: var(--in-black);
  background: var(--in-white);
  display: block;
  transition: border-color var(--tr);
}

.in-input::placeholder {
  color: #595959;
}

.in-input:focus {
  border-color: var(--in-blue);
}

.in-input.err {
  border-color: var(--in-blue);
}

.in-textarea {
  resize: vertical;
  min-height: 120px;
}

.in-ckb-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  cursor: pointer;
  font-size: 0.78rem;
  color: #555;
  line-height: 1.55;
}

.in-ckb-label a {
  color: var(--in-blue);
  text-decoration: none;
}

.in-ckb {
  margin-top: 3px;
  width: 15px;
  height: 15px;
  accent-color: var(--in-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.in-submit {
  width: 100%;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--in-blue);
  color: var(--in-white);
  border: none;
  border-bottom: 3px solid var(--in-blue-dk);
  padding: 14px 28px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background var(--tr), transform var(--tr);
}

.in-submit:hover {
  background: var(--in-blue-dk);
  transform: translateX(4px);
}

.in-fcontact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.in-fcontact-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.in-fcontact-icon {
  width: 34px;
  height: 34px;
  background: var(--in-black);
  color: var(--in-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  border-bottom: 2px solid var(--in-blue);
}

.in-fcontact-row > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.in-fcontact-lbl {
  font-family: var(--font);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767676;
}

.in-fcontact-row a {
  font-family: var(--font);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--in-black);
  text-decoration: none;
  transition: color var(--tr);
}

.in-fcontact-row a:hover {
  color: var(--in-blue);
}

/* Scroll reveal */
.in-r {
  opacity: 1;
}

/* .in-r { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
.in-r.on { opacity: 1; transform: none; } */
/* Responsive */
@media (max-width: 991px) {
  .in-hero {
    grid-template-columns: 1fr;
  }
  .in-hero-img-col {
    min-height: 320px;
  }
  .in-hero-text {
    padding: 48px 28px;
  }
  .in-about {
    grid-template-columns: 1fr;
  }
  .in-about-img-col {
    min-height: 300px;
  }
  .in-about-text {
    padding: 48px 28px;
  }
  .in-ben-grid {
    grid-template-columns: 1fr 1fr;
  }
  .in-stats {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .in-ben-grid {
    grid-template-columns: 1fr;
  }
  .in-feat-grid {
    grid-template-columns: 1fr;
  }
  .in-form-body {
    padding: 20px 16px;
  }
}
.in-partner {
  border: 1px solid var(--in-black);
  background: var(--in-white);
  overflow: hidden;
  transition: box-shadow var(--tr-slow), border-color var(--tr-slow);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.in-partner:hover {
  border-color: var(--in-blue);
  box-shadow: 3px 3px 0 var(--in-blue);
}

/* Image wrapper – kwadrat z SVG overlay */
.in-partner-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.in-partner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(20%);
  transition: filter var(--tr-slow), transform var(--tr-slow);
}

.in-partner:hover .in-partner-img {
  filter: grayscale(0%);
  transform: scale(1.04);
}

/* SVG overlay – pełny, przezroczysty */
.in-partner-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  z-index: 2;
}

.in-partner-info {
  padding: 22px 14px;
  border-top: 3px solid var(--in-blue);
  flex: 1;
}

.in-partner-info strong {
  font-family: var(--font);
  font-size: 0.94rem;
  font-weight: 800;
  color: var(--in-black);
  display: block;
  line-height: 1.35;
  margin-bottom: 3px;
}

.in-partner-info span {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 700;
  color: #595959;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Kontakt */
.kt-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 320px;
  overflow: hidden;
  border-bottom: 2px solid var(--black);
}

.kt-hero-text {
  padding: 80px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--white);
}

.kt-hero-img-col {
  position: relative;
  background: var(--gray);
  overflow: hidden;
}

.kt-hero-img-shape {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14% 50%);
  overflow: hidden;
}

.kt-hero-img-shape img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.kt-hero-arrow {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 14%;
  background: var(--white);
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  z-index: 2;
  pointer-events: none;
}

.kt-big-title {
  font-family: var(--font);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0;
}

.kt-big-title span {
  color: var(--red);
  display: block;
}

.kt-subtitle {
  font-size: 0.88rem;
  color: #555;
  line-height: 1.75;
  max-width: 380px;
  margin-top: 24px;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.kt-info-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-bottom: 2px solid var(--black);
}

.kt-info-cell {
  padding: 28px 32px;
  border-right: 1px solid var(--black);
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.kt-info-cell:last-child {
  border-right: none;
}

.kt-info-cell::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--red);
}

.kt-info-cell-icon {
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 4px;
}

.kt-info-cell-lbl {
  font-family: var(--font);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #767676;
}

.kt-info-cell-val {
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
  line-height: 1.5;
  font-style: normal;
}

.kt-info-cell-val a {
  color: var(--black);
  text-decoration: none;
  transition: color var(--tr);
}

.kt-info-cell-val a:hover {
  color: var(--red);
}

.kt-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.kt-map-col {
  position: relative;
  min-height: 640px;
  border-right: 2px solid var(--black);
}

.kt-map-col iframe {
  width: 100%;
  height: 100%;
  min-height: 640px;
  border: 0;
  display: block;
  filter: grayscale(20%) contrast(1.05);
  transition: filter var(--tr-slow);
}

.kt-map-col:hover iframe {
  filter: grayscale(0%);
}

.kt-map-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 3px solid var(--red);
}

.kt-map-label i {
  color: var(--red);
}

.kt-form-col {
  padding: 56px 64px;
  background: var(--white);
}

.kt-dept-tabs {
  display: flex;
  margin-bottom: 28px;
  border-bottom: 2px solid var(--black);
}

.kt-dept-tab {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  cursor: pointer;
  border: none;
  background: transparent;
  color: #595959;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color var(--tr), border-color var(--tr);
}

.kt-dept-tab:hover {
  color: var(--black);
}

.kt-dept-tab.active {
  color: var(--red);
  border-bottom-color: var(--red);
}

@media (max-width: 991px) {
  .kt-hero {
    grid-template-columns: 1fr;
  }
  .kt-hero-img-col {
    min-height: 300px;
  }
  .kt-info-strip {
    grid-template-columns: 1fr 1fr;
  }
  .kt-main {
    grid-template-columns: 1fr;
  }
  .kt-map-col {
    min-height: 380px;
  }
  .kt-map-col iframe {
    min-height: 380px;
  }
  .kt-form-col {
    padding: 40px 28px;
  }
  .kt-hero-text {
    padding: 48px 28px;
  }
}
@media (max-width: 575px) {
  .kt-info-strip {
    grid-template-columns: 1fr;
  }
  .kt-big-title {
    font-size: 2rem;
  }
}
/* ---- Single post / page content -------------------------- */
.s2-single-content {
  font-size: 0.9rem;
  color: #333;
  line-height: 1.9;
}

.s2-single-content h2 {
  font-family: var(--font);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--black);
  margin: 2rem 0 0.75rem;
}

.s2-single-content h3 {
  font-family: var(--font);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--black);
  margin: 1.5rem 0 0.6rem;
}

.s2-single-content p {
  margin-bottom: 1rem;
}

.s2-single-content ul,
.s2-single-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.s2-single-content li {
  margin-bottom: 0.3rem;
}

.s2-single-content blockquote {
  border-left: 4px solid var(--red);
  padding: 12px 20px;
  margin: 1.5rem 0;
  background: #fafafa;
  font-style: italic;
  color: #555;
}

.s2-single-content img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.5rem 0;
}

.s2-single-content a {
  color: var(--red);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.s2-single-content a:hover {
  color: var(--red-dk);
}

.s2-single-content table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.s2-single-content th,
.s2-single-content td {
  border: 1px solid #ddd;
  padding: 8px 12px;
  text-align: left;
}

.s2-single-content th {
  background: var(--black);
  color: var(--white);
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.s2-single-content tr:nth-child(even) td {
  background: #f9f9f9;
}

/* Meta sidebar card */
.s2-single-meta {
  border: 1px solid #e5e5e5;
  border-top: 4px solid var(--red);
}

.s2-single-meta-hdr {
  background: var(--black);
  color: var(--white);
  padding: 12px 20px;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
}

.s2-single-meta-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.s2-single-meta-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s2-single-meta-lbl {
  font-family: var(--font);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #767676;
}

.s2-single-meta-val {
  font-family: var(--font);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.s2-single-meta-val a {
  color: var(--black);
  text-decoration: none;
  transition: color var(--tr);
}

.s2-single-meta-val a:hover {
  color: var(--red);
}

.s2-share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 9px 14px;
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: opacity var(--tr), filter var(--tr);
}

.s2-share-btn:hover {
  opacity: 0.85;
  filter: brightness(1.08);
}

.s2-share-btn--fb {
  background: #1877f2;
  color: #fff;
}

.s2-share-btn--x {
  background: #000;
  color: #fff;
}

.s2-share-btn--li {
  background: #0a66c2;
  color: #fff;
}

.s2-share-btn--mail {
  background: #444;
  color: #fff;
}

.s2-share-btn--copy {
  background: #ededed;
  color: #000;
}

/* ---- About video ----------------------------------------- */
.s2-about-video-frame {
  position: absolute;
  inset: 10% 0;
  width: 100%;
  height: 80%;
  border: none;
  display: block;
  object-fit: cover;
  object-position: 17% center;
  background: #000;
}

.s2-video-mute-btn {
  position: absolute;
  bottom: calc(10% + 12px);
  right: 16px;
  z-index: 10;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--tr), transform var(--tr);
  backdrop-filter: blur(4px);
}

.s2-video-mute-btn:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: scale(1.1);
}

/* ---- Services section ------------------------------------ */
.s2-services {
  padding: 80px 0;
  background: var(--gray);
  border-bottom: 2px solid var(--black);
}

.s2-services-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 40px;
}

.s2-serv-card {
  background: var(--white);
  border: 1px solid var(--black);
  border-top: 4px solid var(--red);
  padding: 28px 24px 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow var(--tr-slow), transform var(--tr-slow);
}

.s2-serv-card:hover {
  box-shadow: 4px 4px 0 var(--black);
  transform: translateY(-3px);
}

.s2-serv-icon {
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.s2-serv-title {
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  margin: 0;
}

.s2-serv-desc {
  font-family: var(--font);
  font-size: 0.8rem;
  color: #555;
  line-height: 1.7;
  margin: 0;
  flex: 1;
}

.s2-serv-more {
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap var(--tr);
}

.s2-serv-more:hover {
  gap: 10px;
  color: var(--red-dk);
}

/* ---- Gallery & Lightbox ---------------------------------- */
.s2-gallery-section {
  padding: 56px 0 80px;
  background: #fafafa;
  border-top: 1px solid #e5e5e5;
}

.s2-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.s2-gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: zoom-in;
  background: var(--gray);
}

.s2-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.s2-gallery-item:hover img,
.s2-gallery-item:focus img {
  transform: scale(1.07);
}

.s2-gallery-ov {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.38);
  opacity: 0;
  transition: opacity 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
}

.s2-gallery-item:hover .s2-gallery-ov,
.s2-gallery-item:focus .s2-gallery-ov {
  opacity: 1;
}

/* Lightbox */
.s2-lgbx {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.93);
  z-index: 9900;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.s2-lgbx.is-open {
  opacity: 1;
  pointer-events: all;
}

.s2-lgbx-img {
  max-width: min(90vw, 1200px);
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.s2-lgbx-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
}

.s2-lgbx-close:hover {
  background: var(--red);
}

.s2-lgbx-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #fff;
  font-size: 1.1rem;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.s2-lgbx-nav:hover {
  background: rgba(255, 255, 255, 0.25);
}

.s2-lgbx-prev {
  left: 16px;
}

.s2-lgbx-next {
  right: 16px;
}

.s2-lgbx-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: #ddd;
  padding: 24px 20px 12px;
  font-size: 0.78rem;
  text-align: center;
}

.s2-lgbx-cnt {
  position: absolute;
  top: 16px;
  left: 20px;
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

@media (max-width: 767px) {
  .s2-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
  .s2-lgbx-nav {
    display: none;
  }
}
@media (max-width: 479px) {
  .s2-gallery {
    grid-template-columns: 1fr;
  }
}

/*# sourceMappingURL=index.css.map */
