:root {
  --bg: #070707;
  --bg-2: #101010;
  --fg: #F4F4F0;
  --muted: #9C9C98;
  --neon: #C7FF00;
  --neon-2: #9B5CFF;
  --accent: #FF3154;
  --line: rgba(244, 244, 240, 0.08);
  --line-2: rgba(244, 244, 240, 0.15);
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

.noise {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-overlay {
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.cursor-glow {
  position: fixed;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,255,0,0.08), transparent 60%);
  pointer-events: none;
  z-index: 1;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s;
  mix-blend-mode: screen;
}
@media (max-width: 768px) { .cursor-glow { display: none; } }

.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  backdrop-filter: blur(16px);
  background: rgba(7, 7, 7, 0.7);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 2px;
}
.logo span { color: var(--neon); text-shadow: 0 0 10px var(--neon); }
.main-nav { display: flex; gap: 32px; }
.main-nav a {
  color: var(--fg);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: color 0.3s;
  position: relative;
}
.main-nav a:hover { color: var(--neon); }
.main-nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--neon);
  transition: width 0.3s var(--ease);
  box-shadow: 0 0 6px var(--neon);
}
.main-nav a:hover::after { width: 100%; }

.header-cta {
  padding: 10px 20px;
  background: var(--neon);
  color: #070707;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 999px;
  transition: all 0.3s;
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.3);
}
.header-cta:hover { box-shadow: 0 0 30px rgba(199, 255, 0, 0.6); transform: translateY(-1px); }

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 30px; height: 30px;
  position: relative;
}
.burger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--fg);
  transition: 0.3s;
}
.burger span:nth-child(1) { top: 8px; }
.burger span:nth-child(2) { top: 14px; }
.burger span:nth-child(3) { top: 20px; }
.burger.open span:nth-child(1) { top: 14px; transform: rotate(45deg); background: var(--neon); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { top: 14px; transform: rotate(-45deg); background: var(--neon); }

main { position: relative; z-index: 2; }
.section {
  padding: 120px 40px;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}
.section-kicker {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-kicker::before {
  content: '';
  width: 32px; height: 1px;
  background: var(--neon);
  box-shadow: 0 0 6px var(--neon);
}
.section-title-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 80px;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(60px, 10vw, 160px); }
h2 { font-size: clamp(40px, 6vw, 90px); }
h3 { font-size: clamp(24px, 3vw, 36px); }
h1 span, h2 em, h2 span {
  font-style: normal;
  color: var(--neon);
  text-shadow: 0 0 20px rgba(199, 255, 0, 0.4);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 28px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn-primary {
  background: var(--neon);
  color: #070707;
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.3);
}
.btn-primary:hover {
  box-shadow: 0 0 40px rgba(199, 255, 0, 0.6);
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--line-2);
}
.btn-ghost:hover {
  border-color: var(--neon);
  color: var(--neon);
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.2);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease), transform 1s var(--ease);
}
.reveal.in { opacity: 1; transform: translateY(0); }

.hero {
  min-height: 100vh;
  padding-top: 160px;
  padding-bottom: 0;
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}
.hero-copy .eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 4px;
  color: var(--neon);
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-copy h1 { margin-bottom: 32px; }
.hero-lead {
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.4;
  margin-bottom: 40px;
  color: var(--muted);
}
.hero-lead strong { color: var(--fg); font-weight: 500; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  max-width: 600px;
  margin-left: auto;
}
.hero-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%,
    rgba(199, 255, 0, 0.35),
    rgba(155, 92, 255, 0.2) 40%,
    transparent 70%);
  filter: blur(60px);
  animation: orbPulse 8s ease-in-out infinite;
}
@keyframes orbPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.1); opacity: 1; }
}
.hero-photo-frame {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  overflow: hidden;
  backdrop-filter: blur(4px);
  background: rgba(16, 16, 16, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-placeholder {
  font-family: var(--font-display);
  font-size: 20px;
  letter-spacing: 4px;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
}
.hero-placeholder span {
  color: var(--neon);
  display: block;
  font-size: 14px;
  letter-spacing: 2px;
  margin-top: 8px;
}

.floating-tag {
  position: absolute;
  padding: 10px 18px;
  background: var(--bg-2);
  border: 1px solid var(--neon);
  color: var(--neon);
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.3);
  animation: tagFloat 6s ease-in-out infinite;
}
.tag-one { top: 10%; left: 0; animation-delay: 0s; }
.tag-two { top: 50%; right: -5%; animation-delay: 2s; border-color: var(--neon-2); color: var(--neon-2); box-shadow: 0 0 20px rgba(155, 92, 255, 0.3); }
.tag-three { bottom: 5%; left: 10%; animation-delay: 4s; border-color: var(--accent); color: var(--accent); box-shadow: 0 0 20px rgba(255, 49, 84, 0.3); }
@keyframes tagFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.marquee {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 4px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee div {
  display: inline-block;
  animation: marqueeScroll 40s linear infinite;
  padding-left: 100%;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}
/* --- Stats: Шахматка --- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-areas:
    "a a b b c c"
    ". . d d e e";
  gap: 60px 20px;
  padding: 60px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  position: relative;
  text-align: center;
}

.stat:nth-child(1) { grid-area: a; }
.stat:nth-child(2) { grid-area: b; }
.stat:nth-child(3) { grid-area: c; }
.stat:nth-child(4) { grid-area: d; }
.stat:nth-child(5) { grid-area: e; }

/* Тонкие вертикальные разделители между цифрами */
.stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -10px;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, var(--line-2), transparent);
}

