/* ============================================
   Medical Services — CSS
   Стили для страницы медицинского маркетинга
   ============================================ */

/* ============================================
   Секция «Проблемы» — enhanced cards
   ============================================ */

.medical-problems-section .medical-problems__content {
    position: relative;
}

.medical-problems-section .section-block__list {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.medical-problems-section .medical-problems__item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 14px;
    border: 1px solid transparent;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    position: relative;
    font-size: 16px;
    line-height: 1.5;
    color: var(--color-gray-700, #374151);
}

.medical-problems-section .medical-problems__item::before {
    content: '';
    display: inline-flex;
    width: 8px;
    height: 8px;
    min-width: 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    flex-shrink: 0;
}

.medical-problems-section .medical-problems__item:not(:last-child)::after {
    display: none;
}

.medical-problems-section .medical-problems__item:hover {
    background: #fff;
    border-color: rgba(239, 68, 68, 0.15);
    box-shadow: 0 4px 16px rgba(239, 68, 68, 0.08);
    transform: translateX(4px);
}

/* ============================================
   Секция «Для кого?» — medical-marketing
   ============================================ */

.medical-marketing-section .section-block__list--no-markers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
}

.medical-marketing-section .medical-marketing__item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: var(--color-gray-50, #F4F3F8);
    border-radius: 14px;
    border: 1px solid transparent;
    margin-bottom: 0;
    font-size: 15px;
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.medical-marketing-section .medical-marketing__item:hover {
    background: #fff;
    border-color: rgba(0, 212, 126, 0.2);
    box-shadow: 0 4px 16px rgba(0, 212, 126, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   Секция «Законность ФЗ-38» — enhanced
   ============================================ */

.regional-knowledge-section {
    position: relative;
}

.regional-knowledge-section .regional-knowledge__content {
    position: relative;
}

.regional-knowledge-section .regional-knowledge__card {
    transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
    border: 1px solid transparent;
}

.regional-knowledge-section .regional-knowledge__card:hover {
    border-color: rgba(0, 212, 126, 0.2);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px);
}

/* ============================================
   Секция «Особенности медицинской ниши»
   Аналог legal-features-section
   ============================================ */

.medical-features-section {
    padding: 60px 0 80px;
}

.medical-features-section .section__tag {
    display: inline-block;
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-semibold, 600);
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0891b2;
    background: rgba(8, 145, 178, 0.08);
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 16px;
}

.medical-features__title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold);
    font-size: var(--font42, 42px);
    line-height: 1.1;
    letter-spacing: -0.6px;
    color: var(--color-gray-900, #1a1a2e);
    margin: 0 0 50px;
}

.medical-features__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.medical-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 24px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.medical-feature:hover {
    border-color: rgba(8, 145, 178, 0.25);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.medical-feature__number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: #fff;
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold, 700);
    font-size: 18px;
    line-height: 1;
    border-radius: 12px;
    flex-shrink: 0;
}

.medical-feature__content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.medical-feature__title {
    font-family: var(--font-family-heading);
    font-weight: var(--font-weight-bold, 700);
    font-size: var(--font18, 18px);
    line-height: 1.3;
    color: var(--color-gray-900, #1a1a2e);
    margin: 0;
}

.medical-feature__text {
    font-family: var(--font-family-primary);
    font-weight: var(--font-weight-regular, 400);
    font-size: var(--font16, 16px);
    line-height: 1.5;
    color: var(--color-gray-600, #6b7280);
    margin: 0;
}

/* ============================================
   «Как мы работаем» — медицинские иконки
   ============================================ */

.medical-how-we-work .rk-management__icon-wrapper {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.medical-how-we-work .rk-management__card:hover .rk-management__icon-wrapper {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

/* ============================================
   Article — медицинский контент
   ============================================ */

.article-content .article-section {
    position: relative;
}

.article-content .article-section__expand ul li {
    margin-bottom: 8px;
}

/* ============================================
   Responsive — 1024px
   ============================================ */

@media (max-width: 1024px) {
    .medical-features__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .medical-features__title {
        font-size: 36px;
    }
    .medical-marketing-section .section-block__list--no-markers {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Responsive — 768px
   ============================================ */

@media (max-width: 768px) {
    .medical-features-section {
        padding: 40px 0 50px;
    }
    .medical-features__title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .medical-features__grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .medical-feature {
        padding: 22px 18px;
        border-radius: 16px;
    }
    .medical-feature__number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        font-size: 16px;
        border-radius: 10px;
    }
    .medical-feature__title {
        font-size: 16px;
    }
    .medical-feature__text {
        font-size: 14px;
    }

    .medical-marketing-section .section-block__list--no-markers {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .medical-marketing-section .medical-marketing__item {
        padding: 12px 14px;
        font-size: 14px;
    }

    .medical-problems-section .medical-problems__item {
        padding: 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .medical-feature:hover {
        transform: none;
    }
}
