/* ==========================================================================
   1. KHUNG CONTAINER & BANNER TOP LUXURY
   ========================================================================== */
.service .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.service__banner {
    width: 100%;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    background-color: #00113d; /* Lớp nền bảo vệ khi ảnh banner chưa tải xong */
}

.service__banner .banner__title {
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    font-size: 42px;
    line-height: 1.3;
    text-align: center;
    text-transform: uppercase;
    color: #e7be71;
    margin-bottom: 14px;
    letter-spacing: 1.5px;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.service__banner .banner__subtitle {
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
    color: #ffffff;
    max-width: 720px;
    margin-bottom: 0;
    font-weight: 300;
    opacity: 0.9;
    z-index: 1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   2. CẤU TRÚC KHỐI & TIÊU ĐỀ KHỐI DỊCH VỤ
   ========================================================================== */
.service__block {
    margin: 40px 0;
}

.service__title {
    padding: 0 0 0 16px;
    position: relative;
    font-size: 24px;
    font-family: 'Oswald', sans-serif;
    font-weight: 500;
    margin-bottom: 24px;
    color: #00113d;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.service__title:before {
    content: "";
    position: absolute;
    width: 4px;
    height: 80%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    background: #e7be71;
    border-radius: 2px;
}

/* ==========================================================================
   3. THÈ CARD DỰ ÁN HẠNG SANG (NÂNG CẤP ĐỘ NÉT HIỂN THỊ)
   ========================================================================== */
.project-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px -10px rgba(0, 17, 61, 0.05);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
    height: 100%;
}

.project-card:hover {
    transform: translateY(-6px);
    border-color: rgba(231, 190, 113, 0.5); /* Viền vàng kim mờ tinh tế */
    box-shadow: 0 20px 40px -15px rgba(0, 11, 61, 0.12);
}

/* Khung ảnh tỷ lệ vàng - Chống giật bung giật Layout */
.project-card .aspect-ratio-box {
    position: relative;
    padding-top: 66.67%; /* Tỷ lệ ảnh 3:2 chuẩn kiến trúc siêu nét */
    background-color: #f8fafc;
    overflow: hidden;
    width: 100%;
}

.project-card .card-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .card-image {
    transform: scale(1.05);
}

/* Nhãn đính kèm trên ảnh */
.project-card .category-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(0, 17, 61, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #e7be71;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
    border: 1px solid rgba(231, 190, 113, 0.2);
}

/* Vùng nội dung chữ */
.project-card .card-content-zone {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-card .project-title {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #0f172a;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.project-card:hover .project-title {
    color: #b4893b;
}

/* Khối nhãn thông số thông tin tài sản */
.project-card .price-tag {
    display: inline-flex;
    align-items: center;
    color: #c2410c; 
    font-weight: 700;
    font-size: 18px;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.project-card .area-tag {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    color: #475569;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    border: 1px solid #e2e8f0;
    font-family: 'Be Vietnam Pro', sans-serif;
}

/* Đường gạch ngang tịnh tiến */
.project-card .footer-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px dashed #e2e8f0;
    margin-top: 14px;
}

.project-card .meta-label {
    display: block;
    font-size: 10px;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.project-card .meta-value {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    font-family: 'Be Vietnam Pro', sans-serif;
}

.project-card .view-more {
    font-family: 'Be Vietnam Pro', sans-serif;
    color: #00113d;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover .view-more {
    opacity: 1;
    color: #b4893b;
    transform: translateX(4px); /* Hiệu ứng đẩy nhẹ mũi tên sang phải khi hover */
}

/* ==========================================================================
   4. SIDEBAR MENU DANH MỤC CAO CẤP
   ========================================================================== */
.box-filtered {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 10px 25px -15px rgba(0, 17, 61, 0.05);
}

.box-filtered .ft-title {
    font-family: 'Oswald', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: #00113d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==========================================================================
   5. HỆ THỐNG PHÂN TRANG (PAGINATION)
   ========================================================================== */
.page_nav {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.thenativePagination.pagination {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    padding: 0;
}

.thenativePagination.pagination li a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 6px;
    font-family: 'Be Vietnam Pro', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-decoration: none !important;
}

.thenativePagination.pagination li:not(.active):hover a {
    color: #b4893b;
    border-color: #b4893b;
    background: #faf8f5;
    transform: translateY(-2px);
}

.thenativePagination.pagination li.active a {
    color: #ffffff;
    background: #00113d;
    border-color: #00113d;
    box-shadow: 0 4px 12px rgba(0, 17, 61, 0.15);
}

/* ==========================================================================
   6. ĐÁP ỨNG THIẾT BỊ ĐA MÀN HÌNH (RESPONSIVE)
   ========================================================================== */
@media screen and (max-width: 1023px) {
    .service__banner { height: 260px; }
    .service__banner .banner__title { font-size: 32px; }
    .service__banner .banner__subtitle { font-size: 14px; padding: 0 15px; }
    .project-card .card-content-zone { padding: 16px; }
}

@media screen and (max-width: 639px) {
    .service__banner .banner__title { font-size: 26px; }
    .thenativePagination.pagination { gap: 4px; }
    .thenativePagination.pagination li a { min-width: 34px; height: 34px; font-size: 13px; }
}

/* Khung gộp dòng tiện ích */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}