/* ==================================================
   OMODA & JAECOO TÂN PHÚ — HOME
================================================== */

.oj-home {
    width: 100%;
    overflow: hidden;
}

/* Hero hai thương hiệu */

.oj-brand-hero {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: calc(100vh - 114px);
    background: #111111;
}

.oj-brand-hero__panel {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: flex-end;
    padding: clamp(40px, 6vw, 92px);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
    transition: flex 0.6s ease;
}

.oj-brand-hero__panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.35s ease;
}

.oj-brand-hero__panel:hover::before {
    background: rgba(0, 0, 0, 0.08);
}

.oj-brand-hero__panel:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.28);
}

.oj-brand-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 580px;
    color: #ffffff;
}

.oj-brand-hero__eyebrow {
    margin: 0 0 16px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 700;
    letter-spacing: 0.2em;
}

.oj-brand-hero__title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(46px, 6vw, 94px);
    line-height: 0.95;
    font-weight: 750;
    letter-spacing: 0.04em;
}

.oj-brand-hero__description {
    max-width: 450px;
    margin: 22px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: clamp(15px, 1.25vw, 18px);
    line-height: 1.7;
}

.oj-brand-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
}

/* Button dùng chung */

.oj-home-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.22s ease,
        color 0.22s ease,
        border-color 0.22s ease,
        transform 0.22s ease;
}

.oj-home-btn:hover {
    transform: translateY(-2px);
}

.oj-home-btn--light {
    background: #ffffff;
    color: #111111;
}

.oj-home-btn--light:hover {
    background: #f1f1f1;
    color: #111111;
}

.oj-home-btn--outline {
    border-color: rgba(255, 255, 255, 0.75);
    background: rgba(0, 0, 0, 0.12);
    color: #ffffff;
    backdrop-filter: blur(5px);
}

.oj-home-btn--outline:hover {
    border-color: #ffffff;
    background: #ffffff;
    color: #111111;
}

.oj-home-btn--dark {
    background: #111111;
    color: #ffffff;
}

.oj-home-btn--dark:hover {
    background: #292929;
    color: #ffffff;
}

/* Dấu cuộn xuống */

.oj-brand-hero__scroll {
    position: absolute;
    z-index: 4;
    left: 50%;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    transform: translateX(-50%);
    pointer-events: none;
}

.oj-brand-hero__scroll span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.oj-brand-hero__scroll i {
    position: relative;
    display: block;
    width: 1px;
    height: 38px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
}

.oj-brand-hero__scroll i::after {
    content: "";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    animation: ojScrollLine 1.8s infinite ease-in-out;
}

@keyframes ojScrollLine {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(200%);
    }
}

/* Intro */

.oj-home-intro {
    padding: 100px 0;
    background: #ffffff;
}

.oj-home-intro__inner {
    max-width: 870px;
    text-align: center;
}

.oj-section-label {
    margin: 0 0 20px;
    color: var(--oj-blue-dark);
    font-size: 11px;
    line-height: 1.5;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.oj-home-intro h2 {
    margin: 0;
    color: var(--oj-black);
    font-size: clamp(34px, 4.5vw, 62px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.oj-home-intro__inner > p:not(.oj-section-label) {
    max-width: 660px;
    margin: 24px auto 0;
    color: var(--oj-muted);
    font-size: 17px;
    line-height: 1.8;
}

.oj-home-intro__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 34px;
}

.oj-home-text-link {
    position: relative;
    color: var(--oj-black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.oj-home-text-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px;
    height: 1px;
    background: var(--oj-black);
    transform-origin: left;
    transition: transform 0.2s ease;
}

.oj-home-text-link:hover {
    color: var(--oj-blue-dark);
}

.oj-home-text-link:hover::after {
    transform: scaleX(0.45);
}

/* Tablet */

@media (max-width: 1024px) {
    .oj-brand-hero {
        min-height: 720px;
    }

    .oj-brand-hero__panel {
        padding: 50px 32px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .oj-brand-hero {
        display: block;
        min-height: auto;
    }

    .oj-brand-hero__panel {
        min-height: 78vh;
        padding: 48px 20px 58px;
        background-position: center;
    }

    .oj-brand-hero__panel:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.28);
    }

    .oj-brand-hero__title {
        font-size: 52px;
    }

    .oj-brand-hero__description {
        max-width: 330px;
        font-size: 15px;
    }

    .oj-brand-hero__actions {
        display: grid;
        grid-template-columns: 1fr;
        max-width: 270px;
    }

    .oj-brand-hero__scroll {
        display: none;
    }

    .oj-home-intro {
        padding: 72px 0;
    }

    .oj-home-intro__inner {
        text-align: left;
    }

    .oj-home-intro__inner > p:not(.oj-section-label) {
        margin-left: 0;
    }

    .oj-home-intro__actions {
        align-items: flex-start;
        justify-content: flex-start;
    }
}
/* ==================================================
   DÒNG XE NỔI BẬT
================================================== */

.oj-featured-cars {
    padding: 100px 0;
    background: var(--oj-light);
}

.oj-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 48px;
}

.oj-section-heading h2 {
    margin: 0;
    color: var(--oj-black);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.oj-section-heading__link {
    flex: 0 0 auto;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--oj-black);
    color: var(--oj-black);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition:
        color 0.2s ease,
        border-color 0.2s ease;
}

.oj-section-heading__link:hover {
    color: var(--oj-blue-dark);
    border-color: var(--oj-blue-dark);
}

/* Lưới xe */

.oj-car-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;
}