/* Убираем разделитель после 3-й цифры (конец первого ряда) */
.stat:nth-child(3)::after {
  display: none;
}

.stat b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(50px, 7vw, 90px);
  font-weight: 700;
  line-height: 1;
  color: var(--neon);
  text-shadow: 0 0 30px rgba(199, 255, 0, 0.4);
  margin-bottom: 12px;
}

.stat span {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  line-height: 1.4;
}

/* Декоративная точка в пустом углу (опционально) */
.stats-grid::before {
  content: '';
  grid-area: d;
  justify-self: start;
  align-self: center;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 12px var(--neon);
  opacity: 0.5;
  margin-left: 20px;
}

/* --- Адаптив --- */
@media (max-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-areas:
      "a b c"
      "d d e";
    gap: 40px 20px;
  }
  .stat:nth-child(4),
  .stat:nth-child(5) {
    text-align: center;
  }
  .stat:nth-child(4) { justify-self: center; }
  .stat:nth-child(5) { justify-self: end; }
  .stat:not(:last-child)::after {
    right: -10px;
  }
  .stat:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-areas:
      "a b"
      "c c"
      "d e";
    gap: 40px;
  }
  .stat:nth-child(3) {
    grid-column: 1 / span 2;
    justify-self: center;
  }
  .stat:not(:last-child)::after {
    display: none;
  }
  .stats-grid::before {
    display: none;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "a"
      "b"
      "c"
      "d"
      "e";
    gap: 32px;
  }
  .stat b {
    font-size: 50px;
  }
}

.road { position: relative; padding-left: 80px; }
.road::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--neon), var(--neon-2), var(--accent));
  box-shadow: 0 0 12px var(--neon);
}
.road-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 40px;
  padding: 40px 0;
  position: relative;
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.8s var(--ease);
}
.road-item.in { opacity: 1; transform: translateX(0); }
.road-item::before {
  content: '';
  position: absolute;
  left: -68px;
  top: 50px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--neon);
  box-shadow: 0 0 12px var(--neon);
}
.road-item:last-child { border-bottom: none; }
.road-item .year {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--neon);
  letter-spacing: 2px;
}
.road-item small {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--muted);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}
.road-item h3 { font-size: clamp(24px, 3vw, 40px); margin-bottom: 12px; }
.road-item p { color: var(--muted); max-width: 600px; }

