/* M.Tuner – 2026. Bez frameworków, mobile-first.
   Celowo BEZ zagnieżdżania (CSS Nesting) – działa też na starszych telefonach (iOS < 16.5, Chrome < 112). */
:root {
  --asphalt: #0f1115;
  --asphalt-2: #171a20;
  --asphalt-3: #22262e;
  --line-dark: #2c313a;
  --paper: #f6f5f2;
  --paper-2: #ecebe6;
  --ink: #15171b;
  --muted: #5a606a;
  --muted-dark: #9aa1ac;
  --red: #e3262b;
}
/* kolor marki – tła, przyciski */
:root {
  --red-ink: #b8161b;
}
/* czerwień do tekstu na jasnym tle (kontrast AA) */
:root {
  --red-soft: #ff6a6e;
}
/* czerwień do tekstu na ciemnym tle */
:root {
  --ok: #33c47a;
  --warn: #ffb020;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, "Liberation Mono", monospace;
  --radius: 14px;
  --gutter: clamp(16px, 4vw, 32px);
  --topbar-h: 64px;
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--topbar-h) + 16px);
}
@media (prefers-reduced-motion: reduce) {
  :root {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
*, *::before, *::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  font: 400 1.0625rem/1.6 var(--font);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg {
  display: block;
  max-width: 100%;
  height: auto;
}
h1, h2, h3 {
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h1 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 850;
}
h2 {
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 800;
}
h3 {
  font-size: 1.25rem;
  font-weight: 750;
}
p {
  margin: 0 0 1em;
  text-wrap: pretty;
}
a {
  color: var(--red-ink);
  text-underline-offset: .2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--warn);
  outline-offset: 3px;
  border-radius: 4px;
}
.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;
}
.skip {
  position: absolute;
  left: 16px;
  top: -100px;
  z-index: 100;
  background: var(--warn);
  color: var(--ink);
  padding: .6em 1em;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}
.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.ico {
  width: 1.1em;
  height: 1.1em;
  fill: currentColor;
  flex: none;
}

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  padding: .7em 1.4em;
  border: 2px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .15s;
}
.btn:active {
  transform: translateY(1px);
}
.btn--red {
  background: var(--red);
  color: #fff;
}
.btn--red:hover {
  background: #c81d22;
}
.btn--ghost {
  border-color: #ffffff55;
  color: #fff;
}
.btn--ghost:hover {
  border-color: #fff;
  background: #ffffff14;
}
.btn--ghost-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.btn--ghost-dark:hover {
  background: var(--ink);
  color: #fff;
}
.btn--sm {
  min-height: 40px;
  padding: .5em 1em;
  font-size: .95rem;
}

