*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black: #000000;
  --bg: #050505;
  --bg-dark: #0c0c0c;
  --bg-card: #111111;
  --bg-card-hover: #161616;
  --red: #e31e24;
  --red-bright: #ff2b32;
  --red-dim: rgba(227, 30, 36, 0.15);
  --red-glow: rgba(227, 30, 36, 0.35);
  --white: #ffffff;
  --text: #f0f0f0;
  --text-muted: #888888;
  --border: rgba(255, 255, 255, 0.08);
  --border-red: rgba(227, 30, 36, 0.4);
  --font-display: 'Bebas Neue', Impact, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --header-h: 80px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 18px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 800px;
}

.text-red {
  color: var(--red);
}

/* ─── Header ─── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: var(--header-h);
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 24px;
}

.logo {
  flex-shrink: 0;
  text-decoration: none;
}

.logo__img {
  height: 44px;
  width: auto;
}

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

.nav__link {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav__link:hover {
  color: var(--white);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform 0.3s, opacity 0.3s;
}

.burger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-bright);
  box-shadow: 0 8px 32px var(--red-glow);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--border);
  clip-path: none;
  border-radius: 0;
}

.btn--outline:hover {
  border-color: var(--red);
  color: var(--red);
}

.btn--header {
  padding: 12px 24px;
  flex-shrink: 0;
}

.btn--large {
  padding: 18px 40px;
  font-size: 14px;
}

.btn--full {
  width: 100%;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, var(--red-dim) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 20% 80%, rgba(227, 30, 36, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #000 0%, var(--bg) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero__eyebrow {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 20px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.hero__lead {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.4;
}

.hero__desc {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 520px;
}

.hero__note {
  display: inline-block;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  background: var(--red-dim);
  border: 1px solid var(--border-red);
  border-left: 4px solid var(--red);
  padding: 14px 18px;
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.4;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero__photo {
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  clip-path: polygon(0 0, calc(100% - 24px) 0, 100% 24px, 100% 100%, 24px 100%, 0 calc(100% - 24px));
  border: 1px solid var(--border);
}

.hero__photo::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--red);
  z-index: 2;
}

.hero__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0, 0, 0, 0.5) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

/* ─── Stats ─── */
.stats {
  background: var(--red);
  padding: 0;
}

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

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 16px;
  border-right: 1px solid rgba(0, 0, 0, 0.2);
  text-align: center;
}

.stats__item:last-child {
  border-right: none;
}

.stats__num {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1;
  color: var(--white);
  letter-spacing: 0.04em;
}

.stats__num--text {
  font-size: clamp(24px, 3.5vw, 40px);
}

.stats__label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 6px;
}

/* ─── Sections ─── */
.section {
  padding: 100px 0;
}

.section--dark {
  background: var(--bg-dark);
}

.section--cta {
  padding-bottom: 120px;
  background:
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(227, 30, 36, 0.22) 0%, transparent 70%),
    linear-gradient(180deg, var(--bg-dark) 0%, #0a0a0a 100%);
}

.section-head {
  margin-bottom: 56px;
}

.section-head--center {
  text-align: center;
}

.section-head__tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 16px;
}

.section-head__title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.section-head__sub {
  font-size: 20px;
  color: var(--text-muted);
  margin-top: 12px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* ─── Split layout ─── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 18px;
}

.prose p:last-child {
  margin-bottom: 0;
}

.prose strong {
  color: var(--white);
}

.highlight-box {
  padding: 24px;
  background: var(--red-dim);
  border-left: 3px solid var(--red);
  color: var(--text) !important;
}

/* ─── Check list ─── */
.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding: 16px 20px 16px 48px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 17px;
  color: var(--text-muted);
  clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 0 100%);
}

.check-list li::before {
  content: '✕';
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--red);
  font-weight: 700;
  font-size: 14px;
}

/* ─── Cards grid ─── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 32px;
  transition: border-color 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--border);
  transition: background 0.3s;
}

.card:hover {
  border-color: var(--border-red);
  transform: translateY(-4px);
}

.card:hover::before {
  background: var(--red);
}

.card__num {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--red);
  line-height: 1;
  display: block;
  margin-bottom: 16px;
  opacity: 0.6;
}

.card p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ─── Program grid ─── */
.program-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.program-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 36px;
  transition: all 0.3s;
  position: relative;
}

.program-item:hover {
  border-color: var(--border-red);
  background: var(--bg-card-hover);
}

.program-item__title {
  font-family: var(--font-display);
  font-size: 28px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 12px;
}

