/* ============================================================
   STUDIO Landing — style.css
   Paleta: Espresso · Gold · Bronze (bez indigo/błękitu)
   Tryb ciemny domyślny; jasny przez [data-theme="light"]
   ============================================================ */

/* ── ZMIENNE MOTYWU ─────────────────────────────────────────── */
:root {
  /* tła */
  --bg:        #1C1814;
  --bg-card:   #2A241D;
  --bg-nav:    rgba(28, 24, 20, 0.78);
  --bg-btn:    #1C1814;       /* zawsze ciemne tło wewnątrz przycisku */

  /* tekst */
  --tx:        #FAF7F1;
  --tx-m:      rgba(250, 247, 241, 0.55);
  --tx-d:      rgba(229, 211, 179, 0.35);

  /* akcenty (identyczne w obu motywach) */
  --gold:      #E5D3B3;
  --gold-soft: #EFE3CC;
  --bronze:    #8A7551;

  /* linie */
  --line:      rgba(229, 211, 179, 0.18);
  --line-sub:  rgba(229, 211, 179, 0.14);

  /* aurora (kolory) */
  --orb-1-c: #8A7551;
  --orb-2-c: #EFE3CC;
  --orb-3-c: #E5D3B3;

  /* aurora (krycie — oddzielnie, bo opacity nie wchodzi do gradientu) */
  --orb-1-o: 0.38;
  --orb-2-o: 0.22;
  --orb-3-o: 0.18;

  /* misc */
  --dot-c:        rgba(229, 211, 179, 0.05);
  --mq-tx:        rgba(229, 211, 179, 0.22);
  --lbl-c:        #E5D3B3;
  --tilt-glow-c:  rgba(229, 211, 179, 0.11);
  --spot-c:       rgba(229, 211, 179, 0.14);
  --case-stripe:  rgba(229, 211, 179, 0.04);
  --case-ph-tx:   rgba(229, 211, 179, 0.35);
}

[data-theme="light"] {
  --bg:        #FAF7F1;
  --bg-card:   #FFFFFF;
  --bg-nav:    rgba(250, 247, 241, 0.90);

  --tx:        #2A2620;
  --tx-m:      #6B655C;
  --tx-d:      rgba(42, 38, 32, 0.40);

  --line:      rgba(42, 38, 32, 0.10);
  --line-sub:  rgba(42, 38, 32, 0.08);

  --orb-1-o: 0.12;
  --orb-2-o: 0.08;
  --orb-3-o: 0.07;

  --dot-c:        rgba(42, 38, 32, 0.04);
  --mq-tx:        rgba(42, 38, 32, 0.18);
  --lbl-c:        #8A7551;
  --tilt-glow-c:  rgba(42, 38, 32, 0.04);
  --spot-c:       rgba(42, 38, 32, 0.08);
  --case-stripe:  rgba(42, 38, 32, 0.04);
  --case-ph-tx:   rgba(42, 38, 32, 0.30);
}

/* Sekcje zawsze ciemne (CTA, footer) – resetują zmienne */
.always-dark {
  --bg:       #1C1814;
  --bg-card:  #2A241D;
  --bg-nav:   rgba(28, 24, 20, 0.78);
  --bg-btn:   #1C1814;
  --tx:       #FAF7F1;
  --tx-m:     rgba(250, 247, 241, 0.55);
  --tx-d:     rgba(229, 211, 179, 0.35);
  --line:     rgba(229, 211, 179, 0.18);
  --line-sub: rgba(229, 211, 179, 0.14);
  --lbl-c:    #E5D3B3;
  --orb-1-o:  0.45;
  --orb-2-o:  0.28;
  --orb-3-o:  0.20;
}


/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, sans-serif;
  background: var(--bg);
  color: var(--tx);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.3s ease, color 0.3s ease;
}

::selection { background: rgba(229, 211, 179, 0.28); color: #FAF7F1; }

a { text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.page-wrap { background: var(--bg); position: relative; overflow: hidden; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 40px;
  padding-right: 40px;
}

.section { padding: 96px 0; }


/* ── ANIMACJE ───────────────────────────────────────────────── */
@keyframes auroraA  { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(9%,7%) scale(1.18)} 100%{transform:translate(0,0) scale(1)} }
@keyframes auroraB  { 0%{transform:translate(0,0) scale(1.05)} 50%{transform:translate(-8%,5%) scale(0.9)} 100%{transform:translate(0,0) scale(1.05)} }
@keyframes auroraC  { 0%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,-8%) scale(1.22)} 100%{transform:translate(0,0) scale(1)} }
@keyframes gridPan  { to { background-position: 60px 60px; } }
@keyframes marquee  { to { transform: translateX(-50%); } }
@keyframes spin     { to { transform: rotate(360deg); } }
@keyframes beamDash { to { stroke-dashoffset: -260; } }
@keyframes nodeGlow { 0%,100%{ box-shadow:0 0 0 0 rgba(229,211,179,0); } 50%{ box-shadow:0 0 22px 4px rgba(229,211,179,0.55); } }
@keyframes blink    { 0%,49%{opacity:1} 50%,100%{opacity:0} }
@keyframes barGrow  { 0%,100%{transform:scaleY(0.35)} 50%{transform:scaleY(1)} }

