* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;

}

body {
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    width: 100%;
    max-width: 100vw;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #8197A8;
    padding: 0;
    margin: 0;
}

.scroll-to-top {
    position: fixed;
    right: 22px;
    bottom: 90px;
    width: 64px;
    height: 64px;
    border: none;
    border-radius: 50%;
    background: transparent;
    z-index: 2000;
    box-shadow: 0 8px 32px rgba(40, 99, 183, 0.25), 0 2px 8px rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s, transform 0.18s;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.scroll-to-top.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-to-top:hover {
    transform: scale(1.07) translateY(-3px);
}


h1, h4, h5, h6 {
    color: #0C253E;
}

a {
    text-decoration: none;

}

.logo {
    display: flex;
    align-items: center;
    margin-left: 25px;
}

.logo-img {
    height: 60px;
}

.site-header-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;
    padding: 0 15px;
}

.site-header {
    position: relative;
    margin: 0 auto;
    top: 0;
    width: 100%;
    border-bottom-left-radius: 40px;
    border-bottom-right-radius: 40px;
    background: #fff;
    z-index: 1001;
}

.container {
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu {
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid white;
    padding: 30px 40px;
    width: 100%;
    height: 70px;
    border-radius: 0 0 30px 30px;
    background-color: white;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    font-size: 20px;
    padding: 1rem 6rem;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #000;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-link:hover {
    color: #555;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    list-style: none;
    margin-top: 12px;
    padding: 8px 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s ease-in-out;
    z-index: 100;
    width: 180px;

}

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

.dropdown-item a {
    display: block;
    padding: 8px 16px;
    color: #333;
    text-decoration: none;

}

.dropdown-item a:hover {
    background-color: #f5f5f5;
}


.nav-item.services .dropdown-menu {
    width: 620px;
    padding: 20px;

}

.services-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 600px;

}

.services-column {
    list-style: none;
    padding: 0;
    margin: 0;

}

.services-column li {
    margin-bottom: 10px;
}

.services-column li a {
    text-decoration: none;
    color: #333;
    transition: color 0.2s;

}

.services-column li a:hover {
    color: #000;
}

.services-logo .logo-img {
    height: 60px;
}

.services-logo .logo-icon {
    height: 40px;
}

.nav-item.departments .dropdown-menu {
    width: 900px;
    padding: 20px 30px;
}

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

.departments-column {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 30%;
}

.departments-column li {
    margin-bottom: 10px;
}

.departments-column li a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: color 0.2s;
}

.departments-column li a:hover {
    color: #000;
}

.site-header .dropdown-menu {
    z-index: 100;
}

.nav-item {
    position: relative;
    margin: 0 20px;
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: #000;
    padding: 8px 0;
    transition: color 0.2s;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #D61F1F;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}


.nav-link:hover {
    color: #D61F1F;
}


.dropdown-item a {
    position: relative;
    text-decoration: none;
    color: #333;
    font-size: 18px;
    padding: 8px 16px;
    transition: color 0.2s;

}

.dropdown-item a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #D61F1F;
    transition: width 0.3s ease;

}

.dropdown-item a:hover::after {
    width: 100%;
}

.dropdown-item a:hover {
    color: #D61F1F;
}


.services-column li a {
    position: relative;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;


}

.services-column li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #D61F1F;
    transition: width 0.3s ease;

}

.services-column li a:hover::after {
    width: 100%;
}

.services-column li a:hover {
    color: #D61F1F;
}

.departments-column li a {
    position: relative;
    color: #333;
    font-size: 18px;
    text-decoration: none;
    padding: 4px 0;
    transition: color 0.2s;

}

.departments-column li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 0;
    height: 2px;
    background-color: #D61F1F;
    transition: width 0.3s ease;
}

.departments-column li a:hover::after {
    width: 100%;
}

.departments-column li a:hover {
    color: #D61F1F;
}


.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 22px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 110; /* над всем остальным */
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #0C253E;
    border-radius: 2px;
    transition: all 0.3s;
}


.hamburger.open .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.open .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.open .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}


.mobile-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 100;
    padding: 80px 20px 20px;
    overflow-y: auto;
}

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

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

.mobile-nav-item {
    margin-bottom: 16px;
}

.mobile-nav-item a,
.mobile-nav-item .submenu-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    font-size: 18px;
    color: #0C253E;
    background: none;
    border: none;
    width: 100%;
    padding: 8px 0;
    cursor: pointer;
}


.mobile-nav-item .arrow {
    transition: transform 0.2s;
}

.mobile-nav-item.has-submenu .mobile-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding-left: 12px;
}

.mobile-nav-item.has-submenu.open .mobile-submenu {
    max-height: 500px;
}

.mobile-nav-item.has-submenu.open .arrow {
    transform: rotate(180deg);
}

.mobile-submenu li {
    margin-bottom: 12px;
}

.mobile-submenu li a {
    font-size: 16px;
    color: #333;
}

.header-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-results {
    background-color: #D61F1F;
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.2s;

}

.btn-results:hover {
    background-color: #b81b1b;
}

.lang-switch {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 20px;
    overflow: hidden;
    background-color: #fff;
    margin-right: 25px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 6px 12px;
    font-size: 16px;
    cursor: pointer;
    color: #555;
    transition: background-color 0.2s, color 0.2s;
}

.lang-dropdown {
    display: none;
}

.lang-btn:hover {
    background-color: #f0f0f0;
}

.lang-btn.active {
    background-color: #8197A8;
    color: #fff;
}


/* END HEADER MENU */


/* START CONTACT-US BLOCK */


.contact-us-section {
    background-color: #11304E;
    padding: 40px 20px;
    border-radius: 15px;
    margin: -60px 15px;
    color: #FFFFFF;
    font-family: 'Plus Jakarta Sans', sans-serif;
    height: 400px;

}

.contact-us-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 24px;
}

.contact-us-left {
    flex: 1 1 300px;
    min-width: 280px;
}

.contact-us-title {
    font-size: 36px;
    font-weight: 600;
    margin-bottom: 16px;
    line-height: 1.2;
}

.contact-us-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.3);
    margin: 0 0 24px 0;
}

.working-hours {
    font-size: 16px;
    line-height: 1.6;
}

.working-hours-title {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.working-hours p {
    margin: 4px 0;
}

.contact-us-right {
    flex: 1 1 400px;
    min-width: 320px;
    display: flex;
    align-items: center;
    position: relative;
}

.marquee-wrapper {
    overflow: hidden;
    width: 100%;
    height: 60px;
    position: relative;
}

.marquee-content {
    display: flex;
    align-items: center;
    animation: marquee-scroll 10s linear infinite;
}

.marquee-text {
    font-size: 48px;
    font-weight: 600;
    white-space: nowrap;
    margin-right: 64px;
    color: #FFFFFF;
}

.contact-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    background-color: #FFFFFF;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.contact-arrow:hover {
    background-color: #f0f0f0;
    transform: translateY(-50%) scale(1.05);
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* END CONTACT-US BLOCK */


/* START FOOTER MENU */
.site-footer {
    background-color: #FFFFFF;
    color: #0C253E;
    font-family: 'Plus Jakarta Sans', sans-serif;
    margin: -10px 15px;
    border-radius: 20px;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 40px 20px;
    gap: 40px;
}

.footer-col {
    flex: 1 1 180px;
    min-width: 180px;
}

.footer-about {
    flex: 2 1 300px;
}

.footer-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    height: 48px;
}

.footer-logo-icon {
    height: 32px;
}

.footer-about-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4A4A4A;
    margin-bottom: 24px;

}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 16px;
}

.social-link img {
    width: 24px;
    height: 24px;
    transition: opacity 0.2s ease;
}

.social-link:hover img {
    opacity: 0.7;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: #0C253E;
    margin-bottom: 16px;
}

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

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

.footer-link {
    font-size: 14px;
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #0C253E;
}

.footer-address-text {
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.6;
}


.footer-contacts-text {
    font-size: 14px;
    color: #4A4A4A;
    line-height: 1.6;
}

.footer-link-phone,
.footer-link-email {
    color: #4A4A4A;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-link-phone:hover,
.footer-link-email:hover {
    color: #0C253E;
}

.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #E0E0E0;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.footer-bottom-text {
    font-size: 12px;
    color: #4A4A4A;
    line-height: 1.4;
}

.footer-bottom-left,
.footer-bottom-center,
.footer-bottom-right {
    flex: 1 1 200px;
    min-width: 200px;
    text-align: left;
}

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

.footer-bottom-right {
    text-align: right;
}

/* END FOOTER */

/* ABOUT US */

.social-icons {
    display: flex;
    gap: 16px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #fff;
    overflow: hidden;
    transition: transform 0.2s ease, background-color 0.2s;
}

.social-link img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-link:hover {
    background-color: #0C253E;
    transform: scale(1.1);
}

.social-link:hover img {
    filter: invert(100%);
}

.about-us-title h1 {
    font-size: 6rem;
    color: white;
    margin: 5rem 50px 0;
    font-weight: inherit;
}

.about-us-title p {
    color: white;
    margin: 0 50px;
    width: 677px;
    line-height: 25px;

}


.footer-about-us {
    display: flex;
    justify-content: space-between;
    padding: 50px 10px 0;
    margin: 10px 15px;
}

.btn-scroll-down {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    padding: 10px 18px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

.btn-scroll-down:hover {
    background-color: #f0f0f0;
}

.btn-scroll-down .icon-arrow {
    width: 16px;
    height: 16px;
}

/* END ABOUT US HEADER */

/* MAIN CONTENT ABOUT US */


.about-main-section {
    background-color: #FFFFFF;
    border-radius: 15px 15px 0 0;
    margin: 40px 15px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-container {
    margin: 0 auto;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    padding: 0 10px;

}

.about-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: #0C253E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.about-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 40px;
    font-weight: lighter;
    line-height: 1.2;
    color: #0C253E;
    margin-bottom: 24px;
}

.about-paragraph {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #0C253E;
    margin-bottom: 20px;
}

.about-subheading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    font-weight: lighter;
    color: #0C253E;
    margin-top: 32px;
    margin-bottom: 16px;
}

.about-list {
    list-style: disc inside;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #0C253E;
    line-height: 1.5;
}

.clinic-image-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 15px;

}

.clinic-image {
    width: 600px;
    height: 600px;
    display: block;
    object-fit: cover;
    border-radius: 15px 20px;
}

.director-card {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 250px;
    background-color: #FFFFFF;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 16px;
    z-index: 2;
}

.director-photo {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
}

.director-info {
    margin-top: 12px;
    text-align: center;
}

.director-name {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: #0C253E;
    margin-bottom: 6px;
    line-height: 1.2;
}

.director-position {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #555555;
    line-height: 1.4;
}

.about-us-video {
    position: relative;
    display: inline-block;
    cursor: pointer;

}

.about-us-video img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 100%;
    margin: 0 auto;
    cursor: pointer;
    padding: 30px 0;
    border-radius: 15px;

}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 20px;
    z-index: 2;
    pointer-events: none; /* Не блокирует клик по изображению */
}


.video-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.video-popup-content {
    position: relative;
    width: 90%;
    max-width: 960px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.video-popup iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 15px;
    overflow: hidden;
    display: block;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 32px;
    color: white;
    cursor: pointer;
}

/* END MAIN CONTENT */


/* START CEO MESSAGE */

.director-message-container {
    min-width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 40px;
    justify-content: space-evenly;

}

.director-photo-wrapper {
    position: relative;
    width: 100%;
    max-width: 550px;
    border-radius: 15px;
    overflow: hidden;
}

.director-photo-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.director-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
    z-index: 2;
}

.director-play-overlay:hover {
    background-color: rgba(255, 255, 255, 1);
    transform: translate(-50%, -50%) scale(1.1);
}

.director-play-icon {
    width: 32px;
    height: 32px;
    stroke: #0C253E;
}


.director-text-wrapper {
    flex: 1 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}


.director-position-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: #0C253E;
    margin: 0;
    line-height: 1.4;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


.director-name-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    color: #0C253E;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: lighter;
}

.director-message-text {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #333333;
    line-height: 1.6;
}

.director-message-text p {
    margin-top: 0;
    margin-bottom: 16px;
}

.director-message-text p:last-child {
    margin-bottom: 0;
}


/* END CEO MESSAGE */

/* START TEAM PROFESSIONALS */

.team-and-certificates-container {
    min-width: 100%;
    margin: 0 auto;
    display: flex;
    gap: 40px;
    padding: 20px;
    align-content: center;
    align-items: center;
}


.team-text-wrapper {
    max-width: 60%;
}

.team-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 38px;
    color: #0C253E;
    margin: 0 0 26px;
    line-height: 1.2;
    font-weight: lighter;
}

.team-description p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 20px;
    color: #333333;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 16px;
}

.team-description p:last-child {
    margin-bottom: 0;
}


