/* ============================================================
   KRIMARK — brand.css
   Font: Area Normal Hairline (fallback: Outfit 100–300)
   ============================================================ */

/* --- Variables: base --- */
:root {
  --font-area: "Area", "Outfit", system-ui, sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --transition: 0.3s ease;
  --header-top-h: 2.25rem;
  --header-main-h: 4.25rem;
  --header-h: calc(var(--header-top-h) + var(--header-main-h));
  --content-max: 1400px;
  --gutter: 1.5rem;
}

/* --- Variables: meble --- */
body.line-meble,
.home-split__tile--meble {
  --line-bg: #313138;
  --line-bg-alt: #474544;
  --line-surface: #474544;
  --line-muted: #657e8a;
  --line-accent: #c2b7b0;
  --line-accent-2: #c6d1d5;
  --line-highlight: #657e8a;
  --line-text: #f5f3f1;
  --line-text-muted: rgba(245, 243, 241, 0.72);
  --line-border: rgba(198, 209, 213, 0.18);
}

/* --- Variables: maszyny --- */
body.line-maszyny,
.home-split__tile--maszyny {
  --line-bg: #22233d;
  --line-bg-alt: #000000;
  --line-surface: #22233d;
  --line-muted: #787f80;
  --line-accent: #787f80;
  --line-accent-2: #17a116;
  --line-highlight: #17a116;
  --line-text: #f0f0f2;
  --line-text-muted: rgba(240, 240, 242, 0.7);
  --line-border: rgba(120, 127, 128, 0.22);
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: var(--font-area);
  font-weight: 200;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: var(--line-bg, #22233d);
  color: var(--line-text, #f0f0f2);
}

body.krimark-home {
  background: #000;
  color: #fff;
  overflow: hidden;
}

body.line-meble,
body.line-maszyny,
body.krimark-site {
  background: var(--line-bg);
  color: var(--line-text);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 200;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

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

/* --- Skip link --- */
.skip-link:focus {
  background: var(--line-highlight);
  color: #fff;
  z-index: 200;
}

/* ============================================================
   HOMEPAGE SPLIT
   ============================================================ */
.home-split {
  position: relative;
  isolation: isolate;
}

.home-split__tile {
  color: #fff;
  transition: flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 1024px) {
  .home-split__tile:hover {
    flex: 1.15;
  }
}

.home-split__overlay--meble {
  background: linear-gradient(
    160deg,
    rgba(49, 49, 56, 0.55) 0%,
    rgba(49, 49, 56, 0.82) 45%,
    rgba(71, 69, 68, 0.95) 100%
  );
}

.home-split__overlay--maszyny {
  background: linear-gradient(
    200deg,
    rgba(34, 35, 61, 0.5) 0%,
    rgba(34, 35, 61, 0.85) 50%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.home-split__title {
  font-weight: 100;
  margin: 0;
}

.home-split__desc {
  margin: 0;
}

.home-split__cta {
  opacity: 0.85;
  transition: opacity var(--transition), gap var(--transition);
}

.home-split__tile:hover .home-split__cta {
  opacity: 1;
}

.home-split__logo {
  filter: drop-shadow(0 8px 32px rgba(0, 0, 0, 0.45));
}

/* ============================================================
   HEADER & NAV
   ============================================================ */
.site-header-wrap {
  transition: transform 0.35s ease;
}

.site-header-wrap.header-wrap--hidden {
  transform: translateY(-100%);
}

/* Górny pasek — kolor akcentu linii, biały tekst i ikony */
.site-header-top {
  background: var(--line-highlight);
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header-top__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-top-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  letter-spacing: 0.06em;
}

.site-header-top__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-header-top__list a,
.site-header-top__list span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #fff;
  text-decoration: none;
  transition: opacity var(--transition);
}

.site-header-top__list a:hover {
  opacity: 0.82;
}

.site-header-top__list i {
  color: #fff;
  font-size: 0.625rem;
}

.site-header-top__line {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}

/* Główny nagłówek — glass */
.site-header {
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  transition: background 0.35s ease, border-color 0.35s ease;
}

.site-header__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
  min-height: var(--header-main-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

#site-header.header--scrolled {
  background: rgba(255, 255, 255, 0.07);
  border-bottom-color: rgba(255, 255, 255, 0.22);
}

body.line-meble #site-header.header--scrolled {
  background: rgba(49, 49, 56, 0.55);
}

body.line-maszyny #site-header.header--scrolled {
  background: rgba(34, 35, 61, 0.55);
}

.site-main {
  padding-top: var(--header-h);
}

.site-nav-link {
  color: var(--line-text);
}

.site-nav-link:hover {
  color: var(--line-highlight);
}

/* Przełącznik linii — ikona zamiany (dwie strzałki w kółku) */
.line-switch {
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--line-text);
  text-decoration: none;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition);
}

.line-switch--icon {
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border-radius: 50%;
}

.line-switch:hover {
  border-color: var(--line-highlight);
  background: rgba(255, 255, 255, 0.1);
}

.line-switch__icon {
  font-size: 0.8rem;
  color: var(--line-highlight);
  line-height: 1;
  transition: transform var(--transition);
}

.line-switch:hover .line-switch__icon {
  transform: rotate(180deg);
}

@media (prefers-reduced-motion: reduce) {
  .line-switch:hover .line-switch__icon {
    transform: none;
  }
}

/* Burger */
.burger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  color: var(--line-text);
  transition: border-color var(--transition), background var(--transition);
}

.burger-btn:hover,
.burger-btn:focus-visible {
  border-color: var(--line-highlight);
  outline: none;
  background: rgba(255, 255, 255, 0.1);
}

.burger-btn__bars,
.burger-btn__bars::before,
.burger-btn__bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger-btn__bars {
  position: relative;
}

.burger-btn__bars::before,
.burger-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
}

.burger-btn__bars::before { top: -6px; }
.burger-btn__bars::after { top: 6px; }

.burger-btn.burger-btn--open .burger-btn__bars { background: transparent; }
.burger-btn.burger-btn--open .burger-btn__bars::before { transform: translateY(6px) rotate(45deg); }
.burger-btn.burger-btn--open .burger-btn__bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Nav drawer */
.nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
}

.nav-drawer.nav-drawer--open {
  pointer-events: auto;
  visibility: visible;
}

.nav-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-drawer--open .nav-drawer__backdrop { opacity: 1; }

.nav-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 480px);
  height: 100%;
  background: var(--line-bg-alt);
  border-left: 1px solid var(--line-border);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.nav-drawer--open .nav-drawer__panel { transform: translateX(0); }

.nav-drawer__close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-border);
  border-radius: 999px;
  background: transparent;
  color: var(--line-text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color var(--transition);
}

