/* Layout dùng chung cho mọi trang – load sau CSS riêng của từng trang */
:root {
    --container-max: 1440px;
    --container-gutter: 16px;
}

/* padding hai bên: mobile 16px, tablet (md) 24px, desktop (lg) 32px */
@media screen and (min-width: 768px) {
    :root {
        --container-gutter: 24px;
    }
}

@media screen and (min-width: 1024px) {
    :root {
        --container-gutter: 32px;
    }
}

/* container tối đa 1440px */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--container-gutter);
    padding-right: var(--container-gutter);
}

.container .container {
    padding-left: 0;
    padding-right: 0;
}

/* section full-bleed: nền tràn màn hình, nội dung giới hạn 1440px */
.section-why > .block-why-we,
.section-feedback > .row {
    max-width: var(--container-max);
    margin-left: auto;
    margin-right: auto;
}

/* bỏ giới hạn 1170px cũ để theo container chung */
.section-price,
.section-content,
.section-list-new {
    max-width: none;
}

/* wrapper menu mobile từng gây tràn ngang trên điện thoại */
.ds {
    min-width: 0;
}

/* header / logo */
.section-header {
    padding: 12px 0;
}

.header-inner {
    gap: 16px 32px;
}

.logo {
    flex-shrink: 0;
}

.header-button a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 10px;
    background-color: #feda17;
    color: #10294d;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 8px 20px -8px rgb(214 168 0 / 0.65);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.header-button a:hover {
    background-color: #f5cc00;
    color: #10294d;
}

.header-button a:active {
    transform: scale(0.98);
}

.header-button i {
    font-size: 18px;
}

/* header 3 khối: logo | slogan | hotline + nút, khoảng cách giữa các khối bằng nhau */
.header-slogan {
    min-width: 0;
}

.header-slogan img {
    display: block;
    max-width: 100%;
    height: auto;
    aspect-ratio: 5 / 1;
}

.header-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* mobile: logo ngang, bên dưới là khối hotline + nút menu + nút gọi */
@media screen and (max-width: 767px) {
    .section-header {
        padding: 16px 0 20px;
        background: #fff;
    }

    .header-inner {
        align-items: stretch;
        gap: 0;
    }

    /* nút menu đã nằm trong khối liên hệ nên ẩn thanh menu xanh */
    .section-menu {
        display: none;
    }

    .section-header .toggle_menu {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        height: 44px;
        padding: 0 14px;
        border: 1px solid rgb(20 84 165 / 0.2);
        border-radius: 10px;
        background-color: #fff;
        color: #1454a5;
        font-size: 15px;
        font-weight: 600;
        cursor: pointer;
    }

    .section-header .toggle_menu i {
        margin: 0;
        font-size: 18px;
    }

    /* màn rất hẹp: nút menu chỉ còn icon để không chật hàng hotline */
    @media (max-width: 359px) {
        .section-header .toggle_menu {
            width: 44px;
            padding: 0;
            justify-content: center;
        }

        .section-header .toggle_menu span {
            display: none;
        }
    }

    .section-header .logo .brand {
        flex-direction: row;
        gap: 12px;
        text-align: left;
    }

    .section-header .logo .brand-text {
        align-items: flex-start;
    }

    .section-header .logo .brand-mark {
        height: 40px;
    }

    .section-header .logo .brand-name {
        font-size: 20px;
    }

    .section-header .logo .brand-tagline {
        font-size: 12px;
    }

    /* ảnh slogan lặp lại tên thương hiệu nên ẩn trên mobile */
    .header-slogan {
        display: none;
    }

    /* khối liên hệ: hotline | nút menu, nút gọi trải hết hàng dưới */
    .header-actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
        margin-top: 16px;
    }

    .header-actions .header-end {
        grid-column: 1 / -1;
    }

    .header-actions .icon-box {
        justify-content: flex-start;
        gap: 12px;
        margin: 0;
    }

    .header-actions .icon img {
        width: 44px;
    }

    .header-actions .icon-box-text p {
        font-size: 13px;
        font-weight: 600;
        color: #5b6b82;
    }

    .header-actions .icon-box-text h3 {
        margin: 0;
        line-height: 1.2;
    }

    /* số điện thoại co theo màn hình, luôn nằm trên một dòng */
    .header-actions .icon-box-text a {
        font-size: clamp(18px, 5vw, 22px);
        white-space: nowrap;
        font-weight: 800;
        letter-spacing: 0.01em;
    }

    .header-end {
        margin: 0;
    }

    .header-button a {
        width: 100%;
        justify-content: center;
    }

    /* banner: zoom nhẹ để chữ và xe to hơn, vẫn giữ trọn nội dung ảnh */
    .swip-slide .img-full img {
        aspect-ratio: 1.9 / 1;
        object-fit: cover;
        object-position: 40% center;
    }
}

@media screen and (min-width: 768px) {
    .header-inner {
        justify-content: space-between;
    }

    .header-button a {
        min-height: 56px;
        padding: 0 28px;
    }

    .header-actions {
        flex-direction: row;
        gap: 28px;
        flex-shrink: 0;
    }
}

@media screen and (min-width: 1280px) {
    .header-end {
        margin-left: 0;
        padding-left: 28px;
        border-left: 1px solid rgb(20 84 165 / 0.15);
    }
}

.logo a {
    display: inline-flex;
    align-items: center;
}

/* logo: biểu tượng xe + chữ HTML */
.logo a,
.logo-menu-mobile a,
.footer-logo {
    text-decoration: none;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    text-align: left;
}

.brand .brand-mark {
    display: block;
    width: auto;
    height: 44px;
    margin: 0;
    flex-shrink: 0;
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #1454a5;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.brand-tagline {
    margin-top: 2px;
    font-size: 13px;
    font-weight: 600;
    color: #c99400;
    white-space: nowrap;
}

