/* Direct Surplus Buyers — industrial B2B styles */
:root {
  --slate: #111827;
  --slate-2: #1f2937;
  --slate-3: #374151;
  --amber: #f59e0b;
  --amber-dark: #d97706;
  --amber-ink: #92400e;
  --white: #ffffff;
  --gray: #f3f4f6;
  --gray-2: #e5e7eb;
  --muted: #4b5563;
  --text: #111827;
  --line: #d1d5db;
  --header-h: 72px;
  --bar-h: 64px;
  --shadow: 0 10px 30px rgba(17, 24, 39, 0.12);
  --radius: 10px;
  --max: 1140px;
  --font: "Segoe UI", "Helvetica Neue", Arial, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 1.0625rem;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 0.7em; color: var(--slate); letter-spacing: -0.02em; }
h1 { font-size: clamp(1.85rem, 3.6vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: 0; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.25rem; }
li { margin: 0.3em 0; }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--amber);
  color: var(--slate);
  padding: 0.5rem 1rem;
  z-index: 10000;
  font-weight: 700;
}
.skip:focus { left: 0.75rem; top: 0.75rem; }

.wrap { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--slate);
  color: var(--white);
  border-bottom: 3px solid var(--amber);
  min-height: var(--header-h);
}
.header-inner {
  width: min(100% - 1.25rem, var(--max));
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-height: var(--header-h);
}
.logo {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.2;
  white-space: nowrap;
  flex: 0 0 auto;
}
.logo:hover { color: var(--amber); }
.logo span { color: var(--amber); }

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem 1rem;
  flex: 1 1 auto;
  justify-content: center;
  flex-wrap: wrap;
}
.desktop-nav a {
  color: #e5e7eb;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
  color: var(--amber);
  border-bottom-color: var(--amber);
}

