/*
 * 876BOX SHIP — Intelligence 2.0
 * Homepage lower-section visual refresh
 * Scoped to existing homepage components.
 */

:root {
  --home-border: #e5eaf0;
  --home-shadow: 0 14px 40px rgba(22, 35, 58, .055);
  --home-radius: 22px;
}

/* HOW IT WORKS */
.steps:not(#about):not(#faq) .steps-head {
  max-width: 680px;
  margin-bottom: 30px;
}

.steps:not(#about):not(#faq) .step-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.steps:not(#about):not(#faq) .step-cell {
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: var(--home-radius);
  padding: 32px;
  box-shadow: var(--home-shadow);
  min-width: 0;
  transition: transform .2s ease, box-shadow .2s ease;
}

.steps:not(#about):not(#faq) .step-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(22, 35, 58, .09);
}

.steps:not(#about):not(#faq) .sc-num {
  color: #1e4fa3;
  font-size: 13px;
  letter-spacing: .08em;
}

.steps:not(#about):not(#faq) .sc-title {
  font-size: clamp(19px, 2vw, 23px);
  letter-spacing: -.035em;
  line-height: 1.25;
}

.steps:not(#about):not(#faq) .sc-desc {
  line-height: 1.75;
  font-weight: 500;
}

/* COMMERCIAL EXPORTER GATEWAY */
.b2b-section .b2b-card {
  background: linear-gradient(125deg, #142744, #1d3f70);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 26px;
  box-shadow: 0 20px 55px rgba(20,39,68,.14);
  padding: clamp(28px, 5vw, 54px);
  gap: 28px;
}

.b2b-section .b2b-card h2 {
  color: #fff;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -.04em;
  line-height: 1.15;
}

.b2b-section .b2b-card p {
  color: #d4dfef;
  line-height: 1.8;
  max-width: 60ch;
}

.b2b-section .nav-cta {
  border-radius: 12px;
  box-shadow: none;
  padding: 15px 22px;
}

/* CARGO COVER */
.insurance-promo-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--home-shadow);
}

.insurance-promo-action,
.insurance-promo-link {
  border-radius: 12px;
}

/* SHIPMENT TRACKING */
.track-section .track-card {
  border: 1px solid var(--home-border);
  border-radius: 24px;
  box-shadow: var(--home-shadow);
  background: #fff;
  overflow: hidden;
}

.track-section .track-card h2 {
  letter-spacing: -.035em;
}

.track-section .track-form input {
  border: 1px solid #dbe2eb;
  border-radius: 12px;
  background: #f8fafc;
  box-shadow: none;
}

.track-section .track-form input:focus {
  border-color: #1e4fa3;
  outline: 3px solid rgba(30,79,163,.10);
}

.track-section .track-form button {
  border-radius: 12px;
  box-shadow: none;
}

/* ABOUT */
#about .steps-head {
  max-width: 850px;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--home-border);
  border-radius: 22px;
  box-shadow: var(--home-shadow);
}

#about .steps-head p {
  line-height: 1.85;
  font-weight: 500;
}

/* FAQ */
#faq .faq-list {
  max-width: 100%;
  gap: 12px;
}

#faq .faq-item {
  border: 1px solid var(--home-border);
  border-radius: 16px;
  box-shadow: none;
  overflow: hidden;
  background: #fff;
}

/* FOOTER */
body > footer {
  background: #f3f6fa;
  border-top: 1px solid var(--home-border);
  padding: 42px clamp(20px, 5vw, 60px);
  gap: 24px;
  color: #34445c;
  line-height: 1.8;
}

body > footer a {
  color: #34445c;
  transition: color .2s ease;
}

body > footer a:hover {
  color: #1e4fa3;
}

/* TABLET & MOBILE */
@media (max-width: 860px) {
  .steps:not(#about):not(#faq) .step-grid {
    grid-template-columns: 1fr;
  }

  .steps:not(#about):not(#faq) .step-cell {
    border: 1px solid var(--home-border);
  }

  .b2b-section .b2b-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .steps:not(#about):not(#faq) .step-cell {
    padding: 25px;
  }

  #about .steps-head {
    padding: 24px;
  }

  body > footer {
    padding-top: 34px;
    padding-bottom: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .steps:not(#about):not(#faq) .step-cell {
    transition: none;
  }

  .steps:not(#about):not(#faq) .step-cell:hover {
    transform: none;
  }
}
