/* =========================================================
   Auto Serwis Jacek Zając — style strony
   Kolory mają znaczenie:
   pomarańcz (kogut lawety) = laweta i sprawy pilne,
   niebieski (szyld SKP)     = stacja kontroli pojazdów,
   grafit (asfalt)           = warsztat i mechanika.
   ========================================================= */

@font-face { font-family: "Anton"; src: url("fonts/anton-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Fira Sans"; src: url("fonts/fira-700.woff") format("woff"); font-weight: 700; font-display: swap; }

:root {
  --asfalt: #1C1F24;
  --asfalt-2: #2A2F37;
  --asfalt-3: #3A414B;
  --papier: #F2F3F5;
  --bialy: #FFFFFF;
  --kogut: #FF8A00;
  --kogut-jasny: #FFB357;
  --skp: #1F4FA8;
  --skp-ciemny: #173C82;
  --stal: #5B626C;
  --linia: #D5D9DF;
  --ok: #1E8E4E;
  --blad: #B3261E;

  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --tekst: "Fira Sans", "Segoe UI", system-ui, -apple-system, sans-serif;

  --szer: 1180px;
  --r-maly: 6px;
  --r-duzy: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  font-family: var(--tekst);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--asfalt);
  background: var(--papier);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }

h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.02; margin: 0; letter-spacing: 0.005em; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.2rem); margin-bottom: 0.45em; }
h3 { font-size: clamp(1.45rem, 2.4vw, 1.8rem); margin-bottom: 0.35em; }

:focus-visible { outline: 3px solid var(--kogut); outline-offset: 3px; border-radius: 3px; }

