/* =========================================================
   SW Instal Szczepan Wieczorek: style strony
   Kolory i rozmiary 1:1 z projektu (design/tokens.css).
   Mobile-first; przełomy: 768 px (tablet), 1180 px (desktop).
   ========================================================= */

/* ---------- fonty (lokalnie, bez Google CDN) ---------- */
@font-face { font-family: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-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: "Lato"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/lato-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: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-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: "Lato"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/lato-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: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-latin-900-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: "Lato"; font-style: normal; font-weight: 900; font-display: swap; src: url("../fonts/lato-latin-ext-900-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: "Lato"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/lato-latin-900-italic.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: "Lato"; font-style: italic; font-weight: 900; font-display: swap; src: url("../fonts/lato-latin-ext-900-italic.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; }

/* ---------- tokeny ---------- */
:root {
  --c-navy: #272164;
  --c-navy-300: #342E78;
  --c-text: #45436B;
  --c-muted: #5E5C80;
  --c-field: #7F7DA0;
  --c-placeholder: #6C6A8C;
  --c-line: #E3E2EE;
  --c-line-strong: #D3D2E2;
  --c-bg-alt: #F4F4F9;
  --c-white: #FFFFFF;
  --c-photo-ph: #E6E5F0;
  --c-orange: #FC6D18;
  --c-orange-300: #FF8A3D;
  --c-orange-700: #B84A00;
  --c-orange-800: #8F3A00;
  --c-busy: #FDA06A;
  --c-focus-glow: #FFD9C2;
  --c-on-dark: #FFFFFF;
  --c-on-dark-2: #B9B7D6;
  --c-line-dark: #3A3480;
  --c-error: #B3261E;
  --c-error-text: #8C1D17;
  --c-error-bg: #FBEAE8;
  --c-error-line: #E5B4AE;
  --c-success: #2E6B3F;
  --c-success-text: #1D4A2A;
  --c-success-bg: #E7F0E9;
  --c-success-line: #B9D3C0;

  --f: "Lato", "Segoe UI", Arial, sans-serif;
  --fs-h1: clamp(2.375rem, 1.79rem + 2.4vw, 4rem);
  --fs-h2: clamp(1.875rem, 1.55rem + 1.333vw, 2.75rem);
  --fs-h3: clamp(1.1875rem, 1.12rem + 0.29vw, 1.375rem);
  --fs-lead: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --fs-phone: clamp(2.25rem, 2.06rem + 0.76vw, 2.75rem);

  --section-y: clamp(56px, 2.2rem + 5.333vw, 112px);
  --gutter: clamp(20px, 1rem + 1.1vw, 32px);
  --container: 1280px;
  --header-h: 64px;
  --bar-h: 80px;

  --r-s: 4px; --r-m: 6px; --r-l: 8px; --r-xl: 10px;
  --shadow-bar: 0 -6px 20px rgba(39, 33, 100, 0.12);
}
@media (min-width: 1180px) { :root { --header-h: 80px; } }

/* ---------- baza ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--f); font-size: 1.0625rem; line-height: 1.55; color: var(--c-navy); background: var(--c-white); padding-bottom: calc(var(--bar-h) + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 768px) { body { padding-bottom: 0; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-orange-700); }
a:hover { color: var(--c-orange-800); }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 900; line-height: 1.12; margin: 0; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--c-navy); outline-offset: 2px; }
.on-dark :focus-visible { outline-color: var(--c-white); }
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -100px; z-index: 100; padding: 12px 16px; background: var(--c-navy); color: var(--c-white); font-weight: 700; border-radius: var(--r-m); }
.skip-link:focus { top: 12px; color: var(--c-white); }
.nowrap { white-space: nowrap; }

/* ---------- przyciski ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border: 2px solid transparent; border-radius: var(--r-m); font: 900 1.125rem/1.2 var(--f); text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn svg { flex: none; width: 20px; height: 20px; }
.btn--primary { background: var(--c-orange); color: var(--c-navy); }
.btn--primary:hover { background: var(--c-orange-300); color: var(--c-navy); }
.btn--secondary { background: transparent; border-color: var(--c-navy); color: var(--c-navy); font-weight: 700; }
.btn--secondary:hover { background: var(--c-navy); color: var(--c-white); }
.btn--on-dark { background: transparent; border-color: var(--c-white); color: var(--c-white); font-weight: 700; }
.btn--on-dark:hover { background: var(--c-white); color: var(--c-navy); }
.btn--block { display: flex; width: 100%; }
@media (min-width: 768px) {
  .btn { min-height: 52px; font-size: 1.0625rem; }
  .btn--lg { min-height: 60px; padding: 0 28px; font-size: 1.25rem; }
  .btn--lg svg { width: 22px; height: 22px; }
  .btn--block-mobile { display: inline-flex; width: auto; }
}

/* etykieta sekcji ze strzałką jak na wizytówce */
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 12px; font-weight: 900; font-size: .875rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-orange-700); }
.eyebrow::before, .chev-list li::before { content: ""; flex: none; width: 0; height: 0; border-style: solid; border-width: 6px 0 6px 9px; border-color: transparent transparent transparent var(--c-orange); }
.eyebrow--on-dark { color: var(--c-orange); }
@media (min-width: 768px) { .eyebrow { font-size: .9375rem; margin-bottom: 16px; } }

