/* =========================================================
   Panda Media - System LEAD™  |  mobile-first dark theme
   Akcenty z logo: cyan → blue → purple → magenta → orange
   ========================================================= */

:root {
  /* tło / powierzchnie */
  --bg: #07090e;
  --bg-2: #0a0d14;
  --surface: rgba(255, 255, 255, 0.035);
  --surface-2: rgba(255, 255, 255, 0.055);
  --border: rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.16);

  /* tekst */
  --text: #f3f5fa;
  --muted: #a3aabb;
  --dim: #6c7488;

  /* kolory marki (z logo) */
  --cyan: #2dd4e8;
  --blue: #2f86f0;
  --purple: #8b5cf6;
  --magenta: #ec2c96;
  --orange: #f6711e;

  /* gradienty */
  --grad: linear-gradient(120deg, var(--cyan) 0%, var(--purple) 50%, var(--magenta) 100%);
  --grad-soft: linear-gradient(120deg, rgba(45,212,232,.18), rgba(236,44,150,.18));

  /* fonty */
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* układ */
  --radius: 16px;
  --radius-lg: 22px;
  --pad: 20px;
  --maxw: 1180px;
  --nav-h: 68px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* subtelne, nieruchome tło całej strony */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 15% 0%, rgba(47,134,240,.10), transparent 60%),
    radial-gradient(50% 40% at 100% 100%, rgba(236,44,150,.08), transparent 60%),
    var(--bg);
}

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

.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--text); color: #000; padding: 10px 16px; border-radius: 8px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }

/* ---------- layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
.container--narrow { max-width: 800px; }

.section { padding: 72px 0; position: relative; }
.section__head { text-align: center; max-width: 760px; margin: 0 auto 40px; }

.kicker {
  display: inline-block;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 14px;
}

.section__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 6.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0;
}
.section__lead { color: var(--muted); font-size: 16px; margin: 14px 0 0; }
.section__lead--muted { font-size: 17px; line-height: 1.7; }

.section__outro {
  max-width: 720px; margin: 36px auto 0; text-align: center;
  color: var(--muted); font-size: 16px;
}
.section__outro strong { color: var(--text); font-weight: 600; }
.section__outro--small { font-size: 15px; }
.section__closing { margin-top: 28px; }

.disclaimer { text-align: center; color: var(--dim); font-size: 13px; margin: 10px auto 0; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .25s ease, background .2s ease;
  min-height: 48px; white-space: nowrap;
}
.btn--lg { padding: 16px 28px; font-size: 16px; min-height: 54px; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--grad); color: #08111b;
  box-shadow: 0 8px 30px rgba(236, 44, 150, .25), 0 4px 14px rgba(47, 134, 240, .2);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(236,44,150,.35), 0 6px 18px rgba(47,134,240,.28); }
.btn--primary:active { transform: translateY(0); }

.btn--ghost { background: var(--surface); color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--cyan); }

/* ---------- glass card ---------- */
.glass-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 26px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

/* ---------- badge / pills ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 14px;
  font-size: 13px; color: var(--muted); margin-bottom: 22px;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 0 4px rgba(45,212,232,.18);
}
.pill { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pill--live { background: rgba(236,44,150,.16); color: #ff9ccc; }
.pill--ok { background: rgba(45,212,232,.16); color: #9fe9f3; }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  background: rgba(7, 9, 14, .72);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad);
  height: var(--nav-h); display: flex; align-items: center; gap: 16px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand__mark { height: 38px; width: auto; display: block; }
.brand__word {
  font-family: var(--sans); font-weight: 700; font-size: 15px;
  letter-spacing: .2em; text-transform: uppercase; color: var(--text);
}
.brand__word-thin { font-weight: 400; color: var(--muted); }

.nav__links { display: none; gap: 19px; margin-left: auto; }
.nav__links a { color: var(--muted); font-size: 14.5px; transition: color .15s; white-space: nowrap; }
.nav__links a:hover { color: var(--text); }

.nav__cta { display: none; }

.nav__toggle {
  margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent;
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; padding: 10px;
}
.nav__toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: .25s; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobilne menu overlay */
.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0; z-index: 90;
  background: rgba(7, 9, 14, .97);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  padding: 28px var(--pad) 40px;
  display: flex; flex-direction: column; gap: 8px;
  transform: translateY(-12px); opacity: 0; transition: opacity .22s ease, transform .22s ease;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu.open { opacity: 1; transform: translateY(0); }
