:root {
  --brand-orange: #ff652f;
  --brand-orange-dark: #e55524;
  --brand-navy: #021a44;
  --brand-navy-mid: #1b2b46;
  --brand-grey: #646f8d;
  --brand-white: #ffffff;
  --brand-grey-light: #f8f8f8; /* tylko sekcje .alt (pasy na home) */
  --brand-border: #e6e8f2;
  --header-h: 4.5rem;
  --container: 1286px;
  --font-sans: 'Poppins', sans-serif;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-pill: 100px;
}

* { box-sizing: border-box; }
html {
  overflow-x: hidden;
  max-width: 100%;
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--brand-navy-mid);
  background-color: var(--brand-white);
  overflow-x: hidden;
  max-width: 100%;
  position: relative;
}
main#main-content {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
  max-width: 100%;
}
body.has-hero { padding-top: 0; }
body:not(.has-hero) { padding-top: var(--header-h); }

a { color: var(--brand-orange); text-decoration: none; }
a:hover { color: var(--brand-orange-dark); }
img { max-width: 100%; height: auto; display: block; }
/* Banery / hero — pełne skalowanie tła (cover), bez globalnego height:auto */
.page-banner__image,
.page-banner__media img,
.page-banner__media video,
.hero-home__video,
.hero-home .hero-home__media video,
.hero-home .hero-home__media img {
  max-width: none;
  width: 100%;
  height: 100%;
  display: block;
}

/* === HEADER / NAV (jak oryginał) === */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10000;
  height: var(--header-h);
  background: var(--brand-white);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header .logo,
.site-header .header-actions,
.site-header .main-nav > .nav-item {
  position: relative;
  z-index: 3;
}
.site-header--transparent {
  background: transparent;
  box-shadow: none;
}
.site-header--scrolled {
  background: var(--brand-white);
  box-shadow: 0 1px 0 var(--brand-border);
}
.site-header .inner {
  position: relative;
  z-index: 2;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-header .logo,
.site-header .header-actions {
  align-self: center;
}
.logo img { height: 28.6px; width: auto; }
.logo-img { display: none; }
.site-header--transparent:not(.site-header--scrolled):not(.menu-open):not(.mobile-nav-open) .logo-img--light {
  display: block;
}
body.has-page-intro .site-header--transparent:not(.site-header--scrolled):not(.menu-open):not(.mobile-nav-open) .logo-img--light {
  display: none;
}
body.has-page-intro .site-header--transparent:not(.site-header--scrolled):not(.menu-open):not(.mobile-nav-open) .logo-img--dark {
  display: block;
}
.site-header--scrolled .logo-img--dark,
.site-header:not(.site-header--transparent) .logo-img--dark,
.site-header.menu-open .logo-img--dark,
.site-header.mobile-nav-open .logo-img--dark {
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  justify-content: center;
  height: 100%;
}
.main-nav > .nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0 10.8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-navy);
  position: relative;
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
}
.nav-link__icon {
  display: inline-flex;
  flex-shrink: 0;
  opacity: 0.72;
  transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-link__icon .nav-icon {
  display: block;
}
.nav-link__text {
  position: relative;
  display: inline-block;
}
.nav-link__text::before {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-navy);
  transition: width 0.3s ease;
}
.nav-link__chevron {
  display: inline-flex;
  margin-left: -2px;
  opacity: 0.55;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.25s ease;
}
.nav-icon--chevron {
  display: block;
}
.nav-item:hover > .nav-link .nav-link__icon,
.nav-item:focus-within > .nav-link .nav-link__icon,
.nav-item.nav-item--open > .nav-link .nav-link__icon {
  opacity: 1;
}
.nav-item:hover > .nav-link .nav-link__chevron,
.nav-item:focus-within > .nav-link .nav-link__chevron,
.nav-item.nav-item--open > .nav-link .nav-link__chevron {
  opacity: 1;
  transform: rotate(180deg);
}
.nav-link:hover .nav-link__icon,
.nav-link--current .nav-link__icon {
  opacity: 1;
}
.btn-header-cta {
  gap: 8px;
}
.btn-header-cta__icon {
  display: inline-flex;
  opacity: 0.9;
}
.btn-header-cta__icon .nav-icon {
  display: block;
}
@media (min-width: 1318px) {
  .nav-item { padding: 0 0.675rem; }
}
.nav-link:hover,
.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link {
  color: var(--brand-orange);
}
.nav-link:hover .nav-link__text::before,
.nav-item:hover > .nav-link .nav-link__text::before,
.nav-item:focus-within > .nav-link .nav-link__text::before {
  width: 100%;
  background: var(--brand-orange);
}
.nav-link--current .nav-link__text::before {
  width: 100%;
  background: var(--brand-navy-mid);
}
.nav-link--current {
  color: var(--brand-navy-mid);
}

/* Aktywny element z dropdownem — pomarańcz + podkreślenie (jak oryginał) */
.nav-item.has-mega:hover > .nav-link,
.nav-item.has-mega:focus-within > .nav-link,
.nav-item.nav-item--open > .nav-link {
  color: var(--brand-orange) !important;
}
.nav-item.has-mega:hover > .nav-link .nav-link__text::before,
.nav-item.has-mega:focus-within > .nav-link .nav-link__text::before,
.nav-item.nav-item--open > .nav-link .nav-link__text::before {
  width: 100% !important;
  background: var(--brand-orange) !important;
}

