/* ===================================================
   DRONEM MEDIA - WSPÓLNY STYLESHEET
   Używany przez index.html i wszystkie podstrony
   =================================================== */

:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --bg-3: #16161a;
  --border: #1f1f24;
  --border-hover: #2a2a32;
  --text: #f5f5f7;
  --text-2: #a1a1aa;
  --text-3: #6b6b75;
  --accent: #3b82f6;
  --accent-hover: #60a5fa;
  --accent-dim: rgba(59, 130, 246, 0.1);
  --accent-glow: rgba(59, 130, 246, 0.4);
  --font-display: 'Space Grotesk', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-display);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; }

.grid-bg {
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 70%);
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.25rem 2rem;
  background: rgba(10, 10, 12, 0.75);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}
nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}
.logo-mark {
  width: 32px; height: 32px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 56 56'><rect x='22' y='22' width='12' height='12' rx='2' fill='%233b82f6'/><line x1='14' y1='14' x2='22' y2='22' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'/><line x1='42' y1='14' x2='34' y2='22' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'/><line x1='14' y1='42' x2='22' y2='34' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'/><line x1='42' y1='42' x2='34' y2='34' stroke='%233b82f6' stroke-width='2.5' stroke-linecap='round'/><circle cx='11' cy='11' r='4' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.7'/><circle cx='45' cy='11' r='4' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.7'/><circle cx='11' cy='45' r='4' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.7'/><circle cx='45' cy='45' r='4' fill='none' stroke='%233b82f6' stroke-width='1.5' opacity='0.7'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transition: transform 0.3s ease;
}
.logo:hover .logo-mark {
  transform: rotate(45deg);
}
.nav-links {
  display: flex;
  gap: 2.25rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--text-2);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.02em;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-cta {
  background: var(--accent);
  color: var(--bg) !important;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
}
.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.menu-btn { display: none; background: none; border: none; color: var(--text); cursor: pointer; font-size: 28px; padding: 8px; z-index: 101; }

/* Dropdown w nawigacji */
.nav-dropdown { position: relative; }
.nav-dropdown > a { padding-bottom: 1rem; } /* większy obszar do hover */
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: -1rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem;
  min-width: 240px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: all 0.25s ease;
  z-index: 10;
}
/* Niewidoczny pasek wypełniający lukę między buttonem a menu */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: 100%;
  left: -1rem;
  right: -1rem;
  height: 1rem;
  background: transparent;
  z-index: 9;
  pointer-events: none;
}
.nav-dropdown:hover::before { pointer-events: auto; }
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 13px;
  border-radius: 4px;
  transition: background 0.15s ease;
  cursor: pointer;
}
.nav-dropdown-menu a:hover { background: var(--bg-3); color: var(--accent); }
.nav-dropdown-arrow { font-size: 9px; margin-left: 3px; opacity: 0.6; transition: transform 0.2s ease; }
.nav-dropdown:hover .nav-dropdown-arrow,
.nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 2rem 4rem;
  overflow: hidden;
  z-index: 1;
}

/* Tło hero - zdjęcie Katowic z gradientem dla czytelności */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('images/hero-katowice-desktop.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0.55;
  z-index: 0;
}
/* Gradient overlay - od ciemnego z lewej (czytelny tekst) do mniej ciemnego z prawej */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      rgba(10, 10, 12, 0.92) 0%,
      rgba(10, 10, 12, 0.75) 40%,
      rgba(10, 10, 12, 0.45) 80%,
      rgba(10, 10, 12, 0.6) 100%),
    linear-gradient(180deg,
      rgba(10, 10, 12, 0.3) 0%,
      transparent 30%,
      transparent 70%,
      rgba(10, 10, 12, 0.6) 100%);
  z-index: 0;
}

/* Mobile - mniejsze zdjęcie, mocniejszy gradient */
@media (max-width: 768px) {
  .hero::before {
    background-image: url('images/hero-katowice-mobile.webp');
    opacity: 0.45;
  }
  .hero::after {
    background:
      linear-gradient(180deg,
        rgba(10, 10, 12, 0.85) 0%,
        rgba(10, 10, 12, 0.7) 50%,
        rgba(10, 10, 12, 0.95) 100%);
  }
}