.section-intro {
  font-size: clamp(18px, 2vw, 24px);
  color: var(--muted);
  margin: 24px 0 60px;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.project-card {
  position: relative;
  padding: 32px 24px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  cursor: pointer;
  overflow: hidden;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, var(--neon), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 0;
}
.project-card:hover {
  transform: translateY(-6px);
  border-color: var(--neon);
  box-shadow: 0 20px 40px rgba(199, 255, 0, 0.15), 0 0 20px rgba(199, 255, 0, 0.2);
}
.project-card:hover::before { opacity: 0.08; }
.project-card > * { position: relative; z-index: 1; }
.project-card .num {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 2px;
}
.project-card h3 { font-size: 22px; margin-bottom: 6px; transition: color 0.3s; }
.project-card small {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
}
.project-card:hover h3 { color: var(--neon); }
.project-card.accent { border-color: var(--accent); }
.project-card.accent:hover {
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(255, 49, 84, 0.15), 0 0 20px rgba(255, 49, 84, 0.3);
}
.project-card.accent:hover h3 { color: var(--accent); }
.project-card.neon { border-color: var(--neon-2); }
.project-card.neon:hover {
  border-color: var(--neon-2);
  box-shadow: 0 20px 40px rgba(155, 92, 255, 0.15), 0 0 20px rgba(155, 92, 255, 0.3);
}
.project-card.neon:hover h3 { color: var(--neon-2); }
.project-card.tech {
  background: linear-gradient(135deg, rgba(199, 255, 0, 0.08), rgba(155, 92, 255, 0.08));
  border-color: var(--neon);
}

.manifesto { padding: 160px 40px; position: relative; overflow: hidden; }
.manifesto::before {
  content: '';
  position: absolute;
  left: -10%;
  top: 50%;
  transform: translateY(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255, 49, 84, 0.2), transparent 60%);
  filter: blur(80px);
  z-index: 0;
}
.manifesto-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 1; }
.manifesto p {
  font-size: clamp(16px, 1.6vw, 20px);
  color: var(--muted);
  max-width: 800px;
  margin-top: 32px;
  line-height: 1.6;
}
.formula {
  margin-top: 60px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.formula span {
  padding: 14px 24px;
  border: 1px solid var(--neon);
  border-radius: 999px;
  color: var(--neon);
  box-shadow: 0 0 15px rgba(199, 255, 0, 0.2);
  transition: all 0.3s;
}
.formula span:hover {
  background: var(--neon);
  color: #070707;
  box-shadow: 0 0 30px rgba(199, 255, 0, 0.5);
}
.formula i { font-style: normal; color: var(--muted); font-size: 24px; }

.rest .split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.rest .year { font-family: var(--font-display); font-size: 18px; color: var(--neon); letter-spacing: 2px; margin-top: 20px; }
.big-copy { font-size: clamp(20px, 2.2vw, 28px); font-weight: 500; color: var(--fg); margin-bottom: 24px; line-height: 1.3; }
.copy p { color: var(--muted); line-height: 1.6; margin-bottom: 16px; }

.next-head { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 20px; flex-wrap: wrap; gap: 20px; }
.next-head > span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  color: var(--neon-2);
  padding: 10px 20px;
  border: 1px solid var(--neon-2);
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(155, 92, 255, 0.3);
}
.stack-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; margin-top: 60px; }
.stack-grid > div {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
}
.stack-grid > div:hover {
  border-color: var(--neon-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(155, 92, 255, 0.15), 0 0 20px rgba(155, 92, 255, 0.2);
}
.stack-grid b { display: block; font-family: var(--font-display); font-size: 14px; color: var(--neon-2); letter-spacing: 2px; margin-bottom: 16px; }
.stack-grid strong { display: block; font-family: var(--font-display); font-size: 22px; font-weight: 600; margin-bottom: 8px; letter-spacing: 1px; }
.stack-grid span { color: var(--muted); font-size: 14px; }

.funnel-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  font-family: var(--font-display);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
}
.funnel-flow span {
  padding: 16px 24px;
  border: 1px solid var(--neon);
  border-radius: 999px;
  color: var(--neon);
  background: rgba(199, 255, 0, 0.05);
  box-shadow: 0 0 15px rgba(199, 255, 0, 0.2);
  transition: all 0.3s;
}
.funnel-flow span:hover {
  background: var(--neon);
  color: #070707;
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(199, 255, 0, 0.6);
}
.funnel-flow i { font-style: normal; color: var(--muted); font-size: 24px; }

.speaking-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; margin-bottom: 80px; }
.speak-card {
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.speak-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--neon), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.speak-card:hover { transform: translateY(-6px); border-color: var(--neon); box-shadow: 0 20px 40px rgba(199, 255, 0, 0.15); }
.speak-card:hover::after { opacity: 1; }
.speak-meta {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--neon);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.speak-card h3 { font-size: 22px; margin-bottom: 12px; line-height: 1.2; }
.speak-card p { color: var(--muted); font-size: 14px; line-height: 1.5; }
.speak-card.accent { border-color: rgba(255, 49, 84, 0.3); }
.speak-card.accent:hover { border-color: var(--accent); box-shadow: 0 20px 40px rgba(255, 49, 84, 0.15); }
.speak-card.accent .speak-meta { color: var(--accent); }
.speak-card.accent::after { background: linear-gradient(90deg, var(--accent), transparent); }
.speak-card.neon { border-color: rgba(155, 92, 255, 0.3); }
.speak-card.neon:hover { border-color: var(--neon-2); box-shadow: 0 20px 40px rgba(155, 92, 255, 0.15); }
.speak-card.neon .speak-meta { color: var(--neon-2); }
.speak-card.neon::after { background: linear-gradient(90deg, var(--neon-2), transparent); }

