/* ============================================================
   DRH Consulting — V5
   Palette drawn from the DRH logo: charcoal slate + industrial orange
   ============================================================ */

:root {
  --ink: #161e27;        /* darkest — hero / footer */
  --ink-2: #1d2833;      /* dark panel */
  --slate: #2e3a46;      /* logo charcoal */
  --steel: #52616f;      /* muted text on light */
  --paper: #ffffff;
  --mist: #f3f5f7;       /* alternate section background */
  --line: #e1e6eb;
  --orange: #d95f16;     /* logo orange */
  --orange-hot: #f07a24; /* hover / on-dark accent */
  --orange-soft: rgba(217, 95, 22, 0.09);
  --on-dark: #eef2f5;
  --on-dark-muted: #a9b6c2;
  --maxw: 1160px;
  --radius: 16px;
  --shadow: 0 10px 28px rgba(22, 30, 39, 0.09);
  --shadow-lift: 0 16px 36px rgba(22, 30, 39, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--slate);
  background: var(--paper);
  line-height: 1.55;
  overflow-x: hidden;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: 1.1rem;
  padding-right: 1.1rem;
}

/* ============ Topbar ============ */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0.55rem 1.1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.logo-link {
  display: inline-flex;
  text-decoration: none;
}

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  flex-wrap: wrap;
}

nav a {
  color: var(--slate);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
  transition: color 0.18s ease;
}

nav a:hover { color: var(--orange); }

.pill {
  border: 1.5px solid var(--orange);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  color: var(--orange);
  background: var(--orange-soft);
  transition: background 0.18s ease, color 0.18s ease;
}

.pill:hover {
  background: var(--orange);
  color: #ffffff;
}

/* ============ Type ============ */

h1, h2, h3 {
  margin: 0;
  line-height: 1.1;
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.5rem, 6vw, 4.6rem); }

h2 { font-size: clamp(1.75rem, 3.6vw, 2.7rem); }

.kicker {
  margin: 0 0 0.8rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--orange);
}

.kicker.on-dark { color: var(--orange-hot); }

/* ============ Hero ============ */

.hero {
  position: relative;
  background:
    radial-gradient(720px 420px at 85% -10%, rgba(240, 122, 36, 0.16), rgba(240, 122, 36, 0)),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
  color: var(--on-dark);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.038) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.038) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  padding-top: 4.6rem;
  padding-bottom: 3.6rem;
}

.hero h1 span { color: var(--orange-hot); }

.lead {
  margin-top: 1.15rem;
  max-width: 62ch;
  color: var(--on-dark-muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.7rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.72rem 1.35rem;
  text-decoration: none;
  font-weight: 700;
  font-family: "Inter", sans-serif;
  font-size: 0.97rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.btn-solid {
  background: linear-gradient(140deg, var(--orange-hot), var(--orange));
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(217, 95, 22, 0.32);
}

.btn-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(217, 95, 22, 0.4);
}

.btn-ghost-dark {
  border-color: rgba(238, 242, 245, 0.35);
  color: var(--on-dark);
  background: rgba(255, 255, 255, 0.05);
}

.btn-ghost-dark:hover {
  border-color: var(--orange-hot);
  color: var(--orange-hot);
}

.signal-grid {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.signal-grid article {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  padding: 1.05rem 1.15rem;
}

.metric {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--orange-hot);
  font-size: 1.42rem;
  font-weight: 700;
}

.meta {
  margin: 0.25rem 0 0;
  color: var(--on-dark-muted);
  font-size: 0.95rem;
}

/* Hazard-stripe brand divider */
.hazard {
  height: 6px;
  background: repeating-linear-gradient(
    135deg,
    var(--orange) 0 14px,
    var(--ink-2) 14px 28px
  );
}

/* ============ Sections ============ */

.section { padding: 4.6rem 0; }

.section-alt { background: var(--mist); }

.section-head {
  max-width: 68ch;
  margin-bottom: 2rem;
}

.section-sub {
  margin: 0.9rem 0 0;
  color: var(--steel);
  font-size: 1.04rem;
}

/* ============ Cards ============ */

.cards {
  display: grid;
  gap: 1rem;
}

.cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.cards-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.25rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lift);
  border-color: rgba(217, 95, 22, 0.35);
}

.icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(217, 95, 22, 0.22);
  margin-bottom: 0.85rem;
}

.icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.18rem; }

.card ul {
  margin: 0.7rem 0 0;
  padding-left: 1.1rem;
  color: var(--steel);
  font-size: 0.96rem;
}

.card li + li { margin-top: 0.45rem; }

.card li::marker { color: var(--orange); }

/* ============ Approach split ============ */

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.1rem;
  align-items: start;
}

.panel, .rail {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.6rem 1.5rem;
}

.panel p { color: var(--steel); }

.panel h2 { margin-bottom: 0.4rem; }

.bullets {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.1rem;
}

.bullets p {
  margin: 0;
  border-left: 3px solid var(--orange);
  padding-left: 0.75rem;
  color: var(--slate);
  font-weight: 500;
}

