*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* или transparent */
}

/*@import url('roboto.css');*/

/*html, input, textarea {*/
html, textarea {
    font-size: 17px;
    font-family: 'Roboto', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
    color: #000000;
}

.topbar,
.topbar a,
.topbar span {
  font-size: 18px;
  font-weight: 500;
}

/* H2 с синим бордером слева и жирным текстом */
h2.bold-h2 {
  font-size: 26px;
  font-weight: bold;
  line-height: 1.3;
  color: #000;
  margin-bottom: 15px;
  padding-left: 7px;
  border-left: 3px solid #127db4;
}

/* H2 с синим бордером слева простой */
h2 {
    font-size: 19px;
    line-height: 30px;
    border-left: 3px solid #127db4;
    padding-left: 7px;
	padding-right: 65px;
    text-align: left;
    font-weight: 500;
    margin-bottom: 15px;
	position: relative;
}

/*h2.line-sub {
    text-align: center;
    border-left: none;
    font-weight: 700;
	padding: 0;
}*/

/*h2.line-sub span {
    display: inline-block;
    padding: 0 10px;
}*/

/*@media (max-width: 768px) {
    h2.line-sub span {
        padding: 0;
        margin: 0 10%;
    }
}

h2.line-sub::before {
    content: '';
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    height: 1px;
    background-color: #008ed563;
    z-index: -1;
}*/



section {
    padding-bottom: 30px;
}

.flx {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.content_width {
    max-width: 1240px;
    width: 98%;
    margin: 0 auto;
}

/* Elfsight reviews: stop horizontal "floating" + reduce layout shift */
html, body { overflow-x: hidden; }

#reviews { overflow-x: clip; } /* можно hidden, если clip не поддержится на старых */
#reviews .elfsight-app-eb187372-7a23-43e5-b45a-632a450d8741{
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  min-height: 420px; /* подбери под свой виджет (например 350–600) */
}

/* На случай, если Elfsight/iframe пытается быть шире контейнера */
#reviews iframe,
#reviews [class*="eapps-"],
#reviews [class*="elfsight"]{
  max-width: 100% !important;
}


.btn {
    display: block;
    margin: 0 auto;
    width: fit-content;
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    border: none;
    background-color: #127db4;
    padding: 11px 21px;
}

@media (max-width: 768px) {
    .wrapper {
        padding: 0 3%;
        flex-wrap: wrap;
    }
}
.wrapper aside {
    width: 25%;
    min-width: 190px;
    max-width: 290px;
    padding-left: 20px;
    margin: 0;
}
@media (max-width: 768px) {
    .wrapper aside {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
    }
}
.wrapper aside > div {
    width: 100%;
    margin-bottom: 50px;
}
.wrapper aside .quick_help {
    position: relative;
}
.wrapper aside .slider_wrapper_aside ul li {
    display: flex;
    margin-bottom: 10px;
    padding: 0 2px;
}
.wrapper aside .slider_wrapper_aside ul li img {
    width: 80px;
    aspect-ratio: 1/1;
    margin-right: 15px;
}
.wrapper aside .slider_wrapper_aside ul li p {
    font-size: 13px;
    color: #7c7c7c;
}
.wrapper aside .slider_wrapper_aside ul li p span {
    color: black;
}
.wrapper main {
    width: 75%;
    align-self: flex-start;
}
@media (max-width: 768px) {
    .wrapper main {
        width: 100%;
    }
}

.page_title {
    padding: 18px;
    background-color: #127db4;
    margin-bottom: 50px;
}
@media (max-width: 768px) {
    .page_title {
        margin-bottom: 30px;
    }
}
.page_title h1 {
    margin: 0 auto;
    font-size: 18px;
    color: white;
    text-transform: uppercase;
    font-weight: 500;

}

.phone_mobile {
    position: fixed;
    height: 60px;
    width: 60px;
    left: 0;
    bottom: 40px;
    background-color: #e70707;
    color: white;
    font-size: 35px;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 0 5px 5px 0;
    z-index: 9999;
    box-shadow: 1px 1px 4px 1px rgba(0, 0, 0, 0.25);
}

