.mt-60 {
    margin-top: 60px;
}

.mt-180 {
    margin-top: 180px;
}

body {
    font-family: 'Open Sans', sans-serif;
}

a {
    text-decoration: none !important;
    font-weight: 400;
    color: #0a9ebb !important;
}

.anchor {
    offset-anchor: 60px;
}

section {
    margin-bottom: 120px;
}

.container {
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    position: absolute;
    width: 100%;
    margin-bottom: -56px;
    top: -56px;
    z-index: 10;
}

.navbar.scroll {
    position: fixed;
    top: 0;
    box-shadow: #cdcdcd 1px 1px 4px 0;
}

.header-information {
    margin-bottom: 56px;
    color: #0a9ebb;
    border-bottom: 1px solid rgba(12, 184, 182, 0.4);
    top: 0; /* Stay on top */
    width: 100%; /* Full width */
    transition: top 0.3s; /* Transition effect when sliding down (and up) */
    padding: 0.4rem;
}

/*  Components   */
.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.section-header > h1,
.section-header > h2 {
    margin: 0;
    font-size: calc(1.375rem + 1.5vw);
    font-weight: 500;
    line-height: 1.2;
}

@media (min-width: 1200px) {
    .section-header > h1,
    .section-header > h2 {
        font-size: 2.5rem;
    }
}

.section-description {
    font-size: 15px;
    line-height: 1.6em;
}

.section-subheader {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 21px;
    margin-bottom: 20px;
}

div.divider {
    width: 150px;
    height: 2px;
    margin: 20px;
    background-color: #0a9ebb;
}


/*  Title  */
.title_with_img {
    position: relative;
    margin-bottom: 9rem;
    height: 90vh;
    min-height: 800px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-image: url('/img/surgery_hospital_banner.jpg');
}

.title_text-block {
    width: 60%;
    position: absolute;
    top: 10rem;
    /*background-color: rgba(54, 55, 55, 0.75);*/
    color: black;
    padding: 30px 20px 25px;
}

.title-heading {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.3;
}

.title-sud-heading {
    font-size: 18px;
    line-height: 1.6em;
    margin-bottom: 42px;
}

@media screen and (max-width: 1455px) {
    .title_text-block {
        top: 10rem;
    }
}

@media screen and (max-width: 1220px) {
    .title_text-block {
        top: 1rem;
    }
}

.green-btn {
    background-color: #0cb8b6 !important;
    border-color: #0cb8b6 !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 20px !important;
    padding: 8px 20px !important;
}

.green-btn:hover {
    background-color: #0a6260 !important;
    border-color: #5C898B !important;
}

.cta-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    background: #e9f8f7;
    border-left: 5px solid #0cb8b6;
    border-radius: 12px;
    padding: 26px 28px;
    margin: 50px 0;
}