.mobile-menu__links { display: flex; flex-direction: column; }
.mobile-menu__links a {
  font-size: 20px; font-family: var(--serif); padding: 16px 4px;
  border-bottom: 1px solid var(--border);
}
.mobile-menu .btn { margin-top: 22px; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative; padding: 48px 0 32px; overflow: hidden;
  background-image: url("../assets/img/hero-bg-mobile.webp");
  background-size: cover; background-position: center 72%; background-repeat: no-repeat;
}
/* overlay czytelności na zdjęciu (ciemniej u góry, gdzie tekst) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,14,.86) 0%, rgba(7,9,14,.62) 40%, rgba(7,9,14,.78) 78%, rgba(7,9,14,.96) 100%);
}
/* zdjęcie zastępuje glowy CSS w hero */
.hero > .hero__glow { display: none; }
.hero__glow {
  position: absolute; border-radius: 50%; filter: blur(70px); z-index: -1; pointer-events: none;
}
.hero__glow--3 { top: -40px; left: 40%; width: 380px; height: 320px; background: rgba(139,92,246,.18); }

.hero__grid { display: grid; gap: 40px; position: relative; z-index: 1; }

.hero__title {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(33px, 9vw, 60px);
  line-height: 1.05; letter-spacing: -0.02em; margin: 0 0 20px;
}
.accent-line { display: block; }
.hero__title em {
  font-style: italic; font-weight: 400;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero__sub { color: var(--muted); font-size: 17px; line-height: 1.7; margin: 0 0 28px; max-width: 560px; }

.hero__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.trust { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.trust li { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14px; }
.ico-check { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

/* hero visual - tylko desktop (na mobile zbędne, robiło pustkę) */
.hero__visual { position: relative; display: none; }
.lead-card { padding: 20px; display: flex; flex-direction: column; gap: 14px; position: relative; }
/* karta nad zdjęciem hero - bardziej kryjąca, żeby czytelnie się odcinała */
.hero__visual .lead-card {
  background: rgba(9, 12, 18, .72);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .55);
}
.hero__visual .lead-letters span { background: rgba(9, 12, 18, .7); }
.lead-card__head { display: flex; align-items: center; justify-content: space-between; }
.lead-card__title { font-weight: 600; font-size: 14px; }
.lead-card__row { display: flex; align-items: center; gap: 12px; }
.lead-card__row strong { display: block; font-size: 14px; }
.lead-card__row span { font-size: 12px; color: var(--muted); }
.avatar {
  width: 40px; height: 40px; border-radius: 12px; flex: none;
  display: flex; align-items: center; justify-content: center; font-weight: 600; font-size: 13px;
  background: var(--grad-soft); color: var(--text); border: 1px solid var(--border);
}
.lead-card__row > div:nth-child(2) { flex: 1; }
.lead-card__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12px; color: var(--muted); border-top: 1px solid var(--border); padding-top: 12px; }
.lead-card__bars { display: flex; align-items: flex-end; gap: 6px; height: 60px; }
.lead-card__bars span { flex: 1; height: var(--h); border-radius: 4px 4px 0 0; background: var(--grad); opacity: .85; }
.lead-card__foot { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--muted); }
.dot-grad { width: 9px; height: 9px; border-radius: 50%; background: var(--grad); flex: none; }

.lead-letters { display: flex; gap: 8px; justify-content: center; margin-top: 16px; }
.lead-letters span {
  width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-size: 18px; color: var(--text);
  background: var(--surface); border: 1px solid var(--border);
}

/* =========================================================
   SECTIONS - cards grids
   ========================================================= */
.cards { display: grid; gap: 16px; margin-top: 8px; }
.cards--2 { grid-template-columns: 1fr; }
.cards--3 { grid-template-columns: 1fr; }