@media (max-width: 768px) {
    .phone_mobile {
        height: 40px;
        width: 40px;
        font-size: 28px;
        display: flex;
    }

    .phone_mobile.var2 {
        border-radius: 50%;
        right: 30px;
        left: auto;
        z-index: 1;
        opacity: 0.8;
    }

    .phone_mobile.var2 i {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .phone_mobile.var2::before,  .phone_mobile.var2::after{
        display: block;
        position: absolute;
        content: "";
        top: 50%;
        left: 50%;
        height: 100%;
        width: 100%;
        border-radius: 50%;
        background-color: #e70707;
        z-index: -1;
        transform: translate(-50%, -50%);
    }

    .phone_mobile.var2::before {
        animation: circles 3s ease-in-out infinite;
    }

    .phone_mobile.var2::after {
        animation: circles2 3s ease-in-out infinite;
    }
}

.phone_desktop {
    position: absolute;
    bottom: -65px;
    left: 0;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #127db4;
}
.phone_desktop i {
    margin-right: 10px;
}
@media (max-width: 768px) {
    .phone_desktop {
        display: none;
    }
}

header {
    background-color: #fff;
    padding: 0 0 20px;
    position: relative;
}

header>.content_width {
    position: relative;
}

@media (max-width: 768px) {
    header .content_width {
        padding: 0 15px;
    }
}
header .logo {
    margin-top: 20px;
    height: 50px;
}
@media (max-width: 768px) {
    header .logo {
        height: 30px;
    }
}
header .logo img {
    height: 100%;
	width: auto;
	aspect-ratio: attr(width) / attr(height);
}

@media (max-width: 768px) {
    header .logo img {
        height: 125%;
    }
}
header nav {
    position: relative;
}
header .nav {
    align-self: stretch;
    align-items: stretch;
}
@media (max-width: 768px) {
    header .nav {
        display: none;
    }
}
header .nav li a {
    padding: 20px 20px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: stretch;
    height: 100%;
    transition: all 0.3s;
}
header .nav li a:hover:not(.active) {
    background-color: #127db4;
    color: white;
}
header .nav li a.active {
    background-color: #127db4; /*#4db1e2; старый цвет*/
    color: white;
}
header .nav li i {
    color: white;
    margin-bottom: 10px;
}
header .burger {
    align-items: center;
    justify-content: center;
    display: none;
    width: 40px;
    height: 30px;
    margin-top: 20px;
}
@media (max-width: 768px) {
    header .burger {
        display: flex;
    }
}
header .burger span {
    position: relative;
    display: block;
    height: 3px;
    width: 70%;
    background-color: #127db4;
    border-radius: 5px;
}
header .burger span::before, header .burger span::after {
    position: absolute;
    display: block;
    content: "";
    height: 3px;
    width: 100%;
    background-color: #127db4;
    border-radius: 5px;
}
header .burger span::before {
    top: -8px;
    left: 0;
}
header .burger span::after {
    bottom: -8px;
    left: 0;
}

/*-------*/
header .language {
    position: absolute;
    right: 0;
    top: calc(100% + 34px);
    display: flex;
}
@media (max-width: 768px) {
    header .language {
        top: 72%;
        right: 90px;
        transform: translateY(-50%);
    }
}
header .language p {
    padding: 5px 10px;
    margin-left: 10px;
    cursor: pointer;
}

header .language p a {
    color: white;
}


@media (max-width: 768px) {
    header .language p a {
        color: #127db4;
        font-size: 15px;
    }

    header .language p {
        font-size: 12px;
    }
}
header .language p.active {
    background: white;
    color: #127db4;
}
@media (max-width: 768px) {
    header .language p.active {
        background: #127db4;
        color: white;
    }
}
header .language p:not(.active):hover {
    background: #10648f;
}


/*------*/

footer {
    padding: 70px 0 0;
    background: #213540;
}
@media (max-width: 768px) {
    footer .content_width {
        flex-wrap: wrap;
    }
    footer p {
        font-size: 14px;
    }
}
footer .content_width > div {
    width: 25%;
    padding: 0 15px;
    text-align: center;
    align-self: flex-start;
}
@media (max-width: 768px) {
    footer .content_width > div {
        width: 100%;
        margin-bottom: 50px;
    }
}
footer .content_width > div > img {
    margin-bottom: 30px;
    height: 60px;
	width: auto;
	aspect-ratio: attr(width) / attr(height);
}
footer p.title {
    margin-bottom: 30px;
    font-size: 21px;
    text-transform: uppercase;
    color: white;
    height: 63px;
    display: flex;
    align-items: center;
    justify-content: center;
}
footer p.title a {
    color: white;
}
footer .info {
    color: #00B0FF;
    line-height: 1.5;
}
footer .info p:not(.title) {
    padding: 20px 0;
}
footer .info p:not(.title):not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
footer .info .title + p {
    padding-top: 0;
}
footer .location p:not(.title) {
    padding: 20px 0;
    color: #00B0FF;
    line-height: 1.5;
}
footer .location p:not(.title):not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
footer .location p:not(.title) span, footer .location p:not(.title) a {
    color: white;
}
footer .location .title + p {
    padding-top: 0;
}
footer .location .btn {
    margin-top: 20px;
    width: 90%;
}
footer .location > div {
    margin-top: 15px;
}
footer .location > div p {
    color: white;
}
footer .location > div:not(.social) i {
    color: #213540;
    height: 30px;
    width: 30px;
    background: #127db4;
    font-size: 20px;
    line-height: 30px;
    margin-bottom: 10px;
}
footer .location .social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
footer .location .social a {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #00B0FF;
    color: #00B0FF;
    height: 40px;
    width: 40px;
    font-size: 25px;
    line-height: 40px;
    margin: 5px;
}
footer .location .social a img {
    width: 25px;
    height: 25px;
}
footer .recent_posts .post {
    display: flex;
    align-items: flex-start;
    text-align: left;
    padding: 20px 0;
}
footer .recent_posts .post:first-of-type {
    padding-top: 0;
}
footer .recent_posts .post img {
    margin-right: 15px;
    width: 50%;
    height: auto;
}
footer .recent_posts .post p {
    color: #00B0FF;
}
footer .recent_posts .post span {
    color: white;
    display: block;
}
footer .recent_posts .post:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
footer .work_time > div {
    background: #127db4;
    padding: 40px 20px 20px;
    margin-top: -60px;
}
footer .work_time ul {
    color: white;
}
footer .work_time ul li {
    padding: 15px 0 15px;
    text-align: left;
}
footer .work_time ul li:not(:first-child) {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}
footer .work_time a {
    display: block;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 20px;
    width: 100%;
}
footer .copy {
    background: #1c2d36;
    padding: 25px 0;
    text-align: center;
    color: #fff;
    margin-top: 20px;
}
@media (max-width: 768px) {
    footer .copy {
        font-size: 14px;
        padding: 25px;
    }
}

/*.language_popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    padding: 30px;
    text-align: center;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 2000;
}
@media (max-width: 768px) {
    .language_popup {
        width: 80%;
    }
}
.language_popup h3 {
    color: #127db4;
    font-size: 24px;
}
.language_popup .btn {
    margin: 15px auto;
    cursor: pointer;
}
.language_popup span {
    text-decoration: underline;
    color: #127db4;
    cursor: pointer;
}*/

.dark_bg {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}
.main_screen {
    position: relative;
    display: none;
}
@media (max-width: 768px) {
    .main_screen {
        padding-bottom: 0;
        display: block;
    }
}
.main_screen .main_slider > div {
    width: 100%;
}
.main_screen .main_slider > div img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.main_screen .widget {
    position: absolute;
    background-color: rgba(255, 255, 255, 0.6);
    top: 20%;
    right: 20%;
    padding: 30px;
    max-width: 300px;
    animation: show_widget 2s ease-in-out;
}
@media (max-width: 768px) {
    .main_screen .widget {
        position: relative;
        animation: none;
        width: 100%;
        max-width: 100%;
        transform: none;
        right: auto;
        margin-bottom: 30px;
    }
}
.main_screen .widget img {
    height: 30px;
    width: 30px;
    display: block;
    margin: 0 auto;
}
.main_screen .widget li p {
    color: #127db4;
    text-align: center;
}
.main_screen .widget li p.title {
    font-weight: 600;
    font-size: 27px;
}
.main_screen .widget .btns {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.main_screen .widget .btns > * {
    display: block;
    font-size: 16px;
    color: white;
    padding: 10px 15px;
    background-color: #127db4;
    cursor: pointer;
}
.main_screen .widget .btns > a {
    font-size: 16px;
    margin: 0 5px;
}

.services {
    margin-top: -100px;
    position: relative;
    z-index: 1000;
}
@media (max-width: 768px) {
    .services {
        margin-top: 0;
    }
}
.services ul {
    align-items: stretch;
}
@media (max-width: 768px) {
    .services ul {
        flex-wrap: wrap;
    }
}
.services ul li {
    width: 25%;
    background-color: rgba(0, 143, 213, 0.9);
    color: white;
    padding: 10px 30px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
}
@media (max-width: 768px) {
    .services ul li {
        width: 48%;
        padding: 10px 15px 0;
        margin-bottom: 10px;
    }
}
.services ul li:nth-child(even) {
    background-color: rgba(77, 177, 226, 0.9);
}
.services ul li:nth-child(odd) a {
    background-color: #4db1e2;
}
.services ul li:nth-child(even) a {
    background-color: #127db4;
}
.services ul li h3 {
    font-size: 24px;
    margin: 15px 0 10px;
}
.services ul li p {
    margin-bottom: 30px;
    font-size: 14px;
    text-align: center;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .services ul li p {
        margin-bottom: 15px;
        font-size: 12px;
    }
}
.services ul li i {
    font-size: 96px;
    color: white;
    text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
}
@media (max-width: 768px) {
    .services ul li i {
        font-size: 40px;
    }
}
.services ul li img {
    width: 96px;
    aspect-ratio: 1/1;
    display: block;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .services ul li img {
        width: 40px;
    }
}
.services ul li a {
    bottom: 0;
    display: block;
    height: 40px;
    width: 40px;
    border: 4px solid white;
    position: relative;
    margin: auto auto -4px;
    transition: all 0.3s ease-in-out;
}
.services ul li a:hover {
    background: none;
}
.services ul li a::before, .services ul li a::after {
    position: absolute;
    content: "";
    width: 5px;
    height: 17px;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.services ul li a::after {
    transform: translate(-50%, -50%) rotateZ(90deg);
}

.benefits ul {
    flex-wrap: wrap;
    align-items: stretch;
}
.benefits ul li {
    width: 48%;
    margin: 40px 0 0;
    padding-bottom: 40px;
    border-bottom: 1px solid #e3e3e3;
}
@media (max-width: 768px) {
    .benefits ul li {
        width: 100%;
    }
}
.benefits ul li > div {
    margin-right: 10px;
}
.benefits ul li > div p:first-child {
    font-size: 18px;
    margin-bottom: 8px;
}
.benefits ul li > div p:last-child {
    font-size: 14px;
    color: #454545;
    line-height: 1.5;
}
.benefits ul li img {
    height: 90px;
    width: 90px;
    margin-right: 20px;
}
.benefits ul li i {
    height: 90px;
    width: 90px;
    margin-right: 20px;
    background-color: #4db1e2;
    font-size: 48px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    position: relative;
    align-self: flex-start;
}
.benefits ul li i::before {
    position: relative;
    z-index: 3;
}
.benefits ul li i::after {
    display: block;
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-color: #127db4;
    z-index: 2;
}
.benefits ul li a {
    flex-shrink: 0;
    align-self: flex-end;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #127db4;
    color: white;
    height: 30px;
    width: 30px;
}

.gallery_standart [data-slider] {
    margin: 0 -15px;
}

.gallery_standart>p {
    height: 30px;
    width: 100%;
    margin-bottom: 15px;
}

.gallery_standart {
    position: relative;
    margin-bottom: 20px;
    overflow: hidden;
}
.gallery_standart .block {
    width: 100%;
    margin: 0 auto;
    padding: 15px;
}

@media (max-width: 768px) {
    .map+.gallery_standart [data-slider] {
        margin: 0%;
    }
}

@media (max-width: 768px) {
    .gallery_standart .block {
        width: 95%;
        padding: 5px;
    }
}

.gallery_standart .slider_doctors {
    margin: 0 -12px;
}

.gallery_standart .slider_doctors .block {
    width: 95%;
    display: flex;
    height: 130px;
    padding: 15px;
    border: 1px solid #e2e4e5;
}

.gallery_standart .block .img {
    width: 100%;
    aspect-ratio: 1/1;
}

.gallery_standart.vertical .block .img {
    width: 100%;
    aspect-ratio: 1/1.5;
}

.gallery_standart.specific .block .img {
    aspect-ratio: 2/1;
}

.gallery_standart [data-slides="2"] .block .img {
    aspect-ratio: 2/1;
}

.gallery_standart .slider_doctors .block .img{
    height: 100%;
    width: auto;
    aspect-ratio: 1/1;
    overflow: hidden;
    flex-shrink: 0;
}
.gallery_standart .block .img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.gallery_standart .block .info {
    padding: 10px 0 15px;
    border-bottom: 5px solid #127db4;
    text-align: center;
    line-height: 1.5;
    transition: all 0.3s;
}

.gallery_standart .slider_doctors .block .info {
    margin-left: 15px;
    text-align: left;
    border-bottom: none;
    padding-top: 0;
}
.gallery_standart.not_border .block .info {
    border-bottom: none;
}

.gallery_standart .block .info p:first-child {
    font-size: 16px;
    transition: all 0.3s;
}

.gallery_standart .block .info a {
    margin: 0 auto;
    display: block;
    width: 90%;
    padding: 10px 15px;
    color: #127db4;
    background: white;
    border-radius: 5px;
    font-size: 14px;
    transition: all 0.3s;
    box-shadow: 2px 2px 6px rgba(0 0 0 / 25%);
}

.gallery_standart .block .info p:last-child {
    font-size: 15px;
    color: #127db4;
    transition: all 0.3s;
}
.gallery_standart .block:hover .info {
    background: #127db4;
}

.gallery_standart .slider_doctors .block:hover .info {
    background: none;
}

.gallery_standart [data-slider]:not(.slider_doctors) .block:hover .info p {
    color: white;
}

.slider_btns {
    display: inline-flex;
    justify-content: flex-end;
    position: absolute;
    right: 0;
    top: 0;
}
.slider_btns > div {
    height: 30px;
    width: 30px;
    background-color: #127db4;
    justify-content: center;
    cursor: pointer;
}
.slider_btns > div i {
    color: white;
}
.slider_btns .next {
    margin-left: 2px;
}

@media (max-width: 768px) {
    .departments {
        margin-bottom: 40px;
    }
}

.departments ul > li {
    position: relative;
    padding: 9px 38px 9px 56px;
    border-top: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    font-size: 16px;
    line-height: 24px;
    cursor: pointer;
}
.departments ul > li p:first-child {
    transition: color 0.3s;
}
.departments ul > li p:first-child i {
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    height: 43px;
    width: 43px;
    line-height: 43px;
    font-size: 24px;
    text-align: center;
}
.departments ul > li p:first-child i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -4px;
}
.departments ul > li:last-child {
    border-bottom: 1px solid #e3e3e3;
}
.departments ul > li .drop {
    display: none;
    color: #7c7c7c;
    font-size: 14px;
    line-height: 1.5;
}
.departments ul > li .drop a {
    display: block;
    color: black;
    margin-top: 18px;
}
.departments ul > li .drop a i {
    color: #127db4;
    line-height: 20px;
    font-size: 16px;
    text-align: center;
    margin-left: 10px;
}
.departments ul > li:hover p:first-child {
    color: #127db4;
}
.departments ul > li:hover p:first-child i {
    color: white;
}
.departments ul > li:nth-child(odd) p:first-child i {
    background: #127db4;
}
.departments ul > li:nth-child(odd) p:first-child i::after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: #127db4;
}
.departments ul > li:nth-child(even) p:first-child i {
    background: #4db1e2;
}
.departments ul > li:nth-child(even) p:first-child i::after {
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: #4db1e2;
}
.departments ul > li::before {
    content: "";
    position: absolute;
    top: 19px;
    right: 17px;
    width: 4px;
    height: 12px;
    margin-top: -6px;
    background: #cbcbcb;
}
.departments ul > li.active::before {
    display: none;
}
.departments ul > li::after {
    content: "";
    position: absolute;
    top: 19px;
    right: 13px;
    width: 12px;
    height: 4px;
    margin-top: -2px;
    background: #cbcbcb;
}

.others {
    margin: 25px auto;
    flex-wrap: wrap;
    row-gap: 30px;
    column-gap: 5%;
    justify-content: flex-start;
}
@media (max-width: 768px) {
    .others {
        margin: 20px auto;
        row-gap: 20px;
    }
}

.others > div {
    width: 30%;
    align-self: flex-start;
}
@media (max-width: 768px) {
    .others > div {
        width: 100%;
    }
}

/*.others h3 {
    background: #127db4;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 400;
}

.others h3 i {
    display: none;
}
*/
/*
@media (max-width: 768px) {
    .others h3 i {
        display: inline;
    }

    .others h3:not(.active)+* {
        display: none;
    }

    .others h3.active+* {
        display: block;
    }
}
*/

.others .other_services li {
    font-size: 16px;
    padding: 12px 0;
}

.others .other_services:not(.line-none) li {
    border-bottom: 1px solid #e3e3e3;
}
.others .other_services:not(.line-none) li:first-child {
    border-top: 1px solid #e3e3e3;
}
.others .other_services li a {
    transition: color 0.3s;
}
.others .other_services li a i {
    margin-left: 10px;
}
.others .other_services li i {
    color: #127db4;
    font-size: 18px;
    display: inline-block;
    margin-right: 15px;
}
.others .other_services li:hover a {
    color: #127db4;
}

.others .other_services.line-none h2 {
    color: #fff;
    background-color: #127db4;
    padding: 10px;
    margin: 15px 0 10px;
}

.form label {
    display: block;
    position: relative;
    height: 50px;
    border-top: 1px solid #e3e3e3;
    border-left: 1px solid #e3e3e3;
    border-right: 1px solid #e3e3e3;
}
.form label:nth-child(3) {
    border-bottom: 1px solid #e3e3e3;
    height: 130px;
}
.form label:nth-child(5) i, .form label:nth-child(3) i, .form label:nth-child(1) i {
    background: #127db4;
}
.form label:nth-child(5) i::after, .form label:nth-child(3) i::after, .form label:nth-child(1) i::after {
    border-left-color: #127db4;
}
.form label:nth-child(2) i, .form label:nth-child(4) i {
    background: #4db1e2;
}
.form label:nth-child(2) i::after, .form label:nth-child(4) i::after {
    border-left-color: #4db1e2;
}
.form label input, .form label textarea {
    padding: 13px 10px 13px 65px;
    height: 100%;
    font-size: 14px;
    line-height: 1.5;
    border: none;
    width: 100%;
    outline: none;
}
.form label input::placeholder, .form label textarea::placeholder {
    color: #cbcbcb;
}
.form label textarea {
    resize: none;
}
.form label i {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}
.form label i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
}
.form button {
    display: block;
    margin-left: auto;
    font-size: 14px;
    text-transform: uppercase;
    color: white;
    border: none;
    background-color: #127db4;
    padding: 11px 21px;
}

