:root {
  --navy-950: #031428;
  --navy-900: #0a2744;
  --navy-800: #123a5c;
  --navy-700: #1a4d73;
  --gold-500: #c9a227;
  --gold-400: #e4c76b;
  --sea-400: #3d9fd4;
  --sand-100: #f4f7fb;
  --sand-50: #fafcff;
  --text: #1b2838;
  --text-muted: #5a6b7d;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(3, 20, 40, 0.12);
  --radius: 16px;
  --font: "Plus Jakarta Sans", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--sand-50);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sea-400); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1140px, calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(10,39,68,0.08);
}

.header-top {
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  font-size: 0.8rem;
}
.header-top-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.45rem 0;
}
.badge-official {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-editor-link {
  color: var(--gold-400);
  font-weight: 600;
  text-decoration: none;
}
.header-editor-link:hover { color: var(--white); text-decoration: none; }

.navbar { padding: 0.75rem 0; }
.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--navy-900);
  text-decoration: none;
}
.brand:hover { text-decoration: none; }
.brand-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-950));
  color: var(--gold-400);
  border-radius: 12px;
  font-size: 1.4rem;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 1.05rem; }
.brand-text small { color: var(--text-muted); font-size: 0.75rem; }

.nav-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.25rem;
  margin: 0 0 0 auto;
  padding: 0;
}
.nav-links a {
  color: var(--navy-800);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.nav-links a:hover { color: var(--sea-400); }

.nav-toggle {
  display: none;
  margin-left: auto;
  border: 0;
  background: var(--navy-900);
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  position: relative;
  min-height: 78vh;
  display: grid;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(3,20,40,0.92) 0%, rgba(18,58,92,0.75) 45%, rgba(61,159,212,0.35) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,162,39,0.25), transparent 40%),
    linear-gradient(160deg, var(--navy-950), var(--navy-800));
  background-size: cover;
  background-position: center;
}
.hero-content {
  position: relative;
  padding: 5rem 0 6rem;
  max-width: 720px;
}
.hero-eyebrow {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid rgba(228,199,107,0.5);
  border-radius: 999px;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-400);
}
.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.1;
  font-weight: 800;
}
.hero-lead {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.88);
  max-width: 56ch;
}
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--sand-50);
  clip-path: ellipse(75% 100% at 50% 100%);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn-primary {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--gold-500), var(--gold-400));
  color: var(--navy-950);
  box-shadow: 0 10px 30px rgba(201,162,39,0.35);
}
.btn-primary:hover {
  transform: translateY(-2px);
  text-decoration: none;
}

.section { padding: 5rem 0; }
.section-alt { background: var(--sand-100); }
.section-label {
  display: inline-block;
  color: var(--sea-400);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.section h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--navy-900);
}
.lead { font-size: 1.1rem; color: var(--text-muted); }

.split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2.5rem;
  align-items: start;
}
.stat-grid {
  display: grid;
  gap: 1rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--gold-500);
}
.stat-card strong {
  display: block;
  font-size: 1.8rem;
  color: var(--navy-900);
}
.stat-card span { color: var(--text-muted); font-size: 0.95rem; }

.vision-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.vision-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow);
}
.vision-card h3 { margin-top: 0; color: var(--navy-800); }
.vision-card ol { padding-left: 1.2rem; margin: 0; }
.vision-card li { margin-bottom: 0.5rem; }

.org-tree { margin-top: 2rem; }
.org-root {
  text-align: center;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-700));
  color: var(--white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  max-width: 360px;
  margin: 0 auto 2rem;
}
.org-branches {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.org-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--sea-400);
}
.org-card h3 { margin: 0 0 0.5rem; font-size: 1rem; color: var(--navy-900); }
.org-card p { margin: 0; color: var(--text-muted); font-size: 0.92rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.feature-card:hover { transform: translateY(-4px); }
.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  background: var(--sand-100);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.feature-card h3 { margin: 0 0 0.5rem; color: var(--navy-900); }
.feature-card p { margin: 0; color: var(--text-muted); }

.news-list { display: grid; gap: 1rem; }
.news-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.25rem;
  background: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.news-item time {
  font-weight: 700;
  color: var(--navy-700);
  font-size: 0.9rem;
}
.news-item h3 { margin: 0 0 0.35rem; color: var(--navy-900); }
.news-item p { margin: 0; color: var(--text-muted); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}
.gallery-item {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img { aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.gallery-placeholder {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--navy-800), var(--sea-400));
  opacity: 0.35;
}
.gallery-item figcaption {
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--navy-800);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
}
.contact-list li {
  display: grid;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.contact-list strong { color: var(--navy-800); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }
.map-placeholder, .map-wrap {
  min-height: 280px;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  padding: 1rem;
  overflow: hidden;
}
.map-wrap iframe { width: 100%; height: 280px; border: 0; }

.site-footer {
  background: var(--navy-950);
  color: rgba(255,255,255,0.85);
  margin-top: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 3rem 0 2rem;
}
.site-footer h3, .site-footer h4 { color: var(--gold-400); margin-top: 0; }
.motto { font-style: italic; opacity: 0.8; }
.footer-note { font-size: 0.85rem; opacity: 0.75; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .split, .contact-grid { grid-template-columns: 1fr; }
  .news-item { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem 1.5rem 1.5rem;
    border-bottom: 1px solid rgba(10,39,68,0.08);
    box-shadow: var(--shadow);
  }
  .nav-links.is-open { display: flex; }
  .navbar { position: relative; }
}
