/* ========== 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: 2rem;
}

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

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

.overflow-hidden {
    overflow: hidden;
}

/* Top bar */
.top-bar {
    background-color: #fff;
    color: #0f4f5c;
    font-size: 0.9rem;
}

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

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

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

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

.nav-link {
    color: #fff !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: #ff7d44 !important;
    border-bottom: 0.2rem solid #ff7d44;
    padding: 2.6rem 1rem 2.4rem 1rem !important;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #ff7d44 !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/nhapsitrungviet/home/img/h2-1.webp");
    background-position: bottom left;
    background-repeat: no-repeat;
}
.navbar::after {
    content: "";
    display: block;
    background: #ff7d44;
    height: 100%;
    width: 50%;
    position: absolute;
    right: 0;
    z-index: 1;
}

.navbar .container {
    background-color: #0e4e5b;
    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;
    margin-top: 0px;
    border-left: 0.2rem solid #ff7d44;
}

.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: #ff7d44;
}

/* 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: #ff7d44;
    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: #ff7d44;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 2.11rem 1rem 2.11rem 1rem !important;
}

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

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

.manager-form a:hover {
    color: #0e4e5b;
    background-color: #fff;
}

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

/* Ảnh máy bay (vòng tròn) */
.plane-img {
    position: absolute;
    top: -30vw; /* Giảm độ cao */
    left: 0; /* Điều chỉnh để không bị sát lề */
    width: 18vw; /* Giảm kích thước mặc định */
    z-index: 2;
    animation: movePlan 1s ease-out forwards;
}

@keyframes movePlan {
    from {
        top: -30vw;
    }
    to {
        top: -5vw; /* Điều chỉnh để máy bay không quá cao */
    }
}

/* Ảnh xe tải */
.truck-img {
    position: absolute;
    bottom: 0;
    left: -50vw;
    max-width: 40vw;
    z-index: 2;
    animation: moveTruck 2s ease-out forwards;
}

@keyframes moveTruck {
    from {
        left: -50vw;
    }
    to {
        left: 0;
    }
}

/* Ảnh tàu */
.ship-img {
    position: absolute;
    bottom: 0;
    left: -50vw;
    max-width: 40vw;
    z-index: 1;
    animation: moveShip 2s ease-out forwards;
}

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

/* Responsive cho màn hình Full HD (1920px) */
@media (max-width: 1920px) {
    .plane-img {
        width: 16vw;
        top: -8vw;
    }
    .truck-img,
    .ship-img {
        max-width: 35vw;
    }
}

/* Responsive cho màn hình Laptop (1366px) */
@media (max-width: 1366px) {
    .plane-img {
        width: 14vw;
        top: -6vw;
    }
    .truck-img,
    .ship-img {
        max-width: 30vw;
    }
}

/* Responsive cho màn hình điện thoại */
@media (max-width: 768px) {
    .plane-img {
        width: 12vw;
        top: -4vw;
    }
    .truck-img,
    .ship-img {
        max-width: 25vw;
    }
}

/* 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: center;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    text-align: center;
    color: #fff;
}

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

.btn-orange:hover {
    background-color: #0f4f5c;
    color: #ff7d44;
}

/* Section chung */
.brand-logos {
    padding: 2rem 0;
    /* Khoảng cách trên dưới */
    background-color: #fff;
    /* 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: grayscale(100%);
    /* 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: none;
}

/* Section container */
.services-section {
    padding: 3rem 0;
    background-image: url("/sites/nhapsitrungviet/home/img/h2-16.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right center;
}

.services-section .sub-title {
    display: inline-block;
    background-color: #ff7d44;
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 0.25rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    border-radius: 1rem;
}

.services-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #073a3c;
    /* xanh đậm */
}

.services-section p {
    font-size: 1rem;
    color: #555;
    max-width: 500px;
}

.bullet-list {
    background-color: #fff;
    border-left: 4px solid #ff7d44;
    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: #ff7d44;
}

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

.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: #ff7d44;
    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/nhapsitrungviet/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: #ff7d44;
    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/nhapsitrungviet/home/img/ab1.webp") center/cover
        no-repeat;
    /* Nếu muốn fallback màu khi ảnh lỗi: background-color: #003B49; */
    overflow: hidden;
    /* che phần overlay tràn */
}

