/* ==========================================================================
   City Landing Page Styles (clp- prefix)
   ========================================================================== */

.clp-hero *,
.clp-how-to-section *,
.clp-recent-vehicles-section *,
.clp-comparison-section *,
.clp-testimonials-section *,
.clp-faq-section * {
    font-family: 'Poppins', sans-serif !important;
}

.clp-mobile-line-break {
    display: none;
}

.trust-pilot-header-container-desktop {
    display: none;
}

#clp-trustpilot-logo-bbb {
    width: 209px;
    height: 42px;
}

.clp-hero-trustpilot-mobile {
    display: none;
}

.clp-big-title {
    font-size: 40px !important;
}

/* Hero Section
   ========================================================================== */
.clp-hero {
    padding: 40px 0;
    background: linear-gradient(0deg, rgba(190, 230, 254, 0.85) 28.85%, rgba(255, 255, 255, 0.85) 100%), var(--hero-bg-desktop) lightgray 50% / cover no-repeat;
    background-size: cover;
    background-position: center;
    min-height: 454px;
    position: relative;
}

.clp-hero-img-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.clp-hero-form-col {
    z-index: 2;
    margin-top: -74px;
}

.clp-hero-form-wrapper .form-tell-us {
    display: none;
}

@media (min-width: 768px) {
    .clp-hero-form-wrapper .wheelzy-select,
    .clp-hero-form-wrapper .wheelzy-select__button,
    .clp-hero-form-wrapper .form-control {
        height: 40px !important;
        width: 172px !important;
    }
}

@media (min-width: 1025px) {
    #GetOfferFormSide, .offer-vehicle-form, .offer-condition-form, .offer-acceptance-content, #offerForm4, #offerForm5, #thankyouForm, .offer-call-form {
        width: 457.5px;
        height: 379.28px;
        margin-left: -40px;
    }
}

.clp-hero-form-wrapper #getOfferButton {
    width: 232.8px;
    height: 44px;
}

.clp-hero-form-wrapper .we-only-contact-you-about-your-car {
    max-width: 322px;
    margin-left: auto;
    margin-right: auto;
}

.clp-hero-text-col {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 20px;
}

.clp-hero-badge {
    display: inline-block;
    background-color: #EE3C96;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    letter-spacing: 1px;
    margin-bottom: 12px;
    text-transform: uppercase;
    max-width: fit-content;
}

.clp-hero-title {
    font-size: 60px;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
    margin: 0 0 16px 0;
}

.clp-hero-title-accent {
    color: #14659C;
}

.clp-hero-description {
    font-size: 20px;
    color: #101010;
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 592px;
}

.clp-hero-description-mobile {
    display: none;
}

.clp-hero-features {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.clp-hero-feature {
    font-size: 16px;
    color: #101010;
    font-weight: 700;
}

    .clp-hero-feature a {
        color: #1a73e8;
        text-decoration: underline;
    }

.clp-check {
    color: #101010;
    font-weight: 700;
    margin-right: 4px;
}

/* Section Common
   ========================================================================== */
.clp-section-title {
    text-align: center;
    font-size: 30px;
    font-weight: 700 !important;
    color: #052633 !important;
    margin-bottom: 12px !important;
}

.clp-faq-section .clp-section-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}

.clp-section-subtitle {
    text-align: center;
    font-size: 16px;
    color: #101010;
    max-width: 921px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

/* How To Section
   ========================================================================== */
.clp-how-to-section {
    padding: 60px 0;
    background: #fff;
}

.clp-steps {
    margin: 0 auto;
}

.clp-step {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
    align-items: flex-start;
}

.clp-step-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 992px) {
    .clp-step {
        display: grid;
        grid-template-columns: 56px 1fr;
        align-items: center;
    }

    .clp-step-icon {
        justify-self: center;
    }
}

.clp-step-content {
    flex: 1;
}

.clp-step-title {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #14659C !important;
    margin: 0 0 8px 0 !important;
}

.clp-step-content p {
    font-size: 16px;
    color: #101010;
    line-height: 1.65;
    margin: 0;
    width: 1068px;
}