/* header + menu mobile: chữ nằm dưới biểu tượng xe */
.logo .brand,
.logo-menu-mobile .brand {
    flex-direction: column;
    gap: 4px;
    text-align: center;
}

.logo .brand-text,
.logo-menu-mobile .brand-text {
    align-items: center;
}

.brand--light .brand-name,
.brand--light .brand-tagline {
    color: #fff;
}

.brand--light .brand-tagline {
    color: #feda17;
}

.logo-menu-mobile {
    padding: 4px 16px 20px;
}

.logo-menu-mobile .brand .brand-mark {
    height: 36px;
}

.logo-menu-mobile .brand-name {
    font-size: 18px;
}

.logo-menu-mobile .brand-tagline {
    font-size: 12px;
}

.footer-logo .brand .brand-mark {
    height: 44px;
}

.footer-logo .brand-name {
    font-size: 22px;
}

@media screen and (min-width: 1280px) {
    .logo .brand .brand-mark {
        height: 52px;
    }

    .logo .brand-name {
        font-size: 26px;
    }

    .logo .brand-tagline {
        font-size: 14px;
    }
}

/* menu: chỉ viết hoa chữ cái đầu */
.menu a,
.menu-mobile ul li a {
    text-transform: none;
}

/* mục menu luôn một dòng; padding ngang tăng dần theo breakpoint, mục đầu thẳng mép container */
.menu a {
    display: block;
    padding: 8px 14px;
    white-space: nowrap;
}

.menu .navbar-nav li:first-child a {
    padding-left: 0;
}

@media screen and (min-width: 1024px) {
    .menu a {
        padding: 8px 20px;
    }
}

@media screen and (min-width: 1280px) {
    .menu a {
        padding: 8px 28px;
    }
}

/* card tin tức: title + mô tả căn trái, mô tả tối đa 3 dòng */
.section-list-new a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.img-list-new {
    overflow: hidden;
    border-radius: 8px;
}

.img-list-new img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.section-list-new a:hover .img-list-new img {
    transform: scale(1.04);
}

.section-list-new .box-text {
    flex: 1;
    justify-content: flex-start;
    padding: 14px 0 28px;
    text-align: left;
}

.section-list-new .post-title h5 {
    font-weight: 700;
    margin-bottom: 0;
}

.section-list-new .post-line {
    margin: 10px 0;
}

.section-list-new .form-the-blog p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: 0.95em;
    line-height: 1.5;
    color: #555;
}

/* footer */
.site-footer {
    --footer-bg: #1454a5;
    --footer-text: rgb(255 255 255 / 0.85);
    --footer-line: rgb(255 255 255 / 0.18);
    background-color: var(--footer-bg);
    background-image: none;
    color: var(--footer-text);
    font-size: 15px;
    line-height: 1.6;
}

.site-footer a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.site-footer a:hover {
    color: #feda17;
}

.footer-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 0;
    border-bottom: 1px solid var(--footer-line);
}

.footer-cta-title {
    margin: 0 0 6px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    color: #fff;
}

.footer-cta-text {
    margin: 0;
    max-width: 62ch;
}

.footer-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer .footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 10px;
    font-weight: 700;
    white-space: nowrap;
    transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.site-footer .footer-btn:active {
    transform: scale(0.98);
}

.site-footer .footer-btn--primary {
    background-color: #feda17;
    color: #10294d;
}

.site-footer .footer-btn--primary:hover {
    background-color: #f5cc00;
    color: #10294d;
}

.site-footer .footer-btn--ghost {
    border: 1px solid rgb(255 255 255 / 0.35);
    color: #fff;
}

.site-footer .footer-btn--ghost:hover {
    border-color: #fff;
    background-color: rgb(255 255 255 / 0.08);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 0.7fr 1.3fr;
    gap: 40px;
    padding: 48px 0;
}

.footer-about {
    margin: 16px 0 20px;
    max-width: 40ch;
}

.footer-contact,
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact li + li {
    margin-top: 12px;
}

.footer-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background-color: rgb(255 255 255 / 0.08);
    color: #feda17;
    font-size: 14px;
}

.footer-heading {
    margin: 0 0 16px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.footer-links li + li {
    margin-top: 10px;
}

.footer-map {
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid var(--footer-line);
    aspect-ratio: 16 / 11;
}

.footer-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.footer-bottom {
    border-top: 1px solid var(--footer-line);
    font-size: 14px;
}

.footer-bottom-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px 24px;
    padding-top: 18px;
    padding-bottom: 18px;
}

.footer-bottom p {
    margin: 0;
}

