/* ==========================================================================
   serwisrtvagd.pl — System Wizualny Warsztatu Technicznego
   Zgodne z docs/10-brief-anty-ai-design.md oraz standardem WCAG 2.2 AA
   Kierunek: Karta przyjęcia sprzętu / lokalny warsztat rzemieślniczy
   Wszystkie fonty i zasoby są w 100% lokalne (self-hosted), bez CDN
   ========================================================================== */

/* --------------------------------------------------------------------------
   Lokalne fonty Source Sans 3 (latin-ext + latin, wagi 400, 600, 700)
   -------------------------------------------------------------------------- */
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/source-sans-3-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-sans-3-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('/fonts/source-sans-3-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Sans 3';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/source-sans-3-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* --------------------------------------------------------------------------
   System wizualny Nicam Serwis — granat, cyjan i jasne powierzchnie
   -------------------------------------------------------------------------- */
:root {
  --paper: #f7faff;
  --surface: #ffffff;
  --surface-alt: #eef6fb;
  --surface-subtle: #f9fcff;
  --ink: #132044;
  --muted: #52627d;
  --line: #d6e3ef;
  --line-light: #e8f0f7;
  --line-dark: #71829c;

  --navy: #10265d;
  --navy-deep: #091a46;
  --navy-soft: #1b3778;
  --accent: #12afe0;
  --accent-hover: #078bb8;
  --accent-dark: #067ba4;
  --accent-subtle: #e1f7ff;
  --cyan-pale: #c9f1ff;

  --link: #087ca7;
  --link-hover: #075a7a;

  /* Focus GOV.UK: żółty prostokąt + ciemny obrys */
  --focus-bg: #ffd33d;
  --focus-ink: #171717;

  /* Obramowania pól i kontrolek (WCAG 2.2 1.4.11 non-text contrast >= 3:1) */
  --control-border: #71829c;
  --control-border-hover: #132044;

  /* Statusy i komunikaty */
  --warning-bg: #fff8eb;
  --warning-ink: #4e3400;
  --warning-border: #91691a;
  --error: #a42b24;
  --error-bg: #fdf2f1;
  --error-border: #a42b24;
  --success: #1b5e39;
  --success-bg: #edf7f0;
  --success-border: #206d42;

  /* Aliasy kompatybilności */
  --green: var(--navy);
  --green-hover: var(--navy-deep);
  --lime: var(--cyan-pale);
  --page: var(--paper);
  --border: var(--line);
  --border-dark: var(--line-dark);
  --surface-muted: var(--surface-alt);

  --radius-sm: 8px;
  --radius: 12px;
  --radius-card: 18px;
  --radius-lg: 26px;

  /* Szerokość układu */
  --content-max: 1240px;

  /* Typografia */
  --font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-heading: 'Source Sans 3', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Odstępy */
  --space-4: 4px;
  --space-8: 8px;
  --space-12: 12px;
  --space-16: 16px;
  --space-20: 20px;
  --space-24: 24px;
  --space-32: 32px;
  --space-40: 40px;
  --space-48: 48px;
  --space-64: 64px;
}

/* --------------------------------------------------------------------------
   Reset & Podstawa
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--paper);
}

body {
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

button, a, input, select, textarea {
  -webkit-tap-highlight-color: transparent;
}

/* WCAG 2.2 Focus Visible: Wyraźny, gruby, niezależny od koloru tła */
:focus-visible {
  outline: 3px solid var(--focus-ink) !important;
  outline-offset: 2px !important;
  box-shadow: 0 0 0 2px var(--focus-bg) !important;
}

input:focus-visible, select:focus-visible, textarea:focus-visible {
  border-color: var(--focus-ink) !important;
  outline: 3px solid var(--focus-bg) !important;
  outline-offset: 0 !important;
  box-shadow: 0 0 0 2px var(--focus-ink) !important;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* Skip link dla dostępności */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: #ffffff;
  padding: 12px 20px;
  z-index: 9999;
  border-radius: var(--radius);
  font-weight: 700;
  text-decoration: none;
  transition: top 0.15s ease;
}
.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--focus-bg);
  box-shadow: 0 0 0 2px var(--focus-ink);
}

/* --------------------------------------------------------------------------
   Typografia warsztatowa
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--ink);
  font-weight: 700;
  line-height: 1.16;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.45rem, 5vw, 3.8rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.035em;
  margin-bottom: 18px;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  line-height: 1.25;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

h3 {
  font-size: 1.18rem;
  line-height: 1.35;
  margin-bottom: 8px;
}

p {
  margin-bottom: 16px;
  line-height: 1.62;
  max-width: 68ch;
  text-wrap: pretty;
}
p:last-child {
  margin-bottom: 0;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: var(--link);
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 1px;
  flex-shrink: 0;
}

.lead, .hero-lead {
  font-size: 17.5px;
  color: var(--muted);
  max-width: 58ch;
  margin: 0 0 24px;
  line-height: 1.6;
}

.text-link {
  color: var(--link);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.12s;
}
.text-link:hover {
  color: var(--link-hover);
  text-decoration-thickness: 2px;
}

/* --------------------------------------------------------------------------
   Kontenery & Układ siatki
   -------------------------------------------------------------------------- */