.services_page {
    align-items: flex-start;
}
.services_page .services_list {
    margin-bottom: 30px;
}
.services_page .services_list > li > div:first-child {
    position: relative;
    margin-bottom: -1px;
    padding: 11px 38px 11px 61px;
    border: 1px solid #e3e3e3;
    font-size: 18px;
    line-height: 24px;
    color: #000;
    cursor: pointer;
}
.services_page .services_list > li > div:first-child.opened {
    font-weight: 700;
    color: #127db4;
}
.services_page .services_list > li > div:first-child.opened::before {
    display: none;
}
.services_page .services_list > li > div:first-child.opened i::after {
    display: none;
}
.services_page .services_list > li > div:first-child::after, .services_page .services_list > li > div:first-child::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 12px;
    height: 4px;
    margin-top: -2px;
    background: #127db4;
}
.services_page .services_list > li > div:first-child::before {
    right: 17px;
    width: 4px;
    height: 12px;
    margin-top: -6px;
}
.services_page .services_list > li:nth-child(odd) > div:first-child i {
    background: #127db4;
}
.services_page .services_list > li:nth-child(odd) > div:first-child i::after {
    border-left-color: #127db4;
}
.services_page .services_list > li > div i {
    position: absolute;
    z-index: 1;
    top: -1px;
    left: -1px;
    width: 48px;
    height: 48px;
    font-size: 24px;
    line-height: 48px;
    text-align: center;
    color: #fff;
    background: #4db1e2;
}
.services_page .services_list > li > div i::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 100%;
    margin-top: -4px;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left-width: 4px;
    border-left-style: solid;
    border-left-color: #4db1e2;
}
.services_page .details {
    display: none;
}