/* ---------- Górny pasek ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--asphalt) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  color: #fff;
  padding-top: env(safe-area-inset-top, 0px);
  border-bottom: 1px solid transparent;
}
@supports (animation-timeline: scroll()) {
  .topbar {
    animation: topbar-shadow linear both;
    animation-timeline: scroll();
    animation-range: 0 120px;
  }
  @keyframes topbar-shadow {
    to { border-bottom-color: var(--line-dark); box-shadow: 0 8px 24px #0006; }
  }
}
.topbar__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}
.brand img {
  width: 120px;
  height: auto;
}
.menu-btn {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  background: none;
  border: 0;
  color: #fff;
  cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.menu-btn__bars {
  position: relative;
}
.menu-btn__bars::before, .menu-btn__bars::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-btn__bars::before {
  top: -7px;
}
.menu-btn__bars::after {
  top: 7px;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars {
  background: transparent;
}
.menu-btn[aria-expanded="true"] .menu-btn__bars::before {
  transform: translateY(7px) rotate(45deg);
}
.menu-btn[aria-expanded="true"] .menu-btn__bars::after {
  transform: translateY(-7px) rotate(-45deg);
}
.nav {
  position: absolute;
  inset: 100% 0 auto 0;
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px var(--gutter) 20px;
  background: var(--asphalt);
  border-bottom: 1px solid var(--line-dark);
}
.nav a:not(.btn) {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: .75em 0;
  border-bottom: 1px solid var(--line-dark);
}
.nav a:not(.btn):hover {
  color: var(--red-soft);
}
.nav .btn {
  margin-top: 12px;
}
.topbar:has(.menu-btn[aria-expanded="true"]) .nav {
  display: flex;
}
@media (min-width: 960px) {
  .brand img {
    width: 155px;
  }
  .menu-btn {
    display: none;
  }
  .nav {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    background: none;
    border: 0;
  }
  .nav a:not(.btn) {
    padding: .5em 0;
    border: 0;
    font-size: .95rem;
  }
  .nav .btn {
    margin: 0;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(1200px 500px at 85% 0%, #e3262b33, transparent 60%),
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 48px 100%,
    var(--asphalt);
  padding-block: clamp(32px, 6vw, 72px) 0;
  overflow: clip;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}
@media (min-width: 960px) {
  .hero__grid {
    grid-template-columns: 1.05fr 1fr;
  }
}
.hero h1 {
  margin-bottom: .4em;
}
.hero__accent {
  display: block;
  font-size: .5em;
  font-weight: 700;
  letter-spacing: -.01em;
  color: var(--red-soft);
  margin-top: .35em;
}
.lead {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  color: #d6dae0;
  max-width: 34em;
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block: 28px 20px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: .6em;
  padding: .4em .9em;
  margin-bottom: 20px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--asphalt-2);
  font-size: .9rem;
  color: #d6dae0;
}
.status__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--muted-dark);
}
.status[data-state="open"] .status__dot {
  background: var(--ok);
  box-shadow: 0 0 0 0 #33c47a88;
  animation: pulse 2s infinite;
}
.status[data-state="closed"] .status__dot {
  background: var(--red);
}
@keyframes pulse {
  70% { box-shadow: 0 0 0 9px #33c47a00; }
  100% { box-shadow: 0 0 0 0 #33c47a00; }
}
.season {
  display: inline-block;
  margin: 0;
  padding: .7em 1em;
  border-left: 3px solid var(--warn);
  background: #ffb0201a;
  color: #ffe1a6;
  border-radius: 0 8px 8px 0;
  font-size: .95rem;
}
.hero__media {
  position: relative;
  margin: 0;
}
.hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px -20px #000c;
  aspect-ratio: 728 / 545;
  object-fit: cover;
}
.readout {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  font: 500 .78rem/1.3 var(--mono);
  color: #e8ecf1;
  background: #0f1115e6;
  border: 1px solid var(--line-dark);
  border-radius: 10px;
  backdrop-filter: blur(6px);
}
.readout__row {
  display: grid;
  grid-template-columns: auto auto 1em;
  gap: 14px;
  align-items: center;
}
.readout__row span {
  color: var(--muted-dark);
}
.readout__row b {
  font-weight: 600;
  text-align: right;
}
.ok {
  color: var(--ok);
  font-style: normal;
}
@media (max-width: 520px) {
  .readout {
    position: static;
    margin-top: 10px;
    font-size: .74rem;
  }
  .readout__row {
    grid-template-columns: minmax(0, 1fr) auto 1em;
    gap: 10px;
  }
}
.facts {
  list-style: none;
  margin-top: clamp(36px, 5vw, 64px);
  padding-block: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  border-top: 1px solid var(--line-dark);
}
.facts li {
  display: grid;
}
.facts b {
  font-size: clamp(1.3rem, 2.4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -.02em;
}
.facts span {
  color: var(--muted-dark);
  font-size: .92rem;
}
@media (min-width: 760px) {
  .facts {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Sekcje ---------- */
.section {
  padding-block: clamp(64px, 9vw, 112px);
}
.section__head {
  max-width: 46em;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.section__head p:last-child {
  color: var(--muted);
}
.eyebrow {
  margin: 0 0 .6em;
  font: 700 .8rem/1 var(--mono);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--red-ink);
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .card, .check, .sim, details, .about__media {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 40%;
    }
    @keyframes rise {
      from { opacity: 0; transform: translateY(24px); }
    }
  }
}

