/* ═══════════════════════════════════════════════
   PanelConcept — główny arkusz stylów
   Ciemna estetyka premium · mobile-first
═══════════════════════════════════════════════ */

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

:root {
  /* Brand */
  --blue:      #3A7CA5;
  --blue-d:    #2d6089;
  --blue-l:    #4e93bc;
  --blue-faint:rgba(58,124,165,0.08);
  --blue-glow: rgba(58,124,165,0.18);

  /* Neutrals */
  --dark:    #181a1b;
  --charcoal:#222426;
  --mid:     #2a2d30;
  --surface: #2e3235;
  --border:  rgba(255,255,255,0.07);
  --border-b:rgba(58,124,165,0.25);

  /* Text */
  --white:   #ffffff;
  --text:    #d4d8db;
  --muted:   #8a9099;
  --faint:   rgba(255,255,255,0.35);

  /* Spacing / Shape */
  --radius:  3px;
  --tr:      0.28s cubic-bezier(.4,0,.2,1);
  --max:     1240px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; }

/* ═══════════════════════════════
   NAV
═══════════════════════════════ */
nav.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: 76px;
  display: flex;
  align-items: center;
  padding: 0 40px;
  background: rgba(22,24,25,0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr), border-color var(--tr);
}

nav.site-nav.scrolled {
  background: rgba(22,24,25,0.98);
  border-color: rgba(58,124,165,0.2);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  gap: 16px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.07em;
  line-height: 1;
}

.nav-logo-text .blue  { color: var(--blue); }
.nav-logo-text .white { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
}

.nav-links > li { position: relative; }

.nav-links a,
.nav-sub-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  color: var(--muted);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--tr);
  white-space: nowrap;
}

.nav-links > li + li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 1px; height: 14px;
  background: var(--border);
}

.nav-links a:hover,
.nav-sub-toggle:hover { color: var(--white); }

.nav-links a[aria-current="page"] { color: var(--blue-l); }

.nav-sub-toggle svg {
  width: 10px; height: 10px;
  fill: currentColor;
  transition: transform var(--tr);
}

/* Dropdown */
.nav-sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 8px;
  min-width: 230px;
  background: rgba(24,26,27,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-top: 2px solid var(--blue);
  border-radius: var(--radius);
  list-style: none;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--tr), transform var(--tr), visibility var(--tr);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.nav-sub li::before { display: none; }

.nav-sub a {
  padding: 10px 20px;
  font-size: 12px;
  letter-spacing: 0.07em;
}

.nav-sub a:hover { background: rgba(58,124,165,0.08); }

li.has-sub:hover .nav-sub,
li.has-sub:focus-within .nav-sub,
li.has-sub.open .nav-sub {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

li.has-sub:hover .nav-sub-toggle svg,
li.has-sub.open .nav-sub-toggle svg { transform: rotate(180deg); }

/* Prawa strona nagłówka */
.nav-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  transition: color var(--tr);
  white-space: nowrap;
}

.nav-phone svg {
  width: 15px; height: 15px;
  fill: var(--blue);
  flex-shrink: 0;
}

.nav-phone:hover { color: var(--blue-l); }

.nav-cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--tr);
  white-space: nowrap;
}

.nav-cta:hover { background: var(--blue-l); }

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px; height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 100%; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--tr), opacity var(--tr);
  transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.nav-drawer {
  position: fixed;
  top: 76px; left: 0; right: 0;
  bottom: 0;
  z-index: 199;
  background: rgba(22,24,25,0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0 40px;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  display: block;
  padding: 12px 32px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: color var(--tr), background var(--tr);
}

.nav-drawer a:hover,
.nav-drawer a[aria-current="page"] { color: var(--white); background: rgba(255,255,255,0.03); }

.nav-drawer .drawer-group {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--faint);
  padding: 18px 32px 6px;
}

.nav-drawer .drawer-sub { padding-left: 48px; }

.nav-drawer .drawer-cta {
  margin: 20px 32px 0;
  background: var(--blue);
  color: var(--white);
  padding: 14px 24px;
  text-align: center;
  border-radius: var(--radius);
  font-weight: 600;
  letter-spacing: 0.06em;
}

.nav-drawer .drawer-cta:hover { background: var(--blue-l); }

/* ═══════════════════════════════
   FLOATING CTA (telefon)
═══════════════════════════════ */
.float-cta {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 190;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  padding: 14px 22px;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 8px 32px rgba(58,124,165,0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px);
  transition: opacity var(--tr), transform var(--tr), background var(--tr);
}

.float-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.float-cta:hover { background: var(--blue-l); }