/* ---------- nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--c-navy); text-decoration: none; }
.logo:hover { color: var(--c-navy); }
.logo-mark { width: 42px; height: 37px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-name { font-weight: 900; font-style: italic; font-size: 1.375rem; letter-spacing: .02em; }
.logo-name span, .logo-accent { color: var(--c-orange); }
.logo-sub { margin-top: 4px; font-weight: 700; font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-muted); }
@media (min-width: 1180px) {
  .logo-mark { width: 46px; height: 41px; }
  .logo-name { font-size: 1.5rem; }
  .logo-sub { font-size: .75rem; margin-top: 5px; }
}

.menu-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 14px; border: 2px solid var(--c-navy); border-radius: var(--r-m); background: var(--c-white); color: var(--c-navy); font: 900 .9375rem/1 var(--f); cursor: pointer; }
.menu-toggle svg { width: 20px; height: 20px; }
.menu-toggle .icon-close { display: none; }
.menu-toggle[aria-expanded="true"] { background: var(--c-navy); color: var(--c-white); }
.menu-toggle[aria-expanded="true"] .icon-open { display: none; }
.menu-toggle[aria-expanded="true"] .icon-close { display: block; }

/* menu mobilne: pełny ekran pod nagłówkiem */
.main-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; flex-direction: column; padding: 8px var(--gutter) 32px; background: var(--c-white); overflow-y: auto; }
.nav-open .main-nav { display: flex; }
.nav-open { overflow: hidden; }
.nav-list { list-style: none; margin: 0 0 28px; padding: 0; }
.nav-list li { border-bottom: 1px solid var(--c-line); }
.nav-list a { display: flex; align-items: center; justify-content: space-between; min-height: 68px; font-weight: 900; font-size: 1.5rem; color: var(--c-navy); text-decoration: none; }
.nav-list a::after { content: ""; width: 10px; height: 10px; border-top: 3px solid var(--c-orange-700); border-right: 3px solid var(--c-orange-700); transform: rotate(45deg); margin-right: 6px; }
.nav-list a:hover { color: var(--c-orange-700); }
.nav-contact { display: flex; flex-direction: column; gap: 10px; padding: 20px; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.nav-contact .btn--primary { order: 1; }
.nav-contact .nav-ask { order: 2; }
.nav-mail { order: 3; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--c-navy); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.nav-mail svg { flex: none; width: 20px; height: 20px; color: var(--c-orange-700); }
.nav-mail:hover { color: var(--c-orange-700); }
.nav-hours { order: 4; margin: 0; font-size: .9375rem; color: var(--c-muted); }

@media (min-width: 1180px) {
  .menu-toggle { display: none; }
  .main-nav { display: flex; position: static; flex-direction: row; align-items: center; gap: 40px; padding: 0; overflow: visible; background: none; }
  .nav-list { display: flex; gap: 32px; margin: 0; }
  .nav-list li { border: 0; }
  .nav-list a { min-height: 44px; font-weight: 700; font-size: 1rem; }
  .nav-list a::after { display: none; }
  .nav-contact { flex-direction: row; align-items: center; gap: 24px; padding: 0; background: none; border: 0; border-radius: 0; }
  .nav-contact .btn--primary { order: 2; min-height: 48px; padding: 0 20px; font-size: 1.125rem; }
  .nav-mail { order: 1; font-size: 1rem; overflow-wrap: normal; white-space: nowrap; }
  .nav-ask, .nav-hours { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-white); border-bottom: 4px solid var(--c-orange); }
.hero-mark { position: absolute; right: -120px; bottom: -44px; width: 360px; height: auto; pointer-events: none; }
.hero-inner { position: relative; padding-top: 36px; padding-bottom: 40px; }
.hero-content { max-width: 820px; }
.hero .eyebrow { font-size: .9375rem; letter-spacing: .06em; margin-bottom: 14px; }
.hero h1 { font-size: var(--fs-h1); line-height: 1.06; letter-spacing: -0.01em; margin: 0 0 20px; max-width: 780px; }
.hero-list { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; font-weight: 700; font-size: 1.125rem; line-height: 1.3; }
.chev-list li { display: flex; align-items: center; gap: 12px; }
.hero-lead { margin: 0 0 24px; max-width: 640px; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-on-dark-2); }
.hero-actions { display: flex; flex-direction: column; gap: 12px; }
.hero-mail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin: 18px 0 0; font-size: 1rem; }
.hero-mail svg { flex: none; width: 18px; height: 18px; color: var(--c-orange); }
.hero-mail a { color: var(--c-white); font-weight: 900; text-decoration: underline; text-decoration-color: var(--c-orange); text-decoration-thickness: 2px; text-underline-offset: 5px; overflow-wrap: anywhere; }
.hero-mail a:hover { color: var(--c-orange-300); }
.hero-hours { display: flex; align-items: flex-start; gap: 8px; margin: 10px 0 0; font-size: .9375rem; line-height: 1.45; color: var(--c-on-dark-2); }
.hero-hours svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
@media (min-width: 768px) {
  .hero-mark { width: 560px; right: -80px; bottom: -40px; }
  .hero-inner { padding-top: 72px; padding-bottom: 80px; }
  .hero .eyebrow { font-size: 1.125rem; margin-bottom: 20px; }
  .hero h1 { margin-bottom: 32px; }
  .hero-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; font-size: 1.25rem; margin-bottom: 28px; }
  .hero-lead { margin-bottom: 36px; }
  .hero-actions { flex-direction: row; flex-wrap: wrap; gap: 16px; }
  .hero-mail { margin-top: 20px; font-size: 1.125rem; }
  .hero-mail svg { width: 20px; height: 20px; }
  .hero-hours { margin-top: 12px; }
}
@media (min-width: 1180px) {
  .hero-content, .hero h1 { max-width: 920px; }
  .hero-mark { width: 680px; right: -60px; }
  .hero-inner { padding-top: 96px; padding-bottom: 104px; }
}

