@import url("https://fonts.googleapis.com/css2?family=Outfit:wght@400;700;800&family=Inter:wght@300;400;500;600&display=swap");

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

:root {
  --bg: #09090b;
  --bg2: #09090b;
  --bg3: #09090b;
  --bg4: #09090b;
  --bialy: #fafafa;
  --szary: #a1a1aa;
  --szary2: #27272a;
  --szary3: #18181b;
  --akcent: #ffffff;
  --akcent2: rgba(255, 255, 255, 0.12);
  --akcent3: rgba(255, 255, 255, 0.05);
  --font-d: "Outfit", sans-serif;
  --font-b: "Inter", sans-serif;
  --radius: 10px;
  --max: 1200px;
}

html {
  /* Usunięto: scroll-behavior: smooth; aby nie gryzło się ze skryptem JS we wlasnym customowym smooth scroll */
  overflow-x: clip;
}
body {
  background: var(--bg);
  color: var(--bialy);
  font-family: var(--font-b);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.028;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

section {
  scroll-margin-top: 72px;
}
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
}

.sekcja-header {
  margin-bottom: 56px;
}
.sekcja-kicker {
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--akcent);
  margin-bottom: 12px;
  display: block;
}
.sekcja-tytul {
  font-family: var(--font-d);
  font-size: 52px;
  font-weight: 800;
  color: var(--bialy);
  line-height: 1.25; /* Zwiększono Line-heigth przeciw ucinaniu i wpadaniu g, j na box padding */
  padding-bottom: 4px; /* Przestrzeń pod literami wyłapującymi w dół */
}
.sekcja-tytul span {
  color: var(--akcent);
}
.sekcja-sub {
  font-size: 15px;
  color: var(--szary);
  margin-top: 12px;
}

.btn-glowny {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background: var(--akcent);
  color: #000;
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 14px 36px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s;
}
.btn-glowny::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #f0f0f0;
  transition: height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 0;
}
.btn-glowny:hover::before {
  height: 100%;
}
.btn-glowny span {
  position: relative;
  z-index: 1;
  display: inline-block;
  pointer-events: none;
}
.btn-glowny:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
  color: #000;
}
.btn-drugorzedny {
  display: inline-block;
  background: transparent;
  color: var(--bialy);
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  padding: 13px 36px;
  border-radius: 6px;
  border: 1.5px solid var(--szary2);
  transition:
    border-color 0.2s,
    color 0.2s;
}
.btn-drugorzedny:hover {
  border-color: var(--akcent);
  color: var(--akcent);
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(9, 9, 9, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--szary2);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 2px 24px rgba(0, 0, 0, 0.8);
}
.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 32px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav-logo {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 800;
  color: var(--bialy);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.5px;
}
.nav-logo span {
  color: var(--akcent);
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  margin-left: auto;
}
.nav-links a {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  color: var(--szary);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--akcent);
}
.nav-cta {
  font-family: var(--font-d);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  color: #000;
  background: var(--akcent);
  padding: 9px 22px;
  border-radius: 6px;
  flex-shrink: 0;
  background: #e5e5e5;
}

.lang-toggle-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--tekst-glowny);
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  font-size: 14px;
  transition: 0.3s;
  margin-right: 16px;
}
.lang-toggle-btn:hover {
  background: var(--akcent);
  color: #000;
  border-color: var(--akcent);
}
@media (max-width: 900px) {
  .lang-toggle-btn {
    margin-right: 12px;
  }
}
.mob-lang-wrap {
  margin-top: auto;
  margin-bottom: 2rem;
  text-align: center;
}
.mob-lang-wrap .lang-toggle-btn {
  margin: 0;
  font-size: 18px;
  padding: 8px 24px;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  background: var(--bg3);
  border: 1px solid var(--szary2);
  border-radius: 8px;
  cursor: pointer;
  margin-left: 0;
  flex-shrink: 0;
  transition: border-color 0.2s;
}
.nav-burger:hover {
  border-color: var(--akcent);
}
.nav-burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--bialy);
  border-radius: 2px;
  transition:
    transform 0.3s,
    opacity 0.3s,
    background 0.2s;
  transform-origin: center;
}
.nav-burger.open {
  border-color: var(--akcent);
}
.nav-burger.open span {
  background: var(--akcent);
}
.nav-burger.open span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.menu-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s;
}
.menu-overlay.visible {
  opacity: 1;
}