@media (prefers-reduced-motion: reduce) {
  .aurora-orb, .dot-grid, .beam-spinner,
  .marquee-track, .step-node, .bar, .beamline { animation: none !important; }
  .marquee-track { transform: none !important; }
  html { scroll-behavior: auto; }
}


/* ── GRADIENT TEXT ──────────────────────────────────────────── */
.gt {
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline;
}

/* kreacją — ciemny: cream→gold→bronze; jasny: bronze→gold */
.gt-hero-1 { background-image: linear-gradient(100deg, #FAF7F1, #E5D3B3 55%, #8A7551); }
[data-theme="light"] .gt-hero-1 { background-image: linear-gradient(100deg, #8A7551, #E5D3B3); }

/* danymi — ciemny: goldsoft→bronze→gold; jasny: gold→bronze */
.gt-hero-2 { background-image: linear-gradient(100deg, #EFE3CC, #8A7551 50%, #E5D3B3); }
[data-theme="light"] .gt-hero-2 { background-image: linear-gradient(100deg, #E5D3B3, #8A7551); }

/* CTA "co działa" — ciemny: cream→gold→bronze; jasny: ink→bronze */
.gt-cta { background-image: linear-gradient(100deg, #FAF7F1, #E5D3B3 50%, #8A7551); }

/* Liczniki / wyniki */
.gt-count-1 { background-image: linear-gradient(120deg, #FAF7F1, #E5D3B3); }
[data-theme="light"] .gt-count-1 { background-image: linear-gradient(120deg, #8A7551, #E5D3B3); }

.gt-count-2 { background-image: linear-gradient(120deg, #E5D3B3, #8A7551); }
/* .gt-count-2 identical in both themes */

.gt-count-3 { background-image: linear-gradient(120deg, #EFE3CC, #E5D3B3); }
/* .gt-count-3 identical in both themes */

/* Case study wyniki */
.gt-case-1 { background-image: linear-gradient(120deg, #FAF7F1, #E5D3B3); }
[data-theme="light"] .gt-case-1 { background-image: linear-gradient(120deg, #2A2620, #8A7551); }

.gt-case-2 { background-image: linear-gradient(120deg, #E5D3B3, #8A7551); }
/* identical */

.gt-case-3 { background-image: linear-gradient(120deg, #EFE3CC, #E5D3B3); }
/* identical */

/* ROAS dashboard */
.gt-roas { background-image: linear-gradient(120deg, #E5D3B3, #8A7551); }


/* ── NAV ────────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: var(--bg-nav);
  border-bottom: 1px solid var(--line);
  transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex-shrink: 0;
}

.nav-brand-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(229, 211, 179, 0.65);
}

/* ── LOGO STRONY (czarny plik, inwersja wg motywu) ─────────── */
.brand-logo {
  height: 26px;
  width: auto;
  display: block;
  filter: invert(1);                 /* domyślny ciemny motyw → białe logo */
}
[data-theme="light"] .brand-logo { filter: none; }               /* jasny motyw → czarne logo */
.always-dark .brand-logo,
[data-theme="light"] .always-dark .brand-logo { filter: invert(1); } /* sekcje zawsze ciemne → białe logo */
.brand-logo--footer { height: 24px; }

.nav-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 21px;
  letter-spacing: 0.14em;
  color: var(--tx);
  transition: color 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 38px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--tx-m);
  letter-spacing: 0.02em;
}

.nav-menu-link {
  color: var(--tx-m);
  transition: color 0.25s;
}
.nav-menu-link:hover { color: var(--tx); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Gradient-border button */
.grad-btn {
  display: inline-flex;
  padding: 1.5px;
  border-radius: 11px;
  background: linear-gradient(120deg, #EFE3CC, #E5D3B3, #8A7551);
  transition: transform 0.2s ease, box-shadow 0.3s;
}
.grad-btn:hover { box-shadow: 0 0 28px rgba(138, 117, 81, 0.50); }
.grad-btn--large { border-radius: 13px; }
.grad-btn--large:hover { box-shadow: 0 0 40px rgba(138, 117, 81, 0.55); }
.grad-btn--cta { border-radius: 14px; box-shadow: 0 0 34px rgba(138, 117, 81, 0.42); }
.grad-btn--cta:hover { box-shadow: 0 0 52px rgba(138, 117, 81, 0.60); }

.grad-btn-inner {
  display: inline-flex;
  align-items: center;
  background: var(--bg-btn);
  border-radius: 9.5px;
  padding: 10px 20px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: #FAF7F1;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.grad-btn--large .grad-btn-inner {
  border-radius: 11.5px;
  padding: 16px 30px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
}
.grad-btn--cta .grad-btn-inner {
  border-radius: 12.5px;
  padding: 18px 38px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
}

/* Ghost CTA button */
.ghost-btn {
  display: inline-flex;
  align-items: center;
  padding: 17px 30px;
  border-radius: 13px;
  border: 1px solid rgba(229, 211, 179, 0.22);
  background: rgba(250, 247, 241, 0.02);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 500;
  font-size: 16px;
  color: var(--tx);
  transition: border-color 0.3s, background 0.3s, color 0.25s;
}
.ghost-btn:hover {
  border-color: rgba(229, 211, 179, 0.5);
  background: rgba(250, 247, 241, 0.04);
}

/* Theme toggle */
.theme-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--tx-m);
  cursor: pointer;
  transition: border-color 0.25s, color 0.25s, background 0.25s;
  flex-shrink: 0;
}
.theme-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(229, 211, 179, 0.06);
}

.theme-icon { display: none; width: 16px; height: 16px; }
.theme-icon.active { display: block; }


/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.aurora-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
}

.aurora-orb-1 {
  width: 680px; height: 680px;
  background: radial-gradient(circle, var(--orb-1-c), transparent 62%);
  opacity: var(--orb-1-o);
  top: -180px; left: 6%;
  animation: auroraA 17s ease-in-out infinite;
}
.aurora-orb-2 {
  width: 560px; height: 560px;
  background: radial-gradient(circle, var(--orb-2-c), transparent 62%);
  opacity: var(--orb-2-o);
  top: 120px; right: 2%;
  filter: blur(110px);
  animation: auroraB 21s ease-in-out infinite;
}
.aurora-orb-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, var(--orb-3-c), transparent 60%);
  opacity: var(--orb-3-o);
  bottom: -160px; left: 38%;
  filter: blur(120px);
  animation: auroraC 19s ease-in-out infinite;
}

.dot-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--dot-c) 1px, transparent 1px),
    linear-gradient(90deg, var(--dot-c) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 25%, transparent 78%);
  animation: gridPan 22s linear infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 90px 0;
  width: 100%;
}

.hero-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--lbl-c);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(52px, 7.2vw, 104px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin: 0 0 30px;
  max-width: 14ch;
}

.hero-h1-word {
  display: inline-block;
  /* opacity & transform set by JS reveal */
}

.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--tx-m);
  max-width: 52ch;
  margin: 0 0 40px;
  transition: color 0.3s;
}

.hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 64px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--tx-m);
  border-top: 1px solid var(--line);
  padding-top: 26px;
  max-width: 780px;
  transition: border-color 0.3s, color 0.3s;
}

.hero-stat-val {
  color: var(--gold);
  font-size: 22px;
  font-weight: 500;
  display: block;
}


/* ── MARQUEE ────────────────────────────────────────────────── */
.marquee-wrap {
  position: relative;
  padding: 34px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  transition: border-color 0.3s;
}

.marquee-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: marquee 32s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--mq-tx);
  white-space: nowrap;
  transition: color 0.3s;
}


/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--lbl-c);
  text-transform: uppercase;
  margin-bottom: 18px;
  transition: color 0.3s;
}

.section-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(36px, 4.4vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0;
  color: var(--tx);
  transition: color 0.3s;
}

.section-lead {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx-m);
  max-width: 60ch;
  margin: 14px 0 56px;
  transition: color 0.3s;
}

.tf-strike {
  text-decoration: line-through;
  text-decoration-thickness: 2px;
  color: var(--tx-d);
}


/* ── BENTO GRID ─────────────────────────────────────────────── */
.section-services { padding: 128px 0 64px; }

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: minmax(180px, auto);
}

/* Flagship (wide + tall) */
.bento-flagship {
  grid-column: span 2;
  grid-row: span 2;
  position: relative;
  border-radius: 22px;
  padding: 1.5px;
  overflow: hidden;
  background: rgba(229, 211, 179, 0.18);
  transition: transform 0.25s ease;
}

.beam-spinner {
  position: absolute;
  inset: -60%;
  background: conic-gradient(from 0deg, transparent 0 64%, #E5D3B3 76%, #8A7551 86%, #EFE3CC 93%, transparent 100%);
  animation: spin 6s linear infinite;
}

.bento-flagship-inner {
  position: relative;
  border-radius: 20.5px;
  background: var(--bg-card);
  height: 100%;
  padding: 38px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  transition: background 0.3s;
}

.tilt-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.flagship-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: linear-gradient(135deg, #E5D3B3, #8A7551);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  flex-shrink: 0;
}

.flagship-icon-dot {
  width: 18px; height: 18px;
  border-radius: 5px;
  background: var(--bg-btn);
}

.flagship-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--tx-m);
  margin-bottom: 12px;
}

.flagship-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 14px;
  color: var(--tx);
  transition: color 0.3s;
}

.flagship-p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx-m);
  margin: 0;
  max-width: 42ch;
  transition: color 0.3s;
}

.flagship-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 28px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-m);
}

.flagship-tag {
  padding: 6px 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  transition: border-color 0.3s;
}

/* Small bento card */
.bento-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-sub);
  background: var(--bg-card);
  padding: 30px;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.3s, background 0.3s;
}

