

/* Start:/local/templates/main/styles.css?17781748518044*/
.card__buttons {
    display: flex;
    align-items: baseline;
    gap: 16px;
    flex-wrap: wrap;
}

.card__detail-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.card__detail-link:hover {
    opacity: 0.7;
    text-decoration: none;
}
.card__buttons {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.card__detail-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    padding-bottom: 10px; /* подгоняет под высоту кнопки */
}

.card__detail-link:hover {
    opacity: 0.7;
    text-decoration: none;
}.card__detail-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.card__detail-link:hover {
    opacity: 0.7;
    text-decoration: none;
}.card__detail-wrapper {
    width: 100%;
    margin-top: 8px; /* отступ от кнопки */
}

.card__detail-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.card__detail-link:hover {
    opacity: 0.7;
    text-decoration: none;
}
.card__detail-link {
    display: inline-block;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.card__detail-link:hover {
    opacity: 0.7;
    text-decoration: none;
}/*WSTD - Route start*/
html {
    scroll-behavior: smooth;
}

#route {
    display: block;
    position: relative;
    top: -134px;
    visibility: hidden;
}

@media (max-width: 767px) {
    #route {
        top: -125px;
    }
}

.wstd-route {
    position: fixed;
    left: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    width: auto;
    font-size: 16px;
    z-index: 33;
}
.wstd-route.isActive {
    top: unset;
    bottom: 60px;
}

.wstd-route__btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    position: absolute;
    top: -50px;
    cursor: pointer;
}
.wstd-route__btn:hover .wstd-route__btn-icon path,
.wstd-route__btn:hover .wstd-route__btn-title {
    color: #ffffff;
    fill: #ffffff;
}

.wstd-route__btn-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 7.5px;
    font-size: 1.5em;
    color: #fff;
    background-color: var(--c-surface-accent);
    border-radius: 50%;
    margin: 7.5px;
}
.wstd-route__btn-icon .icon{
    width: 100%;
    height: 100%;
}
.wstd-route path,
.wstd-route rect,
.wstd-route polygon {
    transition: 0.3s;
    fill: white
}
.wstd-route.isActive .wstd-route__btn {
    top: -50px;
}

.wstd-route__btn-icon.svg-inline--fa.fa-w-12 {
    width: 1.5em;
    height: 1.5em;
}
.wstd-route__btn-title {
    color: #fff;
    padding: 7.5px;
    white-space: nowrap;
    font-family: sans-serif;
    line-height: 1.2;
    background-color: var(--c-surface-accent);
    border-radius: 5px;
    font-size: 0.8em;
    margin: 0;
    font-weight: bold;
    transition: 0.3s;
}

.wstd-route__container {
    position: relative;
    width: 100%;
    min-height: 100px;
    background-color: #fff;
    display: flex;
    align-items: center;
    border: 1px solid var(--c-surface-accent);
}

.wstd-route__container_overlay::after {
    content: "Please wait...";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #333;
    color: #fff;
    /* border: 1px solid #fff; */
}

.wstd-route__maps,
.wstd-route__routes,
.wstd-route__taxi {
    width: 100%;
    display: none;
    padding: 10px 0;
    overflow-x: auto;
    overflow-y: hidden;
}
.wstd-route__maps.isActive,
.wstd-route__routes.isActive,
.wstd-route__taxi.isActive {
    display: inline-flex;
}
.wstd-route__maps-title,
.wstd-route__routes-title,
.wstd-route__taxi-title {
    text-align: center;
    color: #333;
    font-family: sans-serif;
    font-size: 0.8em;
    line-height: 1.2;
    font-weight: bold;
}

.wstd-route__maps-icon,
.wstd-route__routes-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 5px;
    margin-bottom: 10px;
    border-radius: 50%;
    background-color: var(--c-surface-accent);
    color: #fff;
}

.wstd-route__maps-icon .icon,
.wstd-route__routes-icon .icon {
    width: 60%;
    height: 60%;
}

.wstd-route__maps-icon.svg-inline--fa,
.wstd-route__routes-icon.svg-inline--fa {
    width: 2em;
    height: 2em;
    background-color: var(--c-surface-accent);
    color: #fff;
    padding: 7px;
    border-radius: 50%;
    margin-bottom: 5px;
}

