﻿/* ==================== SERVICES FEATURED - SLIDER 6 DỊCH VỤ ==================== */
/* Design: NỀN TRẮNG, HEADER TRANG TRÍ, SLIDER CARDS */
/* ✅ SỬ DỤNG CSS VARIABLES TỪ SETTING DATABASE */

.services-featured {
    background: #ffffff !important;
    padding: 0 0 50px 0 !important; /* ⭐ BỎ PADDING TOP */
    position: relative !important;
    overflow: hidden !important;
    margin-top: 30px !important; /* ⭐ THÊM KHOẢNG CÁCH VỚI SECTION TRÊN */
}

.services-featured .container {
    position: relative !important;
    z-index: 1 !important;
}

/* ==================== ⭐ HEADER TRANG TRÍ - BO TRÒN NHẸ ⭐ ==================== */
.services-featured__page-header {
    background: var(--ashico-blue) !important;
    padding: 15px 25px !important;
    margin-bottom: 15px !important; /* ⭐ GIẢM MARGIN - SÁT SLIDER HƠN */
    text-align: center !important;
    position: relative !important;
    border-radius: 8px !important; /* ⭐ BO TRÒN NHẸ 4 GÓC */
}

/* Pattern chấm bi */
.services-featured__page-header::before {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-image: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1px
    ) !important;
    background-size: 12px 12px !important;
    z-index: 1 !important;
    pointer-events: none !important;
    border-radius: 8px !important; /* ⭐ BO TRÒN CHO PATTERN */
}

/* Company section */
.services-featured__company {
    position: relative !important;
    z-index: 2 !important;
    margin-bottom: 5px !important;
}

.services-featured__company-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2px !important;
}

/* ⭐ ASHICO - CHỮ NHỎ TRẮNG */
.services-featured__company-name {
    font-family: var(--tanspot-font-two), 'Plus Jakarta Sans', sans-serif !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #ffffff !important;
}

/* Chữ A - MÀU ĐỎ */
.services-featured__company-name .letter-a {
    color: var(--ashico-red) !important;
}

/* Chữ SHICO - MÀU TRẮNG */
.services-featured__company-name .letter-shico {
    color: #ffffff !important;
}

/* Trang trí 3 chấm */
.services-featured__company-decoration {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
    margin: 3px 0 !important;
}

.services-featured__company-dots {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
}

.services-featured__company-dots span {
    width: 4px !important;
    height: 4px !important;
    background: rgba(255, 255, 255, 0.6) !important;
    border-radius: 50% !important;
    display: block !important;
}

.services-featured__company-dots span:nth-child(2) {
    width: 6px !important;
    height: 6px !important;
    background: var(--ashico-red) !important;
}

/* Tên công ty đầy đủ - TRẮNG */
.services-featured__company-fullname {
    font-size: 9px !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin: 0 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    line-height: 1.2 !important;
}

/* ⭐ TIÊU ĐỀ DỊCH VỤ - TRẮNG, GIỐNG ABOUT (30px) */
.services-featured__page-title {
    position: relative !important;
    z-index: 2 !important;
    margin-top: 6px !important;
}

.services-featured__page-title h2 {
    font-family: var(--tanspot-font-two) !important;
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.05 !important;
}

/* ==================== SLIDER WRAPPER ==================== */
.services-featured__slider-wrapper {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
}

/* ==================== NÚT TRÒN - MŨI TÊN ==================== */
.services-featured__nav {
    flex-shrink: 0 !important;
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    border-radius: 50% !important;
    background: var(--ashico-blue) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 16px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.services-featured__nav:hover {
    background: var(--ashico-red) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(var(--ashico-red-rgb), 0.4) !important;
}

.services-featured__nav:active {
    transform: scale(0.95) !important;
}

.services-featured__nav--prev {
    order: 1 !important;
}

.services-featured__nav--next {
    order: 3 !important;
}

/* ==================== SLIDER CONTAINER ==================== */
.services-featured__slider-container {
    order: 2 !important;
    flex: 1 !important;
    min-width: 0 !important;
}

/* ==================== OWL CAROUSEL ==================== */
.services-featured__slider.owl-carousel .owl-stage-outer {
    overflow: hidden !important;
}

.services-featured__slider.owl-carousel .owl-stage {
    display: flex !important;
}

.services-featured__slider.owl-carousel .owl-item {
    display: flex !important;
}

.services-featured__slider.owl-carousel .owl-dots,
.services-featured__slider.owl-carousel .owl-nav {
    display: none !important;
}

/* ==================== CARD ==================== */
.services-featured__card {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    transition: all 0.4s ease !important;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
    margin: 5px !important;
    width: calc(100% - 10px) !important;
}

.services-featured__card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15) !important;
}

.services-featured__card-img {
    position: relative !important;
    width: 100% !important;
    height: 320px !important;
    overflow: hidden !important;
}

.services-featured__card-img img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: transform 0.5s ease !important;
}

.services-featured__card:hover .services-featured__card-img img {
    transform: scale(1.05) !important;
}

.services-featured__card-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 50%,
        rgba(0, 0, 0, 0.5) 100%
    ) !important;
    z-index: 1 !important;
    transition: all 0.3s ease !important;
}

.services-featured__card:hover .services-featured__card-overlay {
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 30%,
        rgba(var(--ashico-blue-rgb), 0.7) 100%
    ) !important;
}

