/* MV Miami Rental — frosted glass UI (inspired by premium agency sites) */

:root {
    --mv-brand: #e68404;
    --mv-dark: #192a30;
    --mv-glass-bg: rgba(255, 255, 255, 0.72);
    --mv-glass-dark: rgba(25, 42, 48, 0.78);
    --mv-glass-border: rgba(255, 255, 255, 0.22);
}

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .mv-fade-up {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Topbar — subtle frosted strip */
.topbar {
    background: rgba(25, 42, 48, 0.88) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Homepage navbar — glass over hero */
body.page-home .nav-bar {
    background: rgba(25, 42, 48, 0.18) !important;
    backdrop-filter: blur(14px) saturate(150%);
    -webkit-backdrop-filter: blur(14px) saturate(150%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.35s ease, backdrop-filter 0.35s ease, box-shadow 0.35s ease, padding 0.3s ease;
}

body.page-home .nav-bar.scrolled {
    background: var(--mv-glass-dark) !important;
    backdrop-filter: blur(22px) saturate(180%);
    -webkit-backdrop-filter: blur(22px) saturate(180%);
    box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

/* Inner pages — light frosted navbar */
body:not(.page-home) .nav-bar {
    position: sticky !important;
    top: 0 !important;
    background: var(--mv-glass-bg) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    z-index: 1030;
}

body:not(.page-home) .nav-bar .navbar-nav .nav-link {
    color: var(--mv-dark) !important;
}

body:not(.page-home) .nav-bar .navbar-nav .nav-link:hover,
body:not(.page-home) .nav-bar .navbar-nav .nav-link.active {
    color: var(--mv-brand) !important;
}

/* Footer — soft gradient + glass copyright bar */
.footer {
    position: relative;
    background: linear-gradient(165deg, #192a30 0%, #1a3340 55%, #192a30 100%) !important;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 50% at 20% 0%, rgba(230, 132, 4, 0.08), transparent 60%);
    pointer-events: none;
}

.copyright {
    background: #111a1e !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.copyright .text-white-50,
.copyright a {
    color: rgba(255, 255, 255, 0.78) !important;
}

.copyright a.text-white,
.copyright a.border-bottom {
    color: #fff !important;
}

.copyright a:hover {
    color: var(--mv-brand, #e68404) !important;
}

/* Back to top removed — overlapped AI chat FAB */
.back-to-top {
    display: none !important;
}

/* Subtle entrance for sections (works alongside WOW.js) */
.mv-fade-up {
    animation: mvFadeUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes mvFadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Page header overlay polish */
.page-header::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(25, 42, 48, 0.15) 0%, rgba(25, 42, 48, 0.45) 100%);
    pointer-events: none;
}

.page-header {
    position: relative;
}

.page-header .container {
    position: relative;
    z-index: 1;
}

/* Hero carousel forms — frosted glass (both slides) */
body.page-home .carousel-caption .hero-quote-card {
    background: rgba(25, 42, 48, 0.35) !important;
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

/* Hero form fields — frosted glass (all slides) */
body.page-home .lead-form--hero .form-control,
body.page-home .lead-form--hero .form-select,
body.page-home .hero-search-form .form-control,
body.page-home .hero-search-form .form-select {
    background-color: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px) saturate(150%);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.page-home .lead-form--hero .form-select,
body.page-home .hero-search-form .form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 8px;
    padding-right: 2.25rem !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
}

body.page-home .lead-form--hero .form-control::placeholder,
body.page-home .hero-search-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.62) !important;
}

body.page-home .lead-form--hero .form-control:focus,
body.page-home .lead-form--hero .form-select:focus,
body.page-home .hero-search-form .form-control:focus,
body.page-home .hero-search-form .form-select:focus {
    border-color: var(--mv-brand, #e68404) !important;
    box-shadow: 0 0 0 0.2rem rgba(230, 132, 4, 0.28) !important;
    background-color: rgba(255, 255, 255, 0.18) !important;
    color: #fff !important;
}

body.page-home .lead-form--hero .form-select option,
body.page-home .hero-search-form .form-select option {
    background-color: #192a30;
    color: #fff;
}

body.page-home .lead-form--hero .form-select option:checked,
body.page-home .hero-search-form .form-select option:checked {
    background: linear-gradient(0deg, #e68404, #e68404);
    color: #fff;
}

body.page-home .lead-form--hero .input-group-text {
    background: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: rgba(255, 255, 255, 0.85) !important;
}

body.page-home .lead-form--hero .form-label {
    color: rgba(255, 255, 255, 0.88) !important;
}

body.page-home .hero-slide3-extra-desktop {
    max-width: 640px;
    font-size: 1.05rem;
    line-height: 1.5;
}

/* ============================================================
   Homepage hero slider — image + overlay form/text (all screens)
   Add cropped images to public/theme/img/hero/:
   slide-1-mobile.jpg (828×520), slide-1-tablet.jpg (1024×640)
   slide-2-mobile.jpg, slide-2-tablet.jpg, slide-3-mobile.jpg, slide-3-tablet.jpg
   Desktop uses existing theme/img/*.jpg (1920×800 recommended)
   ============================================================ */

body.page-home .header-carousel {
    overflow: hidden;
}

body.page-home .header-carousel .carousel-item {
    position: relative;
    overflow: hidden;
}

body.page-home .header-carousel .hero-slide-media,
body.page-home .header-carousel .hero-slide-media img,
body.page-home .header-carousel .carousel-item > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Desktop — full height hero with side overlay */
@media (min-width: 992px) {
    body.page-home .header-carousel .carousel-item {
        min-height: 560px;
        max-height: 700px;
    }

    body.page-home .header-carousel .hero-slide-media,
    body.page-home .header-carousel .hero-slide-media img {
        position: absolute;
        inset: 0;
    }

    body.page-home .carousel-item .carousel-caption {
        background: linear-gradient(
            90deg,
            rgba(25, 42, 48, 0.82) 0%,
            rgba(25, 42, 48, 0.55) 45%,
            rgba(25, 42, 48, 0.15) 100%
        ) !important;
    }
}

/* Tablet */
@media (min-width: 576px) and (max-width: 991.98px) {
    body.page-home .header-carousel {
        padding-top: 62px;
    }

    body.page-home .header-carousel .carousel-item {
        min-height: 440px !important;
        max-height: 500px !important;
    }

    body.page-home .header-carousel .hero-slide-media,
    body.page-home .header-carousel .hero-slide-media img {
        position: absolute;
        inset: 0;
        object-position: center center;
    }

    body.page-home .carousel-item .carousel-caption {
        position: absolute !important;
        inset: 0;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        background: linear-gradient(
            180deg,
            rgba(25, 42, 48, 0.08) 0%,
            rgba(25, 42, 48, 0.5) 50%,
            rgba(25, 42, 48, 0.9) 100%
        ) !important;
    }

    /* All hero slides — same top spacing on tablet */
    body.page-home .carousel-item.hero-slide--booking .carousel-caption,
    body.page-home .carousel-item.hero-slide--search .carousel-caption,
    body.page-home .carousel-item.hero-slide--cta .carousel-caption {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: 1.1rem !important;
    }

    body.page-home .carousel-item.hero-slide--booking .carousel-caption .container,
    body.page-home .carousel-item.hero-slide--search .carousel-caption .container,
    body.page-home .carousel-item.hero-slide--cta .carousel-caption .container {
        padding-top: 0.65rem !important;
    }

    body.page-home .carousel-item.hero-slide--search .hero-mobile-tagline {
        margin-bottom: 1.25rem !important;
    }

    body.page-home .hero-quote-card--after-tagline {
        margin-top: 0.85rem !important;
    }

    body.page-home .carousel-caption .container {
        padding-bottom: 2.5rem !important;
    }

    body.page-home .lead-form--hero .form-control,
    body.page-home .lead-form--hero .form-select,
    body.page-home .hero-search-form .form-control,
    body.page-home .hero-search-form .form-select {
        font-size: 0.875rem;
        padding: 0.55rem 0.7rem;
    }

    body.page-home .hero-form-cta {
        font-size: 0.9rem;
        padding: 0.55rem 1rem !important;
    }

    body.page-home .hero-card-title {
        font-size: 0.95rem;
    }
}

/* Mobile — compact slider, form + text over image */
@media (max-width: 575.98px) {
    /* Clear fixed navbar so form is not cut off */
    body.page-home .header-carousel {
        padding-top: 62px;
    }

    body.page-home .header-carousel .carousel-item {
        min-height: calc(100svh - 62px) !important;
        min-height: calc(100dvh - 62px) !important;
        max-height: none !important;
    }

    body.page-home .header-carousel .hero-slide-media,
    body.page-home .header-carousel .hero-slide-media img {
        position: absolute;
        inset: 0;
        object-position: center 35%;
    }

    body.page-home .carousel-item .carousel-caption {
        position: absolute !important;
        inset: 0;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0;
        padding: 0.5rem 0 0 !important;
        display: flex !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
        background: linear-gradient(
            180deg,
            rgba(25, 42, 48, 0.15) 0%,
            rgba(25, 42, 48, 0.55) 38%,
            rgba(25, 42, 48, 0.94) 100%
        ) !important;
    }

    /* All hero slides — unified top spacing on mobile */
    body.page-home .carousel-item.hero-slide--booking .carousel-caption,
    body.page-home .carousel-item.hero-slide--search .carousel-caption,
    body.page-home .carousel-item.hero-slide--cta .carousel-caption {
        align-items: flex-start !important;
        justify-content: flex-start !important;
        padding-top: 1.35rem !important;
    }

    body.page-home .carousel-item.hero-slide--booking .carousel-caption .container,
    body.page-home .carousel-item.hero-slide--search .carousel-caption .container,
    body.page-home .carousel-item.hero-slide--cta .carousel-caption .container {
        padding-top: 0.75rem !important;
        max-height: none;
    }

    body.page-home .hero-mobile-tagline--booking,
    body.page-home .hero-mobile-tagline--search,
    body.page-home .hero-mobile-tagline--cta {
        margin-bottom: 0 !important;
    }

    /* Slide 1 — title + sub tight → button → double gap → form */
    body.page-home .hero-mobile-stack--slide1 .hero-mobile-title {
        margin-bottom: 0.2rem !important;
    }

    body.page-home .hero-mobile-stack--slide1 .hero-mobile-sub {
        margin-bottom: 0.65rem !important;
    }

    body.page-home .hero-mobile-stack--slide1 .hero-mobile-btn {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.page-home .hero-quote-card--slide1 {
        margin-top: 1.75rem !important;
    }

    /* Slide 2 — title → gap → sub → double gap → button → gap → form */
    body.page-home .hero-mobile-stack--slide2 .hero-mobile-title {
        margin-bottom: 0.85rem !important;
    }

    body.page-home .hero-mobile-stack--slide2 .hero-mobile-sub {
        margin-bottom: 1.35rem !important;
    }

    body.page-home .hero-mobile-stack--slide2 .hero-mobile-btn {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    body.page-home .hero-quote-card--slide2 {
        margin-top: 1.25rem !important;
    }

    /* Slide 3 — title → gap → subheading block → double gap → buttons */
    body.page-home .hero-mobile-stack--slide3 .hero-mobile-title {
        margin-bottom: 0.85rem !important;
    }

    body.page-home .hero-mobile-stack--slide3 .hero-mobile-sub {
        margin-bottom: 0.2rem !important;
    }

    body.page-home .hero-mobile-stack--slide3 .hero-slide3-extra {
        margin-bottom: 1.35rem !important;
    }

    body.page-home .hero-mobile-stack--slide3 .hero-mobile-actions {
        margin-top: 0 !important;
    }

    body.page-home .hero-slide3-extra {
        font-size: 0.76rem !important;
        line-height: 1.45;
        opacity: 0.92;
    }

    body.page-home .hero-mobile-actions .btn {
        font-size: 0.78rem !important;
        padding: 0.45rem 1rem !important;
    }

    body.page-home .carousel-caption .container {
        padding-left: 0.65rem !important;
        padding-right: 0.65rem !important;
        padding-bottom: 2rem !important;
        padding-top: 0.35rem !important;
        width: 100%;
        max-width: 100%;
        max-height: calc(100% - 0.5rem);
        overflow-y: auto;
        overflow-x: hidden;
        -webkit-overflow-scrolling: touch;
    }

    body.page-home .carousel-caption .row.hero-row {
        --bs-gutter-y: 0.5rem;
    }

    body.page-home .carousel-caption .hero-quote-card {
        padding: 0.75rem !important;
        border-radius: 0.85rem !important;
    }

    body.page-home .hero-mobile-tagline .hero-mobile-title {
        font-size: 1.05rem !important;
        line-height: 1.25;
    }

    body.page-home .hero-mobile-tagline .hero-mobile-sub {
        font-size: 0.78rem !important;
        line-height: 1.35;
    }

    body.page-home .hero-mobile-tagline .hero-mobile-btn {
        font-size: 0.8rem !important;
        padding: 0.45rem 1.1rem !important;
    }

    body.page-home .hero-card-title {
        font-size: 0.82rem !important;
        letter-spacing: 0.04em;
        margin-bottom: 0.25rem !important;
    }

    body.page-home .hero-card-sub {
        font-size: 0.68rem !important;
        line-height: 1.35;
        margin-bottom: 0.5rem !important;
    }

    /* Hero forms — compact fields (all 3 slides) */
    body.page-home .lead-form--hero .form-control,
    body.page-home .lead-form--hero .form-select,
    body.page-home .hero-search-form .form-control,
    body.page-home .hero-search-form .form-select {
        font-size: 16px !important;
        padding: 0.45rem 0.6rem !important;
        min-height: 2.35rem;
        border-radius: 0.5rem;
        max-width: 100%;
    }

    body.page-home .lead-form--hero .input-group-text {
        padding: 0.45rem 0.55rem !important;
    }

    body.page-home .lead-form--hero .input-group-text i {
        font-size: 0.8rem;
    }

    body.page-home .lead-form--hero .form-label {
        font-size: 0.62rem !important;
        margin-bottom: 0.15rem !important;
        letter-spacing: 0.03em;
        text-transform: uppercase;
    }

    body.page-home .lead-form--hero .mb-2,
    body.page-home .lead-form--hero .mb-3 {
        /* spacing handled by g-2 row / compact padding */
    }

    body.page-home .lead-form--hero [data-toggle-dropoff] {
        font-size: 0.68rem !important;
        line-height: 1.2;
    }

    body.page-home .hero-form-cta {
        font-size: 0.8125rem !important;
        padding: 0.5rem 0.85rem !important;
        margin-top: 0.15rem;
    }

    body.page-home .hero-search-form .row {
        --bs-gutter-y: 0.5rem;
    }

    body.page-home .carousel .carousel-indicators {
        left: 50%;
        right: auto;
        top: auto;
        bottom: 0.45rem;
        margin: 0;
        transform: translateX(-50%);
        flex-direction: row;
        gap: 0.35rem;
        z-index: 2;
    }

    body.page-home .carousel-indicators [data-bs-target] {
        width: 7px;
        height: 7px;
        border-width: 0;
        margin: 0;
        border-radius: 50%;
    }
}

@media (max-width: 991.98px) {
    body.page-home .carousel-caption .display-4,
    body.page-home .carousel-caption .display-5 {
        font-size: 1.35rem !important;
        line-height: 1.25;
        margin-bottom: 0.5rem !important;
    }

    body.page-home .carousel-caption .fs-5 {
        font-size: 0.9rem !important;
        margin-bottom: 0.75rem !important;
    }

    body.page-home .carousel-caption .btn.fs-5 {
        font-size: 0.85rem !important;
        padding: 0.55rem 1.25rem !important;
    }
}

/* ── Homepage dynamic sections (vehicles, rentals, blog) ── */
.home-cards-section {
    background: #f8f9fb;
}

.home-cards-section--alt {
    background: #fff;
}

.home-section-title {
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 700;
    color: var(--mv-dark);
    line-height: 1.25;
}

.home-section-rule {
    width: 48px;
    height: 3px;
    background: var(--mv-brand);
    border-radius: 2px;
}

.home-section-sub {
    font-size: 0.95rem;
    color: #6c757d;
    max-width: 560px;
    line-height: 1.55;
}

.home-section-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--mv-brand);
    text-decoration: none;
    transition: color 0.2s ease;
}

.home-section-link:hover {
    color: var(--mv-dark);
}

.home-mini-card {
    background: #fff;
    border: 1px solid rgba(25, 42, 48, 0.08);
    border-radius: 12px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.home-mini-card:hover {
    box-shadow: 0 12px 28px rgba(25, 42, 48, 0.1);
    transform: translateY(-2px);
}

.home-mini-card-img {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #eef1f4;
}

.home-mini-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.home-mini-card:hover .home-mini-card-img img {
    transform: scale(1.04);
}

.home-mini-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--mv-brand);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.home-mini-card-body {
    padding: 0.85rem 0.9rem 0.95rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.home-mini-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 0.35rem;
}

.home-mini-card-title a {
    color: var(--mv-dark);
    text-decoration: none;
}

.home-mini-card-title a:hover {
    color: var(--mv-brand);
}

.home-mini-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    font-size: 0.75rem;
    color: #868e96;
    margin-bottom: 0.55rem;
}

.home-mini-meta i {
    font-size: 0.7rem;
    margin-right: 0.15rem;
}

.home-mini-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 0.35rem;
}

.home-mini-price-label {
    display: block;
    font-size: 0.68rem;
    color: #adb5bd;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.home-mini-price {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--mv-dark);
    line-height: 1.2;
}

.home-mini-price small {
    font-size: 0.72rem;
    font-weight: 500;
    color: #868e96;
}

.home-mini-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1.5px solid var(--mv-brand);
    border-radius: 8px;
    color: var(--mv-brand);
    text-decoration: none;
    font-size: 0.8rem;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-mini-action:hover {
    background: var(--mv-brand);
    color: #fff;
}

/* Blog cards — slightly shorter image */
.home-mini-card--blog .home-mini-card-img {
    aspect-ratio: 16 / 10;
}

.home-mini-date {
    display: block;
    font-size: 0.72rem;
    color: #adb5bd;
    margin-bottom: 0.25rem;
}

.home-mini-excerpt {
    font-size: 0.78rem;
    color: #6c757d;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-mini-read {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--mv-brand);
    text-decoration: none;
}

.home-mini-read:hover {
    color: var(--mv-dark);
}

.home-carousel-slide,
.home-cards-item {
    height: 100%;
    flex: 0 0 78%;
    min-width: 220px;
    max-width: 280px;
    scroll-snap-align: start;
}

@media (min-width: 576px) {
    .home-cards-item {
        flex: 0 0 46%;
        max-width: 300px;
    }
}

@media (min-width: 768px) {
    .home-cards-item {
        flex: 0 0 32%;
    }
}

@media (min-width: 1200px) {
    .home-cards-item {
        flex: 0 0 24%;
        max-width: 290px;
    }
}

/* Horizontal scroller — bottom scrollbar, no arrows */
.home-cards-scroller {
    position: relative;
    margin-top: 0.25rem;
}

.home-cards-track {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scroll-snap-type: x proximity;
    padding: 4px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
    touch-action: pan-x;
    user-select: none;
    -webkit-user-select: none;
}

.home-cards-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
}

.home-cards-track .home-mini-card-img img {
    -webkit-user-drag: none;
    user-drag: none;
    pointer-events: none;
}

.home-cards-track::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.home-cards-track:focus {
    outline: none;
}

.home-cards-track:focus-visible {
    box-shadow: 0 0 0 2px rgba(230, 132, 4, 0.35);
    border-radius: 8px;
}

/* Always-visible progress bar under cards */
.home-cards-scrolltrack {
    position: relative;
    height: 8px;
    margin-top: 10px;
    background: #e2e6ea;
    border-radius: 4px;
    cursor: pointer;
    touch-action: none;
}

.home-cards-scrolltrack.is-hidden {
    display: none;
}

.home-cards-scrollthumb {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    min-width: 12%;
    background: var(--mv-brand);
    border-radius: 4px;
    transition: left 0.15s ease, width 0.15s ease;
    pointer-events: auto;
    cursor: grab;
    touch-action: none;
}

.home-cards-scrollthumb.is-dragging {
    cursor: grabbing;
    transition: none;
}

/* FAQ section */
.home-faq-section {
    background: linear-gradient(135deg, #f3f0fa 0%, #eef4fb 100%);
}

.home-faq-aside {
    background: #fff;
    border-radius: 16px;
    padding: 2rem 1.5rem;
    border: 1px solid rgba(25, 42, 48, 0.06);
    box-shadow: 0 8px 24px rgba(25, 42, 48, 0.05);
}

.home-faq-aside-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(230, 132, 4, 0.12);
    color: var(--mv-brand);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.home-faq-search {
    border-radius: 10px;
    border: 1px solid rgba(25, 42, 48, 0.1);
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
}

.home-faq-accordion .accordion-item {
    border: none;
    border-radius: 10px !important;
    margin-bottom: 0.65rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(25, 42, 48, 0.04);
}

.home-faq-accordion .accordion-button {
    font-size: 0.92rem;
    font-weight: 600;
    padding: 0.85rem 1.1rem;
    border-radius: 10px !important;
    box-shadow: none !important;
}

.home-faq-accordion .accordion-button:not(.collapsed) {
    background: #fff;
    color: var(--mv-dark);
}

.home-faq-accordion .accordion-body {
    font-size: 0.88rem;
    line-height: 1.6;
    padding: 0 1.1rem 1rem;
}

@media (max-width: 1199.98px) {
    .home-cards-item {
        max-width: 320px;
    }
}
