/* ============================================================
   TYTUS KOZAK — portfolio & usługi | dark premium
   ============================================================ */

:root {
  --bg: #07070c;
  --bg-2: #0c0c16;
  --bg-3: #11111d;
  --panel: rgba(255, 255, 255, 0.035);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #eceaf6;
  --muted: #a09fb8;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --accent-3: #f0abfc;
  --gold: #e7c368;
  --radius: 18px;
  --font-head: "Space Grotesk", sans-serif;
  --font-body: "Inter", sans-serif;
  --nav-h: 76px;
}

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

html { scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: #fff; }

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

h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; }

.container { width: min(1200px, 92vw); margin: 0 auto; }

.grad-text {
  background: linear-gradient(100deg, var(--accent-2), var(--accent) 55%, var(--accent-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- kaskadowa animacja liter nagłówka hero (JS dzieli tekst) ---------- */
.hero h1 .word { display: inline-block; white-space: nowrap; }
.hero h1 .char { display: inline-block; will-change: transform, opacity; }

/* ---------- ruchomy baner usług (ticker pod menu) ---------- */
.ticker {
  margin-top: var(--nav-h); overflow: hidden;
  border-top: 1px solid var(--panel-border); border-bottom: 1px solid var(--panel-border);
  background: rgba(139, 92, 246, 0.07);
  -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.ticker__track { display: flex; width: max-content; padding: 13px 0; animation: ticker-scroll 26s linear infinite; }
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__track span {
  font-family: var(--font-head); font-weight: 700; font-size: 0.95rem; letter-spacing: 0.5px;
  padding: 0 22px; color: var(--text); display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
}
.ticker__track span::after { content: "✦"; color: var(--accent-2); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* ---------- ruchomy baner prac (marquee obrazów) ---------- */
.marq {
  overflow: hidden; margin: 10px 0;
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marq__row { display: flex; gap: 14px; width: max-content; animation: marq-scroll 34s linear infinite; }
.marq:hover .marq__row { animation-play-state: paused; }
.marq img { height: 130px; width: auto; border-radius: 12px; border: 1px solid var(--panel-border); object-fit: cover; }
@keyframes marq-scroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .marq img { height: 96px; } }

@media (prefers-reduced-motion: reduce) {
  .ticker__track, .marq__row { animation: none; }
}

/* ---------- tła dekoracyjne / parallax ---------- */
.bg-grid {
  position: fixed; inset: 0; z-index: -3; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
  opacity: 0.5; pointer-events: none; z-index: -1; will-change: transform;
}
.orb--violet { background: radial-gradient(circle, rgba(139,92,246,0.55), transparent 65%); }
.orb--cyan   { background: radial-gradient(circle, rgba(34,211,238,0.4), transparent 65%); }
.orb--pink   { background: radial-gradient(circle, rgba(240,171,252,0.35), transparent 65%); }

section { position: relative; padding: 110px 0; overflow-x: clip; }
section.tight { padding: 70px 0; }

/* ---------- nagłówek / nawigacja ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  display: flex; align-items: center;
  transition: background 0.35s ease, border-color 0.35s ease, backdrop-filter 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(7, 7, 12, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: var(--panel-border);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; width: min(1200px, 92vw); margin: 0 auto; }
.nav__logo { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; letter-spacing: -0.02em; display: flex; align-items: center; gap: 10px; }
.nav__logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  font-size: 0.85rem; font-weight: 700; color: #fff;
  box-shadow: 0 4px 18px rgba(139, 92, 246, 0.45);
}
.nav__links { display: flex; align-items: center; gap: 6px; }
.nav__links a {
  padding: 9px 15px; border-radius: 10px; font-size: 0.95rem; color: var(--muted);
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.nav__links a.active { color: var(--text); background: rgba(139, 92, 246, 0.16); }
.nav__cta {
  margin-left: 12px;
  padding: 10px 20px !important;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff !important; font-weight: 600; border-radius: 12px !important;
  box-shadow: 0 6px 22px rgba(139, 92, 246, 0.4);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(139, 92, 246, 0.55); background: linear-gradient(120deg, var(--accent), var(--accent-2)) !important; }

.langbtn {
  margin-left: 10px; display: inline-flex; align-items: center; gap: 8px;
  background: var(--panel); border: 1px solid var(--panel-border); color: var(--text);
  font: inherit; font-size: 0.82rem; font-weight: 700; padding: 9px 14px; border-radius: 30px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s; line-height: 1;
}
.langbtn:hover { border-color: var(--accent-2); background: rgba(255,255,255,0.06); }
.langbtn .flag { width: 19px; height: 13px; border-radius: 2px; display: block; flex: 0 0 auto; }

.nav__burger {
  display: none; background: none; border: 1px solid var(--panel-border); border-radius: 10px;
  width: 44px; height: 44px; cursor: pointer; color: var(--text); font-size: 1.3rem;
}

@media (max-width: 900px) {
  .nav__burger { display: grid; place-items: center; }
  .nav__links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    background: rgba(7, 7, 12, 0.97); backdrop-filter: blur(20px);
    flex-direction: column; align-items: stretch; padding: 18px 5vw 26px;
    gap: 4px; border-bottom: 1px solid var(--panel-border);
    transform: translateY(-130%); transition: transform 0.4s cubic-bezier(0.6, 0, 0.2, 1);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { padding: 14px 16px; font-size: 1.05rem; }
  .nav__cta { margin-left: 0; text-align: center; margin-top: 10px; }
  .langbtn { margin-left: 0; margin-top: 8px; width: 100%; justify-content: center; padding: 13px; font-size: 0.95rem; }
}

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 30px; border-radius: 14px; font-weight: 600; font-size: 1rem;
  font-family: var(--font-body); cursor: pointer; border: none;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}
.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 38px rgba(139, 92, 246, 0.6); }
.btn--ghost {
  background: rgba(255,255,255,0.04); color: var(--text);
  border: 1px solid var(--panel-border);
}
.btn--ghost:hover { background: rgba(255,255,255,0.09); transform: translateY(-3px); }

/* ---------- hero ---------- */
.hero {
  min-height: calc(100svh - 130px); display: flex; align-items: center;
  padding: 34px 0 80px; overflow: hidden;
}
.hero__inner { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 60px; align-items: center; }
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border-radius: 100px; font-size: 0.85rem; font-weight: 500;
  background: rgba(139, 92, 246, 0.12); border: 1px solid rgba(139, 92, 246, 0.35);
  color: #c4b5fd; margin-bottom: 26px;
}
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent-2); box-shadow: 0 0 12px var(--accent-2);
  animation: pulse 2s infinite;
}
@keyframes pulse { 50% { opacity: 0.4; } }

.hero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); margin-bottom: 26px; }
.hero__sub { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 38px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }

.hero__stats { display: flex; gap: 44px; flex-wrap: wrap; }
.stat__num { font-family: var(--font-head); font-size: 2.1rem; font-weight: 700; }
.stat__label { color: var(--muted); font-size: 0.9rem; }

.hero__media { position: relative; }
.hero__photo-wrap {
  position: relative; border-radius: 26px; overflow: hidden;
  border: 1px solid var(--panel-border);
  box-shadow: 0 40px 90px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255,255,255,0.04) inset;
  aspect-ratio: 4 / 5;
}
.hero__photo-wrap img { width: 100%; height: 115%; object-fit: cover; will-change: transform; }
.hero__photo-wrap::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(7,7,12,0.55));
}
.hero__card {
  position: absolute; z-index: 3;
  background: rgba(15, 15, 25, 0.82); backdrop-filter: blur(14px);
  border: 1px solid var(--panel-border); border-radius: 16px;
  padding: 14px 20px; font-size: 0.9rem; box-shadow: 0 16px 40px rgba(0,0,0,0.5);
}
.hero__card strong { font-family: var(--font-head); display: block; font-size: 1.05rem; }
.hero__card--1 { bottom: 34px; left: -34px; }
.hero__card--2 { top: 40px; right: -26px; }

@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__card--1 { left: 10px; } .hero__card--2 { right: 10px; }
  .hero__media { max-width: 480px; }
}

