.science {
  margin-top: 160px;
}

.science__panel {
  position: relative;
  display: flex;
  align-items: flex-start;
  justify-content: start;
  gap: 32px;
  min-height: 476px;
  flex-direction: column;
  overflow: hidden;
  padding: 48px;
  border-radius: 32px;
  background: linear-gradient(102deg, #f4f4ff 0%, #f9f4ff 100%);
  box-shadow: var(--shadow-block);
}

.science__content,
.science__list,
.science__button {
  position: relative;
  z-index: 1;
}

.science__content {
  display: flex;
  max-width: 599px;
  flex-direction: column;
  gap: 15px;
}

.science__title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-variation-settings:
    "wdth" 100,
    "wght" 500;
  font-weight: 500;
  line-height: 1.2;
}

.science__title-accent {
  padding-right: 0.12em;
  margin-right: -0.08em;
  font-style: italic;
}

.science__description {
  color: var(--color-text-secondary);
  font-size: 18px;
  line-height: 1.2;
}

.science__list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.science__item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.science__item img {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.science__visual {
  display: contents;
}

.science__picture {
  position: absolute;
  top: -11px;
  right: -2px;
  width: 59.55%;
  height: calc(100% + 48px);
  pointer-events: none;
}

.science__picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.science__button {
  gap: 16px;
}

.science__button img {
  width: 26px;
  height: 15px;
  transform: none;
}

@media (max-width: 1220px) {
  .science__picture::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #f6f4ff 0%, rgb(246 244 255 / 0%) 34%);
    content: "";
  }
}

@media (max-width: 1150px) {
  .science__content {
    max-width: 54%;
  }
}

@media (max-width: 1000px) {
  .science__content {
    max-width: 52%;
  }

  .science__title {
    font-size: 28px;
  }

  .science__description {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .science {
    margin-top: 80px;
  }

  .science__panel {
    gap: 32px;
    min-height: 0;
    padding: 48px 12px;
    border-radius: 16px;
    background: linear-gradient(92deg, #f4f4ff 0%, #f9f4ff 100%);
  }

  .science__content {
    max-width: none;
  }

  .science__title {
    font-size: 28px;
  }

  .science__description {
    font-size: 16px;
  }

  .science__list {
    width: 100%;
  }

  .science__item {
    min-width: 0;
  }

  .science__item span {
    min-width: 0;
  }

  .science__visual {
    display: flex;
    width: 100%;
    max-width: 500px;
    flex-direction: column;
    align-self: center;
    gap: 12px;
  }

  .science__picture {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    aspect-ratio: 267 / 256;
  }

  .science__picture img {
    object-fit: contain;
  }

  .science__button {
    width: 100%;
    padding-inline: 24px;
  }
}