.services_page .opened+.details {
    display: block;
}
.services_page .details > div {
    display: flex;
    background: #127db4;
    padding: 20px 20px 20px 48px;
    color: white;
}
@media (max-width: 768px) {
    .services_page .details > div {
        flex-direction: column;
    }
}
.services_page .details > div img {
    display: block;
    border: 3px solid #fff;
    margin-right: 35px;
}
.services_page .details > div ul {
    width: 200px;
    margin: 11px 30px 11px 0;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    line-height: 21px;
}
@media (max-width: 768px) {
    .services_page .details > div ul {
        border-bottom: 1px solid rgba(255, 255, 255, 0.3);
        border-right: 0;
        padding-bottom: 30px;
    }
}
.services_page .details > div ul:last-of-type {
    margin-right: 0;
    border-right: 0;
    border-bottom: 0;
    padding-bottom: 0;
}
.services_page .details > div ul li {
    margin-top: 5px;
}
.services_page .details > div ul li:first-child {
    margin-top: 0;
    font-weight: 700;
}
.services_page .details > ul {
    padding: 20px 40px;
    background: #f5f5f5;
    width: 100%;
}
.services_page .details > ul li {
    color: #7c7c7c;
    font-size: 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #7c7c7c;
}
.services_page .details > ul li strong {
    font-size: 16px;
}
.services_page .details > ul li.title {
    font-size: 0.93em;
    text-transform: uppercase;
    border-bottom: none;
}
.services_page .details > ul li .old {
    text-decoration: line-through;
}
.services_page .details > ul li .new {
    color: #e04e4e;
    margin-left: 15px;
}