/* ---------- Symulator geometrii ---------- */
.geo {
  background: var(--paper-2);
}
.sim {
  background: var(--asphalt);
  color: #fff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(14px, 2.5vw, 28px);
  box-shadow: 0 24px 50px -30px #000a;
}
.sim__tabs {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--asphalt-2);
  border-radius: 999px;
  width: fit-content;
  max-width: 100%;
  overflow-x: auto;
}
.sim__tabs button {
  font: inherit;
  font-weight: 650;
  font-size: .95rem;
  color: var(--muted-dark);
  background: none;
  border: 0;
  padding: .6em 1.1em;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
}
.sim__tabs button[aria-selected="true"] {
  background: var(--red);
  color: #fff;
}
.sim__tabs button:hover:not([aria-selected="true"]) {
  color: #fff;
}
@media (max-width: 520px) {
  .sim__tabs {
    width: 100%;
  }
  .sim__tabs button {
    flex: 1;
    padding: .6em .4em;
    font-size: .85rem;
  }
}
.sim__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(18px, 3vw, 36px);
  margin-top: 18px;
}
@media (min-width: 860px) {
  .sim__panel {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}
.sim__stage {
  background:
    linear-gradient(#ffffff07 1px, transparent 1px) 0 0 / 100% 20px,
    linear-gradient(90deg, #ffffff07 1px, transparent 1px) 0 0 / 20px 100%,
    var(--asphalt-2);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 12px;
}
.sim__svg {
  width: 100%;
}
.sim__svg [hidden] {
  display: none;
}
.sim__svg g[data-rot] {
  transition: transform .35s cubic-bezier(.2,.8,.2,1);
}
.sim__cap {
  fill: var(--muted-dark);
  font: 11px var(--mono);
}
.car {
  fill: #2a2f38;
  stroke: #3b414c;
  stroke-width: 2;
}
.ref {
  stroke: #ffffff40;
  stroke-width: 1.5;
  stroke-dasharray: 5 6;
}
.dir {
  stroke: var(--red-soft);
  stroke-width: 2.5;
  stroke-linecap: round;
}
.ground {
  stroke: #ffffff55;
  stroke-width: 2;
}
.wheel-rear {
  fill: #3a404b;
  opacity: .5;
}
.rim {
  fill: #2a2f38;
  stroke: #8a929e;
  stroke-width: 3;
}
.pivot {
  fill: var(--asphalt);
  stroke: var(--red-soft);
  stroke-width: 3;
}
.sim__value {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 8px 4px 0;
  color: var(--muted-dark);
  font-size: .9rem;
}
.sim__value output {
  font: 600 1.6rem/1 var(--mono);
  color: #fff;
}
.sim__range input {
  width: 100%;
  height: 44px;
  margin: 0;
  accent-color: var(--red);
  cursor: pointer;
}
.sim__scale {
  display: flex;
  justify-content: space-between;
  font: .78rem var(--mono);
  color: var(--muted-dark);
  margin-top: -4px;
}
.verdict {
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid;
  transition: background-color .25s, border-color .25s;
}
.verdict strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: .2em;
}
.verdict p {
  margin: 0;
  color: #d6dae0;
}
.verdict[data-verdict="ok"] {
  background: #33c47a14;
  border-color: #33c47a66;
}
.verdict[data-verdict="ok"] strong {
  color: var(--ok);
}
.verdict[data-verdict="bad"] {
  background: #e3262b1a;
  border-color: #e3262b80;
}
.verdict[data-verdict="bad"] strong {
  color: var(--red-soft);
}
.note {
  margin: 14px 0 0;
  font-size: .82rem;
  color: var(--muted-dark);
}

/* ---------- Checklista objawów ---------- */
.check {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px 40px;
  margin-top: clamp(28px, 4vw, 48px);
  padding: clamp(20px, 3vw, 32px);
  background: #fff;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid #dddbd3;
}
@media (min-width: 860px) {
  .check {
    grid-template-columns: 1fr 2fr;
  }
  .check__out {
    grid-column: 2;
  }
}
.check__intro p {
  color: var(--muted);
  margin: 0;
}
.check__list {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
@media (min-width: 640px) {
  .check__list {
    grid-template-columns: 1fr 1fr;
  }
}
.check__list label {
  display: flex;
  gap: .7em;
  align-items: flex-start;
  padding: .75em .9em;
  border-radius: 10px;
  background: var(--paper);
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1.35;
  transition: border-color .15s, background-color .15s;
}
.check__list label:hover {
  border-color: #cfccc2;
}
.check__list label:has(input:checked) {
  background: #e3262b0f;
  border-color: var(--red);
}
.check__list label.is-info:has(input:checked) {
  background: #1f9d5a14;
  border-color: #1f9d5a;
}
.check__list label.is-info input {
  accent-color: #1f9d5a;
}
.check__list input {
  width: 20px;
  height: 20px;
  margin: 0;
  flex: none;
  accent-color: var(--red);
}
.check__out {
  margin: 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: var(--paper);
  font-weight: 600;
}
.check__out[data-level="must"] {
  background: var(--ink);
  color: #fff;
}
.check__out[data-level="should"] {
  background: #e3262b14;
  color: var(--ink);
}
.check__out[data-level="info"] {
  background: #1f9d5a14;
  color: #14532d;
  border: 1px solid #1f9d5a66;
}
.check__out[data-level="info"] a {
  color: #14532d;
}
.check__out a {
  font-weight: 800;
}
.check__out[data-level="must"] a {
  color: var(--red-soft);
}

/* ---------- Karty usług ---------- */
/* Układ: geometria na całą szerokość, opony (osobowe + moto) większe, reszta mniejsza – bez dziur w siatce. */
.cards {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards > .card:last-child {
    grid-column: 1 / -1;
  }
}
@media (min-width: 1000px) {
  .cards {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .cards > .card {
    grid-column: span 2;
  }
  .cards > .card:nth-child(2), .cards > .card:nth-child(3) {
    grid-column: span 3;
  }
  .cards > .card:last-child {
    grid-column: span 2;
  }
  .cards > .card--feature {
    grid-column: 1 / -1;
  }
}
.card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e0d8;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -24px #0007;
}
.card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}
.card p {
  color: var(--muted);
  margin: 0;
}
.card__body {
  padding: 20px 22px 24px;
}
.card--feature {
  grid-column: 1 / -1;
  background: var(--asphalt);
  color: #fff;
  border-color: var(--asphalt);
}
.card--feature p {
  color: #d6dae0;
  margin-bottom: 1em;
}
.card--feature h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
}
@media (min-width: 760px) {
  .card--feature {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
  }
  .card--feature img {
    height: 100%;
    aspect-ratio: auto;
  }
  .card--feature .card__body {
    padding: clamp(24px, 4vw, 44px);
    align-self: center;
  }
}
.tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: .25em .7em;
  font: 700 .75rem/1.4 var(--mono);
  text-transform: uppercase;
  letter-spacing: .1em;
  background: var(--red);
  color: #fff;
  border-radius: 6px;
}
.ticks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
}
.ticks li {
  padding-left: 1.6em;
  position: relative;
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .35em;
  width: .95em;
  height: .55em;
  border-left: 2.5px solid var(--red-soft);
  border-bottom: 2.5px solid var(--red-soft);
  transform: rotate(-45deg);
}
.matrix {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.matrix span {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: .5em 1em;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #e2e0d8;
  font-weight: 600;
  font-size: .95rem;
}
.matrix span::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
}

