@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-ext-v20.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("fonts/manrope-latin-v20.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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-ext-v22.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: "Space Grotesk";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("fonts/space-grotesk-latin-v22.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;
}

:root {
  --bg: #061426;
  --bg-2: #08192f;
  --surface: #0b2140;
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #e9eff8;
  --muted: #95a9c2;
  --orange: #ff6b0b;
  --orange-2: #ff8127;
  --ok: #4ecfa4;
  --warn: #ffb020;
  --r: 16px;
  --r-s: 10px;
  --container: 1180px;
}

* { box-sizing: border-box }
html { scroll-behavior: smooth }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 Manrope, Arial, sans-serif;
  overflow-x: hidden;
}

img { display: block; max-width: 100% }
a { color: inherit }
h1, h2, h3 { font-family: "Space Grotesk", Manrope, sans-serif; letter-spacing: -.03em }
em { font-style: normal; color: var(--orange) }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto }
.section { padding: 104px 0 }

.skip-link {
  position: fixed; z-index: 100; left: 16px; top: 8px;
  padding: 10px 16px; border-radius: var(--r-s);
  background: #fff; color: #000; transform: translateY(-160%);
}
.skip-link:focus { transform: none }
a:focus-visible, .btn:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  background: rgba(6, 20, 38, .82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line);
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.site-header.na-gorze {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); backdrop-filter: none; -webkit-backdrop-filter: none }
}

#czujnik-gory { position: absolute; top: 0; left: 0; width: 1px; height: 24px; pointer-events: none }

:where(section, main)[id] { scroll-margin-top: 92px }