.site-header--transparent .nav-link { color: #fff; }
.site-header--transparent .nav-link__text::before { background: #fff; }
.site-header--transparent .nav-link:hover,
.site-header--transparent .nav-item:hover > .nav-link,
.site-header--transparent .nav-item:focus-within > .nav-link {
  color: var(--brand-orange);
}
.site-header--transparent .nav-item:hover > .nav-link .nav-link__text::before,
.site-header--transparent .nav-item:focus-within > .nav-link .nav-link__text::before {
  width: 100%;
  background: var(--brand-orange) !important;
}

/* Header przy otwartym menu mobilnym */
.site-header.mobile-nav-open {
  background: var(--brand-white);
  box-shadow: none;
}

/* Desktop: biały pasek przy mega/dropdown */
@media (min-width: 1318px) {
  .site-header--transparent:has(.nav-item.has-mega:hover),
  .site-header--transparent:has(.nav-item.has-mega:focus-within),
  .site-header.menu-open,
  .site-header:has(.nav-item.has-mega:hover),
  .site-header:has(.nav-item.has-mega:focus-within),
  .site-header--scrolled.menu-open,
  .site-header--scrolled:has(.nav-item.has-mega:hover),
  .site-header--scrolled:has(.nav-item.has-mega:focus-within) {
    background: var(--brand-white);
    box-shadow: none;
  }
}

/* Desktop mega — tło tylko pod panelem dropdown (jak oryginał), nie na całą stronę */
@media (min-width: 1318px) {
  .main-nav > .nav-item.has-mega {
    display: flex;
    align-items: center;
    align-self: stretch;
    height: 100%;
  }
  .nav-panel {
    left: 0;
    right: auto;
    min-width: max-content;
  }
  .nav-panel-bg {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: -100vw;
    width: 200vw;
    height: 100%;
    background: var(--brand-white);
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 18px 48px -16px rgba(15, 23, 42, 0.12);
  }
  .site-header {
    overflow: visible;
  }
  .site-header .inner {
    overflow: visible;
  }
}
.site-header.mobile-nav-open .nav-link {
  color: var(--brand-navy);
}
@media (min-width: 1318px) {
  .site-header--transparent:has(.nav-item.has-mega:hover) .nav-link,
  .site-header--transparent:has(.nav-item.has-mega:focus-within) .nav-link,
  .site-header.menu-open .nav-link {
    color: var(--brand-navy);
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .nav-item.has-mega:hover > .nav-link,
  .site-header--transparent:has(.nav-item.has-mega:focus-within) .nav-item.has-mega:focus-within > .nav-link,
  .site-header.menu-open .nav-item.nav-item--open > .nav-link {
    color: var(--brand-orange) !important;
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .nav-link__text::before,
  .site-header.menu-open .nav-link__text::before {
    background: var(--brand-navy);
    width: 0;
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .nav-item.has-mega:hover > .nav-link .nav-link__text::before,
  .site-header.menu-open .nav-item.nav-item--open > .nav-link .nav-link__text::before {
    width: 100% !important;
    background: var(--brand-orange) !important;
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .logo-img--light,
  .site-header--transparent:has(.nav-item.has-mega:focus-within) .logo-img--light,
  .site-header.menu-open .logo-img--light {
    display: none !important;
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .logo-img--dark,
  .site-header--transparent:has(.nav-item.has-mega:focus-within) .logo-img--dark,
  .site-header.menu-open .logo-img--dark {
    display: block !important;
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .lang-switch,
  .site-header.menu-open .lang-switch {
    color: var(--brand-navy);
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .hamburger-line,
  .site-header.menu-open .hamburger-line {
    background: var(--brand-navy);
  }
  .site-header--transparent:has(.nav-item.has-mega:hover) .btn-ghost-white,
  .site-header.menu-open .btn-ghost-white {
    background: var(--brand-orange);
    color: #fff;
    border-color: var(--brand-orange);
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-navy);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: inherit;
}
.site-header--transparent .lang-switch { color: #fff; }
.lang-switch img { width: 20px; height: auto; border-radius: 2px; }

/* === Panele dropdown / mega — premium slide + fade === */
:root {
  --nav-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --nav-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes navPanelReveal {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes navMegaLinkIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-panel {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 4;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  padding-top: 1.5rem;
  transition:
    opacity 0.28s var(--nav-ease),
    visibility 0.28s;
}
.nav-item:hover > .nav-panel,
.nav-item:focus-within > .nav-panel,
.nav-item.nav-item--open > .nav-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.nav-panel-inner {
  position: relative;
  padding: 1.75rem 0 2.5rem 0.675rem;
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.4s var(--nav-ease) 0.06s,
    transform 0.48s var(--nav-ease-out) 0.06s;
}
.nav-item:hover > .nav-panel .nav-panel-inner,
.nav-item:focus-within > .nav-panel .nav-panel-inner,
.nav-item.nav-item--open > .nav-panel .nav-panel-inner {
  opacity: 1;
  transform: translateY(0);
}

/* Technologia — 4 kolumny po 175px */
.nav-panel-inner--tech {
  display: grid;
  grid-template-columns: repeat(4, 175px);
  gap: 2rem;
}

/* O nas — 2 kolumny jak mega menu */
.nav-panel-inner--about {
  display: grid;
  grid-template-columns: repeat(2, 200px);
  gap: 2rem;
}

/* Branże — etykieta + siatka 2 kolumn */
.nav-panel-inner--industries {
  padding-left: 0.675rem;
}
.nav-mega-col--wide {
  min-width: 0;
}
.nav-mega-links--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 500px;
  max-width: calc(100vw - 48px);
  column-gap: 16px;
  row-gap: 0.5rem;
}

.nav-mega-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 0.75rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #a7a9b4;
  text-transform: none;
  letter-spacing: 0;
}
.nav-mega-title__icon {
  display: inline-flex;
  opacity: 0.85;
  color: var(--brand-orange);
}

.nav-mega-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mega-links > li {
  opacity: 0;
  transform: translateY(6px);
}
.nav-item:hover > .nav-panel .nav-mega-links > li,
.nav-item:focus-within > .nav-panel .nav-mega-links > li,
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li {
  animation: navMegaLinkIn 0.45s var(--nav-ease-out) forwards;
}
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(1),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(1),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(1) { animation-delay: 0.04s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(2),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(2),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(2) { animation-delay: 0.08s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(3),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(3),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(3) { animation-delay: 0.12s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(4),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(4),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(4) { animation-delay: 0.16s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(5),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(5),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(5) { animation-delay: 0.2s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(6),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(6),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(6) { animation-delay: 0.24s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(7),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(7),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(7) { animation-delay: 0.28s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(8),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(8),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(8) { animation-delay: 0.32s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(9),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(9),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(9) { animation-delay: 0.36s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(10),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(10),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(10) { animation-delay: 0.4s; }
.nav-item:hover > .nav-panel .nav-mega-links > li:nth-child(n+11),
.nav-item:focus-within > .nav-panel .nav-mega-links > li:nth-child(n+11),
.nav-item.nav-item--open > .nav-panel .nav-mega-links > li:nth-child(n+11) { animation-delay: 0.44s; }

.nav-mega-col {
  opacity: 0;
  transform: translateY(12px);
  transition:
    opacity 0.42s var(--nav-ease) 0.08s,
    transform 0.5s var(--nav-ease-out) 0.08s;
}
.nav-item:hover > .nav-panel .nav-mega-col,
.nav-item:focus-within > .nav-panel .nav-mega-col,
.nav-item.nav-item--open > .nav-panel .nav-mega-col {
  opacity: 1;
  transform: translateY(0);
}
.nav-panel-inner--tech .nav-mega-col:nth-child(1) { transition-delay: 0.05s; }
.nav-panel-inner--tech .nav-mega-col:nth-child(2) { transition-delay: 0.1s; }
.nav-panel-inner--tech .nav-mega-col:nth-child(3) { transition-delay: 0.15s; }
.nav-panel-inner--tech .nav-mega-col:nth-child(4) { transition-delay: 0.2s; }

.nav-mega-link {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-decoration: none;
  position: relative;
  max-width: 100%;
  padding: 2px 0;
}
.nav-mega-link__icon {
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.65;
  transition: opacity 0.25s ease, color 0.25s ease;
}
.nav-mega-link__text {
  position: relative;
}
.nav-mega-link__text::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-orange);
  transition: width 0.3s var(--nav-ease);
}
.nav-mega-link__ext {
  flex-shrink: 0;
  margin-left: auto;
  opacity: 0.45;
  align-self: center;
}
.nav-mega-link:hover {
  color: var(--brand-orange);
}
.nav-mega-link:hover .nav-mega-link__icon {
  opacity: 1;
  color: var(--brand-orange);
}
.nav-mega-link:hover .nav-mega-link__text::after {
  width: 100%;
}

.nav-mega-link--sentence {
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
}

@media (prefers-reduced-motion: reduce) {
  .nav-panel,
  .nav-panel-inner,
  .nav-panel-bg,
  .nav-mega-col,
  .nav-mega-links > li,
  .nav-link__icon,
  .nav-link__chevron {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }
  .nav-item:hover > .nav-panel,
  .nav-item.nav-item--open > .nav-panel {
    opacity: 1;
    visibility: visible;
  }
  .nav-item:hover > .nav-panel .nav-mega-links > li,
  .nav-item.nav-item--open > .nav-panel .nav-mega-links > li {
    opacity: 1;
    transform: none;
  }
}

/* Przyciski */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 9.5px 24px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}
.btn-primary:hover {
  background: transparent;
  color: var(--brand-orange);
}
.btn-ghost-white {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn-ghost-white:hover {
  background: #fff;
  color: var(--brand-navy);
}
.btn-outline {
  background: transparent;
  color: var(--brand-orange);
  border-color: var(--brand-orange);
}
.btn-outline:hover {
  background: var(--brand-orange);
  color: #fff;
}
.site-header:not(.site-header--transparent) .btn-header-cta {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}

/* === HERO STRONA GŁÓWNA (1:1 firefly.com.pl) === */
.hero-home {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: stretch;
  height: 100svh;
  min-height: 560px;
  color: #fff;
  overflow: hidden;
}
@media (min-width: 1318px) {
  .hero-home {
    height: 900px;
    min-height: 900px;
  }
}
.hero-home__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #fff;
}
.hero-home__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-home__content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 24px) 16px 48px;
  display: grid;
  gap: 3rem;
  align-items: center;
  color: #fff;
}
@media (min-width: 1318px) {
  .hero-home__content {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
    padding-left: 16px;
    padding-right: 16px;
  }
}
.hero-home__brand {
  margin: 0;
  font-size: 60px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: #fff;
  align-self: center;
}
@media (min-width: 1318px) {
  .hero-home__brand {
    grid-column: span 4;
  }
}
.hero-home__description {
  align-self: center;
  text-align: right;
}
@media (min-width: 1318px) {
  .hero-home__description {
    grid-column: span 4;
  }
}
.hero-home__headline-wrap {
  margin-bottom: 2.5rem;
}
@media (min-width: 1318px) {
  .hero-home__headline-wrap {
    margin-bottom: 2rem;
  }
}
.hero-home__headline {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
}
@media (min-width: 1318px) {
  .hero-home__headline {
    font-size: 3.75rem;
    line-height: 1.1;
    letter-spacing: -1.8px;
  }
}
.hero-home__headline strong {
  color: var(--brand-orange);
  display: inline;
  font-weight: 400;
}
.hero-home__pillars.ff-breadcrumbs {
  display: block;
}
.hero-home__pillars .ff-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
}
.hero-home__pillars .ff-breadcrumbs__link {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
@media (max-width: 1317px) {
  .hero-home__brand {
    font-size: clamp(2.5rem, 12vw, 3.75rem);
  }
  .hero-home__description {
    text-align: left;
  }
  .hero-home__pillars .ff-breadcrumbs__list {
    justify-content: flex-start;
  }
}

/* === Strona główna — sekcje jak firefly.com.pl === */
.link-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-orange);
  text-decoration: none;
}
.link-cta:hover {
  text-decoration: underline;
}
.home-divided {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 1318px) {
  .home-divided {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .home-divided__title {
    grid-column: span 4;
  }
  .home-divided__body {
    grid-column: span 4;
  }
  .home-divided--feature .home-divided__body {
    grid-column: span 4;
  }
  .home-divided--feature .home-divided__media {
    grid-column: span 4;
  }
  .section--home-feature-reverse .home-divided__media {
    order: 1;
    grid-column: 1 / span 4;
  }
  .section--home-feature-reverse .home-divided__body {
    order: 2;
    grid-column: 5 / span 4;
  }
}
.home-divided h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--brand-orange);
}
.home-divided__body p {
  margin: 0 0 1rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.section--home-about {
  padding-top: 48px;
  padding-bottom: 48px;
  background: #fff;
}
.section--home-feature {
  padding: 48px 16px;
  background: #fff;
}
.home-video-slider {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.home-video-slider__swiper {
  overflow: hidden !important;
  width: 100%;
  max-width: 100%;
  height: auto !important;
}
.home-video-slider__swiper .swiper-wrapper {
  height: auto !important;
  max-height: none;
  align-items: flex-start;
}
.home-video-slider__swiper .swiper-slide {
  width: 100% !important;
  height: auto !important;
}
.home-video-slider__video {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background: var(--brand-grey-light);
}
.home-video-slider__footer {
  margin-top: 1rem;
}
.home-video-slider__label {
  margin: 0.75rem 0 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy-mid);
}
.home-video-slider__pagination {
  position: static !important;
  display: flex;
  gap: 8px;
}
.home-video-slider__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  background: #c5c9d4;
  opacity: 1;
}
.home-video-slider__pagination .swiper-pagination-bullet-active {
  background: var(--brand-orange);
}
.cert-strip--partners {
  margin-top: 1.5rem;
  gap: 16px 20px;
}
.home-presentation {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}
@media (min-width: 1318px) {
  .home-presentation {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .home-presentation__media {
    grid-column: span 4;
  }
  .home-presentation__body {
    grid-column: span 4;
  }
}
.home-presentation__image {
  width: 100%;
  max-width: 615px;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.home-presentation__body h2 {
  margin: 0 0 1rem;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.home-presentation__body p {
  margin: 0 0 1rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}
.section--home-why {
  background: #fff;
  padding: 48px 16px 64px;
}
.industries-slider__heading {
  margin: 0 0 2rem;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-navy-mid);
}
.industries-swiper--home .industry-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: none;
}
.industries-swiper--home .industry-card img {
  height: 280px;
  border-radius: 0;
}
.industries-swiper--home .industry-card .card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 26, 68, 0.85) 100%);
  color: #fff;
}
.industries-swiper--home .industry-card h3 {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
}
.industries-swiper--home .industry-card .read-more {
  color: var(--brand-orange);
  font-size: 14px;
}
.industries-swiper--home .industry-card__icon {
  width: 35px;
  height: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}
.section--home-news .section-header-row {
  margin-bottom: 2rem;
}
.section-header-row__nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.home-news-swiper__arrows {
  display: flex;
  gap: 8px;
}
.home-news-swiper__btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border: none;
  background: transparent url('../icons/swiper-arrow.svg') center / contain no-repeat;
  cursor: pointer;
}
.home-news-swiper__btn--next {
  transform: rotate(180deg);
}
.home-news-swiper__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}
.home-news-swiper.swiper {
  overflow: hidden;
}
.home-news-swiper .swiper-slide {
  height: auto;
}
.home-seo__title {
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 3vw, 30px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-navy-mid);
}
.home-seo__intro p,
.home-seo__more p {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
  margin: 0 0 1rem;
}
.home-seo__more h2 {
  margin: 2rem 0 1rem;
  font-size: 30px;
  font-weight: 500;
  color: var(--brand-orange);
}
.home-seo__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 9.5px 24px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-orange);
  background: transparent;
  border: 1px solid var(--brand-orange);
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
}
.home-seo__toggle:hover {
  background: var(--brand-orange);
  color: #fff;
}
.home-seo__toggle.is-expanded .home-seo__toggle-icon {
  transform: rotate(-90deg);
}
.home-seo__toggle-icon {
  width: 12px;
  height: auto;
  transition: transform 0.3s;
}
.section--home-news {
  background: #fff;
}
.section--home-seo {
  padding-bottom: 80px;
  background: #fff;
}

/* === WSTĘP PODSTRON (aktualności, kontakt, serwis) === */
body.has-page-intro.has-hero .site-header--transparent .nav-link {
  color: var(--brand-navy-mid);
}
body.has-page-intro.has-hero .site-header--transparent .nav-link__text::before {
  background: var(--brand-navy-mid);
}
body.has-page-intro.has-hero .site-header--transparent .nav-link:hover,
body.has-page-intro.has-hero .site-header--transparent .nav-item:hover > .nav-link {
  color: var(--brand-orange);
}
body.has-page-intro.has-hero .site-header--transparent .logo-img--light {
  display: none !important;
}
body.has-page-intro.has-hero .site-header--transparent .logo-img--dark {
  display: block !important;
}
body.has-page-intro.has-hero .site-header--transparent .btn-header-cta {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}
body.page-blog .site-header {
  background: #fff;
  box-shadow: none;
}
body.has-page-intro.has-hero .site-header--transparent .nav-toggle-bar {
  background: var(--brand-navy-mid);
}
body.has-page-intro.has-hero .site-header--transparent .lang-switch {
  color: var(--brand-navy-mid);
}

.page-intro {
  margin-top: 6rem;
  padding: 0 16px 0;
  background: var(--brand-white);
}
@media (min-width: 1318px) {
  .page-intro {
    margin-top: 9.5rem;
  }
}
.page-intro__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 48px;
}
/* Breadcrumbs — jak firefly.com.pl (pomarańczowy separator skew) */
.ff-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.ff-breadcrumbs__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.ff-breadcrumbs__link span {
  position: relative;
}
.ff-breadcrumbs__link span::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -0.25rem;
  left: 0;
  width: 0;
  height: 1px;
  transition: width 0.3s ease-in-out;
}
.ff-breadcrumbs__link:hover span::after {
  width: 100%;
}
.ff-breadcrumbs__link span:not(:hover)::after {
  right: 0;
  left: auto;
}
.ff-breadcrumbs__link:not(:last-child)::after,
.ff-breadcrumbs__link:only-child::after {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 1px;
  height: 1.25rem;
  background-color: var(--brand-orange);
  transform: skewX(-10deg);
}
.ff-breadcrumbs--white .ff-breadcrumbs__link {
  color: #fff;
}
.ff-breadcrumbs--white .ff-breadcrumbs__link span::after {
  background-color: #fff;
}
.ff-breadcrumbs--white .ff-breadcrumbs__link:hover {
  color: #fff;
}
.ff-breadcrumbs--dark .ff-breadcrumbs__link {
  color: #a7a9b4;
}
.ff-breadcrumbs--dark .ff-breadcrumbs__link span::after {
  background-color: #a7a9b4;
}
.ff-breadcrumbs--dark .ff-breadcrumbs__link:hover {
  color: var(--brand-orange);
}
.ff-breadcrumbs--dark .ff-breadcrumbs__link:hover span::after {
  background-color: var(--brand-orange);
}
.ff-breadcrumbs__link--current {
  cursor: default;
}
.page-intro__breadcrumbs {
  margin-bottom: 0.5rem;
}
.page-intro__title {
  margin: 0.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: var(--brand-navy-mid);
}
.page-intro--service .page-intro__title {
  font-weight: 500;
}
.page-intro--contact .page-intro__title {
  font-weight: 400;
}
.page-intro__lead {
  margin-top: 2rem;
  max-width: 900px;
}
.page-intro__lead .md-p {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.page-intro--service .page-intro__inner {
  padding-bottom: 32px;
}

/* === Serwis (firefly.com.pl/serwis) === */
.section--service-topics {
  padding: 48px 16px;
  background: #fff;
}
.service-topics {
  display: grid;
  gap: 2.5rem;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 1318px) {
  .service-topics {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 3rem;
  }
}
.service-topics__title {
  margin: 0 0 1rem;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.service-topics__text {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.section--service-team {
  padding: 48px 16px 80px;
  background: #fff;
}
.service-team {
  max-width: var(--container);
  margin: 0 auto;
}
.service-team__heading {
  margin: 0 0 2.5rem;
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
  max-width: 900px;
}
.service-team__dept {
  margin: 0 0 1.5rem;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand-navy-mid);
}
.service-team__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 2.5rem 2rem;
}
@media (min-width: 768px) {
  .service-team__grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, max-content));
    gap: 2.5rem 3rem;
  }
}
.employee-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 240px;
}
.employee-card__photo {
  width: 111px;
  height: 111px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.employee-card__name {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand-navy-mid);
  margin-bottom: 4px;
}
.employee-card__role {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.4;
  color: var(--brand-grey);
  margin-bottom: 8px;
}
.employee-card__link {
  display: block;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-orange);
  text-decoration: none;
  word-break: break-word;
}
.employee-card__link:hover {
  text-decoration: underline;
}
.employee-card__link + .employee-card__link {
  margin-top: 2px;
}
body.page-service .page-intro {
  background: var(--brand-white);
}
body.page-service .page-intro__title {
  font-weight: 500;
}

