/**
 * CamDo789 Main Stylesheet
 * High-End Authentic Vietnamese Fintech & Pawn Shop Design
 * Primary Color: Deep Emerald Forest Green (#064e3b, #15803d) + Prestige Gold (#d97706, #f59e0b)
 */

:root {
    --primary: #15803d;
    --primary-dark: #166534;
    --primary-darker: #052e16;
    --primary-light: #dcfce7;
    --primary-bg: #f0fdf4;
    --primary-gradient: linear-gradient(135deg, #16a34a 0%, #15803d 50%, #064e3b 100%);
    --gold: #f59e0b;
    --gold-dark: #d97706;
    --gold-light: #fef3c7;
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    --dark: #0f172a;
    --dark-surface: #1e293b;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --white: #ffffff;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-card: 0 4px 16px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -1px rgba(15, 23, 42, 0.04);
    --shadow-elevated: 0 12px 28px -4px rgba(15, 23, 42, 0.12), 0 4px 10px -2px rgba(15, 23, 42, 0.06);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Plus Jakarta Sans', 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    background-color: #f8fafc;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
}

/* Strict SVG sizing guarantees - NEVER let SVGs blow up */
svg {
    display: inline-block;
    vertical-align: middle;
    flex-shrink: 0;
    max-width: 100%;
}

.w-3, .h-3 { width: 12px !important; height: 12px !important; }
.w-4, .h-4 { width: 16px !important; height: 16px !important; }
.w-5, .h-5 { width: 20px !important; height: 20px !important; }
.w-6, .h-6 { width: 24px !important; height: 24px !important; }
.w-7, .h-7 { width: 28px !important; height: 28px !important; }
.w-8, .h-8 { width: 32px !important; height: 32px !important; }
.w-10, .h-10 { width: 40px !important; height: 40px !important; }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.25;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(22, 163, 74, 0.12);
    color: #15803d;
    border: 1px solid rgba(22, 163, 74, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.badge-gold {
    background: rgba(245, 158, 11, 0.15);
    color: #b45309;
    border-color: rgba(245, 158, 11, 0.3);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.12);
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 700;
    padding: 11px 22px;
    border-radius: var(--radius-md);
    cursor: pointer;
    border: none;
    transition: all 0.2s ease;
    font-size: 0.92rem;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(21, 128, 61, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(21, 128, 61, 0.4);
    color: var(--white);
}

.btn-gold {
    background: var(--gold-gradient);
    color: #451a03;
    font-weight: 800;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #000;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

.btn-white {
    background: var(--white);
    color: var(--primary-dark);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-white:hover {
    background: #f8fafc;
    color: var(--primary);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 13px 26px;
    font-size: 0.98rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.84rem;
}

/* ==========================================================================
   Top Bar & Ticker
   ========================================================================== */
.site-topbar {
    background: #09121d;
    color: #94a3b8;
    font-size: 0.76rem;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.topbar-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar-left, .topbar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-item svg {
    color: #4ade80;
}

.topbar-item a:hover {
    color: #4ade80;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
    background: var(--white);
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.25s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

/* Minimalist Typographic Logo */
.site-logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-accent {
    color: #16a34a;
}

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.main-navigation a {
    color: #334155;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 6px 0;
    position: relative;
    transition: color 0.2s ease;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a {
    color: var(--primary);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item > a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-phone-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: #f8fafc;
    border: 1px solid var(--border);
    transition: all 0.2s ease;
}

.header-phone-link svg {
    color: #16a34a;
}

.header-phone-link:hover {
    background: #f0fdf4;
    border-color: #86efac;
    color: #15803d;
}

/* Visibility toggles for desktop vs mobile */
.hide-on-mobile {
    display: inline-flex !important;
}

.show-on-mobile {
    display: none !important;
}

.mobile-call-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #16a34a;
    color: #fff;
    display: none;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.mobile-menu-toggle {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #0f172a;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* ==========================================================================
   Hero Section - Authentic Financial Look
   ========================================================================== */
.hero-section {
    background: linear-gradient(145deg, #052e16 0%, #064e3b 50%, #022c22 100%);
    color: var(--white);
    padding: 50px 0 65px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    color: var(--white);
    font-size: 2.35rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 16px 0 14px;
    letter-spacing: -0.5px;
}

.hero-content h1 span {
    color: #4ade80;
}

.hero-lead {
    font-size: 1.02rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    line-height: 1.65;
}

.hero-checklist {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 28px;
}

.hero-check-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #f1f5f9;
}

.hero-check-item svg {
    color: #4ade80;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.hero-trust-bar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 0.82rem;
    color: #94a3b8;
}

.hero-trust-stars {
    color: #f59e0b;
    display: flex;
    gap: 2px;
}

/* ==========================================================================
   Loan Calculator Card - Fintech Style
   ========================================================================== */
.calculator-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 26px;
    box-shadow: 0 16px 36px -4px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.calculator-header {
    border-bottom: 1px solid var(--border);
    padding-bottom: 12px;
    margin-bottom: 16px;
}

.calc-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.calc-title-row h3 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.calc-rate-badge {
    background: #dcfce7;
    color: #15803d;
    font-size: 0.76rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid #86efac;
}

.calculator-header p {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

.calc-group {
    margin-bottom: 16px;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 6px;
}

.calc-label .highlight-val {
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 800;
    font-family: inherit;
}

/* Asset selector tabs */
.asset-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    margin-bottom: 14px;
}

.asset-option {
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 7px 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 0.74rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.15s ease;
    background: #f8fafc;
    color: #475569;
}

.asset-option svg {
    color: #64748b;
}

.asset-option:hover {
    border-color: #86efac;
    background: #f0fdf4;
    color: var(--primary);
}

.asset-option.active {
    border-color: var(--primary);
    background: #f0fdf4;
    color: var(--primary-dark);
    font-weight: 700;
    box-shadow: 0 0 0 1px var(--primary);
}

.asset-option.active svg {
    color: var(--primary);
}

/* Range input styled */
.range-slider-wrap {
    margin: 8px 0 6px;
}

.custom-range {
    width: 100%;
    height: 6px;
    border-radius: var(--radius-full);
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.custom-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    border: 2.5px solid var(--white);
    transition: transform 0.1s;
}

.custom-range::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

/* Presets */
.amount-presets {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.preset-chip {
    background: #f1f5f9;
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 3px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    cursor: pointer;
    color: #475569;
    transition: all 0.15s;
}

.preset-chip:hover, .preset-chip.active {
    background: #f0fdf4;
    color: var(--primary);
    border-color: #86efac;
}

/* Term selector pills */
.term-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
}

.term-btn {
    border: 1px solid var(--border);
    background: #f8fafc;
    border-radius: 6px;
    padding: 6px 2px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    color: #475569;
    transition: all 0.15s;
}

.term-btn:hover, .term-btn.active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Realtime calculation box */
.calc-result-box {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 12px 14px;
    margin: 14px 0;
}

.result-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #475569;
    margin-bottom: 6px;
}

.result-row.total {
    border-top: 1px dashed #86efac;
    padding-top: 8px;
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 0.88rem;
    font-weight: 800;
    color: #0f172a;
}

.result-row.total .total-amount {
    color: var(--primary);
    font-size: 1.15rem;
}

/* ==========================================================================
   Stats Bar
   ========================================================================== */
.stats-section {
    background: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 1.85rem;
    color: var(--primary);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-item p {
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 600;
}

/* ==========================================================================
   Section Layouts
   ========================================================================== */
.section {
    padding: 60px 0;
}

.section-light {
    background: #f8fafc;
}

.section-white {
    background: var(--white);
}

.section-header {
    text-align: center;
    max-width: 620px;
    margin: 0 auto 40px;
}

.section-header h2 {
    font-size: 1.9rem;
    margin: 10px 0 6px;
    letter-spacing: -0.3px;
}

.section-header p {
    color: #64748b;
    font-size: 0.95rem;
}

/* ==========================================================================
   Services Grid with Real Photographs
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-subtle);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card);
    border-color: #86efac;
}

.service-photo-wrap {
    height: 160px;
    position: relative;
    overflow: hidden;
    background: #e2e8f0;
}

.service-photo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.service-card:hover .service-photo-wrap img {
    transform: scale(1.06);
}

.service-photo-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
}

.service-card-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.service-card p {
    color: #64748b;
    font-size: 0.84rem;
    line-height: 1.5;
    margin-bottom: 14px;
    flex-grow: 1;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
    margin-top: auto;
}

.service-card .service-link {
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.service-card .service-link:hover {
    color: var(--primary-dark);
}

/* ==========================================================================
   4-Step Process Section
   ========================================================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.process-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px 18px;
    text-align: center;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-subtle);
    position: relative;
    transition: transform 0.2s;
}

.process-card:hover {
    transform: translateY(-3px);
    border-color: #86efac;
}

.step-number {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 26px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    border: 2px solid var(--white);
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
}

.process-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary-bg);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 6px auto 12px;
}

.process-card h4 {
    font-size: 0.98rem;
    margin-bottom: 6px;
}

.process-card p {
    font-size: 0.82rem;
    color: #64748b;
    line-height: 1.5;
}

/* Commit Box */
.commit-box {
    background: linear-gradient(135deg, #052e16 0%, #064e3b 100%);
    color: var(--white);
    border-radius: var(--radius-xl);
    padding: 40px 36px;
    margin-top: 45px;
    box-shadow: var(--shadow-elevated);
}

.commit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: center;
}

.commit-box h3 {
    color: var(--white);
    font-size: 1.6rem;
    margin-bottom: 12px;
}

.commit-box p {
    color: #cbd5e1;
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.commit-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.commit-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: #f1f5f9;
}

.commit-checklist li svg {
    color: #4ade80;
    flex-shrink: 0;
}

/* ==========================================================================
   Advantages / Why Us
   ========================================================================== */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.advantage-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.advantage-card:hover {
    border-color: #86efac;
    box-shadow: var(--shadow-card);
}

.adv-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #ecfdf5;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.advantage-card h3 {
    font-size: 1.08rem;
    margin-bottom: 8px;
}

.advantage-card p {
    color: #64748b;
    font-size: 0.86rem;
    line-height: 1.55;
}

/* ==========================================================================
   Real Testimonials with Photo Avatars
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-subtle);
}

.testimonial-stars {
    display: flex;
    gap: 3px;
    color: #f59e0b;
    margin-bottom: 12px;
}

.testimonial-card p {
    color: #475569;
    font-size: 0.88rem;
    font-style: italic;
    margin-bottom: 18px;
    line-height: 1.6;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.client-avatar-img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #86efac;
}

.client-meta h4 {
    font-size: 0.92rem;
    margin-bottom: 2px;
}

.client-meta span {
    font-size: 0.74rem;
    color: #64748b;
}

/* ==========================================================================
   FAQ & News Cards
   ========================================================================== */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.2s;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card);
    border-color: #86efac;
}

.post-thumb {
    height: 180px;
    background: #e2e8f0;
    overflow: hidden;
}

.post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-thumb img {
    transform: scale(1.05);
}

.post-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-meta {
    font-size: 0.76rem;
    color: #64748b;
    margin-bottom: 8px;
}

.post-card-body h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    line-height: 1.35;
}

.post-card-body h3 a:hover {
    color: var(--primary);
}

.post-card-body p {
    color: #64748b;
    font-size: 0.84rem;
    margin-bottom: 14px;
    flex-grow: 1;
}

/* FAQ Accordion */
.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.faq-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.94rem;
    cursor: pointer;
    user-select: none;
    color: var(--dark);
}

.faq-question:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 18px 16px;
    color: #475569;
    font-size: 0.88rem;
    line-height: 1.6;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    background: #09121d;
    color: #94a3b8;
    padding-top: 55px;
    font-size: 0.88rem;
    border-top: 3px solid var(--primary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 36px;
    padding-bottom: 40px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.02rem;
    margin-bottom: 16px;
    position: relative;
    padding-bottom: 8px;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--primary);
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 10px;
    font-size: 0.86rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-links a {
    font-size: 0.86rem;
    color: #94a3b8;
}

.footer-links a:hover {
    color: #4ade80;
    padding-left: 3px;
}

.footer-bottom {
    background: #050b12;
    padding: 16px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    font-size: 0.78rem;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

/* ==========================================================================
   Floating Action Bar & Back to top
   ========================================================================== */
.floating-cta-bar {
    position: fixed;
    bottom: 25px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.floating-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s;
    position: relative;
    border: none;
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.08);
}

.floating-btn.call-btn {
    background: var(--primary);
    animation: pulse-ring 2s infinite;
}

.floating-btn.zalo-btn {
    background: transparent;
    padding: 0;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(3, 90, 218, 0.35);
}

.floating-btn.zalo-btn img,
.floating-btn.zalo-btn svg {
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}

.floating-btn.calc-btn {
    background: var(--gold);
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0.6); }
    70% { box-shadow: 0 0 0 14px rgba(21, 128, 61, 0); }
    100% { box-shadow: 0 0 0 0 rgba(21, 128, 61, 0); }
}

.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #1e293b;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-card);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s;
    z-index: 999;
}

