/* ==========================================================================
   CWK Theme — main.css
   Odwzorowanie układu i stylistyki martinmorris.pl
   Paleta: granat #001b2e · akcent #009fff · turkus #65bec2
   Typografia: Chakra Petch (tytuły) + DM Sans (UI i tekst)
   ========================================================================== */

:root {
  --navy: #001b2e;
  --navy-2: #052b42;
  --navy-3: #0a3954;
  --red: #009fff;
  --red-dark: #007dcc;
  --teal: #65bec2;
  --steel: #6799b2;
  --ink: #001b2e;
  --muted: #5b6b78;
  --line: #e3e8ec;
  --bg: #ffffff;
  --bg-alt: #f7f7f7;
  --radius: 0;
  --shadow: 0 14px 40px rgba(0, 27, 46, 0.12);
  --shadow-sm: 0 6px 20px rgba(0, 27, 46, 0.08);
  --container: 1600px;
  --display: "Chakra Petch", "Arial Narrow", sans-serif;
  --head: var(--body);
  --body: "DM Sans", Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4 {
  font-family: var(--display);
  line-height: 1.15;
  color: var(--navy);
  margin: 0 0 0.5em;
  font-weight: 700;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.15s ease;
}
a:hover {
  color: var(--red-dark);
}

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

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}
.skip-link:focus {
  left: 8px;
  top: 8px;
}

/* ----- Przyciski ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 16px 34px;
  border-radius: 0;
  transition:
    background 0.18s ease,
    color 0.18s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.btn--accent {
  background: var(--red);
  color: #fff;
}
.btn--accent:hover {
  background: var(--red-dark);
  color: #fff;
}

.btn--light {
  background: #fff;
  color: var(--navy);
}
.btn--light:hover {
  background: var(--red);
  color: #fff;
}

.btn--primary {
  background: var(--navy);
  color: #fff;
}
.btn--primary:hover {
  background: var(--red);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.55);
}
.btn--ghost:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.btn--lg {
  padding: 20px 42px;
  font-size: 0.95rem;
}

/* ==========================================================================
   HEADER — jasny pasek nawigacji
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  box-shadow: 0 2px 20px rgba(0, 27, 46, 0.08);
}

.header-bar__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 104px;
}

.site-logo {
  display: block;
  flex-shrink: 0;
}
.site-logo img {
  width: auto;
  height: 58px;
}

.main-nav {
  margin: 0 auto;
}

.cwk-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.cwk-menu a {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: var(--navy);
  padding: 10px 13px;
  border-radius: 0;
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}
.cwk-menu a::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.18s ease;
}
.cwk-menu a:hover,
.cwk-menu .current-menu-item > a {
  color: var(--red);
}
.cwk-menu a:hover::after,
.cwk-menu .current-menu-item > a::after {
  transform: scaleX(1);
}

.header-phone {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  padding: 16px 28px;
  border-radius: 0;
  white-space: nowrap;
}
.header-phone:hover {
  background: var(--navy);
  color: #fff;
}

/* Hamburger */
.nav-toggle {
  display: none;
  margin-left: auto;
  width: 46px;
  height: 46px;
  background: var(--red);
  border: 0;
  border-radius: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: #fff;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   MEGA MENU — panel pod pozycją "Oferta"
   ========================================================================== */
.cwk-menu .menu-item--mega {
  position: static; /* mega-panel pozycjonuje się względem .site-header */
}
.cwk-menu .menu-item--mega > a {
  /* Most pomocniczy — utrzymuje :hover w trakcie przejścia kursora
     z linku "Oferta" do panelu, mimo pustej przestrzeni w nagłówku. */
}
.cwk-menu .menu-item--mega > a::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 60px;
  background: transparent;
  /* nie blokuje kliknięć w sąsiednie elementy nagłówka — to tylko strefa hover */
  z-index: 1;
}
.cwk-menu .menu-item--mega > a .mega-caret {
  font-size: 0.7em;
  margin-left: 4px;
  display: inline-block;
  transform: translateY(-1px);
}

.mega-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 50;
  background: #fff;
  border-top: 2px solid var(--red, #009fff);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
  pointer-events: none;
}
.cwk-menu .menu-item--mega:hover > .mega-panel,
.cwk-menu .menu-item--mega:focus-within > .mega-panel,
.cwk-menu .menu-item--mega.is-open > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}

.mega-panel__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 36px;
  align-items: start;
}

.mega-panel__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 2px;
}

.mega-panel__item {
  margin: 0;
}