.nav-drawer__close:hover { border-color: var(--line-highlight); }

.nav-drawer__link {
  color: var(--line-text);
}

html.nav-drawer-is-open,
html.nav-drawer-is-open body {
  overflow: hidden;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  position: relative;
  overflow: hidden;
  color: var(--line-text);
}

.site-footer__accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in srgb, var(--line-highlight) 35%, transparent) 18%,
    var(--line-highlight) 50%,
    color-mix(in srgb, var(--line-highlight) 35%, transparent) 82%,
    transparent 100%
  );
  box-shadow: 0 0 24px color-mix(in srgb, var(--line-highlight) 45%, transparent);
}

.site-footer--meble {
  background: var(--line-bg-alt);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer--maszyny {
  background: var(--line-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter);
}

.site-footer__cta {
  position: relative;
  padding: 3.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.site-footer__cta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .site-footer__cta-grid {
    grid-template-columns: 1fr auto;
    gap: 2rem;
  }
}

.site-footer__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--line-highlight);
}

.site-footer__headline {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 100;
  line-height: 1.15;
}

.site-footer__lead {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 42ch;
}

.site-footer__cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.line-switch--footer {
  display: inline-flex;
}

.site-footer__main {
  padding: 3.5rem 0 2rem;
}

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

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: minmax(280px, 1fr) minmax(0, 1.4fr);
    gap: 4rem;
  }
}

.site-footer__contact-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.site-footer__logo-link {
  display: inline-flex;
  width: fit-content;
}

.site-footer__logo {
  height: 3rem;
  width: auto;
}

@media (min-width: 1024px) {
  .site-footer__logo {
    height: 3.5rem;
  }
}

.site-footer__contact-primary {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.site-footer__phone,
.site-footer__email {
  display: block;
  color: var(--line-text);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__phone {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 100;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.site-footer__email {
  font-size: clamp(1rem, 2.2vw, 1.25rem);
  font-weight: 200;
  color: var(--line-highlight);
}

.site-footer__phone:hover,
.site-footer__email:hover {
  color: var(--line-highlight);
}

.site-footer__links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 640px) {
  .site-footer__links {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
  }
}

.site-footer__col ul {
  list-style: none;
  margin: 0.75rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.site-footer__col a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.site-footer__col a:hover {
  color: var(--line-highlight);
}

.site-footer__label {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--line-highlight);
}

/* Meble — biały tekst akcentowy na ciemnym tle (szary highlight znika) */
body.line-meble .site-footer__label,
body.line-meble .site-footer__email {
  color: #fff;
}

body.line-meble .site-footer__phone:hover,
body.line-meble .site-footer__email:hover {
  color: rgba(255, 255, 255, 0.82);
}

body.line-meble .hero-full__stat-value {
  color: #fff;
}

body.line-meble .process-track__num,
body.line-meble .process-track--large .process-track__num {
  color: #fff;
}

.site-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 640px) {
  .site-footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__top-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--transition);
}

.site-footer__top-link:hover {
  color: var(--line-highlight);
}

.site-footer__top-link i {
  font-size: 0.625rem;
}

.site-footer__link {
  color: var(--line-text);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-area);
  font-size: 0.8125rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.2s ease;
}

.btn:focus-visible {
  outline: 2px solid var(--line-highlight);
  outline-offset: 3px;
}

.btn-line {
  background: transparent;
  color: var(--line-text);
  border-color: var(--line-highlight);
}

.btn-line:hover {
  background: var(--line-highlight);
  color: #fff;
}

body.line-meble .btn-line:hover {
  color: #313138;
}

.btn-line--inverse {
  background: var(--line-highlight);
  color: #fff;
  border-color: var(--line-highlight);
}

body.line-meble .btn-line--inverse {
  color: #313138;
}

.btn-line--inverse:hover {
  background: transparent;
  color: var(--line-text);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--line-text);
  border-color: var(--line-border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--line-highlight);
}

/* ============================================================
   SECTIONS — shared
   ============================================================ */
.section-block {
  padding: 5rem 0;
}

.section-block--tight {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.section-block--compact {
  padding-top: 0;
  padding-bottom: 3rem;
}

.section-block--alt {
  background: var(--line-bg-alt);
}

.section-block__inner {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.section-head--center {
  text-align: center;
}

.section-eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  font-weight: 300;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--line-highlight);
}

.section-title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 100;
  color: var(--line-text);
}

.section-lead {
  margin: 0;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--line-text-muted);
}

.section-prose {
  color: var(--line-text-muted);
  font-size: 0.9375rem;
  line-height: 1.7;
}

.section-prose p {
  margin: 0 0 1rem;
}

/* ============================================================
   LANDING HERO — editorial split
   ============================================================ */
.landing-hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 2rem 0 4rem;
}

.landing-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.landing-hero--meble .landing-hero__mesh {
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(101, 126, 138, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(194, 183, 176, 0.1), transparent 50%),
    linear-gradient(180deg, var(--line-bg) 0%, var(--line-bg-alt) 100%);
}

.landing-hero--maszyny .landing-hero__mesh {
  background:
    radial-gradient(ellipse 70% 50% at 75% 15%, rgba(23, 161, 22, 0.12), transparent 55%),
    radial-gradient(ellipse 40% 35% at 5% 90%, rgba(120, 127, 128, 0.08), transparent 50%),
    linear-gradient(180deg, var(--line-bg) 0%, #000 100%);
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.landing-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .landing-hero__grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 4rem;
  }
}

.landing-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.landing-hero__badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-highlight);
  border-radius: 999px;
  color: var(--line-highlight);
}

.landing-hero__badge--muted {
  border-color: var(--line-border);
  color: var(--line-text-muted);
}

.landing-hero__title {
  margin: 0;
  font-size: clamp(2.75rem, 6.5vw, 4.75rem);
  font-weight: 100;
  line-height: 1.05;
  letter-spacing: -0.03em;
  max-width: 12ch;
}

.landing-hero__subtitle {
  margin: 1.5rem 0 0;
  font-size: clamp(1rem, 2vw, 1.1875rem);
  font-weight: 200;
  line-height: 1.65;
  color: var(--line-text-muted);
  max-width: 44ch;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.landing-hero__highlights {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing-hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--line-text-muted);
}

.landing-hero__highlights i {
  color: var(--line-highlight);
  font-size: 0.65rem;
}

.landing-hero__bento {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
  min-height: 380px;
}

@media (min-width: 640px) {
  .landing-hero__bento {
    min-height: 460px;
  }
}