.rail-title {
  margin: 0 0 0.4rem;
  font-family: "Space Grotesk", sans-serif;
  color: var(--slate);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.step {
  margin-top: 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
}

.step span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(145deg, var(--orange-hot), var(--orange));
}

.step h3 { font-size: 1.08rem; }

.step p {
  margin: 0.25rem 0 0;
  color: var(--steel);
  font-size: 0.96rem;
}

/* ============ FleetBay band ============ */

.fleetbay {
  background:
    radial-gradient(640px 380px at 12% 110%, rgba(240, 122, 36, 0.14), rgba(240, 122, 36, 0)),
    linear-gradient(180deg, var(--ink-2) 0%, var(--ink) 100%);
  color: var(--on-dark);
}

.fleetbay h2 { color: #ffffff; }

.fb-copy > p {
  color: var(--on-dark-muted);
  max-width: 56ch;
}

.fb-tagline {
  margin: 0.7rem 0 0.6rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.18rem;
  color: var(--orange-hot) !important;
  font-weight: 500;
}

.fb-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}

.fb-card-title {
  margin: 0 0 0.9rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: var(--on-dark);
}

.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.checks li {
  position: relative;
  padding-left: 1.7rem;
  color: var(--on-dark-muted);
  font-size: 0.97rem;
}

.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.18em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background:
    url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><path d="M5 13l4 4 10-10"/></svg>')
    center / 10px no-repeat,
    linear-gradient(145deg, var(--orange-hot), var(--orange));
}

.fb-chip {
  display: inline-block;
  margin: 1.2rem 0 0;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(240, 122, 36, 0.5);
  color: var(--orange-hot);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

/* ============ Pricing ============ */

.pricing .price-card {
  display: flex;
  flex-direction: column;
  padding-top: 1.6rem;
}

.price-card.featured {
  border-color: rgba(217, 95, 22, 0.55);
  box-shadow: 0 18px 40px rgba(217, 95, 22, 0.16);
}

.badge {
  position: absolute;
  top: -12px;
  left: 1.25rem;
  margin: 0;
  padding: 0.22rem 0.7rem;
  border-radius: 999px;
  background: linear-gradient(140deg, var(--orange-hot), var(--orange));
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tier {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--steel);
  font-size: 0.76rem;
  font-weight: 700;
}

.price {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  color: var(--slate);
  font-size: 1.68rem;
  font-weight: 700;
}

.price span {
  font-size: 0.95rem;
  color: var(--steel);
  font-weight: 500;
}

.price-desc {
  margin: 0.6rem 0 0;
  color: var(--steel);
  font-size: 0.96rem;
}

.note {
  margin: 1.4rem 0 0;
  color: var(--steel);
  font-size: 0.96rem;
  max-width: 75ch;
}

/* ============ Contact ============ */

.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  align-items: start;
}

.contact-copy p { color: var(--steel); }

.contact-copy h2 { margin-bottom: 0.4rem; }

.contact-direct {
  margin-top: 1.4rem;
  display: grid;
  gap: 0.4rem;
}

.contact-direct p { margin: 0; color: var(--slate); }

.contact-direct strong {
  display: inline-block;
  min-width: 74px;
  color: var(--slate);
}

.contact-direct a {
  color: var(--orange);
  font-weight: 600;
  text-decoration: none;
}

.contact-direct a:hover { text-decoration: underline; }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem;
  display: grid;
  gap: 0.8rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--slate);
  font-size: 0.92rem;
  font-weight: 600;
}

input, textarea {
  width: 100%;
  font: inherit;
  font-weight: 400;
  border: 1px solid #cfd7de;
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  background: #ffffff;
  color: var(--ink);
}

input:focus, textarea:focus {
  outline: 2px solid rgba(217, 95, 22, 0.45);
  outline-offset: 1px;
  border-color: var(--orange);
}

.form-status {
  margin: 0;
  min-height: 1.2em;
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
}

/* ============ Footer ============ */

footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  border-top: 4px solid var(--orange);
}

.foot-inner {
  padding-top: 2.4rem;
  padding-bottom: 2.4rem;
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.foot-brand {
  margin: 0 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #ffffff;
}

.foot-line {
  margin: 0.15rem 0;
  font-size: 0.92rem;
}

.foot-right { text-align: right; }

footer a {
  color: var(--orange-hot);
  text-decoration: none;
  font-weight: 600;
}

footer a:hover { text-decoration: underline; }

.copyright { margin-top: 0.8rem; opacity: 0.75; }

/* ============ Reveal animation ============ */

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 1060px) {
  .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .signal-grid,
  .cards-3,
  .split,
  .contact {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.7rem;
  }

  .topbar { position: static; }

  nav { justify-content: center; }

  .logo { width: 64px; height: 64px; }

  .hero-inner { padding-top: 2.8rem; padding-bottom: 2.6rem; }

  .section { padding: 3.2rem 0; }

  .foot-right { text-align: left; }
}

@media (max-width: 560px) {
  .cards-4 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .btn, .card { transition: none; }
}
