/* ==================================================================
   NUMBO Trade Program Page — assets/trade-program.css
   Scoped under .numbo-trade-page to avoid bleed into other pages.
   ================================================================== */

/* ---------- GP Layout Reset ---------- */
.numbo-trade-page {
  margin: 0;
}
body.page-template-page-trade-program-php .site-content,
body.page-template-page-trade-program-php .site-main {
  padding: 0;
  margin: 0;
}
body.page-template-page-trade-program-php #page {
  background: transparent;
}

/* ---------- Container reset (override global flex) ---------- */
.numbo-trade-page .numbo-container {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- S1 Hero — Immersive full-screen background ---------- */
.numbo-trade-page .numbo-trade-hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: flex-end;
  padding: 0 0 64px;
  overflow: hidden;
  text-align: left;
}
.numbo-trade-page .numbo-trade-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: tradeHeroKenBurns 20s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes tradeHeroKenBurns {
  0%   { transform: scale(1); }
  100% { transform: scale(1.06); }
}
/* Dark gradient overlay */
.numbo-trade-page .numbo-trade-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18,14,10,0.55) 0%, rgba(18,14,10,0.28) 40%, rgba(18,14,10,0.6) 100%),
    linear-gradient(90deg, rgba(18,14,10,0.4) 0%, rgba(18,14,10,0) 60%);
  z-index: 1;
}
.numbo-trade-page .numbo-trade-hero .numbo-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
}
.numbo-trade-page .numbo-trade-hero h1 {
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 500;
  letter-spacing: -1px;
  margin: 0 0 16px;
  color: #f5f2ed;
  line-height: 1.1;
}
.numbo-trade-page .numbo-trade-hero-sub {
  max-width: 600px;
  margin: 0 0 28px;
  font-size: 17px;
  line-height: 1.7;
  color: rgba(245, 242, 237, .75);
}
.numbo-trade-page .hero-breadcrumb {
  margin-bottom: 16px;
  font-size: 12px;
  font-family: var(--sans);
  color: rgba(245, 242, 237, .4);
}
.numbo-trade-page .hero-breadcrumb a {
  color: rgba(245, 242, 237, .5);
  text-decoration: none;
}
.numbo-trade-page .hero-breadcrumb a:hover {
  color: rgba(245, 242, 237, .8);
}
.numbo-trade-page .hero-breadcrumb .sep {
  margin: 0 8px;
  color: rgba(245, 242, 237, .4);
}
.numbo-trade-page .hero-breadcrumb .current {
  color: rgba(245, 242, 237, .7);
}
/* Hero CTA buttons */
.numbo-trade-page .numbo-trade-hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.numbo-trade-page .numbo-trade-hero-cta .numbo-btn {
  padding: 14px 32px;
}
.numbo-trade-page .numbo-btn-outline-light {
  background: transparent;
  color: #f5f2ed;
  border: 1.5px solid rgba(245, 242, 237, .5);
}
.numbo-trade-page .numbo-btn-outline-light:hover {
  background: rgba(245, 242, 237, .1);
  border-color: #f5f2ed;
}
/* Fade-up entrance animation */
.numbo-trade-page .hero-fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.numbo-trade-page .hero-fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.numbo-trade-page .hero-fade-up:nth-child(1) { transition-delay: 0s; }
.numbo-trade-page .hero-fade-up:nth-child(2) { transition-delay: 0.1s; }
.numbo-trade-page .hero-fade-up:nth-child(3) { transition-delay: 0.2s; }
.numbo-trade-page .hero-fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ---------- S2 Why Partner ---------- */
.numbo-trade-page .numbo-trade-why {
  padding: 96px 0;
  background: var(--surface);
}
.numbo-trade-page .numbo-trade-why h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 64px;
}
.numbo-trade-page .numbo-trade-why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.numbo-trade-page .numbo-trade-why-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 36px 28px;
  text-align: center;
  transition: box-shadow .3s, border-color .3s;
}
.numbo-trade-page .numbo-trade-why-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  border-color: var(--brand-light);
}
.numbo-trade-page .numbo-trade-why-card-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.numbo-trade-page .numbo-trade-why-card-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--brand);
  stroke-width: 1.5;
}
.numbo-trade-page .numbo-trade-why-card h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 12px;
}
.numbo-trade-page .numbo-trade-why-card p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.numbo-trade-page .numbo-trade-why-card a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  transition: color .2s;
}
.numbo-trade-page .numbo-trade-why-card a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ---------- S3 Three Programs ---------- */
.numbo-trade-page .numbo-trade-programs {
  padding: 96px 0;
  background: var(--bg-alt);
}
.numbo-trade-page .numbo-trade-programs h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 64px;
}
.numbo-trade-page .numbo-trade-program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}
.numbo-trade-page .numbo-trade-program-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px 32px;
  transition: box-shadow .3s, border-color .3s;
}
.numbo-trade-page .numbo-trade-program-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
}
.numbo-trade-page .numbo-trade-card-designer {
  border-top: 3px solid var(--brand);
}
.numbo-trade-page .numbo-trade-card-retailer {
  border-top: 3px solid var(--brand-light);
}
.numbo-trade-page .numbo-trade-card-wholesale {
  border-top: 3px solid var(--brand-dark);
}
.numbo-trade-page .numbo-trade-program-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 8px;
}
.numbo-trade-page .numbo-trade-card-for {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 24px;
  font-style: italic;
}
.numbo-trade-page .numbo-trade-program-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
}
.numbo-trade-page .numbo-trade-program-card li {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text);
  padding: 8px 0 8px 24px;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.numbo-trade-page .numbo-trade-program-card li:last-child {
  border-bottom: none;
}
.numbo-trade-page .numbo-trade-program-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-light);
  opacity: .5;
}
.numbo-trade-page .numbo-trade-card-link {
  display: inline-block;
  font-size: 13px;
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 24px;
  transition: color .2s;
}
.numbo-trade-page .numbo-trade-card-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}
.numbo-trade-page .numbo-trade-card-cta {
  display: block;
  text-align: center;
  width: 100%;
}

