/* ==========================================================================
   Steel Horse Group — Landing Page Styles
   ========================================================================== */

:root {
  --ink: #141414;
  --charcoal: #1c1b19;
  --panel-border: #34322e;
  --steel: #55585c;
  --fog: #edeae4;
  --line: #dedad2;
  --paper: #ffffff;
  --accent: #b3341c;
  --accent-soft: rgba(179, 52, 28, 0.12);
  --accent-soft-2: rgba(179, 52, 28, 0.15);
  --muted-dark: #8b8a86;
  --muted-dark-2: #a9a7a1;

  --font-display: 'Oswald', 'Arial Narrow', sans-serif;
  --font-body: 'Barlow', -apple-system, BlinkMacSystemFont, sans-serif;

  --container: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  opacity: 0.85;
}

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
}

section, header, footer {
  width: 100%;
  box-sizing: border-box;
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  margin: 0;
}

.eyebrow {
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 14px;
  margin-bottom: 12px;
}

.btn {
  display: inline-block;
  border-radius: 2px;
  font-weight: 600;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 16px 32px;
  border: 1px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-outline {
  border-color: var(--steel);
  color: #fff;
  background: transparent;
}

/* ---------------- Header / Nav ---------------- */

.site-header {
  background: var(--ink);
  padding: 18px 80px;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---------------- Masthead ---------------- */

.masthead {
  background: var(--paper);
  padding: 40px 80px;
  border-bottom: 1px solid var(--line);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
  text-align: left;
}

.masthead img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  flex-shrink: 0;
}

.masthead-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 36px;
  letter-spacing: 1px;
  color: var(--ink);
  text-transform: uppercase;
  line-height: 1.05;
}

.masthead-tag {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  color: var(--steel);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.brand-mark img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: 1px;
  color: #fff;
  text-transform: uppercase;
  white-space: nowrap;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.main-nav a {
  color: #d8d5cf;
  font-size: 15px;
  font-weight: 500;
}

.main-nav .btn {
  padding: 12px 24px;
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* ---------------- Hero ---------------- */

.hero {
  background: linear-gradient(180deg, #141414 0%, #1c1b19 100%);
  padding: 96px 80px 100px;
}

.hero .wrap {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.hero-copy {
  flex: 1 1 480px;
  min-width: 300px;
}

.hero-badge {
  display: inline-block;
  background: var(--accent-soft-2);
  border: 1px solid var(--accent);
  color: #f2b79a;
  padding: 7px 16px;
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 26px;
}

.hero-copy h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.1;
  color: #fff;
  margin: 0 0 24px;
}

.hero-copy h1 span {
  color: var(--accent);
}

.hero-copy p {
  font-size: 18px;
  line-height: 1.65;
  color: #c7c4bd;
  margin: 0 0 36px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-panel {
  flex: 1 1 420px;
  min-width: 280px;
}

.dispatch-card {
  background: var(--charcoal);
  border: 1px solid var(--panel-border);
  border-radius: 3px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.dispatch-card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--panel-border);
}

.dispatch-card-head .label {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.status-live {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8ee0a0;
  font-size: 13px;
  font-weight: 600;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fbf6a;
  display: inline-block;
}

.dispatch-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
}

.dispatch-row .k {
  color: var(--muted-dark);
}

.dispatch-row .v {
  color: #fff;
  font-weight: 600;
}

/* ---------------- Stats strip ---------------- */

.stats {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 34px 80px;
}

.stats .wrap {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}

.stat {
  flex: 1 1 220px;
  padding: 0 16px;
}

.stat + .stat {
  border-left: 1px solid var(--line);
}

.stat .num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--ink);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.stat .desc {
  font-size: 14px;
  color: var(--steel);
}

/* ---------------- Services ---------------- */

.services {
  background: var(--fog);
  padding: 100px 80px;
}

.section-intro {
  max-width: 640px;
  margin-bottom: 56px;
}

.section-intro h2 {
  font-size: 38px;
  margin: 0 0 16px;
  color: var(--ink);
}

.section-intro p {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  padding: 32px 28px;
  border-radius: 2px;
}

.service-card svg {
  stroke: var(--accent);
}

.service-card h3 {
  font-size: 19px;
  margin: 20px 0 10px;
  color: var(--ink);
}

.service-card p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.55;
  margin: 0;
}

/* ---------------- Coverage ---------------- */

.coverage {
  background: var(--paper);
  padding: 100px 80px;
  text-align: center;
}

.coverage .wrap {
  max-width: 1000px;
}

.coverage h2 {
  font-size: 36px;
  margin: 0 0 18px;
  color: var(--ink);
}

.coverage h2 span {
  color: var(--accent);
}

.coverage > .wrap > p {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0 0 48px;
}

.city-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.city-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--fog);
  border-radius: 2px;
  padding: 20px;
  text-align: left;
}

