/* ─── RESET & VARIABLES ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #1a1a1a;
  --accent:    #2B8FE0;
  --text:      #ffffff;
  --text-muted:#888888;
  --border:    #222222;
  --radius-sm: 8px;
  --radius-lg: 50px;
  --max-w:     1100px;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── TYPOGRAPHY ─── */
h1, h2, h3 {
  font-weight: 800;
  letter-spacing: -1.5px;
  line-height: 1.1;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.4rem); font-weight: 600; letter-spacing: -0.5px; }

em { font-style: italic; color: var(--accent); }

.section-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.section-heading {
  margin-bottom: 48px;
}

/* ─── SCREEN READER ONLY ─── */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  border-radius: var(--radius-lg);
  padding: 12px 24px;
  cursor: pointer;
  border: none;
  transition: transform var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: #fff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(43, 143, 224, 0.35);
}

.btn--ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn--lg { padding: 14px 32px; font-size: 15px; }
.btn--full { width: 100%; justify-content: center; }

/* ─── REVEAL ANIMATION ─── */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  filter: blur(6px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ─── CURSOR ─── */
@media (pointer: fine) {
  body, a, button, input, textarea, select, label { cursor: none; }
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 28px; height: 28px;
  margin: -14px 0 0 -14px;
  border: 1.5px solid rgba(43, 143, 224, 0.7);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transition: width 0.2s ease, height 0.2s ease, margin 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
  opacity: 0;
}

#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  margin: -3px 0 0 -3px;
  background: #2B8FE0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.2s ease;
}

#cursor-ring.cursor-ring--hover {
  width: 44px; height: 44px;
  margin: -22px 0 0 -22px;
  border-color: rgba(43, 143, 224, 0.4);
}

@media (prefers-reduced-motion: reduce) {
  #cursor-ring, #cursor-dot { display: none; }
}

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  transition: background var(--transition), backdrop-filter var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.navbar__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
}

.navbar__logo-img {
  height: 32px;
  width: auto;
}

.navbar__links {
  display: flex;
  gap: 32px;
}

.navbar__links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.navbar__links a:hover { color: var(--text); }

.navbar__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.navbar__burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.navbar__mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
}

.navbar__mobile a {
  padding: 16px 24px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}

.navbar__mobile a:hover { color: var(--accent); }

.navbar__mobile.open { display: flex; }

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__cta { display: none; }
  .navbar__burger { display: flex; }
}

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: 68px;
  position: relative;
  overflow: hidden;
  background-image: radial-gradient(circle, rgba(43, 143, 224, 0.15) 1px, transparent 1px);
  background-size: 28px 28px;
}

.hero__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero__glow {
  position: absolute;
  width: 640px;
  height: 400px;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(43, 143, 224, 0.18) 0%, transparent 68%);
  pointer-events: none;
  z-index: 0;
  animation: heroGlow 4s ease-in-out infinite;
  will-change: opacity, transform;
}

@keyframes heroGlow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow { animation: none; opacity: 0.7; }
  .hero { background-image: none; }
}

.hero__badge {
  display: inline-block;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
}

.hero__heading {
  max-width: 800px;
  margin: 0 auto 20px;
}

.hero__sub {
  max-width: 500px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero reveal — stany startowe */
.hero__line {
  display: block; /* needed so transform works on span */
}

.js .hero__badge,
.js .hero__line,
.js .hero__sub,
.js .hero__actions {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero--visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__badge, .js .hero__line, .js .hero__sub, .js .hero__actions {
    opacity: 1; transform: none; transition: none;
  }
}


/* ─── MARQUEE ─── */
.marquee-wrap {
  background: var(--bg-2);
  overflow: hidden;
  padding: 14px 0;
  border-top: 1px solid var(--border);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%);
}

.marquee {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}

.marquee span {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── STATS ─── */
.stats {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 0;
}

.stats__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  max-width: 820px;
  margin: 0 auto;
}

.stats__item {
  flex: 1;
  text-align: center;
  padding: 0 32px;
}

.stats__number {
  display: block;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -2px;
  line-height: 1;
  margin-bottom: 8px;
}

.stats__label {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 140px;
  display: block;
  margin: 0 auto;
}

.stats__divider {
  width: 1px;
  height: 60px;
  background: var(--border);
  flex-shrink: 0;
}

.stats__number--glowing {
  animation: statGlow 2.5s ease-in-out infinite;
}

@keyframes statGlow {
  0%, 100% {
    text-shadow: 0 0 16px rgba(43, 143, 224, 0.4), 0 0 32px rgba(43, 143, 224, 0.15);
  }
  50% {
    text-shadow: 0 0 28px rgba(43, 143, 224, 0.7), 0 0 56px rgba(43, 143, 224, 0.3);
  }
}