.mega-panel__link {
  display: block;
  padding: 10px 14px;
  font-family: var(--display, inherit);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy, #0d1b2a);
  border-left: 3px solid transparent;
  transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
  white-space: normal;
}
.mega-panel__link:hover,
.mega-panel__link:focus,
.mega-panel__link.is-active {
  background: #f6f7f9;
  color: var(--red, #009fff);
  border-left-color: var(--red, #009fff);
}

/* W mega-panelu wyłączamy efekt animowanej kreski akcentowej z .cwk-menu a */
.cwk-menu .mega-panel a::after {
  content: none;
}
/* Nadpisanie .cwk-menu a { white-space: nowrap } — w panelu długie nazwy mają się zawijać. */
.cwk-menu .mega-panel a {
  white-space: normal;
  overflow-wrap: anywhere;
  line-height: 1.3;
}

.mega-panel__preview {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #f6f7f9;
  overflow: hidden;
  border-radius: 0;
}
.mega-panel__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.2s ease;
}

@media (max-width: 980px) {
  .mega-panel {
    position: static;
    box-shadow: none;
    border-top: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }
  .cwk-menu .menu-item--mega.is-open > .mega-panel {
    display: block;
  }
  .mega-panel__inner {
    grid-template-columns: 1fr;
    padding: 12px 8px;
    gap: 12px;
  }
  .mega-panel__preview {
    display: none;
  }
  .mega-panel__list {
    grid-template-columns: 1fr;
  }
  /* Most hover na desktopie nie ma sensu na mobile — wyłącz, żeby nie blokował dotyku */
  .cwk-menu .menu-item--mega > a::before {
    display: none;
  }
}

/* ==========================================================================
   HERO — pełna szerokość, zdjęcie w tle, treść do lewej
   ========================================================================== */
.hero {
  position: relative;
  background:
    linear-gradient(
      90deg,
      rgba(0, 17, 29, 0.94) 0%,
      rgba(0, 17, 29, 0.78) 38%,
      rgba(0, 17, 29, 0.32) 72%,
      rgba(0, 17, 29, 0.15) 100%
    ),
    url("../hero-ventilation.webp") center center / cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.hero__inner {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 250px 28px 200px;
}
.hero__eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 20px;
}
.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.005em;
  margin-bottom: 0.45em;
  text-transform: uppercase;
  max-width: 620px;
}
.hero__text {
  font-size: 1.08rem;
  color: rgba(255, 255, 255, 0.84);
  max-width: 600px;
  margin: 0 0 2.4rem;
}
.hero__actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   STATYSTYKI — pasek akcentowy
   ========================================================================== */
.stats {
  background: var(--red);
  position: relative;
  margin-top: -1px;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  text-align: center;
  padding: 44px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}
.stat:last-child {
  border-right: 0;
}
.stat__num {
  display: block;
  font-family: var(--head);
  font-weight: 900;
  font-size: 3rem;
  color: #fff;
  line-height: 1;
}
.stat__label {
  display: block;
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ==========================================================================
   SEKCJE — wspólne
   ========================================================================== */
.section {
  padding-block: 96px;
}
.section--alt {
  background: var(--bg-alt);
}
.section--dark {
  background: var(--navy);
}

.section__eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 22px;
}
.section__eyebrow--light {
  color: var(--teal);
}

.section__title {
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.55em;
}
.section__title--light {
  color: #fff;
}

.section__lead {
  font-size: 1.08rem;
  color: var(--muted);
  max-width: 780px;
}

/* ==========================================================================
   KONTAKT
   ========================================================================== */
