:root {
  --navy: #0b2545;
  --navy-deep: #071a33;
  --gold: #c99a3f;
  --gold-soft: #fbf1dd;
  --bg: #ffffff;
  --panel: #ffffff;
  --border: #e3e7ee;
  --text: #0b2545;
  --text-dim: #5b6b82;
  --red-soft: #fdecec;
  --red: #b3352f;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}

a { color: inherit; }

/* --- Header --- */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 32px;
  background: var(--navy);
}

.logo {
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #ffffff;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --- Side menu --- */
.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  border-left: 1px solid var(--border);
  z-index: 50;
  padding: 100px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  transition: right 0.25s ease;
  box-shadow: -8px 0 24px rgba(11, 37, 69, 0.08);
}

.side-menu.open { right: 0; }

.menu-link {
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
}

.menu-link:hover { color: var(--gold); }

.menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(7, 26, 51, 0.45);
  z-index: 45;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.menu-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  padding: 0 32px 100px;
  overflow: hidden;
  color: #ffffff;
}

.hero-photo-placeholder {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, #16345c 0%, var(--navy) 55%, var(--navy-deep) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.eyebrow {
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(40px, 7vw, 80px);
  line-height: 1.05;
  font-weight: 800;
  margin: 0 0 24px;
  color: #ffffff;
}

.hero-title .accent { color: var(--gold); }

.hero-desc {
  font-size: 17px;
  line-height: 1.6;
  color: #cdd7e5;
  max-width: 560px;
}

/* --- Generic sections --- */
.section {
  padding: 90px 32px;
  max-width: 1100px;
  margin: 0 auto;
  border-top: 1px solid var(--border);
  scroll-margin-top: 80px;
}

.hero { scroll-margin-top: 0; }
.footer { scroll-margin-top: 80px; }

.section-title {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 20px;
  color: var(--navy);
}

.section-text {
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 720px;
}

.section-hint {
  font-size: 13px;
  color: var(--text-dim);
  margin: -10px 0 30px;
}

.section-link {
  display: inline-block;
  margin-top: 18px;
  font-size: 14.5px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.section-link:hover { text-decoration: underline; }

/* --- Cards --- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px;
  box-shadow: 0 1px 3px rgba(11, 37, 69, 0.04);
}

.card h3 {
  font-size: 19px;
  margin: 8px 0 10px;
  color: var(--navy);
}

.card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-dim);
  margin: 0;
}

.card-badge {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

.card-badge.internal {
  background: var(--red-soft);
  color: var(--red);
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.card-link:hover { text-decoration: underline; }

/* --- Social links --- */
.social-row {
  display: flex;
  gap: 14px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
}

.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* --- Footer --- */
.footer {
  padding: 60px 32px 40px;
  background: var(--navy);
  color: #ffffff;
}

.footer .section-title { color: #ffffff; }
.footer .section-text { color: #cdd7e5; }

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.copyright {
  margin-top: 30px;
  font-size: 12.5px;
  color: #9fb0c4;
}

/* --- Trang giới thiệu (bài viết dài) --- */
.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 140px 32px 90px;
}

.article h1 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 8px;
}

.article .article-role {
  color: var(--gold);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.06em;
  margin-bottom: 36px;
}

.article p {
  font-size: 16.5px;
  line-height: 1.8;
  color: var(--text-dim);
  margin: 0 0 22px;
}

.article h2 {
  font-size: 22px;
  color: var(--navy);
  margin: 44px 0 16px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 24px 0 44px;
}

.gallery-item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--panel);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  background: #f4f6f9;
}

.gallery-item figcaption {
  padding: 12px 14px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim);
}

.back-link {
  display: inline-block;
  margin-bottom: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

@media (max-width: 640px) {
  .topbar { padding: 16px 20px; }
  .hero { padding: 0 20px 60px; }
  .section, .footer { padding: 60px 20px; }
  .article { padding: 120px 20px 60px; }
}
