/* Twoja Pewna Strona — wspólny arkusz stylów
   Paleta (propozycja, dane.txt): granat #1B2A41, bursztyn #D9822B,
   ciepła biel #F7F5F2, grafit #22252A */

/* Archivo self-hosted (font zmienny, jeden plik na wagi 700–800) — zero requestów do Google */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 700 800;
  font-display: swap;
  src: url("/fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --navy: #1B2A41;
  --navy-deep: #14202f;
  --amber: #D9822B;
  --amber-dark: #a05f18;
  --paper: #F7F5F2;
  --ink: #22252A;
  --muted: #5b6470;
  --line: #d9d4cc;
  --white: #ffffff;
  --radius: 6px;
  --font-display: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "Cascadia Mono", "Consolas", monospace;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 1.0625rem;
}

img, svg { max-width: 100%; height: auto; display: block; }

a { color: var(--navy); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--amber-dark); }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 2px;
}
/* na granatowych tłach granatowy ring znika — tam bursztynowy */
.site-header :focus-visible, .section--navy :focus-visible, .subhero :focus-visible,
.stats-strip :focus-visible, .site-footer :focus-visible,
.service-card--core :focus-visible, .wa-fab:focus-visible {
  outline-color: var(--amber);
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  padding: 0.8rem 1.2rem;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

.wrap { max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  color: var(--navy);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; }
::selection { background: var(--amber); color: var(--navy-deep); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 700; margin-bottom: 1rem; }
h3 { font-size: clamp(1.05rem, 0.9rem + 0.7vw, 1.2rem); font-weight: 700; }
p, li { text-wrap: pretty; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-dark);
  display: block;
  margin-bottom: 0.6rem;
}
.eyebrow--navy { color: var(--amber); }

/* drobne utility zamiast styli inline */
.narrow { max-width: 46rem; }
.measure { max-width: 44rem; }
.gap-top { margin-top: 1.4rem; }
.center { text-align: center; }
.on-navy { color: #dfe6ef; }

/* ---------- header ---------- */
.site-header {
  background: var(--navy);
  color: var(--white);
  /* ciemna baza linii pod headerem — bursztyn rysuje .scroll-progress */
  border-bottom: 4px solid #2c405c;
  position: sticky;
  top: 0;
  z-index: 60;
}
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  transition: padding 0.3s ease;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.brand:hover { color: var(--white); }
.brand svg { width: 34px; height: 34px; flex: none; }
.site-nav { margin-left: auto; }
.site-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.25rem 1.1rem; }
.site-nav a {
  color: #dfe6ef;
  text-decoration: none;
  font-size: 0.95rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover { color: var(--white); border-bottom-color: var(--amber); }
/* podmenu Usługi */
.nav-item-sub { position: relative; }
.nav-item-sub > a::after { content: " ▾"; font-size: 0.75em; }
.site-nav ul.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy);
  border: 1px solid #2c405c;
  border-top: 3px solid var(--amber);
  border-radius: 0 0 var(--radius) var(--radius);
  min-width: 21rem;
  padding: 0.4rem 0;
  list-style: none;
  z-index: 40;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}