.reviews_page {
    align-items: flex-start;
}

.reviews {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
}
@media (max-width: 768px) {
    .reviews {
        margin-bottom: 20px;
    }
    .reviews + a {
        margin-bottom: 50px;
    }
}
.reviews li {
    width: 31%;
    margin: 0 1% 20px;
    overflow: hidden;
}
@media (max-width: 768px) {
    .reviews li {
        width: 100%;
        margin: 0 0 20px;
    }
}
.reviews li video {
    width: 100%;
    height: auto;
}
.reviews li p {
    padding: 10px 0;
    font-size: 17px;
    color: #127db4;
    border-bottom: 6px solid #127db4;
    text-align: center;
}

.oferta_page {
    align-items: flex-start;
}
.oferta_page li:before {
    content: attr(value);
    display: inline-block;
    margin-right: 15px;
    color: #ff6e21;
}
.oferta_page ol h4 {
    text-align: center;
    margin-top: 40px;
}
.oferta_page ol h4:first-of-type {
    margin-top: 0;
}
.oferta_page table {
    border-spacing: 2px;
    outline: none;
    border-collapse: separate;
}
@media (max-width: 768px) {
    .oferta_page table {
        border-spacing: 1px;
    }
}
.oferta_page table td, .oferta_page table th {
    padding: 8px;
    word-wrap: break-word;
    border: 1px solid #c1d2ec;
    border-radius: 3px;
    line-break: auto;
}
@media (max-width: 768px) {
    .oferta_page table td, .oferta_page table th {
        padding: 8px 4px;
    }
}
.oferta_page table th {
    background-color: rgb(193, 210, 236);
}

.contacts_page {
    align-items: flex-start;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .contacts_page .map {
        order: 0;
    }
    .contacts_page .contact_details {
        order: 1;
    }
    .contacts_page .gallery {
        order: 2;
    }
    .contacts_page .form {
        order: 3;
    }
}
.contacts_page > div {
    width: 45%;
    margin-bottom: 20px;
}

.contacts_page .wrap_map {
    width: 100%;
    aspect-ratio: 1/0.5;
}
.contacts_page iframe {
    width: 100%;
    height: 100%;
}
.contacts_page .gallery {
    position: relative;
}
.contacts_page .gallery .wrapper {
    width: 100%;
    aspect-ratio: 1/0.5;
    overflow: hidden;
}
.contacts_page .gallery .wrapper .slider_gallery {
    height: 100%;
}
.contacts_page .contact_details h2 + div {
    background-color: #127db4;
    color: #fff;
    padding: 11px 38px 11px 19px;
}
.contacts_page .contact_details h2 + div p:not(:last-child) {
    margin-bottom: 10px;
}
.contacts_page .contact_details h2 + div i {
    margin-right: 8px;
}
.contacts_page .contact_details h2 + div a {
    color: white;
}
.contacts_page .contact_details dl {
    border: 1px solid #e3e3e3;
    border-top: 0;
}
.contacts_page .contact_details dt {
    position: relative;
    padding: 11px 38px 11px 19px;
    border-top: 1px solid #e3e3e3;
    font-size: 16px;
    line-height: 24px;
    color: #000;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
}
.contacts_page .contact_details dt:before, .contacts_page .contact_details dt:after {
    background: #127db4;
    content: "";
    position: absolute;
    top: 50%;
    right: 13px;
    width: 12px;
    height: 4px;
    margin-top: -2px;
}
.contacts_page .contact_details dt.opened:after {
    background: white;
}
.contacts_page .contact_details dt:before {
    right: 17px;
    width: 4px;
    height: 12px;
    margin-top: -6px;
}
.contacts_page .contact_details dt.opened, .contacts_page .contact_details dt.opened + dd {
    color: white;
    background: #127db4;
}
.contacts_page .contact_details dd {
    display: none;
    padding: 2px 19px 15px 19px;
    transition: background 0.3s, color 0.3s;
}

.contacts_page .gallery_standart [data-slider] {
    margin: 0;
}

@media (max-width: 768px) {
    .contacts_page > div {
        width: 100%;
        margin-bottom: 40px;
    }
}

.service_page .benefits {
    margin-bottom: 40px;
}
.service_page aside {
    align-self: flex-start;
}
p.annotation {
	 font-size: 14px !important;
	 margin-top: -30px;
	 color: #1657c5;
}
.service_page main > p {
    margin-bottom: 20px;
    line-height: 1.5;
    font-size: 16px;
    color: #454545;
}
.service_page p > a {
    color: #127db4;
    text-decoration: underline;
}
.service_page p > img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.service_page ul.list {
    margin-bottom: 40px;
}
.service_page h3 {
    font-weight: 700;
    margin-bottom: 10px;
}
.service_page ul.list > li {
    font-size: 16px;
    line-height: 1.5;
    color: #454545;
    padding-left: 30px;
    position: relative;
    margin-bottom: 8px;
    margin-left: 15px;
}
.service_page ul.list > li::before {
    content: "\f00c";
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 2px;
    left: 0;
    width: 19px;
    height: 19px;
    text-align: center;
    color: #fff;
    font: normal normal normal 14px/1 FontAwesome;
    background: #127db4;
}
.service_page .slick-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}
.service_page .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    display: flex;
    align-items: center;
}
.service_page .slick-dots li button {
    height: 100%;
    width: 100%;
    border-radius: 50%;
    background: #cbcbcb;
    font-size: 0.1px;
    margin: 0;
    padding: 0;
    line-height: 1;
    border: none;
}
.service_page .slick-dots li.slick-active button {
    background: #127db4;
}
.service_page .reviews {
    margin-bottom: 20px;
}
.service_page table {
    width: 100%;
    margin-bottom: 40px;
}
.service_page table th {
    background: #127db4;
    color: white;
    padding: 10px 10px;
}
.service_page table td {
    background: #f5f5f5;
    color: #454545;
    padding: 5px 10px;
}
.service_page table .td_cost {
    text-align: right;
}

.service_page table tbody td.td_cost {
    white-space: normal;
    text-align: center;
}

.service_page table tbody td.td_cost .old,
.service_page table tbody td.td_cost .new,
.service_page table tbody td.td_cost .until {
    display: block;
}