.map-wrap { margin-top: 60px; }
.city-map {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.map-svg { width: 100%; height: auto; }
.map-line { stroke: var(--neon); stroke-width: 1; stroke-dasharray: 4 4; opacity: 0.5; }
.city-point circle:first-child { fill: var(--neon); filter: drop-shadow(0 0 6px var(--neon)); }
.city-point .pulse {
  fill: none;
  stroke: var(--neon);
  stroke-width: 1;
  opacity: 0.6;
  animation: pulse 2s ease-out infinite;
  transform-origin: center;
  transform-box: fill-box;
}
.city-point text { fill: var(--fg); font-family: var(--font-display); font-size: 12px; letter-spacing: 1px; }
@keyframes pulse {
  0% { r: 6; opacity: 0.8; }
  100% { r: 24; opacity: 0; }
}
/* --- Awards Wall (Masonry + Tilt) --- */
.awards-wall {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  grid-auto-rows: 200px;
  gap: 20px;
  margin-top: 60px;
}

.award-item {
  position: relative;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  display: flex;
  flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
}

/* Размеры карточек */
.award-item.size-small {
  grid-row: span 2;
}
.award-item.size-medium {
  grid-row: span 3;
}
.award-item.size-large {
  grid-row: span 4;
}

/* Наклоны (как будто разбросаны на стене) */
.award-item.tilt-left {
  transform: rotate(-2deg);
}
.award-item.tilt-right {
  transform: rotate(2deg);
}

/* Hover-эффект: выпрямляется и увеличивается */
.award-item:hover {
  transform: rotate(0deg) scale(1.05) !important;
  z-index: 10;
}

.award-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: var(--radius);
  border: 2px solid var(--line);
  background: var(--bg-2);
  transition: all 0.4s var(--ease);
  filter: grayscale(30%) brightness(0.9);
}

.award-item:hover img {
  border-color: var(--neon);
  box-shadow: 0 20px 60px rgba(199, 255, 0, 0.3), 0 0 30px rgba(199, 255, 0, 0.2);
  filter: grayscale(0%) brightness(1);
}

.award-item figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.95), transparent);
  font-size: 13px;
  color: var(--fg);
  line-height: 1.4;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s var(--ease);
}

.award-item:hover figcaption {
  opacity: 1;
  transform: translateY(0);
}

.award-item figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--muted);
}

/* Адаптив */
@media (max-width: 1024px) {
  .awards-wall {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    grid-auto-rows: 160px;
  }
}

@media (max-width: 768px) {
  .awards-wall {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 140px;
    gap: 12px;
  }
  .award-item.tilt-left,
  .award-item.tilt-right {
    transform: rotate(0deg); /* На мобильных убираем наклоны */
  }
}

@media (max-width: 480px) {
  .awards-wall {
    grid-template-columns: 1fr;
    grid-auto-rows: 200px;
  }
  .award-item.size-small,
  .award-item.size-medium,
  .award-item.size-large {
    grid-row: span 1;
  }
}

/* --- Fullscreen Viewer (улучшенный) --- */
.fs-viewer {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.98);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.fs-viewer:not([hidden]) {
  opacity: 1;
  visibility: visible;
}

.fs-stage {
  max-width: 90%;
  max-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease);
}

.fs-viewer:not([hidden]) .fs-stage {
  transform: scale(1);
}

.fs-stage img {
  max-width: 100%;
  max-height: 85vh;
  border: 2px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 0 80px rgba(199, 255, 0, 0.3), 0 30px 60px rgba(0, 0, 0, 0.8);
  object-fit: contain;
}

.fs-close, .fs-prev, .fs-next {
  position: absolute;
  background: var(--bg-2);
  border: 2px solid var(--line);
  color: var(--fg);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 32px;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.fs-close { top: 40px; right: 40px; }
.fs-prev { left: 40px; top: 50%; transform: translateY(-50%); }
.fs-next { right: 40px; top: 50%; transform: translateY(-50%); }

.fs-close:hover, .fs-prev:hover, .fs-next:hover {
  background: var(--neon);
  color: #070707;
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(199, 255, 0, 0.6);
  transform: translateY(-50%) scale(1.1);
}

.fs-close:hover {
  transform: scale(1.1);
}

.fs-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 16px;
  letter-spacing: 2px;
  color: var(--fg);
  text-align: center;
  background: rgba(7, 7, 7, 0.8);
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .fs-viewer { padding: 20px; }
  .fs-close, .fs-prev, .fs-next { width: 48px; height: 48px; font-size: 24px; }
  .fs-prev { left: 16px; }
  .fs-next { right: 16px; }
  .fs-close { top: 16px; right: 16px; }
  .fs-caption { font-size: 14px; bottom: 20px; padding: 10px 20px; }
}