.clp-step-content a {
    color: #1a73e8;
    text-decoration: underline;
}

/* Recent Vehicles Section
   ========================================================================== */
.clp-recent-vehicles-section {
    padding: 60px 0;
    background: #E3F1FC;
}

.clp-sold-cars-grid {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
}

.clp-sold-car-card {
    margin-bottom: 0;
    background: #fff;
    width: 364px;
    min-height: 407px;
    box-sizing: border-box;
    padding: 17px;
    opacity: 1;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.clp-sold-car-image {
    width: 100%;
    height: 250px;
    background: #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

    .clp-sold-car-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: block;
    }

.clp-sold-car-placeholder {
    width: 100%;
    height: 100%;
    background: #c8d6e5;
    border-radius: 12px;
}

.clp-sold-car-info {
    padding: 12px 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clp-sold-car-title {
    font-size: 16px;
    font-weight: 700;
    color: #101010 !important;
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.clp-sold-car-location {
    font-size: 13px;
    color: #777;
    margin: 0 0 4px 0;
}

.clp-sold-car-price {
    font-size: 20px;
    color: #0C8215;
    margin: 0 0 2px 0;
}

.clp-sold-car-date {
    font-size: 12px;
    color: #999;
    margin: 0;
    margin-top: 5px;
}

.clp-view-more-link {
    margin-top: 30px;
}

    .clp-view-more-link a {
        color: #1a73e8;
        font-size: 14px;
        text-decoration: underline;
        margin-right: 11px;
    }

/* Comparison Table Section
   ========================================================================== */
.clp-comparison-section {
    padding: 60px 0;
    background: #fff;
}

.clp-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: 24px;
}

.clp-comparison-table {
    width: 100%;
    min-width: 600px;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    overflow: hidden;
    border-top: none;
    border-right: none;
    border-left: none;
    border-bottom: none;
}

    .clp-comparison-table thead th {
        background: #f4f8fc;
        font-size: 13px;
        font-weight: 600;
        color: #555;
        letter-spacing: 0.5px;
        padding: 14px 16px;
        text-align: left;
        border-bottom: 2px solid #e0e0e0;
        box-sizing: border-box;
    }

        .clp-comparison-table thead th:first-child {
            font-family: 'Poppins', sans-serif;
            font-weight: 600 !important;
            font-style: normal;
            font-size: 14px;
            line-height: 20px;
            letter-spacing: 0%;
            vertical-align: middle;
            text-transform: uppercase;
            color: #6B7280 !important;
        }

        .clp-comparison-table thead th:nth-child(2) {
            color: #2D467A !important;
            background: #E3F1FC;
            font-size: 20px;
            border-bottom: 2px solid #259DEF !important;
        }

        .clp-comparison-table thead th:not(:nth-child(2)) {
            font-family: 'Poppins', sans-serif;
            font-weight: 700;
            font-style: normal;
            font-size: 16px;
            line-height: 100%;
            letter-spacing: 0%;
            vertical-align: middle;
            color: #101010;
            background: #f4f8fc;
            border-bottom: 2px solid #e0e0e0;
        }

    .clp-comparison-table tbody td {
        padding: 14px 16px;
        font-size: 16px;
        color: #6B7280;
        vertical-align: middle;
        background: #fff;
        box-sizing: border-box;
    }

        .clp-comparison-table tbody td:last-child {
            border-right: none;
        }

        .clp-comparison-table tbody td:first-child {
            font-weight: 600;
            color: #374151;
        }

        .clp-comparison-table tbody td:nth-child(2) {
            color: #0C8215;
            font-weight: 600;
        }

            .clp-comparison-table tbody td:nth-child(2) .clp-icon-check,
            .clp-comparison-table tbody td:nth-child(2) a {
                color: #0C8215;
            }

.clp-comparison-highlight-link {
    text-decoration: underline;
}

.clp-icon-check {
    color: #4CAF50;
    font-weight: 700;
    margin-right: 0;
}

.clp-icon-x {
    color: #6B7280;
    font-weight: 700;
    margin-right: 0;
}

/* Testimonials Section
   ========================================================================== */
.clp-testimonials-section {
    padding: 60px 0;
    background: #E3F1FC;
}

.clp-testimonials-grid {
    margin-top: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
}

.clp-testimonial-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
    flex: 0 1 320px;
    height: 350px;
    box-sizing: border-box;
    gap: 5px;
    opacity: 1;
    border-width: 1px;
    max-width: 341px;
    display: flex;
    flex-direction: column;
}

.clp-testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: nowrap;
}

