/* Общие стили и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
	font-family: "Geologica", sans-serif;
}

body {
    line-height: 1.6;
    color: #333;
    background-color: #FAFCFF;
}

.container {
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Кнопки */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.button-primary {
    background-color: #1a335e; /* Темно-синий */
    color: white;
    border: none;
}

.button-primary:hover {
    background-color: #0d203b;
}

.button-secondary {
    background-color: #1a335e;
    color: white;
    border: none;
    padding: 15px 30px; /* Больше для hero-секции */
    font-size: 1.1em;
}

.button-secondary:hover {
    background-color: #0d203b;
}

.header-button .icon-callback {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    color: white;
    stroke: currentColor;
}


/* Header (Навигация) */
.header {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}



.logo-text {
    font-weight: bold;
    font-size: 1.3em;
    color: #1a335e;
}

.logo-tagline {
    font-size: 0.8em;
    color: #777;
    margin-left: -5px; /* Немного сдвинуть, чтобы было ближе к тексту */
    display: none; /* Скрыть на мобильных по умолчанию */
}



/* Hero Section */
.hero-section {
    background-color: #f9f9f9;
    padding: 20px 0;
    overflow: hidden; /* Для обрезки изображений, если они выходят за блок */
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px; /* Отступ между текстовым и графическим блоками */
}

.hero-text-block {
    flex: 1;
    max-width: 55%; /* Контролируем ширину блока */
}

.hero-title {
    color: #1a335e;
    font-size: 3em; /* Крупнее для десктопа */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.1;
    text-transform: uppercase;
}