/* pasek atutów */
.assets { background: var(--c-white); border-bottom: 1px solid var(--c-line); }
.assets ul { list-style: none; margin: 0; padding: 4px 0; }
.assets li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-bottom: 1px solid var(--c-line); }
.assets li:last-child { border-bottom: 0; }
.assets strong { display: block; font-weight: 900; font-size: 1.0625rem; line-height: 1.3; }
.assets li span:not(.icon-box) { display: block; margin-top: 2px; font-size: .9375rem; line-height: 1.45; color: var(--c-text); }
@media (min-width: 1000px) {
  .assets ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 0; }
  .assets li { padding: 28px 32px; border-bottom: 0; border-left: 1px solid var(--c-line); }
  .assets li:first-child { padding-left: 0; border-left: 0; }
  .assets strong { font-size: 1.125rem; }
  .assets li span:not(.icon-box) { font-size: 1rem; margin-top: 4px; }
}

.icon-box { flex: none; display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: var(--r-l); background: var(--c-navy); color: var(--c-orange); }
.icon-box svg { width: 20px; height: 20px; }
@media (min-width: 768px) { .icon-box { width: 44px; height: 44px; } .icon-box svg { width: 22px; height: 22px; } }

/* ---------- sekcje ---------- */
.section { padding: var(--section-y) 0; }
.section--alt { background: var(--c-bg-alt); }
.section--dark { background: var(--c-navy); color: var(--c-white); }
.section-head { margin-bottom: 24px; }
.section-head h2 { font-size: var(--fs-h2); letter-spacing: -0.005em; }
.section-lead { margin: 12px 0 0; max-width: 460px; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text); }
@media (min-width: 768px) {
  .section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px 64px; margin-bottom: 56px; }
  .section-head > div { max-width: 720px; }
  .section-lead { margin: 0; }
}