.clp-testimonial-name {
    font-size: 16px;
    color: #052633;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.clp-testimonial-stars {
    flex-shrink: 0;
}

    .clp-testimonial-stars .clp-star {
        color: #F8A401;
        font-size: 24px;
        width: 24px;
        height: 24px;
        line-height: 24px;
    }

        .clp-testimonial-stars .clp-star.filled {
            color: #FFC107;
        }

.clp-testimonial-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
    font-size: 12px;
    color: #777;
}

.clp-testimonial-verified {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #133240;
    font-weight: 600;
}

    .clp-testimonial-verified img {
        width: 12px;
        height: 12px;
    }

.clp-testimonial-text-wrapper {
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.clp-testimonial-text {
    font-size: 16px;
    color: #444;
    line-height: 1.6;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

/* FAQ Section
   ========================================================================== */
.clp-faq-section {
    background: #E3F1FC;
    padding-bottom: 80px;
}

.clp-faq-layout {
    margin-top: 24px;
}

.clp-faq-graphic {
    display: flex;
    align-items: center;
    justify-content: center;
}

    .clp-faq-graphic img {
        max-width: 100%;
        height: auto;
    }

.clp-faq-item {
    border-bottom: 1px solid #CCCCCC;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.clp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: #14659C;
    cursor: pointer;
    background: white;
    transition: background-color 0.2s;
    padding-bottom: 10px;
}

    .clp-faq-question:hover {
        background: #f0f4f8;
    }

    .clp-faq-question:not([aria-expanded="true"]) {
        box-shadow: 2.83px 0px 0px 0px #EE95EC inset, 0px 2px 5px 0px #CCCCCC1A;
        color: #052633;
    }

    .clp-faq-question[aria-expanded="true"] {
        box-shadow: 2.83px 0px 0px 0px #375591 inset, 0px 2px 5px 0px #CCCCCC1A;
        border-width: 0.5px 0.5px 0.5px 0px;
        border-style: solid;
        border-color: #CCCCCC;
        border-bottom: none;
        border-top: none;
        border-right: none;
    }

        .clp-faq-question[aria-expanded="true"] + .clp-faq-answer {
            box-shadow: 2.83px 0px 0px 0px #375591 inset, 0px 2px 5px 0px #CCCCCC1A;
        }

.clp-faq-icon {
    font-size: 12px;
    color: #888;
    flex-shrink: 0;
    margin-left: 12px;
}

    .clp-faq-icon img {
        width: 18px;
        height: 18px;
        display: block;
    }

.clp-faq-answer {
    padding: 0 20px 16px 20px;
    background: #fff;
}

    .clp-faq-answer p {
        font-size: 15px;
        color: #101010;
        line-height: 1.65;
        margin: 0;
    }

/* Responsive - Tablet
    ========================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
    .clp-hero > .regular-container > .row {
        display: flex;
        flex-direction: column;
    }

    .clp-hero-description {
        margin: auto;
    }

    .clp-step-content p {
        width: 100%;
    }

    .clp-view-more-link {
        max-width: 730px;
        margin-left: auto;
        margin-right: auto;
    }

    .clp-sold-car-card {
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        min-height: 360px;
        padding: 14px;
    }

    .clp-sold-car-image {
        height: 170px;
    }

    .clp-testimonials-grid {
        justify-content: center;
        flex-wrap: nowrap;
        overflow-x: visible;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
        gap: 40px;
    }

    .clp-testimonial-card {
        margin-bottom: 0;
        width: 220px;
        min-width: 220px;
        max-width: 220px;
        flex: 0 0 220px;
        height: auto;
        min-height: 300px;
        padding: 16px;
    }

    .clp-testimonial-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        flex-shrink: 1;
        max-width: 130px;
    }

    .clp-testimonial-stars {
        flex-shrink: 0;
    }

        .clp-testimonial-stars .clp-star {
            font-size: 18px;
            width: 18px;
            height: 18px;
            line-height: 18px;
        }

    .clp-hero-title {
        font-size: 32px;
    }

    .clp-hero-text-col {
        padding-top: 0;
        margin-top: -25px;
        margin-bottom: 26px;
        order: 1;
        text-align: center;
    }

    .clp-hero-form-col {
        order: 2;
    }

    .clp-hero-features {
        justify-content: center;
    }

    .clp-hero-badge {
        margin-left: auto;
        margin-right: auto;
        margin-top: 25px;
    }

    .clp-hero-form-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }

        .clp-hero-form-wrapper .wheelzy-select,
        .clp-hero-form-wrapper .wheelzy-select__button,
        .clp-hero-form-wrapper .form-control {
            width: 100% !important;
        }

    /* Center the TrustPilot strip rendered after the hero (was left-aligned at this breakpoint) */
    .clp-hero-desktop ~ .trust-pilot-header-container-desktop {
        text-align: center;
    }

    .clp-faq-graphic {
        margin-bottom: 24px;
    }
}

/* Desktop Only
========================================================================== */
@media screen and (min-width: 1024px) and (hover: hover) and (pointer: fine) {
    .trust-pilot-header-container-desktop {
        display: block !important;
    }
}


/* Responsive - iPad Pro / Surface Pro / ZenBook Fold range
    ========================================================================== */
@media (min-width: 768px) and (max-width: 1366px) {
    .clp-hero-text-col {
        text-align: center;
    }

    .clp-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }

    .clp-hero-features {
        justify-content: center;
        margin-bottom: 20px;
    }

    .clp-hero-description {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }

    .clp-hero-form-col,
    .clp-hero-text-col {
        margin: auto;
    }

    .clp-hero-form-col {
        margin-top: -30px;
    }

    .trust-pilot-header-container-mobile {
        margin: auto;
    }

    .clp-hero-form-wrapper {
        margin: 0 auto;
    }

    #GetOfferFormSide, .offer-vehicle-form, .offer-condition-form, .offer-acceptance-content, #offerForm4, #offerForm5, #thankyouForm, .offer-call-form {
        margin-left: 0;
    }
}