.header-ctas { display: flex; gap: 0.5rem; flex: 0 0 auto; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  border-radius: 6px;
  padding: 0.7rem 1.1rem;
  line-height: 1.25;
  text-align: center;
  border: 2px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-amber { background: var(--amber); color: var(--slate); border-color: var(--amber); }
.btn-amber:hover { background: #fbbf24; }
.btn-slate { background: var(--slate); color: var(--white); border-color: var(--slate); }
.btn-slate:hover { background: var(--slate-2); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: #9ca3af;
}
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }
.btn-outline { background: transparent; color: var(--slate); border-color: var(--slate); }
.btn-outline:hover { border-color: var(--amber-dark); background: #fffbeb; }

.btn-lg { padding: 0.95rem 1.25rem; font-size: 1.02rem; }

.mobile-nav { display: none; position: relative; margin-left: auto; }
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.8rem;
  padding: 0.55rem 0.75rem;
  border: 1px solid #4b5563;
  border-radius: 6px;
  color: var(--white);
  background: var(--slate-2);
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: " \2630"; color: var(--amber); }
.mobile-nav[open] summary::after { content: " \2715"; }
.mobile-panel {
  position: absolute;
  right: 0;
  top: calc(100% + 0.6rem);
  background: var(--slate-2);
  border: 1px solid var(--slate-3);
  border-radius: 8px;
  min-width: min(18rem, 86vw);
  padding: 0.75rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-panel a {
  color: #f3f4f6;
  text-decoration: none;
  font-weight: 600;
  padding: 0.55rem 0.65rem;
  border-radius: 6px;
}
.mobile-panel a:hover,
.mobile-panel a[aria-current="page"] { background: #111827; color: var(--amber); }
.mobile-panel .btn { width: 100%; }

@media (max-width: 1024px) {
  .desktop-nav, .header-ctas { display: none; }
  .mobile-nav { display: block; }
  .logo { font-size: 0.82rem; letter-spacing: 0.05em; }
}

@media (max-width: 420px) {
  .logo { font-size: 0.74rem; letter-spacing: 0.03em; }
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  background: var(--slate);
  min-height: 34rem;
  display: flex;
  align-items: center;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(17,24,39,0.88) 0%, rgba(17,24,39,0.72) 48%, rgba(17,24,39,0.38) 100%);
}
.hero-inner { position: relative; z-index: 1; padding: 3.5rem 0 3.75rem; max-width: 42rem; }
.eyebrow {
  color: var(--amber);
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}
.hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.hero .lede { font-size: 1.12rem; color: #e5e7eb; margin-bottom: 1.5rem; }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.page-hero {
  background: var(--slate);
  color: var(--white);
  padding: 2.4rem 0 2.6rem;
  border-bottom: 3px solid var(--amber);
}
.page-hero h1 { color: var(--white); }
.page-hero .lede { color: #e5e7eb; max-width: 46rem; }

/* Sections */
.section { padding: 3.4rem 0; }
.section-gray { background: var(--gray); }
.section-slate { background: var(--slate-2); color: var(--white); }
.section-slate h2, .section-slate h3 { color: var(--white); }
.section-intro { max-width: 46rem; color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.step {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 1.5rem;
  box-shadow: 0 1px 2px rgba(17,24,39,0.04);
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 999px;
  background: var(--slate);
  color: var(--amber);
  font-weight: 800;
  margin-bottom: 0.7rem;
}
.step h3 { margin-bottom: 0.4rem; }
.step p { margin: 0; color: var(--muted); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.card-grid.five { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 2px rgba(17,24,39,0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  text-decoration: none;
  color: inherit;
}
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card img { width: 100%; height: 180px; object-fit: cover; background: var(--slate-2); }
.card-body { padding: 1.05rem 1.1rem 1.2rem; flex: 1; display: flex; flex-direction: column; }
.card h3 { margin-bottom: 0.4rem; font-size: 1.08rem; }
.card p { color: var(--muted); font-size: 0.95rem; flex: 1; }
.card .more { color: var(--amber-ink); font-weight: 700; margin-top: 0.6rem; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}
.split img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist { list-style: none; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 1.6rem;
  margin: 0.55rem 0;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.65rem;
  height: 0.65rem;
  background: var(--amber);
  border-radius: 2px;
}

.faq { margin-top: 1.5rem; display: grid; gap: 1rem; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-2);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
}
.faq-item h3 { margin-bottom: 0.4rem; }
.faq-item p { margin: 0; color: var(--muted); }

.cta-band {
  background: var(--slate);
  color: var(--white);
  padding: 2.6rem 0;
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}
.cta-band h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band p { color: #e5e7eb; max-width: 40rem; }

.prose { max-width: 46rem; }
.prose h2 { margin-top: 2rem; }
.contact-block {
  background: var(--gray);
  border-left: 4px solid var(--amber);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 1.3rem 1.4rem;
  margin: 1.5rem 0;
}
.contact-block p { margin-bottom: 0.4rem; }
.contact-block a { color: var(--slate); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--amber); }

/* Footer */
.site-footer {
  background: var(--slate);
  color: #d1d5db;
  padding: 2.75rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h2 {
  color: var(--white);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.site-footer a { color: #e5e7eb; text-decoration: none; }
.site-footer a:hover { color: var(--amber); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 0.35rem 0; }
.footer-brand { color: var(--white); font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.6rem; }
.legal {
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 1.1rem;
  font-size: 0.88rem;
  color: #9ca3af;
}

/* Mobile action bar */
.mobile-bar { display: none; }
@media (max-width: 767.98px) {
  body { padding-bottom: calc(var(--bar-h) + 0.75rem); }
  .mobile-bar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1100;
    height: var(--bar-h);
    background: var(--slate);
    border-top: 2px solid var(--amber);
  }
  .mobile-bar a {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.92rem;
    padding: 0.4rem 0.5rem;
    line-height: 1.2;
  }
  .mobile-bar .call { background: var(--slate); color: var(--white); border-right: 1px solid #374151; }
  .mobile-bar .text { background: var(--amber); color: var(--slate); }
  .steps, .split { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .hero { min-height: 28rem; }
  .section { padding: 2.5rem 0; }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .steps { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .split { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 2px;
}
