/* --- CSS Variables & Reset --- */
:root {
    --primary-color: #d32f2f;
    --primary-light: #ff6659;
    --primary-dark: #9a0007;
    --accent-color: #f4e6e6;
    --text-main: #1c0d0d;
    --text-light: #525252;
    --bg-light: #ffffff;
    --bg-subtle: #f9f9f9;
    --bg-dark: #1a1a1a;
    --glass-bg: rgba(255, 255, 255, 0.9);
    --gradient-primary: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 8px 15px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 25px rgba(100, 20, 20, 0.1);
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --font-display: 'Manrope', sans-serif;
    --font-body: 'Quicksand', sans-serif;
    --container-width: 1200px;
}

/* Basic Reset */
.lp-wrapper * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.lp-wrapper {
    font-family: var(--font-body);
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-light);
    overflow-x: hidden; /* Quan trọng để tránh thanh cuộn ngang */
    width: 100%;
}

.lp-wrapper h1,
.lp-wrapper h2,
.lp-wrapper h3,
.lp-wrapper h4 {
    font-family: var(--font-display);
    color: var(--text-main);
    line-height: 1.2;
}

.lp-wrapper a {
    text-decoration: none;
    color: inherit;
}

.lp-wrapper button {
    cursor: pointer;
    border: solic;
    outline: none;
    font-family: var(--font-body);
}

.lp-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
    width: 100%; /* Đảm bảo full width trên mobile */
}

/* --- Components --- */
.lp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 8px;
}

.lp-btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
}

.lp-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(211, 47, 47, 0.4);
}

.lp-btn-outline {
    background: white;
    border: 2px solid #dd3333;
    color: var(--text-main);
}

.lp-btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: #fff5f5;
}

.lp-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    background: rgba(211, 47, 47, 0.08);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 20px;
    border: 1px solid rgba(211, 47, 47, 0.1);
}

.lp-section {
    padding: 80px 0;
    position: relative;
}

.lp-section-bg {
    background-color: var(--bg-subtle);
}

