/* Warehousing & fulfilment lead-form landing page (/warehousing-fulfillment-interest). Scoped under .wf-page. */

.wf-page {
  --wf-orange: #f5a028;
  --wf-orange-soft: #fff1dc;
  --wf-brown: #593636;
  --wf-hero-bg: #ffe4a8;
  --wf-input-bg: #f1f2f4;
  --wf-border: #eaeaea;
  --wf-text: #0a0a0a;
  --wf-muted: #4b4b4b;
  --wf-green: #1f7a3a;
  --wf-green-soft: #dcf5e1;
  --wf-font: "Poppins", sans-serif;

  font-family: var(--wf-font);
  color: var(--wf-text);
  background: #fdfdfd;
}

.wf-page *,
.wf-page *::before,
.wf-page *::after {
  box-sizing: border-box;
}

/* old site styles add underlines / margins to headings */
.wf-page h1::after,
.wf-page h2::after,
.wf-page h3::after {
  content: none;
}

.wf-page h1,
.wf-page h2,
.wf-page h3,
.wf-page p {
  margin: 0;
  font-family: var(--wf-font);
  text-align: left;
}

.wf-page .wf-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Buttons ---------- */

.wf-page .wf-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 28px;
  border: 0;
  border-radius: 8px;
  background: var(--wf-orange);
  color: #1a1a1a;
  font-family: var(--wf-font);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
  transition:
    filter 0.2s ease,
    transform 0.2s ease;
}

.wf-page .wf-btn:hover,
.wf-page .wf-btn:focus-visible {
  filter: brightness(0.95);
  transform: translateY(-1px);
  color: #1a1a1a;
  text-decoration: none;
}

.wf-page .wf-btn--block {
  width: 100%;
  border-radius: 100px;
}

/* ---------- Hero + form ---------- */

.wf-page .wf-hero {
  background: var(--wf-hero-bg);
  padding: 56px 0 72px;
}

.wf-page .wf-hero__inner {
  display: flex;
  gap: 48px;
  align-items: flex-start;
}

.wf-page .wf-hero__content,
.wf-page .wf-form-card {
  flex: 1 1 50%;
  min-width: 0;
}

.wf-page .wf-hero__title {
  color: var(--wf-brown);
  font-size: 60px;
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 40px;
}

.wf-page .wf-hero__text {
  color: var(--wf-brown);
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.wf-page .wf-hero__callout {
  margin-top: 40px;
  padding: 20px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.5);
  color: #fdfdfd;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.wf-page .wf-form-card {
  background: #fdfdfd;
  border-radius: 8px;
  padding: 24px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.wf-page .wf-form-card__title {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
}

.wf-page .wf-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 28px;
}

.wf-page .wf-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.wf-page .wf-field {
  margin: 0;
  min-width: 0;
}

.wf-page .wf-field__label {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  font-weight: 400;
  color: var(--wf-text);
}

.wf-page .wf-field__input {
  display: block;
  width: 100%;
  height: 40px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--wf-input-bg);
  font-family: var(--wf-font);
  font-size: 14px;
  color: #000;
  box-shadow: none;
}

.wf-page .wf-field__input:focus,
.wf-page .wf-field__code:focus {
  outline: none;
  border-color: var(--wf-orange);
}

.wf-page .wf-field__select,
.wf-page .wf-multi__toggle {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  cursor: pointer;
  text-align: left;
}

.wf-page .wf-field__phone {
  display: flex;
  gap: 6px;
  background: var(--wf-input-bg);
  border-radius: 6px;
}

.wf-page .wf-field__code {
  flex: 0 0 auto;
  width: 92px;
  height: 40px;
  padding: 0 8px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: transparent;
  font-family: var(--wf-font);
  font-size: 13px;
  cursor: pointer;
}

.wf-page .wf-field__phone .wf-field__input {
  flex: 1 1 auto;
  min-width: 0;
}

/* integration multi-select */
.wf-page .wf-multi {
  position: relative;
}

.wf-page .wf-multi__value {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wf-page .wf-multi__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--wf-border);
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.wf-page .wf-multi__panel[hidden] {
  display: none;
}

.wf-page .wf-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
}

.wf-page .wf-check input {
  width: 15px;
  height: 15px;
  margin: 0;
  accent-color: var(--wf-orange);
}

.wf-page .wf-help {
  border: 0;
  padding: 0;
}

.wf-page .wf-help legend {
  width: auto;
  border: 0;
}

.wf-page .wf-help__options {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.wf-page .wf-form .wf-btn--block {
  margin-top: 8px;
}

/* ---------- Awards strip --------- */

.wf-page .wf-awards {
  background: #ee9622;
  padding: 32px 0;
}

.wf-page .wf-awards__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-evenly;
  gap: 24px;
}

.wf-page .wf-awards__img {
  display: block;
  /* natural size (269x93 / 257x93), shrinking side by side on phones */
  width: auto;
  max-width: calc(50% - 12px);
  height: auto;
}

/* ---------- Side menu layout ---------- */

.wf-page .wf-layout {
  display: grid;
  grid-template-columns: 196px minmax(0, 956px);
  justify-content: space-between;
  align-items: start;
  gap: 40px;
  padding-top: 66px;
  padding-bottom: 40px;
}

