.b2b-hero {
  background:
    linear-gradient(135deg, rgba(13, 125, 150, 0.08), rgba(255, 255, 255, 0) 44%),
    var(--color-surface-container-low, #f6f9fc);
}

.partner-b2b-page {
  scroll-behavior: smooth;
}

.partner-b2b-page .dest-hero {
  min-height: clamp(31rem, 58vw, 42rem);
  display: flex;
  align-items: center;
}

.partner-b2b-page .dest-hero-desc {
  max-width: 43rem;
}

.b2b-action-bar {
  backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.94);
}

.b2b-action-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.b2b-action-nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0d6375;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.b2b-action-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.b2b-action-nav .b2b-action-cta {
  padding: 0.7rem 1.25rem;
  border-radius: 0.75rem;
  background: #0d7d96;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  box-shadow: 0 0.35rem 0.9rem rgba(13, 125, 150, 0.18);
}

.b2b-action-nav .b2b-action-cta:hover {
  background: #0a687e;
  text-decoration: none;
}

.b2b-card,
.b2b-form-shell {
  box-shadow: 0 16px 46px rgba(15, 23, 42, 0.07);
}

.b2b-card {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.b2b-card:hover {
  border-color: rgba(13, 125, 150, 0.34);
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}

.b2b-form-shell {
  position: relative;
  overflow: hidden;
}

.b2b-form-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(13, 125, 150, 0.26), transparent 50%);
}

.b2b-form-shell > * {
  position: relative;
}

.b2b-form-shell input,
.b2b-form-shell select,
.b2b-form-shell textarea {
  min-height: 3.15rem;
}

.b2b-form-shell textarea {
  resize: vertical;
  min-height: 8rem;
}

.b2b-form-shell label {
  line-height: 1.45;
}

.b2b-form-shell input::placeholder,
.b2b-form-shell textarea::placeholder {
  color: #52616b;
}

.b2b-form-shell input:disabled,
.b2b-form-shell select:disabled,
.b2b-form-shell textarea:disabled,
.b2b-submit:disabled {
  cursor: not-allowed;
  opacity: 0.62;
}

.b2b-submit {
  min-height: 3.35rem;
  line-height: 1.2;
}

.b2b-form-shell input:focus-visible,
.b2b-form-shell select:focus-visible,
.b2b-form-shell textarea:focus-visible,
.b2b-submit:focus-visible {
  outline: 3px solid rgba(13, 125, 150, 0.32);
  outline-offset: 3px;
}

.b2b-form-shell input[aria-invalid="true"],
.b2b-form-shell select[aria-invalid="true"],
.b2b-form-shell textarea[aria-invalid="true"] {
  border-color: #b42318;
  box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12);
}

.b2b-action-nav a:focus-visible,
.b2b-submit:focus-visible {
  outline: 3px solid rgba(13, 125, 150, 0.38);
  outline-offset: 3px;
}

@media (max-width: 767px) {
  .partner-b2b-page .dest-hero {
    min-height: 30rem;
  }

  .b2b-action-bar {
    top: 3.75rem;
  }

  .b2b-action-bar > div {
    align-items: stretch;
  }

  .b2b-action-nav {
    justify-content: space-between;
    gap: 0.75rem;
  }

  .b2b-action-nav a {
    flex: 1 1 0;
    text-align: center;
  }

  .b2b-card,
  .b2b-form-shell {
    border-radius: 1rem;
  }

  .b2b-form-shell {
    padding: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .partner-b2b-page {
    scroll-behavior: auto;
  }

  .b2b-card,
  .b2b-submit,
  .b2b-action-nav .b2b-action-cta {
    transition: none !important;
  }

  .b2b-card:hover {
    transform: none;
  }
}
