/* ==========================================================
   Vibecoding course: additional blocks
   ========================================================== */

/* ---------- ШИРШИЙ МАКЕТ ---------- */
.container {
  max-width: 1400px;
}
.hero-wrapper {
  max-width: 880px;
}
.hero-title {
  max-width: 780px;
  text-wrap: balance;
}
.hero-text {
  max-width: 760px;
}
.about-list {
  max-width: 1240px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.program-wrapper {
  width: 100%;
}

@media screen and (max-width: 1240px) {
  .about-list {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------- FACTS (формат / тривалість / наставники / результат) ---------- */
.facts {
  position: relative;
  z-index: 3;
  padding-top: 40px;
}
.facts-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.facts-list__item {
  position: relative;
  padding: 30px 26px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border: 1px solid rgba(36, 51, 219, 0.45);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(36, 51, 219, 0.16) 0%, rgba(36, 51, 219, 0.02) 100%),
    rgba(255, 255, 255, 0.01);
  backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.facts-list__item:hover {
  transform: translateY(-4px);
  border-color: rgba(235, 241, 54, 0.5);
}
.facts-list__item::before {
  position: absolute;
  content: '';
  top: 0;
  left: 26px;
  right: 26px;
  height: 3px;
  border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, #ebf136 100%);
}
.facts-list__item::after {
  position: absolute;
  content: '';
  width: 120px;
  height: 120px;
  top: -60px;
  right: -50px;
  border-radius: 50%;
  background: var(--accent-color);
  filter: blur(48px);
  opacity: 0.7;
}
.facts-list__label {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 12px;
  line-height: 100%;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ebf136;
}
.facts-list__value {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 26px;
  line-height: 115%;
  color: var(--light-color);
}
.facts-list__value small {
  display: block;
  margin-top: 4px;
  font-weight: 600;
  font-size: 16px;
  line-height: 120%;
  color: var(--light-color);
}
.facts-list__note {
  position: relative;
  z-index: 1;
  margin-top: auto;
  padding-top: 6px;
  font-size: 14px;
  line-height: 150%;
  color: var(--light-color);
}

/* ---------- MARQUEE: біжучий рядок професій ---------- */
.marquee {
  position: relative;
  margin: 14px 0 10px;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 6px 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.marquee-row {
  display: flex;
  width: max-content;
  gap: 14px;
  animation: marquee-scroll 46s linear infinite;
  will-change: transform;
}
.marquee-row--reverse {
  animation-duration: 54s;
  animation-direction: reverse;
}
.marquee:hover .marquee-row {
  animation-play-state: paused;
}
.marquee-row__group {
  display: flex;
  gap: 14px;
  padding-right: 14px;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 40px;
  border: 1px solid rgba(36, 51, 219, 0.55);
  background: rgba(36, 51, 219, 0.1);
  font-weight: 500;
  font-size: 16px;
  line-height: 100%;
  white-space: nowrap;
  color: var(--light-color);
}
.marquee-item::before {
  content: '';
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ebf136;
}
.marquee-item--accent {
  border-color: rgba(235, 241, 54, 0.6);
  background: rgba(235, 241, 54, 0.08);
}
@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-row {
    animation: none;
  }
}

/* ---------- ABOUT: відступ зверху ---------- */
.about {
  padding-top: 110px;
}

/* ---------- PROGRAM: тижні, ефіри, ДЗ ---------- */
.program-list__item {
  padding-bottom: 10px;
}
.program-week__head {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.program-week__tag {
  display: inline-flex;
  align-items: center;
  align-self: start;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 30px;
  background: var(--accent-color);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--light-color);
}
.program-week__goal {
  max-width: 760px;
  font-size: 15px;
  line-height: 150%;
  color: var(--light-color);
}

.program-list__item ol li.program-live {
  grid-column: 1 / -1;
  border-color: #ebf136;
  background: rgba(235, 241, 54, 0.05);
}
.program-list__item ol li.program-live::after {
  background: #ebf136;
  opacity: 0.5;
}
.program-list__item ol li.program-live h4 span {
  max-width: 96px;
  width: 96px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #141414;
  background: #ebf136;
}
.program-list__item ol li.program-live h4,
.program-list__item ol li.program-live p {
  max-width: 760px;
}

.program-note {
  position: relative;
  z-index: 5;
  margin-top: 0;
  align-self: center;
  width: 100%;
  max-width: 860px;
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 22px;
  border-radius: 22px;
  border: 1px solid rgba(235, 241, 54, 0.35);
  background:
    linear-gradient(120deg, rgba(235, 241, 54, 0.09) 0%, rgba(36, 51, 219, 0.12) 60%, rgba(36, 51, 219, 0.04) 100%);
  backdrop-filter: blur(12px);
}
.program-note__icon {
  width: 54px;
  height: 54px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #141414;
  background: linear-gradient(135deg, #f6fb63 0%, #d8df1e 100%);
  box-shadow: 0 0 28px rgba(235, 241, 54, 0.35);
}
.program-note__text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.program-note__text b {
  font-weight: 700;
  font-size: 20px;
  line-height: 125%;
  color: var(--light-color);
}
.program-note__text span {
  font-size: 15px;
  line-height: 150%;
  color: var(--light-color);
}

@media screen and (max-width: 760px) {
  .program-note {
    flex-direction: column;
    align-items: start;
    gap: 16px;
    padding: 22px;
  }
  .program-note__text b {
    font-size: 17px;
  }
}

/* ---------- CHOOSE: 6 пунктів ---------- */
.choose-list__item span {
  max-width: 620px;
}
.choose-list__item:nth-of-type(n) {
  max-width: 700px;
}

/* ---------- MENTORS ---------- */
.mentors {
  padding-top: 60px;
  position: relative;
}
.mentors-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.mentors-wrapper::before {
  position: absolute;
  content: '';
  width: 420px;
  height: 240px;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  filter: blur(240px);
  z-index: -1;
}
.mentors-disc {
  margin-top: 22px;
  max-width: 700px;
  text-align: center;
}
.mentors-list {
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.mentors-list__item {
  position: relative;
  padding: 28px 25px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 20px;
  border: 1px solid rgba(36, 51, 219, 0.35);
  background: rgba(255, 255, 255, 0.02);
}
.mentors-list__head {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mentors-list__avatar {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  font-weight: 800;
  font-size: 26px;
  color: var(--light-color);
  background: linear-gradient(135deg, #2433db 0%, #0b1160 100%);
}
.mentors-list__name {
  font-weight: 600;
  font-size: 22px;
  line-height: 120%;
  color: var(--light-color);
}
.mentors-list__role {
  margin-top: 6px;
  font-size: 14px;
  line-height: 140%;
  color: #ebf136;
}
.mentors-list__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.mentors-list__tags li {
  padding: 7px 12px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 13px;
  line-height: 100%;
  color: var(--light-color);
}

/* ---------- COMPANY (Історія Nervous Academy) ---------- */
.company {
  padding-top: 70px;
  position: relative;
}
.company-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.company-lead {
  margin-top: 24px;
  max-width: 780px;
  text-align: center;
}
.company-lead b {
  color: #ebf136;
}
.company-timeline {
  margin-top: 46px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-left: 26px;
  border-left: 2px solid rgba(36, 51, 219, 0.6);
}
.company-timeline__item {
  position: relative;
  padding: 22px 24px;
  border-radius: 20px;
  border: 1px solid rgba(36, 51, 219, 0.25);
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.company-timeline__item::before {
  position: absolute;
  content: '';
  width: 14px;
  height: 14px;
  border-radius: 50%;
  left: -34px;
  top: 30px;
  background: var(--accent-color);
  box-shadow: 0 0 18px 2px var(--accent-color);
}
.company-timeline__item h3 {
  font-weight: 600;
  font-size: 20px;
  line-height: 120%;
  color: var(--light-color);
}
.company-stats {
  margin-top: 40px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.company-stats__item {
  padding: 24px 22px;
  border-radius: 20px;
  border: 1px solid rgba(36, 51, 219, 0.25);
  background: rgba(36, 51, 219, 0.06);
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  align-items: center;
}
.company-stats__num {
  font-weight: 800;
  font-size: 34px;
  line-height: 100%;
  color: #ebf136;
}
.company-links {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}
.company-links a {
  padding: 14px 26px;
  border-radius: 30px;
  border: 1px solid var(--accent-color);
  font-weight: 600;
  font-size: 15px;
  color: var(--light-color);
  background: rgba(36, 51, 219, 0.15);
  transition: transform 0.3s ease;
}
.company-links a:hover {
  transform: scale(0.94);
}

/* ---------- CROSS-SELL (курс з арбітражу) ---------- */
.crosssell {
  padding-top: 60px;
}
.crosssell-box {
  position: relative;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(36, 51, 219, 0.45);
  background: rgba(36, 51, 219, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.crosssell-box h3 {
  font-weight: 600;
  font-size: 24px;
  line-height: 125%;
  color: var(--light-color);
}
.crosssell-box p {
  margin-top: 10px;
  max-width: 620px;
}
.crosssell-box .btn {
  width: auto;
  height: 64px;
  padding: 0 34px;
  font-size: 16px;
  flex-shrink: 0;
}

/* ---------- MEDIA ---------- */
@media screen and (max-width: 1100px) {
  .facts-list {
    grid-template-columns: 1fr 1fr;
  }
  .about {
    padding-top: 60px;
  }
  .facts-list__value {
    font-size: 22px;
  }
  .company-stats {
    grid-template-columns: 1fr;
  }
  .crosssell-box {
    flex-direction: column;
    align-items: start;
  }
  .crosssell-box .btn {
    width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .mentors-list {
    grid-template-columns: 1fr;
  }
  .facts-list {
    grid-template-columns: 1fr;
  }
  .mentors {
    padding-top: 40px;
  }
  .company {
    padding-top: 40px;
  }
  .crosssell {
    padding-top: 40px;
  }
  .company-timeline {
    padding-left: 20px;
  }
  .company-timeline__item::before {
    left: -27px;
  }
  .program-list__item ol li.program-live h4 span {
    max-width: 86px;
    width: 86px;
  }
  .about {
    padding-top: 40px;
  }
  .facts {
    padding-top: 20px;
  }
  .facts-list__item {
    padding: 24px 22px;
  }
}

/* ---------- PROGRAM: текст під ширший макет ---------- */
.program-wrapper .program-list__item ol li h4,
.program-wrapper .program-list__item ol li p,
.program-wrapper .program-list__item ol li div {
  max-width: calc(100% - 140px);
}
.program-wrapper .program-list__item ol li.program-live h4,
.program-wrapper .program-list__item ol li.program-live p {
  max-width: calc(100% - 260px);
}
.program-wrapper .program-list__item ol li {
  padding: 22px 26px;
  min-height: 158px;
  justify-content: start;
  gap: 10px;
}
.program-wrapper .program-list__item ol li.program-live,
.program-wrapper .program-list__item ol li.program-wide {
  min-height: 132px;
}

@media screen and (max-width: 1100px) {
  .program-wrapper .program-list__item ol li h4,
  .program-wrapper .program-list__item ol li p,
  .program-wrapper .program-list__item ol li div,
  .program-wrapper .program-list__item ol li.program-live h4,
  .program-wrapper .program-list__item ol li.program-live p {
    max-width: calc(100% - 230px);
  }
}

@media screen and (max-width: 760px) {
  .marquee {
    gap: 10px;
  }
  .marquee-row,
  .marquee-row__group {
    gap: 10px;
  }
  .marquee-item {
    padding: 10px 16px;
    font-size: 14px;
  }
  .program-wrapper .program-list__item ol li p,
  .program-wrapper .program-list__item ol li div,
  .program-wrapper .program-list__item ol li.program-live p {
    max-width: 100%;
  }
  .program-wrapper .program-list__item ol li h4,
  .program-wrapper .program-list__item ol li.program-live h4 {
    max-width: calc(100% - 95px);
  }
  .program-wrapper .program-list__item ol li {
    min-height: 0;
    padding: 20px;
  }
  /* у вихідній вьорстці блок «Для кого» ховався на мобільних, повертаємо */
  .about-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .program-week__head {
    align-items: center;
    text-align: center;
  }
  .program-week__tag {
    align-self: center;
  }
  .program-week__goal {
    text-align: center;
  }
}

/* ---------- PROGRAM: власні іконки уроків ---------- */
.program-wrapper .program-list__item ol li[data-step],
.program-wrapper .program-list__item ol li {
  grid-column: auto;
}
.program-wrapper .program-list__item ol li.program-live,
.program-wrapper .program-list__item ol li.program-wide {
  grid-column: 1 / -1;
}
.program-wrapper .program-list__item ol li::before {
  width: 96px;
  height: 96px;
  top: auto;
  left: auto;
  right: 18px;
  bottom: 16px;
  transform: none;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 0.95;
}
.program-wrapper .program-list__item ol li.ic-rocket::before {
  background-image: url("../images/icons/rocket.svg");
}
.program-wrapper .program-list__item ol li.ic-tools::before {
  background-image: url("../images/icons/tools.svg");
}
.program-wrapper .program-list__item ol li.ic-mcp::before {
  background-image: url("../images/icons/mcp.svg");
}
.program-wrapper .program-list__item ol li.ic-prompt::before {
  background-image: url("../images/icons/prompt.svg");
}
.program-wrapper .program-list__item ol li.ic-idea::before {
  background-image: url("../images/icons/idea.svg");
}
.program-wrapper .program-list__item ol li.ic-check::before {
  background-image: url("../images/icons/check.svg");
}
.program-wrapper .program-list__item ol li.ic-chart::before {
  background-image: url("../images/icons/chart.svg");
}
.program-wrapper .program-list__item ol li.ic-audience::before {
  background-image: url("../images/icons/audience.svg");
}
.program-wrapper .program-list__item ol li.ic-offer::before {
  background-image: url("../images/icons/offer.svg");
}
.program-wrapper .program-list__item ol li.ic-doc::before {
  background-image: url("../images/icons/doc.svg");
}
.program-wrapper .program-list__item ol li.ic-code::before {
  background-image: url("../images/icons/code.svg");
}
.program-wrapper .program-list__item ol li.ic-design::before {
  background-image: url("../images/icons/design.svg");
}
.program-wrapper .program-list__item ol li.ic-deploy::before {
  background-image: url("../images/icons/deploy.svg");
}
.program-wrapper .program-list__item ol li.ic-live::before {
  background-image: url("../images/icons/live.svg");
}
.program-wrapper .program-list__item ol li.ic-media::before {
  background-image: url("../images/icons/media.svg");
}
.program-wrapper .program-list__item ol li.ic-pitch::before {
  background-image: url("../images/icons/pitch.svg");
}
.program-wrapper .program-list__item ol li.ic-trophy::before {
  background-image: url("../images/icons/trophy.svg");
}
.program-wrapper .program-list__item ol li.ic-analytics::before {
  background-image: url("../images/icons/analytics.svg");
}

@media screen and (max-width: 760px) {
  .program-wrapper .program-list__item ol li::before {
    width: 74px;
    height: 74px;
    right: 14px;
    bottom: auto;
    top: 16px;
  }
}

/* ефіри тимчасово приховані в програмі.
   щоб повернути: видалити цей блок */
.program-wrapper .program-list__item ol li.program-live {
  display: none;
}

/* ---------- PROGRAM: ключові уроки та кнопка ---------- */
.program-wrapper .program-list__item ol li.program-key {
  border-color: #ebf136;
  background: rgba(235, 241, 54, 0.05);
}
.program-wrapper .program-list__item ol li.program-key::after {
  background: #ebf136;
  opacity: 0.45;
}
.program-wrapper .program-list__item ol li.program-key h4 span {
  color: #141414;
  background: #ebf136;
}

.program-btn {
  margin-top: 10px;
  margin-bottom: 44px;
  padding: 14px 18px 14px 28px;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  border-radius: 40px;
  border: 1px solid rgba(36, 51, 219, 0.85);
  background: rgba(36, 51, 219, 0.16);
  backdrop-filter: blur(10px);
  text-align: left;
  transition: border-color 0.3s ease, background 0.3s ease, transform 0.3s ease;
}
.program-btn:hover {
  border-color: #ebf136;
  background: rgba(36, 51, 219, 0.3);
  transform: translateY(-2px);
}
.program-btn__text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.program-btn__label {
  font-weight: 700;
  font-size: 17px;
  line-height: 120%;
  color: var(--light-color);
}
.program-btn__hint {
  font-weight: 500;
  font-size: 13px;
  line-height: 120%;
  color: #ebf136;
}
.program-btn__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--light-color);
  background: var(--accent-color);
  transition: transform 0.3s ease, background 0.3s ease;
}
.program-btn:hover .program-btn__icon {
  background: #ebf136;
  color: #141414;
}
.program-btn[aria-expanded="true"] .program-btn__icon {
  transform: rotate(180deg);
}

@media screen and (max-width: 760px) {
  .program-btn {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px 12px 20px;
  }
  .program-btn__label {
    font-size: 15px;
  }
}

/* кнопка розгортання належить програмі, тому тримаємо її біля списку */
.program-wrapper .program-list {
  padding-bottom: 0;
}
.program-wrapper .program-link {
  margin-top: 58px;
}

/* ---------- RESULT: сітка результатів ---------- */
.result {
  padding-top: 90px;
}
.result-lead {
  margin-top: 20px;
  max-width: 700px;
  text-align: center;
  color: var(--light-color);
}
.result-grid {
  margin-top: 52px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.result-card {
  position: relative;
  padding: 32px 26px 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 22px;
  border: 1px solid rgba(36, 51, 219, 0.4);
  background:
    linear-gradient(180deg, rgba(36, 51, 219, 0.16) 0%, rgba(36, 51, 219, 0.02) 100%);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.result-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 241, 54, 0.55);
}
.result-card::after {
  position: absolute;
  content: '';
  width: 150px;
  height: 150px;
  top: -80px;
  right: -60px;
  border-radius: 50%;
  background: var(--accent-color);
  filter: blur(55px);
  opacity: 0.75;
}
.result-card__icon {
  position: relative;
  z-index: 1;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(10, 17, 64, 0.85);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 46px;
}
.result-card--deploy .result-card__icon {
  background-image: url("../images/icons/deploy.svg");
}
.result-card--prompt .result-card__icon {
  background-image: url("../images/icons/prompt.svg");
}
.result-card--rocket .result-card__icon {
  background-image: url("../images/icons/rocket.svg");
}
.result-card--audience .result-card__icon {
  background-image: url("../images/icons/audience.svg");
}
.result-card h3 {
  position: relative;
  z-index: 1;
  font-weight: 700;
  font-size: 19px;
  line-height: 125%;
  color: var(--light-color);
}
.result-card p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 155%;
  color: var(--light-color);
}

/* ---------- CHOOSE: чому обирають ---------- */
.choose {
  padding-top: 100px;
}
.choose-wrapper {
  align-items: center;
  max-width: 100%;
}
/* у вихідній вьорстці p всередині .choose-wrapper мали власні відступи */
.choose-wrapper .choose-lead {
  margin-top: 20px;
  margin-left: 0;
  max-width: 720px;
  text-align: center;
}
.choose-wrapper .why-card p {
  margin-top: 0;
  margin-left: 0;
  max-width: none;
  text-align: left;
}
.choose-wrapper::before,
.choose-wrapper::after {
  display: none;
}
.choose-lead {
  margin-top: 20px;
  max-width: 720px;
  text-align: center;
  color: var(--light-color);
}
.why-grid {
  margin-top: 52px;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.why-card {
  position: relative;
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-radius: 22px;
  border: 1px solid rgba(36, 51, 219, 0.4);
  background: rgba(255, 255, 255, 0.015);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.why-card:hover {
  transform: translateY(-5px);
  border-color: rgba(36, 51, 219, 0.9);
}
.why-card__num {
  font-weight: 800;
  font-size: 34px;
  line-height: 100%;
  color: var(--accent-color);
}
.why-card h3 {
  font-weight: 700;
  font-size: 19px;
  line-height: 125%;
  color: var(--light-color);
}
.why-card p {
  font-size: 15px;
  line-height: 155%;
  color: var(--light-color);
}
.why-card--accent {
  border-color: rgba(235, 241, 54, 0.45);
  background: rgba(235, 241, 54, 0.045);
}
.why-card--accent .why-card__num {
  color: #ebf136;
}
.why-card--accent:hover {
  border-color: #ebf136;
}

@media screen and (max-width: 1100px) {
  .result-grid {
    grid-template-columns: 1fr 1fr;
  }
  .why-grid {
    grid-template-columns: 1fr 1fr;
  }
  .result,
  .choose {
    padding-top: 60px;
  }
}

@media screen and (max-width: 760px) {
  .result-grid,
  .why-grid {
    grid-template-columns: 1fr;
    margin-top: 32px;
  }
  .result,
  .choose {
    padding-top: 44px;
  }
  .result-card,
  .why-card {
    padding: 24px 22px;
  }
}

/* ---------- ADVANTAGES: широка сітка ---------- */
.advantages {
  padding-top: 100px;
}
.adv-grid {
  margin-top: 46px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.adv-card {
  position: relative;
  padding: 30px 32px;
  display: flex;
  align-items: start;
  gap: 22px;
  border-radius: 22px;
  border: 1px solid rgba(36, 51, 219, 0.4);
  background:
    linear-gradient(115deg, rgba(36, 51, 219, 0.14) 0%, rgba(36, 51, 219, 0.02) 70%);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.adv-card:hover {
  transform: translateY(-5px);
  border-color: rgba(235, 241, 54, 0.5);
}
.adv-card::after {
  position: absolute;
  content: '';
  width: 160px;
  height: 160px;
  top: -90px;
  left: -60px;
  border-radius: 50%;
  background: var(--accent-color);
  filter: blur(60px);
  opacity: 0.7;
}
.adv-card__icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(10, 17, 64, 0.85);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 48px;
}
.adv-card--trophy .adv-card__icon {
  background-image: url("../images/icons/trophy.svg");
}
.adv-card--live .adv-card__icon {
  background-image: url("../images/icons/live.svg");
}
.adv-card--check .adv-card__icon {
  background-image: url("../images/icons/check.svg");
}
.adv-card--feedback .adv-card__icon {
  background-image: url("../images/icons/feedback.svg");
}
.adv-card__body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.adv-card h3 {
  font-weight: 700;
  font-size: 20px;
  line-height: 125%;
  color: var(--light-color);
}
.adv-card p {
  font-size: 15px;
  line-height: 155%;
  color: var(--light-color);
}

@media screen and (max-width: 1100px) {
  .advantages {
    padding-top: 60px;
  }
}

@media screen and (max-width: 760px) {
  .advantages {
    padding-top: 44px;
  }
  .adv-grid {
    grid-template-columns: 1fr;
    margin-top: 30px;
  }
  .adv-card {
    padding: 24px 22px;
    gap: 16px;
  }
  .adv-card__icon {
    width: 58px;
    height: 58px;
    background-size: 40px;
  }
}

/* ---------- REVIEWS: стрічка, що постійно рухається ---------- */
.reviews-gradient {
  padding: 22px 0;
}
.reviews-ticker {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 5%, #000 95%, transparent 100%);
}
.reviews-ticker__track {
  display: flex;
  width: max-content;
  animation: reviews-scroll 64s linear infinite;
  will-change: transform;
}
.reviews-ticker:hover .reviews-ticker__track,
.reviews-ticker.is-paused .reviews-ticker__track {
  animation-play-state: paused;
}
.reviews-ticker__group {
  display: flex;
  gap: 16px;
  padding-right: 16px;
}
.reviews-ticker .reviews-slider__item {
  position: relative;
  width: 210px;
  flex-shrink: 0;
  max-width: none;
  min-height: 0;
  max-height: none;
  aspect-ratio: 9 / 16;
  margin: 0;
  border-radius: 22px;
  overflow: hidden;
}
.reviews-ticker .reviews-slider__item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
@keyframes reviews-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .reviews-ticker__track {
    animation: none;
  }
}

@media screen and (max-width: 760px) {
  .reviews-ticker .reviews-slider__item {
    width: 168px;
    border-radius: 18px;
  }
  .reviews-ticker__group {
    gap: 12px;
    padding-right: 12px;
  }
}

/* ==========================================================
   REQUEST: фінальний блок-оффер із формою запису
   ========================================================== */
.request {
  position: relative;
  padding: 70px 0 80px;
  z-index: 2;
}
.request::before,
.request::after {
  position: absolute;
  content: '';
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent-color);
  filter: blur(220px);
  opacity: 0.55;
  z-index: 0;
  pointer-events: none;
}
.request::before {
  top: -80px;
  left: -180px;
}
.request::after {
  bottom: -120px;
  right: -180px;
  opacity: 0.35;
}
.request .container {
  position: relative;
  z-index: 1;
}

.request-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  align-items: center;
  gap: 60px;
}

/* ---------- ліва колонка: оффер ---------- */
.request-offer {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.request-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #ebf136;
  border: 1px solid rgba(235, 241, 54, 0.35);
  border-radius: 100px;
  background: rgba(235, 241, 54, 0.08);
}
.request-badge i {
  width: 8px;
  height: 8px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #ebf136;
  box-shadow: 0 0 0 0 rgba(235, 241, 54, 0.6);
  animation: request-pulse 2s ease-out infinite;
}
@keyframes request-pulse {
  70% {
    box-shadow: 0 0 0 8px rgba(235, 241, 54, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(235, 241, 54, 0);
  }
}
.request-title {
  max-width: 620px;
  font-size: 40px;
  line-height: 110%;
  text-align: left;
  text-wrap: balance;
}
.request-lead {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.78);
}
.request-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
}
.request-list__item {
  position: relative;
  padding-left: 40px;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 145%;
  color: var(--light-color);
}
.request-list__item::before {
  position: absolute;
  content: '';
  top: 0;
  left: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(36, 51, 219, 0.7);
  background: rgba(36, 51, 219, 0.18);
}
.request-list__item::after {
  position: absolute;
  content: '';
  top: 8px;
  left: 9px;
  width: 6px;
  height: 11px;
  border: solid #ebf136;
  border-width: 0 2px 2px 0;
  transform: rotate(43deg);
}
.request-result {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 0;
  padding-left: 18px;
  border-left: 3px solid #ebf136;
}
.request-result__label {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ebf136;
}
.request-result__value {
  font-weight: 500;
  font-size: 15px;
  line-height: 145%;
  color: var(--light-color);
}

/* ---------- права колонка: форма ---------- */
.request-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 34px 32px;
  border: 1px solid rgba(36, 51, 219, 0.55);
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(36, 51, 219, 0.16) 0%, rgba(36, 51, 219, 0.03) 100%),
    rgba(4, 5, 17, 0.72);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
}
.request-form__fields {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.request-form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.request-form__field-label {
  font-weight: 600;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.request-form__input {
  width: 100%;
  padding: 15px 18px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 130%;
  color: var(--light-color);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}
.request-form__input::placeholder {
  color: rgba(255, 255, 255, 0.32);
}
.request-form__input:focus {
  outline: none;
  border-color: #4a5cff;
  background: rgba(36, 51, 219, 0.1);
  box-shadow: 0 0 0 3px rgba(36, 51, 219, 0.25);
}
.request-form__input.error {
  box-shadow: 0 0 0 3px rgba(238, 63, 63, 0.18);
}
.request-form__btn {
  width: 100%;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-weight: 800;
  font-size: 20px;
  line-height: 100%;
  text-transform: uppercase;
  color: var(--light-color);
  border-radius: 16px;
  background: linear-gradient(90deg, #2433db 0%, #4a5cff 100%);
  box-shadow: 0 18px 40px rgba(36, 51, 219, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.request-form__btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 50px rgba(36, 51, 219, 0.5);
}
.request-form__btn:active {
  transform: translateY(0);
}
.request-form__btn:disabled {
  opacity: 0.65;
  transform: none;
  cursor: default;
}
.request-form__policy {
  font-size: 13px;
  line-height: 150%;
  text-align: center;
  color: rgba(255, 255, 255, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .request-badge i {
    animation: none;
  }
}

@media screen and (max-width: 1100px) {
  .request {
    padding: 50px 0 60px;
  }
  .request-grid {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 34px;
  }
  .request-title {
    max-width: none;
    font-size: 34px;
  }
  .request-lead {
    max-width: none;
  }
}

@media screen and (max-width: 760px) {
  .request {
    padding: 40px 0 50px;
  }
  .request-grid {
    gap: 28px;
  }
  .request-offer {
    gap: 18px;
  }
  .request-badge {
    padding: 7px 14px;
    font-size: 12px;
  }
  .request-title {
    font-size: 28px;
  }
  .request-list__item {
    padding-left: 36px;
    font-size: 15px;
  }
  .request-list__item::before {
    width: 24px;
    height: 24px;
  }
  .request-list__item::after {
    top: 7px;
    left: 8px;
  }
  .request-result {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-left: 14px;
  }
  .request-form {
    gap: 18px;
    padding: 26px 20px;
    border-radius: 20px;
  }
  .request-form__btn {
    height: 62px;
    font-size: 17px;
  }
}

/* ==========================================================
   АНІМАЦІЇ: ілюстрації, іконки, поява при скролі
   Використовуємо окремі властивості translate/rotate/scale,
   щоб не перебивати transform у базових стилях і ховерах.
   ========================================================== */

/* ---------- герой: головна ілюстрація ---------- */
.hero-decor:nth-of-type(2) {
  animation:
    hero-float 7s ease-in-out infinite,
    hero-appear 1.2s cubic-bezier(0.22, 0.61, 0.36, 1) both;
  will-change: translate;
}
@keyframes hero-float {
  0%,
  100% {
    translate: var(--px, 0px) var(--py, 0px);
  }
  50% {
    translate: var(--px, 0px) calc(var(--py, 0px) - 16px);
  }
}
@keyframes hero-appear {
  from {
    opacity: 0;
    scale: 0.96;
  }
  to {
    opacity: 1;
    scale: 1;
  }
}

/* ---------- герой: абстрактна форма та світіння ---------- */
.hero-decor:nth-of-type(5) {
  animation: hero-drift 22s ease-in-out infinite;
  will-change: rotate, translate;
}
@keyframes hero-drift {
  0%,
  100% {
    rotate: 0deg;
    translate: var(--px, 0px) var(--py, 0px);
  }
  50% {
    rotate: 5deg;
    translate: var(--px, 0px) calc(var(--py, 0px) + 20px);
  }
}
.hero-decor:nth-of-type(3) {
  animation: glow-breathe 9s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%,
  100% {
    opacity: 0.72;
  }
  50% {
    opacity: 1;
  }
}

/* ---------- герой: текстовий блок ---------- */
.hero-title,
.hero-text,
.hero-btn {
  animation: rise-in 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) both;
}
.hero-text {
  animation-delay: 0.12s;
}
.hero-btn {
  animation-delay: 0.24s;
}
@keyframes rise-in {
  from {
    opacity: 0;
    translate: 0 26px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

/* ---------- дрібні іконки ---------- */
.result-card__icon,
.adv-card__icon,
.program-note__icon,
.header-box img {
  animation: icon-float 5.5s ease-in-out infinite;
  will-change: translate;
}
.result-card:nth-child(2) .result-card__icon,
.adv-card:nth-child(2) .adv-card__icon {
  animation-delay: 0.5s;
}
.result-card:nth-child(3) .result-card__icon,
.adv-card:nth-child(3) .adv-card__icon {
  animation-delay: 1s;
}
.result-card:nth-child(4) .result-card__icon,
.adv-card:nth-child(4) .adv-card__icon {
  animation-delay: 1.5s;
}
.header-box img:nth-of-type(1) {
  animation-duration: 4.5s;
}
@keyframes icon-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -6px;
  }
}
.result-card__icon,
.adv-card__icon,
.mentors-list__avatar {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.result-card:hover .result-card__icon,
.adv-card:hover .adv-card__icon {
  transform: scale(1.09) rotate(-4deg);
}
.mentors-list__item:hover .mentors-list__avatar {
  transform: scale(1.07);
}

/* ---------- поява блоків при скролі ---------- */
.js-anim .reveal {
  opacity: 0;
  translate: 0 28px;
  transition:
    opacity 0.7s cubic-bezier(0.22, 0.61, 0.36, 1),
    translate 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.js-anim .reveal.is-visible {
  opacity: 1;
  translate: 0 0;
}

@media (prefers-reduced-motion: reduce) {
  .hero-decor:nth-of-type(2),
  .hero-decor:nth-of-type(3),
  .hero-decor:nth-of-type(5),
  .hero-title,
  .hero-text,
  .hero-btn,
  .result-card__icon,
  .adv-card__icon,
  .program-note__icon,
  .header-box img {
    animation: none;
  }
  .js-anim .reveal {
    opacity: 1;
    translate: none;
    transition: none;
  }
}

/* ==========================================================
   ЖИВА ІЛЮСТРАЦІЯ ГЕРОЯ: сцена "ШІ збирає продукт"
   ========================================================== */
.hero-decor:nth-of-type(2).hero-art {
  background-image: none;
}
.hero-art__svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.hero-art__svg * {
  transform-box: fill-box;
}

/* --- фонові світіння --- */
.ha-glow {
  animation: ha-glow-pulse 7s ease-in-out infinite;
  transform-origin: center;
}
.ha-glow--warm {
  animation-name: ha-glow-warm;
  animation-duration: 9s;
  animation-delay: -3s;
}
@keyframes ha-glow-warm {
  0%,
  100% {
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
}
@keyframes ha-glow-pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.65;
  }
}

/* --- промінь сканування по редактору --- */
.ha-scan {
  animation: ha-scan-move 6.5s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}
@keyframes ha-scan-move {
  0%,
  8% {
    translate: 0 -40px;
    opacity: 0;
  }
  20% {
    opacity: 0.9;
  }
  70% {
    translate: 0 210px;
    opacity: 0.9;
  }
  85%,
  100% {
    translate: 0 250px;
    opacity: 0;
  }
}

/* --- набір промпта --- */
.ha-type {
  transform-origin: left center;
  animation: ha-typing 13s steps(24, end) infinite both;
  animation-delay: calc(var(--i) * 0.9s);
}
@keyframes ha-typing {
  0% {
    scale: 0 1;
  }
  8%,
  88% {
    scale: 1 1;
  }
  94%,
  100% {
    scale: 0 1;
  }
}
.ha-caret {
  animation:
    ha-caret-blink 0.9s steps(1, end) infinite,
    ha-caret-move 13s ease-in-out infinite;
}
@keyframes ha-caret-blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.1;
  }
}
@keyframes ha-caret-move {
  0% {
    translate: -190px 0;
  }
  8% {
    translate: -8px 0;
  }
  10%,
  88% {
    translate: 0 0;
  }
  94%,
  100% {
    translate: -190px 0;
  }
}

/* --- код, який пише ШІ --- */
.ha-code {
  transform-origin: left center;
  animation: ha-code-in 13s ease-out infinite both;
  animation-delay: calc(1.4s + var(--i) * 0.34s);
}
@keyframes ha-code-in {
  0% {
    opacity: 0;
    scale: 0.2 1;
  }
  4% {
    opacity: 1;
    scale: 1 1;
  }
  74% {
    opacity: 1;
    scale: 1 1;
  }
  80%,
  100% {
    opacity: 0;
    scale: 0.2 1;
  }
}

/* --- бейдж ШІ-агента --- */
.ha-badge {
  transform-origin: center;
  animation: ha-badge-float 4.5s ease-in-out infinite;
}
@keyframes ha-badge-float {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -9px;
  }
}
.ha-badge__pulse {
  transform-origin: center;
  animation: ha-badge-pulse 13s ease-out infinite both;
  animation-delay: 1.1s;
}
@keyframes ha-badge-pulse {
  0% {
    opacity: 0;
    scale: 0.5;
  }
  6% {
    opacity: 0.45;
    scale: 1;
  }
  18% {
    opacity: 0;
    scale: 1.7;
  }
  100% {
    opacity: 0;
    scale: 1.7;
  }
}
.ha-spark {
  transform-origin: center;
  animation: ha-spark-spin 5s ease-in-out infinite;
}
@keyframes ha-spark-spin {
  0%,
  100% {
    rotate: 0deg;
    scale: 1;
  }
  35% {
    rotate: 160deg;
    scale: 1.25;
  }
  70% {
    rotate: 300deg;
    scale: 0.9;
  }
}

/* --- превʼю готового продукту --- */
.ha-preview {
  transform-origin: center;
  animation: ha-preview-in 13s cubic-bezier(0.22, 0.61, 0.36, 1) infinite both;
  animation-delay: 3.6s;
}
@keyframes ha-preview-in {
  0% {
    opacity: 0;
    scale: 0.92;
    translate: 0 22px;
  }
  8%,
  66% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
  74%,
  100% {
    opacity: 0;
    scale: 0.96;
    translate: 0 14px;
  }
}
.ha-bar,
.ha-dot {
  transform-origin: left center;
  animation: ha-bar-in 13s ease-out infinite both;
  animation-delay: calc(4.4s + var(--i) * 0.3s);
}
.ha-dot {
  transform-origin: center;
}
@keyframes ha-bar-in {
  0% {
    opacity: 0;
    scale: 0.4;
  }
  4% {
    opacity: 1;
    scale: 1.15;
  }
  8%,
  62% {
    opacity: 1;
    scale: 1;
  }
  70%,
  100% {
    opacity: 0;
    scale: 0.6;
  }
}
.ha-cta {
  transform-origin: center;
  animation: ha-cta-pulse 2.6s ease-in-out infinite both;
  animation-delay: 4.6s;
}
@keyframes ha-cta-pulse {
  0%,
  100% {
    scale: 1;
    opacity: 1;
  }
  50% {
    scale: 1.06;
    opacity: 0.88;
  }
}

/* --- плашка деплою --- */
.ha-deploy {
  transform-origin: center;
  animation: ha-deploy-in 13s cubic-bezier(0.34, 1.56, 0.64, 1) infinite both;
  animation-delay: 5.4s;
}
@keyframes ha-deploy-in {
  0% {
    opacity: 0;
    scale: 0.6;
    translate: -14px 10px;
  }
  7%,
  60% {
    opacity: 1;
    scale: 1;
    translate: 0 0;
  }
  68%,
  100% {
    opacity: 0;
    scale: 0.8;
    translate: -10px 8px;
  }
}
.ha-deploy__ring {
  transform-origin: center;
  animation: ha-ring 13s ease-out infinite both;
  animation-delay: 5.7s;
}
@keyframes ha-ring {
  0% {
    opacity: 0.7;
    scale: 0.6;
  }
  10% {
    opacity: 0;
    scale: 2.1;
  }
  100% {
    opacity: 0;
    scale: 2.1;
  }
}
.ha-check {
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: ha-check-draw 13s ease-out infinite both;
  animation-delay: 5.9s;
}
@keyframes ha-check-draw {
  0% {
    stroke-dashoffset: 22;
  }
  5%,
  100% {
    stroke-dashoffset: 0;
  }
}

/* --- курсор миші всередині сцени --- */
.ha-cursor {
  transform-origin: center;
  animation: ha-cursor-move 13s cubic-bezier(0.45, 0, 0.25, 1) infinite;
}
@keyframes ha-cursor-move {
  0%,
  18% {
    translate: 0 0;
    scale: 1;
  }
  32% {
    translate: -18px 40px;
    scale: 1;
  }
  40% {
    translate: -140px 172px;
    scale: 1;
  }
  43% {
    translate: -140px 172px;
    scale: 0.82;
  }
  47%,
  62% {
    translate: -140px 172px;
    scale: 1;
  }
  76% {
    translate: -228px 196px;
    scale: 1;
  }
  90%,
  100% {
    translate: 0 0;
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-art__svg * {
    animation: none !important;
  }
}

/* ==========================================================
   ЖИВІ ІКОНКИ РОЗДІЛІВ
   ========================================================== */

/* --- програма: іконки уроків "працюють" --- */
.program-wrapper .program-list__item ol li::before {
  animation: prog-icon 6.5s ease-in-out infinite;
  will-change: translate, rotate;
}
.program-wrapper .program-list__item ol li:nth-child(2)::before {
  animation-delay: -1.1s;
}
.program-wrapper .program-list__item ol li:nth-child(3)::before {
  animation-delay: -2.3s;
}
.program-wrapper .program-list__item ol li:nth-child(4)::before {
  animation-delay: -3.4s;
}
.program-wrapper .program-list__item ol li:nth-child(5)::before {
  animation-delay: -4.6s;
}
@keyframes prog-icon {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
    opacity: 0.95;
  }
  30% {
    translate: 0 -8px;
    rotate: -3deg;
    opacity: 1;
  }
  65% {
    translate: 0 3px;
    rotate: 2.5deg;
    opacity: 0.82;
  }
}
.program-list__item ol li.program-live::before,
.program-list__item ol li.program-key::before {
  animation-duration: 4.2s;
}
.program-list__item ol li:hover::before {
  animation-play-state: paused;
  scale: 1.08;
  transition: scale 0.3s ease;
}

/* --- "для кого курс": іконки похитуються --- */
.about-list__item h3 span {
  animation: sway 5.5s ease-in-out infinite;
  transition: transform 0.35s ease;
}
.about-list__item:nth-child(2) h3 span {
  animation-delay: -1.3s;
}
.about-list__item:nth-child(3) h3 span {
  animation-delay: -2.6s;
}
.about-list__item:nth-child(4) h3 span {
  animation-delay: -3.9s;
}
.about-list__item:nth-child(5) h3 span {
  animation-delay: -0.7s;
}
.about-list__item:nth-child(6) h3 span {
  animation-delay: -4.4s;
}
.about-list__item:hover h3 span {
  transform: scale(1.08) rotate(-4deg);
}
@keyframes sway {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  35% {
    translate: 0 -5px;
    rotate: -3.5deg;
  }
  70% {
    translate: 0 2px;
    rotate: 3deg;
  }
}

/* --- "чому обирають нас": номери --- */
.why-card__num {
  display: inline-block;
  animation: sway 6.5s ease-in-out infinite;
}
.why-card:nth-child(2n) .why-card__num {
  animation-delay: -2.2s;
}
.why-card:nth-child(3n) .why-card__num {
  animation-delay: -4.1s;
}

/* --- таймлайн компанії: пульсуючі точки --- */
.company-timeline__item::before {
  animation: dot-pulse 3.4s ease-in-out infinite;
}
.company-timeline__item:nth-child(2)::before {
  animation-delay: -0.9s;
}
.company-timeline__item:nth-child(3)::before {
  animation-delay: -1.8s;
}
.company-timeline__item:nth-child(4)::before {
  animation-delay: -2.6s;
}
@keyframes dot-pulse {
  0%,
  100% {
    scale: 1;
    opacity: 1;
  }
  50% {
    scale: 1.35;
    opacity: 0.7;
  }
}

@media (prefers-reduced-motion: reduce) {
  .program-wrapper .program-list__item ol li::before,
  .about-list__item h3 span,
  .why-card__num,
  .company-timeline__item::before {
    animation: none;
  }
}

/* ==========================================================
   ВІДГУКИ: підписи під відео + текстові картки
   ========================================================== */
.reviews-item__name {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 16px 14px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  color: var(--light-color);
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

/* ---------- текстова картка ---------- */
.reviews-ticker .reviews-slider__item.reviews-note {
  width: 340px;
  aspect-ratio: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  padding: 26px 24px 22px;
  border: 1px solid rgba(36, 51, 219, 0.5);
  background:
    linear-gradient(180deg, rgba(36, 51, 219, 0.18) 0%, rgba(36, 51, 219, 0.03) 100%),
    rgba(4, 5, 17, 0.6);
}
.reviews-note__text {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 158%;
  color: rgba(255, 255, 255, 0.88);
}
.reviews-note__text--poem {
  font-style: italic;
  line-height: 175%;
}
.reviews-note__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.reviews-note__author img {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(235, 241, 54, 0.45);
}
.reviews-note__author span {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2;
  color: var(--light-color);
}

@media screen and (max-width: 760px) {
  .reviews-ticker .reviews-slider__item.reviews-note {
    width: 268px;
    padding: 22px 18px 18px;
  }
  .reviews-note__text {
    font-size: 13px;
    line-height: 152%;
  }
  .reviews-item__name {
    font-size: 14px;
    padding: 30px 12px 12px;
  }
}