/* Overlay màu #003B49, độ mờ 0.84 */
.stats-section::before {
    content: "";
    position: absolute;
    inset: 0;
    /* top:0; right:0; bottom:0; left:0 */
    background-color: #003b49;
    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 #0fd2c9;
    /* 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: #fff;
}
.info-box h3 {
    font-size: 1.5rem;
    margin: 0.2rem 0;
    font-weight: 700;
    color: #fff;
}

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

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

.why-choose-us .sub-title {
    display: inline-block;
    background-color: #ff7d44;
    /* Đổi sang #FF7D44 */
    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;
}

/* Footer tổng */
.footer-section {
    background-color: #0f4f5c;
    /* Xanh đậm */
    color: #fff;
    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;
    /* chỉnh kích thước logo */
}

.footer-top h4 {
    margin: 0;
    font-weight: 600;
    font-size: 1.2rem;
    border-left: 0.3rem solid #ff7d44;
    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: #ff7d44;
    /* 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: #ff7d44;
    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;
}

.call-btn {
    background-color: #fff;
    color: #333;
    border: none;
    padding: 0.4rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

/* 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: #ff7d44;
    /* 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;
}


/* ---------- Ô 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.
 * Bảng màu của site: cam #ff7d44 cho nút, xanh đậm #073a3c cho chữ.
 */
.site-search {
    margin-top: 1.5rem;
    max-width: 620px;
    width: 100%;
}

.site-search-card {
    display: block;
    background: #fff;
    border: 0;
    border-radius: 14px;
    box-shadow: 0 18px 40px rgba(7, 58, 60, .22);
    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 #dbe6e8;
    border-radius: 10px;
    background: #fff;
    color: #073a3c;
    font-size: .95rem;
}

.site-search-input:focus {
    outline: none;
    border-color: #ff7d44;
    box-shadow: 0 0 0 .2rem rgba(255, 125, 68, .18);
}

.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: #ff7d44;
    color: #fff;
    font-weight: 700;
}

.site-search-btn:hover {
    background: #0f4f5c;
    color: #ff7d44;
}

.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 #dbe6e8;
    border-radius: 10px;
    background: #f5f9fa;
    color: #073a3c;
    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: #ff7d44;
    background: #fff;
}

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

.site-search-platform input:focus-visible + span {
    outline: 2px solid #ff7d44;
    outline-offset: 2px;
}

.site-search-note {
    color: #5b7378;
    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%;
    }
}

/* ============================================================
   Khối bổ sung cho trang chủ (tiền tố .tv-)
   ------------------------------------------------------------
   Đánh dấu ở resources/views/sites/nhapsitrungviet/index.blade.php.

   Ba khối tv-strengths / tv-guarantee / tv-steps dựng lại đúng hai section
   trước đây chỉ là ảnh img/temp.png chèn thẳng vào trang.

   Bảng màu theo đúng bộ đang dùng ở trên: teal #003b49 / #073a3c / #0f4f5c /
   #07847F và cam #ff7d44. Chữ Roboto, icon Font Awesome 5.
   ============================================================ */

.tv-head {
    max-width: 640px;
    margin-bottom: 2.5rem;
}

.tv-head--center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tv-head .sub-title,
.tv-steps .sub-title {
    display: inline-block;
    background-color: #ff7d44;
    color: #fff;
    border-radius: 1rem;
    padding: 0.3rem 0.8rem;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tv-head h2,
.tv-steps h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #073a3c;
    margin-bottom: 0.75rem;
}

