@font-face {
    font-family: Manrope;
    src: url('../font/Manrope-Regular.woff2') format('woff2'),
    url('../font/Manrope-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Manrope;
    src: url('../font/Manrope-Medium.woff2') format('woff2'),
    url('../font/Manrope-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Manrope;
    src: url('../font/Manrope-SemiBold.woff2') format('woff2'),
    url('../font/Manrope-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Manrope;
    src: url('../font/Manrope-Bold.woff2') format('woff2'),
    url('../font/Manrope-Bold.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

.h1,
h1 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 68px;
    line-height: 100%;
}

.h2,
h2 {
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 58px;
    line-height: 100%;
}

.subheading {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 100%;
}

.body-1-semibold {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 150%;
}

.body-2-semibold {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
}

.body-3-semibold {
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 150%;
}

.body-4-reg {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
}

.body-4-reg-eco {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.body-5-reg {
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
}

.body-6-medium {
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    font-size: 12px;
    line-height: 150%;
}

@media (max-width: 1024px) {
    .h1,
    h1 {
        font-size: 48px;
    }

    .h2,
    h2 {
        font-size: 38px;
    }

    .subheading {
        font-size: 18px;
    }

    .body-1-semibold {
        font-size: 16px;
    }

    .body-1-reg {
        font-size: 16px;
    }

    .body-2-reg {
        font-size: 14px;
    }

    .body-4-medium {
        font-size: 12px;
    }

    .body-5-medium {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .h1,
    h1 {
        font-size: 24px;
    }

    .h2,
    h2 {
        font-size: 18px;
    }

    .subheading {
        font-size: 16px;
    }

    .body-1-semibold {
        font-size: 14px;
    }

    .body-4-reg-eco {
        font-size: 12px;
    }

    .body-5-reg {
        font-size: 12px;
    }
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

main.main > section {
    margin-bottom: 160px;
}
@media (max-width: 1024px) {
    main.main > section { margin-bottom: 100px; }
    main.main > section:last-child { margin-bottom: 0; }
}
@media (max-width: 576px) {
    main.main > section { margin-bottom: 70px; }
    main.main > section:last-child { margin-bottom: 0; }
}

body {
    margin: 0;
    padding: 0;
    background: #FCF5FC;
}

/* Глобальные стили навигационных стрелок */
.nav-arrow {
    width: 40px !important;
    height: 40px !important;
    display: block;
    flex-shrink: 0;
}

.svg-library {
    display: none !important;
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 160px;
}

@media (min-width: 577px) and (max-width: 1200px) {
    .container {
        max-width: 1024px;
        padding: 0 40px;
    }
}

@media (max-width: 576px) {
    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

.swiper {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    overflow: hidden;
    list-style: none;
    padding: 0;

    z-index: 1; }

.swiper-vertical > .swiper-wrapper {
    flex-direction: column; }

.swiper-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
    display: flex;
    transition-property: transform;
    box-sizing: content-box; }

.swiper-android .swiper-slide,
.swiper-wrapper {
    transform: translate3d(0px, 0, 0); }

.swiper-pointer-events {
    touch-action: pan-y; }
.swiper-pointer-events.swiper-vertical {
    touch-action: pan-x; }

.swiper-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    position: relative;
    transition-property: transform; }

.swiper-slide-invisible-blank {
    visibility: hidden; }

.swiper-autoheight,
.swiper-autoheight .swiper-slide {
    height: auto; }

.swiper-autoheight .swiper-wrapper {
    align-items: flex-start;
    transition-property: transform, height; }

.swiper-backface-hidden .swiper-slide {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden; }

.swiper-3d,
.swiper-3d.swiper-css-mode .swiper-wrapper {
    perspective: 1200px; }

.swiper-3d .swiper-wrapper,
.swiper-3d .swiper-slide,
.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom,
.swiper-3d .swiper-cube-shadow {
    transform-style: preserve-3d; }

.swiper-3d .swiper-slide-shadow,
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right,
.swiper-3d .swiper-slide-shadow-top,
.swiper-3d .swiper-slide-shadow-bottom {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10; }

.swiper-3d .swiper-slide-shadow {
    background: rgba(0, 0, 0, 0.15); }

.swiper-3d .swiper-slide-shadow-left {
    background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); }

.swiper-3d .swiper-slide-shadow-right {
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); }

.swiper-3d .swiper-slide-shadow-top {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); }

.swiper-3d .swiper-slide-shadow-bottom {
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0)); }

.swiper-css-mode > .swiper-wrapper {
    overflow: auto;
    scrollbar-width: none;

    -ms-overflow-style: none;
     }
.swiper-css-mode > .swiper-wrapper::-webkit-scrollbar {
    display: none; }

.swiper-css-mode > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: start start; }

