/*
Theme Name: EYELAZER Theme
Theme URI: eyelazer.ru
Description: In vino verĭtas
Author: Mikhail Mazur
Author URI: 
Version: 1.0
*/

/********************************* FONTS SECTION ********************************************/

:root {
    --font-bold: bold;
    /*Bold*/
    --font-semibold: 600;
    /*SemiBold*/
    --font-medium: 500;
    /*Medium*/
    --font-regular: normal;
    /*Regular*/
    --font-light: 300;
    /*Light*/

    --color-eb: #EBEBEB;
    --color-f4: #f4f4f4;
    --color-80: #808080;
    --color-3d: #3D3D3D;
    --color-01: #010101;
    --color-ff: #FFF;
    --color-blue: #183f82;
    --color-lightblue: #a0aec9;
    --color-orange: #f96a30;
}

/********************************************************************************************/
/********************************* FONTS SECTION ********************************************/
/*@font-face {
    font-family: 'Resist Sans Display';
    src: url('assets/css/fonts/font.woff2') format('woff2'), url('assets/css/fonts/font.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@import url('https://fonts.googleapis.com/css2?family=Vollkorn:ital@1&display=swap');*/

/********************************************************************************************/

::selection {
    color: #fff;
    background-color: #000;
}

html,
body {
    font-family: "SN Pro", sans-serif;
    font-optical-sizing: auto;
    font-size: 16px;
    color: var(--color-01);
    font-style: normal;
}

i {
    font-family: 'Vollkorn', serif;
    white-space: nowrap;
}


a,
a:visited {
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    text-decoration: none;
    transition: 0.5s all;
    color: var(--color-01);
}

a:hover,
a:focus,
a:active {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    text-decoration: none;
    transition: 0.5s all;
}



.page_wrapper a,
.page_wrapper a:visited {
    -o-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
    -webkit-transition: all 0.3s ease-in-out;
    text-decoration: none;
    transition: 0.5s all;
    color: var(--color-blue);
    border-bottom: 2px solid var(--color-blue);
}

.page_wrapper a:hover,
.page_wrapper a:focus,
.page_wrapper a:active {
    opacity: 1;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=60)";
    text-decoration: none;
    transition: 0.5s all;
    border-bottom: 2px solid transparent;
}

strong,
b {
    color: var(--color-blue);
}

p:last-child {
    margin-bottom: 0;
}

video {
    display: block;
}

.white-space {
    white-space: nowrap;
}

.nowrap {
    white-space: nowrap;
}

.bgcolor-gray {
    background-color: var(--color-f4);
}

.btn-blue {
    background-color: var(--color-blue);
    color: var(--color-ff) !important;
    border-radius: 15px;
    padding: 10px 30px;
    border-color: var(--color-blue);
}

.btn-blue:active,
.btn-blue:focus,
.btn-blue:hover {
    background-color: var(--color-orange) !important;
    border-color: var(--color-orange) !important;
}

ul.wp-block-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

ul.wp-block-list li::marker {
    color: var(--color-blue);
    content: "✔";
    padding-right: 10px;
}


@media (min-width: 1400px) {

    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1040px;
    }
}

@media (min-width: 1200px) {

    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: 1040px;
    }
}

@media (min-width: 768px) {

    .container-md,
    .container-sm,
    .container {
        max-width: 1040px;
    }
}

/********************************************************************************************/
/**************************************** HEADER ********************************************/

.header_line1 {
    padding: 10px 0;
}

.header_line1-center-box {}

.header_line1-left {
    text-align: left;
}

.header_line1-center {
    justify-items: center;
}

.header_line1-right {
    text-align: right;
}

.header_line2 {}

.header-social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.header-social a {
    width: 34px;
    height: 34px;
    text-decoration: none;
    transition: background .15s ease;
}

.header-social a:hover {
    opacity: 1;
}

.header-social svg {
    filter: grayscale(1);
    transition: filter 0.3s ease;
    border-radius: 8px;
}

.header-social a:hover svg {
    filter: grayscale(0);
}

:root {
    --header-height: 80px;
    --burger-color: #1a1a1a;
    --menu-bg: #fff;
    --menu-border: #ececec;
    --accent: #183f82;
}

/* ============ ШАПКА ============ */

