@charset "UTF-8";
/**
needs bootstrap function str-replace()
 */
/**
* Метод дополняет svg-sprite.scss.
* Позволяет получить чистый урл элемента спрайта для использования в псевдоэлементах или background-image
* Example: content: url(get-svg-url('checkmark', $user-variables: (fill: 'tomato')));
* Example: background-image: url(get-svg-url('heart', $user-variables: (stroke: 'red', fill: 'pink')));
*/
/**
вертикальные отступы
для каждого цвета указываются в порядке как в $grid-breakpoints
 */
.review {
  --review-image-size: 84px;
}
@media (min-width: 992px) {
  .review {
    display: flex;
    align-items: center;
    width: 100%;
  }
}
@media (min-width: 1200px) {
  .review {
    --review-image-size: 220px;
  }
}
.review-content {
  position: relative;
  max-width: var(--content-max-width);
  background-color: #f3f3f3;
  padding: 40px 16px;
  display: grid;
  grid-column-gap: 24px;
  grid-row-gap: 24px;
  grid-template-columns: auto;
  grid-template-rows: auto;
  grid-template-areas: "avatar" "header" "text";
}
@media (min-width: 576px) {
  .review-content {
    padding: 40px;
    grid-column-gap: 32px;
    grid-template-columns: var(--review-image-size) auto;
    grid-template-rows: max-content auto;
    grid-template-areas: "avatar header" "text text";
  }
}
@media (min-width: 992px) {
  .review-content {
    margin-right: 40px;
  }
}
@media (min-width: 1200px) {
  .review-content {
    padding: 48px;
    grid-column-gap: 48px;
    grid-row-gap: 32px;
    grid-template-areas: "avatar header" "avatar text";
  }
}
@media (min-width: 1600px) {
  .review-content {
    padding: 72px 64px;
    grid-column-gap: 56px;
    grid-row-gap: 48px;
  }
}
.review-content::after {
  content: "";
  background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 44 42'%3e%3cpath d='M44 .38C38.28-.663 33.822.44 30.625 3.69c-3.137 3.25-4.705 8.095-4.705 14.533v23.548H44V20.984h-9.501c-.308-3.68.061-6.807 1.107-9.382 1.107-2.637 3.567-3.833 7.38-3.588L44 .38Zm-25.92 0C12.36-.663 7.902.44 4.704 3.69 1.568 6.941 0 11.786 0 18.224v23.548h18.08V20.984H8.579c-.308-3.68.061-6.807 1.107-9.382 1.107-2.637 3.566-3.833 7.379-3.588L18.08.38Z' fill='%23e4e4e4'/%3e%3c/svg%3e") center no-repeat;
  display: block;
  position: absolute;
  width: 16px;
  height: 16px;
  top: 16px;
  right: 16px;
}
@media (min-width: 992px) {
  .review-content::after {
    width: 80px;
    height: 80px;
    top: 40px;
    right: 40px;
  }
}
.review__avatar {
  position: relative;
  grid-area: avatar;
  height: var(--review-image-size);
}
.review__avatar img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
}
.review__header {
  grid-area: header;
}
@media (min-width: 992px) {
  .review__header {
    padding-right: 60px;
  }
}
.review__name {
  color: #090B0F;
  font-size: 24px;
  line-height: 1.5;
  font-weight: 700;
}
.review__position {
  font-weight: 500;
  font-size: 18px;
  line-height: 1.5;
  color: #797979;
}
.review__text {
  grid-area: text;
  font-weight: 500;
  font-size: var(--fz-h6);
}

.review-button {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100px;
  height: 100px;
  color: black;
  z-index: 1;
  background-color: transparent;
  border: none;
  flex-shrink: 0;
  margin: 40px auto 0;
  transition: opacity 200ms;
}
@media (min-width: 768px) {
  .review-button {
    width: 220px;
    height: 210px;
  }
}
@media (min-width: 992px) {
  .review-button {
    margin: 0;
  }
}
@media (min-width: 1600px) {
  .review-button {
    width: 300px;
    height: 280px;
  }
}
.review-button__icon {
  z-index: 1;
  width: 100px;
  height: 100px;
  display: inline-block;
  opacity: 0;
  left: 50%;
  top: 50%;
  pointer-events: none;
  position: absolute;
  animation-delay: 0.5s;
  transform: translate(-50%, -50%);
}
@media (min-width: 768px) {
  .review-button__icon {
    width: 120px;
    height: 120px;
  }
}
@media (min-width: 1600px) {
  .review-button__icon {
    width: 160px;
    height: 160px;
  }
}
.review-button__blob {
  z-index: 2;
  display: block;
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  transition: transform 0.5s ease;
}
.review-button__text {
  z-index: 3;
  text-align: center;
  text-decoration: none;
  font-weight: 700;
  transition: transform 0.5s ease;
  font-size: 12px;
  line-height: 1.2;
}
@media (min-width: 768px) {
  .review-button__text {
    font-size: 26px;
  }
}
@media (min-width: 1200px) {
  .review-button:hover {
    text-decoration: none;
    color: black;
  }
  .review-button:hover .review-button__blob {
    transform: scale(1.1, 1.1);
    transition-duration: 0.2s;
  }
  .review-button:hover .review-button__text {
    transform: translateY(-10px);
    transition-duration: 0.2s;
  }
}
