:root {
  --ink: #17130f;
  --coal: #080706;
  --coal-2: #11100d;
  --paper: #f8f3ea;
  --white: #ffffff;
  --line: #e5d9c8;
  --line-dark: rgba(232, 173, 24, 0.22);
  --muted: #6f6256;
  --gold: #d0902c;
  --gold-dark: #a06f1e;
  --sage: #dbe2d0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  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;
}

img {
  display: block;
  max-width: 100%;
}

button,
input,
select,
textarea {
  font: inherit;
}

.b2b-inner {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.b2b-topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 64px;
  padding: 12px 40px;
  background: rgba(8, 7, 6, 0.94);
  color: #fff;
  backdrop-filter: blur(10px);
}

.b2b-brand {
  font-size: 18px;
  font-weight: 950;
  letter-spacing: 0;
}

.b2b-brand span {
  color: var(--gold);
}

.b2b-topbar nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
  font-weight: 850;
}

.b2b-privacy-notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 80;
  width: min(460px, calc(100vw - 40px));
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.24);
  font-size: 14px;
}

.b2b-privacy-notice p {
  margin: 0;
}

.b2b-privacy-notice p a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.b2b-privacy-notice div {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 14px;
}

.b2b-privacy-notice button {
  min-height: 38px;
  padding: 0 12px;
  border: 1px solid var(--ink);
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
}

.b2b-privacy-notice [data-b2b-analytics-accept] {
  border-color: var(--gold);
  background: var(--gold);
  color: #1a1308;
}

.b2b-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--gold);
  border-radius: 8px;
  color: var(--gold);
}

.b2b-hero {
  position: relative;
  isolation: isolate;
  min-height: 720px;
  overflow: hidden;
  background:
    radial-gradient(circle at 76% 24%, rgba(255, 242, 216, 0.18), transparent 25%),
    radial-gradient(circle at 88% 70%, rgba(232, 173, 24, 0.12), transparent 24%),
    linear-gradient(105deg, #030302 0%, var(--coal) 56%, #17110a 100%);
}

.b2b-hero-pack {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.b2b-hero-pack picture,
.b2b-hero-pack img {
  width: 100%;
  height: 100%;
}

.b2b-hero-pack img {
  object-fit: contain;
  object-position: right center;
  padding: 18px max(34px, calc((100vw - 1190px) / 2)) 14px 42vw;
  filter: drop-shadow(0 34px 60px rgba(0, 0, 0, 0.72));
}

.b2b-hero-light {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 7, 6, 0.99) 0%, rgba(8, 7, 6, 0.92) 38%, rgba(8, 7, 6, 0.2) 70%, rgba(8, 7, 6, 0.04) 100%),
    linear-gradient(0deg, rgba(8, 7, 6, 0.46), transparent 38%);
}

.b2b-hero-copy {
  width: min(690px, 92vw);
  padding: 78px 40px 82px;
  color: #fff;
}

.b2b-hero-copy h1 {
  margin: 0;
  font-size: 112px;
  line-height: 0.84;
  font-weight: 950;
  letter-spacing: 0;
}

.b2b-hero-copy h1 span {
  display: block;
}

.b2b-hero-copy h1 span + span {
  color: var(--gold);
}

.b2b-visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.b2b-hero-line {
  max-width: 590px;
  margin: 32px 0 0;
  color: var(--gold);
  font-size: 29px;
  line-height: 1.14;
  font-weight: 900;
}

.b2b-hero-text {
  max-width: 590px;
  margin: 18px 0 0;
  color: #efe4d0;
  font-size: 18px;
  line-height: 1.62;
  font-weight: 650;
}

.b2b-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.b2b-button,
.b2b-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  font-weight: 950;
  cursor: pointer;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease;
}

.b2b-button-primary,
.b2b-submit {
  background: var(--gold);
  color: #1e1604;
  box-shadow: 0 16px 36px -20px rgba(232, 173, 24, 0.88);
}

.b2b-button-primary:hover,
.b2b-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px -20px rgba(232, 173, 24, 1);
}

.b2b-button-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.36);
}

.b2b-button-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  transform: translateY(-1px);
}

