/* ==========================================================================
   SAT-KAM — arkusz stylów strony (wspólny dla podglądu HTML i motywu WP)
   Kolor marki z logo: #2244A6. Fonty jak w logo: Montserrat + Open Sans.
   ========================================================================== */

:root {
  --c-blue: #2244A6;
  --c-blue-600: #1C3A92;
  --c-blue-700: #162F78;
  --c-blue-300: #6F93F5;
  --c-blue-100: #DCE4F8;
  --c-blue-50: #EEF2FC;
  --c-navy: #0C1631;
  --c-navy-2: #12214A;
  --c-ink: #131823;
  --c-text: #2A3142;
  --c-muted: #5B6578;
  --c-line: #E1E6EF;
  --c-soft: #F4F6FA;
  --c-white: #FFFFFF;
  --c-amber: #F5B416;
  --c-amber-600: #DE9F06;
  --c-green: #1F9D66;
  --c-red: #E5484D;

  --f-head: "Montserrat", "Segoe UI", Arial, sans-serif;
  --f-body: "Open Sans", "Segoe UI", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 48, .06), 0 2px 8px rgba(16, 24, 48, .05);
  --shadow: 0 10px 30px rgba(16, 24, 48, .09);
  --shadow-lg: 0 24px 60px rgba(8, 16, 40, .22);
  --container: 1200px;
  --header-h: 66px;
}
@media (min-width: 1200px) { :root { --header-h: 76px; } }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--c-text);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--c-blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--c-blue-700); }
h1, h2, h3, h4 { font-family: var(--f-head); color: var(--c-ink); line-height: 1.2; margin: 0 0 .6em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 1.3rem + 2.8vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.55rem, 1.2rem + 1.4vw, 2.25rem); font-weight: 800; }
h3 { font-size: clamp(1.15rem, 1.05rem + .4vw, 1.35rem); font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.2em; padding-left: 1.3em; }
li + li { margin-top: .35em; }
strong { color: var(--c-ink); font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--c-line); margin: 2.5rem 0; }
:focus-visible { outline: 3px solid var(--c-amber); outline-offset: 2px; border-radius: 4px; }
.screen-reader-text, .sr-only {
  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: -60px; z-index: 1000; background: var(--c-amber); color: var(--c-ink); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container--narrow { max-width: 820px; }
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section--soft { background: var(--c-soft); }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--dark { background: var(--c-navy); color: #C8D1E6; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--c-muted); font-size: 1.06rem; margin-bottom: 0; }
.section--dark .section-head p { color: #AAB6D3; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-head); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--c-blue); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--c-amber); }
.section--dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--c-blue-300); }
.lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--c-muted); }

