.clinic__bg {
    display: none;
}
.clinic {
    background: #ebf5ff;
    padding-top: 150px;
    padding-bottom: 180px;
}
.clinic__container {
}
.container {
}
.clinic__wrapper {
    display: flex;
    justify-content: space-between;
}
.clinic__media {
    width: 36%;
}
.clinic__featured-img {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    aspect-ratio: 20/21;
    border-radius: 30px;
    object-fit: cover;
}
.img-fluid {
}
.rounded {
}
.clinic__content {
    border-radius: 30px;
    width: 60%;
    padding: 40px;
    background: #fff;
}
.clinic__header {
}
.clinic__info {
    margin-bottom: 46px;
}
.clinic__name {
    color: #28314d;
    font-size: 52px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 62.4px */
    text-transform: uppercase;
}
.clinic__description {
    color: #7d8394;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
}
.clinic__logo {
    display: none;
}
.clinic__logo-img {
}
.clinic__contacts {
    padding: 0;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    gap: 17px;
    margin-bottom: 28px;
}
.clinic__contact {
    display: flex;
    align-items: center;
    gap: 21px;
}
.clinic__contact--address {
}
.clinic__icon {
    width: 18px;
}
.clinic__contact-text {
    color: #28314d !important;
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 140%; /* 22.4px */
}
.clinic__contact--metro {
}
.clinic__contact--phone {
}
.clinic__contact-link {
    text-decoration: none;
    color: inherit;
}
.clinic__footer {
    display: flex;
    justify-content: space-between;
    align-items: end;
}
.clinic__schedule {
}
.clinic__schedule-title {
    color: #28314d;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    margin-bottom: 11px;
}
.clinic__schedule-table {
}
.clinic__schedule-row {
}
.clinic__schedule-day {
    color: #7d8394;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 18px */
    padding-right: 13px;
}
.clinic__schedule-time {
    color: #28314d;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    line-height: 150%; /* 18px */
}
.clinic__directions {
}
.clinic__directions-link {
    border-radius: 50px;
    background: #c9e3ff;
    color: #28314d;
}
.clinic__directions-link .btn-arrow__text {
    color: #28314d;
}
.clinic__directions-link:hover {
    background: #c9e3ff !important;
    color: #28314d !important;
    box-shadow: 0 4px 24px 0 rgba(40, 49, 77, 0.1);
}
.clinic__directions-link:hover {
    background: #28314d;
}

.clinic-white {
    background-color: #fff;
    border-radius: 100px 100px 0 0;
    overflow: hidden;
    margin-top: -100px;
    position: relative;
    z-index: 1;
}

/* Promotions */
.clinic-promotions {
    background-color: #fff;
    border-radius: 100px 100px 0 0;
    padding-top: 100px;
    margin-bottom: 100px;
}
.clinic-promotions .container {
    position: relative;
}
.clinic-promotions__header {
}
.clinic-promotions__title {
    color: #28314d;
    font-size: 52px;
    font-style: normal;
    font-weight: 600;
    line-height: 120%; /* 62.4px */
    text-transform: uppercase;
    margin-bottom: 60px;
}
.clinic-promotions__nav {
    display: flex;
    gap: 12px;
    justify-content: end;
    position: absolute;
    top: 15px;
    right: 0;
}
.clinic-promotions__nav-btn {
    border: none;
    padding: 0;
    margin: 0;
    background-color: inherit;
}
.clinic__excerpt {
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #7d8394;
}
.clinic-promotions__nav-btn--prev {
}
.clinic-promotions__nav-btn--next {
}
.swiper {
}
.clinic-promotions__slider {
}
.swiper-wrapper {
}
.swiper-slide {
}
.promotion-card {
}
.promotion-card__image {
    margin-bottom: 27px;
}
.promotion-card__image img {
    width: 100%;
    height: 349px;
    border-radius: 25px;
    object-fit: cover;
}
.promotion-card__content {
}
.promotion-card__title {
    color: #28314d;
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%; /* 24px */
    margin: 0;
}