.back-to-top.show {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   Modals & Forms
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
    padding: 16px;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 28px;
    position: relative;
    box-shadow: var(--shadow-elevated);
    transform: translateY(15px);
    transition: transform 0.25s;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #64748b;
    font-size: 1.2rem;
    line-height: 1;
}

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

.form-label {
    display: block;
    font-size: 0.84rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 4px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    font-family: inherit;
    background: #f8fafc;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(21, 128, 61, 0.12);
}

.form-alert {
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    display: none;
}

.form-alert.success {
    display: block;
    background: #dcfce7;
    color: #15803d;
    border: 1px solid #86efac;
}

.form-alert.error {
    display: block;
    background: #fee2e2;
    color: #b91c1c;
    border: 1px solid #fca5a5;
}

/* Mobile Offcanvas Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    background: var(--white);
    z-index: 1500;
    padding: 20px;
    box-shadow: var(--shadow-elevated);
    transform: translateX(-100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-drawer.open {
    transform: translateX(0);
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1400;
    display: none;
}

.drawer-overlay.show {
    display: block;
}

.drawer-menu {
    list-style: none;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.drawer-menu a {
    display: block;
    padding: 8px 12px;
    font-weight: 600;
    border-radius: 6px;
    color: #1e293b;
    font-size: 0.92rem;
}

.drawer-menu a:hover, .drawer-menu .current-menu-item a {
    background: var(--primary-bg);
    color: var(--primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .advantages-grid,
    .process-grid,
    .commit-grid,
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .site-topbar {
        display: none !important;
    }

    .main-navigation {
        display: none;
    }

    .hide-on-mobile {
        display: none !important;
    }

    .show-on-mobile {
        display: inline-flex !important;
    }

    .header-inner {
        height: 58px;
    }

    .logo-title {
        font-size: 1.25rem;
    }

    .header-actions {
        gap: 8px;
    }

    .hero-content h1 {
        font-size: 1.85rem;
    }

    .hero-checklist {
        grid-template-columns: 1fr;
    }

    .services-grid,
    .advantages-grid,
    .process-grid,
    .posts-grid,
    .testimonials-grid,
    .commit-grid,
    .footer-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .asset-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .commit-box {
        padding: 26px 20px;
    }

    .floating-cta-bar {
        bottom: 20px;
        right: 16px;
        left: auto;
        gap: 8px;
    }

    .floating-btn {
        width: 44px;
        height: 44px;
    }

    .back-to-top {
        bottom: 175px;
        right: 18px;
        width: 36px;
        height: 36px;
    }
}
