/* ========== CSS gốc của bạn ========== */
body {
    margin: 0;
    padding: 0;
    font-family: "Roboto", Arial, sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
}

main.content {
    padding-top: 0;
}

.highlight-color {
    color: #fd8c40 !important;
}

.highlight-color-hover:hover {
    color: #fd8c40 !important;
}

.overflow-hidden {
    overflow: hidden;
}

/* Top bar */
.top-bar {
    background-color: #212121;
    color: #ffffff;
    font-size: 0.9rem;
}

.top-bar a {
    color: #ffffff;
    text-decoration: none;
}

.top-bar a:hover {
    text-decoration: underline;
}

/* Main navbar */
.main-nav {
    background-color: #ffffff;
}

.main-nav.fixed-top {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
}
.navbar-brand {
    padding: 0px 1rem;
}
.navbar-brand img {
    max-height: 96px;
    z-index: 9;
    border-radius: 0.5rem;
}

.nav-link {
    color: #424242 !important;
    padding: 2.6rem 1rem 2.6rem 1rem !important;
    font-weight: bold;
    white-space: nowrap;
}

.nav-link:not(.dropdown-toggle):hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fd8c40 !important;
    border-bottom: 0.2rem solid #fd8c40;
    padding: 2.6rem 1rem 2.4rem 1rem !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fd8c40 !important;
    border-bottom: 0.2rem solid rgba(255, 255, 255, 0.1);
    padding: 2.6rem 1rem 2.4rem 1rem !important;
}

@media (min-width: 768px) and (max-width: 1110px) {
    .nav-link {
        padding: 2.6rem 0.4rem 2.6rem 0.4rem !important;
    }

    .nav-link:hover {
        padding: 2.6rem 0.4rem 2.4rem 0.4rem !important;
    }
}

.navbar {
    padding: 0;
    position: relative;
     {
         {
            /* background-image: url("/sites/dathangchinhngach/home/img/h2-1.webp");
    background-position: bottom left;
    background-repeat: no-repeat; */
        }
    }
}
.navbar::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 50%;
    position: absolute;
    right: 0;
    z-index: 1; */
        }
    }
}

.navbar .container {
     {
         {
            /* background-color: #fd8c40;
    z-index: 9; */
        }
    }
}

.navbar .dropdown-menu {
    background-color: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    border-top: 0.2rem solid #fd8c40;
}

.nav-item.dropdown:hover .dropdown-menu {
    display: block;
}

.navbar .dropdown-menu .dropdown-item {
    color: #333;
    font-weight: 500;
    padding: 8px 20px;
    display: flex;
    align-items: center;
}

.navbar .dropdown-menu .dropdown-item:hover {
    background-color: #ffffff;
    color: #fd8c40;
}

/* Call-us */
.call-us {
    color: #fff;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 1.9rem 6rem 1.9rem 1rem !important;
}

.call-us::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 150%;
    position: absolute;
    right: -80%;
    transform: rotate(45deg); */
        }
    }
}

.call-us-icon {
    background-color: #ffffff1a;
    border-radius: 50%;
    padding: 0.8rem;
}

.call-us span,
.call-us a,
.call-us strong {
    white-space: nowrap;
}

.manager-form {
     {
         {
            /* color: #fff;
    background-color: #fd8c40; */
        }
    }
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 2.11rem 1rem 2.11rem 1rem !important;
}

.manager-form::after {
     {
         {
            /* content: "";
    display: block;
    background: #fd8c40;
    height: 100%;
    width: 150%;
    position: absolute;
    right: -149%; */
        }
    }
}

.manager-form a {
    color: #fff;
    text-decoration: none;
    background-color: #fd8c40;
    white-space: nowrap;
}

.manager-form a:hover {
    color: #fd8c40;
    background-color: #424242;
}

