.b-service-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: #fafafa;
  border-radius: 30px;
  padding: 30px;
  cursor: pointer;
  overflow: hidden;
  height: 150px;
  transition: 0.15s all linear;
}
.b-service-card:hover {
  color: #fff;
  background: #787878;
}
.b-service-card:hover .b-service-card__header-title {
  color: #fff;
}
.b-service-card:hover .b-service-card__header-icon svg path, .b-service-card:hover .b-service-card__header-arrow path {
  stroke: #fff;
}
.b-service-card:hover .b-service-card__header-icon svg circle, .b-service-card:hover .b-service-card__header-arrow circle {
  stroke: #fff;
}
@media (max-width: 1600px) {
  .b-service-card {
    height: 120px;
    padding: 20px;
  }
}
@media (max-width: 1200px) {
  .b-service-card {
    border-radius: 25px;
  }
}
@media (max-width: 800px) {
  .b-service-card {
    border-radius: 20px;
    height: 100%;
    position: relative;
  }
}
.b-service-card--open {
  height: fit-content;
  z-index: 5;
  background: #787878;
}
.b-service-card--open .b-service-card__header-title {
  color: #fff;
}
.b-service-card--open .b-service-card__text {
  margin-top: 30px;
  opacity: 1;
  z-index: 5;
  color: #fff;
  height: fit-content;
}
.b-service-card--open .b-service-card__header-icon svg path, .b-service-card--open .b-service-card__header-arrow path {
  stroke: #fff;
}
.b-service-card--open .b-service-card__header-icon svg circle, .b-service-card--open .b-service-card__header-arrow circle {
  stroke: #fff;
}
.b-service-card--open .b-service-card__header-arrow {
  transform: rotate(360deg);
}
.b-service-card * {
  transition: 0.15s all linear;
}
.b-service-card__container {
  position: relative;
  width: calc((100% - 80px) / 3);
  height: 150px;
}
@media (max-width: 1600px) {
  .b-service-card__container {
    height: 120px;
  }
}
@media (max-width: 1200px) {
  .b-service-card__container {
    width: calc((100% - 40px) / 2);
    padding: 25px;
    border-radius: 25px;
  }
}
@media (max-width: 800px) {
  .b-service-card__container {
    width: 100%;
    height: 100%;
    padding: 0;
  }
}
.b-service-card__header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  height: 90px;
}
@media (max-width: 1600px) {
  .b-service-card__header {
    height: 80px;
  }
}
.b-service-card__header-title {
  color: #252B2E;
  font-family: Geologica;
  font-size: 20px;
  font-style: normal;
  font-weight: 250;
  line-height: normal;
  width: 60%;
}
@media (max-width: 1600px) {
  .b-service-card__header-title {
    font-size: 16px;
  }
}
.b-service-card__header-arrow, .b-service-card__header-icon > svg {
  width: 50px;
  height: 50px;
}
@media (max-width: 1600px) {
  .b-service-card__header-arrow, .b-service-card__header-icon > svg {
    width: 40px;
    height: 40px;
  }
}
.b-service-card__header-arrow {
  transform: rotate(180deg);
}
.b-service-card__text {
  opacity: 0;
  height: 0;
  overflow: hidden;
}
