/* header */


@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
}

.logo__img {
  width: 40px;
  height: 40px;
  min-width: 40px;
}

.logo {
  cursor: pointer;
}

@media (min-width: 401px) {
  .logo {
    max-width: 280px;
  }
}

.header__top .header__wrap {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  padding: 10px 20px;
  position: relative;
  margin-bottom: 10px;
}

.header__top {
  height: 70px;
  position: fixed;
  background-color: white;
  width: 100%;
  z-index: 999;

}

.header__bottom .header__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 20px;
  height: 100%;
}

.header__bottom {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 998;
  background-color: white;
  height: 100vh;
  padding-top: 70px;
  transform: translatex(-100%);
  overflow: auto;
  transition: 0.5s ease;
  width: 100%;
}

.header__bottom.active {
  transform: none;
}

.header--open .header__bottom {
  overflow: hidden;
}

.header__top .header__wrap::after {
  content: "";
  position: absolute;
  width: calc(100% - 40px);
  height: 1px;
  background-color: var(--back-gray);
  bottom: -10px;
  left: 20px;
}

.header__top-start,
.header__top-end {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.phone,
.city,
.lisence {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
}

.city__info,
.phone__info,
.lisence__info {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.phone__title {
  font-size: 22px;
  font-family: Serif;
}

.header__phone.phone .phone__icon .icon {
  width: 20px;
  height: 20px;
}

.header__phone.phone {
  align-items: center;
}

@media(max-width: 420px) {
  .header__phone.phone {
    display: none;
  }
}

.header__burger {
  height: 40px;
  width: 40px;
  cursor: pointer;
}

.header__social .social__icon svg path {
  fill: white;
}

.header__bottom .btn {
  width: 100%;
}

.city__city {
  text-decoration: underline;
}

.header__phone.phone .phone__icon {
  width: 20px;
  height: 20px;
}

.social__icon,
.header__phone.phone__icon {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.social.social--bottom {
  display: flex;
  flex-direction: row;
  gap: 10px;
  margin-top: 10px;
  border-top: 1px white solid;
  border-color: var(--back-gray);
  padding-top: 20px;

}

.header__alert {
  display: flex;
  flex-direction: row;
  padding: 20px 0px;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

#spesialButton2,
#spesialButton,
.header__vefovi {
  width: 25px;
  height: 25px;
}

.header__alert-text {
  border-right: 1px white solid;
  padding-right: 10px;
  margin-right: 10px;
  border-color: var(--back-gray);
}

.menu__link.menu__link--servives {
  background-color: var(--main-color);
  color: var(--text-light);
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.menu__link.menu__link--servives:hover rect,
.menu__link.menu__link--servives:hover path {
  fill: var(--text-accent);
}

.icon.icon--small.icon--closerer {
  position: absolute;
  top: 10px;
  left: 16px;
}

.icon.icon--small.hidden {
  opacity: 0;
}

.tabs.menu-tabs {
  display: none;
}

main {
  margin-top: 70px;
}

/* banner */
.banner-section {
  background-color: var(--soft-color2);
}

.section>.container>* {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
}

.banner__details {
  display: flex;
  flex-direction: row;
  width: 100%;
  padding: 10px 20px;
  align-items: center;
  justify-content: space-between;
  background-color: white;
  border-radius: var(--radius-large);
  max-width: 470px;
}

.banner__time {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 5px;
  background-color: var(--soft-color);
  padding: 10px 20px;
  border-radius: var(--radius-large);
  justify-content: flex-start;
}

.banner__teams {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 5px;
  padding: 10px 20px;
  border-radius: var(--radius-large);
  justify-content: flex-start;
}

.banner__args {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
  margin-top: 20px;
}

.banner__arg {
  padding: 20px;
  border: 1px white solid;
  border-color: #d3d3d3;
  border-radius: var(--radius-medium);
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.banner__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner__picture {
  display: none;
}

.banner__form {
  background-color: white;
  padding: 30px;
  border-radius: var(--radius-large);
}

.banner__form-title {
  font-size: 18px;
  font-family: Serif;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 20px;
}

.banner__price {
  font-size: 18px;
  font-family: Serif;
  background-color: var(--soft-color);
  padding: 10px;
  border-radius: 10px;
  text-align: center;
}

.banner__details.banner__details--service {
  width: 100%;
  flex-direction: row;
  max-width: 100%;
  background-color: var(--soft-color);
  padding: 20px;
  gap: 0;
}

.banner__form.banner__form--services .banner__teams,
.banner__form.banner__form--services .banner__time {
  background-color: transparent;
  padding: 0;
  flex-basis: 48%;
  justify-content: center;
}

.banner__form.banner__form--services .banner__time {
  box-sizing: border-box;
  padding-right: 20px;
  border-right: 1px white solid;
  border-color: #d3d5d8;
  border-radius: 0;
}

.banner__form.banner__form--services .banner__teams {
  padding-left: 20px;
}

.banner__form.banner__form--services .banner__form.banner__form--services {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
}

.banner__form.banner__form--services .banner__form-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.banner__form.banner__form--services .banner__phone {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  font-size: 26px;
  font-family: Serif;
  color: var(--main-color);
}

.banner__form.banner__form--services .banner__phone:hover {
  color: var(--text-accent);
}

.banner__form.banner__form--services .banner__phone:hover path {
  fill: var(--text-accent);
}

.banner__form.banner__form--services .banner__form-title {
  text-align: left;
  justify-content: flex-start;
}

.banner__form.banner__form--services .banner__form-title {
  text-align: left;
  justify-content: flex-start;
  margin: 0;
}

.banner__form.banner__form--services .form__agreed {
  margin: 0;
}

.banner__form.banner__form--services {
  flex-direction: column-reverse;
  display: flex;
  gap: 20px;
}

.banner__form.banner__form--blue,
.section>.container>.banner__form.banner__form--blue {
  background-color: var(--soft-color);
  gap: 0;
  margin-right: 10px;
  margin-left: 10px;
}


/* services */

.services___selector-name span {
  font-weight: 800;
  line-height: 1;
}

.selector-name {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 20px 30px;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: var(--radius-large);
}

.selector-list {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-large);
  gap: 10px;
  transition: 0.3s ease-in-out;
  cursor: pointer;
  padding: 20px 30px;
  margin-top: 10px;
  border: 1px white solid;
  border-color: var(--back-gray);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: white;
  z-index: -1;
  opacity: 0;
  transform: translatey(53%);
}

.services__tabs {
  position: relative;
}

.services___selector-name svg {
  transition: 0.3s ease-in-out;
}

.choice-services .services___selector-list {
  transform: translatey(103%);
  opacity: 1;
  z-index: 2;
}

.choice-services svg {
  transform: rotate(180deg);
}

.services__category-item span:hover {
  color: var(--main-color);
}

.services___item-title,
.services__cost {
  font-size: 22px;
  font-family: Serif;
}

.services___item-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services__order {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services___subitem.services___subitem--more {
  font-weight: bold;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  margin-top: 20px;
}

.services___sublink {
  /* font-size: 14px;*/
  font-family: Raleway;
}

.services___item-picture {
  position: relative;
}

.services___item-tag.caption {
  background-color: rgba(62, 156, 255, 0.4);
  color: var(--text-light);
  padding: 10px 20px;
  border-radius: var(--radius-large);
}

.services___item-tags {
  position: absolute;
  bottom: 10px;
  left: 10px;
  display: flex;
  gap: 10px
}

.services___item-count.caption {
  position: absolute;
  top: 10px;
  background-color: white;
  left: 10px;
  padding: 10px 20px;
  border-radius: var(--radius-large);
  color: var(--main-color);
}

.services___subitem.services___subitem--more span {
  color: var(--main-color);
}

.services___subitem.services___subitem--more svg {
  width: 10px;
  height: 10px;
  transform: rotate(270deg);
}

.services__item {
  padding: 20px 30px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.services___sublist {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  min-height: 220px;
  max-height: 220px;
  overflow: hidden;
}

.services___subitem:not(.services___subitem--more)::before {
  content: "";
  background-color: var(--main-color);
  width: 5px;
  height: 5px;
  border-radius: 100%;
  flex-shrink: 0;
}

.services___subitem {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
}

.services___item-picture .picture {
  min-height: 200px;
  max-height: 250px;
  overflow: hidden;
  border-radius: var(--radius-large);
  object-fit: cover;
  height: 100%;
}

/* garant */
.garant-section {
  background-color: var(--soft-color2);
}

.garant__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.garant__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.garant__item {
  background-color: var(--text-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-large);
}

.garant__name {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.garant__name-text1 {
  font-family: Serif;
  font-size: 16px;
}

.garant__name-text2 {
  /*font-size: 14px;*/
}

/* ratings */
.ratings__list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ratings__item {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  row-gap: 10px;
  padding-bottom: 20px;
  margin-bottom: 15px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

.ratings__item:last-child {
  padding-bottom: 0px;
  margin-bottom: 0px;
  border-bottom: none;
}

.ratings__stars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 5px;
  justify-content: flex-end;
}

.ratings__item> :nth-child(3n + 3) {
  grid-column: span 2;
}

.ratings__mark span {
  font-size: 22px;
  font-family: Serif;
}

.ratings__wrap {
  gap: 40px;
}

.ratings__picture.picture.yandex,
.ratings__picture.picture.yandex img {
  width: 100px;
  border-radius: 0;
}

.ratings__picture.picture.google,
.ratings__picture.picture.google img {
  width: 100px;
  border-radius: 0;
}

.ratings__picture.picture.prodoctorov,
.ratings__picture.picture.prodoctorov img {
  width: 170px;
  border-radius: 0;
}


/* lisences */

.section__title.lisences__title {
  margin-bottom: 20px;
}

.lisences__subtitle.caption {
  margin-bottom: 10px;
}

.lisences__undertitle {
  display: flex;
  flex-direction: column;
}

.lisences__list {
  display: flex;
  flex-direction: row;
  gap: 5px;
  width: 100%;
  align-items: flex-start;
  justify-content: flex-start;
}

.lisences__list-prevs {
  max-height: 400px;
  overflow: auto;
  max-width: 200px;
  flex-basis: 20%;
}

.lisences__list-fulls {
  flex-basis: 80%;
  position: relative;
  height: 100%;
}

.lisences__list-prevs img {
  border-radius: 5px;
}

.lisences__figure {
  position: relative;
  opacity: 0;
  transition: 0.5s ease;
  transform: translatey(-20px);
}

.lisences__figure.active {
  opacity: 1;
  transform: translatey(0);
}

.lisences figcaption {
  position: absolute;
  bottom: 5%;
  background-color: var(--text-light);
  border-radius: var(--radius-small);
  padding: 10px;
  width: 90%;
  left: 5%;
  text-align: center;
}

.lisences__list-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lisences__list-item.lisences__list-item--page {
  position: relative;
  top: unset;
  left: unset;
}

.lisences__undertitle.lisences__undertitle--span {
  font-weight: 800;
  color: var(--main-color);
}

.lisences__list figure {
  cursor: pointer;
}

.lisences__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* steps */
.steps__item {
  background-color: var(--text-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  width: 100%;
}

.steps__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.steps__num {
  padding: 5px 12px;
  background-color: var(--main-color);
  width: fit-content;
  border-radius: var(--radius-small);
  color: var(--text-light);
}

.steps__item svg {
  display: none;
}

.steps__text {
  font-family: Serif;
  font-size: 18px;
}

/* formats */

.formats-section {
  background-color: var(--soft-color2);
}

.formats__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.formats__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.formats__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: white;
  border-radius: var(--radius-large);
  padding: 20px;
}

.formats__item-title {
  font-family: Serif;
  font-size: 18px;
}

.formats__item-name {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.formats__item-icon {
  padding: 10px;
  background-color: var(--main-color);
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.formats__item-list p::before {
  content: "";
  background-color: var(--main-color);
  width: 7px;
  height: 7px;
  border-radius: 100%;
}

.formats__item-list p {
  /*  font-size: 14px;*/
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.formats__item-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.formats__btn {
  margin-top: 10px;
}

/* advs */
.advs__item,
.advs__item-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: var(--soft-color2);
  border-radius: var(--radius-large);
}

.advs__item-top {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.advs__item-title {
  font-size: 18px;
  font-family: Serif;
}

.advs__num {
  font-size: 18px;
  font-family: Serif;
  color: var(--main-color);
}

.advs__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advs__wrap {
  position: relative;
}

.advs__btn {
  position: absolute;
  bottom: 0;
  width: calc(100% - 80px);
  box-sizing: border-box;
  left: 40px;
}

.advantages-section picture {
  display: none;
}

.advs__picture.picture img,
.text-section__img img {
  border-radius: var(--radius-large);
}

.section>.container>.advs__wrap {
  padding-bottom: 80px;
}

/* about */

.about__wrap {
  position: relative;
}

.section>.container>.about__wrap {
  padding-bottom: 80px;
}

.about__btn {
  position: absolute;
  bottom: 0;
  width: calc(100% - 80px);
  box-sizing: border-box;
  left: 40px;
}

.about__list {
  display: grid;
  gap: 20px;
  grid-template-areas: "num1"
    "num2"
    "num3"
    "num4"
    "num5";
}

.about__item--1 {
  grid-area: num1
}

.about__item--2 {
  grid-area: num5
}

.about__item--3 {
  grid-area: num2
}

.about__item--4 {
  grid-area: num3
}

.about__item--5 {
  grid-area: num4
}

.about__item {
  background-color: var(--text-light);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  width: 100%;
}

.about__item-title {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.about__item-num {
  font-family: Serif;
  font-size: 40px;
}

.about__item-caption {
  /* font-size: 14px;*/
  font-weight: 800;
  padding-left: 5px;
}

.about__item.about__item--2,
.about__item.about__item--2 img,
.about__item.about__item--2 picture {
  padding: 0;
  width: 100%;
  border: none;
}

/* price */

.choice-price .selector-list {
  transform: translatey(103%);
  opacity: 1;
  z-index: 1;
}

.choice-price svg {
  transform: rotate(180deg);
}

.prices .tabs__category-mobile {
  position: relative;
}

.prices .tabs__categorylist {
  display: none;
}

.active.tabs__row {
  display: grid;
  grid-template-areas:
    "title title"
    "cost btn";
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border-bottom: 1px white solid;
  padding-bottom: 20px;
  border-color: var(--back-gray);
}

.tabs__row {
  display: none;
}

.price-tabs__info {
  grid-area: title;
}

.price-tabs__cost {
  grid-area: cost;
}

.price-tabs__btn {
  grid-area: btn;
  display: flex;
  justify-content: flex-end;
}

.price-tabs__btn .btn {
  max-width: 126px;
}

.price-tabs__cost {
  font-family: Serif;
  font-weight: 800;
  font-size: 16px;
}

.price-tabs .tabs__itemlist {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 20px;
}

.price-tabs__more svg {
  width: 10px;
  height: 10px;
  transform: rotate(270deg);
}

.price-tabs__more svg path {
  fill: var(--main-color);
}

.price-tabs__more {
  color: var(--main-color);
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 5px;
}

/* text-section */

.text-section__content {
  max-width: 100%;
}

.text-section__navigation-title span {
  font-size: 18px;
  font-family: Serif;
  line-height: 140%;
}

.text-section__navigation {
  padding: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
}

.text-section__navigation-title {
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  justify-content: space-between;
}

.open-nav .text-section__navigation-list {
  border-top: 1px white solid;
  border-color: var(--back-gray);
  padding-top: 20px;
  margin-top: 20px;
  max-height: 400px;
}

.text-section__navigation-list {
  max-height: 0px;
  overflow: hidden;
  transition: 0.5s ease-in-out;
}

/* callback */

.callback__title {
  font-family: Serif;
  font-size: 24px;
  line-height: 140%;
  font-weight: 400;
  width: 100%;
  display: block;
}

.callback__wrap {
  background-color: var(--soft-color);
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callback__info::before {
  content: "";
  background-color: var(--soft-color);
  width: 100%;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translatey(-100%);
  border-radius: var(--radius-large);
}

.callback__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  position: relative;
  padding-top: 0;
  padding-bottom: 40px;
}

.callback__subtitle {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.callback__phone:hover path {
  fill: var(--text-accent);
}

.callback__phone:hover {
  color: var(--text-accent);
}

.callback__phone {
  font-family: Serif;
  font-size: 20px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  color: var(--main-color);
  padding-bottom: 20px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

.callback__caption {
  display: none;
}

.callback__picture,
.callback__picture img {
  width: 100%;
  height: 277px;
  object-fit: cover;
  object-position: 0 -24px;
  border-radius: 30px 30px 0 0;
  background-color: #eaeaec;
}

@media (min-width: 500px) {

  .callback__picture,
  .callback__picture img {
    height: 356px;
  }
}

@media (min-width: 600px) {
  .callback__picture img {
    max-width: 50%;
    margin-left: 25%;
  }
}

.callback2__wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  background-color: var(--accent-color3);
  border-radius: var(--radius-large);
}

.callback2__title {
  font-family: Serif;
  font-size: 22px;
}

.callback2__text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn.btn--number.btn--callback2 {
  background-color: transparent;
  color: var(--text-main);
  border: 1px white solid;
  border-color: var(--text-main);
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.btn.btn--number.btn--callback2:hover path {
  fill: var(--main-color);
}

.btn.btn--number.btn--callback2:hover {
  background-color: var(--soft-color);
  color: var(--main-color);
  border-color: var(--soft-color);
}

.btn.btn--number.btn--callback2 path {
  fill: var(--text-main);
}

/* faq */
.faq__item.active {
  padding: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  display: block;
}

.faq__item {
  display: none;
}

.faq__question {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.faq__answer {
  max-height: 0;
  transition: 0.5s ease-in-out;
  overflow: hidden;
}

.open-accor .faq__answer {
  margin-top: 20px;
  border-top: 1px white solid;
  border-color: var(--back-gray);
  padding-top: 20px;
  max-height: 900px;
}

.faq__text-caption.caption {
  font-weight: 800;
  margin-bottom: 10px;
}

.faq__author {
  position: relative;
  margin-top: 20px;
  border-top: 1px white solid;
  border-color: var(--back-gray);
  padding-top: 20px;
}

.faq__author-picture.picture {
  position: absolute;
  width: 60px;
  height: 60px;
  object-fit: cover;
  background-color: var(--soft-color);
  border-radius: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  top: 20px;
  right: 0;
}

.faq__author-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-right: 70px;
}

.choice-faq svg {
  transform: rotate(180deg);
}

.choice-faq .selector-list {
  z-index: 2;
  opacity: 1;
  transform: translateY(103%);
}

.category-item:hover span {
  color: var(--main-color);
}

.selector-name svg {
  cursor: pointer;
}

.selector-name svg:hover path {
  fill: var(--main-color);
}

.faq__author-name {
  /* font-size: 14px;*/
  line-height: 22px;
  font-family: Serif;
}

.faq__author-info-wrap {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 5px;
}

.faq__list ul {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__body {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.faq__aside-title {
  font-family: Serif;
  font-size: 22px;
  line-height: 140%;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq__aside.mobile {
  background-color: var(--soft-color2);
  padding: 20px;
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

p.faq__aside-subtitle a.btn.btn--number path {
  fill: var(--main-color);
}

p.faq__aside-subtitle a.btn.btn--number {
  color: var(--main-color);
}

p.faq__aside-subtitle a.btn.btn--number:hover path {
  fill: var(--text-accent);
}

p.faq__aside-subtitle a.btn.btn--number:hover {
  color: var(--text-accent);
}

/* reviews */
.reviews-section {
  background-color: var(--soft-color2);
}

.reviews__item.active {
  display: block;
}

.reviews__item {
  display: none;
  background-color: var(--soft-color);
  border-radius: var(--radius-large);
  position: relative;
  border: 1px white solid;
  border-color: var(--back-gray);
  overflow: hidden;
}

.reviews__main {
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews__reviewer {
  display: flex;
  flex-direction: column;
}

.reviews__item-top {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

.reviews__reviewer-name {
  font-family: Serif;
  font-size: 18px;
  line-height: 140%;
}

.rev__tabs.tabs.desktop {
  display: flex;
  flex-direction: row;
}

.section.reviews.reviews-page .reviews__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.reviews__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews__date {
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.reviews__date p {
  color: var(--text-accent);
}

.reviews__caption.caption {
  font-weight: 800;
}

.reviews__reaction {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.reviews__item-more.btn--more>.icon.icon--small {
  transform: none;
}

.reviews__doctor {
  display: flex;
  flex-direction: row;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px white solid;
  border-color: var(--back-gray);
}

.reviews__more.btn--more {
  position: absolute;
  bottom: 0;
  left: 20px;
}

.reviews__doc-picture {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  background-color: var(--soft-color2);
  border-radius: 10px;
  width: 60px;
  height: 60px;
}

.reviews__doctor-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-start;
}

.reviews__doctor-name {
  font-size: 16px;
}

.reviews__body,
.reviews__main {
  transition: max-height 1s ease-in-out;
}

.section>.container>.reviews__wrap {
  position: relative;
  padding-bottom: 60px;
}

.choice-rev svg {
  transform: rotate(180deg);
}

.choice-rev .selector-list {
  z-index: 2;
  opacity: 1;
  transform: translateY(103%);
}

.revform {
  gap: 0;
  border-radius: var(--radius-large);
  overflow: hidden;
  border: 1px white solid;
  border-color: var(--back-gray);
  padding: 0;
}

.revform__wrap {
  display: flex;
  flex-direction: column;
  padding: 20px;
  gap: 20px;
  padding-bottom: 0;
  position: relative;
}

.revform__wrap::after {
  content: "";
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 30px;
  border-radius: 0 0 30px 30px;
  transform: translatey(100%);
  background-color: white;
}

.choice-form .form-tabs___selector-list.selector-list {
  opacity: 1;
  z-index: 2;
  transform: translatey(103%);
}

.choice-form svg {
  transform: rotate(180deg);
}

.form-tabs___selector-name.selector-name {
  padding: 20px;
}

.revform__top {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.revform__title {
  font-size: 24px;
  font-family: Serif;
}

.form-tabs___selector-name-wrapper {
  display: flex;
  flex-direction: column;
  color: var(--text-accent);
}

.form-tabs___selector-name.selector-name {
  padding: 20px;
}

.form__after-title.rating__title {
  font-size: 14px;
  color: var(--text-accent);
}

.form__rating.rating {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-bottom: 20px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
  margin-bottom: 10px;
}

.form-tabs___selector-name.selector-name:hover {
  border-color: var(--main-color);
  cursor: pointer;
}

.form-tabs___selector-name-wrapper.caption>span {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-main);
}


/* spesialists */
.spesialists__more.btn--more {
  position: absolute;
  bottom: 0;
  left: 20px;
}

.section>.container>.spesialists__wrap {
  position: relative;
  padding-bottom: 60px;
}

.spesialists__item {
  background-color: var(--soft-color);
  border-radius: var(--radius-large);
  position: relative;
}

.spesialists__picture.picture {
  max-height: 200px;
  overflow: hidden;
}

.spesialists__info {
  padding: 20px;
  background-color: white;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: var(--radius-large);
}

.spesialists__btns {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.spesialists__picture.picture {
  align-items: flex-start;
}

.spesialists__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.spesialists__staj {
  position: absolute;
  top: 0;
  left: 0;
  background-color: var(--main-color-lighter);
  padding: 10px;
  border-radius: 20px;
  color: var(--text-light);
}

.spesialists__fio {
  font-size: 20px;
  font-family: Serif;
  line-height: 140%;
}

.spesialists__staj {
  position: absolute;
  top: -10px;
  left: 14px;
  background-color: var(--main-color-lighter);
  padding: 10px;
  border-radius: 20px;
  color: var(--text-light);
  transform: translatey(-100%);
}

.spesialists__role,
.spesialists__diplom {
  font-weight: 800;
}

.spesialists__fio {
  font-family: Serif;
  font-size: 20px;
  line-height: 140%;
}

.spesialists__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* aktsii */
.aktsii__more.btn--more {
  position: absolute;
  bottom: 0;
  left: 20px;
}

.section>.container>.aktsii__wrap {
  position: relative;
  padding-bottom: 60px;
}

.aktsii__picture {
  border-radius: var(--radius-large);
  overflow: hidden;
  max-height: 250px;
}

.aktsii__link {
  display: flex;
  flex-direction: column;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: var(--radius-large);
  position: relative;
}

.aktsii__info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.aktsii__item-title {
  font-size: 20px;
  font-family: Serif;
}

.aktsii__item-duration {
  position: absolute;
  top: 20px;
  /* transform: translatey(-100%);*/
  left: 20px;
  padding: 10px 20px;
  background-color: var(--main-color-lighter);
  border-radius: var(--radius-large);
  color: white;
  font-weight: 800;
}

.section.aktsii.aktsii-page .aktsii__list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

/* articles */
.articles-section {
  background-color: var(--soft-color2);
}

.articles__more.btn--more {
  position: absolute;
  bottom: 0;
  left: 20px;
}

.section>.container>.articles__wrap {
  position: relative;
  padding-bottom: 60px;
}

.articles__item {
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  background-color: white;
  position: relative;
  display: none;
}

.articles__item.active {
  display: flex;
  flex-direction: column;
}

.articles__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.articles__picture {
  border-radius: 30px 30px 0 0;
  overflow: hidden;
  max-height: 250px;
}

.articles__info {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-large);
  background-color: white;
  gap: 20px;
  padding: 20px;
}

.articles__item-title {
  font-size: 20px;
  font-family: Serif;
}

.articles__category {
  position: absolute;
  top: 20px;
  /* transform: translatey(-100%);*/
  left: 20px;
  padding: 10px 20px;
  background-color: var(--main-color-lighter);
  border-radius: var(--radius-large);
  color: white;
  font-weight: 800;
}

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

.articles__info::before {
  content: "";
  background-color: white;
  top: -30px;
  left: 0;
  position: absolute;
  width: 100%;
  height: 30px;
  border-radius: 30px 30px 0 0;
}

.articles__info {
  display: flex;
  flex-direction: column;
  border-radius: 0 0 30px 30px;
  background-color: white;
  gap: 20px;
  padding: 20px;
  position: relative;
}

.choice-articles .articles-tabs___selector-list.selector-list {
  max-height: 300px;
  z-index: 2;
  opacity: 1;
  transform: translatey(103%);
}

.section.text-section.text-section--articles .callback2 {
  width: 100%;
}

.section.banner-section.banner-section--articles .banner__title-block {
  display: grid;
  grid-template-areas:
    "title"
    "details"
    "picture";
  gap: 20px;
  width: 100%;
}

.section.banner-section.banner-section--articles .banner__picture.picture {
  border-radius: var(--radius-large);
  overflow: hidden;
}

.section.banner-section.banner-section--articles .banner__info {
  grid-area: title;
}

.section.banner-section.banner-section--articles .banner__picture {
  grid-area: picture;
}

.section.banner-section.banner-section--articles .banner__details {
  grid-area: details;
}

.section.banner-section.banner-section--articles .banner__picture.picture {
  display: flex;
}

.section.banner-section.banner-section--articles .banner__details {
  padding: 0;
  background-color: transparent;
  border-radius: 0;
}

.section.banner-section.banner-section--articles .banner__details-item {
  background-color: var(--soft-color);
  padding: 10px;
  border-radius: var(--radius-large);
  align-items: center;
  justify-content: center;
  display: flex;
  gap: 10px;
}

.choice-articles svg {
  transform: rotate(180deg);
}

/* contacts */
.contacts__list {
  background-color: var(--soft-color2);
  padding: 20px;
  border-radius: var(--radius-large);
}

.contacts__info {
  display: grid;
  grid-template-areas:
    "phone"
    "city"
    "email"
    "rejim";
  gap: 20px;
}

.contacts__info-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.contacts__title {
  font-weight: 800;
}

.contacts__adress {
  grid-area: city;
}

.contacts__phone {
  grid-area: phone;
}

.contacts__rejim {
  grid-area: rejim;
}

.contacts__email {
  grid-area: email;
}

.contacts__list-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__docs-item {
  padding: 20px;
  background-color: white;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contacts__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contacts__map {
  border-radius: var(--radius-large);
  overflow: hidden;
}

#map img {
  border-radius: var(--radius-large);
  width: 100%;
}

.contacts__wrap {
  position: relative;
}

.contacts__filials-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.contacts__filials-item {
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
}

.contacts__filials-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 30px;
  border-radius: 30px 30px 0 0;
  background-color: white;
  z-index: 2;
  transform: translatey(-100%);
}

.contacts__filials-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px;
  align-items: flex-start;
  justify-content: flex-start;
  position: relative;
  padding-top: 0;
}

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

.contacts__phone,
.contacts__filial-title {
  font-size: 18px;
  font-family: Serif;
  line-height: 140%;
}

.contacts__filials-wrapper {
  position: relative;
}

.contacts__filials-item-decor {
  position: absolute;
  top: 20px;
  right: 0;
  z-index: -1;
  width: 178px;
  height: 240px;
}


/* photo */
.choice-gallery .gallery___selector-list {
  transform: translatey(103%);
  opacity: 1;
  z-index: 2;
}

.gallery__top {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery__list>div {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gallery__item.active {
  display: block;
}

.gallery__item {
  display: none;
  width: 100%;
  object-fit: cover;
}

.gallery__item {
  width: 100%;
  height: 420px;
}

.gallery__item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.choice-gallery svg {
  transform: rotate(180deg);
}

/* footer */
.footer__alert {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 10px 30px;
  background-color: var(--soft-color);
}

footer {
  background-color: var(--soft-color2);
}

.footer__form {
  border-radius: var(--radius-large);
  background-color: var(--text-light);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__social,
.contacts__social {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__form .caption {
  color: var(--text-accent);
  display: block;
}

.footer__alert-text {
  text-align: center;
}

.social__icon svg path {
  fill: var(--main-color);
}

.pay__icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__social .social__icon svg,
.contacts__social .social__icon svg {
  background-color: var(--soft-color);
}

.icon.icon--pay path {
  fill: var(--main-color);
}

.icon.icon--pay {
  background-color: var(--soft-color);
  width: 60px;
}

.servs__link.servs__link--title {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
}

.servs__inner-list .servs__item {
  margin-top: 5px;
}

.servs__inner-list .servs__item a {
  color: var(--text-accent);
}

.servs__inner-list {
  overflow-y: hidden;
  max-height: 0;
  transition: 0.3s ease-in-out;
}

.open-services .servs__inner-list {
  max-height: 500px;
  overflow-y: auto;
}

.open-services .servs__link.servs__link--title {
  color: var(--main-color);
}

.servs__link .servs__link--title svg {
  transition: 0.3s ease-in-out;
}

.servs__link:hover {
  color: var(--main-color);
}

.open-services svg {
  transform: rotate(180deg);
}

.servs__item.servs__item--first {
  position: relative;
}

.servs__inner-list .servs__item a:hover {
  color: var(--text-main);
}

.footer__servs.servs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.servs__more {
  position: absolute;
  top: 8px;
  right: 2px;
  cursor: pointer;
}

.servs__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  order: 1;
  padding-bottom: 20px;
  border-bottom: 1px white solid;
  border-color: var(--soft-color);
}

.servs__links .servs__item a {
  font-weight: 800;
}

.servs__block {
  order: 2;
}

.footer__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.rating__wrap {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

.footer__icons {
  display: flex;
  flex-direction: row;
  gap: 10px;
}

.footer__icons svg {
  cursor: pointer;
}

.footer__vefovi {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rating__mark {
  font-family: Serif;
  font-size: 22px;
  font-weight: 800;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px white solid;
  border-color: var(--soft-color);
}

.footer__docs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__doc {
  text-decoration: underline;
  color: var(--text-accent);
}

.footer__other {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer__vefovi .icon.icon--small {
  width: 30px;
  height: 30px;
}

.footer__disclaimer tr {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 20px;
}

.footer__disclaimer p {
  margin-bottom: 20px;
  font-size: 12px;
}

.footer__info,
.footer__disclaimer,
.footer__form {
  max-width: 800px;
}

.footer__body {
  align-items: center;
  justify-content: center;
  padding: 20px;
  gap: 40px;
}

.footer__disclaimer {
  padding: 20px;
}

.footer__table {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 40px;
}

.footer__rating.rating {
  flex-direction: column;
  align-items: flex-start;
}

.social__icon .icon:hover,
.share__icon .icon:hover,
.footer__search .icon:hover {
  background-color: var(--accent-color);
}

[data-action="veforvi"]:hover path {
  fill: var(--accent-color);
}

/*  usluga */
.usluga__block {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.usluga__title {
  font-size: 20px;
  font-family: Serif;
  line-height: 140%;
}

.usluga__category {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  padding: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
  gap: 10px;
}

.usluga__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.usluga__item {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-bottom: 10px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

.icon.icon--light path {
  fill: var(--main-color);
}

.icon.icon--light {
  border-radius: 100%;
  background-color: var(--soft-color);
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.icon.icon--light:hover {
  background-color: var(--main-color);
}

.icon.icon--light:hover path {
  fill: var(--text-light);
}


.usluga__details {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.usluga__item:last-child {
  border-bottom: none;
}

.usluga__name {
  font-weight: 800;
}

/* callback 3*/
.callback.callback--prices .callback__form-block::before {
  content: "";
  background-color: var(--soft-color2);
  width: 100%;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translatey(-100%);
  border-radius: 30px 30px 0 0;
}

.callback.callback--prices .callback__info::before {
  display: none;
}

.callback.callback--prices .callback__form-block {
  position: relative;
}

.callback.callback--prices .callback__form-block {
  position: relative;
  padding: 0 20px 20px 20px;
  background-color: var(--soft-color2);
  border-radius: 0 0 30px 30px;
}

.callback.callback--prices {
  padding: 0;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: 30px;
}

.callback.callback--prices .callback__info {
  padding: 20px 20px 80px 20px;
  background-color: white;
}

.callback.callback--prices .callback__text.caption {
  padding-bottom: 10px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

/* 404 */

.section404__title-main {
  font-size: 200px;
  line-height: 200px;
  margin-bottom: 20px;
  display: block;
  color: var(--soft-color2);
  text-align: center;
}

.section404__title-text {
  font-size: 28px;
  display: block;
  text-align: center;
}

.section404__subtitle,
.section404__hints-title {
  display: block;
  text-align: center;
  color: var(--text-accent);
}

.section404__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section404__wrapper {
  display: flex;
  flex-direction: column-reverse;
  gap: 20px;
}

.section404__services,
.section404__hints {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px
}

.section404__item {
  padding: 10px 20px;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

/* yure */
.yure__block-title {
  font-size: 22px;
}

.yure__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yure__item {
  background-color: var(--soft-color2);
  padding: 20px;
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.yure__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.yure__item-title {
  font-weight: 800;
  border-bottom: 1px white solid;
  border-color: var(--soft-color);
  padding-bottom: 20px;
}

.yure__caption.yure__caption--gray {
  color: var(--text-accent);
  font-weight: 400;
}

.yure__caption {
  font-weight: 800;
}

/* docs */
.docs__item-list {
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 20px;
  position: relative;
}

.docs__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  justify-content: center;
  position: absolute;
  width: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}

.docs__picture.picture {
  /*max-height: 400px;
height: 400px;*/
}

.docs__item .btn {
  max-width: 180px;
}

.docs__item.active {
  opacity: 1;
  z-index: 1;
  position: relative;
}

.docs__item-title {
  font-size: 24px;
  font-family: Serif;
}

.docs .tabs__category-mobile.mobile.categories {
  display: none;
}

picture.docs__picture.picture img {
  max-height: 400px;
}

.docs__item-downloads {
  display: flex;
  flex-direction: row;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

.section.docs-page.docs .tabs__itemlist.tab-animation-out {
  display: block;
  position: relative;
  min-height: 600px;
}

.section.docs-page.docs .tabs__categorylist {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 10px;
}

.section.docs-page.docs .tabs__category {
  padding: 10px 20px;
  background-color: var(--back-gray);
  width: fit-content;
  border-radius: var(--radius-large);
}

.section.docs-page.docs .tabs__category:hover {
  border-color: var(--soft-color2);
  background-color: var(--soft-color2);
}

.section.docs-page.docs .tabs__category:hover span {
  color: var(--main-color);
}

.section.docs-page.docs .tabs__category.active {
  border-color: transparent;
  background-color: var(--main-color);
}

.section.docs-page.docs .tabs__category.active span {
  color: white;
}

.docs__document-wrap {
  /* height: 600px;*/
  min-height: 600px;
}

.docs__picture.picture {
  cursor: pointer;
}


/* doctor */
.doctor__profile {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor__img {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  position: relative;
}

.doctor__picture.picture {
  width: 100%;
  background-color: var(--soft-color2);
  border-radius: var(--radius-large);
}

.doctor__rating {
  display: flex;
  flex-direction: row;
  position: absolute;
  bottom: 20px;
  width: 90%;
  background-color: var(--main-color-lighter);
  padding: 10px 20px;
  border-radius: var(--radius-large);
  align-items: center;
  gap: 5px;
  justify-content: center;
  left: 5%;
}

.doctor__rating-count {
  font-family: Serif;
  color: var(--text-light);
  font-size: 18px;
}

.doctor__details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor__position-item {
  display: flex;
  flex-direction: row;
  gap: 20px;
  align-items: center;
  justify-content: flex-start;
}

.doctor__rating>* {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
}

.doctor__position-item-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.doctor__position {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor__caption.caption {
  font-weight: 800;
}

.doctor__cost {
  display: flex;
  flex-direction: row;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

.doctor__cost-item {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px 20px;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: 5px;
  align-items: center;
}

.doctor__cost-price {
  font-family: Noto Seris;
}

.doctor__label svg {
  width: 89px;
}

@media (min-width: 600px) {
  .doctor__label svg {
    width: 128px;
  }
}

.doctor__shedule {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background-color: var(--soft-color);
  padding: 20px;
  border-radius: var(--radius-large);
}

.doctor__day {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
  padding-top: 10px;
}

.doctor__day:last-child {
  border: none;
}

.blue-line {
  color: var(--main-color);
  font-weight: 600;
}

.doctor__day span {
  font-weight: 600;
}

.doctor__info-wrap {
  padding: 20px;
  border: 1px white solid;
  border-color: var(--back-gray);
  border-radius: var(--radius-large);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor__staj {
  background-color: var(--main-color-lighter);
  padding: 10px;
  border-radius: var(--radius-large);
  color: var(--text-light);
  width: fit-content;
}

.doctor__name {
  font-size: 24px;
  font-family: Serif;
  font-weight: 400;
}

.doctor__sertifs-pagination.swiper-pagination-bullets {
  width: fit-content !important;
  margin: auto;
  margin-top: 20px;
}

.doctor__info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/*.doctor__list {
display: flex;
flex-direction: column;
gap: 20px;
}*/

.doctor__education,
.doctor__profile-item,
.doctor__sertifs {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.doctor__info li::before {
  content: "—";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--main-color);
  font-family: Serif;
}

.doctor__info li {
  padding-left: 25px;
  position: relative;
}

.doctor__cost-price {
  font-size: 18px;
}

/* .vacant */
.vacant-list {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}

.vacant__item {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: var(--radius-large);
  border: 1px white solid;
  border-color: var(--back-gray);
}

.vacant__title {
  font-size: 20px;
  font-family: Serif;
}

.vacant__cost {
  font-size: 18px;
  font-weight: 600;
  color: var(--main-color);
}

.vacant__details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vacant__det-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding-bottom: 10px;
  border-bottom: 1px white solid;
  border-color: var(--back-gray);
}

.vacant__det-item:last-child {
  border: none;
}

.vacant__det-item svg {
  background-color: var(--soft-color);
  padding: 10px;
  width: 40px;
  height: 40px;
  border-radius: 5px;
}

.vacant__det-text {
  display: flex;
  flex-direction: column;
}

.vacant__value {
  font-weight: 800;
}

.vacant__item-titles {
  font-weight: 600;
  font-size: 18px;
}

.vacant__item li {
  padding-left: 20px;
  position: relative;
}

.vacant__item li::before {
  content: "-";
  position: absolute;
  left: 0;
  top: 0;
  font-weight: 800;
  color: var(--main-color);
  font-family: Serif;
}

.text-section__content a,
.phone__title,
.callback__phone,
.btn--number,
.contacts__title,
.contacts__phone,
.banner__phone {
  font-family: "Cygre", sans-serif;
}

.btn.btn--number {
  font-family: "Cygre", sans-serif;
}

.banner__form.banner__form--services .banner__phone {
  font-family: "Cygre", sans-serif;
}

@media(max-width: 1200px) {
  .faq__aside-subtitle .btn.btn--number {
    color: white !important;
  }

  .faq__aside-subtitle .btn.btn--number:hover {
    color: var(--text-main) !important;
  }

  .text-section__content:first-of-type .text-section__imgs {
    display: flex;
    flex-direction: column-reverse !important;
  }

  .text-section__sticky-form {
    margin: 20px 0;
  }
}