@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

:root {
  --bg: #000000;
  --bg-alt: #111111;
  --white: #ffffff;
  --acid: #D7FF28;
  --border: rgba(255, 255, 255, 0.28);
  --border-acid: rgba(215, 255, 40, 0.5);
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-bg-acid: rgba(215, 255, 40, 0.08);
  --font-display: 'Unbounded', sans-serif;
  --font-body: 'Golos Text', sans-serif;
  --font-chalk: 'Caveat', cursive;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.5;
}

h1, h2, h3 { font-family: var(--font-display); font-weight: 800; line-height: 1.1; }

.container { max-width: 1200px; margin: 0 auto; padding: 1px 24px 0; position: relative; }

.section-title { font-size: clamp(2rem, 4vw, 3rem); margin: 56px 0 40px; }

.card {
  border: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 12px;
  padding: 24px;
  position: relative;
}
.card--accent { border-color: var(--border-acid); background: var(--card-bg-acid); }

.meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  opacity: 0.6;
}
.meta--tl { position: absolute; top: 12px; left: 12px; }
.meta--tr { position: absolute; top: 12px; right: 12px; }
.meta--bl { position: absolute; bottom: 12px; left: 12px; }
.meta--br { position: absolute; bottom: 12px; right: 12px; }

.chalk-note {
  font-family: var(--font-chalk);
  color: var(--acid);
  font-size: 1.75rem;
  display: inline-block;
  transform: rotate(-2deg);
}

