/* ==========================================================================
   Design tokens — official / institutional
   ========================================================================== */
:root {
  --gov-deep:  #063a5e;   /* deep navy — header, footer */
  --gov-blue:  #1487c9;   /* primary institutional blue */
  --gov-sky:   #eaf5fb;   /* light tint background */
  --gov-gold:  #a97e28;   /* ornamental gold */
  --gov-green: #2f7d34;   /* accent — national green, used sparingly */
  --ink:       #16324a;
  --mist:      #4d7189;
  --paper:     #ffffff;
  --line:      rgba(6, 58, 94, 0.12);

  --font-display: 'Merriweather', serif;
  --font-body: 'PT Sans', sans-serif;

  --container: 1160px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

a { color: inherit; }
.wrap { max-width: var(--container); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--gov-deep);
  line-height: 1.22;
  margin: 0;
  font-weight: 700;
}
p { line-height: 1.75; color: var(--mist); margin: 0; }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gov-gold);
}

/* ==========================================================================
   Top bar + header
   ========================================================================== */
.top-bar {
  background: var(--gov-deep);
  color: #cfe4f2;
  font-size: 12.5px;
}
.top-bar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 34px;
  flex-wrap: wrap;
  gap: 10px;
}
.top-bar a { text-decoration: none; color: #cfe4f2; }
.top-bar .bar-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
}
.lang-switch a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 3px 7px;
  border-radius: 3px;
  color: #cfe4f2;
  opacity: 0.75;
}
.lang-switch a:hover { opacity: 1; background: rgba(255,255,255,0.1); }
.lang-switch a.active {
  opacity: 1;
  background: var(--gov-gold);
  color: var(--paper);
}
.lang-switch .sep { color: rgba(207,228,242,0.4); font-size: 11px; }

.site-header {
  background: var(--paper);
  border-bottom: 3px solid var(--gov-gold);
  box-shadow: 0 2px 10px rgba(6, 58, 94, 0.06);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 118px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 18px;
  text-decoration: none;
}
.brand img {
  width: 84px;
  height: 84px;
  object-fit: contain;
  background: var(--paper);
  border-radius: 10px;
  padding: 4px;
  border: 1px solid var(--line);
}
.brand .titles {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}
.brand .titles .main {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16.5px;
  color: var(--gov-deep);
  max-width: 460px;
}
.brand .titles .sub {
  font-size: 12.5px;
  color: var(--gov-gold);
  letter-spacing: 0.04em;
  margin-top: 4px;
  text-transform: uppercase;
  font-weight: 700;
}

nav.main-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}
nav.main-nav a {
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  color: var(--gov-deep);
  padding: 10px 20px;
  border-radius: 4px;
  transition: background 0.2s ease, color 0.2s ease;
}
nav.main-nav a:hover { background: var(--gov-sky); }
nav.main-nav a.active {
  background: var(--gov-deep);
  color: var(--paper);
}

.menu-toggle {
  display: none;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--gov-deep); margin: 5px 0; }

/* ==========================================================================
   Hero — landscape banner (index)
   ========================================================================== */
.hero-banner {
  background: linear-gradient(180deg, #0d63a1 0%, #063a5e 100%);
}
.hero-banner .banner-media {
  max-width: 1800px;
  margin: 0 auto;
}
.hero-banner .banner-media img {
  display: block;
  width: 100%;
  height: auto;
}
.hero-banner .text-band {
  background: var(--gov-deep);
  border-top: 3px solid var(--gov-gold);
  padding: 40px 0 44px;
}
.hero-banner .eyebrow { color: #ffd98a; }
.hero-banner h1 {
  color: var(--paper);
  font-size: clamp(24px, 3.4vw, 38px);
  max-width: 820px;
  margin: 14px 0 16px;
}
.hero-banner p.lead {
  color: #d9e8f2;
  max-width: 660px;
  font-size: 16px;
}
.gold-rule { width: 64px; height: 3px; background: var(--gov-gold); margin: 20px 0; }

/* Small page hero (activity page) */
.hero-simple {
  background: var(--gov-sky);
  border-bottom: 1px solid var(--line);
  padding: 56px 0;
}
.hero-simple h1 { font-size: clamp(26px, 3.4vw, 36px); margin-top: 12px; }
.hero-simple p.lead { margin-top: 14px; max-width: 620px; font-size: 16px; }

/* ==========================================================================
   Sections
   ========================================================================== */
section { padding: 80px 0; }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(24px, 3vw, 32px); margin-top: 10px; }
.section-head.left { text-align: left; margin: 0 0 44px; }

.intro-text {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-size: 17px;
  color: var(--ink);
}

/* Direction cards */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gov-blue);
  border-radius: 6px;
  padding: 28px 24px;
}
.card .icon {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gov-sky);
  color: var(--gov-blue);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.card h3 { font-size: 16.5px; margin-bottom: 8px; }
