/* ==========================================================================
   1. VARIABLES (:root)
   ========================================================================== */
:root {
    /* Colors */
    --clr-primary: #059669;
    --clr-accent: #84CC16;
    --clr-text: #1A1A1E;
    --clr-muted: #6B7280;
    --clr-bg: #F8F9FA;
    --clr-white: #FFFFFF;
    --clr-border: rgba(0, 0, 0, 0.05);
    
    /* Typography */
    --font-sans: 'Poppins', sans-serif;
    --font-display: 'Poppins', sans-serif;
    
    /* Variables layout */
    --transition: 0.3s ease;
}

/* ==========================================================================
   2. RESET & BASE
   ========================================================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body { 
    font-family: var(--font-sans); 
    background-color: var(--clr-bg); 
    color: var(--clr-text); 
    line-height: 1.5; 
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    display: block;
}

/* ==========================================================================
   3. UTILITIES (Class dùng chung)
   ========================================================================== */
.container { 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 24px; 
}

.flex-between { 
    display: flex; 
    justify-content: space-between; 
    align-items: flex-end; 
}

.text-gradient { 
    background: linear-gradient(to right, var(--clr-primary), var(--clr-accent)); 
    -webkit-background-clip: text; 
    -webkit-text-fill-color: transparent; 
}

/* --- CĂN CHỈNH KHOẢNG CÁCH CHUẨN (CHA - CON) --- */
.section-header {
    margin-bottom: 56px; /* Khoảng cách chuẩn từ Tiêu đề đến Nội dung */
}

.section-header--center { 
    text-align: center; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
}

.section-title { 
    font-family: var(--font-display); 
    font-size: 2.25rem; 
    margin-bottom: 12px; 
}

.section-desc { 
    color: var(--clr-muted); 
    font-size: 1.125rem; 
    max-width: 600px; 
}

.section-desc--center { 
    text-align: center; 
    margin: 0 auto; 
}

/* ==========================================================================
   4. ANIMATIONS
   ========================================================================== */