.cta-band-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cta-band-ic {
    width: 54px;
    height: 54px;
    min-width: 54px;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.cta-band-title {
    color: #13343b;
    font-size: 21px;
    font-weight: 600;
    margin: 0 0 3px;
    line-height: 1.3;
}

.cta-band-sub {
    color: #4a7270;
    font-size: 15px;
    margin: 0;
}

.cta-band-btn {
    display: inline-block;
    background: #0cb8b6;
    color: #fff !important;
    font-size: 17px;
    font-weight: 600;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.cta-band-btn:hover {
    background: #0a8c8a;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 184, 182, 0.3);
}

@media (max-width: 640px) {
    .cta-band {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }
    .cta-band-left {
        flex-direction: column;
        text-align: center;
    }
}

.contact_item--fb {
    margin-left: 16px;
}

.contact_item--fb svg {
    vertical-align: middle;
    margin-right: 5px;
    margin-top: -2px;
}

/*    3 cards            */

.info-cards {
    display: flex;
    border: 1px solid #c7c7c78f;
    border-radius: 12px;
    transition: all 0.5s;
    padding: 30px;
    flex-direction: column;
    align-items: center;
}

.info-cards:hover {
    border-color: white;
    box-shadow: 0 0 15px 0px #c7c7c78f;
}

.card-icon-block {
    background: #0a9ebb;
    border-radius: 50%;
    width: 90px;
    padding: 20px;
    margin-bottom: 20px;
}

.card-icon-block.bg-red {
    background: #fcecea;
}

.card-icon-block.bg-purple {
    background: #f0eefe;
}

.card-icon-block.bg-green {
    background: #ebf7ec;
}

.card-title {
    font-weight: 600;
    line-height: 1.2em;
    font-size: 20px;
    margin-bottom: 10px;
}


/*      head            */

.contact_header {
    color: white;
    font-weight: bold;
    font-size: 32px;

}


/*  content   */
.about-us {
    padding-bottom: 10px;
    text-align: center;
    width: fit-content;
}

.about_text {
    font-size: 16px;
    line-height: 24px;
}

.about_img {
    width: 100%;
    height: auto;
}

.operation-options-block {
    background-image: linear-gradient(90deg, #5C898B 32%, transparent)
}

.oper-option {
    background: none !important;
}

.oper-option.active {
    background: #5C898B !important;
}

.operation-description {
    display: none;
}

.operation-description.active {
    display: flex;
}


@media screen  and (max-width: 992px) {
    .about_text {
        margin-top: 2rem;
    }

    .about_img {
        width: 100%;
        height: auto;
    }
}


.no-button:after, .no-button:before {
    background: none !important;
}

/* team_block   */
.carousel {
    margin-top: 2rem;
}

.carousel-control-next .carousel-control-prev {
    color: black;
}

.carousel_photo > img {
    width: 20rem;
}

.temp {
    position: absolute;
    top: 16rem;
    left: 77%;
    background-color: rgba(54, 55, 55, 0.75);
    color: white;
    padding: 30px 20px 25px;
}


/* TEAM -------------------------------------------*/
.person-card {
    padding: 0 20px;
}

.person-border {
    border: 1px solid #d0d0d0;
    border-radius: 12px;
    overflow: hidden;
}

.person-avatar-block {
    width: 100%;
    height: 320px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.person-avatar-block > img {
    width: 100%;
}

.person-name {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.person-about {
    text-align: center;
    font-size: 20px;
    font-weight: 500;
    margin-top: 10px;
}

.person-occupation {
    text-align: center;
    font-size: 16px;
    font-weight: 300;
    margin-top: 10px;
}

.slick-arrow {
    border: 0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    box-shadow: 0 0 2px 1px #00000042;
}

.slick-prev,
.slick-next {
    outline: none !important;
    background: #0cb8b6b5 !important;
}

/* END TEAM -------------------------------------------*/

/* DOCTOR BUTTONS -------------------------------------------*/
.doctors-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 40px;
}

.doctor-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 50px;
    background: #fff;
    cursor: pointer;
    transition: box-shadow 0.2s, border-color 0.2s;
    gap: 16px;
}

.doctor-btn:hover {
    border-color: #0cb8b6;
    box-shadow: 0 4px 16px rgba(12, 184, 182, 0.18);
}

.doctor-btn-info {
    flex: 1;
}

.doctor-btn-name {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 4px 0;
    line-height: 1.3;
}

.doctor-btn-occupation {
    font-size: 13px;
    font-weight: 400;
    color: #0cb8b6;
    margin: 0;
}

.doctor-btn-avatar {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid #0cb8b6;
}

@media (max-width: 768px) {
    .doctors-grid {
        grid-template-columns: 1fr;
    }
}
/* END DOCTOR BUTTONS -------------------------------------------*/

/* DOCTOR MODAL -------------------------------------------*/
.doctor-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.doctor-modal.open {
    display: flex;
}

.doctor-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 35, 0.72);
    cursor: pointer;
}

.doctor-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 32px 28px 28px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: doctorModalIn 0.25s ease;
}

@keyframes doctorModalIn {
    from { opacity: 0; transform: translateY(16px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.doctor-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    border: 0;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: #9aa7ad;
    cursor: pointer;
    transition: color 0.2s;
}

.doctor-modal-close:hover {
    color: #0cb8b6;
}

.doctor-modal-photo img {
    width: 220px;
    height: 220px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #0cb8b6;
    margin-bottom: 20px;
}

.doctor-modal-name {
    font-size: 22px;
    font-weight: 600;
    color: #22343f;
    margin: 0 0 8px;
    line-height: 1.3;
}

.doctor-modal-occupation {
    font-size: 16px;
    font-weight: 400;
    color: #0cb8b6;
    margin: 0;
}

@media (max-width: 480px) {
    .doctor-modal-photo img {
        width: 170px;
        height: 170px;
    }
    .doctor-modal-name {
        font-size: 19px;
    }
}
/* END DOCTOR MODAL -------------------------------------------*/

/* GALLERY -------------------------------------------*/
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 210px;
    grid-auto-flow: dense;
    gap: 12px;
    margin-top: 40px;
}

.gallery-item--tall {
    grid-row: span 2;
}

.gallery-item--wide {
    grid-column: span 2;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

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

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,184,182,0.75) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 16px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 150px;
    }
    .gallery-item--tall {
        grid-row: auto;
    }
    .gallery-item--wide {
        grid-column: 1 / -1;
    }
}
/* END GALLERY -------------------------------------------*/

