/* ============================================
   GPLX GIA LAI — DESIGN SYSTEM
   Màu: Navy #0d1f4e | Red #c0392b | Gold #d4a017
   Font: Be Vietnam Pro
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:wght@300;400;500;600;700;800;900&display=swap');

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --navy:       #0d1f4e;
    --navy-dark:  #071330;
    --navy-light: #1a3a7c;
    --red:        #c0392b;
    --red-dark:   #922b21;
    --red-light:  #e74c3c;
    --gold:       #d4a017;
    --gold-light: #f0c040;
    --white:      #ffffff;
    --gray-50:    #f9fafb;
    --gray-100:   #f3f4f6;
    --gray-200:   #e5e7eb;
    --gray-400:   #9ca3af;
    --gray-600:   #4b5563;
    --gray-800:   #1f2937;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.12);
    --shadow-md:  0 4px 16px rgba(0,0,0,0.12);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.16);
    --radius:     12px;
    --radius-sm:  8px;
    --radius-lg:  20px;
    --transition: 0.25s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Be Vietnam Pro', 'Segoe UI', sans-serif;
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── UTILITIES ────────────────────────────── */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section-padding { padding: 72px 0; }
.text-navy  { color: var(--navy); }
.text-red   { color: var(--red); }
.text-gold  { color: var(--gold); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.fw-700 { font-weight: 700; }

/* ── TOP BAR ─────────────────────────────── */
.topbar {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.7);
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 2px solid var(--gold);
}
.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.topbar a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.topbar a:hover { color: var(--gold-light); }
.topbar-left { display: flex; gap: 20px; align-items: center; }
.topbar-right { display: flex; gap: 16px; align-items: center; }

/* ── HEADER ──────────────────────────────── */
.site-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 24px;
}
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}
.header-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    padding: 3px;
    object-fit: contain;
}
.header-title .unit-name {
    font-size: 10px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
    letter-spacing: 0.8px;
    text-transform: uppercase;
}
.header-title .site-name {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-top: 1px;
}
.header-title .site-name span { color: var(--gold-light); }

/* ── NAVIGATION ──────────────────────────── */
.main-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
    background: rgba(255,255,255,0.1);
    color: var(--gold-light);
}
.nav-cta {
    background: var(--red);
    color: #fff !important;
    font-weight: 700;
    padding: 8px 18px;
}
.nav-cta:hover { background: var(--red-dark) !important; color: #fff !important; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
}

/* ── HERO ────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, #1a2f6e 100%);
    padding: 80px 0 64px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 70%);
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -80px;
    width: 400px; height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192,57,43,0.08) 0%, transparent 70%);
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(212,160,23,0.15);
    border: 1px solid rgba(212,160,23,0.3);
    color: var(--gold-light);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.5px;
}
.hero-title {
    font-size: clamp(26px, 3.5vw, 42px);
    font-weight: 900;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-title .highlight { color: var(--gold-light); }
.hero-desc {
    font-size: 16px;
    color: rgba(255,255,255,0.7);
    margin-bottom: 32px;
    max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    border: none;
}
.btn-primary {
    background: var(--red);
    color: #fff;
    box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,57,43,0.4); }
.btn-outline {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255,255,255,0.3);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

/* Hero stats */
.hero-stats {
    display: flex;
    gap: 28px;
    margin-top: 36px;
    padding-top: 28px;
    border-top: 1px solid rgba(255,255,255,0.12);
}
.stat-item { text-align: center; }
.stat-num { font-size: 28px; font-weight: 900; color: var(--gold-light); line-height: 1; }
.stat-label { font-size: 11px; color: rgba(255,255,255,0.55); margin-top: 4px; }

/* Hero visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.hero-card {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 100%;
    max-width: 360px;
}
.hero-card-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.quick-search { display: flex; flex-direction: column; gap: 12px; }
.search-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color var(--transition);
}
.search-input::placeholder { color: rgba(255,255,255,0.35); }
.search-input:focus { border-color: var(--gold); }
.btn-search {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, var(--red), #e74c3c);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}
.btn-search:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── QUICK ACCESS ────────────────────────── */
.quick-access {
    background: var(--gray-50);
    padding: 48px 0;
    border-bottom: 1px solid var(--gray-200);
}
.qa-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.qa-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px 20px;
    text-align: center;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}
.qa-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}
.qa-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 26px;
    margin: 0 auto 14px;
}
.qa-icon.red   { background: rgba(192,57,43,0.1); }
.qa-icon.navy  { background: rgba(13,31,78,0.08); }
.qa-icon.gold  { background: rgba(212,160,23,0.12); }
.qa-icon.green { background: rgba(5,150,105,0.1); }
.qa-title { font-size: 14px; font-weight: 700; color: var(--navy); }
.qa-desc  { font-size: 12px; color: var(--gray-400); margin-top: 4px; }