.wrap { width: min(100% - 2.5rem, var(--szer)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 100; background: var(--kogut); color: var(--asfalt); padding: 0.6rem 1rem; font-weight: 700; border-radius: var(--r-maly); }
.skip:focus { top: 1rem; }

/* ---------- przyciski ---------- */
.btn {
  color: inherit;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 52px; padding: 0.7rem 1.35rem;
  font: 600 1.05rem/1.1 var(--tekst);
  text-decoration: none; border: 2px solid transparent; border-radius: var(--r-maly);
  cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn--kogut { background: var(--kogut); color: var(--asfalt); }
.btn--kogut:hover { background: var(--kogut-jasny); }
.btn--ciemny { background: var(--asfalt); color: var(--bialy); }
.btn--ciemny:hover { background: var(--asfalt-3); }
.btn--obrys { border-color: currentColor; background: transparent; }
.btn--obrys:hover { background: rgba(255,255,255,.08); }
.btn--skp { background: var(--skp); color: var(--bialy); }
.btn--skp:hover { background: var(--skp-ciemny); }
.btn--maly { min-height: 44px; padding: 0.5rem 1rem; font-size: 0.98rem; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- nagłówek ---------- */
.top {
  position: sticky; top: 0; z-index: 50;
  background: var(--asfalt); color: var(--bialy);
  border-bottom: 1px solid var(--asfalt-3);
}
.top__in { display: flex; align-items: center; gap: 1.5rem; min-height: 72px; }
.top__logo { flex: none; display: block; }
.top__logo img { display: block; height: 46px; width: auto; }
.top__nav { display: flex; gap: 1.4rem; margin-left: auto; }
.top__nav a { text-decoration: none; font-weight: 600; font-size: 0.98rem; color: #D7DADF; padding: 0.4rem 0; }
.top__nav a:hover { color: var(--bialy); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.top__tel { margin-left: 0.5rem; flex: none; white-space: nowrap; }
.status {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.92rem; font-weight: 600; color: #D7DADF; white-space: nowrap;
}
.status__dot { width: 10px; height: 10px; border-radius: 50%; background: var(--stal); flex: none; }
.status[data-open="true"] .status__dot { background: #36C46F; box-shadow: 0 0 0 4px rgba(54,196,111,.18); }
.status[data-open="false"] .status__dot { background: #E35B4F; }
.top__status { margin: 0; white-space: normal; max-width: 13rem; line-height: 1.25; }

@media (max-width: 1160px) { .top__nav { display: none; } .top__status { margin-left: auto; max-width: 20rem; } }
@media (max-width: 640px) {
  .top__in { min-height: 62px; gap: .8rem; }
  .top__logo img { height: 40px; }
  .top__tel { display: none; }
  .status { font-size: 0.82rem; white-space: normal; text-align: right; line-height: 1.2; }
}

/* ---------- hero ---------- */
.hero { background: var(--asfalt); color: var(--bialy); padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5.5rem); overflow: hidden; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); column-gap: clamp(2rem, 5vw, 4.5rem); row-gap: clamp(1.8rem, 3.5vw, 2.8rem); align-items: start; }
.hero__lines { grid-column: 1 / -1; list-style: none; font-family: var(--display); text-transform: uppercase; font-size: clamp(2.5rem, 7.2vw, 6.3rem); line-height: 0.98; margin: 0; }
.hero__lines li { display: flex; align-items: flex-start; gap: 0.3em; }
.hero__lines li::before { content: ""; width: 0.3em; height: 0.3em; flex: none; border-radius: 2px; background: var(--c); margin-top: 0.36em; }
.hero__text { padding-top: 0.4rem; }
.hero__lead { max-width: 34em; font-size: 1.16rem; color: #C9CDD3; margin-bottom: 1.8rem; }
.hero__lead strong { color: var(--bialy); font-weight: 600; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* wybór problemu */
.triage { background: var(--bialy); color: var(--asfalt); border-radius: var(--r-duzy); padding: 1.6rem 1.5rem 1.5rem; }
.triage h2 { font-size: 2rem; margin-bottom: 0.2em; }
.triage__hint { color: var(--stal); font-size: 0.98rem; margin-bottom: 1rem; }
.triage details { border-top: 1px solid var(--linia); }
.triage details:last-of-type { border-bottom: 1px solid var(--linia); }
.triage summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 0.8rem;
  padding: 0.85rem 0.25rem; font-weight: 600; font-size: 1.06rem;
}
.triage summary::-webkit-details-marker { display: none; }
.triage summary::before { content: ""; width: 12px; height: 12px; border-radius: 2px; background: var(--c, var(--asfalt)); flex: none; }
.triage summary::after { content: "+"; margin-left: auto; font: 400 1.6rem/1 var(--tekst); color: var(--stal); }
.triage details[open] summary::after { content: "–"; }
.triage summary:hover { background: var(--papier); }
.triage__answer { padding: 0 0.25rem 1.1rem 2.05rem; }
.triage__answer p { margin-bottom: 0.8rem; }
.triage__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; }

@media (max-width: 900px) { .hero__in { grid-template-columns: 1fr; } }

/* ---------- sekcje ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section__intro { max-width: 40em; color: var(--stal); font-size: 1.12rem; margin-bottom: 2.2rem; }

/* usługi: tablica jak w warsztacie */
.board { border-top: 3px solid var(--asfalt); }
.board__row {
  display: grid; grid-template-columns: 10px minmax(0, 0.9fr) minmax(0, 1.6fr) 9.5rem;
  gap: 1.5rem; align-items: start; padding: 1.6rem 0; border-bottom: 1px solid var(--linia);
}
.board__row::before { content: ""; align-self: stretch; background: var(--c); border-radius: 2px; }
.board__row h3 { margin: 0; }
.board__row p { margin: 0 0 0.6rem; }
.board__tags { list-style: none; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.board__tags li { font-size: 0.9rem; background: var(--bialy); border: 1px solid var(--linia); border-radius: 999px; padding: 0.2rem 0.7rem; }
.board__link { font-weight: 600; white-space: nowrap; text-underline-offset: 4px; justify-self: end; }
@media (max-width: 760px) {
  .board__link { justify-self: start; display: inline-flex; align-items: center; min-height: 44px; }
  .board__row { grid-template-columns: 8px minmax(0, 1fr); gap: 0.4rem 1rem; }
  .board__row > :not(:first-child) { grid-column: 2; }
  .board__row::before { grid-row: span 3; }
}

/* laweta */
.tow { background: var(--kogut); color: var(--asfalt); }
.tow__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.tow__now { background: var(--asfalt); color: var(--bialy); display: inline-block; padding: 0.55rem 0.9rem; border-radius: var(--r-maly); font-size: 0.98rem; margin-bottom: 0.4rem; }
.tow__now strong { color: var(--kogut); }
.tow__phone { display: inline-block; font-family: var(--display); font-size: clamp(2.6rem, 6vw, 4.2rem); line-height: 1; text-decoration: none; margin: 0.2rem 0 1.2rem; }
.tow__phone:hover { text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 6px; }
.tow__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-bottom: 1rem; }
.tow__note { font-size: 0.96rem; max-width: 32em; }
.tow__msg { margin-top: 1rem; padding: 0.9rem 1rem; background: rgba(28,31,36,.1); border-radius: var(--r-maly); font-weight: 600; }
.tow__msg:empty { display: none; }
.tow__uses { margin-top: 1.6rem; padding-top: 1.2rem; border-top: 2px solid rgba(28,31,36,.25); }
.tow__uses ul { padding-left: 1.2rem; }
.steps { align-self: start; background: var(--asfalt); color: var(--bialy); border-radius: var(--r-duzy); padding: 1.6rem 1.6rem 1.2rem; }
.steps h3 { color: var(--kogut); }
.steps ol { counter-reset: s; list-style: none; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.2rem 1fr; gap: 0.4rem; padding: 0.75rem 0; border-top: 1px solid var(--asfalt-3); }
.steps li::before { content: counter(s); font-family: var(--display); font-size: 1.7rem; line-height: 1; color: var(--kogut); }
.steps li p { margin: 0; color: #D7DADF; }
.steps li strong { color: var(--bialy); }
@media (max-width: 860px) { .tow__in { grid-template-columns: 1fr; } }

/* SKP */
.skp-sign { background: var(--skp); color: var(--bialy); border-radius: var(--r-duzy) var(--r-duzy) 0 0; padding: 1.4rem 1.6rem; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 0.5rem 2rem; }
.skp-sign h2 { margin: 0; }
.skp-sign__code { font-weight: 600; color: #D9E3F7; }
.skp-body { background: var(--bialy); border: 1px solid var(--linia); border-top: 0; border-radius: 0 0 var(--r-duzy) var(--r-duzy); padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(1.8rem, 4vw, 3.5rem); }
@media (max-width: 900px) { .skp-body { grid-template-columns: 1fr; } }

.fees { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.fees caption { text-align: left; color: var(--stal); font-size: 0.95rem; padding-bottom: 0.6rem; caption-side: bottom; padding-top: 0.7rem; }
.fees th, .fees td { padding: 0.62rem 0.2rem; border-bottom: 1px solid var(--linia); text-align: left; font-weight: 400; vertical-align: top; }
.fees td { text-align: right; font-weight: 700; white-space: nowrap; padding-left: 1rem; }
.fees tr.fees__main th, .fees tr.fees__main td { font-weight: 700; }
.fees tr.fees__main td { color: var(--skp); font-size: 1.15rem; }

.calc { background: var(--papier); border-radius: var(--r-duzy); padding: 1.4rem; }
.calc h3 { color: var(--skp); }
.calc__grid { display: grid; gap: 0.9rem; margin: 1rem 0; }
.field label, .field legend { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.98rem; }
.field small { display: block; color: var(--stal); font-size: 0.88rem; margin-top: 0.25rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.6rem 0.8rem; font: 400 1.02rem var(--tekst); color: var(--asfalt);
  background: var(--bialy); border: 2px solid var(--linia); border-radius: var(--r-maly);
}
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--asfalt); outline: none; box-shadow: 0 0 0 3px rgba(255,138,0,.45); }
.calc__result { margin-top: 1rem; padding: 1rem 1.1rem; background: var(--bialy); border-left: 5px solid var(--skp); border-radius: var(--r-maly); }
.calc__result[hidden] { display: none; }
.calc__date { font-family: var(--display); font-size: 2.1rem; line-height: 1.05; color: var(--skp); display: block; margin: 0.1rem 0 0.3rem; }
.calc__result[data-late="true"] { border-left-color: var(--blad); }
.calc__result[data-late="true"] .calc__date { color: var(--blad); }
.calc__actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.8rem; }
.calc__err { color: var(--blad); font-weight: 600; margin-top: 0.6rem; }
.calc__err:empty { display: none; }

.skp-info { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem 2rem; }
.skp-info h3 { font-size: 1.4rem; }
.skp-info p { color: #39404A; margin-bottom: 0.4rem; }
.skp-info ul { padding-left: 1.1rem; color: #39404A; }
@media (max-width: 860px) { .skp-info { grid-template-columns: 1fr; } }

/* DPF */
.dpf { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.checklist { list-style: none; }
.checklist li { display: flex; gap: 0.75rem; padding: 0.7rem 0; border-bottom: 1px solid var(--linia); }
.checklist li::before { content: ""; width: 18px; height: 18px; flex: none; margin-top: 0.2em; border: 2px solid var(--asfalt); border-radius: 3px; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--asfalt); border-radius: var(--r-duzy); overflow: hidden; margin-bottom: 1.4rem; }
.compare > div { padding: 1.2rem 1.2rem 1.1rem; }
.compare > div + div { border-left: 2px solid var(--asfalt); background: var(--asfalt); color: var(--bialy); }
.compare b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.8rem; line-height: 1.05; margin: 0.2rem 0 0.4rem; }
.compare p { margin: 0; font-size: 0.95rem; }
.compare > div + div p { color: #C9CDD3; }
.tips { padding-left: 1.2rem; }
.tips li { margin-bottom: 0.35rem; }
@media (max-width: 860px) { .dpf { grid-template-columns: 1fr; } }

/* jak pracujemy */
.flow { list-style: none; counter-reset: f; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 3px solid var(--asfalt); }
.flow li { counter-increment: f; padding: 1.2rem 1.2rem 0.4rem 0; }
.flow li + li { padding-left: 1.2rem; border-left: 1px solid var(--linia); }
.flow li::before { content: counter(f); display: block; font-family: var(--display); font-size: 2.6rem; line-height: 1; margin-bottom: 0.4rem; }
.flow h3 { font-size: 1.35rem; }
.flow p { color: #39404A; font-size: 0.98rem; }
@media (max-width: 860px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .flow { grid-template-columns: 1fr; }
  .flow li, .flow li + li { padding-left: 0; border-left: 0; border-bottom: 1px solid var(--linia); }
}

/* opinie */
.review { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem 2rem; background: var(--bialy); border: 1px solid var(--linia); border-radius: var(--r-duzy); padding: 1.6rem 1.8rem; }
.review h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin-bottom: 0.2em; }
.review p { margin: 0; color: var(--stal); max-width: 36em; }

/* FAQ */
.faq { max-width: 52rem; }
.faq details { border-bottom: 1px solid var(--linia); }
.faq details:first-of-type { border-top: 3px solid var(--asfalt); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; padding: 1.05rem 0; font-weight: 600; font-size: 1.1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--tekst); color: var(--stal); }
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 0 1.1rem; max-width: 44em; color: #39404A; }

/* kontakt */
.contact { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (max-width: 900px) { .contact { grid-template-columns: minmax(0, 1fr); } }
.contact__card { background: var(--asfalt); color: var(--bialy); border-radius: var(--r-duzy); padding: 1.6rem; }
@media (max-width: 380px) { .contact__card { padding: 1.1rem; } }
.contact__card h3 { color: var(--kogut); }
.contact__card a { color: var(--bialy); }
.contact__big { font-family: var(--display); font-size: 2.3rem; line-height: 1.05; text-decoration: none; display: inline-block; margin-bottom: 0.4rem; }
.contact__card address { font-style: normal; color: #D7DADF; margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.2rem; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; font-weight: 400; padding: 0.4rem 0; border-bottom: 1px solid var(--asfalt-3); color: #D7DADF; }
.hours td { text-align: right; padding-left: 0.8rem; white-space: nowrap; }
.hours thead th, .hours thead td { font-size: 0.85rem; color: #9AA1AB; border-bottom-color: var(--stal); white-space: normal; vertical-align: bottom; }
.hours tr[data-today="true"] th, .hours tr[data-today="true"] td { color: var(--bialy); font-weight: 700; }
.hours tr[data-today="true"] th::after { content: " (dziś)"; color: var(--kogut); font-weight: 600; }
@media (max-width: 480px) { .hours { font-size: 0.9rem; } .hours td { padding-left: 0.5rem; } .hours tr[data-today="true"] th::after { content: " •"; } }
.map { margin-top: 1.2rem; border-radius: var(--r-maly); overflow: hidden; background: var(--asfalt-2); }
.map__ph { padding: 1.2rem; display: grid; gap: 0.6rem; justify-items: start; color: #C9CDD3; font-size: 0.92rem; }
.map iframe { width: 100%; height: 300px; border: 0; display: block; }
.contact__links { display: flex; flex-wrap: wrap; gap: 0.6rem; }

.form { background: var(--bialy); border: 1px solid var(--linia); border-radius: var(--r-duzy); padding: clamp(1.3rem, 3vw, 2rem); }
.form h3 { margin-bottom: 0.2em; }
.form__intro { color: var(--stal); margin-bottom: 1.2rem; }
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem 1rem; }
.form__full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form__grid { grid-template-columns: 1fr; } }
.consent { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.92rem; color: #39404A; }
.consent input { width: 20px; height: 20px; margin-top: 0.15rem; flex: none; accent-color: var(--asfalt); }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.2rem; }
.form__alt { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; }
.form__alt span { color: var(--stal); font-weight: 600; }
.form__hint { margin: 0.7rem 0 0; font-size: 0.9rem; color: var(--stal); }
.form__msg { margin-top: 1rem; font-weight: 600; }
.form__msg:empty { display: none; }
.form__msg[data-type="ok"] { color: var(--ok); }
.form__msg[data-type="err"] { color: var(--blad); }
.hp { position: absolute; left: -9999px; }

/* tablica rejestracyjna */
.plate { display: flex; align-items: stretch; border: 2px solid var(--asfalt); border-radius: 7px; overflow: hidden; background: var(--bialy); min-height: 52px; }
.plate__eu { background: #1F4FA8; color: var(--bialy); width: 34px; display: grid; place-items: end center; padding-bottom: 5px; font: 700 0.8rem/1 var(--tekst); flex: none; }
.plate input { border: 0; border-radius: 0; min-height: 48px; font: 700 1.35rem var(--tekst); letter-spacing: 0.12em; text-transform: uppercase; }
.plate input:focus { box-shadow: none; }
.plate:focus-within { box-shadow: 0 0 0 3px rgba(255,138,0,.45); }

/* stopka */
.foot { background: var(--asfalt); color: #C9CDD3; padding: 3rem 0 6.5rem; font-size: 0.95rem; }
.foot__in { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.foot img { width: 260px; max-width: 100%; height: auto; margin: 0 0 1rem; }
.foot h3 { font-family: var(--tekst); font-weight: 700; font-size: 1rem; color: var(--bialy); margin-bottom: 0.6rem; }
.foot ul { list-style: none; }
.foot li { margin-bottom: 0.3rem; }
.foot a { color: #E3E6EA; }
.foot__bottom { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid var(--asfalt-3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.6rem; }
@media (max-width: 760px) { .foot__in { grid-template-columns: 1fr; } }
@media (min-width: 761px) { .foot { padding-bottom: 3rem; } }

/* dolny pasek na telefonie */
.dock { display: none; }
@media (max-width: 760px) {
  .dock {
    display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 6px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    background: var(--asfalt); border-top: 1px solid var(--asfalt-3);
  }
  .dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 54px; border-radius: var(--r-maly); text-decoration: none; font-weight: 700; font-size: 0.88rem; color: var(--bialy); background: var(--asfalt-2); }
  .dock a:first-child { background: var(--kogut); color: var(--asfalt); }
  .dock svg { width: 22px; height: 22px; }
}

/* strony tekstowe (polityka, 404) */
.page { padding: 3rem 0 5rem; }
.page .wrap { max-width: 46rem; }
.page h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.6em; }
.page h2 { font-size: 1.6rem; margin: 1.6em 0 0.4em; }
.page ul { padding-left: 1.2rem; margin-bottom: 1em; }
