        :root {
            --primary: #2563eb;
            --primary-dark: #1d4ed8;
            --secondary: #64748b;
            --accent: #06b6d4;
            --background: #f8fafc;
            --text: #1e293b;
            --border: #e2e8f0;
            --card: #ffffff;
        }

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

        body {
//            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-family: 'Roboto', sans-serif;
    font-weight: 400; /* Обычный текст */
            line-height: 1.6;
            color: var(--text);
            background: var(--background);
        }
h1, h2, h3 {
    font-family: 'Roboto', sans-serif;
    font-weight: 700; /* Жирный текст для заголовков */
}

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1rem;
        }

        /* Navigation */
        .nav {
            background: rgba(255, 255, 255, 0.9);
            backdrop-filter: blur(10px);
            -webkit-backdrop-filter: blur(10px);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid var(--border);
        }

        .nav-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 1rem;
        }

	.logo {
	    font-size: 1.5rem;
	    font-weight: 700;
	    color: var(--primary);
	    text-decoration: none;
	    display: flex;
	    align-items: center;
	    gap: 10px; /* Расстояние между изображением и текстом */
	}

	.logo-image {
	    height: 65px; /* Регулируйте высоту по необходимости */
	    width: auto;
	}

	.logo-text {
	    /* Стили для текста логотипа */
	    color: var(--primary);
	    font-weight: 700;
	}
        .nav-cta {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* Hero Section */
        .hero {
            background: linear-gradient(135deg, #a825eb, var(--primary), var(--accent));
            color: white;
            padding: 8rem 0 4rem;
            margin-bottom: 2rem;
        }

        .hero-content {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 2rem;
            align-items: center;
        }

        .hero-text h1 {
            font-size: 3rem;
            margin-bottom: 1rem;
            line-height: 1.2;
        }

        .hero-text p {
            font-size: 1.25rem;
            margin-bottom: 2rem;
            opacity: 0.9;
        }

        .hero-image {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .hero-icon {
            font-size: 12rem;
            opacity: 0.9;
        }

        /* Buttons */
        .button {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            font-weight: 600;
            text-decoration: none;
            transition: all 0.3s ease;
        }

        .button-primary {
            background: white;
            color: var(--primary);
        }

        .button-primary:hover {
            background: var(--background);
            transform: translateY(-2px);
        }

        .button-outline {
            border: 2px solid white;
            color: white;
        }

        .button-outline:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        /* Services Grid */
        .services {
            padding: 4rem 0;
        }

        .section-title {
            text-align: center;
            font-size: 2.5rem;
            margin-bottom: 3rem;
            color: var(--primary);
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-bottom: 4rem;
        }

        .service-card {
            background: var(--card);
            border-radius: 1rem;
            overflow: hidden;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
        }

        .service-icon {
            background: var(--primary);
            color: white;
            padding: 2rem;
            font-size: 2rem;
            text-align: center;
        }

        .service-content {
            padding: 2rem;
        }

        .service-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        /* Articles Section */
        .articles {
            background: white;
            padding: 4rem 0;
        }

        .article-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }

        .article-card {
            background: var(--background);
            border-radius: 1rem;
            overflow: hidden;
            transition: transform 0.3s ease;
        }

        .article-card:hover {
            transform: translateY(-5px);
        }

        .article-content {
            padding: 2rem;
        }

        .article-title {
            font-size: 1.25rem;
            margin-bottom: 1rem;
            color: var(--primary);
        }

        /* Features List */
        .features-list {
            list-style: none;
            margin: 1rem 0;
        }

        .features-list li {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.5rem;
        }

        .features-list i {
            color: var(--primary);
        }

        /* Footer */
        .footer {
            background: var(--primary-dark);
            color: white;
            padding: 4rem 0;
            margin-top: 4rem;
        }

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

        .footer-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
        }

        .footer .button {
            margin-top: 1rem;
        }

        /* Mobile Responsiveness */
        @media (max-width: 768px) {
            .hero-content {
                grid-template-columns: 1fr;
                text-align: center;
            }

            .hero-text h1 {
                font-size: 2rem;
                margin-top: 10px;
            }

            .hero-icon {
                font-size: 8rem;
            }

            .section-title {
                font-size: 2rem;
            }

            .nav-content {
                flex-direction: column;
                gap: 1rem;
            }
        }

        @media (max-width: 480px) {
            .services-grid, .article-grid {
                grid-template-columns: 1fr;
            }

            .button {
                width: 100%;
                justify-content: center;
            }
        }

/* Navigation специфичные стили */
.nav-menu {
    display: flex;
    gap: 1rem;
    margin-right: 1rem;
}

.nav-menu .button-outline {
    border: 2px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.nav-menu .button-outline:hover {
    background: var(--primary);
    color: white;
}

/* Обновленные стили для .button-outline чтобы они работали правильно в обоих местах */
.button-outline {
    border: 2px solid white;
    color: white;
}

/* В футере и других местах кнопки остаются белыми */
.footer .button-outline {
    border: 2px solid white;
    color: white;
}

.hero .button-outline {
    border: 2px solid white;
    color: white;
}
/* Фикс навигации на мобильных устройствах */
@media (max-width: 768px) {
    .nav {
        position: relative;
    }

    .nav-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .nav-menu {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }

    .nav-cta {
        margin-top: 0.5rem;
    }

    /* Добавляем отступ сверху, чтобы контент не залезал под фиксированное меню */
    .hero {
        padding-top: 6rem;
    }
}

/* Стили для выпадающего меню */
.nav-menu {
    position: relative;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem 0;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    color: var(--text);
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.dropdown-content a:hover {
    background-color: var(--background);
    color: var(--primary);
}

/* Стрелка для dropdown */
.dropdown .button-outline::after {
    content: '▼';
    font-size: 0.7em;
    margin-left: 0.5rem;
}

/* Мобильная версия */
@media (max-width: 768px) {
    .dropdown-content {
        position: static;
        display: none;
        box-shadow: none;
        background: transparent;
        min-width: auto;
        padding: 0;
    }

    .dropdown.active .dropdown-content {
        display: block;
    }

    .dropdown-content a {
        padding: 0.5rem 1rem;
        color: var(--primary);
        text-align: center;
    }
}
@media (max-width: 768px) {
    /* Стрелка для мобильного dropdown */
    .dropdown .button-outline::after {
        content: '▼';
        display: inline-block;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }

    /* Разворот стрелки при открытом меню */
    .dropdown.active .button-outline::after {
        transform: rotate(180deg);
    }

    /* Анимация появления выпадающего меню */
    .dropdown-content {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    .dropdown.active .dropdown-content {
        max-height: 500px; /* Достаточно большое значение для содержимого */
        transition: max-height 0.3s ease-in;
    }
}

.benefits-list {
    max-width: 100%;
    padding-left: 0; /* Убираем лишние отступы */
    list-style-position: inside; /* Перемещаем маркеры внутрь */
}

.benefits-list li {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    flex-shrink: 0; /* Запрещаем сжимать иконку */
    margin-right: 8px; /* Добавляем отступ между иконкой и текстом */
}

/*
.container {
    max-width: 800px;
    margin: 0 auto;
    background: #fff; /* Белый фон для контента */
    padding: 20px;
    border-radius: 8px; /* Закругление углов */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Легкая тень для объема */
}
*//*
.benefits-list li {
    font-size: 17px;
}*/
/*
@media (max-width: 600px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 15px;
    }
}*/





h1 {
    font-size: 28px;
    color: #2c3e50; /* Темно-синий цвет для заголовка */
    margin-bottom: 20px;
    font-weight: 700; /* Жирный шрифт */
}

h2 {
    font-size: 24px;
    color: #c3d1df; /* Синий цвет для подзаголовков */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

h3 {
    font-size: 20px;
    color: #16a085; /* Зеленый цвет для подзаголовков третьего уровня */
    margin-top: 20px;
    margin-bottom: 10px;
    font-weight: 500;
}
/*
p {
    font-size: 17px;
    color: #555; /* Серый цвет для основного текста */
    margin-bottom: 15px;
}
*/
.benefits-list {
    max-width: 100%;
    padding-left: 0;
    list-style-position: inside;
}

.benefits-list li {
    word-wrap: break-word;
    white-space: normal;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
    font-size: 17px;
    color: #555; /* Серый цвет для текста списка */
    margin-bottom: 10px;
}

.benefits-list li i {
    flex-shrink: 0;
    margin-right: 8px;
    color: #16a085; /* Зеленый цвет для иконок */
}

/* Стили для этапов лечения */
.treatment-stages .stage {
    background-color: #f0f4f8; /* Светло-голубой фон для блоков этапов */
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.treatment-stages .stage h3 {
    color: #2c3e50; /* Темно-синий цвет для заголовков этапов */
}

/* Медиа-запросы для мобильных устройств */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .container {
        padding: 15px;
    }

    .benefits-list li i {
        font-size: 14px;
        margin-right: 6px;
    }
}

@media (max-width: 768px) {
    .logo-image {
        height: 45px; /* Меньший размер для мобильных */
    }
    
    .logo-text {
        font-size: 1.2rem; /* Уменьшаем шрифт на мобильных */
    }
}

/* Для очень маленьких экранов можно скрыть текст */
@media (max-width: 480px) {
    .logo {
        gap: 45px;
    }
}
