/* Button styles */
.btn {
    display: inline-block;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#photo1 {
	max-height:500px;
}

#photo2 {
	max-height:500px;
}

#photo3 {
	max-height:800px;
}

/* Hero button styles */
.service-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2rem;
}

.service-buttons .btn {
    min-width: 180px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.service-buttons .button {
    min-width: 180px;
    padding: 15px 30px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #5E8399;
    border: 2px solid white;
    background-color: rgba(255, 255, 255, 0.9);
    transition: 0.3s;
}

.service-buttons .button:hover {
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.1);
    color: white
}
.service-buttons .btn:first-child {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.service-buttons .btn:first-child:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.service-buttons .btn:last-child {
    background-color: white;
    color: #5E8399;
    border: 2px solid white;
}

.service-buttons .btn:last-child:hover {
    background-color: rgba(255, 255, 255, 0.9);
}
.hero-slider {
    margin-top: 0;
    position: relative;
    height: 100vh;
    min-height: 600px;
}

.service-slide {
    position: relative;
    height: 100%;
}

.service-image {
    max-height: 824px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
        rgba(94, 131, 153, 0) 0%, 
        rgba(94, 131, 153, 0.7) 70%, 
        rgba(94, 131, 153, 1) 100%);
    z-index: 1;
}

.service-content{
    position: absolute;
    top: 75%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 90%;
    max-width: 800px;
    padding: 0 50px;
}

.service-content h1 {
    font-size: 64px;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: 6%;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 100%;
}

.service-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.service-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.service-buttons .btn {
    min-width: 180px;
}

/* Information Section Styles */
.info-section {
    padding: 80px 0;
    background-color: #ffffff;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
}

.breadcrumbs {
    display: flex;
    justify-content: center;
    margin-bottom: 80px;
    font-size: 14px;
    color: lightblue;
    gap: 10px;
}

.breadcrumbs a {
    color: #5E8399;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #AFD4E9;
}

.info-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 60px;
}

.info-text {
    
    flex: 1;
    gap: 120px;
}

.info-text h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 30px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.info-text p {
    margin-bottom: 20px;
    line-height: 1.6;
    color: #444;
    font-size: 18px;
}

.risk-factors {
    list-style-type: none;
    padding: 0;
    margin-top: 24px;
}
.risk-factors--flex {
    display: flex;
    flex-wrap: wrap;
}

.risk-item {
    display: flex;
    margin-bottom: 15px;
    line-height: 1.5;
    align-items: flex-start;
    color: #444;
    font-size: 18px;
}

.risk-item--flex {
    width: 50%;
}

.bullet-point {
    display: inline-block;
    width: 7px;
    height: 7px;
    background-color: #AFD4E9;
    border-radius: 50%;
    margin-right: 10px;
    margin-top: 8px;
    flex-shrink: 0;
}

.risk-content {
    flex: 1;
}

.info-image {
    flex: 1;
    align-self: flex-start;
}

.image-bottom {
    display: flex;
    justify-content: end;
}


/* Responsive styles for info section */
@media (max-width: 992px) {
    .info-content {
        flex-direction: column;
    }
    
    .info-text,
    .info-image {
        max-width: 100%;
        min-width: 300px;
    }
    
    .info-image {
        order: -1;
        margin: 0 auto 30px;
    }
    
    .info-text h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .service-content h1 {
        font-size: 32px;
    }
    .container {
        padding: 0 20px;
    }
    .breadcrumbs-section {
        display: none;
    }
    .breadcrumbs {
        display: none;
    }
    
    .info-text {
        max-width: 100%;
        display: block;
    }
    
    .info-text h2 {
        font-size: 32px;
        margin-bottom: 15px;
        text-align: center;
        color: #445560;
        line-height: 1.3;
    }
    
    .info-text p {
        font-size: 16px;
        line-height: 1.5;
        color: #333;
        margin-bottom: 15px;
    }
    
    .risk-factors {
        margin-top: 15px;
        padding-left: 15px;
        margin-bottom: 25px;
    }
    
    .risk-item {
        margin-bottom: 5px;
        font-size: 16px;
        padding-left: 0;
    }
    .risk-item--flex {
        width: 100%;
    }
    .risk-item .risk-content {
        display: block;
    }
    
    .risk-item:before {
        display: none; /* Прибираємо стандартні маркери */
    }
    
    .risk-title {
        display: inline;
        color: #333;
    }
    
    /* Стилізуємо окремі елементи списку щоб відповідати дизайну на фото */
    .risk-item.age .risk-title:before,
    .risk-item.gender .risk-title:before,
    .risk-item.genetics .risk-title:before,
    .risk-item.smoking .risk-title:before,
    .risk-item.hypertension .risk-title:before,
    .risk-item.cholesterol .risk-title:before,
    .risk-item.diabetes .risk-title:before,
    .risk-item.obesity .risk-title:before,
    .risk-item.activity .risk-title:before,
    .risk-item.stress .risk-title:before {
        content: "•";
        color: #5E8399;
        display: inline-block;
        margin-right: 5px;
        font-weight: bold;
    }
    
    /* Змінюємо стилі для зображень на мобільній версії */
    .info-image {
        display: block;
        margin-top: 30px;
        order: 2;
        width: 100%;
    }
    
    .image-top, .image-bottom {
        width: 100%;
        margin-bottom: 15px;
    }
    
    .image-top img, .image-bottom img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }
    
    .image-top {
        margin-bottom: 15px;
    }
    
    .image-bottom {
        display: flex;
        justify-content: center;
    }
    
    .image-bottom img {
        max-width: 90%;
    }
}

