.main-slider {
  position: relative;
  margin-bottom: 24px;
}

.main-slider .embla__viewport {
  border-radius: 16px;
  overflow: hidden;
}

.main-slider__nav-btns {
  display: none;
}

.main-slider .embla__pagination {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
}

.main-slider .embla__container {
  height: 650px;
}

.main-slide {
  position: relative;
  height: 100%;
}

.main-slide::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.main-slide.shadow-sm::before {
  background: rgba(0, 0, 0, 0.3);
}

.main-slide__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slide__content {
  position: absolute;
  left: 0;
  bottom: 46px;
  z-index: 5;
  width: 100%;
  color: var(--color-white);
  padding: 0 16px;
}

.main-slide__content .subtitle {
  margin-top: 16px;
}

.main-slide__btn {
  margin-top: 32px;
  width: 100%;
}

.block-blur-wrapper {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
}

.block-blur {
  display: block;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(100px);
          backdrop-filter: blur(100px);
  border-radius: 16px;
  color: var(--color-white);
  user-select: none;
}

.block-blur + .block-blur {
  margin-top: 10px;
}

.block-blur--zero {
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.block-blur--zero img {
  width: 63px;
  height: 63px;
  flex: 0 0 63px;
}

.block-blur--classic {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.block-blur--classic .button-primary__arrow {
  flex: 0 0 32px;
}

.block-blur--classic:hover .block-blur__arrow {
  border-radius: 8px;
}

.block-blur__arrow {
  position: relative;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--color-white);
  transition-duration: 0.2s;
  transition-timing-function: ease-out;
  transition-property: background-color, border-radius;
  display: flex;
  justify-content: center;
  align-items: center;
}

.block-blur__arrow svg {
  fill: var(--color-blue);
  transition: fill 0.2s ease-out;
}

.obj-slider .embla__slide + .embla__slide {
  margin-left: 10px;
}

.obj-slider .embla__pagination {
  margin-top: 24px;
}

.obj-slide {
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.obj-slide__content {
  position: relative;
  background-color: var(--color-blue-light);
  border-radius: 16px;
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.obj-slide__title {
  flex-grow: 1;
}

.obj-slide__image {
  width: auto;
  margin: 0 auto;
  margin-top: 16px;
}

.obj-slide__image img {
  height: 200px;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.obj-slide__labels {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  width: 100%;
  padding: 0 0 40px 40px;
}

.obj-slide__btn {
  margin-top: 16px;
  width: 100%;
}

.obj-slide--blue .obj-slide__content {
  background-color: var(--color-blue);
  color: var(--color-white);
}

.why-section__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.why-section__blue-block {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.why-block {
  overflow: hidden;
}

.why-block__icon {
  margin-bottom: 16px;
}

.why-block p {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-grey);
  color: var(--color-grey-dark);
}

.why-block__img {
  height: 200px;
  width: 100%;
  object-fit: cover;
  margin-top: 16px;
}

.why-block--main {
  padding: 0;
}

.why-block--main .why-block__wrapper {
  padding: var(--padding);
}

.why-block-blue {
  display: flex;
  align-items: center;
  gap: 16px;
}

.why-block-blue h2 {
  flex-grow: 1;
}

.why-block-blue svg {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.news-section__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.new-block {
  background-color: var(--color-blue-light);
  border-radius: 16px;
  padding: 16px;
}

.new-block img {
  height: 285px;
  width: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.new-block__text {
  padding: 8px;
  margin-top: 24px;
}

.new-block__date {
  color: var(--color-blue);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-grey);
}

.new-also {
  background-color: var(--color-blue-light);
  border-radius: 16px;
  padding: 48px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.new-also img {
  height: 170px;
  width: auto;
  margin: 0 auto;
}

.new-also .button-primary {
  width: 100%;
}

.popup-obj__form {
  margin-top: 48px;
}

.proj-filter {
  background-color: var(--color-blue-light);
  padding: 24px 16px;
  border-radius: 16px;
}

.proj-filter__grid {
  display: grid;
  grid-template-columns: repeat(100%);
  gap: 20px;
}

.proj-filter__bottom {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-grey);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.proj-result {
  display: grid;
  grid-template-columns: 100%;
  gap: 20px;
}

.proj {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background-color: var(--color-blue-light);
}

.proj__image {
  position: relative;
  margin: 16px;
  margin-bottom: 0;
}

.proj__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 20px;
}

.proj__image .labels-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 24px;
}

.proj__text {
  display: flex;
  flex-direction: column;
  padding: 24px;
  flex-grow: 1;
}

.proj__bottom {
  flex-grow: 1;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--color-grey);
  overflow: hidden;
}

.proj__date span {
  color: var(--color-grey-dark);
}

.proj__desc {
  position: relative;
  height: 0;
}

.proj__desc-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding-top: 16px;
  color: var(--color-grey-dark);
}

.proj__desc-content button {
  display: none;
}

.fos-section__wrapper {
  position: relative;
  display: grid;
  grid-template-columns: 100%;
  gap: 32px;
}

.fos-section__logo {
  margin-bottom: 32px;
}

.fos-section__logo img {
  width: 100%;
  max-width: 200px;
  margin: 0 auto;
}

.fos-section__desc {
  margin-top: 16px;
}

.fos-section__form {
  margin-top: 24px;
}

.fos-section .fos-form__grid {
  display: grid;
  grid-template-columns: 100%;
  gap: 16px;
}

.fos-section__picture {
  position: relative;
}

.fos-app {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 24px;
  margin-top: 24px;
  border-top: 1px solid var(--color-grey);
}

.fos-app__links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fos-app__links a {
  display: inline-block;
}

.fos-app__links img {
  height: 50px;
}

.img-iphone {
  -webkit-user-select: none;
          user-select: none;
  width: 243px;
}

.img-cat {
  -webkit-user-select: none;
          user-select: none;
  position: absolute;
  top: 132px;
  left: 60px;
  width: 245px;
}

.img-cat-tag {
  -webkit-user-select: none;
          user-select: none;
  position: absolute;
  top: 100px;
  left: 175px;
  width: 120px;
}

.project-section__wrapper {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
}

.project-spinner {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 16px;
  display: none;
}

.project-spinner._active {
  display: block;
}

.project-spinner__icon {
  width: 48px;
  height: 48px;
  margin: 150px auto 0;
}

@media (min-width: 767px) {
  .main-slider {
    grid-column: span 2;
  }

  .main-slider .embla__pagination {
    left: 32px;
    right: 32px;
  }

  .main-slide__content {
    padding: 0;
    top: 32px;
    left: 32px;
    bottom: auto;
    width: 310px;
  }

  .main-slide__btn {
    width: auto;
  }

  .block-blur-wrapper {
    top: 32px;
    right: 32px;
    left: auto;
    width: 310px;
  }

  .block-blur {
    padding: 16px 24px;
  }

  .block-blur--zero {
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
  }

  .block-blur--zero img {
    margin: 0 auto;
    height: 190px;
    width: 190px;
    flex: 0 0 190px;
  }

  .obj-slider .embla__container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .obj-slider .embla__slide + .embla__slide {
    margin: 0;
  }

  .obj-slider .embla__pagination {
    display: none;
  }

  .why-section__blue-block {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-block__img {
    height: 300px;
  }

  .proj-filter {
    padding: 24px;
  }

  .proj-filter__grid {
    grid-template-columns: 246px 1fr;
  }

  .proj-filter__item--date {
    grid-column: span 2;
  }

  .proj-filter__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .proj-result {
    grid-template-columns: repeat(2, 1fr);
  }

  .fos-section__logo img {
    max-width: 260px;
    margin: 0;
  }

  .fos-section .fos-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fos-app {
    flex-direction: row;
    gap: 20px;
  }

  .fos-app__p {
    max-width: 150px;
  }

  .fos-app__links {
    flex-direction: row;
    gap: 20px;
  }

  .img-iphone {
    width: 310px;
    margin-left: 52px;
  }

  .img-cat {
    width: 360px;
    height: 436px;
    left: 220px;
  }

  .img-cat-tag {
    width: 150px;
    height: 91px;
    top: 95px;
    left: 350px;
  }
}

@media (min-width: 1023px) {
  .main-slider {
    grid-column: span 1;
    grid-row: span 2;
    margin-bottom: 0;
  }

  .main-slide__content {
    width: 316px;
  }

  .block-blur-wrapper {
    width: 316px;
  }

  .obj-slide:hover .obj-slide__image img {
    transform: scale(1.1926);
  }

  .obj-slide:hover .button-primary {
    background-color: var(--color-blue-hover);
    border-radius: 16px;
  }

  .obj-slide:hover .button-primary .button-primary__arrow {
    border-radius: 8px;
    width: 48px;
  }

  .obj-slide:hover .button-primary svg {
    fill: var(--color-blue-hover);
  }

  .obj-slide:hover .button-primary .button-primary__arrow::after {
    background-color: var(--color-blue-hover);
  }

  .why-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-section__blue-block {
    grid-column: span 2;
  }

  .why-block p {
    margin-top: 24px;
    padding-top: 24px;
  }

  .why-block--main {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .why-block--main .why-block__wrapper {
    flex-grow: 1;
  }

  .news-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .new-block {
    display: flex;
    flex-direction: column;
  }

  .new-block__text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .new-also {
    justify-content: space-between;
  }

  .new-also img {
    height: 245px;
  }

  .proj__image img {
    height: 225px;
  }

  .fos-section__wrapper {
    grid-template-columns: 45.5% 1fr;
  }

  .fos-section .fos-form__grid {
    grid-template-columns: 100%;
  }

  .fos-section__picture {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
  }

  .fos-app {
    flex-direction: column;
  }

  .fos-app__p {
    max-width: none;
  }

  .img-iphone {
    height: 756px;
    width: 370px;
    margin: 0;
    margin-right: 110px;
  }
}

@media (min-width: 1299px) {
  .main-slider__nav-btns {
    position: absolute;
    bottom: 32px;
    right: 32px;
    display: flex;
    gap: 16px;
  }

  .main-slider .embla__pagination {
    display: none;
  }

  .main-slider .embla__container {
    height: calc(100vh - var(--header-height) - 20px) !important;
  }

  .main-slide__content {
    width: 455px;
    top: 60px;
    left: 60px;
  }

  .main-slide__content .subtitle {
    margin-top: 32px;
  }

  .main-slide__btn {
    margin-top: 60px;
  }

  .block-blur-wrapper {
    width: 425px;
  }

  .obj-slider .embla__container {
    grid-template-columns: repeat(4, 1fr);
  }

  .new-block__text {
    padding: 16px;
    margin-top: 48px;
  }

  .new-block__date {
    margin-top: 24px;
    padding-top: 24px;
  }

  .new-also img {
    height: 270px;
  }

  .proj-filter__grid {
    grid-template-columns: 246px 1fr auto;
  }

  .proj-filter__item--date {
    grid-column: span 1;
  }

  .proj-result {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  .proj__image img {
    height: 320px;
    transition: height 0.4s ease;
  }

  .proj__text {
    padding: 48px 32px 32px;
  }

  .proj__bottom {
    padding-top: 24px;
    margin-top: 24px;
  }

  .proj__desc-content {
    padding-top: 24px;
  }

  .fos-section__wrapper {
    grid-template-columns: 47.2% 1fr;
  }

  .fos-section__logo {
    margin-bottom: 100px;
  }

  .fos-section__desc {
    margin-top: 24px;
  }

  .fos-section__form {
    margin-top: 32px;
  }

  .fos-section .fos-form__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .fos-app {
    flex-direction: row;
    padding-top: 32px;
    margin-top: 32px;
  }

  .fos-app__p {
    max-width: 150px;
  }

  .img-iphone {
    height: 843px;
    width: 412px;
    margin-right: 110px;
  }

  .img-cat {
    width: 410px;
    top: 260px;
    left: 230px;
    height: 497px;
  }

  .img-cat-tag {
    width: 165px;
    height: 100px;
    top: 225px;
    left: 360px;
  }

  .project-section__wrapper {
    margin-top: 48px;
  }

  .project-spinner__icon {
    width: 80px;
    height: 80px;
    margin: 220px auto 0;
  }
}

@media (min-width: 1600px) {
  .obj-slide__image {
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0 0 0;
  }

  .obj-slide__image img {
    width: 273px;
    height: 276px;
  }

  .obj-slide--1 .obj-slide__image img {
    width: 335px;
    height: 326px;
  }

  .obj-slide--2 .obj-slide__image img {
    width: 311px;
    height: 306px;
  }

  .why-section__grid {
    grid-template-columns: 49.4318% 24.1477% 24.1477%;
  }

  .why-section__blue-block {
    grid-column: span 3;
  }

  .why-block__img {
    height: 340px;
  }

  .why-block--main {
    grid-row: 1;
  }

  .why-block--second {
    display: flex;
    flex-direction: column;
  }

  .why-block--second .why-block__icon {
    flex-grow: 1;
  }

  .news-section__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .new-also img {
    height: 310px;
  }

  .proj-filter__grid {
    grid-template-columns: minmax(auto, 400px) minmax(auto, 575px) auto;
  }

  .proj-filter__item--date {
    justify-self: end;
  }

  .proj__image img {
    height: 460px;
    transition: height 0.5s ease;
  }

  .proj__desc-content button {
    display: flex;
    margin-top: 24px;
    width: 100%;
  }

  .fos-section__wrapper {
    grid-template-columns: 675px 1fr;
  }

  .fos-section__picture {
    width: 55%;
  }

  .img-iphone {
    margin-right: none;
    margin-left: 100px;
  }

  .img-cat {
    left: 385px;
  }

  .img-cat-tag {
    left: 630px;
  }

  .project-spinner__icon {
    width: 90px;
    height: 90px;
    margin: 240px auto 0;
  }
}

@media (min-width: 1600px) and (min-height: 1000px) {
  .why-block__img {
    height: 400px;
  }

  .proj__image img {
    height: 560px;
  }
}

@media (max-width: 1599px) {
  .new-block:nth-child(3) {
    display: none;
  }
}