*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --gold: #c9a84c;
  --gold-light: #e8c97a;
  --white: #ffffff;
  --light-bg: #f4f6f9;
  --text: #1a1a2e;
  --text-muted: #5a6a7a;
  --border: #dde3ec;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  font-size: 15px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER */
.site-header {
  background: var(--navy);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
}

.nav a {
  color: #ccd6f6;
  text-decoration: none;
  margin-left: 28px;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.nav a:hover,
.nav a.active {
  color: var(--gold);
}

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 80px 0;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  color: var(--gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.hero p {
  font-size: 1.1rem;
  color: #a8b8d0;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 32px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: background 0.2s;
}

.btn:hover { background: var(--gold-light); }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 48px 0 40px;
}

.page-hero h1 {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-hero p {
  color: #a8b8d0;
  font-size: 1rem;
}

/* DOCUMENTS */
.documents-section {
  background: var(--light-bg);
  padding: 40px 0;
}

.filter-bar {
  margin-bottom: 28px;
}

.filter-bar input {
  width: 100%;
  max-width: 420px;
  padding: 10px 16px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.filter-bar input:focus { border-color: var(--gold); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.doc-card:hover {
  box-shadow: 0 4px 16px rgba(10,22,40,0.1);
  border-color: var(--gold);
}

.doc-card .doc-type {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  background: #fdf6e3;
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  width: fit-content;
}

.doc-card .doc-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.doc-card .doc-size {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.doc-card a.doc-link {
  margin-top: 4px;
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.doc-card a.doc-link:hover { background: var(--gold); color: var(--navy); }

.loading { color: var(--text-muted); font-size: 0.95rem; }

/* ACCESSIBILITY PAGE */
.accessibility-section {
  background: var(--white);
  padding: 40px 0;
}

.accessibility-section h2 {
  font-size: 1.35rem;
  color: var(--navy);
  border-left: 4px solid var(--gold);
  padding-left: 12px;
  margin: 32px 0 12px;
}

.accessibility-section h3 {
  font-size: 1.05rem;
  color: var(--navy-mid);
  margin: 24px 0 8px;
}

.accessibility-section p {
  margin-bottom: 12px;
  color: var(--text);
}

.accessibility-section ul {
  margin: 8px 0 12px 24px;
}

.accessibility-section ul li {
  margin-bottom: 6px;
}

.accessibility-section a {
  color: var(--gold);
  word-break: break-all;
}

.accessibility-section a:hover { text-decoration: underline; }

.contact-block {
  background: var(--light-bg);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  margin: 16px 0;
  border-radius: 0 4px 4px 0;
}

.contact-block p {
  margin-bottom: 16px;
}

.contact-block p:last-child { margin-bottom: 0; }

.last-updated {
  font-style: italic;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* FOOTER */
.site-footer {
  background: var(--navy);
  color: #a8b8d0;
}

.footer-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  padding: 48px 24px 40px;
}

.footer-col h3 {
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.footer-col p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col a {
  color: #a8b8d0;
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--gold); }

.footer-bottom {
  border-top: 1px solid #1e3a5f;
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.82rem;
  color: #6a7f96;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
}

.footer-bottom a:hover { text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .page-hero h1 { font-size: 1.5rem; }
  .header-inner { flex-direction: column; height: auto; padding: 12px 0; gap: 8px; }
  .nav a { margin-left: 14px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
}