.landing-hero__bento-main {
  grid-row: span 2;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.landing-hero__bento-main img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

.landing-hero__bento-side {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.landing-hero__bento-side img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
}

.landing-hero__bento-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-border);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
}

.landing-hero__bento-card-value {
  font-size: 2rem;
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1;
}

.landing-hero__bento-card-label {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--line-text-muted);
}

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
  border-top: 1px solid var(--line-border);
  border-bottom: 1px solid var(--line-border);
  background: rgba(0, 0, 0, 0.15);
}

.stats-band__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

@media (min-width: 768px) {
  .stats-band__inner {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-band__value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1;
}

.stats-band__label {
  margin: 0.4rem 0 0;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--line-text-muted);
}

/* ============================================================
   BENEFITS
   ============================================================ */
.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.benefit-card {
  padding: 1.75rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), transform 0.35s ease;
}

.benefit-card:hover {
  border-color: var(--line-highlight);
  transform: translateY(-3px);
}

.benefit-card__icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid var(--line-border);
  color: var(--line-highlight);
  font-size: 0.9rem;
}

.benefit-card__title {
  margin: 1.25rem 0 0;
  font-size: 1rem;
  font-weight: 300;
}

.benefit-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--line-text-muted);
}

/* ============================================================
   OFFER ROWS (services)
   ============================================================ */
.offer-stack {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

@media (min-width: 1024px) {
  .offer-stack {
    gap: 6rem;
  }
}

.offer-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .offer-row {
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
  }
  .offer-row--reverse .offer-row__media {
    order: 2;
  }
  .offer-row--reverse .offer-row__content {
    order: 1;
  }
}

.offer-row__media {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-border);
  aspect-ratio: 4 / 3;
}

.offer-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.offer-row:hover .offer-row__media img {
  transform: scale(1.03);
}

.offer-row__index {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--line-highlight);
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line-border);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
}

.offer-row__title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 100;
}

.offer-row__text {
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--line-text-muted);
  line-height: 1.65;
}

.offer-row__extra {
  margin: 1rem 0 0;
  font-size: 0.875rem;
  color: var(--line-text-muted);
  opacity: 0.75;
  line-height: 1.6;
  max-width: 48ch;
}

/* ============================================================
   PROCESS TRACK
   ============================================================ */
.process-track {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 768px) {
  .process-track {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.process-track__step {
  position: relative;
  padding: 1.75rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition);
}

.process-track__step:hover {
  border-color: var(--line-highlight);
}

.process-track__num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--line-highlight);
}

.process-track__title {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  font-weight: 300;
}

.process-track__text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--line-text-muted);
  line-height: 1.55;
}

/* ============================================================
   ABOUT SPLIT
   ============================================================ */
.about-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-split {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}

.about-split__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.about-split__tags span {
  padding: 0.35rem 0.85rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--line-border);
  border-radius: 999px;
  color: var(--line-text-muted);
}

.about-split__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.about-split__img {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.about-split__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-split__img--1 {
  grid-row: span 2;
  aspect-ratio: 3 / 4;
}

.about-split__img--2,
.about-split__img--3 {
  aspect-ratio: 16 / 10;
}

/* ============================================================
   SHOWCASE BENTO
   ============================================================ */
.showcase-bento {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .showcase-bento {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 200px);
  }
  .showcase-bento__item--hero {
    grid-column: span 2;
    grid-row: span 2;
  }
}

.showcase-bento__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.showcase-bento__item img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.showcase-bento__item:hover img {
  transform: scale(1.04);
}

.showcase-bento__item figcaption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  font-size: 0.8125rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.6), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition);
}

.showcase-bento__item:hover figcaption {
  opacity: 1;
}

/* ============================================================
   LANDING CTA
   ============================================================ */
.landing-cta {
  padding: 5rem 1.5rem;
}

.landing-cta--meble {
  background: linear-gradient(135deg, #474544 0%, #313138 100%);
}

.landing-cta--maszyny {
  background: linear-gradient(135deg, #22233d 0%, #000 100%);
}

.landing-cta__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .landing-cta__inner {
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
  }
}

.landing-cta__title {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 100;
}

.landing-cta__text {
  margin: 1rem 0 0;
  color: var(--line-text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.landing-cta__panel {
  padding: 2rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.landing-cta__panel-row {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.landing-cta__panel-row i {
  color: var(--line-highlight);
  margin-top: 0.2rem;
}

.landing-cta__panel-label {
  display: block;
  font-size: 0.625rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line-text-muted);
  margin-bottom: 0.2rem;
}

.landing-cta__panel-row a,
.landing-cta__panel-row span {
  font-size: 0.9375rem;
  color: var(--line-text);
  text-decoration: none;
}

.landing-cta__panel-row a:hover {
  color: var(--line-highlight);
}

/* ============================================================
   SUB HERO (technologie & subpages)
   ============================================================ */
.sub-hero {
  position: relative;
  padding: 3rem 0 4rem;
  overflow: hidden;
}

.sub-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.sub-hero--meble .sub-hero__mesh {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(101, 126, 138, 0.15), transparent),
    var(--line-bg);
}

.sub-hero--maszyny .sub-hero__mesh {
  background:
    radial-gradient(ellipse 60% 50% at 80% 30%, rgba(23, 161, 22, 0.1), transparent),
    var(--line-bg);
}

.sub-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.sub-hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .sub-hero__grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    min-height: 480px;
  }
}

.sub-hero__badge {
  display: inline-flex;
  padding: 0.35rem 0.85rem;
  font-size: 0.625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: 1px solid var(--line-highlight);
  border-radius: 999px;
  color: var(--line-highlight);
}

.sub-hero__title {
  margin: 1.25rem 0 0;
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 100;
  line-height: 1.05;
}

.sub-hero__subtitle {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  color: var(--line-text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.sub-hero__visual {
  position: relative;
  min-height: 320px;
}

.sub-hero__img {
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.sub-hero__img--main img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sub-hero__img--float {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  width: 45%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

@media (min-width: 1024px) {
  .sub-hero__img--float {
    right: -2rem;
  }
}

.sub-hero__img--float img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ============================================================
   CAPABILITY CARDS (technologie)
   ============================================================ */
.capability-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .capability-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .capability-cards {
    grid-template-columns: repeat(4, 1fr);
  }
}

.capability-card {
  padding: 1.75rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), transform 0.35s ease;
}

.capability-card:hover {
  border-color: var(--line-highlight);
  transform: translateY(-3px);
}

.capability-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.capability-card__num {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--line-text-muted);
}

.capability-card__head i {
  color: var(--line-highlight);
  font-size: 1.1rem;
}

.capability-card__title {
  margin: 1.25rem 0 0;
  font-size: 1.0625rem;
  font-weight: 300;
}

.capability-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--line-text-muted);
  line-height: 1.55;
}