/* ---------- Ikony ---------- */
.ic { width: 24px; height: 24px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic--sm { width: 18px; height: 18px; }
.ic--lg { width: 30px; height: 30px; }
.icon-badge {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 14px;
  background: var(--c-blue-50); color: var(--c-blue);
}
.icon-badge .ic { width: 28px; height: 28px; }

/* ---------- Przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 12px 24px; border-radius: 10px; border: 2px solid transparent;
  font-family: var(--f-head); font-weight: 700; font-size: .98rem; line-height: 1.2; text-decoration: none;
  cursor: pointer; transition: background-color .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--c-amber); color: var(--c-ink); box-shadow: 0 6px 18px rgba(245, 180, 22, .28); }
.btn--primary:hover { background: var(--c-amber-600); color: var(--c-ink); }
.btn--blue { background: var(--c-blue); color: #fff; }
.btn--blue:hover { background: var(--c-blue-700); color: #fff; }
.btn--ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.btn--ghost:hover { border-color: #fff; color: #fff; background: rgba(255, 255, 255, .06); }
.btn--outline { border-color: var(--c-blue-100); color: var(--c-blue); background: #fff; }
.btn--outline:hover { border-color: var(--c-blue); color: var(--c-blue-700); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-head); font-weight: 700; font-size: .95rem; text-decoration: none; }
.link-arrow .ic { width: 18px; height: 18px; transition: transform .2s; }
.link-arrow:hover .ic { transform: translateX(3px); }

/* ---------- Pasek górny ---------- */
.topbar { background: var(--c-navy); color: #B9C4DE; font-size: .86rem; }
.topbar .container { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { color: var(--c-amber); }
.topbar__group { display: flex; align-items: center; gap: 22px; }
.topbar__item { display: inline-flex; align-items: center; gap: 7px; }
.topbar__item .ic { width: 16px; height: 16px; color: var(--c-blue-300); }
.topbar__area { display: none; }

/* ---------- Nagłówek ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .97); border-bottom: 1px solid var(--c-line); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--c-ink); }
.brand:hover { color: var(--c-ink); }
.brand__mark { width: 50px; height: auto; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name { font-family: var(--f-head); font-weight: 800; font-size: 1.62rem; letter-spacing: -.01em; color: #161616; }
.brand__tag { font-family: var(--f-body); font-weight: 600; font-size: .6rem; letter-spacing: .1em; color: #161616; margin-top: 5px; white-space: nowrap; }

.nav { display: none; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.nav__list > li { position: relative; margin: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 8px;
  font-family: var(--f-head); font-weight: 600; font-size: .93rem; color: var(--c-ink); text-decoration: none; background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__link[aria-current="page"], .nav__item--current > .nav__link { color: var(--c-blue); background: var(--c-blue-50); }
.nav__link .ic { width: 16px; height: 16px; transition: transform .2s; }
.nav__sub {
  list-style: none; margin: 0; padding: 8px; position: absolute; top: calc(100% + 8px); left: 0; min-width: 250px;
  background: #fff; border: 1px solid var(--c-line); border-radius: 12px; box-shadow: var(--shadow);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -10px; height: 10px; }
.nav__sub li { margin: 0; }
.nav__sub a { display: block; padding: 10px 12px; border-radius: 8px; color: var(--c-ink); text-decoration: none; font-weight: 600; font-size: .94rem; }
.nav__sub a:hover { background: var(--c-blue-50); color: var(--c-blue); }
.nav__sub small { display: block; font-weight: 400; color: var(--c-muted); font-size: .82rem; }
.nav__item--has-sub:hover > .nav__sub, .nav__item--has-sub:focus-within > .nav__sub, .nav__item--has-sub.is-open > .nav__sub { opacity: 1; visibility: visible; transform: none; }
.nav__item--has-sub:hover > .nav__link .ic, .nav__item--has-sub.is-open > .nav__link .ic { transform: rotate(180deg); }

.header-cta { display: none; }
.menu-toggle {
  display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--c-line); background: #fff; color: var(--c-ink); cursor: pointer;
}
.menu-toggle .ic-close { display: none; }
.menu-open .menu-toggle .ic-open { display: none; }
.menu-open .menu-toggle .ic-close { display: block; }

/* Menu mobilne */
.mobile-nav {
  position: fixed; top: calc(var(--header-h) + 1px); right: 0; bottom: 0; left: 0; z-index: 99; background: #fff; overflow-y: auto;
  padding: 18px 20px 32px; transform: translateX(100%); transition: transform .25s ease; visibility: hidden;
}
.menu-open .mobile-nav { transform: none; visibility: visible; }
.menu-open { overflow: hidden; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li { margin: 0; border-bottom: 1px solid var(--c-line); }
.mobile-nav a { display: block; padding: 15px 4px; font-family: var(--f-head); font-weight: 700; color: var(--c-ink); text-decoration: none; }
.mobile-nav .mobile-nav__sub a { padding: 10px 4px 10px 18px; font-weight: 600; font-family: var(--f-body); color: var(--c-text); }
.mobile-nav .mobile-nav__sub li { border: 0; }
.mobile-nav__contact { margin-top: 24px; display: grid; gap: 12px; }

/* ---------- Hero strony głównej ---------- */
.hero {
  position: relative; overflow: hidden; color: #C8D1E6;
  background:
    radial-gradient(900px 500px at 85% 20%, rgba(34, 68, 166, .55), transparent 60%),
    radial-gradient(600px 400px at 10% 110%, rgba(34, 68, 166, .35), transparent 60%),
    var(--c-navy);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%); mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero .container { position: relative; display: grid; gap: 48px; padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(56px, 7vw, 104px); }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 .accent { color: var(--c-amber); }
.hero__lead { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: #C3CDE4; max-width: 600px; margin-bottom: 30px; }
.hero__points { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 10px; }
.hero__points li { display: flex; align-items: center; gap: 10px; margin: 0; color: #DCE3F3; font-weight: 600; font-size: .98rem; }
.hero__points .ic { color: var(--c-amber); width: 20px; height: 20px; }
.hero__visual { position: relative; max-width: 520px; width: 100%; margin: 0 auto; }

/* ---------- Hero podstron ---------- */
.page-hero {
  position: relative; overflow: hidden; color: #C3CDE4;
  background: radial-gradient(700px 360px at 90% 0%, rgba(34, 68, 166, .6), transparent 65%), var(--c-navy);
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; opacity: .45; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px);
  background-size: 44px 44px;
}
.page-hero .container { position: relative; padding-top: clamp(36px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 68px); }
.page-hero__inner { display: grid; gap: 28px; align-items: center; }
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero .lead { color: #C3CDE4; max-width: 680px; margin-bottom: 26px; }
.page-hero__icon { display: none; }
.page-hero__icon svg { width: 100%; height: auto; }
.breadcrumbs { font-size: .85rem; margin-bottom: 18px; color: #93A1C3; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; color: #5D6B8F; }
.breadcrumbs a { color: #C3CDE4; text-decoration: none; }
.breadcrumbs a:hover { color: #fff; text-decoration: underline; }
.post-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: #AAB6D3; }
.post-meta span { display: inline-flex; align-items: center; gap: 7px; }
.post-meta .ic { width: 16px; height: 16px; }

/* ---------- Karty usług ---------- */
.services-grid { display: grid; gap: 20px; }
.service-card {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); box-shadow: var(--shadow-sm);
  text-decoration: none; color: var(--c-text); transition: border-color .2s, box-shadow .2s, transform .2s;
}
.service-card:hover { border-color: var(--c-blue-100); box-shadow: var(--shadow); transform: translateY(-2px); color: var(--c-text); }
.service-card h3 { margin: 0; }
.service-card p { margin: 0; color: var(--c-muted); }
.service-card .link-arrow { margin-top: auto; padding-top: 6px; color: var(--c-blue); }
.service-card__num { position: absolute; top: 22px; right: 24px; font-family: var(--f-head); font-weight: 800; font-size: .8rem; letter-spacing: .1em; color: #A9B4CC; }
.service-card--featured {
  color: #C8D1E6; border-color: transparent;
  background: radial-gradient(500px 300px at 100% 0%, rgba(111, 147, 245, .28), transparent 60%), linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-700) 100%);
}
.service-card--featured:hover { color: #C8D1E6; border-color: transparent; }
.service-card--featured { overflow: hidden; }
.service-card--featured > *:not(.service-card__num) { position: relative; z-index: 1; }
.service-card--featured::after {
  content: ""; position: absolute; right: -18px; bottom: -14px; width: 300px; height: 220px; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 175 128'%3E%3Cg fill='%23ffffff' fill-opacity='.08'%3E%3Cpath d='M2 2H156Q159 2 159 5V22H19.1L24.4 31.5H159V54Q159 57 156 57H32.5Z'/%3E%3Cpath d='M2 22L18.65 52H4Q2 52 2 50Z'/%3E%3Cpath d='M92 69Q92 67 94 67H112Q114 67 114 69V99H160V118Q160 120 158 120H94Q92 120 92 118Z'/%3E%3Crect x='159' y='91' width='14' height='35' rx='2'/%3E%3C/g%3E%3C/svg%3E") right bottom / contain no-repeat;
}
.service-card--featured h3 { color: #fff; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.75rem); }
.service-card--featured p { color: #D5DDF2; }
.service-card--featured .icon-badge { background: rgba(255, 255, 255, .14); color: #fff; }
.service-card--featured .link-arrow { color: var(--c-amber); }
.service-card--featured .service-card__num { color: rgba(255, 255, 255, .55); }
.service-card__list { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 8px; }
.service-card__list li { margin: 0; display: flex; gap: 10px; align-items: flex-start; color: #E3E9F7; font-size: .97rem; }
.service-card__list .ic { width: 18px; height: 18px; margin-top: 4px; color: var(--c-amber); }
.service-card--cta { background: var(--c-soft); border-style: dashed; border-color: #C9D2E3; box-shadow: none; }
.service-card--cta:hover { transform: none; box-shadow: none; border-color: var(--c-blue); }
.service-card--cta .icon-badge { background: var(--c-amber); color: var(--c-ink); }
.service-card--cta .btn { align-self: flex-start; margin-top: auto; }
@media (min-width: 640px) and (max-width: 1099px) { .service-card--cta { grid-column: 1 / -1; } }

/* ---------- Kroki ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 20px; counter-reset: step; }
.step { margin: 0; position: relative; padding: 26px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--c-line); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  font-family: var(--f-head); font-weight: 800; font-size: .95rem; color: var(--c-ink); background: var(--c-amber);
}
.step h3 { font-size: 1.12rem; margin-bottom: .4em; }
.step p { margin: 0; color: var(--c-muted); font-size: .97rem; }

/* ---------- Cechy / zalety ---------- */
.features { display: grid; gap: 18px; }
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); }
.feature h3 { font-size: 1.06rem; margin-bottom: .3em; }
.feature p { margin: 0; color: var(--c-muted); font-size: .97rem; }
.split .feature { flex-direction: column; gap: 14px; }
.section--dark .feature { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .09); }
.section--dark .feature p { color: #AAB6D3; }
.section--dark .feature .icon-badge { background: rgba(111, 147, 245, .15); color: var(--c-blue-300); }

/* ---------- Dwie kolumny ---------- */
.split { display: grid; gap: 40px; align-items: center; }
.split--top { align-items: start; }

/* ---------- Obszar działania ---------- */
.area-map { width: 100%; max-width: 560px; margin: 0 auto; }
.city-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.city-list li { margin: 0; }
.city-link {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 20px;
  border-radius: 12px; background: #fff; border: 1px solid var(--c-line); text-decoration: none; color: var(--c-ink);
  transition: border-color .2s, box-shadow .2s;
}
.city-link:hover { border-color: var(--c-blue); box-shadow: var(--shadow-sm); color: var(--c-ink); }
.city-link__name { display: flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 700; font-size: 1.05rem; }
.city-link__name .ic { color: var(--c-blue); }
.city-link__meta { font-size: .88rem; color: var(--c-muted); }
.city-link > .ic { color: var(--c-blue); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { margin: 0; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--c-blue-50); color: var(--c-blue-700); font-weight: 600; font-size: .9rem; text-decoration: none; }
a.chip:hover { background: var(--c-blue); color: #fff; }

/* ---------- Wpisy (poradnik) ---------- */
.posts-grid { display: grid; gap: 22px; }
.post-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--c-line); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.post-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.post-card__cover { display: block; aspect-ratio: 16 / 9; background: var(--c-navy); }
.post-card__cover svg, .post-card__cover img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { display: flex; flex-direction: column; gap: 10px; padding: 22px 24px 24px; flex: 1; }
.post-card__cat { font-family: var(--f-head); font-weight: 700; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--c-blue); }
.post-card h3 { margin: 0; font-size: 1.14rem; }
.post-card h3 a { color: var(--c-ink); text-decoration: none; }
.post-card h3 a:hover { color: var(--c-blue); }
.post-card p { margin: 0; color: var(--c-muted); font-size: .96rem; }
.post-card .link-arrow { margin-top: auto; padding-top: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; }
.faq details[open] { border-color: var(--c-blue-100); box-shadow: var(--shadow-sm); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; color: var(--c-ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: 0 0 auto; width: 12px; height: 12px; margin-right: 4px;
  border-right: 2.5px solid var(--c-blue); border-bottom: 2.5px solid var(--c-blue); transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq .faq__a { padding: 0 22px 18px; color: var(--c-text); }
.faq .faq__a p:last-child { margin-bottom: 0; }

/* ---------- Pas CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; border-radius: 20px; padding: clamp(28px, 4vw, 48px);
  background: radial-gradient(500px 260px at 100% 0%, rgba(111, 147, 245, .35), transparent 60%), linear-gradient(135deg, var(--c-blue) 0%, var(--c-blue-700) 100%);
  color: #D5DDF2; display: grid; gap: 24px; align-items: center;
}
.cta-band h2 { color: #fff; margin-bottom: .3em; }
.cta-band p { margin: 0; }
.cta-band__phone { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 800; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.1rem); color: #fff; text-decoration: none; white-space: nowrap; }
.cta-band__phone:hover { color: var(--c-amber); }
.cta-band__phone .ic { width: 30px; height: 30px; color: var(--c-amber); }

/* ---------- Treść podstron (prose) ---------- */
.content-layout { display: grid; gap: 40px; }
.prose { min-width: 0; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { margin-top: 1.9em; }
.prose h3 { margin-top: 1.6em; }
.prose ul:not([class]) li::marker { color: var(--c-blue); }
.prose img { border-radius: var(--radius); }
.prose .scena { margin: 0 0 1.6em; max-width: none; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: .96rem; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.prose th { font-family: var(--f-head); font-size: .86rem; letter-spacing: .02em; color: var(--c-ink); background: var(--c-soft); }
.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--c-line); border-radius: 12px; }
.table-wrap table { margin: 0; }
.table-wrap tr:last-child td { border-bottom: 0; }
.checklist { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checklist li { margin: 0; display: flex; gap: 12px; align-items: flex-start; }
.checklist li::before {
  content: ""; flex: 0 0 22px; height: 22px; margin-top: 3px; border-radius: 50%;
  background: var(--c-blue-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232244A6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 13px no-repeat;
}
.checklist--2 { grid-template-columns: 1fr; }
.note { display: flex; gap: 16px; padding: 20px 22px; border-radius: 12px; background: var(--c-blue-50); border-left: 4px solid var(--c-blue); margin: 0 0 1.5em; }
.note .ic { color: var(--c-blue); margin-top: 3px; }
.note p:last-child { margin-bottom: 0; }
.note--amber { background: #FFF7E0; border-left-color: var(--c-amber); }
.note--amber .ic { color: var(--c-amber-600); }
.cards-2 { display: grid; gap: 16px; margin: 0 0 1.6em; }
.mini-card { padding: 22px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; }
.mini-card h3 { margin: 0 0 .4em; font-size: 1.08rem; display: flex; align-items: center; gap: 10px; }
.mini-card h3 .ic { color: var(--c-blue); }
.mini-card p { margin: 0; color: var(--c-muted); font-size: .97rem; }
.mini-card ul { margin: .6em 0 0; font-size: .97rem; color: var(--c-muted); }
.toc { padding: 20px 22px; border: 1px solid var(--c-line); border-radius: 12px; background: var(--c-soft); margin: 0 0 2em; }
.toc strong { display: block; font-family: var(--f-head); margin-bottom: 8px; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
.related { margin-top: 2.5em; padding-top: 2em; border-top: 1px solid var(--c-line); }
.related h2 { font-size: 1.3rem; }
.related ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.related li { margin: 0; }
.related a { display: flex; align-items: center; gap: 10px; font-weight: 600; text-decoration: none; }
.related a .ic { width: 18px; height: 18px; }

/* Panel boczny */
.sidebar { display: grid; gap: 20px; align-content: start; }
.contact-box { padding: 26px; border-radius: var(--radius); background: var(--c-navy); color: #C3CDE4; }
.contact-box h3 { color: #fff; font-size: 1.2rem; margin-bottom: .5em; }
.contact-box p { font-size: .96rem; }
.contact-box__phone { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; color: #fff; text-decoration: none; margin: 4px 0 16px; }
.contact-box__phone .ic { color: var(--c-amber); width: 26px; height: 26px; }
.contact-box__phone:hover { color: var(--c-amber); }
.contact-box__mail { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-size: .95rem; word-break: break-all; margin-top: 14px; }
.contact-box__mail .ic { color: var(--c-blue-300); width: 20px; height: 20px; }
.side-links { padding: 22px; border-radius: var(--radius); border: 1px solid var(--c-line); }
.side-links h3 { font-size: 1.02rem; margin-bottom: .7em; }
.side-links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.side-links li { margin: 0; }
.side-links a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 8px; text-decoration: none; color: var(--c-ink); font-weight: 600; font-size: .95rem; }
.side-links a:hover, .side-links a[aria-current="page"] { background: var(--c-blue-50); color: var(--c-blue); }
.side-links a .ic { color: var(--c-blue); width: 20px; height: 20px; }

/* ---------- Kontakt ---------- */
.contact-grid { display: grid; gap: 32px; }
.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 16px; align-items: center; padding: 20px; border-radius: 12px; border: 1px solid var(--c-line); background: #fff; text-decoration: none; color: var(--c-ink); }
a.contact-card:hover { border-color: var(--c-blue); color: var(--c-ink); }
.contact-card small { display: block; color: var(--c-muted); font-size: .85rem; }
.contact-card strong { font-family: var(--f-head); font-size: 1.12rem; word-break: break-word; }
.company-data { padding: 22px; border-radius: 12px; background: var(--c-soft); font-size: .95rem; }
.company-data h3 { font-size: 1.02rem; }
.company-data p { margin: 0; }

.form { display: grid; gap: 16px; padding: clamp(22px, 3vw, 34px); border-radius: var(--radius); background: #fff; border: 1px solid var(--c-line); box-shadow: var(--shadow); }
.form h2, .form h3 { margin-bottom: .2em; }
.form__row { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; color: var(--c-ink); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--c-ink); padding: 12px 14px; border-radius: 10px;
  border: 1.5px solid #CDD5E3; background: #fff; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-blue); box-shadow: 0 0 0 4px rgba(34, 68, 166, .12); }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: var(--c-muted); line-height: 1.5; }
.consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--c-blue); flex: 0 0 auto; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 14px 16px; border-radius: 10px; font-weight: 600; }
.form-msg--ok { background: #E5F6EE; color: #11663F; }
.form-msg--err { background: #FDECEC; color: #9B1C20; }

/* ---------- Stopka ---------- */
.site-footer { background: var(--c-navy); color: #A4B0CC; font-size: .95rem; }
.site-footer a { color: #DCE3F3; text-decoration: none; }
.site-footer a:hover { color: var(--c-amber); }
.footer-main { display: grid; gap: 36px; padding-top: clamp(48px, 6vw, 72px); padding-bottom: 40px; }
.footer-brand .brand__name, .footer-brand .brand__tag { color: #fff; }
.footer-brand p { margin: 18px 0 0; max-width: 340px; }
.footer-col h3 { color: #fff; font-size: .95rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-col li { margin: 0; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact .ic { width: 18px; height: 18px; color: var(--c-blue-300); margin-top: 4px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; font-size: .85rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; }
.footer-bottom a { color: #A4B0CC; }

/* Dolny pasek kontaktu (telefony i tablety). Strona ma pod nim zarezerwowane miejsce, więc niczego nie zasłania. */
.mobile-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: grid; grid-template-columns: 1.35fr 1fr; gap: 8px;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, .98); border-top: 1px solid var(--c-line); box-shadow: 0 -6px 20px rgba(12, 22, 49, .08);
}
.mobile-bar a {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; border-radius: 12px;
  font-family: var(--f-head); font-weight: 800; font-size: 1rem; text-decoration: none; white-space: nowrap;
}
.mobile-bar__call { background: var(--c-amber); color: var(--c-ink); }
.mobile-bar__call:hover { color: var(--c-ink); background: var(--c-amber-600); }
.mobile-bar__write { background: var(--c-blue); color: #fff; }
.mobile-bar__write:hover { color: #fff; background: var(--c-blue-700); }
.mobile-bar .ic { width: 20px; height: 20px; }
body { padding-bottom: calc(66px + env(safe-area-inset-bottom, 0px)); }
.menu-open .mobile-bar { display: none; }

/* ---------- 404 ---------- */
.error-page { text-align: center; padding: clamp(72px, 10vw, 140px) 0; }
.error-page__code { font-family: var(--f-head); font-weight: 800; font-size: clamp(4rem, 3rem + 6vw, 8rem); line-height: 1; color: var(--c-blue-100); margin-bottom: 12px; }
.error-page .btn-row { justify-content: center; }

/* ---------- Scena „co się dzieje, gdy nikt nie patrzy” ---------- */
.split--scena { align-items: center; }
.scena { margin: 0; width: 100%; max-width: 620px; justify-self: center; }
.scena svg { width: 100%; height: auto; border-radius: 18px; box-shadow: var(--shadow-lg); }
.scena-kroki { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; }
.scena-kroki li {
  margin: 0; display: flex; gap: 14px; align-items: flex-start; padding: 14px 16px; border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .08); border-left: 3px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .03);
}
.scena-kroki .ic { color: var(--c-amber); margin-top: 2px; }
.scena-kroki strong { display: block; color: #fff; font-family: var(--f-head); font-size: 1.02rem; margin-bottom: 2px; }
.scena-kroki span { color: #AAB6D3; font-size: .95rem; line-height: 1.55; }
.zyski { display: grid; gap: 16px; margin-top: clamp(36px, 5vw, 56px); }
.zysk { padding: 20px; border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .08); }
.zysk h3 { color: #fff; font-size: 1.04rem; margin: 10px 0 6px; }
.zysk p { margin: 0; color: #AAB6D3; font-size: .95rem; }
.zysk .ic { color: var(--c-amber); width: 26px; height: 26px; }
@media (max-width: 899px) { .split--scena .scena { order: -1; } }
@media (min-width: 640px) { .zyski { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .zyski { grid-template-columns: repeat(4, 1fr); } }

/* Stan bez animacji = kadr „wykryto” (dla prefers-reduced-motion i jako punkt wyjścia) */
.scena__stozek { opacity: .3; }
.scena__swiatlo { opacity: .85; }
.scena__okno { opacity: .55; }
.scena__wykrycie, .scena__powiadomienie { opacity: 1; }
.scena__puls { transform-box: fill-box; transform-origin: center; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .scena { --t: 11s; }
  .scena__intruz { animation: sc-intruz var(--t) linear infinite; }
  .scena__wykrycie { animation: sc-wykrycie var(--t) linear infinite; }
  .scena__stozek { animation: sc-stozek var(--t) linear infinite; }
  .scena__swiatlo { animation: sc-swiatlo var(--t) ease-out infinite; }
  .scena__okno { animation: sc-okno var(--t) linear infinite; }
  .scena__powiadomienie { animation: sc-powiad var(--t) cubic-bezier(.2, .8, .2, 1) infinite; }
  .scena__puls { animation: sc-puls var(--t) ease-out infinite; }
  .scena__syrena-led { animation: sc-led var(--t) steps(1) infinite; }
  .scena-kroki li:nth-child(1) { animation: sc-krok1 var(--t) linear infinite; }
  .scena-kroki li:nth-child(2) { animation: sc-krok2 var(--t) linear infinite; }
  .scena-kroki li:nth-child(3) { animation: sc-krok3 var(--t) linear infinite; }
  .scena-kroki li:nth-child(4) { animation: sc-krok4 var(--t) linear infinite; }
}
@keyframes sc-intruz { 0% { transform: translateX(-150px); } 28% { transform: translateX(0); } 56% { transform: translateX(0); } 76% { transform: translateX(-170px); } 100% { transform: translateX(-170px); } }
@keyframes sc-wykrycie { 0%, 27% { opacity: 0; } 30%, 55% { opacity: 1; } 58%, 100% { opacity: 0; } }
@keyframes sc-stozek { 0%, 27% { opacity: .1; } 30%, 56% { opacity: .38; } 62%, 100% { opacity: .1; } }
@keyframes sc-swiatlo { 0%, 41% { opacity: 0; } 44%, 80% { opacity: .85; } 86%, 100% { opacity: 0; } }
@keyframes sc-okno { 0%, 43% { opacity: 0; } 46%, 82% { opacity: .55; } 88%, 100% { opacity: 0; } }
@keyframes sc-powiad { 0%, 32% { opacity: 0; transform: translateY(-110px); } 36%, 86% { opacity: 1; transform: translateY(0); } 92%, 100% { opacity: 0; transform: translateY(-110px); } }
@keyframes sc-puls {
  0%, 44% { opacity: 0; transform: scale(1); }
  45% { opacity: .9; transform: scale(1); } 52% { opacity: 0; transform: scale(2.6); }
  53% { opacity: .9; transform: scale(1); } 60% { opacity: 0; transform: scale(2.6); }
  61% { opacity: .9; transform: scale(1); } 68% { opacity: 0; transform: scale(2.6); }
  69% { opacity: .9; transform: scale(1); } 76% { opacity: 0; transform: scale(2.6); }
  100% { opacity: 0; }
}
@keyframes sc-led { 0% { fill: #4A5E96; } 45% { fill: #F5B416; } 49% { fill: #E5484D; } 53% { fill: #F5B416; } 57% { fill: #E5484D; } 61% { fill: #F5B416; } 65% { fill: #E5484D; } 69% { fill: #F5B416; } 78% { fill: #4A5E96; } }
@keyframes sc-krok1 { 0%, 25% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } 28%, 40% { opacity: 1; border-left-color: #F5B416; background: rgba(245,180,22,.08); } 44%, 100% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } }
@keyframes sc-krok2 { 0%, 33% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } 36%, 48% { opacity: 1; border-left-color: #F5B416; background: rgba(245,180,22,.08); } 52%, 100% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } }
@keyframes sc-krok3 { 0%, 42% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } 45%, 74% { opacity: 1; border-left-color: #F5B416; background: rgba(245,180,22,.08); } 78%, 100% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } }
@keyframes sc-krok4 { 0%, 76% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } 79%, 97% { opacity: 1; border-left-color: #F5B416; background: rgba(245,180,22,.08); } 100% { opacity: .5; border-left-color: rgba(255,255,255,.12); background: rgba(255,255,255,.03); } }

/* Pasek administratora WordPressa nad przyklejonym nagłówkiem */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } }

/* ---------- Animacja ilustracji ---------- */
@keyframes rec { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.rec-dot { animation: rec 1.6s ease-in-out infinite; }
@keyframes sweep { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
.cam-sweep { transform-box: fill-box; transform-origin: 90% 10%; animation: sweep 7s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Breakpointy
   ========================================================================== */
@media (min-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card--featured { grid-column: 1 / -1; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
  .cards-2 { grid-template-columns: repeat(2, 1fr); }
  .checklist--2 { grid-template-columns: repeat(2, 1fr); }
  .form__row { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: repeat(2, 1fr); }
  .topbar__area { display: inline-flex; }
}

@media (min-width: 900px) {
  .hero .container { grid-template-columns: 1.08fr .92fr; align-items: center; }
  .split { grid-template-columns: 1fr 1fr; gap: 56px; }
  .split--wide-left { grid-template-columns: 1.15fr .85fr; }
  .page-hero__inner { grid-template-columns: 1fr 240px; }
  .page-hero__icon { display: block; opacity: .95; }
  .content-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
  .sidebar { position: sticky; top: calc(var(--header-h) + 24px); }
  .cta-band { grid-template-columns: 1fr auto; }
  .contact-grid { grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: start; }
  .posts-grid { grid-template-columns: repeat(3, 1fr); }
  .features--3 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1100px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .service-card--featured { grid-column: span 2; grid-row: span 2; padding: 36px; }
  .service-card--cta { grid-column: auto; }
  .steps { grid-template-columns: repeat(4, 1fr); }
  .footer-main { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}

@media (min-width: 1200px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; min-height: 46px; padding: 10px 16px; font-size: .93rem; white-space: nowrap; }
  .menu-toggle, .mobile-nav { display: none; }
  .mobile-bar { display: none; }
  body { padding-bottom: 0; }
  .site-header .container { gap: 12px; }
  .nav__list { gap: 0; }
  .nav__link { padding: 10px 8px; font-size: .88rem; }
}


@media (max-width: 1199px) {
  .brand__mark { width: 44px; }
  .footer-col ul { gap: 4px; }
  .footer-col a { display: inline-block; padding: 6px 0; }
  .hero__visual { max-width: 400px; }
  .contact-box__phone { font-size: 1.6rem; }
}

@media (max-width: 420px) {
  .brand__mark { width: 40px; }
  .brand__name { font-size: 1.38rem; }
  .brand__tag { font-size: .5rem; }
  .topbar__group--mail { display: none; }
  .hero .btn-row .btn { width: 100%; }
  .section { padding: 48px 0; }
}

@media print {
  .topbar, .site-header, .site-footer, .mobile-bar, .sidebar, .cta-band { display: none !important; }
  body { font-size: 12pt; color: #000; padding-bottom: 0; }
}
