.surfacehero {
    height: 93vh; 
    position: relative; 
    display: flex;
    align-items: flex-end; 
    /* Thay đổi quan trọng: Bỏ padding cố định, dùng flex để căn giữa khối nội dung */
    padding: 0; 
    justify-content: center; 
    width: 100%;
}


.surfacehero-bg { position: absolute; inset: 0; z-index: -1; }

.surfacehero-bg img { width: 100%; height: 100%; object-fit: cover; }



.surfacehero-text { 
    color: #fff; 
    width: 100%;
    max-width: var(--container-max); /* Khóa chặt ở 1650px */
    margin: 0 auto; /* Ép vào giữa màn hình */
    padding: 0 var(--side-padding); /* Trả lại đúng 55px padding để chữ đứng đúng vị trí cũ */
    margin-bottom: 48px;
    z-index: 2;
    text-align: left; /* Đảm bảo chữ vẫn canh trái bên trong cái lồng 1650px */
}



.surfacehero-text h1
 { font-size: 60px; line-height: 1.1; margin-bottom: 40px; font-weight: 400; }


.surfacehero-text p { letter-spacing: 0px; font-size: 13px; margin-bottom: 35px; }

.mobile-only { 
    display: none !important; 
}

/* Mặc định trên Desktop: Giấu nút Mobile */
.mobile-menu-btn, .mobile-overlay { display: none; }



@media (max-width: 1024px) {
    .surfacehero {
        /* 1. Xóa bỏ chiều cao 75vh cũ */
        height: auto !important; 
        
        /* 2. Dùng min-height theo % chiều ngang màn hình (tương đương tỉ lệ 4:5) */
        /* Cách này giúp nó co giãn thông minh mà không bị ép cứng như aspect-ratio */
        min-height: 120vw !important; 
        
        /* 3. Đảm bảo ảnh nền luôn lấp đầy cái khung mới này */
        background-size: cover !important;
        background-position: center !important;

        /* GIỮ NGUYÊN TOÀN BỘ CẤU TRÚC CỦA MÀY */
        display: flex;
        flex-direction: column;
        justify-content: flex-end; 
        align-items: center;    
        text-align: center;
        padding: 0 20px;
        padding-bottom: 20px !important; 
        padding-left: 20px !important;
        padding-right: 20px !important;
        border-top: 1px solid #ffffff;
    }


    .surfacehero-text {
        padding: 0 !important; 
        margin: 0 auto !important;
        max-width: 100% !important; 
        width: 100% !important;
        
        /* Đảm bảo căn giữa tuyệt đối */
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
        margin-bottom: 20px !important; /* Khoảng cách so với đáy section 20px */
    }


    .surfacehero-text h1 {
        font-size: 28px; 
        font-weight: 400;
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .surfacehero-text p {
        font-size: 12px;
        letter-spacing: 0px;
        margin-bottom: 0px;
    }
}


/* TABLET: Dàn ngang ra tối ưu */
@media (min-width: 768px) and (max-width: 1024px) {
    .surfacehero {
        min-height: 56vw !important; /* Tỉ lệ ngang cho Tablet [cite: 2026-02-07] */
    }
}











.surface-finishing-section {
    padding-top: 80px; /* Tạo khoảng cách lớn với phần Hero trên cùng [cite: 2025-12-29] */
    padding-bottom: var(--section-gap);
}

/* 2. CỤM GIỚI THIỆU: Tách rời đoạn văn [cite: 2025-12-29] */
.surface-intro {
    max-width: 900px;
    margin-bottom: 70px; /* Khoảng cách từ intro xuống dòng "CÁC DẠNG BỀ MẶT" [cite: 2025-12-29] */
}

.surface-main-title {
    font-size: clamp(38px, 5vw, 50px);
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: 30px;
    max-width: 670px;
}

.surface-description p {
    font-size: 13px;
    line-height: 1.6;
    max-width: 670px;
    color: var(--color-black);
}

.surface-sub-label {
    font-size: 11px;
    letter-spacing: 1px;
    color: #2b2929;
    font-weight: 300;
    margin-bottom: 20px; 
    
    display: inline-block;
    width: 100%;
    text-transform: uppercase;
}



.finishing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 80px 40px; /* Khoảng cách dọc cực thoáng [cite: 2025-12-29] */
}

.finishing-card {
    display: flex;
    flex-direction: column;
}

.finishing-img-box {
    width: 100%;
    aspect-ratio: 6/7; /* Ảnh Portrait sâu thăm thẳm [cite: 2025-12-29] */
    margin-bottom: 25px;
    overflow: hidden;
}

.finishing-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

/* TYPOGRAPHY CHUẨN MẪU image_bc569a.jpg [cite: 2025-12-29] */
.finishing-title {
    font-family: var(--font-body);
    font-size: 17px; 
    line-height: 1.4;
    margin-bottom: 12px;
    font-weight: 500;
    color: var(--black);
}

