/* TempoGo — Dark Theme */
[data-theme="dark"] {
  --bg: #000000;
  --surface: #191f1c;
  --surface-2: #232a26;
  --soft: #1c2220;
  --ink: #f1f6f5;
  --muted: #b6c8c6;
  --line: #2a2f2e;
  --brand: #22b3b8;
  --brand-d: #4fd3d7;
  --brand-l: #0e2624;
  --accent: #ff6a3d;
  --accent-d: #ff8a65;
  --accent-l: #2b1712;
  --deep: #041312;
  --deep-2: #071c1a;
  --deep-3: #0c2725;
  --sh: 0 14px 40px rgba(0, 0, 0, .65);
}

[data-theme="dark"] body { background: var(--bg); color: var(--ink) }
[data-theme="dark"] .navbar { background: rgba(17, 20, 19, .97) }
[data-theme="dark"] .navbar.scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .65) }
[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active,
[data-theme="dark"] .dropdown-item:hover,
[data-theme="dark"] .dropdown-item.active { color: var(--accent) }
[data-theme="dark"] .logo span { color: var(--accent) }
[data-theme="dark"] .dropdown-menu { box-shadow: 0 16px 40px rgba(0, 0, 0, .55) }
[data-theme="dark"] .nav-actions .btn-login:hover { background: var(--accent); color: var(--on-accent) }

/* booking bar */
[data-theme="dark"] .booking { box-shadow: 0 26px 60px rgba(0, 0, 0, .6) }
[data-theme="dark"] .fld input,
[data-theme="dark"] .fld select { background: var(--soft); color-scheme: dark }
[data-theme="dark"] .fld input:focus,
[data-theme="dark"] .fld select:focus { background: var(--bg) }
[data-theme="dark"] .fare-out { color: #f5e7b8; border-color: #7a5d0b }
[data-theme="dark"] .fare-out span { color: #cdbf93 }
[data-theme="dark"] .book-note { background: #0f2e20; color: #7be0aa }

/* sections — black primary, dark-grey alternates, subtle teal highlights */
[data-theme="dark"] .section:not(.tint):not(.reviews):not(.why) { background: var(--bg) }
[data-theme="dark"] .section.tint { background: var(--surface); border-block: 1px solid var(--line) }
[data-theme="dark"] .section.why { background: var(--deep-2) }
[data-theme="dark"] .section.reviews { background: var(--accent-l) }
[data-theme="dark"] .cta-wrap { background: var(--bg) }
[data-theme="dark"] .about-second { border-color: var(--surface) }
[data-theme="dark"] .fleet-tab.active { background: var(--brand); border-color: var(--brand); color: #fff }
[data-theme="dark"] .fleet-tab.active small, [data-theme="dark"] .fleet-tab.active .go { color: #c6ece8 }
[data-theme="dark"] .fleet-tab.active .ico { background: var(--accent); color: #fff }
[data-theme="dark"] .fleet-panel { background: var(--deep-3) }
[data-theme="dark"] .step.reached .node { color: #fff }
[data-theme="dark"] .road-truck { background: var(--brand); box-shadow: 0 6px 16px rgba(0, 0, 0, .5) }
[data-theme="dark"] .who button.active { background: var(--deep-2); color: #fff; border-color: var(--brand) }
[data-theme="dark"] .who button { color: var(--ink) }
[data-theme="dark"] .who button.active small { opacity: .8 }
[data-theme="dark"] .btn-dark { background: var(--accent); color: #fff }
[data-theme="dark"] .btn-dark:hover { background: var(--accent-d); color: #fff }
[data-theme="dark"] .btn-ghost:hover { color: var(--deep) }
[data-theme="dark"] .to-top:hover { background: var(--surface); color: var(--accent) }

/* new sections */
[data-theme="dark"] .chip-btn.on { color: #041312 }
[data-theme="dark"] .cmp-bar i { background: linear-gradient(90deg, var(--brand), #2aa6a3) }
[data-theme="dark"] .section#hx-reviews {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .58) 45%, rgba(0, 0, 0, .8) 100%),
    url("../images/about-second.jpg") center/cover fixed no-repeat
}

[data-theme="dark"] .cmp-foot { background: var(--brand-l) }
[data-theme="dark"] .cmp-foot { color: var(--ink) }
[data-theme="dark"] .area em { color: var(--accent) }
[data-theme="dark"] .ticker { background: var(--deep-2) }

/* section rhythm + review scrim */
[data-theme="dark"] .hx-ticker { background: var(--deep-2); color: var(--ink) }
[data-theme="dark"] .section#hx-live { background: linear-gradient(180deg, var(--deep-2), var(--deep)) }

[data-theme="dark"] .section#hx-steps { background: var(--deep) }

/* ═══════════════════════════════════════════════════════════════
   EXTENDED DARK THEME STYLES (HOME 2, ABOUT, SERVICES)
   ═══════════════════════════════════════════════════════════════ */
/* Dark theme for Fleet */
[data-theme="dark"] #hx-fleet .hx-card {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] #hx-fleet .hx-card-header h3 {
  color: #f1f6f5;
}
[data-theme="dark"] #hx-fleet .hx-tag-pill {
  background: rgba(17, 20, 19, 0.92);
  color: #f1f6f5;
}
[data-theme="dark"] #hx-fleet .hx-tag-pill.hx-tag-popular {
  background: #ffbd2e;
  color: #0f2b33;
}
[data-theme="dark"] .hx-use-card,
[data-theme="dark"] .hx-use-body {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] .hx-use-body h3 {
  color: #f1f6f5;
}
[data-theme="dark"] .hx-use-top .hx-use-tag {
  background: rgba(34, 179, 184, 0.15);
  color: var(--brand);
}
/* ── DARK THEME OVERRIDES ── */
[data-theme="dark"] .hx-hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(34, 179, 184, 0.14) 0%, transparent 60%),
    linear-gradient(135deg, #000000 0%, var(--deep) 60%, var(--deep-2) 100%);
}
[data-theme="dark"] .hx-float-card {
  background: rgba(17, 20, 19, 0.95);
  color: #f1f6f5;
  border-color: rgba(255, 255, 255, 0.1);
}
[data-theme="dark"] .hx-driver-meta b,
[data-theme="dark"] .hx-rate-card b {
  color: #f1f6f5;
}
[data-theme="dark"] .hx-card {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] .hx-card-header h3 {
  color: #f1f6f5;
}
[data-theme="dark"] .hx-rate-explorer,
[data-theme="dark"] .hx-live-hud {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] .hx-rate-item {
  background: var(--soft);
  border-color: var(--line);
}
[data-theme="dark"] .hx-rate-calc-box {
  background: var(--surface);
}
[data-theme="dark"] .hx-step-card,
[data-theme="dark"] .hx-faq-item {
  background: var(--surface);
  border-color: var(--line);
}
[data-theme="dark"] .hx-faq-question,
[data-theme="dark"] .hx-step-card h3 {
  color: #f1f6f5;
}
/* Dark mode for Team Section */
[data-theme="dark"] .ab-team {
  background: var(--surface);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ab-team-card {
  background: rgba(12, 36, 43, 0.65);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ab-team-card:hover {
  border-color: var(--brand);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .ab-team-name {
  color: #fff;
}
[data-theme="dark"] .ab-team-socials a {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  color: #c9e8e5;
}
[data-theme="dark"] .ab-team-socials a:hover {
  background: var(--brand);
  color: #fff;
}
[data-theme="dark"] .ab-team-strip {
  background: linear-gradient(135deg, #05161a 0%, #0b282e 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .ab-hero {
  background:
    radial-gradient(circle at 84% 16%, rgba(34, 179, 184, .14), transparent 38%),
    radial-gradient(circle at 6% 86%, rgba(255, 106, 61, .08), transparent 32%),
    linear-gradient(135deg, #000000, var(--deep) 56%, var(--deep-2))
}
[data-theme="dark"] .ab-story-main,
[data-theme="dark"] .ab-standards-media>img {
  box-shadow: 0 26px 52px rgba(0, 0, 0, .5)
}
[data-theme="dark"] .ab-purpose-card.featured {
  background: linear-gradient(150deg, var(--deep-3), var(--deep-2));
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5)
}
[data-theme="dark"] .ab-purpose-card:not(.featured),
[data-theme="dark"] .ab-standard,
[data-theme="dark"] .ab-capacity-strip {
  background: var(--bg)
}
[data-theme="dark"] .ab-cta {
  background:
    radial-gradient(circle at 88% 12%, rgba(34, 179, 184, .14), transparent 42%),
    linear-gradient(125deg, #000000, var(--deep) 58%, var(--deep-2));
  box-shadow: 0 30px 62px rgba(0, 0, 0, .6)
}
/* ── 12. DARK MODE TWEAKS ── */
[data-theme="dark"] .sv-card {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-card:hover {
  border-color: var(--brand);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}
[data-theme="dark"] .sv-card-title-row h3 {
  color: #fff;
}
[data-theme="dark"] .sv-card-tags span {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #e4f5f3;
}
[data-theme="dark"] .sv-pane {
  background: rgba(12, 36, 43, 0.75);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-pane-info h3 {
  color: #fff;
}
[data-theme="dark"] .sv-pane-checks li {
  color: #fff;
}
[data-theme="dark"] .sv-spec-box {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-spec-box b {
  color: #fff;
}
[data-theme="dark"] .sv-step-card {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-step-card h3 {
  color: #fff;
}
[data-theme="dark"] .sv-add-item {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-add-item h3 {
  color: #fff;
}
[data-theme="dark"] .sv-calc-box {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-calc-field select {
  background: #0d282f;
  color: #fff;
  border-color: #17424b;
}
[data-theme="dark"] .sv-chk-field {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-chk-field span {
  color: #fff;
}
[data-theme="dark"] .sv-calc-total-card {
  background: rgba(11, 122, 128, 0.15);
  border-color: rgba(11, 122, 128, 0.35);
}
[data-theme="dark"] .sv-rev-card {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-rev-text {
  color: #d6ece9;
}
[data-theme="dark"] .sv-rev-author b {
  color: #fff;
}
[data-theme="dark"] .sv-faq-item {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}
[data-theme="dark"] .sv-faq-trigger {
  color: #fff;
}

/* Fleet page dark */
[data-theme="dark"] .fl-cap-card,
[data-theme="dark"] .fl-vehicle-card,
[data-theme="dark"] .fl-use-card{background:rgba(12,36,43,.75);border-color:rgba(255,255,255,.08)}
[data-theme="dark"] .fl-cap-card:hover,
[data-theme="dark"] .fl-vehicle-card:hover{border-color:var(--brand);box-shadow:0 18px 40px rgba(0,0,0,.45)}
[data-theme="dark"] .fl-cap-card h3,
[data-theme="dark"] .fl-vehicle-body h3,
[data-theme="dark"] .fl-use-card h3{color:#fff}
[data-theme="dark"] .fl-spec-list b,
[data-theme="dark"] .fl-price b{color:#fff}
[data-theme="dark"] .fl-table-wrap{background:rgba(12,36,43,.8);border-color:rgba(255,255,255,.08)}
[data-theme="dark"] .fl-table th{background:rgba(11,122,128,.25);color:#e4f5f3}
[data-theme="dark"] .fl-table td{color:#e4f5f3;border-bottom-color:rgba(255,255,255,.08)}
[data-theme="dark"] .fl-table tbody tr:hover{background:rgba(255,255,255,.04)}

/* ═══════════════════════════════════════════════════════════════
   FLEET PAGE ENHANCEMENTS DARK THEME
   ═══════════════════════════════════════════════════════════════ */

[data-theme="dark"] .fl-vehicle-card:hover {
  border-color: var(--brand);
  box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.65);
}

[data-theme="dark"] .fl-spec-list li {
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fl-vehicle-card:hover .fl-spec-list li:hover {
  background: rgba(34, 179, 184, 0.14);
}

/* ═══════════════════════════════════════════════════════════════
   NEW SECTIONS: BLUEPRINT & ENTERPRISE DARK THEME
   ═══════════════════════════════════════════════════════════════ */
[data-theme="dark"] .fl-bp-pane {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fl-bp-cad {
  background: #030d0f;
  border-color: rgba(79, 211, 215, 0.2);
}

[data-theme="dark"] .fl-bp-metric {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fl-bp-metric b {
  color: #fff;
}

[data-theme="dark"] .fl-bp-info h3 {
  color: #fff;
}

[data-theme="dark"] .fl-bp-fit-list li {
  background: rgba(255, 255, 255, 0.04);
  color: #e4f5f3;
}

[data-theme="dark"] .fl-bp-fit-list li:hover {
  background: rgba(34, 179, 184, 0.15);
}

[data-theme="dark"] .fl-ent-card {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fl-ent-card:hover {
  border-color: var(--brand);
}

[data-theme="dark"] .fl-ent-card h3 {
  color: #fff;
}

[data-theme="dark"] .fl-ent-compare-box {
  background: rgba(12, 36, 43, 0.7);
  border-color: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .fl-ent-comp-side h4 {
  color: #fff;
}

[data-theme="dark"] .fl-ent-comp-side li {
  color: #e4f5f3;
}

[data-theme="dark"] .fl-ent-comp-side.contract {
  background: rgba(34, 179, 184, 0.1);
  border-color: rgba(34, 179, 184, 0.35);
}

[data-theme="dark"] .fl-ent-comp-divider span {
  background: var(--surface);
  border-color: var(--line);
}

/* Rate Chart LCD Dark */
[data-theme="dark"] .rc-lcd {
  background: #050f10;
}

/* Contact Page Dark Overrides */
[data-theme="dark"] .ct-map iframe {
  filter: invert(.92) hue-rotate(180deg);
}

[data-theme="dark"] .ct-hub-card {
  background: var(--surface);
  border-color: var(--line);
}

[data-theme="dark"] .ct-hub-card:hover {
  border-color: var(--brand);
}

[data-theme="dark"] .ct-hub-specs {
  background: var(--soft);
  border-color: var(--line);
}

[data-theme="dark"] .ct-hub-specs strong {
  color: var(--ink);
}

/* Centered hero dark backgrounds for Fleet, Rate Chart, Contact */
[data-theme="dark"] .fl-hero.fl-hero--center {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(4, 19, 18, 0.85) 50%, rgba(0, 0, 0, 0.92) 100%),
    url('../images/hero5.avif') center 42%/cover no-repeat;
}

[data-theme="dark"] .rc-hero {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(4, 19, 18, 0.85) 50%, rgba(0, 0, 0, 0.92) 100%),
    url('../images/hero2.jpg') center/cover no-repeat;
}

[data-theme="dark"] .ct-hero,
[data-theme="dark"] .ct-page .fl-hero.fl-hero--center {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.88) 0%, rgba(4, 19, 18, 0.85) 50%, rgba(0, 0, 0, 0.92) 100%),
    url('../images/hero6.jpg') center 55%/cover no-repeat;
}

/* Login and Sign Up Left Brand Panel Dark Backgrounds */
[data-theme="dark"] .lg-login .lg-brand {
  background:
    linear-gradient(135deg, rgba(3, 18, 17, 0.94) 0%, rgba(6, 40, 38, 0.85) 100%),
    url('../images/hero-truck.jpg') center/cover no-repeat;
}

[data-theme="dark"] .lg-signup .lg-brand {
  background:
    linear-gradient(135deg, rgba(3, 18, 17, 0.94) 0%, rgba(6, 40, 38, 0.85) 100%),
    url('../images/s-5.jpg') center/cover no-repeat;
}

/* ═══════════════════════════════════════════════════════════════
   SECTION TAGS, BADGES & SUBHEADINGS — DARK VISIBILITY
   ═══════════════════════════════════════════════════════════════ */

/* Global section subheading — boost muted text so it reads clearly on
   every dark background (black, surface, deep-2, tint, etc.) */
[data-theme="dark"] .head p,
[data-theme="dark"] .head > p {
  color: #c8dedd;
}

/* Specific section sub-paragraphs that use their own color props */
[data-theme="dark"] .sv-lead,
[data-theme="dark"] .fl-vehicle-sub,
[data-theme="dark"] .fl-ent-comp-side p,
[data-theme="dark"] .ab-story-copy p,
[data-theme="dark"] .ab-purpose-card p,
[data-theme="dark"] .fl-cap-card p,
[data-theme="dark"] .fl-use-card p,
[data-theme="dark"] .fl-ent-card p,
[data-theme="dark"] .rc-tk-p span,
[data-theme="dark"] .fl-table-note {
  color: #c8dedd;
}

/* Subheading pills — use the Fleet hero pill treatment on every page so
   each label keeps a clearly visible background on dark surfaces */
[data-theme="dark"] .hx-tag,
[data-theme="dark"] .sv-tag:not(.lt),
[data-theme="dark"] .ab-kicker,
[data-theme="dark"] .hx-eyebrow,
[data-theme="dark"] .cta-eyebrow,
[data-theme="dark"] .hero-chip {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

[data-theme="dark"] .hx-tag i,
[data-theme="dark"] .sv-tag:not(.lt) i,
[data-theme="dark"] .ab-kicker i,
[data-theme="dark"] .cta-eyebrow i {
  color: #fff;
}

/* vehicle photo badge (services) — was light text on light badge */
[data-theme="dark"] .sv-card-veh-badge {
  background: rgba(6, 26, 30, 0.86);
  color: #e8f8f6;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* purpose card numbers (about) — var(--brand-l) vanished on black */
[data-theme="dark"] .ab-purpose-num {
  color: rgba(255, 255, 255, 0.22);
}

/* "Included Free" status tag (services) */
[data-theme="dark"] .sv-add-status.free {
  background: rgba(52, 211, 153, 0.16);
  color: #5eeaa6;
}

/* services accordion panel fallback (was var(--ink) = white in dark) */
[data-theme="dark"] .svc-panel {
  background: var(--deep-3);
}

/* selected tabs / chips / badges — white on teal was too faint */
[data-theme="dark"] .fleet-tab.active,
[data-theme="dark"] .fleet-tab.active strong {
  color: #041312;
}

[data-theme="dark"] .fleet-tab.active small,
[data-theme="dark"] .fleet-tab.active .go {
  color: #093832;
}

[data-theme="dark"] .sv-tab-btn.on,
[data-theme="dark"] .sv-km-preset-btn.active {
  color: #041312;
}

[data-theme="dark"] .fl-ent-badge {
  color: #041312;
}

[data-theme="dark"] #ctDays li.today span,
[data-theme="dark"] #ctDays li.today b {
  color: #041312;
}