@keyframes bounce {
    0%, 100% {
        transform: translateY(-25%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }
    50% {
        transform: translateY(0);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

@keyframes pulse { 
    0% { opacity: 1; } 
    50% { opacity: 0.5; } 
    100% { opacity: 1; } 
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Định nghĩa hiệu ứng chuyển động */
@keyframes slideInShrink {
    0% {
        transform: translateX(100%) scale(0.8); /* Bắt đầu từ phải, nhỏ lại */
        opacity: 0;
    }
    100% {
        transform: translateX(0) scale(1); /* Kết thúc đúng vị trí, kích thước đầy đủ */
        opacity: 1;
    }
}

/* ==========================================================================
   5. COMPONENTS (Buttons, Cards, Forms)
   ========================================================================== */
/* Buttons */
.btn { 
    display: inline-flex; 
    align-items: center; 
    justify-content: center; 
    gap: 8px; 
    font-family: inherit;
    font-weight: 600; 
    border-radius: 999px; 
    cursor: pointer; 
    border: none; 
    transition: var(--transition); 
}

.btn--primary { 
    background: var(--clr-primary); 
    color: white; 
    padding: 12px 24px; 
    box-shadow: 0 10px 15px -3px rgba(5,150,105,0.3); 
}

.btn--primary:hover { 
    transform: translateY(-2px); 
    opacity: 0.9; 
}

.btn--secondary { 
    background: rgba(0,0,0,0.05); 
    color: var(--clr-text); 
    padding: 12px 24px; 
}

.btn--secondary:hover { 
    background: rgba(0,0,0,0.1); 
}

.btn--small { 
    padding: 8px 20px; 
    font-size: 0.875rem; 
}

.btn--full { 
    width: 100%; 
    padding: 14px; 
}

/* Nút dạng Text tối giản (Dùng cho Learn More) */
.btn--text {
    background-color: var(--clr-text) !important;
    color: var(--clr-white) !important;
    padding: 12px 28px !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
    font-size: 0.938rem;
    font-weight: 600;
    margin-top: 16px;
    border-radius: 999px;
    display: inline-flex;
    justify-content: center;
}

.btn--text:hover {
    background-color: var(--clr-primary) !important;
    transform: translateY(-2px) !important;
}

.btn--text i {
    transition: transform 0.3s ease;
}

.btn--text:hover i {
    transform: translateX(4px);
}
/* Glass Card */
.glass-card { 
    background: rgba(255, 255, 255, 0.9); 
    backdrop-filter: blur(12px); 
    border: 1px solid var(--clr-border); 
    border-radius: 24px; 
}

/* Forms */
.form { 
    display: flex; 
    flex-direction: column; 
    gap: 24px; 
}

.form__row { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 24px; 
}

.form__group { 
    display: flex; 
    flex-direction: column; 
    gap: 8px; 
}

.form__label { 
    font-size: 0.75rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    color: var(--clr-muted); 
}

.form__input, 
.form__select, 
.form__textarea { 
    width: 100%; 
    background: rgba(0,0,0,0.05); 
    border: 1px solid rgba(0,0,0,0.1); 
    border-radius: 12px; 
    padding: 12px 16px; 
    font-family: inherit; 
    font-size: 1rem; 
    color: var(--clr-text); 
    outline: none; 
    transition: 0.2s; 
}

.form__input:focus, 
.form__select:focus, 
.form__textarea:focus { 
    border-color: var(--clr-primary); 
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1); 
}

.form__select { 
    appearance: none; 
    cursor: pointer; 
}

.form__textarea { 
    resize: none; 
    min-height: 100px; 
}

/* ==========================================================================
   6. LAYOUT SECTIONS
   ========================================================================== */

/* --- HEADER --- */
.header { 
    position: fixed; 
    top: 0; 
    width: 100%; 
    z-index: 50; 
    padding: 16px 0; /* Giảm padding từ 24px xuống 16px giúp thanh menu gọn gàng hơn */
    transition: var(--transition);
}

.header--scrolled { 
    background: rgba(248, 249, 250, 0.95); 
    backdrop-filter: blur(16px); 
    padding: 12px 0; /* Ép nhỏ menu lại thêm chút nữa khi cuộn trang */
    border-bottom: 1px solid var(--clr-border); 
}

.header__container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.header__logo { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-family: var(--font-display); 
    font-size: 1.5rem; 
    font-weight: 700; 
    text-decoration: none; 
    color: var(--clr-text); 
}

.header__logo-symbol { 
    background: var(--clr-primary); 
    color: white; 
    width: 32px; 
    height: 32px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    border-radius: 8px; 
    font-size: 1rem; 
}

.header__logo-brand--accent { 
    color: var(--clr-primary); 
}

.nav__list { 
    display: flex; 
    gap: 32px; 
    list-style: none; 
    align-items: center; 
}

.nav__link { 
    text-decoration: none; 
    font-size: 0.875rem; 
    font-weight: 500; 
    color: var(--clr-muted); 
    transition: 0.2s; 
}

.nav__link:hover { 
    color: var(--clr-primary); 
}
/* --- ICON GIỎ HÀNG & TÀI KHOẢN TRÊN NAVBAR --- */
.nav__divider {
    width: 1px;
    height: 24px;
    background-color: var(--clr-border);
    margin: 0 8px; /* Tạo khoảng cách 2 bên vách ngăn */
}

.nav__icon-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-muted);
    text-decoration: none;
    transition: var(--transition);
    padding: 4px;
}

.nav__icon-btn i {
    width: 20px;
    height: 20px;
    transition: transform 0.2s ease;
}

.nav__icon-btn:hover {
    color: var(--clr-primary);
}

.nav__icon-btn:hover i {
    transform: scale(1.1); /* Phóng to nhẹ khi rê chuột vào */
}

/* Chấm đỏ đếm số lượng giỏ hàng */
.nav__cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    background-color: #EF4444; /* Màu đỏ nổi bật */
    color: white;
    font-size: 0.625rem; /* ~10px */
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.3);
}

/* --- HERO --- */
.hero { 
    position: relative; 
    /* Đã xóa min-height: 100vh và align-items: center để nội dung không bị trôi ra giữa màn hình to */
    padding: 130px 0 80px; /* Chốt cứng khoảng cách từ đỉnh trang xuống khối nội dung là 130px */
    overflow: hidden; 
}

.hero__bg-blob-1 { 
    position: absolute; 
    top: 10%; 
    left: -5rem; 
    width: 24rem; 
    height: 24rem; 
    background: rgba(5, 150, 105, 0.2); 
    border-radius: 50%; 
    filter: blur(120px); 
    z-index: -1; 
}