/* ========== Hero Section thêm mới ========== */
.hero-section {
    position: relative;
    min-height: 70vh;
    /* Điều chỉnh chiều cao */
    background-image: url("/sites/dathangchinhngach/home/img/banner.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center bottom;
    overflow: hidden;
    margin-top: -2rem;
}

.hero-content-move {
    display: block;
    width: 100%;
    max-width: 100%;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    animation: moveHero 0.9s ease-out forwards;
}

@keyframes moveHero {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes moveShip {
    from {
        left: -50vw;
    }
    to {
        left: 25vw;
    }
}

/* Responsive cho màn hình điện thoại */

/* Phần text ở giữa */
.hero-content {
    position: relative;
    z-index: 3;
    min-height: 80vh;
    padding-top: 10vh;
    padding-bottom: 20vh;
}

/* Căn giữa nội dung bằng flex */
.hero-content .inner {
    display: flex;
    align-items: left;
    justify-content: left;
    flex-direction: column;
    height: 100%;
    text-align: left;
    color: #fff;
}

.btn-orange {
    background-color: #fd8c40;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
}

.btn-orange:hover {
    background-color: #424242;
    color: #fd8c40;
}

/* Section chung */
.brand-logos {
    padding: 2rem 0;
    /* Khoảng cách trên dưới */
    background-color: #fff;
    background: #fd8c40
        url("/sites/dathangchinhngach/home/img/globus_image_small.jpg") !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    /* Màu nền */
}

/* Chứa logo và căn giữa */
.brand-logos .brand-item {
    text-align: center;
    margin: 1rem;
}

/* Ảnh logo */
.brand-logos .brand-logo {
    max-width: 120px;
    /* Kích thước logo tối đa */
    filter: brightness(0) invert(1);
    /* Hiệu ứng xám */
    transition: filter 0.3s;
    height: 100%;
}

/* Hover logo -> trở lại màu gốc */
.brand-logos .brand-logo:hover {
    filter: brightness(0);
}

/* Section container */
.about-features .sub-title {
    display: inline-block;
    background-color: #fd8c40;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-radius: 0rem;
}

.bullet-list {
    background-color: #fff;
    border-left: 4px solid #fd8c40;
    padding: 1rem;
    margin: 1.5rem 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    border-radius: 0.25rem;
}

.bullet-list li {
    margin-bottom: 0.5rem;
    color: #073a3c;
    /* xanh đậm */
    font-weight: 600;
}

.services-btn {
    background-color: #073a3c;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    border-radius: 0.35rem;
}

.services-btn .services-btn-icon {
    font-size: 0.9rem;
    border-radius: 0.3rem;
    background-color: #fff;
    padding: 0.4rem;
    color: #fd8c40;
}

.services-btn:hover {
    opacity: 0.8;
    background-color: #fd8c40;
}

.phone-help {
    font-size: 0.9rem;
    color: #073a3c;
    margin-left: 1.5rem;
}

/* Phần ảnh bên phải */
.services-image-wrapper {
    position: relative;
    margin-top: 0rem;
    overflow: hidden;
}

/* Ảnh chính */
.services-image {
    width: 75%;
    border-radius: 0.5rem;
    display: block;
    z-index: 2;
    position: relative;
}

/* Ảnh thứ hai, chồng lên */
.services-image-2 {
    position: absolute;
    bottom: 120px;
    /* tuỳ chỉnh để canh vị trí */
    right: 30px;
    width: 50%;
    /* ví dụ 50% so với ảnh chính */
    border-radius: 0.5rem;
    z-index: 4;
}

/* Khối màu cam (5 năm kinh nghiệm, 3 vạn đơn...) */
.orange-box {
    width: 75%;
    background-color: #fd8c40;
    color: #fff;
    padding: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius: 4rem;
    /* đẩy xuống cho lộ ảnh phía trên */
    min-width: 180px;
    text-align: center;
    position: relative;
    z-index: 3;
    margin-top: -2rem;
}

.orange-box::after {
    content: "";
    position: absolute;
    background-image: url(/sites/dathangchinhngach/home/img/h2-17.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: -50% 0px;
    width: 100%;
    height: 100%;
    left: 100%;
    z-index: 1;
    animation: wavePosition 6s infinite ease-in-out;
}

/* Keyframes cho chuyển động */
@keyframes wavePosition {
    0% {
        background-position: -50% 0;
    }

    50% {
        background-position: 10% 0;
    }

    100% {
        background-position: -50% 0;
    }
}

.orange-box {
    background-color: #fd8c40;
    color: #fff;
    padding: 1rem;
    border-radius: 0.5rem;
}

.orange-box h3 {
    font-size: 3rem;
    margin: 0;
    font-weight: 700;
    line-height: 1;
    color: #fff;
}

.orange-box p {
    margin: 0;
    font-size: 0.9rem;
    color: #fff;
}

/* Section tổng */
.stats-section {
    position: relative;
    /* Ảnh nền */
    background: url("/sites/dathangchinhngach/home/img/section_back_1.jpg")
        center/cover no-repeat;
    /* Nếu muốn fallback màu khi ảnh lỗi: background-color: #fd8c40; */
    overflow: hidden;
    /* che phần overlay tràn */
}

/* Overlay màu #fd8c40, độ mờ 0.84 */
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background-color: rgba(255, 137, 59, 0.77);
    opacity: 0.84;
    z-index: 1;
    /* nằm trên ảnh nền, dưới nội dung */
}

/* Container bên trong: đặt position relative để nội dung nổi trên overlay */
.stats-content {
    position: relative;
    z-index: 2;
    padding: 3rem 0;
}

/* Khối info-box */
.info-box {
    border: 1px dashed rgb(100, 58, 21);
    /* Màu viền teal nhạt */
    border-radius: 0.5rem;
    background-color: rgba(255, 255, 255, 0.05);
    /* nền hơi tối mờ */
    padding: 2rem 1rem;
    text-align: center;
    color: #424242;
}
.info-box h3 {
    font-size: 1.5rem;
    margin: 0.2rem 0;
    font-weight: 700;
    color: #424242;
}

.info-box p {
    margin: 0;
    color: #424242;
    /* xám nhạt */
}

.why-choose-us {
    padding: 3rem 0;
}

.why-choose-us .sub-title {
    display: inline-block;
    background-color: #fd8c40;
    /* Đổi sang #fd8c40 */
    color: #fff;
    border-radius: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.why-choose-us h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #073a3c;
    margin-bottom: 1rem;
}

.why-choose-us p {
    font-size: 1rem;
    color: #707070;
}

.explore-section {
    background: #fd8c40 
        url("/sites/dathangchinhngach/home/img/globus_image_small.jpg") center/cover no-repeat;
}
.explore-section h2 {
    font-size: 2rem;
}
.explore-section a:hover {
    opacity: 0.8;
}

/* Footer tổng */
.footer-section {
    background-color: #212121;
    /* Xanh đậm */
    color: #bdbdbd;
    position: relative;
    font-size: 0.9rem;
}

/* ========== HÀNG TRÊN ========== */
.footer-top {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-top .logo img {
    max-height: 96px;
    filter: none;
    /* chỉnh kích thước logo */
}

.footer-top h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 0.3rem solid #fd8c40;
    line-height: 2.5;
    padding-left: 1rem;
}

.footer-top .subscribe-input {
    background-color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    width: 100%;
    max-width: 220px;
    margin-right: 0.5rem;
}

.footer-top .subscribe-btn {
    background-color: #fd8c40;
    /* Cam */
    color: #fff;
    border: none;
    border-radius: 0.25rem;
    padding: 0.55rem 1rem;
    cursor: pointer;
}

.footer-top .subscribe-btn:hover {
    opacity: 0.8;
}

/* ========== HÀNG GIỮA ========== */
.footer-middle {
    padding: 2rem 0;
    position: relative;
}

/* Box cam bên trái */
.orange-box-footer {
    background-color: #ffffff;
    border: 1px solid #eceff4;
    box-shadow: 0 8px 18px rgba(18, 23, 34, 0.08);
    border-radius: 0.5rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.orange-box-footer h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.orange-box-footer p {
    margin: 0 0 1rem;
    font-size: 0.9rem;
}

.orange-box-footer h5,
.orange-box-footer p {
    color: #2f2f2f;
}

.call-btn {
    background-color: var(--cn-brand);
    color: #fff;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.call-btn:hover {
    background-color: var(--cn-brand-dark);
    color: #fff;
}

/* Danh sách kho & ứng dụng */
.footer-list h6 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.footer-list li {
    list-style: none;
    margin-bottom: 0.4rem;
}

/* ========== HÀNG DƯỚI ========== */
.footer-bottom {
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom a {
    color: #fd8c40;
    /* Cam */
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

.footer-bottom .contact-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom .contact-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* fix old */
.section-title-img {
    display: none !important;
}

.arrow-right {
    margin-right: 0.5rem;
}

/* ========== Design consistency pass ========== */
:root {
    --cn-brand: #fd8c40;
    --cn-brand-dark: #e8792f;
    --cn-ink: #2f2f2f;
    --cn-text: #4f4f4f;
    --cn-surface: #ffffff;
    --cn-radius: 14px;
    --cn-shadow: 0 10px 24px rgba(18, 23, 34, 0.08);
}

body {
    color: var(--cn-text);
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--cn-ink);
}

.top-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.main-nav {
    box-shadow: 0 2px 12px rgba(18, 23, 34, 0.06);
}

.nav-link {
    font-weight: 600;
    letter-spacing: 0.1px;
    padding: 2rem 0.9rem !important;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.nav-link:not(.dropdown-toggle):hover,
.nav-link:hover {
    color: var(--cn-brand) !important;
    border-bottom-color: var(--cn-brand);
    padding: 2rem 0.9rem 1.8rem 0.9rem !important;
}

.hero-content .inner h5,
.hero-content .inner h1 {
    border-radius: 8px;
}

.btn-orange,
.manager-form a {
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.btn-orange:hover,
.manager-form a:hover {
    transform: translateY(-1px);
}

.services-section,
.stats-section,
.about-features,
.explore-section {
    padding-top: 5rem !important;
    padding-bottom: 5rem !important;
}

.services-section .service-grid {
    margin-left: -1.2rem;
    margin-right: -1.2rem;
    row-gap: 2.5rem;
}

.services-section .service-card-col {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
}

.services-section .service-card {
    background: var(--cn-surface);
    border: 1px solid #f1f1f1;
    border-radius: var(--cn-radius);
    padding: 2.1rem 1.7rem;
    min-height: 100%;
    box-shadow: 0 4px 14px rgba(18, 23, 34, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.services-section .service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--cn-shadow);
}

.services-section .service-card p {
    min-height: 84px;
}

.stats-section::before {
    background-color: rgba(253, 140, 64, 0.88);
}

.info-box,
.info-box h3,
.info-box p {
    color: #fff;
}

.info-box {
    border-color: rgba(255, 255, 255, 0.42);
    border-radius: 12px;
}

.about-features .sub-title {
    border-radius: 10px;
    padding: 0.55rem 1rem;
}

.explore-section {
    position: relative;
}

.explore-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.08);
}

.explore-section > .container {
    position: relative;
    z-index: 1;
}

.footer-section {
    margin-top: 0;
}

.footer-top .subscribe-input,
.footer-top .subscribe-btn,
.orange-box-footer,
.call-btn {
    border-radius: 10px;
}

.footer-top .subscribe-input {
    max-width: 250px;
}

/* Footer contrast fix after global style pass */
.footer-section,
.footer-section p,
.footer-section li,
.footer-section small,
.footer-section span,
.footer-section h4,
.footer-section h5,
.footer-section h6 {
    color: #f2f4f7;
}

.footer-section a {
    color: #f2f4f7;
}

.footer-list a:hover,
.orange-box-footer a:hover,
.footer-top a:hover {
    color: var(--cn-brand);
}

.footer-top h4,
.footer-list h6,
.orange-box-footer h5 {
    color: #ffffff;
}

.orange-box-footer p {
    color: #4f4f4f;
}

.footer-bottom {
    color: #dbe2ec;
}

.footer-bottom a {
    color: var(--cn-brand);
}

.footer-bottom .contact-item i {
    color: var(--cn-brand);
}

/* ========== Motion system ========== */
.hero-section::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 24, 39, 0.26), rgba(17, 24, 39, 0.06));
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content .inner {
    animation: heroFloat 6s ease-in-out infinite;
}

.hero-reveal {
    opacity: 0;
    transform: translateY(22px);
    animation: fadeUpIn 0.8s ease forwards;
}

.brand-item {
    transition: transform 0.22s ease, filter 0.22s ease;
}

.brand-item:hover {
    transform: translateY(-6px);
}

.brand-logo {
    transition: transform 0.28s ease, filter 0.28s ease;
}

.brand-item:hover .brand-logo {
    transform: scale(1.04);
}

.motion-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.72s ease, transform 0.72s ease;
    will-change: opacity, transform;
}

.motion-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.services-section .motion-reveal {
    transition: opacity 0.42s ease, transform 0.42s ease;
}

.info-box,
.orange-box-footer,
.footer-list,
.footer-top .subscribe-input,
.footer-top .subscribe-btn {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.info-box:hover,
.orange-box-footer:hover,
.footer-list:hover {
    transform: translateY(-4px);
}

.footer-top .subscribe-input:focus {
    transform: translateY(-1px);
}

.footer-top .subscribe-btn:hover,
.call-btn:hover,
.btn-orange:hover,
.manager-form a:hover {
    box-shadow: 0 10px 20px rgba(253, 140, 64, 0.24);
}

@keyframes fadeUpIn {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFloat {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-6px);
    }
    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .motion-reveal,
    .hero-reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Top-bar refresh */
.top-bar {
    background: #ffd9bf;
    color: #3f3a35;
    border-bottom: 1px solid #f2b991;
}

.top-bar a {
    color: #3f3a35;
}

.top-bar a:hover {
    color: var(--cn-brand);
    text-decoration: none;
}

.top-bar .highlight-color {
    color: var(--cn-brand) !important;
}

/* Footer logo restored */
.footer-top .logo img {
    max-height: 88px;
    width: auto;
    object-fit: contain;
}

@media (max-width: 991px) {
    .nav-link {
        padding: 0.9rem 1rem !important;
    }

    .nav-link:not(.dropdown-toggle):hover,
    .nav-link:hover {
        padding: 0.9rem 1rem !important;
        border-bottom: 0;
    }

    .services-section .service-card p {
        min-height: auto;
    }

    .services-section .service-grid {
        margin-left: -0.7rem;
        margin-right: -0.7rem;
        row-gap: 1.6rem;
    }

    .services-section .service-card-col {
        padding-left: 0.7rem;
        padding-right: 0.7rem;
    }
}

/* ========== Footer redesign: light + cohesive (no black cards) ========== */
.footer-section {
    background: #f8fafc;
    color: #334155;
    border-top: 1px solid #e8edf5;
}

.footer-top {
    background: #fff7f1;
    border-bottom: 1px solid #fde5d6;
}

.footer-top h4 {
    color: #1f2937;
    border-left-color: var(--cn-brand);
}

.footer-middle {
    background: #f8fafc;
}

.orange-box-footer {
    background: #ffffff;
    border: 1px solid #e7edf4;
    box-shadow: 0 8px 18px rgba(18, 23, 34, 0.06);
}

.orange-box-footer h5,
.orange-box-footer p,
.footer-list h6,
.footer-section p,
.footer-section li,
.footer-section small,
.footer-section span {
    color: #334155;
}

.footer-section a,
.footer-list a,
.footer-list .text-white,
.footer-list a.text-white {
    color: #1f2937 !important;
}

.footer-list a:hover,
.footer-section a:hover {
    color: var(--cn-brand) !important;
}

.call-btn {
    background-color: var(--cn-brand);
    color: #fff;
}

.footer-bottom {
    color: #64748b;
    border-top: 1px solid #e7edf4;
}

.footer-bottom a {
    color: var(--cn-brand);
}

.footer-bottom .contact-item i {
    color: var(--cn-brand);
}

/* =====================================================
   CHINHNGACH NEW LAYOUT
   ===================================================== */

/* ----- Variables ----- */
:root {
    --cn-orange: #9E5025;
    --cn-orange-light: #c4642e;
    --cn-dark: #1a1a2e;
    --cn-gray: #f5f5f5;
    --cn-text: #424242;
    --cn-radius: 14px;
}

/* ----- Section labels ----- */
.cn-section-label {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: var(--cn-orange);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.cn-section-title {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--cn-dark);
    margin-bottom: 0;
}

/* ========== SPLIT HERO ========== */
.cn-hero {
    display: flex;
    min-height: 92vh;
    overflow: hidden;
}
.cn-hero-left {
    flex: 0 0 55%;
    background: var(--cn-dark);
    display: flex;
    align-items: center;
    padding: 5rem 4rem;
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0 100%);
    position: relative;
    z-index: 2;
}
.cn-hero-left-inner {
    max-width: 520px;
}
.cn-hero-badge {
    display: inline-block;
    background: var(--cn-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    padding: 0.35rem 1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
}
.cn-hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 1.2rem;
}
.cn-hero-title em {
    font-style: normal;
    color: var(--cn-orange-light);
}
.cn-hero-desc {
    color: rgba(255,255,255,0.72);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}
.cn-hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.btn-cn-primary {
    display: inline-flex;
    align-items: center;
    background: var(--cn-orange);
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s;
    border: none;
    cursor: pointer;
}
.btn-cn-primary:hover { background: var(--cn-orange-light); color: #fff; transform: translateY(-2px); }
.btn-cn-outline {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem 1.8rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.4);
    transition: border-color 0.2s, background 0.2s;
}
.btn-cn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); color: #fff; }
.cn-hero-trust {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.cn-hero-trust span {
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.cn-hero-trust i { color: #4caf50; }

.cn-hero-right {
    flex: 1;
    background: #fff3ec;
    position: relative;
    overflow: hidden;
    margin-left: -4%;
}
.cn-hero-visual {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Vòng trang trí */
.cn-hero-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(158,80,37,0.18);
    pointer-events: none;
}
.cn-hero-ring-1 {
    width: 460px; height: 460px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: cn-ring-pulse 4s ease-in-out infinite alternate;
}
.cn-hero-ring-2 {
    width: 340px; height: 340px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-color: rgba(158,80,37,0.12);
    animation: cn-ring-pulse 4s ease-in-out infinite alternate-reverse;
}
@keyframes cn-ring-pulse {
    from { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    to   { transform: translate(-50%, -50%) scale(1.06); opacity: 0.5; }
}

/* Ảnh chính: địa cầu SVG */
.cn-img-main {
    width: 78%;
    max-width: 390px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 50px rgba(158,80,37,0.4));
}

.cn-hero-card {
    position: absolute;
    background: #fff;
    border: 1px solid rgba(158,80,37,0.12);
    border-radius: 16px;
    box-shadow: 0 6px 24px rgba(158,80,37,0.15), 0 2px 8px rgba(0,0,0,0.08);
    padding: 0.85rem 1.2rem 0.85rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    z-index: 5;
    animation: cn-float 3s ease-in-out infinite alternate;
    min-width: 175px;
}
.cn-hero-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, var(--cn-orange), var(--cn-orange-light));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(158,80,37,0.35);
}
.cn-hero-card-icon i {
    color: #fff;
    font-size: 1.1rem;
}
.cn-hero-card-body {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}
.cn-hero-card-label {
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--cn-orange);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1;
}
.cn-hero-card-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--cn-dark);
    line-height: 1.2;
}

