:root {
  --bg: #050816;
  --surface: #0e142a;
  --surface-alt: #121b38;
  --text: #e5e7eb;
  --muted: #a1a9bb;
  --primary: #4f8cff;
  --accent: #55e6c1;
  --border: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: radial-gradient(circle at top right, #1a2650 0%, var(--bg) 45%);
  color: var(--text);
  line-height: 1.6;
}

.container {
  width: min(1080px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(10px);
  background: rgba(5, 8, 22, 0.75);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--bg);
  background: linear-gradient(140deg, var(--accent), #98f5ff);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 5.5rem 0 3rem;
}

.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  font-weight: 700;
}

h1 {
  margin: 0;
  font-size: clamp(2.1rem, 4.6vw, 4rem);
  line-height: 1.15;
}

.subtitle {
  max-width: 68ch;
  color: var(--muted);
  font-size: 1.1rem;
  margin-top: 1rem;
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 0.72rem 1.15rem;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(140deg, var(--primary), #8f65ff);
  color: white;
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
}

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

.stat-card {
  background: linear-gradient(160deg, var(--surface), var(--surface-alt));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1rem;
}

.stat-card h3 {
  margin: 0;
  font-size: 1.35rem;
}

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

.section {
  padding: 2.5rem 0;
}

h2 {
  margin: 0 0 0.7rem;
  font-size: 1.6rem;
}

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

.timeline {
  margin-top: 1.2rem;
  border-left: 1px solid var(--border);
}

.timeline-item {
  position: relative;
  padding: 0.3rem 0 1.5rem 1.35rem;
}

.timeline-item .dot {
  position: absolute;
  top: 0.5rem;
  left: -0.43rem;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(85, 230, 193, 0.15);
}

.timeline-item .content {
  background: linear-gradient(160deg, var(--surface), transparent);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1rem;
}

.timeline-item h3 {
  margin: 0;
  font-size: 1.1rem;
}

.timeline-item h3 a {
  color: #d7e5ff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.timeline-item h3 a:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.meta {
  margin: 0.4rem 0;
  color: #8ea5d7;
  font-size: 0.93rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1rem;
}

.chips span {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  color: #c9d1e5;
  font-size: 0.93rem;
}

.gallery-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 0.85rem;
}

.gallery-grid img {
  width: 100%;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
}

.gallery-grid img:nth-child(1),
.gallery-grid img:nth-child(4) {
  grid-column: span 7;
}

.gallery-grid img:nth-child(2),
.gallery-grid img:nth-child(3),
.gallery-grid img:nth-child(5),
.gallery-grid img:nth-child(6) {
  grid-column: span 5;
}

.contact {
  text-align: center;
  margin-bottom: 2rem;
}

.footer {
  text-align: center;
  border-top: 1px solid var(--border);
  color: #91a0bd;
  padding: 1.2rem;
}

@media (max-width: 840px) {
  .stats {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: inline-flex;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text);
    border-radius: 10px;
    padding: 0.45rem 0.75rem;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(5, 8, 22, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.8rem 1rem;
    flex-direction: column;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid img {
    grid-column: auto !important;
    min-height: 220px;
  }
}
