/* =============================================
   FastRoute Logistics — style.css
   Brand: Delivery Orange — Primary:#ff6b00 Accent:#ffb84d Bg:#fff4e6
   ============================================= */

:root {
  --primary: #ff6b00;
  --primary-dark: #e55100;
  --primary-light: #ff8c28;
  --accent: #ffb84d;
  --accent-light: #ffcc80;
  --bg: #fff4e6;
  --bg-white: #fffbf5;
  --text: #3a2a1a;
  --text-light: #6b5344;
  --text-muted: #8b7355;
  --white: #ffffff;
  --shadow: 0 2px 12px rgba(255,107,0,0.12);
  --shadow-md: 0 4px 24px rgba(255,107,0,0.16);
  --radius: 10px;
  --radius-lg: 18px;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  padding-top: 40px;
}
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── DEMO BAR ── */
.demo-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--primary);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 0 16px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.03em;
}
.demo-bar a { color: var(--accent-light); text-decoration: underline; }
.demo-bar a:hover { color: var(--white); }

/* ── CHECKBOX HACK NAV ── */
#nav-toggle { display: none; }

header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 40px;
  z-index: 1000;
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  position: relative;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.08rem;
  color: var(--primary);
  text-decoration: none;
}
.nav-logo:hover { text-decoration: none; }
.logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-menu {
  list-style: none;
  display: flex;
  gap: 4px;
  align-items: center;
}
.nav-menu li a {
  display: block;
  padding: 8px 16px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.3s ease;
}
.nav-menu li a:hover,
.nav-menu li a.active {
  color: var(--primary);
  background: rgba(255, 107, 0, 0.06);
  border-radius: var(--radius);
}
.nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  font-weight: 600;
  border-radius: 8px;
  margin-left: 8px;
}
.nav-cta:hover { text-decoration: none; opacity: 0.9; }

.hamburger-label {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
}
.hamburger-label span {
  width: 24px; height: 2.5px;
  background: var(--primary);
  transition: all 0.3s ease;
}

/* MOBILE NAV */
@media (max-width: 768px) {
  .hamburger-label { display: flex; }
  .nav-menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-top: 1px solid #e0e0e0;
  }
  #nav-toggle:checked ~ header .nav-menu {
    max-height: 400px;
  }
  .nav-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
  }
  .nav-menu li:last-child a { border-bottom: none; }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(2) {
    opacity: 0;
  }
  #nav-toggle:checked ~ header .hamburger-label span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
  }
}

/* ── CONTAINER & GRID ── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
  min-height: 500px;
  display: flex; align-items: center; justify-content: center;
}
.hero-inner {
  max-width: 600px;
}
.hero-icon-wrap {
  margin-bottom: 24px;
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 16px;
  border-radius: var(--radius-lg);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  line-height: 1.2;
}
.hero p {
  font-size: 1.05rem;
  margin-bottom: 24px;
  opacity: 0.95;
  line-height: 1.7;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}
.badge {
  background: rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
}
.btn-white {
  background: var(--white);
  color: var(--primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

/* ── STATS ── */
.stats {
  background: var(--white);
  padding: 40px 20px;
  border-top: 1px solid #f0f0f0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  text-align: center;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
  font-weight: 800;
  margin-bottom: 4px;
}
.stat-item span {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ── SECTIONS ── */
.section {
  padding: 60px 20px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  color: var(--text);
  font-weight: 800;
  margin-bottom: 12px;
  text-align: center;
}
.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 2px;
  margin: 0 auto 16px;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 32px;
}
.card {
  background: var(--white);
  padding: 32px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  text-align: center;
  border-top: 4px solid var(--primary);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.card-icon {
  width: 60px; height: 60px;
  background: rgba(255, 107, 0, 0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.card h3 {
  font-size: 1.2rem;
  color: var(--text);
  margin-bottom: 12px;
  font-weight: 700;
}
.card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.6;
}
.card-price {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary);
}

/* ── STEPS ── */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.step-num {
  width: 50px; height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  font-size: 1.4rem;
  flex-shrink: 0;
}
.step-body h4 {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
  font-weight: 700;
}
.step-body p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ── TESTIMONIALS ── */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testi-card {
  background: var(--white);
  padding: 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}
.testi-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.stars {
  color: var(--primary);
  font-size: 0.9rem;
  margin-bottom: 8px;
}
.testi-quote {
  font-size: 2.5rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 8px;
  line-height: 1;
}
.testi-card p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 16px;
  line-height: 1.7;
}
.testi-author {
  display: flex;
  gap: 12px;
  align-items: center;
}
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}
.testi-name {
  font-weight: 600;
  color: var(--text);
  font-size: 0.95rem;
}
.testi-loc {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ── CTA BANNER ── */
.cta-banner {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}
.cta-banner h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 12px;
  font-weight: 800;
}
.cta-banner p {
  font-size: 1.05rem;
  margin-bottom: 28px;
  opacity: 0.95;
}

/* ── FOOTER ── */
footer {
  background: #2a1a0a;
  color: #ddd;
  padding: 40px 20px 20px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto 32px;
}
.footer-brand {
  max-width: 280px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  color: var(--accent);
  margin-bottom: 12px;
}
.footer-brand p {
  font-size: 0.9rem;
  color: #999;
  line-height: 1.6;
}
.footer-col h4 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.footer-col ul {
  list-style: none;
}
.footer-col li {
  margin-bottom: 10px;
}
.footer-col a {
  color: #999;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}
.footer-col a:hover {
  color: var(--accent);
  text-decoration: none;
}
.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  color: #777;
  font-size: 0.85rem;
}
.footer-bottom a {
  color: var(--accent);
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { padding-top: 40px; }
  header { top: 40px; }

  .hero {
    padding: 40px 20px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 1.8rem;
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .section {
    padding: 40px 20px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-item strong {
    font-size: 1.6rem;
  }

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

  .hero-btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    text-align: center;
  }

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

@media (max-width: 480px) {
  .section-title {
    font-size: 1.5rem;
  }

  .card {
    padding: 24px 16px;
  }

  .badge {
    font-size: 0.8rem;
    padding: 6px 12px;
  }

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