.contact-hero {
  background: #f3f3f4;
  padding: 108px 0 112px;
  text-align: center;
}
.contact-hero h1 {
  color: #404040;
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.contact-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4f4f4f;
  font-size: 0.95rem;
  font-weight: 700;
}
.contact-breadcrumb a {
  color: var(--red);
}
.contact-layout {
  background: #fff;
  padding: 84px 0 92px;
}
.contact-layout__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1fr);
  gap: clamp(52px, 7vw, 112px);
  align-items: start;
}
.contact-details .section__eyebrow {
  color: var(--navy);
  font-size: clamp(1.85rem, 3vw, 2.45rem);
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 16px;
}
.contact-details h2 {
  max-width: 580px;
  color: #3f3f3f;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.6;
  margin: 0 0 6px;
}
.contact-details__lead {
  color: #4f4f4f;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.75;
  max-width: 590px;
  margin: 0 0 40px;
}
.contact-company {
  display: grid;
  gap: 14px;
  margin-bottom: 34px;
  color: #4c4c4c;
}
.contact-company strong,
.contact-company span {
  display: block;
  font-weight: 800;
}
.contact-info-list {
  display: grid;
  gap: 28px;
}
.contact-info-item {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}
.contact-info-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  width: 28px;
  height: 30px;
  min-height: 30px;
}
.contact-info-item__icon svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
}
.contact-info-item h3 {
  color: #555;
  font-family: var(--body);
  font-size: 1rem;
  font-weight: 900;
  margin: 0 0 4px;
}
.contact-info-item p,
.contact-info-item a {
  display: block;
  color: #555;
  font-weight: 600;
  line-height: 1.55;
  margin: 0;
}
.contact-info-item a {
  color: var(--red);
}
.contact-info-item a:hover {
  color: var(--red-dark);
}
.contact-form {
  background: #f4f4f4;
  padding: clamp(38px, 5vw, 62px) clamp(28px, 4vw, 46px);
}
.contact-form__head {
  text-align: center;
  margin-bottom: 34px;
}
.contact-form__head h2 {
  color: var(--navy);
  font-size: clamp(1.35rem, 2.1vw, 1.75rem);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  text-transform: uppercase;
}
.contact-form__head p {
  color: #4f4f4f;
  font-weight: 700;
  line-height: 1.45;
  margin: 0;
}
.contact-form label {
  display: block;
  margin-bottom: 14px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dbdbdb;
  background: #fff;
  color: var(--ink);
  font-family: var(--body);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 15px 18px;
  outline: none;
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}
.contact-form textarea {
  min-height: 92px;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(0, 159, 255, 0.12);
}
.contact-form .btn {
  margin-top: 8px;
  padding: 15px 38px;
}
.contact-map {
  background: #000;
  height: 360px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(0.1) contrast(1.04);
}

/* ==========================================================================
   O NAS
   ========================================================================== */
.about-page-hero {
  background: #f3f3f4;
  padding: 108px 0 112px;
  text-align: center;
}
.about-page-hero h1 {
  color: #404040;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.about-page-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4f4f4f;
  font-size: 0.95rem;
  font-weight: 700;
}
.about-page-breadcrumb a {
  color: var(--red);
}
.about-page-main {
  background: #fff;
  padding: 78px 0 92px;
}

.about-page-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(56px, 7vw, 92px);
  align-items: center;
  margin-bottom: 112px;
}
.about-page-row--reverse {
  align-items: start;
}
.about-page-media img {
  width: 100%;
  aspect-ratio: 1.48;
  object-fit: cover;
}
.about-page-copy h2,
.about-page-values h2 {
  color: var(--navy);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  letter-spacing: -0.07em;
  line-height: 0.98;
  margin: 0 0 26px;
  text-transform: uppercase;
}
.about-page-copy p {
  color: #4f4f4f;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.72;
  margin-bottom: 18px;
}
.about-page-list {
  color: #4f4f4f;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
  margin: 0;
  padding-left: 22px;
}
.about-page-list li + li {
  margin-top: 4px;
}
.about-page-values {
  margin-top: 10px;
}
.about-page-values__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.about-page-value {
  border: 1px solid #c9cfd4;
  padding: 26px 28px 28px;
  min-height: 132px;
  background: #fff;
}
.about-page-value h3 {
  color: var(--red);
  font-family: var(--body);
  font-size: 1.04rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.about-page-value p {
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.62;
  margin: 0;
}
.about-page-reviews {
  background: var(--red);
  color: #fff;
  padding: 82px 0 86px;
}
.about-page-reviews h2 {
  color: #fff;
  font-size: clamp(2rem, 3vw, 2.7rem);
  letter-spacing: -0.06em;
  margin: 0 0 36px;
  text-align: center;
  text-transform: uppercase;
}
.about-page-reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 46px;
  max-width: 1120px;
  margin: 0 auto;
}
.about-page-review p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-style: italic;
  font-weight: 700;
  line-height: 1.72;
  margin: 0 0 26px;
}
.about-page-review strong {
  display: block;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  line-height: 1.45;
}
.about-page-cta {
  background: #fff;
  padding: 64px 0 68px;
}
.about-page-cta__box {
  max-width: 1120px;
  margin: 0 auto;
  border: 1px solid #9ea6ad;
  padding: 42px 28px 38px;
  text-align: center;
}
.about-page-cta__box h2 {
  color: var(--navy);
  font-size: clamp(1.65rem, 2.4vw, 2.15rem);
  letter-spacing: -0.06em;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.about-page-cta__box p {
  color: #4f4f4f;
  font-weight: 700;
  margin: 0 0 28px;
}
.about-page-cta__box .btn {
  padding: 15px 36px;
}

/* ----- Sekcja: odkurzacze + rozwiązania dla branż ----- */
.solutions__inner {
  display: grid;
  grid-template-columns: minmax(0, 540px) 1fr;
  gap: 90px;
  align-items: start;
}
.solutions__eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 26px;
}
.solutions__title {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.12;
  margin: 0;
}
.solutions__lead {
  color: var(--muted);
  font-size: 1.05rem;
  margin: 2.6rem 0 0;
}
.solutions__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 56px;
}
.solution__title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--navy);
  text-transform: none;
  margin-bottom: 0.85em;
}
.solution__text {
  color: var(--muted);
  font-size: 0.98rem;
  margin: 0;
}