/* usługi */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.card { display: flex; gap: 16px; align-items: flex-start; padding: 20px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.card .icon-box { width: 48px; height: 48px; }
.card .icon-box svg { width: 26px; height: 26px; }
.card h3 { margin: 0 0 4px; font-size: var(--fs-h3); line-height: 1.25; }
.card p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--c-text); }
@media (min-width: 768px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .card { flex-direction: column; gap: 12px; padding: 32px 28px; }
  .card .icon-box { width: 56px; height: 56px; }
  .card .icon-box svg { width: 30px; height: 30px; }
  .card h3 { margin: 12px 0 0; }
  .card p { font-size: 1.0625rem; line-height: 1.55; }
}
/* główny zakres (sieci i stacje): dwie szersze karty z pomarańczową linią na górze */
.card--featured { border-top: 4px solid var(--c-orange); }
@media (min-width: 768px) {
  .card--featured h3 { font-size: 1.5rem; line-height: 1.2; }
}
@media (min-width: 1180px) {
  .cards { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .cards > .card { grid-column: span 3; }
  .cards > .card--featured { grid-column: span 6; flex-direction: row; gap: 24px; padding: 32px; }
  .card--featured h3 { margin: 0 0 8px; font-size: 1.75rem; }
  .card--featured p { font-size: 1.125rem; }
}

/* wynajem sprzętu */
.rent-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.rent-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; padding: 12px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.rent-card > img, .rent-visual { width: 112px; height: 112px; object-fit: cover; border-radius: var(--r-l); background: var(--c-photo-ph); }
.rent-visual { overflow: hidden; background: var(--c-navy); }
.rent-visual-svg { width: 100%; height: 100%; object-fit: cover; }
.rent-body { padding: 4px 4px 0 0; }
.rent-card h3 { margin: 0 0 4px; font-size: var(--fs-h3); line-height: 1.25; }
.rent-card p { margin: 0 0 6px; font-size: 1rem; line-height: 1.5; color: var(--c-text); }
.rent-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; font-size: 1rem; color: var(--c-orange-700); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.rent-link svg { flex: none; width: 18px; height: 18px; }
.rent-cta { display: flex; flex-direction: column; gap: 8px; padding: 24px 20px; background: var(--c-navy); color: var(--c-white); border-radius: var(--r-xl); }
.rent-cta strong { font-weight: 900; font-size: var(--fs-h3); line-height: 1.25; }
.rent-cta p { margin: 0; font-size: 1rem; line-height: 1.5; color: var(--c-on-dark-2); }
.rent-cta .rent-terms { font-size: .9375rem; }
.rent-cta-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
@media (min-width: 768px) {
  .rent-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
  .rent-card { display: flex; flex-direction: column; gap: 0; padding: 0; overflow: hidden; }
  .rent-card > img, .rent-visual { width: 100%; height: auto; aspect-ratio: 4 / 3; border-radius: 0; }
  .rent-body { display: flex; flex-direction: column; flex: 1; padding: 24px 28px 20px; }
  .rent-card h3 { margin-bottom: 8px; }
  .rent-card p { font-size: 1.0625rem; line-height: 1.55; margin-bottom: 12px; }
  .rent-link { margin-top: auto; }
  .rent-cta { justify-content: center; gap: 12px; padding: 32px 28px; }
  .rent-cta strong { font-size: 1.5rem; }
  .rent-cta p { font-size: 1.0625rem; }
  .rent-cta-actions { margin-top: 16px; }
}
@media (min-width: 1180px) { .rent-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.cta-box { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; padding: 20px; background: var(--c-white); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.cta-box strong { display: block; font-weight: 900; font-size: var(--fs-h3); line-height: 1.25; }
.cta-box p { margin: 4px 0 0; color: var(--c-text); }
.cta-actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 768px) {
  .cta-box { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 32px; padding: 28px 32px; }
  .cta-actions { flex-direction: row; flex-wrap: wrap; gap: 12px; }
}

/* jak pracujemy */
.section--dark .section-head h2 { color: var(--c-white); }
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.step { display: flex; gap: 18px; }
.step-marker { flex: none; display: flex; flex-direction: column; align-items: center; width: 48px; }
.step-num { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--c-orange); border-radius: var(--r-l); font-weight: 900; font-size: 1.0625rem; color: var(--c-orange); background: var(--c-navy); }
.step-num svg { width: 22px; height: 22px; }
.step-num--done { background: var(--c-orange); color: var(--c-navy); }
.step-line { position: relative; flex: 1; width: 2px; background: var(--c-orange); }
.step-body { padding: 10px 0 28px; }
.step:last-child .step-body { padding-bottom: 0; }
.step h3 { margin: 0 0 6px; font-size: 1.25rem; line-height: 1.25; }
.step p { margin: 0; font-size: 1rem; color: var(--c-on-dark-2); }
.steps-cta { display: flex; flex-direction: column; gap: 12px; margin-top: 36px; }
.steps-cta strong { display: none; }
@media (min-width: 900px) {
  .steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
  .step { display: block; }
  .step-marker { flex-direction: row; width: auto; margin-bottom: 28px; }
  .step-num { width: 56px; height: 56px; font-size: 1.25rem; }
  .step-num svg { width: 26px; height: 26px; }
  .step-line { flex: 1; width: auto; height: 2px; margin-right: -32px; }
  .step-line::after { content: ""; position: absolute; left: 50%; top: 50%; width: 10px; height: 14px; transform: translate(-50%, -50%); border: 2px solid var(--c-orange); border-radius: 2px; background: var(--c-navy); }
  .step-body { padding: 0; }
  .step h3 { margin-bottom: 10px; font-size: var(--fs-h3); }
  .step p { font-size: 1.0625rem; }
  .steps-cta { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--c-line-dark); }
  .steps-cta strong { display: block; font-weight: 900; font-size: 1.5rem; line-height: 1.25; }
  .steps-cta .cta-actions { flex-direction: row; }
}