.swiper-horizontal.swiper-css-mode > .swiper-wrapper {
    scroll-snap-type: x mandatory; }

.swiper-vertical.swiper-css-mode > .swiper-wrapper {
    scroll-snap-type: y mandatory; }

.swiper-centered > .swiper-wrapper::before {
    content: '';
    flex-shrink: 0;
    order: 9999; }

.swiper-centered.swiper-horizontal > .swiper-wrapper > .swiper-slide:first-child {
    -webkit-margin-start: var(--swiper-centered-offset-before);
    margin-inline-start: var(--swiper-centered-offset-before); }

.swiper-centered.swiper-horizontal > .swiper-wrapper::before {
    height: 100%;
    width: var(--swiper-centered-offset-after); }

.swiper-centered.swiper-vertical > .swiper-wrapper > .swiper-slide:first-child {
    -webkit-margin-before: var(--swiper-centered-offset-before);
    margin-block-start: var(--swiper-centered-offset-before); }

.swiper-centered.swiper-vertical > .swiper-wrapper::before {
    width: 100%;
    height: var(--swiper-centered-offset-after); }

.swiper-centered > .swiper-wrapper > .swiper-slide {
    scroll-snap-align: center center; }

.footer .container {
    position: relative;
    z-index: 2;
}

.footer {
    background: #8D2A8F;
    color: #FCF5FC;
    padding: 100px 0 60px;
    font-family: Manrope;
    margin: 0;
    position: relative;
    overflow: hidden;
}

.footer__scroll-top.footer__scroll-top--mobile.js-scroll-top {
    display: none;
}

.footer__tooth {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1740px;
    z-index: 1;
    pointer-events: none;
}

.footer__tooth-svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer__tooth-mob {
    display: none;
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

.footer__tooth-mob svg {
    width: 100%;
    height: auto;
    display: block;
}

.footer__top {
    display: grid;
    grid-template-columns: auto auto auto auto;
    column-gap: 0;
    margin-bottom: 70px;
    position: relative;
    z-index: 2;
    align-items: start;
}

.footer__left {
    padding: 0;
    margin-right: 248px;
}

.footer__scroll-top--mobile {
    display: none;
}

.footer__logo {
    display: block;
    margin: 0 0 50px -35px;
    padding: 0;
}

.footer__logo img {
    max-width: 427px;
    height: auto;
    display: block;
}

.footer__cta {
    margin-bottom: 55px;
}

.footer__cta-title {
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    text-transform: uppercase;
    color: #E783E9;
    margin: 0 0 20px 0;
    letter-spacing: 0;
}

.footer__socials {
    display: flex;
    gap: 21px;
    align-items: center;
    margin-top: 35px;
}

.footer__social-link {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s;
    flex-shrink: 0;
}

.footer__social-link:hover {
    opacity: 0.7;
}

.footer__social-icon {
    width: 35px;
    height: 35px;
    fill: #FCF5FC;
}

.footer__legal {
    margin-top: -120px;

    grid-column: 1;
}

.footer__legal-text,
.footer__copyright {
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #F2D0F2;
    margin: 0 0 10px 0;
    max-width: 358px;
}

.footer__legal-text a {
    color: #F2D0F2;
    text-decoration: underline;
    text-decoration-color: rgba(242, 208, 242, 0.4);
}

.footer__legal-text a:hover {
    text-decoration-color: #F2D0F2;
}

.footer__copyright {
    margin-top: 5px;
    margin-bottom: 50px;
}

.footer__middle {
    padding: 0;
    margin-right: 275px;
}

.footer__menu-column {
    width: 100%;
}

.footer__menu-title {
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    color: #E783E9;
    margin: 0 0 25px 0;
    letter-spacing: 0;
}

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

.footer__middle .footer__menu-list li {
    margin-bottom: 15px;
}

.footer__middle .footer__menu-list li:last-child {
    margin-bottom: 0;
}

.footer__menu-list a {
    font-weight: 600;
    font-size: 16px;
    line-height: 22px;
    color: #FFFFFF;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
    display: inline-block;
}

.footer__middle .footer__menu-list li:nth-child(8) a {
    white-space: normal !important;
    max-width: 132px;
    line-height: 120%;
    word-wrap: break-word;
}

.footer__menu-list a:hover {
    color: #E783E9;
}

.footer__right {
    display: contents;
}

.footer__sections-wrapper .footer__menu-list {
    display: grid;
    grid-template-columns: 137px 212px;
    gap: 15px;
}

.footer__sections-wrapper .footer__menu-list li {
    break-inside: avoid;
    margin-bottom: 15px;
}

.footer__sections-wrapper .footer__menu-list li:last-child {
    margin-bottom: 0;
}

.footer__scroll-top {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FCF5FC;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    line-height: 100%;
    text-transform: uppercase;
    transition: opacity 0.3s;
    white-space: nowrap;
    flex-shrink: 0;
}

.footer__scroll-top:hover {
    opacity: 0.7;
}

.footer__scroll-icon {
    width: 13px;
    height: 13px;
    fill: #FCF5FC;
}

.footer__bottom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    padding-top: 70px;
    position: relative;
    z-index: 2;
}