.tv-head p,
.tv-steps > .container > .row p {
    color: #707070;
    margin: 0;
}

/* ---------- Tra cứu đơn ---------- */

.tv-track {
    padding: 1rem 0 3rem;
}

.tv-track-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem 2rem;
    background: linear-gradient(115deg, #003b49 0%, #0f4f5c 100%);
    border-radius: 1rem;
    padding: 2rem 2.25rem;
    overflow: hidden;
    position: relative;
}

/* Vệt cam cắt chéo, nhắc lại mô-típ cắt chéo của thanh điều hướng */
.tv-track-box::after {
    content: "";
    position: absolute;
    top: -40%;
    right: -6%;
    width: 220px;
    height: 200%;
    background: #ff7d44;
    opacity: 0.16;
    transform: skewX(-18deg);
    pointer-events: none;
}

.tv-track-text {
    position: relative;
    z-index: 1;
    flex: 1 1 320px;
}

.tv-track-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ff7d44;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.tv-track-text h2 {
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 0.35rem;
}

.tv-track-text p {
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

.tv-track-form {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.6rem;
    flex: 1 1 380px;
}

/* Ghi đè cỡ mặc định của .subscribe-input ở chân trang — cùng lớp, khác chỗ dùng */
.tv-track .tv-track-input {
    flex: 1 1 220px;
    min-width: 0;
    width: auto;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 0.95rem;
}

.tv-track .tv-track-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.tv-track .tv-track-input:focus {
    outline: none;
    border-color: #ff7d44;
    background: rgba(255, 255, 255, 0.16);
}

.tv-track .tv-track-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
    width: auto;
    height: auto;
    padding: 0.75rem 1.25rem;
    border: 0;
    border-radius: 0.5rem;
    background: #ff7d44;
    color: #fff;
    font-weight: 600;
}

.tv-track .tv-track-btn:hover {
    background: #ff6a2b;
    color: #fff;
}

.tv-track-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: #fff;
    font-size: 0.9rem;
    text-decoration: none;
}

.tv-track-all:hover {
    color: #ff7d44;
}

/* ---------- Ba thế mạnh ---------- */

.tv-strengths {
    padding: 1rem 0 3rem;
}

.tv-strengths-visual {
    position: relative;
    /* Bo một góc thật tròn: mô-típ hình khối hữu cơ dùng xuyên suốt trang */
    border-radius: 14rem 1rem 1rem 1rem;
    overflow: hidden;
    aspect-ratio: 7 / 5;
}

.tv-strengths-visual img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-strength-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 0;
}

/*
 * Vạch cam nối ba mốc. Neo vào ĐÚNG tâm vòng tròn icon (33px = nửa của 66px)
 * chứ không vẽ bằng một đường cong SVG có toạ độ cố định: chiều cao khối đổi
 * theo độ dài chữ, đường cong cố định sẽ trượt khỏi các chấm.
 */
.tv-strength-list::before {
    content: "";
    position: absolute;
    left: 33px;
    top: 3.5rem;
    bottom: 3.5rem;
    width: 2px;
    background: #ff7d44;
    z-index: 0;
}

.tv-strength {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.1rem 0;
    position: relative;
    z-index: 1;
}

/* Nền trắng đục để vòng tròn che vạch cam chạy phía sau */
.tv-strength-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 auto;
    width: 66px;
    height: 66px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #d8efee;
    box-shadow: 0 8px 20px rgba(0, 59, 73, 0.1);
    color: #07847f;
    font-size: 1.5rem;
}

.tv-strength-body h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #073a3c;
    margin: 0.35rem 0 0.4rem;
}

.tv-strength-body p {
    color: #707070;
    margin: 0;
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .tv-strength {
        padding: 1.6rem 0;
    }
}

/* ---------- Dải cam cam kết ---------- */

.tv-guarantee {
    padding: 1rem 0 3rem;
}