/* BÓL */
.section--pain { }
.pain { display: flex; flex-direction: column; gap: 12px; }
.pain__icon {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--grad-soft); border: 1px solid var(--border);
}
.pain__icon svg { width: 24px; height: 24px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pain p { margin: 0; color: var(--muted); }

/* OBIETNICA */
.section--promise { text-align: center; }
.prose { color: var(--muted); font-size: 17px; line-height: 1.75; margin: 18px 0; }
.pullquote {
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 6vw, 30px); line-height: 1.3; margin: 30px 0 0; padding: 0;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* MECHANIZM - LEAD */
.lead { position: relative; padding-top: 30px; }
.lead__letter {
  position: absolute; top: -18px; left: 24px;
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 600; font-size: 24px; color: #08111b;
  background: var(--grad); box-shadow: 0 8px 24px rgba(236,44,150,.25);
}
.lead h3 { margin: 8px 0 8px; font-size: 19px; font-weight: 600; }
.lead p { margin: 0; color: var(--muted); font-size: 15px; }

/* SOCIAL PROOF */
.quote { display: flex; flex-direction: column; gap: 14px; }
.quote p { margin: 0; font-size: 16px; line-height: 1.6; }
.quote footer { color: var(--muted); font-size: 14px; }
.quote footer strong { color: var(--text); }
.quote__head {
  display: flex; align-items: center; gap: 11px;
  font-family: var(--sans); font-weight: 600; font-size: 16px; color: var(--text); line-height: 1.3;
}
.quote__head::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: var(--grad); flex: none; }
/* zdjęcia agentów w opiniach */
.quote__author { display: flex; align-items: center; gap: 11px; }
.quote__avatar { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; border: 1px solid var(--border-strong); }
.quote__author span { color: var(--muted); }
.quote__author strong { color: var(--text); }

/* screeny prawdziwych opinii */
.proof__subhead { text-align: center; font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 5vw, 26px); margin: 56px 0 20px; }
/* masonry - pełne screeny bez przycinania, układ kolumnowy */
.shots { columns: 1; column-gap: 16px; }
.shot { break-inside: avoid; margin: 0 0 16px; padding: 10px; }
.shot a { display: block; border-radius: 12px; overflow: hidden; cursor: zoom-in; transition: opacity .2s; }
.shot a:hover { opacity: .92; }
.shot img { width: 100%; border-radius: 12px; display: block; }
.shot figcaption { color: var(--muted); font-size: 13px; text-align: center; padding: 11px 6px 3px; }
@media (min-width: 640px) { .shots { columns: 2; } }
@media (min-width: 1000px) { .shots { columns: 3; } }
.video-tease { display: flex; flex-direction: column; gap: 14px; }
.video-tease__row { display: flex; align-items: center; gap: 14px; }
.video-tease__row strong { display: block; font-size: 15px; }
.video-tease__row span { font-size: 13px; color: var(--muted); }
.play {
  width: 46px; height: 46px; border-radius: 50%; flex: none; cursor: pointer;
  border: 1px solid var(--border-strong); background: var(--surface-2);
  display: flex; align-items: center; justify-content: center;
}
.play svg { width: 18px; height: 18px; fill: var(--text); }
.placeholder-note { margin: 0; font-size: 12px; color: var(--dim); text-align: center; letter-spacing: .04em; }

.proof__label { text-align: center; color: var(--dim); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin: 48px 0 18px; }

/* ruchomy pasek logotypów (marquee) */
.marquee {
  display: flex; overflow: hidden; user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex: none; align-items: center;
  animation: marquee-scroll 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee li {
  flex: none; white-space: nowrap; padding: 0 28px; position: relative;
  color: var(--muted); font-weight: 600; font-size: 15px; opacity: .85;
}
.marquee li::after {
  content: ""; position: absolute; right: -2px; top: 50%; transform: translateY(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: rgba(127, 200, 230, .35);
}
@keyframes marquee-scroll { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .marquee__track { animation: none; }
  .marquee__track[aria-hidden="true"] { display: none; }
}

/* OFERTA - plany */
.plan { display: flex; flex-direction: column; position: relative; }
.plan--featured { border-color: rgba(45,212,232,.5); box-shadow: 0 0 0 1px rgba(45,212,232,.25), 0 20px 50px rgba(139,92,246,.18); }
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #08111b; font-size: 12px; font-weight: 600;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.plan__name { font-family: var(--serif); font-size: 26px; font-weight: 600; margin: 6px 0 4px; letter-spacing: .04em; }
.plan__for { color: var(--muted); font-size: 14px; margin: 0 0 18px; }
.plan__list { margin: 0 0 22px; display: grid; gap: 4px; }
.plan__list dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--cyan); margin-top: 12px; }
.plan__list dd { margin: 0; color: var(--muted); font-size: 15px; }
.plan__todo { color: var(--dim); font-style: italic; font-size: 13px; }
.plan .btn { margin-top: auto; }

