/* Czcionki hostowane lokalnie (bez zapytań do Google Fonts); latin-ext przycięty do polskich znaków */
@font-face { font-family: 'Material Symbols Outlined'; font-style: normal; font-weight: 100 700; font-display: block; src: url(../fonts/material-symbols.woff2) format('woff2'); }
.material-symbols-outlined { font-family: 'Material Symbols Outlined'; font-weight: normal; font-style: normal; font-size: 24px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; word-wrap: normal; direction: ltr; -webkit-font-feature-settings: 'liga'; font-feature-settings: 'liga'; -webkit-font-smoothing: antialiased; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/inter-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F; }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 300 700; font-display: swap; src: url(../fonts/inter-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: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2'); unicode-range: U+0100-017F; }
@font-face { font-family: 'Plus Jakarta Sans'; font-style: normal; font-weight: 400 800; font-display: swap; src: url(../fonts/plus-jakarta-sans-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; }

a, button, [role="button"] {
  touch-action: manipulation;
}

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
            vertical-align: middle;
        }
        .hero-gradient {
            background: radial-gradient(circle at top right, rgba(118, 241, 255, 0.1) 0%, rgba(249, 249, 254, 0) 50%);
        }
        .bento-card-hover:hover {
            transform: translateY(-4px);
            box-shadow: 0px 10px 30px rgba(0, 59, 113, 0.08);
        }

        .material-symbols-outlined {
            font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
        }
        .bento-card {
            transition: transform 0.3s ease, box-shadow 0.3s ease;
        }
        .bento-card:hover {
            transform: translateY(-4px);
            box-shadow: 0px 10px 30px rgba(0, 59, 113, 0.08);
        }
        .glass-header {
            backdrop-filter: blur(8px);
            background: rgba(249, 249, 254, 0.8);
        }

        .acc-item {
            transition: box-shadow 0.2s ease, border-color 0.2s ease;
        }
        .acc-item:hover {
            box-shadow: 0px 10px 30px rgba(0, 59, 113, 0.08);
            border-color: rgba(0, 37, 75, 0.15);
        }
        .acc-item summary {
            list-style: none;
        }
        .acc-item summary::-webkit-details-marker {
            display: none;
        }
        .acc-item summary::marker {
            content: "";
        }
        .acc-item[open] > summary .acc-chevron {
            transform: rotate(180deg);
        }
        .acc-body {
            animation: acc-reveal 0.25s ease;
        }
        @keyframes acc-reveal {
            from { opacity: 0; transform: translateY(-4px); }
            to { opacity: 1; transform: translateY(0); }
        }

    :root {
      --navy: #00254b;
      --navy-mid: #003b71;
      --navy-light: #17477e;
      --blue: #355f97;
      --blue-light: #a6c8ff;
      --blue-pale: #d4e3ff;
      --teal: #006971;
      --teal-bright: #87f3ff;
      --red: #e63946;
      --red-soft: rgba(230,57,70,0.15);
      --bg: #eef4fb;
      --bg-card: #ffffff;
      --bg-map: #f0f5fb;
      --map-fill: #dce8f5;
      --map-fill-hover: #b8d0ed;
      --map-fill-active: #7ea7e3;
      --map-stroke: #c8daea;
      --map-stroke-hover: #7ea7e3;
      --text: #1a1c1f;
      --text-muted: #424750;
      --text-light: #737781;
      --border: #dde6f0;
      --outline-variant: #c3c6d1;
      --shadow: 0 2px 12px rgba(0,37,75,0.08);
      --shadow-lg: 0 8px 32px rgba(0,37,75,0.12);
      --r: 12px;
      --r-lg: 16px;
      --r-xl: 20px;
      --font-h: 'Plus Jakarta Sans', system-ui, sans-serif;
      --font-b: 'Inter', system-ui, sans-serif;
    }
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    html { scroll-behavior: smooth; }
    body {
      font-family: var(--font-b);
      background: var(--bg);
      color: var(--text);
      -webkit-font-smoothing: antialiased;
      line-height: 1.6;
    }

    .hero {
      background: linear-gradient(175deg, #e8f2fc 0%, #f5f9fe 40%, #edf3fa 100%);
      padding: 64px 24px 56px;
      text-align: center;
      border-bottom: 1px solid var(--border);
    }
    .hero-eyebrow {
      font-size: 0.75rem;
      font-weight: 600;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: var(--teal);
      margin-bottom: 18px;
    }
    .hero h1 {
      font-family: var(--font-h);
      font-size: clamp(2rem, 5vw, 3.25rem);
      font-weight: 800;
      color: var(--navy);
      letter-spacing: -0.025em;
      line-height: 1.15;
      margin-bottom: 18px;
    }
    .hero-sub {
      font-size: 1rem;
      color: var(--text-muted);
      max-width: 580px;
      margin: 0 auto 40px;
      line-height: 1.7;
    }
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 56px;
      flex-wrap: wrap;
    }
    .stat { text-align: center; }
    .stat-value {
      font-family: var(--font-h);
      font-size: 2rem;
      font-weight: 700;
      color: var(--navy);
      line-height: 1;
      margin-bottom: 6px;
    }
    .stat-label { font-size: 0.875rem; color: var(--text-muted); }

    .main-wrap {
      max-width: 1380px;
      margin: 0 auto;
      padding: 48px 24px 64px;
    }
    .two-col {
      display: grid;
      grid-template-columns: 1.45fr 0.55fr;
      gap: 24px;
      align-items: start;
    }

    .map-card {
      background: var(--bg-card);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow-lg);
      padding: 28px 24px 20px;
      border: 1px solid var(--border);
      position: sticky;
      top: 24px;
    }
    .map-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-bottom: 16px;
    }
    .map-title {
      font-family: var(--font-h);
      font-size: 1rem;
      font-weight: 600;
      color: var(--navy);
    }
    .map-legend {
      display: flex;
      align-items: center;
      gap: 7px;
      font-size: 0.8125rem;
      color: var(--text-muted);
    }
    .legend-dot {
      width: 10px; height: 10px;
      border-radius: 50%;
      background: var(--red);
      box-shadow: 0 0 0 2px rgba(230,57,70,0.25);
      flex-shrink: 0;
    }
    .map-bg {
      background: var(--bg-map);
      border-radius: var(--r);
      padding: 12px 8px;
      border: 1px solid var(--border);
    }
    .poland-svg {
      width: 100%;
      height: auto;
      display: block;
    }
    .voi-path {
      fill: var(--map-fill);
      stroke: var(--bg-card);
      stroke-width: 2;
      cursor: default;
      transition: fill 0.18s, stroke 0.18s;
    }
    .voi-has { cursor: pointer; }
    .voi-has:hover {
      fill: var(--map-fill-hover);
      stroke: var(--map-stroke-hover);
    }
    .voi-has.active {
      fill: var(--map-fill-active);
      stroke: var(--navy-mid);
      stroke-width: 2.5;
    }
    .voi-label {
      font-family: var(--font-b);
      font-size: 28px;
      font-weight: 400;
      fill: var(--text-muted);
      text-anchor: middle;
      pointer-events: none;
      user-select: none;
    }
    .marker {
      fill: var(--red);
      stroke: white;
      stroke-width: 2;
      cursor: pointer;
      transition: r 0.15s, stroke 0.15s, stroke-width 0.15s, filter 0.15s;
      filter: drop-shadow(0 1px 4px rgba(230,57,70,0.4));
    }
    .marker:hover {
      r: 14;
      stroke: #ffd873;
      stroke-width: 3;
      filter: drop-shadow(0 0 4px rgba(255,216,115,0.85)) drop-shadow(0 1px 4px rgba(230,57,70,0.4));
    }

    .marker.is-selected {
      r: 14;
      stroke: var(--blue);
      stroke-width: 4;
      filter: drop-shadow(0 0 5px rgba(53,95,151,0.85)) drop-shadow(0 1px 4px rgba(230,57,70,0.4));
    }

    .markers-layer.is-searching .marker {
      opacity: 0.28;
      filter: none;
    }
    .markers-layer.is-searching .marker.is-hit {
      opacity: 1;
      r: 13;
      stroke: #ffd873;
      stroke-width: 3;
      filter: drop-shadow(0 0 5px rgba(255,216,115,0.9)) drop-shadow(0 1px 4px rgba(230,57,70,0.45));
    }
    .markers-layer.is-searching .marker.is-top {
      r: 17;
      stroke-width: 4;
    }
    @media (prefers-reduced-motion: reduce) {
      .marker { transition: none; }
    }

    .map-search {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 10px;
      margin-bottom: 14px;
    }
    .map-search[hidden] { display: none; }
    .map-search-field {
      position: relative;
      flex: 1 1 260px;
      min-width: 0;
      display: flex;
      align-items: center;
    }
    .map-search-icon {
      position: absolute;
      left: 13px;
      width: 17px;
      height: 17px;
      fill: none;
      stroke: var(--text-light);
      stroke-width: 2;
      stroke-linecap: round;
      pointer-events: none;
    }
    .map-search-field input {
      width: 100%;
      font-family: var(--font-b);
      font-size: 0.9375rem;
      color: var(--text);
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 11px 38px 11px 38px;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .map-search-field input::placeholder { color: var(--text-light); }
    .map-search-field input:focus {
      outline: none;
      border-color: var(--map-fill-active);
      box-shadow: 0 0 0 3px rgba(126,167,227,0.25);
    }
    .map-search-reset {
      position: absolute;
      right: 8px;
      width: 24px;
      height: 24px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0;
      padding: 0;
      background: transparent;
      border-radius: 50%;
      cursor: pointer;
      color: var(--text-light);
    }
    .map-search-reset[hidden] { display: none; }
    .map-search-reset:hover { background: var(--bg); color: var(--navy); }
    .map-search-reset svg {
      width: 14px; height: 14px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2.2;
      stroke-linecap: round;
    }
    .map-search-btn {
      flex-shrink: 0;
      font-family: var(--font-h);
      font-size: 0.875rem;
      font-weight: 600;
      color: #fff;
      background: var(--navy-mid);
      border: 0;
      border-radius: var(--r);
      padding: 11px 18px;
      cursor: pointer;
      transition: background 0.15s;
    }
    .map-search-btn:hover { background: var(--navy); }
    .map-search-geo {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-family: var(--font-b);
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--navy-mid);
      background: transparent;
      border: 0;
      padding: 6px 2px;
      cursor: pointer;
    }
    .map-search-geo:hover { text-decoration: underline; }
    .map-search-geo svg {
      width: 15px; height: 15px;
      fill: none;
      stroke: currentColor;
      stroke-width: 2;
      stroke-linecap: round;
    }
    .map-search-note {
      font-size: 0.875rem;
      color: var(--text-muted);
      margin: -6px 0 14px;
      line-height: 1.5;
    }
    .map-search-note[hidden] { display: none; }
    .map-search-note.is-error { color: var(--red); }

    .svg-tooltip {
      position: absolute;
      background: var(--navy);
      color: #fff;
      font-size: 0.8125rem;
      line-height: 1.5;
      padding: 10px 14px;
      border-radius: var(--r);
      pointer-events: none;
      z-index: 50;
      max-width: 240px;
      opacity: 0;
      transform: translate(-50%, calc(-100% - 12px));
      transition: opacity 0.12s;
      box-shadow: var(--shadow-lg);
    }
    .svg-tooltip::after {
      content: '';
      position: absolute;
      top: 100%;
      left: 50%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-top-color: var(--navy);
    }
    .svg-tooltip.show { opacity: 1; }

    .panel-card {
      background: var(--bg-card);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow-lg);
      border: 1px solid var(--border);
      overflow: hidden;
      max-height: calc(100vh - 100px);
      display: flex;
      flex-direction: column;
    }
    .panel-head {
      padding: 24px 28px 20px;
      border-bottom: 1px solid var(--border);
      flex-shrink: 0;
    }
    .panel-badge {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      margin-bottom: 10px;
    }
    .badge-dot { width: 7px; height: 7px; border-radius: 50%; }
    .badge-yes { color: var(--teal); }
    .badge-yes .badge-dot { background: var(--teal); }
    .panel-voi-name {
      font-family: var(--font-h);
      font-size: 1.5rem;
      font-weight: 700;
      color: var(--navy);
      margin-bottom: 6px;
    }
    .panel-voi-sub {
      font-size: 0.9375rem;
      color: var(--text-muted);
    }
    .panel-body {
      flex: 1;
      min-height: 0;
      overflow-y: auto;
      padding: 16px 28px 28px;
      scrollbar-width: thin;
      scrollbar-color: var(--border) transparent;
    }
    .panel-body::-webkit-scrollbar { width: 6px; }
    .panel-body::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

    .fac-card {
      background: var(--bg-card);
      border: 1px solid var(--border);
      border-radius: var(--r);
      padding: 16px;
      margin-bottom: 12px;
      transition: box-shadow 0.15s, transform 0.12s;
    }
    .fac-card:last-child { margin-bottom: 0; }
    .fac-card:hover { box-shadow: var(--shadow); transform: translateY(-1px); }

    .fac-card.is-focused {
      background: var(--blue-pale);
      border-color: var(--blue-light);
      box-shadow: 0 2px 12px rgba(53,95,151,0.18);
    }
    .fac-card.is-focused .fac-hours span { color: var(--text-muted); }
    .fac-focus-flag {
      display: inline-flex;
      align-items: center;
      gap: 5px;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      color: #fff;
      background: var(--blue);
      padding: 3px 10px;
      border-radius: 999px;
      margin-bottom: 10px;
      white-space: nowrap;
    }
    .fac-focus-flag::before {
      content: '';
      width: 7px; height: 7px;
      border-radius: 50%;
      background: var(--red);
      box-shadow: 0 0 0 2px rgba(255,255,255,0.9);
    }
    @media (prefers-reduced-motion: no-preference) {
      .fac-card.is-focused { animation: facFocusIn 0.35s ease-out; }
    }
    @keyframes facFocusIn {
      from { background: var(--bg-card); }
      to   { background: var(--blue-pale); }
    }
    .fac-name-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      margin-bottom: 8px;
      flex-wrap: wrap;
    }
    .fac-name {
      font-weight: 600;
      font-size: 0.9375rem;
      color: var(--navy);
      flex: 1;
      min-width: 0;
    }
    .fac-dist {
      flex-shrink: 0;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.02em;
      color: var(--navy-mid);
      background: var(--blue-pale);
      padding: 2px 9px;
      border-radius: 999px;
      margin-top: 2px;
      white-space: nowrap;
    }
    .fac-badge {
      flex-shrink: 0;
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: #fff;
      background: #e63946;
      padding: 2px 8px;
      border-radius: 999px;
      margin-top: 2px;
    }
    .fac-feniks-badge {
      flex-shrink: 0;
      display: inline-block;
      font-size: 0.6875rem;
      font-weight: 800;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      color: #14532d;
      background: #bbf7d0;
      padding: 2px 9px;
      border-radius: 999px;
      margin-top: 2px;
      text-decoration: none;
      border: 1px solid #86efac;
      transition: background 0.15s, transform 0.12s;
    }
    .fac-feniks-badge:hover {
      background: #86efac;
      transform: translateY(-1px);
    }
    .fac-feniks-badge-2 {
      color: #1e3a5f;
      background: #cfe4ff;
    }
    .fac-feniks-badge-2:hover { background: #a6c8ff; }
    .fac-actions {
      display: flex;
      gap: 8px;
      margin-top: 10px;
    }
    .fac-btn {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 6px 14px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.04em;
      text-transform: uppercase;
      text-decoration: none;
      transition: all 0.15s ease;
      cursor: pointer;
      border: none;
    }
    .fac-btn svg {
      width: 14px; height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .fac-btn-call {
      background: var(--teal);
      color: #fff;
    }
    .fac-btn-call:hover {
      background: #004f57;
    }
    .fac-btn-map {
      background: var(--navy);
      color: #fff;
    }
    .fac-btn-map:hover {
      background: var(--navy-mid);
    }
    .fac-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
      font-size: 0.875rem;
      color: var(--text-muted);
      margin-top: 6px;
      text-decoration: none;
    }
    .fac-row .icon {
      width: 14px; height: 14px;
      stroke: currentColor;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
      margin-top: 2px;
    }
    .fac-addr { color: var(--text-muted); }
    .fac-addr:hover { color: var(--navy-mid); text-decoration: underline; }
    .fac-phone-link {
      color: var(--navy-mid);
      text-decoration: none;
      font-weight: 500;
    }
    .fac-phone-link:hover { text-decoration: underline; }
    .fac-hours span { color: #596069; white-space: pre-line; }

    .contact-section {
      background: linear-gradient(155deg, #123f72 0%, var(--navy) 45%, #001a35 100%);
      padding: 88px 24px;
    }
    .contact-wrap {
      max-width: 1380px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 0.85fr 1fr;
      gap: 48px;
      align-items: start;
    }
    .contact-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(255,255,255,0.08);
      border: 1px solid rgba(255,255,255,0.16);
      color: var(--teal-bright);
      padding: 8px 18px;
      border-radius: 999px;
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      margin-bottom: 28px;
    }
    .contact-eyebrow svg {
      width: 16px; height: 16px;
      stroke: var(--teal-bright);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .contact-heading {
      font-family: var(--font-h);
      font-size: clamp(1.75rem, 3.2vw, 2.5rem);
      font-weight: 800;
      color: #fff;
      line-height: 1.2;
      letter-spacing: -0.02em;
      margin-bottom: 20px;
    }
    .contact-sub {
      font-size: 0.9375rem;
      color: rgba(255,255,255,0.72);
      line-height: 1.75;
      max-width: 480px;
      margin-bottom: 36px;
    }
    .contact-info-card {
      display: flex;
      align-items: center;
      gap: 16px;
      background: rgba(255,255,255,0.06);
      border: 1px solid rgba(255,255,255,0.12);
      border-radius: var(--r-lg);
      padding: 18px 20px;
      margin-bottom: 14px;
    }
    .contact-info-icon {
      flex-shrink: 0;
      width: 44px; height: 44px;
      border-radius: var(--r);
      background: var(--teal-bright);
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .contact-info-icon svg {
      width: 20px; height: 20px;
      stroke: var(--navy);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .contact-info-label {
      font-size: 0.6875rem;
      font-weight: 700;
      letter-spacing: 0.05em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.55);
      margin-bottom: 4px;
    }
    .contact-info-value {
      font-family: var(--font-h);
      font-size: 1.125rem;
      font-weight: 700;
      color: #fff;
    }

    .contact-form-card {
      background: var(--bg-card);
      border-radius: var(--r-xl);
      box-shadow: var(--shadow-lg);
      padding: 40px;
    }
    .contact-form-title {
      font-family: var(--font-h);
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--navy);
      margin-bottom: 8px;
    }
    .contact-form-sub {
      font-size: 0.9375rem;
      color: var(--text-muted);
      margin-bottom: 28px;
    }
    .form-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 20px;
      margin-bottom: 20px;
    }
    .form-group { display: flex; flex-direction: column; }
    .form-group.full { margin-bottom: 20px; }
    .form-group label {
      font-size: 0.8125rem;
      font-weight: 600;
      color: var(--navy);
      margin-bottom: 8px;
    }
    .form-group input,
    .form-group select,
    .form-group textarea {
      width: 100%;
      padding: 12px 14px;
      border: 1px solid var(--border);
      border-radius: var(--r);
      font-family: var(--font-b);
      font-size: 0.9375rem;
      color: var(--text);
      background: #fbfdff;
      transition: border-color 0.15s, box-shadow 0.15s;
    }
    .form-group input::placeholder,
    .form-group textarea::placeholder { color: var(--text-light); }
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--teal);
      box-shadow: 0 0 0 3px rgba(0,105,113,0.15);
    }
    .form-group select {
      appearance: none;
      background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23424750' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='6 9 12 15 18 9'/></svg>");
      background-repeat: no-repeat;
      background-position: right 12px center;
      background-size: 18px;
      padding-right: 38px;
      cursor: pointer;
    }
    .form-group textarea {
      min-height: 120px;
      resize: vertical;
      font-family: var(--font-b);
      line-height: 1.6;
    }
    .form-checkbox-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      margin: 4px 0 24px;
    }
    .form-checkbox-row input[type="checkbox"] {
      margin-top: 3px;
      width: 16px; height: 16px;
      flex-shrink: 0;
      accent-color: var(--teal);
      cursor: pointer;
    }
    .form-checkbox-row span {
      font-size: 0.8125rem;
      color: var(--text-muted);
      line-height: 1.6;
    }
    .form-checkbox-row a { color: var(--navy-mid); }
    .form-submit {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
      background: var(--navy);
      color: #fff;
      border: none;
      padding: 16px;
      border-radius: 999px;
      font-size: 0.9375rem;
      font-weight: 700;
      cursor: pointer;
      transition: background 0.15s, transform 0.12s;
    }
    .form-submit svg {
      width: 18px; height: 18px;
      stroke: #fff;
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
    }
    .form-submit:hover { background: var(--navy-mid); }
    .form-submit:active { transform: translateY(1px); }
    .form-note {
      margin-top: 16px;
      font-size: 0.8125rem;
      color: var(--teal);
      text-align: center;
      display: none;
    }
    .form-note.show { display: block; }
    .form-note.error { color: var(--red); }
    .form-facility-hint {
      display: block;
      margin-top: 6px;
      font-size: 0.75rem;
      color: var(--text-light);
    }
    .hp-field {
      position: absolute;
      left: -9999px;
      top: -9999px;
      width: 1px;
      height: 1px;
      overflow: hidden;
    }

    .skip-link {
      position: absolute;
      top: -100px;
      left: 16px;
      z-index: 200;
      display: inline-block;
      padding: 12px 20px;
      background: var(--navy);
      color: #fff;
      font-family: var(--font-b);
      font-size: 0.9375rem;
      font-weight: 700;
      text-decoration: none;
      border-radius: 0 0 10px 10px;
      box-shadow: 0 4px 16px rgba(0,37,75,0.35);
      transition: top 0.15s ease-out;
    }
    .skip-link:focus {
      top: 0;
      outline: 3px solid var(--teal-bright);
      outline-offset: -3px;
    }
    main:focus { outline: none; }
    html.a11y-kontrast .skip-link {
      background: #ffff00 !important;
      color: #000 !important;
      border: 2px solid #ffff00 !important;
    }

    .a11y-bar {
      display: flex;
      align-items: center;
      gap: 4px;
    }
    .a11y-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      padding: 0;
      border: 1px solid var(--border);
      border-radius: 10px;
      background: var(--bg-card);
      color: var(--navy);
      cursor: pointer;
      transition: background 0.15s, border-color 0.15s, color 0.15s;
    }
    .a11y-btn:hover { background: var(--bg); border-color: var(--navy); }
    .a11y-btn:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
    .a11y-btn .material-symbols-outlined { font-size: 22px; line-height: 1; }
    .a11y-btn[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
    .a11y-sr {
      position: absolute;
      width: 1px; height: 1px;
      padding: 0; margin: -1px;
      overflow: hidden;
      clip: rect(0 0 0 0);
      white-space: nowrap;
      border: 0;
    }
    .a11y-status {
      font-size: 0.75rem;
      font-weight: 700;
      color: var(--text-muted);
      min-width: 34px;
    }
    @media (max-width: 600px) {
      .a11y-btn { width: 36px; height: 36px; }
      .a11y-status { display: none; }
    }

    html.a11y-powiekszony header nav,
    html.a11y-powiekszony header nav > div,
    html.a11y-powiekszony header nav .md\:flex {
      flex-wrap: wrap;
      row-gap: 10px;
    }
    html.a11y-powiekszony header nav { align-items: center; }

    html.a11y-kontrast,
    html.a11y-kontrast body {
      background: #000 !important;
      color: #ffff00 !important;
    }
    html.a11y-kontrast *:not(body):not(img):not(iframe):not(svg):not(path):not(circle):not(line):not(polyline):not(polygon):not(rect) {
      background-color: transparent !important;
      background-image: none !important;
      color: #ffff00 !important;
      border-color: #ffff00 !important;
      box-shadow: none !important;
      text-shadow: none !important;
      filter: none !important;
    }
    html.a11y-kontrast svg { fill: none !important; stroke: #ffff00 !important; }
    html.a11y-kontrast a { text-decoration: underline !important; }
    html.a11y-kontrast a:hover,
    html.a11y-kontrast a:focus,
    html.a11y-kontrast button:hover,
    html.a11y-kontrast button:focus {
      background-color: #ffff00 !important;
      color: #000 !important;
    }
    html.a11y-kontrast a:hover *,
    html.a11y-kontrast button:hover *,
    html.a11y-kontrast a:focus *,
    html.a11y-kontrast button:focus * { color: #000 !important; }
    html.a11y-kontrast *:focus-visible { outline: 3px solid #ffff00 !important; outline-offset: 2px; }
    html.a11y-kontrast button,
    html.a11y-kontrast input,
    html.a11y-kontrast select,
    html.a11y-kontrast textarea,
    html.a11y-kontrast .fac-card,
    html.a11y-kontrast .acc-item {
      border: 1px solid #ffff00 !important;
    }
    html.a11y-kontrast img,
    html.a11y-kontrast iframe {
      background: #fff !important;
      padding: 4px;
      border: 1px solid #ffff00 !important;
    }
    html.a11y-kontrast .voi-path { fill: #000 !important; stroke: #ffff00 !important; }
    html.a11y-kontrast .voi-path.active { fill: #333 !important; }
    html.a11y-kontrast .marker { fill: #ffff00 !important; stroke: #000 !important; }
    html.a11y-kontrast .poland-svg { background: #000 !important; }

    .form-consent-link {
      color: var(--navy);
      font-weight: 600;
      text-decoration: underline;
      text-underline-offset: 2px;
    }
    .form-consent-link:hover { color: var(--teal); }

    .modal-overlay {
      position: fixed;
      inset: 0;
      z-index: 100;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 24px 16px;
      overflow-y: auto;
      background: rgba(0, 22, 45, 0.65);
      backdrop-filter: blur(3px);
      animation: modalFadeIn 0.18s ease-out;
    }
    .modal-overlay[hidden] { display: none; }
    .modal-dialog {
      position: relative;
      width: 100%;
      max-width: 720px;
      margin: auto;
      background: var(--bg-card);
      border-radius: var(--r-xl);
      box-shadow: 0 24px 64px rgba(0, 22, 45, 0.35);
      animation: modalSlideIn 0.22s ease-out;
    }
    .modal-close {
      position: absolute;
      top: 16px;
      right: 16px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      border: 0;
      border-radius: 50%;
      background: var(--bg);
      color: var(--text-muted);
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }
    .modal-close:hover { background: var(--red-soft); color: var(--red); }
    .modal-close:focus-visible { outline: 2px solid var(--teal); outline-offset: 2px; }
    .modal-close svg {
      width: 20px; height: 20px;
      stroke: currentColor; fill: none;
      stroke-width: 2; stroke-linecap: round;
    }
    .modal-dialog .contact-form-card {
      box-shadow: none;
      border-radius: var(--r-xl);
      margin: 0;
    }
    @keyframes modalFadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes modalSlideIn {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @media (prefers-reduced-motion: reduce) {
      .modal-overlay, .modal-dialog { animation: none; }
    }

    .przetargi-tabs {
      display: flex;
      gap: 4px;
      border-bottom: 1px solid var(--outline-variant);
      margin-bottom: 32px;
    }
    .przetargi-tab {
      appearance: none;
      background: none;
      border: 0;
      border-bottom: 3px solid transparent;
      margin-bottom: -1px;
      padding: 12px 20px;
      font: inherit;
      font-size: 0.9375rem;
      font-weight: 600;
      color: var(--text-muted);
      cursor: pointer;
      transition: color 0.15s, border-color 0.15s, background 0.15s;
      border-radius: var(--r) var(--r) 0 0;
    }
    .przetargi-tab:hover { color: var(--navy); background: rgba(0,37,75,0.04); }
    .przetargi-tab:focus-visible { outline: 2px solid var(--teal); outline-offset: -3px; }
    .przetargi-tab[aria-selected="true"] {
      color: var(--navy);
      border-bottom-color: var(--navy);
      font-weight: 700;
    }
    [role="tabpanel"][hidden] { display: none; }
    .przetargi-empty {
      display: flex;
      align-items: center;
      gap: 12px;
      padding: 32px;
      border: 1px dashed var(--outline-variant);
      border-radius: 1.5rem;
      background: var(--bg-card);
      color: var(--text-muted);
      font-size: 1rem;
    }
    .przetargi-empty .material-symbols-outlined {
      font-size: 28px;
      color: var(--teal);
      flex-shrink: 0;
    }

    .page-footer {
      background: var(--navy);
      color: rgba(255,255,255,0.9);
      padding: 64px 24px 0;
    }
    .footer-inner {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
      gap: 48px;
      padding-bottom: 48px;
      border-bottom: 1px solid rgba(255,255,255,0.12);
    }
    .footer-brand-name {
      font-family: var(--font-h);
      font-size: 1.5rem;
      font-weight: 800;
      color: #fff;
      margin-bottom: 14px;
    }
    .footer-brand-desc {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.65);
      line-height: 1.75;
      max-width: 320px;
    }
    .footer-logo {
      display: inline-block;
      margin-top: 20px;
      background: #fff;
      border-radius: var(--r);
      padding: 12px;
    }
    .footer-logo img {
      display: block;
      height: 48px;
      width: auto;
    }
    .footer-col-title {
      font-size: 0.75rem;
      font-weight: 700;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.5);
      margin-bottom: 18px;
    }
    .footer-nav-list {
      list-style: none;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .footer-nav-list a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      font-size: 0.9375rem;
      transition: color 0.15s;
    }
    .footer-nav-list a:hover,
    .footer-nav-list a.active { color: var(--teal-bright); }
    .footer-contact-list {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }
    .footer-contact-list li {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.9375rem;
      color: rgba(255,255,255,0.85);
    }
    .footer-contact-list svg {
      width: 18px; height: 18px;
      stroke: var(--teal-bright);
      fill: none;
      stroke-width: 2;
      stroke-linecap: round;
      stroke-linejoin: round;
      flex-shrink: 0;
    }
    .footer-contact-list a { color: inherit; text-decoration: none; }
    .footer-contact-list a:hover { text-decoration: underline; }
    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      text-align: center;
      flex-wrap: wrap;
      gap: 12px;
      padding: 24px 0;
      font-size: 0.8125rem;
      color: rgba(255,255,255,0.5);
    }

    @media (max-width: 980px) {
      .two-col { grid-template-columns: 1fr; }
      .map-card { position: static; }
      .panel-card { max-height: none; }
      .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
      .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
    }
    @media (max-width: 600px) {
      .footer-inner { grid-template-columns: 1fr; gap: 32px; }
      .hero { padding: 48px 20px 40px; }
      .main-wrap { padding: 32px 16px 48px; }
      .panel-head { padding: 20px; }
      .panel-body { padding: 12px 20px 20px; }
      .map-search-btn { width: 100%; }
      .contact-section { padding: 64px 20px; }
      .contact-form-card { padding: 28px 22px; }
      .form-grid { grid-template-columns: 1fr; gap: 0; }
    }

    .fp-back{display:inline-flex;align-items:center;gap:6px;background:none;border:0;padding:0;margin-bottom:22px;color:var(--teal-bright);font:600 .8125rem var(--font-b);cursor:pointer;text-decoration:underline;text-underline-offset:3px}
    .fp-back .material-symbols-outlined{font-size:18px}
    .fp-city{font-size:.75rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--teal-bright);margin-bottom:8px}
    .fp-name{font-family:var(--font-h);font-size:clamp(1.5rem,2.6vw,2rem);font-weight:800;color:#fff;line-height:1.2;letter-spacing:-.02em;margin-bottom:22px}
    .fp-card{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12);border-radius:var(--r-lg);padding:22px 22px 8px;margin-bottom:16px}
    .fp-label{font-size:.6875rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:var(--teal-bright);margin-bottom:16px;display:block}
    .fp-list{list-style:none;margin:0;padding:0}
    .fp-list li{display:flex;gap:14px;align-items:flex-start;margin-bottom:16px;color:#fff;font-size:.9375rem;line-height:1.5}
    .fp-list .material-symbols-outlined{color:var(--teal-bright);font-size:22px;margin-top:1px;flex-shrink:0}
    .fp-list a{color:#fff;text-decoration:none;font-weight:600}
    .fp-list a:hover{text-decoration:underline}
    .fp-list small{display:block;color:rgba(255,255,255,.7);font-size:.8125rem;font-weight:400}
    .fp-hrs{display:grid;grid-template-columns:auto 1fr;gap:2px 14px}
    .fp-hrs b{font-weight:600;color:rgba(255,255,255,.75)}
    .fp-stop{display:flex;gap:12px;margin-bottom:18px}
    .fp-stop-ico{width:38px;height:38px;flex-shrink:0;border-radius:10px;background:rgba(135,243,255,.15);display:flex;align-items:center;justify-content:center}
    .fp-stop-ico .material-symbols-outlined{color:var(--teal-bright);font-size:22px}
    .fp-stop-name{font-weight:700;font-size:.9375rem;color:#fff}
    .fp-stop-meta{font-size:.75rem;color:rgba(255,255,255,.65);margin:2px 0 8px}
    .fp-chips{display:flex;flex-wrap:wrap;gap:6px}
    .fp-chip{background:var(--teal-bright);color:var(--navy);font-size:.75rem;font-weight:800;padding:2px 9px;border-radius:6px}
    .fp-chip.is-dest{font-weight:700}
    .fp-note{font-size:.75rem;color:rgba(255,255,255,.6);margin:-4px 0 14px;line-height:1.5}
    .fp-btns{display:grid;gap:10px;margin-bottom:6px;padding-bottom:12px}
    .fp-btn{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.16);color:#fff;border-radius:12px;padding:13px 16px;font:600 .875rem var(--font-b);text-decoration:none;transition:background .15s,color .15s}
    .fp-btn:hover{background:var(--teal-bright);color:var(--navy)}
    .fp-btn .material-symbols-outlined{font-size:22px}
    .fp-btn .fp-grow{flex:1}
    .fp-btn.is-primary{background:var(--teal-bright);color:var(--navy);border-color:var(--teal-bright)}
    .fp-btn.is-primary:hover{background:#fff}
      
    .contact-right{display:flex;flex-direction:column;gap:20px;min-width:0}
    .contact-wrap.has-facility{align-items:stretch}
    .fp-map{position:relative;flex:1 1 auto;min-height:170px;border-radius:var(--r-xl);overflow:hidden;border:1px solid rgba(255,255,255,.18);box-shadow:var(--shadow-lg);background:#dfe9f3}
    .fp-map iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
    .fp-map-link{position:absolute;right:10px;bottom:10px;display:inline-flex;align-items:center;gap:6px;background:#fff;color:var(--navy);font:700 .75rem var(--font-b);padding:7px 12px;border-radius:999px;text-decoration:none;box-shadow:0 2px 8px rgba(0,0,0,.25)}
    .fp-map-link .material-symbols-outlined{font-size:16px}
    @media (max-width:900px){.fp-map{min-height:320px;flex:none}}

    .fp-badges{display:inline-flex;gap:6px;vertical-align:middle;margin-left:10px}
    .fp-stop-none{font-size:.8125rem;color:rgba(255,255,255,.7);line-height:1.5;margin-bottom:16px}
    .fp-hrs-text{white-space:pre-line}
    .fp-list .fp-multi{display:flex;flex-direction:column;gap:2px}
    #facilityPanel[hidden],#contactDefault[hidden],#facilityMap[hidden]{display:none}

    .form-fab { display: none; }
    @media (max-width: 900px) {
      .form-fab {
        position: fixed;
        right: 16px;
        bottom: 18px;
        z-index: 90;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 16px;
        border: 0;
        border-radius: 999px;
        background: var(--teal-bright);
        color: var(--navy);
        font: 700 .875rem var(--font-b);
        box-shadow: 0 6px 22px rgba(0,37,75,.35);
        cursor: pointer;
        animation: fabBounce 2.2s ease-in-out infinite;
      }
      .form-fab[hidden] { display: none; }
      .form-fab::after {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: inherit;
        border: 2px solid var(--teal-bright);
        animation: fabPulse 2.2s ease-out infinite;
        pointer-events: none;
      }
      .form-fab .material-symbols-outlined { font-size: 22px; }
      .form-fab-arrow { animation: fabArrow 1.1s ease-in-out infinite; }
    }
    @keyframes fabBounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
    @keyframes fabPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35, 1.7); opacity: 0; } }
    @keyframes fabArrow { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }
    @media (prefers-reduced-motion: reduce) {
      .form-fab, .form-fab::after, .form-fab-arrow { animation: none !important; }
    }

    @media (min-width: 768px) and (max-width: 1199px) {
      header nav > div > div.md\:flex { display: none !important; }
      header #mobileMenuButton { display: inline-flex !important; }
      header #mobileMenu.md\:hidden:not(.hidden) { display: block !important; }
    }

    .ff-title {
      background: none;
      border: 0;
      padding: 0;
      margin: 0;
      font: inherit;
      color: inherit;
      text-align: left;
      cursor: pointer;
      text-decoration: none;
    }
    .ff-title:hover { text-decoration: underline; text-underline-offset: 3px; }
    .ff-title:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; border-radius: 2px; }

    .modal-facility { display: none; }
    .modal-dialog.has-facility {
      max-width: 1120px;
      display: grid;
      grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
      overflow: hidden;
    }
    .modal-dialog.has-facility .modal-facility {
      display: block;
      background: linear-gradient(155deg, #123f72 0%, var(--navy) 45%, #001a35 100%);
      padding: 36px 28px;
    }
    .modal-dialog.has-facility .modal-facility[hidden] { display: none; }
    .modal-dialog.has-facility .contact-form-card { border-radius: 0; }
    .fp-map-inline {
      position: relative;
      height: 240px;
      border-radius: var(--r-lg);
      overflow: hidden;
      border: 1px solid rgba(255,255,255,.18);
      background: #dfe9f3;
    }
    .fp-map-inline iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
    @media (max-width: 900px) {
      .modal-dialog.has-facility { display: block; }
      .modal-dialog.has-facility .modal-facility { padding: 56px 20px 24px; }
    }


    html.a11y-kontrast .modal-overlay { background-color: #000 !important; }
    html.a11y-kontrast .modal-dialog { background-color: #000 !important; border: 2px solid #ffff00 !important; }
    html.a11y-kontrast .modal-dialog .modal-facility { border-right: 2px solid #ffff00 !important; }
    html.a11y-kontrast .fp-chip { border: 1px solid #ffff00 !important; }
    html.a11y-kontrast .fp-map-link,
    html.a11y-kontrast .form-fab { background-color: #000 !important; border: 2px solid #ffff00 !important; }
    html.a11y-kontrast .form-fab::after { border-color: #ffff00 !important; }
    html.a11y-kontrast .fp-map,
    html.a11y-kontrast .fp-map-inline { border: 2px solid #ffff00 !important; }
    @media (max-width: 900px) {
      html.a11y-kontrast .modal-dialog .modal-facility { border-right: 0 !important; border-bottom: 2px solid #ffff00 !important; }
    }