/* GALLERY MODAL -------------------------------------------*/
.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.gallery-modal.open {
    display: flex;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 20, 24, 0.85);
    cursor: pointer;
}

.gallery-modal-dialog {
    position: relative;
    max-width: 820px;
    width: 100%;
    text-align: center;
    animation: doctorModalIn 0.25s ease;
}

.gallery-modal-dialog img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
}

.gallery-modal-caption {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    margin: 16px 0 0;
}

.gallery-modal-close {
    position: absolute;
    top: 18px;
    right: 24px;
    z-index: 2;
    border: 0;
    background: transparent;
    font-size: 36px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s;
}

.gallery-modal-close:hover {
    color: #0cb8b6;
}
/* END GALLERY MODAL -------------------------------------------*/

/* REVIEWS -------------------------------------------*/
.reviews-section {
    background: #f4fafa;
    padding: 60px 0;
}

.review-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    margin: 0 12px 32px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-stars {
    color: #f6ab2f;
    font-size: 18px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 15px;
    line-height: 1.65;
    color: #444;
    margin: 0;
    flex: 1;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.review-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.review-name {
    font-size: 15px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0 0 2px;
}

.review-date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

.reviews-section .slick-dots li button:before {
    color: #0cb8b6;
}

.reviews-section .slick-dots li.slick-active button:before {
    color: #0cb8b6;
}
/* END REVIEWS -------------------------------------------*/

/* SERVICE CARDS -------------------------------------------*/
.services-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.service-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-top: 3px solid transparent;
    border-radius: 16px;
    padding: 28px 20px;
    text-align: center;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.service-card:hover,
.service-card.active {
    transform: translateY(-6px);
    border-top-color: #0cb8b6;
    box-shadow: 0 12px 28px rgba(12, 184, 182, 0.18);
}

.service-card-ic {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #e1f5f4;
    color: #0a9491;
    font-size: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    transition: background 0.2s, color 0.2s;
}

.service-card:hover .service-card-ic,
.service-card.active .service-card-ic {
    background: #0cb8b6;
    color: #fff;
}

.service-card-name {
    font-size: 17px;
    font-weight: 600;
    color: #22343f;
    margin-bottom: 8px;
}

.service-card-desc {
    font-size: 14px;
    line-height: 1.5;
    color: #6b7a82;
}

@media (min-width: 769px) and (max-width: 991px) {
    .services-cards {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .services-cards {
        grid-template-columns: 1fr;
    }
}
/* END SERVICE CARDS -------------------------------------------*/

/* TRUST NUMBERS -------------------------------------------*/
.trust-section {
    background: #0cb8b6;
    padding: 56px 0;
    margin-top: 60px;
}

.trust-header {
    text-align: center;
    margin-bottom: 36px;
}

.trust-title {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 10px;
}

.trust-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.55;
    max-width: 640px;
    margin: 0 auto;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-card {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 16px;
    padding: 28px 14px;
    text-align: center;
    transition: transform 0.2s, background 0.2s;
}

.trust-card:hover {
    transform: translateY(-4px);
    background: rgba(255,255,255,0.18);
}

.trust-ic {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff;
    color: #0a9491;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}

.trust-num {
    color: #fff;
    font-size: 40px;
    font-weight: 700;
    line-height: 1;
}

.trust-cap {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.4;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }
    .trust-title {
        font-size: 24px;
    }
    .trust-num {
        font-size: 34px;
    }
}
/* END TRUST NUMBERS -------------------------------------------*/

/* CTA SECTION -------------------------------------------*/
.cta-section {
    background: linear-gradient(135deg, #0a8c8a 0%, #0cb8b6 60%, #0a9ebb 100%);
    padding: 80px 0;
    margin-top: 0;
}

.cta-title {
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 16px;
}

.cta-subtitle {
    color: rgba(255,255,255,0.85);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 28px;
}

.cta-contacts {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 6px;
}

.cta-phone {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #0a8c8a !important;
    font-size: 17px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-decoration: none;
    padding: 12px 22px;
    border-radius: 50px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    white-space: nowrap;
    transition: transform 0.15s, box-shadow 0.2s, color 0.2s;
}

.cta-phone svg {
    color: #0cb8b6;
    flex-shrink: 0;
}

.cta-phone:hover {
    color: #08706e !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.cta-form {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(4px);
}

.cta-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

.cta-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.cta-form-group label {
    color: rgba(255,255,255,0.9);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cta-form-group input,
.cta-form-group select,
.cta-form-group textarea {
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 10px;
    background: rgba(255,255,255,0.15);
    color: #fff;
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s, background 0.2s;
}

.cta-form-group textarea {
    resize: vertical;
    min-height: 84px;
    font-family: inherit;
}

.cta-form-group--full {
    margin-bottom: 16px;
}

.cta-optional {
    color: rgba(255,255,255,0.6);
    font-weight: 400;
    text-transform: none;
    letter-spacing: 0;
}

.cta-form-group input::placeholder,
.cta-form-group textarea::placeholder {
    color: rgba(255,255,255,0.55);
}

.cta-form-group input:focus,
.cta-form-group select:focus,
.cta-form-group textarea:focus {
    border-color: #fff;
    background: rgba(255,255,255,0.22);
}

.cta-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 18px;
    cursor: pointer;
}

.cta-consent input[type="checkbox"] {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    min-width: 22px;
    margin-top: 1px;
    border: 2px solid #fff;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.18);
    cursor: pointer;
    position: relative;
    transition: background 0.15s, border-color 0.15s;
}

.cta-consent input[type="checkbox"]:checked {
    background: #fff;
    border-color: #fff;
}

.cta-consent input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #0a8c8a;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.cta-consent input[type="checkbox"]:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

.cta-consent span {
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    line-height: 1.5;
}

.cta-form-group select option {
    background: #0a8c8a;
    color: #fff;
}

.cta-submit-btn {
    width: 100%;
    padding: 14px;
    background: #fff;
    color: #0a8c8a;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 8px;
    transition: transform 0.15s, box-shadow 0.2s;
}

.cta-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.cta-disclaimer {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
    margin: 12px 0 0;
}

.cta-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.cta-status {
    font-size: 14px;
    line-height: 1.45;
    text-align: center;
    margin: 14px 0 0;
    min-height: 1px;
}

.cta-status.is-success {
    color: #eafff7;
    background: rgba(255,255,255,0.16);
    border-radius: 10px;
    padding: 10px 14px;
}

.cta-status.is-error {
    color: #fff;
    background: rgba(230,73,45,0.55);
    border-radius: 10px;
    padding: 10px 14px;
}

.req {
    color: #ff5a47;
    font-weight: 700;
}

.cta-counter {
    text-align: right;
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    margin-top: 4px;
}

.cta-form-group input.is-invalid,
.cta-form-group select.is-invalid,
.cta-form-group textarea.is-invalid {
    border: 2px solid #ff3b2e !important;
    background: rgba(230,73,45,0.28) !important;
    box-shadow: 0 0 0 3px rgba(255,59,46,0.4);
}

.cta-consent.is-invalid > span {
    color: #ffd9d3;
}

.cta-consent.is-invalid input[type="checkbox"] {
    outline: 2px solid #ff3b2e;
    outline-offset: 2px;
    border-radius: 3px;
}

/* CONFIRM MODAL -------------------------------------------*/
.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.confirm-modal.open {
    display: flex;
}

.confirm-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 30, 35, 0.72);
    cursor: pointer;
}

.confirm-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 18px;
    padding: 32px 28px 26px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    animation: doctorModalIn 0.25s ease;
}

