/* ═══════════════════════════════════════════════════════════════════════
   VĂN CÁT ANH — Design System
   Palette: White · Light Gray · Gray · Bronze Gold · Light Brown
   ═══════════════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

/* ── CSS Variables ─────────────────────────────────────────────────────── */
:root {
    --clr-white:       #FFFFFF;
    --clr-light-gray:  #F3F4F6;
    --clr-gray:        #9CA3AF;
    --clr-mid-gray:    #6B7280;
    --clr-dark-gray:   #374151;
    --clr-darkest:     #111827;
    --clr-gold:        #C8A96B;
    --clr-gold-light:  #E2C98A;
    --clr-gold-dark:   #A8853A;
    --clr-brown:       #D6BFA7;
    --clr-border:      #E5E7EB;
    --clr-accent:      var(--clr-gold);
    --font-primary:    'Be Vietnam Pro', 'Inter', sans-serif;
    --shadow-sm:  0 1px 3px rgba(0,0,0,.06);
    --shadow-md:  0 4px 12px rgba(0,0,0,.08);
    --shadow-lg:  0 10px 30px rgba(0,0,0,.10);
    --shadow-gold:0 4px 20px rgba(200,169,107,.30);
    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-full:9999px;
    --transition: 250ms ease;
    --header-topbar: 40px;
    --header-main:   80px;
}

/* ── Reset ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-primary);
    color: var(--clr-darkest);
    background: var(--clr-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; margin: 0; }

/* ── Section ───────────────────────────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.section-bg { background: var(--clr-light-gray); }
.section-dark { background: var(--clr-darkest); color: var(--clr-white); }
.section-header { text-align: center; margin-bottom: 3rem; }
.section-header h2 { margin-bottom: 1rem; }
.section-lead { font-size: 1.125rem; color: var(--clr-mid-gray); max-width: 600px; margin: 0 auto; }
.section-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
    border-radius: var(--radius-full);
    margin: 1rem auto 0;
}
.gold-line {
    display: inline-block; width: 48px; height: 3px;
    background: var(--clr-gold); border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn-gold {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem;
    background: linear-gradient(135deg, var(--clr-gold), var(--clr-gold-dark));
    color: #fff; border-radius: var(--radius-md);
    font-weight: 600; font-size: .875rem;
    box-shadow: var(--shadow-gold);
    transition: all var(--transition);
    border: none; cursor: pointer;
}
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(200,169,107,.4); color: #fff; }
.btn-outline-gold {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem;
    border: 2px solid var(--clr-gold); color: var(--clr-gold);
    border-radius: var(--radius-md); font-weight: 600; font-size: .875rem;
    background: transparent; transition: all var(--transition); cursor: pointer;
}
.btn-outline-gold:hover { background: var(--clr-gold); color: #fff; transform: translateY(-1px); }
.btn-dark {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem;
    background: var(--clr-darkest); color: #fff;
    border-radius: var(--radius-md); font-weight: 600; font-size: .875rem;
    border: none; transition: all var(--transition); cursor: pointer;
}
.btn-dark:hover { background: var(--clr-dark-gray); transform: translateY(-1px); color: #fff; }
.btn-white {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem;
    background: #fff; color: var(--clr-darkest);
    border-radius: var(--radius-md); font-weight: 600; font-size: .875rem;
    border: none; transition: all var(--transition); cursor: pointer;
}
.btn-white:hover { background: var(--clr-light-gray); transform: translateY(-1px); color: var(--clr-darkest); }
.btn-lg { padding: 1rem 2.5rem !important; font-size: 1rem !important; }
.btn-sm { padding: .4rem 1rem !important; font-size: .8rem !important; }

/* ── Cards ─────────────────────────────────────────────────────────────── */
.card-vca {
    background: #fff; border-radius: var(--radius-xl);
    border: 1px solid var(--clr-border); overflow: hidden;
    transition: all var(--transition);
}
.card-vca:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--clr-gold); }
.card-vca .card-body { padding: 1.5rem; }
.card-vca .card-img img { width: 100%; height: 220px; object-fit: cover; }

.card-service {
    background: #fff; border-radius: var(--radius-xl);
    padding: 1.5rem; border: 1px solid var(--clr-border);
    transition: all var(--transition); position: relative; overflow: hidden;
}
.card-service::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--clr-gold), var(--clr-gold-light));
    transform: scaleX(0); transition: transform var(--transition); transform-origin: left;
}
.card-service:hover::before { transform: scaleX(1); }
.card-service:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-service .service-icon {
    width: 56px; height: 56px; border-radius: var(--radius-lg);
    background: rgba(200,169,107,.1);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: var(--clr-gold); margin-bottom: 1rem;
}

