/* ClaimSpot — wypadek samochodowy w UK. Wersja 4 (14.10): baza wersji 3 + warstwa pierwszego ekranu na końcu pliku.
   Zasady: czytelność przed ozdobą. Ciemny tekst na jasnym tle tam, gdzie się czyta; tekst krojem
   Atkinson Hyperlegible Next (zaprojektowany dla czytelności), nagłówki Plus Jakarta Sans bez ściskania liter.
   Jeden mocny element: narzędzie zgłoszenia w pierwszym ekranie. Zieleń #29d294 tylko na przyciskach akcji.
   Kontrast tekstu >= 4,5:1, cele dotyku >= 44 px. */

@font-face { font-family: Atkinson; src: url(assets/atkinson-next-latin.woff2) format('woff2'); font-weight: 200 800; font-display: swap; }
@font-face { font-family: Atkinson; src: url(assets/atkinson-next-latin-ext.woff2) format('woff2'); font-weight: 200 800; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF; }

:root {
  --navy: #164659;
  --navy-deep: #0f3446;
  --ink: #17262d;
  --muted: #475c66;
  --link: #0a6a92;
  --sky: #39b5e6;
  --sky-light: #9fdaf3;
  --mist: #f1f6f8;
  --mist-strong: #e3eef3;
  --line: #d2e0e6;
  --line-strong: #93afbc;
  --on-dark: #ffffff;
  --on-dark-soft: #dbe9ef;
  --green: #29d294;
  --green-hover: #22c286;
  --green-ink: #0e3242;
  --gold: #c98d00;
  --pic-accent: #39b5e6;
  --display: Jakarta, Arial, sans-serif;
  --text: Atkinson, Verdana, Arial, sans-serif;
  --sec: 72px;
  --gutter: 20px;
}

html { -webkit-text-size-adjust: 100%; }
body { background: #fff; color: var(--ink); font-family: var(--text); font-size: 18px; line-height: 1.6; overflow-x: clip; }
button, input { font-family: var(--text); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
svg { flex-shrink: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: var(--gutter); }

h1, h2, h3 { font-family: var(--display); color: var(--navy); font-weight: 750; letter-spacing: -0.01em; }
h2 { font-size: 28px; line-height: 1.18; margin: 0 0 14px; text-wrap: balance; }
h3 { font-size: 20px; line-height: 1.3; letter-spacing: 0; margin: 0 0 8px; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: var(--link); text-underline-offset: 3px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 14px 20px;
  border: 2px solid transparent; border-radius: 12px;
  font-family: var(--text); font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--green); border-color: var(--green); color: var(--green-ink); }
.btn-primary:hover { background: var(--green-hover); border-color: var(--green-hover); }
.btn-wa, .btn-quiet { background: #fff; border-color: var(--line-strong); color: var(--ink); }
.btn-wa:hover, .btn-quiet:hover { border-color: var(--navy); }
.btn-block { width: 100%; }
.site-header :focus-visible, .costs :focus-visible, .site-footer :focus-visible { outline-color: #fff; }

/* ---------- Nagłówek strony ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--navy); color: #fff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; }
.brand { display: flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: 132px; height: auto; }
.header-nav { display: none; }
.header-call {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px;
  border-radius: 999px; background: #fff; color: var(--navy);
  font-size: 17px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-call-number { display: none; }

/* ---------- Pierwszy ekran: nagłówek, jedno zdanie i narzędzie zgłoszenia ---------- */
.hero { background: var(--mist); padding: 14px 0 32px; border-bottom: 1px solid var(--line); }
.hero-grid { display: grid; gap: 10px; }
.hero h1 { margin: 0 0 10px; font-size: clamp(25px, 7vw, 30px); line-height: 1.15; }
.hero-lead { margin: 0; max-width: 32em; font-size: 18px; line-height: 1.5; color: var(--ink); text-wrap: wrap; }
.hero-rating { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; min-height: 44px; margin-top: 2px; font-size: 16px; color: var(--ink); text-decoration: none; }
.hero-rating strong { font-family: var(--display); font-weight: 700; color: var(--navy); }

.tool {
  scroll-margin-top: 72px;
  padding: 18px 16px 14px; border: 2px solid var(--navy); border-radius: 16px; background: #fff;
  box-shadow: 0 20px 40px -30px rgba(14, 50, 66, 0.55);
}
.tool-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 0 0 14px; }
.tool-progress { flex: none; margin: 0; padding: 2px 10px; border-radius: 999px; background: var(--mist-strong); font-size: 15px; font-weight: 700; color: var(--navy); white-space: nowrap; }
.tool-title { margin: 0; font-size: 23px; line-height: 1.2; }
.tool-title:focus { outline: none; }
.tool-options { display: grid; gap: 10px; }
.tool-option {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 70px; padding: 10px 12px 10px 14px;
  border: 2px solid var(--line-strong); border-radius: 12px; background: #fff;
  color: var(--ink); text-align: left; cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tool-option:hover { border-color: var(--navy); background: var(--mist); }
.tool-option:focus-visible { outline-offset: 2px; }
.tool-icon { width: 40px; height: 40px; color: var(--navy); }
.tool-option-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.tool-option-text strong { font-size: 19px; font-weight: 700; line-height: 1.25; color: var(--navy); }
.tool-option-text span { font-size: 16px; line-height: 1.35; color: var(--muted); }
.tool-chevron { margin-left: auto; color: var(--link); }
.tool-choice {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px;
  margin: -4px 0 6px; font-size: 16px; color: var(--ink);
}
.tool label, .form-card form label { margin: 16px 0 6px; font-size: 17px; font-weight: 700; color: var(--ink); }
.tool input:not([type=hidden]), .form-card input:not([type=hidden]) {
  min-height: 56px; border: 2px solid var(--line-strong); border-radius: 10px; font-size: 18px; color: var(--ink);
}
.tool input:not([type=hidden]):focus, .form-card input:not([type=hidden]):focus { border-color: var(--navy); outline: 3px solid var(--sky); outline-offset: 1px; }
.tool small, .form-card small { margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--muted); }
.tool .form-submit { margin-top: 20px; }
.tool-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 8px; margin: 12px 0 0; font-size: 16px; color: var(--muted); }
.tool-wa { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 4px; font-weight: 700; color: var(--ink); }
.tool-wa img { width: 24px; height: 24px; }
.tool.is-enhanced [data-tool-step][hidden] { display: none; }

.hero-trust { display: grid; gap: 8px; margin-top: 4px; }
.hero-trust li, .hero-trust a { display: flex; align-items: center; gap: 10px; font-size: 16px; line-height: 1.4; color: var(--ink); text-decoration: none; }
.hero-trust a { min-height: 44px; }
.hero-trust strong { font-weight: 700; color: var(--navy); }
.trust-icon { width: 24px; height: 24px; color: var(--navy); }
.stars { display: inline-flex; gap: 1px; color: var(--gold); }
/* numery telefonu i wyróżnione liczby krojem nagłówków (zero w Atkinson jest przekreślone i w numerach wygląda technicznie) */
.header-call, .hero-trust li, .faq-contact .btn, .footer-contact a, .footer-fee, .contact-proof li, .reviews-meta { font-family: var(--display); }
.num { font-family: var(--display); font-weight: inherit; } /* liczby z zerem w tekście: zero bez przekreślenia */

.crash-jump { margin: 0; font-size: 17px; }
.crash-jump a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--link); }