/* Tablet - zdjęcie tablet */
@media (min-width: 769px) and (max-width: 1280px) {
  .hero::before {
    background-image: url('images/hero-katowice-tablet.webp');
  }
}

.hero-bg-radial {
  position: absolute;
  top: 20%; left: 50%;
  transform: translateX(-50%);
  width: 900px; height: 900px;
  background: radial-gradient(circle, var(--accent-dim) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
  opacity: 0.6; /* zmniejszone bo mamy już zdjęcie */
}
.hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  animation: fadeUp 0.8s ease forwards;
}
.hero-meta::before {
  content: '';
  width: 30px; height: 1px;
  background: var(--accent);
}
.hero h1 {
  font-size: clamp(2.25rem, 5.5vw, 4.5rem);
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}
.hero h1 .accent {
  color: var(--accent);
  font-style: italic;
  font-weight: 400;
}
.hero-sub {
  font-size: 1.1rem;
  color: var(--text-2);
  max-width: 520px;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.3s forwards;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.01em;
  transition: all 0.25s ease;
  cursor: pointer;
  border: 1px solid transparent;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 130, 246, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border-hover);
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-arrow { transition: transform 0.25s ease; }
.btn:hover .btn-arrow { transform: translateX(4px); }

.hero-chips { display: flex; gap: 1rem; flex-wrap: wrap; opacity: 0; animation: fadeUp 0.8s ease 0.4s forwards; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--border-hover);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.chip-icon { width: 14px; height: 14px; color: var(--accent); display: inline-flex; }
.chip-icon svg { width: 100%; height: 100%; }

.hero-visual { position: relative; height: 520px; opacity: 0; animation: fadeUp 1s ease 0.4s forwards; }
.drone-card {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  backdrop-filter: blur(10px);
}
.drone-card-1 { top: 5%; left: 0; width: 220px; animation: float 6s ease-in-out infinite; }
.drone-card-2 { top: 35%; right: 0; width: 200px; animation: float 6s ease-in-out 1s infinite; }
.drone-card-3 { bottom: 8%; left: 12%; width: 240px; animation: float 6s ease-in-out 2s infinite; }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.drone-card-label {
  color: var(--accent); font-weight: 700; margin-bottom: 8px;
  display: flex; justify-content: space-between; align-items: center;
}
.status-dot { width: 6px; height: 6px; background: #4ade80; border-radius: 50%; box-shadow: 0 0 8px #4ade80; }
.drone-card-value { font-size: 18px; color: var(--text); font-weight: 500; margin-bottom: 4px; }
.drone-card-sub { color: var(--text-3); font-size: 10px; }

.crosshair {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 100px; height: 100px;
  pointer-events: none;
}
.crosshair-circle {
  position: absolute; inset: 0;
  border: 1px solid var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: rotate 12s linear infinite;
}
.crosshair-circle::before {
  content: ''; position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  transform: translateX(-50%);
}
.crosshair-circle.inner { inset: 25%; animation: rotate 8s linear infinite reverse; opacity: 0.5; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TRUST STRIP ===== */
.trust-strip {
  position: relative; z-index: 2;
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.trust-inner {
  display: flex; gap: 4rem;
  animation: scroll 35s linear infinite;
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  letter-spacing: 0.05em;
}
.trust-item { display: inline-flex; align-items: center; gap: 12px; }
.trust-item::before { content: '◆'; color: var(--accent); font-size: 8px; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== SECTIONS COMMON ===== */
section { position: relative; z-index: 1; padding: 6rem 2rem; }
.container { max-width: 1400px; margin: 0 auto; }

.section-num {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 9vw, 7rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px var(--border-hover);
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  position: relative;
  display: inline-block;
}
.section-num::after {
  content: '';
  position: absolute;
  bottom: 0.5rem; left: 0;
  width: 60px; height: 4px;
  background: var(--accent);
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 4rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-label::before { content: ''; width: 24px; height: 1px; background: var(--accent); }
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  max-width: 800px;
}
.section-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.section-desc { color: var(--text-2); max-width: 380px; font-size: 0.95rem; }

/* ===== SERVICES GRID (homepage) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}
.service {
  background: var(--bg);
  padding: 3rem 2.5rem;
  position: relative;
  transition: background 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.service:hover { background: var(--bg-2); }
.service:hover .service-num { color: var(--accent); }
.service:hover .service-arrow { transform: translate(4px, -4px); color: var(--accent); }
.service:hover .service-icon-wrap { border-color: var(--accent); background: var(--accent-dim); }
.service:hover .service-icon-wrap svg { transform: scale(1.1); }
.service-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
  margin-bottom: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
}
.service-arrow { font-size: 20px; color: var(--text-3); transition: all 0.3s ease; }
.service-icon-wrap {
  width: 80px; height: 80px;
  border: 1px solid var(--border-hover);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  background: var(--bg-2);
  transition: all 0.3s ease;
}
.service-icon-wrap svg { width: 40px; height: 40px; color: var(--accent); transition: transform 0.3s ease; }
.service h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.service p { color: var(--text-2); font-size: 0.95rem; line-height: 1.65; margin-bottom: 1.5rem; }
.service-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.service-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 5px 10px;
  border: 1px solid var(--border-hover);
  border-radius: 3px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}
.service-cta {
  margin-top: 1.5rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ===== WHY US ===== */
.why { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.why-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.stat { border-left: 2px solid var(--accent); padding-left: 1.25rem; }
.stat-num {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label { font-size: 13px; color: var(--text-2); }
.why-list { display: flex; flex-direction: column; gap: 1.5rem; }
.why-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.75rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  transition: all 0.3s ease;
}
.why-item:hover { border-color: var(--accent); transform: translateX(6px); }
.why-item:hover .why-icon { background: var(--accent); color: var(--bg); }
.why-icon {
  width: 48px; height: 48px;
  border: 1px solid var(--border-hover);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
  background: var(--bg-2);
  transition: all 0.3s ease;
}
.why-icon svg { width: 22px; height: 22px; }
.why-item-content h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.4rem; }
.why-item-content p { color: var(--text-2); font-size: 0.92rem; }

/* ===== PROCESS ===== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.process-step {
  position: relative;
  padding: 2.5rem 1.75rem 2rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-2);
  transition: all 0.3s ease;
}
.process-step:hover { border-color: var(--accent); transform: translateY(-4px); }
.process-step-num {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
}
.process-step-num::before {
  content: 'STEP';
  font-size: 9px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  font-weight: 400;
  align-self: flex-start;
  margin-top: 0.5rem;
}
.process-step-icon { width: 32px; height: 32px; color: var(--accent); margin-bottom: 1.25rem; opacity: 0.7; }
.process-step h4 { font-size: 1.15rem; font-weight: 500; margin-bottom: 0.75rem; }
.process-step p { color: var(--text-2); font-size: 0.9rem; line-height: 1.55; }

/* ===== PORTFOLIO ===== */
.portfolio-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1rem;
}
.portfolio-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.4s ease;
}
.portfolio-item:nth-child(1) { grid-row: span 2; }
.portfolio-item:hover { border-color: var(--accent); transform: translateY(-4px); }
.portfolio-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
}
.portfolio-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 16px;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(59, 130, 246, 0.03) 20px, rgba(59, 130, 246, 0.03) 22px
  );
}
.portfolio-placeholder-icon {
  width: 48px; height: 48px;
  border: 1.5px dashed var(--text-3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}
.portfolio-placeholder-icon svg { width: 24px; height: 24px; }
.portfolio-placeholder-hint {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-align: center;
  padding: 0 1rem;
  max-width: 220px;
}
.portfolio-overlay {
  position: absolute; inset: 0;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.85) 100%);
}
.portfolio-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  margin-bottom: 0.5rem;
  letter-spacing: 0.1em;
}
.portfolio-title { font-size: 1.1rem; font-weight: 500; }