/* Promotions - page-new-single-clinic unique */
.sc-promotions {
    background-color: #fff;
    border-radius: 100px 100px 0 0;
    padding-top: 100px;
    margin-bottom: 100px;
}

.sc-promotions .container {
    position: relative;
}

.sc-promotions__title {
    color: #28314d;
    font-size: 26px;
    font-style: normal;
    font-weight: 700;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.sc-promotions__nav {
    display: flex;
    gap: 12px;
    justify-content: end;
    position: absolute;
    top: 15px;
    right: 20px;
}

.sc-promotions__nav-btn {
    border: none;
    padding: 0;
    margin: 0;
    background-color: inherit;
}

.sc-promotions__slider {
    width: 100%;
}

.sc-promotions__pagination {
    display: none;
}

.sc-promotions__slide {
    height: auto;
}

.sc-promotion-card {
    width: 100%;
    height: auto;
}

.sc-promotion-card__image {
    margin-bottom: 20px;
    width: 100%;
    height: 284px;
}

.sc-promotion-card__image img {
    width: 100%;
    height: 100%;
    border-radius: 25px;
    object-fit: cover;
}

.sc-promotion-card__content {
    display: block;
}

.sc-promotion-card__title {
    color: #141414;
    font-family: Montserrat, sans-serif;
    text-align: center;
    font-size: 14px;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    margin: 0;
}

@media (max-width: 768px) {
    .clinic-promotions__title {
        font-size: 20px;
        margin-bottom: 22px;
    }
    .clinic-promotions__nav-btn svg {
        width: 28px;
        height: 28px;
    }
    .clinic-promotions__nav {
        top: 0;
        gap: 8px;
    }
    .promotion-card__image {
        aspect-ratio: 129 / 225;
        margin-bottom: 10px;
    }
    .promotion-card__image img {
        aspect-ratio: 129 / 225;
        height: 100%;
    }
    .promotion-card__title {
        font-size: 12px;
        line-height: 130%;
    }
    .sc-promotions__title {
        font-size: 20px;
        margin-bottom: 22px;
        text-align: center;
    }
    .sc-promotions__nav-btn svg {
        width: 28px;
        height: 28px;
    }
    .sc-promotions__nav {
        display: none;
        top: 0;
        gap: 8px;
    }
    .sc-promotions__pagination {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-top: 20px;
    }
    .sc-promotions__pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        margin: 0 !important;
        border-radius: 50%;
        background: rgba(40, 49, 77, 0.3);
        opacity: 1;
    }
    .sc-promotions__pagination .swiper-pagination-bullet-active {
        background: #28314d;
    }
    .sc-promotions__slide {
        width: auto;
    }
    .sc-promotion-card {
        width: auto;
        height: auto;
    }
    .sc-promotion-card__image {
        aspect-ratio: 129 / 225;
        margin-bottom: 10px;
        width: auto;
        height: auto;
    }
    .sc-promotion-card__image img {
        aspect-ratio: 129 / 225;
        height: 100%;
    }
    .sc-promotions__slider {
        width: 100%;
    }
    .sc-promotion-card__content {
        display: block;
    }
    .sc-promotion-card__title {
        font-size: 12px;
        line-height: 130%;
    }
    .sc-promotions__header {
        position: relative;
    }
    .clinic-promotions__header {
        position: relative;
    }
    .clinic-white {
        border-radius: 0;
        background-color: #fff0;
        margin-top: 0;
    }
    .clinic-promotions {
        border-radius: 40px;
        background: #ebf5ff;
        margin: 0;
        padding: 30px 0;
        margin-bottom: 80px;
    }
    .sc-promotions {
        border-radius: 40px;
        background: #ebf5ff;
        margin: 0;
        padding: 30px 0;
        margin-bottom: 80px;
    }
    .clinic__wrapper {
        flex-direction: column;
    }
    .clinic__media {
        display: none;
    }
    .clinic__content {
        width: 100%;
        padding: 0;
        border-radius: 0;
        background: inherit;
    }
    .clinic__name {
        font-size: 20px;
        line-height: 150%; /* 30px */
        margin-bottom: 5px;
    }
    .clinic__excerpt {
        font-size: 11px;
        line-height: 150%;
    }
    .clinic__info {
        margin-bottom: 10px;
        width: 50%;
    }
    .clinic__header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 10px;
    }
    .clinic__logo {
        display: flex;
    }
    .clinic__logo img {
        width: 80px;
        height: 80px;
        border-radius: 20px;
    }
    .clinic__contacts {
        gap: 7px;
        margin-bottom: 19px;
    }
    .clinic__contact-text {
        font-size: 14px;
        line-height: 140%;
    }
    .clinic__icon {
        width: 14px;
    }
    .clinic__contact {
        gap: 12px;
    }
    .clinic__footer {
        flex-direction: column-reverse;
        justify-content: start;
        align-items: start;
        gap: 13px;
    }
    .clinic__schedule {
        padding: 14px 22px;
        border-radius: 25px;
        background: #ebf5ff;
    }
    .clinic {
        background-color: #fff0;
        padding: 100px 0 40px;
    }
    .clinic__schedule-title {
        margin-bottom: 8px;
        font-size: 14px;
        line-height: 150%; /* 21px */
    }
    .clinic__bg {
        display: flex;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 200px;
        background: linear-gradient(180deg, #c4e2ff 0%, rgba(255, 255, 255, 0) 100%);
        z-index: -1;
    }
    .clinic-promotions__slider {
        width: 95vw;
    }
    .sc-promotions__slider {
        width: 95vw;
    }
}

