/* AI & Intelligent Systems page */

.ai-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  padding: 160px 0 120px;
  color: var(--white-color);
  overflow: hidden;
}

.ai-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ai-hero__bg img {
  position: absolute;
  width: 111%;
  height: 100%;
  left: -5.56%;
  top: 0;
  max-width: none;
  object-fit: cover;
}

.ai-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(239.93deg, rgba(95, 92, 209, 0.7) 4.79%, rgba(49, 47, 107, 0.7) 66.49%);
  backdrop-filter: blur(4.5px);
}

.ai-hero .container {
  position: relative;
  z-index: 1;
}

.ai-hero__title {
  max-width: 978px;
}

.ai-hero__description {
  max-width: 978px;
  margin-top: 48px;
  font-size: 20px;
  line-height: 1.5;
  color: var(--white-07-color);
}

.ai-hero__description p + p {
  margin-top: 20px;
}

.ai-section {
  padding-top: 160px;
  padding-bottom: 140px;
}

.ai-section--dark {
  background: var(--black-color);
  color: var(--white-color);
}

.ai-section--light {
  background: var(--white-color);
  color: var(--black-color);
}

.ai-section__title {
  margin-bottom: 84px;
  max-width: 640px;
}

.ai-section--light .ai-section__title {
  margin-bottom: 0;
}

.ai-build-list {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-build-list__item {
  flex: 1 1 25%;
  min-width: 240px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ai-build-list__icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.ai-build-list__icon img {
  display: block;
  max-width: 80px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.ai-build-list__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
}

.ai-build-list__text {
  font-size: 16px;
  line-height: 1.25;
  color: var(--white-07-color);
}

.ai-experience__container {
  display: flex;
  gap: 38px;
  align-items: flex-start;
}

.ai-experience__title {
  flex: 1 1 0;
  min-width: 0;
}

.ai-experience__list-wrap {
  flex: 1 1 0;
  min-width: 0;
}

.ai-experience-list {
  list-style: none;
  padding: 20px;
  margin: 0;
}

.ai-experience-list__lead {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.ai-experience-list__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.ai-experience-list__bullet {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
}

.ai-experience-list__text {
  font-size: 16px;
  line-height: 1.25;
}

.ai-work__title {
  margin-bottom: 38px;
}

.ai-work-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.ai-work-list__item {
  position: relative;
  flex: 1 1 calc(33.333% - 6px);
  min-width: 280px;
  min-height: 422px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  overflow: hidden;
  color: var(--white-color);
}

.ai-work-list__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ai-work-list__bg img {
  position: absolute;
  width: 166%;
  height: 100%;
  left: -16.54%;
  top: 0;
  max-width: none;
  object-fit: cover;
}

.ai-work-list__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(96, 92, 235, 0.3) 0%, #2c2a6b 100%);
}

.ai-work-list__name,
.ai-work-list__text {
  position: relative;
  z-index: 1;
}

.ai-work-list__name {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}

.ai-work-list__text {
  font-size: 16px;
  line-height: 1.25;
}

.header-nav-list__link--active {
  color: var(--red-color);
}

@media screen and (max-width: 1120px) {
  .ai-build-list__item {
    flex: 1 1 50%;
  }

  .ai-experience__container {
    flex-direction: column;
    gap: 48px;
  }

  .ai-work-list__item {
    flex: 1 1 calc(50% - 4px);
  }
}

@media screen and (max-width: 768px) {
  .ai-hero {
    padding-top: 120px;
    padding-bottom: 80px;
  }

  .ai-section {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .ai-section__title {
    margin-bottom: 48px;
  }

  .ai-build-list__item,
  .ai-work-list__item {
    flex: 1 1 100%;
  }

  .ai-work-list__item {
    min-height: 320px;
  }
}