/* ===== AREAS ===== */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.area-card {
  padding: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.area-card:hover { border-color: var(--accent); background: var(--bg); transform: translateY(-2px); }
.area-card:hover .area-name { color: var(--accent); }
.area-name { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.25rem; transition: color 0.2s ease; }
.area-dist { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.05em; }

/* ===== FAQ ===== */
.faq-grid { max-width: 900px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 1.5rem 0; cursor: pointer; }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.2s ease;
}
.faq-item:hover .faq-q { color: var(--accent); }
.faq-toggle {
  width: 28px; height: 28px;
  border: 1px solid var(--border-hover);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-2);
  transition: all 0.3s ease;
  flex-shrink: 0;
}
.faq-toggle svg { width: 12px; height: 12px; transition: transform 0.3s ease; }
.faq-item.open .faq-toggle { background: var(--accent); color: var(--bg); border-color: var(--accent); }
.faq-item.open .faq-toggle svg { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  color: var(--text-2);
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding-top: 1rem; }

/* ===== CONTACT ===== */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}
.contact-channels { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.channel {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text);
  transition: all 0.3s ease;
}
.channel:hover { border-color: var(--accent); transform: translateX(4px); }
.channel:hover .channel-icon { background: var(--accent); color: var(--bg); }
.channel-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.channel-icon svg { width: 22px; height: 22px; }
.channel-info { flex: 1; }
.channel-label { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); letter-spacing: 0.1em; margin-bottom: 2px; }
.channel-value { font-weight: 500; font-size: 1rem; }
.form {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-2);
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px 16px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color 0.2s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form button {
  width: 100%;
  background: var(--accent);
  color: var(--bg);
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form button:hover { background: var(--accent-hover); transform: translateY(-1px); }
.form-note { font-size: 12px; color: var(--text-3); margin-top: 1rem; text-align: center; }

/* ===== FOOTER ===== */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
  position: relative;
  z-index: 1;
}
.footer-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .logo { margin-bottom: 1rem; font-size: 16px; }
.footer-brand p { color: var(--text-2); font-size: 0.9rem; max-width: 320px; line-height: 1.65; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-col a { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.05em;
}

/* ===== SUBPAGE HERO (mniejszy hero dla podstron) ===== */
.subpage-hero {
  position: relative;
  padding: 9rem 2rem 4rem;
  overflow: hidden;
  z-index: 1;
  border-bottom: 1px solid var(--border);
}
.subpage-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.breadcrumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.breadcrumbs a { color: var(--text-2); text-decoration: none; transition: color 0.2s ease; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs-sep { color: var(--text-3); opacity: 0.5; }
.breadcrumbs-current { color: var(--accent); }

.subpage-hero h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  max-width: 900px;
}
.subpage-hero h1 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.subpage-hero-sub {
  font-size: 1.15rem;
  color: var(--text-2);
  max-width: 640px;
  margin-bottom: 2.5rem;
}
.subpage-hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== CONTENT BLOCKS (na podstronach) ===== */
.content-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}
.content-block:nth-child(even) .content-block-text { order: 2; }
.content-block-text h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.25rem;
  line-height: 1.1;
}
.content-block-text h2 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.content-block-text p {
  color: var(--text-2);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}
.content-block-text ul { list-style: none; margin-top: 1.5rem; }
.content-block-text ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--text-2);
}
.content-block-text ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent);
  font-size: 10px;
}
.content-block-img {
  position: relative;
  height: 420px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-2);
  border: 1px solid var(--border);
}
.content-block-img img { width: 100%; height: 100%; object-fit: cover; }
.content-block-img-placeholder {
  position: absolute; inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 14px;
  background: repeating-linear-gradient(
    45deg, transparent, transparent 20px,
    rgba(59, 130, 246, 0.03) 20px, rgba(59, 130, 246, 0.03) 22px
  );
  padding: 2rem;
  text-align: center;
}
.content-block-img-placeholder-icon {
  width: 56px; height: 56px;
  border: 1.5px dashed var(--text-3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-3);
}
.content-block-img-placeholder-icon svg { width: 28px; height: 28px; }
.content-block-img-placeholder-text {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  max-width: 300px;
  line-height: 1.5;
}