.tv-guarantee-box {
    position: relative;
    display: flex;
    align-items: stretch;
    background: #ff7d44;
    border-radius: 1rem;
    overflow: hidden;
    /* Viền nét đứt thụt vào trong, đúng như bản thiết kế trong temp.png */
    outline: 1px dashed rgba(255, 255, 255, 0.65);
    outline-offset: -12px;
}

.tv-guarantee-text {
    flex: 1 1 55%;
    padding: 2.5rem 2.5rem 2.5rem 3rem;
    color: #fff;
}

.tv-guarantee-text h2 {
    font-size: 1.9rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.6rem;
    max-width: 26ch;
}

.tv-guarantee-text p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 1.25rem;
    max-width: 46ch;
}

.tv-guarantee-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.4rem;
    border-radius: 2rem;
    background: #fff;
    color: #0f4f5c;
    font-weight: 700;
    text-decoration: none;
    transition: background-color 0.16s ease, color 0.16s ease;
}

.tv-guarantee-btn:hover {
    background: #003b49;
    color: #fff;
}

/* Ảnh bên phải cắt chéo, ăn theo mô-típ cắt chéo của thanh điều hướng */
.tv-guarantee-photo {
    flex: 1 1 45%;
    position: relative;
    min-height: 220px;
    clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
}

.tv-guarantee-photo img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Ba bước đặt hàng ---------- */

.tv-steps {
    padding: 2rem 0 3rem;
}

.tv-step-list {
    position: relative;
    list-style: none;
    padding: 0;
    margin: 3rem 0 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Đường cong cam vắt qua ba bước — ảnh gốc của bản thiết kế, chỉ hiện ở màn
   rộng vì dưới đó các bước xếp dọc, đường cong ngang không còn nghĩa gì. */
.tv-step-curve {
    display: none;
}

.tv-step {
    position: relative;
    z-index: 1;
}

/* Số mờ cỡ lớn phía sau, lấy lại đúng ý bản thiết kế cũ */
.tv-step-ghost {
    position: absolute;
    right: 0.5rem;
    top: -2.5rem;
    font-size: 6rem;
    font-weight: 700;
    line-height: 1;
    color: #07847f;
    opacity: 0.12;
    pointer-events: none;
}

.tv-step-photo {
    position: relative;
    border-radius: 1rem 1rem 1rem 4rem;
    overflow: hidden;
    aspect-ratio: 7 / 5;
    margin-bottom: 1.25rem;
}

.tv-step-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tv-step-badge {
    position: absolute;
    left: 0.9rem;
    bottom: 0.9rem;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #ff7d44;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 6px 14px rgba(255, 125, 68, 0.45);
}

.tv-step h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: #073a3c;
    margin: 0 0 0.4rem;
}

.tv-step p {
    color: #707070;
    margin: 0;
    font-size: 0.95rem;
}

/* Bậc thang đi lên như bản thiết kế: bước sau cao hơn bước trước */
@media (min-width: 992px) {
    .tv-step:nth-child(1) {
        margin-top: 5rem;
    }

    .tv-step:nth-child(2) {
        margin-top: 2.5rem;
    }

    /* Ép chiều cao (object-fit: fill) thay vì để ảnh tự co theo tỉ lệ: ảnh gốc
       rộng 925px, thả tự do thì nó cao hơn 400px và trôi lên khỏi ba bước. */
    .tv-step-curve {
        display: block;
        position: absolute;
        left: 9%;
        top: 1.5rem;
        width: 82%;
        height: 210px;
        object-fit: fill;
        z-index: 0;
        opacity: 0.75;
        pointer-events: none;
    }
}

/* ---------- Bảng giá ---------- */

.tv-price-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 2rem;
    border: 1px solid #e4eded;
    border-radius: 1rem;
    background: #fff;
    text-decoration: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.tv-price-card:hover {
    border-color: #ff7d44;
    box-shadow: 0 14px 30px rgba(0, 59, 73, 0.1);
    transform: translateY(-3px);
}