/* Головний блок причин інфаркту */
        .cause-infarct-causes {
            background-color: #5E8399;
            padding: 60px 30px;
            border-radius: 0px;
            color: white;
            text-align: center;
        }

        .cause-infarct-title {
            font-size: 48px;
            margin-bottom: 60px;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: bold;
            text-align: center;
        }

        /* Сітка з причинами */
        .cause-causes-grid {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 60px;
            margin-bottom: 50px;
        }

        /* Картка з причиною */
        .cause-cause-item {
            flex: 0 0 calc(25% - 20px);
            display: flex;
            flex-direction: column;
            align-items: center;
        }

        /* Коло з номером */
        .cause-cause-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 2px solid white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 15px;
        }

        /* Назва причини */
        .cause-cause-name {
            font-weight: bold;
            text-transform: uppercase;
            font-size: 24px;
            margin-bottom: 10px;
            text-align: center;
            min-height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        /* Опис причини */
        .cause-cause-description {
            font-size: 18px;
            line-height: 1.4;
            text-align: center;
            font-weight: 400;
        }

        /* Кнопка */
        .cause-rehab-button {
            display: inline-block;
            background-color: #E0EDF5;
            color: #5E8399;
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: bold;
            text-transform: uppercase;
            font-size: 14px;
            transition: all 0.3s ease;
            margin-top: 20px;
        }

        .cause-rehab-button:hover {
            background-color: white;
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        /* Адаптивний дизайн */
        @media screen and (max-width: 992px) {
            .cause-causes-grid {
                gap: 30px;
            }
            
            .cause-cause-item {
                flex: 0 0 calc(25% - 30px);
            }
        }

        @media screen and (max-width: 768px) {
            .cause-cause-item {
                flex: 0 0 calc(33.33% - 30px);
            }
        }

        @media screen and (max-width: 576px) {
            .cause-infarct-title {
                font-size: 30px;
                margin-bottom: 40px;
            }
            
            .cause-causes-grid {
                display: none; /* Ховаємо сітку на мобільних */
            }
            
            /* Стилі для мобільного слайдера */
            .cause-mobile-slider-container {
                display: block;
                position: relative;
                width: 100%;
                height: auto;
                margin-bottom: 40px;
            }
            
            .cause-mobile-slider {
                position: relative;
                overflow: hidden;
                width: 100%;
            }
            
            .cause-mobile-slide {
                display: none;
                opacity: 0;
                transition: opacity 0.5s ease;
                padding: 0 20px;
                text-align: center;
            }
            
            .cause-mobile-slide.active {
                display: block;
                opacity: 1;
            }
            
            .cause-cause-mobile-circle {
                width: 70px;
                height: 70px;
                border-radius: 50%;
                border: 2px solid white;
                display: flex;
                align-items: center;
                justify-content: center;
                font-weight: bold;
                font-size: 28px;
                margin: 0 auto 20px;
            }
            
            .cause-cause-mobile-name {
                font-weight: bold;
                text-transform: uppercase;
                font-size: 20px;
                margin-bottom: 12px;
                text-align: center;
            }
            
            .cause-cause-mobile-description {
                font-size: 16px;
                line-height: 1.6;
                text-align: center;
                margin-bottom: 30px;
            }
            
            /* Навігація слайдера */
            .cause-mobile-slider-navigation {
                display: flex;
                justify-content: center;
                align-items: center;
                position: relative;
                width: 100%;
                margin-top: 30px;
            }
            
            .cause-mobile-slider-arrows {
                position: absolute;
                width: 100%;
                display: flex;
                justify-content: space-between;
                padding: 0 20px;
                z-index: 2;
            }
            
            .cause-mobile-slider-arrow {
                background: transparent;
                border: none;
                cursor: pointer;
                padding: 0;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .cause-mobile-slider-arrow svg {
                width: 35px;
                height: 35px;
                stroke: white;
                stroke-width: 1px;
            }
            
            .cause-mobile-slider-pagination {
                display: flex;
                gap: 10px;
                justify-content: center;
                z-index: 1;
            }
            
            .cause-mobile-slider-dot {
                width: 10px;
                height: 10px;
                border-radius: 50%;
                background-color: rgba(255, 255, 255, 0.4);
                cursor: pointer;
                transition: all 0.3s ease;
            }
            
            .cause-mobile-slider-dot.active {
                background-color: white;
                transform: scale(1.3);
            }
        }
        
        /* За замовчуванням приховуємо мобільний слайдер */
        .cause-mobile-slider-container {
            display: none;
        }


/* Recovery Section Styles */
.recovery-section {
    background-color: #fff;
    padding: 80px 0;
}

/* Row 1: Title and text */
.recovery-header-row {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;
    gap: 40px;
}

.recovery-title-col {
    flex: 1;
    min-width: 300px;
    max-width: 45%;
}

.recovery-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    color: #333;
    text-transform: uppercase;
}

.recovery-text-col {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    padding-left: 20px;
    gap: 20px;
    border-left: 3px solid #AFD4E9;
}

.recovery-text-col p {
    line-height: 1.6;
    color: #444;
    font-size: 18px;
    font-weight: 400;
}

/* Row 2: Full-width image */
.recovery-image-row {
    margin-bottom: 50px;
    width: 100%;
}

.recovery-image-row img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

/* Row 3: Bottom text in two columns */
.recovery-bottom-row {
    display: flex;
    gap: 40px;
}

.bottom-text-left,
.bottom-text-right {
    flex: 1;
    min-width: 300px;
}

.bottom-text-left p,
.bottom-text-right p {
    line-height: 1.6;
    color: #444;
    font-size: 18px;
}

/* Responsive styles for recovery section */
@media (max-width: 992px) {
    .recovery-header-row {
        flex-direction: column;
    }
    
    .recovery-title-col,
    .recovery-text-col {
        max-width: 100%;
    }
    
    .recovery-bottom-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .recovery-title {
        font-size: 30px;
        margin-bottom: 20px;
    }
}

/* Rehabilitation Steps Section */
.rehab-steps-section {
    margin-bottom: 70px;
}

.rehab-section-title {
    font-size: 48px;
    text-align: center;
    margin-bottom: 20px;
    color: #37414A;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.rehab-section-description {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    line-height: 110%;
    color: #666;
}

/* Сітка кроків */
.rehab-steps-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
}

/* Картка кроку */
.rehab-step-card {
    background-color: #f5f5f5;
    border-radius: 10px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.rehab-step-label {
    display: inline-block;
    background-color: #5E8399;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 14px;
}

.rehab-step-icon {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.rehab-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e6f2f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.rehab-icon-circle img {
    width: 36px;
    height: 36px;
}

.rehab-step-title {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    text-transform: uppercase;
}

.rehab-step-description {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}


/* Приховуємо десктопний вигляд на мобільних */
@media screen and (max-width: 576px) {

    .rehab-icon-circle {
        display: none;
    }

    .rehab-steps-grid {
        display: none;
    }
    
    .rehab-section-title {
        font-size: 32px;
        margin-bottom: 15px;
        color: #333;
    }
    
    .rehab-section-description {
        margin-bottom: 30px;
        padding: 0 15px;
        font-size: 16px;
        color: #666;
    }
    
    /* Стилі мобільного слайдера */
    .rehab-mobile-slider-container {
        display: block;
        height: auto;
    }
    
    .rehab-step-card {
        margin: 0 auto;
        max-width: 90%;
    }
    
    .rehab-mobile-slider {
        position: relative;
        overflow: hidden;
        width: 100%;
        height: auto;
    }
    
    .rehab-mobile-slide {
        width: 100%;
        height: auto;
        padding: 0 10px;
    }
    
    /* Навігація слайдера */
    .rehab-mobile-slider-navigation {
        margin-top: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        width: 100%;
    }
    
    .rehab-mobile-slider-arrows {
        position: absolute;
        width: 100%;
        display: flex;
        justify-content: space-between;
        z-index: 10;
    }
    
    .rehab-mobile-slider-arrow {
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 5px;
    }
    
    .rehab-mobile-slider-arrow svg {
        width: 30px;
        height: 30px;
        stroke: #5E8399;
        stroke-width: 2px;
    }
    
    .rehab-mobile-slider-pagination {
        display: flex;
        gap: 10px;
        z-index: 5;
    }
    
    .rehab-mobile-slider-dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: #ccc;
        cursor: pointer;
        transition: all 0.3s ease;
    }
    
    .rehab-mobile-slider-dot.active {
        background-color: #5E8399;
        transform: scale(1.2);
    }
    
    /* Стиль для активного слайду */
    .rehab-mobile-slide {
        display: none;
        opacity: 0;
        transition: opacity 0.5s ease;
    }
    
    .rehab-mobile-slide.active {
        display: block;
        opacity: 1;
    }
}

/* За замовчуванням приховуємо мобільний слайдер */
.rehab-mobile-slider-container {
    display: none;
}

/* Complex Rehabilitation Section */
.complex-rehab-section {
    padding: 80px 0;
    background-color: #fff;
}

.complex-rehab-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.complex-rehab-image {
    flex: 1;
    position: relative;
}

.complex-rehab-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.complex-rehab-image::after {
    content: '';
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background-color: #AFD4E9;
    z-index: -1;
}

.complex-rehab-text {
    flex: 1;
}

.complex-rehab-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.2;
    text-transform: uppercase;
}

.complex-rehab-description p {
    margin-bottom: 20px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.complex-rehab-description p:last-child {
    margin-bottom: 0;
    text-transform: none;
    padding-top: 20px;
    font-weight: normal;
}

.without {
    list-style: none;
}

/* Responsive styles */
@media (max-width: 992px) {
    .complex-rehab-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .complex-rehab-image {
        width: 100%;
    }
    
    .complex-rehab-image::after {
        width: 120px;
        height: 120px;
        bottom: -20px;
        right: -20px;
    }
    
    .complex-rehab-title {
        font-size: 28px;
    }
}

/* Package Programs Section */
.package-programs-section {
    padding: 80px 0;
    text-align: center;
    background-color: white;
}

.package-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.package-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.6;
    color: #555;
}

.package-table-container {
    margin: 0 auto 40px;
    max-width: 900px;
}

.package-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background-color: #F5F4F4;
    overflow: hidden;
}