/* ===== USE-CASE CARDS ===== */
.use-cases {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.use-case {
  padding: 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: all 0.3s ease;
}
.use-case:hover { border-color: var(--accent); transform: translateY(-3px); }
.use-case-icon {
  width: 48px; height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.use-case-icon svg { width: 22px; height: 22px; }
.use-case h4 { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; }
.use-case p { color: var(--text-2); font-size: 0.92rem; line-height: 1.55; }

/* ===== INTERNAL LINKS / RELATED SECTION ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}
.related-card {
  padding: 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.3s ease;
}
.related-card:hover { border-color: var(--accent); background: var(--bg); }
.related-card:hover .related-arrow { transform: translate(4px, -4px); color: var(--accent); }
.related-card-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.related-arrow { font-size: 18px; color: var(--text-3); transition: all 0.3s ease; }
.related-card-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.4rem; }
.related-card-desc { color: var(--text-2); font-size: 0.88rem; }

/* ===== REVEAL ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== FAB WHATSAPP ===== */
.fab-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  z-index: 99;
  transition: all 0.25s ease;
}
.fab-whatsapp:hover { transform: scale(1.1); }
.fab-whatsapp svg { width: 28px; height: 28px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid, .contact-grid, .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { height: 400px; }
  .portfolio-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 240px 240px; }
  .portfolio-item:nth-child(1) { grid-row: span 1; grid-column: span 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .content-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .content-block:nth-child(even) .content-block-text { order: 0; }
  .content-block-img { height: 320px; }
  .use-cases { grid-template-columns: repeat(2, 1fr); }
  .related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  nav { padding: 1rem; }
  .menu-btn { display: block; }

  /* MOBILE MENU - full screen overlay */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 340px;
    background: var(--bg-2);
    border-left: 1px solid var(--border);
    flex-direction: column;
    align-items: flex-start;
    padding: 5rem 1.5rem 2rem;
    gap: 0;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    box-shadow: -20px 0 60px rgba(0,0,0,0.4);
  }
  .nav-links.open {
    display: flex;
    transform: translateX(0);
  }
  .nav-links li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child { border-bottom: none; margin-top: 1.5rem; }
  .nav-links a {
    display: block;
    padding: 1rem 0;
    font-size: 16px;
    color: var(--text);
  }
  .nav-links .nav-cta {
    background: #25D366;
    color: white;
    padding: 14px 20px;
    border-radius: 8px;
    text-align: center;
  }

  /* MOBILE DROPDOWN - rozwija się w miejscu */
  .nav-dropdown { position: static; }
  .nav-dropdown > a {
    padding-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .nav-dropdown-menu {
    position: static;
    background: var(--bg-3);
    border: none;
    margin: 0.5rem 0 1rem 0;
    padding: 0.5rem 0;
    min-width: 0;
    opacity: 0;
    pointer-events: none;
    transform: none;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    max-height: 500px;
    padding: 0.5rem;
  }
  .nav-dropdown.open .nav-dropdown-arrow { transform: rotate(180deg); }
  .nav-dropdown-menu a {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-2);
  }

  /* Backdrop gdy menu otwarte */
  .menu-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 99;
  }
  .menu-backdrop.visible { display: block; }

  section { padding: 4rem 1.25rem; }
  .hero { padding: 7rem 1.25rem 3rem; }
  .subpage-hero { padding: 8rem 1.25rem 3rem; }
  .services-grid { grid-template-columns: 1fr; }
  .service { padding: 2.5rem 1.75rem; }
  .process-grid { grid-template-columns: 1fr; }
  .why-stats { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form { padding: 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .portfolio-grid { grid-template-columns: 1fr; grid-template-rows: repeat(5, 240px); }
  .portfolio-item:nth-child(1) { grid-column: span 1; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .use-cases { grid-template-columns: 1fr; }
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.pricing-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}
.pricing-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.pricing-card.featured {
  background: var(--bg);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 12px 40px rgba(59, 130, 246, 0.15);
}
.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: var(--bg);
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.pricing-tier {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pricing-tier::before {
  content: '';
  width: 16px;
  height: 1px;
  background: var(--accent);
}
.pricing-name {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.pricing-desc {
  color: var(--text-2);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  line-height: 1.55;
  min-height: 50px;
}
.pricing-price {
  font-family: var(--font-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.pricing-price-from {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.2em;
  margin-bottom: 4px;
}
.pricing-price-currency {
  font-size: 0.7em;
  color: var(--text-2);
  margin-left: 4px;
}
.pricing-price-suffix {
  font-size: 13px;
  color: var(--text-3);
  margin-top: 4px;
  font-family: var(--font-display);
  font-weight: 400;
}
.pricing-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
  flex: 1;
}
.pricing-features li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-2);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233b82f6' stroke-width='2'><polyline points='13 4 6 12 3 9'/></svg>");
  background-size: contain;
  background-repeat: no-repeat;
}
.pricing-features li.excluded { color: var(--text-3); opacity: 0.5; }
.pricing-features li.excluded::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%236b6b75' stroke-width='2'><line x1='4' y1='4' x2='12' y2='12'/><line x1='12' y1='4' x2='4' y2='12'/></svg>");
}
.pricing-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  background: transparent;
  border: 1px solid var(--border-hover);
  color: var(--text);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.25s ease;
  margin-top: auto;
}
.pricing-cta:hover { border-color: var(--accent); color: var(--accent); }
.pricing-card.featured .pricing-cta {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.pricing-card.featured .pricing-cta:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--bg);
}

