/* Aktualna warstwa wizualna. Historyczny styles.css zachowuje kontrakty
   kalkulatora, archiwum i druku; ten arkusz porządkuje ich prezentację. */
:root {
  --paper: #fcfbf8;
  --surface: #fff;
  --surface-2: #f4f3ef;
  --surface-3: #ebe9e2;
  --ink: #1d1e1b;
  --ink-soft: #3c3d37;
  --muted: #66685f;
  --muted-2: #6b6d64;
  --line: #e4e3db;
  --line-2: #cfcec3;
  --accent: #1b3a8c;
  --accent-2: #132a68;
  --accent-soft: #eef1f9;
  --accent-line: #c7d2ea;
  --accent-on-ink: #bccbf3;
  --zolty: #f2c14e;
  --zolty-2: #e8b63c;
  --zolty-3: #d7a42a;
  --na-zoltym: #202316;
  --zolty-soft: #f6efd9;
  --on-accent: #fff;
  --glass: rgba(252, 251, 248, .96);
  --maxw: 1200px;
  --gutter: 24px;
  --pf-panel: #f3f2ed;
  --pf-feature: #efebd4;
  --pf-feature-ink: #343326;
  --pf-feature-line: #d1ccb1;
  --pf-inverse: #1d1e1b;
  --pf-on-inverse: #fff;
  --fs-body: 1rem;
}
[data-theme="ciemny"] {
  --paper: #171815;
  --surface: #21221e;
  --surface-2: #282923;
  --surface-3: #33342d;
  --ink: #f3f1e8;
  --ink-soft: #d8d6ca;
  --muted: #b3b3a7;
  --muted-2: #abac9e;
  --line: #383a30;
  --line-2: #4c4e41;
  --accent: #bccbf3;
  --accent-2: #d5def6;
  --accent-soft: #262d40;
  --accent-line: #495b84;
  --on-accent: #151c2b;
  --glass: rgba(23, 24, 21, .96);
  --pf-panel: #23241f;
  --pf-feature: #343425;
  --pf-feature-ink: #eeecd7;
  --pf-feature-line: #56543c;
  --pf-inverse: #f2c14e;
  --pf-on-inverse: #202316;
}
html { scroll-padding-top: 100px; }
body { line-height: 1.55; }
body, p, li, .small, .tile__d, .dalej__s { font-size: 1rem; }
.small, .xs { font-size: .875rem; }
.wrap { width: min(100% - 48px, var(--maxw)); padding-inline: 0; }
.wrap--narrow { max-width: 780px; }
main .h1, main h1.h2, .hero-uslugi__tytul {
  font-size: clamp(2.2rem, 4.6vw, 4.25rem);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 600;
  max-width: 20ch;
}
main h2.h2 { font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.15; }
main .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.25; }
main .h4 { font-size: 1.15rem; line-height: 1.35; }
.section--tight { padding-block: 36px; }
.section__head { gap: 14px; margin-bottom: 28px; }
.page-head { padding-block: 48px 32px; }
.hero-uslugi { padding-block: 48px 32px; }
.hero-uslugi__lead { max-width: 56ch; font-size: 1.1rem; line-height: 1.6; }
.card, .ck, .pakiet, .usluga, .model-card { border-radius: 20px; }
.btn { min-height: 48px; border-radius: 100px; font-size: .9375rem; font-weight: 500; padding: 12px 22px; }
.btn--zolty { color: var(--na-zoltym); }
.input, .select { min-height: 48px; border-radius: 10px; }
.q--panel { max-width: 800px; margin-inline: auto; padding: clamp(24px, 4vw, 48px); border-radius: 24px; }
.q--panel .q__head { gap: 8px; margin-bottom: 22px; }
.q--panel .q__pytanie { font-size: clamp(1.25rem, 2.5vw, 1.6rem); line-height: 1.25; }
.q--panel .q__opcja { min-height: 88px; border-radius: 14px; padding: 18px; }
.q--panel .q__opcja-t { font-size: 1rem; }
.q--panel .q__opcja-d { font-size: .8125rem; line-height: 1.5; margin-top: 5px; }
.q--panel .q__lead { font-size: .9375rem; line-height: 1.6; }
.q--panel [data-f-krok-dalej] { border-radius: 100px; }
.q--panel [data-f-kroki-nav] { margin-top: 24px; }
.site-footer { padding-block: 36px 24px; }
.footer__link { font-size: .875rem; }
.footer__about, .footer__legal, .footer__bottom { font-size: .8125rem; line-height: 1.6; }
.site-header .brand__mark, .site-footer .brand__mark { border-radius: 11px; }
.zgoda { background: var(--surface); border-color: var(--line); border-radius: 16px; box-shadow: 0 4px 32px #0000000d; }
.zgoda__text, .zgoda__link { font-size: .75rem; line-height: 1.5; }
.zgoda__more { display: none; }
.zgoda .btn { min-height: 40px; }

@media (max-width: 640px) {
  :root { --gutter: 20px; }
  .wrap { width: calc(100% - 40px); }
  .section--tight { padding-block: 26px; }
  .q--panel { padding: 24px 20px; border-radius: 20px; }
  .q--panel .q__opcja { padding: 14px; }
  .q--panel .q__opcja-d { font-size: .75rem; }
}
@media print {
  :root, [data-theme="ciemny"] {
    --paper: #fff; --surface: #fff; --surface-2: #fff; --surface-3: #eee;
    --ink: #000; --ink-soft: #222; --muted: #333; --muted-2: #333; --accent: #000;
  }
  main .h1, main h1.h2, .hero-uslugi__tytul { font-size: 24pt; }
  main h2.h2 { font-size: 18pt; }
  .q--panel { padding: 0; border: 0; }
}