.wrap, .container {
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
  width: 100%;
}

.main-content {
  flex: 1 0 auto;
}

@media (max-width: 740px) {
  .wrap, .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* --------------------------------------------------------------------------
   Pasek górny metadanych (Lokalizacja, telefon, godziny)
   -------------------------------------------------------------------------- */
.top-meta-bar {
  background-color: var(--navy-deep);
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-size: 12.5px;
  color: #d6e2f5;
  padding: 8px 0;
}

.top-meta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
}

.top-meta-inner a {
  color: #ffffff;
  font-weight: 600;
}
.top-meta-inner a:hover {
  color: var(--cyan-pale);
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Nagłówek witryny (Masthead)
   -------------------------------------------------------------------------- */
.masthead, .site-header {
  background: var(--navy);
  border-bottom: 1px solid rgba(255,255,255,.12);
}

.header, .header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand, .site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  flex-shrink: 0;
}

.brand-logo-image {
  display: block;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
}

.brand-mark-wrap {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: var(--radius);
  color: var(--navy-deep);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name, .site-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.brand-sub {
  display: block;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: #b9c9e4;
  margin-top: 2px;
  font-weight: 600;
  text-transform: uppercase;
}

.nav, .site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 14.5px;
  font-weight: 600;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav a:not(.button):not(.btn),
.site-nav a:not(.button):not(.btn) {
  color: #eef5ff;
  text-decoration: none;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: border-color 0.12s, color 0.12s;
}

.nav a:not(.button):not(.btn):hover,
.site-nav a:not(.button):not(.btn):hover {
  color: #ffffff;
  border-bottom-color: var(--accent);
}

.nav a[aria-current="page"],
.site-nav a[aria-current="page"] {
  color: var(--cyan-pale);
  border-bottom-color: var(--accent);
}

/* Wiersz pomocniczy na telefonie */
.mobile-secondary-nav {
  display: none;
}

.nav .header-call-action {
  display: none;
}

@media (max-width: 860px) {
  .top-meta-bar {
    display: none;
  }
  .header, .header-inner {
    min-height: 64px;
  }
  .brand-name {
    font-size: 17px;
  }
  .brand {
    gap: 8px;
  }
  .brand-logo-image {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }
  .brand-sub {
    display: none;
  }
  .nav {
    gap: 8px;
  }
  .nav > a:not(.button):not(.btn) {
    display: none;
  }
  .nav .header-request-action {
    display: none;
  }
  .nav .header-call-action {
    display: inline-flex;
    min-height: 44px;
    padding: 9px 14px;
    font-size: 13.5px;
  }
  .mobile-secondary-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    padding: 10px 16px 12px;
    background: var(--navy-deep);
    border-top: 1px solid rgba(255,255,255,.1);
    border-bottom: 1px solid rgba(255,255,255,.14);
    font-size: 13px;
    font-weight: 600;
  }
  .mobile-secondary-nav a {
    justify-content: center;
    color: #eef5ff;
    padding: 8px 6px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255,255,255,.23);
    border-radius: 9px;
    background: rgba(255,255,255,.055);
    text-align: center;
    text-decoration: none;
  }
  .mobile-secondary-nav a[aria-current="page"] {
    color: var(--navy-deep);
    background: var(--cyan-pale);
    border-color: var(--cyan-pale);
    font-weight: 700;
  }
}

@media (max-width: 350px) {
  .brand-name {
    font-size: 15.5px;
  }
  .brand-logo-image {
    width: 34px;
    height: 34px;
    flex-basis: 34px;
  }
  .header-call-action {
    padding-inline: 11px;
    font-size: 12.5px;
  }
}

/* --------------------------------------------------------------------------
   Przyciski — wyraźna hierarchia i minimum 44 px wysokości
   -------------------------------------------------------------------------- */
.button, .btn {
  min-height: 48px;
  min-width: 44px;
  padding: 11px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--navy-deep);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  transition: background-color 0.12s, border-color 0.12s, color 0.12s;
  white-space: nowrap;
}

.button:hover, .btn:hover,
.button-primary:hover, .btn-primary:hover {
  background: var(--accent-hover);
  color: var(--navy-deep);
  text-decoration: none;
}

.button-primary, .btn-primary {
  background: var(--accent);
  color: var(--navy-deep);
  border-color: var(--accent);
}