.wstd-route__routes-item {
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 7.5px 0;
    margin: 0 0.5%;
    text-decoration: none;
    cursor: pointer;
}

.wstd-route__back {
    position: absolute;
    right: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    /* width: 20px; */
    height: 20px;
    padding: 3px 8px;
    cursor: pointer;
    background-color: var(--c-surface-accent);
    color: white;
    font-family: sans-serif;
    border-radius: 0 0 0 5px;
}
.wstd-route__scroll {
    position: absolute;
    left: 50%;
    bottom: 5%;
    color: #333;
    font-size: 0.8em;
    font-family: sans-serif;
    transform: translateX(-50%);
}

.isScroll > .wstd-route__routes-item {
    min-width: 28%;
}
/* height, width */
.isScroll::-webkit-scrollbar {
    height: 8px;
}
/* Track */
.isScroll::-webkit-scrollbar-track {
    background: #f1f1f1;
}
/* Handle */
.isScroll::-webkit-scrollbar-thumb {
    background: #555;
}
/* Handle on hover */
.isScroll::-webkit-scrollbar-thumb:hover {
    background: #333;
}

.content_offers .card__text {
    display: contents!important;
}

.content_doctors.block_list-slider .block--wrapper .block--header_container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

span.f-h3 {
    font-weight:  bold;
}

@media (max-width: 992px) {
    .wstd-route {
        width: 50%;
    }
    .wstd-route__btn {
        top: -120px;
    }
}
@media (max-width: 768px) {
    .wstd-route {
        width: 60%;
    }
}
@media (max-width: 640px) {
    .wstd-route {
        width: 100%;
    }
}


/* Базовые стили для UL */
.doctor-card__skills-text {
    margin-left: 0;
    padding-left: 0;
    text-align: left;
    list-style: disc;
}

/* Стили для LI общие */
.doctor-card__skills-text li {
    margin-bottom: 8px;
    line-height: 1.45;
}

/* Мобильная версия (по умолчанию) */
.doctor-card__skills-text {
    list-style-position: inside;
}

/* Десктоп версия */
@media (min-width: 768px) {
    .doctor-card__skills-text {
        list-style-position: outside;
        padding-left: 20px;
    }
}

.card__buttons {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.card__detail-link {
    display: inline-flex;
    align-items: center;
    height: 48px; /* подгоните под высоту вашей кнопки (обычно 44-52px) */
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    transition: opacity 0.2s ease;
    padding: 0;
}

/*WSTD - Route end*/

/* End */


/* Start:/local/templates/main/template_styles.css?177981142229827*/
.block--control_panel{
    z-index: 100;
    background: #fff;
    padding: 12px;
    width: fit-content;
    border: 1px dashed var(--c-text-subdued);
}

.page_action_panel {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    background: rgba(255, 255, 255, 0.6);
    padding: 8px 16px;
    box-sizing: border-box;
    box-shadow: 0 0 5px darkgrey;
}
.page_action_panel .page_action_panel--item:not(:last-of-type) {
    margin-right: 8px;
}
.page_action_panel .page_action_panel--item a {
    color: black;
    white-space: nowrap;
}
.page_action_panel .page_action_panel--item a:hover {
    opacity: 0.5;
}

.header__mobile_panel .button--booking{
    overflow: visible;
}
.header__mobile_panel .button--booking span[class^="icon-"] {
    color: #fff;
    background: var(--c-text-accent);
    border-radius: 6px;
    padding: 6px;
    font-size: 24px;
    width: 42px;
    height: 42px;
    margin-top: -12px;
}
.header__mobile_panel .button--booking {
    text-transform: uppercase;
    font-weight: 500;
}

/* Скрытие пустого блока спецпредложений */
.content_offers:has(.swiper-wrapper:empty) {
    display: none;
}

/* Смена картинок в логотипе, если цветные */
.header__logo img {
    display: none;
}
.header__logo {
    height: 64px;
    width: 180px;
    max-width: 40vw;
    margin-top: -20px;
    background-image: url('/upload/logo/logo_new.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.header-transparent .header__logo{
    background-image: url('/upload/logo/logo_new.png')
}
.header-transparent.scrolled .header__logo {
    background-image: url('/upload/logo/logo_new.png')
}

.header__top
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--g-24);
    /*background-color: rgba(58,58,58,0.8);*/
    /*backdrop-filter: blur(4px);*/
    border-bottom: 1px solid  #edeeef;
}
.header-transparent .header__top {
    backdrop-filter: blur(100px);
    border-color: transparent;
    border-bottom-color: rgba(255,255,255,.3);
}

