/* ── Finance page sections ──────────────────────────────────────────────── */
.finance-page-trust-strip {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 24px;
    margin: 16px 0;
}

.finance-page-trust-strip span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
}

.finance-page-trust-strip i {
    color: var(--accent-color);
    margin-right: 4px;
}

.finance-process-section {
    padding: 60px 0;
    background: #fff;
}

.finance-process-body {
    max-width: 760px;
    margin: 0 auto;
    background: #f4f6f9;
    border-radius: 12px;
    padding: 32px;
}

.finance-solutions-section {
    padding: 60px 0;
    background: #f4f6f9;
}

.finance-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

.finance-solution-item {
    background: #fff;
    border-radius: 8px;
    padding: 24px 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.finance-solution-icon {
    font-size: 1.6rem;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.finance-solution-item h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.finance-solution-item p {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .finance-solutions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991px) {
    .buy-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .buy-steps-grid,
    .finance-trust-icons {
        grid-template-columns: 1fr;
    }
}

.hero-section {
    position: relative;
    margin-top: -70px;
    overflow: hidden;
    background: var(--dark-bg);
}

.hero-section .carousel,
.hero-section .hero-placeholder {
    position: relative;
    z-index: 1;
}

.hero-section .carousel-inner img,
.hero-slide-img {
    filter: brightness(0.45);
    height: 620px;
    width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.hero-section .carousel-item {
    height: 620px;
}

.hero-placeholder {
    background: var(--dark-bg);
    height: 620px;
}

.hero-section .carousel-item img[src=""],
.hero-section .carousel-item img:not([src]) {
    visibility: hidden;
}

.hero-section .carousel-item {
    background: #111;
}

.hero-embed-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-embed-frame {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    transform: translate(-50%, -50%);
    border: 0;
    filter: brightness(0.45);
}

.hero-overlay {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 100%;
    padding: 0 20px;
    pointer-events: none;
}

.hero-overlay * {
    pointer-events: auto;
}

.hero-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 8px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 1.15rem;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-hero {
    background-color: var(--accent-color);
    color: var(--btn-text);
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    /* Subtle light edge so the button stays visually distinct from the
       darkened hero photo behind it even when the configured brand color
       itself is dark — background color still comes entirely from the
       brand color, this only adds definition around it. */
    border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-hero:hover {
    background-color: var(--accent-dark);
    color: var(--btn-text);
}

/* Secondary hero button (Bootstrap's stock .btn-outline-light) — match
   .btn-hero's sizing/type so it reads as one consistent button group
   instead of a smaller, differently-shaped outlier next to it. */
.hero-buttons .btn-outline-light,
.st-hero-btns .btn-outline-light {
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.hero-search-bar {
    position: relative;
    z-index: 10;
    background: rgba(255,255,255,0.97);
    padding: 16px 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.10);
    margin-top: -1px;
}

.hero-search-form {
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
}

.search-field {
    flex: 1;
    min-width: 140px;
}

.search-field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.search-field input {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
}

.btn-search-go {
    background-color: var(--accent-color);
    color: var(--btn-text);
    font-weight: 700;
    padding: 10px 28px;
    border-radius: 4px;
    white-space: nowrap;
    border: none;
}
.btn-search-go:hover {
    background-color: var(--accent-dark);
    color: var(--btn-text);
}

.body-style-section {
    padding: 60px 0 40px;
    background: #fff;
}

.body-style-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.body-style-item {
    text-align: center;
    text-decoration: none;
    color: #333;
    padding: 20px 10px;
    border-radius: 8px;
    transition: all 0.2s;
}

.body-style-item:hover {
    background: var(--accent-color);
    color: var(--btn-text, #fff);
    transform: translateY(-3px);
}

.body-style-icon {
    margin-bottom: 10px;
    color: #555;
}

.body-style-item:hover .body-style-icon {
    color: var(--btn-text, #fff);
}

.body-style-item span {
    font-size: 0.85rem;
    font-weight: 600;
    display: block;
}

.browse-by-section {
    padding: 60px 0 50px;
    background: #f8f9fa;
}

.browse-by-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.browse-by-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 32px 24px 24px;
    background: #fff;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    border: 1px solid #e8e8e8;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.browse-by-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    border-color: var(--accent-color);
    color: #333;
}

.browse-by-icon {
    font-size: 2.4rem;
    color: var(--accent-color);
    margin-bottom: 14px;
}

.browse-by-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.browse-by-card p {
    font-size: 0.875rem;
    color: #666;
    margin-bottom: 14px;
    flex: 1;
}

.browse-by-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
}

.about-home-section {
    padding: 60px 0;
    background: #fff;
}

.about-home-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-home-image {
    position: sticky;
    top: 100px;
}

.about-home-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.about-home-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.about-placeholder {
    width: 100%;
    height: 350px;
    background: linear-gradient(135deg, #e0e0e0, #bdbdbd);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    color: #999;
}

.about-home-content h2 {
    font-weight: 800;
    font-size: 1.6rem;
    margin-bottom: 16px;
    color: #222;
}

.about-home-content p {
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 0.95rem;
    text-align: justify;
}

.about-home-text {
    max-height: 350px;
    overflow: hidden;
    position: relative;
}

.about-home-text:not(.expanded)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 56px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.about-home-text.expanded {
    max-height: none;
}

.about-read-more-btn {
    display: inline-block;
    background: none;
    border: none;
    padding: 0;
    margin: -8px 0 16px;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
}

.about-read-more-btn:hover {
    text-decoration: underline;
}

.trust-badges-section {
    padding: 40px 0 36px;
    background: var(--dark-bg, #1a1a2e);
}

.trust-badges-kicker {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin: 0 0 22px;
}

.trust-badges-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px 18px;
}

.trust-badge-item {
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1.3;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.trust-badge-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.trust-badge-icon {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color);
    color: var(--btn-text, #fff);
    font-size: 0.95rem;
    font-weight: 700;
    -webkit-text-stroke: 0.5px currentColor;
}

@media (max-width: 991px) {
    .trust-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .trust-badges-grid {
        grid-template-columns: 1fr;
    }
}

.featured-section {
    padding: 60px 0;
    background: #fff;
}

.featured-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.featured-grid {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    flex: 1 1 auto;
    min-width: 0;
    cursor: grab;
}

.featured-grid.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}

.featured-grid::-webkit-scrollbar {
    display: none;
}

.featured-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.2s, box-shadow 0.2s;
    scroll-snap-align: start;
    flex: 0 0 calc((100% - 48px) / 3);
    min-width: 0;
}

.featured-carousel-arrow {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background: #fff;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.featured-carousel-arrow:hover {
    background: var(--accent-color);
    color: var(--btn-text, #fff);
    border-color: var(--accent-color);
}

.featured-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 12px;
    margin-top: 6px;
    font-size: 0.82rem;
    color: #555;
}

.featured-savings {
    color: #1a7a3c;
    font-weight: 700;
}

.featured-mileage {
    color: #555;
}

.featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.featured-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.featured-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-no-img {
    width: 100%;
    height: 100%;
    background: #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #999;
}

.featured-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #fff;
}

.tag-new { background: var(--accent-color); }
.tag-sale { background: #dc3545; }
.tag-sold { background: #333; }

.featured-card-body {
    padding: 16px;
}

.featured-card-body h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: #222;
}

.featured-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--accent-color);
}

.price-special {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc3545;
}

.price-original {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
}

