/* ═══════════════════════════════════════════════════════════
   ColexTaxi – Shared Static Page CSS
   Dark / Light Mode via html.dark / html.light class
   ═══════════════════════════════════════════════════════════ */

/* ── CSS Variables ──────────────────────────── */
html.dark {
  --bg:       #0A0A0A;
  --bg2:      #111111;
  --card:     #161616;
  --card2:    #1C1C1C;
  --text:     #F0F0F0;
  --muted:    #9CA3AF;
  --dim:      #6B7280;
  --sep:      rgba(255,255,255,0.07);
  --border:   rgba(255,255,255,0.1);
  --yellow:   #F5C518;
  --yellow-h: #FFD740;
  --yellow-t: #F5C518;
  --input-bg: #1E1E1E;
  --input-border: rgba(255,255,255,0.14);
  --input-text: #F3F4F6;
  --input-ph: rgba(255,255,255,0.42);
  --logo-text: #F0F0F0;
  --nav-link:  #9CA3AF;
  --hdr-bg:    #111111;
  --h2-col:    #F5C518;
  --h3-col:    #F0F0F0;
  --link-col:  #F5C518;
}
html.light {
  --bg:       #FFFFFF;
  --bg2:      #F7F7F7;
  --card:     #F0F0F0;
  --card2:    #EBEBEB;
  --text:     #111827;
  --muted:    #4B5563;
  --dim:      #9CA3AF;
  --sep:      rgba(0,0,0,0.07);
  --border:   rgba(0,0,0,0.1);
  --yellow:   #F5C518;
  --yellow-h: #E6B800;
  --yellow-t: #B8860B;
  --input-bg: #FFFFFF;
  --input-border: #D1D5DB;
  --input-text: #111827;
  --input-ph: #9CA3AF;
  --logo-text: #111827;
  --nav-link:  #4B5563;
  --hdr-bg:    #FFFFFF;
  --h2-col:    #B8860B;
  --h3-col:    #111827;
  --link-col:  #B8860B;
}

/* ── Reset & Base ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', system-ui, sans-serif;
  line-height: 1.7;
  transition: background 0.2s, color 0.2s;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link-col); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ── Layout ─────────────────────────────────── */
.wrap { max-width: 860px; margin: 0 auto; padding: 0 24px; }

/* ── Header ─────────────────────────────────── */
header {
  background: var(--hdr-bg);
  border-bottom: 2px solid var(--yellow);
  padding: 16px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 12px rgba(0,0,0,0.06);
}
html.dark header { box-shadow: 0 1px 12px rgba(0,0,0,0.4); }

.hdr { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Logo */
.logo-wrap { display: flex; align-items: center; gap: 10px; text-decoration: none !important; }
.logo-icon {
  width: 36px; height: 36px;
  background: var(--yellow);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s;
}
.logo-icon:hover { background: var(--yellow-h); }
.logo-text-block { line-height: 1; }
.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  font-weight: 900;
  color: var(--logo-text);
  text-decoration: none !important;
}
.logo span { color: var(--yellow); }
.logo-sub {
  font-size: 0.42rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--dim);
  margin-top: 2px;
}

/* Nav */
.subnav { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.subnav a {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--nav-link);
  text-decoration: none;
  transition: color 0.15s;
}
.subnav a:hover { color: var(--yellow); text-decoration: none; }
.nav-tel {
  background: var(--yellow) !important;
  color: #000 !important;
  padding: 7px 14px;
  border-radius: 8px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.73rem;
  letter-spacing: 0.04em;
  white-space: nowrap;
  transition: background 0.15s !important;
}
.nav-tel:hover { background: var(--yellow-h) !important; text-decoration: none !important; }

/* Theme toggle button */
.theme-toggle {
  width: 32px; height: 32px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: border-color 0.15s;
  color: var(--muted);
  flex-shrink: 0;
}
.theme-toggle:hover { border-color: var(--yellow); color: var(--yellow); }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--dim);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--yellow); text-decoration: none; }
.breadcrumb span { color: var(--dim); }

/* ── Main content ────────────────────────────── */
main { padding: 48px 0 80px; }