/* ---------- nagłówki sekcji ---------- */
.sec-head { max-width: 720px; margin-bottom: 64px; }
.sec-head .kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; color: var(--accent-2); margin-bottom: 16px; display: block;
}
.sec-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); margin-bottom: 18px; }
.sec-head p { color: var(--muted); font-size: 1.08rem; }
.sec-head--center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- split (tekst lewo / media prawo) ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split + .split { margin-top: 120px; }
.split__text .kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; color: var(--accent-2); margin-bottom: 16px; display: block;
}
.split__text h2, .split__text h3 { font-size: clamp(1.7rem, 3vw, 2.5rem); margin-bottom: 20px; }
.split__text p { color: var(--muted); margin-bottom: 18px; }
.split__media { position: relative; }
.media-frame {
  border-radius: 24px; overflow: hidden; position: relative;
  border: 1px solid var(--panel-border);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}
.media-frame img { width: 100%; height: 100%; min-height: 380px; max-height: 540px; object-fit: cover; will-change: transform; }
.media-frame--tall img { min-height: 480px; }
.media-frame__tag {
  position: absolute; bottom: 16px; left: 16px; z-index: 2;
  background: rgba(10, 10, 18, 0.8); backdrop-filter: blur(10px);
  border: 1px solid var(--panel-border); border-radius: 100px;
  padding: 8px 18px; font-size: 0.85rem;
}
.split--flip .split__media { order: -1; }

.checklist li {
  padding-left: 34px; position: relative; margin-bottom: 13px; color: var(--muted);
}
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 23px; height: 23px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(34, 211, 238, 0.14); color: var(--accent-2);
  font-size: 0.8rem; font-weight: 700;
}
.checklist strong { color: var(--text); }

.price-hint { margin: 26px 0; font-family: var(--font-head); font-size: 1.25rem; }
.price-hint span { color: var(--gold); }