/* Comparison table */
.comparison-table {
  margin-top: 3rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  overflow-x: auto;
}
.comparison-table table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}
.comparison-table th,
.comparison-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}
.comparison-table th {
  background: var(--bg);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--text-3);
  text-transform: uppercase;
  font-weight: 500;
}
.comparison-table th:first-child { color: var(--text); }
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody tr:hover { background: rgba(59, 130, 246, 0.03); }
.comparison-table td.check { color: var(--accent); text-align: center; font-weight: 700; }
.comparison-table td.dash { color: var(--text-3); text-align: center; }
.comparison-table td:first-child {
  color: var(--text);
  font-weight: 500;
}

/* Industry pricing cards */
.industry-pricing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-top: 2rem;
}
.industry-card {
  padding: 2rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}
.industry-card:hover {
  border-color: var(--accent);
  background: var(--bg);
  transform: translateY(-2px);
}
.industry-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 1.25rem;
}
.industry-card-icon {
  width: 48px;
  height: 48px;
  background: var(--accent-dim);
  border: 1px solid var(--accent);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.industry-card-icon svg { width: 22px; height: 22px; }
.industry-card-title { font-size: 1.15rem; font-weight: 500; }
.industry-card-from {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-top: 4px;
}
.industry-card-desc {
  color: var(--text-2);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}
.industry-card-includes {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--text-3);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Factors-list — co wpływa na cenę */
.factors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}
.factor-card {
  padding: 1.75rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.factor-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 0.75rem;
}
.factor-title { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.5rem; }
.factor-desc { color: var(--text-2); font-size: 0.88rem; line-height: 1.55; }

/* CTA enterprise box */
.enterprise-box {
  margin-top: 3rem;
  padding: 3rem;
  background: linear-gradient(135deg, var(--bg-2), var(--bg-3));
  border: 1px solid var(--border);
  border-radius: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.enterprise-box-text h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}
.enterprise-box-text h3 .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.enterprise-box-text p { color: var(--text-2); font-size: 0.95rem; max-width: 500px; }

@media (max-width: 1024px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .industry-pricing { grid-template-columns: 1fr; }
  .factors-grid { grid-template-columns: 1fr; }
  .enterprise-box { grid-template-columns: 1fr; gap: 2rem; }
}

/* ===== STICKY WHATSAPP MOBILE BAR ===== */
.sticky-wa {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  z-index: 100;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
}
.sticky-wa svg { width: 22px; height: 22px; }
@media (max-width: 768px) {
  .sticky-wa { display: flex; }
  .fab-whatsapp { display: none; }
  footer { padding-bottom: 5rem; }
}