@media (max-width: 1080px) {
  .solutions__inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }
}
@media (max-width: 620px) {
  .solutions__grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ----- Siatki kart ----- */
.cards {
  display: grid;
  gap: 28px;
  margin-top: 46px;
}
.cards--4 {
  grid-template-columns: repeat(4, 1fr);
}
.cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 38px 30px;
  transition:
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.card:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}
.card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  font-size: 1.8rem;
  background: var(--navy);
  color: #fff;
  border-radius: 0;
  margin-bottom: 22px;
  transition: background 0.2s ease;
}
.card:hover .card__icon {
  background: var(--red);
}
.card__title {
  font-size: 1.18rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.card__text {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

/* ----- Zespół — split ----- */
.team__inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 80px;
  align-items: center;
}
.team__body {
  max-width: 540px;
}
.team__body .section__lead {
  margin-bottom: 2rem;
}
.team__media {
  line-height: 0;
}
.team__photo {
  width: 100%;
  height: auto;
  display: block;
}

/* ----- O firmie / dystrybutor — naprzemienne wiersze ----- */
.about-row {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: 72px;
  align-items: center;
}
.about-row + .about-row {
  margin-top: 96px;
}
.about-row--reverse {
  grid-template-columns: 1.12fr 1fr;
}
.about-row__body {
  max-width: 620px;
}
.about-row--reverse .about-row__body {
  margin-left: auto;
}
.about-row__body .section__title {
  margin-bottom: 0.9em;
}
.about-row__text {
  color: var(--muted);
  font-size: 1.02rem;
}
.about-row__text p:last-child {
  margin-bottom: 0;
}
.about-row__text strong {
  color: var(--ink);
  font-weight: 700;
}
.about-row__body .btn {
  margin-top: 1.8rem;
}
.about-row__media {
  line-height: 0;
}
.about-row__media img {
  width: 100%;
  height: 100%;
  min-height: 440px;
  object-fit: cover;
  display: block;
}

/* ----- Nasza oferta — siatka kategorii ----- */
.offer__head {
  text-align: center;
  margin-bottom: 56px;
}
.offer__head .section__eyebrow {
  margin-bottom: 12px;
}
.offer__head .section__title {
  margin-bottom: 0;
}
.offer__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.offer-tile {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #eef1f3;
}
.offer-tile__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}
/* Przyciemnienie dla czytelności podpisu */
.offer-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 17, 29, 0.92) 0%,
    rgba(0, 17, 29, 0.45) 32%,
    rgba(0, 17, 29, 0) 58%
  );
  z-index: 1;
  transition: background 0.25s ease;
}
.offer-tile:hover .offer-tile__img {
  transform: scale(1.07);
}
.offer-tile:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 159, 255, 0.92) 0%,
    rgba(0, 17, 29, 0.5) 38%,
    rgba(0, 17, 29, 0) 62%
  );
}
.offer-tile__name {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  z-index: 2;
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1.25;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
/* Kreska akcentowa nad podpisem */
.offer-tile__name::before {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--red);
  margin-bottom: 14px;
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.offer-tile:hover .offer-tile__name::before {
  width: 54px;
  background: #fff;
}

@media (max-width: 1080px) {
  .offer__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 760px) {
  .offer__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .offer-tile__name {
    font-size: 0.95rem;
    left: 18px;
    right: 18px;
    bottom: 20px;
  }
}
@media (max-width: 440px) {
  .offer__grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Lista z ptaszkami ----- */
.check-list {
  list-style: none;
  margin: 1.6em 0 0;
  padding: 0;
}
.check-list li {
  position: relative;
  padding-left: 38px;
  margin-bottom: 14px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 1px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--red);
  color: #fff;
  font-size: 0.8rem;
  border-radius: 0;
}

/* ----- Realizacje ----- */
.realizacje__inner {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 72px;
  align-items: center;
}
.realizacje__body {
  max-width: 360px;
}
.realizacje__body .section__title {
  margin-bottom: 0.7em;
}
.realizacje__text {
  color: var(--muted);
  font-size: 1.02rem;
  margin-bottom: 2rem;
}
.realizacje__gallery {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-auto-rows: 300px;
  gap: 16px;
}
.realizacje__item {
  position: relative;
  display: block;
  overflow: hidden;
  background: #eef1f3;
}
.realizacje__item:nth-child(1),
.realizacje__item:nth-child(4) {
  grid-column: span 3;
}
.realizacje__item:nth-child(2),
.realizacje__item:nth-child(3) {
  grid-column: span 2;
}
.realizacje__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.55s ease;
}
.realizacje__item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 60%, rgba(0, 159, 255, 0.5));
  opacity: 0;
  transition: opacity 0.25s ease;
}
.realizacje__item:hover img {
  transform: scale(1.06);
}
.realizacje__item:hover::after {
  opacity: 1;
}