.float-cta svg {
  width: 18px; height: 18px;
  fill: white;
  flex-shrink: 0;
}

/* ═══════════════════════════════
   PRZYCISKI
═══════════════════════════════ */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: none;
  transition: background var(--tr), transform var(--tr), box-shadow var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--blue-l);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(58,124,165,0.35);
}

.btn-ghost {
  color: var(--white);
  padding: 15px 32px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-decoration: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color var(--tr), transform var(--tr);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.5);
  transform: translateY(-2px);
}

/* ═══════════════════════════════
   SEKCJE — baza
═══════════════════════════════ */
section { padding: 100px 40px; }

.container {
  max-width: var(--max);
  margin: 0 auto;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.section-eyebrow-line {
  width: 32px;
  height: 2px;
  background: var(--blue);
  flex-shrink: 0;
}

.section-eyebrow-text {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}

.section-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}

.section-body {
  font-size: 16px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.8;
}

.section-body + .section-body { margin-top: 16px; }

.section-body a { color: var(--blue-l); }

.bg-charcoal { background: var(--charcoal); }
.bg-dark     { background: var(--dark); }

.grid-pattern {
  position: relative;
}

.grid-pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.grid-pattern > * { position: relative; }

/* ═══════════════════════════════
   HERO — strona główna
═══════════════════════════════ */
#hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--dark);
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(58,124,165,0.025) 0,
      rgba(58,124,165,0.025) 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.hero-left {
  padding: 140px 64px 80px 48px;
  max-width: 640px;
  margin-left: auto;
  position: relative;
  z-index: 1;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(58,124,165,0.1);
  border: 1px solid rgba(58,124,165,0.3);
  color: var(--blue-l);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius);
  margin-bottom: 32px;
}

.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--blue);
  border-radius: 50%;
  flex-shrink: 0;
}

h1.hero-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  line-height: 1.06;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

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

.hero-sub {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin-bottom: 44px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: flex;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero-stat {
  flex: 1;
  padding-right: 28px;
  position: relative;
}

.hero-stat + .hero-stat {
  padding-left: 28px;
  padding-right: 28px;
}

.hero-stat + .hero-stat::before {
  content: '';
  position: absolute;
  left: 0; top: 4px;
  width: 1px; height: 40px;
  background: var(--border);
}

.stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  font-weight: 900;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-right {
  position: relative;
  height: 100%;
  min-height: 100vh;
  overflow: hidden;
}

.hero-right img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 40% 35%;
  filter: brightness(0.72) saturate(0.85) contrast(1.08);
}

.hero-right::before {
  content: '';
  position: absolute;
  inset: 32px 32px auto auto;
  width: 80px; height: 80px;
  border-top: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  z-index: 2;
  pointer-events: none;
}

.hero-right::after {
  content: '';
  position: absolute;
  inset: auto auto 32px 32px;
  width: 80px; height: 80px;
  border-bottom: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
  z-index: 2;
  pointer-events: none;
}

.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24,26,27,0.55) 0%, transparent 40%);
  z-index: 1;
}

/* ═══════════════════════════════
   PAGE HERO — podstrony
═══════════════════════════════ */
.page-hero {
  padding: 170px 40px 70px;
  background: var(--charcoal);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(58,124,165,0.03) 0,
      rgba(58,124,165,0.03) 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.page-hero .container { position: relative; }

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--tr);
}

.breadcrumbs a:hover { color: var(--white); }

.breadcrumbs li + li::before {
  content: '›';
  margin-right: 8px;
  color: var(--faint);
}

.breadcrumbs [aria-current="page"] { color: var(--blue-l); }

h1.page-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.08;
  color: var(--white);
  letter-spacing: -0.025em;
  margin-bottom: 20px;
  max-width: 800px;
}

h1.page-title em { font-style: normal; color: var(--blue); }

.page-lead {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 620px;
}

.page-hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 36px;
}

/* ═══════════════════════════════
   GALLERY STRIP
═══════════════════════════════ */
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  height: 260px;
}

.gallery-strip-item {
  overflow: hidden;
  position: relative;
  display: block;
}

.gallery-strip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  filter: brightness(0.7) saturate(0.85);
  transition: filter var(--tr), transform 0.5s ease;
  display: block;
}

.gallery-strip-item:hover img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.04);
}

.gallery-strip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, rgba(0,0,0,0.5));
  pointer-events: none;
}