/* HERO */
.hero {
  min-height: 100vh;
  padding-top: 68px;
  display: grid;
  grid-template-columns: 1fr 440px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
  gap: 80px;
  position: relative;
}
.hero-dekoracja {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}
.deko-okrag {
  position: absolute;
  top: 5%;
  right: 0;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
}
.deko-linia {
  position: absolute;
  bottom: 10%;
  left: 0;
  width: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--szary2));
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--szary);
  background: var(--bg3);
  border: 1px solid var(--szary2);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
  animation: fadeUp 0.6s ease 0.1s both;
}
.hero-tag::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--akcent);
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.hero-tytul {
  font-family: var(--font-d);
  font-size: clamp(48px, 6vw, 76px); /* Nieco inny clamp by zarys tekstu pasował do 2 linii */
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--bialy);
  margin-bottom: 24px;
}
.akcent {
  color: var(--akcent);
}
.hero-opis {
  font-size: 15px;
  font-weight: 300;
  color: var(--szary);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 460px;
}
.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 56px;
  animation: fadeUp 0.6s ease 0.55s both;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  animation: fadeUp 0.6s ease 0.7s both;
}
.h-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.h-stat-liczba {
  font-family: var(--font-d);
  font-size: 34px;
  font-weight: 800;
  color: var(--akcent);
  line-height: 1;
}
.h-stat-opis {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--szary);
}
.h-stat-divider {
  width: 1px;
  height: 32px;
  background: var(--szary2);
  align-self: stretch; /* Poprawne rozciąganie w flex-row */
  min-height: 32px;
  max-height: 48px;
}
.hero-right {
  position: relative;
  /* Żeby element rotujący nie psuł wymiarów, nie dajemy overflow: hidden tu */
  z-index: 1; 
}
.hero-foto-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--bg3);
  z-index: 2; /* Musi być na równi lub wyżej niż glow by float-tag wyskakiwał */
}
.hero-foto {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.hero-foto-deko {
  position: absolute;
  inset: 0;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 65%);
  filter: blur(80px);
  z-index: 0; /* Glow z tyłu, by nie nachodził na tag-float */
  animation: glowRotate 8s linear infinite;
  pointer-events: none;
}
@keyframes glowRotate {
  0% { transform: translate(-50%, -50%) rotate(0deg) scale(1); opacity: 0.35; }
  50% { transform: translate(-50%, -50%) rotate(180deg) scale(1.05); opacity: 0.55; }
  100% { transform: translate(-50%, -50%) rotate(360deg) scale(1); opacity: 0.35; }
}

/* KLASY ANIMACJI PREMIUM */
.reveal-mask {
  overflow: hidden;
  display: inline-block;
  vertical-align: top;
}
.reveal-inner {
  display: inline-block;
  transform: translateY(110%);
  animation: textReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes textReveal {
  from { transform: translateY(110%); }
  to { transform: translateY(0); }
}
.d-1 { animation-delay: 0.15s; }
.d-2 { animation-delay: 0.3s; }
.d-3 { animation-delay: 0.45s; }
.d-4 { animation-delay: 0.6s; }
.hero-tag-float {
  position: absolute;
  bottom: -14px;
  left: 20px;
  background: var(--akcent);
  color: #000;
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 9px 16px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5; /* Wymuszamy by wiszący tag (HTML / CSS / JS) wystawał NAD ramką zdjęcia i blaskiem */
}
.tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  flex-shrink: 0;
}

/* TICKER */
.ticker-wrap {
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: var(--akcent);
  padding: 13px 0;
  margin-top: 40px;
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker 22s linear infinite;
  width: max-content;
}
.ticker span {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #000;
  padding: 0 18px;
}
.ticker .td {
  color: rgba(0, 0, 0, 0.3);
  padding: 0 4px;
}
@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ACETERNITY CONTAINER SCROLL ANIMACJA */
.container-scroll-sekcja {
  position: relative;
  z-index: 10;
  /* Sekcja musi być odpowiednio wysoka by scroll miał gdzie się wykonać */
  height: 250vh; 
  background: var(--bg);
  margin-top: 40px;
}

.cs-sticky-wrap {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  padding: 20px;
}

/* Tekst i nagłówek (zbliża się i zjeżdża) */
.cs-header {
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  will-change: transform;
}
.cs-title {
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--bialy);
  line-height: 1.2;
}
.cs-title-bold {
  font-size: 4rem;
  font-weight: 800;
  display: block;
  margin-top: 8px;
}

/* Kontener karty z perspektywą 3D */
.cs-card {
  perspective: 1000px;
  width: 100%;
  max-width: 1000px;
  position: relative;
  margin-top: 80px; /* miejsce pod tekstem */
  z-index: 2;
}
.cs-card-inner {
  height: 60vh;
  min-height: 500px;
  max-height: 700px;
  width: 100%;
  border: 4px solid var(--akcent); /* Akcent limonkowy nałożony na tablet */
  background: #111;
  border-radius: 30px;
  padding: 16px;
  box-shadow: 0 0 #0000004d, 0 9px 20px #0000004a, 0 37px 37px #00000042, 0 84px 50px #00000026, 0 149px 60px #0000000a, 0 233px 65px #00000003, 0 0 30px rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  position: relative;
  
  /* Właściwości startowe: nachylony pod kątem */
  transform: rotateX(20deg) scale(0.9);
  will-change: transform;
}

.cs-img-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 2;
  cursor: pointer;
}
/* Wewnętrzny obrazek (Screenshot Strony internetowej) */
.cs-website-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  transition: transform 0.4s ease;
}
.cs-img-link:hover .cs-website-img {
  transform: scale(1.02);
}