.site-header {
    position: relative;
    z-index: 1000;
    background: #fff;
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

@media (max-width: 991.98px) {
    .site-header {
        position: sticky;
        top: 0;
    }
}

.site-header__inner {
    height: var(--header-height);
}

.site-header__logo img {
    display: block;
    max-width: 100px;
}

.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1040;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.sticky-header.is-visible {
    transform: translateY(0);
}

.sticky-header__inner {
    height: 64px;
}

.sticky-header__logo img {
    display: block;
    max-width: 80px;
}

.sticky-header__nav .main-nav__list {
    gap: 40px;
}

.sticky-header__nav .main-nav__item {
    height: 64px;
}

.sticky-header__nav .main-nav__link {
    font-size: 16px;
}

.sticky-header__cta {
    white-space: nowrap;
}


/* ============ ДЕСКТОПНОЕ МЕНЮ ============ */

.main-nav__list {
    display: flex;
    align-items: center;
    gap: 90px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.main-nav__item {
    position: relative;
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.main-nav__link {
    font-size: 18px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
    font-weight: bold;
}

.main-nav__link::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.25s ease;
}

.main-nav__item:hover .main-nav__link::after {
    width: 100%;
}

/* Выпадающее подменю */
.main-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 280px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 10;
}

.main-nav__item.has-children:hover .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.main-nav__dropdown-title {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--accent);
    text-decoration: none;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--menu-border);
}

.main-nav__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.main-nav__sublink {
    display: block;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 15px;
    color: #333;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

.main-nav__sublink:hover {
    background: #f4f6fa;
    color: var(--accent);
}

/* ============ БУРГЕР ============ */

.burger {
    width: 32px;
    height: 24px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.burger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--burger-color);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.burger span:nth-child(1) {
    top: 0;
}

.burger span:nth-child(2) {
    top: 11px;
}

.burger span:nth-child(3) {
    top: 22px;
}

.burger[aria-expanded="true"] span:nth-child(1) {
    top: 11px;
    transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
    top: 11px;
    transform: rotate(-45deg);
}

/* ============ МОБИЛЬНОЕ МЕНЮ (off-canvas) ============ */

.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1050;
    visibility: hidden;
    pointer-events: none;
    transition: visibility 0s linear 0.35s;
    /* задержка = длительности анимации панели */
}

.mobile-menu.is-open {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
    /* при открытии видимость применяется мгновенно, без задержки */
}

.mobile-menu__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-open .mobile-menu__overlay {
    opacity: 1;
}

.mobile-menu__panel {
    background: #fff;
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    max-width: 420px;
    background: var(--menu-bg);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s ease;
}

.mobile-menu.is-open .mobile-menu__panel {
    transform: translateX(0);
}

.mobile-menu__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--menu-border);
    flex: none;
}

.mobile-menu__close {
    width: 32px;
    height: 32px;
    position: relative;
    background: none;
    border: none;
}

.mobile-menu__close span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: #1a1a1a;
}

.mobile-menu__close span:nth-child(1) {
    transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu__close span:nth-child(2) {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu__body {
    flex: 1 1 auto;
    overflow: hidden;
    position: relative;
}

/* Панельная логика: level-1 и level-2 лежат друг на друге,
   переключение — через translateX */
.mobile-nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background: var(--menu-bg);
    transition: transform 0.35s ease;
    padding: 12px 20px 20px;
    list-style-type: none;
}

.mobile-nav--level-1 {
    transform: translateX(0);
    z-index: 1;
}

.mobile-nav--level-1.is-hidden {
    transform: translateX(-100%);
}

.mobile-nav--level-2 {
    transform: translateX(100%);
    z-index: 2;
}

.mobile-nav--level-2.is-active {
    transform: translateX(0);
}

.mobile-nav__item {
    border-bottom: 1px solid var(--menu-border);
}

.mobile-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 4px;
    font-size: 17px;
    font-weight: 500;
    color: #1a1a1a;
    text-decoration: none;
}

.mobile-nav__arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid #999;
    border-bottom: 2px solid #999;
    transform: rotate(-45deg);
    flex: none;
}

.mobile-nav__back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 10px 4px;
    margin-bottom: 8px;
    font-size: 15px;
    color: var(--accent);
}

.mobile-nav__back-arrow {
    width: 8px;
    height: 8px;
    border-left: 2px solid var(--accent);
    border-bottom: 2px solid var(--accent);
    transform: rotate(45deg);
}

.mobile-nav__section-link {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
    margin-bottom: 12px;
}

.mobile-nav__sublist {
    list-style: none;
    margin: 0;
    padding: 0;
    list-style-type: none;
}

.mobile-nav__sublink {
    display: block;
    padding: 12px 4px;
    font-size: 16px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid var(--menu-border);
}

.mobile-menu__footer {
    flex: none;
    padding: 16px 20px 24px;
    border-top: 1px solid var(--menu-border);
}

.mobile-menu__footer-phones {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile-menu__footer-phones a {
    font-size: 20px;
}

.mobile-menu__phone {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    text-decoration: none;
}

/* Блокировка скролла страницы, пока открыто меню */
body.menu-open {
    overflow: hidden;
}

/* ============ ДВУХУРОВНЕВАЯ ШАПКА ============ */

/* Верхний уровень */
.site-header__top {
    padding: 15px 0;
}

.site-header__top-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* крайние колонки гибкие и равные, средняя — по контенту */
    align-items: center;
    height: 64px;
}

