.association{
    color: var(--color-text);
}

.margin-b-20{
    margin-bottom: 20px;
}

.services-item__list li a{
    color: #79797B;
    line-height: 20px;
    /*margin-bottom: 15px;*/
    display: flex;
    white-space: nowrap;
    letter-spacing: -0.02em;
    transition: color .2s;
}
.services-item:hover .services-item__list li a{
    color: #fff;
}

.smile-photo img{
    width: 400px!important;
}


.services-item__list li span:first-child::after {
    content: '';
    height: 1px;
    width: 100%;
    border-bottom: unset;
    margin: unset;
}

.submenu-list > li ul li{
    margin-bottom: 10px;
}

.showcase-slide__image{
    margin-left: auto;
    align-self: unset;
    display: flex;
    align-items: center;
    position: relative;
    height: calc(100% - 30px);
    padding-top: 15px;

}

.showcase-slide__image img{
    max-height: 100%;
}


.contacts-detail {
    display: flex;
}

.contacts-detail__icon {
    margin-right: 10px;
}

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

.subtitle-page {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 15px;
}

.contacts-messenger svg {
    margin-right: 10px;
}

.btn--vb {
    background-color: #7B4F94;
}

.btn--tg {
    background-color: #419FD9;
}

.btn--wt {
    background-color: #00B83A;
}

.js-email-form:not(.is-show) {
    display: none;
}

.footer-services-item {
    margin-bottom: 5px;
}

.footer-services__title {
    font-size: 14px;
}
.imgl{
    width: 400px;
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}


@media (max-width: 767px) {
	.commando-item--large .commando-image{
  		background-position-x:-20px!important;
	}
}

.advantages {
    background-color: #F8F8F8;
}

.advantages-title {
    font-weight: bold;
    font-size: 30px;
    line-height: 40px;
    letter-spacing: -0.01em;
    font-family: var(--font-mont);
    text-align: center;
    margin-bottom: 5px;
}

.advantages-value {
    text-align: center;
    font-weight: 600;
    font-size: 40px;
    line-height: 50px;
    color: #D62B24;
}

.advantages-item {
    position: relative;
    background: #FFFFFF;
    box-shadow: 0 10px 20px rgba(221, 223, 233, 0.3);
    border-radius: 15px;
    padding: 40px;
    display: block;
    margin-bottom: 25px;
    min-height: calc(100% - 25px);
    color: var(--color-text);
    text-align: center;
}

.advantages-item::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px solid #E4EFF2;
    border-radius: 10px;
}

.advantages-item__title {
    font-weight: bold;
    font-size: 22px;
    line-height: 30px;
    letter-spacing: -0.01em;
    font-family: var(--font-mont);
    color: var(--color-link);
    text-align: center;
    margin-bottom: 10px;
}

.advantages-popup {
    display: none;
    max-width: 700px;
	border-radius: 15px;
	font-family: var(--font-mont);
}

.rating-slider {
	max-width: 645px;
	margin: 0 auto;
}


.error{
    border: 1px  solid red;
}


.commando-index .column:last-child{
    display: none;
}

@media (max-width: 567px) {
    .commando-index .column:last-child{
        display: block;
    }
}


.recall-block span{
    margin-bottom: 20px;
    background-color: unset;
    border: 1px solid var(--color-link);
    color:var(--color-link);
}


.recall-block span.active{
    background-color: var(--color-link);
    color:#fff;
}

@media (min-width: 500px) {
    .desk-hidden{
        display: none;
    }
}

.item-doc{
    flex-direction: unset;
}

.item-doc .img{
    display: flex;
    flex-direction: column;
    width: 15%;
}

.item-doc .name{
    display: flex;
    flex-direction: column;
    width: 75%;
    margin-left: 15px;
    padding-top: 50px;
}

.btn-send-price{
    margin-top: 20px;
}

.image-sku{
    height: 285px;
    background-position: center;
    background-size: contain;
}

.showcase-video {
	/* margin-bottom: -80px; */
	box-shadow: 0 10px 20px rgba(221, 223, 233, 0.3);
    border-radius: 15px;
	overflow: hidden;
	position: relative;
}

.showcase-video video {
	width: 100%;
	display: block;
}

.advantages {
	padding-top: 50px;
}

.news-detail__cover {
	margin-bottom: 30px;
}

.news-detail__date {
	font-weight: bold;
	margin-bottom: 10px;

}

.news-detail iframe {
	width: 100%;
	display: block;
}

.collapse-content ul {
	list-style-type: disc;
	margin-left: 20px;
}

.page-text {
	font-weight: 600;
    font-size: 18px;
	line-height: 30px;
    font-family: var(--font-mont);
}

.header-contact__text span {
	font-size: 22px;
	display: block;
}

.header-contact {
	align-items: center;
}

@media (max-width: 500px) {
	.header-contact__text span {
		font-size: 14px;
		text-align: right;
	}
}


.hello-popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.6);
    display: none;
    z-index: 1000
}