/* ---------- karty ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 36px 30px;
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); border-color: rgba(139, 92, 246, 0.45); background: rgba(139, 92, 246, 0.06); }
.card__icon {
  width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
  font-size: 1.5rem; margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(34,211,238,0.18));
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 0.97rem; margin-bottom: 16px; }
.card .card__price { font-family: var(--font-head); color: var(--gold); font-size: 1.05rem; }
.card__link { color: var(--accent-2); font-weight: 600; font-size: 0.93rem; }

@media (max-width: 980px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

/* ---------- proces ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: var(--radius); padding: 32px 26px;
}
.step__num {
  font-family: var(--font-head); font-size: 2.6rem; font-weight: 700;
  background: linear-gradient(120deg, var(--accent-2), var(--accent));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 1.1rem; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 0.93rem; }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- portfolio ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 44px; }
.filters button {
  padding: 10px 22px; border-radius: 100px; cursor: pointer; font-size: 0.92rem;
  background: var(--panel); border: 1px solid var(--panel-border); color: var(--muted);
  font-family: var(--font-body); transition: all 0.25s;
}
.filters button:hover { color: var(--text); border-color: rgba(139,92,246,0.5); }
.filters button.active {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; border-color: transparent; font-weight: 600;
}

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.gallery__item {
  border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer;
  border: 1px solid var(--panel-border); aspect-ratio: 4 / 3; background: var(--bg-2);
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2, 0.6, 0.2, 1); }
.gallery__item:hover img { transform: scale(1.07); }
.gallery__item figcaption {
  position: absolute; inset: auto 0 0 0; padding: 44px 20px 16px;
  background: linear-gradient(transparent, rgba(5, 5, 10, 0.92));
  font-size: 0.92rem; display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
}
.gallery__item figcaption em { color: var(--accent-2); font-style: normal; font-size: 0.8rem; }
.gallery__item.hidden { display: none; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

.lightbox {
  position: fixed; inset: 0; z-index: 200; display: none;
  background: rgba(4, 4, 8, 0.93); backdrop-filter: blur(10px);
  place-items: center; padding: 4vh 4vw; cursor: zoom-out;
}
.lightbox.open { display: grid; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 14px; box-shadow: 0 30px 90px rgba(0,0,0,0.8); }
.lightbox figcaption { text-align: center; margin-top: 14px; color: var(--muted); }

.portfolio-note {
  color: var(--muted); font-size: 0.9rem; max-width: 640px; margin: -24px auto 44px; text-align: center;
}

/* karty-dowody: prawdziwe aplikacje i strony (bez lightboxa, link na zewnątrz) */
.gallery__item--external { cursor: pointer; }
.gallery__item--external .gallery__item__hit { position: absolute; inset: 0; z-index: 5; }
.badge-corner {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: 100px; font-size: 0.78rem; font-weight: 700;
  background: rgba(10, 10, 18, 0.85); backdrop-filter: blur(6px);
  border: 1px solid var(--panel-border); color: var(--accent-2);
  transition: border-color 0.25s;
}
.gallery__item--external:hover .badge-corner { border-color: rgba(139,92,246,0.6); }
.badge-corner--demo { background: #ffa63d; color: #241300; border-color: #ffa63d; }
.badge-corner--preview { background: #1fbf75; color: #04140c; border-color: #1fbf75; }

/* ---------- cennik ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; align-items: stretch; }
.price-card {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 22px; padding: 42px 34px; display: flex; flex-direction: column;
  position: relative; transition: transform 0.3s, border-color 0.3s;
}
.price-card:hover { transform: translateY(-6px); border-color: rgba(139,92,246,0.5); }
.price-card--featured {
  background: linear-gradient(170deg, rgba(139,92,246,0.14), rgba(34,211,238,0.06));
  border-color: rgba(139, 92, 246, 0.55);
  box-shadow: 0 24px 70px rgba(139, 92, 246, 0.22);
}
.price-card__flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #fff; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em;
  padding: 6px 18px; border-radius: 100px; text-transform: uppercase; white-space: nowrap;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 8px; }
.price-card__desc { color: var(--muted); font-size: 0.93rem; margin-bottom: 24px; }
.price-card__price { font-family: var(--font-head); font-size: 2.4rem; font-weight: 700; margin-bottom: 4px; }
.price-card__price small { font-size: 0.95rem; color: var(--muted); font-weight: 400; }
.price-card__price .od { font-size: 1rem; color: var(--muted); font-weight: 400; margin-right: 6px; }
.price-card .checklist { margin: 26px 0 34px; flex: 1; }
.price-card .btn { justify-content: center; }
@media (max-width: 980px) { .pricing { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; } }

.price-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
.price-table th, .price-table td { text-align: left; padding: 18px 20px; border-bottom: 1px solid var(--panel-border); }
.price-table th { font-family: var(--font-head); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted); }
.price-table td:last-child { font-family: var(--font-head); color: var(--gold); white-space: nowrap; }
.price-table tr { transition: background 0.2s; }
.price-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.table-wrap {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 22px; padding: 22px 26px; overflow-x: auto;
}

/* ---------- o mnie ---------- */
.timeline { position: relative; padding-left: 38px; }
.timeline::before {
  content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px;
  background: linear-gradient(180deg, var(--accent-2), var(--accent), transparent);
}
.timeline__item { position: relative; padding-bottom: 42px; }
.timeline__item::before {
  content: ""; position: absolute; left: -37px; top: 7px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--accent);
  box-shadow: 0 0 14px rgba(139, 92, 246, 0.7);
}
.timeline__date { font-size: 0.85rem; color: var(--accent-2); font-family: var(--font-head); letter-spacing: 0.06em; }
.timeline__item h3 { font-size: 1.2rem; margin: 6px 0 10px; }
.timeline__item p { color: var(--muted); font-size: 0.96rem; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li {
  padding: 9px 18px; border-radius: 100px; font-size: 0.88rem;
  background: var(--panel); border: 1px solid var(--panel-border); color: var(--muted);
  transition: all 0.25s;
}
.chips li:hover { border-color: var(--accent-2); color: var(--text); }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 8px; }
.stats-grid .stat-card { border: 1px solid var(--panel-border); border-radius: 14px; padding: 22px; text-align: center; background: var(--panel); }
.stats-grid .stat-card .num { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; }
.stats-grid .stat-card .lab { color: var(--muted); font-size: 0.85rem; margin-top: 6px; }
@media (max-width: 760px) { .stats-grid { grid-template-columns: 1fr 1fr; } }

.hobby-intro {
  font-size: 1.05rem; line-height: 1.75; color: #dcdce8; max-width: 780px; font-style: italic;
  border-left: 3px solid var(--accent); padding-left: 22px; margin-bottom: 30px;
}
.hobby-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hobby-card {
  border: 1px solid var(--panel-border); border-radius: 14px; padding: 22px;
  background: var(--panel); transition: transform 0.3s, border-color 0.3s;
}
.hobby-card:hover { transform: translateY(-5px); border-color: rgba(139,92,246,0.5); }
.hobby-card .hi { font-size: 1.7rem; display: inline-block; }
.hobby-card h4 { margin: 10px 0 6px; font-size: 1rem; }
.hobby-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.6; }
@media (max-width: 860px) { .hobby-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .hobby-grid { grid-template-columns: 1fr; } }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--panel-border); border-radius: 14px; padding: 4px 22px;
  margin-bottom: 12px; background: var(--panel);
}
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent-2); font-size: 1.4rem; flex: 0 0 auto; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); padding: 0 0 18px; font-size: 0.96rem; }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 60px; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-photo {
  width: 100%; border-radius: 20px; display: block; margin-bottom: 28px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.7);
}