/* FAQ */
.faq { display: flex; flex-direction: column; gap: 12px; }
.faq__item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 600; font-size: 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: ""; width: 12px; height: 12px; flex: none; transition: transform .2s;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(45deg);
}
.faq__item[open] summary::after { transform: rotate(-135deg); }
.faq__a { padding: 0 20px 20px; }
.faq__a p { margin: 0; color: var(--muted); }

/* =========================================================
   KONTAKT / FORM
   ========================================================= */
.section--contact {
  overflow: hidden;
  background-image: url("../assets/img/section-texture.webp");
  background-size: cover; background-position: center;
}
.section--contact::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(7,9,14,.97) 0%, rgba(7,9,14,.84) 50%, rgba(7,9,14,.97) 100%);
}
.section--contact > .hero__glow { display: none; }
.section--contact .container { position: relative; z-index: 1; }
.contact-options { display: grid; gap: 16px; margin-bottom: 22px; }
.opt { display: flex; flex-direction: column; gap: 10px; }
.opt__num { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan); }
.opt h3 { margin: 0; font-size: 18px; font-weight: 600; }
.opt p { margin: 0; color: var(--muted); font-size: 15px; }
.opt .btn { align-self: flex-start; margin-top: 6px; }
.opt__contact { display: flex; flex-direction: column; gap: 6px; }
.opt__contact a { font-size: 18px; font-weight: 600; color: var(--text); }

.form { display: flex; flex-direction: column; gap: 16px; }
.form__title { font-family: var(--serif); font-weight: 500; font-size: 20px; margin: 0 0 4px; line-height: 1.3; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 14px; font-weight: 500; }
.opt-tag { color: var(--dim); font-weight: 400; }
.field input, .field select {
  width: 100%; font-family: var(--sans); font-size: 16px; color: var(--text);
  background: rgba(255,255,255,.04); border: 1px solid var(--border-strong); border-radius: 12px;
  padding: 13px 14px; min-height: 50px; transition: border-color .15s, background .15s;
}
.field input::placeholder { color: var(--dim); }
.field input:focus, .field select:focus { border-color: var(--cyan); background: rgba(255,255,255,.06); outline: none; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232dd4e8' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }

.check { display: flex; gap: 12px; align-items: flex-start; font-size: 13px; color: var(--muted); line-height: 1.5; }
.check input { width: 22px; height: 22px; flex: none; margin-top: 1px; accent-color: var(--magenta); }
.check a { color: var(--cyan); text-decoration: underline; }

.field input:user-invalid, .field select:user-invalid { border-color: var(--magenta); }

.form__status { margin: 0; font-size: 14px; text-align: center; min-height: 1px; }
.form__status.ok { color: #7af0c8; }
.form__status.err { color: #ff8db8; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; margin-top: 24px; background: var(--bg-2); }
.footer__grid { display: grid; gap: 28px; }
.footer__tag { color: var(--muted); font-size: 14px; margin: 14px 0 0; max-width: 320px; }
.footer__contact { font-style: normal; color: var(--muted); font-size: 14px; line-height: 1.8; }
.footer__contact strong { color: var(--text); }
.footer__contact a { color: var(--cyan); }
.footer__links { display: flex; flex-direction: column; gap: 10px; }
.footer__links a { color: var(--muted); font-size: 14px; }
.footer__links a:hover { color: var(--text); }
.footer__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--border); color: var(--dim); font-size: 13px; }

/* =========================================================
   strony prawne (polityka / RODO)
   ========================================================= */
.legal { max-width: 820px; margin: 0 auto; padding: 40px 0 80px; }
.legal__back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 26px; }
.legal__back:hover { color: var(--text); }
.legal h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 6vw, 42px); line-height: 1.1; margin: 0 0 20px; }
.legal h2 { font-size: 20px; font-weight: 600; margin: 34px 0 10px; }
.legal h3 { font-size: 17px; font-weight: 600; margin: 22px 0 8px; }
.legal p { color: var(--muted); margin: 0 0 14px; }
.legal ul, .legal ol { color: var(--muted); margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 7px 0; }
.legal a { color: var(--cyan); text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 600; }

/* =========================================================
   blog + case studies (listy i artykuły)
   ========================================================= */