/* Plakietka - Projekt UI */
.cs-badge {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: var(--akcent);
  color: #000;
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 800;
  font-family: var(--font-d);
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
  z-index: 10;
}
  font-weight: 800;
  font-family: var(--font-d);
  font-size: 16px;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.15);
  z-index: 10;
}

/* O MNIE */
.o-mnie {
  padding: 120px 0;
  background: var(--bg2);
  position: relative;
  overflow: hidden;
}
.div-o-mnie-header {
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.o-mnie-bg-num {
  position: absolute;
  top: 50%;
  right: -5%;
  transform: translateY(-50%);
  font-family: var(--font-d);
  font-size: clamp(200px, 30vw, 450px);
  font-weight: 800;
  color: transparent; /* Przezroczysty środek */
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.03); /* Cienki jasny obrys rodem z luksusowych stron */
  pointer-events: none;
  user-select: none;
  line-height: 1;
  letter-spacing: -10px;
  z-index: 0;
}

/* NOWA SIATKA BENTO */
.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 48px;
  position: relative;
  z-index: 2;
}

/* Pojedyncza karta Bento (Premium, Gładka, Glassmorphic) */
.bento-card {
  background: rgba(30, 30, 30, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  padding: 40px;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
  position: relative;
}
.bento-card:hover {
  background: rgba(40, 40, 40, 0.6);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-4px);
}

/* Rozmieszczenie kart */
.bento-opis {
  /* Opis zajmuje dwa wiersze po lewej, a reszta piętrzy góra dół po prawej */
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

/* Status dostępności Bento */
.bento-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}
.status-kropka {
  width: 8px;
  height: 8px;
  background-color: var(--akcent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--akcent);
  position: relative;
}
.status-kropka::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background-color: var(--akcent);
  border-radius: 50%;
  z-index: -1;
  animation: pulse-dot 2s infinite ease-out;
}
.status-tekst {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: var(--bialy);
  letter-spacing: 0.5px;
}

@keyframes pulse-dot {
  0% { transform: scale(0.5); opacity: 1; }
  100% { transform: scale(2.5); opacity: 0; }
}

.bento-skille {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.bento-fakty {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  display: flex;
  align-items: center; /* Wycentrowanie wewnętrzne mini-liczników */
}

/* Tytuliki w kratkach */
.bento-tytul {
  font-family: var(--font-d);
  font-size: 20px;
  color: var(--bialy);
  margin-bottom: 24px;
}
.o-mnie .sekcja-kicker {
  color: var(--akcent);
}
.o-mnie .sekcja-tytul {
  color: var(--bialy);
  font-size: 44px;
  margin-bottom: 32px;
}
.o-mnie .sekcja-tytul span {
  color: var(--akcent);
}
.o-mnie-rok {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--szary2);
}
.o-mnie-rok-liczba {
  font-family: var(--font-d);
  font-size: 80px;
  font-weight: 800;
  color: var(--akcent);
  line-height: 1;
}
.o-mnie-rok-opis {
  font-size: 12px;
  font-weight: 500;
  color: var(--szary);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.5;
}
.o-mnie-opis {
  font-size: 15px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.55);
  line-height: 1.9;
  margin-bottom: 18px;
}
.umiejetnosci {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 10px;
}
.skill {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 500;
  color: var(--bialy);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 18px;
  border-radius: 100px;
  
  /* Ukrycie i animacja startowa dla Reveal by JS */
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s, border-color 0.3s, background 0.3s;
  
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: default;
}
.skill.zaanimowane {
  opacity: 1;
  transform: translateY(0);
}
.skill.zaanimowane:hover {
  border-color: var(--akcent);
  color: #000;
  background: var(--akcent);
  transform: translateY(-2px) scale(1.05); /* unosi element na hover */
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}

.o-mnie-fakty {
  display: flex;
  justify-content: space-around;
  width: 100%;
  gap: 20px;
  flex-wrap: wrap;
}
.fakt {
  display: flex;
  flex-direction: column;
  align-items: center; /* centralne liczniki dla Bento Boxa */
  gap: 8px;
  flex: 1;
}
.fakt-n {
  font-family: var(--font-d);
  font-size: 56px;
  font-weight: 800;
  color: var(--bialy);
  line-height: 1;
}
.fakt-l {
  font-size: 14px;
  font-weight: 500;
  color: var(--akcent);
}

@media (max-width: 900px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    gap: 64px;
  }
  .bento-opis {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
  }
  .bento-skille {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }
  .bento-fakty {
    grid-column: 1 / -1;
    grid-row: 3 / 4;
  }
  .o-mnie-bg-num {
    right: -10%;
    font-size: clamp(120px, 30vw, 250px);
  }
}

/* REALIZACJE */
.realizacje {
  padding: 120px 0;
  background: var(--bg);
}
.realizacje .sekcja-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Asymetryczny Grid — pierwszy projekt duży, reszta mniejsze */
.realizacje-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 20px;
}
.realizacje-grid .projekt-karta:first-child {
  grid-column: 1 / -1; /* Pierwszy projekt rozciąga się na pełną szerokość */
}

/* Karta projektu — Bento Style */
.projekt-karta {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  overflow: hidden;
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
}
.projekt-karta:hover {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(40, 40, 40, 0.7);
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(0, 229, 255, 0.04);
}

