/* Zgłoszenie serwisowe / reklamacja (moduł gfserwis) — wg makiety „Zakładka Serwis Reklamacje.pdf” (25.09.2026). */
/* Pełna szerokość bez 100vw w szerokości: margin-inline calc(50% - 50vw) + padding-inline calc(50vw - 50%) (procent = szerokość
   treści kontenera) — treść pasów równa z krawędzią kontenera niezależnie od paska przewijania. Motyw daje body tylko klasę
   module-gfserwis-form. */
body.module-gfserwis-form { overflow-x: clip; }
.gfs { --gfs-line: #cfcfcf; --gfs-ink: #111; --gfs-muted: #666; --gfs-red: var(--primary, #d50000); position: relative; isolation: isolate; color: var(--gfs-ink); padding-bottom: 36px; margin-bottom: -48px; } /* -48 px = dolny padding <main> motywu (biały pas przed stopką) */
.gfs::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(50% - 50vw); right: calc(50% - 50vw); z-index: -1; background: #f4f4f4; }
.gfs *, .gfs *::before, .gfs *::after { box-sizing: border-box; }
.gfs [hidden] { display: none !important; } /* .gfs-form ma display:grid, które nadpisywało hidden */

/* baner na całą szerokość */
.gfs-hero { position: relative; margin: 0 calc(50% - 50vw); padding: 56px calc(50vw - 50%) 52px; background: #0b0909 var(--gfs-hero) right center / cover no-repeat; color: #fff; isolation: isolate; }
.gfs-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 6, 6, .96) 0%, rgba(8, 6, 6, .88) 45%, rgba(8, 6, 6, .35) 80%, rgba(8, 6, 6, .15) 100%); }
.gfs-hero-in { max-width: 720px; }
.gfs-eyebrow { margin: 0 0 8px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: #d6cfd0; }
.gfs-title { margin: 0 0 14px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; font-weight: 700; text-transform: uppercase; color: #fff; }
.gfs-lead { margin: 0; font-size: 16px; line-height: 1.55; color: #e9e3e4; max-width: 60ch; }

/* pasek kroków */
.gfs-steps { list-style: none; margin: 0 calc(50% - 50vw) 28px; padding: 18px calc(50vw - 50%); display: flex; justify-content: space-between; gap: 12px; background: #fafafa; border-bottom: 1px solid #e3e3e3; }
.gfs-step { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.gfs-step.is-reachable:not(.is-current) { cursor: pointer; }
.gfs-step.is-reachable:not(.is-current):hover .gfs-step-no { background: var(--gfs-red); }
.gfs-step:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin-left: 8px; background: #d4d4d4; min-width: 20px; }
.gfs-step-no { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #8c8c8c; color: #fff; font-size: 18px; font-weight: 600; }
.gfs-step.is-current .gfs-step-no { background: #111; }
.gfs-step.is-done .gfs-step-no { background: #111; }
.gfs-step-txt { display: grid; line-height: 1.25; }
.gfs-step-txt b { font-size: 15px; }
.gfs-step-txt small { font-size: 13px; color: var(--gfs-muted); }

/* karty kroków */
.gfs-form { display: grid; gap: 22px; }
.gfs-card:not(.is-active) { display: none; } /* kreator: widoczny tylko bieżący krok */
.gfs-card { display: grid; grid-template-columns: minmax(200px, 27%) 1fr; gap: 24px 36px; padding: 28px 30px 30px; background: #fff; border: 1px solid #e2e2e2; box-shadow: 0 6px 18px rgba(0, 0, 0, .06); scroll-margin-top: 110px; }
.gfs-card-head h2 { margin: 0 0 6px; font-size: 24px; font-weight: 700; color: var(--gfs-ink); }
.gfs-card-head p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--gfs-muted); }
.gfs-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 18px 22px; align-content: start; }
.gfs-sub { gap: 16px 18px; }
.gfs-col-3 { grid-column: span 3; } .gfs-col-5 { grid-column: span 5; } .gfs-col-6 { grid-column: span 6; } .gfs-col-7 { grid-column: span 7; } .gfs-col-12 { grid-column: span 12; }

.gfs-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; margin: 0; padding: 0; border: 0; position: relative; }
.gfs-label { padding: 0; font-size: 14.5px; font-weight: 600; color: var(--gfs-ink); }
.gfs-req { color: var(--gfs-red); }
.gfs input[type=text], .gfs input[type=email], .gfs input[type=tel], .gfs input[type=number], .gfs input[type=date], .gfs textarea {
  width: 100%; min-height: 44px; padding: 10px 12px; border: 1.5px solid #1a1a1a; border-radius: 8px; background: #fff; color: var(--gfs-ink); font: inherit; font-size: 14.5px; transition: border-color .15s ease, box-shadow .15s ease; }
.gfs textarea { resize: vertical; min-height: 120px; }
.gfs input::placeholder, .gfs textarea::placeholder { color: #9a9a9a; }
.gfs input:focus, .gfs textarea:focus { outline: none; border-color: var(--gfs-red); box-shadow: 0 0 0 3px rgba(213, 0, 0, .12); }
.gfs input:disabled { background: #f0f0f0; border-color: #c9c9c9; }
.gfs-counter { align-self: flex-end; font-size: 12px; color: var(--gfs-muted); }

/* radio / checkbox */
.gfs-radio, .gfs-check { display: flex; align-items: flex-start; gap: 10px; padding: 4px 0; font-size: 15px; cursor: pointer; line-height: 1.35; }
.gfs-inline { display: flex; flex-wrap: wrap; gap: 4px 36px; }
.gfs .gfs-radio input, .gfs .gfs-check input { appearance: none; -webkit-appearance: none; flex: none; width: 18px !important; height: 18px !important; min-width: 0; padding: 0; margin: 1px 0 0; border: 1.5px solid #1a1a1a; background: #fff; cursor: pointer; display: grid; place-content: center; }
.gfs-radio input { border-radius: 50%; }
.gfs-check input { border-radius: 4px; }
.gfs-radio input::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gfs-red); transform: scale(0); transition: transform .12s ease; }
.gfs-check input::before { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) scale(0); margin-top: -2px; }
.gfs-radio input:checked::before { transform: scale(1); }
.gfs-check input:checked { background: var(--gfs-red); border-color: var(--gfs-red); }
.gfs-check input:checked::before { transform: rotate(-45deg) scale(1); }
.gfs-radio input:focus-visible, .gfs-check input:focus-visible { outline: 2px solid var(--gfs-red); outline-offset: 2px; }
.gfs-check a { color: var(--gfs-ink); text-decoration: underline; }
.gfs-yesno .gfs-label { font-size: 14.5px; }

.gfs-logistics { padding: 16px 18px 18px; background: #efefef; border-radius: 10px; }
.gfs-logistics-title { margin: 0 0 12px; font-size: 14px; font-weight: 700; }
.gfs-logistics .gfs-grid { gap: 12px 18px; }
.gfs-logistics .gfs-label { font-size: 13.5px; }

/* pliki */
.gfs-drop { display: flex; align-items: center; justify-content: center; gap: 18px; min-height: 110px; padding: 20px; border: 2px dashed #8a8a8a; border-radius: 10px; background: #ececec; cursor: pointer; transition: background .15s ease, border-color .15s ease; text-align: left; }
.gfs-drop:hover, .gfs-drop.is-over, .gfs-drop:focus-visible { background: #e2e2e2; border-color: #111; outline: none; }
.gfs-drop-ic { flex: none; width: 46px; height: 46px; fill: none; stroke: #111; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.gfs-drop b { display: block; font-size: 15px; }
.gfs-drop small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--gfs-muted); }
.gfs-files { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 8px; }
.gfs-files:empty { display: none; }
.gfs-file { position: relative; display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border: 1px solid #dcdcdc; border-radius: 8px; font-size: 14px; overflow: hidden; }
.gfs-file-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.gfs-file-meta { font-size: 12.5px; color: var(--gfs-muted); }
.gfs-file-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: transparent; }
.gfs-file-bar i { display: block; height: 100%; width: 0; background: var(--gfs-red); transition: width .15s linear; }
.gfs-file:not(.is-loading) .gfs-file-bar { display: none; }
.gfs-file.is-error { border-color: var(--gfs-red); }
.gfs-file.is-error .gfs-file-meta { color: var(--gfs-red); }
.gfs-file-del { width: 28px; height: 28px; border: 0; border-radius: 50%; background: #f0f0f0; font-size: 18px; line-height: 1; cursor: pointer; }
.gfs-file-del:hover { background: #111; color: #fff; }
.gfs-consents { display: grid; gap: 4px; }
.gfs-consents .gfs-check { font-size: 14px; }

/* błędy */
.gfs-msg { font-size: 12.5px; color: var(--gfs-red); }
.gfs-field.is-invalid input:not([type=radio]):not([type=checkbox]), .gfs-field.is-invalid textarea { border-color: var(--gfs-red); }
.gfs-field.is-invalid .gfs-drop, [data-field].is-invalid .gfs-drop { border-color: var(--gfs-red); background: #fbecec; }
.gfs-consents.is-invalid .gfs-check input, .gfs-field.is-invalid .gfs-radio input { border-color: var(--gfs-red); }
.gfs-alert { padding: 14px 18px; border-left: 4px solid var(--gfs-red); background: #fff; font-weight: 600; color: var(--gfs-red); }
.gfs-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* stopka formularza */
.gfs-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; padding-top: 6px; }
.gfs-actions { grid-column: 3; justify-self: end; display: flex; gap: 12px; align-items: center; }
.gfs .gfs-prev, .gfs .gfs-next { display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 3px; font-size: 16px; font-weight: 700; cursor: pointer; transition: background .15s ease, color .15s ease; }
.gfs .gfs-next { border: 0; background: #111; color: #fff; }
.gfs .gfs-next:hover { background: var(--gfs-red); }
.gfs .gfs-prev { border: 1.5px solid #111; background: transparent; color: #111; }
.gfs .gfs-prev:hover { background: #111; color: #fff; }
.gfs-prev svg, .gfs-next svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gfs-brand { grid-column: 2; text-align: center; }
.gfs-brand img { display: block; margin: 0 auto 8px; max-width: 200px; height: auto; }
.gfs-brand p { margin: 0; font-size: 15px; color: #333; }
.gfs-submit { padding: 16px 30px; border: 0; border-radius: 3px; background: #111; color: #fff; font-size: 17px; font-weight: 700; cursor: pointer; transition: background .15s ease; }
.gfs-submit:hover { background: var(--gfs-red); }
.gfs-submit:disabled { opacity: .7; cursor: progress; }

/* podziękowanie */
.gfs-done { margin: -28px calc(50% - 50vw) 0; padding: 56px calc(50vw - 50%) 64px; background: #050505; color: #fff; text-align: center; outline: none; }
.gfs-done-ic { display: grid; place-items: center; width: 96px; height: 96px; margin: 0 auto 26px; border-radius: 50%; background: #10c20a; box-shadow: 0 0 40px 12px rgba(16, 194, 10, .45); }
.gfs-done-ic svg { width: 58px; height: 58px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.gfs-done-title { margin: 0 0 10px; font-size: clamp(34px, 4vw, 48px); font-weight: 700; text-transform: uppercase; color: #fff; }
.gfs-done-lead { margin: 0 0 6px; font-size: 20px; }
.gfs-done-sub { max-width: 520px; margin: 0 auto 26px; padding-bottom: 26px; border-bottom: 2px solid #555; font-size: 16px; color: #ddd; }
.gfs-done-box { display: inline-grid; grid-template-columns: 1fr 1fr; max-width: 100%; margin: 0 auto 22px; padding: 22px 30px; border: 1.5px solid #777; border-radius: 22px; background: #3f3f3f; text-align: left; }
.gfs-done-box > div { display: flex; align-items: center; gap: 16px; padding: 0 22px; }
.gfs-done-box > div + div { border-left: 1.5px solid #777; }
.gfs-done-box svg { flex: none; width: 52px; height: 52px; fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.gfs-done-box small { display: block; font-size: 14px; color: #ddd; }
.gfs-done-box b { display: block; font-size: 24px; white-space: nowrap; }
.gfs-done-note { max-width: 640px; margin: 0 auto 24px; font-size: 14.5px; color: #cfcfcf; line-height: 1.6; }
.gfs-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.gfs .gfs-btn { display: inline-flex; align-items: center; gap: 12px; padding: 14px 26px; border-radius: 8px; font-size: 16px; font-weight: 700; text-decoration: none; transition: background .15s ease, color .15s ease; }
.gfs-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.gfs .gfs-btn--light { background: #fff; color: #111; }
.gfs .gfs-btn--light:hover { background: var(--gfs-red); color: #fff; }
.gfs .gfs-btn--ghost { border: 1.5px solid #fff; color: #fff; }
.gfs .gfs-btn--ghost:hover { background: #fff; color: #111; }

@media (max-width: 991.98px) {
  .gfs-card { grid-template-columns: 1fr; padding: 22px 18px 24px; gap: 18px; }
  .gfs-step-txt small { display: none; }
  .gfs-step:not(:last-child)::after { min-width: 10px; }
}
@media (max-width: 767.98px) {
  .gfs-hero { padding-top: 36px; padding-bottom: 34px; }
  .gfs-lead { font-size: 15px; }
  .gfs-steps { gap: 6px; padding-top: 14px; padding-bottom: 14px; }
  .gfs-step-txt { display: none; }
  .gfs-step-no { width: 38px; height: 38px; font-size: 16px; }
  .gfs-col-3, .gfs-col-5, .gfs-col-6, .gfs-col-7 { grid-column: span 12; }
  .gfs-card-head h2 { font-size: 21px; }
  .gfs-drop { flex-direction: column; text-align: center; }
  .gfs-foot { grid-template-columns: 1fr; }
  .gfs-brand, .gfs-actions { grid-column: 1; }
  .gfs-actions { justify-self: stretch; order: -1; }
  .gfs-actions > * { flex: 1; justify-content: center; }
  .gfs-done-box { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .gfs-done-box > div { padding: 0; }
  .gfs-done-box > div + div { border-left: 0; border-top: 1.5px solid #777; padding-top: 18px; }
  .gfs-done-box b { font-size: 21px; }
}

/* Baner także pod nagłówkiem, jak hero na stronie głównej (uwaga Andrzeja 25.09.2026): baner wjeżdża pod sticky nagłówek
   (110 / 62 / 56 px jak w header-v2.css) i pod górny padding <main> motywu (48 / 24 px — dawało białe pole), nagłówek jest
   przezroczysty, dopóki header-v2.js nie doda hdr2--scrolled. */
.gfs-hero { --gfs-hdr: 110px; --gfs-mainpad: 48px; margin-top: calc(-1 * (var(--gfs-hdr) + var(--gfs-mainpad))); padding-top: calc(56px + var(--gfs-hdr)); }
.gfs-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: calc(var(--gfs-hdr) + 60px); z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 6, 6, .9) 0%, rgba(8, 6, 6, .72) 45%, rgba(8, 6, 6, 0) 100%); }
body.module-gfserwis-form .hdr2 .hdr2-top, body.module-gfserwis-form .hdr2 .hdr2-main { transition: background-color .25s ease, transform .25s ease; }
body.module-gfserwis-form .hdr2:not(.hdr2--scrolled) .hdr2-top, body.module-gfserwis-form .hdr2:not(.hdr2--scrolled) .hdr2-main { background-color: transparent; }
@media (max-width: 1199.98px) { .gfs-hero { --gfs-hdr: 62px; } }
@media (max-width: 767.98px) { .gfs { margin-bottom: -24px; } .gfs-hero { --gfs-mainpad: 24px; padding-top: calc(36px + var(--gfs-hdr)); } .gfs-hero::after { height: calc(var(--gfs-hdr) + 16px); } }
@media (max-width: 575.98px) { .gfs-hero { --gfs-hdr: 56px; } }
