:root {
    --carzen-dark: #2d2d2d;
    --carzen-muted: #4b5563;
    --carzen-bg: #f5f6ff;
    --carzen-highlight: #ffe000;
    --carzen-border: rgba(15, 23, 42, 0.08);
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;

    font-family: 'Mulish', sans-serif;
    background: var(--carzen-bg);
    color: var(--carzen-dark);
}

/* main crește și împinge footerul jos */
main {
    flex: 1 0 auto;
}

/* footer nu se micșorează */
.carzen-footer {
    flex-shrink: 0;
    background: #2D2D2D;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Poppins', sans-serif;
}

main {
    min-height: 70vh;
}

.carzen-navbar {
    background: var(--carzen-bg);
    border-bottom: 1px solid var(--carzen-border);
    box-shadow: none;
}


.carzen-navbar .nav-link:hover,
.carzen-navbar .nav-link:focus {
    color: #111827;
}

.carzen-navbar .btn-link {
    color: var(--carzen-dark);
    text-decoration: none;
    font-weight: 600;
}

.btn-carzen-dark {
    background: var(--carzen-dark);
    color: #fff;
    border-radius: 0.75rem;
    padding-inline: 1.75rem;
    font-weight: 600;
    padding: 17px;
}

.btn-carzen-dark:hover {
    background: #1c1c1c;
    color: #fff;
}

.btn-carzen-highlight {
    background: var(--carzen-highlight);
    color: var(--carzen-dark);
    border-radius: 0.75rem;
    padding-inline: 1.75rem;
    font-weight: 600;
}

.btn-carzen-highlight:hover {
    background: #ffd500;
    color: var(--carzen-dark);
}


.js-plate-input {
    text-transform: uppercase;
    padding-inline: 0.75rem;
}

@media (max-width: 390px) {
    .js-plate-input {
        padding-inline: 0.5rem;
    }
}
.carzen-input {
    border-radius: 0.75rem;
    border: 1px solid var(--carzen-dark);
    font-weight: 600;
    padding: 0.95rem 1.25rem;
    background-color: #fff;
    height: 58px;
}

.carzen-input:focus {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
    border-color: #737373;
    outline: 0;
    box-shadow: 0 0 0 .25rem #0a0a0a0f;
}
.plate-input {
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.carzen-footer {
    background: #2D2D2D;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
}


.carzen-prefooter {
    background: transparent;
}

.carzen-footer-main {
    background: #111111;
    color: #ffffff;
    border-radius: 1.5rem;
}
@media (max-width: 991.98px) {
    .carzen-footer-main {
        border-radius: 0 !important;
    }
}
.carzen-footer-logo {
    max-width: 190px;
}

.footer-social-link {
    background-color: #ffffff;
    color: #000000;
    width: 32px;
    height: 32px;
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social-link:hover {
    background-color: #ffe000;
    color: #000000;
    /*transform: translateY(-3px);*/
}

.footer-social-link i {
    line-height: 0;
}

.offcanvas {
    width: 330px!important;
    background: #fff;
    transition: transform .35s ease-in-out;
}
.w-md-auto {
    width: 100% !important;
}
/*.offcanvas-backdrop {*/
/*    backdrop-filter: blur(4px);*/
/*}*/

.offcanvas-title {
    padding-left: 17px;
}

.carzen-hero {
    background: var(--carzen-bg);
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-graphic {
    max-width: 460px;
}

.carzen-pill {
    background: #fff;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--carzen-dark);
    box-shadow: 0 10px 25px rgba(50, 101, 255, 0.15);
}

.elevated-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);
}

.feature-number {
    width: 86px;
    height: 86px;
    border-radius: 1.5rem;
    background: var(--carzen-highlight);
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 2rem;
}

.feature-card img {
    max-width: 240px;
}

#evalueaza {
    background: linear-gradient(135deg, var(--carzen-highlight) 0%, #fff1a6 100%);
}

.metrics-card {
    border-radius: 1.25rem 1.25rem 0 0;
    border-bottom: 4px solid #fff5ad;
    box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);
}

.testimonial-card {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);
}

.contact-card {
    border-radius: 1.5rem;
    border: none;
    box-shadow: 0 35px 70px rgba(50, 101, 255, 0.08);
}

