/* =====================================================================
   InRoom Marketing – arkusz stylów (bez frameworków)
   Kolory marki: zielony #00A952, błękit #00B0F2 (z logo)
   ===================================================================== */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dmsans-var.woff") format("woff");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --green: #00a952;
  --green-700: #007a3d;
  --green-50: #e9f8f0;
  --blue: #00b0f2;
  --blue-700: #00699a;
  --blue-50: #e8f6fd;
  --ink: #0b1b2b;
  --ink-2: #13293d;
  --ink-3: #1d3850;
  --text: #24384a;
  --muted: #5a6b7b;
  --line: #e3e9ef;
  --soft: #f4f7f9;
  --white: #fff;
  --grad: linear-gradient(115deg, var(--green) 0%, var(--blue) 100%);
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 27, 43, .05), 0 10px 30px rgba(11, 27, 43, .07);
  --shadow-lg: 0 2px 4px rgba(11, 27, 43, .06), 0 24px 60px rgba(11, 27, 43, .14);
  --container: 1200px;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --header-h: 72px;
}

/* ---------- 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(--font); font-size: 1.0625rem; line-height: 1.65; color: var(--text);
  background: var(--white); text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--green); color: var(--ink); }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .6em; font-weight: 750; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); letter-spacing: -.03em; }
h2 { font-size: clamp(1.65rem, 1.2rem + 1.8vw, 2.5rem); }
h3 { font-size: clamp(1.18rem, 1.05rem + .5vw, 1.4rem); letter-spacing: -.01em; }
h4 { font-size: 1.05rem; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25em; }
strong { color: var(--ink); font-weight: 700; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 2.5rem, 820px); }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--green-700); margin: 0 0 .9rem;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; border-radius: 3px; background: var(--grad); }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); max-width: 46rem; }
.section-head { max-width: 48rem; margin-bottom: clamp(2rem, 1.5rem + 2vw, 3rem); }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .lead { margin-inline: auto; }
.text-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.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: 1rem; top: -100px; z-index: 1000; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 8px; }
.skip-link:focus { top: 1rem; color: #fff; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: .9rem; }
.mt-0 { margin-top: 0 !important; } .mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }

/* ---------- Przyciski ---------- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.4rem;
  border-radius: 999px; border: 2px solid var(--bd); background: var(--bg); color: var(--fg);
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease, border-color .15s ease, box-shadow .15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); color: var(--fg); box-shadow: 0 8px 20px rgba(11, 27, 43, .15); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 20px; height: 20px; }
.btn--primary { --bg: var(--green); --fg: var(--ink); --bd: var(--green); }
.btn--primary:hover { --bg: #00be5c; --bd: #00be5c; }
.btn--dark { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: #c9d4de; }
.btn--ghost:hover { --bd: var(--ink); }
.btn--light { --bg: transparent; --fg: #fff; --bd: rgba(255, 255, 255, .35); }
.btn--light:hover { --bd: #fff; --fg: #fff; }
.btn--sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn--lg { min-height: 58px; padding: 1rem 1.7rem; font-size: 1.08rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link-arrow { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; color: var(--ink); text-decoration: none; }
.link-arrow .icon { width: 18px; height: 18px; transition: transform .15s ease; color: var(--green-700); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- Nagłówek ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .92);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 4px 20px rgba(11, 27, 43, .05); }
.header__inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }
.header__logo { flex: 0 0 auto; display: block; }
.header__logo img { width: 128px; height: auto; }
.header__actions { display: flex; align-items: center; gap: .75rem; margin-left: auto; }
.header__phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 700; color: var(--ink); text-decoration: none; white-space: nowrap; }
.header__phone .icon { width: 18px; height: 18px; color: var(--green-700); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-open .nav-toggle .icon-menu { display: none; }
.nav-open .nav-toggle .icon-close { display: block; }

.nav { flex: 1 1 auto; }
.nav__list { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .15rem; }
.nav__item { position: relative; }
.nav__link {
  display: inline-flex; align-items: center; gap: .3rem; padding: .6rem .8rem; border-radius: 10px; border: 0; background: none;
  font-weight: 600; font-size: .98rem; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { background: var(--soft); color: var(--ink); }
.nav__link[aria-current="page"], .nav__link.is-active { color: var(--green-700); }
.nav__link .icon { width: 16px; height: 16px; transition: transform .2s ease; }
.nav__toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.nav__sub {
  position: absolute; left: 50%; top: calc(100% + 8px); transform: translate(-50%, 6px); min-width: 560px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: .75rem; display: grid; grid-template-columns: 1fr 1fr; gap: .25rem;
  opacity: 0; visibility: hidden; transition: opacity .15s ease, transform .15s ease, visibility .15s;
}
.nav__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav__sub--narrow { min-width: 300px; grid-template-columns: 1fr; }
.nav__item--has-sub:hover > .nav__sub, .nav__toggle[aria-expanded="true"] + .nav__sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub-link { display: flex; gap: .8rem; padding: .7rem .8rem; border-radius: 12px; text-decoration: none; color: var(--text); }
.sub-link:hover { background: var(--soft); color: var(--text); }
.sub-link .icon { flex: 0 0 auto; width: 22px; height: 22px; color: var(--green-700); margin-top: 2px; }
.sub-link strong { display: block; font-size: .97rem; line-height: 1.3; }
.sub-link span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.4; }
.sub-link--simple { padding: .55rem .8rem; font-weight: 600; color: var(--ink); }
.sub-footer { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: .35rem; padding: .7rem .8rem .25rem; font-size: .9rem; }
.nav__mobile-extra { display: none; }
/* Mega-menu usług: 3 kolumny wyśrodkowane względem kontenera nagłówka */
.header__inner { position: relative; }
.nav__item--mega { position: static; }
.nav__sub--mega { top: calc(100% - 12px); width: min(1080px, calc(100vw - 2rem)); min-width: 0; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .25rem 1rem; padding: 1rem; }
.sub-col { display: grid; align-content: start; gap: .1rem; min-width: 0; }
.sub-col__title { margin: 0 0 .25rem; padding: 0 .8rem; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 800; color: var(--muted); }
.sub-footer { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.sub-link[aria-current="page"] { background: var(--soft); }

@media (max-width: 1100px) {
  .header__phone span { display: none; }
}
@media (max-width: 980px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .header__actions .btn { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; background: #fff; overflow-y: auto; padding: 1rem 1.25rem 7rem;
    display: none;
  }
  .nav-open .nav { display: block; animation: nav-in .2s ease; }
  /* backdrop-filter tworzy blok zawierający dla position:fixed – przy otwartym menu go wyłączamy */
  .nav-open .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  @keyframes nav-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
  .nav-open { overflow: hidden; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__item { border-bottom: 1px solid var(--line); }
  .nav__link { width: 100%; justify-content: space-between; padding: 1rem .25rem; font-size: 1.1rem; border-radius: 0; }
  .nav__link:hover, .nav__item:focus-within > .nav__link { background: none; }
  .nav__sub, .nav__sub--narrow, .nav__sub--mega {
    position: static; transform: none; min-width: 0; width: auto; box-shadow: none; border: 0; padding: 0 0 .8rem; grid-template-columns: 1fr;
    opacity: 1; visibility: visible; display: none;
  }
  .nav__item--has-sub:hover > .nav__sub { transform: none; }
  .nav__toggle[aria-expanded="true"] + .nav__sub { display: grid; transform: none; }
  .sub-link > span > span { display: none; }
  .sub-col__title { padding: .6rem .8rem .1rem; }
  .nav__mobile-extra { display: grid; gap: .75rem; margin-top: 1.5rem; }
}

/* ---------- Hero (strona główna) ---------- */
.hero {
  position: relative; overflow: hidden; color: #c9d6e2; background: var(--ink);
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 7rem) clamp(3.5rem, 2.5rem + 4vw, 6rem);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .45; pointer-events: none;
}
.hero::before { width: 520px; height: 520px; background: var(--green); left: -160px; top: -200px; opacity: .28; }
.hero::after { width: 620px; height: 620px; background: var(--blue); right: -220px; bottom: -320px; opacity: .3; }
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.hero h1 { color: #fff; margin-bottom: .45em; }
.hero h1 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: #b8c7d4; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); }
.hero .eyebrow { color: #5ee09a; }
.hero__ctas { margin: 2rem 0 1.75rem; }
.hero__proof { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; list-style: none; padding: 0; margin: 0; font-size: .95rem; }
.hero__proof li { display: inline-flex; align-items: center; gap: .45rem; color: #c9d6e2; }
.hero__proof .icon { width: 18px; height: 18px; color: #5ee09a; }

/* Ilustracja: makieta wyników wyszukiwania */
.serp {
  background: #fff; color: var(--text); border-radius: 22px; box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  padding: 1.1rem 1.1rem 1.25rem; font-size: .9rem; position: relative;
}
.serp__bar { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 999px; padding: .55rem .9rem; color: var(--ink); font-weight: 600; }
.serp__bar .icon { width: 18px; height: 18px; color: var(--muted); }
.serp__map {
  margin-top: .9rem; height: 120px; border-radius: 14px; position: relative; overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255,255,255,.0) 0 47%, #fff 47% 49%, rgba(255,255,255,0) 49%),
    linear-gradient(0deg, rgba(255,255,255,0) 0 55%, #fff 55% 57.5%, rgba(255,255,255,0) 57.5%),
    linear-gradient(35deg, rgba(255,255,255,0) 0 62%, #fff 62% 64%, rgba(255,255,255,0) 64%),
    linear-gradient(160deg, #dff3e8 0%, #e6f3fb 60%, #cfe9f8 100%);
}
.serp__pin { position: absolute; width: 26px; height: 26px; color: #fff; display: grid; place-items: center; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: #9aa9b6; }
.serp__pin--main { background: var(--green); width: 34px; height: 34px; box-shadow: 0 0 0 6px rgba(0, 169, 82, .2); }
.serp__pin span { transform: rotate(45deg); font-weight: 800; font-size: .75rem; }
.serp__result { display: flex; gap: .8rem; align-items: flex-start; padding: .75rem .25rem; border-bottom: 1px solid var(--line); }
.serp__result:last-child { border-bottom: 0; padding-bottom: 0; }
.serp__result--top { background: var(--green-50); border-radius: 12px; padding: .75rem; border: 1px solid #bfe8d1; margin-top: .9rem; }
.serp__rank { flex: 0 0 auto; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-weight: 800; font-size: .85rem; background: var(--soft); color: var(--ink); }
.serp__result--top .serp__rank { background: var(--green); color: var(--ink); }
.serp__name { font-weight: 700; color: var(--ink); line-height: 1.3; }
.serp__meta { color: var(--muted); font-size: .82rem; }
.serp__stars { color: #f5a623; letter-spacing: 1px; }
.serp__ad { margin-top: .8rem; padding: .7rem .8rem; border: 1px solid #c9dcf5; background: #f3f8ff; border-radius: 12px; }
.serp__ad-label { display: inline-block; font-size: .72rem; font-weight: 800; color: var(--ink); margin-bottom: .15rem; }
.serp__ad .serp__name { color: #1a4fb5; }
.serp__line { height: 8px; border-radius: 6px; background: var(--soft); margin-top: .4rem; }
.serp__line--short { width: 60%; }
.serp__tag { position: absolute; right: -14px; top: 38%; background: var(--ink); color: #fff; font-weight: 700; font-size: .8rem; padding: .5rem .8rem; border-radius: 12px; box-shadow: var(--shadow-lg); display: inline-flex; gap: .4rem; align-items: center; }
.serp__tag .icon { width: 16px; height: 16px; color: #5ee09a; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 460px; }
  .serp__tag { right: 8px; top: auto; bottom: -16px; }
}

/* ---------- Pasek logotypów (taśma) ---------- */
.logos { padding-block: 2.2rem 1.6rem; border-bottom: 1px solid var(--line); overflow: hidden; }
.logos__label { text-align: center; font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 1.2rem; }
.logos__viewport { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__track { display: flex; width: max-content; animation: logos-scroll calc(var(--logo-count, 40) * 2.6s) linear infinite; }
.logos__viewport:hover .logos__track, .logos__viewport:focus-within .logos__track { animation-play-state: paused; }
.logos__set { display: flex; align-items: center; gap: clamp(2rem, 1.5rem + 2vw, 3.25rem); padding: 0 clamp(1rem, .75rem + 1vw, 1.625rem); margin: 0; list-style: none; flex-shrink: 0; }
.logos__set li { flex-shrink: 0; display: flex; align-items: center; height: 56px; }
.logos__set img { height: auto; max-height: 44px; width: auto; max-width: 130px; object-fit: contain; filter: grayscale(1); opacity: .65; transition: filter .2s, opacity .2s; }
.logos__set img:hover { filter: none; opacity: 1; }
.logos__more { text-align: center; margin: 1rem 0 0; font-size: .92rem; font-weight: 600; }
.logos__more a { display: inline-flex; align-items: center; gap: .35rem; text-decoration: none; }
.logos__more svg { width: 1em; height: 1em; }
@keyframes logos-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .logos__track { animation: none !important; }
  .logos__viewport { overflow-x: auto; scrollbar-width: thin; -webkit-mask-image: none; mask-image: none; }
  .logos__set[aria-hidden="true"] { display: none; }
}

/* ---------- Siatki i karty ---------- */
.grid { display: grid; gap: clamp(1rem, .75rem + 1vw, 1.5rem); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.4rem, 1.1rem + 1vw, 2rem);
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.card h3 { margin-bottom: .5rem; }
.card p:last-child { margin-bottom: 0; }
.card h3 a, .card h2 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover, .card h2 a:hover { color: var(--green-700); text-decoration: underline; }
.card--link:hover { border-color: #c5d3df; box-shadow: var(--shadow); transform: translateY(-2px); }
.card--link a.card__cover { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.card__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 1.1rem;
  background: linear-gradient(135deg, var(--green-50), var(--blue-50)); color: var(--green-700);
}
.card__icon .icon { width: 26px; height: 26px; }
.card__more { margin-top: 1rem; }
.card--soft { background: var(--soft); border-color: transparent; }
.card--dark { background: var(--ink); color: #c9d6e2; border-color: var(--ink); }
.card--dark h3, .card--dark strong { color: #fff; }
.card--accent { border: 2px solid var(--green); }

.checklist { list-style: none; padding: 0; margin: 0 0 1.2em; display: grid; gap: .6rem; }
.checklist li { position: relative; padding-left: 2rem; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 50%;
  background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23007a3d' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 70% no-repeat;
}
.checklist--cross li::before {
  background: #fdecec url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b42318' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 60% no-repeat;
}
.card--dark .checklist li::before { background-color: rgba(94, 224, 154, .15); }

/* ---------- Liczby ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.stat { padding: 1.25rem 1.4rem; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.stat__value { font-size: clamp(1.8rem, 1.4rem + 1.4vw, 2.6rem); font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.stat__label { color: var(--muted); font-size: .95rem; }
@media (max-width: 800px) { .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Proces (pętla) ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; list-style: none; padding: 0; margin: 0; }
.step { position: relative; padding: 1.5rem; border-radius: var(--radius); background: rgba(255, 255, 255, .04); border: 1px solid rgba(255, 255, 255, .1); }
.step::before {
  counter-increment: step; content: "0" counter(step); display: block; font-weight: 800; font-size: 1rem; letter-spacing: .05em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; margin-bottom: .6rem;
}
.step h3 { color: #fff; font-size: 1.2rem; }
.step p { color: #b8c7d4; font-size: .97rem; margin: 0; }
.section--dark { background: var(--ink); color: #c9d6e2; position: relative; overflow: hidden; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .lead { color: #b8c7d4; }
.section--dark .eyebrow { color: #5ee09a; }
.section--dark a:not(.btn) { color: #7dd3fc; }
.loop-note { display: flex; align-items: center; gap: .75rem; margin-top: 1.5rem; color: #b8c7d4; }
.loop-note .icon { width: 34px; height: 34px; color: var(--blue); flex: 0 0 auto; }
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Split / treść + bok ---------- */
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.split--even { grid-template-columns: 1fr 1fr; }
.split > *, .grid > *, .hero__grid > *, .page-hero__grid > *, .calc > * { min-width: 0; }
.split--center { align-items: center; }
@media (max-width: 900px) { .split, .split--even { grid-template-columns: 1fr; } }
.sticky-aside { position: sticky; top: calc(var(--header-h) + 1.5rem); }

/* ---------- Nagłówek podstrony ---------- */
.page-hero { background: linear-gradient(180deg, var(--soft) 0%, #fff 100%); padding-block: clamp(1.5rem, 1rem + 2vw, 2.5rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero h1 { max-width: 22ch; }
.page-hero--wide h1 { max-width: 30ch; }
.page-hero .lead { margin-bottom: 1.6rem; }
.page-hero__grid { display: grid; grid-template-columns: 1.4fr .8fr; gap: 3rem; align-items: end; }
.page-hero__facts { list-style: none; padding: 1.25rem 1.4rem; margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); display: grid; gap: .75rem; box-shadow: var(--shadow); }
.page-hero__facts li { display: flex; gap: .7rem; align-items: flex-start; font-size: .97rem; }
.page-hero__facts .icon { width: 22px; height: 22px; color: var(--green-700); flex: 0 0 auto; margin-top: 1px; }
@media (max-width: 900px) { .page-hero__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem .5rem; padding: 0; margin: 0 0 1.4rem; font-size: .88rem; color: var(--muted); }
.breadcrumbs li:not(:last-child)::after { content: "/"; margin-left: .5rem; color: #a7b4c0; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--ink); text-decoration: underline; }

/* ---------- Chipy lokalizacji ---------- */
.chips { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; padding: 0; margin: 0; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
a.chip:hover { border-color: var(--green); color: var(--ink); background: var(--green-50); }
.chip .icon { width: 16px; height: 16px; color: var(--green-700); }
.chip--static { background: var(--soft); border-color: transparent; font-weight: 500; color: var(--text); }

/* ---------- Pas CTA ---------- */
.cta-band { padding-block: clamp(3rem, 2rem + 4vw, 5rem); }
.cta-band__box {
  position: relative; overflow: hidden; border-radius: 28px; padding: clamp(2rem, 1.5rem + 3vw, 3.5rem);
  background: var(--ink); color: #c9d6e2; display: grid; grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: center;
}
.cta-band__box::after { content: ""; position: absolute; width: 480px; height: 480px; right: -140px; top: -200px; border-radius: 50%; background: var(--grad); filter: blur(90px); opacity: .45; }
.cta-band__box > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; margin-bottom: .4em; }
.cta-band p { margin: 0; color: #b8c7d4; }
.cta-band .btn-row { justify-content: flex-end; }
@media (max-width: 860px) { .cta-band__box { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* ---------- FAQ ---------- */
.faq__list { display: grid; gap: .75rem; margin-top: 1.5rem; }
.faq__item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; }
.faq__item[open] { border-color: #c5d3df; box-shadow: var(--shadow); }
.faq__item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.1rem 1.3rem; font-weight: 700; color: var(--ink); font-size: 1.05rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__icon { width: 22px; height: 22px; flex: 0 0 auto; transition: transform .2s ease; color: var(--green-700); }
.faq__item[open] .faq__icon { transform: rotate(180deg); }
.faq__answer { padding: 0 1.3rem 1.2rem; color: var(--text); }
.faq__answer p:last-child, .faq__answer ul:last-child { margin-bottom: 0; }

/* ---------- Treść artykułów / prose ---------- */
.prose { font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 0; }
.prose h2 { margin-top: 2.2em; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); }
.prose h3 { margin-top: 1.8em; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--green-700); font-weight: 700; }
.prose img { border-radius: var(--radius-sm); }
.prose blockquote { margin: 1.5em 0; padding: 1rem 1.4rem; border-left: 4px solid var(--green); background: var(--soft); border-radius: 0 12px 12px 0; }
.prose code { background: var(--soft); padding: .1em .4em; border-radius: 6px; font-size: .9em; overflow-wrap: anywhere; }
.prose pre { background: var(--ink); color: #dbe7f1; padding: 1.1rem 1.25rem; border-radius: 14px; overflow-x: auto; font-size: .86rem; line-height: 1.6; }
.prose pre code { background: none; padding: 0; color: inherit; }
.note { border-radius: 14px; padding: 1.1rem 1.3rem; background: var(--blue-50); border: 1px solid #bfe3f5; margin: 1.5em 0; }
.note--green { background: var(--green-50); border-color: #bfe8d1; }
.note--warn { background: #fff7e6; border-color: #f7d999; }
.note > :last-child { margin-bottom: 0; }
.note strong:first-child { display: block; margin-bottom: .25rem; }

.table-wrap { overflow-x: auto; margin: 1.5em 0; border: 1px solid var(--line); border-radius: 14px; }
table { width: 100%; border-collapse: collapse; font-size: .97rem; }
th, td { text-align: left; padding: .8rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--soft); color: var(--ink); font-weight: 700; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td code { white-space: nowrap; overflow-wrap: normal; }

.toc { background: var(--soft); border-radius: var(--radius); padding: 1.3rem 1.5rem; margin-bottom: 2rem; }
.toc p { font-weight: 700; color: var(--ink); margin-bottom: .5rem; }
.toc ol { margin: 0; padding-left: 1.2em; }
.toc li { margin: .25rem 0; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--green-700); text-decoration: underline; }

.article-meta { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; color: var(--muted); font-size: .93rem; margin-bottom: 1.5rem; }
.article-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.article-meta .icon { width: 16px; height: 16px; }
.author-box { display: flex; gap: 1rem; align-items: center; padding: 1.25rem; border: 1px solid var(--line); border-radius: var(--radius); margin-top: 3rem; }
.author-box__avatar { width: 64px; height: 64px; border-radius: 50%; flex: 0 0 auto; background: var(--grad); display: grid; place-items: center; color: var(--ink); font-weight: 800; overflow: hidden; }
.author-box__avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-box p { margin: 0; }

.post-card { display: flex; flex-direction: column; }
.post-card__tag { font-size: .8rem; font-weight: 700; color: var(--green-700); text-transform: uppercase; letter-spacing: .08em; margin-bottom: .5rem; }
.post-card h3 a { color: var(--ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card__meta { margin-top: auto; padding-top: 1rem; font-size: .9rem; color: var(--muted); }

/* ---------- Ceny ---------- */
.price-card { display: flex; flex-direction: column; }
.price-card__price { font-size: 1.35rem; font-weight: 800; color: var(--ink); margin: .2rem 0 1rem; letter-spacing: -.01em; }
.price-card .checklist { margin-bottom: 1.5rem; }
.price-card .btn { margin-top: auto; }
.badge { display: inline-block; font-size: .78rem; font-weight: 700; padding: .3rem .65rem; border-radius: 999px; background: var(--green-50); color: var(--green-700); margin-bottom: .8rem; }
.badge--blue { background: var(--blue-50); color: var(--blue-700); }

/* ---------- Formularze ---------- */
.form { display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 600px) { .form__row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; color: var(--ink); margin-bottom: .35rem; font-size: .95rem; }
.field .req { color: #b42318; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: .75rem .95rem; border-radius: 12px; border: 1.5px solid #cfd9e2; background: #fff;
  transition: border-color .15s, box-shadow .15s; font-size: 1rem;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue-700); box-shadow: 0 0 0 4px rgba(0, 176, 242, .18); }
.field.has-error input, .field.has-error textarea, .field.has-error select { border-color: #b42318; }
.field__error { color: #b42318; font-size: .88rem; margin-top: .3rem; }
.field__hint { color: var(--muted); font-size: .85rem; margin-top: .3rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { font-size: .85rem; color: var(--muted); margin: 0; }
.form__status { border-radius: 12px; padding: .9rem 1.1rem; font-weight: 600; }
.form__status--error { background: #fdecec; color: #8a1c13; }
.form__status--ok { background: var(--green-50); color: var(--green-700); }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.4rem, 1rem + 2vw, 2.4rem); box-shadow: var(--shadow); }

.contact-tiles { display: grid; gap: .9rem; }
.contact-tile { display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem; border-radius: var(--radius); border: 1px solid var(--line); background: #fff; text-decoration: none; color: var(--text); }
a.contact-tile:hover { border-color: var(--green); color: var(--text); }
.contact-tile .card__icon { margin: 0; width: 48px; height: 48px; flex: 0 0 auto; }
.contact-tile strong { display: block; font-size: 1.1rem; }

/* ---------- Kalkulator ---------- */
.calc { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; align-items: start; }
.calc__inputs { display: grid; gap: 1.1rem; }
.calc__out { background: var(--ink); color: #c9d6e2; border-radius: 22px; padding: clamp(1.4rem, 1rem + 2vw, 2.2rem); position: sticky; top: calc(var(--header-h) + 1rem); }
.calc__out h2 { color: #fff; font-size: 1.4rem; }
.calc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; margin: 1.2rem 0; }
.calc__metric { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; padding: .9rem 1rem; }
.calc__metric b { display: block; color: #fff; font-size: 1.55rem; letter-spacing: -.02em; line-height: 1.2; }
.calc__metric span { font-size: .85rem; }
.calc__metric--hl { background: rgba(0, 169, 82, .16); border-color: rgba(94, 224, 154, .35); }
.calc__metric--hl b { color: #5ee09a; }
.calc__verdict { font-size: .95rem; margin: 0 0 1.2rem; }
.range-row { display: flex; align-items: center; gap: .8rem; }
.range-row input[type="range"] { flex: 1; accent-color: var(--green-700); min-height: 0; padding: 0; border: 0; }
.range-row output { min-width: 5.5rem; text-align: right; font-weight: 700; color: var(--ink); }
@media (max-width: 900px) { .calc { grid-template-columns: 1fr; } .calc__out { position: static; } }

/* ---------- Klienci ---------- */
.client-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.client-grid figure { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 14px; aspect-ratio: 3 / 2; display: grid; place-items: center; padding: 1rem; }
.client-grid img { max-height: 70px; width: auto; object-fit: contain; }

/* ---------- Mapa obszaru ---------- */
.area-list { columns: 3 200px; column-gap: 2rem; list-style: none; padding: 0; margin: 0; }
.area-list li { break-inside: avoid; padding: .35rem 0; border-bottom: 1px dashed var(--line); }

/* ---------- Stopka ---------- */
.site-footer { background: var(--ink); color: #9fb2c3; padding-top: clamp(3rem, 2rem + 3vw, 4.5rem); font-size: .97rem; }
.site-footer a { color: #c9d6e2; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer__brand img { width: 150px; margin-bottom: 1rem; }
.footer__title { color: #fff; font-weight: 700; font-size: 1rem; margin-bottom: .9rem; }
.footer__list { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer__nap { font-style: normal; display: grid; gap: .3rem; }
.footer__nap a { font-weight: 700; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding-block: 1.3rem; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between; font-size: .88rem; }
.footer__bottom ul { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; padding: 0; margin: 0; }
.link-button { background: none; border: 0; padding: 0; color: #c9d6e2; cursor: pointer; font: inherit; }
.link-button:hover { color: #fff; text-decoration: underline; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Mobilny pasek akcji ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  .mobile-bar {
    position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96);
    border-top: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  }
  .mobile-bar .btn { min-height: 48px; }
  body { padding-bottom: 76px; }
  .nav-open .mobile-bar { display: none; }
}

/* ---------- 404 ---------- */
.error-code { font-size: clamp(5rem, 3rem + 10vw, 9rem); font-weight: 800; line-height: 1; letter-spacing: -.05em; margin: 0 0 1rem; }

/* ---------- CookieConsent v3 – motyw marki ---------- */
#cc-main {
  --cc-font-family: var(--font);
  --cc-btn-primary-bg: var(--ink);
  --cc-btn-primary-color: #fff;
  --cc-btn-primary-border-color: var(--ink);
  --cc-btn-primary-hover-bg: var(--ink-3);
  --cc-btn-primary-hover-border-color: var(--ink-3);
  --cc-btn-secondary-bg: var(--soft);
  --cc-btn-secondary-color: var(--ink);
  --cc-btn-secondary-border-color: var(--soft);
  --cc-btn-secondary-hover-bg: var(--line);
  --cc-btn-secondary-hover-border-color: var(--line);
  --cc-toggle-on-bg: var(--green-700);
  --cc-modal-border-radius: 18px;
  --cc-btn-border-radius: 999px;
  --cc-link-color: var(--blue-700);
}

/* ---------- Ruch ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media print {
  .site-header, .site-footer, .mobile-bar, .cta-band, #cc-main { display: none !important; }
}

/* ---------- Grupy usług (strona główna) ---------- */
.services-group__head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; margin: 2rem 0 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.section-head + .services-group__head { margin-top: 0; padding-top: 0; border-top: 0; }
.services-group__title { margin: 0; font-size: 1.25rem; }
.services-group__head p { margin: 0; }
.services-calc { margin: 2rem 0 0; font-weight: 600; }
.services-calc svg { width: 1.3em; height: 1.3em; color: var(--green-700); vertical-align: -.28em; margin-right: .35rem; }
