/* =========================================================================
   PAGE: DANH MỤC DỊCH VỤ (SERVICE CATALOG LIST)
   ========================================================================= */

/* --- DÙNG CHUNG CHO CÁC HERO SECTION (GIỚI THIỆU, BẢNG GIÁ, DỊCH VỤ) --- */
.vc-page-hero-premium {
    position: relative;
    padding: 130px 0 100px 0;
    background-color: #020202;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-bg-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    filter: grayscale(80%) brightness(0.3);
    z-index: 0;
}

.hero-overlay-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5,5,5,1) 0%, rgba(5,5,5,0.7) 40%, rgba(211, 47, 47, 0.1) 100%);
    z-index: 1;
}

.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 1;
    pointer-events: none;
}

.cyber-status-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #00ff88;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    backdrop-filter: blur(5px);
}

.blinking-dot {
    width: 8px;
    height: 8px;
    background-color: #00ff88;
    border-radius: 50%;
    margin-right: 12px;
    box-shadow: 0 0 10px #00ff88;
    animation: cyber-blink 1.5s infinite;
}

@keyframes cyber-blink {
    0%, 100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title-pro {
    margin: 0;
    line-height: 1.15;
    display: flex;
    flex-direction: column;
}

    .hero-title-pro .text-outline {
        font-size: clamp(3rem, 6vw, 4.5rem);
        font-weight: 900;
        color: transparent;
        -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.4);
        letter-spacing: 2px;
    }

    .hero-title-pro .text-solid-gold {
        font-size: clamp(2.5rem, 5vw, 4.2rem);
        font-weight: 900;
        background: linear-gradient(to right, #ffffff 0%, var(--brand-yellow) 50%, #d4af37 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        letter-spacing: -1px;
        text-shadow: 0 10px 30px rgba(0,0,0,0.5);
    }

.hero-subtitle-pro {
    font-size: 1.15rem;
    color: #a0a0a0;
    line-height: 1.7;
}

.hero-guarantee-box {
    display: inline-flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 25px;
    border-radius: 8px;
    color: #bbb;
    font-family: monospace;
    font-size: 0.95rem;
    backdrop-filter: blur(10px);
}
/* =========================================================================
   SIDEBAR: PHÂN LOẠI DỊCH VỤ (Filter panel - chuyên nghiệp)
   ========================================================================= */
.vc-filter-panel {
    background: linear-gradient(180deg, rgba(18, 18, 20, 0.98) 0%, rgba(12, 12, 14, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 0;
}

.vc-filter-panel-header {
    padding: 1.5rem 1.25rem;
    background: rgba(255, 193, 7, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.vc-filter-panel-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    color: var(--brand-yellow);
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}

.vc-filter-panel-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.02em;
}

.vc-filter-panel-subtitle {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    font-weight: 500;
}

.vc-filter-nav {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0;
}

.vc-filter-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.85rem 1.25rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    margin: 0 0.5rem;
    border-radius: 10px;
}

.vc-filter-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.vc-filter-item:hover .vc-filter-item-icon,
.vc-filter-item:hover .vc-filter-item-arrow {
    color: var(--brand-yellow);
}

.vc-filter-item.active {
    background: linear-gradient(90deg, rgba(255, 193, 7, 0.12) 0%, rgba(255, 193, 7, 0.03) 100%);
    color: #fff;
    border-left-color: var(--brand-yellow);
}

.vc-filter-item.active .vc-filter-item-icon,
.vc-filter-item.active .vc-filter-item-arrow {
    color: var(--brand-yellow);
}

.vc-filter-item-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    transition: color 0.25s;
}

.vc-filter-item-thumb {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.06);
}

.vc-filter-item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vc-filter-item-text {
    flex: 1;
    min-width: 0;
}

.vc-filter-item-arrow {
    flex-shrink: 0;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.25s, transform 0.25s;
}

.vc-filter-item:hover .vc-filter-item-arrow,
.vc-filter-item.active .vc-filter-item-arrow {
    transform: translateX(3px);
}

.vc-filter-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    margin: 0 1rem;
}

.vc-hotline-card {
    margin: 1rem 1rem 1.25rem;
    padding: 1.5rem !important;
    border-radius: 12px;
}

/* Hiệu ứng Hover & Active Menu (legacy - giữ cho tương thích) */
.cat-menu-link:hover {
    background: rgba(255,255,255,0.05);
    color: #fff;
}

    .cat-menu-link:hover .cat-icon {
        color: var(--brand-yellow);
    }

.cat-menu-link.active {
    background: linear-gradient(90deg, rgba(255,193,7,0.1) 0%, transparent 100%);
    color: #fff;
    border-left: 4px solid var(--brand-yellow);
    padding-left: 16px;
}

    .cat-menu-link.active .cat-icon {
        color: var(--brand-yellow);
    }

    .cat-menu-link.active .cat-count {
        background: var(--brand-yellow);
        color: #000;
    }

/* Box Hỗ trợ nhanh */
.quick-support-box {
    background: rgba(20,20,22,0.8);
    border: 1px solid rgba(255,193,7,0.2);
    border-radius: 12px;
}

.btn-outline-gold {
    display: inline-block;
    background: transparent;
    color: var(--brand-yellow);
    border: 1px solid var(--brand-yellow);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
}

    .btn-outline-gold:hover {
        background: var(--brand-yellow);
        color: #000;
        box-shadow: 0 0 15px rgba(255,193,7,0.4);
    }

/* --- Thẻ Dịch Vụ Mới (Pro Service Card) --- */
.pro-service-card {
    background: #0a0a0c;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: 0.3s;
}

    .pro-service-card:hover {
        transform: translateY(-5px);
        border-color: rgba(255,255,255,0.15);
        box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    }

.card-img-box {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

    .card-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.6s ease;
    }

.pro-service-card:hover .card-img-box img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--brand-red);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 1px;
}

.card-info-box {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.cat-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.4;
}

    .service-title a {
        color: #fff;
        text-decoration: none;
        transition: 0.3s;
    }

.pro-service-card:hover .service-title a {
    color: var(--brand-yellow);
}

.service-excerpt {
    font-size: 0.95rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more-link {
    color: #aaa;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

.pro-service-card:hover .read-more-link {
    color: #fff;
}

/* --- Phân Trang (Pagination) --- */
.vc-pagination .page-link {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    margin: 0 5px;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: 0.3s;
}

    .vc-pagination .page-link:hover {
        background: rgba(255,255,255,0.1);
        border-color: rgba(255,255,255,0.2);
        color: var(--brand-yellow);
    }

.vc-pagination .page-item.active .page-link {
    background: var(--brand-yellow);
    color: #000;
    border-color: var(--brand-yellow);
}

.vc-pagination .page-item.disabled .page-link {
    color: #555;
    border-color: rgba(255,255,255,0.05);
}

/* Sticky sidebar trên desktop */
@media (min-width: 992px) {
    .sticky-sidebar-wrapper {
        position: sticky;
        top: 100px;
    }
}

/* --- Responsive --- */
@media (max-width: 991.98px) {
    .catalog-sidebar {
        position: static;
        margin-bottom: 20px;
    }

    .vc-filter-panel-header {
        padding: 1.25rem 1rem;
    }

    .vc-filter-item {
        padding: 0.75rem 1rem;
        margin: 0 0.5rem;
    }
}
