:root {
  --bg: #050505;
  --bg-soft: #111111;
  --fg: #f5f5f5;
  --muted: #bdbdbd;
  --line: #2b2b2b;
  --accent: #ffffff;
  --max-width: 1100px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.7;
  letter-spacing: 0.02em;
}

a {
  color: #6ec1ff;
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: #a8dcff;
  text-decoration: underline;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(5, 5, 5, 0.95);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

.nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px 24px;
  min-height: 88px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.logo {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.logo-img-rec {
  height: 100%;
  max-height: 65px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--fg);
}

.lang-switch {
  margin-left: 10px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--muted) !important;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: none;
}

.lang-switch:hover {
  color: var(--fg) !important;
  border-color: var(--fg);
  opacity: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 110px 0 80px;
  border-bottom: 1px solid var(--line);
}

.hero-kicker {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.8rem;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero p {
  max-width: 760px;
  color: var(--muted);
  font-size: 1.05rem;
  margin: 0 0 32px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border: 1px solid var(--fg);
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.button.secondary {
  border-color: var(--line);
  color: var(--muted);
  background: var(--bg-soft);
}

.section {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 1.8rem;
  margin: 0 0 20px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section-text {
  max-width: 820px;
  color: var(--muted);
  margin: 0;
}

.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 24px;
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.08em;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.list {
  display: grid;
  gap: 18px;
}

.list-item {
  border: 1px solid var(--line);
  background: var(--bg-soft);
  padding: 22px;
}

.meta {
  display: inline-block;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

.list-item h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.list-item p {
  margin: 0 0 14px;
  color: var(--muted);
}

.footer {
  padding: 28px 0 56px;
  color: var(--muted);
  font-size: 0.9rem;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 24px;
}

.schedule-table th,
.schedule-table td {
  border-bottom: 1px solid var(--line);
  padding: 16px 10px;
  text-align: left;
  vertical-align: top;
}

.schedule-table th {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
}

.tag {
  display: inline-block;
  border: 1px solid var(--line);
  padding: 4px 10px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.page-hero {
  padding: 72px 0 36px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-hero p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .nav {
    flex-direction: column;
    align-items: flex-start;
  }

  .schedule-table,
  .schedule-table thead,
  .schedule-table tbody,
  .schedule-table th,
  .schedule-table td,
  .schedule-table tr {
    display: block;
    width: 100%;
  }

  .schedule-table thead {
    display: none;
  }

  .schedule-table tr {
    border: 1px solid var(--line);
    margin-bottom: 16px;
    background: var(--bg-soft);
    padding: 10px 14px;
  }

  .schedule-table td {
    border: none;
    padding: 8px 0;
  }
}
