:root {
  --bg: #0e0f12;
  --bg-alt: #17181d;
  --accent: #e3352b;
  --accent-dark: #a8241d;
  --text: #f2f2f0;
  --text-dim: #a8a9ae;
  --border: #2a2b31;
  --radius: 10px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

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

.container--split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.container--center { text-align: center; }

/* NAV */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: rgba(14, 15, 18, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav__logo {
  font-weight: 800;
  letter-spacing: 1px;
  font-size: 1.1rem;
}
.nav__logo span { color: var(--accent); margin-left: 4px; }

.nav__links {
  display: flex;
  gap: 28px;
  align-items: center;
}

.nav__links a { color: var(--text-dim); font-weight: 500; transition: color .2s; }
.nav__links a:hover { color: var(--text); }

.nav__cta {
  background: var(--accent);
  color: #fff !important;
  padding: 8px 16px;
  border-radius: 999px;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__burger span {
  width: 22px;
  height: 2px;
  background: var(--text);
}

/* HERO */
.hero {
  position: relative;
  padding: 120px 24px 80px;
  text-align: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(227, 53, 43, 0.18), transparent 60%);
  z-index: -1;
}

.hero__eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 800;
  line-height: 1.1;
}
.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__sub {
  max-width: 600px;
  margin: 24px auto 36px;
  color: var(--text-dim);
  font-size: 1.05rem;
}

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

.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }

.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-dark); }

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

.btn--outline { border: 1px solid var(--accent); color: var(--accent); padding: 8px 18px; font-size: 0.9rem; }
.btn--outline:hover { background: var(--accent); color: #fff; }

.btn--lg { padding: 16px 36px; font-size: 1.05rem; }

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.stat { text-align: center; }
.stat__num { display: block; font-size: 2rem; font-weight: 800; color: var(--accent); }
.stat__label { color: var(--text-dim); font-size: 0.85rem; max-width: 160px; display: inline-block; }

/* SECTIONS */
.section { padding: 90px 0; }
.section--dark { background: var(--bg-alt); }
.section--accent { background: linear-gradient(135deg, var(--accent-dark), var(--bg)); }

.section__title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section__lead {
  color: var(--text-dim);
  max-width: 600px;
  margin-bottom: 48px;
}
.container--center .section__lead { margin-left: auto; margin-right: auto; }

/* GRID / CARDS */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }

.card__icon {
  width: 42px;
  height: 42px;
  color: var(--accent);
  margin-bottom: 18px;
}
.card__icon svg { width: 100%; height: 100%; }

.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--text-dim); font-size: 0.92rem; }

/* EVENTS / CASES */
.events { display: flex; flex-direction: column; gap: 20px; }

.event {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  align-items: center;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.event__photo {
  width: 140px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  background: #1c1d22;
  display: flex;
  align-items: center;
  justify-content: center;
}
.event__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.event__info h3 { font-size: 1.1rem; margin-bottom: 4px; }
.event__info p { color: var(--text-dim); font-size: 0.9rem; }

/* DEMANDS LIST */
.demands-list {
  margin: 20px 0 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.demands-list li {
  position: relative;
  padding-left: 26px;
  color: var(--text-dim);
}
.demands-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 2px;
}

/* ABOUT VISUAL */
.about__text p { color: var(--text-dim); margin-bottom: 16px; }

.about__visual { display: flex; justify-content: center; }
.wheel {
  position: relative;
  width: 220px;
  height: 220px;
}
.wheel__rim {
  position: absolute;
  inset: 0;
  border: 6px solid var(--accent);
  border-radius: 50%;
  animation: spin 12s linear infinite;
}
.wheel__spoke {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 6px;
  height: 100%;
  background: var(--border);
  transform: translate(-50%, -50%) rotate(0deg);
}
.wheel__spoke--2 { transform: translate(-50%, -50%) rotate(60deg); }
.wheel__spoke--3 { transform: translate(-50%, -50%) rotate(120deg); }
.wheel__hub {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 24px;
  height: 24px;
  background: var(--accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}
@keyframes spin { to { transform: rotate(360deg); } }

/* FOOTER */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--border);
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-dim);
  font-size: 0.9rem;
}
.footer__inner nav { display: flex; gap: 20px; }

/* RESPONSIVE */
@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .container--split { grid-template-columns: 1fr; }
  .event { grid-template-columns: 100px 1fr; }
  .event .btn--outline { display: none; }
}

@media (max-width: 640px) {
  .nav__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .nav__links.open { display: flex; }
  .nav__burger { display: flex; }
  .grid--4 { grid-template-columns: 1fr; }
  .event { grid-template-columns: 1fr; text-align: center; }
  .event__photo { margin: 0 auto; }
}