.site-header__logo {
    justify-self: start;
    /* прижимаем к левому краю своей колонки */
}

.site-header__callback {
    grid-column: 2;
    justify-self: center;
    /* центрируем именно в средней колонке, а не в общем блоке */
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    padding: 0;
    font-size: 15px;
    font-weight: 500;
    color: #1a1a1a;
    cursor: pointer;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.site-header__callback:hover {
    color: var(--accent);
}

.site-header__callback svg {
    flex: none;
}

.site-header__callback-icon {
    transition: transform 0.25s ease;
}

.site-header__callback:hover .site-header__callback-icon {
    transform: scale(1.2);
}

.site-header__callback-text {
    border-bottom: 1px dashed currentColor;
    padding-bottom: 1px;
    transition: border-color 0.25s ease;
    font-weight: bold;
}

.site-header__callback:hover .site-header__callback-text {
    border-bottom-color: transparent;
}

.site-header__top-cta {
    grid-column: 3;
    justify-self: end;
    /* прижимаем к правому краю */
    white-space: nowrap;
}

/* Нижний уровень */
.site-header__bottom-inner {
    height: 48px;
}

.accessibility-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .82rem;
    line-height: 1.25;
    color: var(--color-3d);
    text-decoration: none;
}

.accessibility-btn:hover {
    color: var(--color-3d);
    opacity: 1;
}

.accessibility-btn .eye-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
    transition: border-color 0.25s ease;
}

.accessibility-btn:hover .eye-icon {}

@keyframes eye-blink {
    0% {
        transform: scaleY(1);
    }

    40% {
        transform: scaleY(0.05);
    }

    60% {
        transform: scaleY(0.05);
    }

    100% {
        transform: scaleY(1);
    }
}

.accessibility-btn .eye-icon svg {
    transform-origin: center;
    transition: none;
}

.accessibility-btn:hover .eye-icon svg {
    animation: eye-blink 0.45s ease-in-out 1;
}

/* На мобильных нижний уровень становится основным компактным header'ом */
@media (max-width: 991.98px) {
    .site-header__bottom-inner {
        height: 64px;
    }
}

/********************************************************************************************/
/**************************************** MAINPAGE ******************************************/


.mainpage_slider-section {
    position: relative;
    margin: 60px 0 0 0;
}

.mainpage_slider-nav {
    position: absolute;
    bottom: 40px;
    right: 40px;
    top: auto;
    left: auto;
    transform: none;
    display: flex;
    gap: 12px;
    justify-content: flex-start;
    padding: 0;
    pointer-events: none;
    z-index: 10;
}

