:root {
  --navy: #0f172a;
  --navy-light: #1e293b;
  --gold: #f59e0b;
  --gold-hover: #d97706;
  --whatsapp: #25D366;
  --whatsapp-dark: #1ebe5d;
  --bg-light: #f8fafc;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.1), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  scroll-behavior: smooth;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg-light);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  padding-bottom: 64px; /* Space for mobile sticky bar */
}

@media (min-width: 768px) {
  body {
    padding-bottom: 0;
  }
}

.container,
.hero-grid,
.hero-grid > div,
.quote-card,
.trust-item {
  min-width: 0;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Nav */
header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 68px;
  gap: 8px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: var(--white);
  font-weight: 800;
  font-size: clamp(1.05rem, 4.2vw, 1.3rem);
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand span {
  color: var(--gold);
}

.nav-links {
  display: none;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.btn-call-top {
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.78rem;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.2s;
}

.btn-call-top:hover {
  background: var(--gold-hover);
}

@media (min-width: 480px) {
  .btn-call-top {
    padding: 10px 18px;
    font-size: 0.95rem;
  }
}

@media (min-width: 900px) {
  .nav-wrap {
    height: 72px;
  }
  .nav-links {
    display: flex;
  }
}

/* Hero & Quote Builder */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.88) 0%, rgba(30, 58, 95, 0.84) 100%),
    url('/assets/images/minibus-trailer.jpg') center / cover no-repeat;
  color: var(--white);
  padding: 40px 0 64px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: start;
}

@media (min-width: 960px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    padding-top: 16px;
  }
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 18px;
  max-width: 100%;
}

.hero h1 {
  font-size: clamp(1.75rem, 6.5vw, 3.1rem);
  line-height: 1.15;
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
  overflow-wrap: break-word;
}

.hero p.lead {
  font-size: 1.08rem;
  color: #e2e8f0;
  margin-bottom: 28px;
  max-width: 580px;
  overflow-wrap: anywhere;
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

@media (min-width: 480px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.trust-icon {
  color: var(--gold);
  font-weight: 900;
}

/* Smart Quote Card */
.quote-card {
  background: var(--white);
  color: var(--text-main);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  width: 100%;
}

@media (min-width: 480px) {
  .quote-card {
    padding: 28px;
  }
}

.quote-card h2 {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.quote-card .sub {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 14px;
}

@media (min-width: 520px) {
  .form-row.two-col {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--navy);
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-main);
  background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.1);
}

.trailer-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 18px;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy);
}

.checkbox-label input {
  margin-top: 4px;
  width: 18px;
  height: 18px;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.trailer-hint {
  font-size: 0.82rem;
  color: #92400e;
  margin-top: 6px;
  padding-left: 28px;
}

.btn-whatsapp {
  width: 100%;
  background: var(--whatsapp);
  color: var(--white);
  border: none;
  padding: 14px 20px;
  border-radius: 8px;
  font-size: 1.02rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
  margin-bottom: 10px;
}

.btn-whatsapp:hover {
  background: var(--whatsapp-dark);
}

.btn-email {
  width: 100%;
  background: var(--navy);
  color: var(--white);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-email:hover {
  background: var(--navy-light);
}

/* Sections */
section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 800;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Fleet & Trailer Interactive Switcher */
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 24px;
  box-shadow: var(--shadow);
}

@media (min-width: 640px) {
  .fleet-card {
    padding: 32px;
  }
}

.toggle-bar {
  display: inline-flex;
  background: var(--bg-light);
  padding: 6px;
  border-radius: 10px;
  border: 1px solid var(--border);
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 6px;
  width: 100%;
}

@media (min-width: 640px) {
  .toggle-bar {
    width: auto;
  }
}

.toggle-btn {
  padding: 10px 16px;
  border: none;
  background: transparent;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s;
  flex: 1;
}

@media (min-width: 640px) {
  .toggle-btn {
    flex: initial;
  }
}

.toggle-btn.active {
  background: var(--navy);
  color: var(--white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

@media (min-width: 820px) {
  .fleet-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.spec-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

.spec-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.spec-badge {
  background: #eff6ff;
  color: #1d4ed8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-block;
}

.fleet-photo-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.fleet-photo-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.fleet-photo-body {
  padding: 20px 24px;
}

.capacity-meter {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 14px;
}

.meter-stat {
  background: rgba(255, 255, 255, 0.08);
  padding: 12px;
  border-radius: 10px;
  flex: 1;
  text-align: center;
}

.meter-stat strong {
  display: block;
  font-size: 1.6rem;
  color: var(--gold);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 640px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 12px;
}

.service-card h3 {
  font-size: 1.22rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.btn-quote-trip {
  display: inline-block;
  text-align: center;
  background: var(--bg-light);
  color: var(--navy);
  border: 1px solid #cbd5e1;
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-quote-trip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* Reviews & Compliance */
.reviews-bg {
  background: var(--navy);
  color: var(--white);
}

.reviews-bg .section-header h2 {
  color: var(--white);
}

.reviews-bg .section-header p {
  color: #cbd5e1;
}

.review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 44px;
}

@media (min-width: 768px) {
  .review-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.review-card {
  background: var(--navy-light);
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stars {
  color: var(--gold);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.review-author {
  margin-top: 14px;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.92rem;
}

.compliance-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 24px;
  border-radius: var(--radius);
  text-align: center;
}

.compliance-item strong {
  display: block;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 4px;
}

.compliance-item span {
  font-size: 0.88rem;
  color: #cbd5e1;
}

/* Footer */
footer {
  background: #090d16;
  color: #94a3b8;
  padding: 40px 0;
  font-size: 0.9rem;
  text-align: center;
}

footer a {
  color: var(--gold);
  text-decoration: none;
}

/* Mobile Sticky Action Bar */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  z-index: 200;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

@media (min-width: 768px) {
  .mobile-sticky-bar {
    display: none;
  }
}

.mobile-sticky-bar a {
  padding: 16px;
  text-align: center;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.95rem;
}

.sticky-wa {
  background: var(--whatsapp);
  color: var(--white);
}

.sticky-call {
  background: var(--gold);
  color: var(--navy);
}