/* =========================================================
   Behrens Logistics — styles.css
   Structural DNA matched to prairieledger.com, re-skinned red.
   Plain CSS3, no build step, mobile-first.
   ========================================================= */

:root {
  --red: #d40000;
  --red-dark: #a30000;
  --red-tint: #fbe6e6;
  --ink: #231f20;
  --ink-soft: #4a4544;
  --cream: #faf6f0;
  --cream-card: #ffffff;
  --tan: #8a6d3b;
  --border: #e8ddd0;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(35, 31, 32, 0.08);
  --shadow-sm: 0 4px 14px rgba(35, 31, 32, 0.06);
  --max: 1120px;
  --font-head: "Barlow Condensed", "DejaVu Sans Condensed", Arial, sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; }
a:hover { color: var(--red-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.2px;
  margin: 0 0 0.5em;
  color: var(--ink);
}

h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--red);
  margin-bottom: 0.6em;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

section { padding: 72px 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--red-dark); color: #fff; }

.btn-secondary {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.btn-secondary:hover { border-color: var(--red); color: var(--red); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 246, 240, 0.92);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.nav-logo img { height: 40px; width: auto; }

.nav-links {
  display: none;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 32px;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.3px;
}

.nav-links a { color: var(--ink); }
.nav-links a:hover { color: var(--red); }

@media (min-width: 800px) {
  .nav-links { display: flex; }
}

.nav-cta { display: none; }
@media (min-width: 800px) {
  .nav-cta { display: inline-flex; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.hero-sub {
  max-width: 620px;
  margin: 0 auto 2em;
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.hero-mark {
  max-width: 220px;
  margin: 0 auto;
  opacity: 0.95;
}

/* ---------- How it works ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  margin-top: 48px;
}

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(4, 1fr); }
}

.step-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.step-num {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 2.4rem;
  color: var(--red);
  line-height: 1;
  margin-bottom: 12px;
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

/* ---------- Stats strip ---------- */
.stats {
  background: var(--ink);
  border-radius: var(--radius);
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  color: #fff;
}

@media (min-width: 700px) {
  .stats { grid-template-columns: repeat(4, 1fr); }
}

.stat-label {
  font-family: var(--font-head);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.8rem;
  color: #e8b6b6;
  margin-bottom: 6px;
}

.stat-value {
  font-size: 1.25rem;
  font-weight: 600;
}

/* ---------- Services ---------- */
.service-tiers {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

@media (min-width: 800px) {
  .service-tiers { grid-template-columns: 1fr 1fr; }
}

.service-card {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.service-card.is-roadmap {
  background: var(--red-tint);
  border-color: #f2c9c9;
}

.service-card ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--ink-soft);
}
.service-card li { margin-bottom: 0.5em; }

.tier-tag {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.tier-tag.now { background: var(--red); color: #fff; }
.tier-tag.next { background: var(--tan); color: #fff; }

/* ---------- About / cards ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 24px;
}

@media (min-width: 850px) {
  .about-grid { grid-template-columns: 1.1fr 0.9fr; }
}

.about-mark {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 40px;
  text-align: center;
}

/* ---------- FAQ ---------- */
.faq-list { margin-top: 40px; }

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.faq-item h3 { margin-bottom: 8px; }
.faq-item p { margin-bottom: 0; }

/* ---------- Contact ---------- */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-top: 40px;
}

@media (min-width: 850px) {
  .contact-wrap { grid-template-columns: 0.9fr 1.1fr; }
}

.contact-info {
  background: var(--ink);
  color: #fff;
  border-radius: var(--radius);
  padding: 36px;
}
.contact-info h3 { color: #fff; }
.contact-info p { color: #d9d3d0; }
.contact-info a { color: #ffb3b3; }

.contact-form {
  background: var(--cream-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}

.form-row { margin-bottom: 20px; }

.form-row label {
  display: block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.3px;
  margin-bottom: 6px;
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  background: #fff;
  color: var(--ink);
}

.form-row input:focus,
.form-row textarea:focus {
  outline: 2px solid var(--red);
  outline-offset: 1px;
}

.form-row textarea { min-height: 140px; resize: vertical; }

/* Honeypot: off-screen, not display:none, so bots that autofill still trip it */
.hp-field {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-note {
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 12px;
}

.form-success,
.form-error {
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  margin-bottom: 20px;
  font-weight: 600;
}
.form-success { background: #e6f4ea; color: #1e5b34; }
.form-error { background: #fbe6e6; color: #8c1f1f; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #cfc9c6;
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
}

@media (min-width: 700px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}

.footer-logo img { height: 68px; margin-bottom: 12px; }

.footer-tagline {
  color: #a89f9c;
}
.footer-tagline a {
  color: inherit;
  text-decoration: none;
}
.footer-tagline a:hover { color: #fff; }

.site-footer h4 {
  font-family: var(--font-head);
  color: #fff;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  font-size: 0.95rem;
  text-transform: uppercase;
}

.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: #cfc9c6; }
.site-footer a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid #3a3536;
  margin-top: 40px;
  padding-top: 24px;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  color: #a89f9c;
}
.footer-bottom a { color: inherit; text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utility ---------- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--red);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }
