/**
 * Xe Tải VP - Loan & Financing Page Styles
 * Chuẩn nhận diện thương hiệu THACO Xe Tải Vĩnh Phúc.
 */

/* ==========================================================================
   1. SECTION HERO BANNER & LỢI ÍCH VAY TRẢ GÓP
   ========================================================================== */
.xetai-loan-hero-section {
    padding: 30px 0 25px 0;
    text-align: center;
    max-width: 950px;
    margin: 0 auto;
}

.xetai-loan-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(211, 47, 47, 0.08);
    color: #D32F2F;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(211, 47, 47, 0.18);
}

.xetai-loan-title {
    font-size: 30px !important;
    font-weight: 800 !important;
    color: #00254D !important;
    text-transform: uppercase !important;
    margin: 0 0 14px 0 !important;
    line-height: 1.3 !important;
    letter-spacing: 0.3px !important;
}

.xetai-loan-desc {
    font-size: 15.5px !important;
    color: #475569 !important;
    line-height: 1.6 !important;
    margin: 0 0 26px 0 !important;
}

.xetai-loan-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 10px;
}

.xetai-loan-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    border: 1px solid rgba(0, 72, 143, 0.12);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #00488F;
}

.xetai-loan-badge-item .badge-icon {
    color: #D32F2F;
    font-size: 16px;
}

/* ==========================================================================
   2. SECTION QUY TRÌNH 4 BƯỚC MUA XE TRẢ GÓP
   ========================================================================== */
.xetai-process-section {
    padding: 55px 0;
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
    width: 100%;
}

.xetai-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    max-width: 1240px;
    margin: 0 auto;
    position: relative;
}

.xetai-process-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 20px;
    border: 1px solid rgba(0, 72, 143, 0.09);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.xetai-process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 72, 143, 0.12);
    border-color: rgba(0, 72, 143, 0.25);
}

.xetai-step-num {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.35);
}

.xetai-step-title {
    font-size: 16px;
    font-weight: 800;
    color: #00254D;
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.xetai-step-desc {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.55;
    margin: 0;
    flex: 1;
}

/* ==========================================================================
   3. SECTION THỦ TỤC & HỒ SƠ VAY CẦN CHUẨN BỊ (REQUIREMENTS)
   ========================================================================== */
.xetai-requirements-section {
    padding: 60px 0;
    background: #ffffff;
    width: 100%;
}

.xetai-requirements-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    max-width: 1240px;
    margin: 0 auto;
}

.xetai-req-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 32px 28px;
    border: 1px solid rgba(0, 72, 143, 0.1);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.xetai-req-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 35px rgba(0, 72, 143, 0.1);
}

.xetai-req-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 20px;
    border-bottom: 2px solid #f1f5f9;
}

.xetai-req-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #00488F 0%, #002b59 100%);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 72, 143, 0.25);
    flex-shrink: 0;
}

.xetai-req-icon.icon-corp {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    box-shadow: 0 4px 12px rgba(211, 47, 47, 0.3);
}

.xetai-req-icon svg {
    width: 24px;
    height: 24px;
}

.xetai-req-title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: #00254D !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

.xetai-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.xetai-req-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: #334155;
    line-height: 1.5;
}

.xetai-req-list li .check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #ecfdf5;
    color: #059669;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    flex-shrink: 0;
    margin-top: 1px;
}

.xetai-req-note {
    margin-top: 20px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 8px;
    border-left: 3px solid #00488F;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

/* ==========================================================================
   4. SECTION ĐỐI TÁC NGÂN HÀNG LIÊN KẾT (BANKS)
   ========================================================================== */
.xetai-banks-section {
    padding: 55px 0;
    background: #f8fafc;
    width: 100%;
}

.xetai-banks-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    max-width: 1240px;
    margin: 0 auto;
}

.xetai-bank-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px 14px;
    border: 1px solid rgba(0, 72, 143, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 96px;
    text-decoration: none;
}

.xetai-bank-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(0, 72, 143, 0.12);
    border-color: rgba(0, 72, 143, 0.28);
}

.xetai-bank-logo-wrap {
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    width: 100%;
}

.xetai-bank-logo-wrap img {
    max-height: 36px;
    max-width: 120px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s ease;
}

.xetai-bank-card:hover .xetai-bank-logo-wrap img {
    transform: scale(1.06);
}

.xetai-bank-name {
    font-weight: 800;
    font-size: 14.5px;
    color: #00254D;
    line-height: 1.25;
    transition: color 0.2s ease;
}

.xetai-bank-card:hover .xetai-bank-name {
    color: #D32F2F;
}

.xetai-bank-sub {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
    line-height: 1.35;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
    .xetai-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xetai-banks-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .xetai-loan-title {
        font-size: 23px !important;
    }
    .xetai-process-grid,
    .xetai-requirements-grid {
        grid-template-columns: 1fr;
    }
    .xetai-banks-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