.button-secondary, .btn-secondary {
  background: var(--surface);
  color: var(--navy);
  border-color: var(--control-border);
}
.button-secondary:hover, .btn-secondary:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
}

.button-light {
  background: #ffffff;
  border-color: #ffffff;
  color: var(--navy);
}
.button-light:hover {
  background: var(--cyan-pale);
  border-color: var(--cyan-pale);
  color: var(--navy-deep);
}
.button-compact {
  min-height: 42px;
  padding: 8px 17px;
  font-size: 14px;
}

.btn-link {
  background: none;
  border: none;
  color: var(--link);
  padding: 0;
  min-height: 44px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.btn-link:hover {
  color: var(--link-hover);
}

/* --------------------------------------------------------------------------
   Strona główna — granatowy hero i moduły oparte na realnej treści serwisu
   -------------------------------------------------------------------------- */
.home-hero-shell {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  padding: 46px 0 56px;
}

.home-hero-shell::after {
  content: '';
  position: absolute;
  right: -140px;
  bottom: -210px;
  width: 520px;
  height: 520px;
  border: 74px solid rgba(18, 175, 224, .11);
  border-radius: 50%;
  pointer-events: none;
}

.home-hero {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, .96fr);
  gap: 52px;
  align-items: center;
}

.home-hero-copy h1 {
  max-width: 760px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(3rem, 5.2vw, 4.55rem);
  line-height: 1.01;
}

.eyebrow-on-dark {
  color: #86e4ff;
}

.eyebrow-on-dark::before {
  background: var(--accent);
}

.home-hero-lead {
  max-width: 620px;
  margin-bottom: 26px;
  color: #d8e4f6;
  font-size: 18px;
  line-height: 1.58;
}

.hero-search-form {
  max-width: 650px;
}

.hero-search-form .search-label-on-dark {
  color: #ffffff;
}

.hero-search {
  padding: 6px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 15px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(2, 12, 37, .22);
}

.hero-search input[type="search"] {
  min-height: 50px;
  padding-left: 16px;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 18px;
}

.hero-text-link {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hero-text-link:hover {
  color: var(--cyan-pale);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 680px;
  margin-top: 32px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(255,255,255,.18);
  list-style: none;
}

.hero-facts li {
  min-width: 0;
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: #ffffff;
  font-size: 16px;
}

.hero-facts span {
  margin-top: 4px;
  color: #d6e2f5;
  font-size: 14px;
  line-height: 1.45;
}

.home-hero-visual {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 28px;
  background: var(--navy-deep);
  box-shadow: 0 26px 64px rgba(2, 10, 32, .34);
}

.home-hero-visual img {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: 51% center;
}

.home-hero-visual figcaption {
  position: absolute;
  left: 18px;
  top: 16px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(9, 26, 70, .84);
  color: #dce9fb;
  font-size: 11px;
}

.hero-visual-note {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(4, 16, 48, .22);
}

.hero-visual-note strong,
.hero-visual-note span span {
  display: block;
}

.hero-visual-note > span:last-child {
  display: flex;
  flex-direction: column;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.hero-visual-note strong {
  margin-bottom: 2px;
  color: var(--ink);
  font-size: 14px;
}

.hero-visual-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 13px;
  background: var(--accent);
  color: var(--navy-deep);
  font-size: 20px;
  font-weight: 700;
}

.home-content {
  padding-top: 0;
  padding-bottom: 0;
}

.home-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .85fr);
  gap: 72px;
  align-items: start;
  padding: 78px 0 54px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--link);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.section-kicker-on-dark {
  color: #72dcff;
}

.section-lead {
  max-width: 62ch;
  color: var(--muted);
  font-size: 17px;
}

.service-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 22px;
  padding: 9px 0 0;
  list-style: none;
}

.service-points li {
  position: relative;
  padding-left: 27px;
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 600;
  line-height: 1.45;
}

.service-points li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent-dark);
  font-weight: 700;
}

.section-heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.section-heading-row h2,
.section-heading-row p {
  margin-bottom: 0;
}

.section-heading-row > p {
  max-width: 360px;
  color: var(--muted);
  font-size: 14px;
  text-align: right;
}

.categories-section {
  padding: 20px 0 78px;
}

.service-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-category-card {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 16px;
  align-items: center;
  min-height: 148px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(16, 38, 93, .055);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.service-category-card:hover {
  transform: translateY(-3px);
  border-color: #9dcfe2;
  box-shadow: 0 18px 36px rgba(16, 38, 93, .11);
}

.service-category-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 17px;
  background: var(--accent-subtle);
  color: var(--navy);
}

.service-category-icon svg {
  width: 36px;
  height: 36px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-category-copy strong,
.service-category-copy span {
  display: block;
}

.service-category-copy strong {
  margin-bottom: 5px;
  color: var(--ink);
  font-size: 18px;
}

.service-category-copy span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.42;
}