.chalk-doodle { filter: url(#chalkRough); }

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.btn-cta { background: var(--acid); color: #000; }
.btn-cta:hover { transform: scale(1.05); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 20px 0;
  transition: padding 0.3s ease, background 0.3s ease;
}
.site-header.is-scrolled {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header__logo { font-family: var(--font-display); font-weight: 800; color: var(--white); text-decoration: none; font-size: 1.25rem; }
.site-header__nav { display: flex; gap: 24px; }
.site-header__nav a { color: var(--white); text-decoration: none; opacity: 0.8; }
.site-header__nav a:hover { opacity: 1; color: var(--acid); }

.site-footer { border-top: 1px solid var(--border); padding: 40px 0; margin-top: 80px; }
.site-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.site-footer__socials { display: flex; gap: 16px; }
.site-footer__socials a { color: var(--white); opacity: 0.7; text-decoration: none; }

@media (max-width: 768px) {
  .site-header__nav { display: none; }
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero__shader {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: 0.5;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.85) 100%);
}
.hero__content { position: relative; z-index: 3; padding-bottom: 80px; width: 100%; }
.hero__title { font-size: clamp(2.5rem, 6vw, 5rem); margin-bottom: 24px; }
.hero__title-accent { color: var(--acid); }
.hero__subtitle { font-size: 1.25rem; max-width: 560px; margin-bottom: 32px; opacity: 0.9; }

.trust__inner { display: flex; flex-direction: column; align-items: center; gap: 40px; padding: 60px 24px; }
.trust__claim { position: relative; width: 100%; max-width: 680px; }
.trust__text { padding-top: 8px; padding-right: 72px; }
.trust__stamp {
  position: absolute;
  top: -20px;
  right: -14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--bg);
  border: 1px solid var(--border-acid);
  border-radius: 14px;
  transform: rotate(-8deg);
  pointer-events: none;
}
.trust__stamp-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
  opacity: 0.8;
}
.trust__stamp-logo { display: block; width: 84px; height: auto; }

@media (max-width: 480px) {
  .trust__stamp { top: -16px; right: -10px; padding: 7px 12px; }
  .trust__stamp-logo { width: 60px; }
  .trust__text { padding-right: 56px; }
}
.trust__stats { position: relative; display: flex; justify-content: center; flex-wrap: wrap; gap: 40px; }
.trust__stat { text-align: center; }
.trust__stat-circle-wrap { position: relative; display: flex; align-items: center; justify-content: center; padding: 8px 20px; margin: 0 auto; }
.trust__stat-circle { position: absolute; inset: -6px -14px; width: calc(100% + 28px); height: calc(100% + 12px); overflow: visible; pointer-events: none; }
.trust__stat-circle path { fill: none; stroke: var(--acid); stroke-width: 3; }
.trust__stat-value { display: block; font-family: var(--font-display); font-size: 2rem; color: var(--acid); position: relative; }
.trust__stat-label { font-size: 0.85rem; opacity: 0.7; }
.trust__note {
  position: absolute;
  right: -12px;
  bottom: -44px;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: nowrap;
  transform: rotate(-4deg);
}

@media (max-width: 640px) {
  .trust__note { position: static; margin-top: 16px; text-align: center; transform: rotate(-2deg); }
}

.advantages { padding: 80px 0; }
.advantages__list { display: flex; flex-direction: column; gap: 14px; }
.advantages__item { display: flex; align-items: flex-start; gap: 20px; }
.advantages__number { flex-shrink: 0; min-width: 40px; font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; color: var(--acid); }
.advantages__text { line-height: 1.5; padding-top: 4px; }
.advantages__text strong { color: var(--white); }
.chalk-underline { position: relative; display: inline-block; }
.chalk-underline__svg { position: absolute; left: 0; bottom: -8px; width: 100%; height: 10px; overflow: visible; pointer-events: none; }
.chalk-underline__svg path { fill: none; stroke: var(--acid); stroke-width: 3; }

.program { padding: 80px 0; }
.program__timeline { display: flex; flex-direction: column; gap: 16px; }
.program-day__toggle {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1.1rem;
  text-align: left;
  cursor: pointer;
  padding: 0;
}
.program-day__number { color: var(--acid); }
.program-day__arrow {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 52px;
  height: 44px;
  opacity: 0;
  pointer-events: none;
  filter: url(#chalkRough);
  transform: translateX(28px);
  transition: opacity 0.3s ease, transform 0.35s ease;
  z-index: 2;
}
.program-day__arrow path {
  fill: none;
  stroke: var(--acid);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.program-day[data-open="false"] .program-day__toggle:hover ~ .program-day__arrow,
.program-day[data-open="false"] .program-day__toggle:focus-visible ~ .program-day__arrow {
  opacity: 1;
  transform: translateX(0);
}
.program-day__content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.program-day[data-open="true"] .program-day__content { max-height: 2000px; padding-top: 16px; }
.program-day__content p { line-height: 1.5; }
.program-day__content p + p { margin-top: 12px; }
.program-day__part { margin-top: 16px; font-family: var(--font-display); font-weight: 700; color: var(--acid); }
.program-day__list { list-style: none; margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.program-day__list li { line-height: 1.5; padding-left: 20px; position: relative; }
.program-day__list li::before { content: "—"; position: absolute; left: 0; color: var(--acid); }

.gallery { padding: 80px 0; }
.gallery__students { margin-bottom: 40px; }
.gallery__students-label { display: inline-block; margin-bottom: 16px; transform: rotate(-1deg); }
.gallery__students-list { display: grid; grid-template-columns: 1fr; gap: 12px; }
.student-chip { display: flex; align-items: flex-start; gap: 12px; padding: 16px; }

@media (min-width: 640px) {
  .gallery__students-list { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .gallery__students-list { grid-template-columns: repeat(4, 1fr); }
}
.student-chip__photo { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 1px solid var(--border-acid); }
.student-chip__info { min-width: 0; }
.student-chip__name { display: block; font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; margin-bottom: 6px; }
.student-chip__role { display: block; font-size: 0.8rem; opacity: 0.65; line-height: 1.4; }
.student-chip__role strong { color: var(--acid); font-weight: 700; opacity: 1; }
.student-chip__photo--placeholder { background: var(--card-bg); }
.gallery__cases-label { display: inline-block; margin: 8px 0 16px; transform: rotate(-1deg); }
.gallery__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.gallery__item {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  background: none;
  cursor: pointer;
  aspect-ratio: 16 / 9;
}
.gallery__item video { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .gallery__grid { grid-template-columns: repeat(3, 1fr); }
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox__video, .lightbox__image { max-width: 90vw; max-height: 85vh; transform: scale(0.9); transition: transform 0.3s ease; }
.lightbox__image { display: none; border-radius: 12px; }
.lightbox.is-open .lightbox__video, .lightbox.is-open .lightbox__image { transform: scale(1); }
.lightbox__close { position: absolute; top: 24px; right: 24px; background: none; border: none; color: var(--white); font-size: 2rem; cursor: pointer; }

.speaker { padding: 80px 0; }
.speaker__inner { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.speaker__media { display: flex; flex-direction: column; gap: 10px; }
.speaker__photo-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
}
.speaker__photo-btn:hover { opacity: 0.85; }
.speaker__photo { width: 100%; border-radius: 12px; border: 1px solid var(--border); }
.speaker__info p { margin-bottom: 16px; }
.speaker__roles {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--acid);
}
.speaker__brands-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--acid);
  opacity: 0.8;
  margin-bottom: 12px !important;
}
.speaker__brands {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
}
.speaker__brands li {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  text-transform: uppercase;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}
.speaker__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 24px; }
.speaker__links a {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--acid);
  text-decoration: none;
  border-bottom: 1px solid var(--border-acid);
  padding-bottom: 2px;
}
.speaker__links a:hover { opacity: 0.8; }

.speaker__gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.speaker__gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }

@media (max-width: 640px) {
  .speaker__brands { justify-content: center; }
  .speaker__links { justify-content: center; }
}
@media (max-width: 480px) {
  .speaker__inner { grid-template-columns: 1fr; text-align: center; }
  .speaker__media { max-width: 320px; margin: 0 auto; }
}

.pricing { padding: 80px 0; }
.pricing__card { max-width: 480px; margin: 0 auto; text-align: center; }
.pricing__price { font-family: var(--font-display); font-size: 3rem; color: var(--acid); }
.pricing__note { opacity: 0.8; margin-top: 8px; }
.pricing__features { list-style: none; margin: 24px 0; display: flex; flex-direction: column; gap: 12px; text-align: left; }
.pricing__features li::before { content: "— "; color: var(--acid); }

.testimonials { padding: 80px 0; }
.testimonials-carousel { display: flex; align-items: center; gap: 12px; }
.testimonials-carousel__track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 4px 4px 12px;
  scrollbar-width: thin;
  scrollbar-color: var(--acid) transparent;
}
.testimonials-carousel__track::-webkit-scrollbar { height: 6px; }
.testimonials-carousel__track::-webkit-scrollbar-thumb { background: var(--acid); border-radius: 3px; }
.testimonials-carousel__slide {
  flex: 0 0 auto;
  scroll-snap-align: center;
  height: 320px;
  max-width: min(560px, 85vw);
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.testimonials-carousel__slide img {
  width: auto;
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  display: block;
}
.testimonials-carousel__btn {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card-bg);
  color: var(--white);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.testimonials-carousel__btn:hover { border-color: var(--acid); color: var(--acid); }

@media (max-width: 640px) {
  .testimonials-carousel__btn { display: none; }
}

.faq { padding: 80px 0; }
.faq__list { display: flex; flex-direction: column; gap: 12px; }
.faq-item__toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  cursor: pointer;
  padding: 0;
  padding-right: 40px;
}
.faq-item__content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-item[data-open="true"] .faq-item__content { max-height: 400px; padding-top: 12px; padding-bottom: 10px; }
.faq-item__arrow {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 52px;
  height: 44px;
  opacity: 0;
  pointer-events: none;
  filter: url(#chalkRough);
  transform: translateX(28px);
  transition: opacity 0.3s ease, transform 0.35s ease;
  z-index: 2;
}
.faq-item__arrow path {
  fill: none;
  stroke: var(--acid);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-item[data-open="false"] .faq-item__toggle:hover ~ .faq-item__arrow,
.faq-item[data-open="false"] .faq-item__toggle:focus-visible ~ .faq-item__arrow {
  opacity: 1;
  transform: translateX(0);
}

.final-cta { position: relative; padding: 120px 0; text-align: center; overflow: hidden; }
.final-cta__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.final-cta__shader { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0.4; mix-blend-mode: screen; }
.final-cta__overlay { position: absolute; inset: 0; z-index: 2; background: rgba(0, 0, 0, 0.6); }
.final-cta__inner { position: relative; z-index: 3; }
.countdown { display: flex; justify-content: center; gap: 24px; margin: 40px 0; flex-wrap: wrap; }
.countdown__unit { display: flex; flex-direction: column; align-items: center; }
.countdown__value { font-family: var(--font-display); font-size: 2.5rem; color: var(--acid); }
.countdown__label { font-size: 0.85rem; opacity: 0.7; }

@media (max-width: 480px) {
  .program-day__toggle,
  .faq-item__toggle {
    padding: 12px 0;
  }
}