@media screen and (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (max-width: 767px) {
    .footer-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-cta-actions .footer-btn {
        flex: 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    /* chừa chỗ cho nút Zalo / gọi nổi góc phải */
    .footer-bottom-inner {
        padding-bottom: 96px;
    }
}

/* nút hotline (dưới ảnh giới thiệu + trên nền xanh): cao 48px ở mobile, 56px từ tablet trở lên */
.button-contact a,
.contact-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    font-size: 18px;
}

.contact-banner a {
    background-color: #fff;
    color: #1454a5;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-banner a:hover {
    color: #10294d;
}

@media screen and (min-width: 768px) {
    .button-contact a,
    .contact-banner a {
        min-height: 56px;
        padding: 0 32px;
        font-size: 20px;
    }
}

.button-contact a {
    gap: 10px;
    border-radius: 10px;
    background-color: #feda17;
    color: #10294d;
    white-space: nowrap;
    box-shadow: 0 10px 24px -10px rgb(214 168 0 / 0.7);
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.button-contact a:hover {
    background-color: #f5cc00;
    color: #10294d;
}

.button-contact a:active {
    transform: scale(0.98);
}

/* dịch vụ của chúng tôi */
.section-service {
    padding: 72px 0;
    background-color: #f4f7fb;
}

.section-service .title-header {
    margin-bottom: 8px;
}

.section-service .block-service {
    overflow: hidden;
    border: 1px solid rgb(20 84 165 / 0.1);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 12px 32px -18px rgb(20 84 165 / 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.section-service .block-service:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgb(20 84 165 / 0.45);
}

.section-service .block-padding {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.section-service .icon-service {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: 28px 28px 0;
    padding: 0;
    border-radius: 10px;
    background-color: #eaf1fb;
    color: #1454a5;
    font-size: 24px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.section-service .block-service:hover .icon-service {
    background-color: #1454a5;
    color: #fff;
}

.section-service .block-text {
    padding: 20px 28px 28px;
    justify-content: flex-start;
}

.section-service .title-service {
    display: flex;
    align-items: flex-start;
    min-height: calc(2em * 1.35);
    margin-bottom: 16px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;
    color: #10294d;
}

.section-service .content-service ul {
    margin: 0;
    padding: 0;
}

.section-service .content-service li {
    display: flex;
    gap: 10px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5a6e;
}

.section-service .content-service li + li {
    margin-top: 10px;
}

.section-service .content-service i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin: 3px 0 0;
    border-radius: 50%;
    background-color: #eaf1fb;
    color: #1454a5;
    font-size: 10px;
}

@media (prefers-reduced-motion: reduce) {
    .section-service .block-service,
    .section-service .block-service:hover {
        transition: none;
        transform: none;
    }
}

/* icon trích dẫn ở card phản hồi */
.icon-feedback img {
    width: auto;
    height: 28px;
    opacity: 0.55;
}

/* tin tức: padding trên dưới cân đối, tiêu đề cao bằng nhau */
.section-news {
    padding-top: 64px;
    padding-bottom: 64px;
}

.section-news .section-content {
    margin-bottom: 40px;
}

.section-list-new .row {
    row-gap: 40px;
}

.section-list-new .box-text {
    display: flex;
    flex-direction: column;
    padding: 16px 0 0;
}

.section-list-new .post-title {
    display: flex;
    align-items: flex-start;
}

.section-list-new .post-title h5 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    margin: 0;
    line-height: 1.35;
}

/* banner đầu trang con */
.page-hero {
    position: relative;
    isolation: isolate;
    padding: 72px 0 64px;
    background: #0c2f5c url(../images/bg-header.png) center / cover no-repeat;
    color: #fff;
}

.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgb(12 47 92 / 0.94) 0%, rgb(12 47 92 / 0.82) 45%, rgb(20 84 165 / 0.35) 100%);
}

.page-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 10px;
    margin-bottom: 14px;
    font-size: 14px;
    color: rgb(255 255 255 / 0.72);
}

.page-breadcrumb a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.page-breadcrumb a:hover {
    color: #feda17;
}

.page-breadcrumb i {
    font-size: 10px;
    opacity: 0.6;
}

.page-breadcrumb [aria-current] {
    color: #fff;
}

.page-hero-title {
    position: relative;
    max-width: 24ch;
    margin: 0;
    padding-bottom: 18px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.page-hero-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 56px;
    height: 4px;
    border-radius: 2px;
    background-color: #feda17;
}

.page-hero-text {
    max-width: 52ch;
    margin: 18px 0 0;
    font-size: 17px;
    color: rgb(255 255 255 / 0.82);
}

.page-hero--article .page-hero-title {
    max-width: 32ch;
    font-size: clamp(26px, 3vw, 38px);
    line-height: 1.25;
}

/* tiêu đề section tin tức */
.news-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgb(20 84 165 / 0.12);
}

.news-head-title {
    margin: 0;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #10294d;
}

.news-head-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1454a5;
    text-decoration: none;
    white-space: nowrap;
}

.news-head-link i {
    transition: transform 0.2s ease;
}

.news-head-link:hover {
    color: #10294d;
}

.news-head-link:hover i {
    transform: translateX(3px);
}

/* trang bài viết: ảnh và sidebar */
.blog-details-img img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    padding-top: 0;
    margin-top: 28px;
    border-radius: 10px;
}

.blog-details-content {
    margin-top: 24px;
}

.sidebar-post {
    padding: 24px;
    border-radius: 10px;
}

.sidebar-title {
    margin: 0 0 8px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #10294d;
}

.sidebar-post-list li {
    gap: 14px;
    padding: 12px 0 0;
}

.sidebar-post-images {
    flex-shrink: 0;
}

.sidebar-post-images img {
    display: block;
    width: 88px;
    height: 60px;
    margin: 0;
    border-radius: 8px;
    object-fit: cover;
}

.sidebar-post-content h3 {
    margin: 0;
}

.sidebar-post-content h3 a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.45;
    color: #10294d;
    transition: color 0.2s ease;
}

.sidebar-post-content h3 a:hover {
    color: #1454a5;
}

.section-list-new .row + .row {
    margin-top: 40px;
}

/* banner không có mô tả: bỏ gạch vàng dưới tiêu đề */
.page-hero-title:last-child {
    padding-bottom: 0;
}

.page-hero-title:last-child::after {
    content: none;
}

/* ảnh bài viết nhỏ (bản gốc 300px): không phóng quá 2 lần, nền là bản mờ của chính ảnh */
.blog-details-img--small {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 28px;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    background-color: #10294d;
}

.blog-img-backdrop {
    position: absolute;
    inset: -40px;
    z-index: -1;
    background-position: center;
    background-size: cover;
    filter: blur(28px) brightness(0.7);
}

.blog-details-img--small img {
    width: min(450px, 86%);
    max-width: none;
    max-height: 90%;
    margin: 0;
    aspect-ratio: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 16px 40px -16px rgb(0 0 0 / 0.5);
}