/* === BANER PODSTRON (defaultBanner / articleBanner — jak firefly.com.pl) === */
.page-banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: stretch;
  width: 100%;
  min-height: 100svh;
  max-height: 100svh;
  overflow: hidden;
  color: #fff;
}
@media (min-width: 1318px) {
  .page-banner {
    min-height: 568px;
    max-height: none;
    height: 568px;
  }
}
.page-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.page-banner__image,
.page-banner__media video,
.page-banner__media picture,
.page-banner__media picture img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}
.page-banner__overlay {
  display: none;
}
/* Delikatne przyciemnienie tylko dla zdjęć branżowych (nie vector / nie artykuł) */
.page-banner--photo:not(.page-banner--article):not(.page-banner--vector) .page-banner__overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(2, 26, 68, 0.35) 0%,
    rgba(2, 26, 68, 0.12) 45%,
    rgba(2, 26, 68, 0.4) 100%
  );
}
.page-banner--vector {
  background: var(--brand-white);
}
.page-banner--article {
  align-items: center;
  min-height: min(100svh, 620px);
  max-height: min(100svh, 720px);
}
@media (min-width: 1318px) {
  .page-banner--article {
    height: clamp(420px, 52vh, 568px);
    min-height: 420px;
    max-height: 568px;
  }
}
.page-banner--article .page-banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 26, 68, 0.5) 0%,
    rgba(2, 26, 68, 0.08) 38%,
    rgba(2, 26, 68, 0.05) 55%,
    rgba(2, 26, 68, 0.35) 100%
  );
}
.page-banner--article .page-banner__content {
  z-index: 2;
}
.page-banner__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: calc(var(--header-h) + 24px) 16px 3rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
@media (min-width: 1318px) {
  .page-banner__content {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    padding: calc(var(--header-h) + 32px) 16px 6.75rem;
    gap: 2.5rem;
  }
}
.page-banner__content-inner {
  width: 100%;
  max-width: 900px;
  color: #fff;
}
.page-banner--article .page-banner__content-inner {
  max-width: 80%;
}
.page-banner--default .page-banner__content-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.page-banner__title {
  margin: 0 0 1.5rem;
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: #fff;
}
@media (min-width: 1318px) {
  .page-banner__title {
    font-size: 60px;
    line-height: 1.05;
    letter-spacing: -1.8px;
    margin-bottom: 2.25rem;
  }
}
.page-banner--article .page-banner__title {
  margin-bottom: 0;
  color: var(--brand-orange);
  font-weight: 400;
  max-width: min(100%, 720px);
}
.page-banner--article .page-banner__content {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-bottom: 4.5rem;
}
@media (min-width: 1318px) {
  .page-banner--article .page-banner__content {
    padding-bottom: 5.5rem;
  }
}