/* ---------- S4 Application Form ---------- */
.numbo-trade-page .numbo-trade-apply {
  padding: 96px 0;
  background: var(--surface);
}
.numbo-trade-page .numbo-trade-apply h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 12px;
}
.numbo-trade-page .numbo-trade-apply-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  max-width: 520px;
  margin: 0 auto 48px;
}
.numbo-trade-page .numbo-trade-form {
  max-width: 640px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 40px;
}
.numbo-trade-page .numbo-trade-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.numbo-trade-page .numbo-trade-form-group {
  display: flex;
  flex-direction: column;
}
.numbo-trade-page .numbo-trade-form-group.full-width {
  margin-bottom: 20px;
}
.numbo-trade-page .numbo-trade-form-group label {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 6px;
}
.numbo-trade-page .numbo-trade-form-group .req {
  color: #c0392b;
}
.numbo-trade-page .numbo-trade-form-group input,
.numbo-trade-page .numbo-trade-form-group select,
.numbo-trade-page .numbo-trade-form-group textarea {
  font-family: var(--sans);
  font-size: 14px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  background: var(--surface);
  color: var(--text);
  transition: border-color .2s;
  width: 100%;
  box-sizing: border-box;
}
.numbo-trade-page .numbo-trade-form-group input:focus,
.numbo-trade-page .numbo-trade-form-group select:focus,
.numbo-trade-page .numbo-trade-form-group textarea:focus {
  outline: none;
  border-color: var(--brand);
}
.numbo-trade-page .numbo-trade-form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.numbo-trade-page .numbo-trade-form-submit {
  display: block;
  width: 100%;
  margin-top: 8px;
}