.b2b-section,
.b2b-shelf-section,
.b2b-sample-section,
.b2b-form-section {
  padding: 84px 0;
}

.b2b-section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.b2b-section-head h2,
.b2b-shelf-copy h2,
.b2b-sample-copy h2,
.b2b-form-copy h2 {
  margin: 0;
  font-size: 42px;
  line-height: 1.08;
  font-weight: 920;
  letter-spacing: 0;
}

.b2b-shelf-section {
  background: var(--coal);
  color: #fff;
}

.b2b-shelf-photo {
  margin: 0;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  overflow: hidden;
  background: #080706;
  box-shadow: 0 26px 72px -48px #000;
}

.b2b-shelf-photo picture,
.b2b-shelf-photo img,
.b2b-sample-photo picture,
.b2b-sample-photo img {
  width: 100%;
  height: 100%;
}

.b2b-shelf-photo img,
.b2b-sample-photo img {
  object-fit: cover;
}

.b2b-shelf-copy {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(280px, 1fr);
  gap: 24px 60px;
  align-items: start;
  margin-top: 40px;
}

.b2b-shelf-copy h2 {
  color: #fff;
}

.b2b-shelf-copy p {
  grid-column: 2;
  margin: 0;
  color: #d9cbb5;
  font-size: 19px;
  line-height: 1.6;
  font-weight: 700;
}

.b2b-partners {
  background: var(--paper);
}

.b2b-icon-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.b2b-icon-grid article {
  min-height: 184px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.b2b-icon {
  width: 56px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: rgba(232, 173, 24, 0.12);
  border: 1px solid rgba(232, 173, 24, 0.34);
  color: var(--gold);
}

.b2b-icon svg {
  width: 34px;
  height: 34px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.b2b-icon-grid h3 {
  margin: 26px 0 0;
  font-size: 22px;
  line-height: 1.16;
  font-weight: 900;
}

.b2b-line {
  margin: 34px 0 0;
  font-size: 24px;
  line-height: 1.25;
  font-weight: 950;
}

.b2b-sample-section {
  background: #fff;
}

.b2b-sample-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.76fr);
  gap: 54px;
  align-items: center;
}

.b2b-sample-photo {
  margin: 0;
  aspect-ratio: 10 / 7;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--coal);
}

.b2b-sample-copy p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
  font-weight: 650;
}

.b2b-partner-kit {
  background: var(--paper);
}

.b2b-tile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.b2b-tile-grid div {
  position: relative;
  min-height: 92px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 18px 18px 48px;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 900;
}

.b2b-tile-grid div::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 16px;
  height: 9px;
  border-left: 3px solid var(--gold-dark);
  border-bottom: 3px solid var(--gold-dark);
  transform: translateY(-62%) rotate(-45deg);
}

.b2b-form-section {
  background: var(--coal);
  color: #fff;
  scroll-margin-top: 76px;
}

.b2b-form-layout {
  width: min(1060px, calc(100% - 40px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(260px, 0.58fr) minmax(0, 1fr);
  gap: 50px;
  align-items: start;
}

.b2b-form-copy {
  position: sticky;
  top: 92px;
}

.b2b-form-copy p {
  margin: 18px 0 22px;
  color: #d6c8b0;
  font-size: 18px;
  line-height: 1.6;
  font-weight: 650;
}

.b2b-form-copy a {
  color: var(--gold);
  font-size: 18px;
  font-weight: 900;
}

.b2b-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  padding: 28px;
}

.b2b-form label:not(.b2b-consent) {
  display: grid;
  gap: 8px;
}

.b2b-form label > span {
  color: #4c4138;
  font-size: 13px;
  font-weight: 900;
}

.b2b-form input:not([type="checkbox"]):not([type="hidden"]),
.b2b-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid #d5c7b2;
  border-radius: 8px;
  background: #fffdf8;
  color: var(--ink);
  padding: 10px 12px;
}

.b2b-form input:focus,
.b2b-form select:focus {
  outline: 2px solid var(--gold);
  outline-offset: 0;
  border-color: var(--gold);
}

.b2b-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 2px;
}