/* === Artykuł technologii — biała karta na banerze (jak firefly.com.pl) === */
.tech-article-sheet {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  padding: 0 16px 0;
}
@media (min-width: 1318px) {
  .tech-article-sheet {
    margin-top: -4.5rem;
  }
}
.tech-article-sheet__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.08);
}
@media (min-width: 1318px) {
  .tech-article-sheet__inner {
    padding: 3rem 2.5rem 5rem;
    border-radius: 24px 24px 0 0;
  }
}
.tech-article-sheet .page-content {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.tech-article-sheet__intro {
  margin-bottom: 0;
  padding-bottom: 0;
}
.tech-article-sheet__intro .md-p,
.tech-article-sheet__intro p {
  margin: 0 0 1.25rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--brand-grey);
}
.tech-article-sheet__intro .md-p:last-child,
.tech-article-sheet__intro p:last-child {
  margin-bottom: 2.5rem;
}
.tech-article-sheet__body .md-h2,
.tech-article-sheet__body h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.tech-article-sheet__body .md-h2:first-child,
.tech-article-sheet__body h2:first-child {
  margin-top: 0;
}
.tech-article-sheet__body .md-p,
.tech-article-sheet__body p {
  margin: 0 0 1.25rem;
}
.tech-article-sheet__body .md-p:last-child,
.tech-article-sheet__body p:last-child {
  margin-bottom: 0;
}
body.page-tech-article .section--page-content {
  display: none;
}
body.page-tech-article .cert-strip {
  margin-top: 0;
}
body.page-tech-article .section.alt:has(.cert-strip) {
  padding-top: 3rem;
  background: #fff;
}
body.page-tech-article .section.alt:has(.cert-strip) > .container > p.text-center {
  margin: 0 0 1.5rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: #646f8d;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* === Branże ochrony — baner + biała karta (jak firefly.com.pl) === */
.page-banner--industry {
  align-items: center;
  min-height: min(100svh, 620px);
  max-height: min(100svh, 720px);
}
@media (min-width: 1318px) {
  .page-banner--industry {
    height: clamp(420px, 52vh, 568px);
    min-height: 420px;
    max-height: 568px;
  }
}
.page-banner--industry .page-banner__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(2, 26, 68, 0.5) 0%,
    rgba(2, 26, 68, 0.12) 42%,
    rgba(2, 26, 68, 0.2) 100%
  );
}
.page-banner--industry .page-banner__content {
  z-index: 2;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 4.5rem;
}
.page-banner--industry .page-banner__content-inner {
  max-width: min(100%, 720px);
}
.page-banner--industry .page-banner__title {
  margin-bottom: 0;
  color: #fff;
  font-weight: 500;
  max-width: none;
}
.page-banner--industry .page-banner__icon {
  align-self: flex-end;
  margin-bottom: 0.25rem;
}

.industry-article-sheet {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  padding: 0 16px 0;
}
@media (min-width: 1318px) {
  .industry-article-sheet {
    margin-top: -4.5rem;
  }
}
.industry-article-sheet__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.08);
}
@media (min-width: 1318px) {
  .industry-article-sheet__inner {
    padding: 3rem 2.5rem 5rem;
    border-radius: 24px 24px 0 0;
  }
}
.industry-article-sheet__content {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--brand-grey);
}
.industry-article-sheet__content .page-section {
  padding: 2.5rem 0;
  max-width: none;
  margin: 0;
}
.industry-article-sheet__content .page-section:first-child {
  padding-top: 0;
}
.industry-article-sheet__content .page-section--split .section-divided {
  margin-bottom: 0;
}
.industry-article-sheet__content .page-section--split .md-h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  color: var(--brand-orange);
}
.industry-article-sheet__content .page-section--split .md-h3 {
  margin: 0 0 0.75rem;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-navy);
}
.industry-article-sheet__content .page-section--split img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}
.industry-article-sheet__content .page-section--stats {
  padding: 2rem 0 3rem;
}
.industry-article-sheet__content .page-section--product [class*="ourTechnologyHeader"],
.industry-article-sheet__content .page-section--product [class*="our-technology_ourTechnologyHeader"] {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  color: var(--brand-orange);
}
.industry-article-sheet__content .page-section--product [class*="technologyDescriptionHeader"] {
  margin: 0 0 0.75rem;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-navy);
}
.industry-article-sheet__content .page-section--product [class*="technologiesWrapper"] {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 1318px) {
  .industry-article-sheet__content .page-section--product [class*="technologiesWrapper"] {
    grid-template-columns: 1fr 1fr;
  }
}
.industry-article-sheet__content .page-section--product [class*="technologiesLinksWrapper"] img,
.industry-article-sheet__content .page-section--product [class*="image__"] {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.industry-article-sheet__content .page-section--benefits .md-h2 {
  color: var(--brand-orange);
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  margin: 0 0 1rem;
}
.industry-article-sheet__content .page-section--certs {
  background: var(--brand-grey-light);
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
  border-radius: var(--radius-md);
}
@media (min-width: 1318px) {
  .industry-article-sheet__content .page-section--certs {
    margin-left: -2.5rem;
    margin-right: -2.5rem;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }
}
.industry-article-sheet__content .page-section--industry-features > div > div > h2,
.industry-article-sheet__content .page-section--industry-features h2 {
  color: var(--brand-orange);
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  margin: 0 0 1.5rem;
}
body.page-industry-article .section--news,
body.page-industry-index .section--news {
  background: #fff;
}

/* === Aktualności — artykuł (biała karta na banerze) === */
.blog-article-sheet {
  position: relative;
  z-index: 5;
  margin-top: -3.5rem;
  padding: 0 16px 0;
}
body.page-blog-article:not(.has-hero) .blog-article-sheet {
  margin-top: 0;
  padding-top: 0;
}
@media (min-width: 1318px) {
  .blog-article-sheet {
    margin-top: -4.5rem;
  }
  body.page-blog-article:not(.has-hero) .blog-article-sheet {
    margin-top: 0;
  }
}
.blog-article-sheet__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  background: #fff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -8px 40px rgba(15, 23, 42, 0.08);
}
@media (min-width: 1318px) {
  .blog-article-sheet__inner {
    padding: 3rem 2.5rem 5rem;
    border-radius: 24px 24px 0 0;
  }
}
.blog-article-sheet__date {
  display: block;
  margin: 0 0 1.5rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}
.blog-article-sheet__date--inline {
  margin-top: -0.5rem;
}
.blog-article-sheet__body {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.65;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.blog-article-sheet__body .md-h2,
.blog-article-sheet__body h2 {
  margin: 2.5rem 0 1rem;
  font-size: clamp(1.35rem, 2.5vw, 30px);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.blog-article-sheet__body .md-h2:first-child,
.blog-article-sheet__body h2:first-child {
  margin-top: 0;
}
.blog-article-sheet__body .md-h3,
.blog-article-sheet__body h3 {
  margin: 1.75rem 0 0.75rem;
  font-size: 20px;
  font-weight: 500;
  color: var(--brand-navy);
}
.blog-article-sheet__body .md-p,
.blog-article-sheet__body p {
  margin: 0 0 1.25rem;
}
.blog-article-sheet__body .md-ul,
.blog-article-sheet__body ul {
  margin: 0 0 1.25rem;
  padding-left: 1.25rem;
}
.blog-article-sheet__body img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  margin: 1.5rem 0;
}
.blog-article-sheet__body a {
  color: var(--brand-orange);
  text-decoration: underline;
}
body.page-blog-article .section.alt {
  background: #fff;
}
.blog-card__image-wrap--placeholder {
  background: var(--brand-grey-light);
  border-radius: 8px;
  aspect-ratio: 3 / 2;
  max-height: 159px;
}
.blog-card__image-wrap--placeholder .blog-card__image {
  object-fit: contain;
  padding: 24px;
  max-height: 159px;
}
.page-banner__breadcrumbs {
  margin-bottom: 0.5rem;
}
.page-banner__icon {
  flex-shrink: 0;
  align-self: flex-end;
  width: auto;
  max-width: 180px;
  max-height: 180px;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}

/* Przełącznik języków */
.lang-switcher {
  position: relative;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: #fff;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  font-family: inherit;
}
.lang-switch--dark,
.site-header--scrolled .lang-switch,
.site-header:not(.site-header--transparent) .lang-switch {
  color: var(--brand-navy);
}
.lang-switch__flag {
  width: 20px;
  height: auto;
  border-radius: 2px;
  display: block;
}
.lang-switch__chevron {
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 2px;
  opacity: 0.85;
}
.lang-switcher.is-open .lang-switch__chevron {
  transform: rotate(180deg);
}
.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 10rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(2, 26, 68, 0.12);
  padding: 8px 0;
  z-index: 10002;
}
.lang-switcher__menu[hidden] {
  display: none;
}
.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-decoration: none;
}
.lang-switcher__item:hover {
  background: var(--brand-grey-light);
  color: var(--brand-orange);
}

/* === NAGŁÓWEK BEZ BANERA (Aktualności, Serwis, Kontakt) === */
.page-heading {
  padding: calc(var(--header-h) + 6rem) 16px 40px;
  background: var(--brand-white);
}
@media (min-width: 1318px) {
  .page-heading {
    padding-top: calc(var(--header-h) + 9.5rem);
  }
}
.page-heading .container {
  max-width: var(--container);
  margin: 0 auto;
}
.page-heading__breadcrumbs {
  margin-bottom: 12px;
}
.page-heading__title {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: var(--brand-navy-mid);
}
.page-heading__lead {
  margin: 16px 0 0;
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--brand-navy-mid);
}

.section-title--navy {
  color: var(--brand-navy);
}
.media-rounded {
  border-radius: var(--radius-md);
  width: 100%;
  height: auto;
}

/* === SEKCJE === */
.section { padding: 80px 16px; }
.section.alt { background: var(--brand-grey-light); }
.container { max-width: var(--container); margin: 0 auto; }
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: start;
}
.two-col--about h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0 0 0;
  line-height: 1.2;
}
.two-col--about .about-text {
  color: var(--brand-navy-mid);
  font-size: 1rem;
}
h2.section-title {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0 0 1.5rem;
  line-height: 1.2;
}
.section-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section-title--inline { margin: 0; }
.section-dark {
  background: var(--brand-navy);
  color: #fff;
  text-align: center;
}
.section-dark h2 { color: #fff; }

/* Slidery / karty */
.swiper {
  max-width: 100%;
}
.industries-slider.swiper,
.industries-swiper {
  overflow: hidden;
  padding-bottom: 40px;
  max-width: 100%;
}
.industries-slider .swiper-slide { height: auto; }
.card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 24px rgba(2, 26, 68, 0.06);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(2, 26, 68, 0.1);
}
.card a { color: inherit; display: block; }
.card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.two-col img,
.two-col video,
.page-content img {
  border-radius: var(--radius-md);
}
.card .card-body { padding: 20px; }
.card h3 {
  margin: 0 0 8px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-navy);
}
.card .read-more {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--brand-orange);
  font-weight: 500;
}

/* === Markdown / CTA (jak firefly.com.pl) === */
.md-h2 {
  margin: 0 0 1rem;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  color: var(--brand-orange);
}
.md-p {
  margin: 0 0 1rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
  white-space: pre-wrap;
}
.btn-ghost-orange {
  display: inline-block;
  margin-top: 0.25rem;
  padding: 9.5px 24px;
  border: 1px solid var(--brand-orange);
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--brand-orange);
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}
.btn-ghost-orange:hover {
  background: var(--brand-orange);
  color: #fff;
}

