* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    scroll-behavior: smooth;
    font-family: 'roboto';
}

a{
    text-decoration: none !important;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

body {
    background: #F6F7F9;
}

@media (max-width:500px){
    body{padding:0 5px;}
}

@font-face {
    font-family: 'roboto';
    src: url('../fonts/Roboto-Regular.ttf');
}

@font-face {
    font-family: 'roboto_medium';
    src: url('../fonts/Roboto-Medium.ttf');
}

@font-face {
    font-family: 'roboto_light';
    src: url('../fonts/Roboto-Light.ttf');
}

h1 {
    font-weight: 400;
    font-size: 44px;
    color: #002138;
}

h2 {
    font-size: 32px;
    color: #002138;
    font-weight: 400;
}

 .city-selector {
    position: relative;
    cursor: pointer;
    display: inline-block;
}

.city-selector:hover .city-dropdown,
.city-selector:focus .city-dropdown {
    display: block;
}

.city-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #e1e5ee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    min-width: 220px;
    margin-top: 8px;
    padding: 8px 0;
    display: none;
}

.city-option {
    padding: 10px 16px;
    color: #002138;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    transition: background 0.2s ease;
}

.city-option:hover {
    background: #f0f5ff;
    color: #0561F9;
}

/* ===== HEADER ===== */
.header {
    padding-top: 20px;
}

.header__container {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.header__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.contact-info__item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.contact-info__icon {
    flex-shrink: 0;
}

.contact-info__text {
    font-size: 15px;
    color: #002138;
    white-space: nowrap;
}

.header__contacts {
    display: flex;
    gap: 30px;
    align-items: center;
    flex-wrap: wrap;
}

.header__phones {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.header__phone {
    font-size: 18px;
    font-family: 'roboto_medium';
    color: #002138;
    white-space: nowrap;
}

.color-accent {
    color: #0561F9;
}

/* Социальные сети */
.social-links {
    display: flex;
    gap: 14px;
    align-items: center;
}

.social-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 100%;
    transition: opacity 0.3s ease;
}

.social-links__item:hover {
    opacity: 0.8;
}

.social-links__item--whatsapp {
    background-color: #25D366;
}

.social-links__icon {
    width: 100%;
    height: 100%;
}

/* Кнопки */
.btn {
    font-size: 16px;
    font-family: 'roboto_medium';
    border-radius: 8px;
    padding: 16px 46px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn--primary {
    color: #fff;
    background: #0561F9;
    transition: all 0.3s ease;
    cursor:pointer;
}

.btn--primary:hover {
    background: #e6effe;
    color: #0561f9;
}

/* Нижняя панель */
.header__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

/* Бренд и логотип */
.brand {
    display: flex;
    align-items: center;
    gap: 48px;
    border-radius: 8px;
    background: #fff;
    padding: 11px 24px;
    flex-wrap: wrap;
}

.brand__logo {
    position: relative;
    display: block;
}

.brand__logo::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -24px;
    transform: translateY(-50%);
    width: 1px;
    height: 36px;
    background: #0561F9;
}

.brand__tagline {
    font-size: 15px;
    line-height: 130%;
    color: #002138;
    font-family: 'roboto_light';
}

/* Главная навигация */
.main-nav {
    background: #fff;
    border-radius: 8px;
    padding: 24px 42px 24px 37px;
}

.main-nav__list {
    display: flex;
    gap: 79px;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 17px;
    color: #002138;
    transition: color 0.3s ease;
}

.main-nav__link:hover {
    color: #0561F9;
}

.main-nav__arrow {
    width: 9px;
    height: 5px;
    fill: #0561F9;
    transition: transform 0.3s ease;
}

.main-nav__item--has-dropdown:hover .main-nav__arrow {
    transform: rotate(180deg);
}

.btn_adaptive {
    display: none;
}

/* === БУРГЕР === */
.burger-menu {
    display: none;
    width: 56px;
    height: 64px;
    background: #fff;
    border-radius: 8px;
    cursor: pointer;
    border: none;
    padding: 0;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.burger-menu svg {
    width: 24px;
    height: 24px;
}

/* === ОВЕРЛЕЙ === */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* === МОБИЛЬНОЕ МЕНЮ === */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 320px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    padding: 24px 32px;
    box-shadow: 4px 0 12px rgba(0, 0, 0, 0.1);
}

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

.mobile-nav__header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.mobile-nav__close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-nav__menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav__menu a {
    font-size: 17px;
    color: #002138;
    text-decoration: none;
    transition: color 0.3s ease;
    padding: 8px 0;
    border-bottom: 1px solid transparent;
}

.mobile-nav__menu a:hover,
.mobile-nav__menu a:focus {
    color: #0561F9;
    border-bottom: 1px solid #0561F9;
}

.mobile_phone--icon {
    display: none;
}

.header_bottom--mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 28px;
}

.dropdown-menu {
    position: absolute;
    top: 259%;
    left: -189px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 40px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    list-style: none;
    width: 300px;
    min-width: 280px;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 212px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    z-index: 101;
}

.main-nav__item--has-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0 0 8px 0;
    position: relative;
}

.dropdown-menu a {
    display: block;
    font-size: 17px;
    line-height: 210%;
    color: #002138;
    font-family: 'roboto_light';
    text-decoration: none;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 4px 0;
}

.dropdown-menu a:hover {
    color: #0561f9;
    font-family: 'roboto';
}

.dropdown-menu .sub-menu {
    position: absolute;
    left: 100%;
    top: 0;
    margin-left: 8px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    padding: 40px;
    min-width: 280px;
    width: 300px;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    list-style: none;
    z-index: 101;
}

.dropdown-menu .main-nav__item--has-dropdown > a .main-nav__arrow {
    display: none;
}

.dropdown-menu .main-nav__item--has-dropdown > a .sub-menu-arrow {
    fill: #0561F9;
    opacity: 1;
    display: inline-block;
    margin-left: 8px;
}


.dropdown-menu .sub-menu::before {
    content: '';
    position: absolute;
    top: 20px;
    left: -8px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #fff;
    z-index: 102;
}

.dropdown-menu .main-nav__item--has-dropdown:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.sub-menu-arrow {
    float: right;
    margin-top: 10px;
    opacity: 0.6;
}

.dropdown-menu a:hover .sub-menu-arrow {
    opacity: 1;
}

.sub-menu .sub-menu {
    left: 100%;
    top: 0;
}

@media (max-width: 992px) {
    .dropdown-menu,
    .dropdown-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 10px 0 10px 20px;
        margin-top: 10px;
        width: 100%;
        display: none;
    }

    .dropdown-menu::before,
    .sub-menu::before {
        display: none;
    }

    .main-nav__item--has-dropdown > a {
        cursor: pointer;
    }

    .main-nav__arrow {
        transition: transform 0.3s ease;
    }

    .main-nav__item--has-dropdown.active > .dropdown-menu,
    .dropdown-menu .main-nav__item--has-dropdown.active > .sub-menu {
        display: block;
    }

    .main-nav__item--has-dropdown.active > a .main-nav__arrow {
        transform: rotate(180deg);
    }
}

.main-nav__item--has-dropdown > a[href="#"] {
    cursor: default;
    pointer-events: none;
}

@media (max-width: 992px) {
    .main-nav__item--has-dropdown > a[href="#"] {
        pointer-events: auto;
        cursor: pointer;
    }

    .main-nav__item--has-dropdown > a[href="#"] .main-nav__arrow {
        pointer-events: auto;
    }
}




@media (max-width: 1210px) {

    .header__top {
        gap: 9px;
        border-bottom: 1px solid #eaeaea;
    }

    .contact-info {
        justify-content: space-between;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .contact-info__item {
        flex: 1;
        min-width: 0;
    }

    .contact-info__item:first-child .contact-info__text {
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 231px;
    }

    .contact-info__item:first-child .city-address {
        display: block;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 231px;
    }

    .contact-info__item:nth-child(2) {
        display: none;
    }

    .header__contacts {
        display: grid;
        gap: 34px;
        align-items: center;
    }

    .header__phones {
        flex-direction: row;
        gap: 20px;
        justify-content: flex-start;
    }

    .header__phone {
        white-space: nowrap;
    }

    .social-links {
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        gap: 8px;
    }

    .header__top .btn {
        display: none;
    }


    .header__bottom {
        display: grid;
        grid-template-columns: auto 1fr auto;
        gap: 12px;
        align-items: center;
    }


    .burger-menu {
        display: flex;
        order: 1;
    }


    .main-nav {
        display: none;
    }


    .brand {
        justify-content: center;
        order: 2;
    }

    .brand__logo svg {
        width: 150px;
        height: auto;
    }


    .header__bottom .btn {
        display: block;
        order: 3;
        width: auto;
        padding: 14px 24px;
        font-size: 15px;
        white-space: nowrap;
        height: 64px;
    }

    .contact-info__item:nth-child(2),
    .main-nav {
        display: none;
    }

    .brand {
        padding: 15px 24px;
    }
}

@media (max-width: 680px) {

    .header_bottom--mobile {
        gap: 12px;
    }

    .brand__tagline {
        display: none;
    }

    .brand__logo::after {
        display: none;
    }
}

@media (max-width: 650px) {


    .header__bottom {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }


    .burger-menu {
        align-self: flex-start;
        order: 1;
    }

    .brand {
        order: 2;
        justify-content: center;
        padding: 15px 0;
        width: 100%;
    }

    .mobile_phone--icon {
        align-self: flex-end;
        order: 3;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px;
        width: 56px;
        height: 64px;
        background: #fff;
    }

    .btn_adaptive {
        order: 4;
        width: 100%;
        padding: 16px;
        font-size: 16px;
        white-space: normal;
        text-align: center;
        height: auto;
    }

    .header__bottom .btn {
        padding: 10px 24px;
        height: 40px;
    }

    .header__phones {
        display: none;
    }

    .contact-info__item:first-child .contact-info__text {
        max-width: 183px;
    }

}


/*=== BANNER ===*/
.banner {
    margin-top: 20px;
}

.banner_content {
    background: url(../media/banner/banner.png);
    background-size: cover;
    height: 524px;
    padding-left: 64px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    position: relative;
    background-position: right center;
}

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

.banner_content_text h1 {
    font-size: 44px;
    color: #002138;
    font-weight: 400;
}

.banner_content_text p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
    width: 355px;
}

