/* ==========================================================================
   BlissGo Design System — web layer
   Loaded LAST (after main.css and color.php) so it owns the visual identity.
   Crimson Red + Charcoal + White. Tokens first, then components, then sections.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root:root {
    /* Brand (HSL triplets so existing hsl(var(--x) / a) usages keep working) */
    --base-h: 0;
    --base-s: 72%;
    --base-l: 51%;              /* #DC2626 */
    --base-two-h: 221;
    --base-two-s: 39%;
    --base-two-l: 11%;          /* #111827 charcoal */
    --dark-h: 221;
    --dark-s: 39%;
    --dark-l: 11%;

    --heading-color: 221 39% 11%;    /* #111827 */
    --body-color: 220 9% 46%;        /* #6B7280 */
    --border-color: 220 13% 91%;     /* #E5E7EB */
    --section-bg: 210 20% 98%;       /* #F9FAFB */
    --section-bg-two: 220 14% 96%;   /* #F3F4F6 */

    --success-h: 142; --success-s: 76%; --success-l: 36%;   /* #16A34A */
    --warning-h: 32;  --warning-s: 95%; --warning-l: 44%;   /* #D97706 */
    --danger-h: 0;    --danger-s: 74%;  --danger-l: 42%;    /* #B91C1C */

    /* Named tokens for new components */
    --bg-red: #DC2626;
    --bg-red-pressed: #B91C1C;
    --bg-red-soft: #FEF2F2;
    --bg-ink: #111827;
    --bg-ink-2: #1F2937;
    --bg-white: #FFFFFF;
    --bg-canvas: #F9FAFB;
    --bg-canvas-2: #F3F4F6;
    --bg-text: #111827;
    --bg-text-2: #6B7280;
    --bg-border: #E5E7EB;
    --bg-success: #16A34A;
    --bg-warning: #D97706;

    --heading-font: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    --body-font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

    --r-sm: 10px;
    --r-input: 12px;
    --r-btn: 12px;
    --r-card: 16px;
    --r-card-lg: 20px;
    --r-pill: 999px;

    --sh-1: 0 1px 2px rgb(17 24 39 / .05);
    --sh-2: 0 1px 2px rgb(17 24 39 / .04), 0 4px 12px rgb(17 24 39 / .06);
    --sh-3: 0 2px 4px rgb(17 24 39 / .04), 0 12px 32px rgb(17 24 39 / .10);
    --sh-red: 0 6px 18px rgb(220 38 38 / .28);

    --ease: cubic-bezier(.2, .8, .2, 1);
    --t-press: 140ms;
    --t-select: 220ms;
    --t-sheet: 300ms;

    --box-shadow: var(--sh-2);
}

/* ---------- 2. Base & typography ---------- */
html { scroll-behavior: smooth; }
body {
    font-family: var(--body-font);
    color: hsl(var(--body-color));
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    font-feature-settings: "cv11", "ss01";
}
h1, h2, h3, h4, h5, h6,
.section-heading__title, .banner-section__title {
    font-family: var(--heading-font);
    color: var(--bg-text);
    letter-spacing: -0.02em;
    font-weight: 800;
}
p { line-height: 1.65; }
a { transition: color var(--t-press) var(--ease); }
::selection { background: rgb(220 38 38 / .16); color: var(--bg-ink); }

:focus-visible {
    outline: 3px solid rgb(220 38 38 / .45) !important;
    outline-offset: 2px;
    border-radius: 6px;
}

.section-heading { margin-bottom: 48px; }
.section-heading__title {
    font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3rem);
    line-height: 1.12;
}
.section-heading__desc { color: var(--bg-text-2); font-size: 1.0625rem; max-width: 640px; margin-inline: auto; }

.py-120 { padding-block: clamp(64px, 6vw + 24px, 112px) !important; }
.pb-120 { padding-bottom: clamp(64px, 6vw + 24px, 112px) !important; }
.pt-60 { padding-top: clamp(40px, 3vw + 16px, 60px) !important; }

/* ---------- 3. Buttons ---------- */
.btn {
    font-family: var(--body-font);
    font-weight: 600;
    font-size: .9375rem;
    letter-spacing: 0;
    border-radius: var(--r-btn) !important;
    min-height: 48px;
    padding: 13px 22px;
    transition: transform var(--t-press) var(--ease), background-color var(--t-press) var(--ease),
                box-shadow var(--t-select) var(--ease), border-color var(--t-press) var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--base {
    background-color: var(--bg-red) !important;
    border-color: var(--bg-red) !important;
    box-shadow: var(--sh-red);
}
.btn--base:hover, .btn--base:focus-visible { background-color: var(--bg-red-pressed) !important; border-color: var(--bg-red-pressed) !important; }
.btn--base-two, .btn--dark {
    background-color: var(--bg-ink) !important;
    border-color: var(--bg-ink) !important;
}
.btn--base-two:hover, .btn--dark:hover { background-color: var(--bg-ink-2) !important; }
.btn--white {
    background: var(--bg-white) !important;
    color: var(--bg-text) !important;
    border: 1px solid var(--bg-border) !important;
}
.btn-outline--base {
    border: 1.5px solid var(--bg-red) !important;
    color: var(--bg-red) !important;
    background: transparent !important;
}
.btn-outline--base:hover { background: var(--bg-red-soft) !important; }
.btn-outline--white { border-radius: var(--r-btn) !important; }

/* ---------- 4. Forms ---------- */
.form--control,
.form-control,
.form-select,
.select {
    border-radius: var(--r-input) !important;
    border: 1px solid var(--bg-border) !important;
    background-color: var(--bg-white);
    color: var(--bg-text);
    min-height: 48px;
    font-size: .9375rem;
    transition: border-color var(--t-press) var(--ease), box-shadow var(--t-select) var(--ease);
}
.form--control::placeholder, .form-control::placeholder { color: #9CA3AF; }
.form--control:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--bg-red) !important;
    box-shadow: 0 0 0 4px rgb(220 38 38 / .12) !important;
    outline: none;
}
.form--label, .form-label { font-weight: 600; color: var(--bg-text); font-size: .875rem; margin-bottom: 6px; }
.form--check .form-check-input:checked,
.form-check-input:checked { background-color: var(--bg-red); border-color: var(--bg-red); }