.hero-description {
    color: #555;
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.hero-image-block {
    flex: 1;
    max-width: 50%;
    /* padding-bottom: 40px; */ /* Для карточки с информацией о докторе */
    background: #1a335e;
    border-radius: 20px;
    position: relative;
}

.hero-doctor-image {
    width: 100%;
    height: auto;
    border-radius: 10px;
    display: block; /* Убирает лишний пробел под изображением */
    /* position: absolute; */
    left: 0;
}

.doctor-info-card {
    background-color: #1a335e;
    color: white;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    bottom: 0; /* Прикрепить к низу блока */
    left: 20px;
    right: 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    display: none;
}

.doctor-name {
    margin: 0 0 5px 0;
    font-size: 1.2em;
}

.doctor-title {
    font-size: 0.9em;
    margin-bottom: 15px;
    opacity: 0.8;
}

.rehab-count {
    background-color: #8ac6f7; /* Светло-голубой */
    color: #1a335e;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block; /* Для корректного отображения внутренних отступов */
    font-size: 0.9em;
    line-height: 1.3;
}

/* БЛОК: О МЕТОДИКЕ */
.methodology-section {
    background-color: #f9f9f9; /* Или белый, если секция выше будет белой */
    padding: 60px 0;
}

.methodology-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.methodology-text-block {
    flex: 1;
    max-width: 50%;
}

.section-title {
    color: #1a335e;
    font-size: 2.2em;
    font-weight: bold;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.methodology-description {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin-bottom: 30px;
}

.methodology-features {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: white;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 30px;
    height: 30px;
    min-width: 30px; /* Чтобы иконка не сжималась */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #8ac6f7; /* Цвет фона иконки */
    border-radius: 50%;
    color: #1a335e; /* Цвет самой иконки */
}

.feature-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
}

.feature-item p {
    margin: 0;
    color: #333;
    font-weight: 500;
}

.methodology-image-block {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.methodology-image {
    width: 100%;
    height: auto;
    border-radius: 45px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* БЛОК: ЭТАПЫ ЛЕЧЕНИЯ */
.steps-section {
    background-color: #f9f9f9; /* Фоновый цвет секции */
    padding: 60px 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: 1fr repeat(2, 1fr); /* 1 колонка для заголовка, 3 для карточек */
    gap: 20px;
     /* Выравнивание элементов по верху */
    align-items: center;
    justify-content: space-between;
}

.steps-title-col {
    padding-right: 20px;
    text-align: left;
}

.steps-title {
    font-size: 2.5em; /* Крупнее для заголовка */
    line-height: 1.1;
    margin-bottom: 0; /* Убираем стандартный отступ */
    text-align: left;
}

.step-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 25px;
    position: relative;
    overflow: hidden; /* Для скрытия номера, если выходит за границы */
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* Выравнивание содержимого по левому краю */
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2.5em; /* Большой номер */
    font-weight: bold;
    color: rgb(255 255 255); /* Прозрачный темно-синий */
    line-height: 1; /* Чтобы номер был компактнее */
    z-index: 1; /* Чтобы был под содержимым */
    width: 50px;
    padding: 5px  0px;
    background: #b69c85;
    text-align: center;
    border-radius: 15px;
}

.step-image-wrapper {
    width: 80px; /* Размер контейнера для изображения */
    height: 80px;
    background-color: #f0f5ff; /* Легкий синий фон для обложки изображения */
    border-radius: 8px; /* Скругление углов обложки */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    overflow: hidden; /* Обрезка изображения, если оно больше контейнера */
    z-index: 2; /* Поверх номера */
}

.step-image {
    width: 100%; /* Изображение внутри обложки */
    height: 100%;
    object-fit: cover; /* Чтобы изображение занимало всю область без искажений */
    border-radius: 8px; /* Скругление углов самого изображения */
}

.step-title {
    color: #1a335e;
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 10px;
    z-index: 2; /* Поверх номера */
}

.step-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
    z-index: 2; /* Поверх номера */
}

/* БЛОК: ПОЧЕМУ ВЫБИРАЮТ НАС */
.why-us-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.why-us-content {
    display: flex;
    background-color: white; /* Фон для всего блока */
    border-radius: 20px;
    overflow: hidden; /* Важно для скругления углов изображения */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    padding-left: 0;
}

.why-us-left {
    flex: 1;
    background-color: #1a335e; /* Темно-синий фон */
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Распределить пространство */
    align-items: flex-start; /* Выравнивание по левому краю */
    position: relative;
    color: white; /* Цвет текста */
    border-radius: 20px;
}

.why-us-title {
    color: white; /* Заголовок белый */
    font-size: 2.8em; /* Крупный заголовок */
    line-height: 1.1;
    margin-bottom: 20px;
    text-align: left; /* Важно, чтобы текст заголовка был выровнен влево */
}

.why-us-doctor-image {
    width: 100%; /* Изображение занимает всю доступную ширину */
    height: auto;
    object-fit: contain; /* Убедимся, что изображение полностью видно */
    position: absolute;
    bottom: 0;
     /* Можно ограничить высоту */
     /* Немного вытолкнуть вниз, если нужно */
    z-index: 0;
}

.why-us-right {
    flex: 1;
    padding: 150px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center; /* Центрируем элементы по вертикали */
    gap: 30px;
}

.why-us-item {
    text-align: left;
}

.percentage-highlight {
    font-size: 3em; /* Большой процент */
    font-weight: bold;
    color: #ffd700; /* Ярко-желтый для акцента */
    margin-bottom: 5px;
    line-height: 1;
}

.item-title {
    color: #1a335e;
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 10px;
}

.item-description {
    color: #666;
    font-size: 0.95em;
    line-height: 1.5;
}

/* БЛОК: С КАКИМИ ЗАВИСИМОСТЯМИ МЫ РАБОТАЕМ */
.addictions-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.addictions-content {
    display: flex;
    gap: 40px;
    align-items: center; /* Выравнивание по центру по вертикали */
}

.addictions-title-col {
    flex-shrink: 0; /* Не сжимать заголовок */
    text-align: left;
}

.addictions-title {
    font-size: 2.5em;
    line-height: 1.1;
    margin-bottom: 0;
}

.addictions-grid {
    flex-grow: 1; /* Занимает оставшееся пространство */
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки */
    gap: 20px;
}

.addiction-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    padding: 15px;
    gap: 15px;
}

.addiction-image-wrapper {
    width: 80px; /* Фиксированный размер для обложки изображения */
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0; /* Чтобы не сжимался при недостатке места */
}

.addiction-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Обрезать изображение, чтобы оно заполняло контейнер */
    display: block;
}

.addiction-name {
    font-size: 1em;
    color: #1a335e;
    font-weight: 600;
    line-height: 1.3;
}