.certificate-wrapper {
    flex: 2 0 auto;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


.certificate-img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* END TEAM CERTIFICATES */
/* START REVIEWS */

.reviews-container {
    min-width: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 5rem 2rem;

}

.reviews-left {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.reviews-tagline {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0C253E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}


.reviews-heading {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 32px;
    color: #0C253E;
    margin: 0 0 32px;
    line-height: 1.2;
    font-weight: lighter;
}

.review-card {
    position: relative;
    background-color: #E5E5E5;
    border-radius: 15px;
    padding: 32px 32px 48px 32px;
    overflow: hidden;
}

.quote-icon {
    position: absolute;
    top: 24px;
    left: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-text {
    margin-left: 72px; /* 48px ширина SVG + 24px gap */
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    color: #0C253E;
    line-height: 1.6;
    margin-bottom: 24px;
    font-weight: lighter;
}

.review-divider {
    border: none;
    height: 1px;
    background-color: #B0B0B0;
    margin: 0 0 16px;
}

.review-author {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    color: #0C253E;
    margin: 0 0 32px;
    line-height: 1.4;
}

.review-navigation {
    position: absolute;
    bottom: 16px;
    left: 32px;
    right: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-btn {
    background-color: #0C253E;
    border: none;
    border-radius: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.nav-btn:hover {
    background-color: #0A1F33;
    transform: translateY(-2px);
}

.nav-btn svg {
    width: 24px;
    height: 24px;
    stroke: #FFFFFF;
}

.reviews-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.review-image {
    display: block;
    width: 70%;
    object-fit: cover;
    border-radius: 15px;
}

/* END REVIEWS */
/* START FAQ */


.faq-section {
    background-color: #0C253E; /* Темно-синий фон */
    border-radius: 20px; /* Скруглённые углы */
    margin: -60px 15px;
    padding: 60px 20px;


}

.faq-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 36px;
    color: #FFFFFF;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.faq-title-divider {
    border: none;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.4);
    margin-bottom: 32px;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.faq-question span:first-child {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    line-height: 1.4;
    text-align: left;
}

.faq-toggle-icon {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 24px;
    color: #FFFFFF;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 0;
}

.faq-answer p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 16px;
    color: #FFFFFF;
    line-height: 1.6;
    margin: 16px 0;
}

.faq-answer ul {
    padding-left: 20px;
    color: #FFFFFF;
}

.faq-answer li {
    margin-bottom: 8px;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 8px 0;
    color: #FFFFFF;
}

.faq-item.open .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-item:last-child {
    border-bottom: none;
}

/* END FAQ SECTION */
/* START MANAGMENT SECTION */


.l-d-section {
    background-color: #FFFFFF;
    padding: 40px 20px 120px;
    border-radius: 15px;
    margin: 50px 15px 0;
}

.d-section {
    background-color: #FFFFFF;
    padding: 40px 20px 120px;
    border-radius: 15px;
    margin: 5rem 15px 0;
}

.l-d-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 40px;
    padding: 60px 20px;
    min-width: 100%;
    margin: 0 auto;
}

.l-d-item {
    flex: 1 1 calc(33.333% - 40px);
    max-width: calc(33.333% - 40px);
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: transform 0.3s ease;
    text-align: center;
}

.l-d-item:hover {
    transform: translateY(-6px);
}

.l-d-image {
    width: 100%;
    height: auto;
    display: block;
}

.l-d-caption {
    padding: 20px 16px;
}

.l-d-name {
    font-weight: 600;
    font-size: 24px;
    color: #0C253E;
    margin-bottom: 4px;
}

.l-d-position {
    font-size: 18px;
    color: #888;
    margin-bottom: 12px;
}

.l-d-socials {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.l-d-socials a {
    background: #f1f1f1;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
}

.l-d-socials a:hover {
    background: #e0e0e0;
}

.social-icon {
    width: 40px;
    height: 30px;
}


/* END MANAGEMENT */

/*START INTERNATIONAL */

.international-section {
    background-color: #FFFFFF;
    margin: 40px 15px;
    border-radius: 20px;
}

.international-container {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    min-width: 100%;
    padding: 30px 20px;
}

.international-text {
    flex: 2;
    font-size: 20px;
    line-height: 1.6;
}

.international-tagline {
    display: block;
    font-size: 18px;
    color: #0C253E;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    padding: 0 2rem 1.5rem 0;
}

.international-title {
    font-size: 36px;
    color: #0C253E;
    margin: 0 0 24px;
    line-height: 1.2;
    font-family: 'Plus Jakarta Sans', sans-serif;
}


.international-media {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.media-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    height: 500px;
    width: 600px;
    object-fit: cover;

}

.int-footer {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
}


.int-footer img:hover {
    transform: scale(1.05);
}

.gallery-photos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 60px;
    padding: 0 20px 50px;
    min-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.gallery-item {
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}


/* END INTERNATIONAL */
/* INSURANCE START */


.insurance-section {
    background-color: #FFFFFF;
    border-radius: 15px;
    margin: 40px 15px;
}

.insurance-container {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin: 0 auto;
    padding: 25px;
}

.insurance-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    width: 100%;

}

.insurance-main-image {
    display: block;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
    max-width: 100%;
    height: auto;


}

.insurance-image-wrapper:hover .insurance-main-image {
    transform: scale(1.02);
}

.insurance-tagline {
    font-size: 18px;
    color: #0C253E;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.insurance-title {
    font-size: 36px;
    color: #0C253E;
    line-height: 1.2;
    margin: 1rem 0 24px;
    font-weight: lighter;

}

.insurance-h3 {
    font-size: 1.4rem;
    margin: 1rem 0;
    color: #0C253E;
}

.insurance-right p, .checkup-text p {
    font-size: 20px;
    line-height: 1.6;
    letter-spacing: .5px;
}

.insurance-subtitle {
    font-size: 24px;
    color: #0C253E;
    margin: 32px 0 12px;
    text-transform: uppercase;
    font-weight: lighter;
}

.insurance-list {
    list-style: disc inside;
    padding: 0;
    color: #333;
    line-height: 1.6;
    font-size: 18px;
    letter-spacing: .5px;
}

.insurance-details {
    margin-top: 60px;
}


.insurance-side-image {
    display: block;
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.insurance-details-right:hover .insurance-side-image {
    transform: scale(1.02);
}

.insurance-btn {
    display: inline-block;
    background-color: #D61F1F;
    color: #fff;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 16px;
    margin-top: 20px;
    transition: background-color 0.2s, transform 0.2s;
}

.insurance-btn:hover {
    background-color: #b81b1b;
    transform: translateY(-2px);
}


.insurance-logos {
    overflow: hidden;
    padding: 20px 0;
    background: none;
    margin-top: 4rem;
}


.logos-track {
    display: flex;
    animation: scroll-left 20s linear infinite;
}

.company-logo {
    flex: 0 0 auto;
    width: 120px;
    margin: 0 32px;
    transition: transform 0.3s;
}

.company-logo:hover {
    transform: scale(1.1);
}


@keyframes scroll-left {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


/* INSURANCE END */

/* CHECKUP STARTS */

.mri-container {
    display: flex;
    align-items: stretch;
    margin: 1rem 2rem;
    min-width: 100%;
}

.mri-image-wrap {
    flex: 0 0 600px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mri-image {
    max-width: 530px;
    width: 100%;
    border-radius: 12px;
    display: block;
}

.mri-text-wrap {
    flex: 1;
    background: #fff;
    border-radius: 0 24px 24px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1200px;
}

.mri-tagline {
    color: #4972a0;
    font-size: 18px;
    margin-bottom: 12px;
    font-family: 'Inter', Arial, sans-serif;
    display: block;
}

.mri-heading {
    font-size: 48px;
    margin: 0 0 24px 0;
    color: #15304b;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

.mri-text-wrap p {
    font-size: 20px;
    color: #132c3d;
    line-height: 1.5;
    margin-bottom: 20px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
}

.checkup-section {
    background-color: #FFFFFF;
    border-radius: 15px 15px 0 0;
    margin: 40px 15px;
    display: flex;
    flex-direction: column;
    align-items: center;

}

.checkup-container {
    display: flex;
    gap: 48px;
    align-items: stretch;
    margin: 0 auto 60px auto;
    padding: 48px 40px;
    background: #fff;
    border-radius: 28px;

}

.checkup-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 16px;
}

.checkup-text h2 {
    font-size: 2.4rem;
    font-family: 'Plus Jakarta Sans', 'Montserrat', Arial, sans-serif;
    color: #092240;
    margin-bottom: 22px;
    font-weight: 700;
    letter-spacing: 1.5px;
    line-height: 1.1;
}

.checkup-text p {
    font-size: 1.17rem;
    line-height: 1.7;
    color: #222b38;
    margin-bottom: 28px;
    font-weight: 400;
}

.btn {
    text-align: center;
    display: inline-block;
    padding: 14px 40px;
    border-radius: 30px;
    font-size: 1.08rem;
    font-weight: 600;
    letter-spacing: .5px;
    background: linear-gradient(90deg, #d41e27 60%, #ec6148 100%);
    color: #fff;
    border: none;
    outline: none;
    box-shadow: 0 4px 20px rgb(0, 0, 0);
    transition: box-shadow .18s, background .25s;
    text-decoration: none;
    cursor: pointer;
    width: 300px;
}

.btn--red:hover {
    box-shadow: 0 6px 32px rgba(220, 30, 30, 0.22);
    background: linear-gradient(90deg, #b81b1b 70%, #f06837 100%);

}

/* ======== слайдер ======== */
.checkup-slider-wrapper {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 15px;
}

.checkup-slider-track {
    display: flex;
    transition: transform .4s cubic-bezier(.48, .25, .36, 1.04);
    align-items: center;
    width: 100%;
    height: 100%; /* ✅ обязательно */
}


.checkup-slide {
    min-width: 100%;
    max-width: 520px;
    height: 100%; /* ✅ чтобы занимали всю высоту обёртки */
    padding: 0 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
}

.checkup-slide img {
    border-radius: 15px;
    width: 100%;
    max-height: 400px;
    height: auto;
    object-fit: cover; /* можно попробовать cover для более аккуратного вида */
    display: block;
    background: #fff;
    transition: transform .21s;
}

.checkup-slide img:hover {
    transform: scale(1.03);
}


.checkup-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: #fff;
    color: #d61f1f;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(100, 30, 20, 0.12);
    transition: background .18s, box-shadow .2s, color .18s;
    opacity: 0.90;
}

.checkup-arrow:hover {
    background: #d61f1f;
    color: #fff;
    box-shadow: 0 4px 18px rgba(200, 0, 30, 0.19);
}

.checkup-prev {
    left: 10px;
}

.checkup-next {
    right: 10px;
}

/* CHECKUP END */

/* ALL SERVICES */


/* END ALL SERVICES */
/* START MAIN MENU  */


:root {
    --main-color: #1964a5;
    --accent: #d61f1f;
    --bg-light: #e8f0f6;
    --radius: 2rem;
    --shadow: 0 6px 36px #133f7e15;
}

.main-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 40px;
}


.main-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}


.main-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.55) blur(px);
    min-height: 560px;
    transition: filter .3s;
    object-position: center 0.5%;
}

.main-hero-overlay {
    position: absolute;
    inset: 0;

    z-index: 2;

}

.main-hero-content {
    margin-top: 5rem;
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    max-width: 800px;
}

.main-hero-logo {
    height: 54px;
    margin-bottom: 22px;
    filter: drop-shadow(0 4px 24px #fff8);
}

.main-hero-title {
    font-size: 3.2rem;
    font-weight: 800;
    margin: 0 0 18px 0;
    letter-spacing: .01em;
    color: #fff;
    text-shadow: 0 4px 16px #133f7ea7, 0 1px 6px #0007;
}

.main-hero-desc {
    font-size: 1.23rem;
    margin: 0 0 36px 0;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 2px 16px #1964a599;
}

.main-hero-actions {
    margin-bottom: 30px;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.main-hero-btn {
    padding: 16px 42px;
    font-size: 1.17rem;
    border: none;
    border-radius: 2rem;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 16px #1964a522;
    transition: background .22s, color .18s, transform .15s;
}

.main-hero-btn-primary {
    background: red;
    color: #fff;
}

.main-hero-btn-primary:hover {
    background: red;
    transform: scale(1.05);
}

.main-hero-btn-outline {
    background: #fff;
    color: #1964a5;
    border: 2px solid #1964a5;
}

.main-hero-btn-outline:hover {
    background: #1964a5;
    color: #fff;
}

.main-hero-roles {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 16px;
}

.main-hero-role-btn {
    padding: 13px 36px;
    background: #fff;
    color: #1964a5;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    box-shadow: 0 2px 14px #1964a511;
    cursor: pointer;
    transition: background .18s, color .18s;
}

.main-hero-role-btn:hover {
    background: #1964a5;
    color: #fff;
}


/* --- QUICK SERVICES --- */
.landing-quick-services {
    display: flex;
    gap: 32px;
    justify-content: center;
    margin: -100px auto 36px auto;
    z-index: 4;
    position: relative;
    max-width: 1000px;
}

.landing-service-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 34px 36px 28px 36px;
    min-width: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: box-shadow .19s, transform .15s;
}

.landing-service-card:hover {
    box-shadow: 0 8px 40px #1c293929;
    transform: translateY(-8px) scale(1.03);
}

.landing-service-card svg {
    font-size: 2.3rem;
    color: var(--main-color);
    margin-bottom: 6px;
}

.landing-service-card span {
    font-weight: 600;
    font-size: 1.1rem;
}

.main-news {
    max-width: 1160px;
    margin: 0 auto 42px auto;
    padding: 0 5rem;
}

.main-news h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--main-color);
    margin-bottom: 32px;
    letter-spacing: .02em;
}

.news-cards {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;

}

.news-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    width: 310px;
    padding: 0 0 16px 0;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .13s;
    cursor: pointer;
}