.attentions {
    border: 1px solid #127db4;
    padding: 20px 20px 30px 60px;
    font-size: 16px;
    position: relative;
    margin: 40px auto;
}
.attentions::after {
    display: block;
    content: "";
    width: calc(100% + 1px);
    height: 10px;
    background-color: #127db4;
    position: absolute;
    bottom: -1px;
    left: 0;
}
.attentions::before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f05a";
    position: absolute;
    height: 40px;
    width: 40px;
    background: #4db1e2;
    font: 30px/1 FontAwesome;
    color: #fff;
    top: -1px;
    left: 0;
}
.attentions_red {
    border: 1px solid #c90000;
    padding: 20px 20px 30px 60px;
    font-size: 16px;
    position: relative;
    margin: 40px auto;
}
.attentions_red::after {
    display: block;
    content: "";
    width: calc(100% + 1px);
    height: 10px;
    background-color: #c90000;
    position: absolute;
    bottom: -1px;
    left: 0;
}
.attentions_red::before {
    display: flex;
    align-items: center;
    justify-content: center;
    content: "\f05a";
    position: absolute;
    height: 40px;
    width: 40px;
    background: #e70707;
    font: 30px/1 FontAwesome;
    color: #fff;
    top: -1px;
    left: 0;
}
img.w50 {
    width: 50%;
    margin: 0 auto;
    display: block;
}
@media (max-width: 768px) {
    img.w50 {
        width: 100%;
    }
}
.w100 {
    margin-bottom: 50px;
    column-gap: 30px;
}
@media (max-width: 768px) {
    .w100 {
        flex-wrap: wrap;
		margin-bottom: 0px;
    }
}
.w100 .w50, .w100 .w30, .w100 .w20 {
    width: 50%;
    padding: 0 0px;
    align-self: flex-start;
}
.w100 .w50 .list, .w100 .w30 .list, .w100 .w20 .list {
    margin-bottom: 0;
}
@media (max-width: 768px) {
    .w100 .w50, .w100 .w30, .w100 .w20 {
        width: 100%;
        margin-bottom: 20px;
    }
}
.w100 .w50 b, .w100 .w30 b, .w100 .w20 b {
    display: block;
    text-align: center;
    margin-bottom: 10px;
}
.w100 .w50 img, .w100 .w30 img, .w100 .w20 img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.w100 .w50 img + p, .w100 .w30 img + p, .w100 .w20 img + p {
    background-color: #f5f5f5;
    margin-top: 5px;
    text-align: center;
    color: #7c7c7c;
    padding: 5px;
}
.w100 .w30 {
    width: 30%;
}
@media (max-width: 768px) {
    .w100 .w30 {
        width: 100%;
    }
}
.w100 .w20 {
    width: 20%;
    padding: 0 5px;
}
.w100 .w20 img + p {
    background: transparent;
    font-size: 12px;
}
@media (max-width: 768px) {
    .w100 .w20 {
        width: 50%;
    }
}
.service_page img.float_left {
    float: left;
    width: 50%;
    margin-right: 20px;
    margin-bottom: 5px;
}
.service_page img.float_right {
    float: right;
    width: 50%;
    margin-left: 20px;
    margin-bottom: 5px;
}
.service_page .slider_doctors_template {
    margin: 0 -15px;
}
.service_page h2:not(:first-of-type) {
    margin-top: 40px;
}
.service_page .flx.images {
    flex-wrap: wrap;
}
.service_page .flx.images img {
    width: 20%;
}
@media (max-width: 768px) {
    .service_page .flx.images img {
        width: 45%;
        margin-bottom: 15px;
    }
}

.price_banner {
    width: 100%;
    margin-bottom: 80px;
    align-items: flex-start;
    flex-wrap: wrap;
}
.price_banner > li {
    width: 32%;
}
@media (max-width: 768px) {
    .price_banner > li {
        width: 100%;
    }
}
.price_banner .top {
    transform: scale(1.06);
    box-shadow: 2px 2px 14px 3px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
    .price_banner .top {
        transform: none;
        box-shadow: none;
        margin: 20px 0;
    }
}
.price_banner .type {
    background: #4db1e2;
    color: #fff;
    text-transform: uppercase;
    font-size: 14px;
    padding: 15px 10px;
    text-align: center;
    font-weight: 700;
}
.price_banner .name {
    font-size: 16px;
    color: #002056;
    background: #f5f5f5;
    text-align: center;
    line-height: 1.5;
    padding: 10px;
}
.price_banner .price {
    font-size: 35px;
    font-weight: 700;
    color: #002056;
    text-align: center;
    padding: 25px 10px;
    border-bottom: 1px solid #e0e0e0;
}
.price_banner .old {
    font-size: 18px;
    text-decoration: line-through;
    color: #e04e4e;
    text-align: center;
    padding: 20px 0 15px;
    border-bottom: 1px solid #e0e0e0;
}
.price_banner ul {
    background: #ffffff;
    padding: 0 0 15px;
}
.price_banner ul li:not(:last-child) {
    border-bottom: 1px solid #e0e0e0;
    color: #002056;
    padding: 20px 10px 15px 35px;
    position: relative;
    font-size: 15px;
}
.price_banner ul li:not(:last-child)::before {
    display: flex;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    content: "\f00c";
    font: 20px/1 FontAwesome;
    align-items: center;
    justify-content: center;
}
.price_banner a {
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-transform: uppercase;
    padding: 10px 25px;
    width: 80%;
    background: #127db4;
    margin: 10px auto 0;
}

.error_404 {
    text-align: center;
    padding: 150px;
    color: #7c7c7c;
}

@keyframes show_widget {
    0% {
        opacity: 0;
        top: -20%;
    }
    100% {
        opacity: 1;
        top: 20%;
    }
}

@keyframes circles {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(2);
    }

    100% {
        opacity: 0.7;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes circles2 {
    0% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1.3);
    }
}

@media (max-width: 768px) {
    .services {
        display: none;
    }
}

.table_mob {
    position: relative;
}
.table_mob .wrap {
    width: 100%;
    margin-bottom: 40px;
}
.table_mob .wrap table {
    margin-bottom: 10px;
}
@media (max-width: 768px) {
    .table_mob .wrap {
        overflow-x: scroll;
        margin-bottom: 40px;
    }

    .table_mob table {
      margin-right: 20px;
      font-size: 15px;
    }

    .table_mob table td {
      padding: 10px;
    }

    .table_mob::before {
      display: block;
      content: "";
      height: 100%;
      width: 30px;
      position: absolute;
      top: 0;
      right: -2px;
      background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    }
  }

  	.w100.align-center {
		justify-content: center;
	}

.service_page table span.old {
	text-decoration: line-through;
}

.service_page table span.new {
	font-weight: 700;
	color: #e04e4e;
}


.tile {
    column-gap: 25px;
    row-gap: 25px;
    padding: 50px 0;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
}

.tile.four {
    justify-content: space-between;
}

.tile>div {
    box-shadow: 1px 1px 10px 3px rgba(0, 0, 0, .15);
    padding: 25px 15px;
    text-align: center;
    flex-shrink: 0;
}

.tile.three>div {
    width: calc((100% - 75px) / 3);
}

.tile.three>div img {
	width: 90px;
}

.tile.four img {
	width: 90px;
	height: auto;
	aspect-ratio: attr(width) / attr(height);
}

