/* Interkoordynacje: wspólne style strony */

/* Kolory i krój według księgi znaku v2: granat, noc, stal, grafit, mgła; pomarańcz sygnałowy tylko jako akcent (2–5%). Krój: Jost. */
:root {
  color-scheme: light;
  --ink: #132d4b;
  --ink-soft: #3b4d62;
  --muted: #56616e;
  --paper: #f2f5f8;
  --surface: #ffffff;
  --line: #d9e1ea;
  --navy: #132d4b;
  --navy-2: #1d3d61;
  --night: #08131f;
  --on-navy: #f2f5f8;
  --on-navy-soft: #c8d3df;
  --steel: #c8d3df;
  --signal: #ff5a1f;
  --signal-ink: #08131f;
  --signal-soft: #e8eef5;
  --link: #1d4f86;
  --ph: #b86e00;

  --f-display: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-body: "Jost", "Futura", "Century Gothic", system-ui, sans-serif;
  --f-mono: "Jost", "Futura", system-ui, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ink: #f2f5f8;
    --ink-soft: #c8d3df;
    --muted: #97a4b3;
    --paper: #08131f;
    --surface: #0f2033;
    --line: #22384f;
    --navy: #0c1c2e;
    --navy-2: #132d4b;
    --night: #050c14;
    --on-navy: #f2f5f8;
    --on-navy-soft: #c8d3df;
    --signal-soft: #132d4b;
    --link: #9cc3ec;
    --ph: #ffc757;
  }
  :root:not([data-theme="light"]) .only-light { display: none !important; }
  :root:not([data-theme="light"]) .only-dark { display: inline-block !important; }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ink: #f2f5f8;
  --ink-soft: #c8d3df;
  --muted: #97a4b3;
  --paper: #08131f;
  --surface: #0f2033;
  --line: #22384f;
  --navy: #0c1c2e;
  --navy-2: #132d4b;
  --night: #050c14;
  --on-navy: #f2f5f8;
  --on-navy-soft: #c8d3df;
  --signal-soft: #132d4b;
  --link: #9cc3ec;
  --ph: #ffc757;
}
:root[data-theme="dark"] .only-light { display: none !important; }
:root[data-theme="dark"] .only-dark { display: inline-block !important; }
.only-dark { display: none; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 17.5px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3 {
  font-family: var(--f-display);
  line-height: 1.1;
  font-weight: 600;
  text-wrap: balance;
  margin: 0;
}
h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
p { margin: 0; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 0.9rem; }

/* etykieta w stylu identyfikatora */
.tag {
  font-family: var(--f-mono);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 0.5em;
}
.tag::before { content: ""; width: 0.55em; height: 0.55em; border-radius: 50%; background: var(--signal); }

/* znacznik brakującej treści: widoczny, żeby Pablo wiedział co uzupełnić */
.ph {
  color: var(--ph);
  border-bottom: 1.5px dashed var(--ph);
  font-weight: 600;
}

/* nagłówek */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink); }
.logo-mark { width: 34px; height: 34px; flex: none; }
.logo-word { font-family: var(--f-display); font-weight: 600; font-size: 1.15rem; letter-spacing: -0.01em; }
.logo-word span { color: var(--muted); font-weight: 600; }