/* realizacje */
.gallery { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.gallery figure { margin: 0; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-m); background: var(--c-photo-ph); }
.gallery figcaption { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; }
.gallery figcaption strong { font-weight: 700; font-size: .9375rem; line-height: 1.3; }
.gallery figcaption span { font-size: .875rem; color: var(--c-muted); }
.gallery-cta { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.gallery-cta p { display: none; margin: 0; font-size: 1.1875rem; color: var(--c-text); }
@media (min-width: 768px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 24px; }
  .gallery img { border-radius: var(--r-l); }
  .gallery figcaption { margin-top: 14px; }
  .gallery figcaption strong { font-size: 1.125rem; }
  .gallery figcaption span { font-size: .9375rem; }
  .gallery-cta { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 48px; }
  .gallery-cta p { display: block; }
}

/* o firmie */
.about { display: grid; gap: 28px; }
.about-photo img { width: 100%; height: 340px; object-fit: cover; object-position: 50% 10%; border-radius: var(--r-l); background: var(--c-photo-ph); }
.about h2 { font-size: var(--fs-h2); margin: 0 0 16px; }
.about-text p:not(.eyebrow) { font-size: 1.0625rem; color: var(--c-text); margin: 0 0 12px; }
.facts { margin: 12px 0 28px; border-top: 1px solid var(--c-line-strong); }
.facts div { padding: 12px 24px 12px 0; border-bottom: 1px solid var(--c-line-strong); }
.facts dt { font-size: .875rem; color: var(--c-muted); }
.facts dd { margin: 2px 0 0; font-weight: 700; font-size: 1.0625rem; }
@media (min-width: 900px) {
  .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 48px 80px; align-items: stretch; }
  .about-photo img { height: 100%; min-height: 520px; border-radius: var(--r-xl); }
  .about-text { display: flex; flex-direction: column; justify-content: center; }
  .about h2 { margin-bottom: 24px; }
  .about-text p:not(.eyebrow) { font-size: 1.1875rem; margin-bottom: 16px; }
  .facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 16px 0 36px; }
  .facts div { padding: 16px 24px 16px 0; }
  .facts dd { font-size: 1.125rem; }
}

/* ---------- kontakt ---------- */
.section--contact { padding: 0 0 56px; }
.contact { display: grid; gap: 0; }
.contact-card { margin: 0 calc(-1 * var(--gutter)); padding: 48px var(--gutter) 36px; background: var(--c-navy); color: var(--c-white); }
.contact-card h2 { font-size: var(--fs-h2); margin: 0 0 10px; }
.contact-intro { margin: 0 0 28px; font-size: 1rem; color: var(--c-on-dark-2); }
.contact-label { display: block; font-weight: 700; font-size: .8125rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-on-dark-2); }
.contact-phone { display: block; margin: 2px 0 24px; font-weight: 900; font-size: var(--fs-phone); line-height: 1.1; letter-spacing: .01em; color: var(--c-white); text-decoration: none; font-variant-numeric: tabular-nums; }
.contact-phone span { color: var(--c-orange); }
.contact-email { display: block; margin: 2px 0 24px; font-weight: 900; font-size: 1.5rem; line-height: 1.15; color: var(--c-white); text-decoration: none; overflow-wrap: anywhere; }
.contact-phone:hover, .contact-email:hover { color: var(--c-white); text-decoration: underline; text-decoration-color: var(--c-orange); text-underline-offset: 6px; }
.contact-data { margin: 0; border-top: 1px solid var(--c-line-dark); font-size: 1rem; }
.contact-data div { padding: 12px 0; border-bottom: 1px solid var(--c-line-dark); }
.contact-data dt { font-size: .875rem; color: var(--c-on-dark-2); }
.contact-data dd { margin: 0; font-weight: 700; }
.form-card { padding: 32px 0 0; }
.form-card h3 { font-size: 1.5rem; line-height: 1.25; margin: 0 0 4px; }
.form-note { margin: 0 0 24px; font-size: .9375rem; color: var(--c-muted); }
.req { color: var(--c-orange-700); font-weight: 900; }
@media (min-width: 1024px) {
  .section--contact { padding: var(--section-y) 0; }
  .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: 32px; align-items: stretch; }
  .contact-card { margin: 0; padding: 48px; border-radius: var(--r-xl); display: flex; flex-direction: column; }
  .contact-card h2 { font-size: 2.5rem; margin-bottom: 16px; }
  .contact-intro { font-size: 1.125rem; margin-bottom: 40px; }
  .contact-label { font-size: .875rem; }
  .contact-phone { margin: 4px 0 36px; }
  .contact-email { margin: 4px 0 36px; font-size: 2rem; }
  .contact-data div { display: flex; gap: 16px; padding: 16px 0; }
  .contact-data dt { flex: none; width: 120px; font-size: 1rem; }
  .form-card { padding: 48px; border: 1px solid var(--c-line); border-radius: var(--r-xl); }
  .form-card h3 { font-size: 1.625rem; margin-bottom: 6px; }
  .form-note { margin-bottom: 28px; }
}