.news-card:hover {
    box-shadow: 0 8px 38px #d61f1f13;
    transform: translateY(-5px) scale(1.03);
}

.news-img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}

.news-content {
    padding: 20px 22px 0 22px;
}

.news-date {
    color: #888;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.news-title {
    font-size: 1.14rem;
    font-weight: 700;
    margin: 0 0 7px 0;
    color: #1c2939;
}

.news-desc {
    color: #22344a;
    font-size: 1rem;
    opacity: .91;
}

.all-news-btn {
    display: inline-block;
    margin: 32px auto 0 auto;
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 14px 36px;
    border-radius: 2rem;
    font-size: 1.08rem;
    font-weight: 600;
    box-shadow: 0 4px 22px #d61f1f28;
    transition: background .2s;

}

.all-news-btn:hover {
    background: #1964a5;
}

/* --- ABOUT --- */
.landing-main-about {
    display: flex;
    max-width: 1200px;
    margin: 70px auto 40px auto;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;

}

.landing-about-left {
    flex: 1.1;
    min-width: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f3fb;
    border-radius: 32px;
}

.landing-about-left img {
    max-width: 100%;
    width: 450px;
    border-radius: 32px;
    box-shadow: 0 6px 32px #1c293917;

}

.landing-about-right {
    flex: 1.6;
    padding: 46px 46px 36px 32px;
}

.landing-about-right h2 {
    color: var(--main-color);
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.landing-about-right p {
    color: #31496a;
    font-size: 1.13rem;
    margin-bottom: 22px;
    opacity: .98;
}

.landing-about-features {
    display: flex;
    gap: 28px;
    margin-top: 16px;
}

.landing-about-feature {
    background: #f5fafd;
    padding: 19px 18px;
    border-radius: 1.2rem;
    color: var(--main-color);
    font-weight: 700;
    font-size: 1.06rem;
    display: flex;
    align-items: center;
    gap: 11px;
    box-shadow: 0 2px 9px #1964a511;
}

.landing-about-feature svg {
    font-size: 1.5rem;
}

.main-page {
    margin: 5rem 15px 0;
    background-color: white;
    border-radius: 15px;
    padding: 0 0 3rem;
}

/* END START SERVICES */

/* START DEPARTMENTS */


.department-card {
    display: flex;
    flex-direction: column;
    border-radius: 2.3rem;
    overflow: hidden;
    background: #f7fafc;
    box-shadow: 0 8px 36px #1964a51a, 0 2px 0 #e1e6f7 inset;
    text-decoration: none;
    min-height: 320px;
    transition: transform .17s cubic-bezier(.44, 1.6, .2, 1.01), box-shadow .18s;
    will-change: transform, box-shadow;
}


.department-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2.3rem 2.3rem 0 0;
    filter: brightness(0.98) saturate(1.07);
    background: #f3f6fa;
    transition: filter .2s;
}

.department-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 77, 135, 0.11) 25%, rgba(30, 100, 165, 0.23) 85%);
    z-index: 1;
}

.department-info {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 28px 30px 16px 30px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 7px;
    background: linear-gradient(180deg, rgba(19, 66, 120, 0.01) 12%, rgba(11, 50, 91, 0.23) 99%);
}

.department-name {
    font-size: 1.22rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 24px #0a245f2d;
    margin-bottom: 2px;
}

.department-short {
    font-size: 1.05rem;
    color: #e7f8ff;
    opacity: .95;
    margin-bottom: 2px;
    font-weight: 500;
    text-shadow: 0 1px 6px #18649528;
}

.department-card-footer {
    background: #fff;
    padding: 22px 0 18px 0;
    border-radius: 0 0 2.3rem 2.3rem;
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    box-shadow: 0 -2px 12px #b6c8ee13;
    z-index: 2;
}

.department-link {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: linear-gradient(91deg, #1964a5 0%, #18bc96 100%);
    color: #fff;
    border-radius: 2.2rem;
    font-weight: 700;
    font-size: 1.12rem;
    padding: 12px 36px 12px 26px;
    text-decoration: none;
    transition: background .19s, box-shadow .13s, transform .13s;
    box-shadow: 0 1.5px 10px #0a245f09;
    position: relative;
    cursor: pointer;
}

.department-link svg {
    margin-left: 5px;
    transition: transform .18s;
}

.department-card:hover .department-link {
    background: linear-gradient(91deg, #18bc96 0%, #1964a5 100%);
    box-shadow: 0 3px 18px #1ca79738;
    transform: scale(1.04);
}

.department-card:hover .department-link svg {
    transform: translateX(8px) scale(1.14);
}

@media (max-width: 900px) {
    .department-info {
        padding: 16px 10px 8px 12px;
    }

    .department-card-footer {
        padding: 12px 0 9px 0;
    }

    .department-link {
        font-size: 1rem;
        padding: 8px 18px 8px 13px;
    }
}


.departments-hero {
    text-align: center;
    padding: 64px 16px 28px 16px;
    background-color: white;
    margin: 5rem 15px 0;
    border-radius: 15px 15px 0 0;
    position: relative;
    overflow: hidden;
}

.departments-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 35% 20% at 30% 5%, #d7f5ff40 0%, transparent 100%),
    radial-gradient(ellipse 25% 10% at 70% 90%, #a1ffe34b 0%, transparent 100%);
    filter: blur(18px);
}

.departments-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #165ca3;
    margin-bottom: 12px;
    background: linear-gradient(91deg, #174278 40%, #18bc96 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1.5px;
    position: relative;
    z-index: 1;
}

.departments-desc {
    color: #415b7d;
    font-size: 1.18rem;
    opacity: .94;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}

.depart {
    background-color: white;
    margin: 0 15px;
    border-radius: 0 0 15px;
    padding: 2rem 0 4rem;
}

.departments-list {
    max-width: 1280px;
    margin: 0 auto 48px auto;
    padding: 0 15px;

}

.departments-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 38px;
}

@media (min-width: 680px) {
    .departments-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1080px) {
    .departments-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .blogdetail-card {
        max-width: 98vw;
    }

    .blogdetail-content {
        padding: 26px 12px 12px 12px;
    }

    .blogdetail-image img {
        height: 180px;
    }

    .blogdetail-title {
        font-size: 1.27rem;
    }
    .bloglist-card {
        margin: 2rem;
    }
    .bloglist-grid {
        margin: 1rem;
    }


}

.department-card {
    display: block;
    border-radius: 2.3rem;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 6px 36px #1964a51c, 0 2px 0 #e1e6f7 inset;
    position: relative;
    text-decoration: none;
    min-height: 270px;
    transition: transform .17s cubic-bezier(.44, 1.6, .2, 1.01), box-shadow .18s;
    will-change: transform, box-shadow;
}

.department-card:hover {
    transform: scale(1.028) translateY(-6px) rotate(-0.2deg);
    box-shadow: 0 18px 50px #18bc961f, 0 0 0 5px #e1e6f755;
    z-index: 2;
}

.department-image-wrap {
    position: relative;
    height: 225px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.department-img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    border-radius: 2.3rem 0 0;
    filter: brightness(0.96) saturate(1.05);
    transition: filter .2s;
    background: #f3f6fa;
}

.department-card:hover .department-img {
    filter: brightness(0.92) saturate(1.13) blur(0.5px);
}

.department-image-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, rgba(13, 40, 73, 0.01) 45%, rgba(22, 77, 135, 0.14) 81%, rgba(30, 100, 165, 0.22) 100%);
    pointer-events: none;
    border-radius: 2.3rem;
    z-index: 1;
    transition: background .2s;
}

.department-card:hover .department-image-overlay {
    background: linear-gradient(180deg, rgba(18, 128, 155, 0.07) 36%, rgba(40, 185, 170, 0.24) 90%, rgba(26, 186, 150, 0.22) 100%);
}

.department-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px 36px 23px 36px;
    z-index: 2;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: linear-gradient(180deg, rgba(19, 66, 120, 0.01) 19%, rgba(11, 50, 91, 0.23) 99%);
}

.department-name {
    font-size: 1.23rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 3px 24px #0a245f35;
    letter-spacing: .8px;
    margin-bottom: 4px;
}

.department-short {
    font-size: 1.08rem;
    color: #e7f8ff;
    opacity: .97;
    margin-bottom: 8px;
    font-weight: 500;
    text-shadow: 0 1px 6px #18649528;
}