.gallery-head { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; align-items: end; margin-bottom: 60px; }
.gallery-head p { color: var(--muted); font-size: 15px; line-height: 1.6; }
/* --- Gallery Masonry Grid --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px; /* Базовая высота ячейки */
  gap: 16px;
  grid-auto-flow: dense; /* Магия: заполняет дыры в сетке */
  margin-top: 60px;
}

.photo-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.4s var(--ease);
  background: var(--bg-2);
}

/* Форматы */
.photo-landscape {
  grid-column: span 2;
  grid-row: span 2;
}
.photo-portrait {
  grid-column: span 1;
  grid-row: span 2;
}
.photo-square {
  grid-column: span 1;
  grid-row: span 1;
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s var(--ease), filter 0.4s;
  filter: grayscale(15%) brightness(0.9);
}

/* Hover-эффекты */
.photo-item:hover {
  border-color: var(--neon);
  box-shadow: 0 15px 40px rgba(199, 255, 0, 0.2), 0 0 20px rgba(199, 255, 0, 0.15);
  z-index: 2;
}
.photo-item:hover img {
  transform: scale(1.08);
  filter: grayscale(0%) brightness(1);
}

/* Оверлей при наведении (опционально, для стиля) */
.photo-item::after {
  content: 'VIEW';
  position: absolute;
  inset: 0;
  background: rgba(7, 7, 7, 0.4);
  color: var(--neon);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 3px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.photo-item:hover::after {
  opacity: 1;
}

/* --- Адаптив галереи --- */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
  .photo-landscape { grid-column: span 2; grid-row: span 1; }
  .photo-portrait { grid-column: span 1; grid-row: span 2; }
  .photo-square { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 12px;
  }
  /* На мобильном широкие фото занимают всю ширину */
  .photo-landscape { grid-column: span 2; grid-row: span 1; }
  .photo-portrait { grid-column: span 1; grid-row: span 2; }
  .photo-square { grid-column: span 1; grid-row: span 1; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-auto-rows: 150px;
  }
}

.ph-1 { grid-column: span 2; grid-row: span 2; }
.ph-2 { grid-column: span 2; grid-row: span 1; }
.ph-3 { grid-column: span 2; grid-row: span 2; }
.ph-4 { grid-column: span 2; grid-row: span 2; }
.ph-5 { grid-column: span 2; grid-row: span 1; }
.ph-6 { grid-column: span 2; grid-row: span 2; }
.ph-7 { grid-column: span 2; grid-row: span 1; }
.ph-8 { grid-column: span 2; grid-row: span 2; }
.ph-9 { grid-column: span 2; grid-row: span 2; }

.visit {
  background: linear-gradient(135deg, rgba(199, 255, 0, 0.04), rgba(155, 92, 255, 0.04));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 160px 40px;
}
.visit h2 em { color: var(--neon-2); text-shadow: 0 0 20px rgba(155, 92, 255, 0.4); }
.visit .big-copy { font-size: clamp(22px, 2.5vw, 32px); font-weight: 500; margin: 32px 0; max-width: 800px; }
.visit .big-copy strong { color: var(--neon); text-shadow: 0 0 10px rgba(199, 255, 0, 0.3); }
.visit-system {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin: 40px 0;
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 24px);
  letter-spacing: 3px;
  font-weight: 600;
  text-transform: uppercase;
}
.visit-system span { padding: 12px 24px; border: 1px solid var(--neon); border-radius: 999px; color: var(--neon); box-shadow: 0 0 15px rgba(199, 255, 0, 0.2); }
.visit-system b { font-style: normal; color: var(--muted); font-size: 28px; }
.visit-text { max-width: 800px; color: var(--muted); font-size: clamp(16px, 1.6vw, 20px); line-height: 1.6; }

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-links { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.contact-links a {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
  text-decoration: none;
  letter-spacing: 2px;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
}
.contact-links a:hover { color: var(--neon); }

form { display: flex; flex-direction: column; gap: 20px; }
form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
form input, form textarea, form select {
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 15px;
  transition: all 0.3s;
  outline: none;
}
form input:focus, form textarea:focus, form select:focus {
  border-color: var(--neon);
  box-shadow: 0 0 0 3px rgba(199, 255, 0, 0.1), 0 0 15px rgba(199, 255, 0, 0.15);
}
form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C7FF00' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 44px;
}
form .check { flex-direction: row; align-items: flex-start; gap: 12px; font-size: 12px; text-transform: none; letter-spacing: 0; color: var(--muted); line-height: 1.5; }
form .check input { width: 20px; height: 20px; accent-color: var(--neon); flex-shrink: 0; margin-top: 2px; }
form .check a { color: var(--neon); text-decoration: underline; }
.honeypot { position: absolute; left: -9999px; }
.form-status { font-family: var(--font-display); font-size: 13px; padding: 12px 16px; border-radius: 8px; display: none; }
.form-status.show { display: block; }
.form-status.success { background: rgba(199, 255, 0, 0.1); border: 1px solid var(--neon); color: var(--neon); }
.form-status.error { background: rgba(255, 49, 84, 0.1); border: 1px solid var(--accent); color: var(--accent); }