/* ============================================================
   TECH SHOWCASE
   ============================================================ */
.tech-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .tech-showcase {
    grid-template-columns: 1fr 1.1fr;
    gap: 5rem;
  }
}

.tech-showcase__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.tech-showcase__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  transition: border-color var(--transition);
}

.tech-showcase__list li:hover {
  border-color: var(--line-highlight);
}

.tech-showcase__list span {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  color: var(--line-highlight);
  flex-shrink: 0;
}

.tech-showcase__media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.7fr;
  gap: 0.85rem;
  min-height: 360px;
}

.tech-showcase__img {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.tech-showcase__img--1 {
  grid-row: span 2;
}

.tech-showcase__img img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
}

/* ============================================================
   MATERIALS GRID
   ============================================================ */
.materials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
}

@media (min-width: 768px) {
  .materials-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.materials-grid__item {
  margin: 0;
}

.materials-grid__img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
  aspect-ratio: 1;
}

.materials-grid__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.materials-grid__item:hover .materials-grid__img img {
  transform: scale(1.05);
}

.materials-grid__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition);
}

.materials-grid__item:hover .materials-grid__overlay {
  opacity: 1;
}

.materials-grid__overlay span {
  font-size: 0.8125rem;
  font-weight: 300;
}

/* ============================================================
   COMPARE PANEL
   ============================================================ */
.compare-panel {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 768px) {
  .compare-panel {
    grid-template-columns: repeat(4, 1fr);
  }
}

.compare-panel__item {
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.02);
}

.compare-panel__label {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--line-text-muted);
}

.compare-panel__value {
  margin: 0.5rem 0 0;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 100;
  color: var(--line-highlight);
}

/* ============================================================
   LEGACY — stats-row, service-card, about-preview, gallery-preview, page-hero
   ============================================================ */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--line-border);
  border-bottom: 1px solid var(--line-border);
}

@media (min-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stats-row__value {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1;
}

.stats-row__label {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--line-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ============================================================
   SERVICES GRID
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  position: relative;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition), transform 0.35s ease;
}

.service-card:hover {
  border-color: var(--line-highlight);
  transform: translateY(-4px);
}

.service-card__index {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--line-highlight);
  z-index: 2;
}

.service-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__body {
  padding: 1.5rem;
}

.service-card__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
}

.service-card__text {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--line-text-muted);
  line-height: 1.6;
}

/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
.about-preview__images {
  position: relative;
  min-height: 360px;
}

.about-preview__main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.about-preview__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview__secondary {
  position: absolute;
  bottom: -1.5rem;
  right: -0.5rem;
  width: 45%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--line-bg);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
}

@media (min-width: 1024px) {
  .about-preview__secondary {
    right: -2rem;
  }
}

.about-preview__secondary img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

/* ============================================================
   GALLERY PREVIEW
   ============================================================ */
.gallery-preview {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-preview {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 180px);
  }
  .gallery-preview__item--featured {
    grid-row: span 2;
    grid-column: span 2;
  }
}

.gallery-preview__item {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 0;
}

.gallery-preview__item img {
  width: 100%;
  height: 100%;
  min-height: 140px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-preview__item:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery-preview__item:not(.gallery-preview__item--featured) img {
    min-height: 180px;
  }
  .gallery-preview__item--featured img {
    min-height: 100%;
  }
}

/* ============================================================
   DOCUMENT PAGES (polityka, regulamin, RODO)
   ============================================================ */
.document-page {
  padding: clamp(3rem, 8vw, 5rem) 1.5rem clamp(4rem, 10vw, 6rem);
}

.document-page__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.document-page__title {
  margin: 0 0 clamp(2rem, 5vw, 3rem);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 100;
  text-align: center;
  line-height: 1.15;
}

.document-page__content {
  width: 100%;
}

/* ============================================================
   KNOWLEDGE BASE — listing + single
   ============================================================ */
.knowledge-page {
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) clamp(4rem, 10vw, 6rem);
}

.knowledge-page--meble {
  background: #f0eeec;
}

.knowledge-page--maszyny {
  background: #ececee;
}

.knowledge-page__inner {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
}

.knowledge-page__empty {
  margin: 0;
  text-align: center;
  color: var(--line-text-muted);
  font-size: 1.0625rem;
}

.knowledge-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .knowledge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .knowledge-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem;
  }
}

.knowledge-card {
  height: 100%;
}

.knowledge-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
  color: inherit;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(49, 49, 56, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.knowledge-card__link:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(49, 49, 56, 0.16);
}

.knowledge-card__visual {
  position: relative;
  min-height: 22rem;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #313138;
}

.knowledge-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.knowledge-card__link:hover .knowledge-card__image {
  transform: scale(1.06);
}

.knowledge-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to top,
    rgba(49, 49, 56, 0.94) 0%,
    rgba(49, 49, 56, 0.72) 38%,
    rgba(49, 49, 56, 0.2) 72%,
    rgba(49, 49, 56, 0.08) 100%
  );
  transition: opacity 0.3s ease;
}

.knowledge-page--maszyny .knowledge-card__overlay {
  background: linear-gradient(
    to top,
    rgba(34, 35, 61, 0.95) 0%,
    rgba(34, 35, 61, 0.74) 38%,
    rgba(34, 35, 61, 0.22) 72%,
    rgba(34, 35, 61, 0.08) 100%
  );
}

.knowledge-card__badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 3;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
  background: var(--line-highlight);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.knowledge-card__copy {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding: 1.5rem 1.35rem 1.65rem;
  color: #fff;
}

.knowledge-card__title {
  margin: 0;
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 300;
  line-height: 1.35;
  color: #fff;
}

.knowledge-card__excerpt {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.knowledge-article {
  background: var(--line-bg);
}

.knowledge-article__hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(22rem, 52vh, 32rem);
  padding: calc(var(--header-h) + 3rem) 1.5rem 3.5rem;
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.knowledge-article__hero-bg {
  position: absolute;
  inset: 0;
}

.knowledge-article__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.knowledge-article__hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(49, 49, 56, 0.55) 0%,
    rgba(49, 49, 56, 0.82) 55%,
    rgba(49, 49, 56, 0.92) 100%
  );
}

.knowledge-article--maszyny .knowledge-article__hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(34, 35, 61, 0.6) 0%,
    rgba(34, 35, 61, 0.84) 55%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.knowledge-article__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 52rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.knowledge-article__badge {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--line-highlight);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.knowledge-article__title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 100;
  line-height: 1.12;
  color: #fff;
  text-wrap: balance;
}