.department-link {
    margin-top: 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: linear-gradient(91deg, #1964a5 0%, #18bc96 100%);
    color: #fff;
    border-radius: 2.2rem;
    font-weight: 700;
    font-size: 1.07rem;
    padding: 11px 28px 11px 22px;
    text-decoration: none;
    transition: background .19s, box-shadow .15s, transform .16s;
    box-shadow: 0 1.5px 14px #0a245f13;
    position: relative;
}

.department-link svg {
    margin-left: 4px;
    transition: transform .19s;
    stroke: #fff;
}

.department-card:hover .department-link {
    background: linear-gradient(91deg, #18bc96 0%, #1964a5 100%);
    box-shadow: 0 3px 22px #1ca79734;
    transform: scale(1.035);
}

.department-card:hover .department-link svg {
    transform: translateX(6px) scale(1.13);
}

.departments-features {
    margin: 54px auto 0 auto;
    display: flex;
    gap: 30px;
    justify-content: center;
    max-width: 900px;
    flex-wrap: wrap;
}

.feature-card {
    background: linear-gradient(115deg, #e5f7ff 0%, #e7faf6 100%);
    border-radius: 1.3rem;
    box-shadow: 0 2px 16px #1964a514;
    padding: 26px 36px;
    font-weight: 800;
    color: #1964a5;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    gap: 13px;
    letter-spacing: .6px;
    transition: box-shadow .18s, background .15s;
}

.feature-card:hover {
    box-shadow: 0 6px 28px #b3f8e538;
    background: linear-gradient(91deg, #f2fffd 0%, #e5f7ff 100%);
}

.feature-card svg {
    flex-shrink: 0;
    opacity: 0.93;
}

@media (max-width: 900px) {
    .departments-features {
        gap: 16px;
        flex-wrap: wrap;
    }

    .feature-card {
        padding: 18px 19px;
        font-size: 1.05rem;
    }
}


/* END START DEPARTMENTS */

/* DOCTORS START */

.d-title {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 46px;
    color: #0C253E;
    margin-bottom: 5rem;
    margin-left: 2rem;
    text-transform: uppercase;

}

.doctor-search-filter {

    border-radius: 18px;
    padding: 18px 16px;
    margin-bottom: 32px;
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: center;
}

.doctor-search-filter input,
.doctor-search-filter select {
    outline: none;
    border: 1px solid #dde3f3;
    font-size: 1.05rem;
    border-radius: 12px;
    padding: 9px 14px;
    min-width: 170px;
    background: #fff;
    transition: border-color 0.18s;
}

.doctor-search-filter input:focus,
.doctor-search-filter select:focus {
    border-color: #348cf5;
}

.doctor-search-filter .search-btn {
    background: linear-gradient(90deg, #429df3 70%, #71c8fd 100%);
    color: #fff;
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.08rem;
    border: none;
    box-shadow: 0 2px 8px 0 rgba(68, 104, 164, 0.08);
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
}

.doctor-search-filter .search-btn:hover {
    background: #2172e5;
    box-shadow: 0 6px 18px 0 rgba(68, 104, 164, 0.13);
}

.doctor-profile-outer {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    background: #fff;
    min-height: 100vh;
    padding: 48px 0 36px 0;
    margin: 20px 15px;
    border-radius: 15px;
}

.doctor-profile-card {
    display: flex;
    background: #fff;


    min-height: 100vh;
    padding: 48px 48px;
    width: 100%;
    gap: 44px;
    align-items: center;
    transition: box-shadow 0.25s;
    position: relative;
    margin: 0 0 1rem;
}


.doctor-profile-img-block {
    flex-shrink: 0;
    background: linear-gradient(130deg, #f0f4ff 70%, #e5ebf7 100%);
    border-radius: 50%;
    padding: 7px;
    box-shadow: 0 4px 24px 0 rgba(30, 90, 180, 0.10);
    display: flex;
    align-items: center;
    justify-content: center;
}

.doctor-profile-img {
    width: 520px;
    height: 520px;
    object-fit: cover;
    object-position: center 12%;
    border-radius: 50%;
    box-shadow: 0 0 0 8px #f4f7ff;
    transition: box-shadow 0.3s;
    background: #eaf1fa;
}

.doctor-profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.doctor-profile-name {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #213a5d;
    letter-spacing: 0.01em;
}

.doctor-profile-position {
    font-size: 1.32rem;
    font-weight: 500;
    color: #3b68b6;
    margin-bottom: 24px;
}

.doctor-profile-bio.ck-content-doctor {
    font-size: 1.09rem;
    color: #3b4659;
    line-height: 1.65;
    background: #f6faff;
    border-radius: 16px;
    padding: 20px 22px 18px 22px;
    margin-top: 10px;
    margin-bottom: 0;
    box-shadow: 0 2px 10px 0 rgba(68, 104, 164, 0.04);
    min-height: 80px;
}

.doctor-profile-img-block {
    position: relative;
    background: radial-gradient(ellipse at center, #eaf3fd 68%, #f4f7fa 100%);
    box-shadow: 0 4px 24px 0 rgba(30, 90, 180, 0.09);
    border-radius: 50%;
}

.doctor-profile-img {
    box-shadow: 0 0 0 14px #eaf3fd, 0 6px 32px 0 rgba(30, 90, 180, 0.08);
}

.doctor-avatar-info {
    position: absolute;
    left: 50%;
    bottom: -55px;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 14px 0 rgba(60, 110, 200, 0.07);
    padding: 14px 18px 11px 18px;
    text-align: center;
    min-width: 220px;
    z-index: 2;
}

/* ENDDOCTORS START */


/* AMUH LIFE STARTS */


.timeline-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #f8f8f7;
    padding: 32px 0 24px 0;
    border-radius: 20px;
}

.timeline-arrow {
    width: 44px;
    height: 44px;
    background: #eceff3;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    color: #223043;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .18s;
    margin: 0 16px;
    flex-shrink: 0;
}

.timeline-arrow:active, .timeline-arrow:hover {
    background: #d1d8e0;
}

.timeline-scroll {
    overflow-x: auto;
    flex: 1;
    min-width: 0;
    /* scroll-behavior: smooth; */ /* Для ручного скролла мышкой */
}

.timeline-scroll::-webkit-scrollbar {
    display: none;
}

.timeline-years {
    display: flex;
    align-items: center;
    min-width: max-content;
    gap: 0;
    justify-content: center;
}

.timeline-year {
    border: none;
    background: #edf1f5;
    color: #223043;
    font-size: 26px;
    font-family: 'Inter', Arial, sans-serif;
    font-weight: 400;
    border-radius: 32px;
    padding: 16px 46px;
    cursor: pointer;
    transition: background 0.18s, color 0.18s;
    margin: 0 12px;
}

.timeline-year.active {
    background: #7b8c9e;
    color: #fff;
}

.timeline-dash {
    display: inline-block;
    width: 120px;
    height: 2px;
    border-bottom: 2px dashed #7b8c9e;
    margin: 0 0px;
    vertical-align: middle;
}

.timeline-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 24px 16px 0 16px;


}

.timeline-block {
    display: none;
    flex-direction: column;
    gap: 22px;
    animation: fadein .4s;
}

.timeline-block[style*="display:block"] {
    display: flex;
}

.timeline-main {
    display: flex;
    gap: 36px;
    align-items: flex-start;
}

.timeline-main img {
    width: 380px;
    border-radius: 12px;
    box-shadow: 0 2px 16px rgba(30, 50, 60, 0.10);
    background: #fff;
}

.timeline-text {
    max-width: 650px;
    margin-left: 16px;
}

.timeline-text h3 {
    font-size: 36px;
    margin-bottom: 14px;
}

.timeline-gallery {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.timeline-gallery img {
    width: 200px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(10, 30, 40, 0.06);
    background: #fff;
}

@keyframes fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}


.about-amuh {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 100%;
    margin: 0 auto 64px auto;
    gap: 64px;
}

.about-amuh-text {

    font-size: 20px;
    line-height: 1.36;
    margin-top: 30px;
}

.about-amuh-img-wrap {
    flex: 0 0 600px;
    max-width: 600px;
}

.about-amuh-img-wrap img {
    width: 100%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 2px 24px rgba(10, 30, 60, 0.11);
    background: #fff;
}

/* END AMUH LIFE  */

/* STARTS BLOG */


.blogdetail-main-wrap {
    background: #f7fafc;
    min-height: 100vh;
    padding: 34px 0 48px 0;
    display: flex;
    justify-content: center;
    margin: 5rem 15px 0;
    border-radius: 15px;
}

.blogdetail-card {
    background: #fff;
    border-radius: 30px;
    max-width: 740px;
    width: 100%;
    box-shadow: 0 8px 38px #1964a517;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    margin: 0 12px 2rem;
}

.blogdetail-image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-radius: 30px 30px 0 0;
}

.blogdetail-content {
    padding: 36px 36px 20px 36px;
    display: flex;
    flex-direction: column;
}

.blogdetail-category {
    display: inline-block;
    color: #f7801a;
    background: #ffe6de;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 11px;
    padding: 7px 20px;
    margin-bottom: 15px;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.blogdetail-title {
    font-size: 2.12rem;
    color: #17335f;
    font-weight: 900;
    margin: 0 0 20px 0;
    letter-spacing: .01em;
    line-height: 1.19;
}

.blogdetail-body.ck-blogdetail-content {
    font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
    font-size: 1.13rem;
    color: #232a37;
    line-height: 1.72;
    margin-bottom: 28px;
}

.blogdetail-body.ck-blogdetail-content h2, .blogdetail-body.ck-blogdetail-content h3, .blogdetail-body.ck-blogdetail-content h4 {
    color: #e23c3c;
    font-weight: 700;
    margin-top: 1.7em;
    margin-bottom: .7em;
}

.blogdetail-body.ck-blogdetail-content ul, .blogdetail-body.ck-blogdetail-content ol {
    margin: 1.2em 0 1.2em 1.5em;
}

.blogdetail-body.ck-blogdetail-content li {
    margin-bottom: .38em;
}

.blogdetail-body.ck-blogdetail-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.6em 0;
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    font-size: 1rem;
}

.blogdetail-body.ck-blogdetail-content th, .blogdetail-body.ck-blogdetail-content td {
    border: 1px solid #ececec;
    padding: 12px 10px;
}

.blogdetail-body.ck-blogdetail-content th {
    background: #f3c0c8;
    color: #9d172e;
    font-weight: 700;
}

.blogdetail-body.ck-blogdetail-content a {
    color: #e23c3c;
    text-decoration: underline;
    transition: color .14s;
}

.blogdetail-body.ck-blogdetail-content a:hover {
    color: #f7801a;
}

.blogdetail-body.ck-blogdetail-content img {
    max-width: 100%;
    margin: 1.4em 0;
    border-radius: 18px;
    box-shadow: 0 4px 20px #f7801a23;
    height: auto !important;
    display: block;
}

/* Footer-кнопка */
.blogdetail-footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 0 0 0;
}

.blogdetail-back-btn {
    background: linear-gradient(90deg, #ed284c 0%, #f7801a 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 2rem;
    padding: 14px 38px;
    font-size: 1.09rem;
    box-shadow: 0 4px 22px #ed284c19;
    border: none;
    text-decoration: none;
    transition: background .2s, transform .12s, box-shadow .15s;
    letter-spacing: .03em;
    cursor: pointer;
}

.blogdetail-back-btn:hover {
    background: linear-gradient(90deg, #f7801a 0%, #ed284c 90%);
    color: #fff;
    transform: scale(1.05) translateY(-1.5px);
    box-shadow: 0 8px 28px #ed284c32;
}


.pagination {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
    align-items: center;
}

.pagination a {
    padding: 6px 16px;
    border-radius: 24px;
    background: #f2f7fa;
    color: #0C253E;
    font-weight: 500;
    text-decoration: none;
    transition: background .2s;
}

.pagination a:hover {
    background: #0096e6;
    color: #fff;
}

.page-num {
    color: #0C253E;
    font-weight: 700;
}


/* ends BLOG */

/* CK CONTENT  */


.ck-content-doctor {
    font-family: "Plus Jakarta Sans", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    margin-top: 20px;
}

.ck-content-doctor h2,
.ck-content-doctor h3 {
    margin-top: 1.5em;
    font-weight: 600;
    color: #0C253E;
}

.ck-content-doctor ul {
    padding-left: 20px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.ck-content-doctor ul li {
    margin-bottom: 0.5rem;
    list-style-type: disc;
}

.ck-content-doctor p {
    margin-bottom: 1rem;
    white-space: normal;
    word-break: break-word;
}

.ckeditor-content {
    max-width: 1260px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #0C253E;
    line-height: 1.8;
    font-size: 18px;
}

/* Заголовки */
.ckeditor-content h1,
.ckeditor-content h2,
.ckeditor-content h3 {
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.ckeditor-content h1 {
    font-size: 32px;
}

.ckeditor-content h2 {
    font-size: 28px;
}

.ckeditor-content h3 {
    font-size: 24px;
}

/* Ссылки */
.ckeditor-content a {
    color: #007bff;
    text-decoration: underline;
}

.ckeditor-content a:hover {
    color: #0056b3;
}

/* Списки */
.ckeditor-content ul,
.ckeditor-content ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

/* Изображения */
.ckeditor-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1rem 0;
    display: block;
}

/* Таблицы */
.ckeditor-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.ckeditor-content table th,
.ckeditor-content table td {
    border: 1px solid #ccc;
    padding: 8px;
    text-align: left;
}

/* end CK CONTENT  */
.doctor-news-detail {
    margin: 5rem 15px 1rem;
    padding: 0 12px 60px;
    background: #fff;
    border-radius: 28px;
    box-shadow: 0 12px 48px 0 #1964a51c, 0 1.5px 8px #1964a513;
    animation: fadeIn .7s cubic-bezier(.41, .8, .45, 1.02);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-hero-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 26px;
    margin-bottom: 36px;

}

.news-hero-img img {
    width: 1200px;
    height: 400px;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 4px 24px #18468812;
    margin-bottom: 0;
}

.news-hero-content {
    width: 100%;
    text-align: center;
    padding: 0 6vw;

}

.news-date {
    display: inline-block;
    color: #18bc96;
    background: #e5f9f3;
    border-radius: 14px;
    font-size: 1.07rem;
    font-weight: 700;
    padding: 8px 26px;
    margin-bottom: 18px;
    margin-top: 4px;
    letter-spacing: 0.03em;
}

.news-detail-title {
    font-size: 2.25rem;
    color: #153967;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.012em;
    line-height: 1.12;
}

.news-subtitle {
    color: #4386c9;
    background: #f7fbfd;
    padding: 12px 30px;
    font-size: 1.19rem;
    border-radius: 11px;
    margin: 0 auto 0 auto;
    font-weight: 500;
    box-shadow: 0 1px 10px #1964a511;
}

.news-detail-body {
    color: #293954;
    font-size: 1.18rem;
    line-height: 1.72;
    margin: 0 auto 18px auto;
    max-width: 95%;
    word-break: break-word;
    padding-bottom: 8px;
    animation: fadeIn .7s cubic-bezier(.41, .8, .45, 1.02) .2s backwards;


}

.news-detail-footer {
    text-align: center;
    margin-top: 30px;
}

.news-back-btn {
    display: inline-block;
    padding: 13px 38px;
    background: linear-gradient(93deg, #1964a5 0%, #18bc96 90%);
    color: #fff;
    border-radius: 2em;
    font-size: 1.1rem;
    font-weight: 700;
    box-shadow: 0 3px 22px #18bc9630;
    letter-spacing: 0.02em;
    text-decoration: none;
    transition: background .19s, transform .14s, box-shadow .16s;
}

.news-back-btn:hover {
    background: linear-gradient(100deg, #18bc96 5%, #1964a5 97%);
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 32px #18bc965c;
}


/* STRART VACANCIES */


.vacancies-section {
    background-color: white;
    border-radius: 20px 20px 0 0;
    margin: 5rem 15px 40px;
    padding: 60px;

    /* или с шаблонным тегом, если вставляешь CSS прямо в шаблон: */

    background-size: cover;
    background-position: center;
}

.vacancies-header h1 {
    font-size: 40px;
    color: #0C253E;
    text-transform: uppercase;
}

.vacancies-header p {
    font-size: 18px;
    color: #0C253E;
    margin-top: 10px;
}

.vacancy-filter {
    margin-top: 20px;
    margin-bottom: 40px;
}

.vacancy-filter select {
    padding: 10px 16px;
    font-size: 16px;
    border-radius: 12px;
    border: 1px solid #ccc;
}

.vacancy-card {
    background: #fff;
    border: 1.5px solid #e5eaf1;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(18, 131, 198, 0.07);
    margin-bottom: 26px;
    padding: 24px 18px 22px 18px;
    transition: box-shadow 0.18s;
}

.vacancy-card:hover {
    box-shadow: 0 8px 36px rgba(18, 131, 198, 0.13);
    border-color: #1283c640;
}

.vacancy-number {
    font-size: 15px;
    font-weight: 700;
    color: #1283C6;
    margin-bottom: 2px;
}

.vacancy-title {
    font-size: 19px;
    font-weight: 700;
    color: #0C253E;
    margin-bottom: 7px;
}

.salary-label {
    font-size: 13px;
    color: #6f7890;
    margin-bottom: 2px;
}

.salary-value {
    font-size: 17px;
    color: #0C253E;
    font-weight: 700;
}


.vacancy-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px; /* Можно подбирать, чтобы не слипалось */
}

.vacancy-top-left,
.vacancy-top-middle {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.vacancy-top-middle {
    min-width: 220px; /* Ширина блока с зарплатой — подбери под свой макет */
    align-items: center;
}

.vacancy-top-right {
    display: flex;
    align-items: center;
    gap: 18px; /* Между кнопками */
}

.vacancy-number {
    font-size: 28px;
    font-weight: bold;
}

.vacancy-title {
    font-size: 18px;
    font-weight: 600;
}

.salary-label {
    font-size: 14px;
}

.salary-value {
    font-weight: bold;
    font-size: 18px;
}

.apply-btn {
    background-color: #0C253E;
    color: white;
    padding: 10px 16px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.vacancy-details {
    margin-top: 20px;
    display: flex;
    gap: 40px;
}

.vacancy-column {
    flex: 1;
}

.vacancy-column h4 {
    margin-bottom: 8px;
}

.toggle-details-btn {
    background: #0C253E;
    color: #fff;
    border: none;
    border-radius: 22px;
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    margin-left: 12px;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(12, 37, 62, 0.08);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.toggle-details-btn:hover, .toggle-details-btn:focus {
    background: #143d67;
    color: #fff;
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 6px 24px rgba(12, 37, 62, 0.14);
}

.toggle-details-btn .arrow {
    font-size: 18px;
    transition: transform 0.25s;
}

/* Когда кнопка активна — стрелка вверх */
.toggle-details-btn.active .arrow {
    transform: rotate(180deg);
}

.resume-form-container {
    justify-content: center;
    display: flex;
    align-items: center;
}


.resume-title {
    font-size: 2.5rem;
    text-align: center;
    color: #123;
    font-weight: 700;
    margin-bottom: 0.7rem;
    letter-spacing: .03em;
}

.resume-img {
    max-width: 90%;
    border-radius: 15px;
}

.resume-desc {
    text-align: center;
    color: #4A4A4A;
    margin-bottom: 1.5rem;
    font-size: 1.13rem;
}

.resume-form input,
.resume-form textarea {
    width: 100%;
    padding: 14px 16px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #d2d2d2;
    background: #f6f7fa;
    font-size: 1.1rem;
    color: #1d2c38;
    transition: border .2s;
}

.resume-form input:focus,
.resume-form textarea:focus {
    border-color: #1283C6;
    outline: none;
    background: #fff;
}

.resume-form-row {
    display: flex;
    gap: 18px;
    margin-bottom: 16px;
}

.resume-form-row input {
    margin-bottom: 0;
}

.file-upload-wrapper {
    flex: 1;
    background: #f1f5f9;
    border: 2px dashed #b0b9c7;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    position: relative;
    transition: border-color 0.25s, background 0.2s;
    cursor: pointer;
    margin-bottom: 0;
}

.file-upload-wrapper.dragover {
    border-color: #1283C6;
    background: #eaf7fd;
}

.file-upload-label {
    width: 100%;
    height: 100%;
    text-align: center;
    cursor: pointer;
    color: #454f5b;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.file-upload-icon {
    font-size: 2.1rem;
    margin-bottom: 8px;
    color: #1283C6;
}

.file-uploaded-list {
    flex: 1;
    background: #f7f7fa;
    border: 2px dashed #e2e5ea;
    border-radius: 13px;
    min-height: 110px;
    margin-left: 14px;
    display: flex;
    align-items: center;
    padding: 0 15px;
    color: #9299ad;
    font-size: 1.01rem;
}

.resume-form textarea {
    resize: vertical;
    min-height: 68px;
}

.resume-btn {
    width: 60%;
    margin: 18px auto 0 auto;
    display: block;
    background: linear-gradient(90deg, #1283C6 0, #0C253E 100%);
    color: #fff;
    font-size: 1.2rem;
    padding: 14px 0;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    font-weight: 600;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 16px rgba(18, 131, 198, 0.09);
    transition: background .2s, transform .2s;
}

.resume-btn:hover {
    background: linear-gradient(90deg, #0C253E 0, #1283C6 100%);
    transform: translateY(-2px) scale(1.03);
}

/* END VACANCIES */

.news-section {
    margin: 5rem 15px 0;
    border-radius: 15px;
    background-color: white;
}

.news-page-main {
    border-radius: 15px;
    margin: 0 auto 0;
}

.news-banner-slider-wrap {

}

.swiper {
    width: 100%;
    min-height: 260px;
}

.swiper-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
    box-shadow: 0 8px 32px #193c5e11;
    background: #e3e9f1;
    border-radius: 15px;
}

.swiper-button-next, .swiper-button-prev {
    color: #fff;
    background: rgba(25, 100, 165, 0.15);
    border-radius: 50%;
    width: 46px;
    height: 46px;
    top: 52%;
}

.swiper-button-next:hover, .swiper-button-prev:hover {
    background: #1964a5ee;
}

.swiper-pagination-bullet {
    background: #eee;
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #1964a5;
}

/* --- Список новостей --- */
.mainnews-list-title {
    font-size: 2.3rem;
    font-weight: 900;
    color: #185ca7;
    margin: 32px 0 34px 0;
    letter-spacing: .01em;
    text-align: center;
}

.mainnews-cards-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
    padding: 3rem;
}

.mainnews-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #185ca512;
    width: 385px;
    min-height: 420px;
    display: flex;
    flex-direction: column;
    transition: box-shadow .18s, transform .15s;
    overflow: hidden;
    position: relative;
    border: 1.5px solid #e9eff6;
    margin-bottom: 8px;
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    animation: fadeInUp 0.65s forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mainnews-card:hover {
    box-shadow: 0 8px 28px #1964a524, 0 6px 24px #18bc9633;
    transform: translateY(-5px) scale(1.025);
    border-color: #1964a560;
}

.mainnews-card-img-wrap {
    width: 100%;
    height: 185px;
    overflow: hidden;
    background: #e6f0fc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mainnews-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .2s, scale .16s;
}

.mainnews-card:hover .mainnews-card-img {
    filter: brightness(0.93) blur(.5px);
    scale: 1.04;
}

.mainnews-card-body {
    padding: 24px 28px 24px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.mainnews-card-date {
    color: #809ac5;
    font-size: 1.06rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: .045em;
}

.mainnews-card-title {
    font-size: 1.21rem;
    font-weight: 800;
    color: #14346a;
    margin-bottom: 13px;
    min-height: 44px;
    line-height: 1.23;
}

.mainnews-card-short {
    font-size: 1.07rem;
    color: #345088;
    margin-bottom: 26px;
    opacity: .96;
    flex: 1;
    line-height: 1.54;
}

.mainnews-card-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(90deg, #f73b3b 60%, #b81a48 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 2rem;
    padding: 13px 36px;
    font-size: 1.04rem;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 14px #f73b3b18;
    transition: background .18s, box-shadow .14s, color .16s, transform .12s;
    border: none;
    letter-spacing: .02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.mainnews-card-more span {
    position: relative;
    z-index: 1;
}

.mainnews-card-more svg {
    vertical-align: middle;
    stroke: #fff;
    transition: stroke .18s;
    margin-left: 2px;
}

.mainnews-card-more:hover {
    background: linear-gradient(90deg, #b81a48 40%, #f73b3b 100%);
    color: #fff;
    box-shadow: 0 6px 18px #b81a4825;
    transform: scale(1.04) translateY(-2px);
}

.mainnews-card-more:hover svg {
    stroke: #fff;
}

.news-more-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 26px;
    background: linear-gradient(90deg, #ff4343 55%, #a9052e 100%);
    color: #fff;
    font-weight: 600;
    font-size: 1.01rem;
    border: none;
    border-radius: 1.6rem;
    box-shadow: 0 2px 12px #ff434319;
    text-decoration: none;
    transition: background .18s, box-shadow .13s, transform .11s;
    cursor: pointer;
    margin-top: 18px;
    letter-spacing: .01em;
    position: relative;
    overflow: hidden;
}

.news-more-link span {
    position: relative;
    z-index: 1;
}

.news-more-link svg {
    vertical-align: middle;
    stroke: #fff;
    transition: stroke .18s;
    margin-left: 2px;
}

.news-more-link:hover {
    background: linear-gradient(90deg, #a9052e 35%, #ff4343 100%);
    color: #fff;
    box-shadow: 0 6px 18px #a9052e23;
    transform: scale(1.04) translateY(-2px);
}

.news-more-link:hover svg {
    stroke: #fff;
}


.doctors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px 18px; /* поуже промежуток */
    margin: 32px 0 40px 0;
}

.doctor-card-v2 {
    max-width: 500px; /* уже карточка */
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border-radius: 22px;
    box-shadow: 0 4px 32px 0 rgba(0, 0, 0, 0.09);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 32px 18px 28px 18px;
    min-height: 430px;
    height: 100%;
}


.doctor-card-v2:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 8px 40px 0 rgba(0, 0, 0, 0.15);
}

.doctor-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.doctor-avatar-wrapper {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 4px solid #f0f4ff;
    background: #f9fafd;
    box-shadow: 0 2px 16px 0 rgba(0, 0, 0, 0.09);
    display: flex;
    align-items: center;
    justify-content: center;
}


.doctor-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 1%;
}

.doctor-card-name {
    font-size: 1.28rem;
    font-weight: 700;
    margin: 0 0 12px 0;
    text-align: center;
    color: #25365c;
    line-height: 1.22;
}

.doctor-card-pos {
    font-size: 1.08rem;
    color: #5266a3;
    text-align: center;
    margin-bottom: 14px;
    font-weight: 500;
}

.doctor-card-extra {
    font-size: 0.98rem;
    color: #7d859a;
    text-align: center;
    margin-top: 16px;
    min-height: 38px;
    line-height: 1.3;
}


.services-liquid-section {
    padding: 60px 0 60px 0;
    margin: 5rem 15px 2rem;
    background-color: white;
    border-radius: 15px;
}

.liquid-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 45% 30% at 60% 10%, #a6e1fa55 0%, transparent 100%),
    radial-gradient(ellipse 28% 15% at 20% 60%, #cbb7ff44 0%, transparent 100%),
    radial-gradient(circle at 70% 80%, #bdf7e144 0%, transparent 70%);
    filter: blur(30px) saturate(1.2);
    animation: movebg 16s ease-in-out infinite alternate;
}


.services-header {
    text-align: center;
    position: relative;
    z-index: 2;
    margin-bottom: 44px;
}

.services-header h1 {
    font-size: 2.7rem;
    font-weight: 800;
    letter-spacing: 2.4px;
    color: #0c253e;
    margin-bottom: 12px;
    background: linear-gradient(91deg, #14407a 30%, #d61f1f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services-header p {
    color: #5e6987;
    font-size: 1.2rem;
}

.liquid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
}

.liquid-card {
    position: relative;
    border-radius: 2.2rem;
    background: rgba(255, 255, 255, 0.68);
    box-shadow: 0 2px 22px #a1b4c466, 0 1.5px 0px #d3d8e980 inset;
    backdrop-filter: blur(18px) saturate(1.07);
    padding: 32px 28px 26px 28px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: transform .28s cubic-bezier(.44, 1.6, .2, 1.01), box-shadow .2s;
    cursor: pointer;
    overflow: hidden;
    border: 1px solid #e1e6f7;
    will-change: transform;
}

.liquid-card.big {
    grid-row: span 2;
    min-height: 280px;
}

.liquid-emoji {
    font-size: 2.3rem;
    margin-bottom: 12px;
    transition: transform .23s;
    filter: drop-shadow(0 2px 10px #bce2fa77);
}

.liquid-card:hover {
    transform: scale(1.06) translateY(-5px) rotate(-0.5deg);
    box-shadow: 0 6px 40px #adccf755, 0 0 0 4px #e1e6f7cc;
    background: rgba(255, 255, 255, 0.93);
}

.liquid-card:hover .liquid-emoji {
    transform: scale(1.18) rotate(7deg);
}

.liquid-card h2 {
    font-size: 1.27rem;
    color: #133257;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: 0.9px;
}

.liquid-card p {
    color: #43536d;
    font-size: 1.09rem;
    line-height: 1.4;
    opacity: 0.89;
}

.liquid-card {
    /* ... */
    backdrop-filter: blur(12px) saturate(1.09);
    background: rgba(255, 255, 255, 0.78);
}

.liquid-card.big {
    box-shadow: 0 2px 40px #d2e2fc55, 0 0 16px 2px #8ee2e255 inset;
    background: rgba(245, 255, 255, 0.91);
}

.liquid-card {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    animation: liquidAppear .65s cubic-bezier(.2, 1.6, .3, 1.01) forwards;
    animation-delay: calc(var(--i, 0) * 0.11s);
}

@keyframes liquidAppear {
    to {
        opacity: 1;
        transform: none;
    }
}

/* Responsive */
@media (max-width: 950px) {
    .liquid-grid {
        gap: 18px;
    }

    .liquid-card, .liquid-card.big {
        padding: 19px 13px;
        min-height: 145px;
    }
}

@media (max-width: 600px) {
    .services-header h1 {
        font-size: 1.25rem;
    }

    .liquid-card, .liquid-card.big {
        font-size: 0.97rem;
        border-radius: 1.3rem;
    }
}


.contact-section {
    margin: 26px 15px 20px;
    background: #fff;
    border-radius: 2.2rem;
    padding: 22px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

}

.contact-container {
    width: 100%;
    display: flex;


    flex-wrap: wrap;
}

.contact-info {
    background: #fff;
    border-radius: 1.4rem;
    box-shadow: 0 4px 18px #1764a526, 0 1px 0 #e3e6f9 inset;
    padding: 38px 38px 28px 38px;
    max-width: 480px;

    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

.contact-title {
    text-align: left;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 14px;
    color: #174278;
    letter-spacing: 0.5px;
}

.contact-desc {
    color: #4c637e;
    font-size: 1.13rem;
    margin-bottom: 19px;
    opacity: .98;
}

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

.contact-list li {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    margin-bottom: 14px;
    font-size: 1.11rem;
    color: #174278;
    line-height: 1.54;
    gap: 7px;
}

.contact-label {
    font-weight: 700;
    min-width: 93px;
    color: #1764a5;
}

.contact-list a {
    color: #1764a5;
    font-weight: 700;
    text-decoration: none;
    transition: color .15s, border-bottom .18s;

}

.contact-list a:hover {


    background: #eafdf7;
    border-radius: 5px;
}


.map {
    width: 100%;
    border-radius: 1.3rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map iframe {
    border: none;
    border-radius: 1.3rem;
    width: 100%;
    height: 410px;
    min-height: 300px;

}


/* --- info-page MAIN секция --- */

/* --- Декоративные стили для about-us-title и соц-сетей (если надо) --- */

.info-section-main {
    background: #f7fafd;
    padding: 48px 20px;
    border-radius: 22px;

    margin: 1rem 15px 20px;
    box-shadow: 0 4px 32px #0001;
}

.info-section-container {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 48px;
    flex-wrap: wrap;
}

/* Левая часть — текст */
.info-section-text {
    flex: 1 1 55%;
    min-width: 300px;
}

.info-section-tagline {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #1964a5;
    margin-bottom: 18px;
    letter-spacing: 1.2px;
}

.info-section-content {
    font-size: 18px;
    line-height: 1.7;
    color: #183252;
    padding: 0;
}


.info-section-media-wrapper {
    width: 100%; /* занимает всю ширину колонки */
    max-width: 600px; /* ограничение, чтобы не расползалось на больших экранах */
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    background: #e8f0f6;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.07);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
}

.responsive-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.info-section-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.info-section-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.info-section-play-icon {
    width: 62px;
    height: 62px;
    filter: drop-shadow(0 4px 20px #17497e44);
    transition: transform 0.17s;
}

.info-section-play:hover .info-section-play-icon {
    transform: scale(1.12);
}

.info-section-gallery {
    max-width: 1200px;
    margin: 36px auto 1rem auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.info-section-gallery-item {
    position: relative;
    border-radius: 11px;
    overflow: hidden;
    box-shadow: 0 2px 14px 0 #0001;
    background: #fff;
    text-align: center;
}

.info-section-gallery-item img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.info-section-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(28, 60, 105, 0.56);
    color: #fff;
    font-size: 14px;
    padding: 8px 0 6px 0;
    border-radius: 0 0 11px 11px;
    font-weight: 500;
}


/* 📱 Мобильные устройства (портрет) */
@media (max-width: 480px) {
}

/* 📱 Мобильные устройства (ландшафт), маленькие планшеты */


/* 💻 Планшеты и маленькие ноутбуки */
@media (max-width: 1024px) {
}

/* 🖥️ Ноутбуки и стандартные десктопы */
@media (max-width: 1280px) {
}

/* 🖥️ Широкие экраны, большие мониторы */
@media (min-width: 1281px) {
}


.info-section-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.info-section-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;

}

.info-section-layout {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
}

.info-section-left {
    position: relative;
    flex: 1;
    max-width: 600px;
}

.info-section-image {
    width: 100%;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

.info-section-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: transparent;
    border: none;
    cursor: pointer;
}

.info-section-play-icon {
    width: 64px;
    height: 64px;
}

/* ====== Модальное окно по центру экрана ====== */
.video-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.video-modal-content {
    position: relative;
    max-width: 800px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-modal-content video {
    width: 100%;
    display: block;
}

.close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    color: white;
    font-size: 32px;
    border: none;
    cursor: pointer;
}


.info-section-play-icon {
    width: 64px;
    height: 64px;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10;
    border-radius: 12px;
}

.video-overlay video {
    width: 90%;
    max-width: 720px;
    border-radius: 10px;
}

.close-button {
    position: absolute;
    top: 8px;
    right: 12px;
    background: transparent;
    color: white;
    font-size: 32px;
    border: none;
    cursor: pointer;
}


h1, h4, h5, h6 {
    color: #0C253E;
}

/* === News Detail Page Container === */
.news-detail-page {
    background: #f9fafd;
    min-height: 100vh;
    padding-top: 32px;
    padding-bottom: 48px;
    margin: 5rem 15px 0;
    border-radius: 15px;
}

.news-detail-container {
    background: #fff;
    max-width: 760px;
    margin: 0 auto 48px auto;
    border-radius: 2.3rem;
    box-shadow: 0 8px 48px #e23c3c0d;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: box-shadow .19s;

}

.news-detail-cover img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 2.3rem 2.3rem 0 0;
    display: block;
}

.news-detail-head {
    padding: 0 1rem;
}

.news-detail-date {
    display: inline-block;
    background: #eaf8ea;
    color: #1c9c63;
    border-radius: 18px;
    font-weight: 700;
    font-size: 1.04rem;
    padding: 5px 20px 5px 20px;
    margin-bottom: 15px;
}

.news-detail-title {
    font-size: 2.12rem;
    font-weight: 900;
    color: #19355c;

    line-height: 1.16;
    letter-spacing: 0.01em;

}

.news-detail-subtitle {
    font-size: 1.13rem;
    color: #ed284c;
    font-weight: 600;
    margin-bottom: 14px;
}

/* === CKEditor styles override ONLY for news detail === */
.news-detail-body.ck-content {
    font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
    color: #26375a;
    font-size: 1.1rem;
    line-height: 1.74;
    margin-bottom: 1.4em;
}

.news-detail-body.ck-content h2,
.news-detail-body.ck-content h3,
.news-detail-body.ck-content h4 {
    color: #e23c3c;
    font-weight: 700;
    margin-top: 1.8em;
    margin-bottom: .7em;
}

.news-detail-body.ck-content ul,
.news-detail-body.ck-content ol {
    padding-left: 1.4em;
    margin: 1em 0;
}

.news-detail-body.ck-content li {
    margin-bottom: .35em;
}

.news-detail-body.ck-content table {
    border-collapse: collapse;
    width: 100%;
    margin: 1.6em 0;
    background: #f7f7f7;
    border-radius: 12px;
    overflow: hidden;
    font-size: 1rem;
}

.news-detail-body.ck-content th,
.news-detail-body.ck-content td {
    border: 1px solid #ececec;
    padding: 12px 10px;
}

.news-detail-body.ck-content th {
    background: #f3c0c8;
    color: #9d172e;
    font-weight: 700;
}

.news-detail-body.ck-content a {
    color: #ed284c;
    text-decoration: underline;
    transition: color .14s;
    word-break: break-all;
}

.news-detail-body.ck-content a:hover {
    color: #f7801a;
}

.news-detail-body.ck-content img {
    max-width: 100%;
    height: auto !important;
    display: block;
    margin: 1.4em auto;
    border-radius: 18px;
    box-shadow: 0 4px 20px #f7801a23;
}

/* === Footer button (назад) === */
.news-detail-footer {
    display: flex;
    justify-content: flex-end;
    padding: 14px 44px 38px 44px;
}

.news-back-btn {
    background: linear-gradient(90deg, #ed284c 0%, #f7801a 100%);
    color: #fff !important;
    font-weight: 700;
    border-radius: 2rem;
    padding: 14px 38px;
    font-size: 1.09rem;
    box-shadow: 0 4px 22px #ed284c19;
    border: none;
    text-decoration: none;
    transition: background .2s, transform .12s, box-shadow .15s;
    letter-spacing: .03em;
    cursor: pointer;
}

.news-back-btn:hover {
    background: linear-gradient(90deg, #f7801a 0%, #ed284c 90%);
    color: #fff;
    transform: scale(1.05) translateY(-1.5px);
    box-shadow: 0 8px 28px #ed284c32;
}

.news-detail-head {
    margin: 4rem 0 0;
}

@media (max-width: 950px) {
    .news-detail-container {
        max-width: 99vw;
    }

    .news-detail-cover img {
        height: 180px;
    }

    .news-detail-head, .news-detail-body, .news-detail-footer {
        padding-left: 16px;
        padding-right: 16px;
    }

    .news-detail-title {
        font-size: 1.23rem;
    }

    .news-detail-body.ck-content {
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .news-detail-title {
        font-size: 1.05rem;
    }

    .news-detail-head, .news-detail-body, .news-detail-footer {
        padding-left: 6px;
        padding-right: 6px;
    }

    .news-detail-container {
        border-radius: 1.2rem;
        box-shadow: none;
        border: none;
        color: white;
        padding: 0
    }

    .news-detail-head {
        margin: 0;
    }

    .news-detail-footer {
        display: flex;
        justify-content: center; /* <-- из-за этого кнопка справа */

    }
}

.news-detail-cover {
    margin-top: 0; /* убирает отступ сверху */
    box-shadow: none !important; /* полностью убирает тень */
    border-radius: 28px 28px 0 0; /* если хочешь оставить только скругление сверху */
    overflow: hidden;
}

.news-detail-cover img {
    width: 100%;
    display: block;
    border-radius: 28px 28px 0 0; /* скругление только сверху */
    margin: 0; /* убирает отступы */
    box-shadow: none !important;
}




.bloglist-section {
    margin: 5rem 15px 0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 6px 38px #001d3811;
    overflow: hidden;
}
.bloglist-wrapper {
    border-radius: 16px;
    margin: 0 auto;
}
.bloglist-title {
    font-size: 2.15rem;
    font-weight: 900;
    color: #b81a48;
    margin: 40px 0 36px 0;
    letter-spacing: .01em;
    text-align: center;
    background: linear-gradient(90deg, #fff 0 10%, #ffbaba24 50%, #fff 100%);
    border-radius: 2rem;
    padding: 13px 0 13px 0;

}
.bloglist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 28px 18px;
    justify-content: center;
    align-items: stretch;           /* Важно: все карточки растягиваются по высоте! */
    padding: 2.8rem 2vw 5.8rem 2vw;
}
.bloglist-card-link { text-decoration: none; }

.bloglist-card {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 2px 12px #ed284c12;
    width: 350px;
    display: flex;
    flex-direction: column;
    /* min-height: 460px;  Можно убрать/подобрать вручную */
    height: 100%;                  /* карточка всегда по высоте родителя */
    position: relative;
    border: 1.5px solid #f0e0e6;
    transition: box-shadow .18s, transform .15s, border-color .14s;
    margin-bottom: 10px;
    overflow: hidden;
}
.bloglist-card-img-wrap {
    width: 100%;
    height: 190px;
    overflow: hidden;
    background: #fde9ef;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px 18px 0 0;
}
@keyframes fadeInUp {
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.bloglist-card:hover {
    box-shadow: 0 8px 32px #f73b3b14, 0 6px 24px #b81a4822;
    transform: translateY(-5px) scale(1.035);
    border-color: #f7b0b0;
}


.bloglist-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter .2s, scale .16s;
    display: block;
}
.bloglist-card:hover .bloglist-img {
    filter: brightness(0.94) blur(0.5px);
    scale: 1.04;
}
.bloglist-card-body {
    padding: 22px 26px ;
    display: flex;
    flex-direction: column;
    flex: 1;                    /* body занимает всё свободное пространство */
}

.bloglist-meta {
    color: #e47189;
    font-size: 1.07rem;
    font-weight: 800;
    margin-bottom: 7px;
    letter-spacing: .045em;
    text-transform: uppercase;
}
.bloglist-card-title {
    font-size: 1.19rem;
    font-weight: 900;
    color: #183155;

    min-height: 45px;
    line-height: 1.19;
}
.bloglist-card-short {
    font-size: 1.07rem;
    color: #3a4152;
    opacity: .97;
    flex: 1;                   /* растягивается на максимум */
    line-height: 1.54;
    min-height: 30px;
}

.bloglist-card-more {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    background: linear-gradient(90deg, #f73b3b 60%, #b81a48 100%);
    color: #fff;
    font-weight: 800;
    border-radius: 2rem;
    padding: 14px 36px;
    font-size: 15px;
    text-align: center;
    text-decoration: none;
    box-shadow: 0 2px 14px #f73b3b18;
    transition: background .18s, box-shadow .14s, color .16s, transform .13s;
    border: none;
    letter-spacing: .02em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.bloglist-card-more span { position: relative; z-index: 1; }
.bloglist-card-more svg {
    vertical-align: middle;
    stroke: #fff;
    transition: stroke .18s;
    margin-left: 2px;
}
.bloglist-card-more:hover {
    background: linear-gradient(90deg, #b81a48 30%, #f73b3b 100%);
    color: #fff;
    box-shadow: 0 6px 18px #b81a4829;
    transform: scale(1.045) translateY(-2px);
}
.bloglist-card-more:hover svg { stroke: #fff; }



@media (max-width: 1820px) {
    .nav-list {
        padding: 1rem 3rem; /* Уменьшили отступы */
        font-size: 18px;
    }

    .menu {
        padding: 25px 30px;
    }

    .departments-content,
    .services-content {
        flex-wrap: wrap; /* Чтобы столбцы не выезжали */
    }

    .departments-column,
    {
        width: 45%; /* Уменьшить ширину колонок */
        margin-bottom: 20px;
    }

    .departments-column li a,
    .services-column li a {
        font-size: 16px; /* Чуть меньше шрифт */
    }

    .logo-img {
        height: 50px;
    }

    .btn-results {
        font-size: 14px;
        padding: 6px 14px;
    }

    .lang-btn {
        font-size: 14px;
        padding: 4px 10px;
    }

    .contact-us-title {
        font-size: 32px;
    }

    .marquee-text {
        font-size: 42px;
    }

    .footer-heading {
        font-size: 17px;
    }

    .footer-about-text,
    .footer-link,
    .footer-address-text,
    .footer-contacts-text {
        font-size: 13.5px;
    }

}


@media (max-width: 1600px) {
    .nav-list {
        padding: 1rem 1rem;
        font-size: 16px;

    }

    .menu {
        padding: 20px 25px;
    }

    .departments-column,
    .services-column {
        width: 48%;
    }

    .departments-column li a,
    .services-column li a,
    .dropdown-item a {
        font-size: 15px;
    }

    .logo-img {
        height: 48px;
    }

    .btn-results {
        font-size: 13px;
        padding: 5px 12px;
    }

    .lang-btn {
        font-size: 13px;
        padding: 4px 8px;
    }
    .about-us-title {
        padding: 2rem 0;
    }
    .about-us-title h1 {
        font-size: 4rem;

    }
}


@media (max-width: 1425px) {
    .menu {
        padding: 18px 20px;
    }

    .nav-list {
        padding: 1rem 1.5rem;
        font-size: 15px;
        gap: 14px;
    }

    .nav-item {
        margin: 0 10px;
    }

    .departments-column li a,
    .services-column li a,
    .dropdown-item a {
        font-size: 14px;
    }

    .departments-content,
    .services-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .departments-column,
    .services-column {
        width: 45%;
    }

    .btn-results {
        padding: 6px 14px;
        font-size: 13px;
    }

    .logo-img {
        height: 46px;
    }

    .lang-btn {
        padding: 4px 10px;
        font-size: 13px;
    }

    .contact-us-title {
        font-size: 30px;
    }

    .marquee-text {
        font-size: 38px;
    }

    .footer-logo-img {
        height: 42px;
    }

    .footer-heading {
        font-size: 16px;
    }
    .about-us-title h1 {
        font-size: 4rem;

    }

}


@media (max-width: 1315px) {
    .menu {
        padding: 16px 18px;
    }

    .nav-list {
        padding: 1rem 1.2rem;
        font-size: 14px;
        gap: 12px;
    }

    .nav-item {
        margin: 0 8px;
    }

    .dropdown-menu {
        width: 160px;
    }

    .nav-item.services .dropdown-menu {
        width: 550px;
    }

    .services-content {
        width: 540px;
        flex-wrap: wrap;
        gap: 20px;
    }

    .departments-content {
        gap: 25px;
        flex-wrap: wrap;
    }

    .departments-column,
    .services-column {
        width: 48%;
    }

    .btn-results {
        padding: 6px 12px;
        font-size: 12px;
    }

    .logo-img {
        height: 42px;
    }

    .lang-btn {
        padding: 4px 8px;
        font-size: 12px;
    }

    .mobile-nav-item a,
    .mobile-nav-item .submenu-toggle {
        font-size: 16px;
    }

    .contact-us-title {
        font-size: 28px;
    }

    .marquee-text {
        font-size: 34px;
    }

    .contact-arrow {
        width: 52px;
        height: 52px;
    }

    .footer-heading {
        font-size: 15px;
    }

    .footer-logo-img {
        height: 38px;
    }

    .about-heading,
    .director-name-title,
    .team-heading {
        font-size: 32px;
    }

    .about-subheading {
        font-size: 28px;
    }

    .about-paragraph,
    .about-list,
    .director-message-text,
    .team-description p {
        font-size: 18px;
    }

.about-us-title h1 {
    font-size: 6rem;
    color: white;
    margin: 5rem 50px 0;
    font-weight: inherit;
}

    .director-card {
        display: none;
    }

    .director-card {
        width: 220px;
    }

    .certificate-img {
        max-width: 320px;
    }
}


@media (max-width: 1200px) {
    .main-hero {
        min-height: 460px;
    }

    .main-hero-title {
        font-size: 2.5rem;
    }

    .main-hero-desc {
        font-size: 1.1rem;
    }

    .landing-quick-services {
        flex-wrap: wrap;
        gap: 24px;
        margin-top: -80px;
    }

    .landing-service-card {
        min-width: 160px;
        padding: 28px 24px;
    }

    .main-news {
        padding: 0 3rem;
    }

    .landing-main-about {
        flex-direction: column;
    }

    .landing-about-left, .landing-about-right {
        border-radius: 0;
    }

    .landing-about-left img {
        width: 100%;
    }

    .landing-about-right {
        padding: 36px 24px;
    }

    .about-us-title h1 {
        font-size: 90px;
        margin: 3rem 30px 0;
    }

    .about-us-title p {
        margin: 0 30px;
        width: 90%;
    }

    .about-paragraph, .about-list, .director-message-text {
        font-size: 16px;
    }


    .about-heading {
        font-size: 32px;
    }

    .about-subheading {
        font-size: 28px;
    }

    .director-name {
        font-size: 16px;
    }

    .director-position {
        font-size: 13px;
    }

    .team-and-certificates-container {
        flex-direction: column;
        gap: 30px;
    }

    .team-text-wrapper {
        max-width: 100%;
    }

    .certificate-img {
        max-width: 300px;
    }

    .reviews-container {
        flex-direction: column;
        padding: 3rem 1.5rem;
    }

    .reviews-left, .reviews-right {
        width: 100%;
    }

    .review-image {
        width: 100%;
        margin-top: 30px;
    }


}

@media (max-width: 1180px) {
    .nav-list {
        font-size: 13px;
        padding: 1rem;
        gap: 10px;
    }

    .nav-item {
        margin: 0 6px;
    }

    .dropdown-menu {
        width: 150px;
    }

    .nav-item.services .dropdown-menu {
        width: 480px;
    }

    .services-content {
        width: 470px;
        gap: 18px;
    }

    .departments-content {
        gap: 20px;
        flex-wrap: wrap;
    }

    .departments-column,
    .services-column {
        width: 47%;
    }

    .btn-results {
        font-size: 11px;
        padding: 5px 10px;
    }

    .logo-img {
        height: 40px;
    }

    .lang-btn {
        font-size: 11px;
        padding: 4px 6px;
    }

    .mobile-nav-item a,
    .mobile-nav-item .submenu-toggle {
        font-size: 15px;
    }

.about-us-title h1 {
    font-size: 6rem;
    color: white;

    font-weight: inherit;
}

    .about-heading, .about-subheading, .director-name-title {
        font-size: 1.5rem;
        margin: 10px 0;

    }

    .about-paragrap {
        padding: 0;
        margin: 0 0 5px;

    }

    .director-message-text {
        font-size: 17px;
        line-height: 1.3rem;
    }

    .director-message-text p {

        margin: 5px;
    }

    .doctors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .doctor-avatar-wrapper {
        width: 320px;
        height: 320px;
    }

    .doctor-card-v2 {
        padding: 28px 16px 24px 16px;
        min-height: 400px;
    }

}


@media (max-width: 1060px) {
    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
        margin-left: auto;
        margin-right: 20px;
    }

    .btn-results, .header-actions {
        display: none;
    }

    .lang-switch {
        margin-right: 10px;
    }

    .menu {
        padding: 18px;
        height: auto;
    }

    .logo-img {
        height: 38px;
    }

    .lang-btn {
        font-size: 11px;
        padding: 3px 6px;
    }

    .site-header {
        border-radius: 0 0 30px 30px;
    }

    .clinic-image {
        width: 100%;
        height: auto;
        object-fit: cover;
        margin: 0;
    }

    .about-container {
        display: flex;
        gap: 40px;

        width: 100%;
        margin: 0 auto;
        padding: 0 20px;
        align-items: flex-start;
        flex-direction: column-reverse;
    }

    .director-message-container,
    .team-and-certificates-container {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        padding: 0 10px;
    }

    .clinic-image-wrapper {
        flex: 1 1 50%;
    }

    .about-text-wrapper {
        flex: 1 1 50%;
    }

    .team-text-wrapper {
        max-width: 100%;
        margin: 2rem 0;
    }

    .certificate-img {
        max-width: 100%;
    }

    .director-card {
        position: static;
        margin-top: 16px;
    }

    .director-photo-wrapper {
        max-width: 100%;
    }

    .info-section-container {
        flex-direction: column-reverse;
        align-items: center;
        text-align: center;
    }

    .info-section-text,
    .info-section-media-wrapper {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .info-section-tagline {
        font-size: 16px;
    }

    .info-section-content {
        text-align: left;
    }

    .info-section-play-icon {
        width: 50px;
        height: 50px;
    }
}


@media (max-width: 991px) {
    .nav-list {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .header-actions {
        display: none;
    }

    .menu {
        justify-content: space-between;
        padding: 10px 15px;
    }

    .logo {
        margin-left: 0;
    }

    .landing-service-card {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        padding: 20px 18px;
        min-width: 110px;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 6px;
        transition: box-shadow .19s, transform .15s;
    }

    .landing-service-card h3 {
        font-size: 14px;
    }

    .landing-service-card img {
        width: 50px;
        height: 50px;
    }

    .l-d-container {
        padding: 0;
    }


    .l-d-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .l-d-caption {
        padding: 16px 12px;
    }

    .l-d-name {
        font-size: 20px;
    }

    .l-d-position {
        font-size: 15px;
    }

    .social-icon {
        width: 28px;
        height: 24px;
    }

    .news-detail-body.ck-content, .news-detail-title {
        padding: 0;
    }

    .news-detail-container {
        padding: 1rem;
        border: none;
        box-shadow: none;
        background: white;
    }

    .news-detail-page {
        padding-top: 0;
    }


}

@media (max-width: 860px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-avatar-wrapper {
        width: 260px;
        height: 260px;
    }

    .doctor-card-name {
        font-size: 1.2rem;
    }

    .doctor-card-pos {
        font-size: 1rem;
    }

    .doctor-card-extra {
        font-size: 0.95rem;
    }

    .doctor-card-v2 {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    #news {
        padding: 1rem;
    }

    .main-hero {
        min-height: 400px;
        border-radius: 10px;
    }

    .main-hero-content {
        margin-top: 3rem;
        padding: 0 15px;
    }

    .main-hero-title {
        font-size: 2rem;
    }

    .main-hero-desc {
        font-size: 1rem;
    }

    .main-hero-btn {
        padding: 12px 28px;
        font-size: 1rem;
    }

    .landing-quick-services {
        gap: 16px;
    }

    .landing-service-card {
        min-width: 140px;
        padding: 22px 20px;
    }

    .landing-service-card span {
        font-size: 1rem;
    }

    .landing-service-card svg {
        width: 28px;
        height: 28px;
    }

    .news-card {
        width: 100%;
    }


    .landing-about-features {
        flex-direction: column;
    }

    .landing-about-feature {
        padding: 14px 14px;
        font-size: 1rem;
    }

    .contact-us-section {
        margin: -2rem 15px;
        padding: 1em;
    }

    .mobile-nav-list {
        margin: 1rem 10px;
    }

    .about-us-title {
        margin: 4rem 1rem 0;
        padding: 1rem 0 0;

    }

    .about-us-title h1 {
        font-size: 60px;
        margin: 2rem 20px 0;
    }

    .about-us-title p {
        font-size: 16px;
        line-height: 1.6;
        width: auto;
        margin: 0 20px;
    }

    .btn-scroll-down {
        padding: 12px 18px;
        font-size: 18px;
    }

    .footer-about-us {
        padding: 0;
        margin-top: 1rem;
    }


    .about-container {
        flex-direction: column-reverse;
        gap: 20px;
    }

    .about-heading {
        font-size: 28px;
    }

    .about-paragraph,
    .about-list {
        font-size: 18px;
    }

    .about-subheading {
        font-size: 24px;
    }

    .clinic-image {
        height: auto;
    }

    .director-card {
        display: none;
    }

    .director-message-container {
        flex-direction: column;
        gap: 20px;
    }

    .director-photo-wrapper {
        max-width: 100%;
        width: 100%;

    }

    .director-position-title {
        text-align: center;
    }

    .director-name-title {
        font-size: 28px;
        text-align: center;
    }

    .dear {
        text-align: center;
        font-size: 20px;
    }

    .director-message-text {
        font-size: 18px;
    }

    .team-and-certificates-container {
        padding: 1rem 0 5rem;
    }

    .team-text-wrapper {
        font-size: 18px;
    }

    .team-heading {
        font-size: 28px;
    }

    .team-description p {
        font-size: 17px;
    }

    .certificate-img {
        max-width: 100%;
    }

    .reviews-container {
        padding: 1rem 0;
    }

    .review-text {
        margin-left: 0;
        padding-top: 40px;
        font-size: 15px;
    }

    .quote-icon {
        top: 8px;
        left: 8px;
        width: 32px;
        height: 32px;
    }

    .l-d-item {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .l-d-caption {
        padding: 16px 12px;
    }

    .l-d-name {
        font-size: 20px;
    }

    .l-d-position {
        font-size: 15px;
    }

    .social-icon {
        width: 28px;
        height: 24px;
    }

    .about-amuh {
        display: flex;
        flex-direction: column-reverse;

    }

    .about-amuh-img-wrap {
        margin-top: 1rem;
        max-height: 352px;
    }

    .about-main-section {
        margin: 1rem 15px 0;
    }

    .timeline-year {
        font-size: 20px;
        padding: 12px 28px;
        margin: 0 8px;
    }

    .timeline-dash {
        width: 60px;
    }

    .timeline-gallery {
        justify-content: center;
    }

    .timeline-gallery img {
        width: 140px;
    }

    .timeline-text h3 {
        font-size: 24px;
    }

    .about-amuh-text {
        font-size: 16px;
    }

    .timeline-arrow {
        width: 38px;
        height: 38px;
        font-size: 22px;
    }

    .info-section-main {
        margin: 15px 15px 0;
    }

    .info-section-media-wrapper {
        max-width: 100%;
    }

    .info-section-image {
        display: block;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.3s ease;
        width: 100%;
        padding: 0;
    }

    .info-section-container {
        width: 100%;
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;

        padding: 0;

    }

    .info-section-container p {
        width: 100%;
    }

    .info-section-content {
        font-size: 16px;
        line-height: 1.6;
    }

    .info-section-content h1 {
        font-size: 1.8em;
    }

    .info-section-content h2 {
        font-size: 1.4em;
    }

    .info-section-content h3 {
        font-size: 1.1em;
    }

    .info-section-tagline {
        font-size: 12px;
        letter-spacing: 1.2px;
    }

    .info-section-image {
        width: 100%;
    }

    .info-section-play-icon {
        width: 52px;
        height: 52px;
    }

    .info-section-gallery {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 16px;
    }

    .info-section-caption {
        font-size: 13px;
        padding: 6px 0;
    }

    .insurance-section {
        padding: 0 0 2rem;
        margin: 15px 15px 0;
    }

    .insurance-container {
        padding: 15px;
        display: flex;
        flex-direction: column;
    }

    .insurance-title {
        font-size: 20px;
    }

    .insurance-subtitle {
        font-size: 16px;
    }

    .insurance-right p {
        font-size: 15px;
    }

    .company-logo {
        width: 80px;
        margin: 0 16px;
    }

    .insurance-image-wrapper {
        width: 100%;
        height: auto;
    }

    .insurance-main-image,
    .insurance-side-image {
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: cover;
        border-radius: 15px;
        transition: transform 0.3s ease;
    }

    .insurance-btn {
        width: 100%;
        text-align: center;

    }

    .insurance-logos {
        margin: 1rem 0 0;
    }

    .doctor-profile-outer {
    padding: 17px 0 13px 0;
    margin: 9px 4px;
    border-radius: 12px;
    min-height: unset;
  }

  .doctor-profile-img-block {
    padding: 4px;
    border-radius: 50%;
    margin-bottom: 8px;
  }
  .doctor-profile-img {
    width: 360px;
    height: 360px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #eaf3fd, 0 3px 15px 0 rgba(30, 90, 180, 0.07);
    background: #eaf1fa;
  }
  .doctor-profile-bio.ck-content-doctor{
      text-align: left;
  }


    .mri-container {
        flex-direction: column;
        margin: 1rem;
    }

    .mri-tagline {
        text-align: center;
    }

    .mri-image-wrap {
        flex: none;
        margin-bottom: 20px;
    }

    .mri-text-wrap {
        border-radius: 12px;
        padding: 0 10px;

    }

    .mri-heading {
        font-size: 28px;
        text-align: center;
    }

    .mri-text-wrap p {
        font-size: 17px;

    }

    .checkup-container {
        flex-direction: column-reverse;
        padding: 32px 24px;
        gap: 32px;
    }

    .checkup-text h2 {
        font-size: 2rem;
        text-align: center;
    }

    .checkup-text p {
        font-size: 1.05rem;
        text-align: center;
    }

    .btn {
        margin: 0 auto;
        width: 260px;
        font-size: 1rem;
    }

    .checkup-slider-wrapper {
        height: 320px;
        min-width: 100%;

    }

    .checkup-slide img {
        max-height: 320px;
    }

    .checkup-section, .services-liquid-section {
        margin: 2rem 15px 0;
    }

    p {
        font-size: 15px;
    }

    .doctors-grid {
        grid-template-columns: 1fr;
    }

    .doctor-card-v2 {
        max-width: 95vw;

    }

    .doctor-avatar-wrapper {
        width: 310px;
        height: 310px;
    }

    main {
        margin-top: 40px;
    }

    .doctor-profile-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 32px 20px;
    }

    .doctor-profile-img-block {
        margin-bottom: 24px;
    }

    .doctor-profile-info {
        width: 100%;
    }

    .doctor-profile-name {
        font-size: 1.8rem;
    }

    .doctor-profile-position {
        font-size: 1.1rem;
    }

    .doctor-profile-bio {
        font-size: 0.98rem;


    }

    .doctor-profile-img {
        max-width: 100%;
        height: auto;
    }

    .ck-content-doctor p {
        text-align: left;
        font-size: 17px;

    }

    .doctor-profile-outer {
        margin: 1rem 15px 0;
    }

    .blog-detail-section {
        margin: 3rem 15px 0;
    }

    .contact-section {
        display: flex;
        flex-direction: column;
        margin: 1rem 15px 0;
        justify-content: center;
    }

    .contact-title {
        font-size: 1.7rem;
    }

    .contact-desc {
        font-size: 1rem;
    }

    .contact-list li {
        font-size: 1rem;
    }

    .contact-label {
        min-width: 80px;
    }

    .map iframe {
        height: 320px;
    }

    .vacancies-section {
        padding: 1rem 1rem 4rem;
        margin: 1rem;
    }

    .resume-form-container {
        justify-content: center;
        display: flex;
        flex-direction: column;
        width: 100%;
    }

    .resume-title {
        font-size: 2rem;
    }

    .left-resume {
        width: 100%;
    }

    .resume-form-row {
        flex-direction: column;
        gap: 0;
    }

    .file-uploaded-list {
        margin-left: 0;
        margin-top: 8px;
        min-height: 60px;
    }

    .resume-btn {
        width: 100%;
    }

    .resume-img {
        width: 100%;
        max-width: none; /* убери ограничение */
        border-radius: 15px;
    }

    .right-resume {
        margin: 1rem;
    }


    .news-detail-title {
        padding: 0 2px;
    }

}





@media (max-width: 480px) {
    .main-hero {
        min-height: 360px;
    }

    .main-hero-title {
        font-size: 1.7rem;
    }

    .main-hero-desc {
        font-size: 0.95rem;
    }

    .main-hero-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }

    .landing-quick-services {
        gap: 14px;
        flex-direction: row;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding: 10px;
    }

    .landing-service-card {
        min-height: 130px;
        width: 150px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .lang-btn {
        font-size: 16px;
        padding: 5px;
    }

    .mobile-nav-list {
        margin: 1rem 0;

    }

    .mobile-nav-item a,
    .mobile-nav-item .submenu-toggle {
        font-size: 18px; /* было 15-16px, теперь чуть больше */
        padding: 10px 0; /* увеличим вертикальный отступ */

    }

    .landing-service-card span {
        font-size: 0.9rem;
        line-height: 1.3;
        max-width: 100px;
        word-break: break-word;
    }


    .main-news h2 {
        font-size: 1.6rem;
    }

    .all-news-btn {
        padding: 12px 24px;
        font-size: 1rem;
    }

    .landing-about-left img {
        width: 100%;
        border-radius: 20px;
    }

    .landing-about-right {
        padding: 24px 20px;
    }

    .landing-about-right h2 {
        font-size: 1.5rem;
    }

    .landing-about-right p {
        font-size: 1rem;
    }

    .landing-about-feature {
        font-size: 0.95rem;
    }

    .l-d-container {

        gap: 24px;
    }

    .l-d-caption {
        padding: 12px;
    }

    .l-d-name {
        font-size: 18px;
    }

    .l-d-position {
        font-size: 14px;
    }

    .l-d-socials a {
        padding: 6px;
    }

    .social-icon {
        width: 24px;
        height: 20px;
    }

    .bloglist-title {
        font-size: 18px;
    }
    .bloglist-grid {
        padding: 0 0 4rem;
    }
    .about-us-title h1 {
        font-size: 36px;
        padding: 0;
    }

    .about-us-title {
        margin: 4rem 0 0;
        padding: 5px;
    }

    .btn-scroll-down {
        padding: 8px;

    }

    .btn-scroll-down span {
        font-size: 15px;
    }

    .about-main-section {
        padding: 0;
    }

    .about-container {
        width: 100%;
        padding: 0;
    }

    .about-left {
        padding: 1rem;
    }

    .about-tagline {
        font-size: 1rem;
    }

    .about-heading {
        font-size: 1.4rem;
        font-weight: bolder;
    }

    .clinic-image-wrapper, .info-section-image {
        padding: 0;
        margin: 0;
        width: 100%;
        border-radius: 15px 15px 0 0;
    }

    .clinic-image {
        width: 100%;
        height: auto;
        border-radius: 0;
        display: block;
    }

    .about-us-video {
        border-radius: 15px;
        padding: 0 1rem;
        position: relative;
        display: inline-block;
    }


    .play-button {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 28px; /* Было, скорее всего, больше */
        color: white;
        background-color: rgba(0, 0, 0, 0.4);
        border: none;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 2;
    }

    .dear {
        font-weight: bold;
        font-size: 18px;
    }

    .director-message-text p {
        font-size: 18px;
        line-height: 1.5rem;
    }

    .team-text-wrapper, .certificate-img {
        padding: 0 1rem;
    }

    .reviews-container {
        padding: 0 1rem 5rem;
    }

    .info-section-main {
        padding: 0;
    }

    .info-section-media {
        padding: 0;
    }

    .info-section-text {
        text-align: left;
        font-size: 18px;
        padding: 0 1rem;
    }

    .info-section-gallery {
        padding: 1rem 2rem 3rem;
        margin: 1rem 0 0;
    }

    .services-liquid-section, .vacancies-section {
        margin: 4rem 15px 0;
    }

    .blog-img {
        padding: 0;
    }

    .vacancies-header h1 {
        font-size: 30px;
    }

    .news-detail-head {
        padding: 1rem 5px;
    }
    .doctor-profile-outer {
    padding: 17px 0 13px 0;
    margin: 9px 15px;
    border-radius: 12px;
    min-height: unset;
  }

  .doctor-profile-img-block {
    padding: 4px;
    border-radius: 50%;
    margin-bottom: 8px;
  }
  .doctor-profile-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    box-shadow: 0 0 0 5px #eaf3fd, 0 3px 15px 0 rgba(30, 90, 180, 0.07);
    background: #eaf1fa;
  }
  .doctor-profile-bio.ck-content-doctor{
      text-align: left;
  }


}
@media (max-width: 650px) {
   .blogdetail-main-wrap { padding: 6px 0 24px 0; }
    .blogdetail-card {
        max-width: 100vw;
        border-radius: 18px;
        margin: 0 3px 1rem;
        box-shadow: 0 6px 26px #1964a514;
    }
    .blogdetail-image img {
        height: 200px;
        border-radius: 18px 18px 0 0;
    }
    .blogdetail-content {
    }
    .blogdetail-title { font-size: 1.08rem; }
    .blogdetail-body.ck-blogdetail-content { font-size: 0.97rem; padding: 0 1px; }
    .blogdetail-footer { justify-content: center; }
}