/* НОВЫЙ БЛОК: С ВАМИ БУДУТ РАБОТАТЬ */
.team-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.team-content {
    /* display: grid; */
    /* grid-template-columns: 1fr 1fr; */ /* 2 колонки: 1 для карточек, 1 для промо */
    /* gap: 30px; */
    /* align-items: start; */ /* Выравнивание по верху */
}

.team-main-title {
    grid-column: 1 / -1; /* Заголовок занимает всю ширину */
    text-align: left;
    margin-bottom: 30px;
    font-size: 2.2em; /* Соответствует другим заголовкам секций */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 колонки для карточек специалистов */
    gap: 35px 35px;
}

.team-member-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    padding: 20px 35px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}


.member-icon svg {
    width: 24px;
    height: 24px;
    color: #1a335e; /* Цвет иконки */
    stroke: currentColor;
    fill: none;
}

.member-role {
    font-size: 1em;
    color: #1a335e;
    font-weight: 600;
    line-height: 1.4;
}

.team-promo-card {
    background-color: white; /* Фон для всей карточки, если изображение не на весь фон */
    border-radius: 35px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden; /* Важно для скругления углов изображения */
    display: flex; /* Для центрирования текста */
    justify-content: center;
    align-items: center;
    min-height: 350px; /* Минимальная высота, чтобы карточка не была слишком маленькой */
    position: relative;
}

.team-promo-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Изображение заполняет всю карточку */
    /* position: absolute; */
    top: 0;
    left: 0;
    z-index: 1;
}

.team-promo-text-overlay {
    position: absolute; /* Чтобы текст был поверх изображения */
    z-index: 2;
    background-color: rgba(26, 51, 94, 0.6); /* Полупрозрачный темно-синий фон для текста */
    padding: 20px;
    border-radius: 8px;
    color: white;
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    line-height: 1.3;
    max-width: 80%; /* Ограничить ширину текста */
    bottom: 20px;
}







.swiper-container {
        width: 100%;
        height: 100%;
    }
    .swiper-slide {
        text-align: center;
        font-size: 18px;
        background: #fff;
        
        /* Center slide text vertically */
        display: -webkit-box;
        display: -ms-flexbox;
        display: -webkit-flex;
        display: flex;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        -webkit-justify-content: center;
        justify-content: center;
        -webkit-box-align: center;
        -ms-flex-align: center;
        -webkit-align-items: center;
        align-items: center;
    }


        /* Стили для навигации и точек, чтобы они не накладывались */
        .owl-nav button {
            background: #007bff !important;
            color: white !important;
            border-radius: 50% !important;
            width: 40px;
            height: 40px;
            line-height: 40px;
            font-size: 20px;
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            z-index: 10;
        }
        .owl-nav button.owl-prev {
            left: -20px; /* Отступ от контейнера */
        }
        .owl-nav button.owl-next {
            right: -20px; /* Отступ от контейнера */
        }
        .owl-dots button.owl-dot span {
            background: #ccc !important;
        }
        .owl-dots button.owl-dot.active span {
            background: #007bff !important;
        }
		
      
		/* НОВЫЙ БЛОК: О ЦЕНТРЕ */
.about-center-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}


.about-center-text-block {
    flex: 1;
    max-width: 50%; /* Занимает половину ширины */
    text-align: left;
}

.about-center-description {
    color: #555;
    font-size: 1em;
    line-height: 1.6;
    margin-top: 20px; /* Отступ от заголовка */
}

.about-center-image-block {
    flex: 1;
    max-width: 50%; /* Занимает половину ширины */
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    padding-bottom: 20px; /* Для выступающих изображений */
}