.hero__bg-blob-2 { 
    position: absolute; 
    bottom: 25%; 
    right: -5rem; 
    width: 24rem; 
    height: 24rem; 
    background: rgba(132, 204, 22, 0.1); 
    border-radius: 50%; 
    filter: blur(120px); 
    z-index: -1; 
}

.hero__grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 48px; 
    align-items: center; 
}

.hero__badge { 
    display: inline-flex; 
    align-items: center; 
    gap: 8px; 
    padding: 6px 12px; 
    background: rgba(0, 0, 0, 0.05); 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 999px; 
    font-size: 0.75rem; 
    font-weight: 500; 
    color: var(--clr-primary); 
    margin-bottom: 24px; 
}

.hero__badge-dot { 
    width: 8px; 
    height: 8px; 
    background: var(--clr-primary); 
    border-radius: 50%; 
    animation: pulse 2s infinite; 
}

.hero__title { 
    font-family: var(--font-display); 
    font-size: 4rem; 
    line-height: 1.1; 
    margin-bottom: 24px; 
}

.hero__description { 
    font-size: 1.125rem; 
    color: var(--clr-muted); 
    margin-bottom: 32px; 
    max-width: 500px; 
}

.hero__actions { 
    display: flex; 
    gap: 16px; 
}

.hero__visual {
    position: relative;
}

.hero__image-wrapper { 
    position: relative; 
    aspect-ratio: 1/1; 
    border-radius: 24px; 
    overflow: hidden; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); 
}

.hero__image { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
}

.hero__features {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 24px;
    margin-top: 40px;
}

.hero__feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--clr-muted);
}

.hero__feature-item i {
    color: var(--clr-primary);
    width: 18px;
    height: 18px;
}

.hero__floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    padding: 16px 24px;
    border-radius: 16px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--clr-border);
    z-index: 10;
    animation: float 5s ease-in-out infinite;
}

.hero__floating-card--tr {
    top: -24px;
    right: -24px;
}

.hero__floating-card--bl {
    bottom: -24px;
    left: -24px;
    animation-delay: 1.5s; 
}

.hero__floating-number {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--clr-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.hero__floating-number--accent {
    color: var(--clr-accent);
}

.hero__floating-text {
    font-size: 0.75rem;
    color: var(--clr-muted);
}

/* --- STATS (Thống kê) --- */
.stats {
    padding: 64px 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Mặc định 4 cột trên máy tính */
    gap: 32px;
}

.stats__item {
    text-align: center;
}

.stats__value {
    font-family: var(--font-display);
    font-size: 2.5rem; /* Kích thước số to, nổi bật */
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}

.stats__label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive cho phần Stats khi xuống màn hình nhỏ */
@media (max-width: 768px) {
    .stats__grid {
        grid-template-columns: repeat(2, 1fr); /* 2 cột trên Tablet */
        gap: 40px 24px;
    }
}

/* --- SERVICES --- */
.services {
    padding: 80px 0;
    background-color: var(--clr-bg);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.service-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border-color: rgba(5, 150, 105, 0.2);
}

.service-card__icon-box {
    width: 56px;
    height: 56px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--clr-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.service-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--clr-text);
}

.service-card__desc {
    font-size: 0.938rem;
    color: var(--clr-muted);
    margin-bottom: 32px;
    flex-grow: 1; 
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.service-card__link:hover {
    gap: 12px; 
    opacity: 0.8;
}

/* ==========================================================================
   SOLUTIONS (Giải pháp in ấn chuyên nghiệp - Vòng xoay)
   ========================================================================== */
.solutions {
    padding: 100px 0;
    background-color: var(--clr-white);
    overflow: hidden; /* Tránh tràn viền khi ảnh văng ra ngoài */
}

.solutions__badge {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--clr-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.solutions__grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Chia đều 2 cột trên máy tính */
    gap: 80px;
    align-items: center;
    margin-top: 80px; /* Đẩy xuống để thẻ top không bị lẹm vào tiêu đề */
}

/* --- VÒNG XOAY THEO KIM ĐỒNG HỒ --- */
.solutions__visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.solutions__orbit {
    position: relative;
    width: 320px; 
    height: 320px;
    border-radius: 50%;
    border: 2px dashed rgba(5, 150, 105, 0.2); 
    /* Trục xoay nhận giá trị từ JS */
    transform: rotate(var(--orbit-angle, 0deg));
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1); 
}