/* === O NAS (firefly.com.pl/o-nas) === */
body.page-about main {
  background: transparent;
}
.section--about-intro.ff-section,
.section--about-timeline.ff-section,
.section--about-block.ff-section {
  margin-top: 5rem;
  margin-bottom: 5rem;
}
@media (min-width: 1318px) {
  .section--about-intro.ff-section,
  .section--about-timeline.ff-section,
  .section--about-block.ff-section {
    margin-top: 7.5rem;
    margin-bottom: 7.5rem;
  }
}
.section--about-timeline.ff-section {
  overflow-x: hidden;
}
@media (min-width: 1318px) {
  .section--about-timeline.ff-section {
    overflow-x: visible;
  }
  .section--page-content,
  .section--page-content-bare {
    overflow-x: visible;
  }
  .page-content .page-section--industry-cards .swiper {
    overflow: visible;
  }
}

.about-divided {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 1318px) {
  .about-divided {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
  }
  .about-divided > .about-divided__col {
    grid-column: span 4;
  }
  .about-divided--reversed .about-divided__col--media {
    grid-column: 5 / span 4;
    order: 2;
  }
  .about-divided--reversed .about-divided__col--body {
    grid-column: span 4;
    order: 1;
  }
}

.section-separator--about {
  display: none;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1318px) {
  .section-separator--about {
    display: block;
  }
}
.section-separator--about::after {
  content: '';
  display: block;
  height: 1px;
  background: var(--brand-border);
}

.about-block__image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius-sm);
  display: block;
}
@media (min-width: 1318px) {
  .about-block__image {
    height: auto;
    max-height: 400px;
  }
}
.about-block__cta {
  margin: 0;
}

/* Timeline / storyline */
.section--about-timeline .ff-section__inner {
  width: 100%;
  max-width: var(--container);
}
.storyline-wrap {
  position: relative;
  width: 100%;
}
.storyline-swiper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.storyline-swiper .swiper-wrapper {
  align-items: flex-start;
}
.storyline-swiper .swiper-slide {
  flex-shrink: 0;
  width: min(280px, 85vw);
  height: auto;
  box-sizing: border-box;
}
@media (min-width: 1318px) {
  .storyline-swiper {
    padding-bottom: 10rem;
    overflow: visible;
  }
  .storyline-swiper .swiper-slide {
    width: 300px;
  }
  /* Drugi rząd osi czasu (jak grid-row-start: 2 na oryginale) */
  .storyline-swiper .swiper-slide:nth-child(even) {
    margin-top: 9rem;
  }
  .storyline-slide--reversed {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: auto;
  }
}

.storyline-card__wrap,
.storyline-card__wrap--reversed {
  display: flex;
  flex-direction: column-reverse;
  position: relative;
  z-index: 1;
  margin-top: -0.25rem;
}
.storyline-card__wrap::after,
.storyline-card__wrap--reversed::after {
  content: '';
  display: block;
  position: absolute;
  z-index: -1;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brand-border);
  top: 0.25rem;
  transform: translate(0.25rem, -50%);
}
@media (min-width: 1318px) {
  .storyline-card__wrap--reversed {
    flex-direction: column;
    justify-content: flex-end;
    margin-top: 0;
    margin-bottom: -0.25rem;
  }
  .storyline-card__wrap--reversed::after {
    top: auto;
    bottom: 0.25rem;
    transform: translate(0.25rem, 50%);
  }
}

.storyline-card__image {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 280 / 160;
  border-radius: var(--radius-sm);
  object-fit: cover;
  display: block;
}
.storyline-card__text {
  margin: 0.875rem 0;
  padding-right: 1rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #636f8d;
}
@media (min-width: 1318px) {
  .storyline-card__text {
    padding-right: 0;
  }
}
.storyline-card__year {
  display: flex;
  flex-direction: column-reverse;
  gap: 0.625rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  color: var(--brand-orange);
}
.storyline-card__year::after {
  content: '';
  display: block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50px;
  background: var(--brand-orange);
}

.storyline-swiper__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 1.5rem;
  max-width: 5rem;
}
.storyline-swiper__btn {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--brand-orange);
  border-radius: 2rem;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.storyline-swiper__btn::after {
  content: '';
  display: block;
  width: 17px;
  height: 16px;
  background: url('../icons/arrow.svg') center / contain no-repeat;
}
.storyline-swiper__btn--prev::after {
  transform: scaleX(-1);
}
.storyline-swiper__btn.swiper-button-disabled {
  opacity: 0.35;
  cursor: default;
}

/* === AKTUALNOŚCI / BLOG (1:1) === */
.blog-intro {
  padding: calc(var(--header-h) + 6rem) 16px 0;
  background: var(--brand-white);
}
@media (min-width: 1318px) {
  .blog-intro {
    padding-top: calc(var(--header-h) + 9.5rem);
  }
}
.blog-intro .container {
  max-width: var(--container);
  margin: 0 auto;
}
.blog-intro__breadcrumbs {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
}
.blog-intro__breadcrumbs a {
  color: var(--brand-navy);
  text-decoration: none;
  opacity: 0.85;
}
.blog-intro__breadcrumbs a:hover {
  color: var(--brand-orange);
}
.blog-intro__title {
  margin: 0.5rem 0 0;
  font-size: clamp(2.5rem, 6vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: var(--brand-navy-mid);
}
.section--blog {
  padding: 48px 16px 80px;
  background: #fff;
}
.page-intro + .section--blog {
  padding-top: 48px;
}
.section--page-content-bare {
  padding-top: 0;
}
.section--page-content-bare .page-content > .page-section:first-child {
  padding-top: 0;
}
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 1.5rem;
  row-gap: 3rem;
}
@media (min-width: 640px) {
  .blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (min-width: 1318px) {
  .blog-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 15rem;
  }
}
.blog-card {
  display: flex;
  flex-direction: column;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
.blog-card__image-wrap {
  position: relative;
  margin-bottom: 0.25rem;
}
@media (min-width: 1318px) {
  .blog-card__image-wrap::before {
    content: '';
    position: absolute;
    left: -0.75rem;
    top: 0;
    height: 100%;
    border-left: 1px solid var(--brand-border);
  }
  .blog-card:nth-child(4n+1) .blog-card__image-wrap::before {
    content: none;
  }
}
.blog-card__image {
  width: 100%;
  height: auto;
  max-height: 159px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
  transition: max-height 0.3s ease;
}
.blog-card:hover .blog-card__image {
  max-height: calc(159px - 1rem);
}
.blog-card__date {
  margin-top: 0.25rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}
.blog-card__title {
  margin-top: 0.25rem;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.19px;
  color: var(--brand-orange);
  transition: color 0.3s;
}
.blog-card:hover .blog-card__title {
  color: var(--brand-orange-dark);
}
.blog-card__more {
  display: block;
  overflow: hidden;
  height: 1.5rem;
  margin-top: 0.25rem;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-orange);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.3s ease;
}
@media (min-width: 1318px) {
  .blog-card__more {
    transform: scaleY(0);
  }
  .blog-card:hover .blog-card__more {
    transform: scaleY(1);
  }
}
@media (max-width: 1317px) {
  .blog-card__more {
    transform: scaleY(1);
  }
}
.blog-pagination {
  margin-top: 3rem;
}
.blog-pagination__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.blog-pagination__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  padding: 4px 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  text-decoration: none;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}
.blog-pagination__link:hover,
.blog-pagination__link--active {
  color: var(--brand-orange);
}
.blog-pagination__link--arrow {
  font-size: 1.25rem;
  line-height: 1;
}

.news-slider {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  text-align: left;
  margin: 48px 0;
}
.stat-num {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  color: var(--brand-orange);
  line-height: 1;
}
.cert-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  margin-top: 24px;
}
.cert-strip img { height: 36px; width: auto; }

/* Tech page intro */
.tech-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px 80px;
  align-items: start;
}
.tech-intro h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--brand-orange);
  margin: 0;
  line-height: 1.25;
}