.site-nav .nav-item-sub:hover ul.submenu,
.site-nav .nav-item-sub:focus-within ul.submenu { display: block; }
.submenu li { display: block; }
.submenu a {
  display: block;
  padding: 0.55rem 1.1rem;
  border-bottom: none !important;
  font-size: 0.92rem;
}
.submenu a:hover { background: var(--navy-deep); color: var(--white); }
.submenu a small { display: block; color: #93a3b8; font-size: 0.8rem; }
/* ---------- nawigacja mobilna (hamburger; bez JS nav zostaje rozwinięty) ---------- */
.nav-toggle { display: none; }
@media (max-width: 800px) {
  .site-header .wrap { flex-wrap: wrap; justify-content: space-between; }
  html.js .nav-toggle {
    display: block;
    background: none;
    border: 0;
    width: 46px;
    height: 46px;
    position: relative;
    cursor: pointer;
    margin-left: auto;
  }
  .nav-toggle span, .nav-toggle::before, .nav-toggle::after {
    content: "";
    position: absolute;
    left: 10px; right: 10px;
    height: 3px;
    border-radius: 2px;
    background: var(--white);
    transition: transform 0.25s ease, opacity 0.2s ease, top 0.25s ease;
  }
  .nav-toggle::before { top: 15px; }
  .nav-toggle span { top: 22px; }
  .nav-toggle::after { top: 29px; }
  .nav-open .nav-toggle::before { top: 22px; transform: rotate(45deg); }
  .nav-open .nav-toggle span { opacity: 0; }
  .nav-open .nav-toggle::after { top: 22px; transform: rotate(-45deg); }

  .site-nav { margin-left: 0; flex-basis: 100%; }
  html.js .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--navy);
    border-bottom: 4px solid var(--amber);
    box-shadow: 0 24px 40px rgba(0, 0, 0, 0.35);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    overflow: auto;
  }
  html.js .nav-open .site-nav { display: block; }
  .site-nav > ul { flex-direction: column; gap: 0; padding: 0.5rem 1.25rem 1rem; }
  .site-nav > ul > li > a { display: block; padding: 0.75rem 0; font-size: 1.05rem; border-bottom: 1px solid #2c405c; }
  .nav-item-sub > a::after { content: ""; }
  .site-nav ul.submenu {
    display: block !important;
    position: static;
    min-width: 0;
    box-shadow: none;
    border: none;
    border-left: 3px solid var(--amber);
    border-radius: 0;
    margin: 0.3rem 0 0.6rem 0.4rem;
    padding: 0;
    background: transparent;
  }
  .submenu a { padding: 0.5rem 0.8rem; }
}

/* ---------- hero (jasne, showcase realnych stron) ---------- */
.hero { background: var(--paper); color: var(--ink); padding: 4.5rem 0 4rem; position: relative; }
.hero h1 { color: var(--navy); max-width: 46rem; font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1.08; }
.hero .lead { max-width: 34rem; margin: 1.4rem 0 0; font-size: 1.15rem; color: var(--ink); }
.hero-grid { display: grid; grid-template-columns: 5fr 4fr; gap: 3rem; align-items: center; }
@media (max-width: 800px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-link { font-weight: 700; color: var(--navy); align-self: center; }
.hero-link:hover { color: var(--amber-dark); }

.hero-show { position: relative; }
.hs-frame { box-shadow: 0 26px 60px rgba(27, 42, 65, 0.2); border-radius: 10px; }
.hs-stack { position: relative; aspect-ratio: 720 / 450; background: var(--navy-deep); }
.hs-stack img { position: absolute; inset: 0; width: 100%; height: auto; opacity: 0; }
.hs-stack img:first-child { opacity: 1; }
.hs-chip {
  position: absolute;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(27, 42, 65, 0.25);
  white-space: nowrap;
}
.hs-chip--a { top: -1rem; left: -1rem; background: var(--navy); color: var(--white); }
.hs-chip--a i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); animation: chipdot 1.8s ease-in-out infinite; }
@keyframes chipdot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hs-chip--b { bottom: 2rem; right: -0.8rem; background: var(--amber); color: var(--navy-deep); }
.hs-cap { font-size: 0.86rem; color: var(--muted); margin-top: 0.9rem; }
@media (max-width: 800px) {
  .hs-chip--a { left: 0.5rem; }
  .hs-chip--b { right: 0.5rem; }
}
.cta-row { margin-top: 1.8rem; display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  text-decoration: none;
  border-radius: var(--radius);
  padding: 0.85rem 1.4rem;
  line-height: 1.3;
  position: relative;
  overflow: hidden;
  transition: background 0.2s ease, transform 0.1s ease, border-color 0.2s ease;
}
.btn-primary { background: var(--amber); color: var(--navy-deep); }
.btn-primary:hover { background: #e59440; color: var(--navy-deep); }
.btn-ghost { border: 2px solid #93a3b8; color: var(--white); }
.btn-ghost:hover { border-color: var(--amber); color: var(--white); }
.hero-sub { margin-top: 0.9rem; font-size: 0.9rem; color: var(--muted); }
.hero-sub a { color: var(--muted); }

/* ---------- sekcje ---------- */
.section { padding: 4.5rem 0; }
[id] { scroll-margin-top: 110px; }
.section--alt { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2 { color: var(--white); }
.section-intro { max-width: 44rem; margin-bottom: 2rem; }

.pain-list { list-style: none; display: grid; gap: 0.9rem; max-width: 46rem; }
.pain-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 0.9rem 1.1rem;
}
.pain-punch { margin-top: 1.6rem; font-size: 1.15rem; font-weight: 700; color: var(--navy); max-width: 46rem; }
.pain-punch--light { font-weight: 400; }

/* proces — realna sekwencja 1→4 */
.steps { list-style: none; counter-reset: step; display: grid; gap: 1.1rem; max-width: 46rem; }
.steps li { counter-increment: step; position: relative; padding-left: 3.4rem; }
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0.05rem;
  width: 2.4rem; height: 2.4rem;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--amber);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: var(--radius);
}
.steps strong { color: var(--navy); }
.steps-note { margin-top: 1.4rem; font-size: 0.95rem; color: var(--muted); max-width: 46rem; }