.oj-car-card {
    grid-column: span 2;
    overflow: hidden;
    background: var(--oj-white);
    border: 1px solid var(--oj-border);
    border-radius: 12px;
    box-shadow: 0 10px 35px rgba(17, 17, 17, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.oj-car-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.oj-car-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.oj-car-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 123, 255, 0.25);
    box-shadow: 0 22px 55px rgba(17, 17, 17, 0.12);
}

/* Ảnh xe */

.oj-car-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f1f3f5 100%
        );
}

.oj-car-card__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.oj-car-card:hover .oj-car-card__image img {
    transform: scale(1.045);
}

/* Nội dung thẻ */

.oj-car-card__body {
    padding: 26px;
}

.oj-car-card__brand {
    margin: 0 0 10px;
    color: var(--oj-blue-dark);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.oj-car-card h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
}

.oj-car-card h3 a {
    color: var(--oj-black);
    text-decoration: none;
}

.oj-car-card h3 a:hover {
    color: var(--oj-blue-dark);
}

.oj-car-card__description {
    min-height: 68px;
    margin: 15px 0 0;
    color: var(--oj-muted);
    font-size: 14px;
    line-height: 1.65;
}

.oj-car-card__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
}

.oj-car-card__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: 6px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.oj-car-card__actions a:hover {
    transform: translateY(-1px);
}

.oj-car-card__detail {
    border: 1px solid var(--oj-border);
    background: var(--oj-white);
    color: var(--oj-black);
}

.oj-car-card__detail:hover {
    border-color: var(--oj-black);
    color: var(--oj-black);
}

.oj-car-card__quote {
    border: 1px solid var(--oj-cta);
    background: var(--oj-cta);
    color: var(--oj-white);
}

.oj-car-card__quote:hover {
    border-color: #e94600;
    background: #e94600;
    color: var(--oj-white);
}

/* Tablet */

@media (max-width: 1024px) {
    .oj-car-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oj-car-card,
    .oj-car-card:nth-child(4),
    .oj-car-card:nth-child(5) {
        grid-column: auto;
    }

    .oj-car-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .oj-featured-cars {
        padding: 72px 0;
    }

    .oj-section-heading {
        align-items: flex-start;
        flex-direction: column;
        margin-bottom: 32px;
    }

    .oj-car-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .oj-car-card,
    .oj-car-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .oj-car-card__body {
        padding: 22px;
    }

    .oj-car-card__description {
        min-height: 0;
    }

    .oj-car-card__actions {
        grid-template-columns: 1fr;
    }
}
/* ==================================================
   ƯU ĐÃI NỔI BẬT
================================================== */

.oj-home-offers {
    padding: 100px 0;
    background: var(--oj-white);
}

.oj-offer-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.oj-offer-card {
    display: flex;
    min-width: 0;
    overflow: hidden;
    flex-direction: column;
    background: var(--oj-white);
    border: 1px solid var(--oj-border);
    border-radius: 12px;
    box-shadow: 0 10px 36px rgba(17, 17, 17, 0.06);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.oj-offer-card:hover {
    transform: translateY(-7px);
    border-color: rgba(0, 123, 255, 0.25);
    box-shadow: 0 22px 55px rgba(17, 17, 17, 0.13);
}

/* Khu vực ảnh */

.oj-offer-card__media {
    display: block;
    width: 100%;
    overflow: hidden;
    background: var(--oj-light);
    text-decoration: none;
}

.oj-offer-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: contain;
    object-position: center;
    background: var(--oj-light);
    transition: transform 0.4s ease;
}

