/*
Theme Name: Astra Child
Template: astra
Theme URI: https://vaydoanhnghiep.vn
Author: WDN
Author URI: https://vaydoanhnghiep.vn
Description: Child Theme cho Astra - Tối ưu cho vay doanh nghiệp
Version: 1.0.0
Text Domain: astra-child
*/
/* =============================================
   CSS MOBILE FIRST - TỐI ƯU HIỆU SUẤT MOBILE
   Giữ nguyên 100% nội dung cũ
   ============================================= */
.badge,
.hero-clean,
.site-footer p {
    text-align: center;
}
:root {
    --p-blue: #b0e1fa;
    --p-pink: #fbd6e3;
    --p-cyan: #5ed1e1;
    --p-green: #cafdbf;
    --p-lightblue: #d3fbfb;
    --p-cream: #fbf0ea;
    --p-mint: #a9ede9;
    --p-purple: #e8bddb;
    --p-rose: #feb2be;
    --p-yellow: #fbdd97;
    --accent-main: #5ed1e1;
    --accent-secondary: #a9ede9;
    --text-primary: #1f2937;
    --text-secondary: #374151;
    --radius: 24px;
    --shadow-soft: 0 10px 35px rgba(94, 209, 225, 0.12);
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family:
        Inter,
        system-ui,
        -apple-system,
        sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background: #f8fafc;
    -webkit-tap-highlight-color: transparent;
}
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 10px;
}
.hero-clean {
    background: linear-gradient(135deg, #fbf0ea 0, #b0e1fa 25%, #a9ede9 45%, #5ed1e1 65%, #cafdbf 85%, #d3fbfb 100%);
    padding: 45px 0 35px;
    position: relative;
    overflow: hidden;
}
.hero-clean::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 40% 30%, rgba(94, 209, 225, 0.2) 0, transparent 70%);
}
.pain-badge {
    background: rgba(255, 255, 255, 0.9);
    color: var(--accent-main);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
    border: 1px solid var(--accent-main);
}
.hero-clean h1 {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 16px;
}
.hero-subtitle,
.section-subtitle {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto 24px;
}
.hotline {
    font-size: 19px;
    font-weight: 700;
    color: var(--accent-main);
    margin: 20px 0;
}
.cta-button,
.zalo-floating-btn {
    color: #0b0c10;
    will-change: transform;
    text-decoration: none;
    font-weight: 700;
}
.cta-button {
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    font-size: 17px;
    padding: 16px 42px;
    border-radius: 50px;
    display: inline-block;
    box-shadow: var(--shadow-soft);
    transition: 0.35s;
}
.cta-button:hover {
    transform: translateY(-5px);
}
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(135px, 1fr));
    gap: 18px;
    margin-top: 48px;
    justify-content: center;
}
.badge {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 22px 16px;
    box-shadow: 0 8px 20px rgba(94, 209, 225, 0.1);
    border: 1px solid rgba(94, 209, 225, 0.25);
}
.bg-light,
.section {
    padding: 60px 0;
}
.bg-light {
    background: linear-gradient(135deg, #f8fafc, #d3fbfb);
}
.contact-form,
.reason-item,
.related-card,
.requirement-item,
.testimonial {
    background: #fff;
    padding: 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
}
.zalo-floating-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent-main), var(--accent-secondary));
    padding: 14px 28px;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(94, 209, 225, 0.3);
    z-index: 9999;
}
@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (min-width: 768px) {
    .reasons-grid,
    .requirements-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (min-width: 992px) {
    .reasons-grid,
    .related-grid,
    .requirements-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .hero-clean {
        padding: 80px 0 60px;
    }
    .related-grid {
        gap: 28px;
    }
}
@media (max-width: 576px) {
    .form-group input {
        padding: 13px 12px;
        font-size: 16px;
    }
    .submit-btn {
        padding: 14px;
        font-size: 16px;
    }
    .hero-clean h1 {
        font-size: 20px;
    }
    h2 {
        font-size: 19px;
    }
}
.site-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 48px 0 32px;
    font-size: 15px;
    line-height: 1.5;
}
.site-footer .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}
.related-services {
    margin-bottom: 40px;
}
.related-services h2 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
}
.related-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}
.related-card {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 24px 20px;
    border-radius: 20px;
    text-decoration: none;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.related-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
}
.related-card p {
    font-size: 14.5px;
    color: #cbd5e1;
    line-height: 1.5;
}
.site-footer p {
    margin-bottom: 10px;
    opacity: 0.9;
}
.site-footer a {
    color: #5ed1e1;
}
.site-footer p:last-child {
    margin-top: 32px;
    font-size: 13.5px;
    opacity: 0.7;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
}
@media (min-width: 640px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}
@media (min-width: 992px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .site-footer p {
        text-align: left;
    }
    .related-services h2 {
        font-size: 28px;
    }
}
/* === FIX CONTRAST - TẤT CẢ TEXT TRONG BẢNG === */
        .interest-rate-table,
        .interest-rate-table * {
            background-color: #ffffff !important;
            color: #111111 !important;
        }

        .interest-rate-table th,
        .interest-rate-table td {
            color: #111111 !important;
            background-color: #ffffff !important;
            border: 1px solid #dddddd !important;
            padding: 14px 12px !important;
            font-size: 15px !important;
            line-height: 1.5 !important;
        }

        .interest-rate-table thead th {
            background-color: #f8f9fa !important;
            color: #111111 !important;
            font-weight: 700 !important;
        }

        /* Fix các ô text cụ thể bị PageSpeed báo (light green box) */
        .interest-rate-table td > div,
        .interest-rate-table td p,
        .interest-rate-table td span,
        td[style*="background"],
        .interest-rate-section td {
            color: #111111 !important;
            background-color: #ffffff !important;
        }