.footer__disclaimers {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

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

.footer__disclaimer,
.footer__materials-text,
.footer__services-text,
.footer__license {
    font-weight: 500;
    font-size: 14px;
    line-height: 26px;
    color: #F2D0F2;
    margin: 0;
}

.footer__disclaimer {
    max-width: 584px;
}

.footer__materials-text,
.footer__services-text {
    max-width: 685px;
}

.footer__license {
    max-width: 472px;
}

.footer__developer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 14px;
    margin-top: auto;
}

.footer__developer-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #F2D0F2;
}

.footer__developer-link {
    display: flex;
    align-items: center;
    transition: opacity 0.3s;
}

.footer__developer-link:hover {
    opacity: 0.7;
}

.footer__developer-logo {
    height: 22.82px;
    width: auto;
}

@media (max-width: 1024px) {
    .footer .container {
        padding: 0 40px;
    }

    .footer {
        padding: 50px 0 40px;
    }

    .footer__top {
        display: grid;
        grid-template-columns: minmax(200px, 340px) minmax(130px, 1fr) minmax(130px, 1fr);
        column-gap: 35px;
        margin-bottom: 60px;
    }

    .footer__left {
        margin-right: 0;
    }

    .footer__logo {
        margin: -20px 0 40px -35px;
    }

    .footer__logo img {
        max-width: 316px;
    }

    .footer__cta-title {
        font-size: 16px;
        line-height: 22px;
    }

    .footer__socials {
        gap: 15px;
        margin-top: 20px;
    }

    .footer__social-link {
        width: 36px;
        height: 36px;
    }

    .footer__menu-title {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 25px;
    }

    .footer__middle {
        margin-right: 0;
    }

    .footer__middle .footer__menu-list li {
        margin-bottom: 15px;
    }

    .footer__menu-list a {
        font-size: 14px;
        line-height: 19px;
        font-weight: 600;
        white-space: normal;
    }

    .footer__right {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        column-gap: 0;
        align-items: start;
        gap: 0;
    }

    .footer__sections-wrapper {
        grid-column: 1;
        margin-left: 0;
        min-width: 0;
        width: auto;
    }

    .footer__sections-wrapper .footer__menu-list {
        grid-template-columns: 1fr;
    }

    .footer__right .footer__menu-list {
        column-count: unset;
        column-gap: 0;
        max-width: 100%;
    }

    .footer__right .footer__menu-list a {
        white-space: normal;
    }

    .footer__scroll-top--desktop {
        grid-column: 2;
        justify-self: end;
        align-self: start;
        margin: 0;
        white-space: nowrap;
    }

    .footer__scroll-top {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__legal {
        margin-top: 30px;
    }

    .footer__legal-text,
    .footer__copyright {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__copyright {
        margin-bottom: 30px;
    }

    .footer__bottom {
        grid-template-columns: 1fr 1fr;
        gap: 27px;
        padding-top: 50px;
    }

    .footer__disclaimer,
    .footer__materials-text,
    .footer__services-text,
    .footer__license {
        font-size: 12px;
        line-height: 18px;
    }

    .footer__disclaimers {
        gap: 40px;
    }

    .footer__disclaimer-block {
        gap: 20px;
    }

    .footer__developer-text {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__tooth {
        max-width: 100%;
    }
}

/* Переход на 2 колонки при сжатии планшета */
@media (max-width: 860px) {
    .footer__top {
        grid-template-columns: 1fr 1fr;
        column-gap: 40px;
        row-gap: 40px;
    }

    .footer__left {
        grid-column: 1 / -1;
        display: flex;
        flex-wrap: wrap;
        gap: 0;
    }

    .footer__logo {
        flex: 1;
        min-width: 0;
    }

    .footer__scroll-top--mobile {
        display: inline-flex !important;
        align-self: flex-start;
        margin-top: 0;
    }

    .footer__scroll-top--desktop {
        display: none;
    }

    .footer__cta {
        flex-basis: 100%;
    }

    .footer__right {
        display: block;
    }

    .footer__sections-wrapper .footer__menu-list {
        grid-template-columns: 1fr;
    }

    .footer__legal {
        grid-column: 1 / -1;
        margin-top: 0;
    }

    .footer__copyright {
        margin-bottom: 0;
    }
}

@media (max-width: 768px) {
    .footer .container {
        padding: 0 20px;
    }

    .footer {
        padding: 50px 0 40px;
    }

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

    .footer__left {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        margin-right: 0;
    }

    .footer__logo {
        flex: 1;
        min-width: 0;
        margin: 0 0 40px 0;
    }

    .footer__logo img {
        max-width: 159px;
        height: 48px;
    }

    .footer__logo-img {
        margin-left: 0;
    }

    .footer__scroll-top--mobile {
        display: inline-flex !important;
        align-self: flex-start;
        margin-top: 0;
    }

    .footer__scroll-top--desktop {
        display: none;
    }

    .footer__scroll-top {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__cta {
        flex-basis: 100%;
        margin-bottom: 0;
    }

    .footer__cta-title {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 15px;
    }

    .footer__socials {
        gap: 15px;
        margin-top: 15px;
    }

    .footer__social-link {
        width: 34px;
        height: 34px;
    }

    .footer__middle {
        margin-right: 0;
    }

    .footer__menu-title {
        font-size: 18px;
        line-height: 25px;
        margin-bottom: 20px;
    }

    .footer__middle .footer__menu-list li {
        margin-bottom: 15px;
    }

    .footer__middle .footer__menu-list li:nth-child(8) a {
        max-width: 162px;
    }

    .footer__menu-list {
        max-width: none;
    }

    .footer__menu-list a {
        font-size: 14px;
        line-height: 19px;
        font-weight: 600;
        white-space: normal;
    }

    .footer__right {
        display: block;
    }

    .footer__sections-wrapper {
        margin-left: 0;
    }

    .footer__sections-wrapper .footer__menu-list {
        display: grid;
        grid-template-columns: 91px 1fr;
        column-gap: 33px;
        row-gap: 15px;
    }

    .footer__sections-wrapper .footer__menu-list li {
        margin-bottom: 0;
    }

    .footer__right .footer__menu-list a {
        white-space: normal;
    }

    .footer__legal {
        grid-column: unset;
        grid-row: unset;
        margin-top: 0;
    }

    .footer__legal-text,
    .footer__copyright {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__copyright {
        margin-bottom: 0;
    }

    .footer__bottom {
        display: flex;
        flex-direction: column;
        gap: 40px;
        padding-top: 40px;
    }

    .footer__disclaimers {
        gap: 30px;
    }

    .footer__disclaimer-block {
        gap: 20px;
    }

    .footer__disclaimer,
    .footer__materials-text,
    .footer__services-text,
    .footer__license {
        font-size: 12px;
        line-height: 18px;
    }

    .footer__disclaimer {
        max-width: 100%;
    }

    .footer__materials-text,
    .footer__services-text {
        max-width: 100%;
    }

    .footer__developer {
        justify-content: flex-start;
    }

    .footer__developer-text {
        font-size: 12px;
        line-height: 16px;
    }

    .footer__tooth--desktop {
        display: none;
    }

    .footer__tooth-mob {
        display: block;
    }

    .footer__tooth-mob--top {
        width: 311px;
        height: 285px;
        right: -110px;
        top: 186px;
    }

    .footer__tooth-mob--bottom {
        width: 195px;
        height: 179px;
        right: -40px;
        top: 547px;
    }
}

.header {
    background: #FCF5FC;
    padding: 45px 0;
    top: 0;
    z-index: 100;
}

.header__content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    position: relative;
}

.header__logo {
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: auto;

}

.header__logo-img {
    display: block;
    height: auto;
    max-width: 327px;
    width: 100%;
}

.header__nav {
    flex-shrink: 0;
    margin-right: 127px;
}

.header__menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header__menu-item {
    position: relative;
}

.header__menu-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 100%;
    color: #5C075E;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.header__menu-link:hover {
    color: #8D2A8F;
}

.header__menu-arrow {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    fill: #FCF5FC;
}

.header__contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 86px;
}

.header__contacts-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 0px 8px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.header__contacts-wrapper:hover {
    background-color: rgba(92, 7, 94, 0.05);
    text-decoration: none;
}

.header__contacts-text {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #5C075E;
    white-space: nowrap;
}

.header__contacts-arrow {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
}

.header__branches {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #8E468F;
    white-space: nowrap;
}

.header__info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-right: 81px;
}

.header__phone {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #5C075E;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.header__phone:hover {
    color: #8D2A8F;
}

.header__schedule {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #8E468F;
    white-space: nowrap;
}

.header__vision-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    flex-shrink: 0;
    transition: opacity 0.3s;
}