/* usługi — bento z hierarchią */
.services-bento { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2rem; }
.sb-core { grid-column: 1 / 7; grid-row: span 2; }
.sb-landing, .sb-basic { grid-column: 7 / 13; }
.sb-premium { grid-column: 1 / 13; }
@media (max-width: 800px) {
  .services-bento > * { grid-column: 1 / 13 !important; grid-row: auto !important; }
}

.service-card.service-card--core {
  background: var(--navy);
  border: 1px solid var(--navy);
  color: #dfe6ef;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding: 1.8rem;
  border-radius: 12px;
  position: relative;
}
.service-card.service-card--core h3 { font-size: 1.5rem; }
.service-card.service-card--core h3 a { color: var(--white); }
.service-card.service-card--core .price { font-size: 2rem; color: var(--amber); }
.service-card.service-card--core .price small { color: #93a3b8; }
.sb-check { list-style: none; display: grid; gap: 0.45rem; margin: 0.2rem 0 0.6rem; }
.sb-check li { padding-left: 1.6rem; position: relative; font-size: 0.97rem; }
.sb-check li::before { content: "✓"; position: absolute; left: 0; color: var(--amber); font-weight: 800; }
.service-card.service-card--core .btn { align-self: flex-start; margin-top: auto; }

.service-card--slim { display: flex; flex-direction: column; gap: 0.4rem; }
.service-card--slim p { font-size: 0.94rem; }

.premium-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 1.4rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  text-decoration: none;
  font-size: 0.98rem;
  color: var(--ink);
}
.premium-bar:hover { border-color: var(--amber); color: var(--ink); }
.premium-bar strong { font-family: var(--font-display); color: var(--navy); }
.premium-bar .num { font-family: var(--font-mono); font-weight: 700; color: var(--navy); }
.premium-bar .go { margin-left: auto; font-weight: 700; color: var(--amber-dark); white-space: nowrap; }

