/* ==========================================================================
   SDA Sp. z o.o. — strona-wizytówka. Czysty CSS, bez bibliotek.
   Kolory z logo. Czcionki lokalne (Manrope, Inter — licencja OFL).
   ========================================================================== */

/* ---------- Czcionki (lokalne, podzbiór łaciński + łaciński rozszerzony: polskie znaki) ---------- */
@font-face {
  font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-latin-ext-700-normal.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: "Manrope"; font-style: normal; font-weight: 700; font-display: swap;
  src: url("../fonts/manrope-latin-700-normal.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: "Manrope"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/manrope-latin-ext-800-normal.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: "Manrope"; font-style: normal; font-weight: 800; font-display: swap;
  src: url("../fonts/manrope-latin-800-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-ext-400-normal.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: "Inter"; font-style: normal; font-weight: 400; font-display: swap;
  src: url("../fonts/inter-latin-400-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-ext-600-normal.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: "Inter"; font-style: normal; font-weight: 600; font-display: swap;
  src: url("../fonts/inter-latin-600-normal.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;
}

/* ---------- Zmienne ---------- */
:root {
  --navy: #2A3C50;
  --blue: #2784BF;
  --blue-text: #1F6FA3;      /* linki i małe napisy na jasnym tle (kontrast AA) */
  --orange: #F99D1C;
  --gray: #949DA7;
  --muted: #566170;          /* drugorzędny tekst (kontrast AA na bieli) */
  --bg-1: #F5F8FB;
  --bg-2: #EAF3FA;
  --white: #FFFFFF;
  --line: #DCE3EA;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 6px rgba(42, 60, 80, .06), 0 10px 28px rgba(42, 60, 80, .08);
  --shadow-hover: 0 4px 10px rgba(42, 60, 80, .08), 0 16px 36px rgba(42, 60, 80, .14);
  --font-head: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --wrap: 1180px;
  --bar-h: 64px;             /* wysokość dolnego paska na telefonie */
}

/* ---------- Reset i podstawy ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--white); color: var(--navy);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); font-weight: 800; line-height: 1.18; margin: 0 0 .6em; color: var(--navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 5.4vw, 3.4rem); }
h2 { font-size: clamp(1.65rem, 3.6vw, 2.35rem); }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; }
a { color: var(--blue-text); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--navy); color: var(--white);
  padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; color: var(--white); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Ikony (Lucide, maska — kolor = currentColor) ---------- */
.ico {
  display: inline-block; flex: none; width: 1.25em; height: 1.25em; background-color: currentColor;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
  -webkit-mask-size: contain; mask-size: contain; vertical-align: -.2em;
}
.ico-phone { -webkit-mask-image: url("../img/icons/phone.svg"); mask-image: url("../img/icons/phone.svg"); }
.ico-mail { -webkit-mask-image: url("../img/icons/mail.svg"); mask-image: url("../img/icons/mail.svg"); }
.ico-clock { -webkit-mask-image: url("../img/icons/clock.svg"); mask-image: url("../img/icons/clock.svg"); }
.ico-pin { -webkit-mask-image: url("../img/icons/map-pin.svg"); mask-image: url("../img/icons/map-pin.svg"); }
.ico-wrench { -webkit-mask-image: url("../img/icons/wrench.svg"); mask-image: url("../img/icons/wrench.svg"); }
.ico-clipboard { -webkit-mask-image: url("../img/icons/clipboard-check.svg"); mask-image: url("../img/icons/clipboard-check.svg"); }
.ico-file { -webkit-mask-image: url("../img/icons/file-text.svg"); mask-image: url("../img/icons/file-text.svg"); }
.ico-shield { -webkit-mask-image: url("../img/icons/shield-check.svg"); mask-image: url("../img/icons/shield-check.svg"); }
.ico-calendar { -webkit-mask-image: url("../img/icons/calendar-check.svg"); mask-image: url("../img/icons/calendar-check.svg"); }
.ico-hammer { -webkit-mask-image: url("../img/icons/hammer.svg"); mask-image: url("../img/icons/hammer.svg"); }
.ico-settings { -webkit-mask-image: url("../img/icons/settings.svg"); mask-image: url("../img/icons/settings.svg"); }
.ico-package { -webkit-mask-image: url("../img/icons/package.svg"); mask-image: url("../img/icons/package.svg"); }
.ico-alert { -webkit-mask-image: url("../img/icons/triangle-alert.svg"); mask-image: url("../img/icons/triangle-alert.svg"); }
.ico-door { -webkit-mask-image: url("../img/icons/door-open.svg"); mask-image: url("../img/icons/door-open.svg"); }
.ico-menu { -webkit-mask-image: url("../img/icons/menu.svg"); mask-image: url("../img/icons/menu.svg"); }
.ico-close { -webkit-mask-image: url("../img/icons/x.svg"); mask-image: url("../img/icons/x.svg"); }
.ico-check { -webkit-mask-image: url("../img/icons/check.svg"); mask-image: url("../img/icons/check.svg"); }
.ico-chevron { -webkit-mask-image: url("../img/icons/chevron-down.svg"); mask-image: url("../img/icons/chevron-down.svg"); }
.ico-copy { -webkit-mask-image: url("../img/icons/copy.svg"); mask-image: url("../img/icons/copy.svg"); }
.ico-send { -webkit-mask-image: url("../img/icons/send.svg"); mask-image: url("../img/icons/send.svg"); }
.ico-arrow { -webkit-mask-image: url("../img/icons/arrow-right.svg"); mask-image: url("../img/icons/arrow-right.svg"); }
.ico-zap { -webkit-mask-image: url("../img/icons/zap.svg"); mask-image: url("../img/icons/zap.svg"); }
.ico-building { -webkit-mask-image: url("../img/icons/building-2.svg"); mask-image: url("../img/icons/building-2.svg"); }
.ico-ok { -webkit-mask-image: url("../img/icons/circle-check.svg"); mask-image: url("../img/icons/circle-check.svg"); }
.ico-slide { -webkit-mask-image: url("../img/icons/move-horizontal.svg"); mask-image: url("../img/icons/move-horizontal.svg"); }
.ico-layers { -webkit-mask-image: url("../img/icons/layers.svg"); mask-image: url("../img/icons/layers.svg"); }
.ico-rotate { -webkit-mask-image: url("../img/icons/rotate-cw.svg"); mask-image: url("../img/icons/rotate-cw.svg"); }
.ico-exit { -webkit-mask-image: url("../img/icons/log-out.svg"); mask-image: url("../img/icons/log-out.svg"); }
.ico-sliders { -webkit-mask-image: url("../img/icons/sliders-horizontal.svg"); mask-image: url("../img/icons/sliders-horizontal.svg"); }
.ico-cart { -webkit-mask-image: url("../img/icons/shopping-cart.svg"); mask-image: url("../img/icons/shopping-cart.svg"); }
.ico-badge { -webkit-mask-image: url("../img/icons/badge-check.svg"); mask-image: url("../img/icons/badge-check.svg"); }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: 12px 24px; border-radius: 999px; border: 2px solid transparent;
  font-family: var(--font-head); font-weight: 800; font-size: 1rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-alert { background: var(--orange); color: var(--navy); box-shadow: 0 4px 14px rgba(249, 157, 28, .35); }
.btn-alert:hover { background: #FFAD3D; color: var(--navy); box-shadow: 0 6px 18px rgba(249, 157, 28, .45); }
.btn-primary { background: var(--blue-text); color: var(--white); }
.btn-primary:hover { background: var(--navy); color: var(--white); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-outline-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--navy); }
.btn-lg { min-height: 56px; padding: 14px 30px; font-size: 1.1rem; }
.btn-sm { min-height: 44px; padding: 8px 18px; font-size: .95rem; }

/* ---------- Pasek nad nagłówkiem (komputer) ---------- */
.topbar { display: none; background: var(--navy); color: #DDE6EE; font-size: .875rem; }
.topbar .wrap { padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--white); text-decoration: none; font-weight: 600; }
.topbar a:hover { text-decoration: underline; color: var(--white); }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--line); box-shadow: 0 1px 0 rgba(42, 60, 80, .03); }
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: block; flex: none; line-height: 0; }
.brand img { width: auto; height: 56px; }
.nav-desktop { display: none; }
.header-actions { display: none; }

/* menu na telefonie: <details> działa bez JS */
.nav-mobile { position: relative; }
.nav-mobile summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: .5em;
  min-height: 48px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--navy);
  font-family: var(--font-head); font-weight: 800; color: var(--navy);
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] summary { background: var(--navy); color: var(--white); }
.nav-mobile ul {
  list-style: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 250px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-hover); border: 1px solid var(--line);
  padding: 8px;
}
.nav-mobile li a {
  display: block; padding: 13px 16px; border-radius: var(--radius-sm); color: var(--navy);
  font-family: var(--font-head); font-weight: 700; text-decoration: none;
}
.nav-mobile li a:hover { background: var(--bg-2); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--navy); color: #D5DEE8; padding: 56px 0 28px; margin-top: 0; font-size: .97rem; }
.site-footer h2 { color: var(--white); font-size: 1.05rem; letter-spacing: .02em; margin-bottom: .8em; }
.site-footer a { color: var(--white); text-decoration-color: rgba(255, 255, 255, .4); }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; gap: 36px; grid-template-columns: 1fr; }
.footer-logo { display: inline-block; background: var(--white); border-radius: var(--radius); padding: 10px 16px; line-height: 0; margin-bottom: 16px; }
.footer-logo img { height: 58px; width: auto; }
.footer-list { list-style: none; display: grid; gap: .55em; }
.footer-list li { display: flex; gap: .6em; align-items: flex-start; }
.footer-list .ico { margin-top: .25em; color: var(--orange); }
.footer-links { list-style: none; display: grid; gap: .45em; }
.footer-company { font-size: .9rem; line-height: 1.6; color: #C4CFDB; }
.footer-company strong { color: var(--white); }
.footer-company p { margin-bottom: .6em; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, .18); font-size: .875rem; color: #C4CFDB; }

/* ---------- Dolny pasek na telefonie ---------- */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; gap: 10px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px)); background: var(--white);
  border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(42, 60, 80, .1);
}
.mobile-bar .btn { flex: 1; min-height: 48px; padding: 8px 12px; }