@media (prefers-reduced-motion: reduce) {
  .stats__number--glowing { animation: none; }
}

@media (max-width: 768px) {
  .stats__grid { flex-direction: column; gap: 20px; }
  .stats__divider { width: 60px; height: 1px; }
}

/* ─── REALIZACJE ─── */
.realizacje {
  padding: 100px 0;
  overflow: hidden;
}

/* Clients marquee */
.clients-marquee-wrap {
  overflow: hidden;
  margin-bottom: 64px;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.clients-marquee {
  display: flex;
  animation: marquee-scroll 18s linear infinite;
}

.clients-marquee__item {
  flex-shrink: 0;
  padding-right: 48px;
}

.client-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 40px;
  padding: 8px 18px 8px 8px;
}

.client-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
  flex-shrink: 0;
  display: block;
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.client-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
}

.client-stat {
  font-size: 10px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Video carousel */
.video-carousel-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  max-width: var(--max-w);
  margin: 0 auto;
}

.video-carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 8px 4px;
  flex: 1;
}

.video-carousel::-webkit-scrollbar { display: none; }

.video-card {
  flex: 0 0 calc(20% - 13px);
  scroll-snap-align: start;
}

.video-card__thumb {
  aspect-ratio: 9/16;
  background: var(--bg-3);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition);
}

.video-card__thumb:hover { transform: scale(1.03); }

.video-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.video-card__play {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #fff;
  transition: transform var(--transition);
  position: relative;
  z-index: 2;
}

.video-card__link:hover .video-card__play { transform: scale(1.1); }

.video-card__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 40px 12px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.video-card__overlay span { font-size: 13px; font-weight: 700; }
.video-card__overlay small { font-size: 11px; color: var(--text-muted); }

.video-card__name {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
}

.carousel-arrow {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
}

.carousel-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}

@media (max-width: 768px) {
  .video-card { flex: 0 0 42%; }
  .carousel-arrow { display: none; }
}

/* ─── PORÓWNANIE ─── */
.porownanie {
  padding: 100px 0;
  background: var(--bg-2);
}

.porownanie__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.porownanie__col {
  padding: 48px 40px;
}

.porownanie__col h3 {
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.porownanie__col ul {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.porownanie__col li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.4;
}

.porownanie__col--bad {
  background: var(--bg-3);
  color: var(--text-muted);
}

.porownanie__col--bad h3 { color: var(--text-muted); }

.porownanie__col--good {
  background: var(--bg);
  border: 1.5px solid var(--accent);
  border-radius: var(--radius-sm);
}

.porownanie__col--good h3 { color: var(--accent); }

.icon-no  { color: #ff4444; font-weight: 700; flex-shrink: 0; }
.icon-yes { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Stagger reveal — stany startowe */
.porownanie__col--bad li {
  opacity: 0;
  transform: translateX(-14px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.porownanie__col--good li {
  opacity: 0;
  transform: translateX(14px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.por-visible {
  opacity: 1 !important;
  transform: translateX(0) !important;
}

@media (prefers-reduced-motion: reduce) {
  .porownanie__col--bad li,
  .porownanie__col--good li {
    opacity: 1; transform: none; transition: none;
  }
}

@media (max-width: 768px) {
  .porownanie__grid { grid-template-columns: 1fr; }
}

/* ─── PROCES ─── */
.proces {
  padding-top: 100px;
}

.proces__header {
  padding-bottom: 56px;
}

.proces__scroll-wrap {
  height: 100vh;
  position: relative;
}

.proces__sticky-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  background: var(--bg);
}

.proces__panel-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 24px 48px;
  height: 100%;
  display: grid;
  grid-template-columns: 80px 1fr;
}

/* ── Timeline column ── */
.nodes-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.node-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.node-group--last {
  flex: 0;
}

.tl-node {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: background 0.4s ease, border-color 0.4s ease,
              color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  user-select: none;
}

.tl-node.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 0 6px rgba(43, 143, 224, 0.12),
              0 0 20px rgba(43, 143, 224, 0.4);
}

.tl-node.done {
  border-color: var(--accent);
  color: var(--accent);
}

.node-line {
  flex: 1;
  width: 1px;
  background: var(--border);
  min-height: 16px;
  transition: background 0.5s ease;
}

.node-line.filled {
  background: linear-gradient(
    to bottom,
    var(--accent),
    rgba(43, 143, 224, 0.15)
  );
}

/* ── Content column ── */
.step-area {
  position: relative;
}

.step-block {
  position: absolute;
  top: 50%;
  left: 32px;
  right: 0;
  transform: translateY(-50%);
  max-width: 600px;
  pointer-events: none;
}

.step-block.active {
  pointer-events: auto;
}

/* Staggered reveal — default hidden */
.step-block .proces__step-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(14px);
}

.step-block h3 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 1.05;
  margin-bottom: 20px;
  opacity: 0;
  transform: translateY(18px);
}

.step-block p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 500px;
  opacity: 0;
  transform: translateY(16px);
}

/* Staggered reveal — animate in when active */
.step-block.active .proces__step-num {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.step-block.active h3 {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease 0.08s, transform 0.45s ease 0.08s;
}

.step-block.active p {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease 0.18s, transform 0.45s ease 0.18s;
}

.proces__nav {
  position: absolute;
  bottom: 0;
  left: 32px;
  display: flex;
  gap: 12px;
}

.proces__nav-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: none;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition);
}