.header__top .header__nav{
    justify-content: center;
    max-width: 100%;
    height: 40px;
    overflow-y: hidden;
    display: flex;
}

.header__messengers {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-left: auto;
    flex-shrink: 0;
    padding-right: 16px;
}
.header__messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    transition: transform .2s, opacity .2s;
}
.header__messenger-link:hover {
    transform: scale(1.15);
    opacity: .85;
}
.header__messenger-link[title="MAX"] {
    background-color: #fff;
}
.header__messenger-link[title="Telegram"] {
    background-color: #26a5e4;
}
.header__messenger-link[title="WhatsApp"] {
    background-color: #25d366;
}
.header-transparent .header__messenger-link {
    opacity: .9;
}
.header-transparent .header__messenger-link:hover {
    opacity: 1;
}

@media (max-width: 992px) {
    .header__top .header__nav{
        display: flex;
    }
}
@media (max-width: 768px) {
    .header__messengers {
        gap: 8px;
    }
    .header__messenger-link svg {
        width: 18px;
        height: 18px;
    }
}
.header{
    transition: var(--transition)
}
.header.scrolled {
    transform: translateY(-41px);
}

@media(max-width: 768px) {
    .header__top {
        max-width: 100vw;
        height: 40px;
    }
    .header__top .header__nav{
        overflow-y: hidden;
        overflow-x: auto;
        justify-content: flex-start;
        /* fix mobile header overflow: позволяем .header__nav сжиматься,
           чтобы .header__messengers не уезжали за правый край экрана.
           min-width:300px (main.css:2467) + flex-grow:1 (main.css:2470)
           перебиваются здесь. */
        min-width: 0;
        flex: 1 1 0;
    }
}


.header__main
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;

    max-width: var(--container);
    margin: 0 auto;
    padding: 14px 20px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: var(--g-24);
    position: relative;
}
@media (max-width: 992px)
{
    .header__main
    {
        max-width: 100%;
        padding: 10px 16px;

        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: start;
    }
    .header__main .header__logo
    {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }
    .header__main .header__nav
    {
        display: none;
    }
    .header__main .header__actions
    {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
        margin-left: auto;
    }
    .header__main .header__actions .header__button
    {
        display: none;
    }
    .header__main .header__actions .header__contacts span.icon-ic24-unfold-more
    {
        display: none;
    }
    .header__main .header__actions .header__contacts .header__contacts-list
    {
        display: none;
    }
}


/* Video widget */
.video_widget{
    position: fixed;
    bottom: var(--g-content, 40px);
    left: var(--g-content, 40px);
    justify-self: start;
    border: 3px solid #fff;
    transition:  0.18s ease-in-out;
    transform: scale(0.8);
    transform-origin: bottom left;
    max-width: 164px;
    aspect-ratio: 124 / 189;
    height: auto;
    overflow: hidden;
    cursor: pointer;
    z-index: 100;
    border-radius: 16px;
    box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.04), 0px 8px 16px 0px rgba(0,0,0,0.08);
    background: rgba(0,0,0,0.3);
}
@media(max-width: 768px) {
    .video_widget{
        bottom: 72px;
        left: 12px;
    }
}
.video_widget:not(.is_active):hover {
    border-color:  var(--c-surface-accent);
    transform: scale(1);
}
.video_widget.is_active {
    max-width: 312px;
    width: 312px;
    border-color:  var(--c-surface-accent);
    transform: scale(1);
}