/* ---------- Sekcje ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--bg-1); }
.section-blue { background: var(--bg-2); }
.section-head { max-width: 720px; margin-bottom: 36px; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin-bottom: 0; }
.eyebrow { display: inline-block; margin-bottom: .7em; font-family: var(--font-head); font-weight: 800; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--blue-text); }
.lead { font-size: 1.15rem; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }

/* Hero */
.hero { position: relative; isolation: isolate; color: var(--white); background: var(--navy); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 80% center; }
.hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(26, 40, 56, .86) 0%, rgba(26, 40, 56, .8) 100%); }
.hero-in { padding-top: 64px; padding-bottom: 88px; }
.hero h1 { color: var(--white); max-width: 15em; margin-bottom: .5em; }
.hero-lead { max-width: 40em; font-size: 1.15rem; color: #E6EEF5; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 2em; }
.hero-actions .btn { flex: 1 1 240px; max-width: 320px; }
.hero-points { list-style: none; display: grid; gap: 12px; font-family: var(--font-head); font-weight: 700; }
.hero-points li { display: flex; align-items: center; gap: .6em; }
.hero-points .ico { color: #8CC4EA; width: 1.5em; height: 1.5em; }

/* Trzy ścieżki */
.paths { position: relative; z-index: 2; margin-top: -48px; }
.path-grid { display: grid; gap: 18px; }
.path-card { display: flex; flex-direction: column; align-items: flex-start; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-top: 5px solid var(--blue); }
.path-card.is-urgent { border-top-color: var(--orange); }
.path-card h3 { font-size: 1.35rem; margin-bottom: .4em; }
.path-card p { color: var(--muted); flex: 1; }
.path-card .btn { margin-top: .4em; }

/* Karty usług */
.card-grid { display: grid; gap: 20px; }
.card { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; transition: box-shadow .2s ease, transform .2s ease; }
.card:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.card-ico { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 14px; background: var(--bg-2); color: var(--blue); margin-bottom: 16px; }
.card-ico .ico { width: 1.6rem; height: 1.6rem; vertical-align: 0; }
.card h3 { margin-bottom: .45em; }
.card p { color: var(--muted); margin-bottom: 0; }

/* Chipy */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: 9px 16px; background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .97rem; color: var(--navy); }
.chip .ico { color: var(--blue); }
.chips-brands .chip { font-family: var(--font-head); font-weight: 700; padding: 11px 20px; }

/* Układ tekst + zdjęcie */
.split { display: grid; gap: 36px; align-items: center; }
.photo { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--bg-2); }
.photo img { width: 100%; height: auto; }
.checklist { list-style: none; display: grid; gap: .7em; margin-bottom: 1.4em; }
.checklist li { display: flex; gap: .7em; align-items: flex-start; }
.checklist .ico { color: var(--blue); margin-top: .22em; }