.card p { font-size: 14px; }

/* Split image/text */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 18px 40px -20px rgba(6,58,94,0.35);
}
.split .eyebrow { margin-bottom: 12px; }
.split h2 { margin-bottom: 18px; }
.split p + p { margin-top: 14px; }
.split.reverse { grid-template-columns: 1fr 1fr; }
.split.reverse .text { order: 2; }
.split.reverse .media { order: 1; }

/* CTA band */
.cta-band {
  background: var(--gov-deep);
  border-radius: 8px;
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border-top: 3px solid var(--gov-gold);
}
.cta-band h2 { color: var(--paper); font-size: clamp(20px, 2.6vw, 28px); max-width: 520px; }
.cta-band p { color: #b9d2e2; margin-top: 8px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gov-gold); color: var(--paper); }
.btn-gold:hover { background: #93701f; }

/* ==========================================================================
   Activity page — article content
   ========================================================================== */
.article {
  max-width: 820px;
  margin: 0 auto;
}
.article > p { font-size: 16.5px; margin-bottom: 22px; }
.article h2 {
  font-size: 22px;
  margin: 44px 0 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gov-sky);
}
.article ul {
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}
.article ul li {
  position: relative;
  padding: 12px 0 12px 30px;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink);
  line-height: 1.65;
}
.article ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 20px;
  width: 9px; height: 9px;
  background: var(--gov-blue);
  transform: rotate(45deg);
}
.article ul li:last-child { border-bottom: none; }

.callout {
  background: var(--gov-sky);
  border-left: 4px solid var(--gov-gold);
  border-radius: 4px;
  padding: 22px 26px;
  margin: 32px 0;
  font-size: 15px;
  color: var(--ink);
}

/* ==========================================================================
   Contact block
   ========================================================================== */
.contact-section { background: var(--gov-sky); }
.contact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.contact-item {
  background: var(--paper);
  border-radius: 6px;
  padding: 26px 22px;
  border: 1px solid var(--line);
}
.contact-item .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--gov-gold);
  margin-bottom: 10px;
  display: block;
}
.contact-item .value {
  font-size: 15.5px;
  color: var(--gov-deep);
  font-weight: 700;
  line-height: 1.5;
}
.contact-item a.value { text-decoration: none; }
.contact-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--mist);
  font-style: italic;
}

/* ==========================================================================
   Footer
   ========================================================================== */
footer {
  background: var(--gov-deep);
  color: #a9c7da;
  padding: 40px 0;
}
footer .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}
footer p { color: #a9c7da; font-size: 13px; }
footer .links { display: flex; gap: 22px; }
footer .links a { text-decoration: none; color: #a9c7da; font-size: 13px; }
footer .links a:hover { color: var(--paper); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
  .split.reverse .text, .split.reverse .media { order: unset; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .top-bar .wrap { justify-content: center; text-align: center; }
  nav.main-nav {
    position: fixed; top: 118px; left: 0; right: 0; background: var(--paper);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 6px;
    border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform 0.25s ease; z-index: 40;
  }
  nav.main-nav.open { transform: translateY(0); }
  .menu-toggle { display: block; }
  .brand img { width: 60px; height: 60px; }
  .brand .titles .main { font-size: 14px; max-width: 220px; }
  .grid-4 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}

:focus-visible { outline: 2px solid var(--gov-gold); outline-offset: 2px; }