/* ===========================================
   Блок: Профиль клиники (страница одной новой клиники)
   BEM: sc-profile
   =========================================== */

.sc-profile {
    padding-top: 150px;
    padding-bottom: 180px;
    background-color: #ebf5ff;
    position: relative;
}

.sc-profile__bg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 340px;
    background: linear-gradient(180deg, #c4e2ff 0%, rgba(255, 255, 255, 0) 100%);
    z-index: -1;
}

/* --- Внутренняя обёртка --- */

.sc-profile__inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* --- Фото клиники --- */

.sc-profile__media {
    flex-shrink: 0;
    width: 420px;
    height: 335px;
    border-radius: 30px;
    overflow: hidden;
}

.sc-profile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Карточка с информацией --- */

.sc-profile__card {
    flex: 1;
    background: #fff;
    border-radius: 30px;
    padding: 20px 38px 26px 40px;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

/* --- Тело: заголовок + контакты --- */

.sc-profile__body {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* --- Заголовок --- */

.sc-profile__title-block {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-profile__title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.sc-profile__title-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sc-profile__thumb {
    display: none;
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 20px;
    object-fit: cover;
}

.sc-profile__name {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.7;
    text-transform: uppercase;
    color: #28314d;
    margin: 0;
}

.sc-profile__type {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: rgba(40, 49, 77, 0.7);
    margin: 0;
}

/* --- Контакты --- */

.sc-profile__contacts {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.sc-profile__contact {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sc-profile__contact-icon {
    flex-shrink: 0;
}

.sc-profile__contact-text {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.1;
    color: #28314d;
}

/* --- Подвал: расписание + кнопка --- */

.sc-profile__footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

/* --- Расписание --- */

.sc-profile__schedule-title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    margin: 0 0 10px;
}

.sc-profile__schedule-table {
    border-collapse: collapse;
    width: 145px;
}

.sc-profile__schedule-day {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 12px;
    line-height: 1.5;
    color: #7d8394;
    padding-right: 20px;
    white-space: nowrap;
}

.sc-profile__schedule-time {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 1.5;
    color: #28314d;
    text-align: right;
}

/* --- Кнопка --- */

.sc-profile__btn {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    height: 38px;
    padding: 5px 5px 5px 20px;
    border-radius: 20px;
    background: #28314d;
    text-decoration: none;
    transition: background 0.2s ease;
}

.sc-profile__btn:hover {
    background: #3d4a6a;
}

.sc-profile__btn-text {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #fdffff;
    white-space: nowrap;
}

.sc-profile__btn-arrow {
    flex-shrink: 0;
    display: block;
    width: 28px;
    height: 28px;
}

/* ===========================================
   sc-profile — мобильные стили (≤ 768px)
   =========================================== */

@media (max-width: 768px) {
    .sc-profile {
        padding-top: 100px;
        padding-bottom: 50px;
        background-color: transparent;
    }

    .sc-profile__bg {
        display: block;
    }

    .sc-profile__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .sc-profile__media {
        display: none;
    }

    .sc-profile__thumb {
        display: block;
    }

    .sc-profile__card {
        background: transparent;
        border-radius: 0;
        padding: 0;
        gap: 20px;
    }

    .sc-profile__body {
        gap: 25px;
    }

    .sc-profile__name {
        font-size: 20px;
    }

    .sc-profile__footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    /* На мобайл кнопка идёт первой */
    .sc-profile__btn {
        order: -1;
        background: #5d72b7;
    }

    .sc-profile__btn:hover {
        background: #4c61a5;
    }

    /* Расписание — карточка с голубым фоном */
    .sc-profile__schedule {
        background: #ebf5ff;
        border-radius: 15px;
        padding: 10px 20px;
    }

    .sc-profile__schedule-title {
        margin-bottom: 10px;
    }
}

/* ===========================================
   Блок: Услуги со скидками
   BEM: sc-discounts
   =========================================== */

.sc-discounts {
    padding-bottom: 100px;
}

.sc-discounts__wrap {
    display: flex;
    flex-direction: column;
    gap: 29px;
}

.sc-discounts__title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 26px;
    line-height: 1.2;
    color: #28314d;
    text-transform: uppercase;
    margin: 0;
}

/* --- Список --- */

.sc-discounts__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #ebf5ff;
    border-radius: 15px;
    padding: 10px;
}

/* --- Строка: белая плашка + кнопка рядом --- */

.sc-discounts__row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.sc-discounts__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex: 1;
    background: #fcfeff;
    border-radius: 15px;
    padding: 8px 20px;
    min-height: 40px;
    box-sizing: border-box;
}

.sc-discounts__name {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    flex: 0 0 283px;
    width: 283px;
}

.sc-discounts__item-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex: 1;
}