/* ── Badges ────────────────────────────────────────────────────────────── */
.badge-gold { display: inline-block; padding: .25rem .875rem; background: rgba(200,169,107,.12); color: var(--clr-gold-dark); border-radius: var(--radius-full); font-size: .75rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.badge-success { background: #D1FAE5; color: #065F46; }
.badge-warning { background: #FEF3C7; color: #92400E; }
.badge-danger  { background: #FEE2E2; color: #991B1B; }
.badge-info    { background: #DBEAFE; color: #1E40AF; }

/* ── Forms ─────────────────────────────────────────────────────────────── */
.form-vca .form-label { font-weight: 500; font-size: .875rem; color: var(--clr-dark-gray); margin-bottom: .35rem; }
.form-vca .form-control,
.form-vca .form-select {
    border: 1.5px solid var(--clr-border); border-radius: var(--radius-md);
    padding: .75rem 1rem; font-size: .875rem;
    transition: border-color 150ms ease, box-shadow 150ms ease;
}
.form-vca .form-control:focus,
.form-vca .form-select:focus { border-color: var(--clr-gold); box-shadow: 0 0 0 3px rgba(200,169,107,.15); outline: none; }
.form-vca .form-control.is-invalid { border-color: #EF4444; }

/* ── Page Banner ───────────────────────────────────────────────────────── */
.page-banner {
    background: linear-gradient(135deg, var(--clr-darkest) 0%, var(--clr-dark-gray) 100%);
    color: #fff; padding: 3.5rem 0; position: relative; overflow: hidden;
}
.page-banner::before {
    content: ''; position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23C8A96B' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-banner .banner-content { position: relative; z-index: 1; }
.page-banner h1 { font-size: 2.25rem; margin-bottom: .5rem; }
.page-banner .breadcrumb { margin: 0; }
.page-banner .breadcrumb-item a { color: var(--clr-gold); }
.page-banner .breadcrumb-item.active { color: var(--clr-gray); }
.page-banner .breadcrumb-item+.breadcrumb-item::before { color: var(--clr-gray); }

/* ── Quick Access Bar ──────────────────────────────────────────────────── */
.quick-access-bar { background: #fff; border-bottom: 1px solid var(--clr-border); box-shadow: var(--shadow-md); }
.quick-item {
    display: flex; align-items: center; gap: .75rem;
    padding: 1.25rem 1.5rem; border-right: 1px solid var(--clr-border);
    transition: background var(--transition); text-decoration: none; color: var(--clr-darkest);
}
.quick-item:hover { background: var(--clr-light-gray); color: var(--clr-darkest); }
.quick-item:last-child { border-right: none; }
.quick-icon {
    width: 40px; height: 40px; border-radius: var(--radius-md);
    background: rgba(200,169,107,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-gold); font-size: 1.1rem; flex-shrink: 0;
}
.quick-label { font-size: .75rem; color: var(--clr-mid-gray); display: block; }
.quick-value { font-size: .875rem; font-weight: 600; }

/* ── Utility ───────────────────────────────────────────────────────────── */
.hover-underline { position: relative; }
.hover-underline::after {
    content: ''; position: absolute; bottom: -2px; left: 0;
    width: 0; height: 2px; background: var(--clr-gold); transition: width var(--transition);
}
.hover-underline:hover::after { width: 100%; }
.text-gold { color: var(--clr-gold) !important; }
.text-muted-vca { color: var(--clr-mid-gray); }
.bg-gold { background: var(--clr-gold); }
.bg-surface { background: var(--clr-light-gray); }

/* ── Animations ─────────────────────────────────────────────────────────── */
@keyframes fadeUp { from { opacity:0; transform:translateY(20px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
.animate-fade-up { animation: fadeUp .6s ease forwards; }
.animate-delay-1 { animation-delay: .1s; }
.animate-delay-2 { animation-delay: .2s; }
.animate-delay-3 { animation-delay: .3s; }

/* ── Scrollbar ──────────────────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--clr-light-gray); }
::-webkit-scrollbar-thumb { background: var(--clr-gold); border-radius: var(--radius-full); }
::selection { background: rgba(200,169,107,.25); }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .section { padding: 3rem 0; }
    .page-banner h1 { font-size: 1.75rem; }
    :root { --header-topbar: 0px; --header-main: 64px; }
}