.service-category-arrow {
  color: var(--accent-dark);
  font-size: 22px;
  font-weight: 700;
}

.search-fallback-lead {
  margin: 0 0 14px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.search-fallback-grid {
  gap: 12px;
  margin-bottom: 16px;
}

.search-fallback-grid .service-category-card {
  min-height: 116px;
  padding: 16px;
  text-decoration: none;
}

.search-fallback-grid .service-category-icon {
  width: 52px;
  height: 52px;
}

.search-fallback-grid .service-category-copy strong {
  font-size: 16px;
}

.search-fallback-grid .service-category-copy span {
  font-size: 12.5px;
}

.search-fallback-general {
  font-size: 13px;
}

.trust-band {
  margin: 8px 18px;
  padding: 66px 0;
  border-radius: 26px;
  background: var(--navy);
  color: #ffffff;
}

.trust-band-heading {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 70px;
  align-items: end;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,.18);
}

.trust-band-heading h2 {
  max-width: 640px;
  margin: 0;
  color: #ffffff;
}

.trust-band-heading > p {
  margin: 0;
  color: #b8c9e5;
  font-size: 15px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding-top: 34px;
}

.trust-grid article > span {
  display: inline-block;
  margin-bottom: 18px;
  color: #6fdcff;
  font-size: 14px;
  font-weight: 700;
}

.trust-grid h3 {
  margin-bottom: 8px;
  color: #ffffff;
  font-size: 18px;
}

.trust-grid p {
  margin: 0;
  color: #b8c9e5;
  font-size: 13.5px;
  line-height: 1.5;
}

.process-section {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 72px;
  padding: 84px 0 70px;
}

.process-intro > p:not(.section-kicker) {
  color: var(--muted);
  font-size: 16px;
}