/* ---------- Sekcje: rytm teł (biel / jasny błękit / jeden granatowy pas) ---------- */
main > section:not(.hero) { padding-block: var(--sec); }
/* hero (jasny błękit) → pas zaufania (biel) → pomoc (błękit) → rodzaje wypadków (biel) → sprawy (błękit) → opinie (biel) → kwoty (błękit) → koszty (granat) → proces (biel) → stłuczka (błękit) → pytania (biel) → kontakt (błękit).
   14.10 (Michał): „Jak pomagamy” i „Rodzaje wypadków” stały na jednym białym tle i się zlewały — rodzaje dostały własną sekcję. */
.types-sec, .reviews-sec, .how, .faq { background: #fff; }
.paths, .stories, .amounts, .crash, .contact { background: var(--mist); }
.section-head { max-width: 40em; margin-bottom: 32px; }
.section-head p { margin: 0; max-width: 36em; font-size: 18px; line-height: 1.6; color: var(--ink); }
.section-head p + p { margin-top: 12px; }
.cta-row { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 36px; }
.cta-note { margin: 0; font-size: 16px; text-align: center; color: var(--muted); }

/* ---------- W czym pomagamy ---------- */
.path-grid { display: grid; gap: 40px; }
.path-card { scroll-margin-top: 84px; outline: 3px solid transparent; outline-offset: 12px; border-radius: 2px; transition: outline-color 0.6s ease; }
.path-card.is-target { outline-color: var(--link); }
.path-icon { display: block; width: 48px; height: 48px; margin-bottom: 14px; color: var(--navy); }
.path-kicker { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--link); }
.path-card h3 { margin-bottom: 12px; font-size: 22px; }
.ticks { border-top: 2px solid var(--navy); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.45; color: var(--ink); }
.path-link { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 8px; font-size: 18px; font-weight: 700; color: var(--link); text-decoration-thickness: 2px; }
.path-link svg { display: none; }

.types .section-head { margin-bottom: 24px; }
.types-list { display: grid; border-top: 2px solid var(--navy); }
.types-list li { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.types-list h3 { margin: 0 0 6px; font-size: 20px; }
.types-list p { margin: 0; max-width: 32em; font-size: 18px; line-height: 1.55; }
.types .path-link { margin-top: 16px; }

/* ---------- Sprawy klientów ---------- */
.cases { display: grid; border-top: 2px solid var(--navy); }
.case { padding: 28px 0; border-bottom: 1px solid var(--line); }
.case-amount { margin: 0 0 12px; font-family: var(--display); font-size: 48px; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: var(--navy); font-variant-numeric: lining-nums; }
.case-amount .cur { margin-right: 2px; font-size: 0.6em; vertical-align: 0.45em; color: var(--link); letter-spacing: 0; }
.case-who { margin: 0; font-size: 18px; color: var(--ink); }
.case-who strong { color: var(--navy); }
.case-tag { margin: 2px 0 10px; font-size: 16px; font-weight: 700; color: var(--link); }
.case-text { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.6; }
.case-disclaimer { max-width: 48em; margin: 24px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }

/* ---------- Opinie ---------- */
.reviews-grid { display: grid; gap: 36px; }
.reviews-head { display: grid; justify-items: start; gap: 2px; }
.reviews-head h2 { margin: 0 0 10px; }
.reviews-score { display: flex; align-items: center; gap: 12px; margin: 0; }
.score { font-family: var(--display); font-size: 56px; font-weight: 800; line-height: 1; color: var(--navy); }
.stars-lg { color: var(--gold); }
.reviews-meta { margin: 8px 0 0; font-size: 16px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; min-height: 48px; font-size: 18px; font-weight: 700; color: var(--link); text-decoration-thickness: 2px; }
.reviews { display: grid; gap: 32px; }
.review { margin: 0; max-width: 36em; padding-top: 20px; border-top: 2px solid var(--navy); }
.review-mark { display: block; width: 28px; height: 28px; margin-bottom: 10px; color: var(--sky); }
.review blockquote { margin: 0; font-size: 18px; line-height: 1.6; color: var(--ink); }
.review blockquote strong { font-weight: 400; }
.review figcaption { margin-top: 12px; font-size: 16px; color: var(--muted); }
.review figcaption strong { color: var(--navy); }
/* Opinie: jedna lista w jednej siatce. Zwinięta pokazuje 3 na telefonie (1 kolumna) i 4 na komputerze (2 kolumny, bez dziury);
   przycisk dokłada resztę w tym samym miejscu siatki (14.10, uwaga Michała: po rozwinięciu „nic się nie pokazuje”, na komputerze dziura).
   Bez JavaScriptu lista nie jest zwinięta, a przycisk zostaje ukryty. */
.reviews.is-collapsed .review-more, .reviews.is-collapsed .review-more-mobile { display: none; }
.more-reviews-btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 52px; margin-top: 32px; padding: 12px 20px;
  border: 2px solid var(--line-strong); border-radius: 12px; background: #fff;
  color: var(--ink); font-size: 18px; font-weight: 700; cursor: pointer;
}
.more-reviews-btn[hidden] { display: none; }
.more-reviews-btn:hover { border-color: var(--navy); }
.more-reviews-btn svg { transition: transform 0.2s ease; }
.more-reviews-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.more-reviews-btn .when-open, .more-reviews-btn[aria-expanded="true"] .when-closed { display: none; }
.more-reviews-btn[aria-expanded="true"] .when-open { display: inline; }
.reviews li:focus { outline: none; }