/* ===== WHATSAPP PRIMARY BUTTON (hero) ===== */
.btn-whatsapp {
  background: #25D366;
  color: white;
}
.btn-whatsapp:hover {
  background: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* ===== "DLA KOGO" SECTION - dla "Janusza Budowlańca" ===== */
.audience-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.audience-card {
  padding: 1.5rem;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 10px;
  text-align: center;
  transition: all 0.3s ease;
}
.audience-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.audience-icon {
  width: 40px; height: 40px;
  margin: 0 auto 0.75rem;
  color: var(--accent);
}
.audience-icon svg { width: 100%; height: 100%; }
.audience-title { font-size: 0.95rem; font-weight: 500; margin-bottom: 0.25rem; }
.audience-sub { font-size: 0.8rem; color: var(--text-3); font-family: var(--font-mono); letter-spacing: 0.05em; }
@media (max-width: 768px) {
  .audience-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== FIRST-TIME PROMO BOX ===== */
.promo-box {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08), rgba(59, 130, 246, 0.02));
  border: 1px solid var(--accent);
  border-radius: 12px;
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 2rem 0;
}
.promo-box-icon {
  width: 56px; height: 56px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 22px;
}
.promo-box-text h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.promo-box-text p {
  color: var(--text-2);
  font-size: 0.92rem;
}
@media (max-width: 768px) {
  .promo-box { flex-direction: column; text-align: center; padding: 1.5rem; }
}

/* ===== CONTACT PAGE - WhatsApp hero ===== */
.contact-page-hero {
  background: var(--bg-2);
  padding: 3rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  text-align: center;
  margin-bottom: 3rem;
}
.contact-wa-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #25D366;
  color: white;
  padding: 20px 36px;
  border-radius: 100px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: 1.5rem;
}
.contact-wa-big:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
  background: #1ebe5d;
}
.contact-wa-big svg { width: 28px; height: 28px; }
.contact-hours {
  display: inline-block;
  margin-top: 1.5rem;
  padding: 8px 18px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.1em;
}
.contact-hours .live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  margin-right: 8px;
  box-shadow: 0 0 8px #4ade80;
  vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ===== POP-UP 20% RABATU ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 12, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.popup-overlay.visible {
  opacity: 1;
  pointer-events: all;
}
.popup {
  position: relative;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 3.5rem 3rem 2.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(59, 130, 246, 0.25), 0 0 0 1px rgba(59, 130, 246, 0.15);
  transform: scale(0.9) translateY(20px);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.popup-overlay.visible .popup {
  transform: scale(1) translateY(0);
}
.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-3);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
  transition: all 0.2s ease;
}
.popup-close:hover {
  background: var(--bg-3);
  color: var(--text);
  border-color: var(--text-3);
}
.popup-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--bg);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12px;
  padding: 8px 16px;
  border-radius: 100px;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
.popup-discount {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
}
.popup-discount-small {
  font-size: 2rem;
  color: var(--text);
}
.popup-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}
.popup-title .accent { color: var(--accent); }
.popup-desc {
  color: var(--text-2);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}
.popup-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-bottom: 1rem;
}
.popup-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}
.popup-cta svg { width: 20px; height: 20px; }
.popup-skip {
  display: block;
  background: transparent;
  border: none;
  color: var(--text-3);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0.5rem;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.popup-skip:hover { color: var(--text-2); }

@media (max-width: 480px) {
  .popup { padding: 3rem 1.5rem 2rem; }
  .popup-discount { font-size: 3.5rem; }
  .popup-title { font-size: 1.25rem; }
}


/* ===== HERO Z TŁEM (one-column) ===== */
.hero-inner-single {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
}
.hero-inner-single h1 {
  font-size: clamp(2.5rem, 5.5vw, 4.5rem);
  margin-bottom: 1.5rem;
}
.hero-inner-single .hero-sub {
  max-width: 600px;
  font-size: clamp(1rem, 1.2vw, 1.15rem);
}

/* Shot info - subtelne info o aktualnym shocie w hero */
.hero-shot-info {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  padding: 1rem 1.25rem;
  background: rgba(10, 10, 12, 0.7);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 10px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 3;
  max-width: 280px;
}
.hero-shot-info-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--accent);
  letter-spacing: 0.15em;
  margin-bottom: 6px;
}
.hero-shot-info-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 4px;
}
.hero-shot-info-meta {
  font-size: 11px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}

