/* wycenisz.pl – style strony. Jasny, świeży wygląd (bez trybu ciemnego).
   Logo: „cen” w pomarańczowej obwódce markera (księga znaku: branding/wycenisz-brand.html). */
:root {
  color-scheme: light;
  /* tła */
  --bg: #FFFFFF;
  --soft: #F6F8FB;
  --sky: #EAF2FF;
  --mint: #E8F7F0;
  --peach: #FFF1EA;
  /* tekst */
  --ink: #0F1B2D;
  --text: #33415A;
  --muted: #5A687E; /* wcześniej #66748A: 4,45:1 na jasnoszarym tle, teraz ≥ 4,8:1 na wszystkich jasnych tłach (WCAG AA) */
  --line: #E3E8EF;
  /* marka */
  --brand: #F2541B;
  --brand-dark: #C9430F;
  --btn: #CF440D; /* tło przycisków: biały tekst 4,68:1 (WCAG AA), --brand #F2541B dawał tylko 3,47:1 */
  --brand-soft: #FFE9DF;
  --green: #0E9F6E;
  --green-soft: #DDF5EA;
  --blue: #2457D6;
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, 0.06), 0 2px 8px rgba(15, 27, 45, 0.05);
  --shadow: 0 2px 6px rgba(15, 27, 45, 0.05), 0 18px 40px -18px rgba(15, 27, 45, 0.22);
  --radius: 18px;
  --display: "Sora", "Segoe UI", system-ui, sans-serif;
  --body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --logo: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
  /* zgodność ze starszymi nazwami (podstrony, wkrotce.html, kod generowany w JS) */
  --paper: var(--soft);
  --surface: #FFFFFF;
  --marker: var(--brand);
  --marker-text: var(--brand-dark);
  --marker-soft: var(--brand-soft);
  --tape: var(--brand-soft);
  --tape-ink: #B53C0D; /* 4,97:1 na tle naklejki (WCAG AA) */
  --ok: var(--green);
  --hand: var(--display);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.65 var(--body); }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: var(--blue); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); margin: 0; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 700; }
h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 6px; }

.container { max-width: 1160px; margin: 0 auto; padding-inline: 20px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 13px/1 var(--body); letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-dark); margin: 0 0 14px; }
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: var(--brand); }
.lead { font-size: 18px; color: var(--muted); max-width: 60ch; }
.muted { color: var(--muted); }
.opt { color: var(--muted); font-weight: 400; }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 720px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }
.section-head.center .eyebrow::before { display: none; }

