:root {
  color-scheme: light;
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --line: #d1d5db;
  --line-strong: #9ca3af;
  --text: #111827;
  --muted: #6b7280;
  --muted-dark: #374151;
  --shadow: 0 12px 28px rgba(17, 24, 39, 0.06);
  --container: 1220px;
  --page-x: clamp(18px, 4vw, 56px);
  --section-y: clamp(48px, 6vw, 88px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--surface);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

.app-loading,
.error-state {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 32px;
  color: var(--muted-dark);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  min-height: 76px;
  padding: 12px var(--page-x);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  width: min(var(--container), 100%);
  margin-top: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero-trust span {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: #ffffff;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 750;
  text-align: center;
  overflow-wrap: anywhere;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand span {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 2px solid var(--text);
  background:
    linear-gradient(90deg, transparent 45%, var(--text) 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, var(--text) 45% 55%, transparent 55%);
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.mobile-menu-toggle,
.mobile-menu-panel {
  display: none;
}

.main-nav a,
.header-cta,
.wire-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 13px;
  border: 1px solid var(--line-strong);
  background: var(--surface-soft);
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 650;
  white-space: nowrap;
}

.main-nav a.active,
.header-cta {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.app-frame {
  width: 100%;
  margin: 0 auto;
  padding: 0;
}

.page-preview {
  width: 100%;
  min-width: 0;
}

.wire-section {
  margin: 0;
  display: grid;
  min-height: 360px;
  align-content: center;
  padding: var(--section-y) var(--page-x);
  border: 0;
  background: var(--surface);
  box-shadow: none;
  scroll-margin-top: 98px;
}

.wire-section:nth-child(even) {
  background: #f6f7f8;
}

.wire-section > * {
  width: min(var(--container), 100%);
  margin-right: auto;
  margin-left: auto;
}

.section-head {
  margin-bottom: 24px;
}

.section-head h2,
.wire-section > h2,
.wire-copy-block h3,
.wire-card h3 {
  overflow-wrap: anywhere;
  letter-spacing: 0;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.12;
}

.wire-section > h2,
.wire-h1 {
  margin: 0 0 14px;
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.1;
}

.lead {
  max-width: 880px;
  color: var(--muted-dark);
  font-size: 17px;
}

.wire-section > .lead {
  width: min(var(--container), 100%);
  max-width: var(--container);
}

.wire-section > .lead > * {
  max-width: 880px;
}

.lead p:first-child,
.wire-copy-block p:first-child,
.wire-card p:first-child {
  margin-top: 0;
}

.lead p:last-child,
.wire-copy-block p:last-child,
.wire-card p:last-child {
  margin-bottom: 0;
}

.hero-section {
  min-height: min(760px, calc(100svh - 76px));
  padding-top: clamp(56px, 8vw, 112px);
  padding-bottom: clamp(64px, 9vw, 124px);
  border: 0;
  background: #ffffff;
}

.hero-wire {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  width: min(var(--container), 100%);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(36px, 5vw, 74px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.contact-header-section {
  min-height: min(720px, calc(100svh - 76px));
  padding-top: clamp(34px, 5vw, 72px);
  padding-bottom: clamp(34px, 5vw, 72px);
}

.contact-header-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
  width: min(var(--container), 100%);
}

.contact-header-copy {
  min-width: 0;
}

.contact-header-copy h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 4.5vw, 62px);
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.contact-header-copy .lead {
  max-width: 720px;
  font-size: 18px;
}

.contact-direct-text {
  max-width: 640px;
  margin-top: 18px;
  color: var(--muted-dark);
}

.contact-direct-text p {
  margin: 0;
}

.contact-methods {
  display: grid;
  gap: 0;
  margin-top: 28px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.contact-method {
  min-width: 0;
  padding: 16px 0;
}

.contact-method + .contact-method {
  border-top: 1px solid var(--line);
}

.contact-method span,
.contact-meta span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-method strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(26px, 3.5vw, 46px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.contact-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  max-width: 640px;
  margin-top: 18px;
}

.contact-meta p {
  margin: 0;
  color: var(--muted-dark);
  font-weight: 650;
  overflow-wrap: anywhere;
}

.contact-form-panel {
  width: 100%;
  max-width: 560px;
  justify-self: stretch;
}

.contact-form-panel h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.1;
  letter-spacing: 0;
}

.contact-form-panel .lead {
  max-width: 100%;
  font-size: 14px;
}

.contact-form-panel .lead p {
  margin-top: 0;
}

.wire-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.wire-button {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

.image-placeholder {
  position: relative;
  display: grid;
  min-height: 300px;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    #e5e7eb;
  color: var(--muted-dark);
  text-align: center;
}

.image-placeholder span {
  position: relative;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, 0.82);
  font-weight: 800;
  text-transform: uppercase;
}

.wire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(22px, 3vw, 42px);
  margin-top: 28px;
}

.hero-carousel {
  position: relative;
}

.hero-carousel-track {
  display: flex;
  width: 100%;
  min-width: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.hero-carousel-track::-webkit-scrollbar {
  display: none;
}

.hero-carousel-slide {
  flex: 0 0 100%;
  min-width: 0;
  scroll-snap-align: start;
}

.hero-carousel-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
  gap: clamp(20px, 4vw, 48px);
  align-items: stretch;
  width: min(var(--container), 100%);
  margin: 0 auto;
}

.hero-carousel-copy {
  min-height: 360px;
}

.hero-carousel-label {
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 10px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--muted-dark);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-carousel-media {
  position: relative;
  display: grid;
  min-height: 360px;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #e5e7eb;
}

.hero-carousel-media::before,
.hero-carousel-media::after,
.hero-carousel-media span {
  position: absolute;
  display: block;
  content: "";
}

.hero-carousel-media::before {
  inset: 0;
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.62) calc(50% - 1px), rgba(255, 255, 255, 0.62) calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), rgba(255, 255, 255, 0.46) calc(50% - 1px), rgba(255, 255, 255, 0.46) calc(50% + 1px), transparent calc(50% + 1px));
}