/* ═══════════════════════════════
   KARTY PRODUKTÓW
═══════════════════════════════ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 56px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--charcoal);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--tr), transform var(--tr);
}

.product-card:hover {
  border-color: var(--border-b);
  transform: translateY(-4px);
}

.product-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background: var(--mid);
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: brightness(0.78) saturate(0.9);
  transition: filter var(--tr), transform 0.5s ease;
  display: block;
}

.product-card:hover .product-card-img img {
  filter: brightness(0.95) saturate(1);
  transform: scale(1.05);
}

.product-card-img .no-photo {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    repeating-linear-gradient(-45deg, rgba(58,124,165,0.05) 0, rgba(58,124,165,0.05) 1px, transparent 0, transparent 14px),
    var(--mid);
}

.product-card-img .no-photo svg {
  width: 56px; height: 56px;
  fill: rgba(58,124,165,0.5);
}

.product-card-body {
  padding: 26px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-l);
}

.product-card-link svg {
  width: 14px; height: 14px;
  fill: currentColor;
  transition: transform var(--tr);
}

.product-card:hover .product-card-link svg { transform: translateX(4px); }

/* ═══════════════════════════════
   WHY — karty atutów
═══════════════════════════════ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 64px;
  position: relative;
}

.why-card {
  background: var(--dark);
  padding: 44px 36px;
  border-top: 3px solid transparent;
  transition: border-color var(--tr), background var(--tr);
}

.why-card:hover {
  border-color: var(--blue);
  background: rgba(22,24,25,0.8);
}

.why-icon {
  width: 52px; height: 52px;
  background: var(--blue-faint);
  border: 1px solid var(--border-b);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
}

.why-icon svg {
  width: 24px; height: 24px;
  fill: var(--blue);
}

.why-card-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
}

.why-card-body {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
}

/* ═══════════════════════════════
   TWO-COL + LISTA CECH
═══════════════════════════════ */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.two-col.reverse { direction: rtl; }
.two-col.reverse > * { direction: ltr; }

.features-list {
  list-style: none;
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 14px;
  color: var(--text);
  padding: 12px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-left: 2px solid var(--blue);
  transition: background var(--tr);
}

.features-list li:hover { background: rgba(58,124,165,0.06); }

.features-list li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  background: var(--blue);
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='white' d='M16.7 5.3a1 1 0 0 1 0 1.4l-8 8a1 1 0 0 1-1.4 0l-4-4a1 1 0 1 1 1.4-1.4L8 12.6l7.3-7.3a1 1 0 0 1 1.4 0z'/%3E%3C/svg%3E");
  mask-size: contain;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}

.img-framed {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--border-b);
  display: block;
}

.img-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.img-stack .main {
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.img-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.img-row-3.cols-2 { grid-template-columns: repeat(2, 1fr); }

.img-row-3 img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius);
  filter: brightness(0.88);
  transition: filter var(--tr), transform var(--tr);
  border: 1px solid var(--border);
}

.img-row-3 img:hover {
  filter: brightness(1.05);
  transform: scale(1.02);
}

/* ═══════════════════════════════
   KROKI PROCESU
═══════════════════════════════ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  margin-top: 60px;
}

.steps.cols-5 { grid-template-columns: repeat(5, 1fr); }

.step {
  background: rgba(24,26,27,0.95);
  padding: 44px 32px 36px;
  border-left: 3px solid transparent;
  position: relative;
  transition: border-color var(--tr), background var(--tr);
}

.step:hover {
  border-left-color: var(--blue);
  background: rgba(24,26,27,1);
}

.step-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 80px;
  font-weight: 900;
  color: rgba(58,124,165,0.1);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -0.04em;
  transition: color var(--tr);
}

.step:hover .step-num { color: rgba(58,124,165,0.18); }

.step-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.01em;
}

.step-body {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.75;
}

/* ═══════════════════════════════
   TABELA PORÓWNAWCZA
═══════════════════════════════ */
.compare-wrap {
  margin-top: 52px;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 560px;
}

table.compare th,
table.compare td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

table.compare thead th {
  background: var(--mid);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

table.compare thead th.highlight {
  color: var(--blue-l);
  border-bottom: 2px solid var(--blue);
}

table.compare tbody th {
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
  white-space: nowrap;
}

table.compare td { color: var(--muted); }

table.compare td.highlight {
  color: var(--text);
  background: rgba(58,124,165,0.05);
}

table.compare tbody tr:last-child th,
table.compare tbody tr:last-child td { border-bottom: none; }

/* ═══════════════════════════════
   REALIZACJE — siatki
═══════════════════════════════ */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}

.filter-btn {
  background: none;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: var(--radius);
  cursor: pointer;
  transition: color var(--tr), border-color var(--tr), background var(--tr);
}

.filter-btn:hover { color: var(--white); border-color: rgba(255,255,255,0.3); }