.tile.four>div {
    width: calc((100% - 100px) / 4);
}

.tile>div h4 {
    font-size: 22px;
    line-height: 28px;
    margin: 20px;
}

.tile>div p {
    font-size: 14px;
    color: #454545;
    line-height: 1.5;
}

.tile>div p.sub {
    text-transform: uppercase;
    font-size: 16px;
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .tile {
        padding: 30px 0;
    }

    .tile.three>div {
        width: 100%;
        max-width: 380px;
    }
    
    .tile.four>div {
        width: 100%;
        max-width: 380px;
    }
}

@media (min-width: 769px){
    .only_mobile {
        display: none;
    }
}
@media (max-width: 769px){
    .only_desktop {
        display: none;
    }
}
.home_page .reviews {
  column-gap: 30px;
  row-gap: 20px;
  margin-bottom: 20px;
}
.home_page .reviews li {
  width: calc((100% - 60px) / 3);
  margin: 0;
}
.christmas_banner {
        width: 100%;
      }

      @media (max-width: 768px) {
        .christmas_banner {
          margin-top: -15px;
          width: 110%;
          margin-left: -5%;
        }
      }


/* Стили для обновления плиток услуг */
/* Новый стиль плиток - вар. 2 */
/* Заголовок группы услуг */

.services-heading {
  background-color: #127db4;
  color: white;
  font-weight: 500;
  font-size: 18px;
  padding: 15px;
  text-align: center;
  border-radius: 0px 0px 0 0; /*8 8 0 0 Закругление заголовка*/
  margin: 0 0 12px;
}

/* Контейнер с плитками услуг */
.services-group {
  display: flex;
  flex-direction: column;
  gap: 4px; /* уменьшенный отступ между плитками стандатная 10*/
}

@media (max-width: 480px) {
  .services-group {
    gap: 2px;
  }
}

/* Ссылка внутри плитки */
.services-item a {
  color: #000;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px; /* было 16px */
  font-weight: 500;
}

/* Иконка стрелки */
.services-item i.fa-angle-right {
  margin-left: auto;
  color: #aaa;
}

/* Иконка закладки */
.services-item i.fa-bookmark {
  color: #127db4;
  font-size: 16px;
}

/* Hover только на десктопе */
@media (hover: hover) {
  .services-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transform: translateY(-3px);
  }
}

.services-group > h3.services-heading {
  text-align: center; /* центрируем текст */
  display: block;
}

/* 📏 Мобильная настройка шрифта расстояний между плитками: */
@media (max-width: 480px) {
  .services-item a {
    font-size: 18px;
    padding: 6px 16px;
  }

  .services-item i.fa-bookmark {
    font-size: 18px;
  }

  .services-item i.fa-angle-right {
    font-size: 14px;
  }

  .services-item {
    border-radius: 4px;
    margin-bottom: 0px;
  }
}

/* Форма отправки заявки новая */

.booking-form {
  background: #fff;
  border-radius: 0px;
  padding: 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
  margin-top: 0px;
  /* Обеспечиваем, что форма встроится в общий ряд плиток */
  width: 280px; /* как у других плиток */
  flex-shrink: 0;
}

.booking-form .services-heading {
  background-color: #127db4;
  color: white;
  font-size: 18px;
  font-weight: 500;
  text-align: center;
  padding: 15px 15px;
  border-radius: 0px 0px 0 0;/*Закругление шапки формы*/
  margin: -20px -20px 20px;
}

.booking-form .form-field {
  position: relative;
  margin-bottom: 15px;
}

.booking-form .form-field i {
  position: absolute;
  top: 16px;
  left: 12px;
  color: #127db4;
  font-size: 16px;
  pointer-events: none;
}

.booking-form input,
.booking-form textarea {
  width: 100%;
  padding: 12px 12px 12px 36px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border 0.2s ease;
}

.booking-form textarea {
  min-height: 60px;
  resize: vertical;
}

.booking-form input:focus,
.booking-form textarea:focus {
  border-color: #127db4;
  outline: none;
}

.booking-form button {
  background-color: #127db4;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
  text-transform: none;
}

.booking-form button:hover {
  background-color: #0072b1;
}

/* Ошибка: поле не заполнено */
.form-error {
  border: 1px solid #ff4d4f !important;
  animation: shakeError 0.25s linear;
}

/* Анимация дрожания */
@keyframes shakeError {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-4px); }
  50%  { transform: translateX(4px); }
  75%  { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
.input-error {
  border-color: #e74c3c !important;
}

.error-msg {
  color: #e74c3c;
  font-size: 13px;
  margin-top: 5px;
  margin-left: 4px;
  display: block;
}

/* Сообщение отправлено */
.form-status {
  display: none;
  color: green;
  font-size: 16px;
  margin-bottom: 15px;
}

/* Новый стиль плитки услуги с цветной полоской слева или цветной флажек*/

.service-tile-modern {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px; /* размер плиток по высоте и внутренней ширине - базовый паддинг для десктопа */
  padding: 20px 16px; /* увеличенный паддинг для высоты плитки */
  background-color: #fff;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  border-radius: 0px; /* чуть скруглённые углы */
  text-decoration: none; /* убрать подчёркивание у ссылок */
  color: inherit; /* наследовать цвет текста */
  transition: background-color 0.2s; /* плавная анимация при нажатии */
  height: auto;
  position: relative; /* нужно для полоски */
  overflow: hidden; /* чтобы полоска не вылезала за края */
}

/*Цветная плитки слева или окраска флажка если полоска выключена*/
.service-tile-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 10px; /* ширина полоски */
  height: 100%;
  background-color: var(--stripe-color, #127db4); /* твой синий цвет */
  border-radius: 0px 0 0 0px; /* скруглить углы слева */
}

/*Отключение цветных полосок слева плитки*/
.service-tile-modern.no-stripe::before {
  display: none;
}

.service-tile-modern .tile-left {
  display: flex;
  align-items: center;           /* ← выравнивание иконки и текста по центру */
  gap: 12px;
  color: #000;
  font-size: 16px;
}

/*Флажек слева цвет базовый другие цвета в html и размер*/
.service-tile-modern .tile-left i.fa-bookmark {
  color: var(--stripe-color, #127db4);
  font-size: 18px;
}

.service-tile-modern .tile-right {
  color: #999;
  font-size: 16px;
  display: flex;
  align-items: center;          /* ← выравнивание стрелки по вертикали */
}
@media (hover: hover) {
  .service-tile-modern:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-3px);
    transition: all 0.25s ease;
    cursor: pointer;
  }
}

@media (max-width: 480px) {
  .service-tile-modern:active {
    background-color: #f5f5f5;
  }
}
/* 📏 Мобильная настройка паддингов: */
@media (max-width: 480px) {
  .service-tile-modern {
    padding: 20px 14px; /* больше паддинг сверху и снизу для увеличения высоты */
  }
}