.blog-details-content > :first-child {
    margin-top: 0;
}

/* card bài viết: padding đều 4 phía, thẳng hàng với sidebar */
.log-details-left {
    padding: 28px;
    border-radius: 10px;
}

.log-details-left .blog-details-img img,
.log-details-left .blog-details-img--small {
    margin-top: 0;
    padding-top: 0;
}

.log-details-left .blog-details-img--small img {
    border-radius: 8px;
}

/* banner trang con: chiều cao bằng nhau, nội dung căn giữa theo chiều dọc */
.page-hero {
    display: flex;
    align-items: center;
    min-height: 300px;
    padding: 48px 0;
}

@media screen and (max-width: 767px) {
    .page-hero {
        min-height: 240px;
    }
}

/* sidebar bài viết dính khi cuộn */
@media screen and (min-width: 992px) {
    .sidebar-post {
        position: sticky;
        top: 24px;
    }
}

/* nội dung bài viết */
.blog-detail-text-2 h5 {
    margin: 28px 0 10px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #10294d;
}

.blog-detail-text-2 p,
.article-list li {
    font-size: 16px;
    line-height: 1.75;
    color: #3d4a5c;
}

.article-list {
    margin: 0 0 16px;
    padding-left: 20px;
}

.article-list li + li {
    margin-top: 6px;
}

.article-note {
    margin-top: 28px;
    padding: 20px 24px;
    border-left: 4px solid #feda17;
    border-radius: 0 10px 10px 0;
    background-color: #f4f7fb;
}

.article-note p {
    margin: 0;
}

@media screen and (max-width: 991px) {
    .section-block .col-xl-4 {
        margin-top: 24px;
    }
}

/* tiêu đề section thống nhất: chữ thường có hoa đầu câu, cùng font, cùng màu */
.title-header,
.title-about h2,
.title-procedure h2,
.title-car-rental,
.title-why h3,
.title-feedback h3 {
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.01em;
    text-transform: none;
}

.title-header,
.title-about h2,
.title-procedure h2,
.title-car-rental {
    color: #10294d;
}

.title-about {
    text-transform: none;
}

.title-why h3,
.title-feedback h3 {
    color: #fff;
}

.title-car-rental {
    margin-bottom: 12px;
}

/* avatar phản hồi: chữ viết tắt thay hình người mặc định */
.avatar-initials {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto;
    border: 4px solid #fff;
    border-radius: 50%;
    background-color: #1454a5;
    color: #fff;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 22px;
    font-weight: 700;
    transform: translateY(50%);
    position: relative;
    z-index: 3;
}

.content-type-car .title-car-rental {
    color: #10294d;
}

/* vì sao nên chọn chúng tôi: tỉ lệ icon / tiêu đề / nội dung cân đối */
.section-why::before {
    background-color: rgb(10 32 64 / 0.82);
}

.block-item-why {
    align-items: flex-start;
    gap: 18px;
    margin-top: 32px;
}

.block-item-why:first-child {
    margin-top: 0;
}

.block-item-why .icon-img {
    flex-shrink: 0;
}

.block-item-why .icon-img i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    padding: 0;
    border-radius: 10px;
    background-color: #feda17;
    color: #10294d;
    font-size: 22px;
}

.block-item-why .why-title {
    margin: 2px 0 6px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

.block-item-why .s-content p {
    max-width: 58ch;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: rgb(255 255 255 / 0.8);
}

/* vì sao nên chọn chúng tôi: tăng lại tỉ lệ, cân với ảnh bên trái */
.section-why .block-why-we {
    align-items: center;
}

.section-why .block-img {
    margin-bottom: 0 !important;
}

.section-why .block-img img {
    display: block;
    width: 100%;
    max-height: 620px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 10px;
}

.block-item-why {
    gap: 20px;
    margin-top: 40px;
}

.block-item-why .icon-img i {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    font-size: 26px;
}

.block-item-why .why-title {
    margin: 4px 0 8px;
    font-size: 22px;
}

.block-item-why .s-content p {
    font-size: 17px;
    line-height: 1.7;
}

/* hai cột cao bằng nhau: tiêu đề trên, ảnh lấp phần còn lại */
.section-why .block-why-we {
    align-items: stretch;
}

.section-why .why {
    display: flex;
    flex-direction: column;
}

.section-why .title-why h3 {
    margin-bottom: 28px;
}

.section-why .block-img {
    flex: 1;
    min-height: 360px;
}

.section-why .block-img img {
    height: 100%;
    max-height: none;
    aspect-ratio: auto;
}

@media screen and (max-width: 991px) {
    .section-why .block-img {
        flex: none;
        margin-bottom: 40px !important;
    }

    .section-why .block-img img {
        height: auto;
        aspect-ratio: 4 / 5;
    }
}

/* padding hai bên theo gutter chung thay cho ps-5 / pe-5 cố định 48px */
.section-why .why,
.section-why .list-why {
    padding-left: var(--container-gutter) !important;
    padding-right: var(--container-gutter) !important;
}

/* mobile: mỗi lợi ích là một thẻ, icon + tiêu đề cùng hàng, nội dung trải hết chiều ngang */
@media screen and (max-width: 767px) {
    .section-why {
        padding-top: 48px;
        padding-bottom: 48px;
        background-attachment: scroll;
    }

    .section-why .title-why h3 {
        margin-bottom: 20px;
    }

    .section-why .block-img {
        min-height: 0;
        margin-bottom: 24px !important;
    }

    .section-why .block-img img {
        aspect-ratio: 16 / 10;
    }

    .section-why .list-why {
        display: grid;
        gap: 12px;
    }

    .block-item-why {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr);
        align-items: center;
        gap: 10px 14px;
        margin-top: 0;
        padding: 16px;
        border: 1px solid rgb(255 255 255 / 0.1);
        border-radius: 10px;
        background-color: rgb(255 255 255 / 0.06);
    }

    /* bỏ lớp bọc để tiêu đề và đoạn văn thành ô riêng trong grid */
    .block-item-why > div:not(.icon-img) {
        display: contents;
    }

    .block-item-why .icon-img i {
        width: 44px;
        height: 44px;
        font-size: 20px;
    }

    .block-item-why .why-title {
        margin: 0;
        font-size: 18px;
    }

    .block-item-why .s-content {
        grid-column: 1 / -1;
    }

    .block-item-why .s-content p {
        max-width: none;
        font-size: 15px;
        line-height: 1.6;
    }
}