/* === STOPKA (firefly.com.pl — 1:1) === */
.footer-cta {
  background: var(--brand-orange);
  color: #fff;
  padding: 4.375rem 16px;
}
@media (min-width: 1318px) {
  .footer-cta { padding: 5rem 16px; }
}
.footer-cta__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3rem;
}
@media (min-width: 1318px) {
  .footer-cta__inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
  }
}
.footer-cta__title {
  margin: 0;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -1px;
  color: #fff;
  max-width: 42rem;
}
.btn-cta-white {
  background: #fff;
  color: var(--brand-orange);
  border-color: #fff;
  padding: 17.5px 32px;
  font-size: 12px;
}
.btn-cta-white:hover {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.site-footer {
  background: #636f8d;
  color: #fff;
  padding: 1.5rem 16px 3rem;
  font-family: var(--font-sans);
}
@media (min-width: 1318px) {
  .site-footer {
    padding: 6rem 16px;
  }
}
.site-footer__container {
  max-width: var(--container);
  margin: 0 auto;
}

/* Wiersze 8-kolumnowe (logo 2 + treść 6) */
.footer-row {
  display: grid;
  gap: 1rem;
  padding: 1.5rem 0;
  color: #fff;
}
@media (min-width: 1318px) {
  .footer-row {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
    padding: 0;
  }
  .footer-row > :first-child {
    grid-column: span 2;
  }
  .footer-row > :nth-child(2) {
    grid-column: span 6;
  }
}

.footer-row--brand .footer-row__logo {
  display: flex;
  align-items: center;
}
.footer-row__logo img {
  display: block;
  height: 26px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-row__tagline {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #fff;
}
@media (min-width: 1318px) {
  .footer-row--brand .footer-row__tagline {
    align-self: center;
  }
}

.footer-rule {
  border: none;
  border-top: 1px solid #fff;
  margin: 1.5rem 0;
}
@media (min-width: 1318px) {
  .footer-rule {
    margin: 3rem 0 2rem;
  }
}

.footer-row__lang {
  display: none;
}
@media (min-width: 1318px) {
  .footer-row__lang {
    display: block;
    min-height: 1px;
  }
}

.footer-columns {
  display: grid;
  gap: 1.75rem;
  width: 100%;
}
@media (min-width: 1318px) {
  .footer-columns {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }
}
.footer-columns__col {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* Sekcja linków (footer_footerLinksSection) */
.footer-links-section__details {
  border: none;
}
.footer-links-section__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  list-style: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.footer-links-section__summary::-webkit-details-marker {
  display: none;
}
.footer-links-section__heading {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #fff;
}
.footer-links-section__heading-link {
  color: #fff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.footer-links-section__heading-link:hover {
  color: #fff;
  opacity: 0.9;
}
.footer-links-section__chevron {
  flex-shrink: 0;
  width: 12px;
  height: 12px;
  filter: brightness(0) invert(1);
  transition: transform 0.25s ease;
}
.footer-links-section__details[open] .footer-links-section__chevron {
  transform: rotate(180deg);
}
.footer-links-section__details:not([open]) .footer-links-section__nav {
  display: none;
}
.footer-links-section__nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0.75rem 0 0;
}
.footer-links-section__nav a {
  display: block;
  color: #a0a4bc;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-links-section__nav a:hover {
  color: #fff;
}
.footer-links-section--heading-only .footer-links-section__summary {
  cursor: default;
}

@media (min-width: 1318px) {
  .footer-links-section__summary {
    cursor: default;
    pointer-events: none;
  }
  .footer-links-section__heading-link {
    pointer-events: auto;
  }
  .footer-links-section__chevron {
    display: none;
  }
  .footer-links-section__details:not([open]) .footer-links-section__nav,
  .footer-links-section__nav {
    display: flex !important;
    padding-top: 1.75rem;
    padding-bottom: 0;
  }
}

/* Dolny wiersz: © + kontakt pod kolumną 2 */
.footer-row--meta {
  align-items: start;
}
.footer-row__copy {
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #fff;
}
.footer-row__meta-panel {
  width: 100%;
}
.footer-meta-align {
  display: grid;
  gap: 1.75rem;
}
@media (min-width: 1318px) {
  .footer-meta-align {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .footer-meta-align__spacer {
    display: block;
  }
  .footer-row__contact {
    grid-column: 2 / span 3;
  }
}
.footer-meta-align__spacer {
  display: none;
}
.footer-row__contact-label {
  margin: 0 0 1rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: #fff;
}
.footer-row__contact-text {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.5px;
  color: #a0a4bc;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10001;
}
.hamburger-line {
  display: block;
  flex-shrink: 0;
  width: 2.5rem;
  height: 1px;
  background: var(--brand-navy);
  border-radius: 0.5rem;
  transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, background 0.3s;
}
.site-header--transparent:not(.site-header--scrolled):not(.mobile-nav-open) .hamburger-line {
  background: #fff;
}
body.has-page-intro .site-header--transparent:not(.site-header--scrolled):not(.mobile-nav-open) .hamburger-line {
  background: var(--brand-navy);
}
.site-header--scrolled .hamburger-line,
.site-header.mobile-nav-open .hamburger-line,
.site-header.menu-open .hamburger-line {
  background: var(--brand-navy);
}
.mobile-toggle.is-open .hamburger-line:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.mobile-toggle.is-open .hamburger-line:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-open .hamburger-line:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile menu — tylko gdy otwarte (bez białego overlay na zamkniętej stronie) */
.mobile-nav[hidden] {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}
.mobile-nav.is-open {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 10001;
  overflow: hidden;
  max-width: 100%;
  pointer-events: auto;
  visibility: visible;
}
.mobile-nav-panel {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  height: 100%;
  height: 100dvh;
  background: #fff;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 1;
}
.mobile-nav.is-open .mobile-nav-panel {
  transform: translateX(0);
}
.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 4.75rem 1rem 1rem;
  min-height: 100vh;
  min-height: 100dvh;
}
.mobile-nav-entry {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}
.mobile-nav-entry__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mobile-nav-entry__link {
  display: inline-block;
  padding: 14px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-navy);
  text-decoration: none;
  position: relative;
}
.mobile-nav-entry__link::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-navy);
  transition: width 0.3s;
}
.mobile-nav-entry__link:hover {
  color: var(--brand-orange);
}
.mobile-nav-entry__link:hover::before {
  width: 100%;
  background: var(--brand-orange);
}
.mobile-nav-entry__link--solo {
  width: 100%;
}
.mobile-nav-entry__toggle {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--brand-navy);
  transform: translateY(-1rem);
  transition: transform 0.3s ease-in-out, color 0.2s;
}
.mobile-nav-entry__toggle[aria-expanded='true'] {
  transform: translateY(-1rem) rotate(45deg);
}
.mobile-nav-entry__icon {
  display: block;
}
.mobile-nav-entry__body {
  display: block;
  padding-left: 0.5rem;
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}
.mobile-nav-entry__body[hidden] {
  display: none;
}
.mobile-nav-sublist {
  margin-bottom: 1rem;
}
.mobile-nav-sublist__title {
  margin: 0 0 8px;
  font-size: 14px;
  font-weight: 300;
  line-height: 1.5;
  color: #a7a9b4;
}
.mobile-nav-sublist__links {
  list-style: none;
  margin: 0;
  padding: 0;
}
.mobile-nav-sublist__links li a {
  display: block;
  padding: 6px 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  color: var(--brand-navy-mid);
  text-decoration: none;
}
.mobile-nav-sublist__links li a:hover {
  color: var(--brand-orange);
}
.mobile-nav-footer {
  padding: 0 1rem 2rem;
}
.mobile-nav-contact {
  display: flex;
  width: 100%;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.mobile-nav-lang {
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-border);
}
.mobile-nav-lang__label {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--brand-grey);
}
.mobile-nav-lang__current,
.mobile-nav-lang__link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--brand-navy);
  text-decoration: none;
}
.mobile-nav-lang__link:hover {
  color: var(--brand-orange);
}

/* Footer */