.b2b-consent input {
  margin-top: 3px;
  accent-color: var(--gold-dark);
}

.b2b-consent span {
  color: #4c4138;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 650;
}

.b2b-submit {
  width: fit-content;
  margin-top: 4px;
}

.b2b-submit:disabled {
  cursor: wait;
  opacity: 0.68;
  transform: none;
}

.b2b-form-status {
  min-height: 22px;
  margin: 0;
  font-size: 14px;
  font-weight: 850;
}

.b2b-form-status.is-ok {
  color: #1d7a4d;
}

.b2b-form-status.is-error {
  color: #b3382b;
}

.b2b-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.b2b-footer {
  background: var(--coal-2);
  color: #e9deca;
  border-top: 1px solid var(--line-dark);
}

.b2b-footer-row {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  font-weight: 850;
}

.b2b-footer a:hover {
  color: var(--gold);
}

.b2b-footer-legal {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 clamp(18px, 5vw, 40px) 22px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.5;
}

@media (min-width: 1024px) {
  .b2b-hero-copy {
    margin-left: max(40px, calc((100vw - 1160px) / 2));
    padding-left: 0;
  }
}

@media (max-width: 1100px) {
  .b2b-icon-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .b2b-tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .b2b-topbar {
    min-height: 60px;
    padding: 10px 20px;
  }

  .b2b-topbar nav > a:first-child {
    display: none;
  }

  .b2b-hero {
    min-height: 760px;
  }

  .b2b-hero-pack img {
    object-position: 78% top;
    padding: 18px 0 315px 30vw;
    opacity: 0.72;
  }

  .b2b-hero-light {
    background:
      linear-gradient(180deg, rgba(8, 7, 6, 0.16) 0%, rgba(8, 7, 6, 0.54) 41%, rgba(8, 7, 6, 0.98) 67%, rgba(8, 7, 6, 1) 100%),
      linear-gradient(90deg, rgba(8, 7, 6, 0.92), rgba(8, 7, 6, 0.22));
  }

  .b2b-hero-copy {
    padding: 355px 22px 42px;
  }

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

  .b2b-hero-line {
    font-size: 25px;
  }

  .b2b-hero-text {
    font-size: 17px;
    line-height: 1.54;
  }

  .b2b-shelf-copy,
  .b2b-sample-layout,
  .b2b-form-layout {
    grid-template-columns: 1fr;
  }

  .b2b-shelf-copy p {
    grid-column: auto;
  }

  .b2b-form-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .b2b-inner,
  .b2b-form-layout {
    width: min(100% - 28px, 1160px);
  }

  .b2b-section,
  .b2b-shelf-section,
  .b2b-sample-section,
  .b2b-form-section {
    padding: 60px 0;
  }

  .b2b-hero {
    min-height: 790px;
  }

  .b2b-hero-pack img {
    padding: 16px 0 348px 25vw;
    opacity: 0.78;
  }

  .b2b-hero-copy {
    padding: 382px 18px 36px;
  }

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

  .b2b-hero-line {
    margin-top: 22px;
    font-size: 21px;
  }

  .b2b-hero-text {
    margin-top: 14px;
    font-size: 15px;
  }

  .b2b-actions {
    flex-direction: column;
    margin-top: 24px;
  }

  .b2b-button,
  .b2b-submit {
    width: 100%;
    min-height: 50px;
    padding: 0 16px;
    text-align: center;
  }

  .b2b-section-head h2,
  .b2b-shelf-copy h2,
  .b2b-sample-copy h2,
  .b2b-form-copy h2 {
    font-size: 31px;
  }

  .b2b-icon-grid,
  .b2b-tile-grid {
    grid-template-columns: 1fr;
  }

  .b2b-icon-grid article {
    min-height: 150px;
  }

  .b2b-shelf-photo {
    aspect-ratio: 1 / 0.82;
  }

  .b2b-sample-photo {
    aspect-ratio: 1 / 0.84;
  }

  .b2b-form {
    padding: 20px;
  }

  .b2b-footer-row {
    min-height: 110px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

/* realne logo klienta w topbarze B2B (2026-07-06) */
.b2b-brand img { display: block; height: 40px; width: auto; }