/* ---------- O nas ---------- */
.about {
  background: var(--asphalt);
  color: #fff;
}
.about p {
  color: #d6dae0;
}
.about .eyebrow {
  color: var(--red-soft);
}
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
@media (min-width: 900px) {
  .about__grid {
    grid-template-columns: 1.1fr 1fr;
  }
}
.about__media {
  margin: 0;
}
.about__media img {
  border-radius: var(--radius);
  width: 100%;
}
.about__media figcaption {
  margin-top: 10px;
  font-size: .88rem;
  color: var(--muted-dark);
}

/* ---------- FAQ ---------- */
.faq {
  max-width: 860px;
}
.faq details {
  border-bottom: 1px solid #dddbd3;
}
.faq details:first-of-type {
  border-top: 1px solid #dddbd3;
}
.faq details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  font-weight: 700;
  font-size: 1.1rem;
}
.faq details summary::-webkit-details-marker {
  display: none;
}
.faq details summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--paper-2);
  font: 600 1.3rem/1 var(--mono);
  color: var(--red-ink);
  transition: transform .25s;
}
.faq details[open] summary::after {
  transform: rotate(45deg);
}
.faq details p {
  color: var(--muted);
  padding-bottom: 20px;
  margin: 0;
  max-width: 60em;
}