.knowledge-article__body {
  position: relative;
  z-index: 2;
  padding: clamp(3rem, 7vw, 4.5rem) 1.5rem clamp(4rem, 10vw, 6rem);
}

.knowledge-article--meble .knowledge-article__body {
  background: #f0eeec;
  color: #313138;
}

.knowledge-article--maszyny .knowledge-article__body {
  background: #ececee;
  color: #22233d;
}

.knowledge-article__inner {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.knowledge-article--meble .knowledge-article__content {
  color: #474544;
}

.knowledge-article--maszyny .knowledge-article__content {
  color: #474544;
}

.knowledge-article__content {
  width: 100%;
}

.knowledge-article__footer {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 2rem;
  border-top: 1px solid rgba(49, 49, 56, 0.12);
}

.knowledge-article__back {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--line-highlight);
  transition: opacity 0.2s ease;
}

.knowledge-article__back:hover {
  opacity: 0.75;
}

/* ============================================================
   PAGE HERO (other subpages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 3rem 1.5rem 2rem;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 70% 0%, rgba(255, 255, 255, 0.04), transparent);
  pointer-events: none;
}

.page-hero__inner {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto;
}

.page-hero__title {
  margin: 0;
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 100;
  max-width: 16ch;
}

.page-hero__subtitle {
  margin: 1rem 0 0;
  font-size: 1.0625rem;
  color: var(--line-text-muted);
  max-width: 42ch;
  line-height: 1.65;
}

.page-hero__image {
  margin-top: 2rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-border);
  aspect-ratio: 21 / 9;
  max-height: 420px;
}

.page-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================================
   FEATURE / VALUE / TECH CARDS
   ============================================================ */
.feature-card {
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.02);
}

.feature-card__image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.feature-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card__body {
  padding: 1.5rem;
}

.feature-card__title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
}

.feature-card__text {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
  color: var(--line-text-muted);
}

.value-item__icon {
  font-size: 1.25rem;
  color: var(--line-highlight);
}

.value-item__title {
  margin: 1rem 0 0;
  font-size: 1rem;
  font-weight: 300;
}

.value-item__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: var(--line-text-muted);
}

.tech-card {
  padding: 1.5rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.02);
  transition: border-color var(--transition);
}

.tech-card:hover {
  border-color: var(--line-highlight);
}

.tech-card__num {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--line-highlight);
}

.tech-card__title {
  margin: 0.75rem 0 0;
  font-size: 1rem;
  font-weight: 300;
}

.tech-card__text {
  margin: 0.5rem 0 0;
  font-size: 0.8125rem;
  color: var(--line-text-muted);
}

.material-card {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.material-card__img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.material-card__caption {
  padding: 0.75rem;
  font-size: 0.75rem;
  text-align: center;
  color: var(--line-text-muted);
  background: rgba(0, 0, 0, 0.2);
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.section-block--gallery {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.gallery-page__title {
  margin: 0 0 3rem;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 100;
  letter-spacing: -0.02em;
  color: var(--line-text);
}

.gallery-page__grid {
  columns: 1;
  column-gap: 1.25rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .gallery-page__grid {
    columns: 2;
  }
}

@media (min-width: 1024px) {
  .gallery-page__grid {
    columns: 3;
  }
}

.gallery-page__item {
  display: block;
  width: 100%;
  margin: 0 0 1.25rem;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  break-inside: avoid;
  border-radius: var(--radius-lg);
  overflow: hidden;
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}

.gallery-page__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

.gallery-page__item:focus-visible {
  outline: 2px solid var(--line-highlight);
  outline-offset: 3px;
}

.gallery-page__thumb {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.gallery-page__thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-page__item:hover .gallery-page__thumb img {
  transform: scale(1.05);
}

.gallery-page__item--h-xs .gallery-page__thumb { height: 180px; }
.gallery-page__item--h-sm .gallery-page__thumb { height: 240px; }
.gallery-page__item--h-md .gallery-page__thumb { height: 300px; }
.gallery-page__item--h-lg .gallery-page__thumb { height: 380px; }
.gallery-page__item--h-xl .gallery-page__thumb { height: 460px; }

@media (min-width: 640px) {
  .gallery-page__item--h-xs .gallery-page__thumb { height: 200px; }
  .gallery-page__item--h-sm .gallery-page__thumb { height: 260px; }
  .gallery-page__item--h-md .gallery-page__thumb { height: 320px; }
  .gallery-page__item--h-lg .gallery-page__thumb { height: 400px; }
  .gallery-page__item--h-xl .gallery-page__thumb { height: 480px; }
}

/* Lightbox */
body.gallery-lightbox-open {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

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

.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 12, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gallery-lightbox__panel {
  position: relative;
  z-index: 1;
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-template-rows: 1fr auto;
  align-items: center;
  gap: 0.75rem 1rem;
}

.gallery-lightbox__figure {
  margin: 0;
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  max-height: calc(100vh - 8rem);
}

.gallery-lightbox__image {
  display: block;
  max-width: 100%;
  max-height: calc(100vh - 8rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

.gallery-lightbox__close {
  position: absolute;
  top: -0.25rem;
  right: 0;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.gallery-lightbox__close:hover {
  border-color: var(--line-highlight);
  background: rgba(255, 255, 255, 0.14);
}

.gallery-lightbox__nav {
  position: relative;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}

.gallery-lightbox__nav:hover {
  border-color: var(--line-highlight);
  background: rgba(255, 255, 255, 0.14);
}

.gallery-lightbox__nav--prev { grid-column: 1; grid-row: 1; justify-self: start; }
.gallery-lightbox__nav--next { grid-column: 3; grid-row: 1; justify-self: end; }

.gallery-lightbox__counter {
  grid-column: 1 / -1;
  margin: 0.5rem 0 0;
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

@media (max-width: 639px) {
  .gallery-lightbox__nav--prev,
  .gallery-lightbox__nav--next {
    position: absolute;
    bottom: 0;
  }

  .gallery-lightbox__nav--prev { left: calc(50% - 3.5rem); }
  .gallery-lightbox__nav--next { right: calc(50% - 3.5rem); }

  .gallery-lightbox__panel {
    padding-bottom: 3.5rem;
  }
}

/* Legacy gallery masonry (podgląd na landingach) */
.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-masonry {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 220px;
  }
}

.gallery-masonry__item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-masonry__item img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-masonry__item:hover img {
  transform: scale(1.04);
}

@media (min-width: 768px) {
  .gallery-masonry__item { min-height: 220px; }
  .gallery-masonry__item--tall { grid-row: span 2; }
  .gallery-masonry__item--wide { grid-column: span 2; }
}

.gallery-masonry__caption {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65), transparent 50%);
  font-size: 0.8125rem;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-masonry__item:hover .gallery-masonry__caption {
  opacity: 1;
}

/* ============================================================
   CONTACT / COOP
   ============================================================ */
.contact-panel {
  padding: 2rem;
  border: 1px solid var(--line-border);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.03);
}

.contact-panel__title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 200;
}

.contact-panel__text {
  margin: 0.75rem 0 0;
  font-size: 0.9375rem;
  color: var(--line-text-muted);
}

.contact-form__field {
  margin-bottom: 1rem;
}

.contact-form__field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--line-text-muted);
}

.contact-form__field input,
.contact-form__field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  font-family: var(--font-area);
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--line-text);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--line-border);
  border-radius: var(--radius);
  transition: border-color var(--transition);
}