.lp-title-lg {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.lp-title-section {
    font-size: 2.25rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.lp-text-subtitle {
    text-align: center;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}

.text-primary {
    color: var(--primary-color);
}

/* --- Hero Section --- */
.lp-hero {
    padding: 80px 0 100px;
    background: radial-gradient(circle at top right, #fff0f0 0%, #fff 40%);
}

.lp-hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.lp-hero-content {
    position: relative;
    z-index: 2;
}

.title-highlight {
    position: relative;
    display: inline-block;
}

.title-highlight svg {
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 12px;
    color: var(--primary-color);
    opacity: 0.2;
    z-index: -1;
}

.lp-hero-desc {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 90%;
}

.lp-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.lp-trust-indicators {
    display: flex;
    gap: 24px;
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 600;
}

.lp-trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lp-hero-image-wrapper {
    position: relative;
}

.lp-hero-img-card {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    aspect-ratio: 1/1;
    background-image: url("https://mitsubishinhatban.com/wp-content/uploads/2026/01/hero-section-gia-thang-may-cho-nha-pho.png");
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.lp-hero-img-card:hover {
    transform: scale(1.02);
}

.lp-hero-float-card {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.4);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-md);
}

/* --- Pricing --- */
.lp-wrapper .pricing-grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 30px;
    padding-top: 20px;
    width: 100%;
}

.pricing-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    z-index: 10;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-tag {
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 5px;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
}

.price-label {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.feature-list {
    margin-bottom: 30px;
    flex: 1;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.95rem;
    color: var(--text-main);
}

.check-icon {
    color: var(--primary-color);
    font-size: 20px;
}

/* --- Specs/Factors --- */
.specs-layout {
    display: flex;
    gap: 60px;
}

.specs-info {
    flex: 1;
}

.specs-grid {
    flex: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.spec-video-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
    margin-top: 30px;
}

.spec-item {
    display: flex;
    align-items: start;
    gap: 16px;
}

.spec-icon-box {
    width: 50px;
    height: 50px;
    background: #fff5f5;
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* --- Load Capacity --- */
.load-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.load-card {
    background: white;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 30px;
    text-align: center;
    transition: 0.3s;
    cursor: pointer;
}

.load-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.load-card.active {
    border: 2px solid var(--primary-color);
    background: #fffafa;
}

.load-icon {
    width: 70px;
    height: 70px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: var(--text-light);
    transition: 0.3s;
}

.load-card:hover .load-icon,
.load-card.active .load-icon {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* --- Process --- */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 60px;
}

.process-line {
    position: absolute;
    top: 30px;
    left: 0;
    width: 100%;
    height: 2px;
    background: #e0e0e0;
    z-index: 0;
}

.step-item {
    position: relative;
    z-index: 1;
    text-align: center;
    background: var(--bg-subtle);
    padding: 0 10px;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: white;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 0 8px var(--bg-subtle);
}

.step-item:first-child .step-circle {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 15px rgba(211, 47, 47, 0.4), 0 0 0 8px var(--bg-subtle);
}

/* --- Projects --- */
.project-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.project-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16/9;
    cursor: pointer;
    box-shadow: var(--shadow-md);
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(211, 47, 47, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 30px;
    box-shadow: 0 0 20px rgba(211, 47, 47, 0.5);
    transition: 0.3s;
}

.project-card:hover .play-btn {
    transform: scale(1.1);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
    font-weight: 700;
}

/* --- Trust/Testimonials --- */
.trust-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.trust-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.trust-img {
    width: 100%;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.trust-col-1 {
    margin-top: 40px;
}

/* --- Contact Form Section --- */
.contact-section {
    position: relative;
    padding: 100px 0;
    color: white;
}

.contact-bg {
    position: absolute;
    inset: 0;
    background-image: url("https://lh3.googleusercontent.com/aida-public/AB6AXuBjfmGe__gUogEVY7lEDkNp0sBGOoAiNm0_TPScxp3lQMABDGBPhGekW8NoGJBJDop12fNL2rS86QoP-i5xTVCUe_h5xh2Se8NP5sTudLaNUKeEk_d6PSHL2Ck6fJntHXNHPOov_9Fz6TPvTwSweCpH3VbxqnetjBfcsGjNf5D5Bq9j11XXafazEVpUrbt8eeZ4CVKCuMJ9jJ3Bqp5DrQNTSPsRWnj7Pdux2Jr3B0sHrxIDOpvElMQOYvMdhtxBCME4ntcybJTICb0");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.contact-wrapper {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    align-items: center;
}

.contact-form-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    color: var(--text-main);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-input,
.form-select {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: 0.3s;
}

.form-input:focus,
.form-select:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(211, 47, 47, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.hotline-box {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.hotline-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- RESPONSIVE FIX (PHẦN QUAN TRỌNG NHẤT) --- */
@media (max-width: 991px) {
    .lp-title-lg {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    /* Sửa Grid 2 cột thành 1 cột */
    .lp-hero-grid,
    .contact-wrapper,
    .trust-layout {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    /* Sửa lỗi hiển thị phần Specs (Yếu tố ảnh hưởng) */
    .specs-layout {
        flex-direction: column; /* Chuyển flex row thành column */
        gap: 40px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr; /* Các icon hiển thị 1 cột */
    }

    /* Đưa các grid lớn về 1 cột */
    .lp-wrapper .pricing-grid,
    .lp-wrapper .load-grid,
    .lp-wrapper .project-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    /* Reset transform cho card pricing popular để không bị lệch */
    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    /* Process steps thành 2 cột */
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .process-line {
        display: none;
    }

    /* Căn chỉnh Hero Section */
    .lp-hero {
        padding-top: 40px;
        text-align: center;
    }

    .lp-hero-desc,
    .lp-hero-actions,
    .lp-trust-indicators {
        justify-content: center;
        margin-left: auto;
        margin-right: auto;
    }

    .lp-badge {
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Điều chỉnh form liên hệ */
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .lp-title-lg {
        font-size: 2rem; /* Giảm font size tiêu đề trên mobile nhỏ */
    }

    .lp-btn {
        width: 100%; /* Nút bấm full width */
    }
    
    /* Đảm bảo Process step về 1 cột trên màn hình rất nhỏ */
    .process-steps {
        grid-template-columns: 1fr !important;
    }

    .lp-section {
        padding: 50px 0; /* Giảm padding section */
    }
    
    .specs-grid {
        gap: 30px;
    }
}