:root {
  --navy: #0b2147;
  --dark: #071936;
  --blue: #1259b0;
  --gold: #f5a83a;
  --gold-dark: #d98c1f;
  --cream: #f6f4ee;
  --ink: #132747;
  --muted: #64748a;
  --line: #e3e7ee;
  --white: #fff;
  --radius: 18px;
  --shadow: 0 18px 50px rgba(11, 33, 71, .12);
  --font: "Be Vietnam Pro", system-ui, sans-serif;
  --display: "Manrope", "Be Vietnam Pro", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.65 var(--font); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); line-height: 1.2; color: var(--navy); }
p { margin: 0; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 100; background: var(--gold); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; border: 2px solid transparent; font-weight: 700; font-size: 15px; cursor: pointer; transition: .2s; white-space: nowrap; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border-color: rgba(255, 255, 255, .5); color: var(--white); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); border-color: var(--white); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--blue); }
.btn svg { width: 18px; height: 18px; }

/* Header */
.topbar { background: var(--dark); color: #c6d2e6; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 6px; }
.topbar-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar a:hover { color: var(--gold); }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 24px; padding-block: 12px; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { width: 62px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { font-family: var(--display); font-size: 16px; color: var(--navy); letter-spacing: .01em; }
.brand-text small { font-size: 11px; color: var(--muted); letter-spacing: .08em; }
.site-nav { margin-left: auto; }
.site-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.site-nav li { position: relative; }
.site-nav a { display: block; padding: 10px 10px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--ink); white-space: nowrap; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--blue); }
.has-sub > a::after { content: ""; display: inline-block; margin-left: 6px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.sub { position: absolute; top: 100%; left: 0; min-width: 210px; padding: 8px; margin: 0; list-style: none; background: var(--white); border-radius: 14px; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
.header-tools { display: flex; align-items: center; gap: 10px; }
.search { position: relative; }
.search input { width: 200px; padding: 5px 34px 5px 14px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--white); font-size: 13.5px; }
.search input::placeholder { color: #9fb0cc; }
.search button { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border: 0; border-radius: 50%; background: transparent; color: #c6d2e6; cursor: pointer; }
.search svg { width: 15px; height: 15px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: var(--navy); cursor: pointer; padding: 12px 11px; flex-direction: column; justify-content: space-between; }
.menu-toggle span { display: block; height: 2px; background: var(--white); border-radius: 2px; }

/* Section basics */
.section { padding-block: 90px; }
.section-alt { background: var(--cream); }
.eyebrow { display: inline-block; margin-bottom: 12px; color: var(--gold-dark); font-weight: 700; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 40px; }
.section-head h2, .title { font-size: clamp(28px, 3.4vw, 42px); }
.link-more { font-weight: 700; color: var(--blue); white-space: nowrap; }
.link-more:hover { color: var(--gold-dark); }

/* Hero slider */
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 85% 20%, #1d4f9a 0, transparent 45%), linear-gradient(135deg, var(--dark), var(--navy) 60%, #12366f); color: var(--white); }
.hero::after { content: ""; position: absolute; inset: auto -10% -60% 40%; height: 120%; background: radial-gradient(closest-side, rgba(245, 168, 58, .18), transparent); pointer-events: none; }
.slides { display: grid; }
.slide { grid-area: 1 / 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-block: 84px 110px; opacity: 0; visibility: hidden; transition: opacity .6s, visibility .6s; }
.slide.is-active { opacity: 1; visibility: visible; }
.slide .eyebrow { color: var(--gold); }
.slide h1, .slide h2 { color: var(--white); font-size: clamp(32px, 4.6vw, 56px); font-weight: 800; letter-spacing: -.02em; }
.slide-sub { margin-top: 14px; font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--gold); }
.slide-text { margin-top: 18px; max-width: 560px; color: #d4deee; font-size: 16.5px; display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }
.slide-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.slide-media { position: relative; z-index: 1; }
.slide-media img { width: 100%; aspect-ratio: 4 / 3.3; object-fit: cover; border-radius: 24px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.slide-media::before { content: ""; position: absolute; inset: -14px 14px 14px -14px; border: 2px solid rgba(245, 168, 58, .6); border-radius: 26px; z-index: -1; }
.slider-nav { position: absolute; left: 0; right: 0; bottom: 36px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.slider-nav .container { display: flex; align-items: center; gap: 12px; }
.dots { display: flex; gap: 8px; }
.dot { width: 34px; height: 5px; border: 0; padding: 0; border-radius: 4px; background: rgba(255, 255, 255, .3); cursor: pointer; }
.dot.is-active { background: var(--gold); }
.arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: var(--white); cursor: pointer; font-size: 18px; }
.arrow:hover { background: rgba(255, 255, 255, .12); }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 14px; }
.about-media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.about-media img:first-child { grid-row: span 2; aspect-ratio: 3 / 4; }
.about-media img:not(:first-child) { aspect-ratio: 1; }
.badge { position: absolute; left: -18px; bottom: 28px; padding: 18px 22px; border-radius: 16px; background: var(--gold); color: var(--navy); box-shadow: var(--shadow); text-align: center; }
.badge strong { display: block; font-family: var(--display); font-size: 34px; line-height: 1; }
.badge span { font-weight: 600; font-size: 14px; }
.about-copy .lead { margin-top: 18px; color: var(--muted); font-size: 17px; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.tab { padding: 10px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--white); font-weight: 700; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: var(--white); }
.panel { margin-top: 22px; }
.checks { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b2147' stroke-width='3'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 13px no-repeat; }
.checks b { color: var(--navy); }
.about-copy .btn { margin-top: 30px; }

/* Stats */
.stats { background: var(--navy); color: var(--white); padding-block: 54px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { display: flex; align-items: center; gap: 18px; }
.stat-icon { flex-shrink: 0; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; background: var(--white); }
.stat-icon img { width: 38px; }
.stat strong { display: block; font-family: var(--display); font-size: 34px; line-height: 1.1; color: var(--gold); }
.stat span { color: #c9d4e6; font-size: 15px; }

/* Activities */
.act-tabs { justify-content: center; margin: 0 0 36px; }
.act-panel { display: grid; grid-template-columns: 1.15fr 1fr; gap: 32px; }
.featured { position: relative; overflow: hidden; border-radius: 22px; background: var(--white); box-shadow: var(--shadow); }
.featured img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.featured-body { padding: 26px 28px 30px; }
.featured h3 { font-size: 23px; margin-block: 8px 12px; }
.featured p { color: var(--muted); }
.featured .link-more { display: inline-block; margin-top: 16px; }
.mini-list { display: grid; gap: 16px; align-content: start; margin: 0; padding: 0; list-style: none; }
.mini { display: grid; grid-template-columns: 130px 1fr; gap: 16px; align-items: center; padding: 12px; border-radius: 16px; background: var(--white); transition: .2s; }
.mini:hover { box-shadow: var(--shadow); }
.mini img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.mini h4 { font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.meta { display: block; color: var(--muted); font-size: 13px; margin-top: 6px; }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--white); transition: .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-img { position: relative; }
.card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.chip { position: absolute; left: 14px; top: 14px; padding: 4px 12px; border-radius: 999px; background: var(--gold); color: var(--navy); font-size: 12px; font-weight: 700; }
.card-body { padding: 20px 22px 24px; }
.card h3 { font-size: 18px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card p { margin-top: 10px; color: var(--muted); font-size: 15px; }

/* Logos */
.logo-panel { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.logo-cell { display: grid; place-items: center; height: 112px; padding: 16px; border: 1px solid var(--line); border-radius: 16px; background: var(--white); }
.logo-cell img { max-height: 70px; width: auto; object-fit: contain; filter: grayscale(1); opacity: .8; transition: .2s; }
.logo-cell:hover img { filter: none; opacity: 1; }

/* Sponsor banner */
.sponsor { padding-block: 0 90px; }
.sponsor img { width: 100%; border-radius: 20px; }

/* CTA band */
.cta { background: linear-gradient(120deg, var(--blue), var(--navy)); color: var(--white); border-radius: 28px; padding: 54px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta h2 { color: var(--white); font-size: clamp(26px, 3vw, 36px); }
.cta p { margin-top: 10px; color: #d4deee; }

/* Footer */
.site-footer { background: #0a204a; color: #bfcbe0; padding-top: 70px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr .8fr 1fr; gap: 44px; }
.footer-logo { width: 110px; padding: 10px; background: var(--white); border-radius: 18px; }
.site-footer p { margin-top: 18px; }
.site-footer h4 { color: var(--white); font-size: 16px; letter-spacing: .06em; margin-bottom: 18px; }
.site-footer ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .1); }
.socials a:hover { background: var(--gold); color: var(--navy); }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 56px; padding-block: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: 14px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Floating actions */
.float { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: grid; gap: 10px; }
.float a { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; color: var(--white); box-shadow: 0 10px 26px rgba(0, 0, 0, .25); }
.float svg { width: 24px; height: 24px; }
.float .f-phone { background: var(--gold); color: var(--navy); animation: pulse 2.4s infinite; }
.float .f-fb { background: var(--blue); }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(245, 168, 58, .6); } 70% { box-shadow: 0 0 0 16px rgba(245, 168, 58, 0); } 100% { box-shadow: 0 0 0 0 rgba(245, 168, 58, 0); } }

/* Inner pages */
.page-hero { background: linear-gradient(135deg, var(--dark), var(--navy)); color: var(--white); padding-block: 64px; }
.page-hero h1 { color: var(--white); font-size: clamp(30px, 4vw, 46px); }
.crumbs { margin-bottom: 12px; color: #a9b8d2; font-size: 14px; }
.crumbs a:hover { color: var(--gold); }
.act-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.act-card { padding: 28px; border-radius: 20px; background: var(--white); border: 1px solid var(--line); }
.act-card h3 { font-size: 20px; margin-bottom: 14px; }
.act-num { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--display); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.person { text-align: center; }
.person img { width: 190px; aspect-ratio: 1; margin: 0 auto 16px; object-fit: cover; border-radius: 50%; border: 5px solid var(--white); box-shadow: var(--shadow); background: var(--cream); }
.person h3 { font-size: 19px; }
.person span { color: var(--muted); font-size: 15px; }
.person.lead-person img { border-color: var(--gold); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.empty { padding: 40px; text-align: center; color: var(--muted); }
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 44px; }
.contact-list { margin: 26px 0 0; padding: 0; list-style: none; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list svg { flex-shrink: 0; width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--cream); color: var(--blue); }
.form { display: grid; gap: 14px; padding: 32px; border-radius: 22px; background: var(--cream); }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.form input, .form textarea { padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); }
.form textarea { min-height: 130px; resize: vertical; }
.form-note { color: var(--muted); font-size: 13.5px; }
.map { margin-top: 60px; overflow: hidden; border-radius: 22px; border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Responsive */
@media (max-width: 1240px) {
  .header-inner { gap: 12px; }
  .site-nav a { padding-inline: 7px; font-size: 14px; }
  .brand-text small { display: none; }
}
@media (max-width: 1120px) {
  .menu-toggle { display: flex; }
  .header-tools { margin-left: auto; }
  .site-header { backdrop-filter: none; background: var(--white); }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); padding: 80px 20px 24px; background: var(--white); box-shadow: -20px 0 50px rgba(0, 0, 0, .2); transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; overflow-y: auto; z-index: 70; }
  .site-nav.open { transform: none; visibility: visible; }
  .site-nav > ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 14px; font-size: 16px; }
  .sub { position: static; opacity: 1; visibility: inherit; transform: none; box-shadow: none; padding: 0 0 0 14px; }
  .menu-toggle[aria-expanded="true"] { position: fixed; right: 20px; top: 14px; z-index: 80; }
  .about, .act-panel, .contact { grid-template-columns: 1fr; gap: 44px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .logo-panel { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 820px) {
  .topbar-hide { display: none; }
  .search input { width: 160px; }
  .slide { grid-template-columns: 1fr; gap: 36px; padding-block: 56px 100px; }
  .slide-media { max-width: 520px; }
  .news-grid, .act-grid, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .cta { flex-direction: column; align-items: flex-start; padding: 36px; }
}
@media (max-width: 600px) {
  .container { width: calc(100% - 32px); }
  .section { padding-block: 64px; }
  .brand img { width: 48px; }
  .brand-text strong { font-size: 13.5px; }
  .brand-text small { font-size: 9.5px; }
  .topbar .container { justify-content: space-between; }
  .search input { width: 140px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .news-grid, .act-grid, .stats-grid, .footer-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .person img { width: 130px; }
  .logo-panel { grid-template-columns: repeat(2, 1fr); }
  .mini { grid-template-columns: 100px 1fr; }
  .badge { left: 10px; bottom: 10px; padding: 12px 16px; }
  .badge strong { font-size: 26px; }
  .sponsor { padding-bottom: 64px; }
  .form { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* Trang bài viết, danh sách tin, liên hệ (nội dung từ CMS) */
.preview-bar { position: sticky; top: 0; z-index: 60; padding: 10px 20px; background: var(--gold); color: var(--navy); font-weight: 700; text-align: center; }
.post-meta { margin-top: 14px; color: #a9b8d2; font-size: 14.5px; }
.post-meta a { color: var(--gold); }
.post { max-width: 820px; }
.post-cover { width: 100%; margin-bottom: 32px; border-radius: 20px; }
.post > .lead { margin-bottom: 24px; font-size: 19px; font-weight: 600; color: var(--navy); }
.prose { font-size: 17px; line-height: 1.8; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.6em; font-size: 26px; }
.prose h3 { margin-top: 1.4em; font-size: 21px; }
.prose a { color: var(--blue); text-decoration: underline; }
.prose img { margin-inline: auto; border-radius: 14px; }
.prose figcaption { margin-top: 8px; color: var(--muted); font-size: 14px; text-align: center; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose blockquote { margin-inline: 0; padding: 14px 20px; border-left: 4px solid var(--gold); background: var(--cream); border-radius: 0 12px 12px 0; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { padding: 8px 10px; border: 1px solid var(--line); text-align: left; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 44px; }
.pager a, .pager span { min-width: 42px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-align: center; font-weight: 700; }
.pager span { background: var(--navy); border-color: var(--navy); color: var(--white); }
.pager a:hover { border-color: var(--navy); }
.form-error { padding: 10px 14px; border-radius: 12px; background: #fdecea; color: #a12a1d; font-weight: 600; }
.form h3 + p { margin-top: -4px; color: var(--muted); }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.logo-cell a { display: contents; }
.sponsor a { display: block; }
@media (max-width: 600px) {
  .prose { font-size: 16px; }
  .post-cover { margin-bottom: 22px; border-radius: 14px; }
}