.contact-form__field input:focus,
.contact-form__field textarea:focus {
  outline: none;
  border-color: var(--line-highlight);
}

.contact-form__field input::placeholder,
.contact-form__field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-info {
  list-style: none;
  margin: 0;
  padding: 0;
}

.contact-info__item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.contact-info__item i {
  color: var(--line-highlight);
  width: 1.25rem;
}

.contact-info__item a {
  color: var(--line-text);
  text-decoration: none;
}

.contact-info__item a:hover {
  color: var(--line-highlight);
}

.coop-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coop-steps__item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.coop-steps__num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line-highlight);
  border-radius: 999px;
  font-size: 0.8125rem;
  color: var(--line-highlight);
}

.coop-steps__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
}

.coop-steps__text {
  margin: 0.35rem 0 0;
  font-size: 0.875rem;
  color: var(--line-text-muted);
}

/* --- Współpraca / Kontakt — layout 50/50 --- */
.line-form-hero__eyebrow {
  color: #fff;
}

body.has-line-form-page {
  overflow-x: clip;
}

body.has-line-form-page #main-content {
  max-width: 100%;
  overflow-x: clip;
}

.line-form-page {
  overflow-x: clip;
  background: #fff;
}

.line-form-page--meble {
  background: #fff;
}

@media (min-width: 1024px) {
  .line-form-page--meble {
    background: linear-gradient(90deg, #fff 50%, #f0eeec 50%);
  }

  .line-form-page--maszyny {
    background: linear-gradient(90deg, #fff 50%, #ececee 50%);
  }
}

.line-form-page__grid {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

@media (min-width: 1024px) {
  .line-form-page__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    min-height: 520px;
    align-items: center;
  }
}

.line-form-page__aside,
.line-form-page__form-col {
  min-width: 0;
  max-width: 100%;
  padding: 3rem 0;
}

@media (max-width: 1023px) {
  .line-form-page__aside {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .line-form-page__form-col {
    padding-top: 2.5rem;
    padding-bottom: 3rem;
    background: #f0eeec;
  }

  .line-form-page--maszyny .line-form-page__form-col {
    background: #ececee;
  }
}

.line-form-page__aside-inner,
.line-form-page__form-inner {
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.line-form-page__eyebrow {
  margin: 0;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--line-highlight);
}

.line-form-page__title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 100;
  letter-spacing: -0.02em;
  color: #313138;
}

.line-form-page--maszyny .line-form-page__title {
  color: #22233d;
}

.line-form-page__lead {
  margin: 1rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(49, 49, 56, 0.65);
  max-width: 42ch;
}

.line-form-page--maszyny .line-form-page__lead {
  color: rgba(34, 35, 61, 0.65);
}

.line-form-page__steps {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
}

.line-form-page__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(49, 49, 56, 0.08);
}

.line-form-page__step:last-child {
  border-bottom: 1px solid rgba(49, 49, 56, 0.08);
}

.line-form-page__step-num {
  font-size: 1.5rem;
  font-weight: 100;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--line-highlight);
}

.line-form-page__step-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  color: #313138;
}

.line-form-page--maszyny .line-form-page__step-title {
  color: #22233d;
}

.line-form-page__step-text {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: rgba(49, 49, 56, 0.62);
}

.line-form-page--maszyny .line-form-page__step-text {
  color: rgba(34, 35, 61, 0.62);
}