.process-cards {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-cards li {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.process-cards li:first-child {
  padding-top: 2px;
}

.process-cards li > span {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-subtle);
  color: var(--navy);
  font-size: 18px;
  font-weight: 700;
}

.process-cards h3 {
  margin: 0 0 5px;
  color: var(--ink);
}

.process-cards p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.workshop-info-section,
.home-listing-section {
  padding: 42px 0 64px;
}

.workshop-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.info-panel {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.info-panel-accent {
  background: var(--accent-subtle);
  border-color: #b7e7f6;
}

.info-panel h3 {
  margin-bottom: 10px;
  font-size: 21px;
}

.info-panel p {
  color: var(--muted);
  font-size: 15px;
}

.workshop-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

.workshop-details div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.workshop-details dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.workshop-details dd {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.guides-grid-home {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.guide-card-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  color: var(--link);
  font-size: 14px;
  font-weight: 700;
}

.guide-card-link:hover {
  color: var(--link-hover);
}

.item-overline {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

@media (max-width: 1040px) {
  .home-hero {
    grid-template-columns: 1fr 390px;
    gap: 32px;
  }
  .home-hero-copy h1 {
    font-size: clamp(2.8rem, 5.8vw, 3.8rem);
  }
  .home-hero-visual img {
    height: 490px;
  }
  .service-category-card {
    grid-template-columns: 54px 1fr auto;
    padding: 18px;
  }
  .service-category-icon {
    width: 54px;
    height: 54px;
  }
}

@media (max-width: 860px) {
  .home-hero-shell {
    padding: 34px 0 42px;
  }
  .home-hero {
    grid-template-columns: 1fr;
  }
  .home-hero-visual {
    max-width: 660px;
  }
  .home-hero-visual img {
    height: 390px;
  }
  .home-intro,
  .trust-band-heading,
  .process-section {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .service-category-grid,
  .guides-grid-home {
    grid-template-columns: 1fr;
  }
  .service-category-card {
    min-height: 108px;
  }
  .trust-grid {
    grid-template-columns: 1fr 1fr;
  }
  .workshop-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .home-hero-shell::after {
    display: none;
  }
  .home-hero-copy h1 {
    font-size: clamp(2.45rem, 12vw, 3.2rem);
  }
  .home-hero-lead {
    font-size: 16.5px;
  }
  .home-hero .hero-search {
    display: grid;
    gap: 8px;
    border-radius: 16px;
  }
  .home-hero .hero-search .button {
    width: 100%;
  }
  .home-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .home-hero-actions .button {
    width: 100%;
  }
  .hero-text-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .hero-facts {
    grid-template-columns: 1fr;
    gap: 13px;
  }
  .home-hero-visual img {
    height: 330px;
  }
  .home-hero-visual figcaption {
    right: 14px;
    left: 14px;
    text-align: center;
  }
  .hero-visual-note {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
  .home-intro {
    padding: 58px 0 40px;
  }
  .service-points {
    grid-template-columns: 1fr;
  }
  .section-heading-row {
    align-items: flex-start;
    flex-direction: column;
  }
  .section-heading-row > p {
    text-align: left;
  }
  .categories-section {
    padding-bottom: 58px;
  }
  .service-category-card {
    grid-template-columns: 50px 1fr auto;
    gap: 13px;
    min-height: 94px;
    padding: 15px;
  }
  .service-category-icon {
    width: 50px;
    height: 50px;
    border-radius: 14px;
  }
  .service-category-copy strong {
    font-size: 16px;
  }
  .service-category-copy span {
    display: none;
  }
  .trust-band {
    margin: 0;
    padding: 52px 0;
    border-radius: 0;
  }
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .trust-grid article {
    padding: 22px 0;
    border-bottom: 1px solid rgba(255,255,255,.15);
  }
  .trust-grid article > span {
    margin-bottom: 10px;
  }
  .process-section {
    padding: 64px 0 46px;
  }
  .workshop-info-section,
  .home-listing-section {
    padding: 34px 0 48px;
  }
  .info-panel {
    padding: 22px;
  }
  .workshop-details div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

/* --------------------------------------------------------------------------
   Hero Sekcja (Strona główna) — asymetria 7/5, brak zupy kart
   -------------------------------------------------------------------------- */
.hero, .hero-section {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 48px;
  padding-top: 48px;
  padding-bottom: 40px;
  align-items: start;
}

.hero-grid {
  display: contents;
}

/* Wyszukiwarka w Hero */
.search-label, .form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.search {
  background: #ffffff;
  padding: 4px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  display: flex;
  gap: 6px;
  transition: border-color 0.12s;
}
.search:focus-within {
  border-color: var(--ink);
}

.search input,
.search input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0;
  padding: 10px 14px;
  background: transparent;
  font-size: 15.5px;
  color: var(--ink);
  outline: none;
}
.search input::placeholder {
  color: #555f5a;
  opacity: 1;
}

.search .button, .search .btn {
  flex-shrink: 0;
}

.search-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Karta przyjęcia sprzętu w Hero (Prawa strona 7/5) */
.workshop-slip {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.hero-workshop-photo {
  margin: -24px -26px 8px;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero-workshop-photo img {
  display: block;
  width: 100%;
  height: 260px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: 72% center;
}
.hero-workshop-photo figcaption {
  padding: 7px 12px 8px;
  color: var(--muted);
  background: var(--surface-subtle);
  font-size: 11px;
  line-height: 1.35;
}
@media (max-width: 600px) {
  .hero-workshop-photo img { height: 220px; }
}

.workshop-slip-header {
  border-bottom: 2px solid var(--ink);
  padding-bottom: 10px;
}

.workshop-slip-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.workshop-slip-title {
  font-family: var(--font-heading);
  font-size: 18.5px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin: 0;
}

.workshop-slip-sub {
  font-size: 12.5px;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

.workshop-slip-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.workshop-slip-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--line);
  font-size: 13.5px;
}
.workshop-slip-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.workshop-slip-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: var(--muted);
}

.workshop-slip-val {
  color: var(--ink);
  font-weight: 600;
}

.workshop-slip-footer {
  padding-top: 12px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .hero, .hero-section {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 28px;
    padding-bottom: 24px;
  }
}

/* --------------------------------------------------------------------------
   Kategorie jako zwykłe wiersze z numerem 01 / 02 / 03
   (zastępują 3 identyczne zaokrąglone kafle)
   -------------------------------------------------------------------------- */
.categories-section {
  padding: 20px 0 78px;
}

.section-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 14px;
}

.section-top h2 {
  margin: 0;
}

.section-note {
  font-size: 13px;
  color: var(--muted);
}

.category-rows {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}

.category-row-item {
  display: grid;
  grid-template-columns: 48px 1.4fr 2fr 160px;
  align-items: center;
  gap: 20px;
  padding: 19px 16px;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  transition: background-color 0.12s;
}

.category-row-item:hover {
  background-color: var(--accent-subtle);
}

.category-row-num {
  font-family: monospace, var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}

.category-row-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.category-row-desc {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.category-row-link {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--link);
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .category-row-item {
    grid-template-columns: 36px 1fr;
    gap: 8px 14px;
    padding: 16px 6px;
  }
  .category-row-desc {
    grid-column: 2 / -1;
  }
  .category-row-link {
    grid-column: 2 / -1;
    text-align: left;
    margin-top: 4px;
  }
}

/* --------------------------------------------------------------------------
   Numerowana pionowa oś kroków procesu (Jak przygotować zgłoszenie)
   -------------------------------------------------------------------------- */
.process-axis {
  position: relative;
  display: flex;
  flex-direction: column;
  margin-top: 24px;
  margin-bottom: 40px;
  list-style: none;
  padding: 0;
}

.axis-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  position: relative;
  padding-bottom: 28px;
}

.axis-step::before {
  content: '';
  position: absolute;
  left: 17px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background-color: var(--line);
}

.axis-step:last-child::before {
  display: none;
}

.axis-marker {
  width: 36px;
  height: 36px;
  background: #ffffff;
  border: 2px solid var(--ink);
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-family: monospace, var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  z-index: 1;
}

.axis-content {
  padding-top: 4px;
}

.axis-title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--ink);
}

.axis-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

/* Kompatybilność z klasami starej sekcji process */
.process {
  padding: 32px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.process h2 {
  font-size: 26px;
  line-height: 1.2;
}
.step {
  display: flex;
  flex-direction: column;
}
.step-no {
  font-family: monospace, var(--font-body);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  display: block;
  margin-bottom: 8px;
}
.step h3 {
  font-size: 16px;
  margin: 0 0 6px;
}
.step p {
  color: var(--muted);
  font-size: 13.5px;
}

@media (max-width: 860px) {
  .process {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Jedna sekcja dowodu rzemiosła (Tabliczka znamionowa, warsztat, adres)
   -------------------------------------------------------------------------- */
.craft-proof-section {
  padding: 32px 0 44px;
}

.craft-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 18px;
}

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

.craft-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.craft-card h3 {
  font-family: var(--font-heading);
  font-size: 18px;
  margin: 0;
  color: var(--ink);
}

.craft-card p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.craft-card strong {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   Listy modeli i wyników wyszukiwania (.item-list, .item-row)
   -------------------------------------------------------------------------- */
.item-list {
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: #ffffff;
  margin: 18px 0;
  overflow: hidden;
}

.item-row {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: background-color 0.12s;
}
.item-row:last-child {
  border-bottom: none;
}
.item-row:hover {
  background-color: var(--accent-subtle);
}

@media (min-width: 768px) {
  .item-row {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.item-title {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
}
.item-title a {
  color: var(--ink);
  text-decoration: none;
}
.item-title a:hover {
  color: var(--link);
  text-decoration: underline;
}

.item-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 14px;
}

.model-card-link {
  min-width: 142px;
  min-height: 42px;
  padding: 8px 16px;
  justify-content: space-between;
  background: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  box-shadow: 0 5px 14px rgba(16, 38, 93, .14);
}

.model-card-link:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--navy-deep);
}

.model-card-link span {
  font-size: 17px;
  line-height: 1;
}

@media (max-width: 767px) {
  .model-card-link {
    width: 100%;
  }
}

/* Znaczniki statusów (tekstowe, spokojne, bez neonów) */
.status-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  width: fit-content;
  line-height: 1.3;
}
.status-available {
  background-color: var(--success-bg);
  color: var(--success);
  border: 1px solid var(--success-border);
}
.status-individual {
  background-color: var(--warning-bg);
  color: var(--warning-ink);
  border: 1px solid var(--warning-border);
}

.model-status-tag.status-individual,
.model-status-tag.status-available {
  gap: 7px;
  background: #edf9fd;
  color: var(--navy-soft);
  border-color: #a6d9ea;
}

.model-status-tag.status-individual::before,
.model-status-tag.status-available::before {
  content: '';
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--accent-dark);
}
.status-unavailable {
  background-color: var(--surface-alt);
  color: var(--muted);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Poradniki usterek (Siatka i karty)
   -------------------------------------------------------------------------- */
.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 20px;
  margin-top: 16px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  box-shadow: 0 9px 24px rgba(16, 38, 93, .05);
  transition: border-color 0.16s, transform 0.16s, box-shadow 0.16s;
}

.guide-card:hover {
  border-color: #9dcfe2;
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(16, 38, 93, .09);
}

.guide-card-content {
  margin-bottom: 16px;
}

.guide-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--link);
  margin-bottom: 6px;
}