/* ── SECTION HEADER ──────────────────────── */
.section-header { text-align: center; margin-bottom: 48px; }
.section-label {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--red);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 800;
    color: var(--navy);
    line-height: 1.25;
}
.section-title span { color: var(--red); }
.section-desc {
    font-size: 15px;
    color: var(--gray-600);
    margin-top: 12px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
}

/* ── THÔNG BÁO ───────────────────────────── */
.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
}
.news-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: box-shadow var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); }
.news-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.news-tag.red   { background: rgba(192,57,43,0.1); color: var(--red); }
.news-tag.navy  { background: rgba(13,31,78,0.08); color: var(--navy); }
.news-tag.gold  { background: rgba(212,160,23,0.12); color: #92700a; }
.news-body { padding: 24px; }
.news-title { font-size: 15px; font-weight: 700; color: var(--navy); line-height: 1.4; margin-bottom: 8px; }
.news-title a:hover { color: var(--red); }
.news-excerpt { font-size: 13px; color: var(--gray-600); line-height: 1.6; }
.news-meta { display: flex; gap: 16px; margin-top: 14px; font-size: 12px; color: var(--gray-400); }

/* Sidebar news list */
.news-list { display: flex; flex-direction: column; gap: 0; }
.news-list-item {
    padding: 16px 20px;
    border-bottom: 1px solid var(--gray-100);
    transition: background var(--transition);
}
.news-list-item:last-child { border-bottom: none; }
.news-list-item:hover { background: var(--gray-50); }
.news-list-title { font-size: 13.5px; font-weight: 600; color: var(--navy); line-height: 1.4; margin-bottom: 4px; }
.news-list-title a:hover { color: var(--red); }
.news-list-meta { font-size: 11px; color: var(--gray-400); }

/* ── FEATURES ────────────────────────────── */
.features { background: var(--gray-50); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 28px 24px;
    border: 1px solid var(--gray-200);
    transition: all var(--transition);
}
.feature-card:hover {
    border-color: var(--navy);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--navy), var(--navy-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 24px;
    margin-bottom: 18px;
}
.feature-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-desc  { font-size: 13.5px; color: var(--gray-600); line-height: 1.65; }

/* ── LỊCH SÁT HẠCH PREVIEW ───────────────── */
.schedule-table { width: 100%; border-collapse: collapse; }
.schedule-table th {
    background: var(--navy);
    color: rgba(255,255,255,0.85);
    font-size: 12px;
    font-weight: 600;
    padding: 12px 16px;
    text-align: left;
    letter-spacing: 0.5px;
}
.schedule-table td {
    padding: 13px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid var(--gray-100);
    color: var(--gray-800);
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table tr:hover td { background: var(--gray-50); }
.badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}
.badge-open   { background: rgba(5,150,105,0.1);  color: #065f46; }
.badge-full   { background: rgba(192,57,43,0.1);   color: var(--red); }
.badge-coming { background: rgba(212,160,23,0.12); color: #92700a; }

/* ── STATS BAND ──────────────────────────── */
.stats-band {
    background: linear-gradient(135deg, var(--navy-dark), var(--navy));
    padding: 60px 0;
}
.stats-band-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-band-num { font-size: 40px; font-weight: 900; color: var(--gold-light); line-height: 1; }
.stat-band-label { font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; font-weight: 500; }

/* ── FOOTER ──────────────────────────────── */
.site-footer {
    background: var(--navy-dark);
    color: rgba(255,255,255,0.65);
    padding: 56px 0 0;
    border-top: 3px solid var(--gold);
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand {}
.footer-logo-row { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo { width: 48px; height: 48px; border-radius: 50%; background: #fff; padding: 3px; }
.footer-brand-name { font-size: 15px; font-weight: 800; color: #fff; line-height: 1.2; }
.footer-brand-name span { color: var(--gold-light); }
.footer-desc { font-size: 13px; line-height: 1.7; }
.footer-heading { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; letter-spacing: 0.5px; text-transform: uppercase; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-contact-item { display: flex; gap: 10px; font-size: 13px; margin-bottom: 10px; }
.footer-contact-item .icon { flex-shrink: 0; margin-top: 2px; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 18px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.4);
}

/* ── RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .qa-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: 1fr; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-band-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .topbar .container { flex-direction: column; gap: 4px; text-align: center; }
    .main-nav { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--navy-dark); padding: 16px; gap: 4px; }
    .main-nav.open { display: flex; }
    .nav-toggle { display: block; }
    .features-grid { grid-template-columns: 1fr; }
    .qa-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
    .qa-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-wrap: wrap; justify-content: center; }
}