.w-md-auto {
    width: 100%;
}

@media (min-width: 768px) {
    .carzen-hero{
        height: 500px;
    }
    .w-md-auto {
        width: auto;
    }
}


.hero-shape {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}
.hero-rect {
    left: 37px;
    width: 140px;
    height: 100%;
    background: #ffe001;
    border-radius: 16px;
}

.hero-triangle {
    position: absolute;
    left: 189px;
    top: 50%;
    transform: translateY(-50%);
    width: 180px;
    height: 100%;
    z-index: 1;
}

.hero-triangle svg {
    width: 100%;
    height: 100%;
}

.hero-triangle path {
    fill: #FFD800;
}

.carzen-field {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    margin-bottom: 16px;

    border: 1.5px solid #1f1f1f;
    border-radius: 14px;
    background: #fff;
}

.carzen-field img {
    width: 20px;
    height: 20px;
    opacity: .85;
}

.carzen-field .divider {
    width: 1px;
    height: 22px;
    background: #1f1f1f;
    opacity: .4;
}

.carzen-field input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
}

.carzen-field input::placeholder {
    color: #111;
    opacity: .7;
}

/* Button */
.btn-submit {
    margin-top: 10px;
    padding: 14px 36px;
    border-radius: 14px;
    border: none;

    background: #FFE000;
    color: #111;
    font-weight: 600;
    font-size: 15px;

    cursor: pointer;
    transition: all .2s ease;
}

.btn-submit:hover {
    background: #ffdb00;
}

.carzen-form {
    max-width: 500px;
}

.hero-mobile {
    padding-bottom: 220px; /* spațiu pentru arrow + car */
}

/* Conținut peste rectangle */
.hero-mobile-content {
    position: absolute;
    inset: 0;
    padding: 24px 20px;
    z-index: 2;
    text-align: left;
}

/* Arrow */
.hero-mobile-arrow {
    position: absolute;
    left: 50%;
    top: 71%;
    bottom: 21px;
    transform: translateX(-50%);
    z-index: 1;
    width: 100%;
}

/* Car */
.hero-mobile-car {
    position: absolute;
    left: 52%;
    top: 51%;
    bottom: 0;
    transform: translateX(-50%);
    z-index: 3;
    max-height: 397px;
}

.hero-mobile-rectangle{
    height: 454px;
}

.hero-confirm-card {
    background: #ffe001;
    border-radius: 24px;
    padding: 70px;
    position: relative;
    overflow: hidden;
    margin-right: 1rem;
    box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);
}
.js-hero-confirm {
    background: #ffe001;
    border-radius: 24px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    margin-right: 1rem;
    box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);

}
.js-hero-confirm .plate-pill {
    background: #fff;
    border-radius: 8px;
    padding: 6px 14px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.js-hero-confirm .car-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 16px;
}

.js-hero-confirm .car-meta {
    color: #2c2c2c;
    opacity: 0.8;
    font-weight: 500;
}

.js-hero-confirm .mileage-label {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.js-hero-confirm .mileage-input {
    border-radius: 12px;
    border: 2px solid #1a1a1a;
    padding: 10px 14px;
    max-width: 180px;
}

.js-hero-confirm .confirm-btn {
    border-radius: 12px;
    font-weight: 600;
}

.hero-confirm-car {
    max-width: 100%;
    height: auto;
}
#carzenCar{
    width: 400px;
    position: absolute;
    top: 20px;
    left: 50px;
    z-index: 2;
    pointer-events: none;
}
/* ===== transitions ===== */
.js-hero-left,
.js-hero-right,
.js-hero-triangle,
#carzenCar,
.js-hero-confirm {
    transition: all .55s ease;
    will-change: transform, opacity, width, flex, max-width;
}

/* confirm card default hidden-ish (îl arătăm după DONE) */
.js-hero-confirm {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
    z-index: 4;
}

/* ===== DONE STATE ===== */
.hero-done .js-hero-right {
    opacity: 0;
    transform: translateY(8px);
    pointer-events: none;
}

/* col-lg-5 -> se comportă ca full width */
.hero-done .js-hero-left {
    flex: 0 0 100%;
    max-width: 100%;
}