@media (min-width: 912px) and (max-width: 1180px) {
    /* Hide duplicate desktop TrustPilot strip on city landing page; mobile variant (shown 650-1180px) covers this range inside the hero */
    .clp-hero-desktop ~ .trust-pilot-header-container-desktop {
        display: none !important;
    }
}

@media (min-width: 912px) and (max-width: 1366px) {
    /* Match form field widths at Surface Pro 7 / Asus ZenBook Fold breakpoints */
    .clp-hero-form-wrapper .wheelzy-select__button {
        width: 100% !important;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .clp-testimonials-grid {
        justify-content: center;
    }

    .clp-sold-cars-grid {
        gap: 40px;
    }
}

/* Responsive - Mobile
   ========================================================================== */
@media (max-width: 767px) {
    .clp-view-more-link a {
        margin-right: 0px !important;
    }

    .clp-step-content p {
        width: 348px;
    }

    .clp-how-to-section#howItWorks {
        padding-bottom: 0;
    }

    .clp-hero {
        padding: 0;
        background: none;
        min-height: auto;
    }

        .clp-hero > .regular-container > .row {
            display: flex;
            flex-direction: column;
        }

    .clp-hero-text-col {
        order: 1;
        margin-top: -5px !important;
        padding-left: 15px;
        padding-right: 15px;
        margin-bottom: 0;
        min-height: 440px;
        background: linear-gradient(0deg, rgba(190, 230, 254, 0.85) 28.85%, rgba(255, 255, 255, 0.85) 100%), var(--hero-bg-mobile) lightgray 50% / cover no-repeat;
        background-size: cover;
        background-position: center;
        align-items: center;
        text-align: center;
    }

    .clp-hero-form-col {
        order: 2;
        margin-top: 0;
        padding: 20px 15px;
        background-color: #E3F1FC;
        padding-bottom: 65px;
    }

    .clp-hero-form-wrapper {
        width: 100%;
        max-width: 100%;
    }

        .clp-hero-form-wrapper .wheelzy-select,
        .clp-hero-form-wrapper .form-control {
            width: 100% !important;
        }

        .clp-hero-form-wrapper #getOfferButton {
            width: 100%;
        }

        .clp-hero-form-wrapper .we-only-contact-you-about-your-car {
            max-width: 100%;
        }

    .clp-hero-features {
        margin-bottom: 18px;
        gap: 10px;
        justify-content: center;
    }

    .clp-hero-trustpilot-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        margin-top: 25px;
        margin-bottom: 25px;
        font-size: 11px;
        color: black;
        background-color: white;
        padding: 5px;
    }

        .clp-hero-trustpilot-mobile .clp-trust-excellent {
            font-size: 11px;
        }

        .clp-hero-trustpilot-mobile .clp-trust-based {
            font-size: 10px;
        }

    .clp-hero-trustpilot-mobile-row {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
    }

    #clp-trustpilot-logo-bbb-mobile {
        max-width: 177px;
        height: auto;
    }

    #clp-trustpilot-logo-mobile {
        width: 90px;
        height: 22.08px;
    }

    .clp-sold-cars-grid {
        gap: 26px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .clp-sold-car-card {
        width: 294px;
        height: 347px;
        gap: 7px;
        border-radius: 9px;
        border: 0.8px solid #e0e0e0;
        padding: 13px;
        margin: 0 auto;
    }

    .clp-sold-car-image {
        width: 100%;
        height: 202px;
        border-radius: 6px;
    }

    .clp-hero-title {
        font-size: 28px;
    }

    .clp-hero-description {
        display: none;
    }

    .clp-hero-description-mobile {
        display: block;
        font-size: 14px;
    }

    .clp-section-title {
        font-size: 30px !important;
    }

    .clp-section-subtitle {
        font-size: 14px;
        padding: 0 16px;
    }

    .clp-how-to-section,
    .clp-recent-vehicles-section,
    .clp-comparison-section,
    .clp-testimonials-section,
    .clp-faq-section {
        padding: 40px 0;
    }

    .clp-faq-section {
        padding-top: 0;
    }

    .clp-faq-layout {
        display: flex;
        flex-direction: column;
    }

    .clp-faq-accordion {
        order: 1;
    }

    .clp-faq-graphic {
        order: 2;
        margin-top: 24px;
        align-self: stretch;
    }

    .clp-testimonials-grid {
        gap: 15px;
        flex-direction: column;
        align-items: center;
    }

    .clp-testimonial-card {
        width: 260px;
        max-width: 260px;
        height: 347px;
        gap: 7px;
        border-radius: 9px;
        border: 0.8px solid #e0e0e0;
        padding: 13px;
        margin: 0;
    }

    .clp-step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .clp-comparison-table {
        min-width: 550px;
    }

    .clp-table-wrapper {
        position: relative;
        overflow-x: auto;
        scrollbar-gutter: stable;
    }

    .clp-view-more-link {
        text-align: center !important;
    }

    .clp-sold-car-info {
        padding: 8px 0;
        justify-content: initial;
        gap: 5px !important;
    }

    .clp-sold-car-title,
    .clp-sold-car-location,
    .clp-sold-car-price {
        margin: 0 0 2px 0;
    }

    .clp-sold-car-date {
        margin-top: 2px;
    }

    .clp-mobile-line-break {
        display: block;
    }

    .clp-hero-badge {
        margin-left: auto;
        margin-right: auto;
    }
}