/* ----- Opinie ----- */
.testimonials {
  background: var(--red);
  position: relative;
  overflow: hidden;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}
.testimonials__head {
  text-align: center;
  margin-bottom: 56px;
}
.testimonials__head .section__eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}
.testimonials__head .section__title {
  margin-bottom: 0;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 40px 36px 34px;
  position: relative;
  overflow: hidden;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}
.testimonial:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.32);
}
.testimonial__stars {
  color: #ffc23d;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 22px;
}
.testimonial__quote {
  position: absolute;
  top: 18px;
  right: 28px;
  font-family: var(--head);
  font-size: 7rem;
  line-height: 1;
  color: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}
.testimonial__text {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 28px;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: auto;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}
.testimonial__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: var(--red);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.25rem;
  border-radius: 0;
}
.testimonial__meta {
  display: flex;
  flex-direction: column;
}
.testimonial__name {
  font-family: var(--head);
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
}
.testimonial__role {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.66);
}

/* ----- Pasek CTA ----- */
.cta-band {
  background: linear-gradient(120deg, var(--red) 0%, var(--red-dark) 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-band__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 60px 28px;
  flex-wrap: wrap;
}
.cta-band__title {
  color: #fff;
  margin-bottom: 0.15em;
  text-transform: uppercase;
}
.cta-band__text {
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}
.cta-band .btn--accent {
  background: #fff;
  color: var(--red);
}
.cta-band .btn--accent:hover {
  background: var(--navy);
  color: #fff;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: #090c0f;
  color: rgba(255, 255, 255, 0.7);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.2fr 1fr 1fr;
  gap: 48px;
  padding: 80px 28px 60px;
}
.footer-logo img {
  height: 72px;
  width: auto;
  margin-bottom: 20px;
}
.footer-tagline {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  max-width: 300px;
}
.footer-address {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  margin-bottom: 1em;
}

.footer-heading {
  color: #fff;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.3em;
  padding-bottom: 0.8em;
  position: relative;
}
.footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 38px;
  height: 3px;
  background: var(--red);
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-list li {
  margin-bottom: 11px;
}
.footer-list a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
}
.footer-list a:hover {
  color: var(--teal);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 24px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-radius: 0;
  font-size: 0.9rem;
  font-weight: 700;
}
.footer-social a:hover {
  background: var(--red);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
}
.footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  flex-wrap: wrap;
}
.footer-bottom span {
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom a {
  color: var(--teal);
}

/* ==========================================================================
   FALLBACK — lista wpisów
   ========================================================================== */
.post-list__item {
  padding-bottom: 26px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   BLOG — archiwum (listing wpisów)
   ========================================================================== */
.blog-hero {
  background: #f3f3f4;
  padding: 108px 0 112px;
  text-align: center;
}
.blog-hero h1 {
  color: #404040;
  font-size: clamp(2.35rem, 4vw, 3.5rem);
  margin: 0 0 12px;
  text-transform: uppercase;
}
.blog-hero__breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #4f4f4f;
  font-size: 0.95rem;
  font-weight: 700;
}
.blog-hero__breadcrumb a {
  color: var(--red);
}

.blog-archive {
  background: #fff;
  padding: 78px 0 92px;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px;
  margin: 0 auto 56px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.blog-card:hover {
  box-shadow: var(--shadow-sm);
}
.blog-card__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #e3e8ec;
}
.blog-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card__img {
  transform: scale(1.04);
}
.blog-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
}
.blog-card__body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 12px;
}
.blog-card__cat {
  color: var(--red);
}
.blog-card__cat::before {
  content: "•";
  margin-right: 14px;
  color: var(--muted);
}
.blog-card__title {
  font-size: 1.4rem;
  letter-spacing: -0.04em;
  line-height: 1.2;
  margin: 0 0 14px;
}
.blog-card__title a {
  color: var(--navy);
}
.blog-card__title a:hover {
  color: var(--red);
}
.blog-card__excerpt {
  color: #4f4f4f;
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 22px;
  flex: 1;
}
.blog-card__excerpt p {
  margin: 0;
}
.blog-section__head {
  text-align: center;
  margin-bottom: 56px;
}
.blog-section__head .section__eyebrow {
  margin-bottom: 12px;
}
.blog-section__head .section__title {
  margin-bottom: 0;
}
.blog-section__cta {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.blog-card__more {
  align-self: flex-start;
  color: var(--red);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}
.blog-card__more:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.blog-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}
.blog-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--head);
  font-weight: 700;
  font-size: 0.95rem;
}
.blog-pagination .page-numbers.current,
.blog-pagination .page-numbers:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}
.blog-empty {
  text-align: center;
  color: var(--muted);
  font-weight: 700;
  padding: 40px 0;
}