.package-table th {
    background-color: #5E8399;
    color: white;
    font-weight: 600;
    padding: 15px 20px;
    text-align: left;
    text-transform: uppercase;
    font-size: 16px;
}

.package-table th:first-child {
    border-top-left-radius: 8px;
}

.package-table th:last-child {
    border-top-right-radius: 8px;
}

.package-table th:first-child,
.package-table td:first-child {
    width: 40%; /* Перша колонка займатиме 50% ширини таблиці */
}

.package-table th:nth-child(2),
.package-table td:nth-child(2) {
    width: 30%; /* Друга колонка */
}

.package-table th:last-child,
.package-table td:last-child {
    width: 30%; /* Третя колонка */
}

.package-table td {
    padding: 15px 20px;
    text-align: left;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.package-table td:last-child {
    font-weight: 600;
    color: #5E8399;
}

.package-table tbody tr {
    background-color: #F5F4F4;
}

.consultation-button-container {
    margin-top: 40px;
}

.btn-package-consultation {
    display: inline-block;
    background-color: #AFD4E9;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    padding: 14px 35px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-package-consultation:hover {
    background-color: #4c6e80;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 768px) {
    .package-title {
        font-size: 28px;
    }
    .package-subtitle {
        font-size: 16px;
    }
    .package-table th, 
    .package-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .package-table-container {
        overflow-x: auto;
        display: block;
    }
    
}

@media (max-width: 576px) {
    .package-table th, 
    .package-table td {
        padding: 10px;
        font-size: 11px;
    }
}

@media (max-width: 320px) {
    .package-table th, 
    .package-table td {
        padding: 10px;
        font-size: 10px;
    }
}

/* Program Includes Section */
.program-includes-section {
    padding: 80px 0;
    background-color: #fff;
}

.program-includes-title {
    font-size: 48px;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.program-includes-content {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 30px;
}

.program-includes-text {
    flex: 1;
    max-width: 60%;
}

.program-includes-image {
    flex: 0 0 auto;
    width: 40%;
    position: relative;
}

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

.program-includes-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 14px;
    color: #555;
    line-height: 1.5;
    font-size: 18px;
}



.program-includes-list li strong {
    color: #333;
    font-weight: 600;
}

.program-includes-image:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #AFD4E9;
    z-index: -1;
}