/* Formularz — bez karty, na tle kolumny */
.contact-panel--plain {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.contact-panel--plain .contact-panel__title {
  margin: 0;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 100;
  color: #313138;
}

.line-form-page--maszyny .contact-panel--plain .contact-panel__title {
  color: #22233d;
}

.contact-panel--plain .contact-panel__text {
  margin: 0.5rem 0 0;
  font-size: 0.875rem;
  color: rgba(49, 49, 56, 0.58);
}

.line-form-page--maszyny .contact-panel--plain .contact-panel__text {
  color: rgba(34, 35, 61, 0.58);
}

.contact-form--stack {
  margin-top: 1.5rem;
  max-width: 100%;
}

.contact-form--stack .contact-form__field {
  margin-bottom: 0.85rem;
  min-width: 0;
}

.contact-panel--plain {
  max-width: 100%;
  min-width: 0;
}

.contact-panel--plain .contact-form__field input,
.contact-panel--plain .contact-form__field textarea {
  max-width: 100%;
}

.contact-panel--plain .contact-form__field label {
  color: rgba(49, 49, 56, 0.55);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.line-form-page--maszyny .contact-panel--plain .contact-form__field label {
  color: rgba(34, 35, 61, 0.55);
}

.contact-panel--plain .contact-form__field input,
.contact-panel--plain .contact-form__field textarea {
  color: #313138;
  background: #fff;
  border-color: rgba(49, 49, 56, 0.12);
}

.line-form-page--maszyny .contact-panel--plain .contact-form__field input,
.line-form-page--maszyny .contact-panel--plain .contact-form__field textarea {
  color: #22233d;
  border-color: rgba(34, 35, 61, 0.12);
}

.contact-panel--plain .contact-form__field input:focus,
.contact-panel--plain .contact-form__field textarea:focus {
  border-color: var(--line-highlight);
}

.contact-panel--plain .contact-form__field input::placeholder,
.contact-panel--plain .contact-form__field textarea::placeholder {
  color: rgba(49, 49, 56, 0.35);
}

.contact-panel--plain .file-upload__label {
  background: #fff;
  border-color: rgba(49, 49, 56, 0.12);
  color: #313138;
}

.contact-form__gdpr {
  margin-bottom: 0.5rem;
}

.contact-form__check {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: rgba(49, 49, 56, 0.7);
  cursor: pointer;
}

.contact-form__check span {
  flex: 1;
  min-width: 0;
}

.line-form-page--maszyny .contact-form__check {
  color: rgba(34, 35, 61, 0.7);
}

.contact-form__check input[type="checkbox"] {
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  margin: 0;
  accent-color: var(--line-highlight);
}

.contact-form__check a {
  color: var(--line-highlight);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-form__submit {
  width: 100%;
  margin-top: 0.25rem;
  color: #313138;
  border-color: var(--line-highlight);
}

.line-form-page--maszyny .contact-form__submit {
  color: #22233d;
}

.contact-panel--plain .contact-form__submit:hover {
  background: var(--line-highlight);
  color: #fff;
}

/* ============================================================
   404
   ============================================================ */
.error-page {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-page__code {
  font-size: clamp(4rem, 15vw, 8rem);
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1;
  margin: 0;
}

.error-page__title {
  margin: 1rem 0 0;
  font-size: 1.5rem;
  font-weight: 200;
}

.error-page__text {
  margin: 0.75rem 0 0;
  color: var(--line-text-muted);
}

/* ============================================================
   LANDING v2 — hero, oferta, sekcje foto/jasne
   Kolory linii z briefu: meble #313138…, maszyny #22233D…
   ============================================================ */
body.line-meble,
body.line-maszyny {
  background: var(--line-bg);
}

#o-nas,
#oferta {
  scroll-margin-top: calc(var(--header-h) + 1rem);
}

/* --- Full-screen HERO --- */
.hero-full {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
}

.hero-full__bg {
  position: absolute;
  inset: 0;
}

.hero-full__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-full__overlay {
  position: absolute;
  inset: 0;
}

.hero-full--meble .hero-full__overlay {
  background: linear-gradient(105deg, rgba(49, 49, 56, 0.92) 0%, rgba(49, 49, 56, 0.55) 45%, rgba(71, 69, 68, 0.35) 100%);
}

.hero-full--maszyny .hero-full__overlay {
  background: linear-gradient(105deg, rgba(34, 35, 61, 0.93) 0%, rgba(34, 35, 61, 0.6) 50%, rgba(0, 0, 0, 0.45) 100%);
}

.hero-full__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding: 3rem var(--gutter) 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-full__inner {
    padding: 4rem 1.5rem 2.5rem;
    min-height: calc(100vh - var(--header-h));
  }
}

.hero-full__eyebrow {
  display: inline-block;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--line-highlight);
  margin-bottom: 1rem;
}

.hero-full__title {
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 5rem);
  font-weight: 100;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.hero-full__subtitle {
  margin: 1.25rem 0 0;
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 200;
  line-height: 1.65;
  max-width: 46ch;
  opacity: 0.88;
}

.hero-full__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-full__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

@media (min-width: 768px) {
  .hero-full__stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.hero-full__stat-value {
  display: block;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 500;
  color: var(--line-highlight);
  line-height: 1;
}

.hero-full__stat-label {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-full__scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: inherit;
  text-decoration: none;
}

.hero-full__scroll span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--line-highlight), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

/* --- Jasne sekcje (kontrast do ciemnego tła) --- */
body.line-meble {
  --section-light-bg: #c6d1d5;
  --section-light-text: #313138;
  --section-light-muted: #474544;
}

body.line-maszyny {
  --section-light-bg: #ececee;
  --section-light-text: #22233d;
  --section-light-muted: #474544;
}

.section-block--light {
  background: var(--section-light-bg);
  color: var(--section-light-text);
}

.section-eyebrow--dark { color: var(--line-highlight); }
.section-title--dark { color: var(--section-light-text); }
.section-lead--dark { color: var(--section-light-muted); }
.section-prose--dark { color: var(--section-light-muted); }

.coop-steps--dark .coop-steps__title { color: var(--section-light-text); }
.coop-steps--dark .coop-steps__text { color: var(--section-light-muted); }

.contact-info__item--dark a,
.contact-info__item--dark span { color: var(--section-light-text); }

.section-block--light .contact-panel {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--section-light-text);
}

.section-block--light .contact-panel__text { color: var(--section-light-muted); }

.section-block--light .contact-form__field label {
  color: var(--section-light-muted);
}

.section-block--light .contact-form__field input,
.section-block--light .contact-form__field textarea {
  color: var(--section-light-text);
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(0, 0, 0, 0.12);
}

.section-block--light .btn-line {
  color: var(--section-light-text);
  border-color: var(--line-highlight);
}

.section-block--light .btn-line:hover {
  background: var(--line-highlight);
  color: #fff;
}

body.line-meble .section-block--light .btn-line:hover {
  color: #313138;
}

/* --- Sekcje ze zdjęciem w tle --- */
.section-block--photo {
  position: relative;
  overflow: hidden;
  color: #fff;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.section-block__photo-bg {
  position: absolute;
  inset: 0;
}

.section-block__photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-block--photo-meble::after,
.section-block--photo-maszyny::after,
.section-block--photo-meble::after,
.section-block--photo-maszyny::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.section-block--photo-meble::after {
  background: linear-gradient(135deg, rgba(49, 49, 56, 0.88), rgba(101, 126, 138, 0.55));
}

.section-block--photo-maszyny::after {
  background: linear-gradient(135deg, rgba(34, 35, 61, 0.9), rgba(0, 0, 0, 0.65));
}

.section-block--photo-meble .section-block__inner--relative,
.section-block--photo-maszyny .section-block__inner--relative {
  position: relative;
  z-index: 2;
}

.section-block__inner--relative {
  position: relative;
  z-index: 2;
}

/* --- O nas (sekcja 3) --- */
.section-block--about {
  background: var(--line-bg);
}

.section-block--about-meble {
  background: #313138;
}

.section-block--about-meble .section-eyebrow {
  color: #fff;
}

.section-block--about-maszyny {
  background: linear-gradient(
    160deg,
    rgba(23, 161, 22, 0.1) 0%,
    rgba(34, 35, 61, 0.08) 45%,
    var(--line-bg) 100%
  );
}

.about-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-section {
    grid-template-columns: 1fr 1.05fr;
    gap: 5rem;
  }
}

.about-section .landing-hero__bento {
  min-height: 400px;
}

.about-section .landing-hero__bento-card-value {
  font-size: clamp(3rem, 7vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}

/* --- Karuzela oferty — białe tło, start z wcięciem --- */
.section-block--offer {
  background: #fff;
  overflow: hidden;
  padding-top: 5rem;
  padding-bottom: 4rem;
}

body.line-meble .section-block--offer {
  color: #313138;
}

body.line-maszyny .section-block--offer {
  color: #22233d;
}

.section-block--offer .section-eyebrow--dark {
  color: var(--line-highlight);
}

.section-block--offer .section-title--dark {
  color: inherit;
}

.section-block--offer .section-lead--dark {
  color: rgba(49, 49, 56, 0.62);
}

body.line-maszyny .section-block--offer .section-lead--dark {
  color: rgba(34, 35, 61, 0.62);
}

.section-block--offer .offer-carousel__head {
  margin-bottom: 2rem;
}

.offer-carousel__controls {
  display: flex;
  gap: 0.5rem;
}

.offer-carousel-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
}