.header__vision-btn:hover {
    opacity: 0.8;
}

.header__vision-icon {
    display: block;
    width: 36px;
    height: 37px;
}

.header__phone-mobile {
    display: none;
}

.header__burger {
    order: -1;
    margin-right: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
}

.header__burger {
    order: 1;
}

.header__nav {
    order: 2;
}

.header__logo {
    order: 3;

}

.header__contacts {
    order: 4;
}

.header__info {
    order: 5;
}

.header__vision-btn {
    order: 6;
}

.header__menu-item--dropdown {
    position: relative;
}

.header__menu-arrow {
    transition: transform 0.25s ease;
}

.header__menu-item--dropdown:hover .header__menu-arrow,
.header__menu-item--dropdown.is-open .header__menu-arrow {
    transform: rotate(180deg);
}

.header__dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(92, 7, 94, 0.14);
    padding: 8px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 200;
}

@media (hover: hover) {
    .header__menu-item--dropdown:hover > .header__dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}

.header__menu-item--dropdown.is-open > .header__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

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

.header__dropdown-item {
    position: relative;
}

.header__dropdown-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 20px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.3;
    color: #5C075E;
    text-decoration: none;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}

.header__dropdown-link:hover {
    background: #FCF5FC;
    color: #8D2A8F;
}