.solutions__center-glow {
    position: absolute;
    top: 50%; 
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px; 
    height: 140px;
    background: var(--clr-primary);
    border-radius: 50%;
    opacity: 0.08;
    filter: blur(40px);
    pointer-events: none;
}

/* Thẻ hình ảnh tĩnh gọn gàng */
.solutions__card {
    position: absolute;
    width: 180px;
    height: 130px;
    border-radius: 16px;
    overflow: hidden;
    background-color: #000;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    /* Xoay ngược thẻ để luôn đứng thẳng */
    transform: rotate(calc(var(--orbit-angle, 0deg) * -1)) scale(1);
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1), border 0.3s, box-shadow 0.3s;
}

/* Hiệu ứng khi thẻ được Active */
.solutions__card--active {
    transform: rotate(calc(var(--orbit-angle, 0deg) * -1)) scale(1.15);
    border-color: var(--clr-primary);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.2);
    z-index: 10;
}

/* Căn vị trí 4 góc tuyệt đối chính xác cho vòng tròn 320px, thẻ 180x130 */
.solutions__card--top { top: -65px; left: calc(50% - 90px); }
.solutions__card--right { right: -90px; top: calc(50% - 65px); }
.solutions__card--bottom { bottom: -65px; left: calc(50% - 90px); }
.solutions__card--left { left: -90px; top: calc(50% - 65px); }

/* Phủ Gradient mờ dưới đáy thẻ để nổi bật chữ */
.solutions__card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%);
    pointer-events: none;
}

.solutions__card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    opacity: 0.6;
    transition: var(--transition);
}

.solutions__card--active .solutions__card-img,
.solutions__card:hover .solutions__card-img {
    opacity: 1;
}

.solutions__card-title {
    position: absolute;
    bottom: 12px; 
    left: 12px; 
    right: 12px;
    color: var(--clr-white);
    font-size: 0.875rem;
    font-weight: 700;
    z-index: 2;
    line-height: 1.2;
    text-align: left;
}

/* --- NỘI DUNG BÊN PHẢI --- */
.solutions__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.solutions__content-inner {
    transition: opacity 0.3s ease;
}

.solutions__heading {
    font-size: 1.25rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.solutions__subheading {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--clr-text);
    margin-bottom: 16px;
    font-weight: 700;
}

.solutions__desc {
    color: var(--clr-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

/* ĐÃ FIX: Xóa dấu chấm tròn mặc định của HTML */
.solutions__list {
    list-style: none; 
    padding: 0;
    margin: 0 0 32px 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.solutions__list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--clr-muted);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.solutions__list-item i {
    width: 16px; 
    height: 16px;
    color: var(--clr-muted);
    transition: var(--transition);
}

.solutions__list-item:hover,
.solutions__list-item--active {
    color: var(--clr-primary);
}

.solutions__list-item--active i {
    color: var(--clr-primary);
    transform: translateX(4px); /* Nhích mũi tên nhẹ sang phải */
}

/* Các dấu chấm slide */
.solutions__dots {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
}

.solutions__dot {
    width: 10px;  /* Tăng kích thước nhẹ cho dễ nhìn/dễ bấm */
    height: 10px;
    background-color: #D1D5DB; /* Nền xám rõ nét hơn cho các nút chưa chọn */
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.solutions__dot:hover {
    background-color: #9CA3AF; /* Xám đậm hơn nữa khi rê chuột vào */
    transform: scale(1.1);
}

.solutions__dot--active {
    width: 28px; /* Kéo dài thành viên thuốc */
    background-color: var(--clr-primary); /* Màu xanh lá cho nút đang hiển thị */
    border-radius: 100px;
}

.solutions__dot--active:hover {
    background-color: var(--clr-primary);
    transform: scale(1); /* Đang chọn thì không phóng to khi hover */
}

/* --- RESPONSIVE CHO SOLUTIONS --- */
@media (max-width: 1024px) {
    .solutions__grid { 
        grid-template-columns: 1fr; /* Xuống 1 cột trên Mobile/Tablet */
        gap: 60px; 
        margin-top: 60px;
    }
    .solutions__visual { 
        height: 400px; 
    }
    .solutions__orbit { 
        width: 260px; 
        height: 260px; 
    }
    .solutions__card { 
        width: 140px; 
        height: 100px; 
    }
    /* Tính toán lại 4 góc khi thu nhỏ trên Mobile */
    .solutions__card--top {
        top: -50px; left: calc(50% - 70px);
    }
    .solutions__card--right {
        right: -70px; top: calc(50% - 50px);
    }
    .solutions__card--bottom {
        bottom: -50px; left: calc(50% - 70px);
    }
    .solutions__card--left {
        left: -70px; top: calc(50% - 50px); }
}

/* --- PRODUCTS --- */
.products { 
    padding: 80px 0; 
    background: rgba(255, 255, 255, 0.5); 
}

.products__header { 
    margin-bottom: 56px; /* Dùng chung quy chuẩn 56px với .section-header */
}

.products__grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 32px; 
}

.product-card {
    background: var(--clr-white);
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 20px; 
    padding: 12px;
    transition: var(--transition);
    display: flex;
    flex-direction: column;

    /* 2. Thêm bóng mờ mặc định tinh tế để tạo chiều sâu và làm cho khối rõ hơn */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.03), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
}

.product-card__image-box { 
    position: relative; 
    aspect-ratio: 1/1; 
    border-radius: 16px; 
    overflow: hidden; 
    margin-bottom: 16px; 
}

.product-card__img { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.7s ease; 
}
.product-card:hover {
    transform: translateY(-8px); /* Nảy lên nhẹ */
    
    /* Bóng mờ đậm hơn khi hover để tạo chiều sâu */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05); 
    
    /* Đổi màu viền sang màu primary nhạt khi hover */
    border-color: rgba(5, 150, 105, 0.2); 
}

