/* ============================
   Сброс и базовые стили
   ============================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  color: #0a0a0a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ============================
   Шапка
   ============================ */
.site-header {
  padding: 20px 0;
  border-bottom: 1px solid #1a1a1a;
  background: #0a0a0a;
  position: relative;
}

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

.logo {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

.logo span {
  font-weight: 900;
  letter-spacing: 0.02em;
}

.nav nav {
  display: flex;
  align-items: center;
}

.nav nav a {
  margin-left: 24px;
  font-size: 0.9rem;
  color: #999999;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav nav a:hover {
  color: #ffffff;
}

.nav-cta {
  color: #0a0a0a !important;
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 0;
  margin-left: 32px !important;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-cta:hover {
  background: #cccccc;
  color: #0a0a0a !important;
}

/* ============================
   Hero
   ============================ */
.hero {
  position: relative;
  padding: 140px 0 160px;
  text-align: left;
  background-color: #0a0a0a;
  background-image:
    radial-gradient(ellipse 70% 60% at 100% 100%, rgba(255, 255, 255, 0.06), transparent 60%),
    radial-gradient(ellipse 50% 50% at 95% 90%, rgba(255, 255, 255, 0.03), transparent 65%);
  overflow: hidden;
  border-bottom: 1px solid #1a1a1a;
}

.hero h1 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
  color: #ffffff;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  max-width: 100%;
}

.badge {
  display: inline-block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 18px;
  border-radius: 0;
  font-size: 0.8rem;
  color: #ffffff;
  margin-bottom: 32px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.accent {
  color: #ffffff;
  font-weight: 900;
  padding-bottom: 4px;
  display: inline;
}

.accent-dark {
  color: #0a0a0a;
  font-weight: 900;
  border-bottom: 4px solid #0a0a0a;
  padding-bottom: 2px;
}

.hero p {
  font-size: 1.2rem;
  color: #b0b0b0;
  max-width: 620px;
  margin: 0 0 44px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 88px;
}

.btn {
  display: inline-block;
  background: #ffffff;
  color: #0a0a0a;
  padding: 18px 40px;
  border-radius: 0;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.2s;
  border: 2px solid #ffffff;
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn:hover {
  background: #0a0a0a;
  color: #ffffff;
}

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  padding: 18px 36px;
  border-radius: 0;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-weight: 700;
  border: 2px solid #ffffff;
  transition: all 0.2s;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-ghost:hover {
  background: #ffffff;
  color: #0a0a0a;
}

.btn-full {
  width: 100%;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 780px;
  border-top: 1px solid #2a2a2a;
  padding-top: 40px;
}

.stat strong {
  display: block;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 2.4rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 8px;
  letter-spacing: -0.03em;
}

.stat span {
  font-size: 0.8rem;
  color: #808080;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================
   Универсальные секции
   ============================ */
.section-white {
  background: #ffffff;
  padding: 100px 0;
}

.section-dark {
  background: #0a0a0a;
  padding: 120px 0;
  position: relative;
  background-image: radial-gradient(ellipse 60% 50% at 100% 0%, rgba(255, 255, 255, 0.05), transparent 60%);
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
}

.section-title {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #0a0a0a;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-title-light {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.subtitle {
  color: #555555;
  margin-bottom: 56px;
  font-size: 1.05rem;
  max-width: 640px;
}

.subtitle-light {
  color: #999999;
  margin-bottom: 56px;
  font-size: 1.05rem;
  max-width: 640px;
}

/* ============================
   О проекте
   ============================ */
.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.grid2 p {
  margin-bottom: 16px;
  color: #333333;
}

.info {
  background: #0a0a0a;
  padding: 40px 36px;
  border-radius: 0;
  border: 1px solid #1a1a1a;
}

.info h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.9rem;
  margin-bottom: 24px;
  color: #ffffff;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding-bottom: 16px;
  border-bottom: 1px solid #2a2a2a;
}

.info p {
  margin-bottom: 14px;
  font-size: 0.95rem;
  color: #cccccc;
  padding-left: 18px;
  position: relative;
}

.info p::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #666666;
}

/* ============================
   Отделы
   ============================ */
.card-wide {
  background: #0a0a0a;
  border: 1px solid #0a0a0a;
  padding: 44px 40px;
  margin-bottom: 32px;
  transition: all 0.3s ease;
}

.card-wide small {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #808080;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.card-wide h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1.6rem;
  margin-bottom: 14px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.card-wide p {
  font-size: 0.98rem;
  color: #b0b0b0;
  max-width: 780px;
  line-height: 1.6;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid #0a0a0a;
  border-left: 1px solid #0a0a0a;
}

.card {
  background: #ffffff;
  border-right: 1px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
  padding: 40px 28px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.card:hover {
  background: #0a0a0a;
}

.card:hover small,
.card:hover h3,
.card:hover p {
  color: #ffffff;
}

.card small {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: #0a0a0a;
  text-transform: uppercase;
  display: block;
  margin-bottom: 40px;
  transition: color 0.3s ease;
}

.card h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 12px;
  color: #0a0a0a;
  font-weight: 800;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.card p {
  font-size: 0.9rem;
  color: #555555;
  transition: color 0.3s ease;
}

/* ============================
   Роли
   ============================ */
.roles-table {
  border-top: 1px solid #0a0a0a;
  border-left: 1px solid #0a0a0a;
  overflow-x: auto;
}

.roles-header,
.roles-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(160px, 1fr));
  min-width: 800px;
}

.roles-header > div {
  background: #0a0a0a;
  color: #ffffff;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 18px 16px;
  border-right: 1px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
}

.roles-row > div {
  padding: 22px 16px;
  font-size: 0.9rem;
  color: #0a0a0a;
  border-right: 1px solid #0a0a0a;
  border-bottom: 1px solid #0a0a0a;
  background: #ffffff;
  transition: background 0.2s;
}

.roles-row > div:hover {
  background: #f5f5f5;
}

.roles-row.roles-top > div {
  font-weight: 700;
  font-size: 0.95rem;
}

.roles-row.roles-bottom > div {
  color: #888888;
}

/* ============================
   Шаги
   ============================ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  border-top: 1px solid #2a2a2a;
  border-left: 1px solid #2a2a2a;
}

.step {
  background: transparent;
  border-right: 1px solid #2a2a2a;
  border-bottom: 1px solid #2a2a2a;
  padding: 36px 28px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.step:hover {
  background: rgba(255, 255, 255, 0.03);
}

.step-num {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.03em;
  line-height: 1;
}

.step h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 10px;
  font-weight: 700;
}

.step p {
  font-size: 0.9rem;
  color: #888888;
}

/* ============================
   События
   ============================ */
.events-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid #0a0a0a;
}

.event {
  display: flex;
  gap: 32px;
  align-items: center;
  padding: 28px 0;
  background: transparent;
  border-bottom: 1px solid #e0e0e0;
  border-radius: 0;
  transition: all 0.3s ease;
}

.event:hover {
  padding-left: 12px;
  border-bottom-color: #0a0a0a;
}

.event-date {
  flex-shrink: 0;
  width: 80px;
  text-align: left;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-left: 3px solid #0a0a0a;
  padding-left: 16px;
}

.event-date strong {
  display: block;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1.8rem;
  color: #0a0a0a;
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.event-date span {
  font-size: 0.75rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.event-info h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 6px;
  color: #0a0a0a;
  font-weight: 700;
}

.event-info p {
  font-size: 0.92rem;
  color: #555555;
  margin-bottom: 8px;
}

.event-meta {
  font-size: 0.8rem;
  color: #0a0a0a;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================
   Новости
   ============================ */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.news-card {
  background: #ffffff;
  border: 1px solid #0a0a0a;
  border-radius: 0;
  padding: 32px 28px;
  transition: all 0.3s ease;
}

.news-card:hover {
  background: #0a0a0a;
}

.news-card:hover .news-tag,
.news-card:hover h3,
.news-card:hover p,
.news-card:hover .news-date {
  color: #ffffff;
  border-color: #ffffff;
}

.news-tag {
  display: inline-block;
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: transparent;
  border: 1px solid #0a0a0a;
  padding: 4px 12px;
  border-radius: 0;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.news-card h3 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 1rem;
  margin-bottom: 12px;
  color: #0a0a0a;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: color 0.3s ease;
}

.news-card p {
  font-size: 0.9rem;
  color: #555555;
  margin-bottom: 20px;
  transition: color 0.3s ease;
}

.news-date {
  font-size: 0.78rem;
  color: #888888;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* ============================
   Форма заявки
   ============================ */
.join-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.join-list {
  list-style: none;
  margin-top: 32px;
}

.join-list li {
  padding: 10px 0 10px 24px;
  color: #cccccc;
  font-size: 1rem;
  position: relative;
  border-bottom: 1px solid #1a1a1a;
}

.join-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #ffffff;
  font-weight: 700;
}

.join-form {
  background: #ffffff;
  border-radius: 0;
  padding: 40px 36px;
  box-shadow: none;
  border: 1px solid #ffffff;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #0a0a0a;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cccccc;
  border-radius: 0;
  font-size: 0.95rem;
  font-family: inherit;
  color: #0a0a0a;
  background: #ffffff;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0a0a0a;
}

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

.join-form .btn {
  margin-top: 8px;
}

/* ============================
   Подвал
   ============================ */
footer {
  background: #0a0a0a;
  color: #999999;
  padding: 80px 0 24px;
  border-top: 1px solid #1a1a1a;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

footer .logo {
  color: #ffffff;
  margin-bottom: 16px;
}

footer h4 {
  font-family: 'Unbounded', 'Inter', sans-serif;
  font-size: 0.7rem;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 800;
}

footer p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.footer-small {
  color: #666666;
  font-size: 0.85rem !important;
}

footer a {
  color: #999999;
  transition: color 0.2s;
}

footer a:hover {
  color: #ffffff;
}

.copyright {
  border-top: 1px solid #1a1a1a;
  padding-top: 24px;
  font-size: 0.8rem;
  color: #555555;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ============================
   Адаптив
   ============================ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

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

  .hero h1 {
    font-size: clamp(1.8rem, 5.5vw, 3rem);
  }
}

@media (max-width: 768px) {
  .hero {
    padding: 80px 0 100px;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 7vw, 2.4rem);
  }

  .hero p {
    font-size: 1.05rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .stat strong {
    font-size: 1.8rem;
  }

  .grid2,
  .join-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .nav {
    flex-direction: column;
    gap: 16px;
  }

  .nav nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav nav a {
    margin: 6px 8px;
  }

  .nav-cta {
    margin-left: 8px !important;
  }

  .section-title,
  .section-title-light {
    font-size: 1.5rem;
  }

  .event {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .event:hover {
    padding-left: 0;
  }

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

  .card-wide {
    padding: 32px 24px;
  }

  .card-wide h3 {
    font-size: 1.3rem;
  }
}

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

  .hero h1 {
    font-size: clamp(1.4rem, 8vw, 2rem);
  }
}