.video-controls--volume,
.video_widget--close{
    border-radius: 50%;
    width: 42px;
    height: 42px;
    background-color: rgba(0,0,0,0.4);
    color: #fff;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: absolute;
    transform-origin: center;
    transform: scale(1);
    transition: var(--transition);
}
.video-controls--volume:hover,
.video-controls--volume:active,
.video_widget--close:active,
.video_widget--close:hover{
    transform: scale(1.1);
}
.video_widget--close{
    top: 6px;
    right: 4px;
    opacity: 0;
}
@media(max-width: 768px){
    .video_widget--close{
        opacity: 1;
    }
}
.video_widget:not(.is_active):hover .video_widget--close,
.video_widget.is_active .video_widget--close{
    opacity: 1;
}
.video-controls--volume{
    top: 52px;
    right: 4px;
    opacity: 0;
}
.video-controls--volume span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: var(--transition);
}
.video-controls--volume .icon-ic24-volume-off{
    opacity: 0;
}
.video-controls--volume.is_not_muted .icon-ic24-volume-off{
    opacity: 1;
}
.video-controls--volume.is_not_muted .icon-ic24-volume-mid{
    opacity: 0;
}
.video-controls video{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}
video[poster]{ object-fit:cover; }
.video-controls {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
    cursor: pointer;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.video_widget.is_active .video-controls {
    pointer-events: all;
}

.video_widget.is_active .video-controls--volume,
.video_widget.is_active .video-controls--progress {
    opacity: 1;
}

.video-controls--progress {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 4px;
    --progress-bg: rgba(255,255,255,0.6);
    --progress-line: var(--c-surface-accent);
    background-color: var(--progress-bg);
    transition: 0.18s ease-in;
    opacity: 0;
}
@media(max-width: 768px){
    .video-controls--progress {
        opacity: 1;
    }
}
.video-controls--progress span {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: block;
    width: 0;
    background-color: var(--progress-line);
}
.video-controls--play {
    position: absolute;
    top: calc(50% - 32px);
    left: calc(50% - 32px);
    transition: var(--transition);
    border-radius: 50%;
    width: 64px;
    height: 64px;
    background-color: rgba(0,0,0,0.2);
    color: #fff;
    opacity: 0;
    transform-origin: center;
    pointer-events: none;
}
.video_widget.is_active .video-controls--play.is_paused {
    opacity: 1;
}
.video_widget.is_active .video-controls--play.is_paused.is_ended {
    opacity: 1 !important;
}
.video-controls--play .icon-ic24-play,
.video-controls--play .icon-ic24-pause{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 24px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.video-controls--play.is_playing .icon-ic24-play{
   opacity: 0;
}
.video-controls--play.is_playing .icon-ic24-pause{
    opacity: 1;
}
.video-controls--play.is_paused .icon-ic24-play{
   opacity: 1;
}
.video-controls--play.is_paused .icon-ic24-pause{
    opacity: 0;
}

@keyframes pauseVideo {
    0% {
        opacity: 0;
        scale: 1;
    }
    30% {
        opacity: 100%;
        scale: 2;
    }
    100% {
        opacity: 0;
        scale: 1;
    }
}

.video-controls--button {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    opacity: 0;
    transition: var(--transition);
}
.video-controls--button span{
    max-width: 220px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.video_widget.is_active .video-controls--button.is_shown {
    opacity: 1;
}
.video-controls--timer{
    font-size: 12px;
    color: #fff;
    width: 24px;
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    opacity: 0;
    transition: var(--transition);
}
.video_widget.is_active .video-controls--timer {
    opacity: 1;
}

/* Выпадающие списки в хедере */
.is_dropdown--content span.icon-ic24-chevron-down {
    transform: rotate(-90deg);
}
.is_dropdown--content .button {
    width: 100%;
    justify-content: space-between;
    border-radius: var(--border-corner);
    max-width: 224px;
}
.is_dropdown .is_dropdown--content .button span{

    text-overflow: ellipsis;
    overflow: hidden;
}
.header__nav--item:hover > .button.button-link,
.header__nav--item:focus > .button.button-link,
.header__nav--item:focus-within > .button.button-link,
.header__nav--item:active > .button.button-link {
    color: var(--link-c-hover);
}
.is_dropdown--content .button.button-link,
.is_dropdown--content .button.button-link,
.is_dropdown--content .button.button-link {
    color: var(--c-text-dark) !important;
}

.is_dropdown--content .button-link:focus,
.is_dropdown--content .button-link:active,
.is_dropdown--content .button-link:hover{
    background: var(--c-surface-subdued-hovered);
}
.is_dropdown--content {
    scrollbar-width: thin;
    scrollbar-color: rgba(193, 193, 193, 1) #ffffff;
}
.is_dropdown--content::-webkit-scrollbar {
    width: 4px;
    height: 4px;
}
.is_dropdown--content::-webkit-scrollbar-track {
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.1);
}
.is_dropdown--content::-webkit-scrollbar-thumb{
    background-color: rgba(193, 193, 193, 1);
    border-radius: 4px
}
.is_dropdown--content::-webkit-scrollbar-button {
    background-color: transparent;
    height: 0;
}
.header__nav--item:hover > .is_dropdown--wrapper {
    display: flex;
    opacity: 1;
    pointer-events: all;
}
.header__nav--item .is_dropdown--wrapper {
    pointer-events: none;
    opacity: 0;
    display: none;
    padding-left: 8px;
    padding-top: 8px;
    position: absolute;
}
.is_dropdown--wrapper .header__nav--item{
    padding-left: 4px;
    padding-right: 4px;
}
.header__nav--item > .is_dropdown--wrapper {
    top: 100%;
    left: 0;
}
.header__nav--item .is_dropdown--content
{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-direction: column;

    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    gap: 4px;
    background-color: #fff;
    border-radius: var(--border-corner);
    border: 1px solid var(--Border-Subdued, #F5F4F4);
    box-shadow: 0px 3px 6px -3px rgba(23, 24, 24, 0.08), 0px 8px 20px -4px rgba(23, 24, 24, 0.12);
    padding-top: 4px;
    padding-bottom: 4px;
}
.header__nav--item > .is_dropdown--wrapper .is_dropdown--wrapper {
    top: 0;
    left: calc(100% - 2px);
    height: 100%;
}
.header__nav--item > .is_dropdown--wrapper .is_dropdown--wrapper .is_dropdown--content {
    height: 100%;
    overflow-y: auto;
}

.header__nav > .header__nav--item {
    position: relative;
}
.js-gallerySwiper {
    overflow: hidden;
}
.-gallery-3 .gallery.js-gallerySwiper .gallery--item {
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    flex-grow: 0;
}
@media(min-width: 640px){
    .-gallery-3 .gallery.js-gallerySwiper .gallery--item {
        min-width: auto;
    }
}

.content_doctors .card--buttons .button {
    flex-grow: 1;
}
.content_doctors .card .card--content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.content_doctors .card .card--text {
    margin-bottom: var(--g-elements);
}
.content_doctors .card--buttons {
    margin-top: auto;
}

/* Видео-отзывы */
.content_video_review .card{

}
.content_video_review .card::before {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    content: '';
    -webkit-transition: var(--transition);
    -o-transition: var(--transition);
    transition: var(--transition);
    opacity: 0;
    background: rgba(0, 0, 0, .35);
}
.content_video_review .card:hover:before {
    opacity: 1;
}
.content_video_review .card .card__content {
    position: relative;
    z-index: 3;
    padding: var(--g-elements);
}
.content_video_review .card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: auto;
    width: 100%;
    border-radius: var(--border-corner);
    aspect-ratio: 1 / 1;
    max-height: 400px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    cursor: pointer;
}
.content_video_review .card .card__image::after {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    display: block;
    width: 100%;
    height: 40%;
    content: '';
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, .35)));
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, .35) 100%);
}
.content_video_review .card::after {
    content: "\e9b7";
    font-family: 'icomoon' !important;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    opacity: 0.5;
    transition: var(--transition);
    z-index: 3;
}
.content_video_review .card:hover::after{
    opacity: 1;
}
.content_video_review .card .card__image {
    position: absolute;
    z-index: 1;
    width: 100%;
    height: 100%;
    -o-object-position: center;
    object-position: center;
    -o-object-fit: cover;
    object-fit: cover;
}
.content_video_review .card .card__content .card__title {
    font-size: var(--fs-20);
    font-weight: 500;
    color: var(--c-text-white);
}