.main-center-image {
    width: 100%;
    height: auto;
    display: block;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.overlay-images {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around; /* Распределение изображений */
    align-items: flex-end; /* Выравнивание по низу */
    padding: 0 10%; /* Горизонтальные отступы внутри блока */
    gap: 15px; /* Отступ между наложенными изображениями */
    transform: translateY(50%); /* Выступают на 50% своей высоты */
}

.overlay-image {
    width: 150px; /* Фиксированная ширина */
    height: 100px; /* Фиксированная высота */
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 3px solid white; /* Белая обводка */
}

/* Адаптивность для блока "О ЦЕНТРЕ" */


/* НОВЫЙ БЛОК: ОСТАВЬТЕ ЗАЯВКУ И КАРТА */
.contact-section {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.contact-content {
    display: flex;
    gap: 30px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Важно для скругленных углов */
	padding-right: 0;
}

.contact-form-block {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-form-title {
    color: #1a335e;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 30px;
    line-height: 1.2;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
    border-color: #8ac6f7;
}

.form-textarea {
    resize: vertical; /* Разрешаем вертикальное изменение размера */
    min-height: 100px;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 0.9em;
    color: #666;
    user-select: none; /* Предотвращаем выделение текста при клике на чекбокс */
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #eee;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #1a335e;
    border-color: #1a335e;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.form-submit-button {
    width: auto; /* Автоматическая ширина по контенту */
    align-self: flex-start; /* Прижимаем кнопку к левому краю */
    padding: 15px 40px;
    font-size: 1em;
    margin-top: 10px;
}

.contact-map-block {
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 400px; /* Минимальная высота для карты */
    border-radius: 0 15px 15px 0; /* Скругление только справа */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Карта сверху, кнопка снизу */
}

.map-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e0e0e0; /* Фоновый цвет для карты */
    display: flex;
    justify-content: center;
    align-items: center;
    color: #555;
    font-size: 1.2em;
    overflow: hidden;
}

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

.map-button {
    position: relative; /* Чтобы кнопка была поверх карты */
    z-index: 2;
    margin: 20px; /* Отступы от края карты */
    align-self: flex-start; /* Прижимаем к левому краю блока */
    padding: 12px 25px;
    font-size: 0.9em;
}

.map-button svg {
    margin-left: 10px;
    width: 16px;
    height: 16px;
    color: white;
}

/* Адаптивность для блока "Контакты" */




/* НОВЫЙ БЛОК: ПОДВАЛ (FOOTER) */
.footer {
    background-color: #1a335e; /* Темно-синий фон */
    padding: 40px 0;
    color: white; /* Белый текст */
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center; /* Выравнивание по центру по вертикали */
    gap: 30px; /* Отступы между элементами */
    flex-wrap: wrap; /* Перенос элементов на новую строку при необходимости */
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* Чтобы не сжимался */
}

.footer-logo-text {
    font-weight: bold;
    font-size: 1.3em;
    color: white;
}

.footer-logo-tagline {
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7); /* Чуть светлее */
    margin-left: -5px; /* Немного сдвинуть */
    display: block; /* Отображаем на отдельной строке */
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* Не переносить содержимое элемента */
}

.footer-contact-item svg {
    width: 24px;
    height: 24px;
    color: #8ac6f7; /* Светло-голубой для иконок */
    flex-shrink: 0; /* Иконка не сжимается */
}

.footer-contact-item .contact-info {
    display: flex;
    flex-direction: column;
}

.footer-contact-item .contact-label {
    font-size: 0.85em;
    opacity: 0.7;
}

.footer-contact-item .contact-value {
    font-size: 1em;
    font-weight: bold;
    color: white;
    white-space: nowrap; /* Чтобы номер телефона не переносился */
}







.hero-content {
    background: white;
    padding-right: 0;
    border-radius: 20px;
    box-shadow: 0px 1px 15px #1a335e;
}
.team-section-wrapper {
    display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: center;
}
.team-promo-card {
    flex: 1;
}
.team-grid-wrapper {
    flex: 2;
}
.member-icon {
    border-bottom: 1px solid;
    margin-bottom: 10px;
}
.item {
    position: relative;
}

.item-name {
    position: absolute;
    bottom: 50px;
    width: 95%;
    margin: 0 auto;
    left: 0;
    right: 0;
    text-align: center;
    background: #ffffff94;
    border-radius: 10px;
    padding: 20px 0px;
    transition: 0.5s;
}




.about-center-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.6);
}

.modal-content {
  background-color: white;
  margin: 10% auto;
  padding: 20px;
  width: 90%;
  max-width: 400px;
  border-radius: 8px;
  position: relative;
}