h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
h1 span { color: var(--yellow); }

.sub {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--sep);
}

h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--h2-col);
  margin: 36px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(245,197,24,0.2);
  letter-spacing: -0.01em;
}

h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--h3-col);
  margin: 18px 0 8px;
}

p { font-size: 0.9rem; color: var(--muted); margin-bottom: 12px; }
p strong { color: var(--text); }

ul { margin: 8px 0 14px 20px; }
li { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
li strong { color: var(--text); }

/* ── Cards ──────────────────────────────────── */
.grid2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--sep);
  border-radius: 12px;
  padding: 20px;
  transition: border-color 0.15s;
}
.card:hover { border-color: rgba(245,197,24,0.3); }
.card h3 { margin-top: 0; font-size: 0.88rem; color: var(--h2-col); }
.card p { font-size: 0.84rem; margin-bottom: 0; }

/* ── CTA Box ─────────────────────────────────── */
.cta-box {
  background: var(--card);
  border: 1px solid rgba(245,197,24,0.25);
  border-radius: 16px;
  padding: 28px 24px;
  margin: 36px 0;
  text-align: center;
}
.cta-box p { color: var(--text); margin-bottom: 16px; font-size: 0.92rem; }

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--yellow);
  color: #000 !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none !important;
  transition: background 0.15s;
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--yellow-h); text-decoration: none !important; }

.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text) !important;
  margin-left: 8px;
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow) !important; }

/* ── FAQ ─────────────────────────────────────── */
.faq-item {
  border: 1px solid var(--sep);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 8px;
  background: var(--card);
  transition: border-color 0.15s;
}
.faq-item:hover { border-color: rgba(245,197,24,0.25); }
.faq-q {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.faq-a { font-size: 0.84rem; color: var(--muted); margin: 0; }

/* ── Tag links ───────────────────────────────── */
.links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.links a {
  background: rgba(245,197,24,0.08);
  border: 1px solid rgba(245,197,24,0.2);
  color: var(--h2-col) !important;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.15s;
}
.links a:hover { background: rgba(245,197,24,0.15); text-decoration: none !important; }

/* ── Stats strip ─────────────────────────────── */
.stats-strip {
  background: var(--yellow);
  padding: 16px 0;
  margin: 32px 0;
  border-radius: 12px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  divide-x: 1px solid rgba(0,0,0,0.1);
}
.stat-item { text-align: center; padding: 0 16px; border-right: 1px solid rgba(0,0,0,0.1); }
.stat-item:last-child { border-right: none; }
.stat-val { font-family: 'Montserrat', sans-serif; font-size: 1.4rem; font-weight: 900; color: #000; line-height: 1; }
.stat-label { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(0,0,0,0.55); margin-top: 2px; }

/* ── Footer ──────────────────────────────────── */
footer {
  border-top: 1px solid var(--sep);
  padding: 24px 0;
  margin-top: 60px;
}
footer p { font-size: 0.72rem; color: var(--dim); margin-bottom: 4px; }
footer a { color: var(--dim) !important; }
footer a:hover { color: var(--yellow) !important; text-decoration: none; }

/* ── Sticky mobile bar ───────────────────────── */
.sticky-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  background: var(--bg2);
  border-top: 1px solid rgba(245,197,24,0.25);
  padding: 10px 16px;
  gap: 10px;
}
.sticky-bar a {
  flex: 1;
  text-align: center;
  padding: 13px;
  border-radius: 10px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none !important;
}
@media (max-width: 1023px) {
  .sticky-bar { display: flex; }
  body { padding-bottom: 72px; }
}
.s-call { background: var(--yellow); color: #000 !important; }
.s-call:hover { background: var(--yellow-h) !important; }
.s-wa { background: #25D366; color: #fff !important; }
.s-wa:hover { background: #1DB954 !important; }

/* ── Responsive nav ──────────────────────────── */
@media (max-width: 700px) {
  .subnav a:not(.nav-tel):not(.theme-toggle) { display: none; }
  .btn-ghost { margin-left: 0; margin-top: 8px; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(0,0,0,0.1); }
  .stat-item { padding: 12px 8px; }
}