.tv-price-tag {
    align-self: flex-start;
    background: #e9f5f4;
    color: #07847f;
    border-radius: 1rem;
    padding: 0.25rem 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tv-price-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #073a3c;
    margin: 0 0 1rem;
}

.tv-price-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.tv-price-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: #707070;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.tv-price-cta {
    margin-top: auto;
    color: #ff7d44;
    font-weight: 700;
}

.tv-price-cta i {
    transition: transform 0.18s ease;
}

.tv-price-card:hover .tv-price-cta i {
    transform: translateX(4px);
}

/* ---------- Thông báo ---------- */

.tv-news {
    background: #f6fafa;
}

.tv-news-card {
    display: block;
    height: 100%;
    padding: 1.5rem;
    border: 1px solid #e4eded;
    border-left: 3px solid #ff7d44;
    border-radius: 0.75rem;
    background: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tv-news-card:hover {
    box-shadow: 0 14px 30px rgba(0, 59, 73, 0.1);
    transform: translateY(-3px);
}

/*
 * modal-alert.blade.php đọc data-title/data-content từ e.target, tức đúng phần
 * tử bị bấm. Bấm trúng chữ bên trong thì e.target là thẻ con và không có data —
 * chặn con nhận sự kiện để cú bấm nào cũng rơi về thẻ ngoài.
 */
.tv-news-card * {
    pointer-events: none;
}

.tv-news-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #07847f;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

.tv-news-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #073a3c;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.tv-news-card p {
    color: #707070;
    font-size: 0.9rem;
    margin: 0;
}

/* ---------- Hỏi đáp ---------- */

.tv-faq .accordion-item {
    border: 1px solid #e4eded;
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem;
    overflow: hidden;
}

.tv-faq .accordion-button {
    font-weight: 700;
    color: #073a3c;
    background: #fff;
    box-shadow: none;
}

.tv-faq .accordion-button:not(.collapsed) {
    background: #f0f8f7;
    color: #073a3c;
}

.tv-faq .accordion-button:focus {
    box-shadow: none;
    border-color: #ff7d44;
}

.tv-faq .accordion-body {
    color: #707070;
}

.tv-faq .accordion-body a {
    color: #ff7d44;
    font-weight: 600;
}

/* ---------- Kho và văn phòng ---------- */

.tv-depots {
    background: #f6fafa;
}

.tv-depot {
    height: 100%;
    padding: 1.75rem 1.5rem;
    border: 1px solid #e4eded;
    border-radius: 1rem;
    background: #fff;
}

.tv-depot-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e9f5f4;
    color: #07847f;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.tv-depot h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #073a3c;
    margin: 0 0 0.4rem;
}

.tv-depot p {
    color: #707070;
    font-size: 0.95rem;
    margin: 0 0 0.5rem;
}

.tv-depot a {
    color: #ff7d44;
    font-weight: 700;
    text-decoration: none;
}

.tv-depot a:hover {
    text-decoration: underline;
}

/* ---------- Màn hẹp ---------- */

@media (max-width: 991.98px) {
    .tv-step-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .tv-guarantee-box {
        flex-direction: column;
    }

    .tv-guarantee-text {
        padding: 2rem;
    }

    .tv-guarantee-photo {
        flex: 0 0 auto;
        min-height: 200px;
        clip-path: none;
    }

    .tv-strengths-visual {
        border-radius: 1rem;
        max-height: 320px;
    }
}

@media (max-width: 767.98px) {
    .tv-head h2,
    .tv-steps h2,
    .tv-track-text h2,
    .tv-guarantee-text h2 {
        font-size: 1.5rem;
    }

    .tv-step-list {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .tv-track-box {
        padding: 1.5rem;
    }

    .tv-track .tv-track-btn span {
        display: none;
    }

    .tv-step-ghost {
        font-size: 4.5rem;
        top: -1.75rem;
    }
}
