/* Consultation Component Styles */
.consultation {

    /* margin-bottom: -150px; */
    position: relative;
    z-index: 2;
}

.consultation__container {
    max-width: 1320px;
    margin: 0 auto;
}

.consultation__card {
    background: var(--berloga-dark-blue);
    border-radius: 30px;
    box-shadow: var(--ten-kartochki-box-shadow);
    padding: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

/* Фото врача */
.consultation__image {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}

.consultation__image-circle {
    width: 100%;
    height: 100%;
    background: var(--berloga-blue);
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.consultation__image-pic {
    width: 152px;
    height: 152px;
    object-fit: cover;
}

/* Контент */
.consultation__content {
    flex: 1;
    max-width: 840px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    text-align: center;
}

/* Бейдж */
.consultation__badge {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.consultation__badge-icon {
    width: 23px;
    height: 20px;
    flex-shrink: 0;
}

.consultation__badge-text {
    font-family: var(--accent-text-font-family);
    font-size: var(--accent-text-font-size);
    font-weight: 500;
    color: var(--berloga-white);
    line-height: normal;
}

/* Заголовок */
.consultation__title {
    font-family: var(--h2-font-family);
    font-size: 40px;
    font-weight: 600;

    color: var(--berloga-white);
    margin: 0;
    width: 100%;
}

/* Описание */
.consultation__card .consultation__content .consultation__description {

    font-weight: 500;
    color: var(--berloga-white);
    margin: 0;
    max-width: 760px;
    text-align: center !important;
}

.consultation__link {
    color: var(--berloga-white);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.consultation__link:hover {
    color: var(--berloga-blue);
    text-decoration: underline;
}

/* Иконка стрелки */
.consultation__arrow {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
    display: block;
    text-decoration: none;
    border-radius: 50%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.consultation__arrow::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.consultation__arrow:hover::before {
    transform: scale(1);
}

.consultation__arrow-icon {
    width: 100%;
    height: 100%;
    transition: all 0.3s ease;
    display: block;
}

.consultation__arrow:hover .consultation__arrow-icon {
    transform: scale(1.1) rotate(5deg);
}

.consultation__arrow:active .consultation__arrow-icon {
    transform: scale(0.95);
}

/* Пульсирующая анимация для привлечения внимания */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.consultation__arrow {
    animation: pulse 2s infinite;
}

.consultation__arrow:hover {
    animation: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .consultation__card {
        padding: 40px;
        gap: 40px;
    }

    .consultation__title {
        font-size: 30px;
    }

    .consultation__description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .consultation {
        padding: 60px 0;
    }

    .consultation__card {
        padding: 30px 20px;
        gap: 30px;
        flex-direction: column;
        text-align: center;
    }

    .consultation__image,
    .consultation__arrow {
        width: 100px;
        height: 100px;
    }

    .consultation__image-pic {
        width: 110px;
        height: 110px;
        /* transform: translate(-16px, 4px); */
    }

    .consultation__title {
        font-size: 32px;
    }

    .consultation__description {
        font-size: 16px;
    }

    .consultation__badge-text {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .consultation__card {
        padding: 20px 15px;
        gap: 20px;
    }

    .consultation__title {
        font-size: 28px;
    }

    .consultation__description {
        font-size: 14px;
    }
}

/* h2 заголовок теперь наследует стили из typography.css */