.city-badge .pin {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.city-badge .pin svg {
  stroke: var(--accent);
}

.city-badge span.city-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
  text-transform: uppercase;
}

/* ---------------- Fleet ---------------- */

.fleet {
  background: var(--ink);
  padding: 100px 80px 90px;
  text-align: center;
}

.fleet .wrap {
  max-width: 1240px;
}

.fleet h2 {
  font-size: 36px;
  color: #fff;
  margin: 0 0 44px;
}

.fleet-illustration {
  max-width: 1100px;
  margin: 0 auto;
}

.fleet-caption {
  max-width: 640px;
  margin: 40px auto 0;
  color: var(--muted-dark-2);
  font-size: 16px;
  line-height: 1.6;
}

/* ---------------- CTA ---------------- */

.cta {
  background: var(--fog);
  padding: 96px 80px;
  text-align: center;
}

.cta .wrap {
  max-width: 640px;
}

.cta h2 {
  font-size: 36px;
  margin: 0 0 16px;
  color: var(--ink);
}

.cta h2 span {
  color: var(--accent);
}

.cta p {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.6;
  margin: 0 0 36px;
}

.cta .btn {
  padding: 18px 44px;
  font-size: 15px;
  letter-spacing: 1px;
  font-weight: 700;
}

/* ---------------- Why choose us ---------------- */

.why {
  background: var(--paper);
  padding: 100px 80px;
}

.why .wrap {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
  align-items: flex-start;
}

.why-intro {
  flex: 1 1 380px;
  min-width: 280px;
}

.why-intro h2 {
  font-size: 34px;
  margin: 0 0 20px;
  color: var(--ink);
}

.why-intro p {
  font-size: 17px;
  color: var(--steel);
  line-height: 1.65;
  margin: 0;
}

.why-list {
  flex: 1 1 480px;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.why-item .check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.why-item h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
  text-transform: uppercase;
  margin: 0 0 4px;
}

.why-item p {
  font-size: 15px;
  color: var(--steel);
  line-height: 1.5;
  margin: 0;
}

/* ---------------- Footer ---------------- */

.site-footer {
  background: var(--ink);
  padding: 80px 80px 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  flex-wrap: wrap;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--panel-border);
}

.footer-brand {
  flex: 1 1 280px;
  min-width: 240px;
}

.footer-brand-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.footer-mark {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.footer-mark img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.footer-brand-row .name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: #fff;
  text-transform: uppercase;
}

.footer-brand p {
  font-size: 14px;
  color: var(--muted-dark);
  line-height: 1.6;
  max-width: 280px;
  margin: 0;
}

.footer-col {
  flex: 1 1 180px;
  min-width: 160px;
}

.footer-col.contact {
  flex-basis: 220px;
  min-width: 200px;
}

.footer-col-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.footer-col a,
.footer-col .line {
  display: block;
  color: var(--muted-dark-2);
  font-size: 14px;
  margin-bottom: 10px;
}

.footer-col a:last-child,
.footer-col .line:last-child {
  margin-bottom: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom span {
  font-size: 13px;
  color: #6f6e6a;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
  .site-header,
  .hero,
  .stats,
  .services,
  .coverage,
  .fleet,
  .cta,
  .why,
  .site-footer {
    padding-left: 40px;
    padding-right: 40px;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .city-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 8px 24px 24px;
    display: none;
    border-top: 1px solid var(--panel-border);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    width: 100%;
    padding: 12px 0;
  }

  .main-nav .btn {
    margin-top: 12px;
    text-align: center;
    width: 100%;
  }

  .site-header {
    position: relative;
  }

  .nav-toggle {
    display: flex;
  }
}

@media (max-width: 640px) {
  .site-header,
  .hero,
  .stats,
  .services,
  .coverage,
  .fleet,
  .cta,
  .why,
  .site-footer {
    padding-left: 24px;
    padding-right: 24px;
  }

  .hero {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .city-grid {
    grid-template-columns: 1fr;
  }

  .stat {
    flex: 1 1 45%;
  }

  .stat + .stat {
    border-left: none;
  }

  .why .wrap {
    gap: 40px;
  }

  .footer-top {
    flex-direction: column;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .brand-name {
    font-size: 19px;
  }

  .masthead .wrap {
    flex-direction: column;
    text-align: center;
  }
}