/* ==========================================================================
   BLOG — pojedynczy wpis (single)
   ========================================================================== */
.post-hero {
  background: #f3f3f4;
  color: #404040;
  padding: 84px 0 86px;
}
.post-hero__inner {
  max-width: 1320px;
}
.post-hero__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 700;
  color: #4f4f4f;
  margin-bottom: 28px;
}
.post-hero__breadcrumb a {
  color: var(--red);
}
.post-hero__breadcrumb a:hover {
  color: var(--red-dark);
}
.post-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--muted);
  margin-bottom: 22px;
}
.post-hero__cat {
  background: var(--red);
  color: #fff;
  padding: 6px 14px;
  letter-spacing: 0.1em;
}
.post-hero__title {
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.post-hero__lead {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #4f4f4f;
  font-weight: 500;
  margin: 0;
  max-width: 760px;
}

.post-single__featured {
  background: #fff;
  padding: 0;
}
.post-single__featured > .container {
  max-width: 1320px;
  padding: 0 28px;
}
.post-single__featured-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  margin-top: 40px;
}

.post-single__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 64px;
  padding: 72px 28px 84px;
  max-width: 1320px;
}

.post-single__content {
  font-size: 1.02rem;
  line-height: 1.78;
  color: #2a3640;
}
.post-single__content > h2 {
  font-size: clamp(1.6rem, 2.3vw, 2rem);
  letter-spacing: -0.04em;
  margin: 44px 0 16px;
  color: var(--navy);
  text-transform: uppercase;
}
.post-single__content > h3 {
  font-size: 1.35rem;
  margin: 32px 0 12px;
  color: var(--navy);
}
.post-single__content > p {
  margin: 0 0 1.2em;
}
.post-single__content ul,
.post-single__content ol {
  padding-left: 1.4em;
  margin: 0 0 1.4em;
}
.post-single__content li {
  margin-bottom: 0.4em;
}
.post-single__content blockquote {
  border-left: 4px solid var(--red);
  margin: 28px 0;
  padding: 8px 0 8px 24px;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--navy);
  font-style: italic;
}
.post-single__content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.post-single__content img {
  margin: 24px 0;
}
.post-single__content figure {
  margin: 28px 0;
}

.post-single__tags {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.post-single__tags-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-right: 6px;
  font-size: 0.78rem;
}
.post-single__tags a {
  background: #f1f3f5;
  color: var(--navy);
  padding: 5px 12px;
  font-weight: 600;
}
.post-single__tags a:hover {
  background: var(--red);
  color: #fff;
}

.post-single__aside {
  position: sticky;
  top: 28px;
  align-self: start;
}
.post-aside-card {
  background: var(--navy);
  color: #fff;
  padding: 32px 28px 34px;
}
.post-aside-card h3 {
  color: #fff;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.post-aside-card p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.post-single__pages {
  margin-top: 22px;
  font-weight: 700;
}
.post-single__pages a {
  margin: 0 4px;
}

@media (max-width: 1080px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .post-single__layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .post-single__aside {
    position: static;
  }
}

@media (max-width: 720px) {
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .blog-hero,
  .post-hero {
    padding: 72px 0;
  }
}

/* ==========================================================================
   RESPONSYWNOŚĆ
   ========================================================================== */
@media (max-width: 1080px) {
  .cards--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .contact-layout__grid {
    grid-template-columns: 1fr;
  }
  .contact-form {
    max-width: none;
  }
  .about-page-row,
  .about-page-row--reverse {
    grid-template-columns: 1fr;
    gap: 38px;
    margin-bottom: 76px;
  }
  .about-page-row--reverse .about-page-copy {
    order: 1;
  }
  .about-page-row--reverse .about-page-media {
    order: 2;
  }
  .about-page-values__grid,
  .about-page-reviews__grid {
    grid-template-columns: 1fr;
  }
  .about-page-reviews__grid {
    gap: 34px;
    max-width: 700px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 920px) {
  .header-bar__inner {
    min-height: 0;
    padding-top: 14px;
    padding-bottom: 14px;
  }
  .site-logo img {
    height: 42px;
  }
  .nav-toggle {
    display: flex;
    border-radius: 0;
  }
  .header-phone {
    display: none;
  }

  .main-nav {
    position: fixed;
    inset: 74px 0 auto 0;
    background: rgba(255, 255, 255, 0.98);
    border-top: 1px solid var(--line);
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin: 0;
  }
  .main-nav::before {
    content: "";
    display: block;
    height: 4px;
    background: var(--red);
  }
  .main-nav.is-open {
    max-height: calc(100vh - 74px);
    overflow-y: auto;
  }
  .cwk-menu {
    flex-direction: column;
    gap: 2px;
    padding: 20px 28px 28px;
  }
  .cwk-menu a {
    border-radius: 0;
    border-bottom: 0;
    color: var(--navy);
    font-family: var(--display);
    font-size: 1.02rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding: 12px 0 12px 18px;
    position: relative;
  }
  .cwk-menu a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background: var(--red);
    transform: translateY(-50%) scale(0);
    transition: transform 0.18s ease;
  }
  .cwk-menu a::after {
    left: 18px;
    right: 0;
    bottom: 7px;
    width: auto;
    height: 2px;
    background: var(--red);
    opacity: 0.18;
    transform: scaleX(0);
    transform-origin: left;
  }
  .cwk-menu a:hover::after,
  .cwk-menu .current-menu-item > a::after {
    transform: scaleX(1);
  }
  .cwk-menu a:hover::before,
  .cwk-menu .current-menu-item > a::before {
    transform: translateY(-50%) scale(1);
  }
  .cwk-menu .current-menu-item > a {
    color: var(--red);
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat:nth-child(2) {
    border-right: 0;
  }
  .stat:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }

  .team__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-row,
  .about-row--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-row + .about-row {
    margin-top: 60px;
  }
  .about-row__body,
  .about-row--reverse .about-row__body {
    max-width: none;
    margin-left: 0;
    order: 1;
  }
  .about-row__media {
    order: 2;
  }
  .about-row__media img {
    min-height: 280px;
  }

  .cards--3 {
    grid-template-columns: 1fr;
  }
  .testimonials__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin: 0 auto;
  }

  .realizacje__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .realizacje__body {
    max-width: none;
  }
  .realizacje__gallery {
    grid-auto-rows: 240px;
  }
}