.program-item p {
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ─── Cases tags ─── */
.cases-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-content: start;
}

.case-tag {
  padding: 12px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.2s;
}

.case-tag:hover {
  border-color: var(--red);
  color: var(--white);
}

/* ─── Speaker ─── */
.speaker {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}

.speaker__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 380px;
  margin: 0 auto;
}

.speaker__photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
  z-index: 2;
}

.speaker__photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.speaker__role {
  font-size: 20px;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.achievements {
  list-style: none;
  margin: 28px 0 32px;
  display: grid;
  gap: 0;
}

.achievements li {
  position: relative;
  padding: 14px 0 14px 28px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.achievements li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--red);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

/* ─── FAQ ─── */
.faq {
  display: grid;
  gap: 8px;
}

.faq__item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq__item[open] {
  border-color: var(--border-red);
}

.faq__question {
  padding: 22px 28px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  user-select: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.2s;
  line-height: 1;
}

.faq__item[open] .faq__question::after {
  transform: rotate(45deg);
}

.faq__answer {
  padding: 0 28px 22px;
  color: var(--text-muted);
  font-size: 17px;
  line-height: 1.65;
}

/* ─── CTA box ─── */
.cta-box {
  background: var(--bg-dark);
  border: 1px solid var(--border);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--red);
}

.cta-box__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.cta-box__date {
  font-family: var(--font-display);
  font-size: 32px;
  color: var(--red);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.cta-box__event {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 16px;
}

.cta-box__desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  font-size: 17px;
}

.register-form {
  max-width: 560px;
  margin: 0 auto;
}

.register-form__card {
  background: linear-gradient(160deg, rgba(227, 30, 36, 0.28) 0%, rgba(227, 30, 36, 0.12) 100%);
  border: 2px solid var(--red);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 12px 48px rgba(227, 30, 36, 0.35);
  padding: 28px 24px 24px;
  position: relative;
}

.register-form__card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 45%);
  pointer-events: none;
}

.register-form__label {
  position: relative;
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.register-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-bottom: 18px;
  position: relative;
}

.register-form__input {
  width: 100%;
  padding: 18px 20px;
  background: #ffffff;
  border: 2px solid #ffffff;
  color: #111111;
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

.register-form__input::placeholder {
  color: #777777;
  font-weight: 500;
}

.register-form__input:focus {
  border-color: var(--red-bright);
  box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.25);
  transform: translateY(-1px);
}

.register-form__input--error {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2) !important;
}

.register-form__error {
  font-size: 14px;
  font-weight: 600;
  color: #ffe0e0;
  background: rgba(255, 77, 77, 0.2);
  border: 1px solid rgba(255, 120, 120, 0.6);
  padding: 10px 14px;
  text-align: left;
  line-height: 1.4;
}

.btn--register {
  position: relative;
  font-size: 16px;
  padding: 20px 40px;
  box-shadow: 0 10px 40px rgba(227, 30, 36, 0.55);
  animation: register-pulse 2.5s ease-in-out infinite;
}

@keyframes register-pulse {
  0%, 100% {
    box-shadow: 0 10px 40px rgba(227, 30, 36, 0.55);
  }
  50% {
    box-shadow: 0 10px 56px rgba(255, 43, 50, 0.75);
  }
}

.register-form__note {
  position: relative;
  text-align: center;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 14px;
  line-height: 1.4;
}

/* ─── Footer ─── */
.footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer__logo {
  height: 36px;
  opacity: 0.7;
}

.footer__copy {
  font-size: 12px;
  color: #555;
  text-align: center;
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero__visual {
    order: -1;
  }

  .hero__photo {
    max-width: 320px;
    aspect-ratio: 3/4;
  }

  .split,
  .speaker {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .split--reverse {
    direction: ltr;
  }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    flex-direction: column;
    padding: 24px;
    gap: 0;
    border-bottom: 1px solid var(--border);
    transform: translateY(-120%);
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__link {
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .btn--header {
    display: none;
  }

  .burger {
    display: flex;
  }

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

  .stats__item:nth-child(2) {
    border-right: none;
  }

  .stats__item:nth-child(1),
  .stats__item:nth-child(2) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  }

  .stats__item:nth-child(3) {
    grid-column: 1 / -1;
    border-right: none;
  }

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

  .section {
    padding: 72px 0;
  }

  .cta-box {
    padding: 40px 24px;
  }

  .register-form__fields {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero__actions .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .hero__title {
    font-size: 32px;
  }

  .stats__num {
    font-size: 28px;
  }
}