.hello-popup-close {
    position: absolute;
    right: 47px;
    top: 53px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    font-size: 30px;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hello-popup-wrap {
    padding: 20px;
    position: relative;
    margin: auto;
    width: fit-content
}

.hello-popup-wrap img {
    margin: auto;
    height: auto;
    max-height: 100%;
    -webkit-border-radius: 10px;
    border-radius: 10px
}

.cookie-popup {
    /* display: none; */
}

.cookie-popup__modal {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 100;
    padding: 20px;
}

.cookie-popup__content {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    gap: 30px;
    border-radius: 10px;
    border: 1px solid #f2f2f2;
    box-shadow: 0 9px 15px rgba(0, 0, 0, 0.05);
    max-width: 950px;
    margin-left: auto;
    margin-right: auto;
}

.cookie-popup__text {
    font-size: 14px;
    line-height: 22px;
}

.header-contact-info {
	font-size: 12px;
	line-height: 16px;
}

@media (max-width: 767px) {
	.cookie-popup__content {
		flex-direction: column;
	}

    header.header{
        position: fixed;
    }

    .wrapper{
        margin-top: 250px;
    }

	.header-contact-info {
    	font-size: 6px;
    	line-height: 10px;
	}
}

/* === Стили раздела «Специалисты»: Группировка и выравнивание карточек === */

/* Группы специалистов по направлениям */
.staff-group {
    margin-bottom: 40px;
}
.staff-group__title {
    font-weight: bold;
    font-size: 26px;
    line-height: 34px;
    font-family: var(--font-mont);
    margin-top: 15px;
    margin-bottom: 22px;
    letter-spacing: -0.01em;
    color: #172129;
    position: relative;
    padding-bottom: 10px;
}
.staff-group__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 44px;
    height: 3px;
    background-color: var(--color-link);
    border-radius: 2px;
}

/* Единое выравнивание ФИО и контента карточки сотрудника по верхнему краю */
.commando-item {
    display: flex;
    flex-direction: column;
}
.commando-content {
    position: relative;
    margin-top: auto;
    width: 100%;
    max-width: 100%;
    z-index: 1;
    min-height: 110px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.commando-name {
    font-weight: bold;
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 6px;
    font-family: var(--font-mont);
    min-height: 56px;
}
.commando-info {
    font-weight: 300;
    font-size: 14px;
    line-height: 20px;
}

/* Мобильная версия: пропорциональное уменьшение фото и адаптивная карточка */
@media (max-width: 767px) {
    .staff-group {
        margin-bottom: 28px;
    }
    .staff-group__title {
        font-size: 19px;
        line-height: 25px;
        margin-bottom: 16px;
        padding-bottom: 8px;
    }
    .staff-group__title::after {
        width: 32px;
        height: 2px;
    }

    .commando-item {
        height: auto !important;
        min-height: 315px;
        aspect-ratio: 9 / 15.5;
        padding: 12px;
        margin-bottom: 16px;
        position: relative;
        display: block;
        overflow: hidden;
        background: linear-gradient(130.49deg, #F6F7F9 0%, #F1FAFF 100%) !important;
    }

    .commando-image {
        position: absolute;
        width: 100%;
        height: 100%;
        left: 0;
        top: 0;
        background-position: 50% 10px !important;
        background-size: contain !important;
        background-repeat: no-repeat !important;
        -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 68%) !important;
        mask-image: linear-gradient(to bottom, #000 0%, #000 42%, transparent 68%) !important;
    }

    .commando-image::before {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 140px;
        background: linear-gradient(180deg, rgba(241, 250, 255, 0) 0%, rgba(241, 250, 255, 0.3) 35%, rgba(241, 250, 255, 0.75) 70%, #F1FAFF 100%);
    }

    .commando-content {
        position: absolute;
        bottom: 12px;
        height: 115px;
        left: 12px;
        right: 12px;
        margin: 0;
        padding: 0;
        width: auto;
        max-width: none;
        z-index: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .commando-name {
        font-size: 13px;
        line-height: 17px;
        min-height: 34px;
        margin-bottom: 4px;
    }

    .commando-info {
        font-size: 11px;
        line-height: 15px;
    }
}

/* Навигационные кнопки в профиле врача */
.doctor-nav {
    border-top: 1px solid #ECF0F7;
    border-bottom: 1px solid #ECF0F7;
    padding: 22px 0;
    background-color: #FAFBFD;
}

.doctor-nav-list {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.doctor-nav-list li {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

.doctor-nav-list li a {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 170px;
    height: 48px;
    padding: 0 28px;
    border-radius: 15px !important;
    background-color: #F0F6FF;
    border: 1px solid var(--color-link) !important;
    color: var(--color-link) !important;
    font-family: var(--font-mont) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none !important;
    box-shadow: 0 2px 6px rgba(20, 121, 220, 0.08);
    transition: all .25s ease !important;
    cursor: pointer;
    box-sizing: border-box;
}

.doctor-nav-list li a:hover {
    background-color: var(--color-link) !important;
    border-color: var(--color-link) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 20px rgba(20, 121, 220, 0.3) !important;
    transform: translateY(-2px);
}

.doctor-nav-list li a:active {
    transform: translateY(0);
    box-shadow: 0 4px 10px rgba(20, 121, 220, 0.2) !important;
}

html {
    scroll-behavior: smooth;
}

#video,
#sert,
#specializaciya,
#obrazovanie,
#kvalification {
    scroll-margin-top: 120px;
}