/* ============================================================
   GoRoute Cabs — style.css
   Shared design tokens, global components, utilities
   ============================================================ */

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { line-height: 1.6; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
h1,h2,h3,h4,h5,h6 { margin: 0; font-weight: 700; }
p { margin: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }
table { border-collapse: collapse; border-spacing: 0; }
/* ── CSS VARIABLES ── */
:root {
  --primary:        #FF4500;
  --primary-dark:   #CC3700;
  --primary-light:  #FFF3EE;
  --primary-border: #FFD4C5;
  --secondary:      #111827;
  --wa-green:       #25D366;
  --wa-dark:        #128C7E;

  --text:           #111827;
  --text-muted:     #6B7280;
  --text-light:     #9CA3AF;

  --bg:             #FFFFFF;
  --bg-2:           #F9FAFB;
  --bg-3:           #F3F4F6;

  --border:         #E5E7EB;
  --border-dark:    #D1D5DB;

  --font-display:   'Poppins', sans-serif;
  --font-body:      'DM Sans', sans-serif;

  --radius:         12px;
  --radius-lg:      18px;
  --radius-xl:      24px;

  --shadow:         0 1px 3px rgba(0,0,0,0.08), 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md:      0 4px 12px rgba(0,0,0,0.1), 0 8px 32px rgba(0,0,0,0.08);
  --shadow-lg:      0 12px 40px rgba(0,0,0,0.12);
  --shadow-orange:  0 8px 24px rgba(255,69,0,0.25);

  --navbar-h:       72px;
  --section-py:     64px;
}

/* ── BASE ── */
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }

/* ── SECTION LAYOUT ── */
section {
  display: block;
  padding: var(--section-py) 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── SECTION HEADER ── */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid var(--primary-border);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--primary);
  border-radius: 50%;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-title em { color: var(--primary); font-style: normal; }

.section-sub {
  font-size: 17px;
  color: var(--text-muted);
  /* max-width: 900px; */
  line-height: 1.7;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: var(--shadow-orange);
}
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(255,69,0,0.35); color: white; }

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; transform: translateY(-2px); }

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow);
}
.btn-white:hover { background: var(--primary-light); transform: translateY(-2px); color: var(--primary); }

.btn-dark {
  background: var(--secondary);
  color: white;
}
.btn-dark:hover { background: #1f2937; transform: translateY(-2px); color: white; }

.btn-wa {
  display: inline-flex; align-items: center; gap: 8px;
  background: #167F3D;
  color: white;
  padding: 12px 24px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
.btn-wa:hover { background: #126A33; color: white; transform: translateY(-2px); }

.btn-call {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border-dark);
  padding: 11px 22px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.25s;
}
.btn-call:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* ── NAVBAR ── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--navbar-h);
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
  z-index: 1000;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.navbar.scrolled {
  border-color: var(--border);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}

.nav-logo-icon {
  width: 40px; height: 40px;
  background: linear-gradient(135deg, var(--primary), #FF6B35);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.nav-logo-text {
  display: flex; flex-direction: column; line-height: 1.1;
}

.nav-logo-text span:first-child {
  font-family: var(--font-display);
  font-size: 18px; font-weight: 800;
  color: var(--text);
}
.nav-logo-text span:first-child em { color: var(--primary); font-style: normal; }
.nav-logo-text span:last-child {
  font-size: 10px; font-weight: 600;
  color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase;
}

.nav-links {
  display: flex; align-items: center; gap: 4px;
  list-style: none;
}

.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px; font-weight: 500;
  color: var(--text-muted);
  transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: var(--primary-light);
}

.nav-cta {
  display: flex; align-items: center; gap: 8px;
}

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  cursor: pointer; padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-h); left: 0; right: 0; bottom: 0;
  background: white;
  padding: 24px;
  flex-direction: column; gap: 8px;
  z-index: 999;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 16px; font-weight: 500;
  color: var(--text);
  border: 1px solid var(--border);
}
.mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); background: var(--primary-light); border-color: var(--primary-border); }
.mobile-menu .mobile-cta { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.mobile-menu .mobile-cta a { text-align: center; justify-content: center; }

/* ── PAGE HERO BANNER ── */
.page-hero {
  background: linear-gradient(135deg, var(--secondary) 0%, #1f2937 100%);
  padding: calc(var(--navbar-h) + 64px) 0 80px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,69,0,0.15);
  border: 1px solid rgba(255,69,0,0.3);
  color: #FF8C5A;
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  margin-bottom: 20px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800; color: white;
  margin-bottom: 16px; letter-spacing: -1px;
}
.page-hero h1 em { color: var(--primary); font-style: normal; }

.page-hero p {
  font-size: 17px; color: rgba(255,255,255,0.65); max-width: 520px; line-height: 1.7;
}

.page-hero-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-size: 13px; color: rgba(255,255,255,0.45);
}
.page-hero-breadcrumb a { color: rgba(255,255,255,0.65); }
.page-hero-breadcrumb a:hover { color: var(--primary); }
.page-hero-breadcrumb .sep { opacity: 0.4; }
.page-hero-breadcrumb .current { color: var(--primary); font-weight: 600; }