/* --- Блок с ценами --- */

.sc-discounts__price-group {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-shrink: 0;
    margin-left: auto;
}

.sc-discounts__badge {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sc-discounts__fire {
    display: block;
    flex-shrink: 0;
}

.sc-discounts__percent {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #ff426c;
    white-space: nowrap;
    min-width: 40px;
}

.sc-discounts__price {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    min-width: 70px;
    white-space: nowrap;
}

.sc-discounts__price--old {
    text-decoration: line-through;
    text-decoration-skip-ink: none;
    text-align: end;
}

/* --- Кнопка Записаться --- */

.sc-discounts__signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 40px;
    border: 2px solid #5d72b7;
    border-radius: 90px;
    color: #5d72b7;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        background 0.2s ease,
        color 0.2s ease;
    box-sizing: border-box;
}

.sc-discounts__signup--mobile {
    display: none;
}

.sc-discounts__signup:hover {
    background: #5d72b7;
    color: #fff;
}

/* --- Подвал: кнопка "показать ещё" --- */

.sc-discounts__footer {
    display: flex;
    justify-content: center;
}

.sc-discounts__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 12px 25px;
    border: 2px solid #5d72b7;
    border-radius: 90px;
    color: #5d72b7;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sc-discounts__more:hover {
    background: #5d72b7;
    color: #fff;
}

/* ===========================================
   clinic page — tablet styles (769px–1200px)
   =========================================== */