.close {
  color: #aaa;
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}
.specialist .item-description {
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background: #1a335eba;
    z-index: 1;
    transition: 0.5s linear;
    opacity:0;
	padding: 5px;
	color:white;
}
.specialist:hover .item-description {
    opacity: 1;
}
.specialist__certified {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 0;
    width: 180px;
}
.specialist .item-name {
    transition: 0.5s linear;
	opacity:1;
}
.specialist:hover .item-name {
    opacity:0;
	transition: 0.5s linear;
}

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-family: Arial, sans-serif;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;

    /* Ускоряем анимацию до 1 секунды */
    animation: pulse 1s infinite; /* Изменено с 2s на 1s */
}

.whatsapp-button:hover {
    background-color: #1DA851;
    animation: none;
}

.whatsapp-icon {
    width: 30px;
    height: 30px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Keyframes остаются без изменений, так как они определяют стадии анимации, а не скорость */
@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
}  

.navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
            min-height: 70px;
        }

        /* БУРГЕР */
        .burger {
            display: none;
            background: none;
            border: none;
            width: 32px;
            height: 24px;
            cursor: pointer;
            position: relative;
            z-index: 1020;
        }

        .burger span {
            display: block;
            width: 100%;
            height: 3px;
            background: #1e293b;
            border-radius: 4px;
            transition: 0.2s;
            position: absolute;
            left: 0;
        }

        .burger span:nth-child(1) { top: 0; }
        .burger span:nth-child(2) { top: 10px; }
        .burger span:nth-child(3) { top: 20px; }

        .burger.active span:nth-child(1) {
            transform: rotate(45deg);
            top: 10px;
        }
        .burger.active span:nth-child(2) {
            opacity: 0;
        }
        .burger.active span:nth-child(3) {
            transform: rotate(-45deg);
            top: 10px;
        }

        /* МЕНЮ (десктоп) */
        .nav-menu {
            display: flex;
            align-items: center;
            gap: 8px;
            list-style: none;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 4px;
            padding: 10px 18px;
            font-size: 1rem;
            font-weight: 500;
            color: #334155;
            text-decoration: none;
            border-radius: 50px;
            transition: 0.2s;
            cursor: pointer;
            background: transparent;
            border: none;
        }

        .nav-link:hover {
            background: #eef2ff;
            color: #1e40af;
        }

        /* Стрелка у пунктов с подменю */
        .has-submenu > .nav-link::after {
            content: "⌵";
            font-size: 1.2rem;
            margin-left: 4px;
            transition: transform 0.2s;
        }

        .has-submenu.open > .nav-link::after {
            transform: rotate(180deg);
        }

        /* Подменю (десктоп — ховер) */
        .submenu {
            position: absolute;
            top: 100%;
            left: 0;
            background: white;
            min-width: 210px; 
            box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.1);
            padding: 10px 0;
            list-style: none;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: 0.2s ease;
            z-index: 1050;
        }

        .nav-item.has-submenu:hover .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .submenu li a {
            display: block;
            padding: 10px 20px;
            color: #334155;
            text-decoration: none;
            font-size: 0.9rem;
            transition: 0.2s;
        }

        .submenu li a:hover {
            background: #f1f5f9;
            padding-left: 26px;
            color: #0f172a;
        }

        /* Активный пункт */
        .nav-link.active {
            background: #eef2ff;
            color: #1e40af;
            font-weight: 600;
        }

        /* ===== МОБИЛЬНАЯ ВЕРСИЯ ===== */
        @media (max-width: 800px) {
            .burger {
                display: block;
            }

            .nav-menu {
                position: fixed;
                top: 102px;
                left: -100%;
                width: 80%;
                max-width: 340px;
                height: calc(100% - 70px);
                background: white;
                flex-direction: column;
                align-items: stretch;
                gap: 0;
                padding: 20px 16px;
                box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
                transition: left 0.3s ease;
                overflow-y: auto;
                z-index: 1000;
            }

            .nav-menu.active {
                left: 0;
            }

            .nav-item {
                width: 100%;
                margin: 4px 0;
            }

            .nav-link {
                justify-content: space-between;
                width: 100%;
                padding: 14px 16px;
                background: #f8fafc;
                border-radius: 14px;
                font-size: 1rem;
            }

            .has-submenu > .nav-link::after {
                content: "⌵";
                font-size: 1.4rem;
                order: 2;
                margin-left: auto;
            }

            .submenu {
                position: static;
                box-shadow: none;
                background: #ffffff;
                border: 1px solid #e2e8f0;
                border-radius: 14px;
                margin-top: 8px;
                margin-left: 12px;
                width: calc(100% - 12px);
                padding: 6px 0;
                display: none;
                opacity: 1;
                visibility: visible;
                transform: none;
            }

            .nav-item.has-submenu.mobile-open .submenu {
                display: block;
            }

            .nav-item.has-submenu:hover .submenu {
                display: none;
            }
            .nav-item.has-submenu.mobile-open:hover .submenu {
                display: block;
            }

            .submenu li a {
                padding: 12px 20px;
            }
        }