.guide-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 8px;
}
.guide-title a {
  color: var(--ink);
}
.guide-title a:hover {
  color: var(--link);
  text-decoration: underline;
}

.guide-desc {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 10px;
}

.checklist-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  background: var(--surface-alt);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
}

/* --------------------------------------------------------------------------
   Karta szczegółowa poradnika i modelu
   Jeden główny panel + brak zagnieżdżonych 3 kart + brak pasków border-left
   -------------------------------------------------------------------------- */
.editorial-card, .repair-proof-card, .notice-panel {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  margin-bottom: 32px;
  box-shadow: 0 10px 28px rgba(16, 38, 93, .045);
}

.editorial-article {
  max-width: 820px;
  margin: 0 auto;
}

.editorial-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--link);
  margin-bottom: 4px;
}

/* Zastąpienie kolorowego border-left czystą warsztatową ramką */
.editorial-disclaimer {
  font-size: 13px;
  color: var(--muted);
  background: var(--surface-alt);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  line-height: 1.5;
}

.safety-warning-box {
  background: var(--warning-bg);
  border: 1px solid var(--warning-border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--warning-ink);
  margin: 20px 0;
}

.safety-icon {
  width: 26px;
  height: 26px;
  border-radius: 2px;
  background: var(--warning-ink);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 14px;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Checklista bezpiecznych kroków użytkownika */
.checklist-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
}

