.companies {
  margin: 6.25rem 0;
}
.companies .stars {
  display: inline-block;
  vertical-align: middle;
}
.companies .stars span {
  display: inline-block;
  width: 16px;
  height: 16px;
  background: url(../../../images/icons.png) 0 -36px/137px no-repeat;
}
.companies .stars span.half {
  background-position: -22px -46px;
}
.companies .stars span.empty {
  background-position: -43px -46px;
}
.companies .accordion {
  border: 1px solid var(--bg-gray);
  border-radius: 0.25rem;
  -webkit-transition: border-color var(--hover-transition);
  transition: border-color var(--hover-transition);
}
.companies .accordion.is-open {
  border-color: var(--orange);
}
.companies .accordion.is-open .companies__button .btn--gray::after {
  -webkit-transform: rotate(-180deg);
  -ms-transform: rotate(-180deg);
  transform: rotate(-180deg);
}
.companies__title {
  text-transform: uppercase;
}
.companies__logo {
  width: 100%;
  position: relative;
  line-height: 0;
}
.companies__logo > img {
  width: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  mix-blend-mode: multiply;
  max-height: 100px;
  -o-object-position: left;
  object-position: left;
  max-height: 70px;
  -o-object-position: center;
  object-position: center;
  max-height: 100px;
}
.companies__rating {
  line-height: 0;
  height: 16px;
}
.companies__rating > img {
  width: auto;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
}
.companies__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.companies__item {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.companies__item-title strong,
.companies__item-title > b {
  font-weight: 700;
  color: var(--black);
  font-size: 18px;
}
.companies__item-label {
  text-align: center;
  font-weight: 600;
  background-color: #f3f4f5;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
}
.companies__item-time {
  position: relative;
}
.companies__item-time::before {
  content: "";
  display: block;
  position: absolute;
  top: 50%;
  left: 0;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" width="27" height="27" viewBox="0 0 27 27" fill="none"%3E%3Cpath d="M13.76 25.1458C8.08332 25.1458 3.46832 20.5308 3.46832 14.8542C3.46832 9.1775 8.08332 4.5625 13.76 4.5625C19.4367 4.5625 24.0517 9.1775 24.0517 14.8542C24.0517 20.5308 19.4367 25.1458 13.76 25.1458ZM13.76 6.1875C8.98249 6.1875 5.09332 10.0767 5.09332 14.8542C5.09332 19.6317 8.98249 23.5208 13.76 23.5208C18.5375 23.5208 22.4267 19.6317 22.4267 14.8542C22.4267 10.0767 18.5375 6.1875 13.76 6.1875Z" fill="%23667085"/%3E%3Cpath d="M13.76 15.3958C13.3158 15.3958 12.9475 15.0275 12.9475 14.5833V9.16663C12.9475 8.72246 13.3158 8.35413 13.76 8.35413C14.2042 8.35413 14.5725 8.72246 14.5725 9.16663V14.5833C14.5725 15.0275 14.2042 15.3958 13.76 15.3958Z" fill="%23667085"/%3E%3Cpath d="M17.01 3.47913H10.51C10.0658 3.47913 9.69751 3.11079 9.69751 2.66663C9.69751 2.22246 10.0658 1.85413 10.51 1.85413H17.01C17.4542 1.85413 17.8225 2.22246 17.8225 2.66663C17.8225 3.11079 17.4542 3.47913 17.01 3.47913Z" fill="%23667085"/%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.companies__button:not(:last-child) {
  margin-bottom: 0.5rem;
}
.companies__button .btn {
  width: 100%;
}
.companies__button .btn--gray::after {
  content: "";
  display: block;
  width: 1.625rem;
  height: 1.625rem;
  margin-left: 0.25rem;
  background-image: url('data:image/svg+xml,%3Csvg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M15.5417 7.625L10 13.1667L4.45837 7.625" stroke="%23667085" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" /%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  -webkit-transition: -webkit-transform var(--hover-transition);
  transition: -webkit-transform var(--hover-transition);
  transition: transform var(--hover-transition);
  transition: transform var(--hover-transition), -webkit-transform var(--hover-transition);
}
.companies__testimonial {
  margin-right: 3.125rem;
}
.companies__testimonial .ref-name::before {
  display: block;
  content: "";
  width: 58px;
  height: 59px;
  margin-right: 16px;
  background: url(../../../images/icons.png) -56px -95px/229px no-repeat;
}
.companies__testimonial .ref-name,
.companies__testimonial-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.companies__testimonial-img > img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
  object-fit: contain;
  border-radius: 50%;
}
.companies__testimonial .ref-name,
.companies__testimonial-name {
  color: var(--black);
}
.companies__info-list:not(:last-child),
.companies__info-title {
  margin-bottom: 1.5rem;
}
.companies__info-title {
  color: var(--black);
}
.companies__info-list > :not(li):first-child,
.companies__info-list > :not(li):last-child {
  color: var(--black);
  margin-bottom: 1.5rem;
  display: block;
}
.companies__info-list > li:not(:last-child) {
  margin-bottom: 1rem;
}
.companies__info-link {
  font-weight: 700;
}
.companies__info-link > a {
  color: var(--black);
}
.companies .accordion.data_offer .companies__item-label {
  background: #fff;
}
.companies__tag {
  position: absolute;
  background: #e3841a;
  padding: 10px 20px;
  border-radius: 30px;
  z-index: 2;
  font-weight: 600;
  color: #fff;
  top: -44px;
}
.companies .accordion.is-open .accordion__head {
  padding-bottom: 16px;
}
.companies__row {
  margin-right: 0;
  width: 100%;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.companies__item-label {
  padding: 2px 10px;
  border-radius: 4px;
}
.companies__item-time {
  padding-left: 32px;
  margin-top: 12px;
}
.companies__item-time::before {
  width: 24px;
  height: 24px;
}
.companies__item:last-child {
  width: 100%;
  margin-top: -0.25rem;
}
.companies__buttons {
  width: 100%;
  max-width: 400px;
}
.companies__testimonial {
  width: 100%;
  margin-right: unset;
  margin-bottom: 1.5rem;
}
.companies__testimonial .ref-name,
.companies__testimonial-row {
  margin-bottom: 16px;
}
.companies__testimonial-img {
  width: 60px;
  height: 60px;
  margin-right: 8px;
}
.companies__testimonial .ref-name,
.companies__testimonial-name {
  font-size: 18px;
  font-weight: 700;
}
.companies__testimonial blockquote,
.companies__testimonial-descr {
  font-size: 16px;
  line-height: 150%;
}
.companies__info-list,
.companies__info-title {
  margin-bottom: 16px;
}
.companies__info-list > :not(li):first-child,
.companies__info-list > :not(li):last-child,
.companies__info-title {
  font-size: 18px;
  font-weight: 700;
}
.companies__info-list > li {
  font-size: 16px;
  line-height: 150%;
}
.companies__info-link {
  font-size: 18px;
}
.companies__tag {
  font-size: 18px;
  line-height: 22px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  transform: translateX(-50%);
}
.companies__tag ~ .companies__row {
  margin-top: 6px;
}
.companies .accordion__head {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.companies .accordion {
  width: calc(33.3333333333% - 50px);
  margin: 0 25px 50px;
  padding: 16px 40px 50px;
}
.companies .accordion-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
  margin: 0 -25px -50px;
}
.companies__wrapper {
  margin-right: 0;
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 16px;
}
.companies .stars {
  margin: 0;
}
.companies__logo {
  margin-bottom: 0;
}
.companies__item:not(:last-child) {
  margin-right: 0;
}
.companies__item {
  margin-bottom: 16px;
}
.companies__item-title {
  line-height: 30px;
  font-size: 20px;
  margin-bottom: 8px;
}
.companies__item-label,
.companies__item-time {
  font-size: 18px;
}
.companies__button .btn {
  padding: 10px 20px;
}
.companies .accordion.data_offer {
  background: #edffed;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.companies .accordion.data_offer .accordion__head {
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}
.companies .accordion.data_offer .companies__buttons {
  margin-top: 18.5px;
}
.companies .accordion.data_offer .companies__button .btn {
  padding: 20px;
}
.companies .accordion__content-inner {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
@media (min-width: 769px) {
  .companies .accordion.data_offer:not(:last-child) {
    margin-bottom: 55px;
  }
}
@media (max-width: 768px) {
  .companies {
    margin: 48px 0;
  }
  .companies .accordion.data_offer:first-child {
    margin-top: 53px;
  }
  .companies .accordion.data_offer:not(:first-child) {
    margin-top: 35px;
  }
  .companies .accordion-container {
    margin: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .companies .accordion {
    width: 100%;
    margin: 0;
    padding: 16px;
  }
}
@media (max-width: 768px) and (max-width: 768px) {
  .companies .accordion.data_offer:not(:first-child) {
    margin-top: 52px;
  }
}
@media (max-width: 768px) {
  .companies__logo > img {
    max-height: 75px;
  }
  .companies__item-title {
    line-height: 25px;
    font-size: 18px;
  }
  .companies__item-label,
  .companies__item-time {
    font-size: 16px;
  }
  .companies .accordion.data_offer .companies__buttons {
    margin-top: 0;
  }
  .companies .accordion.data_offer .companies__button .btn {
    padding: 10px 20px;
  }
}