.product-card:hover .product-card__img { 
    transform: scale(1.1); 
}

.product-card__tag { 
    position: absolute; 
    top: 16px; 
    left: 16px; 
    background: rgba(5, 150, 105, 0.9); 
    backdrop-filter: blur(4px); 
    color: white; 
    padding: 4px 12px; 
    border-radius: 999px; 
    font-size: 0.625rem; 
    font-weight: 700; 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    z-index: 2; 
}

.product-card__overlay { 
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.4); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    opacity: 0; 
    transition: var(--transition); 
    z-index: 1; 
}

.product-card:hover .product-card__overlay { 
    opacity: 1; 
}

.product-card__plus { 
    width: 48px; 
    height: 48px; 
    background: white; 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: black; 
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2); 
}

.product-card__name { 
    font-size: 1.125rem; 
    font-weight: 600; 
    margin-bottom: 4px; 
}

.product-card__desc { 
    font-size: 0.875rem; 
    color: var(--clr-muted); 
    margin-bottom: 8px; 
    display: -webkit-box; 
    -webkit-line-clamp: 2; 
    -webkit-box-orient: vertical; 
    overflow: hidden; 
}

.product-card__price { 
    font-weight: 700; 
    color: var(--clr-primary); 
}

/* --- PROCESS --- */
.process {
    padding: 80px 0;
    background: var(--clr-white); 
}

.process__wrapper {
    position: relative;
    /* margin-top: 60px; (Đã dùng .section-header margin-bottom thay thế) */
}

.process__line {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.process__grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    position: relative;
    z-index: 2;
}

.process-step {
    text-align: center;
}

.process-step__icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    position: relative;
    background: var(--clr-white);
}

.process-step__icon-box {
    width: 100%;
    height: 100%;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-primary);
    transition: var(--transition);
}

.process-step:hover .process-step__icon-box {
    border-color: rgba(5, 150, 105, 0.3);
    box-shadow: 0 10px 20px rgba(5, 150, 105, 0.1);
}

.process-step__number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 28px;
    height: 28px;
    background: var(--clr-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
}

.process-step__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--clr-text);
}

.process-step__desc {
    font-size: 0.813rem;
    color: var(--clr-muted);
    padding: 0 10px;
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .process__line { display: none; } 
    .process__grid { grid-template-columns: repeat(3, 1fr); gap: 40px; }
}

@media (max-width: 768px) {
    .process__grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- PRICING --- */
.pricing {
    padding: 80px 0;
    background-color: var(--clr-white);
}

.pricing__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.pricing-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 24px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
}

.pricing-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-8px);
}

.pricing-card--popular {
    border-color: var(--clr-primary);
}

.pricing-card__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 8px;
}