/* ---------- S5 How It Works ---------- */
.numbo-trade-page .numbo-trade-how {
  padding: 96px 0;
  background: var(--bg-alt);
}
.numbo-trade-page .numbo-trade-how h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 64px;
}
.numbo-trade-page .numbo-trade-how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  position: relative;
}
.numbo-trade-page .numbo-trade-how-steps::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.numbo-trade-page .numbo-trade-how-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.numbo-trade-page .numbo-trade-how-step-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--brand);
  opacity: .3;
  margin-bottom: 12px;
  line-height: 1;
}
.numbo-trade-page .numbo-trade-how-step-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
}
.numbo-trade-page .numbo-trade-how-step-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--brand);
  stroke-width: 1.5;
}
.numbo-trade-page .numbo-trade-how-step h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 10px;
}
.numbo-trade-page .numbo-trade-how-step p {
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}
.numbo-trade-page .numbo-trade-how-step a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 12px;
  display: inline-block;
  margin-top: 8px;
  transition: color .2s;
}
.numbo-trade-page .numbo-trade-how-step a:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ---------- S5b Trade Partners in Action ---------- */
.numbo-trade-page .numbo-trade-cases {
  padding: 96px 0;
  background: var(--bg-alt);
}
.numbo-trade-page .numbo-trade-cases h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 16px;
}
.numbo-trade-page .numbo-trade-cases-intro {
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 48px;
}
.numbo-trade-page .numbo-trade-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 40px;
}
.numbo-trade-page .numbo-trade-case-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.numbo-trade-page .numbo-trade-case-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, .06);
  border-color: var(--brand-light);
}
.numbo-trade-page .numbo-trade-case-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}
.numbo-trade-page .numbo-trade-case-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease-out);
}
.numbo-trade-page .numbo-trade-case-card:hover .numbo-trade-case-img img {
  transform: scale(1.04);
}
.numbo-trade-page .numbo-trade-case-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--nav-bg);
  color: #f5f2ed;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 10px;
  border-radius: 2px;
  letter-spacing: .5px;
  text-transform: uppercase;
}
.numbo-trade-page .numbo-trade-case-body {
  padding: 24px;
}
.numbo-trade-page .numbo-trade-case-body h3 {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  margin-bottom: 4px;
}
.numbo-trade-page .numbo-trade-case-location {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 12px;
  font-style: italic;
}
.numbo-trade-page .numbo-trade-case-body > p:last-of-type {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 16px;
}
.numbo-trade-page .numbo-trade-case-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--muted);
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.numbo-trade-page .numbo-trade-case-meta strong {
  color: var(--text);
  font-weight: 500;
}
.numbo-trade-page .numbo-trade-cases-cta {
  text-align: center;
}
.numbo-trade-page .numbo-trade-cases-link {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  transition: color .2s;
}
.numbo-trade-page .numbo-trade-cases-link:hover {
  color: var(--brand-dark);
  text-decoration: underline;
}

/* ---------- S6 Trust Numbers (Dark) ---------- */
.numbo-trade-page .numbo-trade-trust {
  padding: 96px 0;
  background: var(--nav-bg);
  text-align: center;
}
.numbo-trade-page .numbo-trade-trust h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  color: #fff;
  margin-bottom: 64px;
}
.numbo-trade-page .numbo-trade-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
.numbo-trade-page .numbo-trade-trust-num {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 500;
  color: var(--brand-light);
  margin-bottom: 8px;
}
.numbo-trade-page .numbo-trade-trust-label {
  font-size: 14px;
  color: rgba(255, 255, 255, .5);
  letter-spacing: .5px;
}

/* ---------- S7 FAQ ---------- */
.numbo-trade-page .numbo-trade-faq {
  padding: 96px 0;
  background: var(--surface);
}
.numbo-trade-page .numbo-trade-faq h2 {
  font-family: var(--serif);
  font-size: 36px;
  font-weight: 500;
  text-align: center;
  margin-bottom: 48px;
}
.numbo-trade-page .numbo-trade-faq-list {
  max-width: 720px;
  margin: 0 auto;
}
.numbo-trade-page .numbo-trade-faq-item {
  border-bottom: 1px solid var(--border);
}
.numbo-trade-page .numbo-trade-faq-item:first-child {
  border-top: 1px solid var(--border);
}
.numbo-trade-page .numbo-trade-faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  text-align: left;
  transition: color .2s;
}
.numbo-trade-page .numbo-trade-faq-q:hover {
  color: var(--brand);
}
.numbo-trade-page .numbo-trade-faq-toggle {
  font-size: 20px;
  font-weight: 300;
  color: var(--muted);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform .3s;
}
.numbo-trade-page .numbo-trade-faq-item.open .numbo-trade-faq-toggle {
  transform: rotate(45deg);
}
.numbo-trade-page .numbo-trade-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease-out);
}
.numbo-trade-page .numbo-trade-faq-item.open .numbo-trade-faq-a {
  max-height: 200px;
}
.numbo-trade-page .numbo-trade-faq-a p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  padding-bottom: 20px;
}
.numbo-trade-page .numbo-trade-faq-a a {
  color: var(--brand);
  text-decoration: none;
  font-weight: 500;
}
.numbo-trade-page .numbo-trade-faq-a a:hover {
  text-decoration: underline;
}