.oj-offer-card:hover .oj-offer-card__image {
    transform: scale(1.025);
}

/* Nội dung */

.oj-offer-card__content {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 28px;
}

.oj-offer-card__label {
    margin: 0 0 10px;
    color: var(--oj-blue-dark);
    font-size: 10px;
    line-height: 1.4;
    font-weight: 750;
    letter-spacing: 0.18em;
}

.oj-offer-card h3 {
    margin: 0;
    color: var(--oj-black);
    font-size: clamp(24px, 2vw, 31px);
    line-height: 1.22;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.oj-offer-card__content > p:not(.oj-offer-card__label) {
    margin: 16px 0 0;
    color: var(--oj-muted);
    font-size: 14px;
    line-height: 1.7;
}

.oj-offer-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin-top: auto;
    padding: 0 20px;
    padding-top: 0;
    border: 1px solid var(--oj-black);
    border-radius: 6px;
    background: var(--oj-black);
    color: var(--oj-white);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}

.oj-offer-card__content > p + .oj-offer-card__button {
    margin-top: 26px;
}

.oj-offer-card__button:hover {
    border-color: var(--oj-blue-dark);
    background: var(--oj-blue-dark);
    color: var(--oj-white);
    transform: translateY(-1px);
}

/* Tablet */

@media (max-width: 1024px) {
    .oj-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oj-offer-card:last-child {
        grid-column: 1 / -1;
        width: calc(50% - 12px);
        justify-self: center;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .oj-home-offers {
        padding: 72px 0;
    }

    .oj-offer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .oj-offer-card,
    .oj-offer-card:last-child {
        grid-column: auto;
        width: 100%;
    }

    .oj-offer-card__content {
        padding: 22px;
    }

    .oj-offer-card__image {
        aspect-ratio: auto;
        object-fit: contain;
    }
}
/* ==================================================
   CTA CÔNG CỤ TÀI CHÍNH
================================================== */

.oj-home-finance-cta {
    padding: 86px 0;
    background: var(--oj-light);
    border-top: 1px solid var(--oj-border);
    border-bottom: 1px solid var(--oj-border);
}

.oj-home-finance-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
}

.oj-home-finance-cta__content {
    max-width: 690px;
}

.oj-home-finance-cta__content h2 {
    margin: 0;
    color: var(--oj-black);
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.oj-home-finance-cta__content > p:not(.oj-section-label) {
    max-width: 620px;
    margin: 20px 0 0;
    color: var(--oj-muted);
    font-size: 16px;
    line-height: 1.75;
}

.oj-home-finance-cta__actions {
    flex: 0 0 auto;
    display: grid;
    gap: 12px;
    min-width: 245px;
}

.oj-home-btn--blue-outline {
    border-color: var(--oj-blue-dark);
    background: transparent;
    color: var(--oj-blue-dark);
}

.oj-home-btn--blue-outline:hover {
    border-color: var(--oj-blue-dark);
    background: var(--oj-blue-dark);
    color: var(--oj-white);
}

/* Tablet */

@media (max-width: 1024px) {
    .oj-offer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oj-offer-card:last-child {
        grid-column: 1 / -1;
        min-height: 440px;
    }

    .oj-home-finance-cta__inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 36px;
    }

    .oj-home-finance-cta__actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .oj-home-offers {
        padding: 72px 0;
    }

    .oj-offer-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .oj-offer-card,
    .oj-offer-card:last-child {
        grid-column: auto;
        min-height: 460px;
        padding: 26px;
    }

    .oj-home-finance-cta {
        padding: 64px 0;
    }

    .oj-home-finance-cta__actions {
        grid-template-columns: 1fr;
    }
}
/* ==================================================
   FORM NHẬN BÁO GIÁ
================================================== */

.oj-home-lead-form {
    padding: 110px 0;
    background: #111111;
    color: #ffffff;
}

.oj-home-lead-form__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
    align-items: center;
    gap: 80px;
}

.oj-home-lead-form__content {
    max-width: 680px;
}

.oj-home-lead-form__content .oj-section-label {
    color: #67cfff;
}