.header__dropdown-arrow {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    fill: #FCF5FC;
    transition: transform 0.25s ease;
}

.header__dropdown-item--has-sub:hover .header__dropdown-arrow,
.header__dropdown-item--has-sub.is-open .header__dropdown-arrow {
    transform: rotate(180deg);
}

.header__subdropdown {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(92, 7, 94, 0.14);
    padding: 8px 0;
    list-style: none;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    z-index: 201;
}

@media (hover: hover) {
    .header__dropdown-item--has-sub:hover > .header__subdropdown {
        opacity: 1;
        visibility: visible;
        transform: translateX(0);
    }
}

.header__dropdown-item--has-sub.is-open > .header__subdropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.header__subdropdown-link {
    display: block;
    padding: 10px 20px;
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.3;
    color: #5C075E;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, color 0.15s ease;
}

.header__subdropdown-link:hover {
    background: #FCF5FC;
    color: #8D2A8F;
}

body.menu-open {
    overflow: hidden;
}

.menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
}

.admin-bar .menu {
    top: 32px;
}

.menu.active {
    pointer-events: auto;
    visibility: visible;
}

.menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(92, 7, 94, 0.5);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.menu.active .menu__overlay { opacity: 1; }

.menu__wrapper {
    position: absolute;
    inset: 0;
    background: #8D2A8F;
    clip-path: inset(0 0 100% 0);
    transition: clip-path 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: #FF82FF transparent;
}

.menu.active .menu__wrapper { clip-path: inset(0); }

