/* ======= Root Variables ======= */
:root {
    --leasy-blue: #002B4B;
    --leasy-gradient: linear-gradient(180deg, #002B4B 0%, #4FA4B5 100%);
    --leasy-text-muted: #6c757d;
    --leasy-white: #ffffff;
    --leasy-black: #333;
    --leasy-badge-bg: #e2eff2;
    --leasy-primary: #4FA4B5;
    --timeline-circle-border: #B9DBE1;
    --timeline-circle-color: #ECF7F8;
}

/* ======= Base Styles ======= */
body {
    background-color: var(--leasy-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ======= Header Styles ======= */
.brand-header {
    padding: 25px 0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.brand-divider {
    width: 2px;
    height: 25px;
    background-color: var(--leasy-badge-bg);
}

.button-custom {
    background-color: var(--leasy-badge-bg);
    color: var(--leasy-blue);
    font-size: 1.1rem;
    font-weight: 600;
    width: 300px;
}

.main-title {
    color: var(--leasy-blue);
    font-size: 1.7rem;
}

.main-subtitle {
    color: var(--leasy-primary);
    font-size: 1.6rem;
}

/* ======= Hero Section ======= */
.hero-card {
    background: var(--leasy-gradient);
    border-radius: 30px;
    color: white;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.content-container .content-wrapper {
    padding: 60px 80px;
}

.hero-image-container .image-wrapper {
    padding: 20px 30px;
}

.hero-title {
    font-weight: 800;
    font-size: clamp(1.8rem, 2vw, 2.3rem);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.2;
    opacity: 0.9;
    margin-bottom: 30px;
}

.location-label {
    font-size: 0.85rem;
    margin-bottom: 15px;
    opacity: 0.8;
}

.country-btn {
    background: white;
    border-radius: 12px;
    padding: 14px 20px;
    color: var(--leasy-blue);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: transform 0.2s ease;
    border: none;
    width: 100%;
    font-size: 0.95rem;
}

.country-btn:hover {
    transform: scale(1.02);
    color: var(--leasy-blue);
}

.country-btn.disabled-btn {
    background: rgba(255, 255, 255, 0.4);
    color: rgba(0, 43, 75, 0.8);
    cursor: not-allowed;
}

.flag-icon {
    width: 28px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 12px;
}

.hero-image-container img {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ======= Benefits Section ======= */
.highlight-text {
    color: var(--leasy-primary);
    font-size: 1.6rem;
}

.sub-text {
    font-size: 1.2rem;
    margin: 0 auto;
    color: var(--leasy-text-muted);
}

.custom-card {
    border-radius: 20px !important;
    transition: transform 0.3s ease;
    text-align: left;
}

.custom-card:hover {
    transform: translateY(-5px);
}

.section-benefits .main-title {
    font-size: 1.8rem;
}

.section-benefits .custom-card .main-title {
    font-size: 1.3rem;
}

.icon-box {
    background-color: var(--leasy-primary);
    color: white;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 2rem;
}

/* ======= Brands Section ======= */
.section-brands {
    background-color: var(--leasy-badge-bg);
}

.brands-title {
    color: var(--leasy-blue);
    font-size: 1.3rem;
    font-weight: 600;
}

.brand-img {
    max-width: 120px;
    height: auto;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.brand-logo:hover .brand-img {
    filter: grayscale(0%);
}

/* ======= Solutions Section ======= */
.section-solutions .main-title {
    font-size: 2rem;
    line-height: 1.2;
}

.section-solutions .main-subtitle {
    color: var(--leasy-primary);
    font-size: 2rem;
}

.section-solutions .text {
    color: var(--leasy-text-muted);
    font-size: 1.4rem;
    margin: 0 auto;
}

.solutions-card {
    background: var(--leasy-badge-bg);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 43, 75, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.solutions-card .img-content {
    border-radius: 5px;
    height: 382px;
    width: 100%;
    object-fit: cover;
    object-position: center;
}

.card-section-title {
    color: var(--leasy-blue);
    font-size: 1.4rem;
    font-weight: 700;
}

.solutions-text {
    color: var(--leasy-text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* ======= Process Section ======= */
.section-process .main-title {
    font-size: 1.7rem;
}

.section-process .text {
    font-size: 1.2rem;
    margin: 0 auto;
    color: var(--leasy-text-muted);
}

.section-process .button-custom {
    color: var(--leasy-primary);
    font-weight: normal;
}

.step-title {
    font-size: 1.25rem;
    color: var(--leasy-blue);
    margin-top: 1rem;
}

.step-description {
    font-size: 1rem;
    color: var(--leasy-text-muted);
    max-width: 250px;
    margin: 0 auto;
}

.process-timeline {
    position: relative;
}

.timeline-item {
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 45px;
    left: 50%;
    width: 100%;
    height: 4px;
    background-color: var(--timeline-circle-border);
    z-index: 0;
}

.timeline-icon-container {
    position: relative;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100px;
    height: 100px;
    background-color: var(--leasy-white);
    z-index: 2;
}

.timeline-circle {
    width: 90px;
    height: 90px;
    background-color: var(--timeline-circle-color);
    border: 5px solid var(--timeline-circle-border);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.timeline-number {
    position: absolute;
    top: -15px;
    right: -10px;
    width: 35px;
    height: 35px;
    background-color: var(--timeline-circle-border);
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.90rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ======= Testimonials Section ======= */
.section-testimonials {
    background-color: var(--leasy-white);
}

.section-testimonials .button-custom {
    padding: 8px 30px;
    font-size: 0.9rem;
}

.section-testimonials .main-title {
    font-weight: 800;
}

.section-testimonials .main-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
}

.testimonial-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
}

.stars {
    color: var(--leasy-blue);
    font-size: 1.7rem;
    letter-spacing: 4px;
}

.flag {
    width: 25px;
    height: auto;
    border-radius: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--leasy-black);
}

.author-name {
    color: #222;
    font-weight: 700;
}

.author-location {
    color: #aaa;
    font-size: 0.95rem;
}

.leasy-footer-banner {
    background-color: var(--leasy-blue);
    border-radius: 8px;
    color: white;
}

.footer-title {
    font-size: 1.50rem;
    margin-bottom: 8px;
    font-weight: bold;
}

.footer-subtitle {
    font-size: 1.30rem;
    opacity: 0.9;
}

/* ======= Mentions Section ======= */
.section-mentions .text {
    letter-spacing: 1px;
    font-size: 1.2rem;
}

/* ======= Driver Section ======= */
.driver-section {
    min-height: 50vh;
    background: linear-gradient(
            180deg,
            #4FA4B5 0%,
            #9ECDD6 65%,
            #FFFFFF 100%
    );
    overflow-x: hidden;
    margin-bottom: 0;
}

.driver-image-wrapper {
    position: relative;
    height: 100%;
    padding: 60px 60px 60px 0;
}

.driver-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.card-stats {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--leasy-white);
    border-radius: 16px;
    padding: 20px 32px;
    display: flex;
    gap: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .12);
}

.stat-item h3 {
    margin: 0;
    color: var(--leasy-primary);
    font-weight: 800;
}

.stat-item small {
    color: var(--leasy-text-muted);
}

.driver-content {
    max-width: 530px;
}

.driver-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--leasy-white);
}

.driver-title-black {
    color: var(--leasy-blue);
}

.driver-sub-text {
    font-size: 1.3rem;
    line-height: 1.3;
    color: var(--leasy-blue);
    max-width: 480px;
}

/* ======= App Section ======= */
.app-section {
    min-height: 100vh;
    background: radial-gradient(
            circle at bottom right,
            rgba(79, 164, 181, 0.2) 0%,
            var(--leasy-white) 60%
    );
    display: flex;
    align-items: center;
    margin-top: 0;
}

.app-section .main-title,
.app-section .main-subtitle {
    font-size: 2.5rem;
}

.app-section .text {
    color: #3c3c3c;
    width: 500px;
    font-size: 1.4em;
}

.app-section img {
    max-height: 600px;
}

.feature-box {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 1rem 1.5rem;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-3px);
}

.icon-wrapper {
    background-color: #e9ecef;
    min-width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-right: 1.2rem;
}

.icon-wrapper img {
    width: 24px;
    height: 24px;
}

.feature-box h6 {
    color: var(--leasy-black);
    font-size: 1rem;
    margin-bottom: 2px;
}

.feature-box small {
    color: var(--leasy-text-muted);
    font-size: 0.85rem;
    display: block;
}

.store-btn {
    display: block;
    width: 100%;
}

.store-btn img {
    width: 100%;
    height: auto;
    max-height: 90px;
    object-fit: contain;
}

/* ======= Partners Section ======= */
.partners-section {
    background-color: var(--leasy-white);
}

.partners-title-text {
    font-size: 1.4rem;
}

/* ======= Contact Section ======= */
.contact-section {
    background: #F8FBFC;
}

.contact-section .btn-light {
    background-color: white;
    padding: 10px;
}

.contact-section img {
    max-height: 40px;
}

/* ======= Footer Section ======= */
.footer-logo {
    max-height: 35px;
    width: auto;
}

footer .vr {
    height: 30px;
    opacity: 0.2;
}

footer .text-muted {
    color: var(--leasy-text-muted) !important;
    font-size: 0.9rem;
}

.small-hover:hover {
    color: var(--leasy-blue) !important;
    transition: color 0.2s ease-in-out;
}

footer ul li a {
    font-size: 1.05rem !important;
    color: var(--leasy-text-muted);
    display: inline-block;
    transition: all 0.2s ease;
}

footer ul li {
    margin-bottom: 0.75rem !important;
}

footer h6 {
    font-size: 1.2rem !important;
    margin-bottom: 1.25rem !important;
}

/* ======= Mobile Responsive ======= */
@media (max-width: 991px) {
    .hero-card {
        text-align: left;
        margin-top: 0;
    }

    .content-container .content-wrapper {
        padding: 25px;
    }

    .hero-title {
        margin-top: 0;
        font-size: 1.5rem;
    }

    .hero-image-container {
        margin-bottom: 10px;
    }

    .btn-col {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .button-custom {
        width: 100%;
    }

    .sub-text {
        font-size: 1rem;
    }

    .main-title,
    .main-subtitle {
        font-size: 1.8rem;
    }

    .section-solutions .main-title {
        font-size: 2.6rem;
    }

    .section-solutions .main-subtitle {
        font-size: 2.5rem;
    }

    .section-solutions .text {
        font-size: 1.2rem;
        padding: 5px;
        line-height: 1.3;
    }

    .card-section-title {
        font-size: 1.2rem;
    }

    .solutions-text {
        font-size: 1.0rem;
    }

    .section-process .button-custom {
        width: 100%;
        font-size: 1.4rem
    }

    .section-process .main-title {
        font-size: 2rem;
    }

    .section-process .text {
        font-size: 1.7rem;
    }

    .step-title {
        font-size: 2rem;
    }

    .step-description {
        font-size: 1.5rem;
        max-width: 100%;
    }

    .timeline-item::after {
        display: none;
    }

    .timeline-item {
        margin-bottom: 3rem;
    }

    .section-testimonials .button-custom {
        width: 100%;
    }

    .section-testimonials .main-title {
        font-size: 2.1em;
    }

    .section-testimonials .main-subtitle {
        font-size: 1.8rem;
    }

    .driver-image-wrapper {
        padding: 20px 20px 20px 0;
    }

    .card-stats {
        gap: 20px;
        padding: 16px 20px;
        bottom: 60px;
    }

    .driver-title {
        font-size: 2rem;
    }

    .driver-sub-text {
        font-size: 1.0rem;
    }

    .store-btn img {
        max-height: 100%;
    }

    .partner-logo {
        max-height: 35px;
        margin-bottom: 10px;
    }

    .partners-title-text {
        text-align: center;
    }
}

@media (min-width: 992px) {
    .hero-card {
        min-height: 550px;
        display: flex;
        align-items: center;
    }

    .hero-image-container img {
        height: 480px;
        max-height: 480px;
        object-fit: cover;
    }
}