.pricing-card__desc {
    font-size: 0.875rem;
    color: var(--clr-muted);
    margin-bottom: 24px;
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--clr-primary);
    margin-bottom: 32px;
}

.pricing-card__features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card__item {
    font-size: 0.938rem;
    color: var(--clr-text);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-card__item i {
    color: var(--clr-primary);
}

.pricing-card__btn {
    margin-top: auto;
}

/* ==========================================================================
   TEAM (Đội ngũ nhân viên)
   ========================================================================== */
.team {
    padding: 40px 0 20px;
    background-color: var(--clr-white);
}

.team__header {
    margin-bottom: 30px;
    padding-left: 16px;
    border-left: 4px solid var(--clr-primary); /* Đường kẻ dọc màu xanh */
}

.team__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--clr-text);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.team__desc {
    color: var(--clr-muted);
    font-size: 0.938rem;
}

/* Thanh trượt ngang */
.team__slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 16px 0 16px;
    scroll-snap-type: x mandatory;
   scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.team__slider::-webkit-scrollbar {
    display: none;
}

/* Thẻ nhân viên */
.team-card {
    flex: 0 0 180px; 
    scroll-snap-align: start;
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.team-card:hover {
    transform: translateY(-8px) scale(1.02); /* Vừa nảy lên vừa phóng to nhẹ */
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: rgba(5, 150, 105, 0.3);
}

.team-card__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 14px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.team-card__name {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--clr-text);
}

.team-card__role {
    font-size: 0.875rem;
    color: var(--clr-muted);
    margin-bottom: 24px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

/* Các nút liên hệ nhanh */
.team-card__actions {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 0.813rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}

.btn-action i {
    width: 14px;
    height: 14px;
}

/* Nút Gọi */
.btn-action--call {
    background-color: rgba(5, 150, 105, 0.08);
    color: var(--clr-primary);
}

.btn-action--call:hover {
    background-color: var(--clr-primary);
    color: white;
}

/* Nút Zalo */
.btn-action--zalo {
    background-color: rgba(37, 99, 235, 0.08);
    color: #2563EB; /* Màu xanh biển của Zalo */
}

.btn-action--zalo:hover {
    background-color: #2563EB;
    color: white;
}

/* --- TESTIMONIALS --- */
.testimonials {
    padding: 80px 0;
    background-color: var(--clr-bg);
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--clr-white);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 40px;
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transform: translateY(-4px);
}

.testimonial-card__content {
    font-size: 1.125rem;
    font-style: italic;
    color: var(--clr-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.testimonial-card__user {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    background: rgba(5, 150, 105, 0.15);
    color: var(--clr-primary);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.testimonial-card__name {
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 4px;
}

.testimonial-card__role {
    font-size: 0.75rem;
    color: var(--clr-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- NEWS --- */
.news {
    padding: 80px 0;
    background-color: var(--clr-white);
}

.news__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.blog-card {
    text-decoration: none;
    display: block;
    color: inherit;
}

.blog-card__image-wrapper {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 20px;
}

.blog-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.blog-card:hover .blog-card__img {
    transform: scale(1.05);
}

.blog-card__tag {
    position: absolute;
    top: 16px; 
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clr-text);
    letter-spacing: 1px;
}

.blog-card__meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.813rem;
    color: var(--clr-muted);
    margin-bottom: 12px;
}

.blog-card__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--clr-text);
    margin-bottom: 12px;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-card__title {
    color: var(--clr-primary);
}

.blog-card__desc {
    font-size: 0.938rem;
    color: var(--clr-muted);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--clr-primary);
    transition: var(--transition);
}

.blog-card:hover .blog-card__link {
    gap: 12px;
}
/* --- CONTACT (Liên hệ & Báo giá) --- */
.contact {
    padding: 80px 0;
    background-color: rgba(0, 0, 0, 0.02); /* Màu nền xám cực nhạt để tách biệt với News */
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact__desc {
    margin-bottom: 48px;
}

.contact__methods {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact__method {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.contact__method-icon {
    width: 48px;
    height: 48px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--clr-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact__method-label {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-muted);
    margin-bottom: 4px;
}

.contact__method-value {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--clr-text);
    line-height: 1.5;
}

.contact__form-wrapper {
    padding: 40px;
    background: var(--clr-white); /* Nền trắng đục cho form nổi bật */
}

.contact__upload-box {
    border: 2px dashed rgba(0,0,0,0.15);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background-color: var(--clr-white);
}

.contact__upload-box:hover {
    border-color: var(--clr-primary);
    background-color: rgba(5, 150, 105, 0.02);
}

.contact__upload-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--clr-muted);
}

.contact__upload-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--clr-text);
    margin-bottom: 4px;
}