@media (max-width: 1200px) and (min-width: 769px) {
    .sc-profile {
        padding-top: 120px;
        padding-bottom: 120px;
    }

    .sc-profile__inner {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .sc-profile__media {
        width: 100%;
        height: auto;
        aspect-ratio: 20 / 11;
    }

    .sc-profile__card {
        padding: 24px 28px;
    }

    .sc-discounts__title {
        font-size: 22px;
        line-height: 1.3;
    }

    .sc-discounts__name {
        flex: 1;
        width: auto;
        min-width: 0;
    }

    .sc-discounts__price-group {
        gap: 18px;
    }

    .sc-discounts__signup--desktop {
        width: 132px;
    }

    .sc-services__tabs {
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 24px;
    }

    .sc-services__tab {
        height: 42px;
        padding: 10px 22px;
    }

    .sc-services__search {
        margin-bottom: 24px;
    }

    .sc-services__search-field {
        height: 48px;
    }

    .sc-services__search-btn {
        padding: 0 18px;
        font-size: 13px;
    }

    .sc-services__body {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .sc-services__sidebar {
        flex: 0 0 260px;
        width: 260px;
        padding: 18px 14px;
    }

    .sc-services__sidebar-title {
        padding-left: 0;
        margin-bottom: 14px;
        font-size: 18px;
    }

    .sc-services__categories {
        display: flex;
        flex-direction: column;
        column-gap: 0;
    }

    .sc-services__category {
        padding: 6px 8px;
    }

    .sc-services__category-name,
    .sc-services__category-price {
        font-size: 13px;
    }

    .sc-services__main {
        width: auto;
        flex: 1;
        min-width: 0;
    }

    .sc-services__list {
        gap: 8px;
        padding: 8px;
        padding-bottom: 70px;
    }

    .sc-services__row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) 110px;
        align-items: stretch;
        gap: 8px;
    }

    .sc-services__item {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        min-width: 0;
        padding: 8px 12px;
        gap: 10px;
    }

    .sc-services__name {
        font-size: 13px;
    }

    .sc-services__price-group {
        gap: 8px;
        margin-left: auto;
        justify-content: flex-end;
    }

    .sc-services__discount {
        gap: 4px;
    }

    .sc-services__fire {
        width: 18px;
        height: 18px;
    }

    .sc-services__percent {
        font-size: 12px;
        min-width: 30px;
    }

    .sc-services__price {
        font-size: 12px;
        min-width: 52px;
    }

    .sc-services__signup {
        width: 110px;
        min-width: 110px;
        height: 38px;
        font-size: 12px;
        justify-self: stretch;
    }

    .sc-services__more {
        max-width: calc(100% - 40px);
        text-align: center;
        white-space: normal;
        line-height: 1.2;
        height: 36px;
        padding: 10px 16px;
    }
}

/* ===========================================
   sc-discounts — мобильные стили (≤ 768px)
   =========================================== */

@media (max-width: 768px) {
    .sc-discounts {
        padding-bottom: 50px;
    }

    .sc-discounts .container {
        padding-left: 0;
        padding-right: 0;
    }

    .sc-discounts__wrap {
        background: #ebf5ff;
        border-radius: 30px;
        padding: 30px 10px 20px;
        gap: 22px;
    }

    .sc-discounts__title {
        font-size: 20px;
        line-height: 1.5;
        text-align: center;
    }

    .sc-discounts__list {
        background: transparent;
        border-radius: 0;
        padding: 0;
        gap: 10px;
    }

    .sc-discounts__row {
        display: block;
    }

    .sc-discounts__item {
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 10px;
        min-height: auto;
        border-radius: 10px;
        padding: 10px;
    }

    .sc-discounts__name {
        flex: unset;
        width: 100%;
    }

    .sc-discounts__item-bottom {
        width: 100%;
        flex: unset;
        gap: 20px;
        justify-content: space-between;
    }

    .sc-discounts__price-group {
        flex: 1;
        gap: 6px;
        width: 195px;
        flex-shrink: 0;
        margin-left: 0;
    }

    .sc-discounts__badge {
        gap: 6px;
        flex-shrink: 0;
    }

    .sc-discounts__fire {
        width: 17px;
        height: 17px;
    }

    .sc-discounts__percent {
        font-size: 12px;
        min-width: 0;
    }

    .sc-discounts__price {
        font-size: 12px;
        min-width: 0;
        flex: 1;
        text-align: right;
    }

    .sc-discounts__signup {
        width: 120px;
        height: 36px;
        border-width: 1.5px;
        flex-shrink: 0;
    }

    .sc-discounts__signup--desktop {
        display: none;
    }

    .sc-discounts__signup--mobile {
        display: inline-flex;
    }

    .sc-discounts__more {
        height: 36px;
        border-width: 1.5px;
    }
}

