/* Общие стили и сброс */
* {
    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; /* Скрыть на мобильных по умолчанию */
}

.nav-menu ul {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-menu a {
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #1a335e;
}

.nav-menu .header-button {
    margin-left: 15px; /* Отступ от предыдущего пункта меню */
}

/* Гамбургер-иконка (скрыта на десктопе) */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1001; /* Поверх всего */
}

.hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #1a335e;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}


/* 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;
}

.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;
}

.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;
        }
		/* --- Стили для навигации --- */
        .navbar {
            background-color: #333;
            color: #fff;
            padding: 10px 0;
            position: relative;
        }

        .navbar-brand {
            font-size: 1.8em;
            font-weight: bold;
            color: #fff;
            text-decoration: none;
            padding: 0 20px;
            float: left; /* Для десктопа */
        }

        /* Кнопка бургера для мобильных устройств */
        .menu-toggle {
            display: none; /* Скрыть по умолчанию на десктопе */
            background: none;
            border: none;
            color: #fff;
            font-size: 1.5em;
            cursor: pointer;
            padding: 0 20px;
            float: right; /* Для мобильных */
            line-height: 40px; /* Выравнивание по центру */
            z-index: 1001; /* Поверх меню */
            position: relative; /* Для Safari/iOS, чтобы был кликабельным */
        }

        .menu-toggle:focus {
            outline: none;
        }

        /* Очистка float */
        .navbar::after {
            content: "";
            display: table;
            clear: both;
        }

        /* Основное навигационное меню */
        .nav-list {
            list-style: none;
            margin: 0;
            padding: 0;
            float: right; /* Для десктопа */
        }

        .nav-list > li {
            display: inline-block; /* Элементы в линию на десктопе */
            position: relative; /* Для выпадающего меню */
        }

        .nav-list > li > a {
            display: block;
            text-decoration: none;
            padding: 15px 20px;
            transition: background-color 0.3s ease;
        }

        .nav-list > li > a:hover {
            background-color: #1a335e;
			color: #fff;
        }
		button.menu-toggle {
    color: #ffffff;
    background: #1a335e;
    border-radius: 5px;
}

        /* Выпадающее меню (второй уровень) */
        .submenu {
            list-style: none;
            margin: 0;
            padding: 0;
            position: absolute;
            top: 100%; /* Позиционирование под родительским элементом */
            left: 0;
            background-color: #444;
            min-width: 180px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.2);
            z-index: 1000;
            /* Скрыть по умолчанию и подготовить к плавности */
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        }

        .nav-list > li:hover > .submenu {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .submenu li a {
            display: block;
            color: #fff;
            text-decoration: none;
            padding: 10px 20px;
            transition: background-color 0.3s ease;
        }

        .submenu li a:hover {
            background-color: #666;
        }

     
		
		/* На десктопе при наведении на родителя */
        .nav-list > li:hover > a,
        /* На мобильных, когда подменю открыто (JS добавляет active) */
        .nav-list > li.has-submenu.active > a {
            background-color: #007bff; /* Пример: синий фон */
            color: #fff; /* Белый текст */
        }
      
		/* НОВЫЙ БЛОК: О ЦЕНТРЕ */
.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);
    }
}  