.mainpage_slider-button-next,
.mainpage_slider-button-prev {
    pointer-events: auto;
    position: static;
    top: auto;
    margin: 0;
    transform: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: var(--color-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.25s ease, background 0.25s ease;
}

.mainpage_slider-button-next:hover,
.mainpage_slider-button-prev:hover {
    transform: scale(1.15);
}

.mainpage_slider-button-prev svg {
    transform: scaleX(-1);
}

/* убираем стандартную иконку Swiper (стрелку из шрифта swiper-icons) */
.mainpage_slider-button-next::after,
.mainpage_slider-button-prev::after {
    content: none;
}

.mainpage_slider {
    width: 100%;
    height: 100%;
    border-radius: 26px;
}

.mainpage_slider-slide {
    text-align: center;
    font-size: 18px;
    background: #444;
    display: flex;
    width: 100%;
    height: 600px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.mainpage_slider-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fs-picture {
    position: relative;
    overflow: hidden;
}

.fs__picture-blur,
.fs__picture-focus {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background-size: cover;
    background-position: center;
}

.fs__picture-blur {
    filter: blur(6px);
}

.fs__picture-focus {
    z-index: 1;
    opacity: 0;
    transition: opacity 0.4s ease;
    clip-path: url(#mainpageFocusClip);
}

.fs-picture.is-active .fs__picture-focus {
    opacity: 1;
}

.fs-picture.normal::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    opacity: 0.7;
    inset: 0px;
    background: linear-gradient(90deg, var(--color-blue), transparent 50%, transparent);
    transition: none;
}

.fs__content {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 0 40px;
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    text-align: left;
}

.fs__bottom {
    z-index: 2;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 40px 0px 0 40px;
    ;
}

.fs__content-title {
    font-size: 3rem;
}

.fs__content-text {
    font-size: 1.5rem;
}

.mainpage_slider-section {
    user-select: none;
    -webkit-user-select: none;
}

.mainpage_slider,
.mainpage_slider-nav,
.mainpage_slider-button-next,
.mainpage_slider-button-prev {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

@media (min-width: 768px) {
    .mainpage_slider-section .container {
        max-width: 1240px;
        /* 1040 + 100px слева + 100px справа */
    }
}

@media (max-width: 767.98px) {
    .mainpage_slider-slide {
        height: 400px;
    }

    .mainpage_slider-nav {
        padding: 0 8px;
    }
}

@media (max-width: 767.98px) {
    .mainpage_slider-slide {
        height: 400px;
    }

    .mainpage_slider-nav {
        right: 20px;
        bottom: 20px;
        gap: 8px;
    }

    .mainpage_slider-button-next,
    .mainpage_slider-button-prev {
        width: 32px;
        height: 32px;
    }
}

.doctors_mainpage {
    margin: 90px 0 0 0;
}

.doctors_title {
    text-align: center;
    color: var(--color-blue);
    font-size: 44px;
    margin-bottom: 0px;
     font-weight: bold;
}

.doctors-slider .doctors-indexlist-item {
    max-width: 250px;
    padding: 10px;
    /*border: 1px solid var(--color-lightblue);*/
    border-radius: 10px;
}

.doctors-slider .doctors-indexlist-item img {
    border-radius: 10px;
    border: 1px solid #ededed;
}

.doctors-slider .doctors-name {
    text-align: center;
    font-size: 16px;
    line-height: 1.2rem;
    margin: 10px 0 5px 0;
    color: var(--color-blue);
}



.doctors-slider .doctors-name span {
    font-weight: bold;
}

.doctors-slider .doctors-prof {
    text-align: center;
    font-size: 14px;
    line-height: 1.1rem;
    color: var(--color-80);
}

.doctors-slider>.swiper-pagination {
    margin: 25px auto 0 !important;
    position: relative !important;
    left: auto !important;
    transform: translateX(0%) !important;
}

.doctors-slider>.swiper-pagination .swiper-pagination-bullet-active {
    background: var(--color-blue);
}

.feedbacks_mainpage {
    margin: 90px 0 0 0;
}

.feedbacks_title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 30px;
     font-weight: bold;
     color: var(--color-blue);
}

.feedbacks_body {}

.seo-text_mainpage {
    margin: 90px 0 30px 0;
}

.seo-text_title {
    text-align: center;
    font-size: 44px;
    margin-bottom: 30px;
    color: var(--color-blue);
}

.seo-text_title a,
.seo-text_title a:visited {
    border-bottom: 3px solid var(--color-blue);
    color: var(--color-blue);
}

.seo-text_title a:hover,
.seo-text_title a:focus,
.seo-text_title a:active {
    border-bottom: 3px solid transparent;
}

.seo-text_body {}

@media (max-width: 767.98px) {
    .doctors_title {
        font-size: 28px;
        line-height: 1.4em;
    }

    .feedbacks_title {
        font-size: 28px;
        line-height: 1.4em;
    }

    .seo-text_title {
        font-size: 28px;
        line-height: 1.4em;
    }

    .fs__content {
        width: 80%;
    }

    .fs__content-title {
        font-size: 1.5rem;
        margin-bottom: 15px;
    }

    .fs__content-text {
        font-size: 1rem;
        line-height: 1.2rem;
    }

    .fs-picture.normal::before {
        opacity: 0.7;
        background: linear-gradient(90deg, var(--color-blue), transparent 100%, transparent);
    }
}

/********************************************************************************************/
/******************* FAQ (Вопрос - Ответ) — стили страницы **********************************/

.faq-page {
    padding: 60px 0 80px;
}

.faq-page__title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.faq-categories {
    display: flex;
    flex-direction: column;
    gap: 48px;
    margin: 0 auto;
}

.faq-category__title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-blue, #183f82);
    margin-bottom: 20px;
    text-transform: uppercase;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--menu-border, #ececec);
}

.faq-item {
    border-bottom: 1px solid var(--menu-border, #ececec);
}

.faq-item__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: none;
    text-align: left;
    padding: 18px 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
}

/* Иконка-плюс, которая превращается в минус у открытого вопроса */
.faq-item__icon {
    position: relative;
    flex: none;
    width: 20px;
    height: 20px;
}

.faq-item__icon::before,
.faq-item__icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    background: var(--color-blue, #183f82);
    transition: transform 0.25s ease;
}

.faq-item__icon::before {
    width: 14px;
    height: 2px;
    transform: translate(-50%, -50%);
}

.faq-item__icon::after {
    width: 2px;
    height: 14px;
    transform: translate(-50%, -50%);
}

/* У открытого вопроса вертикальная палочка иконки прячется — остаётся минус */
.faq-item.is-active .faq-item__icon::after {
    transform: translate(-50%, -50%) rotate(90deg) scaleY(0);
}

.faq-item__answer {
    overflow: hidden;
}

.faq-item__answer-inner {
    padding: 0 4px 20px;
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

@media (max-width: 767.98px) {
    .faq-page {
        padding: 40px 0 60px;
    }

    .faq-page__title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .faq-categories {
        gap: 32px;
    }

    .faq-item__question {
        font-size: 15px;
        padding: 14px 2px;
    }
}

/********************************************************************************************/
/**************************************** CONTACTS ******************************************/
.contacts-page {}

.contacts-page__title {
    color: var(--color-blue);
}

.contacts-page img {
    width: 100%;
    border-radius: 11px;
}

.contacts-page_map {
    margin-top: 45px;
}

.contacts-page_map iframe {
    width: 100%;
    border-radius: 11px;
}

/********************************************************************************************/
/**************************************** PRICE ******************************************/
.prices-page__title {
    color: var(--color-blue);
}

.prices-page h2 {
    color: var(--color-blue);
}

table td,
table th {
    padding: 20px 0;
    vertical-align: middle;
}

table tr {
    border-top: 1px solid #d7eff1;
}

table tr:first-child {
    border: none;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {}

.table.price>tbody>tr>td,
.table.price>tbody>tr>th,
.table.price>tfoot>tr>td,
.table.price>tfoot>tr>th,
.table.price>thead>tr>td,
.table.price>thead>tr>th {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 14px;
    line-height: 1.625;
    color: #858889;
    font-weight: normal;
    vertical-align: middle;
    padding: 20px 0;
    border-top: none;
}

.table.price>tbody>tr>td,
.table.price>tfoot>tr>td,
.table.price>thead>tr>td {
    font-size: 16px;
}

.table.price>tbody>tr>td:first-child {
    font-family: 'Roboto', 'Arial', sans-serif;
    font-size: 16px;
    line-height: 1.625;
    color: #000;
    vertical-align: middle;
    color: #183f82;
}

.table.price>tbody>tr>th:last-child,
.table.price>tbody>tr>td:last-child {
    text-align: right;
}

td.diag-card {
    padding: 0 0 20px 0 !important;
}

.card-body {
    padding: 30px 40px;
    background-color: #183f82;
    color: #FFF;
    position: relative;
}

.card-body p,
.card-body ul,
.card-body ol {
    color: #FFF !important;
}

.card-text {
    text-align: left;
    width: 85%;
}

.card-text p {
    margin-bottom: 0;
    padding-bottom: 0;
    line-height: 1.4;
}

.card-container {
    width: 85%;
}

.diag-card ul li:before {
    color: #FFF;
}

.diag-card hr {
    max-width: 15%;
    margin-left: 0;
}

.diag-card ul {
    column-count: 2;
    text-align: left;
    color: #FFF;
    margin-left: 0;
    padding-left: 0;
}

.diag-card ul li {
    margin-bottom: 0;
    color: #FFF;
}

.price-box {
    background: #f96a30;
    border-radius: 0;
    position: absolute;
    top: 0;
    right: 32px;
    color: #ffffff;
    text-align: center;
    line-height: 50px;
    font-weight: 900;
    font-size: 2rem;
    padding: 20px 30px;
}

.line-through {
    position: relative;
}
.line-through:before {
    content: " ";
    width: 100%;
    height: 2px;
    color: red;
    background-color: red;
    position: absolute;
    top: 50%;
}

/* portrait phones, less than 576px */
@media screen and (max-width: 575.98px) {
    .diag-card ul {
        column-count: 1;
    }

    .price-box {
        position: absolute;
        top: 0;
        right: 50%;
        margin-right: -60px;
        text-align: center;
        height: auto;
        font-weight: bold;
        font-size: 2rem;
        line-height: 25px;
        padding: 20px;
        width: 120px;
    }

    .card-text {
        text-align: center;
        width: 100%;
        padding-top: 50px;
    }

    .card-container {
        width: 100%;
    }
}

/********************************************************************************************/
/**************************************** DOCTORS *******************************************/

.doctors-item {
    max-width: 250px;
    padding: 10px;
    /*border: 1px solid var(--color-lightblue);*/
    border-radius: 10px;
    height: 100%;
}

.doctors-in-section .doctors_title {
    text-align: left;
    color: var(--color-blue);
    font-size: 44px;
    margin-bottom: 0px;
     font-weight: bold;
}

.doctors-item img {
    border-radius: 10px;
    border: 1px solid #ededed;
}

.doctors-item .doctors-name {
    text-align: center;
    font-size: 16px;
    line-height: 1.2rem;
    margin: 10px 0 5px 0;
    color: var(--color-blue);
}

.doctors-item .doctors-name span {
    font-weight: bold;
}

.doctors-item .doctors-prof {
    text-align: center;
    font-size: 14px;
    line-height: 1.1rem;
    color: var(--color-80);
}

.next-doctor-link {
    text-align: right;
}

.doctor_section-title {
    color: var(--color-blue);
     font-weight: bold;
}

.doctor_section-img img {
    width: 100%;
    border-radius: 11px;
}

.doctor_section-item {
    margin-bottom: 15px;
}

.doctor_section-wrapper {}

/********************************************************************************************/
/**************************************** services *******************************************/

.services-item_container {
    font-size: 18px;
    display: flex;
    width: 100%;
    height: 300px;
    flex-direction: column;
    justify-content: end;
    align-items: flex-start;
    background-size: cover;
    overflow: visible;
    position: relative;
    border-radius: 26px;
    background-position: 0% 50%;
    padding: 30px;
}

.services_title {
    text-align: left;
    color: var(--color-blue);
    font-size: 44px;
    margin-bottom: 0px;
    font-weight: bold;
}

.services-item_container:hover {transform: scale(1.05);}

.services-item_container::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    opacity: 0.7;
    inset: 0px;
    background: linear-gradient(90deg, var(--color-blue), transparent 80%, transparent);
    transition: none;
    border-radius: 26px;
}

.services-item_info {color: var(--color-ff);
position: relative;
    z-index: 2;
    display: flex;
    padding: 0px;
    flex-direction: column;
    align-items: flex-start;
    width: 80%;
    text-align: left;}

.services-name h2 {font-size: 1.4rem;line-height: 1.2rem;}
.services-anons {font-size: .85rem;line-height: 1rem;margin-top: 15px;}

.services_mainimg-section {
    margin-top: 60px;
}

.services_mainimg-wrapper {
    text-align: center;
    font-size: 18px;
    display: flex;
    width: 100%;
    height: 600px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    background-size: cover;
    overflow: visible;
    position: relative;
    border-radius: 26px;
}

.services_mainimg-wrapper::before {
    content: "";
    display: block;
    position: absolute;
    z-index: 2;
    opacity: 0.7;
    inset: 0px;
    background: linear-gradient(90deg, var(--color-blue), transparent 50%, transparent);
    transition: none;
    border-radius: 26px;
}

.services_mainimg-image {}

.services_mainimg-content {
    position: relative;
    z-index: 2;
    display: flex;
    padding: 0 40px;
    color: #fff;
    flex-direction: column;
    align-items: flex-start;
    width: 50%;
    text-align: left;
}

.services_section-breadcrumbs {
    font-size: .9rem;
}

.services_section-breadcrumbs .container {
    padding: 0;
}

.services_section-breadcrumbs a {
    color: var(--color-ff);
}

.services_section-title {
    color: var(--color-ff);
    font-size: 3rem;
}

.services_section-img img {
    width: 100%;
    border-radius: 11px;
}

.services_section-item {
    margin-bottom: 15px;
}

.services_section-wrapper {}

@media (min-width: 768px) {
    .services_mainimg-section .container {
        max-width: 1240px;
    }
}

@media (max-width: 767.98px) {
    .services_mainimg-wrapper {
        height: 400px;
        background-position-x: 40%;
    }

    .services_mainimg-content {
        width: 90%;
    }

    .services_mainimg-wrapper::before {
        background: linear-gradient(90deg, var(--color-blue), transparent 100%, transparent);

    }

}

/* ============================================================
   СТИЛИ ДЛЯ ФОРМЫ ОНЛАЙН-ЗАПИСИ (Contact Form 7 + Bootstrap 5.3)
   ============================================================ */

/* Основной контейнер формы */
.wpcf7-form .container {
    padding: 0;
    margin: 0 auto;
}

/* Заголовок формы */
.wpcf7-form h1 {
    font-size: 28px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
}

/* Метки полей */
.wpcf7-form .form-label {
    font-weight: 500;
    color: #3d3d3d;
    margin-bottom: 0.5rem;
    display: block;
}

.wpcf7-form .form-label .text-danger {
    color: #dc3545;
    margin-left: 2px;
}

/* Поля ввода */
.wpcf7-form .form-control,
.wpcf7-form .form-select {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 0.625rem 0.875rem;
    font-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.wpcf7-form .form-control:focus,
.wpcf7-form .form-select:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 0.2rem rgba(24, 63, 130, 0.15);
    outline: 0;
}

.wpcf7-form .form-control::placeholder {
    color: #6c757d;
    opacity: 0.7;
}

/* Текстовое поле (textarea) */
.wpcf7-form textarea.form-control {
    resize: vertical;
    min-height: 100px;
}

/* Чекбоксы согласия */
.wpcf7-form .form-check {
    padding-left: 1.75rem;
    margin-bottom: 1rem;
}

.wpcf7-form .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    margin-left: -1.75rem;
    border: 1px solid #ced4da;
    cursor: pointer;
}

.wpcf7-form .form-check-input:checked {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
}

.wpcf7-form .form-check-input:focus {
    border-color: var(--color-blue);
    box-shadow: 0 0 0 0.2rem rgba(24, 63, 130, 0.15);
}

.wpcf7-form .form-check-label {
    cursor: pointer;
    user-select: none;
    line-height: 1.5;
}

.wpcf7-form .form-check-label.small {
    font-size: 14px;
    color: #555;
}

/* Кнопка отправки */
.wpcf7-form .btn-primary {
    background-color: var(--color-blue);
    border-color: var(--color-blue);
    color: #fff;
    font-weight: 600;
    font-size: 18px;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.wpcf7-form .btn-primary:hover {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(-1px);
}

.wpcf7-form .btn-primary:active {
    background-color: var(--color-orange);
    border-color: var(--color-orange);
    transform: translateY(0);
}

.wpcf7-form .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(24, 63, 130, 0.3);
}

/* Сообщения об ошибках Contact Form 7 */
.wpcf7-form .wpcf7-not-valid-tip {
    color: #dc3545;
    font-size: 14px;
    margin-top: 0.25rem;
    display: block;
}

.wpcf7-form .wpcf7-not-valid {
    border-color: #dc3545 !important;
}

/* Сообщение об успешной отправке */
.wpcf7-response-output {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    border-radius: 4px;
    font-size: 15px;
}

.wpcf7-mail-sent-ok {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
}

/* Спиннер загрузки */
.wpcf7-form .wpcf7-spinner {
    margin-left: 1rem;
    vertical-align: middle;
}

.wpcf7-form .form-check {
    display: flex;
}

.wpcf7-form .wpcf7-list-item {
    margin: 0 1em 0 0;
}

.wpcf7 .wpcf7-submit:disabled {
    background-color: var(--color-3d);
    border-color: var(--color-3d);
}

/* Адаптивность для мобильных */
@media (max-width: 767.98px) {
    .wpcf7-form h1 {
        font-size: 24px;
    }

    .wpcf7-form .btn-primary {
        font-size: 16px;
        padding: 0.625rem 1.5rem;
    }

    .wpcf7-form .form-check-label.small {
        font-size: 13px;
    }
}

/* Убираем лишние отступы у CF7 по умолчанию */
.wpcf7-form p {
    margin: 0;
}

/********************************************************************************************/
/**************************************** FOOTER ********************************************/
.site-footer {
    padding: 56px 0 28px;
}

.footer-logo {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    margin-bottom: 18px;
}

.visually-impaired {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: .82rem;
    line-height: 1.25;
    color: var(--color-3d);
    text-decoration: none;
}

.visually-impaired:hover {
    color: var(--color-3d);
    opacity: 1;
}

.visually-impaired .eye-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid #cfcfcf;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: none;
}

