.hero {
    margin-bottom: 40px;
    padding-bottom: 0;
}

.hero__wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.hero__title {
    font-weight: 900;
    font-size: 44px;
    line-height: 59px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero__subtitle p {
    font-size: 24px;
    line-height: 36px;
    font-weight: 500;
}

.hero__btn {
    padding: 15px 24px;
}

.hero__btn span {
    font-size: 18px;
    line-height: 100%;
}

.hero__image {
    width: 621px;
    height: 400px;
}

.hero__image picture img,
.hero__image img {
    object-fit: contain;
}

.hero-info {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #d0d0d0;
}

.hero-info__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #EBF3FF;
    padding: 15px 20px;
}

.hero-info__item-ico {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
}

.hero-info__item-ico svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hero-info__item-ico picture img,
.hero-info__item-ico img {
    object-fit: contain;
}

.hero-info__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
}

.specialists__title {
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.specialists {
    margin-bottom: 80px;
}

.specialists__list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.specialists__item {
    display: flex;
    position: relative;
    flex-direction: column;
    width: 100%;
    background: #fff;
    box-shadow: 5px 5px 10px 0px #0000004D;
}

.specialists__item-badge {
    background-color: #307CE9;
    padding: 10px 15px;
    position: absolute;
    top: 0;
    right: 0;
    font-weight: 700;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    color: #fff;
}

.specialists__image {
    height: 300px;
}

.specialists__image picture img,
.specialists__image img {
    object-fit: cover;
}

.specialists__body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px;
    gap: 15px;
    height: 100%;
}

.specialists__info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.specialists__info-name {
    font-weight: 600;
    font-size: 18px;
    line-height: 20px;
}

.specialists__info-job {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
}

.specialists__title {
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.filter {
    margin-bottom: 40px;
}

.filter__items {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px 35px;
    padding: 40px 0;
    border-bottom: 1px solid #d0d0d0;
}

.filter__item {
    display: flex;
    flex-direction: column;
    width: calc(50% - 17.5px);
    gap: 20px;
}

.filter__item-name {
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
}

.filter__item:nth-child(3) {
    width: 100%;
}

.filter__item-input__inner {
    position: relative;
    padding: 15px 20px;
    border: 1px solid #D0D0D0
}

.filter__item-name {
    margin-bottom: 16px;
    font-weight: 900;
    font-size: 24px;
    line-height: 1.2;
    text-transform: uppercase;
}

.multi-select {
    position: relative;
    width: 100%;
}

.multi-select__control {
    min-height: 50px;
    border: 1px solid #d0d0d0;
    background: #fff;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 15px 20px 15px 20px;
    position: relative;
    cursor: pointer;
    flex-wrap: wrap;
}

.multi-select__control.is-empty {
    align-items: center;
}

.multi-select__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    flex: 1 1 auto;
}

.multi-select__tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 30px;
    padding: 5px 10px;
    background: #D0D0D033;
    font-size: 15px;
    line-height: 1;
    white-space: nowrap;
}

.multi-select__tag-remove {
    border: 0;
    background: transparent;
    padding: 0;
    margin: 0;
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
    color: #222;
}

.multi-select__input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.multi-select__placeholder {
    color: #4a4a4a;
    font-size: 16px;
    line-height: 20px;
}

.multi-select__arrow {
    position: absolute;
    top: 13px;
    right: 19px;
    width: 24px;
    height: 24px;
    border: 0;
    background: transparent;
    padding: 0;
    cursor: pointer;
    color: #d0d0d0;
    transition: transform 0.2s ease;
}

.multi-select.is-open .multi-select__arrow {
    transform: rotate(180deg);
}

.multi-select__dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: #fff;
    border: 1px solid #d0d0d0;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    z-index: 20;
}
.multi-select__options{
    max-height: 280px;
    overflow-y: auto;
}
.multi-select.is-open .multi-select__dropdown {
    display: block;
}
.multi-select__dropdown__close {
    width: calc(100% - 40px);
    transition: background-color .3s ease;
}
.multi-select__dropdown__close:hover {
    background-color: #307CE9;
    color: #fff;
}
.multi-select__option {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 50px;
    padding: 0 15px;
    border-bottom: 1px solid #ececec;
    cursor: pointer;
    user-select: none;
    background: #fff;
}

.multi-select__option:last-child {
    border-bottom: 0;
}

.multi-select__option input {
    display: none;
}