.hero-carousel-media::after {
  right: 24px;
  bottom: 24px;
  left: 24px;
  height: 34%;
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.38);
}

.hero-carousel-media span {
  top: 26px;
  right: 26px;
  width: 38%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.32);
}

.hero-carousel-media-italy {
  background:
    radial-gradient(circle at 74% 26%, rgba(244, 63, 94, 0.36), transparent 28%),
    radial-gradient(circle at 28% 68%, rgba(34, 197, 94, 0.33), transparent 31%),
    linear-gradient(135deg, #f7f3e7, #d8e8d6 48%, #ece1d0);
}

.hero-carousel-media-horeca {
  background:
    radial-gradient(circle at 76% 24%, rgba(245, 158, 11, 0.34), transparent 30%),
    radial-gradient(circle at 25% 75%, rgba(148, 163, 184, 0.42), transparent 34%),
    linear-gradient(135deg, #eef2f7, #e7dccb 48%, #d8dce3);
}

.hero-carousel-media-retail {
  background:
    radial-gradient(circle at 72% 28%, rgba(59, 130, 246, 0.28), transparent 30%),
    radial-gradient(circle at 27% 72%, rgba(22, 163, 74, 0.28), transparent 34%),
    linear-gradient(135deg, #edf2f7, #ddd8c8 48%, #d8e3de);
}

.hero-carousel-arrow {
  position: absolute;
  display: inline-grid;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 48px;
  margin: 0;
  place-items: center;
  border: 1px solid var(--text);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hero-carousel-arrow-prev {
  left: clamp(10px, 2vw, 26px);
}

.hero-carousel-arrow-next {
  right: clamp(10px, 2vw, 26px);
}

.hero-carousel-arrow:focus-visible,
.hero-carousel-dot:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
}

.hero-carousel-arrow:disabled,
.hero-carousel-dot:disabled {
  border-color: var(--line);
  color: var(--line-strong);
  cursor: default;
}

.hero-carousel-dots {
  display: flex;
  width: auto;
  margin: 26px auto 0;
  justify-content: center;
  gap: 9px;
}

.hero-carousel-dot {
  display: block;
  width: 12px;
  height: 12px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: #ffffff;
  cursor: pointer;
}

.hero-carousel-dot.active,
.hero-carousel-dot[aria-current="true"] {
  border-color: var(--text);
  background: var(--text);
}

.hero-carousel-section > .hero-carousel-arrow {
  width: 48px;
  margin: 0;
}

.hero-carousel-section > .hero-carousel-dots {
  width: auto;
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 30px);
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-card {
  display: flex;
  min-height: 260px;
  flex-direction: column;
  padding: clamp(20px, 2.4vw, 28px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-card:nth-child(2) {
  background: #fbfcfd;
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-card:nth-child(3) {
  background: #f8fafc;
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-card h3 {
  font-size: clamp(21px, 2vw, 26px);
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .inline-cta {
  margin-top: auto;
  padding-top: 18px;
}

[id="4-trzy-kierunki-wspo-pracy-b2b"] .inline-cta span {
  border-color: var(--text);
  background: var(--text);
  color: #ffffff;
}

[id="5-rynek-w-oski-jako-przewaga-polprim"] {
  grid-template-columns: minmax(var(--page-x), 1fr) minmax(0, 560px) minmax(320px, 560px) minmax(var(--page-x), 1fr);
  grid-template-rows: auto auto auto;
  column-gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding-right: 0;
  padding-left: 0;
}

[id="5-rynek-w-oski-jako-przewaga-polprim"] > * {
  grid-column: 2;
  width: 100%;
  max-width: none;
  margin-right: 0;
  margin-left: 0;
}

[id="5-rynek-w-oski-jako-przewaga-polprim"]::after {
  display: grid;
  grid-column: 3;
  grid-row: 1 / span 3;
  min-height: clamp(420px, 43vw, 620px);
  place-items: center;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    #e5e7eb;
  color: var(--muted-dark);
  content: "image placeholder";
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

[id="5-rynek-w-oski-jako-przewaga-polprim"] .wire-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

[id="5-rynek-w-oski-jako-przewaga-polprim"] .wire-card {
  min-height: 150px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

[id="7-co-warto-ustalic-na-poczatku"] .wire-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  counter-reset: brief-card;
}

[id="7-co-warto-ustalic-na-poczatku"] .wire-card {
  position: relative;
  min-height: 190px;
  padding: 56px 18px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  counter-increment: brief-card;
}

[id="7-co-warto-ustalic-na-poczatku"] .wire-card::before {
  position: absolute;
  top: 18px;
  left: 18px;
  color: var(--line-strong);
  content: counter(brief-card, decimal-leading-zero);
  font-size: 24px;
  font-weight: 850;
  line-height: 1;
}

[id="7-co-warto-ustalic-na-poczatku"] .wire-card h3 {
  font-size: 19px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  margin-top: 24px;
  border: 1px solid var(--line);
  background: var(--line);
}

.feature-strip span {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: #ffffff;
  color: var(--muted-dark);
  font-size: 15px;
  font-weight: 750;
  text-align: center;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 34px);
  margin-top: 32px;
}

.process-step {
  position: relative;
  min-width: 0;
  min-height: 210px;
  padding-top: 72px;
}

.process-step span {
  position: absolute;
  top: -18px;
  left: 0;
  color: #d1d5db;
  font-size: clamp(58px, 6vw, 96px);
  font-weight: 850;
  line-height: 1;
}

.process-step i {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 58px;
  height: 58px;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    linear-gradient(45deg, transparent calc(50% - 1px), #c4c7cc calc(50% - 1px), #c4c7cc calc(50% + 1px), transparent calc(50% + 1px)),
    #eef0f2;
}

.process-steps-icons .process-step {
  padding-top: 84px;
}

.process-step h3 {
  position: relative;
  margin: 0 0 12px;
  font-size: 21px;
  line-height: 1.15;
  letter-spacing: 0;
}

.process-step p {
  position: relative;
  margin: 0;
  color: var(--muted-dark);
}

[id="7-wartosci-polprim"] .wire-grid {
  counter-reset: value-card;
}

[id="7-wartosci-polprim"] .wire-card {
  position: relative;
  min-height: 230px;
  padding-top: 78px;
  counter-increment: value-card;
}

[id="7-wartosci-polprim"] .wire-card::before {
  position: absolute;
  top: -10px;
  left: 0;
  color: #d1d5db;
  content: counter(value-card, decimal-leading-zero);
  font-size: clamp(58px, 6vw, 92px);
  font-weight: 850;
  line-height: 1;
}

[id="7-wartosci-polprim"] .wire-card h3,
[id="7-wartosci-polprim"] .wire-card p {
  position: relative;
}

.wire-card,
.wire-copy-block {
  min-width: 0;
  min-height: 120px;
  padding: 0;
  border: 0;
  background: transparent;
}

.wire-card h3,
.wire-copy-block h3 {
  margin: 0 0 10px;
  font-size: 20px;
  line-height: 1.2;
}

.wire-card p,
.wire-copy-block p,
.wire-card li,
.wire-copy-block li {
  color: var(--muted-dark);
}

.wire-card ul,
.wire-copy-block ul,
.wire-card ol,
.wire-copy-block ol,
.lead ul,
.lead ol {
  padding-left: 20px;
}

.inline-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.inline-cta span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.wire-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
  padding: 18px;
  border: 1px dashed var(--line-strong);
  background: #f9fafb;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #111827;
  color: #ffffff;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(180px, 0.8fr) minmax(220px, 0.8fr);
  gap: clamp(28px, 5vw, 72px);
  width: min(var(--container), calc(100% - (var(--page-x) * 2)));
  margin: 0 auto;
  padding: 42px 0 34px;
}

.footer-brand,
.footer-nav,
.footer-contact {
  min-width: 0;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0;
}

.footer-brand span {
  display: inline-block;
  width: 34px;
  height: 34px;
  border: 2px solid #ffffff;
  background:
    linear-gradient(90deg, transparent 45%, #ffffff 45% 55%, transparent 55%),
    linear-gradient(0deg, transparent 45%, #ffffff 45% 55%, transparent 55%);
}

.footer-brand-block p {
  max-width: 420px;
  margin: 16px 0 0;
  color: #d1d5db;
}

.footer-nav,
.footer-contact {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-nav {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 24px;
}

.footer-nav strong,
.footer-contact strong {
  margin-bottom: 4px;
  font-size: 13px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-nav strong {
  grid-column: 1 / -1;
}

.footer-nav a,
.footer-mail,
.footer-phone,
.footer-bottom a {
  color: #d1d5db;
}

.footer-nav a,
.footer-mail,
.footer-phone {
  overflow-wrap: anywhere;
}

.footer-mail-block,
.footer-phone-block {
  display: grid;
  gap: 3px;
}

.footer-mail-block span,
.footer-phone-block span {
  color: #9ca3af;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-cta {
  display: inline-flex;
  min-height: 38px;
  width: fit-content;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
  padding: 8px 12px;
  border: 1px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: space-between;
  width: min(var(--container), calc(100% - (var(--page-x) * 2)));
  margin: 0 auto;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #d1d5db;
  font-size: 13px;
}

.footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.wire-form label {
  display: grid;
  gap: 7px;
  color: var(--muted-dark);
  font-size: 14px;
  font-weight: 700;
}

.wire-form i {
  display: block;
  height: 44px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.wire-form .form-row-wide {
  grid-column: 1 / -1;
}

.wire-form .form-row-wide i {
  height: 92px;
}

.form-check {
  grid-column: 1 / -1;
  display: flex !important;
  grid-template-columns: none;
  flex-direction: row;
  align-items: center;
}

.form-check b {
  width: 20px;
  height: 20px;
  border: 1px solid var(--line-strong);
  background: #ffffff;
}

.wire-form-compact {
  gap: 12px;
  margin-top: 14px;
  padding: 18px;
}

.wire-form.wire-form-compact label {
  gap: 6px;
  font-size: 13px;
}

.wire-form.wire-form-compact i {
  height: 40px;
}

.wire-form.wire-form-compact .form-row-wide i {
  height: 76px;
}

.wire-form-compact .wire-button {
  min-height: 40px;
  padding: 9px 12px;
  font-size: 14px;
}

.wire-form-compact .form-check {
  font-size: 13px;
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .brand {
    grid-column: 1;
  }

  .header-cta {
    grid-column: 2;
  }

  .main-nav {
    grid-column: 1 / -1;
    justify-content: start;
  }

  .hero-trust {
    grid-template-columns: repeat(5, minmax(180px, 1fr));
    overflow-x: auto;
  }

  .app-frame {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: sticky;
    min-height: 64px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 8px;
    padding: 10px 12px;
  }

  .brand {
    min-width: 0;
    font-size: 16px;
  }

  .brand span {
    width: 30px;
    height: 30px;
  }

  .header-cta {
    min-height: 34px;
    padding: 7px 9px;
    font-size: 12px;
  }

  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-grid;
    width: 40px;
    height: 40px;
    place-items: center;
    gap: 4px;
    border: 1px solid var(--text);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text);
    cursor: pointer;
    padding: 9px;
  }

  .mobile-menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition:
      transform 180ms ease,
      opacity 180ms ease;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .mobile-menu-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 12px;
    left: 12px;
    z-index: 30;
    display: grid;
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 18px 38px rgba(17, 24, 39, 0.14);
  }

  .mobile-menu-panel[hidden] {
    display: none;
  }

  .mobile-menu-links {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--line);
  }

  .mobile-menu-links a {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: space-between;
    padding: 13px 14px;
    background: #ffffff;
    color: var(--muted-dark);
    font-size: 15px;
    font-weight: 750;
  }

  .mobile-menu-links a::after {
    color: var(--line-strong);
    content: ">";
    font-weight: 850;
  }

  .mobile-menu-links a.active {
    background: var(--text);
    color: #ffffff;
  }

  .mobile-menu-links a.active::after {
    color: #ffffff;
  }

  .mobile-menu-contact {
    display: grid;
    gap: 8px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
  }

  .mobile-menu-contact span {
    color: var(--muted);
    font-size: 12px;
    font-weight: 850;
    text-transform: uppercase;
  }

  .mobile-menu-contact a {
    overflow-wrap: anywhere;
    color: var(--text);
    font-weight: 750;
  }

  .mobile-menu-contact .mobile-menu-cta {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    margin-top: 4px;
    border: 1px solid var(--text);
    border-radius: 8px;
    background: var(--text);
    color: #ffffff;
  }

  .hero-trust {
    width: 100%;
    margin-top: 24px;
  }

  .hero-trust span {
    min-height: 52px;
    font-size: 12px;
  }

  .app-frame {
    padding: 0;
  }

  .wire-section {
    display: block;
    min-height: 0;
    padding: 38px 16px;
  }

  .hero-section {
    min-height: 0;
  }

  .hero-wire {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    min-height: 0;
  }

  .hero-copy h1 {
    font-size: 38px;
  }

  .image-placeholder {
    min-height: 230px;
  }

  .contact-header-section {
    padding-top: 34px;
    padding-bottom: 34px;
  }

  .contact-header-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .contact-header-copy h1 {
    font-size: 36px;
  }

  .contact-header-copy .lead {
    font-size: 16px;
  }

  .contact-method strong {
    font-size: clamp(24px, 8vw, 34px);
  }

  .contact-meta {
    grid-template-columns: 1fr;
  }

  .contact-form-panel {
    max-width: none;
    justify-self: stretch;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    width: calc(100% - 32px);
    padding: 34px 0 28px;
  }

  .footer-brand-block p {
    max-width: none;
  }

  .footer-bottom {
    width: calc(100% - 32px);
    align-items: flex-start;
    flex-direction: column;
  }

  .footer-bottom-links {
    justify-content: flex-start;
    text-align: left;
  }

  .wire-grid,
  .wire-form,
  .feature-strip,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero-carousel-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-carousel-media {
    min-height: 250px;
  }

  .hero-carousel-media::after {
    right: 18px;
    bottom: 18px;
    left: 18px;
  }

  .hero-carousel-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-carousel-arrow-prev {
    left: 8px;
  }

  .hero-carousel-arrow-next {
    right: 8px;
  }

  .hero-carousel-dots {
    margin-top: 20px;
  }

  [id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-grid {
    grid-template-columns: 1fr;
  }

  [id="5-rynek-w-oski-jako-przewaga-polprim"] > * {
    width: min(var(--container), 100%);
    margin-right: auto;
    margin-left: auto;
  }

  [id="5-rynek-w-oski-jako-przewaga-polprim"] .wire-grid {
    grid-template-columns: 1fr;
  }

  [id="7-co-warto-ustalic-na-poczatku"] .wire-grid {
    grid-template-columns: 1fr;
  }

  [id="7-co-warto-ustalic-na-poczatku"] .wire-card {
    min-height: 0;
  }

  [id="5-rynek-w-oski-jako-przewaga-polprim"]::after {
    display: grid;
    min-height: 280px;
    margin-top: 28px;
  }

  .wire-card,
  .wire-copy-block {
    min-height: 0;
  }

  [id="7-wartosci-polprim"] .wire-card {
    min-height: 0;
    padding-top: 70px;
  }

  [id="7-wartosci-polprim"] .wire-card::before {
    top: -6px;
  }

  .feature-strip span {
    justify-content: flex-start;
    min-height: 64px;
    text-align: left;
  }

  .process-step {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 0 16px;
    min-height: 0;
    padding-top: 18px;
  }

  .process-step span {
    position: static;
    grid-row: 1 / span 2;
    font-size: 54px;
  }

  .process-steps-icons .process-step {
    padding-top: 18px;
  }

  .process-step i {
    position: static;
    grid-row: 1 / span 2;
    width: 54px;
    height: 54px;
  }
}

@media (min-width: 761px) and (max-width: 1220px) {
  .wire-grid,
  .feature-strip,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [id="4-trzy-kierunki-wspo-pracy-b2b"] .wire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  [id="7-co-warto-ustalic-na-poczatku"] .wire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

body.comments-active {
  padding-right: 0;
}

.comments-root {
  position: fixed;
  z-index: 80;
  inset: 0 0 auto auto;
  pointer-events: none;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

.comments-toggle {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 82;
  display: inline-flex;
  min-width: 128px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 8px 12px;
  border: 1px solid #111827;
  border-radius: 8px;
  background: #111827;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.22);
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  pointer-events: auto;
}

.comments-toggle [data-comments-count] {
  display: inline-grid;
  min-width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-size: 12px;
}

.comments-panel {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 81;
  display: flex;
  width: min(360px, calc(100vw - 14px));
  flex-direction: column;
  overflow: hidden;
  border-left: 1px solid #d1d5db;
  background: #ffffff;
  box-shadow: -20px 0 44px rgba(17, 24, 39, 0.16);
  pointer-events: auto;
  transform: translateX(105%);
  transition: transform 180ms ease;
}

.comments-root.is-open .comments-panel {
  transform: translateX(0);
}

.comments-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 54px;
  padding: 10px 12px;
  border-bottom: 1px solid #d1d5db;
}

.comments-panel-head strong,
.comments-panel-head span {
  display: block;
}

.comments-panel-head strong {
  font-size: 15px;
  line-height: 1.1;
}

.comments-panel-head span {
  margin-top: 2px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

.comments-panel-head button {
  display: inline-grid;
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #f8fafc;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-size: 18px;
  line-height: 1;
}

.comments-form {
  display: grid;
  flex: 0 0 auto;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #d1d5db;
  background: #f8fafc;
}

.comments-form label,
.comments-author-grid {
  min-width: 0;
}

.comments-form label {
  display: grid;
  gap: 4px;
}

.comments-form label span {
  color: #374151;
  font-size: 10px;
  font-weight: 800;
}

.comments-author-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.comments-form input,
.comments-form textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid #cbd5e1;
  border-radius: 7px;
  background: #ffffff;
  color: #111827;
  font: inherit;
  font-size: 12px;
}

.comments-form input {
  height: 32px;
  padding: 6px 8px;
}

.comments-form textarea {
  min-height: 56px;
  max-height: 100px;
  resize: vertical;
  padding: 7px 8px;
}

.comments-selection {
  max-height: 64px;
  overflow: auto;
  border: 1px dashed #cbd5e1;
  border-radius: 7px;
  padding: 7px 8px;
  background: #ffffff;
  color: #6b7280;
  font-size: 11px;
  line-height: 1.35;
}

.comments-selection.has-selection {
  border-style: solid;
  border-color: #facc15;
  background: #fefce8;
  color: #374151;
}

.comments-selection strong {
  display: block;
  margin-bottom: 3px;
  color: #111827;
}

.comments-message {
  min-height: 15px;
  margin: 0;
  color: #6b7280;
  font-size: 11px;
  font-weight: 700;
}

.comments-message[data-type="warn"] {
  color: #b91c1c;
}

.comments-message[data-type="success"] {
  color: #047857;
}

.comments-submit {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid #111827;
  border-radius: 7px;
  background: #111827;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
}

.comments-list {
  display: flex;
  min-height: 0;
  flex: 1 1 auto;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 10px 12px 70px;
  scrollbar-width: thin;
  scrollbar-color: #9ca3af #f3f4f6;
}

.comments-list::-webkit-scrollbar,
.comments-selection::-webkit-scrollbar,
.comment-card-body p::-webkit-scrollbar,
.comment-card-body q::-webkit-scrollbar {
  width: 8px;
}

.comments-list::-webkit-scrollbar-thumb,
.comments-selection::-webkit-scrollbar-thumb,
.comment-card-body p::-webkit-scrollbar-thumb,
.comment-card-body q::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #9ca3af;
}

.comments-list::-webkit-scrollbar-track,
.comments-selection::-webkit-scrollbar-track,
.comment-card-body p::-webkit-scrollbar-track,
.comment-card-body q::-webkit-scrollbar-track {
  background: #f3f4f6;
}

.comments-empty {
  margin: 6px 0 0;
  color: #6b7280;
  font-size: 12px;
}

.comment-card {
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  background: #ffffff;
}

.comment-card.is-active {
  border-color: #111827;
  box-shadow: 0 0 0 2px rgba(17, 24, 39, 0.08);
}

.comment-card.is-stale {
  background: #f8fafc;
}

.comment-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-items: stretch;
}

.comment-card-jump {
  display: grid;
  width: 100%;
  min-width: 0;
  gap: 3px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 8px 0 8px 10px;
  text-align: left;
}

.comment-card-jump:disabled {
  cursor: default;
}

.comment-card-toggle {
  display: inline-grid;
  width: 30px;
  min-height: 100%;
  place-items: center;
  border: 0;
  border-left: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #374151;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 850;
  line-height: 1;
}

.comment-card-toggle:hover {
  background: #eef2f7;
}

.comment-card-meta {
  display: flex;
  min-width: 0;
  align-items: baseline;
  gap: 7px;
}

.comment-card-meta strong {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-card-meta time {
  flex: 0 0 auto;
  color: #6b7280;
  font-size: 10px;
  font-weight: 700;
}

.comment-card-preview {
  overflow: hidden;
  color: #374151;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.comment-card-body {
  display: grid;
  gap: 7px;
  border-top: 1px solid #eef2f7;
  padding: 8px 10px;
}

.comment-card-body[hidden],
.comment-card-footer[hidden] {
  display: none;
}

.comment-card-body p {
  max-height: 70px;
  margin: 0;
  overflow-y: auto;
  padding-right: 3px;
  color: #111827;
  font-size: 12px;
  line-height: 1.35;
  scrollbar-width: thin;
}

.comment-card-body q {
  display: block;
  max-height: 62px;
  margin: 0;
  overflow-y: auto;
  padding-right: 3px;
  padding-left: 8px;
  border-left: 3px solid #facc15;
  color: #374151;
  font-size: 11px;
  line-height: 1.35;
  quotes: none;
  scrollbar-width: thin;
}

.comment-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 10px;
  border-top: 1px solid #e5e7eb;
  background: #f8fafc;
  color: #6b7280;
  font-size: 10px;
  font-weight: 750;
}

.comment-card-actions {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 4px;
}

.comment-status-toggle {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #374151;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 3px 8px;
}

.comment-card.is-new .comment-status-toggle {
  border-color: #facc15;
  background: #fefce8;
  color: #854d0e;
}

.comment-card.is-done .comment-status-toggle {
  border-color: #86efac;
  background: #f0fdf4;
  color: #166534;
}

.comment-card-actions button {
  border: 1px solid #d1d5db;
  border-radius: 999px;
  background: #ffffff;
  color: #111827;
  cursor: pointer;
  font: inherit;
  font-weight: 850;
  padding: 3px 8px;
}

.comment-card-actions button:disabled {
  color: #9ca3af;
  cursor: default;
}

.comment-card-actions button[data-comment-delete] {
  border-color: transparent;
  background: transparent;
  color: #991b1b;
}

.comments-review-mode ::selection {
  background: rgba(250, 204, 21, 0.55);
}

body.comments-panel-open .comments-review-mode [data-comment-block-id]:hover {
  outline: 2px solid rgba(17, 24, 39, 0.34);
  outline-offset: 4px;
}

body.comments-panel-open .comments-review-mode [data-comment-block-id] {
  cursor: text;
}

body.comments-panel-open .comments-review-mode .comment-block-selected {
  outline: 2px solid #facc15;
  outline-offset: 5px;
  background-color: rgba(254, 252, 232, 0.72);
}

.comment-highlight {
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.52);
  box-shadow: inset 0 -1px 0 rgba(161, 98, 7, 0.28);
  color: inherit;
}

.comment-draft-highlight {
  border-radius: 3px;
  background: rgba(250, 204, 21, 0.72);
  box-shadow:
    0 0 0 2px rgba(250, 204, 21, 0.26),
    inset 0 -1px 0 rgba(161, 98, 7, 0.3);
  color: inherit;
}

.comment-highlight.is-active {
  background: rgba(250, 204, 21, 0.82);
  box-shadow:
    0 0 0 2px rgba(17, 24, 39, 0.18),
    inset 0 -1px 0 rgba(161, 98, 7, 0.38);
}

@media (max-width: 760px) {
  .comments-toggle {
    right: 12px;
    bottom: 12px;
    min-width: 120px;
  }

  .comments-panel {
    width: min(100vw, 360px);
  }

  .comments-author-grid {
    grid-template-columns: 1fr;
  }
}
