h2 {
    margin: 0 0 30px;
    font-weight: 500;
    font-size: 40px;
}

h2 em {
    font-style: normal;
}

h4 {
    color: #18383C;
    font-family: Inter, sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    margin: 0 0 15px 0;
}

article h2.wp-block-heading {
    margin-bottom: -74px;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

.w-100 {
    width: 100% !important;
}

/* ==== Визуальные эффекты для карточек с классом animated ==== */
.special-card.animated img,
.doctor-card.animated img,
.video-reviews__card.animated img,
.mainpage-price__card.animated img {
    transition: transform 0.3s ease-in-out;
}

.special-card.animated:hover img,
.doctor-card.animated:hover img,
.video-reviews__card.animated:hover img,
.mainpage-price__card.animated:hover img {
    transform: scale(1.07);
}

.rating-card,
.accessibility-button,
.social-icons__item,
.animated--all{
    transition: all .3s ease-in-out;
}
.accessibility-button:hover,
.social-icons__item:hover,
.animated--all:hover {
    transform: scale(1.17);
}
.branch-addresses__button:hover,
.rating-card:hover{
    transform: scale(1.05);
}
html.js main {
    opacity: 0;
}

html.js main.main-visible {
    opacity: 1;
    transition: opacity .2s ease;
}

@-webkit-keyframes main-section-fade-in {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40px, 0);
        transform: translate3d(0, 40px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes main-section-fade-in {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(0, 40px, 0);
        transform: translate3d(0, 40px, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

/* ==== Анимация для mainpage-header ==== */
@-webkit-keyframes slide-in-left {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-60px, 0, 0);
        transform: translate3d(-60px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes slide-in-left {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(-60px, 0, 0);
        transform: translate3d(-60px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@-webkit-keyframes slide-in-right {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(60px, 0, 0);
        transform: translate3d(60px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

@keyframes slide-in-right {
    0% {
        opacity: 0;
        -webkit-transform: translate3d(60px, 0, 0);
        transform: translate3d(60px, 0, 0);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
    }
}

.scroll-animate.animate__animated,
.scroll-animate.animate__ {
    opacity: 0;
    animation-fill-mode: forwards !important;
    animation-delay: 0s !important;
}

.scroll-animate.animate__animated,
.scroll-animate.animated {
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.scroll-animate.animated {
    opacity: 1;
    animation-name: main-section-fade-in;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

/* ==== Универсальная кнопка ==== */
.btn {
    display: flex;
    padding: 0 24px;
    border-radius: 30px;
    border: 1px solid #E8E6D4;
    background-color: var(--color-orange);
    color: #E8E6D4;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    box-sizing: border-box;
    height: 60px;
    line-height: 60px;
    width: max-content;
    cursor: pointer;
    justify-content: center;
}

.btn:hover {
    background-color: var(--color-orange-hover);
    text-decoration: none;
    animation: anim-moema-1 0.3s forwards;
}

@-webkit-keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.9, 0.9, 1);
        transform: scale3d(0.9, 0.9, 1);
    }
    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

@keyframes anim-moema-1 {
    60% {
        -webkit-transform: scale3d(0.9, 0.9, 1);
        transform: scale3d(0.9, 0.9, 1);
    }
    85% {
        -webkit-transform: scale3d(1.1, 1.1, 1);
        transform: scale3d(1.1, 1.1, 1);
    }
    100% {
        -webkit-transform: scale3d(1, 1, 1);
        transform: scale3d(1, 1, 1);
    }
}

.btn--small {
    height: 46px;
    line-height: 46px;
}

.btn--white {
    background: #ffffff;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--white:hover {
    background: #eeeeee;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--outline {
    background: transparent;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--outline:hover {
    background: #eeeeee;
    color: var(--color-orange);
    border-color: var(--color-orange);
}

.btn--green {
    background: var(--color-text-green);
    color: #ffffff;
    border-color: var(--color-white);
}

.btn--green:hover {
    background: var(--color-text-green-hover);
    color: #ffffff;
}

.color-main-btn {
    border: #E8E6D4;
    background-color: var(--color-orange);
    color: #E8E6D4;
}

.color-main-btn:hover {
    background-color: var(--color-orange);
    text-decoration: none;
}

.phone {
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--color-text-green);
    transition: var(--transition);
}

.phone path {
    transition: var(--transition);
}

.phone:hover {
    color: var(--color-orange);
}

.phone:hover path {
    fill: var(--color-orange);
}

.mt-0 {
    margin-top: 0 !important;
}

h1 {
    color: #E8E6D4;
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-style: normal;
    font-weight: 500;
    line-height: 46px;
    margin: 0;
}

h1 em {
    color: var(--color-orange);
}

.desg {
    color: var(--color-orange);
    font-family: Inter, sans-serif;
    font-size: 40px;
    font-style: italic;
    font-weight: 500;
    line-height: 52px;
}

/* ==== Стелочки для карусели ==== */
.arrow-button {
    width: 41px;
    height: 40px;
    padding: 0;
    border-radius: 100px;
    background-color: var(--color-orange);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid #E8E6D4;
}

.arrow-button svg {
    width: 7px;
    height: 12px;
}

.arrow-button svg path {
    stroke: #E8E6D4;
    stroke-width: 2;
}

.arrow-button:hover, .arrow-button:active {
    background-color: var(--color-orange);
}

.arrow-button:hover svg path, .arrow-button:active svg path {
    stroke: #E8E6D4;
}

/* ==== Хлебные крошки ==== */
.breadcrumb-nav {
    background-color: #18383C;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 11;
    background: transparent;
}

.breadcrumb-nav.align-top {
    align-items: flex-start;
}

.breadcrumb-nav.align-center {
    align-items: center;
}

.breadcrumb-nav.align-bottom {
    align-items: flex-end;
}

.breadcrumb-container {
    /* max-width: 1160px; */
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1;
    color: #E8E6D4;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0;
    margin-top: 4px;
    z-index: 10;
}

.single-services .breadcrumb-nav {

}

.breadcrumb-item {
    white-space: nowrap;
    vertical-align: middle;
    color: #E8E6D4;
    text-decoration: none;
    transition: opacity 0.3s ease;
}


.breadcrumb-item.current {
    font-weight: 500;
    pointer-events: none;
}

.breadcrumb-separator {
    color: #E8E6D4;
    margin: 0 10px;
}

.mainpage-header .main-header{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background-color: #18383C;
    gap: 20px;
    height: 600px;
    position: relative;
    overflow: hidden;
    align-items: center;
}

.mainpage-header .main-header .container{
    width: 100%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.mainpage-header .main-header-content{
    width: 50%;
    max-width: 575px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    position: relative;
    z-index: 10;
    border-radius: 8px;
    background: #E8E6D4;
    padding: 40px 30px;
    margin-left: 20px;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mainpage-header .main-header-content.animate__animated,
.mainpage-header .main-header-content.animate__,
.service-header .main-header-content.animate__animated,
.service-header .main-header-content.animate__ {
    opacity: 0;
    animation-fill-mode: forwards !important;
    animation-delay: 0s !important;
}

.mainpage-header .main-header-content.animated,
.service-header .main-header-content.animated {
    opacity: 1;
    animation-name: slide-in-left;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

.mainpage-header .main-header-title{
    color: var(--color-text);
}

.mainpage-header .main-header-excerpt{
    color: var(--color-text);
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.mainpage-header .main-header-image{
    width: 100%;
    max-width: 100%;
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
    position: absolute;
    padding: 0;
    will-change: transform, opacity;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.mainpage-header .main-header-image.animate__animated,
.mainpage-header .main-header-image.animate__,
.service-header .main-header-image.animate__animated,
.service-header .main-header-image.animate__ {
    opacity: 0;
    animation-fill-mode: forwards !important;
    animation-delay: 0s !important;
}

.mainpage-header .main-header-image.animated,
.service-header .main-header-image.animated {
    opacity: 1;
    animation-name: slide-in-right;
    animation-duration: 0.8s;
    animation-timing-function: ease-out;
}

.mainpage-header .main-header-image img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

.mainpage-header .main-header-excerpt ul {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.mainpage-header .main-header-excerpt li{
    display: flex;
    align-items: center;
    gap: 10px;
}

.mainpage-header .main-header-excerpt li:before{
    content: '';
    left: 0;
    top: -6px;
    color: #E8E6D4;
    font-weight: bold;
    background: var(--color-text);
    min-width: 6px;
    max-width: 6px;
    height: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 100px;
}

.main-header {
    width: 100%;
    display: flex;
    justify-content: center;
    background-color: #18383C;
    gap: 20px;
}

.single-services .main-header {
    margin-top: -30px;
}

.main-header .container {
    width: 100%;
    max-width: 1200px;
    height: 600px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
}

.main-header-content {
    width: 50%;
    max-width: 575px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
}

.main-header-excerpt {
    color: #E8E6D4;
    font-family: Inter, sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.main-header-excerpt p {
    margin: 0;
}

.main-header-image {
    width: 50%;
    max-width: 560px;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
}

.main-header-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.main-header-excerpt ul {
    margin: 20px 0 0 0;
    padding: 0;
    display: flex;
    gap: 10px;
    flex-direction: column;
}

.main-header-excerpt li {
    display: flex;
    align-items: anchor-center;
    gap: 10px;
}

.main-header-excerpt li:before {
    content: '';
    left: 0;
    top: 0;
    color: #E8E6D4;
    font-weight: bold;
    min-width: 18px;
    max-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 100px;
    background-color: #76824A;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='23' viewBox='0 0 22 23' fill='none'%3E%3Cpath d='M11 0.487305C4.93436 0.487305 0 5.42166 0 11.4873C0 17.5529 4.93436 22.4873 11 22.4873C17.0656 22.4873 22 17.5529 22 11.4873C22 5.42166 17.0656 0.487305 11 0.487305Z' fill='%2376824A'/%3E%3Cpath d='M16.5752 9.15625L10.6168 15.1145C10.438 15.2932 10.2034 15.3832 9.96875 15.3832C9.7341 15.3832 9.49945 15.2932 9.32069 15.1145L6.34158 12.1354C5.98306 11.777 5.98306 11.1976 6.34158 10.8392C6.69994 10.4807 7.27917 10.4807 7.6377 10.8392L9.96875 13.1703L15.2791 7.86014C15.6374 7.50162 16.2167 7.50162 16.5752 7.86014C16.9335 8.21849 16.9335 8.79773 16.5752 9.15625Z' fill='%23FAFAFA'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 80% auto;
}

@media screen and (max-width: 1023px) {
    h1 {
        font-size: 28px;
        line-height: 1.3;
    }

    h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .main-header .container {
        flex-direction: column;
        align-items: center;
        height: auto;
        gap: 40px;
    }

    .main-header-content, .main-header-image {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }

    .main-header-image {
        height: 340px;
    }

    .mainpage-header .main-header-content,
    .service-header .main-header-content {
        padding: 20px;
        max-width: 600px;
        width: 60%;
        /* margin: 0 0 0 40px; */
    }
}

@media screen and (max-width: 768px) {
    .main-header {
        margin-top: 40px;
        flex-direction: column;
    }

    h2 em {
        display: inline;
    }

    .main-header .container {
        align-items: flex-start;
    }

    .main-header-content {
        width: 100%;
        padding: 0;
    }

    .main-header-excerpt {
        font-size: 18px;
        line-height: 1.25;
        margin-bottom: 30px;
    }

    .main-header-image {
        width: 100%;
        height: auto;
        padding: 0;
    }

    .btn.main-header {
        width: 65%;
        border-radius: 100px;
    }

    .mainpage-header .main-header,
    .service-header .main-header {
        margin: 0 -20px 0;
        width: calc(100% + 40px);
        gap: 0;
        height: auto;
        border-radius: 0;
    }

    .mainpage-header .main-header-content,
    .service-header .main-header-content {
        max-width: 100%;
        width: 100%;
        padding: 30px 15px;
        gap: 10px;
        margin: 0;
        border-radius: 0;
        box-sizing: border-box;
    }

    .mainpage-header .main-header-excerpt,
    .service-header .main-header-excerpt {
        margin: 0;
    }

    .mainpage-header .main-header-excerpt ul,
    .service-header .main-header-excerpt ul {
        gap: 6px;
    }

    .mainpage-header .main-header-excerpt li,
    .service-header .main-header-excerpt li {
        font-size: 14px;
    }

    .mainpage-header .main-header-image,
    .service-header .main-header-image {
        position: relative;
        border-radius: 0;
    }

    .mainpage-header .main-header-image img,
    .service-header .main-header-image img {
        border-radius: 0;
    }

    .breadcrumb-container {
        margin: 10px 0 20px 20px;
    }
}

@media screen and (max-width: 480px) {
    .main-header-content {
        width: 100%;
        padding: 0;
        text-align: left;
        margin-top: 20px;
    }

    .main-header-excerpt {
        font-size: 16px;
        line-height: 1.25;
        margin-bottom: 0;
    }

    .btn.main-header {
        width: 100%;
    }
}

@media screen and (min-width: 1440px) {
    .main-header .container {
        gap: 20px;
    }
}

/* === Пропорциональный зум для main и footer от 1300px до 1900px (без zoom) === */
@media screen and (min-width: 1300px) {
    main {
        overflow: hidden;
    }
}
#cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    font-size: 14px;
    backdrop-filter: blur(10px);
    background-color: var(--color-text-green);
    z-index: 100;
    color: white;
    display: none;
}
#cookie-notice.is--active {
    display: block;
}
#cookie-notice .container{
    display: flex;
    flex-wrap: nowrap;
}
#cookie-notice .cookie-notice__text{
    color: white!important;
}
#cookie-notice .cookie-notice__text a{
    color: white!important;
}
#cookie-notice .cookie-notice__button{
    min-width: 140px;
    max-width: 140px;
    margin-left: auto;
}