:root {
  --bg: #04070b;
  --bg-alt: #0a1118;
  --panel: #0d141d;
  --steel: #6a7786;
  --slate: #9aa4b0;
  --text: #e2e7ee;
  --muted: #b0bac7;
  --accent: #74849a;
  --line: rgba(130, 150, 170, 0.18);
  --shadow: 0 22px 50px rgba(2, 4, 7, 0.55);
  --radius: 12px;
  --max-width: 1080px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 15% -10%, #111924 0%, transparent 60%),
    radial-gradient(900px 500px at 85% 0%, #101622 0%, transparent 55%),
    var(--bg);
  line-height: 1.6;
  letter-spacing: 0.2px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

main {
  overflow: hidden;
  flex: 1;
}

.container {
  width: min(100% - 2.5rem, var(--max-width));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(6, 9, 13, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(140, 160, 180, 0.15);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 4px;
  object-fit: cover;
}

.brand span {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-links {
  display: none;
  gap: 1.6rem;
  align-items: center;
  font-size: 0.95rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--slate);
}

.nav-links a {
  transition: color 200ms ease;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--text);
}

.nav-links a.active,
.menu-panel a.active {
  color: var(--text);
  border-bottom: 1px solid rgba(160, 180, 200, 0.7);
  padding-bottom: 0.2rem;
}

.menu-toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(150, 170, 190, 0.4);
  border-radius: 10px;
  cursor: pointer;
  transition: border 200ms ease, background 200ms ease;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
  border-color: rgba(180, 200, 220, 0.8);
  background: rgba(120, 140, 160, 0.12);
}

.hamburger {
  width: 22px;
  height: 16px;
  position: relative;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--text);
  transition: transform 220ms ease, opacity 200ms ease;
}

.hamburger span:nth-child(1) {
  top: 0;
}

.hamburger span:nth-child(2) {
  top: 7px;
}

.hamburger span:nth-child(3) {
  bottom: 0;
}

body.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

body.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.menu-overlay {
  position: fixed;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 480px);
  pointer-events: none;
  z-index: 100;
}

.menu-scrim {
  background: rgba(6, 8, 12, 0.6);
  opacity: 0;
  transition: opacity 240ms ease;
}

.menu-panel {
  background: #070b11;
  transform: translateX(100%);
  transition: transform 260ms ease;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.menu-header {
  display: flex;
  justify-content: flex-end;
}

.menu-close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid rgba(150, 170, 190, 0.35);
  border-radius: 10px;
  cursor: pointer;
  position: relative;
}

.menu-close span {
  position: absolute;
  width: 18px;
  height: 2px;
  background: var(--text);
}

.menu-close span:first-child {
  transform: rotate(45deg);
}

.menu-close span:last-child {
  transform: rotate(-45deg);
}

.menu-panel nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.menu-panel a {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-size: 1.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  transition: color 200ms ease;
}

.menu-panel a:hover,
.menu-panel a:focus-visible {
  color: var(--slate);
}

.menu-footer {
  color: var(--steel);
  font-size: 0.95rem;
  border-top: 1px solid rgba(140, 160, 180, 0.2);
  padding-top: 1.5rem;
}

body.nav-open .menu-overlay {
  pointer-events: auto;
}

body.nav-open .menu-scrim {
  opacity: 1;
}

body.nav-open .menu-panel {
  transform: translateX(0);
}

@media (max-width: 760px) {
  .menu-overlay {
    grid-template-columns: 1fr;
  }

  .menu-scrim {
    display: none;
  }

  .menu-panel {
    width: 100%;
  }
}

.hero {
  padding: 3.5rem 0 2.5rem;
}

.hero-video {
  position: relative;
  overflow: hidden;
  background: #05080c;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6) saturate(0.8);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(4, 7, 11, 0.9), rgba(4, 7, 11, 0.7));
}

.hero-video .page-header {
  position: relative;
  z-index: 2;
}

.page-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  justify-items: center;
}

.page-header h1 {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 1px;
  margin: 0;
}

.page-header p {
  color: var(--muted);
  margin: 0;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.75rem;
  color: var(--steel);
  border: 1px solid rgba(130, 150, 170, 0.35);
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
}

.section {
  padding: 3rem 0;
  border-top: 1px solid rgba(140, 160, 180, 0.12);
}