/* formularz */
.form-grid { display: grid; gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label, .field-label { font-weight: 700; font-size: 1rem; }
.input { width: 100%; min-height: 56px; padding: 0 16px; border: 1px solid var(--c-field); border-radius: var(--r-m); background: var(--c-white); font: 400 1.0625rem/1.4 var(--f); color: var(--c-navy); transition: border-color .15s, box-shadow .15s; }
textarea.input { min-height: 152px; padding: 14px 16px; line-height: 1.5; resize: vertical; }
.input::placeholder { color: var(--c-placeholder); opacity: 1; }
.input:focus { outline: none; border-color: var(--c-navy); box-shadow: 0 0 0 1px var(--c-navy), 0 0 0 4px var(--c-focus-glow); }
.input[aria-invalid="true"] { border-color: var(--c-error); box-shadow: 0 0 0 1px var(--c-error); }
.input[aria-invalid="true"]:focus { box-shadow: 0 0 0 1px var(--c-error), 0 0 0 4px var(--c-error-bg); }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; -webkit-appearance: none; padding-right: 48px; cursor: pointer; }
.select-wrap svg { position: absolute; right: 16px; top: 50%; width: 20px; height: 20px; transform: translateY(-50%); pointer-events: none; color: var(--c-navy); }
.field-error { display: flex; gap: 6px; align-items: flex-start; font-weight: 700; font-size: .9375rem; line-height: 1.4; color: var(--c-error); }
.field-error svg { flex: none; width: 16px; height: 16px; margin-top: 2px; }
.consent { position: relative; display: flex; gap: 12px; align-items: flex-start; }
.consent .chk { position: absolute; left: 0; top: 1px; width: 24px; height: 24px; margin: 0; opacity: 0; cursor: pointer; }
.chk-box { pointer-events: none; flex: none; display: flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin-top: 1px; border: 2px solid var(--c-field); border-radius: var(--r-s); background: var(--c-white); }
.chk-box svg { width: 16px; height: 16px; opacity: 0; color: var(--c-white); }
.chk:checked + .chk-box { background: var(--c-navy); border-color: var(--c-navy); }
.chk:checked + .chk-box svg { opacity: 1; }
.chk:focus-visible + .chk-box { outline: 3px solid var(--c-navy); outline-offset: 2px; }
.chk[aria-invalid="true"] + .chk-box { border-color: var(--c-error); background: var(--c-error-bg); }
.consent label { font-size: .9375rem; line-height: 1.5; color: var(--c-text); }
.consent-wrap .field-error { padding-left: 36px; }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-direction: column; gap: 16px; }
.btn-submit { width: 100%; }
.btn-submit .spinner { display: none; width: 22px; height: 22px; animation: spin .8s linear infinite; }
.btn-submit.is-loading { background: var(--c-busy); cursor: progress; }
.btn-submit.is-loading .spinner { display: block; }
.btn-submit.is-loading .icon-arrow { display: none; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .btn-submit .spinner { animation-duration: 2.4s; } }
.form-legal { margin: 0; font-size: .8125rem; line-height: 1.5; color: var(--c-muted); }
.is-sending .input { background: var(--c-bg-alt); border-color: var(--c-line-strong); color: var(--c-text); }
@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
  .field--full, .form-actions, .consent-wrap, .form-grid > .form-alert { grid-column: 1 / -1; }
  .input { min-height: 52px; }
  textarea.input { min-height: 152px; }
  .btn-submit { width: auto; min-width: 240px; align-self: flex-start; min-height: 56px; font-size: 1.125rem; }
}
.form-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 1px solid; border-radius: var(--r-l); font-size: 1rem; line-height: 1.45; }
.form-alert[hidden] { display: none; }
.form-alert > svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.form-alert strong { display: block; font-weight: 700; }
.form-alert--error { background: var(--c-error-bg); border-color: var(--c-error-line); color: var(--c-error-text); }
.form-alert .btn { margin-top: 14px; }
.form-alert-body { flex: 1; min-width: 0; }
.form-success { padding: 28px 24px; background: var(--c-success-bg); border: 1px solid var(--c-success-line); border-radius: var(--r-xl); }
.form-success[hidden], .form-after[hidden] { display: none; }
.success-icon { display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 50%; background: var(--c-success); color: var(--c-white); }
.success-icon svg { width: 28px; height: 28px; }
.form-success h3 { margin: 0 0 8px; font-size: 1.75rem; color: var(--c-success-text); }
.form-success h3:focus { outline: none; }
.form-success p { margin: 0 0 20px; font-size: 1.125rem; }
.success-summary { margin: 0; padding: 14px 0; border-top: 1px solid var(--c-success-line); border-bottom: 1px solid var(--c-success-line); font-size: .9375rem; }
.success-summary div { display: flex; gap: 8px; flex-wrap: wrap; }
.success-summary dt { color: var(--c-text); }
.success-summary dd { margin: 0; font-weight: 700; }
.form-after { margin-top: 24px; }
.form-after p { margin: 0 0 12px; color: var(--c-text); }
.link-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; margin-top: 12px; padding: 0; border: 0; background: none; font: 700 1rem var(--f); color: var(--c-orange-700); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--c-orange-800); }