.bento-card:hover { transform: translateY(-2px); }
.bento-card--bronze:hover { border-color: rgba(138, 117, 81, 0.40); }
.bento-card--goldsoft:hover { border-color: rgba(239, 227, 204, 0.40); }
.bento-card--gold:hover { border-color: rgba(229, 211, 179, 0.40); }

.bento-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 11px;
  margin-bottom: 20px;
  transition: border-color 0.3s, background 0.3s;
}
.bento-icon--circle { border-radius: 50%; }
.bento-icon--diamond { border-radius: 11px; transform: rotate(45deg); }

.bento-icon--bronze {
  background: rgba(138, 117, 81, 0.18);
  border: 1px solid rgba(138, 117, 81, 0.40);
  color: var(--bronze);
}
.bento-icon--goldsoft {
  background: rgba(239, 227, 204, 0.14);
  border: 1px solid rgba(239, 227, 204, 0.40);
  color: var(--tx);
}
.bento-icon--gold {
  background: rgba(229, 211, 179, 0.14);
  border: 1px solid rgba(229, 211, 179, 0.42);
  color: var(--tx);
}
.bento-icon--mixed {
  background: linear-gradient(135deg, rgba(138,117,81,0.25), rgba(229,211,179,0.18));
  border: 1px solid rgba(138, 117, 81, 0.35);
  color: var(--bronze);
}
.bento-icon--dim {
  background: rgba(250, 247, 241, 0.04);
  border: 1px solid var(--line);
  color: var(--tx-m);
}