@keyframes eye-blink {
    0% {
        transform: scaleY(1);
    }

    40% {
        transform: scaleY(0.05);
    }

    60% {
        transform: scaleY(0.05);
    }

    100% {
        transform: scaleY(1);
    }
}

.visually-impaired .eye-icon svg {
    transform-origin: center;
    transition: none;
}

.visually-impaired:hover .eye-icon svg {
    animation: eye-blink 0.45s ease-in-out 1;
}

.footer-heading {
    font-weight: 700;
    font-size: 1.05rem;
    margin-bottom: 18px;
}

.footer-heading a {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-3d);
    text-decoration: none;
    border-bottom: 2px transparent solid;
}

.footer-heading a:hover {
    text-decoration: none;
    border-width: 2px;
    border-color: var(--color-3d);
    opacity: 1;
}

.footer-menu li:first-child {
    margin-bottom: 18px;
}

.footer-menu li:first-child a {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-3d);
    text-decoration: none;
    border-bottom: 2px transparent solid;
}

.footer-menu li a {
    color: var(--color-3d);
    text-decoration: none;
    border-bottom: 2px transparent solid;
}

.footer-menu li:not(:first-child) a {
    color: var(--color-3d);
    text-decoration: none;

}

.footer-menu li a:hover {
    text-decoration: none;
    border-width: 2px;
    border-color: var(--color-3d);
    opacity: 1;
}

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

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--color-3d);
    text-decoration: none;
}