/* Obrazy — znacznie większe, cinematic */
.projekt-img {
  position: relative;
  height: 280px;
  background: var(--bg3);
  overflow: hidden;
}
.realizacje-grid .projekt-karta:first-child .projekt-img {
  height: 380px; /* Duża karta = duży obraz */
}
.projekt-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), filter 0.4s ease;
}
.projekt-karta:hover .projekt-img img {
  transform: scale(1.06);
  filter: brightness(0.7); /* Przyciemnienie przy hover */
}

/* Overlay — Glassmorphic zamiast solidnego koloru */
.projekt-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 229, 255, 0.15) 0%, rgba(0, 0, 0, 0.6) 100%);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.projekt-karta:hover .projekt-overlay {
  opacity: 1;
}
.projekt-link {
  font-family: var(--font-d);
  font-size: 15px;
  font-weight: 700;
  color: var(--bialy);
  letter-spacing: 2px;
  text-transform: uppercase;
  background: var(--akcent);
  color: #000;
  padding: 12px 28px;
  border-radius: 100px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.projekt-karta:hover .projekt-link {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 229, 255, 0.3);
}

/* Info pod zdjęciem */
.projekt-info {
  padding: 28px 32px;
  flex: 1;
}
.projekt-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.projekt-num {
  font-family: var(--font-d);
  font-size: 48px;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.projekt-typ {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--akcent);
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  padding: 6px 14px;
  border-radius: 100px;
}
.projekt-nazwa {
  font-family: var(--font-d);
  font-size: 22px;
  font-weight: 700;
  color: var(--bialy);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.projekt-opis {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin-bottom: 18px;
}
.projekt-tagi {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.projekt-tagi span {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 14px;
  border-radius: 100px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.projekt-karta:hover .projekt-tagi span {
  border-color: rgba(0, 229, 255, 0.2);
  color: rgba(255, 255, 255, 0.8);
}

/* Wkrótce */
.projekt-karta[data-wkrotce="true"] .projekt-overlay {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.8) 100%);
}
.projekt-karta[data-wkrotce="true"] .projekt-link {
  background: transparent;
  border: 1px solid rgba(0, 229, 255, 0.4);
  color: var(--akcent);
  font-size: 12px;
}

/* Staggered Reveal Animation */
.projekt-karta {
  opacity: 0;
  transform: translateY(40px);
}
.projekt-karta.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.projekt-karta:nth-child(2).reveal { transition-delay: 0.1s; }
.projekt-karta:nth-child(3).reveal { transition-delay: 0.2s; }

/* Responsive */
@media (max-width: 768px) {
  .realizacje-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .realizacje-grid .projekt-karta:first-child {
    grid-column: 1;
  }
  .realizacje-grid .projekt-karta:first-child .projekt-img {
    height: 240px;
  }
  .projekt-img {
    height: 200px;
  }
}

/* PAKIETY */
.pakiety {
  padding: 120px 0;
  background: var(--bg2);
}
.pakiety .sekcja-header {
  text-align: center;
}
.pakiety-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  /* overflow: hidden CELOWO USUNIĘTY by pakiet-badge na business nie ucinało pośrodku! */
  padding-top: 16px; /* Przestrzeń na znaczek Businessu u góry nad siatką */
}

/* Właściwe karty z Cennikami */
.pakiet-karta {
  display: flex;
  flex-direction: column;
  position: relative;
}
.pakiet-karta.bento-card {
  overflow: visible; /* Nadpisujemy globalne bento-card overflow:hidden, żeby badge wystawał */
}

/* Wyróżniony pakiet Business z Gwiezdnym Glow */
.pakiet-karta.featured-glow {
  border-color: rgba(0, 229, 255, 0.4);
  background: rgba(30, 30, 30, 0.8);
  box-shadow: 0 0 40px rgba(0, 229, 255, 0.05); /* Stale lekko się świeci pod spodem */
  transform: scale(1.02); /* Jest zawsze trochę większy by krzyczeć KUP MNIE */
  z-index: 2;
  padding-top: 48px; /* Zwiększony odstęp przez zewn. badge */
  border-radius: 24px;
}
.pakiet-karta.featured-glow:hover {
  border-color: rgba(0, 229, 255, 0.8);
  background: rgba(40, 40, 40, 0.9);
  box-shadow: 0 0 60px rgba(0, 229, 255, 0.15);
  transform: translateY(-4px) scale(1.02);
}

.pakiet-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--akcent);
  color: #000;
  font-family: var(--font-d);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 16px;
  border-radius: 100px;
  box-shadow: 0 4px 10px rgba(0, 229, 255, 0.2);
  z-index: 10; /* Wyciągnięty nad wszystko */
}