/* ---------- Kontakt ---------- */
.contact {
  background: var(--paper-2);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr 1.2fr;
    align-items: start;
  }
}
.phone {
  display: inline-block;
  margin-block: 4px 8px;
  font: 800 clamp(2rem, 5vw, 3rem)/1.1 var(--font);
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.phone:hover {
  color: var(--red-ink);
}
address {
  font-style: normal;
  margin-block: 16px 24px;
}
.hours {
  width: 100%;
  max-width: 420px;
  border-collapse: collapse;
}
.hours caption {
  text-align: left;
  font-weight: 750;
  margin-bottom: 8px;
}
.hours th, .hours td {
  padding: 10px 12px;
  text-align: left;
  border-top: 1px solid #d6d3ca;
}
.hours th {
  font-weight: 500;
}
.hours td {
  font-family: var(--mono);
  font-size: .95rem;
  text-align: right;
}
.hours tr.is-today {
  background: #fff;
}
.hours tr.is-today th {
  font-weight: 750;
}
.hours tr.is-today th::after {
  content: " · dziś";
  color: var(--red-ink);
  font-weight: 600;
}
.map {
  position: relative;
  min-height: 360px;
  border-radius: calc(var(--radius) + 6px);
  overflow: hidden;
  background:
    repeating-linear-gradient(35deg, transparent 0 46px, #0000000a 46px 48px),
    repeating-linear-gradient(-55deg, transparent 0 70px, #0000000d 70px 74px),
    #dcdad2;
  border: 1px solid #cfccc2;
}
.map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.map__consent {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  text-align: center;
  gap: 4px;
  padding: 24px;
}
.map__consent p {
  margin: 0;
}
.map__pin {
  width: 44px;
  height: 44px;
  fill: var(--red);
  margin-bottom: 8px;
}
.map__small {
  max-width: 34em;
  font-size: .85rem;
  color: var(--muted);
  margin-top: 6px !important;
}
.map__btns {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* ---------- Stopka ---------- */
.footer {
  background: var(--asphalt);
  color: var(--muted-dark);
  padding-block: 28px calc(28px + 64px + env(safe-area-inset-bottom, 0px));
  font-size: .9rem;
}
.footer a {
  color: #fff;
}
.footer__in {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer__in p {
  margin: 0;
}
@media (min-width: 960px) {
  .footer {
    padding-bottom: 28px;
  }
}

/* ---------- Pasek szybkiego kontaktu (mobile) ---------- */
.quickbar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px));
  background: color-mix(in srgb, var(--asphalt) 94%, transparent);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--line-dark);
}
.quickbar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5em;
  min-height: 48px;
  border-radius: 999px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid #ffffff33;
}
.quickbar a:first-child {
  background: var(--red);
  border-color: var(--red);
}
@media (min-width: 960px) {
  .quickbar {
    display: none;
  }
}