.content_video_review .card .card__content .card__text {
    color: var(--c-text-white);
    margin-top: 8px;
}

/* Блок основателей */
.block_founders-intro {
    background: #fff;
    overflow: hidden;
}
.founders-intro {
    display: flex;
    align-items: center;
    max-width: var(--container);
    margin: 0 auto;
    gap: clamp(32px, 5vw, 80px);
    justify-content: space-between;
}
.founders-intro__image {
    flex: 0 0 auto;
    width: 45%;
    max-width: 540px;
    text-align: center;
}
.founders-intro__image img {
    display: block;
    width: 100%;
    height: auto;
    background-color: var(--c-surface-primary);
    border-radius: var(--border-corner, 4px);
}
.founders-intro__content {
    flex: 1;
    padding: clamp(32px, 5vw, 64px) 0;
    max-width: 640px;
}
.founders-intro__text .f-h2 {
    line-height: 1.25;
    color: var(--c-text-dark, #202e2c);
    margin: 0 0 20px;
}
.founders-intro__text p {
    font-size: var(--fs-18);
    line-height: 1.65;
    color: var(--c-text-subdued, #555);
    margin: 0 0 16px;
}
.founders-intro__text p:last-child {
    margin-bottom: 0;
}
.founders-intro__regards {
    font-weight: 600;
    color: var(--c-text-dark, #202e2c) !important;
    font-size: var(--fs-20) !important;
    margin-top: 24px !important;
}
.founders-intro__names {
    display: flex;
    justify-content: center;
    gap: clamp(24px, 4vw, 56px);
    margin-top: 20px;
}
.founders-intro__names span {
    font-size: var(--fs-24);
    font-weight: 500;
    color: var(--c-text-dark, #202e2c);
}
.founders-intro__caption {
    margin-top: 10px;
    font-size: clamp(20px, 2vw, 24px);
    line-height: 1.2;
    text-align: center;
    color: var(--c-text-dark, #202e2c);
}
@media (max-width: 768px) {
    .founders-intro {
        flex-direction: column;
        gap: 0;
    }
    .founders-intro__image {
        width: 100%;
        max-width: 100%;
    }
    .founders-intro__content {
        padding: 32px 16px 40px;
    }
    .founders-intro__names {
        gap: 16px;
        flex-wrap: wrap;
    }
    .founders-intro__names span {
        font-size: var(--fs-20);
    }
    .founders-intro__caption {
        font-size: var(--fs-20);
    }
}
/* Fix: scroll возвращает к CTA-инпутам при фокусе.
   Причина: header при скролле меняет высоту (класс .scrolled),
   и браузер использует focused input как scroll anchor.
   Отключаем якорение на CTA-формах и их инпутах. */
.csp-cta-side,
.csp-cta-side__input,
.csp-cta-side__input-wrap,
.csp-cta-final,
.csp-cta-final__input,
.csp-cta-final__input-wrap,
.csp-content__aside {
    overflow-anchor: none;
}

/* ===== Direction-страницы взрослых услуг — hero (no_media banner) + карточки услуг ===== */
/* Hero — full-width, на своём месте (после хедера), вертикальный градиент бел→navy. */
.block_banner.banner-no_media.banner-hero {
    background: linear-gradient(180deg, #ffffff 0%, #032852 100%);
    border-radius: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 80px 24px;
    min-height: 420px;
    color: #fff;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.block_banner.banner-no_media.banner-hero .block--wrapper {
    max-width: 1360px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}
.block_banner.banner-no_media.banner-hero .banner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 24px;
}
.block_banner.banner-no_media.banner-hero .block--head {
    align-items: center;
    text-align: center;
    color: #fff;
}
.block_banner.banner-no_media.banner-hero .block--head_title { text-align: center; }
.block_banner.banner-no_media.banner-hero .block--head_title h1 {
    color: #fff !important;
    text-align: center;
    margin: 0 auto;
}
/* Декор «полукруги» и dark-overlays — все скрываем */
.block_banner.banner-no_media.banner-hero .block--content { display: none; }
.block_banner.banner-no_media.banner-hero .block--head:before { display: none; }
.block_banner.banner-no_media.banner-hero .block--head:after { display: none; }
.block_banner.banner-no_media.banner-hero .banner:before,
.block_banner.banner-no_media.banner-hero .banner:after { display: none; }
.block_banner.banner-no_media.banner-hero .block--actions { justify-content: center; }
.block_banner.banner-no_media.banner-hero .block--actions .button.button-accent {
    --c-surface-accent: #fff;
    --c-surface-accent-hovered: #e7eef7;
    color: #032852;
}

/* Карточки услуг направления — navy gradient, без картинок, без иконки-стрелки */
[class*="vsp-dir-cards--"] .card { background: linear-gradient(127deg, #032852 24%, #1B4C7C 100%); }
[class*="vsp-dir-cards--"] .card .card__image { display: none !important; }
[class*="vsp-dir-cards--"] .card:before { display: none !important; }
[class*="vsp-dir-cards--"] .card:after { display: none !important; }
[class*="vsp-dir-cards--"] .card .card__title { color: #fff; }
[class*="vsp-dir-cards--"] .card .card__content { padding: 28px; z-index: 3; position: relative; }

/* Лого — белая SVG-версия на direction- и detail-pages взрослых услуг */
body:has(.block_banner.banner-no_media.banner-hero) .header__logo,
body:has(section.vsp-page) .header__logo {
    background-image: url(/upload/medialibrary/452/aspvd9y800fhl7v6nwezebjz3lsptmow.svg) !important;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .block_banner.banner-no_media.banner-hero { padding: 56px 16px; min-height: 320px; }
}

/* Override base banner-hero alignment for no_media variant — центрируем по вертикали */
.block_banner.banner-no_media.banner-hero .banner {
    padding: 0 !important;
    place-items: center !important;
    place-content: center !important;
    min-height: 380px;
}
.block_banner.banner-no_media.banner-hero .block--head {
    align-items: center !important;
    justify-content: center !important;
    max-width: none !important;
    text-align: center;
}
.block_banner.banner-no_media.banner-hero .block--header_container {
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}


/* ===== Кнопка «Записаться» в шапке — тёмно-синяя (#032852) в шапке и в попапах на страницах взрослых направлений и услуг =====
   Маркеры:
     - section.vsp-page — корневая секция бланков vsp_service_page и vsp_direction_page
       (есть на всех взрослых страницах услуг и страницах направлений, где подключён бланк);
     - section.vsp-dir-cards--<code> — блок-карточек на страницах направлений,
       где новый бланк vsp_direction_page ещё не подключён, но дизайн уже взрослый. */
body:has(section.vsp-page)                  :is(.header__button, .popup) .button.button-filled.button-accent,
body:has(section[class*="vsp-dir-cards--"]) :is(.header__button, .popup) .button.button-filled.button-accent {
    --filled-bgc-base:  #032852;
    --filled-bc-base:   #032852;
    --filled-bgc-hover: #021c3a;
    --filled-bc-hover:  #021c3a;
}


/* ===== Шапка: уплотняем верхнее меню, чтобы пункт «Контакты» помещался =====
   В main.css базовый padding пунктов меню — 12px 16px; на 1366–1536px этого
   слишком много, и крайний пункт «Контакты» уходит в overflow («…»).
   Уменьшаем горизонтальный padding до 10px только на desktop. */
@media (min-width: 993px) {
    .header__main .header__nav .button {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* На ноутбучных разрешениях (≤1366px) меню всё ещё не помещается рядом
   с телефоном — пункт «Контакты» наезжает на номер. Сжимаем сильнее:
   уменьшаем gap между логотипом/меню/действиями и доп. ужимаем padding
   и отступ chevron-иконки у dropdown-пунктов. */
@media (min-width: 993px) and (max-width: 1366px) {
    .header__main {
        gap: 10px;
        padding-left: 14px;
        padding-right: 14px;
    }
    .header__main .header__nav .button {
        padding-left: 4px;
        padding-right: 4px;
    }
    .header__main .header__nav .button > span + span.icon-ic24-chevron-down {
        margin-left: 0;
    }
}

/* На узких ноутбуках (≤1280px) меню всё ещё налегает на блок телефона.
   Ужимаем максимально, без уменьшения шрифта и без скрытия пунктов:
   - gap header__main → 6, боковой padding header → 10
   - padding кнопок меню → 2
   - chevron-иконка скрыта (на широком dropdown всё равно открывается по hover)
   - nav может сжиматься, остальное (logo, actions) — нет */
@media (min-width: 993px) and (max-width: 1280px) {
    .header__main {
        gap: 6px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .header__main .header__logo,
    .header__main .header__actions {
        flex-shrink: 0;
    }
    .header__main .header__nav {
        min-width: 0;
        flex-shrink: 1;
    }
    .header__main .header__nav .button {
        padding-left: 2px;
        padding-right: 2px;
    }
    .header__main .header__nav .button > span + span.icon-ic24-chevron-down {
        display: none;
    }
}

/* ============================================================
   Карточка «Гарантия качества — от основателей BAMBINO»
   в правой колонке .founders-intro__image на главной.
   Вёрстка перенесена из шаблона csp-benefits (_preview/vzroslye-uslugi/),
   но scope-ится под .founders-intro__image чтобы не пересекаться
   с препродом, когда тот зайдёт в прод.
   Карточка адаптируется к ширине колонки через aspect-ratio.
   ============================================================ */
.founders-intro__image .csp-benefits__card {
    position: relative;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 525 / 304;
    margin: 0 auto;
    background: linear-gradient(88.1deg, #163D64 1.04%, #0E253D 106.35%);
    border-radius: 35px;
    overflow: hidden;
    font-family: 'GeneralText', 'Nunito Sans', sans-serif;
    color: #fff;
    text-align: left;
}
.founders-intro__image .csp-benefits__content {
    position: absolute;
    left: 6.46%;
    top: 8.55%;
    right: 7.27%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.founders-intro__image .csp-benefits__card-title {
    margin: 0;
    font-family: 'TitleText', 'Nunito Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #fff;
}
.founders-intro__image .csp-benefits__card-text {
    margin: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 1.4;
    letter-spacing: -0.02em;
    color: #fff;
}
.founders-intro__image .csp-benefits__photo,
.founders-intro__image .csp-benefits__photo-bg {
    pointer-events: none;
}
.founders-intro__image .csp-benefits__photo {
    position: absolute;
    right: var(--photo-right, 0);
    bottom: var(--photo-bottom, 0);
    width: var(--photo-w, 260px);
    height: var(--photo-h, 280px);
    z-index: 1;
}
.founders-intro__image .csp-benefits__photo-bg {
    position: absolute;
    right: var(--photo-bg-right, -22px);
    bottom: var(--photo-bg-bottom, -6px);
    width: var(--photo-bg-w, calc(var(--photo-w, 260px) + 30px));
    height: var(--photo-bg-h, calc(var(--photo-h, 280px) + 12px));
    z-index: 0;
}
.founders-intro__image .csp-benefits__photo-bg img,
.founders-intro__image .csp-benefits__photo-bg svg {
    width: 100%;
    height: 100%;
    display: block;
    background-color: transparent;
    border-radius: 0;
}
.founders-intro__image .csp-benefits__photo img {
    width: 100%;
    height: 100%;
    object-fit: var(--photo-fit, contain);
    object-position: var(--photo-pos, right bottom);
    display: block;
    background-color: transparent;
    border-radius: 0;
}
@media (max-width: 768px) {
    .founders-intro__image .csp-benefits__card-title { font-size: 18px; }
    .founders-intro__image .csp-benefits__card-text { font-size: 15px; }
    .founders-intro__image .csp-benefits__content { gap: 12px; }
}

/* End */
/* /local/templates/main/styles.css?17781748518044 */
/* /local/templates/main/template_styles.css?177981142229827 */