.list-head { text-align: center; max-width: 760px; margin: 0 auto 44px; padding-top: 8px; }
.post-grid { display: grid; grid-template-columns: 1fr; gap: 18px; max-width: 1040px; margin: 0 auto; }
@media (min-width: 700px) { .post-grid { grid-template-columns: 1fr 1fr; } }
.post-card { display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.post-card:hover { border-color: var(--border-strong); }
.post-card__img { width: 100%; height: 270px; object-fit: cover; object-position: top center; background: var(--surface-2); display: block; }
.post-card__body { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.post-card__cat { font-size: 12px; color: var(--cyan); text-transform: uppercase; letter-spacing: .12em; }
.post-card h3 { font-family: var(--serif); font-weight: 500; font-size: 20px; line-height: 1.25; margin: 0; }
.post-card p { color: var(--muted); font-size: 14px; margin: 0; flex: 1; }
.post-card__more { color: var(--cyan); font-size: 14px; font-weight: 600; margin-top: 4px; }

.article { max-width: 820px; margin: 0 auto; padding: 32px 0 76px; }
.article__back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.article__cover { width: 100%; border-radius: var(--radius-lg); margin: 0 0 28px; display: block; border: 1px solid var(--border); }
.article h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(28px, 6vw, 42px); line-height: 1.12; margin: 0 0 12px; }
.article__meta { color: var(--dim); font-size: 14px; margin: 0 0 28px; }

/* jednolita, elegancka typografia treści: blog + case studies + strony prawne */
.prose, .legal { font-size: 17px; line-height: 1.8; color: var(--muted); }
.prose p, .legal p { margin: 0 0 18px; }
.prose h2, .legal h2 { font-family: var(--serif); font-weight: 500; color: var(--text); font-size: clamp(22px, 4.5vw, 27px); line-height: 1.25; letter-spacing: -.01em; margin: 42px 0 14px; }
.prose h3, .legal h3 { font-weight: 600; color: var(--text); font-size: 19px; margin: 28px 0 10px; }
.prose ul, .prose ol, .legal ul, .legal ol { margin: 0 0 18px; padding-left: 24px; }
.prose li, .legal li { margin: 8px 0; }
.prose a, .legal a { color: var(--cyan); text-decoration: underline; text-underline-offset: 2px; }
.prose strong, .legal strong { color: var(--text); font-weight: 600; }
.prose em, .legal em { color: var(--text); }
.prose blockquote, .legal blockquote { margin: 26px 0; padding: 2px 0 2px 22px; border-left: 3px solid var(--cyan); font-family: var(--serif); font-style: italic; font-size: 21px; line-height: 1.4; color: var(--text); }
.prose hr, .legal hr { border: 0; height: 1px; background: var(--border); margin: 34px 0; }
.prose img, .legal img { max-width: 100%; border-radius: 12px; margin: 20px 0; display: block; }

.cs-gallery { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 28px 0; }
@media (min-width: 700px) { .cs-gallery { grid-template-columns: 1fr 1fr; } }
.cs-gallery a { display: block; border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); transition: border-color .2s; }
.cs-gallery a:hover { border-color: var(--border-strong); }
.cs-gallery img { width: 100%; display: block; }
.cs-proof-label { font-family: var(--serif); font-weight: 500; font-size: clamp(20px, 4.5vw, 26px); color: var(--text); margin: 46px 0 8px; }
.cs-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--cyan); margin: 0 0 12px; }
.article.cs h1 { margin-bottom: 6px; }
.cs-client { color: var(--muted); font-size: 15px; margin: 0 0 24px; }
.article.cs .article__cover { aspect-ratio: 16/9; object-fit: cover; }
.cs-lead { display: grid; grid-template-columns: 1fr; gap: 24px; margin: 32px 0 10px; align-items: start; }
.cs-portrait { width: 100%; max-width: 300px; border-radius: var(--radius-lg); border: 1px solid var(--border); object-fit: cover; aspect-ratio: 4/5; object-position: top center; }
/* mobile: zdjęcie bohatera jako wyśrodkowany, okrągły avatar (bardziej estetycznie) */
@media (max-width: 699px) {
  .cs-portrait { display: block; margin: 0 auto; width: 210px; max-width: 210px; aspect-ratio: 1/1; border-radius: 50%; padding: 4px; background: var(--grad); border: 0; }
}
@media (min-width: 700px) { .cs-lead { grid-template-columns: 300px 1fr; gap: 36px; } }
.cs-cta { margin: 52px 0 0; padding: 34px 28px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface); text-align: center; }
.cs-cta p { font-family: var(--serif); font-size: clamp(20px, 4.5vw, 24px); color: var(--text); margin: 0 0 20px; }
/* na wąskim mobile długie CTA ma się mieścić: pełna szerokość + zawijanie zamiast wyjścia poza ekran */
@media (max-width: 460px) {
  .cs-cta { padding: 30px 18px; }
  .cs-cta .btn { width: 100%; white-space: normal; padding-left: 16px; padding-right: 16px; line-height: 1.3; }
}