.contact-item {
  display: flex; gap: 18px; align-items: flex-start; padding: 22px 0;
  border-bottom: 1px solid var(--panel-border);
}
.contact-item__icon {
  width: 50px; height: 50px; flex: 0 0 50px; border-radius: 14px; display: grid; place-items: center;
  background: linear-gradient(135deg, rgba(139,92,246,0.25), rgba(34,211,238,0.18));
  border: 1px solid rgba(139, 92, 246, 0.3); font-size: 1.3rem;
}
.contact-item h3 { font-size: 1.02rem; margin-bottom: 4px; }
.contact-item a, .contact-item span { color: var(--muted); font-size: 1rem; }
.contact-item a:hover { color: var(--accent-2); }

.form {
  background: var(--panel); border: 1px solid var(--panel-border);
  border-radius: 24px; padding: 42px;
}
.form h3 { font-size: 1.4rem; margin-bottom: 26px; }
.form label { display: block; font-size: 0.88rem; color: var(--muted); margin: 18px 0 8px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 15px 18px; border-radius: 13px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid var(--panel-border);
  color: var(--text); font-family: var(--font-body); font-size: 1rem;
  transition: border-color 0.25s, background 0.25s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--accent); background: rgba(139, 92, 246, 0.07);
}
.form textarea { min-height: 140px; resize: vertical; }
.form select option { background: var(--bg-3); }
.form .btn { width: 100%; justify-content: center; margin-top: 28px; }
.form__note { font-size: 0.8rem; color: var(--muted); margin-top: 16px; text-align: center; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(ellipse 70% 120% at 20% 0%, rgba(139,92,246,0.28), transparent 60%),
    radial-gradient(ellipse 60% 120% at 85% 100%, rgba(34,211,238,0.2), transparent 60%),
    var(--bg-2);
  border: 1px solid var(--panel-border); border-radius: 28px;
  padding: clamp(48px, 7vw, 90px); text-align: center; position: relative; overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.8rem, 3.6vw, 3rem); margin-bottom: 18px; }
.cta-banner p { color: var(--muted); max-width: 560px; margin: 0 auto 36px; }
.cta-banner .hero__actions { justify-content: center; margin-bottom: 0; }

/* ---------- wideo ---------- */
.video-step { font-size: 0.95rem; color: var(--muted); margin-bottom: 16px; }
.video-step strong { color: var(--text); }

.video-native {
  border-radius: 24px; overflow: hidden; background: #000;
  border: 1px solid var(--panel-border); box-shadow: 0 34px 80px rgba(0, 0, 0, 0.55);
}
.video-native video { width: 100%; display: block; }

.ytcard {
  display: block; position: relative; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--panel-border); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}