.bento-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 21px;
  margin: 0 0 8px;
  color: var(--tx);
  transition: color 0.3s;
}

.bento-p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--tx-m);
  margin: 0;
  transition: color 0.3s;
}

.bento-card--mixed:hover { border-color: rgba(138, 117, 81, 0.40); }
.bento-card--full { grid-column: 1 / -1; }


/* ── USŁUGI: FILARY ─────────────────────────────────────────── */
.pillar { margin-bottom: 56px; }
.pillar:last-child { margin-bottom: 0; }

.pillar-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 24px;
}

.pillar-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--bronze);
  letter-spacing: 0.05em;
}

.pillar-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--tx);
  transition: color 0.3s;
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pillar-grid--3 { grid-template-columns: repeat(3, 1fr); }

.tile-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-d);
  margin-bottom: 10px;
  transition: color 0.3s;
}


/* ── PROCES / PIPELINE ──────────────────────────────────────── */
.steps-svg {
  position: absolute;
  top: 25px; left: 0;
  width: 100%; height: 12px;
  overflow: visible;
}

.beamline {
  animation: beamDash 4.5s linear infinite;
}

.steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-node {
  display: block;
  width: 14px; height: 14px;
  border-radius: 50%;
  margin: 0 0 28px 18px;
  animation: nodeGlow 3.2s ease-in-out infinite;
}

.step-node--1 { background: var(--gold);     animation-delay: 0s; }
.step-node--2 { background: var(--bronze);   animation-delay: 0.8s; }
.step-node--3 { background: var(--gold-soft);animation-delay: 1.6s; }
.step-node--4 { background: var(--gold);     animation-delay: 2.4s; }

.step-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-m);
  margin-bottom: 10px;
  transition: color 0.3s;
}

.step-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 8px;
  color: var(--tx);
  transition: color 0.3s;
}

.step-p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--tx-m);
  margin: 0;
  max-width: 24ch;
  transition: color 0.3s;
}


/* ── LICZNIKI ───────────────────────────────────────────────── */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Gradient border wrapper */
.metric-border {
  border-radius: 20px;
  padding: 1.5px;
}

.metric-border--1 { background: linear-gradient(150deg, rgba(229,211,179,0.40), rgba(42,36,29,0.30)); }
.metric-border--2 { background: linear-gradient(150deg, rgba(138,117,81,0.40), rgba(229,211,179,0.10)); }
.metric-border--3 { background: linear-gradient(150deg, rgba(239,227,204,0.40), rgba(138,117,81,0.10)); }
.metric-border--4 { background: linear-gradient(150deg, rgba(229,211,179,0.40), rgba(138,117,81,0.10)); }