.oj-home-lead-form__content h2 {
    margin: 0;
    color: #ffffff;
    font-size: clamp(36px, 4.5vw, 62px);
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.oj-home-lead-form__content > p:not(.oj-section-label) {
    max-width: 620px;
    margin: 24px 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.8;
}

.oj-home-lead-form__benefits {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
    padding: 0;
    margin: 32px 0 0;
    list-style: none;
}

.oj-home-lead-form__benefits li {
    position: relative;
    padding-left: 24px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 14px;
    line-height: 1.6;
}

.oj-home-lead-form__benefits li::before {
    content: "✓";
    position: absolute;
    top: 0;
    left: 0;
    color: #67cfff;
    font-weight: 800;
}

.oj-home-lead-form__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 36px;
}

.oj-home-lead-form__contact span {
    color: rgba(255, 255, 255, 0.54);
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

.oj-home-lead-form__contact a {
    margin-top: 7px;
    color: #ffffff;
    font-size: 29px;
    line-height: 1.2;
    font-weight: 750;
    text-decoration: none;
}

.oj-home-lead-form__contact a:hover {
    color: #67cfff;
}

/* Hộp form */

.oj-home-lead-form__box {
    padding: 40px;
    border-radius: 14px;
    background: #ffffff;
    color: var(--oj-text);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.oj-home-lead-form__box > h3 {
    margin: 0;
    color: var(--oj-black);
    font-size: 29px;
    line-height: 1.25;
    font-weight: 700;
}

.oj-home-lead-form__box > p {
    margin: 10px 0 26px;
    color: var(--oj-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* Fluent Forms */

.oj-home-lead-form__box .ff-el-group {
    margin-bottom: 18px;
}

.oj-home-lead-form__box .ff-el-input--label label {
    color: var(--oj-text);
    font-size: 13px;
    font-weight: 650;
}

.oj-home-lead-form__box input,
.oj-home-lead-form__box select,
.oj-home-lead-form__box textarea {
    width: 100%;
    min-height: 48px;
    border: 1px solid var(--oj-border) !important;
    border-radius: 6px !important;
    background: #ffffff !important;
    color: var(--oj-text) !important;
    font-family: "Inter", Arial, sans-serif;
    font-size: 14px;
    box-shadow: none !important;
}

.oj-home-lead-form__box textarea {
    min-height: 105px;
    padding-top: 12px;
}

.oj-home-lead-form__box input:focus,
.oj-home-lead-form__box select:focus,
.oj-home-lead-form__box textarea:focus {
    border-color: var(--oj-blue-dark) !important;
    outline: none;
}

.oj-home-lead-form__box .ff-btn-submit {
    width: 100%;
    min-height: 50px;
    border: 0 !important;
    border-radius: 6px !important;
    background: var(--oj-cta) !important;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.oj-home-lead-form__box .ff-btn-submit:hover {
    background: #e94600 !important;
    transform: translateY(-1px);
}

/* Tablet */

@media (max-width: 1024px) {
    .oj-home-lead-form__grid {
        grid-template-columns: 1fr;
        gap: 52px;
    }

    .oj-home-lead-form__content {
        max-width: 760px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .oj-home-lead-form {
        padding: 72px 0;
    }

    .oj-home-lead-form__benefits {
        grid-template-columns: 1fr;
    }

    .oj-home-lead-form__box {
        padding: 26px 20px;
    }

    .oj-home-lead-form__contact a {
        font-size: 25px;
    }
}
/* NEWS */

.oj-home-news{

padding:110px 0;

background:#fff;

}

.oj-news-grid{

display:grid;

grid-template-columns:repeat(3,1fr);

gap:28px;

}

.oj-news-card{

background:#fff;

border-radius:12px;

overflow:hidden;

box-shadow:0 8px 30px rgba(0,0,0,.08);

transition:.3s;

}

.oj-news-card:hover{

transform:translateY(-8px);

}

.oj-news-card img{

width:100%;

aspect-ratio:16/9;

object-fit:cover;

display:block;

}

.oj-news-content{

padding:24px;

}

.oj-news-date{

font-size:13px;

color:#777;

margin-bottom:10px;

}

.oj-news-content h3{

font-size:24px;

margin-bottom:12px;

}

.oj-news-content p{

color:#666;

line-height:1.7;

margin-bottom:18px;

}

.oj-news-more{

font-weight:700;

color:#007BFF;

text-decoration:none;

}

@media(max-width:991px){

.oj-news-grid{

grid-template-columns:1fr;

}

}