.fs-viewer {
  position: fixed;
  inset: 0;
  background: rgba(7, 7, 7, 0.96);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.fs-viewer:not([hidden]) { display: flex; }
.fs-stage { max-width: 90%; max-height: 80vh; display: flex; align-items: center; justify-content: center; }
.fs-stage img { max-width: 100%; max-height: 80vh; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 60px rgba(199, 255, 0, 0.2); }
.fs-close, .fs-prev, .fs-next {
  position: absolute;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--fg);
  width: 56px; height: 56px;
  border-radius: 50%;
  font-size: 28px;
  cursor: pointer;
  transition: all 0.3s;
  font-family: var(--font-display);
}
.fs-close { top: 40px; right: 40px; }
.fs-prev { left: 40px; top: 50%; transform: translateY(-50%); }
.fs-next { right: 40px; top: 50%; transform: translateY(-50%); }
.fs-close:hover, .fs-prev:hover, .fs-next:hover {
  background: var(--neon);
  color: #070707;
  border-color: var(--neon);
  box-shadow: 0 0 20px rgba(199, 255, 0, 0.5);
}
.fs-caption {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--muted);
  text-align: center;
}

.footer {
  padding: 80px 40px 40px;
  border-top: 1px solid var(--line);
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 40px;
  align-items: center;
}
.footer strong { font-family: var(--font-display); font-size: 20px; letter-spacing: 2px; display: block; margin-bottom: 4px; }
.footer span { font-size: 12px; letter-spacing: 3px; color: var(--muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; transition: color 0.3s; }
.footer-links a:hover { color: var(--neon); }
.footer small { font-size: 12px; color: var(--muted); letter-spacing: 1px; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { max-width: 450px; margin: 0 auto; }
  .section-title-row { grid-template-columns: 1fr; gap: 24px; }
  .rest .split { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-head { grid-template-columns: 1fr; }
  .footer { grid-template-columns: 1fr; gap: 24px; text-align: center; }
  .footer-links { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 768px) {
  .section { padding: 80px 20px; }
  .site-header { padding: 16px 20px; }
  .burger { display: block; z-index: 101; }
  .main-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: 80%;
    max-width: 320px;
    background: var(--bg-2);
    flex-direction: column;
    padding: 100px 40px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    border-left: 1px solid var(--line);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 18px; }
  .header-cta { display: none; }
  .road { padding-left: 50px; }
  .road::before { left: 10px; }
  .road-item { grid-template-columns: 1fr; gap: 12px; }
  .road-item::before { left: -48px; top: 54px; width: 12px; height: 12px; }
  .project-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .project-card { padding: 20px 16px; min-height: 140px; }
  .project-card h3 { font-size: 18px; }
  .gallery-grid { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 80px; }
  .ph-1, .ph-3, .ph-4, .ph-6, .ph-8, .ph-9 { grid-column: span 2; grid-row: span 2; }
  .ph-2, .ph-5, .ph-7 { grid-column: span 2; grid-row: span 1; }
  .visit { padding: 100px 20px; }
  .visit-system { gap: 8px; }
  .visit-system span { padding: 8px 14px; font-size: 12px; letter-spacing: 1px; }
  .funnel-flow { gap: 8px; }
  .funnel-flow span { padding: 10px 14px; font-size: 12px; letter-spacing: 1px; }
  .formula span { padding: 10px 14px; font-size: 12px; letter-spacing: 1px; }
  .fs-prev, .fs-next { width: 44px; height: 44px; font-size: 22px; }
  .fs-prev { left: 16px; }
  .fs-next { right: 16px; }
  .fs-close { top: 16px; right: 16px; width: 44px; height: 44px; font-size: 22px; }
  .speaking-grid { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  h1 { font-size: 60px; }
  h2 { font-size: 36px; }
  .stat b { font-size: 50px; }
  .stack-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .ph-1, .ph-3, .ph-4, .ph-6, .ph-8, .ph-9 { grid-column: span 2; }
  .ph-2, .ph-5, .ph-7 { grid-column: span 2; }
  .contact-links a { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Pilot Projects --- */
.pilots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.pilot-card {
  display: flex;
  flex-direction: column;
  padding: 32px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--fg);
  transition: all 0.4s var(--ease);
  position: relative;
  overflow: hidden;
}
.pilot-card.neon-glow:hover {
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(199, 255, 0, 0.2), inset 0 0 20px rgba(199, 255, 0, 0.05);
  transform: translateY(-4px);
}
.pilot-card.accent-glow:hover {
  border-color: var(--neon-2);
  box-shadow: 0 0 30px rgba(155, 92, 255, 0.2), inset 0 0 20px rgba(155, 92, 255, 0.05);
  transform: translateY(-4px);
}
.pilot-tag {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--neon);
  margin-bottom: 16px;
}
.accent-glow .pilot-tag { color: var(--neon-2); }
.pilot-card h3 { font-size: 28px; margin-bottom: 12px; }
.pilot-card p { color: var(--muted); font-size: 15px; line-height: 1.5; margin-bottom: 24px; flex-grow: 1; }
.pilot-link {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--neon);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.accent-glow .pilot-link { color: var(--neon-2); }

/* --- Contact Links --- */
.contact-links { display: flex; flex-direction: column; gap: 20px; margin-top: 32px; }
.contact-item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.3s var(--ease);
}
.contact-item:hover { transform: translateX(8px); }
.contact-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.contact-value {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--fg);
  font-weight: 500;
  transition: color 0.3s;
}
.contact-item:hover .contact-value { color: var(--neon); }

/* --- File Upload --- */
.file-upload { display: flex; flex-direction: column; gap: 8px; }
.file-upload > span {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}
.file-upload input[type="file"] {
  padding: 14px;
  border: 1px dashed var(--line-2);
  border-radius: 8px;
  background: var(--bg-2);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}
.file-upload input[type="file"]:hover {
  border-color: var(--neon);
  background: rgba(199, 255, 0, 0.03);
}
.file-upload small { font-size: 12px; color: var(--muted); }

/* --- Checkboxes (152-FZ compliant) --- */
form .check {
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  text-transform: none;
  letter-spacing: 0;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 8px;
}
form .check.required::before {
  content: '*';
  color: var(--accent);
  margin-right: 4px;
}
form .check input {
  width: 20px; height: 20px;
  accent-color: var(--neon);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
}
form .check a {
  color: var(--neon);
  text-decoration: underline;
  text-underline-offset: 3px;
}
form .check a:hover { color: var(--fg); }

/* --- Cookie Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(16, 16, 16, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line-2);
  border-radius: var(--radius);
  padding: 24px;
  z-index: 999;
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
  transform: translateY(150%);
  transition: transform 0.5s var(--ease);
}
.cookie-banner.show { transform: translateY(0); }
.cookie-content p { font-size: 14px; color: var(--muted); margin-bottom: 16px; line-height: 1.5; }
.cookie-content a { color: var(--neon); text-decoration: underline; }
.cookie-actions { display: flex; gap: 12px; }
.cookie-actions .btn { padding: 10px 20px; font-size: 12px; }

@media (max-width: 480px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; max-width: none; }
  .cookie-actions { flex-direction: column; }
  .contact-value { font-size: 18px; }
}

/* --- Awards: реальные изображения --- */
.award-grid figure {
  cursor: pointer;
  transition: transform 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.award-grid figure:hover {
  transform: translateY(-6px);
}
.award-grid figure img {
  width: 100%;
  aspect-ratio: 3 / 4;       /* Портретная ориентация */
  object-fit: cover;          /* Обрезка без искажений */
  object-position: center;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg-2);
  transition: all 0.4s var(--ease);
  filter: grayscale(20%);
}
.award-grid figure:hover img {
  border-color: var(--neon);
  box-shadow: 0 15px 40px rgba(199, 255, 0, 0.25), 0 0 20px rgba(199, 255, 0, 0.2);
  filter: grayscale(0%);
}
.award-grid figcaption {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 12px;
  padding: 0 4px;
}
.award-grid figcaption small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  opacity: 0.7;
}