.footer-links a:hover {
    text-decoration: none;
}

.footer-contacts {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.footer-contacts a {
    color: var(--color-3d);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 12px;
    border-bottom: 2px transparent solid;
}

.footer-contacts a:hover {
    text-decoration: none;
    border-width: 2px;
    border-color: var(--color-3d);
    opacity: 1;
}

.footer-contacts address {
    font-style: normal;
    margin-bottom: 12px;
}

.footer-divider {
    border-top: 1px solid var(--color-80);
    margin: 40px 0 24px;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.footer-copy {
    color: var(--color-3d);
    font-size: .875rem;
    margin: 0;
}

.footer-copy p {
    margin-bottom: 0;
}

.footer-social {
    display: flex;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-social a {
    width: 34px;
    height: 34px;
    text-decoration: none;
    transition: background .15s ease;
}

.footer-social a:hover {
    opacity: 1;
}

.footer-social svg {
    filter: grayscale(1);
    transition: filter 0.3s ease;
    border-radius: 8px;
}

.footer-social a:hover svg {
    filter: grayscale(0);
}


.footer-dev {
    color: var(--color-3d);
    font-size: .875rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.footer-dev a {
    color: var(--color-3d);
    text-decoration: underline;
}

.footer-dev-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

@media (max-width: 1200px) {

    .footer-social {
        order: -1;
        width: 100%;
        margin-bottom: 23px;
        padding-bottom: 23px;
        border-bottom: 1px var(--color-80) solid;
        justify-content: center;
    }
}

@media (max-width: 767.98px) {
    .footer-bottom {
        justify-content: center;
        text-align: center;
    }

    .footer-heading {
        justify-content: center;
        text-align: center;
    }

    .footer-links {
        text-align: center;
    }

    .footer-menu li a {
        text-decoration: none;
        border-width: 2px;
        border-color: var(--color-3d);
        opacity: 1;
    }

    .footer-social {
        order: -1;
    }

}

/********************************************************************************************/
/********************************* COOCKIE **************************************************/
#cookie_notification {
    display: none;
    position: fixed;
    bottom: 150px;
    font-size: 16px;
    z-index: 99999;
}

#cookie_notification.show {
    display: block;
}

#cookie_notification .alert {
    position: fixed;
    left: 20vw;
    right: 20vw;
    max-width: 80vw;
    background-color: #3A3939;
    color: #FFF;
    padding: 22px 32px;
    font-size: 20px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    -webkit-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.35);
    -moz-box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.35);
    box-shadow: 0px 10px 30px 0px rgba(0, 0, 0, 0.35);
}