/* ===========================================
   sc-services — Каталог медицинских услуг
   =========================================== */

.sc-services {
    padding-bottom: 80px;
}

/* --- Табы --- */

.sc-services__tabs {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.sc-services__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 46px;
    padding: 12px 30px;
    border: 2px solid #28314d;
    border-radius: 90px;
    background: transparent;
    color: #28314d;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    white-space: nowrap;
    cursor: pointer;
    transition:
        background 0.2s ease,
        color 0.2s ease,
        border-color 0.2s ease;
}

.sc-services__tab:not(.sc-services__tab--active):hover {
    background: #28314d;
    color: #fff;
}

.sc-services__tab--active {
    background: #28314d;
    color: #fff;
}

.sc-services__tab--active:hover {
    background: #1e2640;
    border-color: #1e2640;
}

.sc-services__tab-text--mob {
    display: none;
}

.sc-services__tab-arrow {
    display: none;
}

/* --- Поиск --- */

.sc-services__search {
    margin-bottom: 30px;
}

.sc-services__search-field {
    position: relative;
    display: flex;
    align-items: center;
    height: 50px;
    border: 1.5px solid #979ca9;
    border-radius: 30px;
    overflow: hidden;
}

.sc-services__search-input {
    flex: 1;
    height: 100%;
    padding: 0 20px;
    border: none;
    outline: none;
    background: transparent;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: #28314d;
}

.sc-services__search-input::placeholder {
    color: #979ca9;
}

.sc-services__search-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 30px;
    margin-right: 6px;
    border: none;
    border-radius: 90px;
    background: #5d72b7;
    color: #fff;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sc-services__search-btn:hover {
    background: #4a5fa4;
}

.sc-services__search-btn-icon {
    display: none;
}

.sc-services__search-btn-icon--desk {
    display: block;
    flex-shrink: 0;
    margin-right: 8px;
}

/* --- Контент: сайдбар + список --- */

.sc-services__body {
    display: flex;
    gap: 20px;
    align-items: stretch;
}

/* --- Сайдбар категорий --- */

.sc-services__sidebar {
    width: 380px;
    flex-shrink: 0;
    background: #ebf5ff;
    border-radius: 15px;
    padding: 24px 18px 24px 14px;
}

.sc-services__sidebar-title {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    margin: 0 0 10px;
    padding-left: 10px;
}