/* card thuê xe */
.block-type-car {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}

.block-type-car .items-type-car {
    width: auto;
    gap: 0;
    overflow: hidden;
    border: 1px solid rgb(20 84 165 / 0.1);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 12px 32px -18px rgb(20 84 165 / 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.block-type-car .items-type-car:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgb(20 84 165 / 0.45);
}

.block-type-car .box-images-car img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.block-type-car .content-car {
    padding: 20px 24px 24px;
}

.block-type-car .title-car h4 {
    margin-bottom: 8px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #10294d;
}

.block-type-car .text-car p {
    height: auto;
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #4b5a6e;
}

@media screen and (max-width: 1023px) {
    .block-type-car {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 639px) {
    .block-type-car {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .block-type-car .items-type-car,
    .block-type-car .items-type-car:hover {
        transition: none;
        transform: none;
    }
}

/* phản hồi khách hàng */
.section-feedback {
    padding: 72px 0;
}

.section-feedback > .container {
    position: relative;
    z-index: 2;
}

.section-feedback .title-feedback {
    margin: 0 0 32px;
    text-align: left;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.review-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    margin: 0;
    padding: 28px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 16px 40px -20px rgb(0 0 0 / 0.45);
}

.review-text {
    margin: 0;
    font-size: 16px;
    line-height: 1.65;
    color: #2c3a4f;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid rgb(20 84 165 / 0.1);
}

.review-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #eaf1fb;
    color: #1454a5;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 700;
}

.review-meta {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.review-meta strong {
    font-size: 15px;
    color: #10294d;
}

.review-meta span {
    font-size: 14px;
    color: #66748a;
}

@media screen and (max-width: 1023px) {
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 639px) {
    .review-grid {
        grid-template-columns: 1fr;
    }
}


.block-type-car {
    align-items: stretch;
}


/* khoảng cách dưới hàng card thuê xe */
.block-type-car {
    margin-bottom: 72px;
}

/* bảng giá: 3 card cùng kiểu với card dịch vụ */
.section-pricing {
    padding: 72px 0;
}

.section-pricing .title-header {
    margin-bottom: 36px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.price-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border: 1px solid rgb(20 84 165 / 0.1);
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 12px 32px -18px rgb(20 84 165 / 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.price-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -20px rgb(20 84 165 / 0.45);
}

.price-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #eaf1fb;
    color: #1454a5;
    font-size: 22px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.price-card:hover .price-icon {
    background-color: #1454a5;
    color: #fff;
}

.price-title {
    margin: 0 0 6px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #10294d;
}

.price-desc {
    flex: 1;
    margin: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #4b5a6e;
}

.price-amount {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-height: 40px;
    margin: 0 0 20px;
    padding-top: 18px;
    width: 100%;
    border-top: 1px solid rgb(20 84 165 / 0.1);
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 26px;
    font-weight: 800;
    color: #1454a5;
    white-space: nowrap;
}

.price-amount small {
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #66748a;
}

.price-quote {
    font-size: 19px;
    font-weight: 700;
    color: #10294d;
}

.price-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    background-color: #eaf1fb;
    color: #1454a5;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.price-btn:hover {
    background-color: #feda17;
    color: #10294d;
}

.price-btn:active {
    transform: scale(0.98);
}

.price-note {
    margin: 24px 0 0;
    font-size: 15px;
    text-align: center;
    color: #66748a;
}

@media screen and (max-width: 991px) {
    .price-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin: 0 auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .price-card,
    .price-card:hover {
        transition: none;
        transform: none;
    }
}

.price-amount {
    box-sizing: border-box;
    height: 64px;
    min-height: 0;
}

.rental-subtitle {
    margin: 20px 0 10px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: 19px;
    font-weight: 700;
    color: #10294d;
}

/* nút gọi trong bảng giá: nền vàng như CTA chính */
.price-btn {
    background-color: #feda17;
    color: #10294d;
}

.price-btn:hover {
    background-color: #f5cc00;
    color: #10294d;
}

/* trang liên hệ */
.contact-section {
    padding: 72px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 48px;
    align-items: stretch;
}

.contact-title {
    margin: 0 0 12px;
    font-family: "Be Vietnam Pro", "Roboto", sans-serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: #10294d;
}

.contact-lead {
    max-width: 48ch;
    margin: 0 0 28px;
    font-size: 17px;
    line-height: 1.65;
    color: #4b5a6e;
}

.contact-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-list li + li {
    margin-top: 20px;
}

.contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-color: #eaf1fb;
    color: #1454a5;
    font-size: 20px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.contact-item small {
    font-size: 14px;
    color: #66748a;
}

.contact-item a {
    font-size: 18px;
    font-weight: 600;
    color: #10294d;
    text-decoration: none;
    word-break: break-word;
}

.contact-item a:hover {
    color: #1454a5;
}

.contact-call {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 10px;
    background-color: #feda17;
    color: #10294d;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-call:hover {
    background-color: #f5cc00;
    color: #10294d;
}

.contact-call:active {
    transform: scale(0.98);
}

.contact-map {
    overflow: hidden;
    min-height: 420px;
    border: 1px solid rgb(20 84 165 / 0.12);
    border-radius: 10px;
}

.contact-map iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
}

@media screen and (max-width: 991px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-map,
    .contact-map iframe {
        min-height: 320px;
    }
}

.content-type-car .rental-subtitle {
    color: #10294d;
}

.content-type-car p,
.content-type-car li {
    font-size: 16px;
    line-height: 1.7;
    color: #3d4a5c;
}

.title-procedure h2 {
    margin-top: 0;
}

/* mobile: padding hai bên đều theo container, khoảng cách section gọn hơn */
@media screen and (max-width: 767px) {
    .section-pricing,
    .section-service,
    .section-feedback,
    .section-news,
    .contact-section {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .section-pricing + .container {
        margin-top: 8px !important;
    }

    .title-procedure h2 {
        margin: 0 0 24px;
    }

    .content-type-car {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .srction-procedure-mobile .d-flex {
        display: grid !important;
        grid-template-columns: 44px 1fr;
        align-items: center;
        gap: 14px;
        margin-bottom: 18px !important;
    }

    .srction-procedure-mobile .img__contain {
        width: 44px;
        height: 44px;
    }

    .srction-procedure-mobile .font-semibold {
        margin: 0;
        font-size: 15px;
        line-height: 1.45;
    }

    .block-type-car {
        margin-bottom: 48px;
    }

    /* footer: chừa chỗ bên phải cho nút Zalo / gọi thay vì đệm dưới */
    .footer-bottom-inner {
        padding-top: 16px;
        padding-bottom: 16px;
        padding-right: 96px;
    }
}

/* phản hồi: desktop lưới 3 cột, mobile slider có chấm */
.review-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.review-dots {
    display: none;
}

@media screen and (max-width: 1023px) and (min-width: 768px) {
    .review-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 767px) {
    .review-grid {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        margin: 0 calc(var(--container-gutter) * -1);
        padding: 4px var(--container-gutter) 8px;
        scroll-padding: 0 var(--container-gutter);
    }

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

    .review-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .review-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }

    .review-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: rgb(255 255 255 / 0.45);
        transition: width 0.25s ease, background-color 0.25s ease;
    }

    .review-dot.is-active {
        width: 24px;
        border-radius: 4px;
        background-color: #feda17;
    }
}

/* tránh chữ mồ côi ở tiêu đề */
.title-header,
.title-about h2,
.title-procedure h2,
.title-car-rental,
.title-why h3,
.title-feedback h3,
.news-head-title,
.page-hero-title,
.contact-title,
.footer-cta-title {
    text-wrap: balance;
}

/* nút gọi trên thanh menu: chỉ hiện khi header đã ẩn nút (768px - 1279px) */
.menu-cta {
    display: none;
}

@media screen and (min-width: 768px) and (max-width: 1279px) {
    #navbar {
        flex-wrap: nowrap;
        justify-content: space-between;
    }

    .menu-cta {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        min-height: 40px;
        padding: 0 18px;
        border-radius: 10px;
        background-color: #feda17;
        color: #10294d;
        font-weight: 700;
        text-decoration: none;
        white-space: nowrap;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .menu-cta:hover {
        background-color: #f5cc00;
        color: #10294d;
    }

    .menu-cta:active {
        transform: scale(0.98);
    }
}

/* card dịch vụ và thuê xe: 4 cột chỉ từ 1200px, dưới đó 2 cột cho đỡ chật */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-service .row > .col-lg-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }

    .block-type-car {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-service .title-service {
        min-height: 0;
    }
}

/* vì sao nên chọn: ảnh luôn lấy phần người + xe, không cắt lên trần */
.section-why .block-img img {
    object-position: center 72%;
}

/* tablet: tiêu đề + ảnh ngang ở trên, 5 lý do xếp lưới 2 cột bên dưới */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-why .block-why-we > .col-lg-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .section-why .block-img {
        flex: none;
        min-height: 0;
        margin-bottom: 40px !important;
    }

    .section-why .block-img img {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .section-why .list-why {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 40px;
    }

    .section-why .block-item-why {
        margin-top: 0;
    }

    .section-why .contact-banner {
        grid-column: 1 / -1;
        margin-top: 8px !important;
    }
}

/* ===== slider dùng chung cho bảng giá + tin tức (scroll-snap, chấm điều hướng nền sáng) ===== */
.price-dots .review-dot,
.news-dots .review-dot {
    background-color: rgb(20 84 165 / 0.25);
}

.price-dots .review-dot.is-active,
.news-dots .review-dot.is-active {
    background-color: #1454a5;
}

/* bảng giá: slider dưới 768px */
@media screen and (max-width: 767px) {
    .price-grid {
        display: flex;
        gap: 16px;
        max-width: none;
        margin: 0 calc(var(--container-gutter) * -1);
        padding: 4px var(--container-gutter) 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--container-gutter);
        scrollbar-width: none;
    }

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

    .price-card {
        flex: 0 0 86%;
        scroll-snap-align: start;
    }

    .price-card:hover {
        transform: none;
    }

    .price-dots {
        margin-top: 4px;
    }
}