.nav { display: flex; align-items: center; gap: 1.05rem; }
.nav a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -3px 0 var(--signal); }
.nav-toggle { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: 600 1rem/1 var(--f-body);
  padding: 0.95rem 1.35rem;
  border-radius: var(--r);
  border: 2px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-signal { background: var(--signal); color: var(--signal-ink); }
.btn-signal:hover { background: color-mix(in srgb, var(--signal) 85%, #fff); }
.btn-line { border-color: currentColor; color: inherit; background: transparent; }
.nav .btn { padding: 0.7rem 1rem; font-size: 0.9rem; }
.nav .btn:hover { box-shadow: none; }

@media (max-width: 1080px) {
  .nav-toggle {
    display: inline-flex; align-items: center; gap: .4rem;
    font: 700 0.9rem/1 var(--f-body); color: var(--ink);
    background: none; border: 2px solid var(--line); border-radius: var(--r); padding: .6rem .8rem; cursor: pointer;
  }
  .nav {
    display: none; position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.2rem;
  }
  .nav a { padding: 0.8rem 0; border-bottom: 1px solid var(--line); }
  .nav a:hover, .nav a[aria-current="page"] { box-shadow: none; color: var(--link); }
  .nav .btn { margin-top: 1rem; padding: 0.95rem; border-bottom: 0; }
  .site-header.open .nav { display: flex; }
}

/* sekcje */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section-head { display: flex; flex-direction: column; gap: 0.9rem; margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 760px; }
.band-navy { background: var(--night); color: var(--on-navy); }
.band-navy .tag, .band-navy .muted { color: var(--on-navy-soft); }
.band-navy .lede { color: var(--on-navy-soft); }
.band-navy a:not(.btn) { color: var(--signal); }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }

/* hero */
.hero { padding-block: clamp(2.8rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5rem); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 em { font-style: normal; color: var(--signal); }
.hero .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 0.6rem; }
.hero-note { font-size: 0.92rem; color: var(--muted); }

/* identyfikator: motyw przewodni */
.badge-wrap { display: flex; justify-content: center; padding-top: 110px; }
.badge {
  position: relative; width: min(100%, 340px);
  background: var(--surface); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px;
  box-shadow: 0 30px 60px -30px rgba(15, 34, 56, 0.45);
  padding: 2.2rem 1.6rem 1.4rem;
  transform: rotate(2.2deg);
}
.badge::before { /* smycz */
  content: ""; position: absolute; left: 50%; top: -120px; width: 26px; height: 128px; translate: -50% 0;
  background: repeating-linear-gradient(90deg, var(--signal) 0 5px, color-mix(in srgb, var(--signal) 75%, #000) 5px 6px);
  border-radius: 3px; z-index: -1;
}
.badge::after { /* dziurka */
  content: ""; position: absolute; left: 50%; top: 12px; width: 46px; height: 9px; translate: -50% 0;
  border-radius: 9px; background: var(--paper); border: 1px solid var(--line);
}
.badge-top { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.badge-role { margin-top: 1rem; background: var(--navy); color: var(--on-navy); font-family: var(--f-display); font-weight: 600; font-size: 1.6rem; letter-spacing: 0.04em; text-align: center; padding: 0.5rem; border-radius: 4px; }
.badge-stats { margin-top: 1.1rem; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 0.8rem; }
.badge-stats div { border-top: 2px solid var(--line); padding-top: 0.5rem; }
.badge-stats b { display: block; font-family: var(--f-display); font-size: 1.9rem; line-height: 1; font-variant-numeric: tabular-nums; }
.badge-stats span { font-size: 0.82rem; color: var(--muted); line-height: 1.35; display: block; margin-top: 0.3rem; }
.badge-foot { margin-top: 1.2rem; display: flex; justify-content: space-between; align-items: center; font-family: var(--f-mono); font-size: 0.7rem; color: var(--muted); letter-spacing: 0.08em; }
.barcode { height: 22px; width: 110px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px); opacity: .8; }

/* dwie ścieżki */
.paths { display: grid; grid-template-columns: 1.15fr 1fr; gap: 1.2rem; }
.path {
  display: flex; flex-direction: column; gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.4rem); border-radius: var(--r);
  text-decoration: none; color: inherit;
}
.path-events { background: var(--navy); color: var(--on-navy); }
.path-events .muted, .path-events .tag { color: var(--on-navy-soft); }
.path-industry { background: var(--surface); border: 1px solid var(--line); }
.path ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.45rem; }
.path li { padding-left: 1.3rem; position: relative; }
.path li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 0.6rem; height: 2px; background: var(--steel); }
.path .go { margin-top: auto; font-weight: 700; display: inline-flex; gap: .4rem; align-items: center; }
.path:hover .go span { transform: translateX(4px); }
.path .go span { transition: transform .15s ease; }

/* siatki */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.2rem; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }

.point { display: flex; flex-direction: column; gap: 0.55rem; padding-top: 1rem; border-top: 3px solid var(--ink); }
.band-navy .point { border-top-color: var(--steel); }
.point p { color: var(--ink-soft); }
.band-navy .point p { color: var(--on-navy-soft); }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.card p { color: var(--ink-soft); }

/* lista typów wydarzeń */
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { font-size: 0.92rem; font-weight: 600; padding: 0.45rem 0.85rem; border-radius: 999px; border: 1.5px solid var(--line); background: var(--surface); }
.band-navy .chip { background: transparent; border-color: var(--navy-2); color: var(--on-navy); border-color: color-mix(in srgb, var(--on-navy) 25%, transparent); }

/* zdjęcia: miejsca na zdjęcia do uzupełnienia */
.photo {
  position: relative; margin: 0; border-radius: var(--r); overflow: hidden;
  aspect-ratio: 4 / 3; max-width: 100%;
  background:
    linear-gradient(135deg, var(--navy-2) 0%, var(--night) 100%);
  display: flex; align-items: flex-end;
}
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo figcaption {
  position: relative; margin: 0.8rem; padding: 0.4rem 0.6rem; border-radius: 4px;
  font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.06em; text-transform: uppercase;
  background: rgba(7, 17, 29, 0.72); color: #c8d3df;
}
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.portrait { aspect-ratio: 3 / 4; width: 100%; max-width: 360px; justify-self: center; margin-inline: auto; }
.photo::before { /* znaczniki kadrowania */
  content: ""; position: absolute; inset: 14px;
  background:
    linear-gradient(#c8d3df, #c8d3df) top left / 18px 2px no-repeat,
    linear-gradient(#c8d3df, #c8d3df) top left / 2px 18px no-repeat,
    linear-gradient(#c8d3df, #c8d3df) top right / 18px 2px no-repeat,
    linear-gradient(#c8d3df, #c8d3df) top right / 2px 18px no-repeat,
    linear-gradient(#c8d3df, #c8d3df) bottom right / 18px 2px no-repeat,
    linear-gradient(#c8d3df, #c8d3df) bottom right / 2px 18px no-repeat;
  opacity: 0.55;
}
.photo:has(img)::before { display: none; }

/* cennik */
.price-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
.price-table th, .price-table td { text-align: left; padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child td { border-bottom: 0; }
.price-table th { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.price-table td:last-child { text-align: right; white-space: nowrap; }
.price-table .amount { font-family: var(--f-display); font-weight: 600; font-size: 1.25rem; }
.price-table .desc { display: block; font-size: 0.9rem; color: var(--muted); margin-top: 0.15rem; }
.price-note { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); max-width: 75ch; }

.offer-strip {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between;
  background: var(--navy); color: var(--on-navy); border-radius: var(--r);
  padding: 1.3rem clamp(1.2rem, 3vw, 2rem);
}
.offer-strip b { font-family: var(--f-display); font-size: 1.5rem; }
.offer-strip .btn { background: var(--signal); color: var(--signal-ink); }

/* uczciwe zasady */
.rules { counter-reset: r; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid color-mix(in srgb, var(--on-navy) 20%, transparent); }
.rule { display: grid; grid-template-columns: auto 1fr; gap: 0.3rem 1rem; padding: 1.4rem 1.2rem 1.4rem 0; border-bottom: 1px solid color-mix(in srgb, var(--on-navy) 20%, transparent); }
.rule-icon { grid-row: span 2; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--signal); display: grid; place-items: center; color: var(--signal); }
.rule-icon svg { width: 20px; height: 20px; }
.rule h3 { color: var(--on-navy); }
.rule p { color: var(--on-navy-soft); font-size: 0.97rem; }

/* proces: to jest realna sekwencja, więc kroki są numerowane */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; counter-reset: s; }
.steps li { counter-increment: s; display: flex; flex-direction: column; gap: 0.5rem; padding-top: 1rem; border-top: 3px solid var(--ink); }
.steps li::before { content: "Krok " counter(s); font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.steps p { color: var(--ink-soft); font-size: 0.97rem; }

/* zespół */
.person { display: grid; grid-template-columns: 200px 1fr; gap: 1.5rem; align-items: start; }
.person .photo { aspect-ratio: 4 / 5; }
.person h3 { font-size: 1.45rem; }
.role { font-family: var(--f-mono); font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }

/* CTA */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; }
.cta .actions { display: flex; flex-wrap: wrap; gap: 0.8rem; justify-content: flex-end; }

/* formularz */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; }
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field.full { grid-column: 1 / -1; }
.field label { font-weight: 700; font-size: 0.92rem; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--surface); border: 1.5px solid var(--line); border-radius: var(--r);
  padding: 0.8rem 0.9rem; width: 100%;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--signal); box-shadow: 0 0 0 3px color-mix(in srgb, var(--signal) 35%, transparent); }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.88rem; color: var(--muted); }
.check input { margin-top: 0.3rem; width: 18px; height: 18px; accent-color: var(--signal); flex: none; }
.form-status { grid-column: 1 / -1; border-radius: var(--r); padding: 1rem 1.2rem; background: var(--signal-soft); border: 1px solid var(--signal); }
.form-status pre { white-space: pre-wrap; font-family: var(--f-mono); font-size: 0.85rem; margin: 0.6rem 0 0; }

.contact-list { display: grid; gap: 1.2rem; }
.contact-list div { display: flex; flex-direction: column; gap: 0.1rem; }
.contact-list dt { font-family: var(--f-mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.contact-list dd { margin: 0; font-size: 1.15rem; font-weight: 700; }

/* stopka */
.site-footer { background: var(--night); color: var(--on-navy-soft); padding-block: 3rem 2rem; font-size: 0.93rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.foot-grid h4 { margin: 0 0 0.8rem; font-family: var(--f-mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-navy-soft); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer .logo { color: var(--on-navy); }
.site-footer .logo-word span { color: var(--on-navy-soft); }
.foot-bottom { margin-top: 2.5rem; padding-top: 1.2rem; border-top: 1px solid color-mix(in srgb, var(--on-navy) 15%, transparent); display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
.site-footer .ph { color: #ffc757; border-color: #ffc757; }

/* podstrony */
.page-hero { padding-block: clamp(2.5rem, 6vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--f-mono); font-size: 1.3rem; line-height: 1; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin-top: 0.7rem; color: var(--ink-soft); max-width: 75ch; }

.prose { max-width: 72ch; display: flex; flex-direction: column; gap: 1rem; }
.prose h2 { font-size: 1.5rem; margin-top: 1.5rem; }
.prose ul { margin: 0; padding-left: 1.2rem; display: grid; gap: 0.3rem; }

@media (max-width: 960px) {
  .grid-4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .hero-grid, .page-hero-grid, .paths, .cta, .grid-3 { grid-template-columns: 1fr; }
  .grid-2, .rules { grid-template-columns: 1fr; }
  .cta .actions { justify-content: flex-start; }
  .badge { transform: rotate(1.2deg); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .steps, .form, .foot-grid { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .photo { max-width: 260px; }
  .price-table th, .price-table td { padding: 0.8rem 0.9rem; }
}

/* ---- v2: pasek sezonowy, formularze, galeria, artykuły ---- */
.announce { background: var(--night); color: var(--on-navy); font-size: 0.92rem; font-weight: 600; }
.announce .wrap { display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; align-items: center; justify-content: center; padding-block: 0.55rem; text-align: center; }
.announce a { color: var(--signal-ink); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.2rem; }
.stat b { display: block; font-family: var(--f-display); font-weight: 600; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 0.4rem; color: var(--muted); font-size: 0.95rem; }
.band-navy .stat span { color: var(--on-navy-soft); }

.fieldset { grid-column: 1 / -1; border: 0; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.fieldset legend { font-weight: 700; font-size: 0.92rem; padding: 0; margin-bottom: 0.4rem; }
.opts { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.opt { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.8rem; border: 1.5px solid var(--line); border-radius: var(--r); background: var(--surface); font-size: 0.93rem; cursor: pointer; }
.opt input { width: 16px; height: 16px; accent-color: var(--signal); margin: 0; }
.opt:has(input:checked) { border-color: var(--signal); background: var(--signal-soft); }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.gallery .item { display: flex; flex-direction: column; gap: 0.6rem; }
.gallery .item p { color: var(--ink-soft); font-size: 0.95rem; }

.two-col { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.sidebar-cta { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }

.article { max-width: 70ch; display: flex; flex-direction: column; gap: 1.1rem; }
.article h2 { font-size: 1.55rem; margin-top: 1.4rem; }
.article ul, .article ol { margin: 0; padding-left: 1.3rem; display: grid; gap: 0.4rem; }
.article .checklist { list-style: none; padding: 0; }
.article .checklist li { padding-left: 1.8rem; position: relative; }
.article .checklist li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.05rem; height: 1.05rem; border: 2px solid var(--signal); border-radius: 3px; }

.crumbs { font-size: 0.88rem; color: var(--muted); }
.crumbs a { color: var(--muted); }

.people-contact { display: grid; gap: 1.2rem; }
.people-contact .card { gap: 0.2rem; }
.people-contact .card b { font-size: 1.1rem; }

@media (max-width: 960px) { .stats, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .two-col { grid-template-columns: 1fr; } .sidebar-cta { position: static; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* ---- v3: logo według księgi znaku i hero z key visualem ---- */
.logo { gap: 0.55rem; }
.logo-mark { width: auto; height: 38px; }
.logo-word { font-family: var(--f-display); font-weight: 400; font-size: 1.28rem; letter-spacing: 0.01em; line-height: 1; }
.logo-word span, .logo-word b { color: inherit; font-weight: 600; }
.site-footer .logo-word span, .site-footer .logo-word b { color: var(--on-navy); }
.logo-desc { display: block; font-size: 0.62rem; font-weight: 500; letter-spacing: 0.22em; margin-top: 0.35rem; color: var(--muted); }
.site-footer .logo-desc { color: var(--on-navy-soft); }

.hero-kv {
  position: relative; color: var(--on-navy);
  background: #08131f url("img/key-visual.webp") 78% center / cover no-repeat;
  padding-block: clamp(3.5rem, 9vw, 7rem) clamp(2.5rem, 6vw, 4rem);
}
.hero-kv::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,19,31,.96) 0%, rgba(8,19,31,.85) 42%, rgba(8,19,31,.2) 75%, rgba(8,19,31,0) 100%); }
.hero-kv > .wrap { position: relative; }
.hero-kv .stack { max-width: 640px; }
.hero-kv .lede { color: var(--on-navy-soft); }
.hero-kv .tag { color: var(--on-navy-soft); }
.hero-kv .hero-note { color: var(--on-navy-soft); }
.hero-kv .btn-line { color: var(--on-navy); }
.hero-kv .stats { margin-top: clamp(2.5rem, 6vw, 4rem); padding-top: 1.5rem; border-top: 1px solid rgba(200,211,223,.25); }
.hero-kv .stat span { color: var(--on-navy-soft); }
.slogan { font-family: var(--f-display); font-weight: 600; font-size: 1.1rem; color: var(--on-navy); }
.slogan i { font-style: normal; color: var(--signal); }
@media (max-width: 820px) {
  .hero-kv { background-position: 70% 20%; }
  .hero-kv::before { background: linear-gradient(180deg, rgba(8,19,31,.72) 0%, rgba(8,19,31,.92) 55%, rgba(8,19,31,.97) 100%); }
}
.legal { font-size: 0.85rem; color: var(--on-navy-soft); }
.hero-kv h1 em { font-style: normal; color: var(--signal); }
.nav a, .btn { white-space: nowrap; }
@media (min-width: 1081px) and (max-width: 1240px) { .nav { gap: 0.7rem; } .nav a { font-size: 0.86rem; } .nav .btn { padding-inline: 0.9rem; } }
.tel { color: inherit; text-decoration: none; }
.tel:hover { text-decoration: underline; }

/* Formularz wyceny z zakładkami */
.tabs .tabbar { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.tab { display: inline-flex; align-items: center; padding: 0.6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--surface); font-weight: 600; font-size: 0.93rem; cursor: pointer; }
.tab input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tab:has(input:checked) { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.tab:has(input:focus-visible) { outline: 3px solid var(--signal); outline-offset: 2px; }
.panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.2rem; border: 0; padding: 1.2rem 0 0; margin: 0; min-width: 0; border-top: 1px solid var(--line); }
.panel[hidden] { display: none; }
.panel-title { float: left; width: 100%; grid-column: 1 / -1; padding: 0; margin: 0 0 0.2rem; font-size: 1.05rem; font-weight: 700; }
@media (max-width: 560px) { .panel { grid-template-columns: 1fr; } }
.fieldset { min-width: 0; }
@media (min-width: 821px) { .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }

/* ==== v4: kompozycja i UX (28.09.2026) ====
   Zasady: pomarańcz tylko na głównym wezwaniu do działania (efekt izolacji von Restorffa),
   przekątna barokowa (lewy dół -> prawy górny róg) w tłach i krawędziach sekcji,
   linia Hogartha (S) prowadząca przez kroki, światłocień i kadr na zdjęciach. */

/* Typografia: jeden rytm, ciaśniejsze nagłówki */
h1 { letter-spacing: -0.02em; line-height: 1.04; }
h2 { letter-spacing: -0.015em; }
.lede { max-width: 58ch; }
.section-head .lede { max-width: 56ch; }

/* Jeden ciepły akcent: kropki etykiet, ikony i linki na granacie w stali, nie w pomarańczu */
.tag::before { background: currentColor; opacity: .55; }
.rule-icon { border-color: var(--steel); color: var(--steel); }
.band-navy a:not(.btn) { color: var(--on-navy); text-decoration-color: color-mix(in srgb, var(--on-navy) 45%, transparent); }
.nav a:hover, .nav a[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--ink); }
.opt input, .check input { accent-color: var(--navy-2); }
.opt:has(input:checked) { border-color: var(--ink); background: var(--signal-soft); }
.article .checklist li::before { border-color: var(--ink); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ink) 18%, transparent); }
.form-status { border-color: var(--ink); }
.hero-kv h1 em, .hero h1 em { color: var(--steel); }
.slogan i { color: var(--steel); }

/* Główne wezwanie: przerysowany akcent (efekt przesunięcia szczytowego) i strzałka kierunku */
.btn-signal { box-shadow: 0 10px 28px -12px color-mix(in srgb, var(--signal) 80%, transparent); }
.btn-signal:hover { box-shadow: 0 14px 32px -12px color-mix(in srgb, var(--signal) 90%, transparent); }
.btn .arr { transition: transform .2s ease; }
.btn:hover .arr { transform: translateX(3px); }
.btn { min-height: 48px; }

/* Hero: kolumna tekstu w proporcji złotej, smuga światła po przekątnej barokowej */
.hero-kv .stack { max-width: 61.8%; }
.hero-kv::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(58deg, transparent 42%, rgba(200,211,223,.07) 52%, transparent 62%);
}
.hero-kv .stats { position: relative; }
@media (max-width: 820px) { .hero-kv .stack { max-width: none; } }

/* Sekcje granatowe: górna krawędź wznosi się od lewej do prawej */
.band-navy { clip-path: polygon(0 clamp(18px, 3vw, 44px), 100% 0, 100% 100%, 0 100%); padding-top: calc(clamp(3.5rem, 8vw, 6.5rem) + clamp(18px, 3vw, 44px)); }

/* Zdjęcia: światłocień, światło krawędziowe i kadr domykany przez oko (dwa narożniki) */
.photo:has(img) { box-shadow: 0 24px 48px -28px rgba(8,19,31,.55); isolation: isolate; }
.photo img { filter: contrast(1.06) saturate(1.04); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.photo:has(img):hover img { transform: scale(1.03); }
.photo:has(img)::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background:
    radial-gradient(120% 90% at 30% 25%, transparent 55%, rgba(8,19,31,.38) 100%),
    linear-gradient(58deg, rgba(8,19,31,.18) 0%, transparent 40%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.22);
}
.photo:has(img)::before {
  display: block; z-index: 2; opacity: .9; inset: 12px;
  background:
    linear-gradient(#fff, #fff) top left / 22px 2px no-repeat,
    linear-gradient(#fff, #fff) top left / 2px 22px no-repeat,
    linear-gradient(#fff, #fff) bottom right / 22px 2px no-repeat,
    linear-gradient(#fff, #fff) bottom right / 2px 22px no-repeat;
}

/* Karty i ścieżki: czytelna afordancja (cały kafel jest klikalny) */
a.card, a.path { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover, a.path:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(8,19,31,.5); }
a.card:hover { border-color: var(--ink); }

/* Kroki: linia Hogartha (S) wznosząca się od lewej do prawej, punkty na każdym kroku */
@media (min-width: 961px) {
  .steps:not([style]) {
    padding-top: 64px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 60' preserveAspectRatio='none'%3E%3Cpath d='M0,52 C220,52 280,30 500,30 C720,30 780,8 1000,8' fill='none' stroke='%23132d4b' stroke-width='2.5' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") top left / 100% 60px no-repeat;
  }
  .steps:not([style]) li { position: relative; border-top: 0; padding-top: 0.4rem; }
  .steps:not([style]) li::after {
    content: ""; position: absolute; left: 0; width: 14px; height: 14px; border-radius: 50%;
    background: var(--paper); border: 3px solid var(--ink); translate: 0 -50%;
  }
  .steps:not([style]) li:nth-child(1)::after { top: -12px; }
  .steps:not([style]) li:nth-child(2)::after { top: -23.6px; }
  .steps:not([style]) li:nth-child(3)::after { top: -34px; }
  .steps:not([style]) li:nth-child(4)::after { top: -45.6px; }
  .steps:not([style]) li:last-child::after { background: var(--ink); }
}
@media (min-width: 961px) and (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .steps:not([style]) { filter: invert(1) hue-rotate(180deg); }
  :root:not([data-theme="light"]) .steps:not([style]) li { filter: invert(1) hue-rotate(180deg); }
}
/* Kroki pionowe i na telefonie: linia prowadząca z lewej */
.steps[style] li, .steps li { position: relative; }
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr !important; gap: 0; }
  .steps li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 1.4rem 1.4rem; margin-left: 7px; }
  .steps li::after { content: ""; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
  .steps li:last-child { border-left-color: transparent; }
}
.steps[style] { gap: 0 !important; }
.steps[style] li { border-top: 0; border-left: 2px solid var(--line); padding: 0 0 1.4rem 1.4rem; margin-left: 7px; }
.steps[style] li::after { content: ""; position: absolute; left: -8px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); border: 3px solid var(--ink); }
.steps[style] li:last-child { border-left-color: transparent; }

/* Nawigacja klawiaturą i kotwice pod przyklejonym nagłówkiem */
.skip { position: absolute; left: 1rem; top: -60px; z-index: 50; background: var(--ink); color: var(--paper); padding: .7rem 1rem; border-radius: var(--r); font-weight: 600; text-decoration: none; }
.skip:focus { top: .6rem; }
[id] { scroll-margin-top: 96px; }
.opt, .tab { min-height: 44px; }

/* Pasek akcji na telefonie: telefon i wycena zawsze pod kciukiem */
.mbar { display: none; }
@media (max-width: 820px) {
  .mbar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: .6rem;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding: .6rem var(--gutter) calc(.6rem + env(safe-area-inset-bottom, 0px));
    background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(8px);
    border-top: 1px solid var(--line);
  }
  .mbar .btn { padding: .8rem; font-size: .95rem; }
  .mbar .btn-line { color: var(--ink); }
  body { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}

/* CTA: cały przycisk z telefonem jest linkiem */
.band-navy .btn-line { color: var(--on-navy); }