.confirm-modal-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #fff4e1;
    color: #f6ab2f;
    font-size: 32px;
    font-weight: 700;
    line-height: 56px;
    margin: 0 auto 18px;
}

.confirm-modal-text {
    font-size: 16px;
    line-height: 1.55;
    color: #22343f;
    margin: 0 0 24px;
}

.confirm-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.confirm-btn {
    border: 0;
    border-radius: 50px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.confirm-btn--send {
    background: #0cb8b6;
    color: #fff;
}

.confirm-btn--send:hover {
    background: #0aa3a1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(12, 184, 182, 0.3);
}

.confirm-btn--edit {
    background: #eef1f2;
    color: #44555c;
}

.confirm-btn--edit:hover {
    background: #e2e7e9;
}
/* END CONFIRM MODAL -------------------------------------------*/

/* GO TO TOP -------------------------------------------*/
.go-top {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1050;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, background 0.2s ease;
}

.go-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top:hover {
    background: #0a8c8a;
}
/* END GO TO TOP -------------------------------------------*/

@media (max-width: 768px) {
    .cta-form-row {
        grid-template-columns: 1fr;
    }
    .cta-title {
        font-size: 24px;
    }
    .cta-form {
        padding: 20px;
    }
}
/* END CTA SECTION -------------------------------------------*/

/* CONTACTS SECTION -------------------------------------------*/
.contacts-section {
    margin-top: 100px;
    padding-bottom: 20px;
}

.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 24px;
    align-items: start;
    margin-top: 40px;
}

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

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: #f4fafa;
    border: 1px solid #e1efee;
    border-radius: 14px;
    padding: 20px;
}