.sticky-content.fixed {
    position: fixed;
    width: 100%;
    left: 0;
    right: 0;
    z-index: 10;
    top: 0;
}
.signs-section ul {
    margin-left: 20px;
}
.signs-section ul li {
    list-style-type: disclosure-closed;
}

/* основной контент */
        .page-title {
            margin: 48px 0 24px 0;
        }
        .page-title h1 {
            font-size: 2.5rem;
            font-weight: 700;
            color: #0f172a;
            letter-spacing: -0.02em;
        }
        .page-title p {
            color: #475569;
            margin-top: 8px;
            font-size: 1.1rem;
        }

        /* сетка контакты + форма */
        .contacts-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 40px;
            margin: 40px 0 60px;
        }

        /* карточки информации */
        .info-card {
            background: #fff;
            border-radius: 32px;
            padding: 32px 28px;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.02);
            transition: transform 0.2s ease, box-shadow 0.2s;
            height: 100%;
        }
        .info-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 25px 40px -14px rgba(0, 0, 0, 0.1);
        }
        .info-title {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 28px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .info-title i {
            font-size: 1.8rem;
            color: #2a5298;
        }
        .contact-detail {
            display: flex;
            gap: 18px;
            margin-bottom: 28px;
            align-items: flex-start;
        }
        .contact-icon {
            min-width: 48px;
            height: 48px;
            background: #eef2ff;
            border-radius: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #2a5298;
            font-size: 1.4rem;
        }
        .contact-text h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 6px;
            color: #0f172a;
        }
        .contact-text p, .contact-text a {
            color: #334155;
            text-decoration: none;
            transition: 0.2s;
        }
        .contact-text a:hover {
            color: #2a5298;
        }
        .social-links {
            display: flex;
            gap: 20px;
            margin-top: 30px;
            flex-wrap: wrap;
        }
        .social-links a {
            background: #f1f5f9;
            width: 44px;
            height: 44px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: 30px;
            color: #1e293b;
            font-size: 1.3rem;
            transition: all 0.2s;
        }
        .social-links a:hover {
            background: #2a5298;
            color: white;
            transform: scale(1.05);
        }

        /* форма */
        .form-card {
            background: #fff;
            border-radius: 32px;
            padding: 32px 28px;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.05);
            height: 100%;
        }
        .form-card h3 {
            font-size: 1.8rem;
            font-weight: 600;
            margin-bottom: 12px;
        }
        .form-card p {
            color: #475569;
            margin-bottom: 28px;
        }
        .input-group {
            margin-bottom: 20px;
        }
        .input-group label {
            display: block;
            font-weight: 500;
            margin-bottom: 8px;
            color: #1e293b;
        }
        .input-group input,
        .input-group textarea {
            width: 100%;
            padding: 14px 18px;
            border: 1.5px solid #e2e8f0;
            border-radius: 24px;
            font-family: 'Inter', sans-serif;
            font-size: 1rem;
            transition: 0.2s;
            background: #fefefe;
            outline: none;
        }
        .input-group input:focus,
        .input-group textarea:focus {
            border-color: #2a5298;
            box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.15);
        }
        .btn-submit {
            background: linear-gradient(105deg, #1e3c72, #2a5298);
            color: white;
            border: none;
            padding: 14px 28px;
            font-size: 1rem;
            font-weight: 600;
            border-radius: 40px;
            width: 100%;
            cursor: pointer;
            transition: all 0.25s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 12px;
            margin-top: 12px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
        }
        .btn-submit:hover {
            background: linear-gradient(105deg, #143158, #1f3e70);
            transform: scale(0.98);
            box-shadow: 0 6px 14px rgba(0, 0, 0, 0.1);
        }
        .required-star {
            color: #e53e3e;
        }

        /* секция карты */
        .map-section {
            margin: 40px 0 60px;
        }
        .map-title {
            font-size: 1.6rem;
            font-weight: 600;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        .map-container {
            border-radius: 28px;
            overflow: hidden;
            box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
            background: #eef2ff;
            height: 380px;
            z-index: 1;
        }
        #contactMap {
            height: 100%;
            width: 100%;
            border-radius: 28px;
        }

       

        /* адаптив */
        @media (max-width: 900px) {
            .contacts-grid {
                grid-template-columns: 1fr;
                gap: 32px;
            }
            .navbar {
                flex-direction: column;
            }
            .nav-links {
                gap: 24px;
            }
            .page-title h1 {
                font-size: 2rem;
            }
            .info-card, .form-card {
                padding: 28px 20px;
            }
        }

        @media (max-width: 560px) {
            .container {
                padding: 0 20px;
            }
            .map-container {
                height: 280px;
            }
            .contact-detail {
                gap: 12px;
            }
        }
		/* Hero */
        .blog-hero {
            background: linear-gradient(135deg, #eef2ff, white);
            padding: 48px 0 32px;
            margin-bottom: 32px;
            text-align: center;
        }
        .blog-hero h1 {
            font-size: 2.5rem;
            font-weight: 800;
            color: #0f172a;
        }
        .blog-hero p {
            margin-top: 10px;
            color: #334155;
        }

        /* Фильтры */
        .filter-bar {
            display: flex;
            justify-content: center;
            flex-wrap: wrap;
            gap: 12px;
            margin: 32px 0 40px;
        }
        .filter-btn {
            background: white;
            border: 1px solid #cbd5e1;
            padding: 8px 22px;
            border-radius: 40px;
            font-weight: 500;
            cursor: pointer;
            font-family: inherit;
            transition: 0.2s;
        }
        .filter-btn.active {
            background: #1e3c72;
            border-color: #1e3c72;
            color: white;
        }
        .filter-btn:hover:not(.active) {
            background: #f1f5f9;
        }

        /* Сетка карточек (статьи в HTML) */
        .posts-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
            gap: 32px;
            margin-bottom: 48px;
        }
        .post-card {
            background: white;
            border-radius: 24px;
            overflow: hidden;
            box-shadow: 0 6px 14px rgba(0,0,0,0.05);
            transition: 0.25s;
            display: flex;
            flex-direction: column;
        }
        .post-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 18px 30px -12px rgba(0,0,0,0.15);
        }
        .card-img {
            height: 200px;
            background-size: cover;
            background-position: center;
            position: relative;
        }
        .card-category {
            position: absolute;
            top: 12px;
            left: 12px;
            background: rgba(0,0,0,0.75);
            backdrop-filter: blur(2px);
            color: white;
            padding: 4px 12px;
            border-radius: 40px;
            font-size: 0.75rem;
            font-weight: 600;
            letter-spacing: 0.3px;
        }
        .card-content {
            padding: 20px 20px 26px;
            flex: 1;
        }
        .post-meta {
            display: flex;
            gap: 18px;
            font-size: 0.8rem;
            color: #5b6e8c;
            margin-bottom: 12px;
        }
        .post-title {
            font-size: 1.4rem;
            font-weight: 700;
            margin-bottom: 12px;
            line-height: 1.3;
        }
        .post-excerpt {
            color: #334155;
            margin-bottom: 20px;
        }
        .read-more {
            font-weight: 600;
            color: #1e3c72;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }
        .read-more:hover {
            gap: 12px;
        }

        /* Пагинация */
        .pagination {
            display: flex;
            justify-content: center;
            gap: 12px;
            margin: 20px 0 70px;
            flex-wrap: wrap;
        }
        .page-item {
            background: white;
            border: 1px solid #cbd5e1;
            padding: 8px 16px;
            border-radius: 40px;
            cursor: pointer;
            transition: 0.2s;
            font-weight: 500;
        }
        .page-item.active-page {
            background: #1e3c72;
            border-color: #1e3c72;
            color: white;
        }
        .page-item:hover:not(.active-page) {
            background: #f1f5f9;
        }
 

        @media (max-width: 700px) {
            .navbar {
                flex-direction: column;
            }
            .posts-grid {
                grid-template-columns: 1fr;
            }
        }
		/* Основная сетка статьи */
        .article-wrapper {
                max-width: 1112px;
				margin: 48px auto;
        }

        /* Левая колонка: контент статьи */
        .article-content {
            background: white;
            border-radius: 28px;
            padding: 32px 36px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.03);
        }

        .article-header {
            margin-bottom: 28px;
        }
        .article-category {
            display: inline-block;
            background: #eef2ff;
            color: #1e3c72;
            padding: 4px 14px;
            border-radius: 30px;
            font-size: 0.85rem;
            font-weight: 600;
            margin-bottom: 16px;
        }
        .article-title {
            font-size: 2.2rem;
            font-weight: 800;
            line-height: 1.3;
            margin-bottom: 16px;
            color: #0f172a;
        }
        .article-meta {
            display: flex;
            flex-wrap: wrap;
            gap: 24px;
            color: #5b6e8c;
            font-size: 0.9rem;
            border-bottom: 1px solid #e2e8f0;
            padding-bottom: 20px;
            margin-bottom: 24px;
        }
        .article-meta span {
            display: inline-flex;
            align-items: center;
            gap: 8px;
        }

        .featured-image {
            width: 100%;
            border-radius: 20px;
            margin: 20px 0 30px;
            overflow: hidden;
        }
        .featured-image img {
            width: 100%;
            height: auto;
            display: block;
        }

        .article-body p {
            margin-bottom: 1.4rem;
            font-size: 1.05rem;
            color: #1e293b;
        }
        .article-body h2 {
            font-size: 1.6rem;
            margin: 32px 0 16px;
            font-weight: 700;
        }
        .article-body h3 {
            font-size: 1.3rem;
            margin: 24px 0 12px;
        }
        .article-body blockquote {
            border-left: 4px solid #1e3c72;
            background: #f8fafc;
            padding: 16px 24px;
            margin: 24px 0;
            font-style: italic;
            color: #334155;
            border-radius: 16px;
        }

        /* Боковая панель */
        .sidebar {
            position: sticky;
            top: 100px;
            align-self: start;
        }
        .sidebar-widget {
            background: white;
            border-radius: 24px;
            padding: 24px;
            margin-bottom: 32px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .sidebar-widget h3 {
            font-size: 1.3rem;
            margin-bottom: 16px;
            font-weight: 700;
        }
        .sidebar-widget ul {
            list-style: none;
        }
        .sidebar-widget li {
            margin-bottom: 12px;
        }
        .sidebar-widget a {
            text-decoration: none;
            color: #1e3c72;
            font-weight: 500;
        }
        .social-share {
            display: flex;
            gap: 16px;
            margin-top: 16px;
        }
        .social-share a {
            display: inline-flex;
            background: #eef2ff;
            width: 40px;
            height: 40px;
            border-radius: 40px;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            font-size: 1.2rem;
        }

        /* Комментарии (демо) */
        .comments-section {
            background: white;
            border-radius: 28px;
            padding: 32px 36px;
            margin-top: 32px;
        }
        .comments-title {
            font-size: 1.5rem;
            margin-bottom: 20px;
        }
        .comment-form textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #cbd5e1;
            border-radius: 20px;
            font-family: inherit;
            margin-bottom: 12px;
        }
        .comment-form button {
            background: #1e3c72;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 600;
        }
        .comment-list {
            margin-top: 24px;
        }
        .comment-item {
            border-top: 1px solid #e2e8f0;
            padding: 16px 0;
        }

        /* Лайк */
        .like-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: #f1f5f9;
            border: none;
            padding: 8px 18px;
            border-radius: 40px;
            cursor: pointer;
            font-weight: 500;
            margin-top: 20px;
        } 

        @media (max-width: 900px) {
            .article-wrapper {
                grid-template-columns: 1fr;
            }
            .sidebar {
                position: static;
            }
            .article-content {
                padding: 24px;
            }
        }
.article-body a {
    font-weight: bold;
    color: #00068f;
    text-decoration: underline;
}