.proces__nav-btn:hover:not(:disabled) {
  border-color: var(--accent);
  color: var(--accent);
}

.proces__nav-btn--primary {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.proces__nav-btn--primary:hover:not(:disabled) {
  background: #1a7fd4;
  border-color: #1a7fd4;
  color: #fff;
}

.proces__nav-btn:disabled {
  opacity: 0.3;
  cursor: default;
}

/* ─── FAQ ─── */
.faq {
  padding: 100px 0;
  background: var(--bg-2);
}

.faq__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.faq__item {
  background: var(--bg-3);
  border-radius: var(--radius-sm);
}

.faq__summary {
  width: 100%;
  padding: 20px 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  text-align: left;
  transition: color var(--transition);
}

.faq__summary:hover { color: var(--accent); }

.faq__summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: -2px;
}

.faq__icon {
  font-size: 20px;
  font-weight: 300;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease;
  display: block;
  line-height: 1;
}

.faq__item.open .faq__icon {
  transform: rotate(45deg);
  color: var(--accent);
}

.faq__item.open .faq__summary { color: var(--accent); }

.faq__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq__body p {
  padding: 0 24px 20px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

.faq__item:last-child:nth-child(odd) { grid-column: 1 / -1; }

@media (max-width: 768px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__item:last-child:nth-child(odd) { grid-column: auto; }
}

/* ─── KONTAKT ─── */
.kontakt {
  padding: 100px 0;
}

.kontakt__sub {
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
}

.kontakt__form {
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(43, 143, 224, 0.15);
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-muted); }

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

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

.kontakt__social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.kontakt__social-link:hover { color: var(--accent); }

/* ─── FOOTER ─── */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 40px;
  background: var(--bg);
}

.footer__big-text {
  font-size: clamp(4rem, 12vw, 9rem);
  font-weight: 800;
  letter-spacing: -4px;
  color: var(--bg-3);
  line-height: 1;
  margin-bottom: 32px;
  user-select: none;
  transition: color 0.4s ease, -webkit-text-stroke-color 0.4s ease;
  -webkit-text-stroke: 2px transparent;
}

.footer__big-text:hover {
  color: transparent;
  -webkit-text-stroke-color: var(--accent);
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 13px;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.footer__icons {
  display: flex;
  gap: 16px;
}

.footer__icons a {
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer__icons a:hover { color: var(--accent); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .hero__inner { padding-top: 48px; padding-bottom: 48px; }
  .hero__badge { font-size: 10px; letter-spacing: 1px; padding: 5px 12px; }
  .hero__actions { flex-direction: column; align-items: center; }
  .porownanie { padding: 60px 0; }
  .faq { padding: 60px 0; }
  .kontakt { padding: 60px 0; }
  .realizacje { padding: 60px 0; }
  .stats { padding: 60px 0; }
  .section-heading { margin-bottom: 32px; }
  .kontakt__form { max-width: 100%; }
  .footer__big-text { letter-spacing: -2px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; }

  .proces__scroll-wrap { height: auto; }

  .proces__sticky-panel {
    position: relative;
    height: auto;
  }

  .proces__panel-inner {
    display: flex;
    flex-direction: column;
    padding: 0 24px 48px;
    height: auto;
  }

  .nodes-col { display: none; }
  .proces__nav { display: none; }

  .step-area {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 48px;
  }

  .step-block {
    position: static;
    transform: none;
    max-width: 100%;
    pointer-events: auto;
  }

  .step-block .proces__step-num,
  .step-block h3,
  .step-block p {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ─── ACCESSIBILITY: reduce motion ─── */
@media (prefers-reduced-motion: reduce) {
  .marquee, .clients-marquee { animation: none; }
  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
  .step-block .proces__step-num,
  .step-block h3,
  .step-block p,
  .step-block.active .proces__step-num,
  .step-block.active h3,
  .step-block.active p {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .tl-node { transition: none; }
  .node-line { transition: none; }
}