.contact__upload-hint {
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-muted);
}

.contact__form-note {
    font-size: 0.625rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--clr-muted);
    margin-top: 16px;
}

.hidden {
    display: none !important;
}

@media (max-width: 1024px) {
    .contact__grid {
        grid-template-columns: 1fr; /* Xuống 1 cột trên màn hình nhỏ */
    }
}

/* --- FOOTER --- */
.footer {
    background-color: var(--clr-text); /* Nền màu tối #1A1A1E */
    color: var(--clr-white);
    padding: 80px 0 40px;
}

/* Đổi logo thành màu trắng trong Footer */
.footer .header__logo-brand {
    color: var(--clr-white);
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 48px;
    margin-bottom: 64px;
}

.footer__desc {
    color: rgba(255, 255, 255, 0.7); /* Xám sáng để dễ đọc */
    font-size: 0.875rem;
    margin: 24px 0;
    line-height: 1.6;
}

.footer__socials {
    display: flex;
    gap: 16px;
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1); /* Nút icon sáng nhẹ */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-white);
    transition: var(--transition);
    text-decoration: none;
}

.footer__social-link:hover {
    background: var(--clr-primary);
    color: var(--clr-white);
    transform: translateY(-2px);
}

.footer__social-link i { 
    width: 18px; 
    height: 18px; 
}

.footer__title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--clr-white);
}

.footer__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer__link {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer__link:hover { 
    color: var(--clr-accent); 
}

.footer__newsletter {
    display: flex;
    gap: 8px;
}

.footer__input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.875rem;
    color: var(--clr-white);
    outline: none;
    transition: 0.2s;
}

.footer__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.footer__input:focus { 
    border-color: var(--clr-primary); 
    background: rgba(255, 255, 255, 0.15);
}

.footer__bottom {
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer__copyright { 
    color: rgba(255, 255, 255, 0.5); 
    font-size: 0.75rem; 
}

.footer__legal { 
    display: flex; 
    gap: 24px; 
}

/* ==========================================================================
   7. OVERLAYS (Modal, Chatbot)
   ========================================================================== */

/* --- QUOTE MODAL --- */
.modal { 
    position: fixed; 
    inset: 0; 
    z-index: 9999; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    padding: 16px; 
    opacity: 0; 
    pointer-events: none; 
    transition: 0.3s ease; 
}

.modal--active { 
    opacity: 1; 
    pointer-events: auto; 
}

.modal__backdrop { 
    position: absolute; 
    inset: 0; 
    background: rgba(0, 0, 0, 0.6); 
    backdrop-filter: blur(4px); 
}

.modal__container { 
    position: relative; 
    width: 100%; 
    max-width: 672px; 
    transform: translateY(20px) scale(0.95); 
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); 
    background: var(--clr-bg); 
}

.modal--active .modal__container { 
    transform: translateY(0) scale(1); 
}

.modal__header { 
    padding: 24px; 
    border-bottom: 1px solid var(--clr-border); 
    background: var(--clr-white); 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-radius: 24px 24px 0 0; 
}

.modal__title { 
    font-size: 1.25rem; 
    font-weight: 700; 
}

.modal__subtitle { 
    font-size: 0.75rem; 
    color: var(--clr-muted); 
    text-transform: uppercase; 
    letter-spacing: 1px; 
    margin-top: 4px; 
}

.modal__close { 
    background: none; 
    border: none; 
    cursor: pointer; 
    color: var(--clr-muted); 
    padding: 8px; 
    border-radius: 50%; 
    transition: 0.2s; 
}

.modal__close:hover { 
    background: rgba(0, 0, 0, 0.05); 
    color: var(--clr-text); 
}

.modal__body { 
    padding: 32px; 
    max-height: 80vh; 
    overflow-y: auto; 
}

/* --- AI CHATBOT --- */
.chatbot { 
    position: fixed; 
    bottom: 32px; 
    right: 32px; 
    z-index: 9000; 
    display: flex; 
    flex-direction: column; 
    align-items: flex-end; 
}