.filter-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 52px;
}

.video-thumb {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--charcoal);
  display: block;
  text-decoration: none;
  border: 1px solid var(--border);
}

.video-thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.9);
  transition: filter var(--tr), transform 0.5s ease;
}

.video-thumb:hover img {
  filter: brightness(0.5) saturate(0.9);
  transform: scale(1.04);
}

.video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 60px; height: 60px;
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
  backdrop-filter: blur(4px);
}

.video-play svg {
  width: 22px; height: 22px;
  fill: white;
  margin-left: 3px;
}

.video-thumb:hover .video-play {
  background: var(--blue);
  border-color: var(--blue);
  transform: translate(-50%, -50%) scale(1.12);
}

.pair-section-label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 56px 0 28px;
}

.pair-section-label span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
  white-space: nowrap;
}

.pair-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 200px;
  gap: 6px;
}

.real-grid .item {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
  border: 1px solid var(--border);
}

.real-grid .item.tall { grid-row: span 2; }
.real-grid .item.wide { grid-column: span 2; }
.real-grid .item.hidden { display: none; }

.real-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  filter: brightness(0.82) saturate(0.88);
  transition: filter var(--tr), transform 0.5s ease;
}

.real-grid .item:hover img {
  filter: brightness(1) saturate(1);
  transform: scale(1.05);
}

.real-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 40%, rgba(0,0,0,0.82));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--tr);
}

.real-grid .item:hover .real-overlay { opacity: 1; }

.real-city {
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.real-type {
  font-size: 11px;
  color: var(--blue-l);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
}

.pair-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.pair-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  height: 320px;
  border: 1px solid var(--border);
}

.pair-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  filter: brightness(0.83) saturate(0.9);
  transition: filter var(--tr), transform 0.5s ease;
}

.pair-item:hover img {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.04);
}

.pair-badge {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: var(--radius);
  backdrop-filter: blur(8px);
  pointer-events: none;
}

.pair-badge.render {
  background: rgba(58,124,165,0.88);
  color: #fff;
}

.pair-badge.real {
  background: rgba(22,24,25,0.88);
  color: rgba(255,255,255,0.82);
  border: 1px solid rgba(255,255,255,0.15);
}

/* ═══════════════════════════════
   FAQ — akordeon
═══════════════════════════════ */
.faq-group-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
  margin: 48px 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-group-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

details.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.015);
  margin-bottom: 10px;
  transition: border-color var(--tr);
}

details.faq-item[open] { border-color: var(--border-b); }

details.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 56px 20px 24px;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  position: relative;
  transition: color var(--tr);
}

details.faq-item summary::-webkit-details-marker { display: none; }

details.faq-item summary:hover { color: var(--blue-l); }

details.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--blue);
  transition: transform var(--tr);
}

details.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }

.faq-answer {
  padding: 0 24px 22px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 800px;
}

.faq-answer a { color: var(--blue-l); }

/* ═══════════════════════════════
   FORMULARZ (mailto)
═══════════════════════════════ */
.form-card {
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px;
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; gap: 8px; }

.form-field.full { grid-column: 1 / -1; }

.form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-field input,
.form-field select,
.form-field textarea {
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  padding: 13px 16px;
  transition: border-color var(--tr);
  width: 100%;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%238a9099' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  cursor: pointer;
}

.form-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.form-checks label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  background: var(--dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 11px 16px;
  cursor: pointer;
  transition: border-color var(--tr), background var(--tr);
}

.form-checks label:has(input:checked) {
  border-color: var(--blue);
  background: rgba(58,124,165,0.08);
}

.form-checks input {
  accent-color: var(--blue);
  width: 15px; height: 15px;
}

.form-note {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 18px;
  line-height: 1.7;
}

.form-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.form-preview {
  margin-top: 26px;
  background: var(--dark);
  border: 1px solid var(--border-b);
  border-radius: var(--radius);
  padding: 20px 22px;
  font-size: 13px;
  color: var(--text);
  white-space: pre-wrap;
  line-height: 1.75;
  display: none;
}

.form-preview.visible { display: block; }

/* ═══════════════════════════════
   KONTAKT
═══════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-items {
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  border: 1px solid var(--border);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  transition: background var(--tr);
  border-bottom: 1px solid var(--border);
}

.contact-item:last-child { border-bottom: none; }
.contact-item:hover { background: rgba(255,255,255,0.02); }

.contact-icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--blue-faint);
  border: 1px solid var(--border-b);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 18px; height: 18px;
  fill: var(--blue);
}

.contact-item-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 15px;
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--tr);
  word-break: break-word;
}

a.contact-item-value:hover { color: var(--blue-l); }

.contact-legal {
  margin-top: 24px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════
   CTA BAND (przed stopką)
═══════════════════════════════ */
.cta-band {
  background: var(--mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      -45deg,
      rgba(58,124,165,0.04) 0,
      rgba(58,124,165,0.04) 1px,
      transparent 0,
      transparent 50%
    );
  background-size: 32px 32px;
  pointer-events: none;
}