/* karty liczb (statystyki) w case study */
.cs-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 30px 0; }
@media (min-width: 720px) { .cs-stats { grid-template-columns: repeat(4, 1fr); } }
.cs-stat { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 14px; text-align: center; }
.cs-stat__num { display: block; font-family: var(--serif); font-weight: 600; font-size: clamp(26px, 6vw, 34px); line-height: 1.1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-stat__lbl { display: block; color: var(--muted); font-size: 13px; margin-top: 7px; line-height: 1.35; }

/* pasek 3 liczb-wyróżników tuż pod nagłówkiem CS */
.cs-stats--hero { grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0 6px; }
@media (min-width: 720px) { .cs-stats--hero { grid-template-columns: repeat(3, 1fr); } }
.cs-stat--hero { position: relative; padding: 24px 12px; overflow: hidden; border-color: var(--border-strong); background: linear-gradient(180deg, rgba(45,212,232,.07), rgba(236,44,150,.05)); }
.cs-stat--hero::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--grad); }
.cs-stat--hero .cs-stat__num { font-size: clamp(22px, 6.4vw, 40px); }
@media (max-width: 560px) { .cs-stat--hero { padding: 16px 8px; } .cs-stat--hero .cs-stat__lbl { font-size: 11px; } }

/* pullquote z wypowiedzią klienta */
.cs-quote { font-family: var(--serif); font-weight: 500; font-size: clamp(19px, 4.2vw, 27px); line-height: 1.42; color: var(--text); margin: 34px 0; padding: 4px 0 4px 28px; position: relative; }
.cs-quote::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px; border-radius: 4px; background: var(--grad); }

/* badge z liczbą na karcie case study (indeks) */
.post-card__media { position: relative; }
.post-card__stat { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: baseline; gap: 6px; background: rgba(7,9,14,.72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.16); border-radius: 999px; padding: 6px 14px; color: var(--text); font-size: 13px; }
.post-card__stat b { font-family: var(--serif); font-weight: 600; font-size: 17px; }

/* numerowany krok (wyzwania / rozwiązania) w case study */
.cs-step { display: flex; align-items: baseline; gap: 12px; }
.cs-step span { font-family: var(--serif); font-weight: 600; flex: none; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cs-video { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden; margin: 28px 0; border: 1px solid var(--border); }
.cs-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =========================================================
   scroll-reveal
   ========================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn { transition: none; }
}

/* =========================================================
   BREAKPOINTS
   ========================================================= */
@media (min-width: 600px) {
  .hero__actions { flex-direction: row; flex-wrap: wrap; }
  .trust { flex-direction: row; flex-wrap: wrap; gap: 10px 22px; }
  .cards--2 { grid-template-columns: 1fr 1fr; }
  .contact-options { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
  :root { --pad: 32px; }
  .section { padding: 96px 0; }
  .nav__links { display: flex; }
  .nav__cta { display: inline-flex; }
  .nav__toggle { display: none; }
  .mobile-menu { display: none !important; }

  .hero {
    padding: 80px 0 104px;
    background-image: url("../assets/img/hero-bg-desktop.webp");
    background-position: center;
  }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(7,9,14,.94) 0%, rgba(7,9,14,.7) 42%, rgba(7,9,14,.28) 100%),
      linear-gradient(180deg, rgba(7,9,14,.4) 0%, rgba(7,9,14,0) 30%, rgba(7,9,14,.45) 100%);
  }
  .hero__grid { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
  .hero__visual { display: block; }

  .cards--3 { grid-template-columns: repeat(3, 1fr); }
  .lead-grid { grid-template-columns: 1fr 1fr; }

  .footer__grid { grid-template-columns: 1.4fr 1.2fr .8fr; }
}

@media (min-width: 1100px) {
  .lead-grid { grid-template-columns: repeat(4, 1fr); }
}