.nav {
  height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  transition: height .3s ease;
}
.site-header.na-gorze .nav { height: 80px }
.brand { display: grid; place-items: center }
.brand img { width: auto; height: 46px; transition: height .3s ease }
.site-header.na-gorze .brand img { height: 60px }
.nav nav { display: flex; gap: 24px }
.nav nav a { color: #c2d1e6; font-size: 14px; font-weight: 600; text-decoration: none; transition: color .2s }
.nav nav a:hover { color: #fff }/* Widoczny dopiero ponizej 980 px, razem z chowaniem linkow. */

.nav-toggle {
  display: none; place-content: center; gap: 5px;
  /* flex-shrink, bo bez niego pasek sciska przycisk do 39 px i prog dotyku
     przestaje byc spelniony akurat tam, gdzie jest jedyna nawigacja. */
  width: 48px; height: 48px; flex-shrink: 0; padding: 0; cursor: pointer;
  background: none; border: 1px solid var(--line-2); border-radius: var(--r-s);
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px; background: #c2d1e6;
  transition: transform .2s ease, opacity .2s ease;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border-radius: var(--r-s);
  border: 0; font-family: inherit; cursor: pointer;
  background: var(--orange); color: #08182e;
  font-size: 14px; font-weight: 800; text-decoration: none; white-space: nowrap;
  transition: background .2s, transform .2s;
}
.btn:hover { background: var(--orange-2) }
.btn:active { transform: translateY(1px) }/* 48 px to prog dotyku Google; ponizej byl jedyny przycisk w calym motywie. */

.btn-sm { min-height: 48px; padding: 0 18px }

.btn-send {
  gap: 12px; min-height: 54px; padding: 0 30px; border: 0; font-family: inherit; cursor: pointer;
  background: linear-gradient(180deg, var(--orange-2), var(--orange));
  box-shadow: 0 12px 26px rgba(255, 107, 11, .22), inset 0 1px 0 rgba(255, 255, 255, .38);
}
.btn-send:hover {
  background: linear-gradient(180deg, #ff9243, var(--orange-2));
  box-shadow: 0 16px 32px rgba(255, 107, 11, .3), inset 0 1px 0 rgba(255, 255, 255, .5);
}
.btn-send:active { transform: translateY(1px); box-shadow: 0 6px 16px rgba(255, 107, 11, .22), inset 0 1px 0 rgba(255, 255, 255, .3) }
.btn-send span { font-size: 17px; line-height: 1; transition: transform .25s }
.btn-send:hover span { transform: translateX(4px) }

.eyebrow {
  margin: 0 0 20px; color: var(--orange);
  font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}

.head { max-width: 720px; margin-bottom: 56px }
.head h2 { margin: 0; font-size: clamp(34px, 4.2vw, 54px); font-weight: 600; line-height: 1.06 }
.head p { margin: 22px 0 0; color: var(--muted); max-width: 60ch }

.hero {
  position: relative; padding: 96px 0;
  background:
    radial-gradient(60% 55% at 78% 18%, rgba(23, 74, 140, .5) 0, transparent 70%),
    linear-gradient(160deg, #071729 0%, #061426 60%);
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 1px; background: linear-gradient(90deg, transparent, #2b558a, transparent) }/* Szerzej niz w d6Tanku: "w Comarch ERP Optimie" ma 22 znaki i przy 56ch
   lamie sie w srodku nazwy produktu. Wiersz tekstu pilnuje .lead osobno. */

.hero-copy { max-width: 780px }
.hero h1 { margin: 0; font-size: clamp(36px, 3.9vw, 54px); font-weight: 600; line-height: 1.06 }
.lead { max-width: 46ch; margin: 26px 0 0; color: #b8c8dd; font-size: 18px }

.micro { color: #8299b6; font-size: 10px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.dot { width: 8px; height: 8px; flex: none; border-radius: 50% }
.dot-alert { background: var(--orange) }/* Pas tla. Sekcje na przemian: jasniejszy pas, ciemniejsze tlo strony. */

.band { background: var(--bg-2); border-block: 1px solid var(--line) }

.gap-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; padding: 0; margin: 0; list-style: none }
.gap-grid li { padding: 28px 26px; border-left: 1px solid var(--line) }
.gap-grid li:last-child { border-right: 1px solid var(--line) }
.gap-grid h3 { margin: 0 0 10px; font-size: 17px }
.gap-grid p { margin: 0; color: var(--muted); font-size: 14px }
.gap-grid .accent { background: linear-gradient(180deg, rgba(255, 107, 11, .14), rgba(255, 107, 11, .03)) }
.gap-grid .accent h3 { color: var(--orange) }
.gap-grid .accent p { color: #d6e1ef }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 0; margin: 0; list-style: none }
.steps li { padding-top: 26px; border-top: 2px solid var(--orange) }
.steps li + li { border-top-color: var(--line-2) }
.steps h3 { margin: 0 0 12px; font-size: 20px }
.steps p { margin: 0; color: var(--muted); font-size: 14px }

.integr { display: grid; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line) }
.integr li {
  display: grid; grid-template-columns: 350px 1fr; gap: 24px 40px; align-items: start;
  padding: 26px 0; border-bottom: 1px solid var(--line);
}
.integr-name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px }
.integr-name strong { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 17px; letter-spacing: -.02em }
.integr p { margin: 0; color: var(--muted); font-size: 14px; max-width: 62ch }
.tag {
  padding: 4px 10px; border: 1px solid var(--line-2); border-radius: 999px;
  color: #9db2cc; font-size: 11px; font-weight: 700; letter-spacing: .04em; white-space: nowrap;
}
.tag-accent { border-color: rgba(255, 107, 11, .45); background: rgba(255, 107, 11, .12); color: var(--orange-2) }
.integr .accent strong { color: var(--orange) }
.integr .accent p { color: #d6e1ef }
.integr-note { margin: 26px 0 0; max-width: 62ch; color: #7f94ae; font-size: 13px }
.api-callout .eyebrow { margin: 0 0 12px }
.api-callout p:not(.eyebrow) { margin: 18px 0 0; color: var(--muted); font-size: 14px }

.faq-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 72px; align-items: start }
.faq-grid .head { margin-bottom: 0 }
.faq { display: grid; border-top: 1px solid var(--line) }
.faq details { border-bottom: 1px solid var(--line) }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 20px 0; cursor: pointer; list-style: none;
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 16px; letter-spacing: -.02em;
  transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none }
.faq summary::after {
  content: ""; flex: none; width: 11px; height: 11px; margin-right: 4px;
  border-right: 2px solid var(--orange); border-bottom: 2px solid var(--orange);
  transform: rotate(45deg) translateY(-2px); transition: transform .25s;
}
.faq summary:hover { color: var(--orange-2) }
.faq details[open] summary::after { transform: rotate(225deg) translateY(-2px) }
.faq summary:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }
.faq details p { margin: 0 0 22px; max-width: 66ch; color: var(--muted); font-size: 14px }
.alerts-grid .head { margin-bottom: 32px }
.control .head { margin-bottom: 0 }
.flow-grid .head { margin-bottom: 0 }

.cta-section {
  padding: 112px 0;
  background: radial-gradient(60% 80% at 50% 0, rgba(23, 74, 140, .45) 0, transparent 70%), var(--bg-2);
  border-top: 1px solid var(--line);
}
.cta { display: grid; justify-items: center; text-align: center }
.cta-logo { width: auto; height: 150px; margin-bottom: 34px }
.cta h2 { margin: 0; font-size: clamp(36px, 4.6vw, 58px); font-weight: 600; line-height: 1.06 }
.cta p { margin: 20px 0 30px; color: var(--muted) }/* Kto odbierze ten formularz: etykieta .micro (ta sama, co przy E-mailu i Telefonie
   nizej) plus sam znak. Nazwy nie powtarzamy tekstem — niesie ja alt obrazka, wiec
   czytnik ekranu i widok bez grafiki maja komplet, a na ekranie nie ma jakania.
   Kreska nalezy do tego bloku, nie do listy ponizej: naglowek i dane kontaktowe to
   jedna calosc, wiec dzieli je odstep, a nie druga linia. */

.contact-brand {
  display: flex; flex-wrap: wrap; gap: 14px; align-items: center;
  padding: 30px 0 0; margin: 44px 0 0;
  border-top: 1px solid var(--line); text-align: left;
}
.contact-brand img { width: auto; height: 40px }

.contact-lines {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding: 0; margin: 26px 0 0; list-style: none; text-align: left;
}
.contact-lines li { display: grid; gap: 6px; align-content: start }
.contact-lines a {
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 18px; font-weight: 700;
  color: var(--text); text-decoration: none; overflow-wrap: anywhere;
}
.contact-lines a:hover { color: var(--orange-2) }
.contact-lines address { font-style: normal; color: #c3d2e5; font-size: 14px; line-height: 1.5 }
.contact-lines small { color: #7f94ae; font-size: 12px }

.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; margin-top: 44px; text-align: left }
.contact-form {
  display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 32px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.field { display: grid; gap: 8px }
.field-wide { grid-column: 1 / -1 }
.field label { font-size: 13px; font-weight: 700 }
.field input, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; font: inherit; font-size: 15px;
  color: var(--text); background: var(--bg); border: 1px solid var(--line-2); border-radius: var(--r-s);
}
.field textarea { resize: vertical }
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 2px }
.field small { color: var(--muted); font-size: 12px }
.field.invalid input, .field.invalid textarea { border-color: #ff8a8a }
.pulapka { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden }

.zgody { display: grid; gap: 12px; margin: 0; padding: 20px 0 0; border: 0; border-top: 1px solid var(--line) }
.zgody legend {
  padding: 0; color: #7f94ae;
  font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.zgoda { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: start; cursor: pointer }
.zgoda input {
  width: 16px; height: 16px; margin: 1px 0 0; flex: none;
  accent-color: var(--orange); cursor: pointer;
}
.zgoda input:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 2px }
.zgoda span { color: #c3d2e5; font-size: 11.5px; line-height: 1.5 }
.zgoda:hover span { color: var(--text) }
.zgody-info { margin: 4px 0 0; color: #7f94ae; font-size: 10.5px; line-height: 1.55 }
.zgody-info a { color: var(--orange); text-decoration: none }
.zgody-info a:hover { text-decoration: underline }

.form-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap }
.btn-send[aria-busy="true"] { opacity: .7; pointer-events: none }
.btn-send[aria-busy="true"] span { animation: sending .9s ease-in-out infinite }
@keyframes sending { 50% { transform: translateX(5px) } }
.form-note { margin: 0; max-width: 44ch; color: var(--muted); font-size: 12px }
.form-status { margin: 0; color: var(--ok); font-size: 14px; font-weight: 700 }
.form-status:empty { display: none }
.form-status.error { color: #ff9d9d }

.contact-side { display: grid; gap: 20px; align-content: start }
.producer {
  display: grid; gap: 18px; padding: 26px;
  background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--r);
}
.producer h3 { margin: 0; color: #7f94ae; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase }
.producer-logo { display: block; width: fit-content; opacity: .92; transition: opacity .2s }
.producer-logo:hover { opacity: 1 }
.producer-logo img { width: auto; height: 34px }
.producer p { margin: 0; color: var(--muted); font-size: 13px }
.producer-link { width: fit-content; color: var(--orange); font-size: 13px; font-weight: 700; text-decoration: none }
.producer-link:hover { text-decoration: underline }
.producer-meta { color: #7f94ae !important; font-size: 12px !important; font-variant-numeric: tabular-nums }/* --- siatka rodziny d6 ---
   Dwanascie kolumn, karta zwykla bierze 3, szeroka 6. Uklad wychodzi 6+6 | 3+3+3+3:
   u gory dwie aplikacje z wlasnymi stronami, ktore maja dokad prowadzic,
   pod nimi cztery pozostale. Rowne kolumny daloby sie osiagnac prosciej, ale
   wtedy d6Tank i d6Order nie roznilyby sie niczym od reszty. */

.suite-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px }
.suite-card {
  grid-column: span 3;
  display: grid; grid-template-rows: 170px 1fr auto; gap: 16px; min-width: 0; padding: 18px;
  color: var(--text); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  text-decoration: none; transition: transform .2s, border-color .2s, background .2s;
}
a.suite-card:hover { transform: translateY(-3px); border-color: var(--orange); background: var(--bg); text-decoration: none }
.suite-card img { width: 100%; height: 170px; object-fit: contain; background: #fff; border-radius: calc(var(--r) - 8px) }
.suite-card h3 { margin: 0 0 8px; font-size: 17px; line-height: 1.25 }
.suite-card h3 .tag { margin-left: 8px; vertical-align: middle }
.suite-card span { color: var(--muted); font-size: 13px; line-height: 1.55 }
.suite-card strong { align-self: end; color: var(--orange); font-size: 12px }
.suite-card strong span { color: inherit; font-size: inherit }
.suite-card-static { grid-template-rows: 170px 1fr }/* Karty szerokie: znak obok tresci, bo przy pelnej szerokosci znak nad tekstem
   zostawialby po bokach pas bialego kafla szerszy od samego rysunku. */

.suite-card-szeroki {
  grid-column: span 6;
  grid-template-columns: 170px minmax(0, 1fr); grid-template-rows: 1fr auto;
  column-gap: 20px; row-gap: 12px;
}
.suite-card-szeroki > img, .suite-card-szeroki > .suite-znak { grid-column: 1; grid-row: 1 / -1; align-self: start }
.suite-card-szeroki > div { grid-column: 2; grid-row: 1 }
.suite-card-szeroki > strong { grid-column: 2; grid-row: 2 }/* Kafel zastepczy dla aplikacji bez znaku. Trzyma miejsce w siatce, zeby
   dolozenie gotowego logo nie przebudowywalo ukladu. */

.suite-znak {
  display: grid; place-items: center; height: 170px;
  background: #fff; border-radius: calc(var(--r) - 8px);
  color: #1e4568 !important;
  font-family: "Space Grotesk", Manrope, sans-serif; font-size: 30px !important; font-weight: 700;
  letter-spacing: -.03em;
}/* --- aplikacja na zamowienie, pod siatka produktow --- */
.na-zamowienie {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: start;
  margin-top: 18px; padding: 34px;
  background: linear-gradient(150deg, rgba(255, 107, 11, .12), var(--surface) 60%);
  border: 1px solid rgba(255, 107, 11, .34); border-radius: var(--r);
}
.na-zamowienie .eyebrow { margin: 0 0 12px }
.na-zamowienie h3 { margin: 0; font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.08 }
.na-zamowienie p:not(.eyebrow) { margin: 18px 0 0; max-width: 62ch; color: #d6e1ef; font-size: 15px }
.na-zamowienie .btn { margin-top: 26px }
.na-zamowienie ul { display: grid; gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line-2) }
.na-zamowienie li { display: grid; gap: 5px; padding: 16px 0; border-bottom: 1px solid var(--line) }
.na-zamowienie li strong { font-family: "Space Grotesk", Manrope, sans-serif; font-size: 15px; letter-spacing: -.02em }
.na-zamowienie li span { color: var(--muted); font-size: 13px; line-height: 1.55 }

/* --- podzial rol miedzy aplikacja a ERP ---
   Dwa kafle obok siebie, bo to jest zdanie o dwoch stronach. Warstwa
   ksiegowa dostaje spokojniejsze tlo, warstwa operacyjna akcent: to nasza
   czesc i to o niej jest cala strona. */

.role-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 48px }
.role-split > div { padding: 28px; border: 1px solid var(--line); border-radius: var(--r) }
.role-split > div:first-child {
  background: linear-gradient(160deg, rgba(255, 107, 11, .13), var(--surface) 62%);
  border-color: rgba(255, 107, 11, .34);
}
.role-split-erp { background: var(--bg-2) }
.role-split .micro { display: block; margin-bottom: 10px }
.role-split > div:first-child .micro { color: var(--orange) }
.role-split h3 { margin: 0 0 12px; font-size: 24px }
.role-split > div:first-child h3 { color: var(--orange) }
.role-split p { margin: 0; color: var(--muted); font-size: 14px }
.role-split .producer-link { display: inline-block; margin-top: 18px; font-size: 13px }
.role-split > div:first-child p { color: #d6e1ef }
.role-split-nota {
  grid-column: 1 / -1; max-width: 76ch; margin: 0 !important;
  color: #7f94ae !important; font-size: 13px !important;
}/* --- pasek faktow pod hero ---
   Strona katalogowa nie ma jednego zrzutu ekranu, ktory moglby wypelnic hero,
   wiec zamiast pustki idzie waski pasek z konkretami. Ciezar wizualny bierze
   dopiero siatka znakow w nastepnej sekcji. */

.hero-meta {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0;
  max-width: 780px; padding: 0; margin: 56px 0 0; list-style: none;
  border-top: 1px solid var(--line-2);
}
.hero-meta li { display: grid; gap: 6px; align-content: start; padding: 24px 26px 0; border-left: 1px solid var(--line) }
.hero-meta li:first-child { padding-left: 0; border-left: 0 }
.hero-meta strong {
  color: var(--orange); font-family: "Space Grotesk", Manrope, sans-serif;
  font-size: 22px; font-weight: 700; letter-spacing: -.03em; line-height: 1.15;
}
.hero-meta span { color: var(--muted); font-size: 13px; line-height: 1.5 }/* --- uslugi: jeden blok, bez rozwiniec ---
   Pelna oferta zostaje na dev64.pl. Duplikat tresci miedzy wlasnymi domenami
   rozmywa pozycje obu stron, wiec tu sa same hasla i odnosnik. */

.uslugi { display: grid; grid-template-columns: .9fr 1.1fr; gap: 72px; align-items: start }
.uslugi h2 { margin: 0; font-size: clamp(30px, 3.4vw, 44px); font-weight: 600; line-height: 1.08 }
.uslugi > div:first-child > p:last-child { margin: 22px 0 0; color: var(--muted) }
.uslugi-lista ul { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0 0 28px; list-style: none }
.uslugi-lista li {
  padding: 10px 18px; border: 1px solid var(--line-2); border-radius: 999px;
  color: #c3d2e5; font-size: 14px;
}
.uslugi-lista .producer-link { font-size: 14px }

footer { padding: 28px 0; background: #04101f; border-top: 1px solid var(--line); color: #7f94ae; font-size: 12px }
footer a { color: var(--orange); text-decoration: none }
footer a:hover { text-decoration: underline }
footer .container { display: flex; align-items: center; justify-content: space-between; gap: 28px }
.privacy-settings {
  padding: 0; color: var(--orange); background: none; border: 0;
  font: inherit; cursor: pointer;
}
.privacy-settings:hover { text-decoration: underline }
.privacy-settings:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }

.foot-lines { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px }
.foot-logo { display: inline-flex; align-items: center; gap: 12px; flex: none; opacity: .82; transition: opacity .2s }
.foot-logo:hover { opacity: 1; text-decoration: none }
.foot-logo img { width: auto; height: 34px }
.foot-producer span { color: #7f94ae; font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase }
.foot-producer img { height: 22px }

.cookie-banner {
  position: fixed; z-index: 1000; right: 18px; bottom: 18px; left: 18px;
  filter: drop-shadow(0 22px 45px rgba(0, 0, 0, .42));
}
.cookie-banner[hidden] { display: none }
.cookie-banner-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 30px;
  width: min(100%, var(--container)); margin-inline: auto; padding: 24px 26px;
  background: #07182b; border: 1px solid var(--line-2); border-radius: var(--r);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04);
}
.cookie-copy { max-width: 760px }
.cookie-copy .micro { margin: 0 0 8px; color: var(--orange) }
.cookie-copy h2 { margin: 0; font-size: clamp(20px, 2.2vw, 28px) }
.cookie-copy > p:not(.micro) { margin: 10px 0 0; color: var(--muted); font-size: 13px; line-height: 1.6 }
.cookie-copy a { display: inline-block; margin-top: 8px; color: #a9c8ed; font-size: 12px; text-underline-offset: 3px }
.cookie-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px }
.cookie-button {
  min-height: 46px; padding: 0 18px; border: 1px solid var(--line-2); border-radius: var(--r-s);
  color: var(--text); background: transparent; font: inherit; font-size: 13px; font-weight: 800;
  cursor: pointer; transition: border-color .2s, background .2s, transform .2s;
}
.cookie-button:hover { border-color: #7f94ae; background: rgba(255, 255, 255, .05) }
.cookie-button:active { transform: translateY(1px) }
.cookie-button:focus-visible { outline: 3px solid #7cb8ff; outline-offset: 3px }
.cookie-button-primary { color: #131d29; background: var(--orange); border-color: var(--orange) }
.cookie-button-primary:hover { background: var(--orange-2); border-color: var(--orange-2) }/* Kreator ma cztery kroki, nie trzy jak sciezka danych w d6Tanku. */

.steps-4 { grid-template-columns: repeat(4, 1fr) }

.wdrozenie {
  display: grid; gap: 14px; padding: 26px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.wdrozenie h3 {
  margin: 0; color: #7f94ae;
  font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase;
}
.wdrozenie ul { display: grid; gap: 12px; padding: 0; margin: 0; list-style: none }
.wdrozenie li { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: baseline; color: var(--muted); font-size: 13px }
.wdrozenie li strong { color: var(--text); font-size: 14px }
.wdrozenie .dot { transform: translateY(-2px) }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease-out, transform .6s ease-out }
.reveal.visible { opacity: 1; transform: none }

/* Znak d6Order jest poziomy i szeroki, wiec miedzy 980 a 1180 px pasek
   nawigacji przestaje sie miescic wczesniej niz przy pionowym znaku d6Tanka. */
@media (max-width: 1180px) {
  .brand img, .site-header.na-gorze .brand img { height: 40px }
  .nav nav { gap: 18px }
}

@media (max-width: 980px) {/* Linki nie mieszcza sie juz w pasku, wiec chowaja sie za przyciskiem.
     Samo `display: none` bez przycisku zostawialo szesc sekcji nieosiagalnych
     na telefonie inaczej niz przewijaniem calej strony. */
  
  .nav nav {
    display: none; position: absolute; inset: 100% 0 auto; flex-direction: column; gap: 0;
    padding: 8px 0; background: var(--bg-2); border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px rgba(0, 0, 0, .32);
  }
  .site-header.menu-otwarte .nav nav { display: flex }
  .nav nav a { padding: 14px 20px; font-size: 15px }
  .nav nav a:hover { background: rgba(255, 255, 255, .04) }/* Trzy elementy zamiast dwoch, wiec pasek dostaje ciasniejszy odstep. */

  
  .nav { gap: 12px }
  .nav-toggle { display: grid }
  .site-header.menu-otwarte .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg) }
  .site-header.menu-otwarte .nav-toggle span:nth-child(2) { opacity: 0 }
  .site-header.menu-otwarte .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg) }

  .hero { padding: 92px 0 80px }
  .faq-grid, .uslugi, .role-split, .na-zamowienie { grid-template-columns: 1fr; gap: 24px }/* Ponizej 980 px karty wracaja do ukladu pionowego i dwoch kolumn: znak obok
     tekstu zostawia na tresc mniej niz 30 znakow w wierszu. */

  
  .suite-grid { grid-template-columns: repeat(2, 1fr) }
  .suite-card, .suite-card-szeroki {
    grid-column: span 1; grid-template-columns: 1fr; grid-template-rows: 170px 1fr auto;
  }
  .suite-card-static, .suite-card-static.suite-card-szeroki { grid-template-rows: 170px 1fr }
  .suite-card-szeroki > img, .suite-card-szeroki > .suite-znak,
  .suite-card-szeroki > div, .suite-card-szeroki > strong { grid-column: 1; grid-row: auto }

  .integr li { grid-template-columns: 1fr; gap: 12px }
  .contact-lines { grid-template-columns: 1fr 1fr; gap: 24px }
  .gap-grid { grid-template-columns: 1fr 1fr }
  .gap-grid li:nth-child(2n) { border-right: 1px solid var(--line) }
  .gap-grid li:nth-child(n+3) { border-top: 1px solid var(--line) }
  .contact-grid { grid-template-columns: 1fr; gap: 32px }
  .steps, .steps-4 { grid-template-columns: 1fr 1fr; gap: 28px }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, var(--container)) }
  .section { padding: 72px 0 }
  .nav { height: 60px }
  .site-header.na-gorze .nav { height: 68px }
  .brand img { height: 32px }
  .site-header.na-gorze .brand img { height: 36px }
  :where(section, main)[id] { scroll-margin-top: 70px }
  .cta-logo { height: 104px; margin-bottom: 26px }
  .hero { padding: 88px 0 64px }/* Ponizej 640 px "na Twojej bazie ERP." przy 36 px nie miesci sie w wierszu
     i lamie sie w polowie. Przy 28 px miesci sie w calosci. */
  
  .hero h1 { font-size: 28px }
  .gap-grid, .suite-grid { grid-template-columns: 1fr }
  .suite-card, .suite-card-static, .suite-card-szeroki { grid-template-rows: 160px 1fr auto }
  .suite-card-static, .suite-card-static.suite-card-szeroki { grid-template-rows: 160px 1fr }
  .suite-card img, .suite-znak { height: 160px }
  .gap-grid li { border-right: 1px solid var(--line) }
  .gap-grid li + li { border-top: 1px solid var(--line) }
  .steps, .steps-4 { grid-template-columns: 1fr }
  .contact-form { grid-template-columns: 1fr; padding: 22px }
  .contact-lines { grid-template-columns: 1fr; gap: 20px }
  .producer { gap: 14px }
  .faq summary { font-size: 15px }
  .cta-section { padding: 84px 0 }
  .hero-meta { grid-template-columns: 1fr }
  .hero-meta li { padding: 18px 0 0; border-left: 0 }
  footer .container { flex-direction: column; justify-content: center; text-align: center; gap: 20px }
  .foot-lines { justify-content: center; gap: 6px 18px }
  .cookie-banner { right: 10px; bottom: 10px; left: 10px }
  .cookie-banner-inner { grid-template-columns: 1fr; gap: 18px; padding: 20px }
  .cookie-actions { display: grid; grid-template-columns: 1fr; justify-content: stretch }
  .cookie-button { width: 100% }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important }
  .reveal { opacity: 1; transform: none }
}