.contact-card-ic {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #22343f;
    margin: 0 0 6px;
}

.contact-card-text {
    font-size: 15px;
    line-height: 1.55;
    color: #4a6066;
    margin: 0;
}

.contact-card-text a {
    color: #0a8c8a !important;
    font-weight: 600;
}

.contact-hint {
    font-size: 13px;
    color: #8a9aa0;
}

.contacts-map {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e1efee;
}

.contacts-map iframe {
    display: block;
}

.contacts-route-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #0cb8b6;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    padding: 13px;
    transition: background 0.2s;
}

.contacts-route-btn:hover {
    background: #0a8c8a;
    color: #fff !important;
}

.emergency-block {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fcecea;
    border: 1px solid #f3c3bc;
    border-left: 5px solid #e6492d;
    border-radius: 12px;
    padding: 16px 20px;
    margin-top: 24px;
}

.emergency-block i {
    color: #e6492d;
    font-size: 24px;
    flex-shrink: 0;
}

.emergency-block p {
    margin: 0;
    font-size: 15px;
    color: #7a2c1d;
    line-height: 1.5;
}

.emergency-block a {
    color: #e6492d !important;
    font-weight: 700;
    white-space: nowrap;
}

.contacts-subtitle {
    font-size: 22px;
    font-weight: 600;
    color: #22343f;
    text-align: center;
    margin: 48px 0 24px;
}

.route-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.route-card {
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    padding: 22px;
}

.route-card-ic {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #e1f5f4;
    color: #0a9491;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.route-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #22343f;
    margin: 0 0 6px;
}

.route-card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7a82;
    margin: 0;
}

.contacts-extra {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}

.extra-card {
    background: #f4fafa;
    border: 1px solid #e1efee;
    border-radius: 14px;
    padding: 22px;
    text-align: center;
}

.extra-card-ic {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
}

.extra-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #22343f;
    margin: 0 0 6px;
}

.extra-card-text {
    font-size: 14px;
    line-height: 1.55;
    color: #6b7a82;
    margin: 0;
}

.contacts-photo {
    width: 100%;
    border-radius: 14px;
    margin-top: 18px;
    display: block;
}

.contacts-photo-ph {
    margin-top: 18px;
    border: 2px dashed #cde3e1;
    border-radius: 14px;
    background: #f4fafa;
    color: #8a9aa0;
    min-height: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 15px;
}

.contacts-photo-ph i {
    font-size: 30px;
    color: #b6cfcd;
}

@media (max-width: 900px) {
    .contacts-grid {
        grid-template-columns: 1fr;
    }
    .contacts-extra {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .route-cards {
        grid-template-columns: 1fr;
    }
    .emergency-block {
        flex-direction: column;
        text-align: center;
    }
}
/* END CONTACTS SECTION -------------------------------------------*/

/* HOW IT WORKS -------------------------------------------*/
.how-timeline {
    list-style: none;
    max-width: 700px;
    margin: 44px auto 0;
    padding: 0;
}

.how-step {
    position: relative;
    padding: 0 0 34px 74px;
}

.how-step:last-child {
    padding-bottom: 0;
}

.how-step:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 23px;
    top: 52px;
    bottom: -2px;
    width: 2px;
    background: #bfe7e5;
}