[data-theme="light"] .metric-border--1 { background: linear-gradient(150deg, rgba(229,211,179,0.35), rgba(42,38,32,0.06)); }
[data-theme="light"] .metric-border--2 { background: linear-gradient(150deg, rgba(138,117,81,0.30), rgba(229,211,179,0.08)); }
[data-theme="light"] .metric-border--3 { background: linear-gradient(150deg, rgba(239,227,204,0.35), rgba(138,117,81,0.08)); }
[data-theme="light"] .metric-border--4 { background: linear-gradient(150deg, rgba(229,211,179,0.35), rgba(138,117,81,0.08)); }

.metric-inner {
  border-radius: 18.5px;
  background: var(--bg-card);
  padding: 32px 28px;
  height: 100%;
  transition: background 0.3s;
}

.metric-count {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 54px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.metric-label {
  font-size: 14px;
  color: var(--tx-m);
  margin-top: 12px;
  transition: color 0.3s;
}


/* ── REALIZACJE ─────────────────────────────────────────────── */
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  position: relative;
  border-radius: 22px;
  border: 1px solid var(--line-sub);
  background: var(--bg-card);
  overflow: hidden;
  transition: border-color 0.3s, background 0.3s;
}
/* Karta będąca linkiem — reset stylu odnośnika */
a.case-card { display: block; color: inherit; text-decoration: none; cursor: pointer; }

.case-card--1:hover { border-color: rgba(229,211,179,0.35); }
.case-card--2:hover { border-color: rgba(138,117,81,0.35); }
.case-card--3:hover { border-color: rgba(239,227,204,0.35); }

.case-spot { position: absolute; inset: 0; opacity: 0; transition: opacity 0.3s; pointer-events: none; }

.case-visual {
  height: 170px;
  background: repeating-linear-gradient(45deg, var(--case-stripe) 0 12px, transparent 12px 24px);
  border-bottom: 1px solid var(--line-sub);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--case-ph-tx);
  transition: border-color 0.3s;
}

/* Wariant pola z obrazkiem realizacji (np. logo klienta) */
.case-visual--img { padding: 14px 20px; }
/* Ciemny panel pod logo (np. biały wordmark, który musi czytać się w obu motywach) */
.case-visual--dark {
  background: #0B1220;
  background-image: none;
  padding: 26px 24px;
}
/* Panel w kolorach marki OSK Lech (głęboka czerwień) */
.case-visual--osklech {
  background: linear-gradient(145deg, #8B1A1A 0%, #6A0000 55%, #3D0000 100%);
  background-image: linear-gradient(145deg, #8B1A1A 0%, #6A0000 55%, #3D0000 100%);
  padding: 26px 24px;
}
/* Panel w kolorach marki Transkap (granat + zieleń) */
.case-visual--transkap {
  background: linear-gradient(145deg, #001C3C 0%, #00102E 55%, #004E38 100%);
  background-image: linear-gradient(145deg, #001C3C 0%, #00102E 55%, #004E38 100%);
  padding: 22px 24px;
}
.case-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}
.case-card:hover .case-img { transform: scale(1.04); }

.case-body { position: relative; padding: 26px; }

.case-tags-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--tx-m);
}

.case-tag {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition: border-color 0.3s;
}

.case-h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 20px;
  margin: 0 0 14px;
  color: var(--tx);
  transition: color 0.3s;
}

.case-result {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
}


/* ── LIVE DEMO ──────────────────────────────────────────────── */
.demo-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 20px;
  align-items: stretch;
}

/* Terminal always dark */
.terminal {
  border-radius: 22px;
  border: 1px solid rgba(229,211,179,0.18);
  background: #1C1814;
  overflow: hidden;
}

.terminal-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(229,211,179,0.15);
}

.terminal-dot {
  width: 11px; height: 11px;
  border-radius: 50%;
}
.terminal-dot--1 { background: var(--gold); }
.terminal-dot--2 { background: var(--bronze); }
.terminal-dot--3 { background: var(--gold-soft); }

.terminal-title {
  margin-left: 10px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(250,247,241,0.55);
}

.terminal-body {
  padding: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13.5px;
  line-height: 2;
  color: rgba(250,247,241,0.55);
}

.term-prompt  { color: var(--gold); }
.term-sep     { color: rgba(229,211,179,0.35); }
.term-cmd     { color: #FAF7F1; }
.term-ok      { color: var(--gold); }
.term-ok-note { color: rgba(229,211,179,0.35); }
.term-arrow   { color: var(--bronze); }

.term-cursor {
  display: inline-block;
  width: 9px; height: 16px;
  background: var(--gold);
  margin-left: 4px;
  vertical-align: -3px;
  animation: blink 1s step-end infinite;
}

/* Dashboard */
.dashboard {
  border-radius: 22px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: background 0.3s, border-color 0.3s;
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.dashboard-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-m);
  letter-spacing: 0.1em;
  transition: color 0.3s;
}