/* Убираем старые стили плейсхолдера, если они мешают */
.award-grid .award-placeholder {
  display: none;
}

/* Адаптив для наград */
@media (max-width: 768px) {
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 480px) {
  .award-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .award-grid figcaption {
    font-size: 12px;
  }
}

/* --- Awards Carousel (Multi-Slide) --- */
.carousel-wrapper {
  position: relative;
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 60px;
}

.carousel {
  overflow: hidden;
  border-radius: var(--radius);
  position: relative;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* 3 слайда на десктопе */
.carousel-item {
  flex: 0 0 calc((100% - 40px) / 3);
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: 2px solid var(--line);
  background: var(--bg-2);
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: all 0.4s var(--ease);
  filter: grayscale(20%) brightness(0.85);
}

/* Центральный (активный) слайд — ярче и крупнее */
.carousel-item.active {
  border-color: var(--neon);
  box-shadow: 0 0 40px rgba(199, 255, 0, 0.25), 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(1.04);
  z-index: 2;
}

.carousel-item.active img {
  filter: grayscale(0%) brightness(1);
}

/* Боковые слайды при наведении */
.carousel-item:not(.active):hover {
  border-color: rgba(199, 255, 0, 0.4);
  box-shadow: 0 10px 30px rgba(199, 255, 0, 0.15);
  transform: scale(1.02);
}

.carousel-item:not(.active):hover img {
  filter: grayscale(0%) brightness(0.95);
}

/* Подпись */
.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 16px;
  background: linear-gradient(to top, rgba(7, 7, 7, 0.95) 0%, rgba(7, 7, 7, 0.6) 60%, transparent 100%);
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--fg);
  line-height: 1.4;
  transform: translateY(100%);
  transition: all 0.4s var(--ease);
}