@media (max-width: 560px) {
  .section {
    padding-block: 64px;
  }
  .header-bar__inner {
    padding-top: 12px;
    padding-bottom: 12px;
  }
  .site-logo img {
    height: 36px;
  }
  .nav-toggle {
    width: 42px;
    height: 42px;
  }
  .main-nav {
    inset: 66px 0 auto 0;
  }
  .contact-hero {
    padding: 76px 0 78px;
  }
  .contact-layout {
    padding: 58px 0 66px;
  }
  .contact-layout__grid {
    gap: 42px;
  }
  .contact-info-item {
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 16px;
  }
  .contact-form {
    padding: 32px 22px;
  }
  .contact-form .btn {
    width: 100%;
  }
  .contact-map {
    height: 320px;
  }
  .about-page-hero {
    padding: 76px 0 78px;
  }
  .about-page-main {
    padding: 56px 0 64px;
  }
  .about-page-row {
    margin-bottom: 58px;
  }
  .about-page-media img {
    aspect-ratio: 1.25;
  }
  .about-page-value {
    padding: 22px;
  }
  .about-page-reviews {
    padding: 58px 0 62px;
  }
  .about-page-cta {
    padding: 42px 0 48px;
  }
  .about-page-cta__box {
    padding: 34px 22px 30px;
  }
  .cards--4 {
    grid-template-columns: 1fr;
  }
  .stats__grid {
    grid-template-columns: 1fr;
  }
  .stat {
    border-right: 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .realizacje__gallery {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .realizacje__item:nth-child(1),
  .realizacje__item:nth-child(2),
  .realizacje__item:nth-child(3),
  .realizacje__item:nth-child(4) {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero__inner {
    padding: 84px 24px 92px;
  }
  .cta-band__inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .cert-page {
    padding: 48px 0 60px;
  }
  .downloads-page {
    padding: 48px 0 60px;
  }
  .downloads-list {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   ATESTY / PATENTY — galeria certyfikatów
   ========================================================================== */
.cert-page {
  background: #fff;
  padding: 72px 0 92px;
}
.cert-page__inner {
  max-width: 1080px;
}
.cert-page .wp-block-gallery {
  gap: 18px;
}
.cert-page .wp-block-image {
  border: 1px solid #e3e6ea;
  background: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.cert-page .wp-block-image:hover {
  border-color: var(--red);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}
.cert-page .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
}
.cert-page .wp-block-image figcaption {
  color: #4f4f4f;
  font-size: 0.85rem;
  padding: 8px 10px 10px;
  text-align: center;
}

/* ==========================================================================
   DO POBRANIA
   ========================================================================== */
.downloads-page {
  background: #fff;
  padding: 78px 0 96px;
}
.downloads-page__inner {
  max-width: 1080px;
}
.downloads-page__intro {
  color: #4f4f4f;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}
.downloads-page__groups {
  display: flex;
  flex-direction: column;
  gap: 56px;
}
.downloads-group__head {
  margin-bottom: 18px;
}
.downloads-group__title {
  color: var(--navy);
  font-size: clamp(1.6rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.downloads-group__desc {
  color: #4f4f4f;
  font-size: 0.96rem;
  font-weight: 600;
  margin: 0;
}
.downloads-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.downloads-list__item {
  margin: 0;
}
.downloads-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border: 1px solid #d8dde2;
  background: #fff;
  color: inherit;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.downloads-item:hover,
.downloads-item:focus-visible {
  border-color: var(--red);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.07);
  text-decoration: none;
}
.downloads-item__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 6px;
  background: var(--red);
  color: #fff;
  font-family: var(--body);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}
.downloads-item__icon--cd {
  background: #404040;
}
.downloads-item__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.downloads-item__title {
  color: var(--navy);
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.35;
}
.downloads-item__cta {
  color: var(--red);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

/* ==========================================================================
   LIGHTBOX (galeria atestów / patentów)
   ========================================================================== */
.cert-page .wp-block-image a {
  cursor: zoom-in;
  display: block;
}
body.cwk-lightbox-open {
  overflow: hidden;
}
.cwk-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(10, 14, 22, 0.92);
  padding: 40px 16px;
  animation: cwkLightboxFade 0.2s ease;
}
.cwk-lightbox.is-open {
  display: flex;
}
@keyframes cwkLightboxFade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cwk-lightbox__stage {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.cwk-lightbox__img {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 130px);
  width: auto;
  height: auto;
  background: #fff;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}
.cwk-lightbox__counter {
  color: #d4d8df;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}
.cwk-lightbox__close,
.cwk-lightbox__nav {
  position: absolute;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.cwk-lightbox__close:hover,
.cwk-lightbox__nav:hover,
.cwk-lightbox__close:focus-visible,
.cwk-lightbox__nav:focus-visible {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  outline: none;
}
.cwk-lightbox__close {
  top: 18px;
  right: 18px;
  font-size: 1.7rem;
}
.cwk-lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}
.cwk-lightbox__nav--prev { left: 18px; }
.cwk-lightbox__nav--next { right: 18px; }

@media (max-width: 640px) {
  .cwk-lightbox { padding: 16px 8px; }
  .cwk-lightbox__close,
  .cwk-lightbox__nav {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  .cwk-lightbox__close { top: 10px; right: 10px; }
  .cwk-lightbox__nav--prev { left: 8px; }
  .cwk-lightbox__nav--next { right: 8px; }
  .cwk-lightbox__img { max-height: calc(100vh - 110px); }
}