/* ---------- pas kontaktowy ---------- */
.contact-band { background: var(--c-orange); color: var(--c-navy); }
.band-inner { display: flex; flex-direction: column; gap: 8px; padding-top: 28px; padding-bottom: 28px; }
.band-inner strong { font-weight: 900; font-size: 1.25rem; line-height: 1.2; }
.band-links { display: flex; flex-direction: column; }
.band-links a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; color: var(--c-navy); font-weight: 900; font-size: 1.75rem; text-decoration: none; overflow-wrap: anywhere; }
.band-links a.band-mail { font-size: 1.375rem; }
.band-links svg { flex: none; width: 24px; height: 24px; }
.band-links a:hover { color: var(--c-navy); text-decoration: underline; text-underline-offset: 6px; }
.contact-band :focus-visible { outline-color: var(--c-navy); }
@media (min-width: 900px) {
  .band-inner { flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 48px; }
  .band-inner strong { font-size: 1.5rem; }
  .band-links { flex-direction: row; flex-wrap: wrap; gap: 12px 48px; }
  .band-links a, .band-links a.band-mail { font-size: 1.875rem; gap: 12px; }
  .band-links svg { width: 28px; height: 28px; }
}

/* ---------- stopka ---------- */
.site-footer { background: var(--c-navy); color: var(--c-on-dark-2); font-size: 1rem; padding: 48px 0 24px; }
.footer-grid { display: grid; gap: 28px; }
.footer-brand .logo { color: var(--c-white); margin-bottom: 12px; }
.footer-brand .logo-sub { color: var(--c-on-dark-2); }
.footer-brand p { margin: 0; max-width: 280px; }
.footer-title { margin: 0 0 8px; font-weight: 900; font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--c-white); }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.footer-links a, .footer-bottom a { display: flex; align-items: center; min-height: 44px; color: var(--c-on-dark-2); text-decoration: none; }
.footer-links a:hover, .footer-bottom a:hover { color: var(--c-white); }
.footer-col { display: flex; flex-direction: column; gap: 6px; }
.footer-phone { color: var(--c-orange); font-weight: 700; font-size: 1.375rem; text-decoration: none; }
.footer-mail { color: var(--c-orange); font-weight: 700; text-decoration: none; overflow-wrap: anywhere; }
.footer-phone:hover, .footer-mail:hover { color: var(--c-orange-300); }
.footer-bottom { display: flex; flex-direction: column; gap: 4px; margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--c-line-dark); font-size: .875rem; }
.footer-bottom a { text-decoration: underline; text-underline-offset: 3px; min-height: 32px; }
@media (min-width: 768px) {
  .site-footer { padding: 56px 0 0; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; }
  .footer-links { display: flex; flex-direction: column; gap: 6px; }
  .footer-links a { min-height: 0; }
  .footer-col { gap: 10px; }
  .footer-phone { font-size: 1.25rem; }
  .footer-bottom { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 0; padding: 24px 0 32px; }
  .footer-bottom a { min-height: 0; }
}
@media (min-width: 1180px) { .footer-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- przypięty dolny pasek (telefon) ---------- */
.quickbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 10px 12px calc(14px + env(safe-area-inset-bottom, 0px)); background: var(--c-white); border-top: 1px solid var(--c-line); box-shadow: var(--shadow-bar); }
.quickbar .btn { min-height: 56px; padding: 0 12px; gap: 8px; }
.quickbar .btn--ask { background: var(--c-navy); color: var(--c-white); font-weight: 700; }
.quickbar .btn--ask:hover { background: var(--c-navy-300); color: var(--c-white); }
.nav-open .quickbar { display: none; }
@media (min-width: 768px) { .quickbar { display: none; } }