/* ---------- 5. Cards, badges, tables, modals ---------- */
.card, .custom--card {
    border: 1px solid var(--bg-border) !important;
    border-radius: var(--r-card) !important;
    box-shadow: var(--sh-1);
    overflow: hidden;
}
.card-header { background: var(--bg-white); border-bottom: 1px solid var(--bg-border); }
.badge { border-radius: var(--r-pill); font-weight: 600; padding: .4em .75em; letter-spacing: .01em; }
.custom--modal .modal-content, .modal-content {
    border: 0;
    border-radius: var(--r-card-lg);
    box-shadow: var(--sh-3);
}
.modal.fade .modal-dialog { transform: translateY(16px) scale(.98); transition: transform var(--t-sheet) var(--ease); }
.modal.show .modal-dialog { transform: none; }
.table { --bs-table-bg: transparent; }
.table thead th { font-weight: 600; color: var(--bg-text-2); font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; }
.pagination .page-link { border-radius: 10px !important; margin: 0 3px; border-color: var(--bg-border); color: var(--bg-text); }
.pagination .page-item.active .page-link { background: var(--bg-red); border-color: var(--bg-red); color: #fff; }

.custom--accordion .accordion-item {
    border: 1px solid var(--bg-border) !important;
    border-radius: var(--r-card) !important;
    overflow: hidden;
    margin-bottom: 12px;
    background: var(--bg-white);
    transition: box-shadow var(--t-select) var(--ease), border-color var(--t-select) var(--ease);
}
.custom--accordion .accordion-item:has(.accordion-button:not(.collapsed)) { border-color: rgb(220 38 38 / .35) !important; box-shadow: var(--sh-2); }
.custom--accordion .accordion-button { font-family: var(--heading-font); font-weight: 700; color: var(--bg-text); background: transparent; box-shadow: none; padding: 20px 22px; }

/* ---------- 6. Header ---------- */
.header {
    background: rgb(17 24 39 / .82);
    -webkit-backdrop-filter: saturate(160%) blur(14px);
    backdrop-filter: saturate(160%) blur(14px);
    border-bottom: 1px solid rgb(255 255 255 / .06);
    transition: background-color var(--t-sheet) var(--ease), box-shadow var(--t-sheet) var(--ease);
}
.header.fixed-header, .header.sticky { background: rgb(17 24 39 / .94); box-shadow: 0 8px 24px rgb(0 0 0 / .18); }
.header .navbar { min-height: 72px; }
.header .nav-menu .nav-link {
    font-weight: 500;
    font-size: .9375rem;
    color: rgb(255 255 255 / .78) !important;
    border-radius: 10px;
    padding: 8px 14px !important;
    transition: color var(--t-press) var(--ease), background-color var(--t-press) var(--ease);
}
.header .nav-menu .nav-link:hover,
.header .nav-menu .nav-link.active { color: #fff !important; background: rgb(255 255 255 / .08); }
.header .nav-menu .nav-link::before,
.header .nav-menu .nav-link::after { display: none !important; }
.header .navbar-brand img { max-height: 36px; width: auto; }
.header .btn { min-height: 42px; padding: 10px 18px; }

/* ---------- 7. Hero / banner ---------- */
.banner-section {
    padding-top: clamp(120px, 12vw, 176px);
    padding-bottom: clamp(64px, 8vw, 120px);
    min-height: min(88vh, 820px);
    display: flex;
    align-items: center;
    isolation: isolate;
    overflow: hidden;
    background: var(--bg-ink);
}
/* The old recolour layer (red colour-burn image) muddied the photo — replace with a calm charcoal scrim */
.banner-gradient-shape { display: none !important; }
.banner-video { filter: grayscale(.35) contrast(1.05) brightness(.8); }
.banner-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(1100px 520px at 12% 110%, rgb(220 38 38 / .32), transparent 60%),
        linear-gradient(180deg, rgb(17 24 39 / .55) 0%, rgb(17 24 39 / .72) 55%, rgb(17 24 39 / .92) 100%);
    pointer-events: none;
}
.banner-section > .container { position: relative; z-index: 2; }
.banner-section__title {
    color: #fff !important;
    font-size: clamp(2.25rem, 1.2rem + 4.2vw, 4.5rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    max-width: 14ch;
    margin-inline: auto;
    animation: bg-rise 700ms var(--ease) both;
}
.banner-section__title-highlight { color: #fff; position: relative; white-space: nowrap; }
.banner-section__title-highlight svg path { stroke: var(--bg-red) !important; fill: var(--bg-red) !important; }
.banner-section__search-form {
    margin-top: 36px;
    background: var(--bg-white) !important;
    border: 0 !important;
    border-radius: var(--r-card-lg) !important;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    padding: 10px !important;
    gap: 8px !important;
    box-shadow: 0 24px 60px rgb(0 0 0 / .35);
    animation: bg-rise 700ms 120ms var(--ease) both;
}
.banner-section__search-form .input-group-custom {
    background: var(--bg-canvas) !important;
    border: 1px solid transparent !important;
    box-shadow: none !important;
    color: var(--bg-text) !important;
    height: 58px;
    padding: 0 16px;
    gap: 14px;
    transition: border-color var(--t-press) var(--ease), background-color var(--t-press) var(--ease), box-shadow var(--t-select) var(--ease);
}
.banner-section__search-form .input-group-custom:focus-within {
    background: #fff !important;
    border-color: var(--bg-red) !important;
    box-shadow: 0 0 0 4px rgb(220 38 38 / .12) !important;
}
.banner-section__search-form .input-group-custom::before { left: 46px; opacity: 1; background: var(--bg-border); }
.banner-section__search-form .input-group-custom__icon { color: var(--bg-red) !important; }
.banner-section__search-form .input-group-custom__icon svg path,
.banner-section__search-form .location__icon svg path { stroke: currentColor; }
.banner-section__search-form .location__icon { color: var(--bg-text-2); cursor: pointer; }
.banner-section__search-form .location__icon:hover { color: var(--bg-red); }
.banner-section__search-form .input-group-custom__input {
    color: var(--bg-text) !important;
    font-weight: 500;
    min-height: 0 !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
}
.input-group-custom .input-group-custom__input.form--control,
.input-group-custom .input-group-custom__input.form--control:focus {
    border: 0 !important;
    box-shadow: none !important;
    min-height: 0 !important;
    background: transparent !important;
}
.banner-section .banner-section__search-form .input-group-custom__input::placeholder { color: #6B7280 !important; opacity: 1 !important; }
.banner-section .banner-section__search-form .input-group-custom__input::-webkit-input-placeholder { color: #6B7280 !important; opacity: 1 !important; }
.banner-section__search-form .btn:disabled, .banner-section__search-form .btn.disabled { opacity: 1 !important; background: #E5E7EB !important; border-color: #E5E7EB !important; color: #6B7280 !important; box-shadow: none; }
.banner-search__icon-box {
    color: var(--bg-text) !important;
    flex: 0 0 40px; width: 40px; height: 40px;
    border-radius: 12px;
    background: var(--bg-canvas-2);
    display: inline-flex; align-items: center; justify-content: center;
}
.banner-search__icon-box svg { width: 20px !important; height: 20px !important; }
.banner-search__icon-box svg path { stroke: currentColor; }
.banner-section__search-form .btn { min-height: 58px; padding-inline: 28px; white-space: nowrap; }
.search-input-dropdown__wrapper {
    background: #fff !important;
    border: 1px solid var(--bg-border);
    border-radius: var(--r-card) !important;
    box-shadow: var(--sh-3) !important;
    padding: 6px !important;
    margin-top: 8px !important;
}
.search-input-dropdown__item { border-radius: 10px; color: var(--bg-text); }
.search-input-dropdown__item:hover { background: var(--bg-red-soft); }

/* ---------- 8. Counters (trust strip) ---------- */
.counter-section { background: var(--bg-white); }
.counter-wrapper {
    background: var(--bg-white);
    border: 1px solid var(--bg-border);
    border-radius: var(--r-card-lg);
    box-shadow: var(--sh-2);
    padding: 8px;
}
.counter-item__inner { padding: 20px 22px; }
.counter-item__icon {
    width: 48px; height: 48px;
    border-radius: 14px;
    background: var(--bg-red-soft);
    color: var(--bg-red);
    display: inline-flex; align-items: center; justify-content: center;
}
.counter-item__icon svg, .counter-item__icon img { width: 24px; height: 24px; }
.counter-item__number { font-family: var(--heading-font); font-weight: 800; color: var(--bg-text); letter-spacing: -0.02em; }
.counter-item__desc { color: var(--bg-text-2); font-size: .875rem; }

/* ---------- 9. Features ---------- */
.feature-item {
    display: flex;
    gap: 18px;
    padding: 20px;
    border-radius: var(--r-card);
    border: 1px solid transparent;
    transition: background-color var(--t-select) var(--ease), border-color var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
    margin-bottom: 12px !important;
}
.feature-item:hover { background: var(--bg-white); border-color: var(--bg-border); box-shadow: var(--sh-2); }
.feature-item__icon {
    flex: 0 0 52px; width: 52px; height: 52px;
    border-radius: 14px;
    background: var(--bg-red-soft);
    color: var(--bg-red);
    display: inline-flex; align-items: center; justify-content: center;
}
.feature-item__icon svg { width: 24px; height: 24px; }
.feature-item__title { font-size: 1.25rem; margin-bottom: 6px; }
.feature-item__desc { color: var(--bg-text-2); margin: 0; }
.feature-thumb__item img { border-radius: var(--r-card-lg); box-shadow: var(--sh-3); }

/* ---------- 10. Vehicles ---------- */
.vehicles-item {
    border-radius: var(--r-card-lg) !important;
    box-shadow: var(--sh-2);
    transition: transform var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.vehicles-item:hover { transform: translateY(-4px); box-shadow: var(--sh-3); }
.vehicles-item img { transition: transform 600ms var(--ease); }
.vehicles-item:hover img { transform: scale(1.04); }
.vehicles-item__overlay {
    background: linear-gradient(180deg, transparent 35%, rgb(17 24 39 / .88) 100%) !important;
    mix-blend-mode: normal !important;
}
.vehicles-item__content { padding: 24px !important; }
.vehicles-item__title { color: #fff !important; font-family: var(--heading-font); font-weight: 800; letter-spacing: -0.02em; }
.vehicles-item__icon {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--bg-red); color: #fff !important;
    display: inline-flex; align-items: center; justify-content: center;
    transition: transform var(--t-select) var(--ease);
}
.vehicles-item:hover .vehicles-item__icon { transform: translateX(4px); }
.vehicles-item__icon svg path, .vehicles-item__icon svg circle { stroke: #fff !important; }

/* ---------- 11. How it works / process ---------- */
.working-process-item__number, .htw-step__num {
    width: 52px !important; height: 52px !important;
    border-radius: 14px !important;
    background: var(--bg-ink) !important;
    color: #fff !important;
    border: 0 !important;
    font-family: var(--heading-font);
    font-size: 1.25rem !important;
    box-shadow: var(--sh-2);
}
.working-process-item::before, .working-process-item::after { border-color: var(--bg-border) !important; }
.working-process-item__title, .htw-step__title { font-size: 1.25rem; }
.how-it-works.section-bg, .section-bg { background: var(--bg-canvas) !important; }

/* ---------- 12. Testimonials ---------- */
.testimonials-reviews, .slider-content {
    background: var(--bg-ink) !important;
    color: #fff;
    border-radius: var(--r-card-lg) !important;
}
.slider-content__title, .slider-content__name { color: #fff !important; }
.slider-content__position { color: rgb(255 255 255 / .6) !important; }
.testimonial-item__message { color: rgb(255 255 255 / .82) !important; }
.testimonial-item__thumb img, .slider-slider-thumb img { border-radius: var(--r-card) !important; border: 0 !important; }
.testimonials .slick-arrow, .testimonials .icon-left, .testimonials .icon-right {
    border-radius: 50% !important;
    border: 1px solid var(--bg-border) !important;
    background: var(--bg-white) !important;
    color: var(--bg-text) !important;
}

/* ---------- 13. App download ---------- */
.app-section { position: relative; isolation: isolate; }
.app-section::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(110deg, rgb(17 24 39 / .96) 35%, rgb(17 24 39 / .72));
}
.app-content__title { letter-spacing: -0.03em; }
.app-content__list-item { color: rgb(255 255 255 / .82); }
.app-content__list-item .icon, .app-content__list-item .svg-icon { color: var(--bg-red); }

/* ---------- 14. FAQ contact & blog ---------- */
.faq-contact { border-radius: var(--r-card-lg) !important; background: var(--bg-ink) !important; overflow: hidden; }
.latest-blog, .blog-item {
    border: 1px solid var(--bg-border);
    border-radius: var(--r-card-lg);
    overflow: hidden;
    background: var(--bg-white);
    transition: transform var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.latest-blog:hover, .blog-item:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.latest-blog__thumb img, .blog-item__thumb img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }

/* ---------- 15. Footer ---------- */
.footer-area { background: var(--bg-ink) !important; color: rgb(255 255 255 / .66); }
.footer-item__title { color: #fff !important; font-family: var(--heading-font); font-size: 1rem; letter-spacing: 0; }
.footer-menu__link { color: rgb(255 255 255 / .66) !important; }
.footer-menu__link:hover { color: #fff !important; }
.footer-area .form--control {
    background: rgb(255 255 255 / .06) !important;
    border-color: rgb(255 255 255 / .12) !important;
    color: #fff !important;
}
.social-list__link {
    border-radius: 12px !important;
    background: rgb(255 255 255 / .06) !important;
    border: 1px solid rgb(255 255 255 / .1) !important;
    color: #fff !important;
    transition: background-color var(--t-press) var(--ease);
}
.social-list__link:hover { background: var(--bg-red) !important; border-color: var(--bg-red) !important; }
.bottom-footer { border-top: 1px solid rgb(255 255 255 / .08) !important; background: var(--bg-ink) !important; }

/* ---------- 16. Breadcrumb / inner page hero ---------- */
.breadcrumb, .breadcrumb-section {
    position: relative;
    isolation: isolate;
}
.breadcrumb-section::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(180deg, rgb(17 24 39 / .7), rgb(17 24 39 / .9));
}
.breadcrumb-section > * { position: relative; z-index: 1; }

/* ---------- 17. Dashboard (rider web booking) ---------- */
.dashboard-body { background: var(--bg-canvas); }
.trip-card, .payment-history__item, .payment-history-card, .contact-item, .ride-booking__calculation-item {
    border: 1px solid var(--bg-border) !important;
    border-radius: var(--r-card) !important;
    background: var(--bg-white);
    box-shadow: var(--sh-1);
}
.trip-card { transition: box-shadow var(--t-select) var(--ease), border-color var(--t-select) var(--ease); }
.trip-card:hover { box-shadow: var(--sh-2); }
.driver-sidebar-menu-list__link { border-radius: 12px !important; }
.driver-sidebar-menu-list__item.active .driver-sidebar-menu-list__link,
.driver-sidebar-menu-list__link:hover { background: var(--bg-red-soft) !important; color: var(--bg-red) !important; }

/* ---------- 18. Preloader, cookie, scroll-top ---------- */
.cookies-card {
    border-radius: var(--r-card-lg) !important;
    box-shadow: var(--sh-3) !important;
    border: 1px solid var(--bg-border);
    max-width: 380px;
}
.scroll-top { border-radius: 14px !important; background: var(--bg-red) !important; box-shadow: var(--sh-red); }

/* ---------- 19. Motion ---------- */
@keyframes bg-rise {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: none; }
}
/* Calm down the legacy WOW animations: shorter, smaller travel */
.wow { animation-duration: 600ms !important; animation-timing-function: var(--ease) !important; }
.fadeInUp { --animate-distance: 16px; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .wow { visibility: visible !important; animation-name: none !important; }
}

/* ---------- 20. Responsive ---------- */
@media (max-width: 991.98px) {
    .header { background: rgb(17 24 39 / .96); }
    .header .navbar-collapse {
        background: var(--bg-ink);
        border-radius: var(--r-card);
        padding: 12px;
        margin-top: 8px;
        border: 1px solid rgb(255 255 255 / .08);
    }
    .banner-section__search-form { flex-direction: column; align-items: stretch !important; }
    .banner-section__search-form > * { width: 100% !important; }
    .counter-wrapper { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .counter-item { width: auto !important; }
    .counter-item::before, .counter-item::after { display: none !important; }
}
@media (max-width: 575.98px) {
    .container { padding-inline: 16px; }
    .banner-section { min-height: auto; }
    .banner-section__title { max-width: none; }
    .counter-item__inner { padding: 14px; }
    .section-heading { margin-bottom: 32px; }
    .vehicles-item__content { padding: 18px !important; }
}

/* ---------- 21. Contrast fixes: --base-two moved from lime to charcoal ----------
   The template paired its old lime secondary with dark text. Now that the
   secondary is charcoal, anything painted with it needs light foregrounds. */
.btn--base-two, .btn--base-two:hover, .drive-cta__btn { color: #fff !important; }
.newslatter__form-btn { color: #fff !important; background-color: var(--bg-red) !important; }
.newslatter__form-btn:hover { background-color: var(--bg-red-pressed) !important; }
.bottom-footer .bottom-footer-text a { color: #fff !important; }
.bottom-footer .bottom-footer-text a:hover { color: #FCA5A5 !important; }
.service-steps__item__number, .track__heading__tag { color: #fff !important; }
.footer-item__title::after { background-color: var(--bg-red) !important; }

.driver-features {
    border-radius: var(--r-card-lg) !important;
    border: 1px solid var(--bg-border) !important;
    background: var(--bg-white);
    transition: background-color var(--t-select) var(--ease), border-color var(--t-select) var(--ease), transform var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.driver-features:hover, .driver-features.active { background-color: var(--bg-ink) !important; border-color: var(--bg-ink) !important; }
.driver-features:hover { transform: translateY(-3px); box-shadow: var(--sh-3); }
.driver-features:hover.active { background-color: var(--bg-ink) !important; border-color: var(--bg-ink) !important; }
.driver-features:hover .driver-features__title, .driver-features.active .driver-features__title { color: #fff !important; }
.driver-features:hover .driver-features__desc, .driver-features.active .driver-features__desc { color: rgb(255 255 255 / .72) !important; }
.driver-features__icon { border-radius: 14px !important; background: var(--bg-red-soft) !important; color: var(--bg-red) !important; }
.driver-features:hover .driver-features__icon, .driver-features.active .driver-features__icon { background: rgb(220 38 38 / .18) !important; }

/* Driver CTA band: replace the pink→lavender wash with charcoal + crimson glow */
.drive-cta {
    background-image: none !important;
    background:
        radial-gradient(800px 420px at 90% 50%, rgb(220 38 38 / .28), transparent 60%),
        var(--bg-ink) !important;
    overflow: hidden;
}
.drive-cta__title { color: #fff !important; }
.drive-cta__desc { color: rgb(255 255 255 / .72) !important; }
.drive-cta__btn { background-color: var(--bg-red) !important; border-color: var(--bg-red) !important; box-shadow: var(--sh-red) !important; }
.drive-cta__btn:hover { background-color: var(--bg-red-pressed) !important; }

/* ---------- 22. Icon sizing (BlissGo line icons, rendered at 4x) ---------- */
.counter-item__icon img, .feature-item__icon img { width: 24px !important; height: 24px !important; max-width: none !important; object-fit: contain; }

/* ---------- 23. Store buttons (vector — replaces 165x48 raster badges) ---------- */
.bg-stores { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.bg-store {
    display: inline-flex; align-items: center; gap: 12px;
    min-width: 176px; height: 56px; padding: 0 18px 0 14px;
    border-radius: 14px;
    background: #000; color: #fff !important;
    border: 1px solid rgb(255 255 255 / .22);
    text-decoration: none;
    transition: transform var(--t-press) var(--ease), border-color var(--t-select) var(--ease), background-color var(--t-select) var(--ease);
}
.bg-store:hover { border-color: rgb(255 255 255 / .55); background: #0B0B0B; color: #fff !important; transform: translateY(-1px); }
.bg-store:active { transform: scale(.97); }
.bg-store__icon { width: 26px; height: 28px; flex: 0 0 auto; }
.bg-store__icon--apple { font-size: 30px; width: 26px; height: auto; line-height: 1; text-align: center; margin-top: -3px; }
.bg-store__text { display: flex; flex-direction: column; line-height: 1.05; text-align: left; }
.bg-store__text small { font-family: var(--body-font); font-size: 10.5px; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; opacity: .85; }
.bg-store__text strong { font-family: var(--body-font); font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.bg-stores--light .bg-store { background: #fff; color: var(--bg-ink) !important; border-color: var(--bg-border); }
@media (max-width: 991.98px) { .bg-stores { flex-direction: row; flex-wrap: wrap; } }
/* store buttons: never wrap labels; fit the narrow footer column */
.bg-store { width: 100%; max-width: 190px; min-width: 0; padding: 0 14px 0 12px; gap: 10px; }
.bg-store__text { white-space: nowrap; min-width: 0; }
.bg-store__text small { font-size: 9.5px; letter-spacing: .03em; }
.bg-store__text strong { font-size: 17px; }
.bg-store__icon { width: 24px; height: 26px; }
.bg-store__icon--apple { font-size: 27px; width: 24px; }
@media (max-width: 991.98px) { .bg-store { width: auto; min-width: 168px; } }

/* ---------- 24. Hero search v2 — labelled trip bar (mirrors the app's trip card) ---------- */
.banner-section .banner-section__search-form {
    padding: 8px !important; gap: 8px !important;
    border-radius: 22px !important;
    box-shadow: 0 30px 70px rgb(0 0 0 / .38), 0 0 0 1px rgb(255 255 255 / .06) !important;
}
.banner-section .banner-search__main { gap: 6px !important; }
.banner-section .banner-section__search-form .input-group-custom {
    height: 68px; padding: 0 16px 0 18px; gap: 14px;
    background: #fff !important; border: 1px solid transparent !important; border-radius: 16px !important;
}
.banner-section .banner-section__search-form .input-group-custom:hover { background: var(--bg-canvas) !important; }
.banner-section .banner-section__search-form .input-group-custom:focus-within {
    background: #fff !important; border-color: var(--bg-red) !important; box-shadow: 0 0 0 4px rgb(220 38 38 / .12) !important;
}
.banner-section .banner-section__search-form .input-group-custom::before { display: none !important; }
.bg-search__marker { flex: 0 0 14px; width: 14px; height: 14px; display: inline-block; }
.bg-search__marker--pickup { border: 4px solid var(--bg-ink); border-radius: 50%; }
.bg-search__marker--drop { background: var(--bg-red); border-radius: 3px; }
.banner-section .input-group-custom__wrapper { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.bg-search__label {
    margin: 0; font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
    color: var(--bg-text-2); line-height: 1; cursor: text;
}
.banner-section .banner-section__search-form .input-group-custom__input {
    font-size: 16px !important; font-weight: 600 !important; color: var(--bg-ink) !important; line-height: 1.25 !important;
    text-overflow: ellipsis;
}
.banner-section .banner-section__search-form .input-group-custom__input::placeholder,
.banner-section .banner-section__search-form .input-group-custom__input::-webkit-input-placeholder {
    color: #4B5563 !important; font-weight: 500 !important; opacity: 1 !important;
}
/* fetch / clear controls: proper 40px targets */
.banner-section .banner-section__search-form .location__icon {
    width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px;
    display: inline-flex; align-items: center; justify-content: center;
    color: var(--bg-text-2); transition: background-color var(--t-press) var(--ease), color var(--t-press) var(--ease);
}
.banner-section .banner-section__search-form .location__icon:hover { background: var(--bg-red-soft); color: var(--bg-red); }
.banner-section .banner-section__search-form .location__icon svg { width: 18px; height: 18px; }
/* route connector between the two fields */
.banner-section .banner-search__icon-box {
    flex: 0 0 36px; width: 36px; height: 36px; border-radius: 50%;
    background: var(--bg-canvas-2) !important; color: var(--bg-text-2) !important; margin: 0 2px;
}
.banner-section .banner-search__icon-box svg { width: 18px !important; height: 18px !important; }
.banner-section .banner-search__icon-box svg path { stroke: currentColor !important; fill: none !important; }
/* CTA: always brand red; "not ready yet" is communicated by a softer red, not dead grey */
.banner-section .banner__button {
    min-height: 68px !important; height: 68px !important; padding: 0 30px !important; gap: 10px;
    border-radius: 16px !important; font-size: 16px !important; font-weight: 700 !important;
    background: var(--bg-red) !important; border-color: var(--bg-red) !important; color: #fff !important;
    box-shadow: 0 10px 24px rgb(220 38 38 / .35) !important;
}
.banner-section .banner__button:hover:not(:disabled) { background: var(--bg-red-pressed) !important; }
.banner-section .banner__button:disabled, .banner-section .banner__button.disabled {
    opacity: 1 !important; background: #EF8A8A !important; border-color: #EF8A8A !important;
    color: #fff !important; box-shadow: none !important; cursor: not-allowed;
}
.banner-section .banner__button-icon { flex: 0 0 auto; }
@media (max-width: 991.98px) {
    .banner-section .banner-search__icon-box { transform: rotate(90deg); margin: -4px auto; }
    .banner-section .banner__button { width: 100%; }
}
.banner-section .banner-section__search-form { text-align: left; }
.banner-section .input-group-custom__wrapper { align-items: stretch; flex: 1 1 auto; width: 100%; }
.banner-section .banner-section__search-form .input-group-custom__input { width: 100% !important; display: block; text-align: left; }
/* main.css forces white text-fill (built for the old glass form) — override for the white trip bar */
.banner-section .banner-section__search-form .input-group-custom__input,
.banner-section .banner-section__search-form .input-group-custom__input:focus,
.banner-section .banner-section__search-form .input-group-custom__input:active,
.banner-section .banner-section__search-form .input-group-custom__input:-webkit-autofill {
    -webkit-text-fill-color: var(--bg-ink) !important;
    caret-color: var(--bg-red);
}
.banner-section .banner-section__search-form .input-group-custom__input::placeholder,
.banner-section .banner-section__search-form .input-group-custom__input::-webkit-input-placeholder {
    -webkit-text-fill-color: #4B5563 !important;
}
/* placeholder rules kept separate: one unknown pseudo would invalidate a combined selector list */
.banner-section .banner-section__search-form .input-group-custom__input::placeholder { color: #4B5563 !important; -webkit-text-fill-color: #4B5563 !important; font-weight: 500 !important; opacity: 1 !important; }
.banner-section .banner-section__search-form .input-group-custom__input::-webkit-input-placeholder { color: #4B5563 !important; -webkit-text-fill-color: #4B5563 !important; font-weight: 500 !important; opacity: 1 !important; }
.banner-section .banner-section__search-form .input-group-custom__input::-moz-placeholder { color: #4B5563 !important; font-weight: 500 !important; opacity: 1 !important; }

/* =====================================================================
   25. Round 3 polish — search borders, stories, vehicles, steps, forms,
       footer, responsive fixes, scroll-reveal motion
   ===================================================================== */

/* --- Hero search: every field reads as a field (grey hairline) --- */
.banner-section .banner-section__search-form .input-group-custom {
    border: 1px solid var(--bg-border) !important;
    background: #fff !important;
}
.banner-section .banner-section__search-form .input-group-custom:hover {
    border-color: #D1D5DB !important; background: #FAFAFA !important;
}
.banner-section .banner-section__search-form .input-group-custom:focus-within {
    border-color: var(--bg-red) !important; background: #fff !important;
    box-shadow: 0 0 0 4px rgb(220 38 38 / .12) !important;
}
/* Tablet & phone: stack fields at any width below desktop — no half-broken in-between states */
@media (max-width: 1199.98px) {
    .banner-section .banner-section__search-form { flex-direction: column !important; align-items: stretch !important; }
    .banner-section .banner-search__main { flex-direction: column !important; align-items: stretch !important; width: 100% !important; }
    .banner-section .banner-section__search-form__wrapper { width: 100% !important; }
    .banner-section .banner-search__icon-box { transform: rotate(90deg); align-self: center; margin: -2px 0 !important; }
    .banner-section .banner__button { width: 100% !important; margin: 0 !important; }
}
@media (min-width: 768px) and (max-width: 1199.98px) {
    /* tablet: two fields side by side, button full width below */
    .banner-section .banner-search__main { flex-direction: row !important; align-items: center !important; }
    .banner-section .banner-search__icon-box { transform: none; }
}
@media (max-width: 575.98px) {
    .banner-section .banner-section__search-form .input-group-custom { height: 64px; padding: 0 10px 0 14px; }
    .banner-section .banner__button { height: 58px !important; min-height: 58px !important; }
    .banner-section__title { font-size: clamp(2rem, 9vw, 2.6rem) !important; }
}

/* --- Stories behind the wheel (blog cards) --- */
.bg-post {
    height: 100%; display: flex; flex-direction: column;
    background: #fff; border: 1px solid var(--bg-border); border-radius: 20px; overflow: hidden;
    transition: transform var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease), border-color var(--t-select) var(--ease);
}
.bg-post:hover { transform: translateY(-4px); box-shadow: var(--sh-3); border-color: transparent; }
.bg-post__media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-canvas-2); }
.bg-post__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.bg-post:hover .bg-post__media img { transform: scale(1.05); }
.bg-post__date {
    position: absolute; left: 14px; top: 14px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    min-width: 56px; padding: 8px 10px; border-radius: 14px;
    background: rgb(255 255 255 / .94); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    box-shadow: var(--sh-2); line-height: 1; color: var(--bg-ink);
}
.bg-post__date strong { font-family: var(--heading-font); font-size: 20px; font-weight: 800; }
.bg-post__date span { font-size: 11px; font-weight: 600; color: var(--bg-text-2); margin-top: 3px; white-space: nowrap; }
.bg-post__body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.bg-post__title { font-size: 1.2rem; line-height: 1.35; margin: 0; letter-spacing: -0.015em; }
.bg-post__title a { color: var(--bg-ink); text-decoration: none; background-image: linear-gradient(currentColor, currentColor); background-size: 0 1.5px; background-repeat: no-repeat; background-position: 0 100%; transition: background-size 300ms var(--ease); }
.bg-post__title a:hover { background-size: 100% 1.5px; color: var(--bg-ink); }
.bg-post__excerpt { margin: 0; font-size: .9375rem; color: var(--bg-text-2); line-height: 1.6; flex: 1; }
.bg-post__more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: .9375rem; color: var(--bg-red); text-decoration: none; margin-top: 4px; }
.bg-post__more svg { transition: transform var(--t-select) var(--ease); }
.bg-post__more:hover { color: var(--bg-red-pressed); }
.bg-post__more:hover svg { transform: translateX(4px); }

/* --- Wide range of vehicles: compact cards --- */
.vehicles-item { aspect-ratio: 4 / 3; border-radius: 18px !important; }
.vehicles-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.vehicles-item__content { padding: 16px !important; display: flex !important; align-items: center; justify-content: space-between; gap: 8px; }
.vehicles-item__title { font-size: 1.25rem !important; margin: 0 !important; }
.vehicles-item__icon { width: 34px !important; height: 34px !important; flex: 0 0 34px; }
.vehicles-item__icon svg { width: 18px; height: 18px; }
@media (max-width: 575.98px) {
    .vehicles-item { border-radius: 14px !important; aspect-ratio: 1 / 1; }
    .vehicles-item__content { padding: 12px !important; }
    .vehicles-item__title { font-size: 1rem !important; }
    .vehicles-item__icon { width: 28px !important; height: 28px !important; flex-basis: 28px; }
}

/* --- Ride made simple: numbered timeline --- */
.bg-steps-visual { max-width: 560px; margin-inline: auto; }
.bg-steps-visual img { width: 100%; height: auto; display: block; }
.bg-steps { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 14px; }
.bg-steps::before {
    content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; width: 2px;
    background: linear-gradient(var(--bg-red), rgb(220 38 38 / .15)); border-radius: 2px;
}
.bg-step {
    position: relative; display: flex; gap: 18px; align-items: flex-start;
    padding: 18px 20px 18px 0; border-radius: 18px;
    transition: background-color var(--t-select) var(--ease), box-shadow var(--t-select) var(--ease);
}
.bg-step:hover { background: #fff; box-shadow: var(--sh-2); }
.bg-step__num {
    position: relative; z-index: 1; flex: 0 0 56px; width: 56px; height: 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--bg-ink); color: #fff; font-family: var(--heading-font); font-weight: 800; font-size: 1.05rem;
    box-shadow: 0 0 0 6px #fff, var(--sh-2);
}
.bg-step:first-child .bg-step__num { background: var(--bg-red); }
.bg-step__title { font-size: 1.2rem; margin: 6px 0 6px; }
.bg-step__desc { margin: 0; color: var(--bg-text-2); line-height: 1.6; }
@media (max-width: 991.98px) { .bg-steps-visual { max-width: 420px; } }
@media (max-width: 575.98px) {
    .bg-step { gap: 14px; padding: 14px 14px 14px 0; }
    .bg-step__num { flex-basis: 46px; width: 46px; height: 46px; border-radius: 14px; font-size: .95rem; }
    .bg-steps::before { left: 22px; }
    .bg-step__title { font-size: 1.075rem; margin-top: 3px; }
    .bg-step__desc { font-size: .9375rem; }
}

/* --- Contact page --- */
.contact-form .form--control,
.contact-form textarea.form--control {
    padding: 14px 18px !important; min-height: 54px; font-size: 1rem;
    background: var(--bg-canvas) !important; border: 1px solid var(--bg-border) !important; border-radius: 14px !important;
}
.contact-form textarea.form--control { min-height: 150px; line-height: 1.6; resize: vertical; }
.contact-form .form--control:hover { border-color: #D1D5DB !important; }
.contact-form .form--control:focus { background: #fff !important; border-color: var(--bg-red) !important; box-shadow: 0 0 0 4px rgb(220 38 38 / .12) !important; }
.contact-form .form--control::placeholder { color: #9CA3AF; }
.contact-form { border-radius: 24px !important; box-shadow: var(--sh-3); border: 1px solid var(--bg-border); padding: clamp(22px, 3vw, 40px) !important; background: #fff; }
.contact-form .btn { width: 100%; min-height: 54px; }
.contact-item { padding: 16px 18px !important; border-radius: 16px !important; transition: box-shadow var(--t-select) var(--ease), transform var(--t-select) var(--ease); }
.contact-item:hover { box-shadow: var(--sh-2); transform: translateY(-2px); }

/* --- Footer newsletter --- */
.newslatter__heading {
    font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.25rem) !important; line-height: 1.2 !important;
    letter-spacing: -0.025em; color: #fff !important; max-width: 16ch;
}
.newslatter__form .form--control {
    padding: 0 18px !important; height: 54px; min-height: 54px; border-radius: 14px !important;
    border: 1px solid rgb(255 255 255 / .14) !important; background: rgb(255 255 255 / .06) !important;
    color: #fff !important; font-size: 1rem;
}
.newslatter__form .form--control::placeholder { color: rgb(255 255 255 / .55) !important; }
.newslatter__form .form--control::-webkit-input-placeholder { color: rgb(255 255 255 / .55) !important; }
.newslatter__form .form--control:focus { border-color: var(--bg-red) !important; box-shadow: 0 0 0 4px rgb(220 38 38 / .22) !important; }
.newslatter__form .input-group, .newslatter__form .form-group { position: relative; }
.newslatter__form-btn { width: 44px; height: 44px; border-radius: 12px !important; position: absolute; right: 5px; top: 50%; transform: translateY(-50%); }
.newslatter__form .form--control { padding-right: 60px !important; }
@media (max-width: 767.98px) { .newslatter { row-gap: 18px; } }

/* --- Scroll-reveal motion (JS adds .is-in; no-JS & reduced-motion show content) --- */
.js-reveal .bg-reveal { opacity: 0; transform: translateY(18px); transition: opacity 650ms var(--ease), transform 650ms var(--ease); transition-delay: var(--d, 0ms); }
.js-reveal .bg-reveal.is-in { opacity: 1; transform: none; }
.header { transition: background-color var(--t-sheet) var(--ease), box-shadow var(--t-sheet) var(--ease), backdrop-filter var(--t-sheet); }
.header.is-scrolled { box-shadow: 0 10px 30px rgb(0 0 0 / .22); }
.btn--base:hover { transform: translateY(-1px); }
.btn--base:active { transform: scale(.97); }
@media (prefers-reduced-motion: reduce) {
    .js-reveal .bg-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* Contact page: replace the legacy pink/lavender blob artwork with a calm brand canvas */
.contact-section.bg-img {
    background-image: none !important;
    background:
        radial-gradient(900px 520px at 85% 10%, rgb(220 38 38 / .08), transparent 60%),
        radial-gradient(700px 480px at 0% 100%, rgb(17 24 39 / .05), transparent 60%),
        var(--bg-canvas) !important;
}
.contact-content__title { letter-spacing: -0.04em; }
.contact-content__subtitle { color: var(--bg-text-2) !important; }
