/* SDV Cab Services — public site design system */

:root {
  --brand-navy: #0b2545;
  --brand-blue: #13458b;
  --brand-blue-light: #eaf1fb;
  --brand-amber: #f5a623;
  --brand-amber-dark: #d4880c;
  --brand-green: #1fa855;
  --text-dark: #1a1f2b;
  --text-muted: #5c6470;
  --border-soft: #e5e9f0;
  --radius: 14px;
  --shadow-soft: 0 8px 24px rgba(11, 37, 69, 0.08);
  --shadow-lift: 0 14px 32px rgba(11, 37, 69, 0.14);
}

* { box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

/* Inline SVG icon defaults (see web/partials/icons.php) */
svg[class^="ic-"] { width: 18px; height: 18px; flex-shrink: 0; vertical-align: -3px; }
.topbar svg[class^="ic-"] { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.trust-icon svg, .icon-box svg, .fleet-icon svg { width: 24px; height: 24px; }
.brand-mark svg { width: 22px; height: 22px; }
.mobile-sticky-bar svg[class^="ic-"] { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.hero-badge svg[class^="ic-"] { width: 15px; height: 15px; }
.cta-actions svg[class^="ic-"] { width: 16px; height: 16px; margin-right: 5px; vertical-align: -3px; }
.faq-icon svg { width: 16px; height: 16px; }
.site-footer svg[class^="ic-"] { width: 15px; height: 15px; margin-right: 6px; vertical-align: -3px; }

.container-xl { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--brand-navy);
  color: #cdd8ea;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .container-xl { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px; }
.topbar a { color: #cdd8ea; }
.topbar a:hover { color: #fff; }
.topbar .topbar-links { display: flex; gap: 18px; flex-wrap: wrap; }
.topbar .topbar-links span { display: inline-flex; align-items: center; gap: 6px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border-soft);
}
.site-header .container-xl { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 22px; color: var(--brand-navy); }
.brand .brand-mark { width: 42px; height: 42px; border-radius: 10px; background: var(--brand-blue); display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.brand small { display: block; font-weight: 500; font-size: 11px; color: var(--text-muted); }

.main-nav { display: flex; align-items: center; gap: 28px; }
.main-nav a { color: var(--text-dark); font-weight: 600; font-size: 15px; }
.main-nav a:hover { color: var(--brand-blue); }

.header-cta { display: flex; gap: 10px; align-items: center; }
.btn-brand {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--brand-amber); color: #1a1f2b; font-weight: 700;
  padding: 10px 20px; border-radius: 999px; border: none; font-size: 15px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-brand:hover { background: var(--brand-amber-dark); color: #fff; transform: translateY(-1px); box-shadow: var(--shadow-lift); }
.btn-outline-brand {
  display: inline-flex; align-items: center; gap: 8px;
  border: 2px solid var(--brand-blue); color: var(--brand-blue); font-weight: 700;
  padding: 9px 18px; border-radius: 999px; font-size: 15px; background: #fff;
}
.btn-outline-brand:hover { background: var(--brand-blue); color: #fff; }
.btn-whatsapp { background: var(--brand-green); color: #fff; }
.btn-whatsapp:hover { background: #178a45; color: #fff; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--brand-navy); }

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-blue) 100%);
  color: #fff;
  padding: 56px 0 90px;
  position: relative;
  overflow: hidden;
}
.hero .container-xl { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; margin-bottom: 18px; }
.hero h1 { font-size: 40px; font-weight: 800; line-height: 1.15; margin-bottom: 14px; max-width: 620px; }
.hero p.lead-text { font-size: 17px; color: #c9d6ea; max-width: 540px; margin-bottom: 24px; }
.hero-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 8px; }
.hero-stats .stat b { display: block; font-size: 24px; font-weight: 800; }
.hero-stats .stat span { font-size: 13px; color: #c9d6ea; }

/* ---------- Booking widget ---------- */
.booking-widget {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lift);
  padding: 8px; margin-top: -56px; position: relative; z-index: 3;
}
.trip-tabs { display: flex; gap: 4px; overflow-x: auto; padding: 8px 8px 0; }
.trip-tabs button {
  border: none; background: transparent; padding: 12px 18px; border-radius: 10px 10px 0 0;
  font-weight: 700; font-size: 14px; color: var(--text-muted); white-space: nowrap; cursor: pointer;
}
.trip-tabs button.active { background: var(--brand-blue-light); color: var(--brand-blue); }
.booking-form-body { padding: 20px; }
.bf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; align-items: end; }
.bf-grid.bf-grid-5 { grid-template-columns: repeat(5, 1fr); }
.bf-field label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: .03em; margin-bottom: 6px; }
.bf-field input, .bf-field select {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1.5px solid var(--border-soft);
  font-size: 15px; background: #fbfcfe;
}
.bf-field input:focus, .bf-field select:focus { outline: none; border-color: var(--brand-blue); background: #fff; }
.bf-submit { background: var(--brand-amber); border: none; color: #1a1f2b; font-weight: 800; padding: 13px 20px; border-radius: 10px; font-size: 15px; width: 100%; cursor: pointer; transition: background .15s; }
.bf-submit:hover { background: var(--brand-amber-dark); color: #fff; }
.fare-preview { margin-top: 14px; background: var(--brand-blue-light); border: 1px solid #cfe0f7; border-radius: 10px; padding: 12px 16px; font-size: 14px; color: var(--brand-navy); display: none; }
.fare-preview.show { display: block; }
.bf-msg { margin-top: 12px; }

@media (max-width: 900px) {
  .bf-grid, .bf-grid.bf-grid-5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .bf-grid, .bf-grid.bf-grid-5 { grid-template-columns: 1fr; }
  .hero h1 { font-size: 30px; }
  .booking-widget { margin-top: -36px; }
}

/* ---------- Section shell ---------- */
.section { padding: 64px 0; }
.section-alt { background: #f7f9fc; }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 40px; }
.section-eyebrow { color: var(--brand-amber-dark); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px; }
.section-head h2 { font-size: 30px; font-weight: 800; color: var(--brand-navy); margin-bottom: 10px; }
.section-head p { color: var(--text-muted); font-size: 15px; }

/* ---------- Trip type cards ---------- */
.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .grid-cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-cards { grid-template-columns: 1fr; } }

.trip-card {
  background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius);
  padding: 26px 22px; text-align: left; transition: box-shadow .15s, transform .15s;
}
.trip-card:hover { box-shadow: var(--shadow-soft); transform: translateY(-3px); }
.trip-card .icon-box { width: 52px; height: 52px; border-radius: 12px; background: var(--brand-blue-light); display: flex; align-items: center; justify-content: center; color: var(--brand-blue); margin-bottom: 16px; }
.trip-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.trip-card p { font-size: 14px; color: var(--text-muted); margin-bottom: 14px; }
.trip-card a.card-link { font-weight: 700; font-size: 14px; color: var(--brand-blue); }

/* ---------- Fleet cards ---------- */
.fleet-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border-soft); overflow: hidden; text-align: center; padding: 28px 20px; }
.fleet-card .fleet-icon { font-size: 44px; margin-bottom: 12px; }
.fleet-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 4px; }
.fleet-card .fleet-meta { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.fleet-card .fleet-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.fleet-card .fleet-tags span { background: var(--brand-blue-light); color: var(--brand-blue); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }

/* ---------- How it works ---------- */
.steps-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-row { grid-template-columns: 1fr; } }
.step-item { text-align: center; }
.step-num { width: 46px; height: 46px; border-radius: 50%; background: var(--brand-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; margin: 0 auto 14px; font-size: 18px; }
.step-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.step-item p { font-size: 13.5px; color: var(--text-muted); }

/* ---------- Routes ---------- */
.route-card { display: flex; align-items: center; justify-content: space-between; background: #fff; border: 1px solid var(--border-soft); border-radius: 12px; padding: 16px 18px; }
.route-card .route-path { font-weight: 700; font-size: 15px; }
.route-card .route-path .muted-arrow { color: var(--text-muted); margin: 0 6px; }
.route-card a { font-weight: 700; color: var(--brand-blue); font-size: 14px; }
.routes-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .routes-grid { grid-template-columns: 1fr; } }

/* ---------- Trust badges ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 900px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item { text-align: center; padding: 20px; }
.trust-item .trust-icon { width: 56px; height: 56px; border-radius: 50%; background: var(--brand-blue-light); color: var(--brand-blue); display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; }
.trust-item h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trust-item p { font-size: 13px; color: var(--text-muted); }

/* ---------- FAQ ---------- */
.faq-item { border-bottom: 1px solid var(--border-soft); padding: 18px 0; }
.faq-q { display: flex; justify-content: space-between; align-items: center; cursor: pointer; font-weight: 700; font-size: 15.5px; }
.faq-q .faq-icon { transition: transform .2s; color: var(--brand-blue); font-size: 20px; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; color: var(--text-muted); font-size: 14.5px; }
.faq-item.open .faq-a { max-height: 300px; padding-top: 10px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--brand-navy); color: #fff; border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.cta-band h3 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.cta-band p { color: #c9d6ea; font-size: 14.5px; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #08172c; color: #b9c6dc; padding: 56px 0 20px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 32px; margin-bottom: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h5 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.site-footer a { color: #b9c6dc; font-size: 14px; display: block; margin-bottom: 10px; }
.site-footer a:hover { color: #fff; }
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 20px; font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #8494ab; }

/* ---------- Mobile sticky call bar ---------- */
.mobile-sticky-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
  background: #fff; border-top: 1px solid var(--border-soft); padding: 10px 14px;
  box-shadow: 0 -6px 18px rgba(0,0,0,.08);
}
.mobile-sticky-bar .row2 { display: flex; gap: 10px; }
.mobile-sticky-bar a { flex: 1; text-align: center; padding: 12px; border-radius: 10px; font-weight: 700; font-size: 14px; }
@media (max-width: 768px) {
  .main-nav, .header-cta { display: none; }
  .nav-toggle { display: block; }
  .mobile-sticky-bar { display: block; }
  body { padding-bottom: 66px; }
}

/* ---------- Mobile nav drawer ---------- */
.mobile-nav { display: none; flex-direction: column; background: #fff; border-top: 1px solid var(--border-soft); padding: 14px 20px; }
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 10px 0; font-weight: 600; color: var(--text-dark); border-bottom: 1px solid var(--border-soft); }

/* ---------- Simple inner page hero (about/status/feedback) ---------- */
.page-hero { background: var(--brand-blue-light); padding: 40px 0; text-align: center; }
.page-hero h1 { font-size: 28px; font-weight: 800; color: var(--brand-navy); }

.card-plain { background: #fff; border: 1px solid var(--border-soft); border-radius: var(--radius); padding: 28px; }