/* ---------- S8 CTA ---------- */
.numbo-trade-page .numbo-trade-cta {
  padding: 96px 0;
  text-align: center;
  background: #1a1a1a;
}
.numbo-trade-page .numbo-trade-cta h2 {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 500;
  margin-bottom: 16px;
  color: #f5f2ed;
}
.numbo-trade-page .numbo-trade-cta p {
  font-size: 16px;
  color: rgba(245, 242, 237, .6);
  max-width: 520px;
  margin: 0 auto 32px;
}
.numbo-trade-page .numbo-trade-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Buttons (scoped) ---------- */
.numbo-trade-page .numbo-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.numbo-trade-page .numbo-btn-primary {
  background: var(--brand);
  color: #fff;
}
.numbo-trade-page .numbo-btn-primary:hover {
  background: var(--brand-dark);
}
.numbo-trade-page .numbo-btn-outline {
  background: transparent;
  color: #f5f2ed;
  border: 1.5px solid rgba(245, 242, 237, .5);
}
.numbo-trade-page .numbo-btn-outline:hover {
  background: rgba(245, 242, 237, .1);
  border-color: #f5f2ed;
}

/* ---------- Responsive ---------- */
@media (max-width: 968px) {
  .numbo-trade-page .numbo-trade-hero {
    min-height: 70vh;
  }
  .numbo-trade-page .numbo-trade-hero h1 {
    font-size: 36px;
  }
  .numbo-trade-page .numbo-trade-why-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .numbo-trade-page .numbo-trade-program-cards {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .numbo-trade-page .numbo-trade-how-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .numbo-trade-page .numbo-trade-how-steps::before {
    display: none;
  }
  .numbo-trade-page .numbo-trade-cases-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .numbo-trade-page .numbo-trade-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
}
@media (max-width: 640px) {
  .numbo-trade-page .numbo-trade-hero {
    min-height: 60vh;
    padding: 0 0 40px;
  }
  .numbo-trade-page .numbo-trade-hero h1 {
    font-size: 28px;
  }
  .numbo-trade-page .numbo-trade-hero-sub {
    font-size: 15px;
  }
  .numbo-trade-page .numbo-trade-hero-cta {
    flex-direction: column;
    width: 100%;
  }
  .numbo-trade-page .numbo-trade-hero-cta .numbo-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
  .numbo-trade-page .numbo-trade-why,
  .numbo-trade-page .numbo-trade-programs,
  .numbo-trade-page .numbo-trade-apply,
  .numbo-trade-page .numbo-trade-how,
  .numbo-trade-page .numbo-trade-cases,
  .numbo-trade-page .numbo-trade-trust,
  .numbo-trade-page .numbo-trade-faq,
  .numbo-trade-page .numbo-trade-cta {
    padding: 48px 0;
  }
  .numbo-trade-page .numbo-trade-form {
    padding: 24px;
  }
  .numbo-trade-page .numbo-trade-form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .numbo-trade-page .numbo-trade-how-steps {
    grid-template-columns: 1fr;
  }
  .numbo-trade-page .numbo-trade-trust-grid {
    grid-template-columns: 1fr;
  }
  .numbo-trade-page .numbo-trade-trust-num {
    font-size: 36px;
  }
  .numbo-trade-page .numbo-trade-cta h2 {
    font-size: 28px;
  }
  .numbo-trade-page .numbo-trade-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  .numbo-trade-page .numbo-btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
}