.checklist-number {
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: var(--navy);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.checklist-text {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink);
}

.diagnostics-list {
  padding-left: 20px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink);
}
.diagnostics-list li {
  margin-bottom: 6px;
}

/* Filtry kategorii — proste linki tekstowe zamiast cukierkowych pigułek */
.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--control-border);
  color: var(--ink);
  text-decoration: none;
  transition: background-color 0.12s, border-color 0.12s;
}

.pill:hover {
  background: var(--surface-alt);
  border-color: var(--ink);
  text-decoration: none;
}

.pill.pill-active {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
}

/* --------------------------------------------------------------------------
   Formularz zgłoszenia (/zgloszenie)
   -------------------------------------------------------------------------- */
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 36px;
  align-items: start;
  max-width: 1080px;
  margin: 0;
}

.form-main {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: 0 14px 34px rgba(16, 38, 93, .055);
}

.form-aside {
  position: sticky;
  top: 24px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  font-size: 13.5px;
  box-shadow: 0 10px 28px rgba(16, 38, 93, .045);
}

.form-aside-heading {
  font-size: 15.5px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--ink);
}

.form-aside-phone {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  background: var(--surface-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-aside-phone a {
  font-size: 17px;
  font-weight: 700;
  color: var(--link);
}

.form-aside-phone a.form-aside-phone-secondary {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 860px) {
  .form-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .form-main {
    padding: 22px 16px;
  }
  .form-aside {
    position: static;
  }
}

.form-group {
  margin-bottom: 22px;
}

.form-hint {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
  margin-bottom: 6px;
  line-height: 1.4;
}

.form-control {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
  background-color: #ffffff;
  border: 1px solid var(--control-border);
  border-radius: 10px;
  transition: border-color 0.12s;
}

.form-control::placeholder {
  color: #555f5a;
  opacity: 1;
}

.form-control[aria-invalid="true"] {
  border-color: var(--error);
  background-color: #fffaf9;
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

.form-field-error {
  color: var(--error);
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
  display: block;
}

/* Radio i wybór sposobu dostarczenia */
.radio-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-top: 8px;
}

.radio-card-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius);
  background-color: #ffffff;
  cursor: pointer;
  transition: border-color 0.12s, background-color 0.12s;
}

.radio-card-label:has(input:checked) {
  border-color: var(--accent-dark);
  background-color: var(--accent-subtle);
}

.radio-card-label input[type="radio"] {
  margin-top: 3px;
  accent-color: var(--accent-dark);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Upload plików */
.file-upload-box {
  border: 1px dashed var(--control-border);
  border-radius: var(--radius);
  padding: 18px;
  background: var(--surface-subtle);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.file-upload-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: #ffffff;
  border: 1px solid var(--control-border);
  color: var(--ink);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.file-upload-trigger:hover {
  background: var(--surface-alt);
  border-color: var(--ink);
}

.file-upload-native {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.file-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  margin-top: 6px;
  padding: 0;
}

.file-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.file-remove-btn {
  background: none;
  border: none;
  color: var(--error);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 2px;
}
.file-remove-btn:hover {
  text-decoration: underline;
}

/* --------------------------------------------------------------------------
   Alerty & Komunikaty
   -------------------------------------------------------------------------- */
.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  border: 1px solid transparent;
  font-size: 14.5px;
  line-height: 1.5;
}

.alert-error {
  background-color: var(--error-bg);
  color: var(--error);
  border-color: var(--error-border);
}

.alert-warning {
  background-color: var(--warning-bg);
  color: var(--warning-ink);
  border-color: var(--warning-border);
}

.alert-success {
  background-color: var(--success-bg);
  color: var(--success);
  border-color: var(--success-border);
}

/* --------------------------------------------------------------------------
   Okruszki (Breadcrumbs)
   -------------------------------------------------------------------------- */
.breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 0;
  margin: 0 0 20px;
}
.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: var(--link);
  text-decoration: underline;
}
.breadcrumbs [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   CTA przed stopką i stopka
   -------------------------------------------------------------------------- */
.prefooter-cta {
  position: relative;
  overflow: hidden;
  margin-top: 52px;
  padding: 58px 0;
  background: var(--navy-soft);
  color: #ffffff;
}

.prefooter-cta::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -180px;
  width: 360px;
  height: 360px;
  border: 58px solid rgba(18, 175, 224, .15);
  border-radius: 50%;
}