/* ---------- Ile możesz uzyskać ---------- */
.amount-list { display: grid; border-top: 2px solid var(--navy); }
.amount-list li { display: grid; gap: 2px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.amount-name { font-size: 18px; font-weight: 700; color: var(--navy); }
.amount-desc { font-size: 16px; color: var(--muted); }
.amount-range { font-family: var(--display); font-size: 20px; font-weight: 750; color: var(--ink); font-variant-numeric: tabular-nums lining-nums; }
.amount-note { max-width: 48em; margin: 20px 0 0; font-size: 16px; line-height: 1.55; color: var(--muted); }
.extras { margin-top: 48px; }
.extras h3 { font-size: 22px; }
.extras-list { display: grid; gap: 0; margin-top: 12px; border-top: 2px solid var(--navy); }
.extras-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.extras-list h4 { margin: 0 0 4px; font-family: var(--display); font-size: 19px; color: var(--navy); }
.extras-list p { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; }

/* ---------- Koszty — jedyny ciemny pas ---------- */
.costs { color: var(--on-dark); background: var(--navy); }
.costs h2, .costs h3 { color: #fff; }
.costs .section-head { margin-bottom: 0; }
.costs .section-head p { color: var(--on-dark); }
.costs-grid { display: grid; gap: 32px; }
.costs-art { display: none; }
.costs-notes { display: grid; gap: 12px; margin-top: 20px; }
.costs-notes li { display: flex; align-items: flex-start; gap: 12px; font-size: 18px; line-height: 1.5; color: var(--on-dark); }
.costs-notes svg { margin-top: 2px; color: var(--sky-light); }
.fees { margin: 0; border-top: 2px solid var(--sky-light); }
.fee { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.28); }
.fee svg { margin-top: 2px; color: var(--sky-light); }
.fee-main { margin: 0; font-size: 19px; font-weight: 700; line-height: 1.4; color: #fff; }
.fee-rest { font-weight: 400; color: var(--on-dark-soft); }
.fee-note { margin: 4px 0 0; font-size: 17px; line-height: 1.5; color: var(--on-dark-soft); }
.fee-link, .inline-more { display: inline-flex; align-items: center; min-height: 44px; font-size: 17px; font-weight: 700; color: var(--link); text-decoration-thickness: 2px; }
.costs .fee-link { color: var(--sky-light); }
.costs .cta-row { margin-top: 0; }
.costs .cta-note { color: var(--on-dark-soft); }

/* ---------- Jak to działa — droga z przystankami ---------- */
.how-grid { display: grid; }
.route { position: relative; display: grid; gap: 32px; }
.route::before { content: ""; position: absolute; left: 6px; top: 0; bottom: 0; width: 36px; background: var(--navy); }
.route::after { content: ""; position: absolute; left: 23px; top: 0; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--sky-light) 0 12px, transparent 12px 24px); }
.route li { position: relative; z-index: 1; display: grid; grid-template-columns: 48px minmax(0, 1fr); align-content: start; gap: 18px; }
.route-no { display: grid; place-items: center; width: 48px; height: 48px; background: #fff; border: 3px solid var(--navy); color: var(--navy); font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1; }
.who { margin: 0 0 2px; font-size: 15px; font-weight: 700; color: var(--link); }
.route h3 { margin-bottom: 4px; font-size: 20px; }
.route p:not(.who) { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; }
.deadline {
  display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px 16px; align-items: start;
  margin-top: 48px; padding: 22px 18px; border: 2px solid var(--navy); border-radius: 16px; background: #fff; scroll-margin-top: 84px;
}
.deadline-icon { width: 48px; height: 48px; color: var(--navy); }
.deadline-head h3 { margin: 4px 0 4px; font-size: 22px; }
.deadline-head p { margin: 0; font-size: 18px; font-weight: 700; color: var(--ink); }
.deadline ul { grid-column: 1 / -1; display: grid; margin-top: 4px; border-top: 1px solid var(--line); }
.deadline li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 18px; line-height: 1.5; color: var(--ink); }
.deadline li:last-child { border-bottom: 0; padding-bottom: 0; }

/* ---------- Po stłuczce ---------- */
.crash { scroll-margin-top: 60px; }
.checklist { display: grid; column-gap: 56px; border-top: 2px solid var(--navy); }
.checklist li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 12px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.check-no { font-family: var(--display); font-size: 32px; font-weight: 800; line-height: 1; color: var(--link); }
.checklist h3 { margin: 2px 0 6px; font-size: 20px; }
.checklist p { margin: 0; font-size: 18px; line-height: 1.55; }

