/*
Theme Name: Tinh bột hẹ
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/* --- PHẦN STYLE CHO LANDING PAGE (ĐỪNG XÓA) --- */

/* Thiết lập cơ bản */
.hht-container {
    max-width: 900px; /* Rộng tối đa, dễ đọc trên máy tính */
    margin: 0 auto;
    padding: 15px;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
    box-sizing: border-box;
}
.hht-container *, .hht-container *::before, .hht-container *::after {
    box-sizing: border-box;
}

/* Khu vực chung */
.hht-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}
.hht-h2 {
    font-size: 28px;
    color: #005a9e; /* Màu xanh chuyên nghiệp */
    text-align: center;
    margin-bottom: 20px;
    font-weight: 700;
}
.hht-h3 {
    font-size: 20px;
    color: #005a9e;
    font-weight: 600;
}

/* KHU VỰC 1: ABOVE THE FOLD (QUAN TRỌNG NHẤT) */
.hht-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
    flex-wrap: wrap; /* Cho di động */
}
.hht-logo {
    font-size: 24px;
    font-weight: bold;
    color: #005a9e;
    text-decoration: none;
}
.hht-hotline-top {
    font-size: 24px;
    font-weight: bold;
    color: #d00;
    text-decoration: none;
    text-align: right;
}
.hht-hotline-top span {
    font-size: 16px;
    display: block;
    color: #555;
}

.hht-h1 {
    font-size: 32px;
    font-weight: 800;
    text-align: center;
    color: #d00; /* Màu đỏ nổi bật */
    margin-top: 10px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hht-commitments {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin: 20px 0;
    flex-wrap: wrap;
}
.hht-commit-item {
    flex-basis: 30%; /* 3 cột */
    padding: 10px;
    font-size: 18px;
    font-weight: 600;
}
.hht-commit-item span {
    font-size: 40px; /* Icon */
    display: block;
    margin-bottom: 10px;
}

/* Nút CTA Chính (Call to Action) */
.hht-cta-main {
    display: block;
    width: 100%;
    background-color: #d00; /* Đỏ rực */
    color: #fff !important;
    padding: 20px;
    text-align: center;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    border-bottom: 4px solid #a00;
    animation: hht-pulse 1.5s infinite;
}
.hht-cta-main:hover {
    background-color: #e00;
}

/* Animation cho nút CTA */
@keyframes hht-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.03); }
    100% { transform: scale(1); }
}

/* KHU VỰC 2: BẢNG GIÁ */
.hht-pricing-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
.hht-pricing-table th, .hht-pricing-table td {
    border: 1px solid #ccc;
    padding: 12px;
    text-align: left;
}
.hht-pricing-table th {
    background-color: #f4f4f4;
    font-size: 18px;
}
.hht-pricing-table td {
    font-size: 16px;
}
.hht-pricing-table .price {
    font-weight: bold;
    color: #d00;
    font-size: 18px;
}
.hht-price-commitment {
    text-align: center;
    font-style: italic;
    color: #555;
    margin-top: 15px;
    font-size: 16px;
}

/* KHU VỰC 3: NĂNG LỰC */
.hht-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Khoảng cách giữa các ảnh */
    justify-content: center;
}
.hht-gallery img {
    width: 100%;
    max-width: 280px; /* 3 ảnh 1 hàng */
    height: auto;
    border: 2px solid #ccc;
    border-radius: 5px;
}

/* KHU VỰC 4: QUY TRÌNH */
.hht-process-list {
    list-style-type: none;
    padding-left: 0;
    counter-reset: process-counter; /* Tạo bộ đếm */
}
.hht-process-list li {
    position: relative;
    padding: 15px 15px 15px 60px; /* Khoảng cách cho số */
    margin-bottom: 10px;
    background: #f9f9f9;
    border: 1px solid #eee;
    font-size: 18px;
}
.hht-process-list li::before {
    counter-increment: process-counter; /* Tăng bộ đếm */
    content: counter(process-counter); /* Hiển thị số */
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    background: #005a9e;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* KHU VỰC 5: NỘI DUNG SEO & KHU VỰC */
.hht-wards-list {
    list-style-type: none;
    padding-left: 0;
    column-count: 2; /* 2 cột trên desktop */
    column-gap: 20px;
}
.hht-wards-list li {
    padding: 5px 0 5px 25px;
    position: relative;
}
.hht-wards-list li::before {
    content: '✅'; /* Icon check */
    position: absolute;
    left: 0;
    top: 5px;
}

/* KHU VỰC 6: REVIEW */
.hht-review {
    background: #f5f5f5;
    border-left: 5px solid #005a9e;
    padding: 20px;
    margin-bottom: 15px;
}
.hht-review blockquote {
    font-style: italic;
    font-size: 18px;
    margin: 0 0 10px 0;
    padding: 0;
    border: 0;
}
.hht-review-author {
    font-weight: bold;
    color: #333;
    text-align: right;
}

/* KHU VỰC 7: MAP & LIÊN HỆ */
.hht-map-container {
    width: 100%;
    margin-bottom: 15px;
}
.hht-map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
}
.hht-contact-info {
    font-size: 18px;
    line-height: 1.8;
}

/* --- NÚT GỌI DI ĐỘNG CỐ ĐỊNH (RẤT QUAN TRỌNG) --- */
.hht-floating-call {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #008000; /* Màu xanh lá cây */
    color: #fff !important;
    text-align: center;
    padding: 15px 0;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    z-index: 1000; /* Luôn nổi lên trên */
    display: block;
}
.hht-floating-call:hover {
    background: #006400;
}

/* Ẩn nút cố định trên máy tính bảng và desktop */
@media (min-width: 768px) {
    .hht-floating-call {
        display: none;
    }
}

/* Responsive cho di động */
@media (max-width: 767px) {
    .hht-h1 {
        font-size: 26px;
    }
    .hht-cta-main {
        font-size: 22px;
        padding: 15px;
    }
    .hht-h2 {
        font-size: 24px;
    }
    .hht-commit-item {
        flex-basis: 100%; /* 1 cột trên di động */
        margin-bottom: 10px;
    }
    .hht-gallery img {
        max-width: 100%;
        width: 100%;
    }
    .hht-wards-list {
        column-count: 1; /* 1 cột trên di động */
    }
    .hht-header {
        flex-direction: column; /* Xếp chồng logo và hotline */
        text-align: center;
    }
    .hht-hotline-top {
        text-align: center;
        margin-top: 10px;
    }
}