.chatbot__trigger {
    position: relative; 
    width: 56px; 
    height: 56px; 
    border-radius: 50%; 
    background: var(--clr-primary); 
    color: white; 
    border: none; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    box-shadow: 0 20px 25px -5px rgba(5, 150, 105, 0.4); 
    cursor: pointer; 
    transition: var(--transition); 
}

.chatbot__trigger:hover { 
    transform: scale(1.1); 
}

.chatbot__dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 16px;
    height: 16px;
    background-color: var(--clr-accent);
    border: 3px solid var(--clr-bg);
    border-radius: 50%;
    animation: bounce 1s infinite;
}

.chatbot__window--active ~ .chatbot__trigger .chatbot__dot {
    display: none;
}

.chatbot__window { 
    width: 350px; 
    height: 500px; 
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px); 
    border: 1px solid var(--clr-border); 
    border-radius: 24px; 
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); 
    display: flex; 
    flex-direction: column; 
    overflow: hidden; 
    margin-bottom: 20px; 
    opacity: 0; 
    pointer-events: none; 
    transform: translateY(20px) scale(0.95); 
    transition: 0.3s cubic-bezier(0.16, 1, 0.3, 1); 
    transform-origin: bottom right; 
}

.chatbot__window--active { 
    opacity: 1; 
    pointer-events: auto; 
    transform: translateY(0) scale(1); 
}

.chatbot__header { 
    background: var(--clr-primary); 
    color: white; 
    padding: 16px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}

.chatbot__header-info { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.chatbot__avatar { 
    width: 32px; 
    height: 32px; 
    background: rgba(0, 0, 0, 0.2); 
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

.chatbot__name { 
    font-size: 0.875rem; 
    font-weight: 700; 
}

.chatbot__status { 
    font-size: 0.625rem; 
    opacity: 0.8; 
}

.chatbot__close { 
    background: none; 
    border: none; 
    color: white; 
    cursor: pointer; 
    transition: 0.2s; 
}

.chatbot__close:hover { 
    transform: rotate(90deg); 
}

.chatbot__body { 
    flex: 1; 
    padding: 16px; 
    overflow-y: auto; 
    display: flex; 
    flex-direction: column; 
    gap: 16px; 
}

.chat-msg { 
    max-width: 80%; 
    padding: 12px; 
    font-size: 0.875rem; 
    border-radius: 16px; 
}

.chat-msg--ai { 
    align-self: flex-start; 
    background: rgba(0, 0, 0, 0.05); 
    color: var(--clr-text); 
    border-top-left-radius: 4px; 
    border: 1px solid var(--clr-border); 
}

.chat-msg--user { 
    align-self: flex-end; 
    background: var(--clr-primary); 
    color: white; 
    border-top-right-radius: 4px; 
}

.chatbot__footer { 
    padding: 16px; 
    background: var(--clr-bg); 
    border-top: 1px solid var(--clr-border); 
    display: flex; 
    gap: 8px; 
    position: relative; 
}

.chatbot__input { 
    flex: 1; 
    background: rgba(0, 0, 0, 0.05); 
    border: 1px solid rgba(0, 0, 0, 0.1); 
    border-radius: 999px; 
    padding: 8px 16px; 
    font-size: 0.875rem; 
    outline: none; 
}

.chatbot__input:focus { 
    border-color: var(--clr-primary); 
}

.chatbot__send { 
    position: absolute; 
    right: 20px; 
    top: 50%; 
    transform: translateY(-50%); 
    width: 32px; 
    height: 32px; 
    border-radius: 50%; 
    background: var(--clr-primary); 
    border: none; 
    color: white; 
    cursor: pointer; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
}

body.chatbot-is-open .scroll-top {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(20px) !important;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON (Nút lên đầu trang)
   ========================================================================== */
.scroll-top {
    position: fixed;
    bottom: 104px;
    right: 36px;
    width: 48px;
    height: 48px;
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 15px -3px rgba(5, 150, 105, 0.3);
    cursor: pointer;
    z-index: 9999;
    
    /* Ẩn nút an toàn tuyệt đối */
    opacity: 0;
    visibility: hidden; 
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.scroll-top i {
    width: 20px;
    height: 20px;
}

/* Class kích hoạt hiện nút */
.scroll-top.is-show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background-color: var(--clr-accent);
    transform: translateY(-4px);
    box-shadow: 0 15px 20px -3px rgba(132, 204, 22, 0.4);
}