:root {
  --bg: #0b1220;
  --bg-alt: #111b2f;
  --surface: #16243d;
  --text: #eaf1ff;
  --muted: #afc2e6;
  --primary: #35d4a1;
  --primary-dark: #24b688;
  --line: #223657;
  --shadow: 0 16px 40px rgba(4, 10, 23, 0.35);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 20% 0, #152848 0%, var(--bg) 45%);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(7, 14, 27, 0.75);
  border-bottom: 1px solid rgba(80, 110, 160, 0.2);
}

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

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.logo-badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--primary) 0%, #6de8c0 100%);
  color: #033729;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: var(--muted);
}

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

.hero {
  padding: 86px 0 62px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 26px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #88ffd9;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 1.2px;
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0 0 12px;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
}

.hero-text {
  color: var(--muted);
  max-width: 700px;
  line-height: 1.65;
}

.hero-actions {
  margin: 24px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 12px 18px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #05291f;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-ghost {
  border: 1px solid var(--line);
  color: var(--text);
}

.btn-ghost:hover {
  background: rgba(94, 133, 194, 0.18);
}

.hero-meta {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.hero-card {
  background: linear-gradient(180deg, #182947 0%, #13223b 100%);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.hero-card ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.65;
}

.hero-card-note {
  margin-top: 14px;
  color: #c6d8f8;
}

.section {
  padding: 66px 0;
}

.section-alt {
  background: rgba(10, 18, 31, 0.7);
  border-top: 1px solid rgba(71, 104, 157, 0.25);
  border-bottom: 1px solid rgba(71, 104, 157, 0.25);
}

.section-lead {
  color: var(--muted);
  max-width: 900px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.cards {
  display: grid;
  gap: 16px;
}

.cards.three {
  grid-template-columns: repeat(3, 1fr);
}

.cards.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 14px;
  padding: 18px;
}

.card p,
.card li {
  color: var(--muted);
  line-height: 1.6;
}

.card ul {
  margin: 0;
  padding-left: 20px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.timeline article {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.timeline span {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-weight: 800;
  background: #264d7f;
  margin-bottom: 10px;
}

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

.schedule {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 16px;
  overflow: hidden;
}

.schedule div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 14px 18px;
  border-bottom: 1px solid rgba(68, 102, 152, 0.3);
}

.schedule div:last-child {
  border-bottom: 0;
}

.schedule span {
  color: var(--muted);
}

.registration {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #172a47 0%, #13223b 100%);
  padding: 28px;
}

.registration p {
  color: var(--muted);
  line-height: 1.7;
  max-width: 900px;
}

.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.contact-list li {
  color: var(--muted);
  line-height: 1.6;
}

.contact-list a {
  color: #9deecf;
}

.map-frame {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b1320;
}

.site-footer {
  border-top: 1px solid rgba(71, 104, 157, 0.25);
  padding: 22px 0 30px;
}

.footer-wrap {
  color: #8ea8d4;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@media (max-width: 980px) {
  .hero-grid,
  .cards.three,
  .timeline,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .cards.two {
    grid-template-columns: 1fr;
  }

  .schedule div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

@media (max-width: 640px) {
  .hero {
    padding-top: 64px;
  }

  .nav {
    gap: 12px;
    font-size: 0.88rem;
  }

  .registration {
    padding: 22px;
  }
}
