:root {
  --bg: #0b1220;
  --bg-soft: #101a2e;
  --panel: #111c33;
  --panel-light: #17233d;
  --text: #f8fafc;
  --muted: #a8b3c7;
  --line: rgba(255,255,255,0.1);
  --gold: #d8a331;
  --gold-dark: #a97819;
  --white: #ffffff;
  --danger: #7f1d1d;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.top-alert {
  background: #050814;
  color: var(--white);
  border-bottom: 1px solid var(--line);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.alert-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.alert-inner a { color: var(--gold); font-weight: 700; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 270px;
}

.brand-mark {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: #111;
  font-weight: 900;
  border: 2px solid rgba(255,255,255,0.5);
}

.brand strong { display: block; font-size: 1rem; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav > a,
.dropdown > a {
  display: block;
  padding: 12px 13px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.main-nav a:hover { color: var(--white); }

.dropdown { position: relative; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,0.3);
}

.dropdown:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 12px 14px;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}

.dropdown-menu a:last-child { border-bottom: none; }
.dropdown-menu a:hover { background: var(--panel-light); color: var(--white); }

.menu-toggle {
  display: none;
  background: var(--panel);
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 9px 12px;
  font-size: 1.2rem;
}

.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  text-align: center;
  background:
    linear-gradient(rgba(5, 8, 20, 0.55), rgba(5, 8, 20, 0.8)),
    url('/assets/images/hero.jpg') center/cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-content { position: relative; padding: 80px 0; }

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

.hero h1 {
  margin: 8px auto 10px;
  max-width: 900px;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.02;
  text-transform: uppercase;
}

.motto {
  color: var(--muted);
  font-size: 1.25rem;
  margin-bottom: 28px;
}

.hero-actions,
.cta-section {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 800;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: #111;
}

.btn-primary:hover { background: #efbd4a; }

.btn-secondary {
  border-color: var(--line);
  color: var(--white);
  background: rgba(255,255,255,0.06);
}

.page-content { padding: 54px 0; }

.feature-card,
.panel,
.cta-section,
.resource-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.22);
}

.large-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  margin-bottom: 28px;
}

.card-image {
  min-height: 330px;
  background: linear-gradient(135deg, #24324f, #101827);
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.card-body { padding: 36px; }
.card-body h2, .panel h2, .cta-section h2 { margin-top: 0; line-height: 1.15; }
.card-body p, .panel p, .cta-section p { color: var(--muted); }

.two-column {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  margin-bottom: 28px;
}

.panel { padding: 30px; }

.signature {
  margin-top: 24px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.signature strong, .signature span { display: block; }
.signature span { color: var(--muted); }

.news-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin: 18px 0;
}

.news-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(216,163,49,0.14);
  color: var(--gold);
  font-weight: 900;
}

.text-link { color: var(--gold); font-weight: 800; }

.cta-section {
  align-items: center;
  justify-content: space-between;
  padding: 32px;
}

.slim-page {
  max-width: 920px;
}

.slim-page h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-top: 0;
}

.content-section { margin-top: 24px; }

.clean-list {
  padding-left: 20px;
  color: var(--muted);
}

.resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.resource-card {
  padding: 24px;
}

.resource-card strong,
.resource-card span {
  display: block;
}

.resource-card span {
  color: var(--muted);
  margin-top: 8px;
}

.site-footer {
  background: #050814;
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 28px;
}

.site-footer h3,
.site-footer h4 {
  color: var(--white);
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .menu-toggle { display: block; }

  .nav-wrap { flex-wrap: wrap; }

  .main-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 16px;
  }

  .main-nav.open { display: flex; }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border-radius: 10px;
    margin-left: 12px;
  }

  .large-card,
  .two-column,
  .footer-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .hero { min-height: 460px; }
  .brand { min-width: auto; }
}

@media (max-width: 560px) {
  .alert-inner { gap: 10px; font-size: 0.72rem; }
  .brand strong { font-size: 0.9rem; }
  .brand small { display: none; }
  .card-body, .panel, .cta-section { padding: 22px; }
}