.services-featured__card-number {
    position: absolute !important;
    bottom: 15px !important;
    left: 15px !important;
    font-family: var(--tanspot-font-two), 'Rubik', sans-serif !important;
    font-size: 42px !important;
    font-weight: 800 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    line-height: 1 !important;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.4) !important;
    z-index: 2 !important;
}

.services-featured__card-title {
    padding: 15px !important;
    background: #ffffff !important;
    text-align: center !important;
}

.services-featured__card-title a {
    font-family: var(--tanspot-font-two), sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--ashico-blue) !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    display: block !important;
    text-transform: uppercase !important;
    letter-spacing: 0.02em !important;
    line-height: 1.4 !important;
}

.services-featured__card:hover .services-featured__card-title a {
    color: var(--ashico-red) !important;
}

/* ==================== RESPONSIVE ==================== */

@media (min-width: 1920px) {
    .services-featured {
        margin-top: 40px !important; /* ⭐ TĂNG KHOẢNG CÁCH CHO MÀN LỚN */
    }
    
    .services-featured__page-header {
        padding: 18px 30px !important;
        margin-bottom: 18px !important;
        border-radius: 10px !important; /* ⭐ BO TRÒN HƠN CHO MÀN LỚN */
    }
    
    .services-featured__page-header::before {
        border-radius: 10px !important;
    }
    
    .services-featured__company-name {
        font-size: 16px !important;
    }
    
    .services-featured__company-fullname {
        font-size: 10px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 34px !important;
    }
    
    .services-featured__card-img {
        height: 380px !important;
    }
    
    .services-featured__nav {
        width: 55px !important;
        height: 55px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 1600px) {
    .services-featured__page-title h2 {
        font-size: 28px !important;
    }
    
    .services-featured__card-img {
        height: 300px !important;
    }
    
    .services-featured__nav {
        width: 45px !important;
        height: 45px !important;
        font-size: 14px !important;
    }
}

@media (max-width: 1366px) {
    .services-featured {
        margin-top: 25px !important;
    }
    
    .services-featured__page-header {
        padding: 12px 20px !important;
        margin-bottom: 12px !important;
        border-radius: 6px !important;
    }
    
    .services-featured__page-header::before {
        border-radius: 6px !important;
    }
    
    .services-featured__company-name {
        font-size: 12px !important;
    }
    
    .services-featured__company-fullname {
        font-size: 8px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 26px !important;
    }
    
    .services-featured__card-img {
        height: 280px !important;
    }
    
    .services-featured__nav {
        width: 42px !important;
        height: 42px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 991px) {
    .services-featured {
        padding: 0 0 40px 0 !important;
        margin-top: 20px !important;
    }
    
    .services-featured__page-header {
        padding: 12px 15px !important;
        margin-bottom: 12px !important;
    }
    
    .services-featured__company-name {
        font-size: 11px !important;
    }
    
    .services-featured__company-fullname {
        font-size: 7px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 24px !important;
    }
    
    .services-featured__card-img {
        height: 260px !important;
    }
    
    .services-featured__nav {
        width: 38px !important;
        height: 38px !important;
        min-width: 38px !important;
        font-size: 12px !important;
    }
    
    .services-featured__slider-wrapper {
        gap: 10px !important;
    }
}

@media (max-width: 767px) {
    .services-featured {
        padding: 0 0 35px 0 !important;
        margin-top: 15px !important;
    }
    
    .services-featured__page-header {
        padding: 10px 12px !important;
        margin-bottom: 10px !important;
        border-radius: 5px !important;
    }
    
    .services-featured__page-header::before {
        border-radius: 5px !important;
    }
    
    .services-featured__company-name {
        font-size: 10px !important;
    }
    
    .services-featured__company-fullname {
        font-size: 6px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 20px !important;
    }
    
    .services-featured__card-img {
        height: 240px !important;
    }
    
    .services-featured__card-number {
        font-size: 32px !important;
    }
    
    .services-featured__card-title {
        padding: 12px 10px !important;
    }
    
    .services-featured__card-title a {
        font-size: 11px !important;
    }
    
    .services-featured__nav {
        width: 35px !important;
        height: 35px !important;
        min-width: 35px !important;
        font-size: 11px !important;
    }
    
    .services-featured__slider-wrapper {
        gap: 8px !important;
    }
}

@media (max-width: 575px) {
    .services-featured__page-header {
        padding: 8px 10px !important;
        margin-bottom: 8px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 18px !important;
    }
    
    .services-featured__card-img {
        height: 250px !important;
    }
    
    .services-featured__nav {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        font-size: 10px !important;
    }
}

@media (max-width: 480px) {
    .services-featured {
        margin-top: 10px !important;
    }
    
    .services-featured__company-name {
        font-size: 9px !important;
    }
    
    .services-featured__company-fullname {
        font-size: 5px !important;
    }
    
    .services-featured__page-title h2 {
        font-size: 16px !important;
    }
    
    .services-featured__nav {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        font-size: 9px !important;
    }
    
    .services-featured__card-img {
        height: 230px !important;
    }
}


/* ==================== PHẦN CÒN LẠI GIỮ NGUYÊN ==================== */

.page-header {
    display: none !important;
}

.services-page {
    padding: 60px 0 90px !important;
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%) !important;
    position: relative !important;
}

.services-page::before {
    display: none !important;
}