/* tin tức: slider dưới 1024px, tablet thấy 2 bài, mobile thấy 1 bài + mép bài sau */
@media screen and (max-width: 1023px) {
    .section-list-new .row[data-slider] {
        flex-wrap: nowrap !important;
        gap: 16px;
        margin: 0 calc(var(--container-gutter) * -1);
        padding: 4px var(--container-gutter) 8px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--container-gutter);
        scrollbar-width: none;
    }

    .section-list-new .row[data-slider]::-webkit-scrollbar {
        display: none;
    }

    .section-list-new .row[data-slider] > [class*="col-"] {
        flex: 0 0 calc(50% - 8px);
        max-width: none;
        width: auto;
        padding: 0;
        margin: 0 !important;
        scroll-snap-align: start;
    }

    .news-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 20px;
    }
}

@media screen and (max-width: 767px) {
    .section-list-new .row[data-slider] > [class*="col-"] {
        flex-basis: 86%;
    }
}

/* ===== vì sao nên chọn: tablet dùng thẻ như mobile, lưới 2 cột, thẻ thứ 5 trải hết hàng ===== */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-why .block-img img {
        aspect-ratio: 4 / 3;
    }

    .section-why .list-why {
        gap: 16px;
    }

    .section-why .block-item-why {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 12px 14px;
        padding: 20px;
        border: 1px solid rgb(255 255 255 / 0.1);
        border-radius: 10px;
        background-color: rgb(255 255 255 / 0.06);
    }

    .section-why .block-item-why > div:not(.icon-img) {
        display: contents;
    }

    .section-why .block-item-why:nth-child(5) {
        grid-column: 1 / -1;
    }

    .block-item-why .icon-img i {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .block-item-why .why-title {
        margin: 0;
        font-size: 19px;
    }

    .block-item-why .s-content {
        grid-column: 1 / -1;
    }

    .block-item-why .s-content p {
        max-width: none;
        font-size: 15px;
        line-height: 1.6;
    }
}