/* ---------- Strona 404 ---------- */
.e404 {
  color: #fff;
  background:
    radial-gradient(900px 420px at 85% 0%, #e3262b33, transparent 60%),
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 48px 100%,
    var(--asphalt);
  padding-block: clamp(48px, 9vw, 112px);
  min-height: calc(100vh - var(--topbar-h));
}
.e404 .eyebrow {
  color: var(--red-soft);
}
.e404__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  align-items: center;
}
@media (min-width: 900px) {
  .e404__grid {
    grid-template-columns: 1.2fr 1fr;
  }
}
.e404__readout {
  position: static;
  padding: 20px 22px;
  font-size: .9rem;
  gap: 6px;
}
.e404__readout .readout__row {
  grid-template-columns: minmax(0, 1fr) auto 1em;
}
.e404__code {
  font: 700 clamp(4rem, 12vw, 7rem)/1 var(--mono);
  color: var(--red-soft);
  letter-spacing: -.04em;
  margin-bottom: 10px;
}
.bad {
  color: var(--red-soft);
  font-style: normal;
}
.e404__links {
  display: grid;
  gap: 12px;
  margin-top: clamp(40px, 6vw, 72px);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
}
.e404__links a {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: var(--asphalt-2);
  color: #fff;
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.e404__links a:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.e404__links span {
  color: var(--muted-dark);
  font-size: .9rem;
}

/* ---------- Podstrony (polityka, 404) ---------- */
.page {
  padding-block: clamp(48px, 8vw, 96px);
  max-width: 780px;
}
.page h2 {
  font-size: 1.4rem;
  margin-top: 1.6em;
}
.page ul {
  padding-left: 1.2em;
}

/* ---------- Podstrony usług ---------- */
.crumbs {
  margin: 0 0 18px;
  font-size: .85rem;
  color: var(--muted-dark);
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  padding: 0;
}
.crumbs li + li::before {
  content: "›";
  margin-right: 6px;
}
.crumbs a {
  color: #d6dae0;
}
.subhero {
  color: #fff;
  background:
    radial-gradient(1000px 420px at 85% 0%, #e3262b33, transparent 60%),
    linear-gradient(#ffffff08 1px, transparent 1px) 0 0 / 100% 48px,
    linear-gradient(90deg, #ffffff08 1px, transparent 1px) 0 0 / 48px 100%,
    var(--asphalt);
  padding-block: clamp(28px, 5vw, 56px);
}
.subhero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.subhero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
}
.subhero img {
  width: 100%;
  border-radius: var(--radius);
  aspect-ratio: 728 / 545;
  object-fit: cover;
  box-shadow: 0 30px 60px -20px #000c;
}
@media (min-width: 900px) {
  .subhero__grid {
    grid-template-columns: 1.15fr 1fr;
  }
}
.keyfacts {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}
.keyfacts li {
  padding: .45em .9em;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: var(--asphalt-2);
  font-size: .92rem;
  color: #d6dae0;
}
.keyfacts b {
  color: #fff;
}
.prose {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
}
@media (min-width: 900px) {
  .prose {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}
.prose h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-top: 1.2em;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose ul {
  padding-left: 1.2em;
}
.prose li {
  margin-bottom: .35em;
}
.aside {
  position: sticky;
  top: calc(var(--topbar-h) + 16px);
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid #e2e0d8;
  border-radius: var(--radius);
}
.aside h2 {
  font-size: 1.15rem;
  margin: 0;
}
.aside p {
  margin: 0;
  color: var(--muted);
}
.aside .phone {
  font-size: 1.9rem;
  margin: 0;
}
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 12px;
  margin: 0 0 1em;
  padding: 0;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding: 14px 16px 14px 60px;
  background: #fff;
  border: 1px solid #e2e0d8;
  border-radius: 12px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font: 700 .95rem/1 var(--mono);
}
.callout {
  padding: 14px 16px;
  border-left: 3px solid var(--red);
  background: #e3262b0d;
  border-radius: 0 10px 10px 0;
}
.related {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}
.related a {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #e2e0d8;
  border-radius: var(--radius);
  color: var(--ink);
  text-decoration: none;
  transition: border-color .2s, transform .2s;
}
.related a:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}
.related span {
  color: var(--muted);
  font-size: .9rem;
}
.card__more {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  text-decoration: none;
}
.card--feature .card__more {
  color: var(--red-soft);
}

/* ---------- Stopka: linki do usług ---------- */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 18px;
  margin: 0 0 16px;
  padding: 0 0 16px;
  list-style: none;
  border-bottom: 1px solid var(--line-dark);
}
.footer__nav a {
  color: #d6dae0;
  text-decoration: none;
}
.footer__nav a:hover {
  color: #fff;
  text-decoration: underline;
}