/* Jak działamy */
.steps { list-style: none; display: grid; gap: 18px; counter-reset: krok; margin: 0; padding: 0; } /* bez domyślnego wcięcia listy (40 px) */
.steps li { position: relative; counter-increment: krok; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 26px 84px; }
.steps li::before {
  content: counter(krok); position: absolute; left: 24px; top: 24px; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.15rem;
}
.steps h3 { margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); }

/* Mapa */
.map-wrap { display: grid; gap: 16px; justify-items: center; }
.map-wrap img { width: 100%; max-width: 460px; height: auto; }
.legend { list-style: none; display: grid; gap: 8px; font-size: .92rem; color: var(--muted); }
.legend li { display: flex; align-items: center; gap: .6em; }
.legend i { display: inline-block; width: 16px; height: 16px; border-radius: 4px; flex: none; }
.legend .l-base { background: #2784BF; }
.legend .l-near { background: #6FAEDB; }
.legend .l-south { background: #C3DCEE; }
.legend .l-rest { background: #E3E8ED; border: 1px solid var(--line); }

/* FAQ */
.faq-list { display: grid; gap: 12px; max-width: 860px; }
.faq-item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ico { transition: transform .2s ease; color: var(--blue); }
.faq-item[open] summary .ico { transform: rotate(180deg); }
.faq-item[open] { box-shadow: var(--shadow); border-color: transparent; }
.faq-item p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Sklep wkrótce */
.shop-soon { display: grid; gap: 18px; align-items: center; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px; border-left: 6px solid var(--blue); }
.shop-soon h2 { font-size: 1.5rem; margin-bottom: .3em; }
.shop-soon p { margin: 0; color: var(--muted); }

/* Kontakt */
.contact { background: var(--navy); color: #D5DEE8; }
.contact h2 { color: var(--white); }
.contact a { color: var(--white); }
.contact-grid { display: grid; gap: 32px; align-items: center; }
.contact-phone { display: inline-flex; align-items: center; gap: .4em; font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 7vw, 3rem); color: var(--white); text-decoration: none; line-height: 1.1; margin-bottom: .4em; }
.contact-phone:hover { color: var(--orange); }
.contact-list { list-style: none; display: grid; gap: .7em; margin-bottom: 1.6em; font-size: 1.05rem; }
.contact-list li { display: flex; gap: .7em; align-items: flex-start; }
.contact-list .ico { color: var(--orange); margin-top: .25em; }
.contact .photo { box-shadow: 0 10px 40px rgba(0, 0, 0, .35); }

/* Strony pomocnicze (404, polityka) */
.page-head { background: var(--bg-2); padding: 48px 0 40px; }
.page-head h1 { font-size: clamp(1.9rem, 4.6vw, 2.8rem); margin-bottom: .3em; }
.page-head p { margin: 0; color: var(--muted); font-size: 1.1rem; max-width: 46em; }
.prose { max-width: 820px; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose ul { padding-left: 1.2em; margin-bottom: 1em; }
.prose li { margin-bottom: .4em; }
.center-page { text-align: center; padding: 96px 0; }
.center-page h1 { font-size: clamp(2rem, 6vw, 3.2rem); }
.center-page .hero-actions { justify-content: center; }
.big-404 { font-family: var(--font-head); font-weight: 800; font-size: clamp(4rem, 16vw, 8rem); line-height: 1; color: var(--bg-2); -webkit-text-stroke: 3px var(--blue); margin-bottom: .1em; }

/* ---------- Tablet i komputer ---------- */
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-points { grid-template-columns: repeat(3, auto); justify-content: start; gap: 12px 32px; }
  .shop-soon { grid-template-columns: 1fr auto; }
}
@media (min-width: 760px) {
  .path-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 980px) {
  body { padding-bottom: 0; }
  .mobile-bar { display: none; }
  .topbar { display: block; }
  .nav-mobile { display: none; }
  .nav-desktop { display: block; }
  .nav-desktop ul { list-style: none; display: flex; gap: 4px; }
  .nav-desktop a {
    display: block; padding: 10px 14px; border-radius: 999px; color: var(--navy);
    font-family: var(--font-head); font-weight: 700; font-size: .97rem; text-decoration: none;
  }
  .nav-desktop a:hover { background: var(--bg-2); color: var(--navy); }
  .header-actions { display: flex; align-items: center; gap: 16px; }
  .header-phone { display: inline-flex; align-items: center; gap: .45em; color: var(--navy); font-family: var(--font-head); font-weight: 800; text-decoration: none; white-space: nowrap; }
  .header-phone:hover { color: var(--blue-text); }
  .brand img { height: 62px; }
  .footer-grid { grid-template-columns: 1.1fr .9fr .8fr 1.4fr; gap: 40px; }
  .section { padding: 88px 0; }
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .split { grid-template-columns: 1.05fr .95fr; gap: 64px; }
  .split-rev .split-media { order: -1; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .steps li { padding: 84px 22px 26px; }
  .steps li::before { left: 22px; top: 22px; }
  .hero-in { padding-top: 104px; padding-bottom: 128px; }
  .hero-shade { background: linear-gradient(90deg, rgba(26, 40, 56, .93) 0%, rgba(26, 40, 56, .8) 48%, rgba(26, 40, 56, .25) 100%); }
  .paths { margin-top: -64px; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 64px; }
}

/* ---------- Ruch ograniczony ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover { transform: none; }
}

/* ---------- Drobne uzupełnienia sekcji ---------- */
.brands-more { margin-top: 1.4em; }
.eyebrow-light { color: #8CC4EA; }
.shop-ico { display: none; width: 3.5rem; height: 3.5rem; color: var(--blue); }
@media (min-width: 640px) {
  .shop-ico { display: inline-block; }
}

/* ---------- Formularz zgłoszenia ---------- */
.form-layout { display: grid; gap: 28px; align-items: start; }
.urgent-card { background: var(--navy); color: #D5DEE8; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.urgent-card h2 { color: var(--white); font-size: 1.4rem; }
.urgent-card p { margin: 1em 0 0; font-size: .97rem; }
.urgent-card .btn { width: 100%; }
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px; display: grid; gap: 20px; }
.form-card[hidden], .result-box[hidden] { display: none; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; gap: 20px; }
.field label, .fieldset legend { font-weight: 600; font-size: .97rem; }
.req { color: #B45309; }
.field input[type="text"], .field input[type="tel"], .field input[type="email"], .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; font-size: 1rem; color: var(--navy);
  background: var(--white); border: 1.5px solid #B7C1CB; border-radius: var(--radius-sm);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.field input::placeholder, .field textarea::placeholder { color: #637080; }
.fieldset { border: 0; padding: 0; margin: 0; min-width: 0; } /* fieldset domyślnie nie zwęża się poniżej treści */
.fieldset legend { padding: 0; margin-bottom: 8px; }
.check-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.check { min-width: 0; overflow-wrap: anywhere; }
.check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg-1); cursor: pointer; font-weight: 400; }
.check input { width: 20px; height: 20px; flex: none; accent-color: var(--blue-text); }
.check:has(input:checked) { border-color: var(--blue); background: var(--bg-2); }
.form-actions { display: grid; gap: 12px; }
.form-note { margin: 0; }
.notice { background: var(--bg-2); border-left: 5px solid var(--blue); border-radius: var(--radius-sm); padding: 18px 20px; font-weight: 600; margin: 0; }
.result-box { margin-top: 24px; background: var(--bg-2); border-radius: var(--radius); padding: 24px; }
.result-box h2 { font-size: 1.3rem; }
.result-box textarea { width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem; line-height: 1.5; border: 1.5px solid #B7C1CB; border-radius: var(--radius-sm); background: var(--white); color: var(--navy); resize: vertical; }
.result-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.copy-status { font-weight: 600; color: var(--blue-text); }
@media (min-width: 640px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .check-grid { grid-template-columns: 1fr 1fr; }
  .check-grid-inline { grid-template-columns: repeat(2, minmax(0, 200px)); }
  .form-card { padding: 32px; }
}
@media (min-width: 980px) {
  .form-layout { grid-template-columns: 340px 1fr; gap: 40px; }
  .urgent-card { position: sticky; top: 100px; }
  .form-actions { grid-template-columns: repeat(3, auto); justify-content: start; }
}

/* ---------- Wąskie telefony (Android 360 px i mniej) ----------
   Logo + „Menu” muszą zmieścić się w szerokości ekranu — inaczej telefon lekko oddala stronę
   i da się ją przesuwać w bok. Do tego zabezpieczenie: strona nigdy nie przewija się w bok. */
html, body { overflow-x: clip; }
.brand { flex: 0 1 auto; min-width: 0; }
.brand img { max-width: 100%; }
@media (max-width: 400px) {
  .header-in { gap: 10px; }
  .brand img { width: 100%; max-width: 178px; height: auto; }   /* zmniejsza się proporcjonalnie, gdy brakuje miejsca */
  .nav-mobile summary { padding: 8px 12px; }
  .nav-mobile ul { min-width: 0; width: min(250px, calc(100vw - 24px)); }
}
@media (max-width: 340px) {
  .wrap { padding: 0 14px; }
  .brand img { max-width: 150px; }
  .nav-mobile summary { padding: 6px 10px; gap: .35em; }
  .form-card, .card, .path-card, .steps li { padding-left: 18px; padding-right: 18px; }
  .steps li { padding-left: 74px; }
  .steps li::before { left: 16px; }
}