.sb-label {
  grid-column: 1 / 13;
  margin: 0.8rem 0 -0.2rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sb-addon { grid-column: span 4; padding: 1.1rem 1.2rem; gap: 0.35rem; }
.sb-addon h3 { font-size: 1.05rem; }
.sb-addon .price { font-size: 1.05rem; }
.sb-addon p { font-size: 0.9rem; color: var(--muted); }
.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.service-card--reco { border: 2px solid var(--amber); position: relative; }
.reco-badge {
  position: absolute; top: -0.8rem; left: 1.1rem;
  background: var(--amber);
  color: var(--navy-deep);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  text-transform: uppercase;
}
.service-card .price {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.service-card .price small { font-size: 0.8rem; color: var(--muted); font-weight: 400; }
.service-card p { font-size: 0.97rem; }
.service-card .more { margin-top: auto; font-weight: 700; }
.service-note { margin-top: 1.4rem; font-size: 0.95rem; color: var(--muted); max-width: 46rem; }

/* cennik */
.table-scroll { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(27, 42, 65, 0.08); background: var(--white); }
.price-table { width: 100%; border-collapse: collapse; background: var(--white); min-width: 44rem; }
.price-table caption { text-align: left; font-size: 0.9rem; color: var(--muted); margin-bottom: 0.6rem; caption-side: top; }
.price-table th, .price-table td { padding: 1.15rem 1.4rem; text-align: left; vertical-align: middle; }
.price-table thead th {
  background: var(--navy);
  color: #aab6c5;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.price-table tbody tr { border-top: 1px solid #efece6; transition: background 0.2s ease; }
.price-table tbody tr:hover { background: #faf8f4; }
.price-table td a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  text-decoration: none;
  display: block;
}
.price-table td a:hover { color: var(--amber-dark); }
.pt-tag {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-top: 0.25rem;
}
.pt-tag--reco { color: var(--amber-dark); }
.price-table td.num { white-space: normal; }
.price-table td.num b { display: block; font-family: var(--font-mono); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.price-table td.num small { display: block; color: var(--muted); font-size: 0.82rem; margin-top: 0.2rem; }
.pt-who { font-size: 0.92rem; color: var(--muted); font-style: italic; max-width: 16rem; }
.row-reco td:first-child { box-shadow: inset 4px 0 0 var(--amber); }

/* cennik na mobile: wiersze stają się kartami */
@media (max-width: 700px) {
  .table-scroll { overflow: visible; border: none; box-shadow: none; background: transparent; border-radius: 0; }
  .price-table { min-width: 0; }
  .price-table thead { display: none; }
  .price-table tbody tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-bottom: 1rem;
    padding: 1.1rem 1.2rem;
    box-shadow: 0 6px 18px rgba(27, 42, 65, 0.07);
  }
  .price-table td { display: block; padding: 0; }
  .price-table td.num { margin-top: 0.55rem; }
  .pt-who { margin-top: 0.55rem; max-width: none; }
  .row-reco { border: 2px solid var(--amber) !important; background: #fdf3e7; }
  .price-table tbody tr.row-reco td { background: transparent; }
  .row-reco td:first-child { box-shadow: none; }
  .price-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin: 0.55rem 0 0.1rem;
  }
  .price-table td[data-label] { font-size: 0.95rem; }
  /* oferty (bento) — oddech na mobile */
  .service-card.service-card--core { padding: 1.4rem; }
  .services-bento { gap: 1rem; }
  .premium-bar .go { margin-left: 0; flex-basis: 100%; }
}
.price-rules { margin-top: 1.4rem; display: grid; gap: 0.5rem; max-width: 46rem; font-size: 0.97rem; }
.price-rules li { list-style: none; padding-left: 1.5rem; position: relative; }
.price-rules li::before { content: "—"; position: absolute; left: 0; color: var(--amber-dark); }

/* ---------- SYGNATURA: kwit gwarancji ---------- */
.kwit {
  max-width: 34rem;
  margin: 2.5rem auto 0;
  background: var(--white);
  color: var(--ink);
  border-radius: 4px;
  padding: 2rem 1.8rem 1.6rem;
  position: relative;
  transform: rotate(-0.8deg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  background-image: repeating-linear-gradient(transparent 0 1.9rem, #eee9e1 1.9rem calc(1.9rem + 1px));
}
.kwit::before {
  content: "";
  position: absolute; inset: 0.5rem;
  border: 1px dashed var(--line);
  pointer-events: none;
}
.kwit-head {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 2px solid var(--navy);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.kwit ol { list-style: none; counter-reset: kw; display: grid; gap: 0.85rem; }
.kwit ol li { counter-increment: kw; padding-left: 2rem; position: relative; font-size: 0.98rem; }
.kwit ol li::before {
  content: counter(kw) ".";
  position: absolute; left: 0;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--amber-dark);
}
.kwit-total {
  margin-top: 1.2rem;
  padding-top: 0.8rem;
  border-top: 2px solid var(--navy);
  font-family: var(--font-mono);
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
}
.stamp {
  position: absolute;
  right: 1rem; top: -1.1rem;
  transform: rotate(7deg);
  border: 3px solid var(--amber-dark);
  color: var(--amber-dark);
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.92);
}
.kwit-context { text-align: center; margin-top: 1.6rem; color: #aab6c5; font-size: 0.95rem; }

/* o mnie */
.about-list { list-style: none; display: grid; gap: 0.7rem; margin-top: 1rem; }
.about-list li { padding-left: 1.7rem; position: relative; }
.about-list li::before { content: "✓"; position: absolute; left: 0; color: var(--amber-dark); font-weight: 800; }

/* wyniki / opinie */
.proof-title { margin: 2.5rem 0 1rem; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: 1.2rem; }
.proof-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 1.3rem;
}
.proof-card .num-big { font-family: var(--font-mono); font-size: 1.6rem; font-weight: 700; color: var(--navy); }
.proof-card--quote { grid-column: 1 / -1; border-top-color: var(--amber); }
.proof-card--quote .opinion { font-size: 1.15rem; max-width: 46rem; }
.proof-card .stars { color: var(--amber); letter-spacing: 0.12em; font-size: 1.05rem; margin-bottom: 0.4rem; }
.proof-card figcaption, .proof-card cite { font-style: normal; font-size: 0.88rem; color: var(--muted); }
blockquote.opinion { font-size: 1.02rem; }
blockquote.opinion p::before { content: "„"; }
blockquote.opinion p::after { content: "\201D"; }
.proof-note { margin-top: 1.3rem; font-size: 0.9rem; color: var(--muted); max-width: 46rem; }

/* FAQ */
.faq-list { max-width: 48rem; display: grid; gap: 0.7rem; }
.faq-list details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 1.1rem;
}
.faq-list summary { cursor: pointer; padding: 0.95rem 0; list-style: none; display: flex; gap: 0.7rem; align-items: baseline; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before { content: "+"; font-family: var(--font-mono); font-weight: 700; color: var(--amber-dark); flex: none; }
.faq-list details[open] summary::before { content: "–"; }
.faq-list summary .faq-q { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; color: var(--navy); transition: color 0.2s ease; }
.faq-list details[open] summary .faq-q { color: var(--amber-dark); }
.faq-list .faq-a { padding: 0 0 1.1rem 1.4rem; }

/* obszar */
.area-list { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.area-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.9rem;
  font-size: 0.92rem;
}

/* kontakt / finalne CTA */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: center; }
@media (max-width: 700px) { .contact-box { grid-template-columns: 1fr; } }
.contact-lines { list-style: none; display: grid; gap: 0.7rem; margin-top: 1rem; font-size: 1.05rem; }
.contact-lines a { color: #dfe6ef; }
.contact-lines .tel { font-family: var(--font-mono); font-size: 1.35rem; font-weight: 700; }
.contact-lines .tel a { color: var(--white); }
.capacity-note { margin-top: 1rem; font-size: 0.92rem; color: #aab6c5; }

/* ---------- podstrony usług ---------- */
.breadcrumbs { font-size: 0.88rem; padding: 0.9rem 0 0; color: var(--muted); }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.breadcrumbs li + li::before { content: "›"; margin-right: 0.4rem; color: var(--line); }
.subhero { padding: 2.2rem 0 2.6rem; background: var(--navy); color: var(--white); }
.subhero h1 { color: var(--white); max-width: 44rem; }
.subhero .lead { max-width: 44rem; margin-top: 1rem; color: #dfe6ef; font-size: 1.12rem; }
.subhero .price-line { font-family: var(--font-mono); font-weight: 700; color: var(--amber); margin-top: 1rem; font-size: 1.2rem; }
.checklist-head { margin-bottom: 0.8rem; }
.checklist { list-style: none; display: grid; gap: 0.7rem; max-width: 44rem; }
.checklist li { padding-left: 1.8rem; position: relative; }
.checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--amber-dark); font-weight: 800; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; }
.related-grid a {
  display: block;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
}
.related-grid a span { display: block; font-weight: 400; font-size: 0.9rem; color: var(--muted); margin-top: 0.3rem; }
.related-grid a:hover { border-color: var(--amber); }

/* ---------- zdjęcia i logo (XL → shrink przy scrollu) ---------- */
.brand-logo { height: 104px; width: auto; transition: height 0.3s ease; }
.site-header.shrunk .brand-logo { height: 46px; }
.site-header.shrunk .wrap { padding-top: 0.45rem; padding-bottom: 0.45rem; }
@media (max-width: 800px) {
  .brand-logo { height: 72px; }
  .site-header.shrunk .brand-logo { height: 42px; }
}
.page-photo-wrap { margin-top: 1.5rem; }
.page-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

/* strony tekstowe (polityka prywatności) */
.legal { max-width: 46rem; }
.legal * + h2 { margin-top: 2.2rem; }
.legal .checklist { margin-top: 0.8rem; }

/* ---------- motion / wow (progressive enhancement — bez JS wszystko widoczne) ---------- */
.btn:active { transform: translateY(1px); }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 42, 65, 0.14); border-color: var(--amber); }

html.js:not(.gsap) .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js:not(.gsap) .reveal.in { opacity: 1; transform: none; }
html.js:not(.gsap) .reveal .service-card, html.js:not(.gsap) .reveal .browser-card, html.js:not(.gsap) .reveal .proof-card {
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
html.js:not(.gsap) .reveal.in .service-card, html.js:not(.gsap) .reveal.in .browser-card, html.js:not(.gsap) .reveal.in .proof-card { opacity: 1; transform: none; }
html.js:not(.gsap) .reveal.in > .wrap > .services-bento > *:nth-child(2), html.js:not(.gsap) .reveal.in .portfolio-grid > *:nth-child(2), html.js:not(.gsap) .reveal.in .proof-grid > *:nth-child(2) { transition-delay: 0.1s; }
html.js:not(.gsap) .reveal.in > .wrap > .services-bento > *:nth-child(3), html.js:not(.gsap) .reveal.in .portfolio-grid > *:nth-child(3), html.js:not(.gsap) .reveal.in .proof-grid > *:nth-child(3) { transition-delay: 0.2s; }
html.js:not(.gsap) .reveal.in > .wrap > .services-bento > *:nth-child(4), html.js:not(.gsap) .reveal.in .portfolio-grid > *:nth-child(4) { transition-delay: 0.3s; }
html.js:not(.gsap) .reveal.in > .wrap > .services-bento > *:nth-child(5), html.js:not(.gsap) .reveal.in .portfolio-grid > *:nth-child(5) { transition-delay: 0.4s; }
html.js:not(.gsap) .reveal.in > .wrap > .services-bento > *:nth-child(6), html.js:not(.gsap) .reveal.in .portfolio-grid > *:nth-child(6) { transition-delay: 0.5s; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
html.js:not(.gsap) .hero h1, html.js:not(.gsap) .subhero h1 { animation: rise 0.7s ease both; }
html.js:not(.gsap) .hero .lead, html.js:not(.gsap) .subhero .lead { animation: rise 0.7s 0.15s ease both; }
html.js:not(.gsap) .subhero .price-line { animation: rise 0.7s 0.3s ease both; }
html.js:not(.gsap) .hero .cta-row, html.js:not(.gsap) .subhero .cta-row { animation: rise 0.7s 0.45s ease both; }
html.js:not(.gsap) .page-photo { animation: rise 0.9s 0.35s ease both; }

.hl { background: linear-gradient(var(--amber), var(--amber)) 0 92% / 100% 0.16em no-repeat; padding-bottom: 0.05em; }
html.js:not(.gsap) .hl { background-size: 0% 0.16em; animation: hlIn 0.7s 0.9s ease forwards; }
@keyframes hlIn { to { background-size: 100% 0.16em; } }

/* pasek liczb pod hero */
.stats-strip { background: var(--navy-deep); color: var(--white); padding: 1.6rem 0; border-top: 1px solid #2c405c; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: 1fr; gap: 1rem; } }
.stat { display: flex; align-items: baseline; gap: 0.5rem; flex-wrap: wrap; }
.stat-num { font-family: var(--font-display); font-weight: 800; font-size: 2.6rem; color: var(--amber); line-height: 1; min-width: 2ch; }
.stat-unit { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; color: var(--amber); }
.stat p { flex-basis: 100%; margin: 0; font-size: 0.92rem; color: #aab6c5; }

/* kwit: pieczątka wbijana przy scrollu (fallback bez GSAP) */
html.js:not(.gsap) .kwit .stamp { opacity: 0; }
html.js:not(.gsap) .kwit.in .stamp { animation: stampIn 0.5s 0.5s cubic-bezier(0.2, 1.5, 0.4, 1) forwards; }
@keyframes stampIn { 0% { opacity: 0; transform: rotate(16deg) scale(1.9); } 100% { opacity: 1; transform: rotate(7deg) scale(1); } }

/* cennik: wiersz rekomendowany */
.row-reco td { background: #fdf3e7; }

/* ---------- realizacje: karty-przeglądarki (linki do żywych stron) ---------- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); gap: 1.3rem; }
a.browser-card { text-decoration: none; color: inherit; display: block; }

/* marquee realizacji: dwa rzędy dryfujące w przeciwnych kierunkach (tworzone przez JS) */
.pm { display: grid; gap: 1.4rem; margin: 0 calc(50% - 50vw); overflow: hidden; padding: 0.3rem 0; }
.pm-row { overflow: hidden; }
.pm-track { display: flex; gap: 0; width: max-content; animation: pm-drift 90s linear infinite; }
.pm-track .browser-card { flex: 0 0 22rem; margin-right: 1.4rem; }
.pm-row--b .pm-track { animation-direction: reverse; }
.pm-row:hover .pm-track, .pm-row:focus-within .pm-track { animation-play-state: paused; }
@keyframes pm-drift { to { transform: translateX(-50%); } }
.bc-cap { display: block; padding: 0.7rem 1rem 0.85rem; }
.bc-cap b { display: block; font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 0.98rem; }
.bc-cap small { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 0.15rem; }
a.browser-card:hover .bc-cap b { color: var(--amber-dark); }
.browser-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(27, 42, 65, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.browser-card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(27, 42, 65, 0.16); }
.browser-bar {
  display: flex;
  gap: 5px;
  padding: 0.55rem 0.8rem;
  background: var(--navy);
  border-bottom: 2px solid var(--amber);
}
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: #46586f; }
.browser-bar i:first-child { background: var(--amber); }
.browser-card img { width: 100%; height: auto; display: block; transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.browser-card figcaption { padding: 0.75rem 1rem; font-size: 0.92rem; font-weight: 700; color: var(--navy); }

/* ---------- pływający przycisk WhatsApp ---------- */
.wa-fab {
  position: fixed;
  right: 1.1rem;
  bottom: 1.1rem;
  z-index: 50;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
  transition: transform 0.15s ease;
}
.wa-fab:hover { transform: scale(1.08); animation-play-state: paused; }
.wa-fab svg { width: 30px; height: 30px; fill: #fff; }

/* ---------- AWARDS: choreografia GSAP (style stanów, initial states ustawia JS) ---------- */

/* hero: linie z maską + scroll-cue */
.hline { display: block; overflow: hidden; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.hline > span { display: inline-block; }
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 1.1rem;
  width: 2px;
  height: 42px;
  background: linear-gradient(var(--amber), transparent);
  transform: translateX(-50%);
}
html.gsap .scroll-cue { animation: cue 2s ease-in-out infinite; }
@keyframes cue { 0%, 100% { transform: translateX(-50%) scaleY(1); opacity: 1; } 50% { transform: translateX(-50%) scaleY(0.55); opacity: 0.5; } }
@media (max-width: 800px) { .scroll-cue { display: none; } }

/* pasek postępu scrolla w headerze */
.scroll-progress {
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 4px;
  background: var(--amber);
  transform-origin: 0 50%;
  transform: scaleX(0);
  pointer-events: none;
}
html:not(.gsap) .scroll-progress { transform: scaleX(1); }
/* przy reduced-motion scrub nie działa — pasek zostaje pełny, jak w trybie bez GSAP */
@media (prefers-reduced-motion: reduce) { .scroll-progress { transform: scaleX(1); } }
.site-nav a.active { color: var(--white); border-bottom-color: var(--amber); }

/* marquee branż */
.marquee { overflow: hidden; background: var(--navy-deep); border-top: 1px solid #2c405c; padding: 0.75rem 0; }
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #93a3b8;
  white-space: nowrap;
  animation: marq 30s linear infinite;
}
.marquee-track span::after { content: "•"; margin-left: 3rem; color: var(--amber); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marq { to { transform: translateX(-50%); } }

/* proces: pin z wielką cyfrą i progress barem */
.process-stage { position: relative; }
.process-num {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(9rem, 26vw, 20rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(217, 130, 43, 0.4);
  pointer-events: none;
  user-select: none;
}
.process-bar { position: absolute; left: -1.4rem; top: 0.3rem; bottom: 0.3rem; width: 4px; background: #e6e0d6; border-radius: 2px; }
.process-bar i { display: block; width: 100%; height: 0%; background: var(--amber); border-radius: 2px; }
@media (max-width: 800px) { .process-num, .process-bar { display: none; } }
html.gsap .steps li { transition: none; }

/* pełnobleedowy marquee realizacji wymaga przycięcia overflow na html */
html { overflow-x: clip; }
.browser-card:hover img { transform: scale(1.04); }
@media (max-width: 800px) {
  .portfolio-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 1rem; padding-bottom: 0.8rem; -webkit-overflow-scrolling: touch; }
  .browser-card { flex: 0 0 86%; scroll-snap-align: center; }
}

/* sekcje granatowe jako „arkusze" (SpaceX sheet) */
.section--navy { border-radius: 28px; margin: 2.5rem auto; width: calc(100% - 2rem); max-width: 100rem; }
@media (max-width: 800px) { .section--navy { width: calc(100% - 0.8rem); border-radius: 18px; } }

/* sheen na przyciskach */
.btn::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, 0.35), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* WhatsApp fab: puls */
html.gsap .wa-fab { animation: wa-pulse 8s 4s ease-in-out infinite; }
@keyframes wa-pulse { 0%, 92%, 100% { transform: scale(1); } 95% { transform: scale(1.08); } }

/* ---------- stopka ---------- */
.site-footer { background: var(--navy-deep); color: #aab6c5; padding: 2.5rem 0; font-size: 0.92rem; }
.site-footer a { color: #dfe6ef; }
.footer-facts { max-width: 46rem; margin-bottom: 1.4rem; color: #c6d0dc; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 1.5rem 2.5rem; margin-bottom: 1.4rem; }
.footer-head { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: #93a3b8; margin-bottom: 0.5rem; }
.footer-list { list-style: none; display: grid; gap: 0.35rem; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--white); text-decoration: underline; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 0.4rem 1.5rem; padding-top: 1rem; border-top: 1px solid #2c405c; }