.wf-page .wf-sidenav {
  position: sticky;
  top: 100px;
}

.wf-page .wf-sidenav__list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wf-page .wf-sidenav__link {
  position: relative;
  display: block;
  padding-left: 11px;
  color: var(--wf-brown);
  font-size: 13px;
  text-decoration: none;
}

.wf-page .wf-sidenav__link:hover,
.wf-page .wf-sidenav__link.is-active {
  color: var(--wf-orange);
}

.wf-page .wf-sidenav__link.is-active::before {
  content: "";
  position: absolute;
  top: 1px;
  left: 0;
  width: 2px;
  height: 17px;
  background: var(--wf-orange);
}

/* ---------- Sections ---------- */

.wf-page .wf-section {
  padding-bottom: 72px;
  scroll-margin-top: 100px;
}

.wf-page .wf-eyebrow {
  color: var(--wf-orange);
  font-size: 18px;
  margin-bottom: 4px;
}

.wf-page .wf-heading {
  color: var(--wf-brown);
  font-size: 36px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 12px;
}

.wf-page .wf-heading--underline::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  margin-top: 14px;
  background: var(--wf-orange);
}

.wf-page .wf-mt {
  margin-top: 64px;
}

.wf-page .wf-intro {
  font-size: 14px;
  color: var(--wf-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* photo banner */
.wf-page .wf-banner {
  position: relative;
  overflow: hidden;
  min-height: 420px;
  margin: 24px 0 32px;
  border-radius: 16px;
  display: flex;
  align-items: flex-end;
  background: #2b2b2b;
}

.wf-page .wf-banner__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wf-page .wf-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 25%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.wf-page .wf-banner__body {
  position: relative;
  z-index: 1;
  padding: 32px;
  color: #fff;
}

.wf-page .wf-banner__title {
  font-size: 30px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 10px;
  color: #fff;
}

.wf-page .wf-banner__text {
  font-size: 14px;
  line-height: 1.6;
  color: #fff;
}

.wf-page .wf-banner__text--strong {
  margin-top: 10px;
  font-weight: 600;
}

/* steps table */
.wf-page .wf-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--wf-border);
  border-radius: 6px;
}

.wf-page .wf-steps {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 14px;
}

.wf-page .wf-steps thead th {
  padding: 14px 16px;
  background: #f7f7f7;
  font-weight: 500;
  text-align: center;
}

.wf-page .wf-steps thead th:first-child {
  text-align: left;
}

.wf-page .wf-steps th,
.wf-page .wf-steps td {
  padding: 16px;
  border-bottom: 1px solid var(--wf-border);
  vertical-align: top;
  line-height: 1.6;
}

.wf-page .wf-steps td + td,
.wf-page .wf-steps th + td {
  border-left: 1px solid var(--wf-border);
}

.wf-page .wf-steps tbody th {
  width: 24%;
  font-weight: 700;
  text-align: left;
}

.wf-page .wf-steps tbody td:last-child {
  width: 25%;
}

.wf-page .wf-steps tbody tr:last-child > * {
  border-bottom: 0;
}

.wf-page .wf-steps__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  margin-right: 10px;
  float: left;
  border-radius: 50%;
  background: var(--wf-orange);
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.wf-page .wf-steps__icon {
  float: left;
  margin-right: 8px;
}

/* stats row */
.wf-page .wf-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 8px 0 32px;
  text-align: center;
}

.wf-page .wf-stats dt {
  font-size: 15px;
  font-weight: 600;
}

.wf-page .wf-stats dd {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--wf-muted);
}

/* cards */
.wf-page .wf-cards {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.wf-page .wf-cards--2 {
  grid-template-columns: repeat(2, 1fr);
}

.wf-page .wf-cards--3 {
  grid-template-columns: repeat(3, 1fr);
}

.wf-page .wf-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px;
  border: 1px solid var(--wf-border);
  border-radius: 12px;
  background: #fff;
}

.wf-page .wf-card__icon {
  width: 26px;
  height: 26px;
  margin-bottom: 18px;
  border-radius: 6px;
  background: var(--wf-orange-soft);
  box-shadow:
    inset 0 0 0 7px var(--wf-orange-soft),
    inset 0 0 0 8.5px var(--wf-orange);
}

.wf-page .wf-card__title {
  margin-bottom: 14px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #000;
}

.wf-page .wf-card__text {
  flex: 1 1 auto;
  margin-bottom: 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--wf-muted);
}

.wf-page .wf-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.wf-page .wf-tag--orange {
  background: var(--wf-orange-soft);
  color: #1a1a1a;
}

.wf-page .wf-tag--green {
  background: var(--wf-green-soft);
  color: var(--wf-green);
}

/* platform pills */
.wf-page .wf-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.wf-page .wf-pills li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--wf-border);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
}

.wf-page .wf-pills li::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--wf-orange);
}

/* ---------- Responsive ---------- */

@media (max-width: 1199px) {
  .wf-page .wf-hero__title {
    font-size: 48px;
  }

  .wf-page .wf-layout {
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 32px;
  }
}