/* ── FOOTER ── */
footer {
  background: var(--secondary);
  color: white;
  padding: 72px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}

.footer-brand p {
  font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.7;
  margin: 16px 0 24px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  color: #9CA3AF;
  letter-spacing: 2px; text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.footer-links a {
  font-size: 14px; color: rgba(255,255,255,0.6);
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--primary); }

.footer-contact-item {
  display: flex; align-items: flex-start; gap: 12px;
  font-size: 14px; color: rgba(255,255,255,0.6);
  margin-bottom: 14px;
}
.footer-contact-item svg { flex-shrink: 0; margin-top: 2px; color: var(--primary); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: #9CA3AF;
}

/* ── FLOATING WHATSAPP BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  width: 56px; height: 56px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  z-index: 900;
  transition: all 0.3s;
}
.wa-float:hover { background: var(--wa-dark); transform: scale(1.1); box-shadow: 0 8px 28px rgba(37,211,102,0.5); }

.wa-float-pulse {
  position: absolute;
  width: 100%; height: 100%;
  border-radius: 50%;
  background: var(--wa-green);
  animation: waPulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes waPulse { 0%{transform:scale(1);opacity:0.6} 100%{transform:scale(2);opacity:0} }

/* ── STATS COUNTER ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 42px; font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label { font-size: 14px; color: var(--text-muted); margin-top: 8px; }

/* ── CARDS ── */
.card-hover {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card-hover:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

/* ── BADGE / CHIP ── */
.badge-chip {
  display: inline-block;
  background: var(--bg-3);
  color: var(--text-muted);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 12px; font-weight: 500;
}

/* ── FORM ELEMENTS ── */
.form-control-custom {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control-custom:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255,69,0,0.12);
}
.form-control-custom::placeholder { color: var(--text-light); }

.form-label-custom {
  display: block;
  font-size: 13px; font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

/* ── ACCORDION (FAQ) ── */
.faq-item {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
.faq-item.open { border-color: var(--primary-border); }

.faq-question {
  width: 100%; padding: 20px 24px;
  background: white;
  border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between;
  font-family: var(--font-display);
  font-size: 16px; font-weight: 600;
  color: var(--text);
  text-align: left;
  transition: background 0.2s;
}
.faq-question:hover { background: var(--bg-2); }
.faq-item.open .faq-question { background: var(--primary-light); color: var(--primary); }

.faq-icon {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--bg-3);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s;
  font-size: 18px; font-weight: 300; color: var(--text-muted);
}
.faq-item.open .faq-icon { background: var(--primary); color: white; transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.faq-answer-inner {
  padding: 0 24px 20px;
  font-size: 15px; color: var(--text-muted); line-height: 1.7;
}

/* ── UTILITY ── */
.text-primary { color: var(--primary) !important; }
.text-muted-custom { color: var(--text-muted); }
.bg-light-custom { background: var(--bg-2); }
.bg-dark-custom { background: var(--secondary); color: white; }

.divider { width: 48px; height: 4px; background: var(--primary); border-radius: 2px; margin: 20px 0; }
.divider-center { margin: 20px auto; }

/* ── ANIMATIONS ── */
@keyframes fadeUp { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeIn { from{opacity:0} to{opacity:1} }
@keyframes slideLeft { from{opacity:0;transform:translateX(32px)} to{opacity:1;transform:translateX(0)} }
@keyframes countUp { from{opacity:0} to{opacity:1} }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  :root { --section-py: 52px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --section-py: 44px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .section-sub { font-size: 15px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .wa-float { bottom: 20px; right: 20px; width: 50px; height: 50px; }
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}

/* h4→h3 heading fix: mirror home.css rules for renamed elements */
.why-card-content h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.route-card-custom h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
}