.sc-services__categories {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.sc-services__category {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
    padding: 7px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.sc-services__category:hover,
.sc-services__category.is-active {
    background: #fdffff;
}

.sc-services__category-name {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
}

.sc-services__category:hover .sc-services__category-name,
.sc-services__category.is-active .sc-services__category-name {
    text-shadow:
        0 0 0.4px #28314d,
        0 0 0.4px #28314d;
}

.sc-services__category-price {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

.sc-services__category:hover .sc-services__category-price,
.sc-services__category.is-active .sc-services__category-price {
    text-shadow:
        0 0 0.4px #28314d,
        0 0 0.4px #28314d;
}

/* --- Блок списка услуг --- */

.sc-services__main {
    flex: 1;
    min-width: 0;
    position: relative;
}

.sc-services__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #eff3f7;
    border-radius: 15px;
    padding: 10px;
    padding-bottom: 60px;
    height: 100%;
    box-sizing: border-box;
}

/* --- Строка услуги --- */

.sc-services__row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sc-services__item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    background: #fcfeff;
    border-radius: 15px;
    padding: 8px 20px;
    min-height: 40px;
}

.sc-services__name {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    flex: 1;
    min-width: 0;
}

/* --- Блок с ценами --- */

.sc-services__price-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.sc-services__discount {
    display: flex;
    align-items: center;
    gap: 7px;
}

.sc-services__fire {
    display: block;
    flex-shrink: 0;
}

.sc-services__percent {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #ff426c;
    white-space: nowrap;
    min-width: 40px;
}

.sc-services__price {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    min-width: 70px;
    white-space: nowrap;
}

.sc-services__price--old {
    text-decoration: line-through;
    text-decoration-skip-ink: none;
    text-align: end;
}

/* --- Кнопка «Записаться» --- */

.sc-services__signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 140px;
    height: 40px;
    border: 2px solid #5d72b7;
    border-radius: 90px;
    color: #5d72b7;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    flex-shrink: 0;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sc-services__signup:hover {
    background: #5d72b7;
    color: #fff;
}

/* --- Подвал: кнопка «Показать ещё» --- */

.sc-services__footer {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
}

.sc-services__more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 12px 18px;
    border: 2px solid #5d72b7;
    border-radius: 90px;
    color: #5d72b7;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    letter-spacing: 0.02em;
    text-decoration: none;
    background: transparent;
    white-space: nowrap;
    transition:
        background 0.2s ease,
        color 0.2s ease;
}

.sc-services__more:hover {
    background: #5d72b7;
    color: #fff;
}

/* --- Мобильный попап категорий (скрыт по умолчанию) --- */

.sc-services__popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: flex-end;
}

.sc-services__popup.is-open {
    display: flex;
}

.sc-services__popup-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.sc-services__popup.is-open .sc-services__popup-overlay {
    opacity: 1;
}

.sc-services__popup-panel {
    position: relative;
    z-index: 1;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    background: #fdffff;
    border-radius: 15px 15px 0 0;
    padding: 24px 20px 30px;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
}

.sc-services__popup.is-open .sc-services__popup-panel {
    transform: translateY(0);
}

.sc-services__popup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    cursor: pointer;
}

.sc-services__popup-radio {
    display: block;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid #979ca9;
    flex-shrink: 0;
}

.sc-services__popup-radio--active {
    border-color: #28314d;
    background: #28314d;
    box-shadow: inset 0 0 0 3px #fdffff;
}

.sc-services__popup-heading {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
    text-transform: uppercase;
}

.sc-services__popup-subtitle {
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.5;
    color: #28314d;
    margin: 0 0 14px;
}

.sc-services__popup-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sc-services__popup-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #e0e4ea;
    cursor: pointer;
}

.sc-services__popup-item:last-child {
    border-bottom: none;
}

.sc-services__popup-name {
    flex: 1;
    font-family: "Montserrat", system-ui, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.5;
    color: #28314d;
}

/* --- Кнопка «Назад ко всем клиникам» (скрыта на десктопе) --- */

.sc-services__back-wrap {
    display: none;
}

/* ===========================================
   sc-services — мобильные стили (≤ 768px)
   =========================================== */