.dashboard-roas {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 34px;
}

.bars-wrap {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  height: 120px;
  margin: 24px 0 8px;
}

.bar {
  flex: 1;
  height: 100%;
  border-radius: 5px 5px 0 0;
  transform-origin: bottom;
  animation: barGrow 2.4s ease-in-out infinite;
}
.bar--1 { background: linear-gradient(180deg, #E5D3B3, rgba(138,117,81,0.4));  animation-delay: 0s; }
.bar--2 { background: linear-gradient(180deg, #8A7551, rgba(239,227,204,0.4)); animation-delay: 0.3s; }
.bar--3 { background: linear-gradient(180deg, #EFE3CC, rgba(138,117,81,0.4));  animation-delay: 0.6s; }
.bar--4 { background: linear-gradient(180deg, #E5D3B3, rgba(239,227,204,0.4)); animation-delay: 0.9s; }
.bar--5 { background: linear-gradient(180deg, #8A7551, rgba(229,211,179,0.4)); animation-delay: 1.2s; }
.bar--6 { background: linear-gradient(180deg, #EFE3CC, rgba(229,211,179,0.4)); animation-delay: 1.5s; }

.dashboard-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11.5px;
  color: var(--tx-d);
  transition: color 0.3s;
}


/* ── OPINIE ─────────────────────────────────────────────────── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin-inline: auto;
}

/* Gradient border wrappers */
.testi-border {
  border-radius: 22px;
  padding: 1.5px;
}

.testi-border--1 { background: linear-gradient(160deg, rgba(229,211,179,0.32), rgba(250,247,241,0.04)); }
.testi-border--2 { background: linear-gradient(160deg, rgba(138,117,81,0.32), rgba(229,211,179,0.04)); }
.testi-border--3 { background: linear-gradient(160deg, rgba(239,227,204,0.28), rgba(229,211,179,0.04)); }

[data-theme="light"] .testi-border--1 { background: linear-gradient(160deg, rgba(229,211,179,0.40), rgba(42,38,32,0.05)); }
[data-theme="light"] .testi-border--2 { background: linear-gradient(160deg, rgba(138,117,81,0.30), rgba(42,38,32,0.05)); }
[data-theme="light"] .testi-border--3 { background: linear-gradient(160deg, rgba(239,227,204,0.35), rgba(42,38,32,0.05)); }

.testi-inner {
  border-radius: 20.5px;
  background: var(--bg-card);
  padding: 30px;
  height: 100%;
  transition: background 0.3s;
}

.testi-quote {
  font-size: 16px;
  line-height: 1.6;
  color: var(--tx);
  margin: 0 0 26px;
  transition: color 0.3s;
}

.testi-author { display: flex; align-items: center; gap: 14px; }

.testi-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  flex-shrink: 0;
}
.testi-avatar--1 { background: linear-gradient(135deg, #EFE3CC, #8A7551); }
.testi-avatar--2 { background: linear-gradient(135deg, #8A7551, #2A241D); border: 1px solid rgba(229,211,179,0.25); }
.testi-avatar--3 { background: linear-gradient(135deg, #EFE3CC, #E5D3B3); }

.testi-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 15px;
  color: var(--tx);
  transition: color 0.3s;
}

.testi-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-m);
  transition: color 0.3s;
}


/* ── ZESPÓŁ — DRZEWO KOMPETENCJI ────────────────────────────── */
.tech-tree { position: relative; }

.tt-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.tt-root-dot {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(229, 211, 179, 0.65);
  animation: nodeGlow 3.2s ease-in-out infinite;
}

.tt-root-label {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.14em;
  color: var(--tx);
  transition: color 0.3s;
}

.tt-root-logo {
  height: 18px;
  width: auto;
  display: block;
  filter: invert(1);
}
[data-theme="light"] .tt-root-logo { filter: none; }

.tt-fork { position: relative; height: 56px; }
.tt-fork::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  width: 2px; height: 28px;
  background: linear-gradient(180deg, var(--gold), var(--bronze));
  opacity: 0.6;
  transform: translateX(-50%);
}
.tt-fork::after {
  content: '';
  position: absolute;
  top: 28px; left: 25%; right: 25%;
  height: 2px;
  background: var(--line);
}

.tt-branches {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.tt-branch {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tt-branch-stem {
  width: 2px;
  height: 28px;
  background: var(--line);
}

.tt-branch-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  margin: 14px 0 40px;
  text-align: center;
}

.tt-branch-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--bronze);
  letter-spacing: 0.05em;
}

.tt-branch-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 24px;
  margin: 0;
  color: var(--tx);
  transition: color 0.3s;
}

.tt-members {
  position: relative;
  width: 100%;
  max-width: 520px;
}
.tt-members::before {
  content: '';
  position: absolute;
  left: 64px;
  top: 86px;
  bottom: 86px;
  width: 2px;
  background: linear-gradient(180deg, var(--bronze), var(--gold-soft) 50%, var(--bronze));
  opacity: 0.3;
}

.tt-member {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 24px;
  margin-bottom: 28px;
  align-items: center;
}
.tt-member:last-child { margin-bottom: 0; }

.tt-node {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
}

/* Ramka zdjęcia: gradientowa obwódka, zawsze pełny kolor */
.tt-photo-frame {
  width: 130px;
  padding: 2px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  flex-shrink: 0;
  transition: box-shadow 0.3s ease;
}
.tt-member:hover .tt-photo-frame { box-shadow: 0 0 24px rgba(138, 117, 81, 0.35); }

.tt-photo {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 18px;
  transition: transform 0.4s ease;
}
.tt-member:hover .tt-photo { transform: scale(1.03); }

.tt-card {
  border-radius: 16px;
  border: 1px solid var(--line-sub);
  background: var(--bg-card);
  padding: 20px 22px;
  transition: border-color 0.3s, background 0.3s;
}
.tt-member:hover .tt-card { border-color: rgba(229, 211, 179, 0.35); }

.team-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 19px;
  margin: 0 0 4px;
  color: var(--tx);
  transition: color 0.3s;
}

.team-role {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--tx-m);
  margin-bottom: 16px;
  transition: color 0.3s;
}

.team-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--tx-m);
  margin: 0;
  transition: color 0.3s;
}


/* ── CTA FINAŁ (always dark) ────────────────────────────────── */
.cta-section {
  padding: 0 0 96px;
}

.cta-card {
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(229,211,179,0.20);
  background: #1C1814;
  padding: 96px 48px;
  text-align: center;
}

.cta-orb-wrap { position: absolute; inset: 0; pointer-events: none; }

.cta-orb {
  position: absolute;
  border-radius: 50%;
}
.cta-orb--1 {
  width: 620px; height: 620px;
  background: radial-gradient(circle, #8A7551, transparent 62%);
  filter: blur(110px);
  opacity: 0.45;
  top: -200px; left: 12%;
  animation: auroraA 15s ease-in-out infinite;
}
.cta-orb--2 {
  width: 540px; height: 540px;
  background: radial-gradient(circle, #EFE3CC, transparent 62%);
  filter: blur(120px);
  opacity: 0.28;
  bottom: -220px; right: 10%;
  animation: auroraC 18s ease-in-out infinite;
}
.cta-orb--3 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #E5D3B3, transparent 60%);
  filter: blur(130px);
  opacity: 0.20;
  top: 30%; left: 42%;
  animation: auroraB 20s ease-in-out infinite;
}

.cta-inner { position: relative; z-index: 2; }

.cta-eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  letter-spacing: 0.18em;
  color: #E5D3B3;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.cta-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 6vw, 82px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  margin: 0 0 24px;
  color: #FAF7F1;
}

.cta-lead {
  font-size: 18px;
  color: rgba(250,247,241,0.55);
  max-width: 46ch;
  margin: 0 auto 40px;
  line-height: 1.6;
}

.contact-form {
  text-align: left;
  max-width: 640px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.contact-form[hidden] { display: none; }

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field[hidden] { display: none; }

.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(250, 247, 241, 0.55);
}

.form-field input,
.form-field select,
.form-field textarea {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #FAF7F1;
  background: rgba(250, 247, 241, 0.03);
  border: 1px solid rgba(229, 211, 179, 0.22);
  border-radius: 10px;
  padding: 12px 14px;
  transition: border-color 0.25s, background 0.25s;
}

.form-field textarea { resize: vertical; min-height: 96px; }

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(250, 247, 241, 0.32); }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(229, 211, 179, 0.55);
  background: rgba(250, 247, 241, 0.05);
}

.form-submit {
  align-self: center;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  cursor: pointer;
}

.form-consent { display: flex; flex-direction: column; gap: 12px; }

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-checkbox-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  accent-color: #E5D3B3;
}

.form-checkbox-label span {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(250, 247, 241, 0.55);
}

.consent-link {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: #E5D3B3;
  text-decoration: underline;
  cursor: pointer;
}

.consent-details {
  border: 1px solid rgba(229, 211, 179, 0.20);
  border-radius: 10px;
  padding: 12px 16px;
  background: rgba(250, 247, 241, 0.02);
}

.consent-details summary {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #E5D3B3;
  cursor: pointer;
  user-select: none;
}

.consent-details p {
  font-size: 13px;
  line-height: 1.65;
  color: rgba(250, 247, 241, 0.5);
  margin: 12px 0 0;
}

.form-success {
  text-align: center;
  padding: 24px 0 0;
}

.form-success-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(229, 211, 179, 0.12);
  border: 1px solid rgba(229, 211, 179, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: #E5D3B3;
}

.form-success-title {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 28px;
  color: #FAF7F1;
  margin: 0 0 10px;
}

.form-success-text {
  font-size: 16px;
  color: rgba(250, 247, 241, 0.55);
  max-width: 42ch;
  margin: 0 auto;
  line-height: 1.6;
}

.form-error {
  text-align: center;
  font-size: 14.5px;
  color: rgba(250, 247, 241, 0.55);
  max-width: 46ch;
  margin: 20px auto 0;
  line-height: 1.6;
}
.form-error[hidden] { display: none; }
.form-error a { color: #E5D3B3; text-decoration: underline; }


/* ── FOOTER (always dark) ───────────────────────────────────── */
.footer {
  position: relative;
  background: #1C1814;
  border-top: 1px solid rgba(229,211,179,0.16);
}

.footer-gradient-line {
  position: absolute;
  top: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(229,211,179,0.5), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding: 64px 0 40px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 18px;
}

.footer-brand-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 14px 3px rgba(229,211,179,0.65);
}

.footer-brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.14em;
  color: #FAF7F1;
}

.footer-brand-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(250,247,241,0.55);
  max-width: 34ch;
  margin: 0;
}

.footer-col-title {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(229,211,179,0.35);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer-col-links {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-size: 14px;
  color: rgba(250,247,241,0.55);
}

.footer-link { color: rgba(250,247,241,0.55); transition: color 0.25s; }
.footer-link:hover { color: #FAF7F1; }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 11px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: rgba(250,247,241,0.55);
}

.footer-bottom {
  padding: 24px 0;
  border-top: 1px solid rgba(229,211,179,0.16);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: rgba(229,211,179,0.35);
  flex-wrap: wrap;
  gap: 12px;
}


/* ── REVEAL (JS-triggered) ──────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(20px); }


/* ── RESPONSYWNOŚĆ ──────────────────────────────────────────── */
@media (max-width: 960px) {
  .bento-grid    { grid-template-columns: repeat(2, 1fr); }
  .bento-flagship { grid-column: span 2; }
  .pillar-grid,
  .pillar-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .steps-grid    { grid-template-columns: repeat(2, 1fr); }
  .metrics-grid  { grid-template-columns: repeat(2, 1fr); }
  .cases-grid    { grid-template-columns: repeat(2, 1fr); }
  .tt-branches   { flex-direction: column; gap: 48px; }
  .tt-fork,
  .tt-branch-stem { display: none; }
  .demo-grid     { grid-template-columns: 1fr; }
  .testi-grid    { grid-template-columns: 1fr; }
  .footer-grid   { grid-template-columns: 1fr 1fr; }
  .nav-menu      { display: none; }
}

@media (max-width: 600px) {
  .container        { padding-left: 20px; padding-right: 20px; }
  .bento-grid       { grid-template-columns: 1fr; }
  .bento-flagship   { grid-column: span 1; grid-row: span 1; }
  .pillar-grid,
  .pillar-grid--3   { grid-template-columns: 1fr; }
  .bento-card--full { grid-column: auto; }
  .steps-grid       { grid-template-columns: 1fr; }
  .metrics-grid     { grid-template-columns: 1fr; }
  .cases-grid       { grid-template-columns: 1fr; }
  .tt-member        { grid-template-columns: 84px 1fr; gap: 16px; }
  .tt-photo-frame   { width: 84px; }
  .tt-members::before { left: 41px; top: 56px; bottom: 56px; }
  .footer-grid      { grid-template-columns: 1fr; }
  .form-row         { grid-template-columns: 1fr; }
  .hero-actions     { flex-direction: column; align-items: flex-start; }
  .hero-stats       { gap: 24px; }
  .cta-card         { padding: 60px 24px; }
  .hero-h1          { font-size: clamp(40px, 12vw, 72px); }
  .brand-logo       { height: 16px; }
  .brand-logo--footer { height: 16px; }
  .case-visual      { height: 110px; }
  .case-visual--img,
  .case-visual--dark,
  .case-visual--osklech,
  .case-visual--transkap { padding: 10px 16px; }
  .nav-inner        { gap: 10px; }
  .nav-right        { gap: 6px; }
  #nav-cta .grad-btn-inner { padding: 8px 12px; font-size: 11px; }
}

@media (max-width: 360px) {
  .brand-logo       { height: 14px; }
  #nav-cta .grad-btn-inner { padding: 7px 10px; font-size: 10px; }
}