.cta-band .container {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-band-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.cta-band-title em { font-style: normal; color: var(--blue); }

.cta-band-body {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  max-width: 520px;
}

.cta-band-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

.cta-band-actions .btn-primary,
.cta-band-actions .btn-ghost { justify-content: center; }

/* ═══════════════════════════════
   FOOTER
═══════════════════════════════ */
footer.site-footer {
  background: var(--charcoal);
  border-top: 1px solid var(--border);
}

.footer-top {
  max-width: var(--max);
  margin: 0 auto;
  padding: 64px 40px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.1fr;
  gap: 48px;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-bottom: 20px;
}

.footer-logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.07em;
}

.footer-logo-text .blue  { color: var(--blue); }
.footer-logo-text .white { color: var(--white); }

.footer-tagline {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 20px;
}

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

.footer-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
  transition: color var(--tr);
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}

.footer-contact-item svg {
  width: 14px; height: 14px;
  fill: var(--blue);
  flex-shrink: 0;
}

.footer-contact-item a {
  color: var(--muted);
  text-decoration: none;
  transition: color var(--tr);
  word-break: break-word;
}

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

.footer-bottom {
  max-width: var(--max);
  margin: 0 auto;
  padding: 20px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--muted);
}

.footer-legal {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 20px;
}

/* ═══════════════════════════════
   SCROLL REVEAL
═══════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════
   RESPONSIVE
═══════════════════════════════ */
@media (max-width: 1100px) {
  .nav-phone span { display: none; }
}

@media (max-width: 980px) {
  nav.site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  section { padding: 72px 20px; }
  .page-hero { padding: 140px 20px 56px; }

  #hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-left {
    padding: 120px 24px 48px;
    max-width: 100%;
    margin-left: 0;
  }

  .hero-right {
    height: 300px;
    min-height: auto;
  }

  .hero-right::before,
  .hero-right::after { display: none; }

  .gallery-strip { grid-template-columns: 1fr; height: auto; }
  .gallery-strip-item { height: 200px; }

  .two-col,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .two-col.reverse { direction: ltr; }

  .why-grid { grid-template-columns: 1fr; }
  .steps, .steps.cols-5 { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }

  .real-grid { grid-template-columns: 1fr 1fr; }
  .real-grid .item.wide { grid-column: span 1; }
  .real-grid .item.tall { grid-row: span 1; }

  .video-grid,
  .pair-grid { grid-template-columns: 1fr; }
  .pair-item { height: 240px; }

  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 32px 24px; }

  .cta-band .container { grid-template-columns: 1fr; gap: 32px; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .float-cta { bottom: 20px; right: 20px; padding: 12px 18px; font-size: 13px; }
}

@media (max-width: 560px) {
  .steps, .steps.cols-5 { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 16px; }
  .hero-stat + .hero-stat { padding-left: 16px; padding-right: 0; }
  .contact-legal { flex-direction: column; gap: 6px; }
  .img-row-3 { grid-template-columns: repeat(3, 1fr); }
  .real-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; gap: 4px; text-align: center; }
}

/* ═══════════════════════════════
   LIGHTBOX
═══════════════════════════════ */
[data-lightbox] { cursor: zoom-in; }

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,11,12,0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tr), visibility var(--tr);
  padding: 70px 24px;
}

.lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-figure {
  margin: 0;
  max-width: min(1200px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.lightbox-img {
  max-width: 100%;
  max-height: 76vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border-b);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
}

.lightbox-caption {
  color: var(--text);
  font-size: 13px;
  text-align: center;
  max-width: 640px;
}

.lightbox-count {
  color: var(--faint);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--white);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--tr), border-color var(--tr), transform var(--tr);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--blue);
  border-color: var(--blue);
}

.lightbox-close { top: 24px; right: 24px; }
.lightbox-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) translateX(-2px); }
.lightbox-next:hover { transform: translateY(-50%) translateX(2px); }

.lightbox-close svg,
.lightbox-prev svg,
.lightbox-next svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 640px) {
  .lightbox-overlay { padding: 90px 16px 40px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox-prev { left: 8px; width: 40px; height: 40px; }
  .lightbox-next { right: 8px; width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
