/**
 * ============================================================================
 * HIGHGEN SERVICES & LANDING PAGE CSS SYSTEM
 * File CSS chuẩn dùng chung cho các trang Dịch vụ & Landing Page HighGen
 * Tương thích và khắc phục các thiếu sót của style.v1.css (không sửa core theme)
 * ============================================================================
 */

.hg-service-scope {
    overflow-x: hidden;
}

/* --------------------------------------------------------------------------
 * 1. HERO SECTION (.slider-five override cho trang dịch vụ)
 * -------------------------------------------------------------------------- */
.hg-service-scope .slider-five {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding-bottom: 0;
}
.hg-service-scope .slider-five .outer-box {
    padding: 135px 0 75px;
}
.hg-service-scope .slider-five .title {
    margin-top: 0;
    font-size: 46px;
    line-height: 1.25;
    max-width: 100%;
}
.hg-service-scope .slider-five .text {
    margin-top: 18px;
    margin-bottom: 28px;
    max-width: 100%;
}
.hg-service-scope .hg-hero-badge {
    display: inline-block;
    background: rgba(225, 56, 51, 0.1);
    color: var(--theme-color2);
    font-weight: 700;
    font-size: 13px;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
    letter-spacing: 0.5px;
}

/* --------------------------------------------------------------------------
 * 2. FIX ICON TRONG .service-block_one (style.v1.css thiếu font-size & flex)
 * -------------------------------------------------------------------------- */
.hg-service-scope .service-block_one .icon i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--theme-color2);
    transition: all 0.3s ease;
}
.hg-service-scope .service-block_one .inner:hover .icon i {
    color: #ffffff;
    background-color: var(--theme-color2);
}

/* --------------------------------------------------------------------------
 * 3. BADGE VẤN ĐỀ (.service-section-nine)
 * -------------------------------------------------------------------------- */
.hg-service-scope .hg-problem-badge {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: #ffffff;
    transition: all 0.3s ease;
}
.hg-service-scope .service-block_nine .inner:hover .hg-problem-badge {
    background: var(--theme-color2);
    border-color: var(--theme-color2);
    transform: scale(1.06);
}

/* --------------------------------------------------------------------------
 * 4. BẢNG GIÁ (.pricing-one / .price-block_one)
 * Lưu ý: style.v1.css tự chèn icon dấu tích :before ở .price-block_one .list li
 * Không đặt thêm <i class="fa-check"> bên trong <li> để tránh lỗi lặp 2 icon!
 * -------------------------------------------------------------------------- */
.hg-service-scope .price-block_one .list li.hg-no-check:before {
    content: "\f00d";
    color: #cbd5e1;
}
.hg-service-scope .price-block_one .price {
    font-size: 40px;
    line-height: 1.2;
    white-space: nowrap;
}
.hg-service-scope .price-block_one .price sub {
    font-size: 16px;
    font-weight: 600;
    bottom: 0;
    margin-left: 3px;
}
.hg-service-scope .hg-pricing-featured {
    background: #ffffff;
    border-top: 5px solid var(--theme-color2);
    transform: scale(1.04);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 2;
    position: relative;
}
.hg-service-scope .hg-badge-2year {
    display: inline-block;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 8px;
    margin-bottom: 12px;
}
/* Nút CTA chuẩn trong bảng giá & section tối */
.hg-service-scope .hg-btn-primary {
    display: inline-block;
    background: var(--theme-color2);
    color: #ffffff !important;
    border: 2px solid var(--theme-color2);
    border-radius: 50px;
    padding: 13px 32px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none !important;
}
.hg-service-scope .hg-btn-primary:hover {
    background: var(--theme-color1);
    border-color: var(--theme-color1);
    color: #ffffff !important;
    transform: translateY(-2px);
}
.hg-service-scope .hg-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--theme-color1) !important;
    border: 2px solid var(--theme-color1);
    border-radius: 50px;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
    text-decoration: none !important;
}
.hg-service-scope .price-block_one .inner:hover .hg-btn-outline {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--theme-color1) !important;
}
.hg-service-scope .price-block_one .inner:hover .hg-btn-primary {
    background: var(--theme-color2);
    border-color: #ffffff;
    color: #ffffff !important;
}
.hg-service-scope .price-block_one .inner:hover .hg-badge-2year {
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* --------------------------------------------------------------------------
 * 5. CASE STUDY & CAM KẾT (.business-six)
 * Lưu ý: .business-six .content .list li cũng tự chèn :before dấu tích
 * -------------------------------------------------------------------------- */
.hg-service-scope .hg-guarantee-content {
    background: transparent;
    padding: 0 0 0 50px;
}

/* --------------------------------------------------------------------------
 * 6. STEP CARDS & FAQ ACCORDION
 * -------------------------------------------------------------------------- */
.hg-service-scope .hg-step-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 28px 24px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}
.hg-service-scope .hg-step-card:hover {
    transform: translateY(-5px);
    border-color: var(--theme-color2);
    box-shadow: 0 15px 35px rgba(0, 37, 92, 0.1);
}
.hg-service-scope .hg-step-num {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--theme-color1);
    color: #ffffff;
    font-weight: 700;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.hg-service-scope .hg-faq-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    margin-bottom: 14px;
    overflow: hidden;
}
.hg-service-scope .hg-faq-btn {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: none;
    padding: 18px 22px;
    font-size: 16px;
    font-weight: 700;
    color: var(--theme-color1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}
.hg-service-scope .hg-faq-body {
    padding: 0 22px 18px;
    color: #4b5563;
    font-size: 15px;
    line-height: 1.65;
    display: none;
}
.hg-service-scope .hg-faq-item.is-open .hg-faq-body {
    display: block;
}

/* --------------------------------------------------------------------------
 * 7. CTA & FORM ĐĂNG KÝ DỊCH VỤ NHANH
 * -------------------------------------------------------------------------- */
.hg-service-scope .hg-cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #050a1e 0%, #00255c 100%);
    padding: 110px 0;
}
.hg-service-scope .hg-form-alert {
    display: none;
    padding: 12px 15px;
    border-radius: 6px;
    font-size: 14px;
    margin-bottom: 16px;
    font-weight: 500;
}
.hg-service-scope .hg-form-alert.is-success {
    display: block;
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}
.hg-service-scope .hg-form-alert.is-error {
    display: block;
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}
.hg-service-scope .news-block_one .image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

/* --------------------------------------------------------------------------
 * 8. RESPONSIVE TABLET & MOBILE
 * -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hg-service-scope .slider-five .outer-box {
        padding: 110px 0 50px;
    }
    .hg-service-scope .slider-five .title {
        font-size: 32px;
        line-height: 1.3;
    }
    .hg-service-scope .hg-pricing-featured {
        transform: none;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .hg-service-scope .hg-guarantee-content {
        padding: 30px 0 0 0;
    }
    .hg-service-scope .hg-cta-section {
        padding: 70px 0;
    }
    .hg-service-scope .hg-cta-title {
        font-size: 32px !important;
    }
}