/* ảnh "vì sao" trên mobile cao hơn */
@media screen and (max-width: 767px) {
    .section-why .block-img img {
        aspect-ratio: 4 / 3;
    }
}

/* ===== CTA footer: chữ một bên, hai nút cùng hàng cùng kích thước bên kia ===== */
@media screen and (min-width: 768px) {
    .footer-cta > :first-child {
        flex: 1;
        min-width: 0;
    }

    .footer-cta-actions {
        flex-wrap: nowrap;
        flex-shrink: 0;
    }

    .footer-cta-actions .footer-btn {
        justify-content: center;
        min-width: 160px;
        min-height: 56px;
        white-space: nowrap;
    }
}

@media screen and (max-width: 767px) {
    .footer-cta-actions .footer-btn {
        justify-content: center;
        min-height: 48px;
    }
}

/* thẻ "vì sao" cao bằng nhau trong hàng: nội dung bám đầu thẻ để tiêu đề thẳng hàng */
@media screen and (max-width: 1199px) {
    .section-why .block-item-why {
        align-content: start;
    }
}

/* chấm điều hướng tin tức ở tablet (style chấm gốc chỉ khai báo cho mobile) */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .news-dots .review-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        transition: width 0.25s ease, background-color 0.25s ease;
    }

    .news-dots .review-dot.is-active {
        width: 24px;
        border-radius: 4px;
    }
}

/* nút hotline cuối section "vì sao": thẳng mép với danh sách thay vì lơ lửng giữa cột */
.section-why .contact-banner {
    text-align: left !important;
}

@media screen and (min-width: 1200px) {
    /* desktop: thẳng hàng với tiêu đề lợi ích (bỏ qua cột icon) */
    .section-why .contact-banner {
        padding-left: 80px;
    }
}

@media screen and (max-width: 767px) {
    .section-why .contact-banner a {
        display: flex;
        width: 100%;
    }
}

/* ghi chú bảng giá: chia dòng đều, không để một chữ rớt xuống dòng riêng */
.price-note {
    text-wrap: balance;
}

/* "vì sao" dạng thẻ (≤1199px): nền thẻ đặc để chữ dễ đọc trên ảnh, thẻ cuối không trải hết hàng */
@media screen and (max-width: 1199px) {
    .section-why::before {
        background-color: rgb(10 32 64 / 0.9);
    }

    .section-why .block-item-why {
        border-color: rgb(255 255 255 / 0.08);
        background-color: rgb(16 41 77 / 0.92);
    }

    .block-item-why .s-content p {
        color: rgb(255 255 255 / 0.86);
    }
}

@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-why .list-why {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .section-why .block-item-why,
    .section-why .contact-banner {
        grid-column: span 2;
    }

    /* thẻ thứ 5 rộng bằng các thẻ khác, nằm giữa hàng cuối */
    .section-why .block-item-why:nth-child(5) {
        grid-column: 2 / 4;
    }

    .section-why .contact-banner {
        grid-column: 1 / -1;
    }
}

/* bảng giá: tablet (768-991px) cũng là slider, thấy 2 card, có chấm và tự chạy */
@media screen and (min-width: 768px) and (max-width: 991px) {
    .price-grid {
        display: flex;
        gap: 16px;
        max-width: none;
        margin: 0 calc(var(--container-gutter) * -1);
        padding: 4px var(--container-gutter) 16px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scroll-padding: 0 var(--container-gutter);
        scrollbar-width: none;
    }

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

    .price-card {
        flex: 0 0 calc(50% - 8px);
        scroll-snap-align: start;
    }

    .price-card:hover {
        transform: none;
    }

    .price-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 4px;
    }

    .price-dots .review-dot {
        width: 8px;
        height: 8px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: rgb(20 84 165 / 0.25);
        transition: width 0.25s ease, background-color 0.25s ease;
    }

    .price-dots .review-dot.is-active {
        width: 24px;
        border-radius: 4px;
        background-color: #1454a5;
    }
}

/* nút Hotline cuối khối "vì sao" luôn nằm giữa */
.section-why .contact-banner {
    justify-self: center;
    text-align: center;
}

/* ===== chiều cao nút thống nhất: desktop 56px, tablet 48px, mobile 44px ===== */
:root {
    --btn-h: 56px;
}

@media screen and (max-width: 1199px) {
    :root {
        --btn-h: 48px;
    }
}

