/* ============================================================
   Warehousing Services Landing Page
   Prefix: wh-
   Font: Inter (loaded via Head link)
   ============================================================ */

.wh-page { font-family: 'Inter', system-ui, sans-serif; color: #1a1a2e; }
.wh-page a { text-decoration: none; color: inherit; }
.wh-page ul { list-style: none; margin: 0; padding: 0; }
.wh-page * { box-sizing: border-box; }

/* ===== CTA BUTTON ===== */
.wh-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 18px 40px; background: linear-gradient(135deg, #f97316, #ea580c); color: #fff !important;
  font-size: 17px; font-weight: 700; border: none; border-radius: 12px; cursor: pointer;
  transition: all 0.25s; box-shadow: 0 4px 20px rgba(249,115,22,0.35);
  font-family: 'Inter', system-ui, sans-serif; text-decoration: none;
}
.wh-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(249,115,22,0.45); color: #fff !important; text-decoration: none; }
.wh-cta-btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.wh-cta-wrap { text-align: center; margin-top: 40px; }
.wh-cta-wrap.left { text-align: left; margin-top: 28px; }
.wh-friction-text { text-align: center; margin-top: 12px; font-size: 14px; color: #94a3b8; }

/* ===== SECTION COMMON ===== */
.wh-section-header { text-align: center; margin-bottom: 48px; }
.wh-section-label {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #6366f1; margin-bottom: 12px;
}
.wh-section-title { font-size: 40px; font-weight: 800; color: #0f172a; letter-spacing: -1px; line-height: 1.15; }

/* Check icon */
.wh-check {
  width: 24px; height: 24px; min-width: 24px; background: #dcfce7; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.wh-check svg { width: 14px; height: 14px; color: #16a34a; }
.wh-check.sm { width: 22px; height: 22px; min-width: 22px; }
.wh-check.sm svg { width: 12px; height: 12px; }

/* ===== HERO ===== */
.wh-hero {
  padding: 40px 0 80px;
  background: linear-gradient(170deg, #f8faff 0%, #eef2ff 50%, #e0e7ff 100%);
}
.wh-hero-content { padding-top: 16px; }

.wh-hero-badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid #c7d2fe; border-radius: 100px; padding: 8px 20px;
  font-size: 14px; font-weight: 700; color: #4f46e5; margin-bottom: 20px;
}
.wh-badge-dot {
  width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
  animation: wh-pulse 2s infinite;
}
@keyframes wh-pulse { 0%,100%{opacity:1} 50%{opacity:.4} }

.wh-hero h1 {
  font-size: 50px; font-weight: 900; line-height: 1.12;
  letter-spacing: -2px; color: #0f172a; margin-bottom: 24px;
}
.wh-highlight { color: #4f46e5; }
.wh-hero-sub { font-size: 19px; color: #475569; line-height: 1.7; margin-bottom: 28px; }

.wh-hero-checks { display: flex; flex-direction: column; gap: 14px; margin-bottom: 28px; }
.wh-hero-check { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: #1e293b; }

.wh-hero-trust-label { font-size: 14px; font-weight: 700; color: #0f172a; margin-bottom: 14px; }
.wh-hero-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}
.wh-hero-track {
  display: flex; gap: 28px; animation: wh-slide 25s linear infinite;
  width: max-content; align-items: center;
}
@keyframes wh-slide { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.wh-brand-img { height: 52px; width: auto; object-fit: contain; flex-shrink: 0; opacity: 0.85; }

/* ===== HERO FORM — ContactForm override (same pattern as d2c-shipping-services) ===== */
.wh-hero-form-col {
  padding-top: 8px;
}

.wh-hero .pz-contact-section {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  gap: 0;
}

.wh-hero .pz-contact-form-card {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
}

.wh-hero .pz-contact-form-card-heading {
  font-size: 20px;
  font-weight: 800;
  color: #0f172a;
  text-align: center;
}

.wh-hero .pz-contact-form-card-subtext {
  text-align: center;
  color: #64748b;
  font-size: 13px;
}

/* CLS: reserve space while HubSpot form injects HTML */
.wh-form-min-height .pz-contact-section { min-height: 540px; }
.wh-form-min-height .pz-contact-form-card { min-height: 500px; }
.wh-form-min-height #wh-hero-form { min-height: 380px; }

/* ===== STATS SECTION ===== */
.wh-stats-section { padding: 80px 0; background: #f8fafc; }
.wh-stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.wh-stat-card {
  text-align: center; padding: 36px 24px; background: #fff;
  border: 1px solid #e2e8f0; border-radius: 16px; transition: all 0.3s;
}
.wh-stat-card:hover { border-color: #c7d2fe; box-shadow: 0 4px 20px rgba(99,102,241,0.06); }
.wh-stat-num { font-size: 44px; font-weight: 900; letter-spacing: -1px; margin-bottom: 8px; }
.wh-stat-card:nth-child(1) .wh-stat-num { color: #dc2626; }
.wh-stat-card:nth-child(2) .wh-stat-num { color: #16a34a; }
.wh-stat-card:nth-child(3) .wh-stat-num { color: #4f46e5; }
.wh-stat-card h3 { font-size: 18px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.wh-stat-card p { font-size: 15px; color: #64748b; line-height: 1.6; }

/* ===== MARQUEE STRIPS ===== */
.wh-strip { padding: 32px 0; background: #0f172a; text-align: center; }
.wh-strip-title { font-size: 28px; font-weight: 800; color: rgba(255,255,255,0.95); letter-spacing: -0.5px; margin-bottom: 20px; }
.wh-strip-overflow {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.wh-strip-track { display: flex; gap: 0; animation: wh-slide 30s linear infinite; width: max-content; }
.wh-strip-item {
  padding: 8px 28px; font-size: 14px; font-weight: 700;
  color: rgba(255,255,255,0.6); white-space: nowrap;
  font-family: 'Inter', system-ui, sans-serif;
}
.wh-strip-light { background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.wh-strip-light .wh-strip-title { color: #0f172a; }
.wh-strip-light .wh-strip-item { color: #475569; }
.wh-strip-track-reverse { animation-direction: reverse; }

/* ===== HOW IT WORKS ===== */
.wh-how-section { padding: 80px 0; background: #fff; }
.wh-how-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.wh-how-step { text-align: center; }
.wh-how-step-num {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: #fff; font-size: 24px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
}
.wh-how-step h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 8px; }
.wh-how-step p { font-size: 15px; color: #64748b; line-height: 1.6; max-width: 300px; margin: 0 auto; }

/* ===== PAIN / SOLUTION ===== */
.wh-pain-section { padding: 80px 0; background: #f8fafc; border-top: 1px solid #e2e8f0; border-bottom: 1px solid #e2e8f0; }
.wh-pain-pairs { display: flex; flex-direction: column; gap: 24px; }
.wh-pain-pair {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch;
  border-radius: 16px; overflow: hidden; border: 1px solid #e2e8f0;
}
.wh-pain-side { padding: 32px; display: flex; gap: 16px; align-items: flex-start; }
.wh-pain-side.problem { background: #fef2f2; }
.wh-pain-side.solution { background: #f0fdf4; }
.wh-pain-icon {
  width: 44px; height: 44px; min-width: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.wh-pain-side.problem .wh-pain-icon { background: #fee2e2; }
.wh-pain-side.solution .wh-pain-icon { background: #dcfce7; }
.wh-pain-side h3 { font-size: 20px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.wh-pain-side p { font-size: 15px; color: #64748b; line-height: 1.6; }
.wh-pair-arrow { display: flex; align-items: center; justify-content: center; background: #f1f5f9; padding: 0 16px; color: #4f46e5; }
.wh-pair-arrow svg { width: 24px; height: 24px; }

/* ===== VALUE PROP SECTIONS ===== */
.wh-value-section { padding: 80px 0; }
.wh-value-section.bg-white { background: #fff; }
.wh-value-section.bg-gray { background: #f8fafc; }
.wh-value-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wh-value-grid.reverse .wh-value-text { order: 2; }
.wh-value-grid.reverse .wh-value-visual { order: 1; }

.wh-value-text .wh-section-label { display: block; text-align: left; }
.wh-value-text h2 { font-size: 34px; font-weight: 800; color: #0f172a; letter-spacing: -0.5px; margin-bottom: 16px; line-height: 1.2; }
.wh-value-text > p { font-size: 17px; color: #64748b; line-height: 1.7; margin-bottom: 24px; }
.wh-value-list { display: flex; flex-direction: column; gap: 12px; margin-bottom: 8px; }
.wh-value-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: #1e293b; }

.wh-value-visual {
  background: linear-gradient(135deg, #1e1b4b, #312e81); border-radius: 20px;
  padding: 48px; position: relative; overflow: hidden; min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
}
.wh-value-visual::before {
  content: ''; position: absolute; top: -50%; right: -50%; width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(99,102,241,0.15), transparent 60%);
}
.wh-value-visual > * { position: relative; z-index: 1; }
.wh-value-visual h3 { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 8px; }
.wh-value-visual > p { color: #a5b4fc; font-size: 14px; line-height: 1.6; margin-bottom: 24px; }

.wh-vis-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wh-vis-stat {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px; padding: 20px; text-align: center;
}
.wh-vis-stat .num { font-size: 18px; font-weight: 800; color: #818cf8; line-height: 1.2; }
.wh-vis-stat .lbl { font-size: 12px; color: #a5b4fc; margin-top: 4px; }

.wh-vis-bars { display: flex; flex-direction: column; gap: 14px; }
.wh-vis-bar-row { display: flex; align-items: center; gap: 12px; }
.wh-vis-bar-lbl { width: 100px; font-size: 13px; color: #c7d2fe; font-weight: 500; flex-shrink: 0; }
.wh-vis-bar { flex: 1; height: 8px; background: rgba(255,255,255,0.1); border-radius: 4px; overflow: hidden; }
.wh-vis-bar-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, #818cf8, #6366f1); }

/* ===== TESTIMONIALS ===== */
.wh-social-mid { padding: 80px 0; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.wh-testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
.wh-testimonial-card {
  background: #fff; border-radius: 20px; padding: 36px; display: flex; flex-direction: column;
  justify-content: space-between; box-shadow: 0 4px 24px rgba(0,0,0,0.06); border: 1px solid #e2e8f0;
}
.wh-testimonial-stars { color: #facc15; font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.wh-testimonial-quote { font-size: 15px; color: #475569; line-height: 1.7; font-style: italic; margin-bottom: 24px; flex: 1; }
.wh-testimonial-author { display: flex; align-items: center; gap: 14px; }
.wh-testimonial-avatar {
  width: 48px; height: 48px; border-radius: 50%; overflow: hidden;
  border: 3px solid #e0e7ff; flex-shrink: 0;
}
.wh-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.wh-testimonial-name { font-size: 15px; font-weight: 700; color: #0f172a; }
.wh-testimonial-role { font-size: 12px; color: #64748b; margin-top: 2px; }
.wh-testimonial-company { font-size: 12px; font-weight: 600; color: #6366f1; margin-top: 2px; }

/* ===== DIFFERENTIATORS ===== */
.wh-diff-section { padding: 80px 0; background: #fff; }
.wh-diff-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.wh-diff-card {
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 16px; padding: 28px;
  text-align: center; transition: all 0.3s;
}
.wh-diff-card:hover { border-color: #c7d2fe; box-shadow: 0 4px 20px rgba(99,102,241,0.06); }
.wh-diff-icon { font-size: 40px; margin-bottom: 14px; }
.wh-diff-card h3 { font-size: 17px; font-weight: 700; color: #0f172a; margin-bottom: 6px; }
.wh-diff-card p { font-size: 14px; color: #64748b; line-height: 1.6; }

/* ===== FAQ ===== */
.wh-faq-section { padding: 80px 0; background: #fff; border-top: 1px solid #e2e8f0; }
.wh-faq-list { max-width: 800px; margin: 48px auto 0; }
.wh-faq-item { border-bottom: 1px solid #e2e8f0; }
.wh-faq-question {
  padding: 20px 0; display: flex; justify-content: space-between; align-items: center;
  cursor: pointer; gap: 16px; background: none; border: none; width: 100%; text-align: left;
}
.wh-faq-question h3 { font-size: 17px; font-weight: 600; color: #0f172a; font-family: 'Inter', system-ui, sans-serif; margin: 0; }
.wh-faq-toggle {
  width: 28px; height: 28px; min-width: 28px; display: flex;
  align-items: center; justify-content: center; transition: transform 0.3s;
}
.wh-faq-toggle.open { transform: rotate(180deg); }
.wh-faq-toggle svg { width: 16px; height: 16px; color: #64748b; }
.wh-faq-answer { overflow: hidden; transition: max-height 0.35s ease; }
.wh-faq-answer-inner {
  padding: 0 0 20px; font-size: 15px; color: #64748b; line-height: 1.7;
  white-space: pre-line;
}

/* ===== FINAL CTA SECTION ===== */
.wh-final-section { padding: 80px 0; background: #f0f4ff; border-top: 1px solid #e0e7ff; }
.wh-final-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.wh-final-text h2 { font-size: 36px; font-weight: 900; color: #0f172a; letter-spacing: -1px; margin-bottom: 16px; line-height: 1.2; }
.wh-final-text > p { font-size: 17px; color: #64748b; line-height: 1.7; margin-bottom: 24px; }
.wh-final-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.wh-final-list li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 500; color: #1e293b; }

/* ===== STICKY MOBILE CTA ===== */
.wh-sticky-cta {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; background: #fff;
  padding: 12px 16px; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 200; border-top: 1px solid #e2e8f0;
}
.wh-sticky-cta .wh-cta-btn { width: 100%; padding: 14px; font-size: 15px; border-radius: 12px; justify-content: center; }

/* ===== RESPONSIVE: TABLET ===== */
@media (max-width: 1024px) {
  .wh-hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .wh-hero-form-wrap { max-width: 520px; }
  .wh-hero h1 { font-size: 40px; }
  .wh-stats-grid { grid-template-columns: repeat(3, 1fr); }
  .wh-value-grid { grid-template-columns: 1fr; gap: 40px; }
  .wh-value-grid.reverse .wh-value-text { order: 1; }
  .wh-value-grid.reverse .wh-value-visual { order: 2; }
  .wh-value-visual { min-height: 260px; }
  .wh-final-grid { grid-template-columns: 1fr; gap: 40px; }
  .wh-diff-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== RESPONSIVE: MOBILE ===== */
@media (max-width: 768px) {
  .wh-hero { padding: 20px 0 48px; }
  .wh-hero h1 { font-size: 30px; letter-spacing: -1px; }
  .wh-hero-sub { font-size: 15px; }
  .wh-hero-badge { font-size: 12px; padding: 5px 14px; }
  .wh-section-title { font-size: 26px; letter-spacing: -0.5px; }
  .wh-section-header { margin-bottom: 32px; }

  .wh-stats-section { padding: 56px 0; }
  .wh-stats-grid { grid-template-columns: 1fr; gap: 16px; }
  .wh-stat-num { font-size: 36px; }

  .wh-strip-title { font-size: 20px; }

  .wh-how-section { padding: 56px 0; }
  .wh-how-steps { grid-template-columns: 1fr; gap: 32px; }
  .wh-how-step-num { width: 48px; height: 48px; font-size: 20px; }

  .wh-pain-section { padding: 56px 0; }
  .wh-pain-pair { grid-template-columns: 1fr; }
  .wh-pair-arrow { padding: 10px 0; }
  .wh-pair-arrow svg { transform: rotate(90deg); }
  .wh-pain-side { padding: 24px 16px; }
  .wh-pain-side h3 { font-size: 17px; }
  .wh-pain-side p { font-size: 14px; }

  .wh-value-section { padding: 56px 0; }
  .wh-value-text h2 { font-size: 24px; }
  .wh-value-text > p { font-size: 15px; }
  .wh-value-text .wh-cta-wrap { text-align: center; }
  .wh-value-visual { padding: 32px 20px; border-radius: 16px; min-height: auto; }

  .wh-social-mid { padding: 56px 0; }
  .wh-testimonial-grid { grid-template-columns: 1fr; }
  .wh-testimonial-card { padding: 24px; }
  .wh-testimonial-quote { font-size: 14px; }

  .wh-diff-section { padding: 56px 0; }
  .wh-diff-grid { grid-template-columns: 1fr; gap: 12px; }
  .wh-diff-card { display: flex; gap: 16px; text-align: left; align-items: flex-start; padding: 20px; }
  .wh-diff-icon { font-size: 28px; margin-bottom: 0; flex-shrink: 0; }

  .wh-faq-section { padding: 56px 0; }
  .wh-faq-list { margin-top: 32px; }
  .wh-faq-question { padding: 16px 0; }
  .wh-faq-question h3 { font-size: 15px; }
  .wh-faq-answer-inner { font-size: 14px; padding: 0 0 16px; }

  .wh-final-section { padding: 56px 0 80px; }
  .wh-final-text h2 { font-size: 24px; }
  .wh-final-text > p { font-size: 15px; }

  .wh-sticky-cta { display: block; }
  .wh-cta-btn { padding: 14px 24px; font-size: 15px; }
}

@media (max-width: 400px) {
  .wh-hero h1 { font-size: 25px; }
  .wh-section-title { font-size: 22px; }
  .wh-stat-num { font-size: 32px; }
}