.pakiet-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pakiet-nazwa {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 10px;
}
.pakiet-cena-wrap {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 6px;
}
.pakiet-cena {
  font-family: var(--font-d);
  font-size: 72px; /* Większa i grubsza cyfra */
  font-weight: 800;
  color: var(--bialy);
  line-height: 1;
  background-clip: text;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.pakiet-waluta {
  font-family: var(--font-b);
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
}
.pakiet-sub {
  font-size: 13px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
}

/* Nowe stylowanie ikon SVG na liście funkcji pakietu */
.pakiet-lista {
  list-style: none;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
}
.pakiet-lista li {
  display: flex;
  align-items: center;
  gap: 12px;
}
.icon-check {
  width: 16px;
  height: 16px;
  color: var(--akcent);
}
.icon-x {
  width: 16px;
  height: 16px;
  color: rgba(255,255,255, 0.2);
}
.li-disabled {
  color: rgba(255, 255, 255, 0.3);
  text-decoration: line-through;
}
.btn-pakiet {
  display: inline-block;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05); /* Guzik typu outline-glass */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--bialy);
  text-decoration: none;
  font-family: var(--font-b);
  font-size: 14px;
  font-weight: 600;
  border-radius: 100px;
  text-align: center;
  margin-top: auto;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-pakiet:hover {
  background: var(--bialy);
  color: #000;
  border-color: var(--bialy);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}
.pakiet-karta.featured-glow .btn-pakiet-akcent {
  background: var(--akcent);
  color: #000;
  border-color: var(--akcent);
}
.pakiet-karta.featured-glow .btn-pakiet-akcent:hover {
  background: #000;
  color: var(--akcent);
  border-color: var(--akcent);
  box-shadow: 0 10px 20px rgba(0, 229, 255, 0.2);
}
.pakiety-info {
  text-align: center;
  font-size: 14px;
  color: var(--szary);
}
.pakiety-info a {
  color: var(--akcent);
  text-decoration: none;
}
.pakiety-info a:hover {
  text-decoration: underline;
}

/* ABONAMENT */
.abonament-sekcja {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  margin-top: 20px;
  padding: 48px;
}
.abonament-left {
  flex: 1;
  max-width: 400px;
}
.abonament-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.abonament-header {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 24px;
}
.abonament-ikona {
  flex-shrink: 0;
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px;
  border-radius: 14px;
}
.abonament-tytul {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 800;
  color: var(--bialy);
  line-height: 1.1;
}
.abonament-opis {
  font-size: 14px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.55);
  line-height: 1.85;
}
.abonament-lista-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.abonament-punkt {
  display: flex;
  gap: 12px;
  align-items: center;
}
.abonament-punkt svg {
  color: var(--akcent);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
}
.abonament-punkt p {
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.5;
}
.abonament-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.abonament-cena-wrap {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.abonament-cena {
  font-family: var(--font-d);
  font-size: 42px;
  font-weight: 800;
  color: var(--bialy);
  line-height: 1;
}
.abonament-waluta {
  font-family: var(--font-b);
  font-size: 13px;
  font-weight: 400;
  color: var(--akcent);
}

@media (max-width: 900px) {
  .abonament-sekcja {
    flex-direction: column;
    padding: 32px;
    gap: 40px;
  }
  .abonament-left, .abonament-right {
    max-width: 100%;
  }
  .pakiety-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}



/* FAQ */
.faq {
  padding: 120px 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.faq .sekcja-header {
  text-align: center;
  margin-bottom: 60px;
}
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: rgba(30, 30, 30, 0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.4s ease, background 0.4s ease, box-shadow 0.4s ease, transform 0.3s ease;
}
.faq-item:hover {
  border-color: rgba(0, 229, 255, 0.15);
  background: rgba(40, 40, 40, 0.6);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.faq-item.aktywny {
  border-color: rgba(0, 229, 255, 0.3);
  background: rgba(40, 40, 40, 0.7);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 229, 255, 0.04);
}
.faq-question {
  padding: 28px 32px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
  transition: padding 0.3s ease;
}
.faq-q-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}
.faq-num {
  font-family: var(--font-d);
  font-size: 13px;
  font-weight: 800;
  color: var(--akcent);
  opacity: 0.5;
  flex-shrink: 0;
  letter-spacing: 1px;
  transition: opacity 0.3s;
}
.faq-item:hover .faq-num,
.faq-item.aktywny .faq-num {
  opacity: 1;
}
.faq-q-left > span:last-child {
  font-family: var(--font-d);
  font-size: 17px;
  font-weight: 700;
  color: var(--bialy);
  line-height: 1.4;
}
.faq-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 6px;
  transition: background 0.3s;
}
.faq-item:hover .faq-icon {
  background: rgba(0, 229, 255, 0.08);
}
.faq-icon::before, .faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--akcent);
  border-radius: 1px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}
.faq-icon::before {
  width: 12px;
  height: 2px;
}
.faq-icon::after {
  width: 2px;
  height: 12px;
}
.faq-item.aktywny .faq-icon {
  background: rgba(0, 229, 255, 0.1);
}
.faq-item.aktywny .faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
  opacity: 0;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-answer p {
  padding: 0 32px 28px 72px;
  font-size: 15px;
  font-weight: 300;
  color: rgba(239, 239, 239, 0.6);
  line-height: 1.85;
  margin: 0;
}