.how-step-num {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #0cb8b6;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.how-step-body {
    padding-top: 8px;
}

.how-step-title {
    font-size: 17px;
    font-weight: 600;
    color: #22343f;
    margin: 0 0 6px;
}

.how-step-text {
    font-size: 15px;
    line-height: 1.55;
    color: #6b7a82;
    margin: 0;
}

@media (max-width: 768px) {
    .how-step {
        padding-left: 64px;
    }
}
/* END HOW IT WORKS -------------------------------------------*/

/* FAQ -------------------------------------------*/
.faq-toolbar {
    text-align: center;
    margin-bottom: 26px;
}

.faq-toggle {
    background: #0cb8b6;
    color: #fff;
    border: 0;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    padding: 13px 32px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(12, 184, 182, 0.35);
    animation: faqPulse 2.2s ease-in-out infinite;
    transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.faq-toggle:hover {
    background: #0a8c8a;
    transform: translateY(-2px);
    animation: none;
}

@keyframes faqPulse {
    0%, 100% { box-shadow: 0 6px 18px rgba(12, 184, 182, 0.35); }
    50% { box-shadow: 0 8px 28px rgba(12, 184, 182, 0.6); }
}

.faq-cat {
    font-size: 18px;
    font-weight: 700;
    color: #0a8c8a;
    margin: 30px 0 12px;
    padding-left: 4px;
}

.faq-cat:first-child {
    margin-top: 0;
}

.faq-more {
    text-align: center;
    margin-top: 40px;
}

.faq-more p {
    font-size: 17px;
    font-weight: 600;
    color: #22343f;
    margin-bottom: 16px;
}

.faq-more-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}
/* END FAQ -------------------------------------------*/

/* FOOTER -------------------------------------------*/
.site-footer {
    background: #1a2e35;
    color: #cdd8da;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-logo {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    border: 2px solid #0cb8b6;
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
}

.footer-tagline {
    color: rgba(255,255,255,0.55);
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 20px;
}

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

.footer-nav a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: #0cb8b6;
}

.footer-col-title {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 20px;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255,255,255,0.7);
}

.footer-contact-list li svg {
    color: #0cb8b6;
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-contact-list a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact-list a:hover {
    color: #0cb8b6;
}

.footer-map {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
}

.footer-copy {
    color: rgba(255,255,255,0.4);
    font-size: 13px;
    margin: 0;
}

.footer-fb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.2s;
}

.footer-fb:hover {
    color: #0cb8b6;
}

.footer-qr {
    max-width: 200px;
}

.footer-qr-frame {
    position: relative;
    width: 180px;
    max-width: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 10px;
}

.footer-qr-img {
    width: 100%;
    display: block;
}

.footer-qr-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 23%;
    background: #fff;
    border-radius: 8px;
    padding: 4px;
    box-shadow: 0 0 0 3px #fff;
    display: flex;
}

.footer-qr-logo img {
    width: 100%;
    display: block;
}

.footer-qr-cap {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.4;
    margin: 10px 0 0;
}

@media (max-width: 991px) {
    .footer-qr {
        margin-top: 8px;
    }
}

@media (max-width: 768px) {
    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 10px;
    }
}
/* END FOOTER -------------------------------------------*/

.accordion-medgreen .accordion-item {
    border-color: #089ebb;
}

.accordion-item {
    scroll-margin: 60px;
}

.accordion-medgreen .accordion-button.collapsed {
    box-shadow: none;
}

.accordion-medgreen .accordion-button:not(.collapsed) {
    color: black;
    background-color: #089ebb3b;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0, 0, 0, .125);
}

.accordion-medgreen li::marker {
    color: #0cb8b6;
}

/* Анімовані кнопки акордеону — Захворювання та процедури */
.accordion-medgreen .accordion-button {
    position: relative;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.25s ease, padding-left 0.3s ease;
}