#cookie_notification .alert-heading {
    margin-right: 15px;
}

#cookie_notification .alert-heading a {
    color: #FFF;
    text-decoration: underline;
}

#cookie_notification .alert-heading a:focus,
#cookie_notification .alert-heading a:active,
#cookie_notification .alert-heading a:hover {
    text-decoration: none;
}

a.btn-close_super {
    -o-transition: all .8s ease-out;
    -moz-transition: all .8s ease-out;
    transition: all .8s ease-out;
    -webkit-transition: all .8s ease-out;
    background-color: transparent;
    color: var(--color-ff);
    border: 1px solid var(--color-ff);
    font-size: 20px;
    padding: 10px 50px;

}

a.btn-close_super:focus,
a.btn-close_super:active,
a.btn-close_super:hover {
    -o-transition: all .8s ease-out;
    -moz-transition: all .8s ease-out;
    transition: all .8s ease-out;
    -webkit-transition: all .8s ease-out;
    background-color: transparent;
    color: var(--color-ff);
    border: 1px solid var(--color-ff);
    text-decoration: none;
    opacity: .5;

}

/* large desktops, less than 1800px */
@media screen and (max-width: 1799.98px) {
    #cookie_notification .alert {
        left: 20vw;
        right: 20vw;
    }
}

/* large desktops, less than 1600px */
@media screen and (max-width: 1599.98px) {
    #cookie_notification .alert {
        left: 20vw;
        right: 20vw;
        font-size: 16px;
        padding: 16px 22px;
    }

    a.btn-close_super {
        font-size: 16px;
    }
}

/* large desktops, less than 1400px */
@media screen and (max-width: 1399.98px) {
    #cookie_notification .alert {
        font-size: 14px;
    }

    a.btn-close_super {
        font-size: 14px;
    }
}

/* desktops, less than 1200px */
@media screen and (max-width: 1199.98px) {}

/* tablets, less than 992px */
@media screen and (max-width: 991.98px) {}


/* landscape phones, less than 768px */
@media screen and (max-width: 767.98px) {
    #cookie_notification {
        bottom: 150px;
    }

    #cookie_notification .alert {
        flex-wrap: wrap;
        justify-content: center;
        padding: 12px 20px;
        text-align: center;
        gap: 10px;
        left: 10vw;
        right: 10vw;
        border-radius: 11px;
    }

    #cookie_notification .alert-heading {
        margin-right: 0px;
    }
}