.section h2 {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

.section p {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

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

.card {
  background: var(--panel);
  border: 1px solid rgba(140, 160, 180, 0.15);
  border-radius: var(--radius);
  padding: 1.5rem;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.card h3 {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  letter-spacing: 0.6px;
  font-size: 1.2rem;
  margin: 0;
}

.card img {
  width: 72px;
  height: 72px;
  border-radius: 8px;
}

.card a {
  color: var(--muted);
  word-break: break-word;
}

.card span {
  color: var(--steel);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card:hover,
.card:focus-within {
  border-color: rgba(160, 180, 200, 0.45);
  background: rgba(16, 22, 30, 0.75);
}

.card-link {
  text-decoration: none;
  color: inherit;
}

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

.icon-button {
  align-self: flex-start;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(140, 160, 180, 0.35);
  background: rgba(120, 140, 160, 0.12);
  color: var(--muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.icon-button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.list {
  display: grid;
  gap: 1rem;
}

.list-item {
  padding: 1.25rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 160, 180, 0.2);
  background: rgba(13, 19, 27, 0.6);
}

.list-item h3 {
  margin: 0 0 0.35rem;
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  letter-spacing: 0.4px;
}

.list-item p {
  margin: 0;
  color: var(--muted);
}

.image-tile {
  border-radius: 16px;
  border: 1px solid rgba(140, 160, 180, 0.2);
  background: linear-gradient(140deg, rgba(13, 19, 27, 0.9), rgba(8, 12, 18, 0.95));
  padding: 1.5rem;
  display: grid;
  place-items: center;
  min-height: 220px;
}

.image-tile img,
.image-tile svg {
  width: 100%;
  max-width: 360px;
  height: auto;
  opacity: 0.9;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(140, 160, 180, 0.2);
  background: rgba(8, 12, 18, 0.8);
}

.map-frame iframe {
  width: 100%;
  height: 320px;
  border: 0;
  filter: grayscale(1) brightness(0.75);
}

.news-list {
  display: grid;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.news-item {
  display: grid;
  gap: 0.4rem;
  padding: 1.2rem 1.4rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 160, 180, 0.2);
  background: rgba(12, 17, 24, 0.6);
}

.news-item time {
  color: var(--steel);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.card button,
.btn {
  align-self: flex-start;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 170, 190, 0.4);
  background: rgba(120, 140, 160, 0.14);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-size: 0.8rem;
  cursor: pointer;
}

.card button:hover,
.card button:focus-visible,
.btn:hover,
.btn:focus-visible {
  border-color: rgba(180, 200, 220, 0.7);
  background: rgba(140, 160, 180, 0.22);
}

.btn-closed {
  border: 1px solid rgba(200, 90, 90, 0.45);
  background: rgba(120, 40, 40, 0.18);
  color: #e2b5b5;
  cursor: not-allowed;
}

.btn-closed:hover,
.btn-closed:focus-visible {
  border-color: rgba(200, 90, 90, 0.45);
  background: rgba(120, 40, 40, 0.18);
}

.btn-muted {
  border: 1px solid rgba(140, 160, 180, 0.35);
  background: rgba(120, 140, 160, 0.12);
  color: var(--muted);
  cursor: not-allowed;
}

.form {
  display: grid;
  gap: 1.2rem;
  width: min(100%, 620px);
  margin: 0 auto;
}

.form label {
  display: grid;
  gap: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.form input,
.form textarea,
.form select {
  background: rgba(10, 15, 20, 0.8);
  border: 1px solid rgba(140, 160, 180, 0.3);
  border-radius: 10px;
  padding: 0.75rem 0.9rem;
  color: var(--text);
  font-family: "IBM Plex Sans", "Segoe UI", sans-serif;
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form button {
  justify-self: start;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 1px solid rgba(150, 170, 190, 0.5);
  background: rgba(120, 140, 160, 0.18);
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  cursor: pointer;
  transition: background 200ms ease, border 200ms ease;
}

.form button:hover,
.form button:focus-visible {
  border-color: rgba(180, 200, 220, 0.8);
  background: rgba(140, 160, 180, 0.28);
}

.form-panel {
  background: rgba(10, 15, 20, 0.85);
  border: 1px solid rgba(140, 160, 180, 0.2);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.captcha {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.2rem;
  border-radius: 12px;
  border: 1px solid rgba(140, 160, 180, 0.25);
  background: rgba(8, 12, 18, 0.8);
  color: var(--muted);
  font-size: 0.95rem;
}

footer {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(140, 160, 180, 0.12);
  color: var(--steel);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 240ms ease, transform 240ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 980px) {
  .menu-toggle {
    display: none;
  }

  .nav-links {
    display: flex;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    transform: none;
    opacity: 1;
  }

  .menu-panel,
  .menu-scrim,
  .hamburger span {
    transition: none;
  }

  .hero-media {
    display: none;
  }
}