/* ---------- podstrony ---------- */
.page-head { background: var(--c-bg-alt); border-bottom: 1px solid var(--c-line); padding: 28px 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; padding: 0; font-size: .9375rem; color: var(--c-muted); }
.page-head h1 { font-size: clamp(2.125rem, 1.7rem + 1.8vw, 3.25rem); line-height: 1.08; letter-spacing: -0.01em; margin: 0 0 10px; }
.page-head p { margin: 0; max-width: 720px; font-size: var(--fs-lead); line-height: 1.5; color: var(--c-text); }
.policy { display: grid; gap: 24px; padding: 20px 0 56px; }
.toc { align-self: start; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.toc summary { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 0 16px; font-weight: 900; font-size: 1.0625rem; cursor: pointer; list-style: none; }
.toc summary::-webkit-details-marker { display: none; }
.toc summary svg { width: 20px; height: 20px; transition: transform .2s; }
.toc[open] summary svg { transform: rotate(180deg); }
.toc ol { margin: 0; padding: 0 16px 16px 38px; display: flex; flex-direction: column; gap: 6px; font-size: 1rem; line-height: 1.4; }
.toc a { color: var(--c-text); text-decoration: none; }
.toc a:hover { color: var(--c-orange-700); text-decoration: underline; }
.prose { color: var(--c-text); line-height: 1.6; }
.prose section { padding: 24px 0; border-bottom: 1px solid var(--c-line); }
.prose section:first-child { padding-top: 0; }
.prose section:last-of-type { border-bottom: 0; }
.prose h2 { margin: 0 0 10px; font-size: 1.3125rem; line-height: 1.25; color: var(--c-navy); }
.prose p, .prose ul { margin: 0 0 10px; }
.prose ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.policy-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-top: 16px; padding: 24px; background: var(--c-bg-alt); border: 1px solid var(--c-line); border-radius: var(--r-xl); }
.policy-cta strong { font-weight: 900; font-size: 1.1875rem; color: var(--c-navy); }
@media (min-width: 1024px) {
  .page-head { padding: 56px 0 48px; }
  .breadcrumb ol { margin-bottom: 20px; }
  .policy { grid-template-columns: 300px minmax(0, 760px); gap: 48px 80px; padding: 48px 0 96px; }
  .toc { position: sticky; top: calc(var(--header-h) + 24px); padding: 8px 8px 16px; }
  .toc summary { pointer-events: none; font-size: .8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-muted); min-height: 44px; }
  .toc summary svg { display: none; }
  .toc ol { padding: 0 16px 0 38px; gap: 8px; }
  .prose section { padding: 32px 0; }
  .prose h2 { font-size: 1.5rem; margin-bottom: 12px; }
  .prose p, .prose ul { margin-bottom: 12px; }
  .policy-cta { padding: 24px 28px; }
}

/* 404 i podziękowanie */
.simple-hero { position: relative; overflow: hidden; background: var(--c-navy); color: var(--c-white); border-bottom: 4px solid var(--c-orange); }
.simple-hero .hero-inner { min-height: calc(100vh - var(--header-h) - 4px - var(--bar-h)); display: flex; align-items: center; }
.simple-hero h1 { font-size: var(--fs-h1); line-height: 1.06; margin: 0 0 16px; }
.simple-hero p:not(.eyebrow):not(.hero-mail) { max-width: 560px; font-size: var(--fs-lead); color: var(--c-on-dark-2); margin: 0 0 28px; }
.success-badge { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: var(--c-orange); color: var(--c-navy); }
.success-badge svg { width: 32px; height: 32px; }
@media (min-width: 768px) { .simple-hero .hero-inner { min-height: calc(100vh - var(--header-h) - 4px - 160px); } }

/* ---------- druk ---------- */
@media print {
  .site-header, .quickbar, .contact-band, .hero-mark, .menu-toggle { display: none !important; }
  body { padding: 0; }
  .hero, .section--dark, .site-footer, .contact-card { background: none !important; color: #000 !important; }
}

/* strona błędu formularza bez JS (kontakt.php) */
.error-page { padding-bottom: 0; }
.error-page .container { max-width: 760px; }
.error-page h1 { font-size: 2rem; margin-bottom: 20px; color: var(--c-navy); }
.error-page .form-alert ul { margin: 0; padding-left: 20px; }
.error-page .btn { margin-top: 24px; }

/* 02.12.2026: usunięte nagłówki w O firmie i Kontakcie */
.about-text .eyebrow { margin-bottom: 20px; }
.contact-card .eyebrow { margin-bottom: 28px; }
@media (min-width: 768px) { .about-text .eyebrow { margin-bottom: 24px; } .contact-card .eyebrow { margin-bottom: 40px; } }
