.b2b-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.b2b-page main { flex: 1; }
.b2b-page .nav .pill { display: inline-flex; align-items: center; min-height: 44px; margin-left: auto; }
.b2b-content { padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem); }
.b2b-content > p + a { display: inline-block; margin-top: 1rem; }
.b2b-content > a { color: var(--blue); text-decoration: underline; }
.b2b-content form:not(.customer-form) { margin-top: 1.25rem; max-width: 30rem; }
.b2b-content .submit { font-family: var(--sans); }
.b2b-content .notice { margin: 0 0 1rem; }

.client-stage {
  min-height: max(100svh, 52vw);
  padding: clamp(8rem, 9.3vw, 10rem) var(--gutter) clamp(5rem, 9vw, 10rem);
  background: #100e0d url("img/b2b-chocolate.png") center / cover no-repeat;
}

.client-intro { text-align: center; margin-inline: auto; }
.client-intro h1 {
  color: #fcfaf7;
  font-size: clamp(2.9rem, 5vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
.client-intro h1 em { color: var(--home-gold); font: italic 400 1.06em/1 var(--serif); }
.client-intro h1::after {
  content: "";
  display: block;
  width: 9.75rem;
  height: 0.45rem;
  margin: 0.8rem auto 1rem;
  background: linear-gradient(90deg, #dca742, #ffdf8f 52%, #c18024);
  clip-path: polygon(0 72%, 17% 22%, 35% 10%, 58% 50%, 77% 62%, 100% 38%, 83% 88%, 62% 96%, 34% 47%, 14% 58%, 0 96%);
}
.client-intro p {
  max-width: 45ch;
  margin-inline: auto;
  color: #fffaf4;
  font-size: clamp(1.15rem, 1.58vw, 1.65rem);
  line-height: 1.25;
}

.client-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 67.25rem);
  margin: clamp(1.6rem, 2vw, 2.1rem) auto 0;
  gap: clamp(1rem, 2vw, 2.15rem);
}
.client-options:has(.client-option:only-child) { grid-template-columns: minmax(0, 1fr); max-width: 36rem; }
.client-option {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: clamp(1.4rem, 3vw, 2.5rem);
  min-height: 17.3rem;
  padding: clamp(1.5rem, 2.8vw, 3rem) clamp(1.4rem, 3.25vw, 3.45rem) 2.15rem;
  border: 3px solid transparent;
  border-radius: 2.25rem;
  background:
    radial-gradient(ellipse at top left, #f3e6cf29, #1b191800 56%) padding-box,
    radial-gradient(ellipse at bottom right, #c7822738, #19151200 45%) padding-box,
    radial-gradient(ellipse at bottom left, #d99a293b, transparent 36%) padding-box,
    linear-gradient(140deg, #2c2b29d9, #131211e8 60%, #352718bc) padding-box,
    linear-gradient(135deg, #d9d7d2, #7a7773 20%, #44413b 42%, #fff1d5 67%, #dda449 91%, #fff3cc) border-box;
  box-shadow: inset 0 0 18px #f5c0652b, 0 16px 30px #000a;
}
.client-option::before, .client-option::after {
  position: absolute;
  pointer-events: none;
  content: "";
  width: 37%;
  height: 4px;
  border-radius: 50%;
  background: radial-gradient(ellipse, #fffbea, #ffcf73 27%, #d29434b3 51%, transparent 74%);
  filter: drop-shadow(0 0 7px #ffb938);
}
.client-option::before { top: -3px; left: 12%; }
.client-option::after { bottom: -3px; right: 2%; }
.client-option-copy { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: start; gap: clamp(1rem, 2.2vw, 2.35rem); }
.client-icon { width: clamp(2.3rem, 4.2vw, 4.3rem); fill: none; stroke: #efb957; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.client-option h2 { color: #fff; font-size: clamp(1.35rem, 1.9vw, 2rem); letter-spacing: -0.035em; line-height: 1.15; }
.client-option p { margin-top: 0.65rem; color: #fffaf4; font-size: 1rem; line-height: 1.48; }

.client-action {
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  width: min(100%, 24rem);
  min-height: 3.65rem;
  margin-top: auto;
  padding: 0.65rem 1rem;
  border: 1.5px solid #f4eee7;
  background: #12111070;
  color: #fff;
  text-align: center;
  font-size: clamp(0.9rem, 1.15vw, 1.125rem);
}
.client-action:hover { background: #302315; }
.client-action-gold { width: min(100%, 22.25rem); border-color: transparent; background: var(--home-gold-gradient); color: #140e07; }
.client-action-gold:hover { background: linear-gradient(165deg, #fff6dd, #f1c359); }
.client-action:focus-visible { outline: 2px solid #ffdc90; outline-offset: 4px; }

.client-benefits {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 0;
  padding: 0;
  list-style: none;
  margin: clamp(2.5rem, 5.1vw, 5.35rem) auto 0;
}
.client-benefits li { display: flex; align-items: center; gap: clamp(0.55rem, 1vw, 1rem); padding-inline: clamp(1rem, 2.1vw, 2.2rem); line-height: 1.2; }
.client-benefits li + li { border-left: 1px solid #886633; }
.client-benefits .client-icon { width: clamp(1.6rem, 2.5vw, 2.7rem); flex: none; }

.client-regular-only,
[data-client-theme="regular"] .client-gold-only { display: none; }
[data-client-theme="regular"] :where(.client-regular-only) { display: revert; }

[data-client-theme="regular"] .client-landing .home-nav {
  background: #080a0c;
  border-bottom: 1px solid #ffffff24;
}
[data-client-theme="regular"] .client-landing .home-nav::after { display: none; }
[data-client-theme="regular"] .home-nav .brand { font-size: clamp(1.4rem, 1.8vw, 1.85rem); }
[data-client-theme="regular"] .home-nav .brand img { width: clamp(2.15rem, 3vw, 3.2rem); }
[data-client-theme="regular"] .home-nav .langs button[aria-pressed="true"] {
  color: #fff;
  background: #ffffff25;
  border-radius: 8px;
}
[data-client-theme="regular"] .client-landing {
  --home-gold-gradient: linear-gradient(165deg, #f8e6c3, #ddb471 60%, #d4a152);
  font-family: var(--sans);
}

[data-client-theme="regular"] .client-stage {
  padding-top: clamp(7.7rem, 7.95vw, 8.4rem);
  padding-bottom: clamp(3rem, 4.3vw, 4.5rem);
  background: #061322 url("img/b2b-kyufi.png") center / cover no-repeat;
}
[data-client-theme="regular"] .client-intro h1 {
  font: 700 clamp(2.75rem, 4.6vw, 5.1rem) / 1.06 var(--sans);
  letter-spacing: -0.045em;
}
[data-client-theme="regular"] .client-intro h1::after { display: none; }
[data-client-theme="regular"] .client-intro h1 em {
  position: relative;
  display: inline-block;
  color: #f1d299;
  font: italic 400 1.08em / 1 var(--serif);
}
[data-client-theme="regular"] .client-intro h1 em::after {
  content: "";
  position: absolute;
  inset: auto 0 -0.3em;
  height: 0.18em;
  border-top: 3px solid #e5b76a;
  border-radius: 80% 45% 0 0;
  transform: rotate(-2deg);
  filter: drop-shadow(0 1px 2px #dfac4a80);
}
[data-client-theme="regular"] .client-intro p {
  max-width: 51rem;
  margin-top: clamp(2rem, 2.5vw, 2.65rem);
  color: #e3ebf6;
  font-size: clamp(1.05rem, 1.33vw, 1.4rem);
  line-height: 1.38;
  text-wrap: balance;
}
[data-client-theme="regular"] .client-options { width: min(100%, 67.5rem); margin-top: clamp(1.8rem, 2.2vw, 2.35rem); }
.client-landing footer .wrap { padding-block: 1.25rem; }
[data-client-theme="regular"] .client-option {
  min-height: 19rem;
  padding: clamp(1.5rem, 3vw, 3rem);
  gap: 1.5rem;
  border-width: 1.5px;
  border-radius: 2rem;
  background:
    radial-gradient(ellipse at bottom left, #398dc62f, transparent 39%) padding-box,
    radial-gradient(ellipse at top right, #4c8bb52a, transparent 49%) padding-box,
    linear-gradient(145deg, #1a3347 0%, #102333 52%, #132c40 100%) padding-box,
    linear-gradient(135deg, #e0b66e 1%, #4a7994 15%, #3f6079 49%, #558aa9 68%, #bd9356 96%) border-box;
  box-shadow: inset 0 0 22px #6ba8cf16, 0 12px 28px #00102080;
}
[data-client-theme="regular"] .client-option::before,
[data-client-theme="regular"] .client-option::after {
  height: 2px;
  opacity: 0.52;
  filter: drop-shadow(0 0 4px #d9a04d);
}
[data-client-theme="regular"] .client-option::before { width: 30%; left: 3%; top: -2px; }
[data-client-theme="regular"] .client-option::after { bottom: -2px; }
[data-client-theme="regular"] .client-option:focus-within::before,
[data-client-theme="regular"] .client-option:focus-within::after { opacity: 1; }
[data-client-theme="regular"] .client-option-copy {
  grid-template-columns: minmax(0, 1fr) minmax(6rem, 31%);
  align-items: start;
  gap: clamp(1rem, 2vw, 1.75rem);
  margin-right: 0;
}
[data-client-theme="regular"] .client-option-copy > div { grid-area: 1 / 1; }
[data-client-theme="regular"] .client-option-photo {
  grid-area: 1 / 2;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center;
  border: 1px solid #ffffff2e;
  border-radius: 0.8rem;
  background: #193246;
}
[data-client-theme="regular"] .client-option h2 {
  font: 650 clamp(1.55rem, 2.1vw, 2.2rem) / 1.14 var(--sans);
  letter-spacing: -0.026em;
  text-wrap: balance;
}
[data-client-theme="regular"] .client-option p { font-size: clamp(0.95rem, 1.05vw, 1.1rem); color: #e6eff9; }
:is([data-client-theme="regular"], .b2b-form-regular) .client-action {
  position: relative;
  align-self: flex-start;
  justify-content: center;
  isolation: isolate;
  overflow: hidden;
  width: max-content;
  max-width: 100%;
  min-height: 3.25rem;
  gap: 0.85rem;
  padding: 0.65rem clamp(0.85rem, 2vw, 1.45rem);
  border: 2px solid;
  border-color: #ffa500 #663d00 #b36b00 #ffd699;
  border-radius: 20px;
  background:
    linear-gradient(180deg, transparent, #29170080 44%, #29170080 60%, transparent),
    radial-gradient(ellipse farthest-corner at right bottom, #fedb37 0%, #fdb931 8%, #9f7928 30%, #8a6e2f 40%, transparent 80%),
    radial-gradient(ellipse farthest-corner at left top, #fff 0%, #ffffac 8%, #d1b464 25%, #5d4a1f 62.5%);
  box-shadow: 5px 5px 8px #02090d8c;
  color: #fff8e2;
  font: 650 clamp(0.95rem, 1.12vw, 1.12rem) / 1.3 var(--sans);
  text-shadow: 0 1px 2px #221501;
  text-align: center;
}
:is([data-client-theme="regular"], .b2b-form-regular) .client-action:hover {
  border-color: #b36b00 #ffd699 #ffa500 #663d00;
  box-shadow: 2px 2px 8px #02090d8c;
  transform: none;
}

[data-client-theme="regular"] .client-benefits {
  position: relative;
  margin-top: clamp(2.25rem, 4.55vw, 4.8rem);
  padding-top: clamp(1.25rem, 1.8vw, 1.9rem);
  width: min(100%, 87rem);
  border-top: 1px solid #ebca865c;
  font-size: clamp(0.9rem, 1.15vw, 1.2rem);
  font-weight: 600;
}
[data-client-theme="regular"] .client-benefits::before {
  content: "";
  position: absolute;
  top: -2px;
  left: calc(50% - 1.5px);
  width: 3px;
  height: 3px;
  background: #ffecbe;
  transform: rotate(45deg);
}
[data-client-theme="regular"] .client-benefits li + li { border-color: #dce6f480; }

@media (prefers-reduced-motion: no-preference) {
  [data-client-theme="regular"] .client-stage { position: relative; isolation: isolate; }
  [data-client-theme="regular"] .client-stage::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 14% 0 auto;
    height: min(15vw, 9rem);
    opacity: 0;
    pointer-events: none;
    background: radial-gradient(ellipse, #75c2ed40, transparent 68%) left center / min(45vw, 27rem) 100% no-repeat;
    animation: client-ambient-light 2.3s var(--ease) both;
  }
  [data-client-theme="regular"] .client-benefits::after {
    content: "";
    position: absolute;
    inset: -1px 0 auto;
    height: 2px;
    pointer-events: none;
    opacity: 0;
    background: linear-gradient(90deg, transparent, #79badc 40%, #ffe3ad 50%, #85c0db 56%, transparent) left center / 33% 100% no-repeat;
    animation: client-reflection 1.95s 0.2s var(--ease) both;
  }
  [data-client-theme="regular"] .client-option::before,
  [data-client-theme="regular"] .client-option::after { transition: opacity 220ms ease; }
  :is([data-client-theme="regular"], .b2b-form-regular) .client-action { transition: border-color 160ms ease, box-shadow 160ms ease; }
  :is([data-client-theme="regular"], .b2b-form-regular) .client-action::after {
    content: "";
    position: absolute;
    z-index: -1;
    top: -100%;
    right: -100%;
    width: 50%;
    height: 300%;
    pointer-events: none;
    opacity: 0;
    transform: rotate(30deg);
    background: linear-gradient(90deg, #ffffff1a, #ffffff55 75%, transparent);
    animation: client-button-shine 2s 2;
  }
}

@media (hover: hover) and (pointer: fine) {
  [data-client-theme="regular"] .client-option:hover::before,
  [data-client-theme="regular"] .client-option:hover::after { opacity: 0.9; }
}

@keyframes client-button-shine {
  to { opacity: 1; right: 150%; }
}

@keyframes client-reflection {
  0% { opacity: 0; background-position: 0 center; }
  25% { opacity: 0.72; }
  100% { opacity: 0; background-position: 100% center; }
}

@keyframes client-ambient-light {
  0% { opacity: 0; background-position: -10% center; }
  32% { opacity: 0.6; }
  100% { opacity: 0; background-position: 42% center; }
}

.customer-form {
  max-width: 56rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.customer-form .field label { color: var(--grey-dark); }
.customer-form input[readonly] { background: var(--light); }
.customer-form :is(.note, .submit, h2, .b2b-message) { grid-column: 1 / -1; }
.b2b-quote { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(2rem, 5vw, 5rem); }
.b2b-quote h2 { color: var(--navy); font-size: clamp(1.3rem, 3vw, 1.8rem); letter-spacing: -0.03em; }
.b2b-order .cart-list { margin-top: 1rem; }
.b2b-order .cart-list li { grid-template-columns: minmax(0, 1fr) auto; }
.b2b-order > a { color: var(--blue); text-decoration: underline; }
.b2b-page :is(a, button):focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.b2b-page .nav a:focus-visible { outline-color: var(--gold); }

@media (max-width: 680px) {
  .customer-form, .b2b-quote, .client-options { grid-template-columns: minmax(0, 1fr); }
  .client-stage { padding-top: 7.2rem; background-position: 65% center; }
  .client-option { min-height: auto; border-radius: 1.7rem; padding-bottom: 1.6rem; }
  .client-action { width: 100%; }
  .client-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; font-size: 0.85rem; }
  .client-benefits li { padding: 0; }
  .client-benefits li + li { border-left: 0; }
  [data-client-theme="regular"] .client-stage { padding-top: 7.2rem; background-position: 69% center; }
  [data-client-theme="regular"] .client-option { min-height: auto; padding: 1.4rem; }
  [data-client-theme="regular"] .client-action { width: 100%; }
  [data-client-theme="regular"] .client-benefits { font-size: 0.85rem; }
}

@media (max-width: 850px) {
  [data-client-theme="regular"] .client-option-copy { grid-template-columns: minmax(0, 1fr); }
  [data-client-theme="regular"] .client-option-photo {
    grid-area: 2 / 1;
    aspect-ratio: 2.25;
    max-height: 9rem;
  }
}

@media (min-width: 1100px) {
  .client-option-copy { margin-right: -1.6rem; }
}

@media (prefers-reduced-motion: reduce) {
  .b2b-page :is(.btn, .submit):hover, .client-action:hover { transform: none; }
}