.carousel-item:hover .carousel-caption,
.carousel-item.active .carousel-caption {
  transform: translateY(0);
}

.carousel-caption small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  font-family: var(--font-body);
}

/* Кнопки навигации */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--line);
  color: var(--fg);
  font-size: 28px;
  font-family: var(--font-display);
  cursor: pointer;
  transition: all 0.3s var(--ease);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}

.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-btn:hover {
  background: var(--neon);
  color: #070707;
  border-color: var(--neon);
  box-shadow: 0 0 30px rgba(199, 255, 0, 0.5);
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  pointer-events: none;
}

/* Точки-индикаторы */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--line-2);
  border: none;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  padding: 0;
}

.carousel-dot.active {
  background: var(--neon);
  box-shadow: 0 0 10px var(--neon);
  width: 24px;
  border-radius: 4px;
}

.carousel-dot:hover {
  background: var(--neon);
  opacity: 0.7;
}

/* Счётчик */
.carousel-counter {
  position: absolute;
  top: 20px;
  right: 80px;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 2px;
  color: var(--fg);
  background: rgba(7, 7, 7, 0.8);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
  z-index: 10;
}

.carousel-counter span:first-child {
  color: var(--neon);
  font-weight: 600;
}

/* --- Адаптив --- */

/* Планшет: 2 слайда */
@media (max-width: 1024px) {
  .carousel-item {
    flex: 0 0 calc((100% - 20px) / 2);
  }
}

/* Мобильный: 1 слайд */
@media (max-width: 768px) {
  .carousel-wrapper { padding: 0 20px; }
  .carousel-item {
    flex: 0 0 100%;
  }
  .carousel-track { gap: 0; }
  .carousel-btn { width: 44px; height: 44px; font-size: 24px; }
  .carousel-prev { left: 8px; }
  .carousel-next { right: 8px; }
  .carousel-counter { top: 12px; right: 60px; font-size: 12px; padding: 6px 12px; }
  .carousel-caption { padding: 16px; font-size: 14px; }
  .carousel-caption small { font-size: 11px; }
}

@media (max-width: 480px) {
  .carousel-wrapper { padding: 0 10px; }
  .carousel-btn { width: 36px; height: 36px; font-size: 20px; }
  .carousel-prev { left: 4px; }
  .carousel-next { right: 4px; }
  .carousel-counter { top: 8px; right: 48px; font-size: 11px; padding: 5px 10px; }
}