/* 📏 Мобильная настройка шрифтов на плитке текст и стрелка: */
@media (max-width: 480px) {
  .service-tile-modern .tile-left {
    font-size: 18px;
  }

  .service-tile-modern .tile-right {
    font-size: 18px;
  }
}

/*Новое мобильное меню*/

.menu_mob {
  position: fixed;
  top: 0;
  left: 0;
  width: 85%;
  height: 100vh;
  z-index: 1001;
  padding: 25px 0;
  transform: translateX(-101%);
  transition: all 0.5s ease-in-out;
  overflow-y: auto;
  display: flex;
  flex-direction: column;

  /* 🔹 Главное: стекло и прозрачность */

  background-color: rgba(255, 255, 255, 0.5); /* 0,25 тонкий прозрачный белый */
  backdrop-filter: blur(14px); /* 14 Размытие заднего фона для стеклянного эффекта */
  -webkit-backdrop-filter: blur(14px); /* Поддержка размытия для Safari */
  border: 1px solid rgba(255, 255, 255, 0.15); /* тонкая стеклянная граница */
  box-shadow: 2px 0 20px rgba(0, 0, 0, 0.04);  /* едва заметная тень */
  color: #111; /* Тёмный текст — потому что фон светлый */
}

.menu_mob.active {
  transform: translateX(0);
}

.menu_mob.shifted {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}
.main-menu.shifted {
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 1;
}

.menu_mob .close {
  position: absolute;
  top: 20px;
  right: 14px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  color: #004a87;
}

/* Главное меню и подменю до обновления 03-05-25*/
.main-menu,
.services-submenu ul {
  list-style: none;
  margin: 0;
  padding: 0;
  padding-top: 40px; /* чтобы не перекрывалось крестиком */
}
.services-submenu .close-submenu {
  position: absolute;
  top: 20px;
  right: 14px;
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  outline: none;
  box-shadow: none;
  cursor: pointer;
  z-index: 10;
}

.services-submenu .close-submenu:focus {
  outline: none;
  box-shadow: none;
}

.services-submenu .close-submenu .icon-svg-small {
  width: 24px;
  height: 24px;
  fill: currentColor;
  stroke: currentColor;
  color: #004a87; /* или любой цвет, какой нужен */
}

.menu-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 14px;
  font-size: 20px;
  color: #004a87; /*222 цвет текста в меню*/
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.05); /* имитирует глубину */
  min-height: 56px;
}

.menu-item:first-child a {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-item:hover a {
  background-color: #b8cfea;
}

.icon {
  display: flex;
  align-items: center;
  margin-right: 6px; /* Отступ между иконкой и текстом */
}

.icon-svg,
.icon-svg-small {
  width: 26px;
  height: 26px;
  fill: currentColor;
  stroke: currentColor; /* для стрелок, крестика */
}

.menu-text {
  flex-grow: 1;
  text-align: left;
  font-weight: 500;
  margin-left: 12px; /* Отступ между иконкой и текстом */
}

.icon-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.icon-svg-small {
  width: 22px;
  height: 22px;
  fill: fill: currentColor;; /*цвет стрелки в главном меню или точный цвет #fe5e2d;*/
}

/* Подменю Послуги */

.services-submenu {
  background-color: rgba(255, 255, 255, 0.5); /* темный полупрозрачный */
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: fixed; /* ← было absolute */
  top: 0;
  left: 100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s ease;
  padding-top: 20px;
  padding-bottom: 20px;
  z-index: 100; /* если нужно перекрыть .menu_mob внутри */
}


.services-submenu .menu-item a {
  font-size: 18px; /* или 17px */
}

.services-submenu.active {
  left: 0;
}

.services-submenu .menu-item.back-to-main a {
  font-weight: 500;
  font-size: 18px;
  color: #ffffff;
  background-color: #1c2a38;
}

.services-submenu .menu-item.back-to-main .icon-svg {
  fill: #ffffff;
}

/* ===== SEO blocks unified look ===== */
.seo-card {
  background: #fff;
  border: 1px solid rgba(18, 125, 180, 0.12);
  border-radius: 14px;
  padding: 22px 22px;
  margin: 24px 0;
  box-shadow: 0 8px 22px rgba(0,0,0,0.05);
}

.h2-accent {
  border-left: 4px solid #127db4;
  padding-left: 14px;
  margin: 0 0 14px;
  line-height: 1.2;
}

/* Make paragraphs inside new sections nicer */
.seo-card p {
  margin: 10px 0 0;
  line-height: 1.6;
}

.seo-note {
  margin-top: 14px !important;
  color: rgba(0,0,0,0.72);
  font-size: 14px;
}

/* ===== Steps list (numbered) ===== */
.steps-list {
  counter-reset: step;
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
}

.steps-list li {
  position: relative;
  padding: 10px 12px 10px 52px;
  margin: 10px 0;
  border-radius: 12px;
  background: rgba(18, 125, 180, 0.06);
  line-height: 1.55;
}

.steps-list li::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #127db4;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

/* ===== FAQ ===== */
.service_faq .faq-item {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0,0,0,0.03);
}

.service_faq .faq-item h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.service_faq .faq-item p {
  margin-top: 8px;
  line-height: 1.6;
}

/* Коммерческий акцент на ценах имплантации */
.service-prices-implants .service-prices-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Отступы внутри блока цен имплантации */
.service-prices-implants p {
  margin-bottom: 18px; /* отделяем абзац от таблицы */
}

.service-prices-implants table {
  margin-top: 10px; /* небольшой зазор, чтобы блок дышал */
}



.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(18, 125, 180, 0.08);
  border: 1px solid rgba(18, 125, 180, 0.25);
  font-size: 13px;
  white-space: nowrap;
}

.promo-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #127db4;
}

.promo-text {
  color: #0b3d5d;
}

.promo-inline {
  color: #127db4;
  font-weight: 600;
}

/* Подсветка цены и кнопки */
.price-accent {
  color: #127db4;
  font-weight: 700;
  font-size: 16px;
}

.service-prices-footer {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.service-prices-btn {
  margin: 0;
  font-size: 14px;
}

.guarantee-note {
  margin: 0;
  font-size: 13px;
  color: rgba(0,0,0,0.75);
}

/* Чуть компактнее на мобильных */
@media (max-width: 768px) {
  .service-prices-implants .service-prices-header {
    align-items: flex-start;
  }
}

/* Таблички для страницы имплантации */
.implants-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.implants-table th,
.implants-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

.implants-table th:first-child,
.implants-table td:first-child {
  text-align: center;
}

.stage-row td {
  background-color: #f0f4f8;
}

.total-row {
  background-color: #e6eef5;
}