/* Anchor wrapper — xử lý vị trí, card con xử lý animation */
.cn-card-anchor {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}
/* Trên — căn giữa ngang, phía trên địa cầu */
.cn-card-top  { top: 16%;  left: 0; right: 0; }
/* Phải — căn giữa dọc, bên phải địa cầu */
.cn-card-right { top: 0; bottom: 0; right: 3%; align-items: center; justify-content: flex-end; }
/* Trái — căn giữa dọc, bên trái địa cầu (tránh overlap panel trái) */
.cn-card-left  { top: 0; bottom: 50%; left: 12%; align-items: flex-end; justify-content: flex-start; }
@keyframes cn-float {
    from { transform: translateY(0px); }
    to   { transform: translateY(-10px); }
}

/* ========== BRANDS BAND ========== */
.cn-brands-band {
    background: var(--cn-dark);
    padding: 1.4rem 0;
    overflow: hidden;
}
.cn-brands-track {
    display: inline-flex;
    align-items: center;
    animation: cn-scroll 22s linear infinite;
    will-change: transform;
}
.cn-brands-track img {
    height: 34px;
    margin: 0 3rem;
    opacity: 0.55;
    filter: brightness(10);
    flex-shrink: 0;
    transition: opacity 0.2s;
}
.cn-brands-track img:hover { opacity: 1; }
.cn-brands-band:hover .cn-brands-track { animation-play-state: paused; }
@keyframes cn-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ========== PROCESS STEPS ========== */
.cn-process { background: var(--cn-gray); }
.cn-steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
    flex-wrap: wrap;
}
.cn-step {
    flex: 1;
    min-width: 180px;
    max-width: 240px;
    text-align: center;
    padding: 0 1.5rem;
    position: relative;
}
.cn-step-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--cn-orange);
    opacity: 0.15;
    line-height: 1;
    margin-bottom: -0.8rem;
}
.cn-step-icon {
    width: 64px; height: 64px;
    background: var(--cn-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    position: relative;
    z-index: 1;
}
.cn-step-icon i { color: #fff; font-size: 1.5rem; }
.cn-step h5 { font-size: 0.95rem; font-weight: 700; color: var(--cn-dark); margin-bottom: 0.5rem; }
.cn-step p { font-size: 0.82rem; color: #666; line-height: 1.6; margin: 0; }
.cn-step-arrow {
    display: flex;
    align-items: center;
    color: var(--cn-orange);
    opacity: 0.4;
    font-size: 1.4rem;
    padding-top: 4.5rem;
    flex-shrink: 0;
}

/* ========== ALTERNATING FEATURES ========== */
.cn-features { background: #fff; }
.cn-feature-row {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 4rem;
    padding: 2.5rem;
    border-radius: var(--cn-radius);
    background: #fafafa;
    border: 1px solid #efefef;
}
.cn-feature-row:last-child { margin-bottom: 0; }
.cn-feature-row-reverse { flex-direction: row-reverse; background: #fff8f4; }
.cn-feature-visual {
    flex: 0 0 220px;
    height: 220px;
    border-radius: var(--cn-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    flex-shrink: 0;
}
.cn-feature-visual-orange { background: var(--cn-orange); color: #fff; }
.cn-feature-visual-dark { background: var(--cn-dark); color: var(--cn-orange); }
.cn-feature-text { flex: 1; }
.cn-feature-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--cn-orange);
    background: rgba(158,80,37,0.08);
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    margin-bottom: 0.8rem;
}
.cn-feature-text h3 { font-size: 1.45rem; font-weight: 800; color: var(--cn-dark); margin-bottom: 0.8rem; line-height: 1.3; }
.cn-feature-text p { color: #666; line-height: 1.75; margin-bottom: 1rem; }
.cn-feature-list { list-style: none; padding: 0; margin: 0; }
.cn-feature-list li {
    font-size: 0.85rem;
    color: var(--cn-text);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.4rem;
}
.cn-feature-list i { color: var(--cn-orange); font-size: 0.8rem; }

/* ========== STATS ========== */
.cn-stats {
    background: var(--cn-dark);
    padding: 5rem 0;
}
.cn-stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.cn-stat-item {
    flex: 1;
    text-align: center;
    padding: 1rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.cn-stat-num {
    font-size: 3.2rem;
    font-weight: 900;
    color: var(--cn-orange-light);
    line-height: 1;
}
.cn-stat-num sup { font-size: 1.5rem; vertical-align: super; }
.cn-stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.cn-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
}

/* ========== CTA BANNER ========== */
.cn-cta {
    position: relative;
    background: var(--cn-orange);
    padding: 5rem 0;
    overflow: hidden;
}
.cn-cta-bg {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.cn-cta-inner {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}
.cn-cta-left h2 { font-size: 2rem; font-weight: 900; color: #fff; margin-bottom: 0.5rem; }
.cn-cta-left p { color: rgba(255,255,255,0.8); font-size: 1rem; margin: 0; }
.cn-cta-right {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.btn-cn-large { padding: 1rem 2.2rem; font-size: 1rem; background: #fff; color: var(--cn-orange); }
.btn-cn-large:hover { background: #f0f0f0; color: var(--cn-orange); }
.btn-cn-ghost {
    display: inline-flex;
    align-items: center;
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.5);
    padding: 0.9rem 1.6rem;
    border-radius: 50px;
    transition: border-color 0.2s, background 0.2s;
}
.btn-cn-ghost:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
    .cn-hero { flex-direction: column; min-height: auto; }
    .cn-hero-left {
        flex: none;
        clip-path: none;
        padding: 3rem 1.5rem;
    }
    .cn-hero-right { height: 280px; flex: none; margin-left: 0; }
    .cn-img-main { width: 55%; }
    .cn-hero-title { font-size: 1.8rem; }
    .cn-step-arrow { display: none; }
    .cn-steps { gap: 2rem; }
    .cn-step { max-width: 100%; }
    .cn-feature-row, .cn-feature-row-reverse { flex-direction: column; gap: 2rem; }
    .cn-feature-visual { flex: none; width: 120px; height: 120px; font-size: 3rem; }
    .cn-stats-grid { flex-wrap: wrap; gap: 2rem; }
    .cn-stat-divider { display: none; }
    .cn-cta-inner { flex-direction: column; text-align: center; }
    .cn-cta-right { justify-content: center; }
    .cn-section-title { font-size: 1.4rem; }
}


/* ---------- Ô tìm sản phẩm ở trang chủ ---------- */

/*
 * Khối này nằm BÊN TRONG banner/hero (xem chỗ @include ở index.blade.php).
 * Nền hero của site là ảnh/dải màu, nên thẻ để trắng đặc + bóng đổ cho chắc
 * đọc, thay vì kính mờ dễ chìm khi ảnh nền sáng.
 * Nằm trong .cn-hero-left (nền --cn-dark), dùng lại biến --cn-brand/--cn-radius.
 */
.site-search {
    margin-top: 1.5rem;
    max-width: 100%;
}

.site-search-card {
    display: block;
    background: #fff;
    border: 0;
    border-radius: var(--cn-radius, 14px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .28);
    padding: .875rem;
    text-align: left;
}

.site-search-row {
    display: flex;
    gap: .5rem;
}

.site-search-input {
    flex: 1;
    min-width: 0;
    padding: .7rem 1rem;
    border: 1px solid #e7dcd2;
    border-radius: 10px;
    background: #fff;
    color: var(--cn-ink, #2f2f2f);
    font-size: .95rem;
}

.site-search-input:focus {
    outline: none;
    border-color: var(--cn-brand, #fd8c40);
    box-shadow: 0 0 0 .2rem rgba(253, 140, 64, .2);
}

.site-search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    flex: 0 0 auto;
    padding: .7rem 1.4rem;
    border: 0;
    border-radius: 10px;
    background: var(--cn-brand, #fd8c40);
    color: #fff;
    font-weight: 700;
}

.site-search-btn:hover {
    background: var(--cn-brand-dark, #e8792f);
    color: #fff;
}

.site-search-platforms {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: .375rem;
    margin-top: .625rem;
}

.site-search-platform {
    margin: 0;
}

/* Ẩn ô chọn thật, phần nhìn thấy là thẻ span bên trong */
.site-search-platform input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-search-platform span {
    display: flex;
    align-items: center;
    gap: .375rem;
    padding: .3rem .625rem;
    border: 1px solid #e7dcd2;
    border-radius: 10px;
    background: #faf6f2;
    color: var(--cn-ink, #2f2f2f);
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
}

.site-search-platform img {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    object-fit: contain;
    /* Sàn chưa chọn thì logo nhạt đi cho mắt bắt ngay sàn đang chọn */
    opacity: .5;
    transition: opacity .15s;
}

.site-search-platform input:checked + span {
    border-color: var(--cn-brand, #fd8c40);
    background: #fff;
}

.site-search-platform input:checked + span img {
    opacity: 1;
}

.site-search-platform input:focus-visible + span {
    outline: 2px solid var(--cn-brand, #fd8c40);
    outline-offset: 2px;
}

.site-search-note {
    color: #8a8a8a;
    font-size: .75rem;
    margin-left: auto;
}

@media (max-width: 767.98px) {
    .site-search {
        max-width: 100%;
    }

    .site-search-btn span {
        display: none;
    }

    /* Màn hẹp thì dòng chú thích chiếm cả hàng, chen ngang sẽ vỡ bố cục */
    .site-search-note {
        margin-left: 0;
        width: 100%;
    }
}