/* Etykieta (dawniej „taśma”) – miękka pigułka */
.tape { display: inline-flex; align-items: center; gap: 6px; align-self: flex-start; background: var(--brand-soft); color: #B53C0D; font: 600 13px/1 var(--body); padding: 7px 12px; border-radius: 999px; }

/* Znak słowny: „cen” w obwódce markera */
.wm { font-family: var(--logo); font-weight: 800; letter-spacing: -0.01em; line-height: 0.9; white-space: nowrap; color: var(--ink); }
.wm .cen { position: relative; display: inline-block; }
.ring { position: absolute; left: -14%; top: -18%; width: 128%; height: 136%; overflow: visible; pointer-events: none;
  fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.tld { color: var(--muted); font-family: var(--logo); font-weight: 600; }

/* Przyciski */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: 700 16px var(--body); color: #fff; background: var(--btn); border: 0; border-radius: 999px; padding: 14px 24px; cursor: pointer; text-decoration: none; box-shadow: 0 8px 20px -8px rgba(242, 84, 27, 0.6); transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { background: #B0390A; transform: translateY(-1px); box-shadow: 0 12px 24px -10px rgba(242, 84, 27, 0.7); }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none; }
.btn.ghost, .btn.secondary { background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.btn.ghost:hover, .btn.secondary:hover { background: var(--soft); }
.btn.small { padding: 9px 16px; font-size: 14px; }
.btn.dark { background: var(--ink); color: #fff; box-shadow: var(--shadow-sm); }
.btn.dark:hover { background: #22324A; }
.btn.inline { margin-top: 28px; }
.btn svg { width: 18px; height: 18px; }

/* Nagłówek */
.topbar { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, 0.88); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top, 0px); }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: baseline; color: var(--ink); text-decoration: none; }
.brand .wm, .brand .tld { font-size: 30px; }
.brand.small .wm, .brand.small .tld { font-size: 24px; }
.nav { display: flex; gap: 26px; }
.nav a { color: var(--text); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--brand-dark); }
.top-actions { display: flex; align-items: center; gap: 12px; }
.top-cta { padding: 10px 18px; font-size: 15px; }
@media (max-width: 980px) { .nav { display: none; } }
@media (max-width: 560px) { .top-cta { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .topbar .ring { stroke-dasharray: 100; stroke-dashoffset: 100; animation: draw 0.9s 0.3s cubic-bezier(.6, .1, .3, 1) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
}

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: 64px 88px; background:
  radial-gradient(900px 420px at 85% -10%, #DCE9FF 0%, rgba(220, 233, 255, 0) 70%),
  radial-gradient(700px 380px at -10% 110%, #FFE6DA 0%, rgba(255, 230, 218, 0) 70%),
  linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); border-radius: 999px; padding: 6px 14px 6px 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.pill b { background: var(--green-soft); color: var(--green); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.hero h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 800; letter-spacing: -0.035em; margin-top: 22px; }
.hero h1 .hl { position: relative; white-space: nowrap; color: var(--brand); }
.hero .lead { margin-top: 20px; font-size: 19px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.checks { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 15px; font-weight: 600; color: var(--ink); }
.checks li { display: inline-flex; align-items: center; gap: 8px; }
.checks li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E9F6E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex: none; }

.hero-visual { position: relative; }
.hero-photo { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 5; max-height: 600px; margin-left: auto; width: min(100%, 470px); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.float-card { position: absolute; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 14px 16px; display: flex; flex-direction: column; gap: 4px; }
.float-card small { font-size: 12px; color: var(--muted); font-weight: 600; }
.float-card strong { font-family: var(--display); font-size: 22px; color: var(--ink); letter-spacing: -0.02em; }
.float-card .row-inline { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink); }
.float-estimate { left: 0; bottom: 48px; min-width: 230px; }
.float-estimate .bar { height: 8px; border-radius: 99px; background: var(--soft); position: relative; margin-top: 6px; }
.float-estimate .bar i { position: absolute; left: 22%; width: 34%; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #FFB08F, var(--brand)); }
.float-found { right: -8px; top: 36px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 5px var(--brand-soft); flex: none; }
.dot.green { background: var(--green); box-shadow: 0 0 0 5px var(--green-soft); }
@media (prefers-reduced-motion: no-preference) {
  .float-card { animation: floaty 6s ease-in-out infinite; }
  .float-found { animation-delay: -3s; }
  @keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
}

/* Pasek faktów */
/* UI v2: zdjęcie szkody z pierścieniem i kartą, plakietki, pasek zaufania, przyklejony przycisk na telefonie */
.hero-shot { position: relative; margin: 0 0 0 auto; width: min(100%, 470px); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 1 / 1; }
.hero-shot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shot-ring { position: absolute; left: 31%; top: 28%; width: 46%; height: 26%; overflow: visible; fill: none; stroke: #FF7A45; stroke-width: 4; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 2px rgba(0,0,0,.25)); }
.shot-card { position: absolute; left: 14px; right: 14px; bottom: 14px; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; gap: 12px; box-shadow: var(--shadow); }
.shot-card small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); }
.shot-card strong { display: block; font-size: 15px; font-weight: 700; color: var(--ink); line-height: 1.3; }
.shot-price { font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .04em; color: var(--ink); white-space: nowrap; }
.badges { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.badge { font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 12px; }
.badge.ok { background: var(--green-soft); border-color: var(--green-soft); color: #0B7A55; font-weight: 700; }
/* Formularz w 2 krokach: pasek postępu i dwa pola na zdjęcia */
.steps-bar { display: flex; flex-direction: column; gap: 6px; margin: 0 0 16px; }
.steps-label { margin: 0; font-size: 13px; font-weight: 700; color: var(--ink); }
.progress { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 50%; border-radius: 99px; background: var(--brand); transition: width .3s ease; }
.fstep[hidden] { display: none; }
.slots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 4px 0 16px; }
.slots[hidden] { display: none; }
.slot { position: relative; height: 150px; border-radius: 16px; border: 2px dashed var(--brand); background: var(--peach); color: #B53C0D; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; cursor: pointer; }
.slot input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.slot:focus-within { outline: 3px solid var(--blue); outline-offset: 2px; }
.slot-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 15px; pointer-events: none; }
.slot-empty svg { width: 28px; height: 28px; }
.slot-empty span { font-size: 12px; font-weight: 400; color: var(--text); }
.slot.filled { border: 2px solid var(--green); background: #fff; }
.slot.invalid { border-color: #C62828; }
.slot-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.slot-ok { position: absolute; left: 8px; bottom: 8px; background: #fff; color: #0B7A55; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; pointer-events: none; }
.step-next { min-height: 52px; margin-top: 8px; }
.step-back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0; margin: 0 0 8px; background: none; border: 0; font: inherit; font-weight: 600; color: var(--brand-dark); cursor: pointer; }
.step-back svg { width: 20px; height: 20px; }
.trust-band { border-block: 1px solid var(--line); background: #fff; }
.trust { list-style: none; margin: 0; padding: 22px 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.trust li { display: flex; flex-direction: column; gap: 2px; padding-left: 30px; position: relative; font-size: 14px; color: var(--muted); line-height: 1.4; }
.trust li::before { content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230E9F6E' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.trust b { color: var(--ink); font-size: 15px; }
.trust li[hidden] { display: none; }
.sticky-cta { display: none; }
.footer .credits { margin-top: 18px; color: #A9B4C4; }
.footer .credits a { color: inherit; }
/* Linki do cen w stopce poradników: jasne na ciemnej stopce (wcześniej #33415A, 1,68:1) */
.footer .guide-links, .footer .guide-links a { color: #C3CCD8; }
@media (max-width: 980px) {
  .trust { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-shot { margin: 0 auto; }
  .badges { justify-content: center; }
}
@media (max-width: 760px) {
  .hero { padding-block: 20px 28px; }
  .hero-grid { gap: 18px; }
  .hero h1 { font-size: 32px; line-height: 1.1; margin-top: 4px; }
  .hero .lead { font-size: 16px; margin-top: 12px; color: var(--text); }
  .hero-ctas { display: none; }
  .hero-shot { aspect-ratio: 16 / 11; border-radius: 18px; }
  .shot-card { left: 10px; right: 10px; bottom: 10px; padding: 10px 12px; }
  .shot-ring { top: 18%; height: 36%; }
  .trust { grid-template-columns: 1fr; gap: 14px; padding: 18px 0; }
  .sticky-cta:not([hidden]) { display: flex; flex-direction: column; gap: 6px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px calc(12px + env(safe-area-inset-bottom, 0px)); box-shadow: 0 -8px 24px -12px rgba(15,27,45,.25); }
  .sticky-cta .btn { min-height: 52px; font-size: 17px; justify-content: center; }
  .sticky-cta small { text-align: center; font-size: 12px; color: var(--muted); }
  body.has-sticky { padding-bottom: 96px; }
}
.facts-band { border-block: 1px solid var(--line); background: #fff; }
.facts { list-style: none; margin: 0; padding: 28px 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts strong { font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); letter-spacing: -0.03em; line-height: 1.1; }
.facts span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.facts a { color: inherit; }

/* Sekcje */
.section { padding-block: 96px; }
.section.soft { background: var(--soft); }
.section.mint { background: linear-gradient(180deg, var(--mint), #F6FCF9); }
.section.sky { background: linear-gradient(180deg, #F3F7FF, #FFFFFF); }

/* Formularz */
.form-section .grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.form-aside { display: flex; flex-direction: column; gap: 22px; position: sticky; top: 96px; }
.form-aside .aside-photo { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 16 / 11; }
.form-aside .aside-photo img { width: 100%; height: 100%; object-fit: cover; }
.tips { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.tips li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; font-size: 15px; }
.tips .ico { width: 34px; height: 34px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); display: grid; place-items: center; font: 700 14px var(--display); }
.tips b { color: var(--ink); }

.form-card { background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 10px; box-shadow: var(--shadow); scroll-margin-top: 96px; }
.tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; background: var(--soft); border-radius: 16px; padding: 4px; }
.tabs button { font: 700 15px var(--body); color: var(--muted); background: transparent; border: 0; border-radius: 12px; padding: 12px 8px; cursor: pointer; }
.tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
form { padding: 20px 18px 18px; display: flex; flex-direction: column; gap: 16px; }
.form-intro { font-size: 15px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; border: 0; padding: 0; margin: 0; }
.label { font-size: 14px; font-weight: 700; color: var(--ink); padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 420px) { .row { grid-template-columns: 1fr; } }
input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), select, textarea {
  font: 16px var(--body); color: var(--ink); background: #fff; border: 1px solid #D5DCE6;
  border-radius: 12px; padding: 11px 14px; width: 100%; min-width: 0; transition: border-color .15s, box-shadow .15s;
}
textarea { resize: vertical; }
input::placeholder, textarea::placeholder { color: #9AA6B6; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
.invalid { border-color: #D93B3B !important; }
.hint { font-size: 13px; color: var(--muted); }
.error { font-size: 13px; color: #C42F2F; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.drop { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 26px 14px; border: 2px dashed #CBD5E1; border-radius: 16px; background: #FAFBFD; cursor: pointer; text-align: center; transition: border-color .15s, background .15s; }
.drop:hover, .drop.over { border-color: var(--brand); background: var(--peach); }
.drop:focus-within { outline: 3px solid var(--brand); outline-offset: 2px; }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.drop svg { width: 34px; height: 34px; fill: none; stroke: var(--brand); stroke-width: 1.7; stroke-linejoin: round; }
.drop-title { font-weight: 700; font-size: 15px; color: var(--ink); }
.drop-hint { font-size: 13px; color: var(--muted); }
.thumbs { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--soft); border: 1px solid var(--line); max-width: 100%; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb .pdf { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; font: 500 11px var(--mono); color: var(--brand-dark); padding: 4px; text-align: center; word-break: break-all; }
.thumb .pdf b { font-size: 14px; }
.thumb button { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; border: 0; background: rgba(15, 27, 45, 0.75); color: #fff; font-size: 14px; line-height: 22px; padding: 0; cursor: pointer; }

.segmented { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--soft); border-radius: 12px; padding: 4px; gap: 4px; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label { text-align: center; padding: 8px 4px; border-radius: 9px; font-size: 14px; font-weight: 600; cursor: pointer; color: #55637A; }
.segmented input:checked + label { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.segmented input:focus-visible + label { outline: 2px solid var(--brand); }

.check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 13.5px; line-height: 1.5; align-items: start; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--brand); }
form .btn { width: 100%; padding-block: 16px; }
.fine { font-size: 12px; color: var(--muted); line-height: 1.5; }
.demo-note { font-size: 13px; background: var(--sky); color: #1D3E8F; padding: 10px 14px; border-radius: 12px; }

.done { padding: 44px 24px 34px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; }
.done:focus { outline: none; }
.done .tape { align-self: center; }
.done h2 { font-size: 34px; }
.done p { color: var(--muted); max-width: 36ch; }
.done .ref code { font: 500 13px var(--mono); color: var(--ink); background: var(--soft); padding: 2px 8px; border-radius: 6px; }

/* Wynik wyceny */
.result { padding: 24px 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.result:focus { outline: none; }
.result h2 { font-size: 30px; }
.shot { position: relative; border-radius: 14px; overflow: hidden; background: var(--soft); }
.shot img { width: 100%; max-height: 320px; object-fit: cover; }
.shot .ring { stroke-width: 4; filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.35)); }
.shot-label { position: absolute; right: 12px; top: 12px; background: #fff; box-shadow: var(--shadow-sm); }
.lines { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.li { display: flex; align-items: baseline; gap: 8px; }
.li .dots { flex: 1; min-width: 16px; border-bottom: 2px dotted #D5DCE6; transform: translateY(-4px); }
.li .v { font-family: var(--mono); font-size: 14px; white-space: nowrap; font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }
.li .v.locked { color: var(--muted); filter: blur(0.6px); letter-spacing: 0.1em; }
.total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: var(--peach); }
.total span { font-weight: 700; color: var(--ink); }
.total strong { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; color: var(--brand-dark); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.summary { font-size: 15px; }
.gap { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px; background: var(--peach); border: 1px solid #FFD5C2; }
.gap span { font-size: 14px; color: var(--muted); font-weight: 600; }
.gap strong { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: 1; color: var(--brand-dark); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.offer { display: flex; flex-direction: column; gap: 12px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: var(--soft); }
.offer p { font-size: 14px; }
.coupon summary { cursor: pointer; font-size: 14px; color: var(--muted); }
.coupon-row { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.coupon-row input { flex: 1 1 160px; min-width: 0; }
.code-entry { margin: 4px 16px 14px; }
.form-consent { margin: 4px 0 14px; font-size: 14px; }
.account-nudge { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: var(--sky); }
.account-nudge p { margin: 0 0 10px; font-size: 15px; }
.code-entry .fine:empty { display: none; }

/* Jak to działa */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow-sm); }
.step-n { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font: 800 18px var(--display); color: #fff; background: linear-gradient(135deg, #FF8A5C, var(--brand)); box-shadow: 0 8px 16px -8px rgba(242, 84, 27, 0.7); }
.step p { color: var(--muted); }

/* Przykładowe wyceny */
.examples { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.example { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .2s; }
.example:hover { transform: translateY(-4px); }
.example-photo { position: relative; aspect-ratio: 4 / 3; }
.example-photo img { width: 100%; height: 100%; object-fit: cover; }
.example-photo .tape { position: absolute; left: 14px; top: 14px; background: rgba(255, 255, 255, 0.95); color: var(--ink); box-shadow: var(--shadow-sm); }
.example-body { padding: 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.example-meta { font-size: 13px; color: var(--muted); font-weight: 600; }
.example-body p { font-size: 15px; }
.example-price { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: end; gap: 10px; }
.example-price small { display: block; font-size: 12px; color: var(--muted); font-weight: 600; }
.example-price b { display: block; font-size: 14px; color: var(--ink); }
.example-price strong { font-family: var(--display); font-weight: 800; font-size: 26px; color: var(--brand-dark); letter-spacing: -0.03em; white-space: nowrap; }
.footnote { margin-top: 22px; font-size: 13px; color: var(--muted); text-align: center; }

/* Jak liczymy + cennik */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-photo { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 3 / 2; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.bullets { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-direction: column; gap: 14px; }
.bullets li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; }
.bullets li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; margin-top: 2px; background: var(--brand-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%23C9430F' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.bullets b { color: var(--ink); }

.prices { margin-top: 48px; background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 8px 26px; box-shadow: var(--shadow-sm); }
.price-row { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 130px; gap: 24px; align-items: center; padding-block: 18px; border-bottom: 1px solid var(--line); }
.price-row:last-child { border-bottom: 0; }
.price-name h3 { font-size: 16px; }
.price-name span { font-size: 14px; color: var(--muted); }
.price-bar { position: relative; height: 10px; background: var(--soft); border-radius: 99px; }
.price-bar i { position: absolute; top: 0; bottom: 0; border-radius: 99px; background: linear-gradient(90deg, #FFB08F, var(--brand)); }
.price-val { font-family: var(--display); font-weight: 700; font-size: 16px; text-align: right; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.scale { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.4fr) 130px; gap: 24px; padding: 6px 26px 0; font: 12px var(--mono); color: var(--muted); }
.scale-track { display: flex; justify-content: space-between; }
.source { margin-top: 16px; font-size: 13px; color: var(--muted); }
@media (max-width: 760px) {
  .price-row { grid-template-columns: 1fr auto; gap: 10px 16px; }
  .price-bar { grid-column: 1 / -1; grid-row: 2; }
  .scale { display: none; }
  .prices { padding-inline: 18px; }
}

/* Kosztorys OC */
.kosztorys-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; }
.kosztorys-grid .lead { margin-top: 16px; }
.reasons { list-style: none; margin: 22px 0; padding: 0; display: flex; flex-direction: column; gap: 14px; max-width: 60ch; }
.reasons li { padding: 14px 16px; background: #fff; border-radius: 14px; border: 1px solid #D4EFE2; }
.reasons b { color: var(--ink); }
.compare-card { background: #fff; border-radius: 24px; padding: 26px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.cc-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; }

/* Opinie */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); }
.quote .stars { color: #F5A524; letter-spacing: 2px; font-size: 16px; }
.quote blockquote { margin: 0; font-size: 16px; color: var(--ink); }
.quote figcaption { margin-top: auto; display: flex; align-items: center; gap: 12px; font-size: 14px; }
.quote .avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font: 700 15px var(--display); color: var(--brand-dark); background: var(--brand-soft); flex: none; }
.quote figcaption b { display: block; color: var(--ink); }
.quote figcaption span { color: var(--muted); }

/* FAQ */
.narrow-wrap { max-width: 800px; }
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 860px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; padding: 18px 36px 18px 0; font: 600 17px var(--display); color: var(--ink); list-style: none; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 13px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--brand-soft); color: var(--brand-dark); font: 600 20px/1 var(--body); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 20px; color: var(--muted); max-width: 64ch; }

/* Końcowe wezwanie */
.cta-band { padding-block: 80px; }
.cta-box { position: relative; overflow: hidden; border-radius: 32px; padding: 56px; background: linear-gradient(120deg, #FF7A45 0%, var(--brand) 45%, #E4410A 100%); color: #fff; display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; box-shadow: 0 30px 60px -30px rgba(242, 84, 27, 0.6); }
.cta-box::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: rgba(255, 255, 255, 0.12); }
.cta-box h2 { color: #fff; }
.cta-box p { color: rgba(255, 255, 255, 0.9); margin-top: 10px; font-size: 18px; }
.cta-box .btn { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.35); position: relative; z-index: 1; }
.cta-box .btn:hover { background: #FFF6F2; }

/* Stopka */
.footer { background: #0F1B2D; color: #B8C2D1; padding-block: 56px calc(40px + env(safe-area-inset-bottom, 0px)); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.footer .wm { color: #fff; }
.footer .tld { color: #8F9BB0; }
.footer h4 { margin: 0 0 12px; font: 600 14px var(--display); color: #fff; letter-spacing: 0.02em; }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.footer a { color: #D7DEE8; text-decoration: none; }
.footer a:hover { color: #fff; }
.footer p { font-size: 14px; margin-top: 14px; max-width: 42ch; }
.pay-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.pay-row span { font: 600 12px var(--body); color: #E5EAF1; border: 1px solid #2A3A52; border-radius: 8px; padding: 6px 10px; }
.footer-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-social a { font: 600 12px var(--body); color: #E5EAF1; border: 1px solid #2A3A52; border-radius: 8px; padding: 6px 10px; }
.footer-social a:hover { color: #fff; border-color: #3A4C68; }
.footer-bottom { margin-top: 40px; padding-top: 22px; border-top: 1px solid #22314A; font-size: 13px; color: #8F9BB0; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }

/* Konto Google */
.account { display: flex; align-items: center; gap: 12px; }
.acct-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 14px var(--body); color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; }
.acct-btn.ghost { background: transparent; }
.acct-link { font-size: 14px; font-weight: 600; color: var(--ink); text-decoration: none; }
.acct-inline { display: flex; align-items: center; gap: 12px; }
/* Telefon: Panel, Moje wyceny i Wyloguj w menu „Konto” zamiast ukrytych linków */
.acct-menu { display: none; position: relative; }
.acct-menu > summary { list-style: none; min-height: 36px; }
.acct-menu > summary::-webkit-details-marker { display: none; }
.acct-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 190px; display: flex; flex-direction: column; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); }
.acct-pop .acct-link { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: 10px; }
.acct-pop .acct-link:hover, .acct-pop .acct-link:focus-visible { background: var(--soft); }
.acct-pop .acct-btn { justify-content: center; min-height: 44px; margin-top: 4px; }
@media (max-width: 760px) { .acct-inline { display: none; } .acct-menu { display: block; } }
.gis-btn { min-height: 32px; }
@media (max-width: 480px) {
  .top-actions { gap: 8px; min-width: 0; }
  .account { gap: 8px; }
  .acct-btn { padding: 7px 11px; font-size: 13px; }
  .gis-btn { max-width: 44px; overflow: hidden; }
}
.history { display: flex; flex-direction: column; margin-top: 20px; border-top: 1px solid var(--line); }
.hist-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.small { font-size: 13px; }

/* Reklamy */
.ad-slot { padding-block: 24px; border-block: 1px solid var(--line); background: var(--soft); }
.ad-mock { display: grid; place-items: center; min-height: 90px; border: 2px dashed #C9D3E0; border-radius: 12px; color: var(--muted); font-size: 14px; text-align: center; padding: 12px; background: #fff; }
.ad-label { display: block; font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }

/* Panel zgłoszeń */
.admin { padding-block: 40px 80px; }
.admin-title { font-size: 40px; margin-bottom: 20px; }
.admin-filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.admin-filters button { font: 600 14px var(--body); padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.admin-filters button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.admin-list { display: flex; flex-direction: column; gap: 14px; }
.adm { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow-sm); }
.adm header { display: flex; flex-wrap: wrap; gap: 8px; align-items: baseline; margin-bottom: 12px; }
.tag { font: 600 11px var(--body); text-transform: uppercase; letter-spacing: .06em; padding: 4px 8px; border-radius: 6px; background: var(--sky); color: #1D3E8F; }
.tag.paid { background: var(--green-soft); color: var(--green); }
.adm-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 18px; }
.adm-files { display: flex; flex-wrap: wrap; gap: 6px; align-content: flex-start; }
.adm-files img { width: 120px; height: 90px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.file-chip { font: 500 12px var(--mono); padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; }
.adm-info { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.adm-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-end; margin-top: 6px; }
.adm-form label { display: flex; flex-direction: column; gap: 3px; font-size: 12px; font-weight: 600; }
.adm-form input { width: 110px !important; }
.adm-form .wide { flex-basis: 100%; }

/* Strony tekstowe (polityka prywatności, regulamin, moje wyceny) */
.doc { max-width: 800px; margin: 0 auto; padding: 56px 20px 88px; }
.doc h1 { font-size: clamp(34px, 5vw, 48px); font-weight: 800; letter-spacing: -0.03em; }
.doc h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; }
.doc p, .doc li { max-width: 68ch; }
.doc p + p { margin-top: 10px; }
.doc ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.doc .todo { background: #FFF4C2; color: #7A5B00; padding: 1px 6px; border-radius: 4px; font-weight: 700; }

/* Responsywność */
@media (max-width: 980px) {
  .hero-grid, .kosztorys-grid, .split, .form-section .grid { grid-template-columns: 1fr; gap: 44px; }
  /* Na telefonie nagłówek się łamie: bez tego „Sprawdź, zanim zapłacisz.” poszerzał kolumnę ponad ekran i był ucięty */
  .hero h1 .hl { white-space: normal; }
  .hero-grid > * { min-width: 0; }
  .form-aside { position: static; }
  .hero { padding-block: 40px 64px; }
  .hero-photo { margin-inline: auto; }
  .examples, .testimonials, .steps { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .cta-box { grid-template-columns: 1fr; padding: 40px 28px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .adm-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .section { padding-block: 72px; }
  .examples, .testimonials, .steps { grid-template-columns: 1fr; }
  .float-found { right: 4px; top: 16px; }
  .float-estimate { left: 4px; bottom: 20px; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* Gwarancja przy ofercie kosztorysu */
.guarantee { margin-top: 18px; padding: 14px 16px 14px 46px; position: relative; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--brand); border-radius: 14px; font-size: 15px; line-height: 1.5; box-shadow: var(--shadow); }
.guarantee::before { content: "✓"; position: absolute; left: 14px; top: 13px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; font-weight: 700; font-size: 13px; display: grid; place-items: center; }

/* Pasek trybu testowego (wycenisz.pl/testmode) */
.test-banner { background: #FFF4D6; border-bottom: 1px solid #F0D58A; color: #5C4300; font-size: 14px; line-height: 1.45; padding: 10px 16px; text-align: center; }

/* Wynik: prośba o wyceny od lakierników */
.lead-box { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 16px; background: var(--sky); border: 1px solid #CFE0FF; }
.lead-box h3 { font-size: 18px; }
.lead-box > .btn { align-self: flex-start; }
.lead-form { display: flex; flex-direction: column; gap: 12px; }
.lead-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lead-grid label { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.lead-grid input { font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.lead-grid input:focus { outline: 3px solid var(--brand-soft); border-color: var(--brand); }
@media (max-width: 560px) { .lead-grid { grid-template-columns: minmax(0, 1fr); } }

/* Panel: prośba o wyceny od lakierników */
.tag.lead { background: var(--brand-soft); color: var(--brand-dark); }
.adm-lead { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--peach); border: 1px solid #FFD5C2; display: flex; flex-direction: column; gap: 4px; }
.adm-focus { outline: 3px solid var(--brand); outline-offset: 2px; }

/* Formularz: płatność przed wyceną i ponowne zdjęcia po płatności */
.pay-box { display: flex; flex-direction: column; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--peach); border: 1px solid #FFD5C2; font-size: 15px; }
.file-pick { align-self: flex-start; cursor: pointer; }

/* Darmowa analiza (teaser): co znaleźliśmy, zablokowana kwota, co dostajesz za 9,99 zł */
.found-list { display: flex; flex-direction: column; gap: 10px; }
.found { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; display: flex; flex-direction: column; gap: 4px; }
.found h3 { font-size: 16px; }
.found .why { font-size: 14px; color: var(--text); }
.locked-total strong { color: var(--muted); letter-spacing: 0.04em; }
.offer-rysa .btn.js-pay { font-size: 17px; }
.unlock { display: flex; flex-direction: column; gap: 8px; }
.unlock-list { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
.tips { padding: 14px 16px; border-radius: 14px; background: var(--sky); border: 1px solid #CFE0FF; }
.tips h3 { font-size: 16px; margin-bottom: 6px; }
.tips ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 4px; font-size: 15px; }
/* Porady w wyniku to zwykła lista: reguła .tips li (siatka z ikoną przy formularzu) wciskała tekst w kolumnę 34 px */
.tips ul li { display: list-item; }
.link-btn { background: none; border: 0; padding: 0; color: var(--blue); font: inherit; text-decoration: underline; cursor: pointer; }

/* Panel: licznik konwersji i decyzja o zwrocie */
.admin-stats { margin: 0 0 16px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: #fff; display: flex; flex-direction: column; gap: 10px; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.stat { padding: 10px 12px; border-radius: 10px; background: var(--soft); display: flex; flex-direction: column; gap: 2px; font-size: 14px; }
.stat h3 { font-size: 15px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.admin-gifts-search, .admin-accounts-search { display: flex; flex-direction: row; align-items: center; gap: 8px; flex-wrap: wrap; margin: 12px 0 16px; padding: 0; }
.admin-gifts-search input, .admin-accounts-search input { flex: 1 1 220px; min-width: 0; height: auto; }
.admin-gifts-search .btn, .admin-accounts-search .btn { flex: 0 0 auto; width: auto; }
.admin-tabs [role=tab] { font: inherit; font-weight: 600; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.admin-tabs [role=tab][aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.funnel-table .bar-cell { width: 30%; }
.funnel-table .bar { display: block; height: 10px; border-radius: 6px; background: var(--brand); min-width: 2px; }
.stat-chart { margin: 4px 0 0; }
.stat-chart svg { width: 100%; height: auto; display: block; }
.stat-chart .ax { stroke: var(--line); }
.stat-chart .lb { font-size: 11px; fill: var(--muted); }
.stat-chart .ln { stroke-width: 2.2; stroke-linejoin: round; }
.stat-chart .ln0, .stat-chart .key0::before { stroke: #9AA6B8; background: #9AA6B8; }
.stat-chart .ln1, .stat-chart .key1::before { stroke: var(--brand); background: var(--brand); }
.stat-chart .ln2, .stat-chart .key2::before { stroke: #0E9F6E; background: #0E9F6E; }
.stat-chart figcaption { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: var(--muted); }
.stat-chart .key::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.adm-refund { margin: 10px 0; padding: 12px 14px; border-radius: 12px; background: var(--brand-soft); display: flex; flex-direction: column; gap: 6px; }
.btn-row { display: flex; gap: 8px; flex-wrap: wrap; }

/* Metody płatności pod przyciskiem (tylko włączone w Stripe, PAYMENT_METHODS) */
.pay-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-chips span { font: 600 12px/1 var(--body); padding: 5px 9px; border-radius: 6px; border: 1px solid var(--line); background: #fff; color: var(--text); }

/* Strony poradnikowe z cenami (site/poradnik, scripts/seo-pages.js) */
.guide { padding-block: 32px 56px; }
.guide article { display: flex; flex-direction: column; gap: 18px; }
.guide h1 { font-size: clamp(28px, 4.4vw, 40px); font-weight: 800; letter-spacing: -0.02em; }
.guide h2 { font-size: clamp(22px, 3vw, 28px); margin-top: 8px; }
.crumbs { font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); }
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; font-size: 15px; }
.price-table caption { caption-side: bottom; text-align: left; font-size: 13px; color: var(--muted); padding-top: 8px; }
.price-table th, .price-table td { text-align: left; padding: 12px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.price-table thead th { border-top: 0; background: var(--soft); font: 600 12px/1.2 var(--body); letter-spacing: .05em; text-transform: uppercase; color: #55637A; }
.price-table td.num { font-family: var(--body); font-weight: 600; font-size: 15px; white-space: nowrap; text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.price-table thead th:last-child { text-align: right; }
.guide-cta { margin-block: 8px; }
.guide-links { font-size: 14px; line-height: 1.8; padding-bottom: 16px; }
.guide-links a { color: var(--text); }
.guide-photo { margin: 4px 0 0; display: flex; flex-direction: column; gap: 6px; }
.guide-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; border-radius: 14px; }
.guide-photo figcaption { font-size: 13px; color: var(--muted); }
.src-table td, .src-table th { white-space: nowrap; }
.example-photo .photo-note { position: absolute; right: 10px; bottom: 10px; font: 600 11px/1 var(--body); padding: 5px 8px; border-radius: 6px; background: rgba(15, 27, 45, 0.7); color: #fff; }

/* UI v2: darmowy wynik (karta „co znaleźliśmy” 2×2) i ciemna karta ceny */
.lines .li.sub span:first-child { padding-left: 14px; font-size: 13px; color: var(--muted); }
.total.alt { background: var(--soft); color: var(--text); }
.total.alt strong { font-size: 24px; color: var(--ink); }
.if-replaced { margin: -4px 0 8px; font-size: 13px; line-height: 1.5; color: var(--muted); }
.ask-panel { background: var(--soft); border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.ask-panel p { margin: 0; font-size: 14px; line-height: 1.5; }
.ask-row { display: flex; gap: 8px; flex-wrap: wrap; }
.ask-row select { flex: 1 1 200px; min-width: 0; }
.found-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.found-head { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.found-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 14px; margin: 0; }
.found-grid div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.found-grid dt { font-size: 13px; color: var(--muted); }
.found-grid dd { margin: 0; font-size: 15px; font-weight: 700; color: var(--ink); overflow-wrap: anywhere; }
.found-card .why { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.found-card .retake-tip { background: none; padding: 0 2px; font-size: 13px; color: var(--muted); }
.found-card .retake-tip .link-btn { font-weight: 600; }
.price-card { background: var(--ink); color: #fff; border-radius: 18px; padding: 18px 16px; display: flex; flex-direction: column; gap: 14px; }
.price-card .price-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.price-card .price-row span { font-size: 14px; color: #C3CCD8; }
.price-card .price-row strong { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: .04em; white-space: nowrap; }
.ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 14px; color: #E2E8F0; }
.ticks li { padding-left: 24px; position: relative; }
.ticks li::before { content: "✓"; position: absolute; left: 0; color: #5FD3A4; font-weight: 700; }
.price-card .offer { background: transparent; border: 0; padding: 0; gap: 12px; }
.price-card .check { color: #C3CCD8; font-size: 12.5px; }
.price-card .check a { color: #FFB59A; }
.price-card .btn.js-pay { min-height: 52px; font-size: 17px; }
.price-card .pay-chips { justify-content: center; }
.price-card .pay-chips span { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #E2E8F0; }
.price-card .coupon summary { color: #C3CCD8; }
.price-card .error { color: #FFB4A8; }
.price-card .fine { color: #C3CCD8; }
.link-light { align-self: center; min-height: 44px; background: none; border: 0; padding: 0 4px; font: inherit; font-size: 14px; font-weight: 600; color: #FFB59A; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.fine.center { text-align: center; }

/* „Kto za tym stoi”: kto prowadzi, jak liczymy, prawa klienta */
.about-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 28px; }
.about-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text); }
.about-card h3 { font-size: 18px; color: var(--ink); }
.about-card ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; }
@media (max-width: 980px) { .about-grid { grid-template-columns: 1fr; } }

/* Baner zgody Google Ads: dwa równorzędne przyciski, bez zasłaniania treści na stałe */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 40; max-width: 640px; margin: 0 auto; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 16px; display: flex; flex-direction: column; gap: 12px; font-size: 14px; line-height: 1.5; }
.cookie-banner[hidden] { display: none; }
.cookie-banner a { color: var(--blue); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cookie-actions .btn { min-height: 44px; padding: 10px 16px; }
@media (max-width: 700px) { .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 12px 14px; gap: 8px; font-size: 13px; line-height: 1.45; } .cookie-actions .btn { min-height: 42px; padding: 8px 12px; } }
.link-cookies { background: none; border: 0; padding: 0; font: inherit; color: inherit; text-decoration: underline; cursor: pointer; min-height: 24px; }
.link-cookies[hidden] { display: none; }
/* Przykłady: prawdziwy wynik systemu (pierścienie z prostokątów AI, pozycje, podpis) */
.ex-ring { position: absolute; overflow: visible; fill: none; stroke: #FF7A45; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; filter: drop-shadow(0 1px 2px rgba(0,0,0,.3)); pointer-events: none; }
.ex-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ex-lines li { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 14px; }
.ex-lines b { display: block; color: var(--ink); font-weight: 700; }
.ex-lines small { display: block; color: var(--muted); font-size: 12.5px; }
.ex-lines em { font-style: normal; font-weight: 700; color: var(--ink); white-space: nowrap; }
.example-body .ex-real { font-size: 12px; color: var(--muted); margin: 0; }
.ex-real a { color: inherit; }
.example-photo { overflow: hidden; }
.example-photo picture { position: absolute; inset: 0; }
.restore-note { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.note-close { flex: none; width: 32px; height: 32px; border: 0; border-radius: 50%; background: transparent; color: #1D3E8F; font-size: 22px; line-height: 1; cursor: pointer; }
.note-close:hover, .note-close:focus-visible { background: rgba(29, 62, 143, 0.1); }
.result-reset { margin-top: 16px; text-align: center; }

/* Newsletter: formularz w stopce i popup z kodem -30% (assets/newsletter.js) */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.nl-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.nl-form { display: grid; gap: 12px; padding: 0; }
.nl-form .btn { width: auto; padding: 13px 28px; }
.nl-form .nl-email { width: 100%; min-width: 0; font: 16px var(--body); padding: 11px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); }
.nl-form .btn { justify-self: start; }
.nl-dialog .nl-form .btn { justify-self: stretch; width: 100%; }
.nl-consent { font-size: 13px; line-height: 1.45; }
.nl-done p { margin: 0 0 6px; }
.nl-code { font-family: var(--display); letter-spacing: 0.04em; color: var(--brand-dark); }
.footer-news { margin: 0 0 48px; padding: 28px 32px; border-radius: 18px; background: #16243A; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 16px 40px; align-items: center; }
.footer-news h4 { margin: 0 0 6px; font-size: 20px; }
.footer-news .nl-text p { margin: 0; color: #D7DEE8; max-width: 46ch; }
.footer-news .nl-consent span, .footer-news .nl-done p { color: #D7DEE8; }
.footer-news .nl-consent a { color: #fff; }
.footer-news .nl-code { color: #FF9A6E; }
.footer-news .error { color: #FFB4A0; }
@media (max-width: 760px) { .footer-news { grid-template-columns: 1fr; padding: 22px 20px; } }
.nl-modal { position: fixed; inset: 0; z-index: 60; background: rgba(15, 27, 45, 0.55); display: grid; place-items: center; padding: 16px; }
.nl-dialog { position: relative; width: min(460px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 20px; padding: 28px 24px 22px; box-shadow: var(--shadow); color: var(--text); }
.nl-dialog h2 { font: 800 26px/1.15 var(--display); letter-spacing: -0.02em; color: var(--ink); margin: 6px 0 10px; }
.nl-dialog > p { font-size: 15px; margin: 0 0 16px; }
.nl-badge { display: inline-block; margin: 0; background: var(--brand-soft); color: #B53C0D; font: 800 14px var(--display); padding: 6px 12px; border-radius: 999px; }
.nl-close { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; font-size: 26px; line-height: 1; color: var(--muted); cursor: pointer; }
.nl-close:hover, .nl-close:focus-visible { background: var(--soft); color: var(--ink); }
.nl-consent a, .nl-dialog a { text-decoration: underline; }
/* Logo w małym rozmiarze (stopka): cieńsza kreska pierścienia, żeby nie zasłaniała liter */
.brand.small .ring { stroke-width: 2.4; }
.sample-btn { align-self: flex-start; }
.split .source, p.source { max-width: 75ch; }
/* Linki w treści kart „Kto za tym stoi”: kolor marki, jak inne linki w treści, z wyraźnym hover i fokusem */
.about-card a { color: var(--btn); text-decoration: underline; text-underline-offset: 2px; }
.about-card a:hover { color: var(--ink); text-decoration-thickness: 2px; }
.about-card a:focus-visible { outline: 3px solid var(--btn); outline-offset: 2px; border-radius: 3px; }
.source a { color: inherit; text-decoration: underline; }
.notes { margin-top: 14px; padding: 12px 16px; background: var(--soft); border-radius: 12px; } .notes ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; } .notes li { margin-bottom: 4px; }
.adm-read { margin: 8px 0; } .adm-read table { border-collapse: collapse; margin-top: 6px; } .adm-read th { text-align: left; font-weight: 600; padding: 2px 12px 2px 0; color: var(--muted); } .adm-read td { padding: 2px 0; }

/* Strona główna „zdjęcie najpierw” (2026-10-24): formularz jest pierwszym ekranem, obok zdjęcie i instrukcje.
   Usunięte hero, pasek zaufania i końcowy baner powtarzały to, co mówi formularz. */
.top-form { padding-top: 48px; background: linear-gradient(180deg, #F7FAFF 0%, #FFFFFF 100%); }
.top-head { margin-bottom: 32px; }
.top-head h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(32px, 5vw, 52px); line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); max-width: 18ch; }
.top-head .lead { margin: 14px 0 0; max-width: 62ch; }
.value-split { display: grid; grid-template-columns: 1.25fr 1fr; gap: 32px; align-items: center; }
.value-split > * { min-width: 0; }
.value-shot { margin: 0; width: 100%; aspect-ratio: 4 / 3; }
.prices-details { margin-top: 28px; }
.prices-details > summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 12px 0; min-height: 44px; }
.kosztorys-band { padding-block: 40px; }
.kosztorys-band .band { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; background: var(--mint); border-radius: var(--radius); padding: 28px 32px; }
.kosztorys-band .band > div { flex: 1 1 420px; min-width: 0; }
.kosztorys-band h2 { margin: 0 0 6px; font-size: 24px; }
.kosztorys-band p { margin: 0; color: var(--text); }
@media (max-width: 980px) {
  .value-split { grid-template-columns: 1fr; }
  /* na telefonie formularz przed zdjęciem i instrukcjami: wciąż obok siebie, ale pole zdjęć od razu na ekranie */
  .top-form .form-card { order: -1; }
  .top-form { padding-top: 24px; }
  .top-head { margin-bottom: 20px; }
  .top-form .form-aside .aside-photo { aspect-ratio: 16 / 9; }
}
@media (max-width: 760px) {
  .report-value-grid { grid-template-columns: 1fr; }
  .kosztorys-band .band { padding: 20px; }
}

/* Po zakupie: co dalej i kody prezentowe (31.10.2026) */
.post-purchase { margin-top: 24px; padding: 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--soft); }
.post-purchase h3 { margin: 0 0 10px; font-size: 18px; }
.post-purchase h3 + p { margin: 0 0 12px; color: var(--text); }
.next-steps { margin: 0 0 18px; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--text); }
.gifts { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.gift { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; background: #fff; border: 1px dashed var(--brand); border-radius: 12px; }
.gift b { display: block; font-family: var(--mono); font-size: 16px; letter-spacing: 0.04em; color: var(--ink); }
.gift small { color: var(--muted); }
.gift.used { opacity: 0.6; border-style: solid; border-color: var(--line); }
.gift .btn { min-height: 44px; }
.gift-note { margin: 0 0 12px; }