/* mută triunghiul la “maxim” spre dreapta */
.hero-done .js-hero-triangle {
    transform: translateX(2px);
}

/* mută și mașina un pic (ajustează după cum arată) */
.hero-done #carzenCar {
    transform: translateX(760px);
}

/* arată confirm card cu fade-in */
.hero-done .js-hero-confirm {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.confirm-btn {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    overflow: hidden;
    position: relative;
}

.btn:has(.btn-arrow-right),
.btn:has(.btn-arrow-left){
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.btn-arrow-right,
.btn-arrow-left {
    display: inline-flex;
    align-items: center;
    transition: transform .35s ease, opacity .35s ease;
}

.btn-arrow-right svg,
.btn-arrow-left svg {
    width: 18px;
    height: 18px;
}

.btn-arrow-right svg {
    transform: rotate(180deg);
}

:where(button, .btn, a):hover .btn-arrow-right {
    animation: arrow-loop-right .6s ease forwards;
}

:where(button, .btn, a):hover .btn-arrow-left {
    animation: arrow-loop-left .6s ease forwards;
}

@keyframes arrow-loop-right {
    0% { transform: translateX(0); opacity: 1; }
    40% { transform: translateX(16px); opacity: 0; }
    60% { transform: translateX(-16px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes arrow-loop-left {
    0% { transform: translateX(0); opacity: 1; }
    40% { transform: translateX(-16px); opacity: 0; }
    60% { transform: translateX(16px); opacity: 0; }
    100% { transform: translateX(0); opacity: 1; }
}

@media (max-width: 767.98px) {
    .hero-mobile-card {
        background: #ffe001;
        border-radius: 24px;
        padding: 40px 30px; /* padding mare sus/jos, safe pe mobile */
        position: relative;
        overflow: hidden;
        box-shadow: 0 30px 60px rgba(50, 101, 255, 0.1);
    }
}

.carzen-navbar-desktop {
    display: flex;
}

.carzen-navbar-desktop .nav-link{
    font-size: 1.1rem!important;
    white-space: nowrap;
}

.carzen-navbar-pages {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.carzen-account-icon {
    font-size: 0.875rem;
    width: 35px;
    height: 35px;
    border-radius: 999px;
    background: #ffe000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #2d2d2d;
}

section[id] {
    scroll-margin-top: 80px;
}

.carzen-form-contact {
    max-width: 100%;
}

.carzen-field textarea {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
    background: transparent;
    resize: vertical;
    min-height: 190px;
}

.carzen-field-textarea {
    align-items: stretch;
}
.toast-save-exit {
    background-color: #d9f7e2;
    color: #1b4332;
    border: 1px solid #b7ebc6;
}
.toast-save-exit .fa-circle-check {
    color: #2f9e44;
}

@media (min-width: 576px) {
    .container, .container-sm {
        max-width: 95%;
    }
}
@media (min-width: 768px) {
    .container, .container-md, .container-sm {
        max-width: 95%;
    }
}
@media (min-width: 1200px) {
    .container, .container-lg, .container-md, .container-sm, .container-xl {
        max-width: 1140px;
    }
}
@media (min-width: 1400px) {
    .container-xxl, .container-xl, .container-lg, .container-md, .container-sm, .container {
        max-width: 1320px;
    }
}

.svg-inline--fa {
    height: 1em;
    overflow: visible;
    vertical-align: -.125em;
}
svg:not(:host).svg-inline--fa, svg:not(:root).svg-inline--fa {
    overflow: visible;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}
.js-plate-input::placeholder {
    font-size: 16px;
}
.js-plate-input::-webkit-input-placeholder { /* Chrome, Safari, Android */
    font-size: 16px;
}

.js-plate-input::-moz-placeholder { /* Firefox */
    font-size: 16px;
}

.js-plate-input:-ms-input-placeholder { /* IE */
    font-size: 16px;
}
.btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show>.btn-primary.dropdown-toggle, .btn.bg-gradient-primary:not(:disabled):not(.disabled).active, .btn.bg-gradient-primary:not(:disabled):not(.disabled):active, .show>.btn.bg-gradient-primary.dropdown-toggle{
    background-color: var(--bs-btn-active-bg);
}