@media (max-width: 768px) {
    .sc-services {
        padding-bottom: 30px;
    }

    .sc-services .container {
        padding-left: 0;
        padding-right: 0;
    }

    /* --- Табы (мобильные pill-кнопки) --- */

    .sc-services__tabs {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 20px;
        padding: 0 20px;
        align-items: start;
    }

    .sc-services__tab {
        height: 38px;
        padding: 5px 5px 5px 20px;
        border-radius: 50px;
        border-width: 1.5px;
        font-size: 14px;
        letter-spacing: 0;
        justify-content: space-between;
        gap: 10px;
    }

    .sc-services__tab--active {
        width: auto;
    }

    .sc-services__tab:not(.sc-services__tab--active) {
        width: 220px;
    }

    .sc-services__tab-text--desk {
        display: none;
    }

    .sc-services__tab-text--mob {
        display: inline;
    }

    .sc-services__tab-arrow {
        display: block;
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .sc-services__tab--active .sc-services__tab-arrow {
        width: 28px;
        height: 28px;
        transform: rotate(135deg);
    }

    /* --- Голубой контейнер: поиск + карточки --- */

    .sc-services__search {
        background: #ebf5ff;
        border-radius: 15px 15px 0 0;
        padding: 20px 10px 10px;
        margin-bottom: 0;
    }

    .sc-services__search-field {
        height: 48px;
        background: transparent;
        border: 1.5px solid rgba(93, 114, 183, 0.9);
        border-radius: 30px;
    }

    .sc-services__search-input {
        font-size: 16px;
        padding: 0 25px;
    }

    .sc-services__search-input::placeholder {
        color: rgba(93, 114, 183, 0.9);
    }

    .sc-services__search-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        margin-right: 5px;
        border-radius: 50%;
        background: transparent;
    }

    .sc-services__search-btn-text {
        display: none;
    }

    .sc-services__search-btn-icon {
        display: block;
    }

    .sc-services__search-btn-icon--desk {
        display: none;
    }

    /* --- Контент (вертикальная стопка на мобильном) --- */

    .sc-services__body {
        flex-direction: column;
        gap: 0;
    }

    /* Сайдбар скрыт на мобильном (используется попап) */
    .sc-services__sidebar {
        display: none;
    }

    /* --- Список услуг (мобильный) --- */

    .sc-services__main {
        position: static;
        background: #ebf5ff;
        border-radius: 0 0 15px 15px;
        padding: 10px 10px 20px;
    }

    .sc-services__footer {
        position: static;
        margin-top: 15px;
    }

    .sc-services__list {
        background: transparent;
        border-radius: 0;
        padding: 0;
        padding-bottom: 0;
        height: auto;
        gap: 10px;
    }

    /* Карточка: CSS grid для расположения имени + (цены | кнопка) */

    .sc-services__row {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
        gap: 10px;
        background: #fdffff;
        border-radius: 10px;
        padding: 10px;
    }

    .sc-services__item {
        display: contents;
    }

    .sc-services__name {
        grid-column: 1 / -1;
        width: auto;
    }

    .sc-services__price-group {
        width: auto;
        gap: 6px;
    }

    .sc-services__fire {
        width: 17px;
        height: 17px;
    }

    .sc-services__percent {
        font-size: 12px;
        min-width: 0;
    }

    .sc-services__price {
        font-size: 12px;
        min-width: 0;
        flex: 1;
        text-align: right;
    }

    /* Одиночная цена без скидки — убрать зачёркивание */
    .sc-services__price--old:only-child {
        text-decoration: none;
        text-align: left;
    }

    .sc-services__signup {
        width: 120px;
        height: 36px;
        border-width: 1.5px;
        flex-shrink: 0;
    }

    .sc-services__more {
        border-width: 1.5px;
    }

    /* --- Кнопка «Назад ко всем клиникам» (мобильная) --- */

    .sc-services__back-wrap {
        display: flex;
        justify-content: center;
        padding: 30px 10px 0;
    }

    .sc-services__back {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        height: 44px;
        background: #28314d;
        border-radius: 50px;
        color: #fdffff;
        text-decoration: none;
        font-family: "Montserrat", system-ui, sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 1;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: nowrap;
        transition: background 0.2s ease;
    }

    .sc-services__back:hover {
        background: #1e2640;
    }

    .sc-services__back-arrow {
        flex-shrink: 0;
    }
}