@media screen and (max-width: 767px) {
    :root {
        --btn-h: 44px;
    }
}

.header-button a,
#navbar .menu-cta,
.button-contact a,
.section-why .contact-banner a,
.section-pricing .price-btn,
.site-footer .footer-cta-actions .footer-btn,
.contact-section .contact-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: var(--btn-h);
    min-height: var(--btn-h);
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    line-height: 1.2;
    white-space: nowrap;
}

.section-why .contact-banner a {
    padding-left: 28px !important;
    padding-right: 28px !important;
    border-radius: 10px;
    font-size: 18px !important;
}

@media screen and (max-width: 767px) {
    .section-why .contact-banner a,
    .button-contact a {
        font-size: 16px !important;
    }
}

/* nút trên thanh menu chỉ hiện 768-1279px (quy tắc chiều cao nút ở trên không được bật nó lên) */
@media screen and (min-width: 1280px), screen and (max-width: 767px) {
    #navbar .menu-cta {
        display: none;
    }
}

/* thẻ "vì sao" thứ 5 nằm cột trái, không căn giữa */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-why .block-item-why:nth-child(5) {
        grid-column: 1 / 3;
    }
}

/* thẻ "vì sao" ở tablet: 3 hàng thẻ cao bằng nhau, hàng cuối là nút Hotline */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .section-why .list-why {
        grid-template-rows: repeat(3, 1fr) auto;
    }

    .section-why .block-item-why {
        height: 100%;
    }
}

/* các slider (bảng giá, đánh giá, tin tức): card trong cùng slider cao bằng nhau */
.price-grid,
.review-grid,
.section-list-new .row[data-slider] {
    align-items: stretch;
}

.price-card,
.review-card {
    height: auto;
}

/* desktop: hạ cột lợi ích để tiêu đề đầu tiên ngang hàng tiêu đề section bên trái */
@media screen and (min-width: 1200px) {
    .section-why .list-why {
        padding-top: 6px;
    }
}

/* số điện thoại trong nội dung bài viết: màu primary, đậm, bấm gọi được */
.article-phone {
    color: #1454a5;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}

.article-phone:hover {
    color: #10294d;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* footer tablet (768-1023px): giữ bố cục 2x2 ban đầu, hàng dưới cho bản đồ rộng hơn cột liên kết */
@media screen and (min-width: 768px) and (max-width: 1023px) {
    .footer-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .footer-grid > .footer-brand,
    .footer-grid > :nth-child(2) {
        grid-column: span 3;
    }

    .footer-grid > :nth-child(3) {
        grid-column: span 2;
    }

    .footer-grid > :nth-child(4) {
        grid-column: span 4;
    }
}

/* "vì sao" mobile: chỉ một lớp padding 16px ở section, cột / ảnh / thẻ sát mép nội dung */
@media screen and (max-width: 767px) {
    .section-why {
        padding-left: var(--container-gutter);
        padding-right: var(--container-gutter);
    }

    .section-why .block-why-we {
        margin-left: 0;
        margin-right: 0;
    }

    .section-why .why,
    .section-why .list-why {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}

/* bài viết mobile: chỉ giữ padding 16px của container, bỏ khung thẻ để cột chữ rộng hơn */
@media screen and (max-width: 767px) {
    .container-fluid.block {
        padding-left: 0;
        padding-right: 0;
    }

    .log-details-left {
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
}

/* sidebar "bài viết mới" mobile: bỏ khung thẻ, thẳng mép với nội dung bài viết */
@media screen and (max-width: 767px) {
    .sidebar-single.sidebar-post {
        padding: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }
}

@media screen and (max-width: 767px) {
    .sidebar-post .sidebar-post-list li {
        padding-left: 0;
        padding-right: 0;
    }
}

/* icon Zalo (Simple Icons) dùng làm mask để nhận màu chữ như các icon Font Awesome */
.icon-zalo {
    display: inline-block;
    width: 1.6em;
    height: 1.6em;
    background-color: currentColor;
    -webkit-mask: url("https://cdn.jsdelivr.net/npm/simple-icons@13.21.0/icons/zalo.svg") center / contain no-repeat;
    mask: url("https://cdn.jsdelivr.net/npm/simple-icons@13.21.0/icons/zalo.svg") center / contain no-repeat;
}

/* phản hồi khách hàng: bỏ nền xám ngoài bảng màu, dùng nền xanh nhạt của site */
.section-feedback {
    background: #f4f7fb;
}

.section-feedback::before {
    content: none;
}

.section-feedback .title-feedback h3 {
    color: #10294d;
}

.review-card {
    border: 1px solid rgb(20 84 165 / 0.1);
    box-shadow: 0 12px 32px -18px rgb(20 84 165 / 0.35);
}

@media screen and (max-width: 767px) {
    .review-dot {
        background-color: rgb(20 84 165 / 0.25);
    }

    .review-dot.is-active {
        background-color: #1454a5;
    }
}

/* danh sách trong bài viết có dấu đầu dòng rõ ràng */
.article-list {
    list-style: disc;
}

.article-list li::marker {
    color: #1454a5;
}

/* logo header dạng ngang ở mọi kích thước, cùng kiểu với footer và header mobile */
.section-header .logo .brand {
    flex-direction: row;
    gap: 12px;
    text-align: left;
}

.section-header .logo .brand-text {
    align-items: flex-start;
}

/* tablet: ảnh slogan co quá nhỏ không đọc được nên ẩn, header còn logo | hotline */
@media screen and (max-width: 1023px) {
    .header-slogan {
        display: none;
    }
}


/* nút gọi trên thanh menu (768-1279px): cao đúng 40px, đè biến --btn-h */
#navbar .menu-cta {
    height: 40px;
    min-height: 40px;
    padding-left: 16px;
    padding-right: 16px;
    font-size: 15px;
}