.finishing-text {
    font-size: 12.5px; 
    line-height: 1.6;
    color: var(--black);
    max-width: 95%; 
}

/* MOBILE [cite: 2026-02-07] */
@media (max-width: 1024px) {
    .surface-finishing-section {
        padding-top: 40px !important; /* Chuẩn 40px Casa Mobile [cite: 2026-02-07] */
        padding-bottom: 40px !important;
        padding-left: 20px !important; /* Chuẩn lề 20px [cite: 2026-02-07] */
        padding-right: 20px !important;
    }
    
    .finishing-grid {
        grid-template-columns: 1fr; /* Mobile dồn 1 cột dọc [cite: 2025-12-29] */
        gap: 50px 0;
    }
}










/* --- FEATURES BAR --- */
.features-bar {
        margin-top: 40px;
        padding: 80px 0 !important; 
        background-color: #f6f6f6;
        border-top: 1px solid #f6f6f6;
        width: 100%;
        display: flex;
        justify-content: center; /* Đẩy cái container vào giữa */
    }


.features-bar .container {
        /* [MỎ NEO] Khóa chặt khung xương 1650px */
        width: 100% !important;
        max-width: var(--container-max) !important; 
        margin: 0 auto !important;
        /* Padding trái phải 55px để icon ngoài cùng không bị chạm mép 1650px */
        padding: 0 var(--side-padding) !important;
        box-sizing: border-box;
    }
    

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 cột đều nhau */
    gap: 40px;
    max-width: 100%; /* Giới hạn chiều rộng để không bị loãng */
    margin: 0 auto; /* Căn giữa màn hình */
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 10px;
}

.features-dots {
    display: none; /* Desktop vẫn ẩn */
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 20px 0; /* Tạo khoảng cách với vùng lướt */
    width: 100%;
    position: relative;
    z-index: 10;
}

/* Style cho Icon SVG */
.feature-icon {
    margin-bottom: 20px;
    color: #000;
}
.feature-icon svg {
    width: 32px;  /* Kích thước icon giống QUOC (nhỏ gọn) */
    height: 32px;
}

/* Tiêu đề mục */
.feature-item h3 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin: 0 0 10px 0;
    text-transform: none;
    letter-spacing: 1px;
}

/* Link bên dưới */
.feature-item a {
    font-family: 'Barlow', sans-serif; /* Font thường cho dễ đọc */
    font-size: 13px;
    color: #555;
    text-decoration: underline; /* Gạch chân giống QUOC */
    text-underline-offset: 4px; /* Gạch chân cách chữ ra một chút cho đẹp */
    transition: 0.3s;
}

.feature-item a:hover {
    color: #000; /* Rê chuột vào đen đậm lên */
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .features-bar {
        margin-top: 40px;
        padding: 40px 0; /* Giữ khoảng cách trên dưới vừa phải */
        overflow: hidden; /* Tránh bị tràn trang */
    }

    .features-grid {
        display: flex; /* Chuyển từ Grid sang Flex để các mục nằm trên 1 hàng ngang */
        overflow-x: auto; /* Cho phép cuộn ngang */
        scroll-snap-type: x mandatory; /* Hiệu ứng "hít" vào giữa mỗi mục khi lướt */
        gap: 0; /* Xóa khoảng cách grid */
        padding-bottom: 20px; /* Chừa chỗ cho thanh cuộn (nếu có) */
        
        /* Ẩn thanh cuộn (scrollbar) để nhìn cho sạch */
        -ms-overflow-style: none;  /* IE/Edge */
        scrollbar-width: none;  /* Firefox */
        -webkit-overflow-scrolling: touch; /* Giúp lướt trên iPhone mượt hơn */
    }

    /* Ẩn thanh cuộn trên Chrome/Safari */
    .features-grid::-webkit-scrollbar {
        display: none;
    }

    .feature-item {
        flex: 0 0 100%; /* Quan trọng: Mỗi mục chiếm đúng 100% chiều rộng màn hình */
        scroll-snap-align: center; 
        scroll-snap-stop: always;
        padding: 0 30px; 
        box-sizing: border-box;
    }

    .feature-icon svg {
        width: 28px; /* Cho icon nhỏ lại một chút trên mobile */
        height: 28px;
    }


    .features-dots {
        display: flex !important; 
    }

    .dot {
        width: 7px; /* To lên một chút cho dễ thấy */
        height: 7px;
        border-radius: 50%;
        background-color: #817c7c; /* Màu xám nhạt */
        display: block;
        transition: all 0.3s ease;
    }

    .dot.active {
        background-color: #000; /* Chấm đang chọn màu đen */
        transform: scale(1.3);
    }
}