@media (max-width: 991px) {
  .wf-page .wf-layout {
    display: block;
    padding-top: 48px;
  }

  .wf-page .wf-sidenav {
    display: none;
  }

  .wf-page .wf-cards--3 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 767px) {
  .wf-page .wf-hero {
    padding: 32px 0 40px;
  }

  .wf-page .wf-hero__inner {
    flex-direction: column;
    gap: 28px;
  }

  .wf-page .wf-hero__title {
    font-size: 30px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .wf-page .wf-hero__text,
  .wf-page .wf-hero__callout {
    font-size: 15px;
  }

  .wf-page .wf-hero__callout {
    margin-top: 20px;
  }

  .wf-page .wf-form-card {
    width: 100%;
    padding: 16px;
  }

  .wf-page .wf-form__row,
  .wf-page .wf-cards--2,
  .wf-page .wf-cards--3 {
    grid-template-columns: 1fr;
  }

  .wf-page .wf-heading {
    font-size: 24px;
  }

  .wf-page .wf-banner {
    min-height: 460px;
  }

  .wf-page .wf-banner__body {
    padding: 20px;
  }

  .wf-page .wf-banner__title {
    font-size: 20px;
  }

  .wf-page .wf-stats {
    grid-template-columns: 1fr;
  }

  .wf-page .wf-section {
    padding-bottom: 48px;
  }

  /* steps table -> stacked step cards (matches SG mobile layout) */
  .wf-page .wf-intro {
    font-size: 12px;
  }

  .wf-page .wf-table-wrap {
    overflow: visible;
    margin: 24px 0;
    border-color: #d1d5db;
    border-radius: 12px;
  }

  .wf-page .wf-steps {
    min-width: 0;
    color: #000;
  }

  .wf-page .wf-steps thead {
    display: none;
  }

  .wf-page .wf-steps tbody,
  .wf-page .wf-steps tr,
  .wf-page .wf-steps th,
  .wf-page .wf-steps td {
    display: block;
    width: auto;
  }

  .wf-page .wf-steps tbody tr {
    padding: 12px;
    border-bottom: 1px solid #d1d5db;
  }

  .wf-page .wf-steps tbody tr:last-child {
    border-bottom: 0;
  }

  .wf-page .wf-steps th,
  .wf-page .wf-steps td,
  .wf-page .wf-steps td + td,
  .wf-page .wf-steps th + td {
    padding: 0;
    border: 0;
  }

  .wf-page .wf-steps tbody th {
    display: flex;
    align-items: center;
    gap: 12px;
    width: auto;
    font-size: 15px;
    line-height: 1.5;
  }

  .wf-page .wf-steps__num {
    float: none;
    flex-shrink: 0;
    width: auto;
    height: auto;
    margin: 0;
    padding: 4px 8px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
  }

  .wf-page .wf-steps__num::before {
    content: "Step\00a0";
  }

  .wf-page .wf-steps td {
    font-size: 13px;
    line-height: 1.5;
  }

  .wf-page .wf-steps td::before {
    content: attr(data-label);
    display: block;
    margin: 12px 0;
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
  }

  .wf-page .wf-steps tbody td:last-child {
    width: auto;
  }
}

/* ---------- Form submit states ---------- */

.wf-page .wf-mt-8 {
  margin-top: 8px;
}

.wf-page .wf-field__input[hidden] {
  display: none;
}

.wf-page .wf-form__error {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  color: #d11a2a;
  font-size: 13px;
}

.wf-page .wf-form__error[hidden] {
  display: none;
}

/* ---------- Form success page (/wf-form-success-my) ---------- */

.wf-page .wf-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 32px;
  background: #fff;
  color: #666;
  font-size: 16px;
  line-height: 2;
  text-align: center;
}

.wf-page .wf-success p {
  margin: 0;
}

.wf-page .wf-success__img {
  width: 210px;
  height: auto;
}

.wf-page .wf-success__title {
  margin: 0;
  color: var(--wf-brown);
  font-size: 30px;
  font-weight: 700;
  line-height: 2;
}

.wf-page .wf-success__btn {
  display: inline-block;
  margin: 12px 0;
  padding: 8px 40px;
  border-radius: 999px;
  background: var(--wf-orange);
  color: #000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
}

.wf-page .wf-success__btn:hover,
.wf-page .wf-success__btn:focus {
  color: #000;
  text-decoration: none;
  opacity: 0.9;
}

@media (max-width: 639px) {
  .wf-page .wf-success__title {
    font-size: 26px;
    line-height: 1.4;
    margin: 8px 0;
  }
}

/* per-field error, added below the field by warehousing-lp.js */
.wf-page .wf-field__error {
  display: block;
  margin-top: 4px;
  color: #d11a2a;
  font-size: 13px;
  line-height: 1.4;
}

.wf-page .wf-field--error > .wf-field__input,
.wf-page .wf-field--error > .wf-field__phone {
  outline: 1px solid #d11a2a;
  outline-offset: -1px;
}

.wf-page .wf-btn:disabled {
  opacity: 0.6;
  cursor: default;
  transform: none;
}