/* ---------- Pytania ---------- */
.faq-grid { display: grid; gap: 8px; }
.faq .section-head { margin-bottom: 28px; }
.faq-contact { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.faq-contact .btn { min-height: 52px; gap: 8px; padding: 10px 16px; font-size: 17px; }
.faq-list { border-top: 2px solid var(--navy); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0;
  font-family: var(--text); font-size: 19px; font-weight: 700; line-height: 1.35; color: var(--navy); cursor: pointer; list-style: none;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: 0 0 12px; width: 12px; height: 12px; margin: -6px 4px 0 0;
  border-right: 2.5px solid var(--link); border-bottom: 2.5px solid var(--link); transform: rotate(45deg); transition: transform 0.2s ease;
}
.faq-list details[open] summary::after { margin-top: 6px; transform: rotate(-135deg); }
.answer { padding: 0 0 20px; }
.answer p { margin: 0; max-width: 38em; font-size: 18px; line-height: 1.6; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-head h2 { margin-bottom: 12px; }
.contact-head p { margin: 0; max-width: 30em; font-size: 18px; }
.form-card { padding: 22px 18px 24px; border: 2px solid var(--navy); border-radius: 16px; background: #fff; }
.form-card form > label:first-of-type { margin-top: 0; }
.form-card .optional { font-weight: 400; color: var(--muted); }
.form-submit { margin-top: 22px; min-height: 60px; font-size: 19px; }
.form-note { margin: 10px 0 0; font-size: 16px; text-align: center; color: var(--ink); }
.form-privacy { margin: 2px 0 0; font-size: 15px; text-align: center; color: var(--muted); }
.form-privacy a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: var(--link); }
.form-context { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; margin: 0 0 16px; padding: 4px 4px 4px 14px; border-radius: 10px; background: var(--mist-strong); color: var(--ink); font-size: 16px; }
.link-btn { min-height: 44px; padding: 0 8px; border: 0; background: none; color: var(--link); font-family: var(--text); font-size: 16px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.form-card [data-form-status], .tool [data-form-status] { margin: 14px 0 0; }
.or { display: flex; align-items: center; gap: 12px; margin: 16px 0; font-size: 15px; font-weight: 700; color: var(--muted); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-card .btn-wa { min-height: 56px; }
.next-steps h3 { margin: 0 0 12px; font-size: 22px; }
.next-steps ol { display: grid; border-top: 2px solid var(--navy); }
.next-steps li { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.next-steps p { margin: 0; font-size: 18px; color: var(--ink); }
.mini-no { font-family: var(--display); font-size: 24px; font-weight: 800; line-height: 1; color: var(--link); }
.contact-proof { display: grid; gap: 8px; margin-top: 24px; }
.contact-proof li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 16px; font-weight: 700; color: var(--ink); }
.contact-proof .stars { color: var(--gold); }
.contact-proof svg[width="28"] { color: var(--navy); }

/* ---------- Stopka ---------- */
.site-footer { padding: 48px 0 calc(32px + 80px); background: var(--navy-deep); color: #fff; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-bottom: 20px; border-bottom: 1px solid rgba(255, 255, 255, 0.18); }
.footer-top > img { display: block; width: 140px; height: auto; }
.footer-contact { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; color: #fff; text-decoration: none; }
.footer-fee { margin: 0; padding: 20px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.18); font-size: 18px; font-weight: 700; line-height: 1.5; color: #fff; scroll-margin-top: 80px; }
.footer-fee p { margin: 0 0 10px; }
.footer-fee ul { margin: 0; padding-left: 1.2em; font-size: 17px; font-weight: 500; }
.footer-fee li { margin: 0 0 14px; }
.footer-fee li strong { font-weight: 700; }
.footer-fee li:last-child { margin-bottom: 0; }
.site-footer .fca-footer-disclaimer { max-width: 60em; margin: 24px 0 0; font-size: 14px; line-height: 1.7; color: #dbe9ef; opacity: 1; }
.site-footer .fca-footer-disclaimer p { margin: 0 0 10px; }
.site-footer .fca-footer-links { justify-content: flex-start; gap: 4px 20px; margin: 16px 0 0; font-size: 15px; }
.site-footer .fca-footer-links a { color: #fff; }

/* ---------- Stały pasek kontaktu na telefonie ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line); background: #fff; box-shadow: 0 -10px 24px -14px rgba(14, 50, 66, 0.45);
  transform: translateY(110%); visibility: hidden; transition: transform 0.25s ease, visibility 0s linear 0.25s;
}
.mobile-bar .btn { min-height: 56px; padding: 8px 10px; font-size: 17px; line-height: 1.2; white-space: nowrap; }
.mobile-bar .btn-wa { gap: 8px; }
.mobile-bar .btn-wa img { width: 22px; height: 22px; flex-basis: 22px; }
.mobile-bar.is-visible { transform: none; visibility: visible; transition: transform 0.25s ease, visibility 0s; }
.mobile-bar.is-near-contact, .mobile-bar.is-typing, body:has(input:focus) .mobile-bar.is-visible { transform: translateY(110%); visibility: hidden; pointer-events: none; }

/* ---------- Bardzo wąskie telefony ---------- */
@media (max-width: 359px) {
  :root { --gutter: 14px; }
  .hero h1 { font-size: 26px; }
  .tool { padding-inline: 12px; }
  .tool-option { gap: 10px; padding-inline: 10px; }
  .tool-icon { width: 34px; height: 34px; }
  .tool-option-text strong { font-size: 18px; }
  .mobile-bar { gap: 8px; padding-inline: 10px; }
  .mobile-bar .btn { font-size: 16px; padding-inline: 8px; }
}

/* ---------- Szerszy telefon / mały tablet ---------- */
@media (min-width: 600px) {
  :root { --gutter: 28px; --sec: 88px; }
  .cta-row { flex-direction: row; align-items: center; gap: 20px; }
  .cta-row .btn { width: auto; flex: none; white-space: nowrap; }
  .cta-note { text-align: left; }
  .tool { padding: 24px 24px 18px; }
  .hero-trust { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  :root { --gutter: 36px; }
  h2 { font-size: 36px; }
  h3 { font-size: 21px; }
  .header-inner { min-height: 68px; }
  .brand img { width: 150px; }
  .header-call-label { display: none; }
  .header-call-number { display: inline; }
  .hero { padding: 40px 0 48px; }
  .hero h1 { font-size: 44px; }
  .hero-lead { font-size: 20px; }
  .path-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; row-gap: 56px; }
  .types-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .reviews.is-collapsed .review-more-mobile { display: list-item; }   /* 2 kolumny: 4 opinie od razu */
  .checklist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cases { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .case { padding: 32px 32px 32px 0; }
  .case:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line); }
  .amount-list li { grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 24px; }
  .amount-range { grid-column: 2; grid-row: 1 / span 2; text-align: right; }
  .extras-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
  .mobile-bar { display: none; }
  .site-footer { padding-bottom: 40px; }
  .deadline { padding: 32px; }
}

/* ---------- Komputer ---------- */
@media (min-width: 1024px) {
  :root { --sec: 112px; --gutter: 40px; }
  body { font-size: 19px; }
  h2 { font-size: 42px; line-height: 1.12; margin-bottom: 16px; }
  h3 { font-size: 22px; }
  .section-head { margin-bottom: 44px; }
  .section-head p { font-size: 20px; }

  .hero { padding: 56px 0 64px; }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 420px); column-gap: 48px; row-gap: 24px;
    grid-template-areas: "copy tool" "trust tool" "jump tool"; grid-template-rows: auto auto 1fr; align-items: start;
  }
  .crash-jump { grid-area: jump; }
  .hero-copy { grid-area: copy; padding-top: 12px; }
  .tool { grid-area: tool; padding: 28px 28px 20px; }
  .hero-trust { grid-area: trust; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 0; }
  .hero h1 { font-size: clamp(34px, 3.3vw, 42px); line-height: 1.12; margin-bottom: 18px; text-wrap: balance; } /* 2 wiersze od 1024 px (bramka A4) */
  .hero-lead { font-size: 21px; }
  .hero-trust li, .hero-trust a { font-size: 18px; }
  .tool-title { font-size: 26px; }

  .path-grid { column-gap: 72px; row-gap: 64px; }
  .path-card h3 { font-size: 24px; }
  .types-list { grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 48px; }
  .case-amount { font-size: 60px; }
  .case { padding: 40px 40px 40px 0; }
  .case:nth-child(even) { padding-left: 40px; }

  .reviews-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); column-gap: 64px; align-items: start; }
  .reviews-head { position: sticky; top: 110px; }
  .score { font-size: 72px; }
  .reviews { column-gap: 48px; row-gap: 48px; }

  .costs-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); grid-template-areas: "head panel" "head cta"; column-gap: 80px; row-gap: 32px; align-items: start; }
  .costs-grid > .section-head { grid-area: head; }
  .fee-panel { grid-area: panel; }
  .costs-cta { grid-area: cta; }
  .fee { padding: 22px 0; grid-template-columns: 32px minmax(0, 1fr); gap: 18px; }
  .fee-main { font-size: 21px; }
  .fee-note { font-size: 18px; }

  .how-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head head" "route deadline"; column-gap: 72px; align-items: start; }
  .how-grid > .section-head { grid-area: head; }
  .route { grid-area: route; gap: 40px; }
  .deadline { grid-area: deadline; margin-top: 0; position: sticky; top: 110px; }

  .checklist { column-gap: 80px; }
  .checklist li { grid-template-columns: 52px minmax(0, 1fr); padding: 24px 0; }
  .check-no { font-size: 40px; }

  .faq-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 72px; align-items: start; }
  .faq-grid .section-head { position: sticky; top: 110px; margin-bottom: 0; }
  .faq-list summary { font-size: 20px; min-height: 72px; }

  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "head form" "next form"; grid-template-rows: auto 1fr; column-gap: 80px; row-gap: 40px; align-items: start; }
  .contact-head { grid-area: head; }
  .contact-head p { font-size: 20px; }
  .form-card { grid-area: form; padding: 36px; }
  .next-steps { grid-area: next; }

  .site-footer { padding-top: 64px; }
}