@media (max-width: 768px) {
  .faq {
    padding: 80px 0;
  }
  .faq-question {
    padding: 22px 20px;
    gap: 12px;
  }
  .faq-q-left {
    gap: 14px;
  }
  .faq-q-left > span:last-child {
    font-size: 15px;
  }
  .faq-answer p {
    padding: 0 20px 24px 54px;
    font-size: 14px;
  }
}


/* KONTAKT */
.kontakt {
  padding: 120px 0;
  background: var(--bg);
}
.kontakt-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 60px;
  align-items: start;
}
.kontakt-lewa .sekcja-tytul {
  font-size: 44px;
  margin-bottom: 16px;
}
.kontakt-opis {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.8;
  margin-bottom: 40px;
}

/* Mini-karty kontaktowe Bento */
.kontakt-dane {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.kontakt-mini-card {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: var(--bialy);
  padding: 18px 22px !important;
  border-radius: 16px !important;
  transition: all 0.3s ease;
}
.kontakt-mini-card:hover {
  border-color: rgba(0, 229, 255, 0.3) !important;
  transform: translateX(6px);
}
.kd-ikona {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(0, 229, 255, 0.08);
  border: 1px solid rgba(0, 229, 255, 0.15);
  border-radius: 12px;
  color: var(--akcent);
  flex-shrink: 0;
}
.kd-label {
  display: block;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}
.kd-value {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--bialy);
}

/* Formularz — Glassmorphic Bento Card */
.kontakt-form {
  padding: 40px !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-top: 2px solid var(--akcent) !important;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-pole {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-pole label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}
.form-pole input,
.form-pole select,
.form-pole textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--bialy);
  font-family: var(--font-b);
  font-size: 14px;
  padding: 14px 18px;
  outline: none;
  transition: all 0.3s ease;
  resize: vertical;
}
.form-pole input::placeholder,
.form-pole textarea::placeholder {
  color: rgba(255, 255, 255, 0.2);
}
.form-pole select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
.form-pole input:focus,
.form-pole select:focus,
.form-pole textarea:focus {
  border-color: var(--akcent);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.06), 0 0 20px rgba(0, 229, 255, 0.04);
  background: rgba(255, 255, 255, 0.05);
}
.form-info {
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 4px;
}