.banner_content_buttons {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-top: 17px;
}

.banner_content_buttons button {
    font-size: 16px;
    color: #fff;
    font-family: 'roboto_medium';
    border-radius: 8px;
    background: #0561f9;
    padding: 16px 37px;
    border: none;
}

.banner_content_buttons .banner_button--second {
    border: 1px solid #0561f9;
    border-radius: 8px;
    background: none;
    color: #0561f9;
    padding: 16px 27px;
}

.banner_content_buttons .banner_button--second:hover{
     background: #e6effe;
    color: #0561f9;
    transition: all 0.3s ease;
    cursor:pointer;
    border: 1px solid #e6effe;
}

.banner_bottom--items {
    position: absolute;
    display: flex;
    gap: 24px;
    bottom: -71px;
    left: 4%;
    width: calc(100% - 8%);
    max-width: 1200px;
}

.banner_bottom--item {
    display: flex;
    gap: 26px;
    align-items: center;
    background: #fff;
    box-shadow: 0 4px 20px 0 rgba(219, 219, 219, 0.25);
    border-radius: 8px;
    padding: 27px 50px 27px 40px;
    flex: 1;
    min-width: 0;
}

.banner_bottom--item_text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.banner_bottom--item_text .banner_bottom--item_text_title {
    font-size: 20px;
    color: #002138;
    font-family: 'roboto';
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner_bottom--item_text p {
    font-size: 18px;
    line-height: 1.5;
    color: #002138;
    font-family: 'roboto_light';
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (max-width:1210px) {
    .banner_content {
        background: url(../media/banner/banner_tablet.png);
        background-size: cover;
        border-radius: 8px;
        padding-left: 48px;
    }

    .banner_content_text h1 {
        font-size: 36px;
        width: 304px;
    }

    .banner_content_buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .banner_content_text {
        gap: 18px;
        width: auto;
    }

    .banner_bottom--items {
        gap: 16px;
        bottom: -120px;
        left: 4%;
    }

    .banner_bottom--item {
        gap: 20px;
        padding: 24px 40px 24px 32px;
        flex-direction: column;
        align-items: flex-start;
    }

    .banner_bottom--item_text .banner_bottom--item_text_title {
        font-size: 18px;
    }

    .banner_bottom--item_text p {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .banner_bottom--items {
        gap: 12px;
        bottom: -110px;
        left: 4%;
    }

    .banner_bottom--item {
        gap: 16px;
        padding: 20px 30px 20px 24px;
    }

    .banner_bottom--item_text .banner_bottom--item_text_title {
        font-size: 16px;
    }

    .banner_bottom--item_text p {
        font-size: 14px;
    }
}
@media (max-width:786px){
        .banner_content {
            height: auto;
            padding-top: 50px;
        }
}
@media (max-width:700px) {
    .banner_bottom--items {
        display: none;
    }
}

@media (max-width:400px) {
    .banner_content {
        background: url(../media/banner/banner_mobile.png);
        background-size: cover;
        border-radius: 8px;
        padding-left: 30px;
        justify-content: flex-start;
        padding-top: 40px;
        height: 628px;
        margin-bottom: 429px;
    }

    .banner_button--second {
        display: none;
    }

    .banner_content_text {
        width: auto;
    }

    .banner_content_text h1 {
        font-size: 28px;
        width: 242px;
    }

    .banner_content_text p {
        width: auto;
    }
}


/*=== SERVICES ===*/
.services {
    margin-top: 152px;
}

.services_content {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.services_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.services_title_arrows {
    display: flex;
    gap: 12px;
    align-items: center;
}

.services_title_arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.services_title_arrow:hover {
    opacity: 0.8;
}

.services_title_arrow.disabled {
    opacity: 0.4;
    pointer-events: none;
    cursor: not-allowed;
}

.services_slider_container {
    overflow: hidden;
    width: 100%;
}

.services_cards {
    display: flex;
    transition: transform 0.3s ease;
}

.services_cards {
    display: flex;
    gap: 19px;
    transition: transform 0.4s ease;
}

.services_card {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    gap: 31px;
    border-radius: 8px;
    background: #fff;
    padding: 20px 28px;
    width: 230px;
    justify-content: space-between;
}

.services_card img {
    border-radius: 8px;
    width: 230px;
    height: 154px;
    object-fit: cover;
}

.services_card_text {
    width: 230px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.services_card_text .service_title {
    font-weight: 400;
    font-size: 20px;
    line-height: 130%;
    color: #002138;
    font-family: 'roboto';
    padding:0;
}

.services_card_text p {
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
    padding-top: 10px;
}


.services_card_text .services_price {
    font-size: 22px;
    line-height: 130%;
    color: #0561f9;
    font-family: 'roboto_medium';
    padding-top: 0;
}

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

.services_card button {
    border-radius: 8px;
    font-size: 16px;
    font-family: 'roboto_medium';
    padding: 16px 11px;
    border: none;
    margin-top: 5px;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: auto;
}

.services_buttons a {
    font-size: 16px;
    color: #0561f9;
    border: 1px solid #0561f9;
    border-radius: 8px;
    font-family: 'roboto_medium';
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 11px;
}

.services_buttons a:hover{
    background: #e6effe;
    color: #0561f9;
    transition: all 0.3s ease;
    cursor:pointer;
    border: 1px solid #e6effe;
}


@media (max-width: 1210px) {
    .services_card {
        width: calc((100% - 207px) / 3) !important;
    }

    .services_card img {
        height: 132px;
        width: 100%;
    }

    .services_card_text p {
        font-size: 16px;
        width: 188px;
    }

    .services_card button {
        width: 100%;
    }
}

@media (max-width: 1210px) {
    .services {
        margin-top: 221px;
    }

    .services_buttons {
        flex-wrap: wrap;
    }

    .services_buttons a {
        width: 100%;
    }
}

@media (max-width: 680px) {
    .services {
        margin-top: 60px;
    }

    .services_card {
        width: 80% !important;
    }

    .services_card img {
        width: 100%;
    }

    .services_cards {
        gap: 0;
    }
}

.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 340px) {
    .slider-dots {
        display: flex !important;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: #0561F9;
}

/* Добавляем эти стили: */
.services_slider_container {
    overflow: hidden;
    width: 100%;
}

.services_cards {
    display: flex;
    gap: 19px;
    transition: transform 0.3s ease;
}

/* Точки только на мобилке */
.slider-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 340px) {
    .slider-dots {
        display: flex;
    }
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: #0561F9;
}

/* На мобилке скрываем стрелки */
@media (max-width: 340px) {
    .services_title_arrows {
        display: none !important;
    }
}


/*=== PRICES ===*/
.prices {
    margin-top: 88px;
}

.prices_content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.prices_block {
    border-radius: 8px;
    background: #fff;
    padding: 21px 28px 45px 28px;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.prices_block_title {
    border-radius: 8px;
    background: rgba(5, 97, 249, 0.1);
    padding: 22px 34px;
    display: flex;
    justify-content: space-between;
    padding-right: 255px;
}

.prices_block_title p {
    font-size: 20px;
    line-height: 130%;
    color: #0561f9;
}

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

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

.afterline {
    position: relative;
}

.afterline::after {
    content: "";
    position: absolute;
    border-radius: 8px;
    width: 100%;
    height: 1px;
    background: #f2f4ff;
    bottom: -50%;
}

.prices_block_item_price {
    display: flex;
    gap: 109px;
}

.prices_block_item p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
    padding-left: 34px;
}

.prices_block_item .prices_block_item_price p {
    font-family: 'roboto';
    padding: 0;
}

.prices_block_item_price a {
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #0561f9;
    font-family: 'roboto_medium';
   padding:3px 20px;
}
.prices_block_item_price a:hover{
    text-decoration:none;
   background: #0561f9;
   border-radius: 8px;
   color: #fff;
}


@media (max-width:750px) {
    .prices_block_item p {
        width: 200px;
    }

    .prices_block_item .prices_block_item_price p {
        width: auto;
    }
}

@media (max-width:750px) {
    .prices_block_item_price {
        display: flex;
        gap: 10px;
        flex-direction: column;
    }

    .prices_block_title {
        padding-right: 50px;
    }
}

@media (max-width:415px) {
    .prices_block_item p {
        width: 150px;
        font-size: 16px;
        padding-left: 10px;
    }

    .prices_block_item {
        align-items: flex-start;
    }


    .afterline::after {
        bottom: -19%;
    }
}

@media (max-width:340px) {
    .prices_block_title {
        padding: 22px 12px;
        justify-content: flex-start;
        gap: 100px;
    }
}

/*=== ABOUT ===*/
.about {
    margin-top: 88px;
}

.about_content {
    display: flex;
    flex-direction: column;
    gap: 65px;
    position: relative;
}

.about_content_img {
    position: absolute;
    right: 2%;
    top: 5%;
}

.about_content_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about_content_top_text {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
    align-items:flex-start;
}

.about_content_top_square {
    border-radius: 8px;
    width: 324px;
    height: 169px;
    background: #0561f9;
}

.about_content_top_text p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
    width: 571px;
}

.about_content_top_text a {
    margin-top: 28px;
    font-size: 16px;
    font-family: 'roboto_medium';
    border-radius: 8px;
    border: none;
    padding: 16px 74px;
    width: auto;
}

.about_content_items {
    display: flex;
    gap: 68px;
    border-radius: 8px;
    width: 905px;
    background: #fff;
    padding: 36px 0px 49px 25px;
}

.about_content_item {
    display: flex;
    flex-direction: column;
    gap: 21px;
    width: 137px;
}

.about_content_item p {
    font-weight: 300;
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.about_content_item .about_content_item--number {
    font-size: 46px;
    color: #0561f9;
    font-family: 'roboto';
}

.mobile_image {
    display: none;
}

@media (max-width:1210px) {

    .about_content_img {
        right: 2%;
        top: 3%;
    }

    .about_content_img img {
        width: 379px;
    }

    .about_content_top_text p {
        width: 355px;
    }

    .about_content_top_square {
        width: 198px;
    }

    .about_content {
        gap: 45px;
    }

    .about_content_items {
        width: auto;
        background: none;
        display: flex;
        gap: 15px;
        justify-content: space-between;
        padding: 0px;
    }

    .about_content_item {
        gap: 21px;
        width: 100%;
        padding: 30px 32px;
        background: #fff;
        border-radius: 8px;
    }
}

@media (max-width:768px) {
    .about_content_img img {
        width: 340px;
    }

    .about_content_top_text p {
        font-size: 16px;
    }

    .about_content_top_text {
        margin-top: 0px;
    }
}

@media (max-width:715px) {
    .about_content_top_square {
        display: none;
    }

    .about_content_img img {
        display: none;
    }

    .mobile_image {
        display: flex;
        width: 100%;
    }

    .about_content_top {
        flex-direction: column;
        gap: 20px;
    }

    .about_content {
        gap: 26px;
    }

    .about_content_item {
        gap: 0px;
    }

    .about_content_items {
        flex-wrap: wrap;
    }

    .about_content_top_text p {
        width: auto;
    }
}

/*=== EXPERTS ===*/
.experts {
    margin-top: 88px;
}

.experts_content {
    display: flex;
    flex-direction: column;
    gap: 34px;
}

.experts_content_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.experts_content_title--arrows {
    display: flex;
    gap: 12px;
}

.experts_content_title--arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.experts_slider_container {
    overflow: hidden;
    width: 100%;
}

.experts_cards {
    display: flex;
    transition: transform 0.4s ease;
    width: max-content;
    gap: 18px;
}

.expert_card {
    display: flex;
    flex-direction: column;
    gap: 26px;
    border-radius: 8px;
    background: #fff;
    padding: 16px 14px 29px 14px;
    align-items: center;
    flex: 0 0 auto;
}

.expert_card:last-child {
    margin-right: 0;
}

.experts-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.expert_card img {
    border-radius: 8px;
    width: 258px;
    height: 179px;
}

.expert_card_text {
    width: 228px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.expert_card_text p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
}

.expert_card_text .color-accent {
    color: #0561F9;
}

.light-accent {
    font-family: 'roboto_light';
}

.expert_card_text h4 {
    font-size: 20px;
    line-height: 130%;
    color: #002138;
    font-weight: 400;
}

.expert_card button {
    border-radius: 8px;
    font-size: 16px;
    font-family: 'roboto_medium';
    padding: 16px 33px;
    border: none;
    width: 230px;
    margin-top: 5px;
}

@media (max-width:768px) {
    .expert_card {
        width: 214px;
        align-items: baseline;
    }

    .expert_card button {
        width: 100%;
        padding: 16px 13px;
    }

    .expert_card img {
        width: 100%;
        height: auto;
    }

}

@media (max-width: 340px) {
    .experts-dots {
        display: flex;
    }
}

.expert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
}

.expert-dot.active {
    background: #0561F9;
}

@media (max-width: 340px) {
    .experts_content_title--arrows {
        display: none !important;
    }
}

@media (max-width: 340px) {
    .expert_card {
        margin-right: 0;
        width: auto;
    }

    .expert_card img {
        height: auto;
    }

    .expert_card_text {
        width: 100%;
    }

    .expert_card button {
        width: 100%;
    }
}

/*=== CERTS ===*/
.certs {
    margin-top: 90px;
}

.certs_content {
    display: flex;
    flex-direction: column;
    gap: 34px;
    position: relative;
}

.certs_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.certs_title-arrows {
    display: flex;
    gap: 12px;
    align-items: center;
}

.certs_title-arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.background-pattern {
    position: absolute;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: -2;
    width: 100%;
    bottom: -9%;
}

.pattern {
    border-radius: 8px;
    width: 290px;
    height: 169px;
    background: #e6effe;
}

.certs_background {
    position: absolute;
    z-index: -1;
    border-radius: 8px;
    width: 97%;
    height: 224px;
    background: #fff;
    bottom: -5%;
    left: 1.5%;
}

.certs_slider {
    display: flex;
    transition: transform 0.4s ease;
    width: max-content;
    gap: 36px;
    justify-content: center;
}

.certs_slider_container {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certs_slider img {
    flex: 0 0 auto;
    border-radius: 8px;
    object-fit: cover;
    width: 228px;
    height: 323px;
    cursor: pointer;
}

.certs-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

@media (max-width: 340px) {
    .certs-dots {
        display: flex;
    }
}

.cert-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    border: none;
    padding: 0;
}

.cert-dot.active {
    background: #0561F9;
}

@media (max-width: 340px) {
    .certs_title-arrows {
        display: none !important;
    }
}

@media (max-width: 340px) {
    .certs_slider img {
        max-width: 100%;
        height: auto;
    }

    .certs_slider {
        gap: 0;
        padding: 0 10px;
    }

    .certs_slider_container {
        padding: 10px 0;
    }

    .certs_background {
        height: 180px;
        bottom: -3%;
    }

    .background-pattern {
        display: none;
    }
}

@media (max-width: 768px) {
    .certs_slider {
        gap: 24px;
        margin-left: 20px;
    }

    .certs_slider_container {
        display: block;
    }
}


/*=== ADVANTAGES ===*/
.advantages {
    margin-top: 144px;
}

.advantages__content {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.advantages__grid {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: start;
}

.advantages__items {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.advantages__row-top {
    display: grid;
    grid-template-columns: 420px 342px;
    gap: 18px;
}

.advantages__row-bottom {
    display: grid;
    grid-template-columns: 342px 420px;
    gap: 18px;
}

.advantages__card {
    background: #fff;
    border-radius: 8px;
    padding: 28px 10px 28px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* .advantages__card--narrow {
    height: 233px;
} */

.advantages__header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.advantages__icon {
    background: #0561f9;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.advantages__header p {
    font-size: 19px;
    line-height: 130%;
    color: #002138;
    margin: 0;
}

.advantages__text {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
    margin: 0;
}

.advantages__image {
    max-width: none;
    height: 100%;
}

.advantages--tablet {
    display: none;
}

.advantages--tablet {
    display: none;
}

@media (max-width: 1210px) {
    .advantages__grid {
        display: none;
    }

    .advantages--tablet {
        display: block;
    }

    .advantages--tablet .advantages__grid--tablet {
        display: flex;
        align-items: stretch;
        gap: 18px;
    }

    .advantages--tablet .advantages__column {
        display: flex;
        flex-direction: column;
        gap: 18px;
        width: 38%;
    }

    .advantages--tablet .advantages__tablet-image {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 254px;
    }

    .advantages--tablet .advantages__image--tablet {
        width: 100%;
        height: 100%;
        max-height: none;
    }

    .advantages--tablet .advantages__card {
        padding: 24px 20px;
        text-align: left;
        background: #fff;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        gap: 9px;
        align-items: flex-start;
    }

    .advantages--tablet .advantages__card--individual,
    .advantages--tablet .advantages__card--official {
        height: 230px;
    }

    .advantages--tablet .advantages__card--relief,
    .advantages--tablet .advantages__card--price {
        height: 300px;
    }

    .advantages--tablet .advantages__header {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .advantages--tablet .advantages__header p {
        font-size: 18px;
        margin: 0;
    }

    .advantages--tablet .advantages__text {
        font-size: 16px;
        margin: 0;
    }
}


@media (max-width: 660px) {
    .advantages__text br {
        display: none;
    }

    .advantages--tablet .advantages__header {
        align-items: center;
        flex-direction: row;
    }

    .advantages--tablet .advantages__grid--tablet {
        flex-direction: column;
        gap: 20px;
    }

    .advantages--tablet .advantages__column {
        width: 100%;
    }

    .advantages--tablet .advantages__image--tablet {
        display: none;
    }

    .advantages--tablet .advantages__card {
        width: 90%;
        padding: 20px 16px;
        height: auto !important;
    }

    .advantages--tablet .advantages__header p {
        font-size: 16px;
    }

    .advantages--tablet .advantages__text {
        font-size: 14px;
    }
}


/*=== FAQ ===*/
.faq {
    margin-top: 88px;
}

.faq_content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.faq_content_nav a {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.faq_content_nav .nav_active {
    color: #0561f9;
    font-family: 'roboto';
}

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

.faq_accordion_item {
    display: flex;
    justify-content: space-between;
    background: #fff;
    border-radius: 8px;
    padding: 22px 32px;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0;
}

.faq_accordion_item svg {
    cursor: pointer;
}

.faq_accordion_item p {
    font-size: 18px;
    line-height: 130%;
    color: #002138;
}

.faq_answer {
    order: 1;
    width: 100%;
    font-size: 16px;
    line-height: 150%;
    color: #555;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.faq_answer p {
    padding-top: 16px;
    font-family: 'roboto_light';
    font-size: 16px;
}

.faq_accordion_item.active .faq_answer {
    max-height: 500px;
    opacity: 1;
}

.faq_accordion_item.active svg {
    transform: rotate(180deg);
}

.faq_content_nav {
    display: flex;
    gap: 34px;
    position: relative;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 12px;
}

.faq_content_nav::-webkit-scrollbar {
    display: none;
}

/* Линии — теперь внутри .faq_content_nav */
.nav-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    width: 100%;
    pointer-events: none;
}

.nav-line-gray {
    width: 100%;
    height: 100%;
    background: #e1e5ee;
    border-radius: 8px;
    height: 1px;
}

.nav-indicator {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: #0561f9;
    border-radius: 8px;
    transition: width 0.4s ease;
}

@media (max-width: 768px) {
    .faq_content_nav {
        gap: 20px;
    }

    .faq_content_nav a {
        font-size: 16px;
        white-space: nowrap;
    }
}

@media (max-width:480px) {
    .faq_accordion_item p {
        width: 240px;
    }
}

/* === REVIEWS === */
.reviews {
    margin-top: 88px;
}

.reviews_content {
    display: flex;
    flex-direction: column;
    gap: 21px;
    overflow: hidden;
}

.reviews_content_title {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border-radius: 8px;
    padding: 17px 26px;
    flex-wrap: wrap;
}

.reviews_content_title_nav {
    display: flex;
    gap: 30px;
}

.reviews_content_title_nav .all {
    font-size: 16px;
    color: #0561f9;
    font-family: 'roboto_medium';
    border: 1px solid #0561f9;
    border-radius: 8px;
    width: 174px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviews_content_title_nav--link {
    display: flex;
    gap: 10px;
    align-items: center;
}

.reviews_content_title_nav--link a {
    font-size: 16px;
    color: #002138;
    font-family: 'roboto_medium';
}

.reviews_content_title_nav_buttons {
    display: flex;
    gap: 34px;
    align-items: center;
}

.reviews_content_title_nav_buttons button {
    font-size: 16px;
    color: #0561f9;
    font-family: 'roboto_medium';
    border: 1px solid #0561f9;
    border-radius: 8px;
    width: 174px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
}

.reviews_content_title_nav_buttons button:hover {
background: #e6effe;
    color: #0561f9;
    transition: all 0.3s ease;
    cursor:pointer;
    border: 1px solid #e6effe;

}
.reviews_content_title_nav_buttons-arrows {
    display: flex;
    gap: 12px;
}

.reviews_content_title_nav_buttons-arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.reviews_content_title_nav_buttons-arrow.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.reviews_content_cards {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    transition: transform 0.3s ease;
}

/* Для десктопа (3 карточки) */
@media (min-width: 731px) {
    .reviews_content_card {
        width: calc((100% - 40px) / 3);
        /* 3 карточки с gap 20px */
        min-width: 0;
        flex: 0 0 auto;
    }
}

/* Для мобильных (1 карточка) */
@media (max-width: 730px) {
    .reviews_content_card {
        width: 100%;
        min-width: 100%;
        flex: 0 0 auto;
    }
}

.reviews_content_card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    border-radius: 8px;
    background: #fff;
    padding: 30px 28px 46px 28px;
    box-sizing: border-box;
}

.reviews_content_card_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.reviews_content_card_title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ececec;
    bottom: -80%;
}

.reviews_content_card_title_name {
    display: flex;
    gap: 8px;
    align-items: center;
}

.reviews_content_card_title p {
    font-size: 14px;
    color: #002138;
    font-family: 'roboto_medium';
}

.reviews_content_card_person {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-top: 18px;
}

.reviews_content_card_person_photo {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

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

.reviews_content_card_person_name p {
    font-size: 16px;
    color: #002138;
    font-family: 'roboto_medium';
}

.review_text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.5;
    max-height: calc(1.5em * 3);
}

.review_toggle {
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #0561f9;
    background: none;
    border: none;
    text-align: start;
    margin-top: 8px;
    cursor: pointer;
    display: none;
}

.reviews_button_adaptive {
    display: none;
}

@media (max-width:1210px) {
    .reviews_content_title_nav_buttons button {
        display: none;
    }

    .reviews_button_adaptive {
        display: flex;
        width: 296px;
        height: 50px;
        justify-content: center;
        align-items: center;
        font-size: 16px;
        color: #0561f9;
        font-family: 'roboto_medium';
        margin: 0 auto;
        border: 1px solid #0561f9;
        border-radius: 8px;
        background: none;
        cursor: pointer;
    }
}

@media (max-width:730px) {
    .reviews_content_title_nav_buttons-arrows {
        display: none;
    }
}

/* === Точки для отзывов === */
.reviews-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.reviews-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: background 0.3s ease;
}

.reviews-dot.active {
    background: #0561f9;
}

/* Показываем точки только на мобилке */
@media (max-width: 730px) {
    .reviews-dots {
        display: flex;
    }
}

@media (max-width:500px) {
    .reviews_content_title_nav--link a {
        display: none;
    }
}

@media (max-width: 340px) {
    .reviews_content_card {
        width: 84%;
    }
}

/*=== FEEDBACK ===*/
.feedback {
    margin-top: 88px;
}

.feedback_content {
    position: relative;
    border-radius: 8px;
    background: #fff;
    padding: 58px 0px 66px 54px;
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.feedback_content_title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.feedback_content_title p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.feedback_content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feedback_content form .feedback_form-name {
    border-radius: 8px;
    width: 468px;
    height: 56px;
    background: #f6f7f9;
    opacity: 0.99;
    border: none;
    padding-left: 24px;
}

.feedback_content form .feedback_form-district{
    border-radius: 8px;
    width: 492px;
    height: 56px;
    background: #f6f7f9;
    opacity: 0.99;
    border: none;
    padding-left: 24px;
     font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}


.feedback_content form input {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

/* === Сохраняем твои стили без изменений === */
.feedback_form_input {
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 8px;
    width: 468px;
    height: 56px;
    background: #f6f7f9;
    padding-left: 24px;
    position: relative;
    /* Для позиционирования выпадашки */
}

.feedback_form_input_country {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    outline: none;
}

.feedback_form_input_country:focus .country-arrow {
    transform: rotate(180deg);
    transition: transform 0.2s ease;
}

.feedback_form_input_country svg:first-child {
    width: 23px;
    height: 56px;
    flex-shrink: 0;
}

.feedback_form_input_country svg:last-child {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

/* === НОВОЕ: выпадающий список === */
.country-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 10;
    margin-top: 8px;
    overflow: hidden;
}

.country-option {
    padding: 12px 24px;
    font-size: 16px;
    color: #002138;
    cursor: pointer;
    transition: background 0.2s ease;
}

.country-option:hover {
    background: #f0f4ff;
}

/* === Инпут === */
.feedback_content form .feedback_form_input input {
    border: none;
    background: none;
    color: #002138;
    font-family: 'roboto';
    font-size: 18px;
    line-height: 150%;
    width: 100%;
    outline: none;
}

.feedback_content form .feedback_form_input input {
    border: none;
    background: none;
    color: #002138;
    font-family: 'roboto';
}

.feedback_content form button {
    border-radius: 8px;
    font-size: 16px;
    font-family: 'roboto_medium';
    padding: 16px 120px;
    border: none;
    width: 320px;
    margin-top: 15px;
}

.feedback_agreement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 17px;
    position: relative;
}

.feedback_agreement input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.feedback_agreement label {
    font-size: 14px;
    line-height: 150%;
    color: #002138;
    position: relative;
    display: block;
}

.feedback_agreement label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: #eeeff2;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.feedback_agreement label {
    padding-left: 40px;
    margin-top: -2px;
}

.feedback_agreement label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.feedback_agreement label:hover::before {
    background: #e0e1e5;
}

.feedback_agreement input[type="checkbox"]:checked+label::before {
    background: #0561F9;
}

.feedback_agreement input[type="checkbox"]:checked+label::after {
    display: block;
}

.feedback_agreement a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #0561f9;
}

.feedback_content_img {
    position: absolute;
    right: 30px;
    top: 169px;
}

.feedback_tablet {
    display: none;
}

.feedback_mobile {
    display: none;
}

@media (max-width:1210px) {
    .feedback_tablet {
        display: flex;
        width: 90%;
    }

    .feedback_desktop {
        display: none;
    }

    .feedback_content_img {
        top: 197px;
        right: 0;
    }
}

@media (max-width:960px) {
    .feedback_content_img {
        top: 216px;
    }

    .feedback_content form .feedback_form-name {
        width: 296px;
    }

    .feedback_form_input {
        width: 296px;
    }

    .feedback_content form .feedback_form-district {
          width: 320px;
    }

    .feedback_agreement label {
        width: 280px;
    }

    .feedback_tablet {
        width: 95%;
    }
}

@media (max-width:790px) {
    .feedback_content form {
        margin-top: 35px;
    }

    .feedback_content {
        gap: 0;
    }

    .feedback_content form .feedback_form-name {
        width: 90%;
    }

    .feedback_form_input {
        width: 90%;
    }

    .feedback_content form .feedback_form-district {
    width: 94%;
    }

    .feedback_content {
        padding: 58px 24px 0 24px;
    }

    .feedback_content_img {
        display: none;
    }

    .feedback_mobile {
        display: flex;
    }

    .feedback_content form button {
        width: 94%;
    }

    .feedback_agreement label {
        width: auto;
    }
}

/*=== FOOTER ===*/
footer {
    background: #1b2433;
    margin-top: 122px;
    padding: 67px 0px 44px 0px;
    position:relative;
    z-index:5;
}

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

.footer_top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 100px;
    gap: 96px;
}

.footer_logo {
    position: relative;
}

.footer_logo p {
    position: absolute;
    font-size: 15px;
    line-height: 130%;
    color: #fff;
    left: 34.5%;
    font-family: 'roboto_light';
    top: 48%;
}

.footer_nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer_nav nav {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer_nav p {
    font-size: 20px;
    color: #fff;
}

.footer_nav nav a {
    font-size: 17px;
    color: #fff;
}

.footer_nav nav a:hover{
    color:#0561f9;
}

.footer_nav .dropdown-menu{
    top:150%;
}
.footer_nav .dropdown-menu a {
    color: #002138;
}

.footer_nav .dropdown-menu a:hover {
    color: #0561f9;
}

.footer_address {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer_address_items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer_address_items .clinic-address {
    font-weight: 400;
    font-size: 20px;
    color: #fff;
}

.footer_address_items-item {
    display: flex;
    gap: 6px;
    align-items: center;
}

.footer_address_items-item p {
    font-size: 15px;
    line-height: 150%;
    color: #fff;
}

.footer_buttons {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.footer_buttons .sta_button {
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    font-family: 'roboto_medium';
    padding: 16px 52px;
    border: none;
}

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

.footer_phones a {
    font-size: 20px;
    color: #fff;
    font-family: 'roboto_medium';
}

.footer_times {
    display: flex;
    gap: 9px;
    align-items: center;
}

.footer_times p {
    font-size: 15px;
    color: #fff;
}

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

.footer_bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    font-size: 15px;
    color: #fff;
    margin-top: 77px;
}

.footer_bottom a {
    color: #fff;
}

.footer_bottom a:hover {
    text-decoration:underline;
}


.footer_bottom_info {
    display: flex;
    gap: 77px;
}

.footer__text {
    font-weight: 300;
    font-size: 14px;
    line-height: 150%;
    text-align: center;
    color: #fff;
    font-family: 'roboto_light';
    opacity: 0.7;
    position: relative;
}

.footer__text::before {
    content: "";
    width: 100%;
    height: 1px;
    border-radius: 8px;
    background: #222e41;
    position: absolute;
    top: -30px;
    left: 0;
}

.footer__text::after {
    content: "";
    width: 100%;
    height: 1px;
    border-radius: 8px;
    background: #222e41;
    position: absolute;
    bottom: -30px;
    left: 0;
}

.footer__tablet--content {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

@media (max-width: 1210px) {

    .footer_top {
        flex-direction: column;
        gap: 69px;
        padding: 0 10px;

    }

    .footer_bottom {
        flex-direction: column-reverse;
        align-items: center;
        gap: 70px;
        text-align: center;
    }

    .footer__text {
        padding: 0 10px;
    }

}

/* Мобилка: до 340px */
@media (max-width: 630px) {
    .footer_top> :not(.footer_logo) {
        flex-direction: column;
        gap: 30px;
    }

    .footer_nav,
    .footer_address,
    .footer_buttons {
        width: 100%;
    }

    .footer_bottom_info {
        gap: 10px;
        flex-direction: column;
    }

    .footer_nav {
        align-items: center;
    }

    .footer_nav nav {
        align-items: center;
    }

    .footer_nav .dropdown-menu{
        left:-111px;
        width:216px;
    }

    .footer_nav .dropdown-menu::before{
        left:134px;
    }
}



/*=== SERVICES-PAGE ===*/
.services_page_cards {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

.page_title {
    margin-top: 46px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breadcamps {
    display: flex;
    gap: 5px;
}

.breadcamps a {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}
.breadcamps a:hover{
    color:#0561F9;
    transition:0.5s;
}
.breadcamps p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

/*=== CONTACTS PAGE ===*/
.contacts {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contacts_content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 8px;
    background: #fff;
    padding: 34px 42px;
}

.contacts_content_text {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.contacts_content_phones {
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-radius: 8px;
}

.contacts_content_phones a {
    font-size: 20px;
    color: #002138;
    font-family: 'roboto_medium';
}

.contacts_content_info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contacts_content_info--item {
    display: flex;
    align-items: center;
    gap: 9px;
}

.contacts_content_info--item p {
    font-size: 15px;
    color: #002138;
}

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

.contacts_content_text_button {
    margin-top: 12px;
    border-radius: 8px;
    width: 230px;
    height: 50px;
    background: #e6effe;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    color: #0561f9;
    font-family: 'roboto_medium';
    border: none;
}

.contacts_map {
    margin-top: 76px;
}

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

.contacts_map_block {
    padding: 32px 42px;
    background: #fff;
    border-radius: 8px;
}

.contacts_map_block iframe {
    width: 100%;
    display: block;
    border: none;
    border-radius: 8px;
}

.contacts_tablet {
    display: none;
}

@media (max-width:1020px) {
    .contacts_image {
        display: none;
    }

    .contacts_tablet {
        display: flex;
    }
}

@media (max-width: 700px) {
    .contacts_map_block iframe {
        height: 300px;
    }

    .contacts_content {
        flex-wrap: wrap;
        gap: 30px;
    }

    .contacts_tablet {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .contacts_map_block iframe {
        height: 250px;
    }
}


/*=== BLOG_PAGE ===*/
.blog_page {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.blog_cards_block {
    display: flex;
    flex-direction: column;
    gap: 50px;
    align-items: center;
}

.blog_cards {
    display: flex;
    gap: 27px;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
}

.blog_card {
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-radius: 8px;
    background: #fff;
    padding: 24px 28px 41px 28px;
    flex: 1 1 calc(33.333% - 18px);
    min-width: 280px;
    max-width: 380px;
    box-sizing: border-box;
    justify-content: space-between;
}


.blog_card img {
    width: 100%;
    height: auto;
    aspect-ratio: 326 / 183;
    object-fit: cover;
    border-radius: 8px;
}

.blog_card_text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    flex:1;
}

.blog_card_text h3 {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.3;
    color: #002138;
    font-weight: 400;
}

.blog_card_text p {
    font-size: 16px;
    line-height: 1.5;
    color: #002138;
    font-family: 'roboto_light';
}

.blog_card .blog_link {
    border-radius: 8px;
    background: #e6effe;
    font-family: 'roboto_medium';
    font-size: 16px;
    color: #0561f9;
    padding: 16px 46px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 152px;
}

.blog_card a:hover {
    background: #d0e0fd;
}

.wp-block-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    table-layout: fixed;
    min-width: 600px;
}

.wp-block-table th,
.wp-block-table td {
    border: 1px solid #ddd;
    text-align: left;
    word-break: break-word;
    overflow-wrap: break-word;
    padding: 8px 10px;
}

.wp-block-table th {
    background: #f5f5f5;
    font-weight: 600;
}

.wp-block-table tr:nth-child(even) {
    background: #fafafa;
}

@media (max-width: 768px) {
    .wp-block-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

/* === Пагинация === */
.blog_cards_pagination {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.blog_cards_pagination p {
    font-size: 18px;
    color: #002138;
    font-family: 'roboto_medium';
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.blog_cards_pagination .paginate_active,
.blog_cards_pagination p:hover {
    background: #0561f9;
    color: #fff;
}

/* === Адаптив: планшет === */
@media (max-width: 1024px) {
    .blog_card {
        flex: 1 1 calc(50% - 14px);
        /* 2 колонки */
    }
}

/* === Адаптив: мобильный === */
@media (max-width: 768px) {
    .blog_card {
        flex: 1 1 100%;
        /* 1 колонка */
        padding: 20px 20px 36px 20px;
    }

    .blog_card_text h3 {
        font-size: 18px;
    }

    .blog_card_text p {
        font-size: 15px;
    }

    .blog_card a {
        padding: 14px;
        font-size: 15px;
    }

    .blog_cards_pagination p {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }
}


/*=== BLOG_DETAIL ===*/
.blog_detail_content {
    background: #fff;
    border-radius: 8px;
    padding: 57px 161px;
    margin-top: 27px;
    display: flex;
    flex-direction: column;
    gap: 54px;
}

.blog_detail_content ul{
    list-style: disc;
}

.blog_detail_content ul li{
    list-style: disc;
    margin-left:20px;
}

.blog_detail_content ol{
    list-style: disc;
}

.blog_detail_content ol li{
    list-style: auto;
    margin-left:20px;
}

.blog_detail-top .page_title {
    margin-top: 0;
}

.blog_detail-top {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.blog_detail-top-items {
    display: flex;
    gap: 42px;
    align-items: center;
}

.blog_detail-top-item {
    display: flex;
    gap: 10px;
    align-items: center;
}

.blog_detail-top-item p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
}

.blog_detail-top img {
    width: 100%;
    height: auto;
}

.blog_detail_middle-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog_detail_middle-text p {
    font-size: 22px;
    color: #002138;
}

.blog_detail_middle-text ul li {
    list-style: disc;
    font-size: 18px;
    line-height: 180%;
    color: #002138;
    font-family: 'roboto_light';
    margin-left: 20px;
}

.blog_detail_middle-text ul li::marker {
    color: #0561f9;
}

.blog_detail_main-text {
    display: flex;
    flex-direction: column;
    gap: 54px;
    position: relative;
}
.blog_detail_main-text a{
     text-decoration: underline !important;
}
.blog_detail_main-text::after {
    content: "";
    width: 100%;
    background: #dce5f4;
    height: 1px;
    position: absolute;
    bottom: -0.5%;
}

.blog_detail_main-text-part {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.blog_detail_main-text-part h3 {
    font-weight: 400;
    font-size: 32px;
    color: #002138;
}

.blog_detail_main-text-part p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.blog_detail_main-text-part h4 {
    font-weight: 400;
    font-size: 26px;
    color: #002138;
    margin-top: 18px;
}

.blog_detail_main-text-warning {
    background: #e6effe;
    border-radius: 8px;
    padding: 23px 40px;
}

.wp-block-quote{
    background: #e6effe;
    border-radius: 8px;
    padding: 23px 40px;
}

.blog_detail_main-text-warning p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto';
}

.blog_detail_main-author {
    display: flex;
    flex-direction: column;
    gap: 19px;
    margin-top: 12px;
}

.blog_detail_main-author p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
}

.blog_detail_main-author-info {
    display: flex;
    align-items: center;
    gap: 13px;
}

.blog_detail_main-author-info p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.blog_detail_main-author-info .author_name {
    font-size: 20px;
    line-height: 130%;
    font-family: 'roboto';
}

.blog_others {
    margin-top: 88px;
}

.blog_slider_wrapper {
    overflow: hidden;
    width: 100%;
}

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

.blog_others_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog_others_title_buttons {
    display: flex;
    gap: 34px;
    align-items: center;
}

.blog_others_title_buttons a {
    border: 1px solid #0561f9;
    border-radius: 8px;
    width: 192px;
    height: 50px;
    font-size: 16px;
    color: #0561f9;
    font-family: 'roboto_medium';
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_others_title_arrows {
    display: flex;
    gap: 12px;
}

.blog_title_arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog_cards_others {
    display: flex;
    gap: 27px;
    width: 100%;
    scroll-behavior: smooth;

}

.blog_others_card_text .blog-news-title {
    margin-bottom: 6px;
    font-size: 20px;
    line-height: 1.3;
    color: #002138;
    font-weight: 400;
    font-family: 'roboto';
}

.blog_others_card_text p {
    font-size: 16px;
    line-height: 1.5;
    color: #002138;
    font-family: 'roboto_light';
}

.blog_card_others .read_more {
    border-radius: 8px;
    background: #e6effe;
    font-family: 'roboto_medium';
    font-size: 16px;
    color: #0561f9;
    padding: 16px 46px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
    width: 152px;
}

.blog_card_others {
    flex: 0 0 auto;
    width: 380px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    border-radius: 8px;
    background: #fff;
    padding: 24px 28px 41px 28px;
    box-sizing: border-box;
    justify-content: space-between;
}

@media (max-width: 768px) {
    .blog_card_others {
        width: calc(100vw - 40px);
        max-width: none;
    }

    .blog_cards_others {
        padding: 0 20px;
        margin: 0 -20px;
    }
}

.blog_card_others img {
    width: 100%;
    height: auto;
    aspect-ratio: 326 / 183;
    object-fit: cover;
    border-radius: 8px;
}

.blog_others_card_text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

@media (max-width:1000px) {
    .blog_detail_content {
        padding: 57px 55px;
    }

    .blog_detail_main-text-part h3 {
        font-size: 28px;
    }
}

@media (max-width:790px) {
    .blog_detail_main-text-part h3 {
        font-size: 24px;
    }
}

@media (max-width:400px) {
    .blog_others_title_buttons a {
        display: none;
    }

    .blog_detail-top-items {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    h1 {
        font-size: 28px;
    }
}

.blog_others_dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.blog_others_dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.blog_others_dot.active {
    background-color: #0561f9;
}

@media (max-width: 768px) {
    .blog_title_arrow {
        display: none;
    }
}
/*=== ABOUT_PAGE ===*/
.about_detail {
    margin-top: 30px;
}

.about_detail_content {
    display: flex;
    flex-direction: column;
    gap: 53px;
    border-radius: 8px;
    background: #fff;
    padding: 52px 46px;
}

.about_detail_content p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
}

.about_detail_slider {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about_detail_slider_title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.about_detail_slider_title h3 {
    font-size: 26px;
    color: #002138;
    font-weight: 400;
}

.about_others_title_arrows {
    display: flex;
    gap: 12px;
}

.about_title_arrow {
    border-radius: 8px;
    width: 40px;
    height: 40px;
    background: #0561f9;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about_detail_slider_cards {
    display: flex;
    gap: 19px;
    /* как в services */
    flex-wrap: nowrap;
    overflow: hidden;
}

.about_detail_slider_cards img {
    width: 354px;
    /* или любая фиксированная ширина по макету */
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    flex: 0 0 auto;
    /* не сжимать */
}
@media (max-width:400px){
    .about_detail_slider_cards img {
        width:100%;
    }
}

/*=== SERVICES_DETAIL ===*/
.banner_content_services {
    background-size: cover;
    height: 100%;
    padding: 58px 0px 131px 64px;
    display: flex;
    flex-direction: column;
    position: relative;
    background-position: right center;
    border-radius: 8px;
}

.breadcamps_services {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.breadcamps_services a {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
}

.breadcamps_services p {
    font-size: 16px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light';
    width: auto;
}

.banner_services_bottom--items {
    position: absolute;
    display: flex;
    gap: 24px;
    bottom: -71px;
    left: 3.6%;
    width: calc(100% - 7.2%);
    /* компенсируем left + right */
}

.banner_services_bottom--item {
    display: flex;
    gap: 26px;
    align-items: center;
    background: #fff;
    box-shadow: 0 4px 20px 0 rgba(219, 219, 219, 0.25);
    border-radius: 8px;
    padding: 27px 40px;
    /* ← убрали нулевой padding справа */
    width: 315px;
    /* ← не фиксированная ширина */
}

.banner_services_bottom--item_text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: hidden;
}

.banner_services_bottom--item_text .banner_bottom--item_text_title {
    font-size: 20px;
    color: #002138;
    font-family: 'roboto';
    overflow: hidden;
    text-overflow: ellipsis;
}

.banner_services_bottom--item_text p {
    font-size: 18px;
    line-height: 1.3;
    color: #002138;
    font-family: 'roboto_light';
    overflow: hidden;
    text-overflow: ellipsis;
}

.description {
    margin-top: 176px;
}

.service_description {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.service_description-info {
    border-radius: 8px;
    background: #fff;
    padding: 39px 43px;
}

.service_description-info p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
}

@media (max-width:980px) {
    .banner_services_bottom--items {
        bottom: -25%;
    }

    .banner_services_bottom--item {
        flex-direction: column;
        align-items: flex-start;
    }

    .breadcamps_services {
        display: none;
    }
}

@media (max-width: 768px) {
    .banner_content_services {
        background: url(../media/services/banner_mobile.png);
        background-size: cover;
        height: 595px;
        padding: 58px 0px 131px 64px;
        display: flex;
        flex-direction: column;
        position: relative;
        background-position: center;
        border-radius: 8px;
        margin-bottom: 350px;
    }

    .banner_services_bottom--items {
        position: relative;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        bottom: -50%;
        left: -55px;
        padding: 0 16px;
        margin-top: 32px;
    }

    .banner_services_bottom--item {
        width: 100%;
        padding: 20px 24px;
        flex-direction: row;
    }
}


/*== EXPLANATION ==*/
.explanation {
    margin-top: 88px;
}

.explanation_content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

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

.explanation_content_info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.explanation_image{
    object-fit: cover;
    border-radius: 8px;
}

.explanation_content_info-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.exlanation_content_info-text-part {
    background: #fff;
    border-radius: 8px;
    padding: 43px 30px 58px 43px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.exlanation_content_info-text-part p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
}

.exlanation_content_info-text-part .text_bold {
    font-family: 'roboto';
}

.exlanation_content_info-text-part ul li {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
    list-style: disc;
    margin-left: 15px;

}

.exlanation_content_info-text-part ul li::marker {
    font-size: 10px;
}

.explanation_warning {
    border-radius: 8px;
    background: #e6effe;
    padding: 38px 36px;
}

.explanation_warning p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
}

/*== STEPS ==*/
.steps {
    margin-top: 88px;
}

.steps_content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.steps_content-items {
    display: flex;
    gap: 53px;
    justify-content: space-between;
}

.steps_content-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.steps_content-item p {
    font-size: 18px;
    line-height: 130%;
    font-family: 'roboto_light';
    color: #002138;

}

.steps_content-item .number {
    margin-bottom: 4px;
    font-size: 30px;
    color: #0561f9;
    font-family: 'roboto';
    border-radius: 100%;
    background: #fff;
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps_content-item .steps-title {
    font-size: 20px;
    color: #002138;
    font-weight: 400;
}

.steps_content-item h4 {
    font-size: 20px;
    color: #002138;
    font-weight: 400;
}
/*== METHODS ==*/
.methods {
    margin-top: 88px;
}

.methods_content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.methods_content_info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.methods_image{
    object-fit: cover;
    border-radius: 8px;
}

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

.methods_content_info-text {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 8px;
    padding: 43px 69px 47px 37px;
}

.methods_content_info-text p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
}

.methods_content_info-text ul li {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
    margin-left: 15px;
    list-style: disc;
}

.methods_content_info-text ul li::marker {
    font-size: 10px;
}

.methods_content_info-warning {
    border-radius: 8px;
    background: #e6effe;
    padding: 33px 30px;
}

.methods_content_info-warning p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
}

/*== TREATMENT_PRICES ==*/
.treatment_prices {
    margin-top: 88px;
}

.treatment_content {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.treatment_cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.treatment_card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 8px;
    padding: 38px 67px 46px 38px;
    gap: 30px;
}

.treatment_card_title {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treatment_card_title h4 {
    font-weight: 400;
    font-size: 20px;
    color: #002138;
}

.treatment_card_title p {
    font-size: 16px;
    line-height: 130%;
    color: #6c6c6c;
    font-family: 'roboto_light';
}

.treatment_card_info {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.treatment_card_info p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
}

.treatment_card_info ul li {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
    margin-left: 20px;
    list-style: disc;
}

.treatment_card_info ul li::marker {
    font-size: 10px;
}

.treatment_card .treatment_price {
    font-size: 24px;
    color: #0561f9;
}

.treatment_card button {
    border-radius: 8px;
    background: #0561f9;
    font-size: 16px;
    color: #fff;
    font-family: 'roboto_medium';
    padding: 16px 34px;
    border: none;
}

.explanation_mobile {
    display: none;
}

.explanation_tablet {
    display: none;
}

.methods_mobile {
    display: none;
}

.methods_tablet {
    display: none;
}

@media (max-width:1200px) {
    .steps_content-items {
        display: flex;
        gap: 53px;
        justify-content: space-between;
        flex-wrap: wrap;
    }
}

@media (max-width:860px) {
    .explanation_image {
        display: none;
    }

    .explanation_tablet {
        display: flex;
    }

    .methods_image {
        display: none;
    }

    .methods_tablet {
        display: flex;
    }

    .treatment_card {
        width: 100%;
    }

    .treatment_cards {
        flex-wrap: wrap;
    }

}

@media (max-width:768px) {

    .methods_tablet {
        display: none;
    }

    .explanation_tablet {
        display: none;
    }

    .explanation_mobile {
        display: flex;
    }

    .methods_mobile {
        display: flex;
    }
}


.legal-document {
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.6;
  color: #333;
  font-size: 16px;
}
.legal-document h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #000;
}
.legal-document p,
.legal-document li {
  margin-bottom: 16px;
   list-style:disc;
}
.legal-document ol {
  padding-left: 20px;
}
.legal-document strong {
  font-weight: bold;
}
@media (max-width: 768px) {
  .legal-document {
    padding: 0 15px;
    font-size: 15px;
  }
  .legal-document h1 {
    font-size: 24px;
  }
}


.legal-page {
  max-width: 800px;
  margin: 40px auto;
  line-height: 1.6;
  font-size: 16px;
  color: #333;
}
.legal-page h1 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #000;
}
.legal-page p,
.legal-page li {
  margin-bottom: 16px;
  list-style:disc;
}
.legal-page ul,
.legal-page ol {
  padding-left: 20px;
  margin-bottom: 16px;
}
.legal-page a {
  color: #0073aa;
  text-decoration: underline;
}
@media (max-width: 768px) {
  .legal-page {
    padding: 0 15px;
    font-size: 15px;
  }
  .legal-page h1 {
    font-size: 24px;
  }
}



/* === POPUP === */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.6;
    z-index: 1000;
    display: none;
}

.popup-overlay.show {
    display: block;
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 1001;
    max-width: 860px;
    width: 90vw;
    pointer-events: none;
}

.popup.show {
    display: block;
}

.popup_content {
    background: #fff;
    border-radius: 8px;
    padding: 80px 20px;
    max-height: 90vh;
    overflow-y: auto;
    pointer-events: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 38px;
}

.popup_title {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

.popup_title h2 {
    font-size: 32px;
    color: #002138;
    margin: 0;
}

.popup_title p {
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light', sans-serif;
    margin: 0;
}

.popup_content form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 396px;
    max-width: 100%;
}

.popup_content form input[type="text"],
.popup_content form input[type="tel"] {
    height: 56px;
    border-radius: 8px;
    background: #f6f7f9;
    opacity: 0.99;
    padding-left: 24px;
    border: none;
    font-size: 18px;
    line-height: 150%;
    color: #002138;
    font-family: 'roboto_light', sans-serif;
    box-sizing: border-box;
}

.popup_content form select{
    border-radius: 8px;
    background: rgb(246, 247, 249);
    border: none;
    height: 56px;
    padding: 0px 24px;
    font-size: 18px;
    line-height: 150%;
    color: rgb(0, 33, 56);
    opacity: 0.99;
}

.popup_content form .feedback_form_input {
    width: 372px;
    position: relative;
}

.popup_content form .feedback_form_input input {
    padding-left: 0;
    width: 100%;
    font-family: 'roboto', sans-serif;
}

.popup_content form button {
    border-radius: 8px;
    width: 100%;
    height: 50px;
    background: #0561f9;
    font-family: 'roboto_medium', sans-serif;
    font-size: 16px;
    color: #fff;
    border: none;
    cursor: pointer;
}

.popup_agreement {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-top: 17px;
    position: relative;
}

.popup_agreement input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.popup_agreement label {
    font-size: 14px;
    line-height: 150%;
    color: #002138;
    position: relative;
    display: block;
}

.popup_agreement label::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background: #eeeff2;
    border-radius: 8px;
    transition: background-color 0.2s;
}

.popup_agreement label {
    padding-left: 40px;
    margin-top: -2px;
}

.popup_agreement label::after {
    content: "";
    position: absolute;
    top: 4px;
    left: 6px;
    width: 8px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    display: none;
}

.popup_agreement label:hover::before {
    background: #e0e1e5;
}

.popup_agreement input[type="checkbox"]:checked+label::before {
    background: #0561F9;
}

.popup_agreement input[type="checkbox"]:checked+label::after {
    display: block;
}

.popup_agreement a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #0561f9;
}

.popup_close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .popup_content form .feedback_form_input {
        width: auto;
    }
    .popup_content {
        width: auto;
        height: auto;
        padding: 30px 15px;
        gap: 24px;
    }

    .popup_title h2 {
        font-size: 24px;
    }

    .popup_title p {
        font-size: 16px;
    }

    .popup_content form {
        width: 100%;
    }

    .popup_content form input[type="text"],
    .popup_content form input[type="tel"] {
        font-size: 16px;
    }

    .popup_close {
        top: 15px;
        right: 15px;
    }
}


/*=== SEO-TEXT ===*/
.seo {
    margin-top: 88px;
}

.seo_content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.seo_content_title {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.seo_content_title p {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    font-family: 'roboto_light';
}

.seo_text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seo_text p {
    font-size: 20px;
    line-height: 130%;
    color: #002138;
}

.seo_text ul li {
    font-size: 18px;
    line-height: 160%;
    color: #002138;
    list-style: disc;
    font-family: 'roboto_light';
    margin-left: 15px;
}

.seo_text ul li::marker {
    color: #0561F9;
    font-size: 10px;
}

.seo_text_button {
    display: none;
    gap: 8px;
}

.seo_text_button button {
    font-size: 16px;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #0561f9;
    background: none;
    border: none;
}

/* Модальное окно */
.cert-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.cert-modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: contain;
}

.cert-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
}

.cert-modal-close:hover {
    color: #ccc;
}




.cookie-banner {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
        color: #ffffff;
        padding: 20px 30px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
        z-index: 9999;
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.4s ease, opacity 0.4s ease;
        font-family: 'Roboto', 'Arial', sans-serif;
    }

    .cookie-banner.show {
        transform: translateY(0);
        opacity: 1;
    }
    .cookie-banner-content {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        flex-wrap: wrap;
    }
    .cookie-banner-text {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
        flex: 1;
        min-width: 300px;
    }
    .cookie-banner-text a {
        color: #0561F9;
        text-decoration: underline;
    }
    .cookie-banner-btn {
        background: linear-gradient(135deg, #0561F9 0%, #0561F9 100%);
        color: #ffffff;
        border: none;
        padding: 12px 30px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 25px;
        cursor: pointer;
        transition: all 0.3s ease;
        white-space: nowrap;
    }
    .cookie-banner-btn:hover {
        background: linear-gradient(135deg, #42a5f5 0%, #1e88e5 100%);
        transform: translateY(-2px);
    }
    @media (max-width: 768px) {
        .cookie-banner-content {
            flex-direction: column;
            text-align: center;
        }
        .cookie-banner-btn {
            width: 100%;
            max-width: 280px;
        }
    }
.social-links {
    display: flex;
    gap: 10px;
}

.social-links__item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.social-links__item img,
.social-links__item svg {
    width: 100%;
    height: 100%;
}





.seo-tekst {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    margin-top:88px;
}

.seo-tekst > * {
    margin: 0 0 20px 0;
}

.seo-tekst table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 15px;
    background: #fff;
}

.seo-tekst th,
.seo-tekst td {
    border: 1px solid #e0e0e0;
    padding: 14px 16px;
    text-align: left;
    vertical-align: top;
}

.seo-tekst th {
    background: #f5f7fa;
    font-weight: 600;
    color: #002138;
}

.seo-tekst tbody tr:nth-child(even) {
    background: #fafbfc;
}

.seo-tekst tbody tr:hover {
    background: #f0f4ff;
}

.seo-tekst td p,
.seo-tekst th p {
    margin: 0;
    line-height: 1.5;
}

.seo-tekst ul {
    list-style: disc;
    padding-left: 24px;
    margin: 20px 0;
}

.seo-tekst li {
    margin: 8px 0;
    line-height: 1.6;
}

.seo-tekst em {
    color: #555;
    font-style: italic;
    display: block;
    margin: 24px 0;
    padding: 12px 16px;
    background: #f8f9fa;
    border-left: 3px solid #0561f9;
    border-radius: 0 4px 4px 0;
}

.seo-tekst a {
    color: #0561f9;
    text-decoration: none;
    font-weight: 500;
}

.seo-tekst a:hover {
    text-decoration: underline;
}

.sk-h2-single{
    font-size: 32px;
    color: #002138;
    font-weight: 400;
}

.steps_content-item .sk-h4-single {
    font-size: 20px;
    color: #002138;
    font-weight: 400;
}


@media (max-width: 768px) {
    .seo-tekst {
        font-size: 15px;
    }

    .seo-tekst table {
        font-size: 14px;
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .seo-tekst th,
    .seo-tekst td {
        padding: 12px 14px;
    }
}

@media (max-width: 480px) {
    .seo-tekst th,
    .seo-tekst td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .seo-tekst em {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* === Заголовок услуги: цена рядом с H1, но не внутри === */
.banner_content_text .banner_title {
    font-family: 'roboto';
    font-size: 44px;
    line-height: 1.125;
    letter-spacing: -0.1px;
    font-weight: 400;
    color: #002138;
}
.banner_content_text .banner_title h1 {
    display: inline;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
    margin: 0;
    width: auto;
}
.banner_content_text .banner_title .banner_title_price { white-space: nowrap; }
@media (max-width: 1210px) {
    .banner_content_text .banner_title { font-size: 36px; width: 304px; }
}
@media (max-width: 400px) {
    .banner_content_text .banner_title { font-size: 28px; width: 242px; }
}

/* === Карточки под баннером услуги: иконки не сжимаются === */
.banner_services_bottom--item > svg,
.banner_services_bottom--item > img {
    flex: 0 0 32px;
    width: 32px;
    min-width: 32px;
    height: 32px;
}
.banner_services_bottom--item_text { min-width: 0; flex: 1 1 auto; }

/* === Страницы услуг: картинки в блоках «Как действует» и «Из чего состоит» не растягиваются по высоте текста === */
.explanation_content_info,
.methods_content_info { align-items: stretch; }
/* картинка по высоте равна текстовому блоку рядом (сама высоту не задаёт), лишнее аккуратно обрезается */
.explanation_content_info > .explanation_image,
.explanation_content_info > .explanation_tablet,
.methods_content_info > .methods_image,
.methods_content_info > .methods_tablet {
    flex: 0 0 46%;
    width: 46%;
    max-width: 546px;
    height: auto;
    min-height: 320px;
    align-self: stretch;
    contain: size;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
}
.explanation_content_info-text,
.methods_content_info_block { flex: 1 1 0; min-width: 0; }

/* === Блок «Из чего состоит»: шрифт и таблица === */
.methods_content_info-text p { font-family: 'roboto_light'; }
.methods_content_info-text h2,
.methods_content_info-text h3 { font-size: 24px; line-height: 1.3; color: #002138; font-weight: 400; margin-top: 10px; }
.methods_content_info-text table,
.service_description-info table,
.exlanation_content_info-text-part table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
    font-family: 'roboto_light';
    font-size: 16px;
    line-height: 1.5;
    color: #002138;
    background: #fff;
}
.methods_content_info-text th,
.methods_content_info-text td,
.service_description-info th,
.service_description-info td,
.exlanation_content_info-text-part th,
.exlanation_content_info-text-part td {
    border: 1px solid #e0e6ef;
    padding: 12px 14px;
    text-align: left;
    vertical-align: top;
}
.methods_content_info-text th,
.service_description-info th,
.exlanation_content_info-text-part th { background: #e6effe; font-family: 'roboto'; font-weight: 400; }
.methods_content_info-text tbody tr:nth-child(even) td,
.service_description-info tbody tr:nth-child(even) td,
.exlanation_content_info-text-part tbody tr:nth-child(even) td { background: #f8faff; }

/* === Блок описания: подзаголовки и списки внутри === */
.service_description-info { display: flex; flex-direction: column; gap: 10px; }
.service_description-info h2,
.service_description-info h3 { font-size: 28px; line-height: 1.25; color: #002138; font-weight: 400; margin-top: 24px; }
.service_description-info ul li,
.service_description-info ol li {
    font-size: 18px; line-height: 160%; color: #002138; font-family: 'roboto_light'; margin-left: 20px;
}
.service_description-info ul li { list-style: disc; }
.service_description-info ol li { list-style: decimal; }
.service_description-info ul li::marker { font-size: 10px; color: #0561F9; }
.service_description-info ol li::marker { color: #0561F9; }

/* === SEO-текст: маркированные и нумерованные списки === */
.seo-tekst ul li { list-style: disc; }
.seo-tekst ol { list-style: decimal; padding-left: 24px; margin: 20px 0; }
.seo-tekst ol li { list-style: decimal; }
.seo-tekst ul li,
.seo-tekst ol li { font-size: 18px; line-height: 160%; color: #002138; font-family: 'roboto_light'; margin: 6px 0; }
.seo-tekst ul li::marker { color: #0561F9; font-size: 12px; }
.seo-tekst ol li::marker { color: #0561F9; }

@media (max-width: 860px) {
    .explanation_content_info > .explanation_tablet,
    .methods_content_info > .methods_tablet { flex-basis: 40%; width: 40%; min-height: 260px; }
}
@media (max-width: 768px) {
    .methods_content_info-text table,
    .service_description-info table,
    .exlanation_content_info-text-part table,
    .seo-tekst table { font-size: 14px; }
    .methods_content_info-text th, .methods_content_info-text td,
    .seo-tekst th, .seo-tekst td { padding: 8px; word-break: normal; overflow-wrap: anywhere; hyphens: auto; }
    .service_description-info h2, .service_description-info h3 { font-size: 22px; margin-top: 16px; }
    .service_description-info ul li, .service_description-info ol li,
    .seo-tekst ul li, .seo-tekst ol li { font-size: 16px; }
}
@media (max-width: 768px) {
    .methods_content_info-text { padding: 24px 16px; }
}
.seo_content_title ul, .seo_content_title ol { margin: 0; }
.seo_content_title li { margin: 4px 0; }

/* === Карточки под баннером: не наезжают на кнопки при длинном тексте === */
@media (min-width: 981px) {
    .banner_services_bottom--items {
        bottom: auto;
        top: calc(100% - 100px);
        align-items: stretch;
        gap: 20px;
    }
    .banner_services_bottom--item {
        flex: 1 1 0;
        width: auto;
        min-width: 0;
        padding: 24px 26px;
        gap: 18px;
    }
    .banner_services_bottom--item_text .banner_bottom--item_text_title { font-size: 19px; }
    .banner_services_bottom--item_text p { font-size: 16px; line-height: 1.35; }
}


/* Unified typography for service price blocks */
.treatment_prices .treatment_card_title,
.treatment_prices .treatment_card > p,
.treatment_prices .treatment_content > h3,
.treatment_prices .treatment_content > ul,
.treatment_prices .treatment_content > ul li,
.treatment_prices .treatment_content > p {
    font-family: 'roboto_light', Arial, sans-serif;
    font-size: 18px;
    font-weight: 300;
    line-height: 160%;
    color: #002138;
}

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


/* Keep service prices on one line */
.treatment_prices .treatment_price {
    white-space: nowrap !important;
}

/* === Главная: карточки под баннером не наезжают на кнопки (стили карточек у главной общие с услугами) === */
@media (min-width: 981px) {
    .banner_content .banner_services_bottom--items {
        top: auto;
        bottom: -71px;
    }
}
@media (min-width: 701px) and (max-width: 980px) {
    .banner_content {
        height: auto;
        min-height: 524px;
        padding-top: 60px;
        padding-bottom: 40px;
        margin-bottom: 150px;
    }
    .banner_content .banner_services_bottom--items {
        position: relative;
        top: auto;
        bottom: auto;
        left: 0;
        width: auto;
        margin: 40px 48px -190px -20px;
    }
}

/* Главная, 981-1210px: кнопки в колонку, карточки опускаем ниже второй кнопки */
@media (min-width: 981px) and (max-width: 1210px) {
    .banner_content .banner_services_bottom--items {
        top: calc(100% - 20px);
    }
}