.ytcard img { width: 100%; display: block; transition: transform 0.5s, opacity 0.3s; opacity: 0.92; }
.ytcard:hover img { opacity: 1; transform: scale(1.04); }
.ytcard .yt {
  position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center;
  align-items: center; gap: 14px; background: rgba(8, 8, 14, 0.28);
}
.ytcard .yt .pbtn {
  width: 72px; height: 50px; border-radius: 14px; background: #ff0000;
  display: grid; place-items: center; color: #fff; font-size: 1.5rem;
  box-shadow: 0 12px 30px rgba(255, 0, 0, 0.5);
}
.ytcard .yt span {
  font-weight: 700; background: rgba(8, 8, 14, 0.72); padding: 9px 18px;
  border-radius: 100px; font-size: 0.9rem; color: #fff;
}

/* ---------- podstrony: hero ---------- */
.page-hero {
  padding: calc(var(--nav-h) + 90px) 0 80px; position: relative; overflow: hidden;
  background: radial-gradient(ellipse 90% 70% at 50% -10%, rgba(139,92,246,0.16), transparent 65%);
}
.page-hero .kicker {
  font-family: var(--font-head); text-transform: uppercase; letter-spacing: 0.22em;
  font-size: 0.8rem; color: var(--accent-2); margin-bottom: 16px; display: block;
}
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 20px; max-width: 800px; }
.page-hero p { color: var(--muted); font-size: 1.12rem; max-width: 640px; }
.breadcrumbs { font-size: 0.85rem; color: var(--muted); margin-bottom: 26px; }
.breadcrumbs a:hover { color: var(--accent-2); }

/* ---------- stopka ---------- */
.footer {
  border-top: 1px solid var(--panel-border);
  padding: 34px 0; background: var(--bg-2);
  text-align: center; color: var(--muted); font-size: 0.9rem;
}
.footer p { margin-bottom: 8px; }
.footer .footlinks a { color: var(--muted); transition: color 0.2s; }
.footer .footlinks a:hover { color: var(--accent-2); }

/* ---------- strony prawne (regulamin / polityka prywatności) ---------- */
.legal-content { max-width: 820px; }
.legal-content h3 { font-size: 1.1rem; margin: 34px 0 12px; }
.legal-content h3:first-child { margin-top: 0; }
.legal-content p, .legal-content li { color: var(--muted); font-size: 0.97rem; line-height: 1.75; }
.legal-content ul { margin: 8px 0 8px 20px; }
.legal-content strong { color: var(--text); }
.legal-content a { color: var(--accent-2); }
.legal-content .updated { color: var(--muted); font-size: 0.85rem; margin-bottom: 30px; }
.legal-content .note {
  border: 1px solid var(--panel-border); border-left: 3px solid var(--accent-3);
  border-radius: 12px; padding: 16px 20px; background: var(--panel);
  color: var(--muted); font-size: 0.9rem; margin: 20px 0;
}

/* ---------- klasy animacji (JS ustawia stany startowe) ---------- */
.reveal-l, .reveal-r, .reveal-up { will-change: transform, opacity, filter; }
@media (prefers-reduced-motion: reduce) {
  .reveal-l, .reveal-r, .reveal-up { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* split responsywnie */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split--flip .split__media { order: 0; }
  section { padding: 80px 0; }
  .split + .split { margin-top: 80px; }
}

/* ===== Baner zgody na cookies (RODO / Consent Mode v2) ===== */
#cookieBar {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999;
  max-width: 720px; margin: 0 auto;
  background: var(--bg-3); color: var(--text);
  border: 1px solid var(--panel-border); border-radius: 16px;
  padding: 18px 20px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  font-size: 0.92rem; line-height: 1.55;
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
#cookieBar.show { opacity: 1; transform: none; }
#cookieBar p { margin: 0 0 14px; }
#cookieBar a { color: var(--accent-2); text-decoration: underline; }
#cookieBar .cc-btns { display: flex; gap: 10px; flex-wrap: wrap; }
#cookieBar button {
  cursor: pointer; border: 0; border-radius: 12px; padding: 11px 20px;
  font-weight: 700; font-size: 0.9rem; font-family: inherit;
}
#ccAccept { background: linear-gradient(120deg, var(--accent), var(--accent-2)); color: #fff; }
#ccReject { background: rgba(255, 255, 255, 0.08); color: var(--text); border: 1px solid var(--panel-border); }
@media (max-width: 480px) { #cookieBar button { flex: 1 1 auto; } }