@media (min-width: 1024px) and (max-width: 1119px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 380px); column-gap: 40px; }
  .tool { padding-inline: 22px; }
}

@media (min-width: 1100px) {
  .header-nav { display: flex; gap: 2px; margin-left: auto; }
  .header-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; border-radius: 8px; color: #fff; font-size: 16px; font-weight: 600; text-decoration: none; }
  .header-nav a:hover { background: rgba(255, 255, 255, 0.12); }
}

@media (prefers-reduced-motion: reduce) {
  .btn, .tool-option, .path-card, .mobile-bar, .mobile-bar.is-visible, .faq-list summary::after, .more-reviews-btn svg { transition: none; }
}

/* =====================================================================
   WERSJA 4 (14.10.2026) — nowy pierwszy ekran (decyzje Michała 14.10, szkic: szkic-pierwszy-ekran/, ślad weryfikacje/szkic-pierwszy-ekran-2026-10-14.weryfikacja.md).
   Dopisane na końcu, więc nadpisuje reguły pierwszego ekranu wyżej tak samo jak wcześniej osobny arkusz.
   ===================================================================== */
:root { --mark: #c4eafa; }  /* podkreślenie „Sprawdź odszkodowanie”: granat na nim 8,03:1 */

/* Szkic 14.10, wariant A (wybrany przez Michała): lżejszy pierwszy ekran — nagłówek na środku, pod nim narzędzie jako jedyny blok
   (kafle jak Northpoint), rząd ocen nad nagłówkiem (jak zyte). Runda 2 (akcept Michała 14.10): WhatsApp w pasku strony,
   ocena jako zwykły tekst, kafle bez podpisów; zwolnione miejsce oddane odstępom. Reguły poniżej nadpisują część reguł pierwszego ekranu wersji 3 wyżej w tym pliku. */

/* ---------- Pasek strony: WhatsApp obok „Zadzwoń” ---------- */
.header-wa {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 44px; height: 44px; margin-left: auto; border-radius: 999px; background: #fff;
}
.header-wa img { width: 26px; height: 26px; }
.header-inner { gap: 10px; }

/* ---------- Telefon (baza) ---------- */
.hero { padding: 28px 0 40px; text-align: center; }
.hero-grid { gap: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 0 10px; margin: 0 0 14px; font-size: 16px; line-height: 1.4; }
.hero-proof .hero-rating { display: inline-flex; align-items: center; gap: 4px 6px; min-height: 0; margin: 0; }
.hero-proof .stars svg { width: 14px; height: 14px; }
.hero-fca { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; color: var(--navy); }
.hero-fca svg { width: 20px; height: 20px; color: var(--navy); }
.hero-fca-long { display: none; }  /* na telefonie samo „FCA”; pełny zapis „Autoryzacja FCA, FRN 920229” jest w pasie pod pierwszym ekranem */
.hero h1 { margin: 0 auto 16px; max-width: 13em; font-size: 33px; line-height: 1.08; text-wrap: balance; }
.hero-lead { margin: 0 auto; max-width: 26em; }

.tool { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; text-align: left; }
.tool-head { align-items: baseline; justify-content: space-between; margin: 0 0 16px; }
.tool-title { font-size: 24px; }
.tool-progress { padding: 0; background: none; font-size: 16px; font-weight: 400; color: var(--muted); }
.tool-options { gap: 12px; }
.tool-option { min-height: 60px; padding-block: 8px; border-color: var(--line-strong); box-shadow: 0 1px 2px rgba(14, 50, 66, 0.06); }
.tool-option:hover { border-color: var(--navy); background: #fff; }
.tool [data-tool-step="2"] { max-width: 480px; margin-inline: auto; }
.tool-alt { display: none; }  /* telefon: WhatsApp jest w pasku strony (stale widoczny) i w dolnym pasku */

/* pas zaufania tuż pod pierwszym ekranem (lista i link przeniesione z pierwszego ekranu) */
main > section.trust-strip { padding-block: 24px; background: #fff; border-bottom: 1px solid var(--line); }
.trust-strip-inner { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.trust-strip .hero-trust { grid-template-columns: minmax(0, 1fr); margin: 0; gap: 8px; }
.trust-strip .crash-jump { grid-area: auto; text-align: center; }

@media (max-width: 374px) {
  .hero { padding-top: 20px; }
  .hero-grid { gap: 26px; }
  .hero-proof .stars { display: none; }  /* gwiazdki to ozdoba (aria-hidden); tekst „5,0 w Google, 72 opinie” zostaje */
  .hero h1 { font-size: 30px; }
  .brand img { width: 118px; }
}
@media (max-width: 359px) {
  .hero h1 { font-size: 28px; }
  .header-call { padding-inline: 12px; }
}

/* wyższe telefony (od 740 px wysokości okna): odstępy rosną z wysokością ekranu, tak żeby treść wypełniała ekran,
   a spod dolnej krawędzi wystawał początek pasa zaufania (znak, że strona idzie dalej; uwaga Michała 14.10 o „dziurze” pod kaflami) */
@media (max-width: 767px) and (min-height: 740px) {
  .hero { padding: clamp(32px, 6svh, 64px) 0 clamp(32px, 5svh, 56px); }
  .hero-grid { gap: clamp(36px, 7svh, 72px); }
  .hero-proof { margin-bottom: clamp(16px, 3svh, 32px); }
  .hero h1 { margin-bottom: clamp(16px, 3svh, 28px); }
  .tool-head { margin-bottom: clamp(16px, 2.5svh, 24px); }
  .tool-options { gap: clamp(12px, 1.8svh, 18px); }
  .tool-option { min-height: clamp(60px, 7.6svh, 72px); }
}

/* ---------- Tablet ---------- */
@media (min-width: 768px) {
  .hero { padding: 48px 0 56px; }
  .hero-proof { gap: 0 18px; margin-bottom: 14px; }
  .hero-proof .stars svg { width: 16px; height: 16px; }
  .hero-proof .hero-rating { gap: 4px 10px; }
  .hero-fca-long { display: inline; }
  .hero h1 { font-size: 50px; max-width: 14em; }
  .tool { width: 100%; max-width: 760px; margin-inline: auto; }
  .tool-head { flex-direction: column; align-items: center; gap: 2px; text-align: center; }
  .tool-choice { justify-content: center; }
  .tool-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .tool-option { flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-height: 0; padding: 26px 14px; text-align: center; }
  .tool-option-text { align-items: center; }
  .tool-icon { width: 48px; height: 48px; }
  .tool-option .tool-chevron { display: none; }
  .tool-alt { display: flex; margin-top: 16px; }
}
@media (min-width: 1100px) {
  .header-wa { margin-left: 8px; }  /* od 1100 px menu ma margin-left: auto */
  .trust-strip .hero-trust { grid-template-columns: repeat(3, auto); column-gap: 40px; }
}

/* ---------- Komputer: jedna kolumna na środku ---------- */
@media (min-width: 1024px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: none; grid-template-rows: none; row-gap: 40px; max-width: 1000px; justify-items: center; }
  .hero-copy, .tool { grid-area: auto; padding-top: 0; }
  .hero h1 { font-size: 60px; line-height: 1.05; max-width: 17em; margin-bottom: 20px; }
  .hero-lead { font-size: 22px; }
  .tool { max-width: 860px; padding: 0; }
  .tool-title { font-size: 28px; }
  .trust-strip .hero-trust li { font-size: 18px; }
}

/* ---------- Runda 4 (14.10): nagłówek w dwóch częściach + link do stłuczki oddzielony od wyróżników ---------- */
.hero h1 .h1-druga { display: block; }
.hero h1 .h1-mark {
  padding: 0 0.06em;
  background: linear-gradient(transparent 68%, var(--mark) 68%, var(--mark) 96%, transparent 96%);  /* wersja 4 (Michał 14.10): niżej i jaśniej — ok. 1/3 liter na pasku, kontrast granatu 8,03:1 */
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}
.trust-strip .crash-jump { width: 100%; max-width: 560px; margin-top: 10px; padding-top: 16px; border-top: 1px solid var(--line); }
.trust-strip .crash-link {
  display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 10px 18px;
  border: 2px solid var(--line-strong); border-radius: 12px; background: #fff;
  font-weight: 700; line-height: 1.3; color: var(--navy); text-align: left; text-decoration: none;
}
.trust-strip .crash-link:hover { border-color: var(--navy); }
.trust-strip .crash-icon { width: 28px; height: 28px; flex: none; color: var(--navy); }
@media (min-width: 375px) and (max-width: 389px) {
  .hero h1 { font-size: 31px; }  /* „samochodowy w UK?” w jednym wierszu: nagłówek 4 wiersze (2 + 2) */
}

/* ---------- Runda 4 (14.10, uwaga Michała): wezwanie do działania pod „Jak to działa” — ten sam przycisk i dopisek co w sekcjach Kwoty i Koszty ---------- */
.how-cta { margin-top: 40px; }
@media (min-width: 1024px) {
  .how-grid { grid-template-areas: "head head" "route deadline" "cta ."; }
  .how-cta { grid-area: cta; margin-top: 48px; }
}

/* Potwierdzenie wysłania formularza (wersja produkcyjna, 14.10) */
.form-success { text-align: center; padding: 32px 8px; }
.form-success svg { color: var(--green); }
.form-success h3 { margin: 16px 0 8px; font-size: 24px; color: var(--navy); }
.form-success p { margin: 0; color: var(--body); font-size: 17px; }
.form-success:focus { outline: none; }

/* Kotwice z linków do podstron w reklamach (#case-studies, #ile-dostane, #co-robic-stluczka; odczyt API 14.10) — puste, na początku sekcji. */
.kotwica { display: block; height: 0; }

/* =====================================================================
   RJS78 LOFT FACTORY — LP1 stoły dębowe i łóżka loft (15.10.2026).
   System ClaimSpot v4 bez zmian (układ, skala, odstępy, rytm teł, narzędzie 2 kroki); skóra RJS78:
   grafit z logo (#0f1620) zamiast granatu, ciepłe tła i dąb zamiast błękitu, bursztyn tylko na przyciskach akcji.
   Zdjęcia mebli jako bohater (decyzja Michała 15.10). Kontrasty policzone wzorem WCAG na wartościach poniżej.
   ===================================================================== */
:root {
  --navy: #1c2530;        /* nagłówki, pasek strony, ciemny pas (grafit z logo) */
  --navy-deep: #121821;   /* stopka */
  --ink: #1d2126;         /* tekst */
  --muted: #5a5348;       /* tekst pomocniczy, na bieli ok. 7,6:1 */
  --link: #8a5a1c;        /* dąb ciemny: linki i pierścień fokusu, na bieli ok. 5,9:1 */
  --sky: #c8893a;         /* akcent dekoracyjny (ikony), nie tekst */
  --sky-light: #e8c79a;   /* akcent na ciemnym pasie */
  --mist: #f6f1ea;        /* ciepłe jasne tło sekcji */
  --mist-strong: #ede4d7;
  --line: #e3d9cb;
  --line-strong: #9a8d7b; /* obrys pól i kafli, na bieli ok. 3,3:1 */
  --on-dark-soft: #ebe3d8;
  --green: #f0a93a;       /* bursztyn: WYŁĄCZNIE przyciski akcji; ciemny tekst na nim ok. 8:1 */
  --green-hover: #e39a28;
  --green-ink: #1d2126;
  --pic-accent: #c8893a;
  --mark: #f3d9ae;        /* podkreślenie drugiej części nagłówka; grafit na nim ok. 11:1 */
}
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible { outline-color: var(--link); }
.tool input:not([type=hidden]):focus, .form-card input:not([type=hidden]):focus, .form-card textarea:focus { outline-color: var(--link); }

/* Pasek strony: logo białe na grafitowym tle, bez WhatsApp (klient nie podał) */
.brand img { width: 120px; }
.header-call { margin-left: auto; }
@media (min-width: 768px) { .brand img { width: 136px; } }
@media (min-width: 1100px) { .header-call { margin-left: 8px; } }

/* Pierwszy ekran: rząd wyróżników nad nagłówkiem (zamiast ocen Google i FCA) */
.hero-proof { color: var(--ink); }
.hero-proof .proof-item { display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; color: var(--navy); }
.hero-proof .proof-item svg { width: 20px; height: 20px; color: var(--navy); }

/* Kafle z kroku 1: zdjęcie mebla zamiast piktogramu. Telefon: dwa kafle obok siebie + trzeci w poprzek. */
.tool-options.has-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.tool-option.photo { flex-direction: column; align-items: stretch; gap: 0; min-height: 0; padding: 0; overflow: hidden; text-align: left; }
.tool-option.photo .tool-photo { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: var(--mist-strong); }
.tool-option.photo .tool-option-text { flex-direction: row; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 10px 10px 12px; }
.tool-option.photo .tool-option-text strong { font-size: 17px; }
.tool-option.photo .tool-chevron { margin-left: 0; }
.tool-option.photo.wide { grid-column: 1 / -1; flex-direction: row; align-items: center; }
.tool-option.photo.wide .tool-photo { width: 96px; flex: none; aspect-ratio: 4 / 3; }
.tool-option.photo.wide .tool-option-text { flex: 1; }
.tool-option.photo:hover { border-color: var(--navy); }
@media (min-width: 768px) {
  .tool-options.has-photos { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tool-option.photo, .tool-option.photo.wide { grid-column: auto; flex-direction: column; align-items: stretch; padding: 0; }
  .tool-option.photo.wide .tool-photo { width: 100%; }
  .tool-option.photo .tool-option-text { padding: 14px 16px; }
  .tool-option.photo .tool-option-text strong { font-size: 19px; }
  .tool-option .tool-chevron { display: block; }
}

/* Pole opcjonalne na wymiary (formularz w sekcji Kontakt) */
.form-card textarea {
  display: block; width: 100%; min-height: 96px; padding: 12px 14px; border: 2px solid var(--line-strong); border-radius: 10px;
  font-family: var(--text); font-size: 18px; line-height: 1.5; color: var(--ink); background: #fff; resize: vertical;
}
.form-card textarea:focus { border-color: var(--navy); outline: 3px solid var(--link); outline-offset: 1px; }

/* Rytm teł LP1: hero (ciepłe jasne) → pas wyróżników (biel) → stoły (ciepłe) → łóżka (biel) → realizacje (ciepłe)
   → o nas (biel) → pod klucz (grafit) → jak to działa (biel) → pytania (ciepłe) → kontakt (biel). */
.prod-stoly, .gallery-sec, .faq { background: var(--mist); }
.prod-lozka, .about, .how, .contact { background: #fff; }

/* Sekcje produktów: duże zdjęcie + opis klienta + wezwanie */
.prod-grid { display: grid; gap: 28px; align-items: start; }
.prod-media { display: grid; gap: 12px; }
.prod-media img { display: block; width: 100%; height: auto; border-radius: 14px; object-fit: cover; background: var(--mist-strong); }
.prod-media .main { aspect-ratio: 3 / 2; }
.prod-media .pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.prod-media .pair img { aspect-ratio: 4 / 3; }
.prod-copy .lead { margin: 0 0 18px; max-width: 34em; font-size: 18px; line-height: 1.6; }
.prod-copy .ticks { margin-bottom: 8px; }
.prod-copy .client-text { margin: 18px 0 0; max-width: 36em; font-size: 18px; line-height: 1.6; }
.prod-copy .client-text p { margin: 0 0 8px; }
.prod-copy h3 { margin-top: 24px; }
.prod-copy .btn { margin-top: 24px; }
.photo-note { margin: 0; font-size: 15px; color: var(--muted); }

/* Realizacje: siatka 2 × 3 na telefonie, 3 × 2 na komputerze — 6 zdjęć, bez dziur */
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; background: var(--mist-strong); }

/* O nas: akapit firmy + 4 wyróżniki z dokumentu klienta */
.about-grid { display: grid; gap: 32px; }
.feature-list { display: grid; border-top: 2px solid var(--navy); }
.feature-list li { padding: 18px 0 20px; border-bottom: 1px solid var(--line); }
.feature-list h3 { margin: 0 0 6px; font-size: 20px; }
.feature-list p { margin: 0; max-width: 34em; font-size: 18px; line-height: 1.55; }

@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
@media (min-width: 1024px) {
  .prod-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: 64px; }
  .prod-lozka .prod-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .prod-lozka .prod-media { order: 2; }
  .about-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: 72px; align-items: start; }
  .prod-copy .lead, .prod-copy .client-text { font-size: 19px; }
}

/* Pasek na telefonie: „Zostaw kontakt” + „Zadzwoń” */
.mobile-bar .btn-quiet { gap: 8px; }

/* „Jak to działa”: zamiast ramki z terminami (ClaimSpot) zdjęcie mebla w prawej kolumnie na komputerze */
.how-photo { display: none; margin: 0; }
@media (min-width: 1024px) {
  .how-photo { display: block; grid-area: deadline; position: sticky; top: 110px; }
  .how-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
}

/* Logo w pasku: wersja pozioma z oryginalnych elementów (godło + „LOFT FACTORY”), bo pełne logo pionowe podnosiło pasek do 77 px,
   a dopisek „CUSTOM FURNITURE” był nieczytelny. Pełne logo zostaje w stopce. */
.brand img { width: auto; height: 40px; }
@media (min-width: 768px) { .brand img { width: auto; height: 44px; } }
.footer-top > img { width: 150px; }
/* Najmniejsze telefony (320 px): trzeci kafel w pierwszym ekranie */
@media (max-width: 359px) {
  .hero h1 { font-size: 26px; }
  .hero-lead { font-size: 16px; }
  .hero-grid { gap: 20px; }
  .tool-head { margin-bottom: 10px; }
  .tool-option.photo.wide .tool-photo { width: 72px; }
}

/* Oznaczenie wizualizacji (uwaga weryfikacji 15.10: obraz łóżka w sypialni to wizualizacja, nie zdjęcie) */
.photo-wrap { position: relative; display: block; }
.photo-badge { position: absolute; left: 8px; top: 8px; padding: 2px 8px; border-radius: 6px; background: rgba(18, 24, 33, 0.82); color: #fff; font-family: var(--text); font-size: 14px; font-weight: 700; line-height: 1.5; }
.main-fig { margin: 0; }
.main-fig .photo-note { margin-top: 8px; }

/* Rytm teł LP2: hero (ciepłe) → pas (biel) → zestawy (ciepłe) → poduszki (biel) → zdjęcia (ciepłe) → o nas (biel)
   → pod klucz (grafit) → dla firm (ciepłe) → jak to działa (biel) → pytania (ciepłe) → kontakt (biel). */
.lp2 .b2b { background: var(--mist); }
.lp2 .faq { background: var(--mist); }
.lp2 .contact { background: #fff; }

/* =====================================================================
   PIERWSZY EKRAN ZE ZDJĘCIEM (15.10.2026, po uwadze Michała: v5 „archaiczne”, hero rozciągnięte na 34").
   Styl ClaimSpot v4 bez zmian; dochodzi zdjęcie mebla w zaokrąglonej karcie. Treść zawsze w siatce 1200 px
   (tło sekcji może iść od krawędzi do krawędzi, treść nigdy) — sprawdzane także przy 2560 i 3440 px.
   ===================================================================== */
.hero-photo { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--mist-strong); height: clamp(150px, 27svh, 260px); }
.hero-photo picture, .hero-photo img { display: block; width: 100%; height: 100%; }
.hero-photo img { object-fit: cover; }
.hero-photo .photo-badge { left: 10px; top: 10px; }
.hero-grid { gap: 20px; }
/* telefon: trzy kafle w rzędzie (ikona nad nazwą), żeby wybór mieścił się w pierwszym ekranie razem ze zdjęciem */
.tool-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.tool-option { flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 92px; padding: 10px 6px; text-align: center; }
.tool-option-text { align-items: center; }
.tool-option-text strong { font-size: 15px; line-height: 1.2; }
.tool-icon { width: 34px; height: 34px; }
.tool-option .tool-chevron { display: none; }
.tool-option { box-shadow: none; }
@media (min-width: 768px) {
  .hero-photo { height: 320px; max-width: 760px; width: 100%; margin-inline: auto; border-radius: 20px; }
  .tool-option-text strong { font-size: 18px; }
  .tool-icon { width: 44px; height: 44px; }
}
@media (min-width: 1024px) {
  .hero { text-align: left; padding: 56px 0 64px; }
  .hero-grid {
    max-width: 1200px; justify-items: stretch; align-items: center;
    grid-template-columns: minmax(0, 1fr) minmax(0, 500px); grid-template-areas: "copy photo" "tool photo"; grid-template-rows: auto auto;
    column-gap: 56px; row-gap: 28px;
  }
  .hero-copy { grid-area: copy; align-self: end; }
  .tool { grid-area: tool; align-self: start; max-width: none; margin: 0; }
  .hero-photo { grid-area: photo; height: auto; aspect-ratio: 4 / 5; max-width: none; border-radius: 24px; }
  .hero h1 { margin: 0 0 16px; max-width: none; font-size: 54px; }
  .hero-lead { margin: 0; max-width: 30em; font-size: 20px; }
  .tool-head { flex-direction: row; align-items: baseline; justify-content: space-between; text-align: left; }
  .tool-options { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .tool-option { padding: 18px 10px; }
  .tool [data-tool-step="2"] { max-width: none; margin: 0; }
}
@media (max-width: 359px) { .hero-photo { height: 120px; } .hero-lead { font-size: 16px; } .hero-grid { gap: 14px; } }

/* „Jak zamówić” (15.10, uwaga Michała): zamiast drogi z ClaimSpot — miarka stolarska z podziałką (meble na wymiar).
   Pasek w kolorze dębu, krótkie kreski co 12 px, długie co 60 px; kroki to znaczniki na miarce. */
.route::before {
  left: 6px; width: 36px; border-radius: 4px;
  background-color: #e3b260;
  background-image:
    repeating-linear-gradient(to bottom, #1d2126 0 2px, transparent 2px 60px),
    repeating-linear-gradient(to bottom, #1d2126 0 1.5px, transparent 1.5px 12px);
  background-size: 22px 100%, 11px 100%;
  background-repeat: no-repeat;
  background-position: left top, left top;
}
.route::after { content: none; }
.route-no { border-radius: 6px; border-color: var(--navy); background: #fff; }

/* ---------- Dwie osoby kontaktowe (22.10, uwagi Krzysztofa z 19.10): nagłówek, pasek na telefonie, stopka ---------- */
.header-calls { margin-left: auto; position: static; }
.header-calls > summary { list-style: none; cursor: pointer; }
.header-calls > summary::-webkit-details-marker { display: none; }
.header-calls-panel {
  position: absolute; right: var(--gutter); top: calc(100% + 6px); z-index: 50; display: grid; gap: 4px; width: min(300px, calc(100vw - 2 * var(--gutter)));
  padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 14px 30px -12px rgba(14, 50, 66, 0.5);
}
.header-calls-panel a {
  display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 8px 12px; border-radius: 12px;
  color: var(--navy); font-family: var(--display); font-weight: 700; text-decoration: none; white-space: nowrap;
}
.header-calls-panel a:hover { background: var(--mist); }
.header-calls-panel a:focus-visible { outline-color: var(--link); }
.header-calls-panel svg { flex: none; }
.hc-name { font-size: 16px; }
.hc-num { font-size: 16px; font-variant-numeric: tabular-nums; margin-left: auto; }
.header-calls[open] > summary { background: var(--mist); }
@media (min-width: 768px) {
  .header-calls > summary { display: none; }
  .header-calls-panel { position: static; display: flex; gap: 8px; width: auto; padding: 0; background: none; box-shadow: none; }
  .header-calls-panel a {
    display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; min-height: 48px; padding: 4px 16px 4px 12px;
    border-radius: 14px; background: #fff;
  }
  .header-calls-panel a svg { grid-row: 1 / span 2; }
  .header-calls-panel a:hover { background: var(--mist); }
  .hc-name { font-size: 12px; line-height: 1.2; font-weight: 600; }
  .hc-num { font-size: 16px; line-height: 1.2; margin-left: 0; }
  .header-nav a { white-space: nowrap; }
}
.mobile-bar { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.mobile-bar .btn-quiet { gap: 6px; padding-inline: 6px; font-size: 15px; }
.mobile-bar .btn-quiet svg { width: 18px; height: 18px; flex: none; }
.mobile-bar .btn-primary { font-size: 15px; padding-inline: 6px; }
@media (max-width: 359px) { .mobile-bar .btn-quiet svg { display: none; } }
.footer-contact { flex-direction: column; gap: 0; }

/* 22.10.2026: zdanie o zgodzie stoi NAD przyciskiem wysyłki (RODO art. 7 ust. 3, EROD 05/2020 pkt 79). */
.form-privacy { margin: 4px 0 12px; text-align: left; }

/* 22.10.2026 wdrożenie rjs78.pl: komunikat o błędzie wysyłki (domyślny wygląd [data-form-status] = sukces). */
[data-form-status].is-error { background: #fdecea; color: #7a1c14; border-left-color: #b3261e; }