.offer-carousel__track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 0.25rem 0 1rem;
  padding-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2 + var(--gutter)));
  scroll-padding-left: max(var(--gutter), calc((100vw - var(--content-max)) / 2 + var(--gutter)));
  scrollbar-width: none;
}

.offer-carousel__track::-webkit-scrollbar { display: none; }

.offer-carousel__slide {
  flex: 0 0 min(280px, 72vw);
  scroll-snap-align: start;
}

@media (min-width: 768px) {
  .offer-carousel__slide { flex-basis: 300px; }
}

@media (min-width: 1200px) {
  .offer-carousel__slide { flex-basis: 320px; }
}

.offer-carousel__square {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: none;
  box-shadow: 0 8px 28px rgba(49, 49, 56, 0.1);
}

body.line-maszyny .offer-carousel__square {
  box-shadow: 0 8px 28px rgba(34, 35, 61, 0.12);
}

.offer-carousel__square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.offer-carousel__slide:hover .offer-carousel__square img {
  transform: scale(1.06);
}

.offer-carousel__square-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(0deg, rgba(49, 49, 56, 0.88) 0%, rgba(49, 49, 56, 0.15) 55%, transparent 100%);
  color: #fff;
}

body.line-maszyny .offer-carousel__square-overlay {
  background: linear-gradient(0deg, rgba(34, 35, 61, 0.92) 0%, rgba(34, 35, 61, 0.2) 55%, transparent 100%);
}

.offer-carousel__index {
  font-size: 0.6875rem;
  letter-spacing: 0.14em;
  color: var(--line-highlight);
  margin-bottom: 0.5rem;
}

.offer-carousel__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 300;
}

.offer-carousel__text {
  margin: 0.35rem 0 0;
  font-size: 0.8125rem;
  opacity: 0.85;
  line-height: 1.45;
}

.offer-carousel__nav {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(49, 49, 56, 0.12);
  background: #fff;
  color: #313138;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(49, 49, 56, 0.06);
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

body.line-maszyny .offer-carousel__nav {
  border-color: rgba(34, 35, 61, 0.12);
  color: #22233d;
  box-shadow: 0 2px 8px rgba(34, 35, 61, 0.06);
}

.offer-carousel__nav:hover {
  border-color: var(--line-highlight);
  background: #fff;
  box-shadow: 0 4px 16px rgba(49, 49, 56, 0.1);
}

body.line-maszyny .offer-carousel__nav:hover {
  box-shadow: 0 4px 16px rgba(34, 35, 61, 0.12);
}

/* --- CTA na zdjęciu --- */
.landing-cta--photo {
  position: relative;
  padding: 6rem 1.5rem;
  overflow: hidden;
  color: #fff;
}

.landing-cta__photo {
  position: absolute;
  inset: 0;
}

.landing-cta__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-cta__overlay {
  position: absolute;
  inset: 0;
}

.landing-cta--meble .landing-cta__overlay {
  background: rgba(49, 49, 56, 0.82);
}

.landing-cta--maszyny .landing-cta__overlay {
  background: rgba(34, 35, 61, 0.85);
}

.landing-cta--photo .landing-cta__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
}

.process-track--on-photo .process-track__step {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

/* --- Proces: duże numery 01–04 --- */
.process-track--large {
  gap: 1.25rem;
}

@media (min-width: 768px) {
  .process-track--large {
    gap: 1.5rem;
  }
}

.process-track--large .process-track__step {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.75rem 1.5rem 1.75rem 1.25rem;
  min-height: 220px;
}

@media (min-width: 768px) {
  .process-track--large .process-track__step {
    padding: 2rem 1.75rem;
    min-height: 260px;
  }
}

.process-track--large .process-track__num {
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 100;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--line-highlight);
  opacity: 0.95;
}

.process-track--large .process-track__body {
  margin-top: auto;
  padding-top: 1rem;
}

.process-track--large .process-track__title {
  font-size: 1.125rem;
}

@media (min-width: 768px) {
  .process-track--large .process-track__title {
    font-size: 1.25rem;
  }
}

/* --- Przyciski na ciemnym tle --- */
.btn-line--on-dark {
  color: #fff;
  border-color: var(--line-highlight);
}

.btn-line--on-dark:hover {
  background: var(--line-highlight);
  color: #fff;
}

body.line-meble .btn-line--on-dark:hover {
  color: #313138;
}

.btn-ghost--on-dark {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.06);
}

.btn-ghost--on-dark:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #fff;
}

/* --- Bento (O nas) --- */
.landing-hero__bento {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  grid-template-rows: auto auto;
  gap: 0.85rem;
}

.landing-hero__bento-main {
  grid-row: span 2;
  margin: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.landing-hero__bento-main img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.landing-hero__bento-side {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-border);
}

.landing-hero__bento-side img {
  width: 100%;
  height: 100%;
  min-height: 120px;
  object-fit: cover;
}

.landing-hero__bento-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-border);
  background: rgba(255, 255, 255, 0.04);
}

.landing-hero__bento-card-value {
  font-size: 2rem;
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1;
}

.landing-hero__bento-card-label {
  margin-top: 0.35rem;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--line-text-muted);
}

.landing-hero__highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.landing-hero__highlights li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--line-text-muted);
}

.landing-hero__highlights i {
  color: var(--line-highlight);
  font-size: 0.65rem;
}

/* --- Upload PDF --- */
.file-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.file-upload {
  max-width: 100%;
  min-width: 0;
}

.file-upload__label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 2rem 1.5rem;
  border: 2px dashed rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg);
  cursor: pointer;
  text-align: center;
  transition: border-color var(--transition), background var(--transition);
  max-width: 100%;
  overflow-wrap: anywhere;
}

.file-upload__label:hover,
.file-upload--has-file .file-upload__label {
  border-color: var(--line-highlight);
  background: rgba(255, 255, 255, 0.5);
}

.file-upload__label i {
  font-size: 1.75rem;
  color: var(--line-highlight);
}

.file-upload__text {
  font-size: 0.9375rem;
}

.file-upload__hint {
  font-size: 0.75rem;
  opacity: 0.6;
}

.file-upload__name {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--line-highlight);
}

/* --- Już wkrótce --- */
.coming-soon {
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.coming-soon__code {
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  font-weight: 100;
  color: var(--line-highlight);
  line-height: 1.1;
  margin: 0;
  letter-spacing: 0.04em;
}

.coming-soon__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