.menu__wrapper::-webkit-scrollbar { width: 6px; }
.menu__wrapper::-webkit-scrollbar-track { background: transparent; }
.menu__wrapper::-webkit-scrollbar-thumb { background: #FF82FF; border-radius: 10px; }
.menu__wrapper::-webkit-scrollbar-thumb:hover { background: #E783E9; }

.menu .container {
    max-width: 1920px;
    margin: 0 auto;
    padding: 0 160px;
}

.menu__content {
    min-height: 100vh;
    padding: 0 0 60px;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}

.menu__header {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    padding: 45px 0;
    position: relative;
}

.menu__close {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: opacity 0.2s ease;
    position: relative;
    z-index: 10;
    margin-right: 50px;
}

.menu__close:hover { opacity: 0.7; }

.menu__close-icon { display: block; width: 24px; height: 24px; }
.menu__close-icon path { stroke: #FFFFFF; stroke-width: 2.5; }

.menu__socials { display: flex; gap: 21px; flex-shrink: 0; }

.menu__social-link {
    width: 45px; height: 45px;
    display: flex; align-items: center; justify-content: center;
    transition: opacity 0.2s ease;
}

.menu__social-link:hover { opacity: 0.75; }
.menu__social-icon { width: 35px; height: 35px; fill: #FFFFFF; }

.menu__logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    pointer-events: auto;
}

.menu__logo-img { display: block; height: auto; max-width: 327px; width: 100%; }
.menu__logo-img--tablet { display: none; }

.menu__header-contacts-block {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-left: auto;
    margin-right: 86px;
}

.menu__header-contacts-wrapper {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.menu__header-contacts-wrapper:hover { opacity: 0.8; }

.menu__header-contacts-text {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #FCF5FC;
    white-space: nowrap;
}

.menu__header-contacts-arrow {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    fill: #FCF5FC;
}

.menu__header-branches {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #D8BFD8;
    white-space: nowrap;
}

.menu__header-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
    margin-right: 81px;
}

.menu__header-phone {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 100%;
    color: #FCF5FC;
    text-decoration: none;
    transition: opacity 0.2s ease;
    white-space: nowrap;
}

.menu__header-phone:hover { opacity: 0.8; }

.menu__header-schedule {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: #D8BFD8;
    white-space: nowrap;
}

.menu__vision-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.menu__vision-btn:hover { opacity: 0.85; }
.menu__vision-icon { display: block; width: 36px; height: 37px; }

.menu__body {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 24px;
    align-items: start;
    flex: 1;
}

.menu__left {
    background: #FFFFFF;
    border-radius: 25px;
    padding: 40px;
}

.menu__title {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 28px;
    line-height: 38px;
    text-transform: uppercase;
    color: #5C075E;
    margin: 0 0 28px 0;
}

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

.menu__sections-link {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 20px;
    line-height: 27px;
    color: #5C075E;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.menu__sections-link:hover { color: #BD1EC2; }

.menu__right {
    background: #FFFFFF;
    border-radius: 25px;
    padding: 40px;
}

.menu__right .menu__title { margin-bottom: 28px; }

.menu__services {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px 40px;
}

.menu__service-group { display: flex; flex-direction: column; gap: 16px; }
.menu__service-title { margin: 0 0 4px; }

.menu__service-title-link {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 33px;
    color: #BD1EC2;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.menu__service-title-link:hover { color: #8D2A8F; }

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

.menu__service-link {
    font-family: Manrope, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #5C075E;
    text-decoration: none;
    transition: color 0.2s ease;
    display: block;
}

.menu__service-link:hover { color: #BD1EC2; }

@media (max-width: 1400px) {
    .menu .container { padding: 0 100px; }
    .menu__services { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 577px) and (max-width: 1200px) {
    .menu .container { padding: 0 40px; }

    /* Хедер меню — зеркало header tablet */
    .menu__header {
        padding: 0;
        height: 92px;
    }

    .menu__close {
        margin-right: 18px;
    }

    .menu__close-icon {
        width: 23px;
        height: 23px;
    }

    .menu__socials { gap: 15px; }
    .menu__social-link { width: 26px; height: 26px; }
    .menu__social-icon { width: 26px; height: 26px; }

    .menu__logo-img--desktop { display: none; }
    .menu__logo-img--tablet { display: block; }
    .menu__logo-img {
        max-width: 136px;
        height: 42px;
    }

    .menu__header-contacts-block {
        margin-right: 20px;
        align-items: flex-start;
        gap: 3px;
    }

    .menu__header-contacts-text {
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
    }

    .menu__header-branches {
        font-size: 11px;
        font-weight: 400;
        line-height: 15px;
    }

    .menu__header-info {
        margin-right: 25px;
        align-items: flex-start;
        gap: 3px;
    }

    .menu__header-phone {
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
    }

    .menu__header-schedule {
        font-size: 11px;
        font-weight: 400;
        line-height: 15px;
    }

    .menu__vision-icon {
        width: 27px;
        height: 27px;
    }

    /* Тело меню — 2 колонки: Разделы 301px + Услуги flex */
    .menu__body {
        grid-template-columns: 301px 1fr;
        gap: 20px;
    }

    .menu__left,
    .menu__right {
        padding: 25px;
        border-radius: 20px;
    }

    .menu__title {
        font-size: 22px;
        line-height: 30px;
        margin-bottom: 20px;
    }

    .menu__sections-list { gap: 15px; }

    .menu__sections-link {
        font-size: 14px;
        line-height: 19px;
    }

    .menu__services {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 40px;
    }

    .menu__service-title-link {
        font-size: 18px;
        line-height: 25px;
    }

    .menu__service-list { gap: 8px; }

    .menu__service-link {
        font-size: 12px;
        line-height: 16px;
    }
}

/* Мобильная навигация — скрыта по умолчанию */
.menu__mobile-nav { display: none; }

@media (max-width: 576px) {
    /* Скрываем десктопное меню */
    .menu .container { padding: 0; }
    .menu__header { display: none; }
    .menu__body { display: none; }
    .menu__content { padding-bottom: 0; }

    .menu__mobile-nav {
        display: flex;
        flex-direction: column;
        padding: 20px 20px 30px;
        gap: 30px;
        min-height: 100vh;
        box-sizing: border-box;
    }

    /* Хедер мобильного меню */
    .menu__mobile-header {
        display: flex;
        align-items: center;
        gap: 25px;
        flex-shrink: 0;
    }

    .menu__mobile-logo {
        display: flex;
        align-items: center;
        padding: 10px 16px;
        background: #FEFAFF;
        border-radius: 8px;
        height: 36px;
        box-sizing: border-box;
        text-decoration: none;
    }

    .menu__mobile-logo-img {
        display: block;
        height: 16px;
        width: auto;
    }

    .menu__mobile-vision {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        margin-left: auto;
        flex-shrink: 0;
    }

    .menu__mobile-close {
        display: flex;
        align-items: center;
        justify-content: center;
        background: none;
        border: none;
        padding: 0;
        cursor: pointer;
        flex-shrink: 0;
    }

    /* Панели drill-down */
    .menu__mobile-panels {
        flex: 1;
        overflow: hidden;
    }

    .menu__mobile-panel {
        display: none;
        flex-direction: column;
        gap: 1px;
    }

    .menu__mobile-panel--active {
        display: flex;
    }

    /* Пиллы — пункты меню */
    .menu__mobile-pill {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 10px 16px;
        background: #FEFAFF;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        text-decoration: none;
        width: 100%;
        box-sizing: border-box;
        font-family: inherit;
    }

    .menu__mobile-pill-text {
        font-family: Manrope, sans-serif;
        font-weight: 600;
        font-size: 12px;
        line-height: 16px;
        background: linear-gradient(180deg, #C05FC2 0%, #8D2A8F 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .menu__mobile-pill-indicators {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-shrink: 0;
    }

    .menu__mobile-pill-line { flex-shrink: 0; }
    .menu__mobile-pill-chevron { flex-shrink: 0; }

    .menu__mobile-pill--sub {
        background: #FEFAFF;
    }

    /* Пилл-кнопка «назад» */
    .menu__mobile-pill--back {
        justify-content: flex-start;
        gap: 10px;
    }

    .menu__mobile-pill--back .menu__mobile-pill-text {
        background: none;
        -webkit-background-clip: unset;
        -webkit-text-fill-color: #5C075E;
        background-clip: unset;
        color: #5C075E;
    }

    .menu__mobile-pill-back-arrow {
        flex-shrink: 0;
        width: 9px;
        height: 9px;
    }

    /* Футер мобильного меню */
    .menu__mobile-footer {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 30px;
        flex-shrink: 0;
    }

    .menu__mobile-section { display: flex; flex-direction: column; gap: 12px; }

    .menu__mobile-section-title {
        font-family: Manrope, sans-serif;
        font-weight: 600;
        font-size: 12px;
        line-height: 16px;
        text-transform: uppercase;
        color: #D8BFD8;
        margin: 0;
    }

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

    .menu__mobile-branch {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .menu__mobile-branch-row {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .menu__mobile-branch-geo { flex-shrink: 0; width: 10px; height: 13px; }

    .menu__mobile-branch-address {
        font-family: Manrope, sans-serif;
        font-weight: 400;
        font-size: 12px;
        line-height: 16px;
        color: #FCF5FC;
    }

    .menu__mobile-branch-phone {
        font-family: Manrope, sans-serif;
        font-weight: 600;
        font-size: 14px;
        line-height: 19px;
        color: #FFFFFF;
        text-decoration: none;
    }

    .menu__mobile-socials {
        display: flex;
        gap: 15px;
    }

    .menu__mobile-social {
        display: flex;
        width: 26px;
        height: 26px;
    }

    .menu__mobile-social svg { fill: #FCF5FC; }

    .menu__mobile-schedule {
        font-family: Manrope, sans-serif;
        font-weight: 400;
        font-size: 11px;
        line-height: 15px;
        color: #FCF5FC;
    }
}
@media (min-width: 577px) and (max-width: 1200px) {

    .header {
        padding: 0;
        height: 92px;
    }

    .header__content {
        height: 92px;
        align-items: center;
    }

    /* Бургер — 22×10, зона касания 44px */
    .header__burger {
        order: 1;
        width: 44px;
        height: 44px;
        margin-right: 30px;       /* gap до навигации */
        flex-shrink: 0;
    }

    .header__burger-icon {
        width: 22px;
        height: 10px;
    }

    /* Навигация — шрифт 12px, gap 30px */
    .header__nav {
        order: 2;
        flex-shrink: 0;
        margin-right: 0;          /* сбрасываем десктопные 127px */
    }

    .header__menu {
        gap: 30px;
    }

    .header__menu-link {
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
    }

    /* Логотип — 136×42, строго по центру */
    .header__logo {
        order: 3;
    }

    .header__logo-img {
        width: 136px;
        height: 42px;
        max-width: 136px;
    }

    /* Контакты клиники — 137×34, gap 3px */
    .header__contacts {
        order: 4;
        margin-left: auto;        /* толкает всё правое крыло вправо */
        margin-right: 20px;       /* gap до header__info */
        width: 137px;
        align-items: flex-start;
        gap: 3px;
        flex-shrink: 0;
    }

    .header__contacts-wrapper {
        padding: 0;               /* убираем десктопный padding: 0 8px */
    }

    .header__contacts-text {
        font-size: 12px;
        font-weight: 500;
        line-height: 16px;
    }

    .header__branches {
        font-size: 11px;
        font-weight: 400;
        line-height: 15px;
    }

    /* Телефон + расписание — 140×34, gap 3px */
    .header__info {
        order: 5;
        margin-right: 25px;       /* gap до кнопки глаза */
        width: 140px;
        align-items: flex-start;
        gap: 3px;
        flex-shrink: 0;
    }

    .header__phone {
        font-size: 12px;
        font-weight: 600;
        line-height: 16px;
    }

    .header__schedule {
        font-size: 11px;
        font-weight: 400;
        line-height: 15px;
    }

    /* Кнопка слабовидящих — 27×27 */
    .header__vision-btn {
        order: 6;
        flex-shrink: 0;
    }

    .header__vision-icon {
        width: 27px;
        height: 27px;
    }
}
/* ── HEADER: MOBILE (≤ 974px) ──────────────────────────────────── */
/* Лого слева, phone-icon + бургер справа, высота 62px              */
@media (max-width: 974px) {

    .header {
        padding: 0;
        height: 62px;
    }

    .header__content {
        height: 62px;
        align-items: center;
    }

    /* Лого слева, вынимаем из absolute */
    .header__logo {
        order: 1;
        position: static;
        transform: none;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }

    .header__logo-img {
        width: auto;
        height: 18px;
        max-width: 182px;
    }

    /* Навигация — скрыта, уходит в бургер-меню */
    .header__nav {
        display: none;
    }

    /* Контакты, инфо, кнопка глаза — скрыты */
    .header__contacts {
        display: none;
    }

    .header__info {
        display: none;
    }

    .header__vision-btn {
        display: none;
    }

    /* Спейсер — растягивается между лого и правыми иконками */
    .header__logo {
        margin-right: auto;
    }

    /* Телефон-иконка */
    .header__phone-mobile {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        margin-right: 4px;
        color: #5C075E;
        text-decoration: none;
    }

    .header__phone-icon {
        width: 22px;
        height: 22px;
        fill: #5C075E;
    }

    /* Бургер справа */
    .header__burger {
        order: 3;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        margin-right: 0;
    }

    .header__burger-icon {
        width: 22px;
        height: 10px;
    }
}