.multi-select__check {
    width: 20px;
    height: 20px;
    border: 1px solid #d0d0d0;
    background: #fff;
    box-sizing: border-box;
    flex: 0 0 20px;
    position: relative;
}

.multi-select__option input:checked + .multi-select__check {
    background: #307CE9;
    border-color: #307CE9;
}

.multi-select__option input:checked + .multi-select__check::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.multi-select__text {
    font-size: 16px;
    line-height: 20px;
    color: #000;
}

@media (max-width: 1280px) {
    .hero__wrapper {
        flex-direction: column-reverse;
    }

    .hero__content {
        width: 100%;
    }

    .hero__btn {
        width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {
    .hero-info {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 767px) {
    .hero__wrapper {
        margin-bottom: 20px;
    }

    .hero-info {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .hero__image {
        width: 100%;
        height: auto;
        max-width: 100%;
        right: unset;
        bottom: unset;
        position: relative;
        z-index: 1;
    }

    .hero__title {
        font-size: 30px;
        line-height: 120%;
    }

    .hero-info__item {
        flex-direction: row;
        align-items: center;
        padding: 15px;
    }

    .hero-info__item-ico {
        width: 40px;
        height: 40px;
    }

    .hero-info__title {
        font-size: 16px;
        line-height: 110%;
    }

    .hero__subtitle {
        width: 100%;
        padding-bottom: 0;
        margin-bottom: 20px;
    }
    .hero__subtitle p {
        font-size: 18px;
        line-height: 120%;
    }

    .specialists__list {
        grid-template-columns: repeat(1, 1fr);
    }

    .filter__items {
        flex-direction: column;
        gap: 20px;
        padding: 20px 0;
    }

    .filter__item {
        width: 100%;
        gap: 10px;
    }
    .specialists {
        margin-bottom: 60px;
    }
    .reviews {
        margin-bottom: 60px;
    }
}

@media (max-width: 375px) {
    .hero__title {
        font-size: 27px;
    }
}

/*detail*/
.detail-top {
    margin-bottom: 80px;
}

.detail-top__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 30px;
}

.detail-top__left {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 400px;
}

.detail-top__right {
    display: flex;
    flex-direction: column;
    width: calc(100% - 400px - 30px);
}

.detail-top__image {
    width: 100%;
    height: 420px;
    flex: 0 0 auto;
}

.detail-top__image picture img,
.detail-top__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-top__callback {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;
}

.detail-top__callback-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #307CE9;
    cursor: pointer;
    color: #fff;
    padding: 15px 24px;
    border: 0;
    font-weight: 700;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
}

.detail-top__callback-text {
    font-weight: 500;
    font-size: 14px;
    line-height: 15px;
    color: #6b6b6b;
}

.detail-top__title {
    font-weight: 900;
    font-size: 44px;
    line-height: 59px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.detail-top__tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
}

.detail-top__tag {
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    padding-right: 16px;
    margin-right: 10px;
    position: relative;
    white-space: nowrap;
}

.detail-top__tag:after {
    content: '/';
    font-weight: 500;
    font-size: 18px;
    line-height: 24px;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.detail-top__tag:last-child {
    padding-right: 0;
    margin-right: 0;
}

.detail-top__tag:last-child::after {
    display: none;
}

.detail-top__education {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.detail-top__education-title {
    font-weight: 900;
    font-size: 24px;
    line-height: 30px;
    text-transform: uppercase;
}

.list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.list li {
    padding-left: 24px;
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
    position: relative;
}

.list.list--disc li:before {
    content: '';
    width: 14px;
    height: 14px;
    background-color: #307ce9;
    border-radius: 50%;
    position: absolute;
    top: 5px;
    left: 0;
}

.detail-top__soc {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 15px;

}

.detail-top__soc-item {
    width: 50px;
    height: 50px;
    flex: 0 0 auto;
    cursor: pointer;
}

.detail-top__soc-item svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-block {
    display: flex;
    flex-direction: column;
    margin-bottom: 80px;
}

.detail-block__title {
    font-weight: 900;
    font-size: 32px;
    line-height: 35px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

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

.detail-block__text p {
    font-weight: 500;
    font-size: 20px;
    line-height: 25px;
}

section.specialists .specialists__more{
    text-align: center;
    margin-top: 30px;
}

.logo_psy_publications{
    max-height: 32px;
    margin-bottom: 5px;
    width: auto;
}
.list_psy_publications{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.list_psy_publications a{
    position: relative;
    color: #307CE9;
}
.list_psy_publications a::after{
    content: '';
    position: absolute;
    background-color: #307CE9;
    bottom: 0;
    width: 100%;
    height: 1px;
    left: 0;
}
.list_psy_publications a:hover::after{
    display: none;
}
@media (max-width: 1280px) {
    .detail-top__wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .detail-top__left {
        width: 100%;
        gap: 10px;
    }

    .detail-top__image {
        height: auto;
    }

    .detail-top__callback {
        flex-direction: column;
        gap: 10px;
    }

    .detail-top__right {
        width: 100%;
    }

    .detail-top__callback-btn {
        width: 100%;
    }

    .detail-top__title {
        font-size: 30px;
        line-height: 120%;
    }

    .detail-top__tags {
        flex-wrap: wrap;
    }
}

@media (min-width: 768px) and (max-width: 1280px) {

}

@media (max-width: 767px) {
    .detail-top__tag {
        font-size: 16px;
    }

    .list li {
        font-size: 16px;
        line-height: 120%;
    }

    .detail-block__text p {
        font-size: 16px;
        line-height: 120%;
    }

    .detail-block__title {
        font-size: 24px;
        line-height: 120%;
        margin-bottom: 20px;
    }

    .detail-top {
        margin-bottom: 40px;
    }

    .detail-block {
        margin-bottom: 40px;
    }

    .detail-top__soc-item {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 375px) {
    .detail-top__title {
        font-size: 27px;
    }
}

.directions {}
.directions__title {
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.directions__list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
}

.directions__item {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
    background-color: #ebf3ff;
}
.directions__item-image {
    width: 100%;
    height: 240px;
    flex: 0 0 auto;
}
.directions__item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.directions__item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.directions__item-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.directions__item-title {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #307CE9;
}

.directions__item-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.directions__text {
    margin: 40px 0 0;
    font-size: 18px;
    line-height: 120%;
}
.directions__text p {
    font-size: 18px;
    line-height: 120%;
}
.directions__text p:not(:last-child) {
    margin-bottom: 16px;
}
@media (min-width: 768px) and (max-width: 1280px){
    .directions__list {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 767px){
    .directions__list {
        grid-template-columns: repeat(1,1fr);
        gap: 15px;
    }
    .directions__item {
        padding: 15px;
    }
    .directions__item-image {
        height: 235px;
    }
    .directions__text {
        font-size: 16px;
    }
    .directions__text p {
        font-size: 16px;
    }
}

.reviews {
    padding: 0;
    margin-bottom: 80px;
}
.reviews__head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
}
.reviews__title {
    font-weight: 900;
    font-size: 24px;
    line-height: 120%;
    text-transform: uppercase;
}
.reviews-slider {
    position: relative;
    overflow: hidden;
}
.reviews-slider__nav {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 5px;
    justify-content: space-between;
}
.reviews-slider__btn {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    background-color: transparent;
    border: 0;
    padding: 0;
    cursor: pointer;
    transition: all .3s ease;
}
.reviews-slider__btn:hover {
    opacity: .9;
}
.reviews-slider__btn svg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.reviews-slider__item {
    display: flex;
    flex-direction: column;
    background-color: #EBF3FF;
    padding: 20px;
}

.reviews-slider__item-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #307CE9;
    margin-bottom: 10px;
}

.reviews-slider__item-image {
    width: 64px;
    height: 64px;
    flex: 0 0 auto;
    background-color: #f2f2f2;
    border-radius: 50%;
    overflow: hidden;
}
.reviews-slider__item-image picture {
    display: block;
    width: 100%;
    height: 100%;
}

.reviews-slider__item-image img {
    display: block;
    width: 100%;
    height: 100%;
}
.reviews-slider__item-text,
.reviews-slider__item-text p {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}

.reviews-slider__item-name {
    font-weight: 700;
    font-size: 20px;
    line-height: 24px;
    color: #307CE9;
}
.reviews-slider__item-job {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
}
.reviews-slider__item-toggle {
    font-weight: 500;
    font-size: 16px;
    line-height: 120%;
    background-color: transparent;
    border: none;
    color: #307CE9;
    text-decoration: underline;
    cursor: pointer;
}

.reviews-slider__item-text > span {
    display: none;
}

.reviews-slider__item-text.is-open > span {
    display: inline;
}