.program-button-container {
    text-align: center;
    margin-top: 40px;
}

.btn-order-program {
    display: inline-block;
    background-color: #AFD4E9;
    color: black;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 40px;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn-order-program:hover {
    background-color: #4c6e80;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive styles */
@media (max-width: 992px) {
    .program-includes-content {
        flex-direction: row;
    }
    
    .program-includes-text, 
    .program-includes-image {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .program-includes-content {
        flex-direction: column;
    }

    .program-includes-title {
        font-size: 32px;
    }

    .program-includes-image {
        display: none;
    }
    
    .program-includes-list li {
        font-size: 16px;
    }
    .additional-services-section {
        padding: 20px 0!important;
    }
}

/* Additional Services Section */
.additional-services-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.additional-services-title {
    font-size: 48px;
    font-weight: 700;
    color: #37414A;
    margin-bottom: 40px;
    text-align: center;
    text-transform: uppercase;
}

.additional-services-table-container {
    max-width: 900px;
    margin: 0 auto;
}

.additional-services-table {
    width: 100%;
    border-collapse: collapse;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.additional-services-table th {
    background-color: #5E8399;
    color: white;
    font-weight: 600;
    text-align: left;
    padding: 15px 20px;
    text-transform: uppercase;
    font-size: 16px;
}

.additional-services-table th:last-child {
    text-align: right;
}

.additional-services-table td {
    padding: 15px 20px;
    font-size: 15px;
    color: #333;
    border-bottom: 1px solid #eee;
    background-color: #F5F4F4;
}

.additional-services-table td:last-child {
    text-align: right;
    color: #5E8399;
    font-weight: 600;
}

/* Responsive styles */
@media (max-width: 768px) {
    .additional-services-title {
        font-size: 32px;
    }
    
    .additional-services-table th,
    .additional-services-table td {
        padding: 12px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .additional-services-table th,
    .additional-services-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    .additional-services-table-container {
        overflow-x: auto;
        display: block;
    }
}

/* Rehabilitation Advantages Section */
.rehab-advantages-section {
    padding: 80px 0;
    background-color: #fff;
}

.advantage-text {
    color: black;
    font-size: 18px;
}

.rehab-advantages-content {
    display: flex;
    gap: 50px;
}

.rehab-advantages-images {
    flex: 1;
    position: relative;
    max-width: 40%;
}

.top-image {
    display: flex;
    justify-content: end;
    margin-bottom: 30px;
}

.rehab-advantages-info {
    flex: 1;
    max-width: 60%;
}

.advantages-title {
    font-size: 48px;
    font-weight: 700;
    color: #37414A;
    margin-bottom: 20px;
    text-transform: uppercase;
    line-height: 1.2;
}

.advantages-description {
    color: #555;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.advantages-list li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.advantage-icon {
    width: 56px;
    height: 56px;
    background-color: #AFD4E9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.advantage-icon img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.advantages-list li span {
    color: #37414A;
    font-weight: 400;
    font-size: 24px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .rehab-advantages-content {
        flex-direction: column;
    }
    
    .rehab-advantages-images,
    .rehab-advantages-info {
        max-width: 100%;
    }
    
    .advantages-title {
        font-size: 32px;
    }
    
    .top-image, .bottom-image {
        max-width: 70%;
        margin: 0 auto 20px;
    }

    .top-image img,
    .bottom-image img {
        width: 80%;
    }
}

@media (max-width: 768px) {
    .advantages-list li span {
        font-size: 18px;
    }
    
    .top-image, .bottom-image {
        max-width: 100%;
    }
    .top-image img,
    .bottom-image img {
        width: 100%;
        object-fit: cover;
        height: 300px;
    }
    .advantages-description {
        font-size: 16px;
    }
}

/* Floating contacts styles */
.floating-contacts {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.floating-contacts .contact-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.floating-contacts .contact-button img {
    width: 45px;
    height: 45px;
}

.floating-contacts .contact-button:hover {
    transform: scale(1.1);
}

/* Мобільна версія стилів */
@media (max-width: 768px) {
    .service-slide {
        height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .service-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .service-overlay {
        background: linear-gradient(to bottom, 
            rgba(94, 131, 153, 0.3) 0%, 
            rgba(94, 131, 153, 0.7) 70%, 
            rgba(94, 131, 153, 0.9) 100%);
    }
    
    .service-content {
        top: 55%;
        padding: 0 30px;
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .service-content p {
        font-size: 1rem;
        display: none; /* Приховуємо опис на мобільній версії */
    }
    
    .service-buttons {
        margin-top: 1.5rem;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .service-buttons .btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 16px;
        font-weight: 700;
        border-radius: 30px;
    }
    
    .service-buttons .btn:last-child {
        background-color: white;
        color: #5E8399;
    }
    
    /* Показуємо тільки одну кнопку на мобільній версії */
    .service-buttons .btn:first-child {
        /*display: none;*/
    }
}

/* Стилі для навігації слайдера в десктопній версії (приховані) */
.steps-slider-navigation,
.slider-navigation {
    display: none;
}

@media (max-width: 768px) {
    /* Стилі для навігації слайдера */
    .steps-slider-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
        z-index: 5;
        margin-top: auto;
    }
    
    /* Стилі для навігації слайдера причин інфаркту */
    .slider-navigation {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px 20px;
        position: relative;
        z-index: 5;
        margin-top: auto;
    }
}

/* Зменшуємо розмір іконок для мобільної версії */
@media (max-width: 768px) {
    
    .floating-contacts .contact-button {
        width: 44px;
        height: 44px;
    }
    
    .floating-contacts .contact-button img {
        width: 40px;
        height: 40px;
    }

    .floating-contacts {
        gap: 5px;
        right: 10px;
        top: 38%;
    }
}

.wysiwyg {
    max-width: 800px;
    margin: 0 auto;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
}
.breadcrumbs-section {
    padding: 40px 0;
}
.breadcrumbs-section .breadcrumbs {
    margin: 0;
}
/* Headings */
.wysiwyg h1 {
    font-size: 36px;
    font-weight: 600;
    color: #5E8399;
    margin-top: 50px;
    margin-bottom: 25px;
    line-height: 1.3;
    text-transform: uppercase;
}

.wysiwyg h2 {
    font-size: 28px;
    font-weight: 600;
    color: #5E8399;
    margin-top: 40px;
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: uppercase;
}

.wysiwyg h3 {
    font-size: 22px;
    font-weight: 600;
    color: #37414A;
    margin-top: 35px;
    margin-bottom: 18px;
    line-height: 1.4;
}

.wysiwyg h4 {
    font-size: 20px;
    font-weight: 600;
    color: #37414A;
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.wysiwyg h5 {
    font-size: 18px;
    font-weight: 600;
    color: #37414A;
    margin-top: 25px;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Paragraphs */
.wysiwyg p {
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333;
}

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

/* Lists */
.wysiwyg ul,
.wysiwyg ol {
    margin-bottom: 25px;
    padding-left: 30px;
}

.wysiwyg ul {
    list-style: none;
    padding-left: 0;
}

.wysiwyg ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333;
}

.wysiwyg ul li:before {
    content: '\2022';
    color: #5E8399;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 18px;
}

.wysiwyg ol {
    counter-reset: item;
}

.wysiwyg ol li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    line-height: 1.7;
    color: #333;
    counter-increment: item;
    list-style: none;
}

.wysiwyg ol li:before {
    content: counter(item) ".";
    color: #5E8399;
    font-weight: 600;
    position: absolute;
    left: 0;
}

/* Nested lists */
.wysiwyg ul ul,
.wysiwyg ol ul,
.wysiwyg ul ol,
.wysiwyg ol ol {
    margin-top: 12px;
    margin-bottom: 12px;
}

/* Links */
.wysiwyg a {
    color: #5E8399;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.wysiwyg a:hover {
    color: #4A6F82;
    text-decoration: none;
}

/* Images */
.wysiwyg img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 4px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Blockquotes */
.wysiwyg blockquote {
    margin: 30px 0;
    padding: 20px 30px;
    border-left: 4px solid #78A5BD;
    background-color: #F5F9FB;
    font-style: italic;
    color: #37414A;
}

.wysiwyg blockquote p:last-child {
    margin-bottom: 0;
}

/* Strong and emphasis */
.wysiwyg strong,
.wysiwyg b {
    font-weight: 600;
    color: #37414A;
}

.wysiwyg em,
.wysiwyg i {
    font-style: italic;
}

/* Tables */
.wysiwyg table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.wysiwyg table th,
.wysiwyg table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #e0e0e0;
}

.wysiwyg table th {
    background-color: #5E8399;
    color: #fff;
    font-weight: 600;
}

.wysiwyg table tr:nth-child(even) {
    background-color: #f8f8f8;
}

/* Horizontal rule */
.wysiwyg hr {
    margin: 40px 0;
    border: none;
    border-top: 2px solid #e0e0e0;
}

/* Code blocks */
.wysiwyg code {
    background-color: #f5f5f5;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    color: #c7254e;
}

.wysiwyg pre {
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 4px;
    overflow-x: auto;
    margin: 25px 0;
}

.wysiwyg pre code {
    background: none;
    padding: 0;
    color: #333;
}

/* Responsive styles */
@media (max-width: 768px) {
    .wysiwyg {
        font-size: 14px;
    }

    .wysiwyg h1 {
        font-size: 28px;
        margin-top: 35px;
        margin-bottom: 20px;
    }

    .wysiwyg h2 {
        font-size: 24px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .wysiwyg h3 {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 15px;
    }

    .wysiwyg h4 {
        font-size: 18px;
        margin-top: 20px;
        margin-bottom: 12px;
    }

    .wysiwyg h5 {
        font-size: 16px;
        margin-top: 18px;
        margin-bottom: 10px;
    }

    .wysiwyg ul li,
    .wysiwyg ol li {
        font-size: 14px;
    }

    .wysiwyg blockquote {
        padding: 15px 20px;
        margin: 20px 0;
    }

    .wysiwyg img {
        margin: 20px auto;
    }

    .wysiwyg table {
        font-size: 13px;
    }

    .wysiwyg table th,
    .wysiwyg table td {
        padding: 8px 10px;
    }
}
.nav-container-fixed {
    position: fixed;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 11px rgba(33, 33, 33, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 9999;
    padding: 10px;
    border-radius: 0 8px 8px 0;
    max-width: 115px;
    transition: all 0.4s ease;
    overflow: hidden;
}

/* Заголовок навигации */
.nav-title-fixed {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Geometria', sans-serif;
    color: #000;
    margin-bottom: 0;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Список навигации - закрыт по умолчанию */
.nav-list-fixed {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.4s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

/* При наведении открываем меню ВНИЗ */
.nav-container-fixed:hover {
    max-width: 350px;
}
.nav-container-fixed:hover .nav-list-fixed {
    max-height: 600px; /* Увеличиваем для большего количества элементов */
    opacity: 1;
    margin-top: 12px;
}

/* Элементы списка */
.nav-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* При наведении элементы появляются */
.nav-container-fixed:hover .nav-item {
    opacity: 1;
    transform: translateX(0);
}

/* Задержка появления каждого элемента для плавного эффекта */
.nav-container-fixed:hover .nav-item:nth-child(1) { transition-delay: 0.05s; }
.nav-container-fixed:hover .nav-item:nth-child(2) { transition-delay: 0.1s; }
.nav-container-fixed:hover .nav-item:nth-child(3) { transition-delay: 0.15s; }
.nav-container-fixed:hover .nav-item:nth-child(4) { transition-delay: 0.2s; }
.nav-container-fixed:hover .nav-item:nth-child(5) { transition-delay: 0.25s; }
.nav-container-fixed:hover .nav-item:nth-child(6) { transition-delay: 0.3s; }
.nav-container-fixed:hover .nav-item:nth-child(7) { transition-delay: 0.35s; }
.nav-container-fixed:hover .nav-item:nth-child(8) { transition-delay: 0.4s; }
.nav-container-fixed:hover .nav-item:nth-child(9) { transition-delay: 0.45s; }
.nav-container-fixed:hover .nav-item:nth-child(10) { transition-delay: 0.5s; }
.nav-container-fixed:hover .nav-item:nth-child(11) { transition-delay: 0.55s; }
.nav-container-fixed:hover .nav-item:nth-child(12) { transition-delay: 0.6s; }
.nav-container-fixed:hover .nav-item:nth-child(13) { transition-delay: 0.65s; }
.nav-container-fixed:hover .nav-item:nth-child(14) { transition-delay: 0.7s; }
.nav-container-fixed:hover .nav-item:nth-child(15) { transition-delay: 0.75s; }
.nav-container-fixed:hover .nav-item:nth-child(16) { transition-delay: 0.8s; }
.nav-container-fixed:hover .nav-item:nth-child(17) { transition-delay: 0.85s; }
.nav-container-fixed:hover .nav-item:nth-child(18) { transition-delay: 0.9s; }
.nav-container-fixed:hover .nav-item:nth-child(19) { transition-delay: 0.95s; }
.nav-container-fixed:hover .nav-item:nth-child(20) { transition-delay: 1s; }

/* Ссылки навигации */
.nav-link-fixed {
    display: block;
    padding: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Geometria', sans-serif;
    white-space: nowrap;
    color: #333;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
}

/* Эффект при наведении на ссылку */
.nav-link-fixed:hover {
    background:  #a7d1e6;
    /*color: #a7d1e6;*/
    transform: translateX(4px);

}

/* АКТИВНЫЙ ПУНКТ - жирный и выделенный */
.nav-link-fixed.active {
    background: #5E8399;
    color: white !important;
    /*box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);*/
}

/* Отступ для подзаголовков h2 */
.nav-link-fixed.h2-link {
    padding-left: 24px;
    font-size: 13px;
}

/* Основные заголовки h1 */
.nav-link-fixed.h1-link {
    font-size: 14px;
    font-weight: 500;
}

/* Индикатор для активного h1 */
.nav-link-fixed.h1-link.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: white;
    border-radius: 0 4px 4px 0;
}

/* Индикатор для активного h2 */
.nav-link-fixed.h2-link.active::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 80%;
    background: white;
    border-radius: 2px;
}

/* Стили для скроллбара навигации */
.nav-container-fixed::-webkit-scrollbar {
    width: 4px;
}

.nav-container-fixed::-webkit-scrollbar-track {
    background: transparent;
}

.nav-container-fixed::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 2px;
}

.nav-container-fixed::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/*!* Планшеты *!*/
/*@media (max-width: 1024px) {*/
/*    .nav-container-fixed {*/
/*        background: rgba(33, 33, 33, 0.5);*/
/*        .nav-title-fixed,*/
/*        .nav-link-fixed {*/
/*            color: white;*/
/*        }*/
/*    }*/
/*}*/


/* Для маленьких экранов - альтернативный вариант */
@media (max-width: 768px) {
    /* Если нужно оставить навигацию на мобильных */
    .nav-container-fixed {
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 20px;
        border-radius: 8px;
        max-width: 90%;
    }

    .nav-title-fixed {
        font-size: 14px;
        text-align: center;
    }
}

/* ============================================
   ДОПОЛНИТЕЛЬНЫЕ УЛУЧШЕНИЯ
   ============================================ */

/* Анимация появления при загрузке страницы */
@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.nav-container-fixed {
    animation: slideInFromLeft 0.5s ease-out;
}

/* Плавное появление активного состояния */
.nav-link-fixed.active {
    animation: activePulse 0.3s ease;
}

@keyframes activePulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Улучшенная читаемость текста */
.nav-link-fixed {
    line-height: 1.4;
}

/* Защита от случайного выделения текста */
.nav-container-fixed {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.nav-container-fixed {
    /* CSS переменные (будут динамически изменяться через JS) */
    --nav-text-color: #000000;
    --nav-title-color: #446e87;
    --nav-backdrop-color: rgba(255, 255, 255, 0.85);
    --nav-blur: 8px;

    /* Плавные переходы */
    transition: all 0.4s ease;

    /* Адаптивная подложка */
    background: var(--nav-backdrop-color);
    backdrop-filter: blur(var(--nav-blur)) saturate(150%);
    -webkit-backdrop-filter: blur(var(--nav-blur)) saturate(150%);

    /* Стили блока */
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === СВЕТЛЫЙ ФОН === */
.nav-container-fixed.light-bg {
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* === ТЕМНЫЙ ФОН === */
.nav-container-fixed.dark-bg {
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
}

/* === СЛОЖНЫЙ ФОН (картинка с высокой вариативностью) === */
.nav-container-fixed.complex-bg {
    box-shadow:
            0 8px 32px rgba(0, 0, 0, 0.2),
            0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-container-fixed.complex-bg.light-bg {
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.nav-container-fixed.complex-bg.dark-bg {
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* === СРЕДНЯЯ СЛОЖНОСТЬ === */
.nav-container-fixed.medium-bg {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.15);
}

/* === НАД КАРТИНКОЙ === */
.nav-container-fixed.over-image {
    /* Дополнительный слой для улучшения читаемости */
    position: relative;
}

.nav-container-fixed.over-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    border-radius: inherit;
    opacity: 0.5;
    z-index: -1;
}

/* === ЗАГОЛОВОК === */
.nav-title-fixed {
    color: var(--nav-title-color);
    transition: color 0.3s ease;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

/* Тени для заголовка на светлом фоне */
.nav-container-fixed.light-bg .nav-title-fixed {
    text-shadow:
            0 1px 2px rgba(255, 255, 255, 0.8),
            0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Усиленные тени для заголовка на темном фоне */
.nav-container-fixed.dark-bg .nav-title-fixed {
    text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.8),
            0 0 8px rgba(0, 0, 0, 0.4);
}

/* Супер тени для сложных фонов */
.nav-container-fixed.complex-bg .nav-title-fixed {
    text-shadow:
            0 2px 6px rgba(0, 0, 0, 0.6),
            0 0 10px rgba(0, 0, 0, 0.3),
            0 4px 12px rgba(0, 0, 0, 0.2);
}

/* === ССЫЛКИ === */
.nav-link-fixed {
    color: var(--nav-text-color);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1;
}

/* Тени для ссылок на светлом фоне */
.nav-container-fixed.light-bg .nav-link-fixed {
    text-shadow:
            0 1px 1px rgba(255, 255, 255, 0.5),
            0 1px 2px rgba(0, 0, 0, 0.08);
}

/* Тени для ссылок на темном фоне */
.nav-container-fixed.dark-bg .nav-link-fixed {
    text-shadow:
            0 1px 3px rgba(0, 0, 0, 0.6),
            0 0 6px rgba(0, 0, 0, 0.3);
}

/* Усиленные тени для сложных фонов */
.nav-container-fixed.complex-bg .nav-link-fixed {
    text-shadow:
            0 2px 4px rgba(0, 0, 0, 0.5),
            0 0 8px rgba(0, 0, 0, 0.25);
}

.nav-container-fixed.complex-bg.light-bg .nav-link-fixed {
    text-shadow:
            0 1px 2px rgba(255, 255, 255, 0.8),
            0 2px 4px rgba(0, 0, 0, 0.15),
            0 0 6px rgba(255, 255, 255, 0.4);
}

/* === АКТИВНАЯ ССЫЛКА === */
.nav-link-fixed.active {
    color: var(--nav-text-color);
    font-weight: bold;
    opacity: 1;
}

.nav-title-fixed path{
    fill: var(--nav-title-color);
}


/* === ХОВЕР === */
.nav-link-fixed:hover {
    color: var(--nav-text-color);
    opacity: 0.7;
}

/* === АНИМАЦИЯ ПЕРЕХОДОВ === */
@media (prefers-reduced-motion: no-preference) {
    .nav-container-fixed {
        transition:
                background 0.4s ease,
                backdrop-filter 0.4s ease,
                box-shadow 0.4s ease,
                border-color 0.4s ease;
    }
}
.wrap-nav{
    display: flex;
    align-items: center;
    gap: 8px;
}