@media (max-width: 900px) {
  .kontakt-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* FOOTER */
.footer {
  background: var(--bg2);
  padding: 0;
  position: relative;
}
.footer-gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 229, 255, 0.5) 50%, transparent 100%);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  padding: 64px 0 48px;
}
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-logo {
  font-family: var(--font-d);
  font-size: 28px;
  font-weight: 800;
  color: var(--bialy);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: inline-block;
}
.footer-logo span {
  color: var(--akcent);
}
.footer-tagline {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--akcent);
}
.footer-desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.7;
  max-width: 300px;
  margin-top: 4px;
}
.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}
.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: all 0.3s ease;
}
.footer-social:hover {
  border-color: var(--akcent);
  color: var(--akcent);
  background: rgba(0, 229, 255, 0.06);
}
.footer-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col-title {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-col a:hover {
  color: var(--akcent);
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-copy,
.footer-made {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

/* ═══ FULL-SCREEN HAMBURGER MENU ═══ */
.mob-screen {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  background: #020617;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 32px 60px;
  pointer-events: none;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.mob-screen.open {
  pointer-events: all;
  clip-path: inset(0 0 0% 0);
}
.mob-screen-inner {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
}
.mob-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.mob-link {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
  padding: 22px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
  position: relative;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
}
.mob-screen.open .mob-link:nth-child(1) { transform: translateY(0); opacity: 1; transition-delay: 0.1s; }
.mob-screen.open .mob-link:nth-child(2) { transform: translateY(0); opacity: 1; transition-delay: 0.16s; }
.mob-screen.open .mob-link:nth-child(3) { transform: translateY(0); opacity: 1; transition-delay: 0.22s; }
.mob-screen.open .mob-link:nth-child(4) { transform: translateY(0); opacity: 1; transition-delay: 0.28s; }
.mob-num {
  font-family: var(--font-d);
  font-size: 12px;
  font-weight: 700;
  color: var(--akcent);
  letter-spacing: 1px;
  width: 24px;
  flex-shrink: 0;
}
.mob-tekst {
  font-family: var(--font-d);
  font-size: clamp(32px, 8vw, 52px);
  font-weight: 800;
  color: var(--bialy);
  letter-spacing: -1px;
  flex: 1;
  transition: color 0.2s;
}
.mob-arrow {
  font-family: var(--font-d);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.2);
  transition: color 0.2s, transform 0.3s ease;
}
.mob-link:hover .mob-tekst { color: var(--akcent); }
.mob-link:hover .mob-arrow { color: var(--akcent); transform: translateX(6px); }
.mob-footer {
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease 0.4s, transform 0.4s ease 0.4s;
}
.mob-screen.open .mob-footer {
  opacity: 1;
  transform: translateY(0);
}
.mob-contact-link {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: color 0.2s;
}
.mob-contact-link:hover { color: var(--akcent); }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══ RESPONSIVE ══ */

/* ─ Tablet 1024px ─ */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 380px;
    gap: 48px;
  }
  .realizacje-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .o-mnie-inner {
    gap: 48px;
  }
  .footer-inner {
    gap: 48px;
  }
}

/* ─ Hamburger trigger ─ */
@media (max-width: 900px) {
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .nav-links { display: none; }

  .o-mnie-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .o-mnie-bg-num {
    font-size: 200px;
    right: -5%;
  }
  .kontakt-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .abonament-sekcja {
    flex-direction: column;
    padding: 32px;
    gap: 32px;
  }
  .abonament-left {
    max-width: 100%;
  }
  .abonament-lista-grid {
    grid-template-columns: 1fr;
  }
  .abonament-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  /* Footer responsywny */
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

/* ─ Mobile 768px ─ */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .sekcja-tytul {
    font-size: 38px;
  }

  /* HERO */
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 96px 20px 64px;
    gap: 40px;
  }
  .hero-right {
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-foto-wrap {
    aspect-ratio: 4/5;
  }
  .hero-tytul {
    font-size: clamp(28px, 7.5vw, 44px);
  }
  .hero-opis {
    font-size: 14px;
  }
  .hero-cta {
    flex-direction: column;
  }
  .btn-glowny,
  .btn-drugorzedny {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .h-stat-divider {
    display: none;
  }
  .ticker-wrap {
    margin-top: 24px;
  }

  /* CONTAINER SCROLL (TABLET ANIMACJA) — UKRYTA na mobile */
  .container-scroll-sekcja {
    display: none !important;
  }

  /* O MNIE */
  .o-mnie {
    padding: 80px 0;
  }
  .o-mnie .sekcja-tytul {
    font-size: 34px;
  }
  .o-mnie-rok-liczba {
    font-size: 60px;
  }
  .o-mnie-bg-num {
    display: none;
  }

  /* REALIZACJE */
  .realizacje {
    padding: 80px 0;
  }
  .realizacje-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .realizacje-grid .projekt-karta:first-child {
    grid-column: 1;
  }

  /* PAKIETY */
  .pakiety {
    padding: 80px 0;
  }
  .pakiety-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 24px;
  }
  .pakiet-cena {
    font-size: 50px;
  }

  /* KONTAKT */
  .kontakt {
    padding: 80px 0;
  }
  .kontakt-form {
    padding: 24px 20px !important;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .kontakt-lewa .sekcja-tytul {
    font-size: 34px;
  }

  /* ABONAMENT */
  .abonament-sekcja {
    flex-direction: column;
    gap: 24px;
  }
  .abonament-left,
  .abonament-right {
    width: 100%;
  }

  /* FOOTER */
  .footer-right {
    grid-template-columns: 1fr 1fr;
  }
}

/* ─ Small phones 480px ─ */
@media (max-width: 480px) {
  .sekcja-tytul {
    font-size: 32px;
  }
  .hero-tytul {
    font-size: clamp(24px, 7.5vw, 34px);
  }
  .h-stat-liczba {
    font-size: 28px;
  }
  .pakiet-cena {
    font-size: 44px;
  }
  .footer-right {
    grid-template-columns: 1fr;
  }
  .mob-screen {
    padding: 88px 24px 48px;
  }
  .abonament-cena {
    font-size: 36px;
  }
  .kontakt-mini-card {
    padding: 14px 16px !important;
  }
}

@media (max-width: 900px) {
  .nav-cta {
    display: none;
  }
  .nav-burger {
    display: flex;
  }

  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #020617;
    padding: 40px 32px;
    gap: 0;
    z-index: 9999;
    list-style: none;
    margin: 0;
    border-top: 2px solid #00e5ff;
    overflow-y: auto;
  }
  .nav-links.open li a {
    display: block;
    padding: 14px 0;
    font-family: var(--font-d);
    font-size: clamp(28px, 8vw, 42px);
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--bialy);
    border-bottom: 1px solid var(--szary2);
    text-decoration: none;
  }
  .nav-links.open li:last-child a {
    border-bottom: none;
  }
  .nav-links.open li a:active {
    color: var(--akcent);
  }

  .o-mnie-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .o-mnie-bg-num {
    font-size: 200px;
    right: -5%;
  }
  .kontakt-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .abonament-lista-grid {
    grid-template-columns: 1fr;
  }
  .abonament-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
  .sekcja-tytul {
    font-size: 38px;
  }
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding: 96px 20px 64px;
    gap: 48px;
  }
  .hero-right {
    max-width: 320px;
    margin: 0 auto;
  }
  .hero-foto-wrap {
    aspect-ratio: 4/5;
  }
  .hero-tytul {
    font-size: clamp(28px, 7.5vw, 44px);
  }
  .hero-opis {
    font-size: 14px;
  }
  .hero-cta {
    flex-direction: column;
  }
  .btn-glowny,
  .btn-drugorzedny {
    width: 100%;
    text-align: center;
  }
  .hero-stats {
    gap: 20px;
    flex-wrap: wrap;
  }
  .h-stat-divider {
    display: none;
  }
  .ticker-wrap {
    margin-top: 24px;
  }
  .o-mnie {
    padding: 80px 0;
  }
  .o-mnie .sekcja-tytul {
    font-size: 34px;
  }
  .o-mnie-rok-liczba {
    font-size: 60px;
  }
  .o-mnie-bg-num {
    display: none;
  }
  .realizacje {
    padding: 80px 0;
  }
  .realizacje-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .pakiety {
    padding: 80px 0;
  }
  .pakiety-grid {
    grid-template-columns: 1fr;
    background: transparent;
    gap: 40px;
  }
  .pakiet-cena {
    font-size: 50px;
  }
  .kontakt {
    padding: 80px 0;
  }
  .kontakt-form {
    padding: 24px 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .kontakt-lewa .sekcja-tytul {
    font-size: 34px;
  }
}