@media (max-width: 768px) {
  .hero-shot-info {
    position: relative;
    bottom: auto;
    right: auto;
    margin-top: 2rem;
    max-width: 100%;
  }
}

/* ===== PORTFOLIO VIDEO ===== */
.portfolio-item-video {
  position: relative;
  overflow: hidden;
}
.portfolio-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(0.95);
  transition: all 0.4s ease;
}
.portfolio-item-video:hover .portfolio-video {
  filter: brightness(1) saturate(1.05);
  transform: scale(1.02);
}
.portfolio-video-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(10, 10, 12, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(59, 130, 246, 0.3);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--text);
  z-index: 5;
}
.video-badge-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: #ef4444;
  border-radius: 50%;
  box-shadow: 0 0 8px #ef4444;
  animation: pulse 2s infinite;
}


/* ===== EMAIL CTA BOX (zamiast formularza) ===== */
.email-cta-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.email-cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.email-cta-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.5rem;
  color: var(--accent);
  padding: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
}
.email-cta-icon svg { width: 100%; height: 100%; }
.email-cta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent);
  letter-spacing: 0.2em;
  margin-bottom: 0.75rem;
}
.email-cta-title {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.email-cta-title .accent { color: var(--accent); font-style: italic; font-weight: 400; }
.email-cta-desc {
  color: var(--text-2);
  font-size: 0.98rem;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 1.75rem;
}
.email-cta-address {
  display: inline-block;
  padding: 12px 24px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 10px;
  font-family: var(--font-mono);
  font-size: 16px;
  color: var(--accent);
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}
.email-cta-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.email-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(59, 130, 246, 0.35);
}
.email-cta-or {
  display: block;
  margin: 1.75rem 0 1.25rem;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--text-3);
}
.email-cta-wa {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: transparent;
  color: #25D366;
  border: 1px solid rgba(37, 211, 102, 0.4);
  border-radius: 100px;
  font-weight: 500;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.email-cta-wa:hover {
  background: rgba(37, 211, 102, 0.1);
  border-color: #25D366;
}
.email-cta-note {
  margin-top: 1.75rem;
  font-size: 12px;
  color: var(--text-3);
  font-family: var(--font-mono);
  letter-spacing: 0.05em;
}
@media (max-width: 640px) {
  .email-cta-box { padding: 2rem 1.5rem; }
  .email-cta-title { font-size: 1.5rem; }
  .email-cta-address { font-size: 14px; padding: 10px 16px; }
  .email-cta-button { padding: 14px 24px; font-size: 14px; }
}

/* ===== COOKIE BANNER ===== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 480px;
  background: var(--bg-2);
  border: 1px solid var(--accent);
  border-radius: 14px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(59, 130, 246, 0.1);
  z-index: 998;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.cookie-banner.visible { transform: translateY(0); }
.cookie-banner-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.cookie-banner-title::before {
  content: '🍪';
  font-size: 18px;
}
.cookie-banner-text {
  font-size: 12.5px;
  color: var(--text-2);
  line-height: 1.55;
  margin-bottom: 1rem;
}
.cookie-banner-text a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  flex: 1;
  min-width: 120px;
  padding: 10px 16px;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-align: center;
}
.cookie-banner-btn-accept {
  background: var(--accent);
  color: var(--bg);
}
.cookie-banner-btn-accept:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}
.cookie-banner-btn-reject {
  background: transparent;
  color: var(--text-2);
  border: 1px solid var(--border);
}
.cookie-banner-btn-reject:hover {
  background: var(--bg-3);
  color: var(--text);
}
@media (max-width: 640px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 1.25rem 1.25rem 1rem;
  }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-btn { width: 100%; }
}