/* Formularze */
.form-control,
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--brand-border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-orange);
  box-shadow: 0 0 0 3px rgba(255, 101, 47, 0.12);
}
.alert-success {
  background: #ecfdf5;
  color: #047857;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin: 24px 0 48px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(2, 26, 68, 0.06);
}
.team-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.team-card-body { padding: 16px 20px; }
.team-card h4 { margin: 0 0 4px; color: var(--brand-navy); }
.team-card p { margin: 0; font-size: 0.9rem; color: var(--brand-grey); }
.team-section-label {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-navy);
  margin: 32px 0 16px;
}
/* === PAGE CONTENT (scraped / markdown) === */
.page-content {
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.page-content .md-h2,
.page-content h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
  margin: 0 0 1rem;
}
.page-content .md-h3,
.page-content h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.19px;
  color: var(--brand-orange);
  margin: 1.5rem 0 0.75rem;
}
.page-content .md-p,
.page-content p {
  margin: 0 0 1rem;
}
.page-content .md-strong,
.page-content strong {
  font-weight: 600;
  color: var(--brand-navy-mid);
}
.page-content .md-link,
.page-content a {
  color: var(--brand-orange);
}
.page-content img:not([class*="card_solution"]):not([class*="solutionImage"]) {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}
.section--page-content {
  padding: 48px 16px 80px;
}
.section--page-content .page-content {
  max-width: var(--container);
  margin: 0 auto;
}
.section--page-content-bare {
  padding-top: 48px;
}
.page-content .page-section,
.page-content > section {
  padding: 48px 16px;
  max-width: var(--container-max, 1280px);
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 1318px) {
  .page-content .page-section,
  .page-content > section {
    padding-left: 0;
    padding-right: 0;
  }
}
.page-content .banner_bannerContainer__iabsP {
  display: none;
}
.page-content .section-divided {
  display: grid;
  gap: 40px;
  margin-bottom: 48px;
}
@media (min-width: 1318px) {
  .page-content .section-divided {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .page-content .section-divided > div:first-child {
    grid-column: span 4;
  }
  .page-content .section-divided > div:last-child {
    grid-column: span 4;
  }
}
.page-content [class*="statisticsWrapper"] {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.page-content [class*="statisticsValue"] {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
  margin-bottom: 8px;
}
.page-content [class*="statisticsWrapperElement"] p,
.page-content [class*="paragraph-small"] {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  color: var(--brand-grey);
}
.page-content [class*="presentation-section"] {
  display: grid;
  gap: 40px;
  align-items: center;
  margin: 48px 0;
}
@media (min-width: 1318px) {
  .page-content [class*="presentation-section"] {
    grid-template-columns: 1fr 1fr;
  }
}
.page-content [class*="benefitsGrid"] {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .page-content [class*="benefitsGrid"] {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1318px) {
  .page-content [class*="benefitsGrid"] {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-content #videos .swiper {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-content [class*="VideoSlider_largeVideo"] {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.page-content [class*="VideoSlider_paginationAndDescriptionWrapper"] {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.page-content [class*="VideoSlider_description"] {
  font-size: 17px;
  font-weight: 500;
  color: var(--brand-navy);
}
.page-content .team-inline {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
  color: var(--brand-grey);
}
.page-content .team-inline img {
  width: 111px;
  height: 111px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 12px;
}
.page-content a.team-inline {
  color: var(--brand-orange);
  text-decoration: none;
}
.page-content [class*="support_heading"] {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--brand-orange);
  margin: 0 0 2rem;
}
.page-content .page-section {
  padding: 48px 0;
}
.page-content video {
  width: 100%;
  max-width: none;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* Treść CMS / scrap — mobile */
.page-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.page-content iframe,
.page-content embed,
.page-content object {
  max-width: 100%;
}
.page-content [class*="VideoSlider_largeVideo"],
.page-content [class*="VideoSlider_paginationAndDescriptionWrapper"] {
  max-width: 100%;
}
@media (max-width: 767px) {
  .page-content [class*="benefitsGrid"],
  .page-content [class*="statisticsWrapper"],
  .page-content [class*="presentation-section"],
  .page-content .section-divided {
    grid-template-columns: 1fr !important;
    display: grid;
    gap: 1.5rem;
  }
  .page-content [class*="technology__zS"] {
    grid-template-columns: 1fr;
  }
  .page-content [class*="circleWrapper"],
  .page-content .our-technology_circleWrapper {
    padding: 24px 0;
    gap: 8px;
  }
  .page-content [class*="ourTechnologyHeader"],
  .page-content .solutions_largerHeading {
    font-size: clamp(1.25rem, 5vw, 30px);
  }
  .page-content video {
    max-height: 280px;
  }
  .page-content .page-section {
    padding: 32px 0;
  }
}

/* Technologia — karty i filary */
.page-content .our-technology_circleWrapper,
.page-content [class*="circleWrapper"] {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  padding: 32px 0;
}
.page-content [class*="circle__"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border: 1px solid var(--brand-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--brand-navy);
  text-decoration: none;
}
.page-content [class*="circle__"]:hover {
  border-color: var(--brand-orange);
  color: var(--brand-orange);
}
.page-content [class*="ourTechnologyHeader"],
.page-content .solutions_largerHeading {
  font-size: 30px;
  font-weight: 500;
  color: var(--brand-orange);
  margin: 0 0 1.5rem;
}
.page-content [class*="circleWrapper"] {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  padding: 32px 0 48px;
}
.page-content [class*="breadcrumbsWrapper"] {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.page-content [class*="breadcrumbsWrapper"] a,
.page-content [class*="breadcrumbWhite"],
.page-content [class*="breadcrumb__"] {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.24px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--brand-navy-mid);
}
.page-content [class*="breadcrumbsWrapper"] a:not(:last-child)::after,
.page-content [class*="breadcrumbWhite"]:not(:last-child)::after {
  content: '';
  display: block;
  width: 1px;
  height: 1.25rem;
  background-color: var(--brand-orange);
  transform: skewX(-10deg);
}
.page-content [class*="breadcrumbsWrapper"] a:hover,
.page-content [class*="breadcrumbWhite"]:hover {
  color: var(--brand-orange);
}
.page-content [class*="technologiesWrapper"] {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.page-content [class*="technology__zS"] {
  display: grid;
  gap: 2rem;
}
@media (min-width: 992px) {
  .page-content [class*="technology__zS"] {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}
.page-content [class*="technologiesLinksWrapper"] {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.page-content [class*="technologyDescriptionHeader"] {
  font-size: 19px;
  font-weight: 500;
  color: var(--brand-orange);
  margin: 0 0 12px;
}
.page-content [class*="paragraph___"] {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}
.page-content .solutions_swiperNavigation__76OC5 {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  margin-top: 16px;
}
.page-content .solutions_swiperNavigation__76OC5 img {
  width: 32px;
  height: 32px;
  cursor: pointer;
  filter: invert(45%) sepia(90%) saturate(1200%) hue-rotate(346deg);
}
.page-content [class*="technology__"],
.page-content [class*="technologiesWrapper"] {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 2rem;
}
.page-content .card_link__,
.page-content a[class*="card_link"] {
  display: block;
  color: inherit;
  text-decoration: none;
  margin-bottom: 1rem;
}
.page-content [class*="solutionImage"],
.page-content [class*="card_solutionImage"] {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  display: block;
}
.page-content a[class*="card_link"] {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}
.page-content [class*="card_content"] {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 20px 16px;
  background: linear-gradient(180deg, transparent 0%, rgba(2, 26, 68, 0.82) 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
}
.page-content [class*="card_content"] [class*="solutionIcon"] {
  width: 32px;
  height: auto;
  margin-bottom: 8px;
  filter: brightness(0) invert(1);
}
.page-content [class*="readMore"],
.page-content [class*="card_readMore"] {
  color: var(--brand-orange);
  font-size: 14px;
  margin-top: 8px;
}

/* Serwis — grid */
.page-content [class*="markdownGrid"],
.page-content [class*="support_markdownGrid"] {
  display: grid;
  gap: 2.5rem;
}
@media (min-width: 1318px) {
  .page-content [class*="markdownGrid"],
  .page-content [class*="support_markdownGrid"] {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Kariera — wartości */
.page-content [class*="ourValuesList"],
.page-content ul[class*="career"] {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .page-content [class*="ourValuesList"] {
    grid-template-columns: repeat(3, 1fr);
  }
}
.page-content [class*="ourValuesListElementTitle"] {
  font-size: 19px;
  font-weight: 500;
  color: var(--brand-orange);
  margin-bottom: 8px;
}

.section--divided-intro {
  padding: 48px 16px;
  background: #fff;
}
.divided-intro {
  display: grid;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
}
@media (min-width: 1318px) {
  .divided-intro {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .divided-intro__title { grid-column: span 4; }
  .motioned-intro__body,
  .divided-intro__body { grid-column: span 4; }
}
.divided-intro h2 {
  margin: 0;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.divided-intro__body p,
.divided-intro__body .md-p {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}

.two-col-block {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1318px) {
  .two-col-block {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .two-col-block__media { grid-column: span 4; }
  .two-col-block__content { grid-column: span 4; }
  .two-col-block--reverse .two-col-block__media {
    order: 2;
    grid-column: 5 / span 4;
  }
  .two-col-block--reverse .two-col-block__content {
    order: 1;
    grid-column: span 4;
  }
}

.industry-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  text-align: left;
}
.industry-stats__value {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
  margin-bottom: 8px;
}
.industry-stats__desc {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  color: var(--brand-grey);
}

.solutions-heading {
  font-size: 30px;
  font-weight: 500;
  color: var(--brand-orange);
  margin: 0 0 2rem;
}
.solutions-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1318px) {
  .solutions-grid { grid-template-columns: repeat(3, 1fr); }
}
.solution-card {
  background: var(--brand-grey-light);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}
.solution-card__image {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
}
.solution-card__icon {
  width: 48px;
  height: auto;
  margin-bottom: 12px;
}
.solutions-grid--benefits {
  margin-top: 0;
}
/* === Branże — treść ze scrapingu (jak firefly.com.pl) === */
.page-content .page-section--stats .industry-stats,
.page-content .industry-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem 3rem;
  max-width: 900px;
}
.page-content .page-section--stats .industry-stats > div,
.page-content .industry-stats > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.page-content .page-section--stats .industry-stats > div > div:first-child,
.page-content .industry-stats > div > div:first-child {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--brand-orange);
}
.page-content .page-section--stats .industry-stats > div > div:last-child,
.page-content .industry-stats > div > div:last-child {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}

.page-content .page-section--benefits ul,
.page-content .page-section--benefits .md-ul {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
@media (min-width: 768px) {
  .page-content .page-section--benefits ul,
  .page-content .page-section--benefits .md-ul {
    grid-template-columns: repeat(2, 1fr);
  }
}
.page-content .page-section--benefits li,
.page-content .page-section--benefits .md-li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 17px;
  font-weight: 300;
  color: var(--brand-grey);
}
.page-content .page-section--benefits li::before,
.page-content .page-section--benefits .md-li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-orange);
}

.page-content .page-section--certs > div > div {
  display: grid;
  gap: 2rem;
  align-items: center;
}
@media (min-width: 992px) {
  .page-content .page-section--certs > div > div {
    grid-template-columns: auto 1fr;
  }
}
.page-content .page-section--certs > div > div > div:first-child {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 28px;
}
.page-content .page-section--certs > div > div > div:first-child img {
  height: 36px;
  width: auto;
  max-width: 80px;
  object-fit: contain;
}
.page-content .page-section--certs > div > div > div:last-child p,
.page-content .page-section--certs p[style*="font-weight:300"] {
  margin: 0;
  font-size: 17px;
  font-weight: 300;
  color: #646f8d;
}

.page-content .page-section--gallery .swiper {
  border-radius: var(--radius-md);
  overflow: hidden;
}
.page-content .page-section--gallery .VideoSlider_image__FyDOy,
.page-content .page-section--gallery .swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.page-content .page-section--industry-features > div > div {
  display: grid;
  gap: 2rem;
}
.page-content .page-section--industry-features > div > div > h2 {
  grid-column: 1 / -1;
}
.page-content .page-section--industry-features > div > div > div {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .page-content .page-section--industry-features > div > div > div {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1318px) {
  .page-content .page-section--industry-features > div > div > div {
    grid-template-columns: repeat(4, 1fr);
  }
}
.page-content .page-section--industry-features > div > div > div > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.page-content .page-section--industry-features > div > div > div > div > div:first-child img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: var(--radius-md);
}
.page-content .page-section--industry-features > div > div > div > div > span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--brand-navy);
}
.page-content .page-section--industry-features > div > div > div > div > p {
  margin: 0;
  font-size: 15px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--brand-grey);
}

.page-content .page-section--industry-cards .swiper {
  overflow: hidden;
  max-width: 100%;
  padding-bottom: 48px;
}
.page-content .page-section--industry-cards .swiper-slide {
  width: auto;
  max-width: 320px;
}
.page-content .page-section--industry-cards .solutions_swiperNavigation__76OC5 {
  margin-top: 8px;
}

.solution-card__title {
  font-size: 19px;
  font-weight: 500;
  color: var(--brand-orange);
  margin: 0 0 8px;
}
.solution-card__text {
  margin: 0;
  font-size: 14px;
  color: var(--brand-grey);
}

/* Sekcja z kontenerem — jak section_sectionWithContainer */
.ff-section {
  margin-top: 5rem;
  margin-bottom: 5rem;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 1318px) {
  .ff-section {
    margin-top: 7.5rem;
    margin-bottom: 7.5rem;
  }
}
.ff-section__inner {
  max-width: var(--container);
  margin: 0 auto;
}

/* === Kontakt (firefly.com.pl/kontakt) === */
body.page-contact .page-intro {
  margin-top: 4rem;
  padding: 0 16px;
  background: var(--brand-white);
}
@media (min-width: 1318px) {
  body.page-contact .page-intro {
    margin-top: 9rem;
  }
}
body.page-contact .page-intro__inner {
  max-width: var(--container);
  margin: 0 auto;
  padding-bottom: 0;
}
body.page-contact .page-intro__title {
  margin: 1rem 0 2.25rem;
  font-size: clamp(2rem, 8vw, 60px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -1.8px;
  color: #1b2b46;
}
body.page-contact main {
  background: transparent;
}

.section--contact-main.ff-section {
  margin-top: 0;
  margin-bottom: 5rem;
}
@media (min-width: 1318px) {
  .section--contact-main.ff-section {
    margin-bottom: 7.5rem;
  }
}
.section--contact-team.ff-section {
  margin-top: 0;
  margin-bottom: 5rem;
}
@media (min-width: 1318px) {
  .section--contact-team.ff-section {
    margin-bottom: 7.5rem;
  }
}

.contact-company-grid {
  display: grid;
  gap: 3rem;
}
@media (min-width: 1318px) {
  .contact-company-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: start;
  }
  .contact-company-grid__info {
    grid-column: span 3;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .contact-map {
    grid-column: span 7;
  }
}

.contact-markdown-h2 {
  margin: 0 0 1.5rem;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}
.contact-markdown-p {
  margin: 0 0 1rem;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -0.17px;
  color: var(--brand-grey);
}
.contact-markdown-p strong {
  font-weight: 500;
  color: var(--brand-grey);
}
.contact-markdown-p--pre {
  white-space: pre-line;
  margin-bottom: 1rem;
}
.contact-markdown-a {
  color: var(--brand-grey);
  text-decoration: none;
}
.contact-markdown-a:hover {
  color: var(--brand-grey);
  text-decoration: underline;
}

.contact-map {
  width: 100%;
  height: 30rem;
  min-height: 30rem;
  overflow: hidden;
  background: #e6e8f2;
}
@media (min-width: 1318px) {
  .contact-map {
    height: 35rem;
    min-height: 35rem;
  }
}
.contact-map__iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-team__title {
  margin: 0 0 2.5rem;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.6px;
  color: var(--brand-orange);
}

.contact-team__dept-title {
  margin: 2.5rem 0 1.5rem;
  font-size: 19px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.19px;
  color: var(--brand-orange);
}
@media (min-width: 1318px) {
  .contact-team__department:first-of-type .contact-team__dept-title {
    margin-top: 0;
  }
  .contact-team__dept-title {
    margin: 4rem 0 2.5rem;
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--brand-border);
  }
}

.contact-team__grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: 1fr;
}
@media (min-width: 1318px) {
  .contact-team__grid {
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 2.5rem;
  }
  .contact-team__grid > * {
    grid-column: span 3;
  }
}

/* Karty pracowników — /kontakt (jak employee_* na oryginale) */
.contact-team .employee-card--contact {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
}
.contact-team .employee-card--contact .employee-card__photo {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  filter: grayscale(100%);
}
@media (min-width: 1318px) {
  .contact-team .employee-card--contact .employee-card__photo {
    width: 111px;
    height: 111px;
    margin-bottom: 0.75rem;
  }
}
.contact-team .employee-card--contact .employee-card__name {
  margin: 1rem 0 1rem;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.5;
  color: #1b2b46;
}
@media (min-width: 1318px) {
  .contact-team .employee-card--contact .employee-card__name {
    margin-top: 0.75rem;
    margin-bottom: 1.125rem;
  }
}
.contact-team .employee-card--contact .employee-card__role {
  display: block;
  margin: 0 0 0.125rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand-grey);
}
.contact-team .employee-card--contact .employee-card__link {
  display: block;
  margin-top: 0.125rem;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--brand-grey);
  text-decoration: none;
  word-break: break-word;
}
.contact-team .employee-card--contact .employee-card__link:hover {
  color: var(--brand-grey);
  text-decoration: underline;
}
.career-cta-wrap {
  padding: 0 16px 64px;
  text-align: center;
}
.article-meta__date {
  display: block;
  font-size: 14px;
  color: var(--brand-grey);
  margin-bottom: 1.5rem;
}
.article-body h2,
.article-body h3 {
  color: var(--brand-orange);
}
.alert-success {
  background: #ecfdf5;
  color: #047857;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}
.alert-error {
  background: #fef2f2;
  color: #b91c1c;
  padding: 12px 16px;
  border-radius: 10px;
  margin-bottom: 16px;
}

.news-card-date {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-grey);
  margin-bottom: 8px;
}
.news-view-all {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.24px;
  color: var(--brand-orange);
  text-decoration: none;
}
.news-view-all:hover { color: var(--brand-orange-dark); }

.site-header--scrolled .btn-ghost-white {
  background: var(--brand-orange);
  color: #fff;
  border-color: var(--brand-orange);
}
.site-header--scrolled .btn-ghost-white:hover {
  background: transparent;
  color: var(--brand-orange);
}

.visually-hidden-focusable {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.visually-hidden-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  clip: auto;
}

.swiper-button-prev,
.swiper-button-next {
  color: var(--brand-orange);
}

@media (max-width: 1317px) {
  .nav-panel-inner--tech {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
  .nav-mega-links--grid {
    width: 100%;
    max-width: 420px;
  }
}
@media (max-width: 1317px) {
  .main-nav,
  .header-actions .lang-switch,
  .header-actions .btn-header-cta {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .nav-panel {
    display: none !important;
  }
  .hero-grid,
  .two-col,
  .tech-intro {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    text-align: left;
    justify-self: start;
    margin-left: 0;
    max-width: none;
  }
  .hero-watermark {
    font-size: 2.75rem;
  }
  .hero-pillars {
    justify-content: flex-start;
    gap: 8px 16px;
  }
  .hero-pillars__sep {
    display: none;
  }
  .hero-home__content {
    padding-bottom: 32px;
  }
  .hero-home__headline {
    font-size: clamp(1.35rem, 5vw, 1.75rem);
  }
  .page-banner:not(.page-banner--article) {
    min-height: min(100svh, 640px);
    max-height: min(100svh, 640px);
  }
  .page-banner--article {
    min-height: min(100svh, 520px);
    max-height: min(100svh, 620px);
  }
  .page-banner__content {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 3rem;
  }
  .page-banner--article .page-banner__content {
    flex-direction: column;
    padding-bottom: 4rem;
  }
  .page-banner__title {
    font-size: clamp(1.75rem, 8vw, 40px);
    margin-bottom: 1rem;
  }
  .page-banner--article .page-banner__title {
    font-size: clamp(1.5rem, 6vw, 40px);
  }
  .page-banner__icon {
    margin: 16px 0 0;
    align-self: flex-start;
    max-width: 120px;
    max-height: 120px;
  }
  .blog-article-sheet {
    margin-top: -2.5rem;
  }
  .blog-article-sheet__inner {
    padding: 2rem 1.25rem 3rem;
    border-radius: 16px 16px 0 0;
  }
  .footer-cta__title {
    font-size: clamp(1.35rem, 5vw, 30px);
  }
  .home-divided h2,
  .home-presentation__body h2,
  .industries-slider__heading {
    font-size: clamp(1.35rem, 5vw, 30px);
  }
  .contact-markdown-h2,
  .service-topics__title {
    font-size: clamp(1.35rem, 5vw, 30px);
  }
  .contact-map {
    height: min(30rem, 50vh);
    min-height: min(30rem, 50vh);
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .site-footer {
    padding: 2rem 16px 2.5rem;
  }
  .footer-row {
    padding: 1rem 0;
  }
  .footer-rule {
    margin: 1rem 0;
  }
  .storyline-wrap {
    padding: 0 0 1rem;
  }
  .storyline-swiper__btn--prev,
  .storyline-swiper__btn--next {
    transform: scale(0.9);
  }
  .section--home-about {
    padding-left: 0;
    padding-right: 0;
  }
  .section--home-about .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /* Blokada przewijania w bok — bez overflow:clip na hero (migotanie białego tła na iOS) */
  html,
  body {
    overflow-x: hidden;
  }
  .main-nav {
    pointer-events: none;
  }
  .page-content,
  .page-content .page-section,
  .page-content > section {
    max-width: 100%;
    overflow-x: hidden;
  }
  .swiper,
  .page-content .swiper,
  .page-content #videos .swiper {
    overflow: hidden !important;
    max-width: 100%;
  }
  .swiper-wrapper {
    max-width: 100%;
  }
  .page-content [class*="technologiesWrapper"],
  .page-content [class*="technology__"],
  .page-content [class*="benefitsGrid"],
  .page-content [class*="statisticsWrapper"],
  .page-content .section-divided {
    max-width: 100%;
    overflow-x: hidden;
  }
  .industries-slider .swiper-button-prev,
  .industries-slider .swiper-button-next {
    display: none;
  }
  .news-slider {
    grid-template-columns: 1fr;
  }
  .section {
    padding-top: 48px;
    padding-bottom: 48px;
  }
}

/* === Strony prawne === */
.page-section--legal {
  padding: calc(var(--header-h) + 48px) 0 64px;
}
.legal-page {
  max-width: 720px;
}
.legal-page h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  color: var(--brand-navy);
}
.legal-page h2 {
  margin: 2rem 0 0.75rem;
  font-size: 1.125rem;
  color: var(--brand-navy);
}
.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--brand-navy-mid);
}
.legal-lead {
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}
.legal-page ul {
  padding-left: 1.25rem;
}
.legal-page code {
  font-size: 0.85em;
  background: var(--brand-grey-light);
  padding: 2px 6px;
  border-radius: 4px;
}

/* === Baner cookies === */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10050;
  padding: 16px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--brand-border);
  border-radius: 12px;
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
}
.cookie-banner__title {
  margin: 0 0 6px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--brand-navy);
}
.cookie-banner__text {
  flex: 1;
  min-width: 240px;
  max-width: 640px;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--brand-navy-mid);
}
.cookie-banner__text a {
  color: var(--brand-orange);
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cookie-banner__btn {
  white-space: nowrap;
}
/* Pływający przycisk cookies — premium, okrągły */
.cookie-fab {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 10040;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #0c0c0c;
  color: #fff;
  cursor: pointer;
  box-shadow:
    0 4px 6px rgba(0, 0, 0, 0.07),
    0 12px 28px rgba(0, 0, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.cookie-fab:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow:
    0 8px 16px rgba(0, 0, 0, 0.1),
    0 16px 36px rgba(0, 0, 0, 0.22);
}
.cookie-fab:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}
.cookie-fab__icon {
  display: block;
  width: 24px;
  height: 24px;
  filter: brightness(0) invert(1);
}
@media (max-width: 640px) {
  .cookie-fab {
    left: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
}
@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }
  .cookie-banner__actions {
    width: 100%;
  }
  .cookie-banner__btn {
    flex: 1;
  }
}