.accordion-medgreen .accordion-button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #0cb8b6;
    transform: scaleY(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.accordion-medgreen .accordion-button:hover {
    background-color: #0cb8b612;
    color: #0a9491;
    padding-left: 1.6rem;
}

.accordion-medgreen .accordion-button:hover::before,
.accordion-medgreen .accordion-button:not(.collapsed)::before {
    transform: scaleY(1);
}

.accordion-medgreen .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230cb8b6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transition: transform 0.3s ease;
}

.accordion-medgreen .accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230cb8b6'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-medgreen .accordion-collapse.show .accordion-body {
    animation: accBodyIn 0.4s ease;
}

@keyframes accBodyIn {
    from { opacity: 0; transform: translateY(-10px); }
    to   { opacity: 1; transform: translateY(0); }
}


/* SERVICES -------------------------------------------*/
.service-switch-block {
    flex: 1 1 0px;
}

@media screen and (max-width: 1220px) {
    .service-switch-block.large {
        flex: none;
    }
}


.services-buttons-block {
    margin-bottom: 30px;
}

.service-switch {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 8px;
    padding: 10px 12px;
    background: #9e9e9e;
    transition: background-color 0.5s;
}

.service-switch.active {
    background-color: black;
}

.service-switch.active > .service-name,
.service-switch.active > .service-icon {
    color: white;
    fill: white;
    filter: brightness(0) invert(1);
}

.service-switch.cyan {
    background-color: #0cb8b61a
}

.service-switch.active.cyan {
    background-color: #0cb8b6
}

.service-switch.red {
    background-color: #e6492d1a
}

.service-switch.active.red {
    background-color: #e6492d
}

.service-switch.green {
    background-color: #37af471a
}

.service-switch.active.green {
    background-color: #37af47
}

.service-switch.blue {
    background-color: #1665d81a
}

.service-switch.active.blue {
    background-color: #1665d8
}

.service-switch.yellow {
    background-color: #f6ab2f1a
}

.service-switch.active.yellow {
    background-color: #f6ab2f
}

.service-switch.grey {
    background-color: #9ea0a51a
}

.service-switch.active.grey {
    background-color: #9ea0a5
}

.service-icon {
    width: 50px;
    margin-bottom: 8px;
}

.service-name {
    font-weight: 600;
    text-transform: capitalize;
    font-size: 15px;
}

.service-description {
    display: none;
    justify-content: space-between;
}

.service-description.active {
    display: flex;
}

.service-image > img {
    width: 100%;
}

.service-header {
}

.service-subheader {
    font-size: 15px;
    line-height: 1.6em;
    margin-bottom: 17px;
}

.service-p {
    font-size: 15px;
    font-weight: 400;
    line-height: 1.6em;
}


.text-cloud {
    border: 1px solid #0cb8b6;
    background-color: #0cb8b6;
    color: white;
    font-weight: 600;
    padding: 12px 8px;
    border-radius: 8px;
    font-size: 16px;
    line-height: 1.15;
}

.list-name {
    border-bottom: 2px solid #0a9ebb;
    font-size: 20px;
    width: fit-content;
    font-size: 20px;
    margin-bottom: 8px;
}

.service-list > li::marker,
.place-list > li::marker {
    color: #0a9ebb;
    font-size: 20px;
}

.clouds-block > .text-cloud {
    margin-left: 20px;
    margin-right: 20px;
}

.clouds-block > .text-cloud:first-child,
.clouds-block > .text-cloud:last-child {
    margin-right: 0;
}

/*   map     */
#map {
    height: 400px;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}

/*  footer   */
footer {
    padding-top: 2rem;
    background-color: #2e363b;
    color: white;
}

.contact_item {
    margin-top: 1rem;
    text-decoration: none;
    color: white;
    color: white;
}

.contact_item > img {
    width: 18px;
}

.place_text b {
    color: #0a9ebb;
}


@media screen and (max-width: 768px) {
    .title_text-block {
        width: 100%;
        top: 0;
        height: 100%;
        backdrop-filter: blur(4px);
    }

    .title-heading {
        font-size: 23px;
        font-weight: 600;
        line-height: 1.3;
    }

    .header-information {
        height: 0;
        padding: 0;
    }

    .title-sud-heading {
        font-size: 16px;
    }

    .title_with_img {
        height: 50vh;
        min-height: 410px;
        margin-bottom: 5rem;
    }
}