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

/* ==========================================================================
   1. SECTION HERO & BRAND OVERVIEW
   ========================================================================== */
.xetai-about-hero-section {
    padding: 30px 0 50px 0;
    width: 100%;
}

.xetai-about-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
    max-width: 1240px;
    margin: 0 auto;
}

.xetai-hero-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 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    border: 1px solid rgba(211, 47, 47, 0.18);
}

.xetai-hero-title {
    font-size: 32px !important;
    font-weight: 800 !important;
    color: #00254D !important;
    line-height: 1.28 !important;
    text-transform: uppercase !important;
    margin: 0 0 16px 0 !important;
    letter-spacing: 0.3px !important;
}

.xetai-hero-desc {
    font-size: 15.5px !important;
    color: #475569 !important;
    line-height: 1.65 !important;
    margin-bottom: 24px !important;
}

.xetai-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}

.xetai-hero-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: 8px 14px;
    border-radius: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: #00488F;
}

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

.xetai-hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
    color: #ffffff !important;
    padding: 13px 26px;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(211, 47, 47, 0.3);
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(211, 47, 47, 0.4);
}

.btn-hero-secondary {
    background: #ffffff;
    color: #00488F !important;
    border: 1.5px solid #00488F;
    padding: 12px 24px;
    font-size: 14.5px;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-hero-secondary:hover {
    background: #00488F;
    color: #ffffff !important;
    transform: translateY(-2px);
}

/* Ảnh Cột Phải */
.xetai-about-hero-media {
    position: relative;
}

.xetai-about-img-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 72, 143, 0.12);
    border: 3px solid #ffffff;
}

.xetai-about-img-wrap img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.xetai-about-img-wrap:hover img {
    transform: scale(1.03);
}

.xetai-float-badge {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-left: 4px solid #D32F2F;
    display: flex;
    align-items: center;
    gap: 14px;
}

.xetai-float-badge .badge-big-num {
    font-size: 26px;
    font-weight: 900;
    color: #00488F;
    line-height: 1;
}

.xetai-float-badge .badge-text {
    font-size: 12.5px;
    font-weight: 700;
    color: #334155;
    line-height: 1.35;
    text-transform: uppercase;
}

/* ==========================================================================
   2. SECTION TIMELINE (HÀNH TRÌNH PHÁT TRIỂN)
   ========================================================================== */
.xetai-timeline-section {
    padding: 60px 0;
    background: #f8fafc;
    border-top: 1px solid #eef2f6;
    border-bottom: 1px solid #eef2f6;
}

.xetai-section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 45px auto;
}

.xetai-sec-badge {
    display: inline-block;
    background: rgba(0, 72, 143, 0.08);
    color: #00488F;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 10px;
}

.xetai-sec-title {
    font-size: 26px !important;
    font-weight: 800 !important;
    color: #00254D !important;
    text-transform: uppercase !important;
    margin: 0 0 10px 0 !important;
    letter-spacing: 0.3px !important;
}

.xetai-sec-desc {
    font-size: 15px !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.55 !important;
}

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

.xetai-timeline-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 26px 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, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

.xetai-timeline-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-tl-year {
    font-size: 24px;
    font-weight: 900;
    color: #D32F2F;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.xetai-tl-year::after {
    content: "";
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, #D32F2F 0%, transparent 100%);
}

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

.xetai-tl-text {
    font-size: 13.5px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

/* ==========================================================================
   3. SECTION STATS (BỘ TỨ CON SỐ ẤN TƯỢNG)
   ========================================================================== */
.xetai-stats-section {
    padding: 55px 0;
    background: linear-gradient(135deg, #00254D 0%, #00488F 100%);
    color: #ffffff;
}

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

.xetai-stat-box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 14px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.25s ease, background 0.25s ease;
}

.xetai-stat-box:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.3);
}

.xetai-stat-icon {
    font-size: 28px;
    color: #ff9800;
    margin-bottom: 10px;
}

.xetai-stat-number {
    font-size: 34px;
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.xetai-stat-label {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.88);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    line-height: 1.4;
}

/* ==========================================================================
   4. SECTION FACILITY (CƠ SỞ VẬT CHẤT 3S)
   ========================================================================== */
.xetai-facility-section {
    padding: 60px 0;
    background: #ffffff;
}

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

.xetai-facility-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 72, 143, 0.09);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

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

.xetai-fac-img {
    height: 210px;
    overflow: hidden;
    position: relative;
}

.xetai-fac-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.xetai-facility-card:hover .xetai-fac-img img {
    transform: scale(1.06);
}

.xetai-fac-content {
    padding: 24px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

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

.xetai-fac-desc {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   5. SECTION COMMITMENTS (GIÁ TRỊ CỐT LÕI & CAM KẾT)
   ========================================================================== */
.xetai-commitments-section {
    padding: 60px 0;
    background: #f8fafc;
}

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

.xetai-com-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 28px 20px;
    border: 1px solid rgba(0, 72, 143, 0.08);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.xetai-com-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 72, 143, 0.1);
    border-color: rgba(0, 72, 143, 0.2);
}

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

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

.xetai-com-icon svg {
    width: 28px;
    height: 28px;
}

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

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

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
    .xetai-about-hero-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .xetai-timeline-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xetai-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xetai-facility-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .xetai-commitments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .xetai-hero-title {
        font-size: 24px !important;
    }
    .xetai-timeline-grid,
    .xetai-stats-grid,
    .xetai-facility-grid,
    .xetai-commitments-grid {
        grid-template-columns: 1fr;
    }
    .xetai-hero-cta {
        flex-direction: column;
        width: 100%;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
        justify-content: center;
    }
}