@media (max-width: 480px) {
  .sekcja-tytul {
    font-size: 32px;
  }
  .hero-tytul {
    font-size: clamp(24px, 7.5vw, 34px);
  }
  .h-stat-liczba {
    font-size: 28px;
  }
  .pakiet-cena {
    font-size: 44px;
  }
  .footer-linki {
    gap: 14px;
  }
  .abonament-cena {
    font-size: 36px;
  }
}

/* ── O MNIE FAKTY ── */
.o-mnie-fakty {
  display: flex;
  gap: 0;
  margin-top: 36px;
  border: 1px solid var(--szary2);
  border-radius: var(--radius);
  overflow: hidden;
}
.fakt {
  flex: 1;
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border-right: 1px solid var(--szary2);
  transition: background 0.2s;
}
.fakt:last-child {
  border-right: none;
}
.fakt:hover {
  background: var(--bg3);
}
.fakt-n {
  font-family: var(--font-d);
  font-size: 32px;
  font-weight: 800;
  color: var(--akcent);
  line-height: 1;
}
.fakt-l {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--szary);
}

/* ── O MNIE - remove unused rok styles ── */
.o-mnie-rok {
  display: none;
}
.o-mnie-bg-num {
  display: none;
}

/* ── MOBILE MENU — osobny div, poza nav-inner ── */
.mob-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #020617;
  z-index: 9999;
  flex-direction: column;
  justify-content: center;
  padding: 32px 40px;
  border-top: 2px solid #00e5ff;
}
.mob-menu.open {
  display: flex;
}
.mob-link {
  display: block;
  padding: 20px 0;
  font-family: var(--font-d);
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 800;
  color: #efefef;
  border-bottom: 1px solid #1e293b;
  text-decoration: none;
  letter-spacing: 2px;
}
.mob-link:last-child {
  border-bottom: none;
}
.mob-link:active {
  color: #00e5ff;
}

/* ── MOB MENU POLISH ── */
.mob-menu {
  padding: 48px 40px;
  gap: 0;
}
.mob-link {
  transition:
    color 0.15s,
    letter-spacing 0.15s;
  position: relative;
}
.mob-link::after {
  content: "→";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-d);
  font-size: 20px;
  color: var(--akcent);
  opacity: 0;
  transition: opacity 0.15s;
}
.mob-link:active {
  color: #00e5ff;
}
.mob-link:active::after {
  opacity: 1;
}

/* numer linku po lewej */
.mob-link:nth-child(1)::before {
  content: "01";
}
.mob-link:nth-child(2)::before {
  content: "02";
}
.mob-link:nth-child(3)::before {
  content: "03";
}
.mob-link:nth-child(4)::before {
  content: "04";
}
.mob-link::before {
  display: block;
  font-family: var(--font-b);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--akcent);
  margin-bottom: -4px;
  opacity: 0.7;
}

/* zamów stronę na dole menu */
.mob-menu::after {
  content: "sharma.eric1@gmail.com";
  display: block;
  margin-top: auto;
  padding-top: 32px;
  font-family: var(--font-b);
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--szary);
}

/* PROMO BANNER */
.promo-banner {
  background: var(--bg2);
  border: 1px solid var(--akcent2);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.promo-banner::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--akcent);
  animation: pulse-border 2s infinite alternate;
}
@keyframes pulse-border {
  0% { opacity: 0.3; }
  100% { opacity: 1; }
}
.promo-badge {
  display: inline-block;
  background: rgba(0, 229, 255, 0.1);
  color: var(--akcent);
  font-family: var(--font-b);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 6px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.promo-tekst {
  font-size: 15px;
  color: var(--bialy);
  margin-bottom: 20px;
  font-weight: 500;
}
.promo-timer {
  display: flex;
  justify-content: center;
  gap: 16px;
}
.time-box {
  background: var(--bg3);
  border: 1px solid var(--szary2);
  padding: 12px 16px;
  border-radius: 8px;
  min-width: 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.time-box span {
  font-family: var(--font-d);
  font-size: 24px;
  font-weight: 800;
  color: var(--akcent);
  line-height: 1;
}
.time-box small {
  font-size: 11px;
  color: var(--szary);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* CROSS OUT PRICE */
.cena-stara {
  font-size: 16px;
  color: var(--szary);
  text-decoration: line-through;
  margin-right: 8px;
  font-weight: 500;
}
