/* CareHaul — NEMT landing page */

:root {
  --bg:         #0B1F16;
  --bg-alt:     #0F2B1E;
  --bg-card:    #122318;
  --green-mid:  #1E3A28;
  --green-light:#2D5240;
  --sage:       #4A7C59;
  --amber:      #E8A849;
  --amber-dark: #C4892A;
  --cream:      #F5F0E8;
  --off-white:  #FAFAF8;
  --text:       #E8E4DC;
  --text-muted: #8A9A8F;
  --border:     rgba(232, 168, 73, 0.15);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--off-white);
}

.section-label {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

/* ── Navbar ── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 31, 22, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  height: 60px;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--off-white);
  letter-spacing: -0.02em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* ── Hero ── */
.hero {
  min-height: calc(100vh - 60px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(74, 124, 89, 0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-text {
  padding: 5rem 4rem 5rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 640px;
}

.hero-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--off-white);
  margin-bottom: 1.5rem;
  line-height: 1.05;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 3rem;
  max-width: 480px;
  line-height: 1.7;
}

.hero-stat-row {
  display: flex;
  gap: 3rem;
}

.hero-stat {}

.stat-number {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--amber);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  max-width: 160px;
}

.hero-image-wrap {
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--green-mid) 0%, var(--bg-alt) 100%);
  position: relative;
}

.hero-img-placeholder::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 40px,
      rgba(232, 168, 73, 0.03) 40px,
      rgba(232, 168, 73, 0.03) 41px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 40px,
      rgba(232, 168, 73, 0.03) 40px,
      rgba(232, 168, 73, 0.03) 41px
    );
}

/* ── Problem ── */
.problem {
  background: var(--bg-alt);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.problem-inner {
  max-width: 760px;
  margin: 0 auto;
}

.problem-headline {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  line-height: 1.15;
}

.problem-body {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ── Features ── */
.features {
  background: var(--bg);
  padding: 7rem 2rem;
}

.features-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.features-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.features-sub {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 4rem;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-bottom: 2px;
}

.feature-row-2 {
  margin-top: 2px;
}

.feature-item {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
}

.feature-icon {
  margin-bottom: 1.25rem;
}

.feature-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── How ── */
.how {
  background: var(--bg-alt);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.how-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.how-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 4rem;
  max-width: 600px;
}

.how-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.step {
  padding: 2.5rem 2rem 2.5rem 0;
  border-left: 2px solid var(--border);
  padding-left: 2rem;
}

.step-num {
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
  display: block;
  margin-bottom: 1rem;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Difference ── */
.difference {
  background: var(--bg);
  padding: 7rem 2rem;
}

.diff-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.diff-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-top: 0;
}

.diff-item {
  background: var(--bg-card);
  padding: 2.5rem 2rem;
  border-left: 3px solid var(--amber);
}

.diff-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  color: var(--amber);
  letter-spacing: -0.01em;
}

.diff-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Closing ── */
.closing {
  background: var(--green-mid);
  padding: 7rem 2rem;
  border-top: 1px solid var(--border);
}

.closing-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.closing-kicker {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.5rem;
}

.closing-headline {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  line-height: 1.1;
}

.closing-body {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* ── Payment Section ── */
.payment-section {
  background: var(--bg);
  padding: 7rem 2rem;
}

.payment-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: center;
}

.payment-content {
  max-width: 560px;
}

.payment-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  line-height: 1.1;
}

.payment-body {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.payment-body strong {
  color: var(--amber);
  font-weight: 600;
}

.payment-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn-pay {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  background: var(--amber);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.1s ease;
  letter-spacing: -0.01em;
}

.btn-pay:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.pay-link-text {
  font-size: 0.875rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.pay-link-text:hover {
  color: var(--text);
}

.payment-amount-badge {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  text-align: center;
  min-width: 160px;
}

.payment-amount-label {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}

.payment-amount-value {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--off-white);
  line-height: 1;
  letter-spacing: -0.02em;
}

.payment-amount-note {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .payment-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .payment-amount-badge {
    order: -1;
    padding: 1.5rem 2rem;
  }

  .payment-amount-value {
    font-size: 2.5rem;
  }
}

/* ── Footer ── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 4rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto 3rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4rem;
  align-items: start;
}

.footer-logo {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--off-white);
  display: block;
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--text-muted);
  max-width: 280px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 4rem;
}

.footer-col h4 {
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 1.25rem;
}

.footer-col span {
  display: block;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── Book Ride CTA ── */
.book-ride-section {
  background: var(--bg-alt);
  padding: 5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.book-ride-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 3rem;
  flex-wrap: wrap;
}

.book-ride-badge {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.book-ride-text { flex: 1; min-width: 240px; }

.book-ride-headline {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
  color: var(--off-white);
}

.book-ride-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
}

.book-ride-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-book-ride {
  display: inline-flex;
  align-items: center;
  padding: 0.9rem 2rem;
  background: var(--amber);
  color: var(--bg);
  font-family: 'Syne', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.1s;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.btn-book-ride:hover {
  background: var(--amber-dark);
  transform: translateY(-1px);
}

.book-ride-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-align: center;
  width: 100%;
}

/* ── Mobile ── */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-text {
    padding: 4rem 1.5rem 3rem;
    order: 2;
  }

  .hero-image-wrap {
    height: 280px;
    order: 1;
  }

  .hero-headline {
    font-size: 3rem;
  }

  .hero-stat-row {
    flex-direction: column;
    gap: 1.5rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .how-steps {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .step {
    border-left: none;
    border-top: 2px solid var(--border);
    padding: 2rem 0;
  }

  .step:first-child {
    border-top: none;
    padding-top: 0;
  }

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

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-links {
    gap: 2rem;
  }

  .problem-headline,
  .features-headline,
  .how-headline,
  .closing-headline {
    font-size: 2rem;
  }

  .features,
  .problem,
  .how,
  .difference,
  .closing,
  .book-ride-section {
    padding: 5rem 1.5rem;
  }

  .book-ride-inner {
    flex-direction: column;
    gap: 2rem;
  }

  .book-ride-badge { display: none; }

  .book-ride-actions { width: 100%; }

  .btn-book-ride { width: 100%; justify-content: center; }
}

/* ── Noise overlay ── */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}