.prefooter-cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.prefooter-kicker {
  margin: 0 0 8px;
  color: #70ddff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.prefooter-cta h2 {
  max-width: 710px;
  margin-bottom: 8px;
  color: #ffffff;
}

.prefooter-cta p:last-child {
  color: #c2d1e9;
}

.prefooter-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  flex: 0 0 auto;
}

.prefooter-phone {
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.site-footer, footer {
  background-color: var(--navy-deep);
  color: #dce7f8;
  padding: 48px 0 28px;
  border-top: 1px solid #294479;
  font-size: 14px;
  margin-top: auto;
}

.site-footer a, footer a {
  color: #62d6ff;
  text-decoration: none;
  transition: color 0.12s;
}
.site-footer p a,
footer p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.site-footer a:hover, footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 17px;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 14px;
}

.footer-operator-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 13px;
}

.footer-operator-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid #5070a8;
  border-radius: 10px;
  color: #ffffff;
}

.footer-operator-brand strong,
.footer-operator-brand small {
  display: block;
}

.footer-operator-brand small {
  margin-top: 2px;
  color: #9fb0ce;
  font-size: 11px;
}

.footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.footer-ai-disclosure {
  margin-bottom: 24px;
  padding: 15px 20px;
  background: #0a1c48;
  border: 1px solid #294479;
  border-radius: var(--radius);
  color: #d6e2f5;
  font-size: 13px;
  line-height: 1.55;
}

.footer-ai-disclosure p {
  max-width: none;
  margin: 0;
}

.footer-ai-disclosure strong {
  color: #ffffff;
}

.footer-ai-disclosure a {
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-ai-disclosure-mobile {
  display: none;
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid #294479;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 12.5px;
  color: #9fb0ce;
}

@media (max-width: 760px) {
  .prefooter-cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .prefooter-actions,
  .prefooter-actions .button {
    align-items: stretch;
    width: 100%;
  }
  .prefooter-phone {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .footer-ai-disclosure-desktop {
    display: none;
  }
  .footer-ai-disclosure-mobile {
    display: block;
    padding: 0;
  }
  .footer-ai-disclosure-mobile summary {
    position: relative;
    min-height: 52px;
    padding: 15px 48px 15px 16px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
  }
  .footer-ai-disclosure-mobile summary::-webkit-details-marker {
    display: none;
  }
  .footer-ai-disclosure-mobile summary::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 17px;
    color: var(--cyan-pale);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transform: translateY(-50%);
  }
  .footer-ai-disclosure-mobile[open] summary::after {
    content: '−';
  }
  .footer-ai-disclosure-body {
    padding: 0 16px 16px;
    border-top: 1px solid #294479;
  }
  .footer-ai-disclosure-body p {
    padding-top: 14px;
  }
  .footer-ai-disclosure-body > a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    margin: 6px 0 0;
  }
}

/* --------------------------------------------------------------------------
   Baner zgód i modal (Consent mode)
   -------------------------------------------------------------------------- */
.consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-top: 2px solid var(--ink);
  padding: 18px 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
  z-index: 1000;
}

.consent-inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
@media (min-width: 840px) {
  .consent-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.consent-text {
  font-size: 13.5px;
  color: var(--ink);
  max-width: 740px;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  flex-shrink: 0;
}

dialog.consent-modal {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  padding: 28px;
  max-width: 560px;
  width: calc(100% - 32px);
  margin: auto;
  background: #ffffff;
  color: var(--ink);
}
dialog.consent-modal::backdrop {
  background: rgba(32, 37, 34, 0.5);
}

/* --------------------------------------------------------------------------
   Paginacja
   -------------------------------------------------------------------------- */
.workshop-pagination {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: flex-start;
  margin: 28px 0;
}

@media (min-width: 640px) {
  .workshop-pagination {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}

.pagination-info {
  font-size: 13px;
  color: var(--muted);
}

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-item {
  display: inline-flex;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  background: #ffffff;
  text-decoration: none;
  transition: background-color 0.12s ease, border-color 0.12s ease;
}

a.page-link:hover {
  background: var(--surface-subtle);
  border-color: var(--ink);
  color: var(--accent);
}

.page-item.active .page-link {
  background: var(--ink);
  color: #ffffff;
  border-color: var(--ink);
}

.page-item.disabled .page-link {
  color: var(--muted);
  border-color: var(--line);
  background: var(--surface-subtle);
  cursor: not-allowed;
  opacity: 0.65;
}

/* --------------------------------------------------------------------------
   Szczegóły pakowania i transportu
   -------------------------------------------------------------------------- */
.transport-details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 18px;
  margin-top: 16px;
  font-size: 14px;
}
.transport-details summary {
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
}
.transport-details p {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: 13.5px;
  color: var(--muted);
}
