/* ===================================
   ARTICLE.CSS — Универсальные стили для статей блога/SEO
   Используется для всех статей на сайте
   =================================== */

/* ===================================
   ХЛЕБНЫЕ КРОШКИ
   =================================== */
.article-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}

.article-breadcrumb a {
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.article-breadcrumb a:hover {
    color: var(--color-primary-dark);
}

.article-breadcrumb svg {
    color: var(--color-text-light);
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}

.article-breadcrumb span[itemprop="name"] {
    max-width: 100%;
}

/* ===================================
   HERO СЕКЦИЯ СТАТЬИ
   =================================== */
.article-hero {
    position: relative;
    background: var(--color-bg-blue, #f0f8ff);
    padding: var(--space-12) 0 var(--space-10);
    overflow: hidden;
}

.article-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(ellipse at top right,
    rgba(48, 166, 218, .10) 0%,
    rgba(5, 171, 242, .04) 45%,
    transparent 70%
    );
}

.article-hero > .container {
    position: relative;
    z-index: 1;
}

.article-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.article-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.article-hero__meta {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-wrap: wrap;
    opacity: 0;
    animation: articleReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.05s forwards;
}

.article-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--fz-xs);
    font-weight: var(--fw-medium);
    color: var(--color-text-secondary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: var(--color-white);
    border: 1px solid var(--color-border);
}

.article-hero__meta-item svg {
    width: 14px;
    height: 14px;
    color: var(--color-primary);
    flex-shrink: 0;
}

.article-hero__title {
    font-family: var(--font-body), serif;
    font-size: clamp(1.75rem, 3.6vw, 2.75rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.15;
    margin: 0;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: articleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

.article-hero__subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-loose);
    margin: 0;
    max-width: 600px;
    opacity: 0;
    animation: articleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.article-hero__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    margin-top: var(--space-2);
    opacity: 0;
    animation: articleReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.42s forwards;
}

.article-hero__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(48, 166, 218, .2);
    border: 1px solid var(--color-border);
    opacity: 0;
    animation: articleImageReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

.article-hero__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

@keyframes articleReveal {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes articleImageReveal {
    from { opacity: 0; transform: translateY(24px) scale(0.96); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ===================================
   ОБЩИЕ СЕКЦИИ
   =================================== */
.article-section {
    padding: var(--space-12) 0;
}

.article-section--alt {
    background: var(--color-bg-light);
}

.article-section__title {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.25;
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.article-section__title--center {
    text-align: center;
}

.article-section__subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    max-width: 700px;
    margin-bottom: var(--space-8);
}

.article-section__subtitle--center {
    text-align: center;
    margin-inline: auto;
}

/* ===================================
   ВВОДНЫЙ ТЕКСТ (LEAD)
   =================================== */
.article-lead {
    max-width: 820px;
    margin: 0 auto var(--space-4);
    font-size: var(--fz-lg);
    line-height: var(--lh-loose);
    color: var(--color-text);
}

.article-text {
    max-width: 820px;
    margin: 0 auto var(--space-4);
    font-size: var(--fz-base);
    line-height: var(--lh-loose);
    color: var(--color-text-secondary);
}

.article-text:last-child {
    margin-bottom: 0;
}

.article-text strong {
    color: var(--color-text);
    font-weight: var(--fw-bold);
}

/* ===================================
   ПРИЧИНЫ / НУМЕРОВАННЫЕ КАРТОЧКИ
   =================================== */
.article-reasons {
    display: grid;
    gap: var(--space-4);
    max-width: 900px;
    margin: 0 auto;
}

.reason-item {
    position: relative;
    padding: var(--space-5);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.02);
    overflow: hidden;
    isolation: isolate;
}

.reason-item::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(48, 166, 218, 0.3), rgba(5, 171, 242, 0.3), rgba(48, 166, 218, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.reason-item:hover::after {
    opacity: 1;
}

.reason-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.reason-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(48, 166, 218, .15);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
}

.reason-item:hover::before {
    transform: scaleY(1);
}

.reason-item__number {
    position: relative;
    z-index: 2;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fz-lg);
    font-weight: var(--fw-black);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(48, 166, 218, .3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.reason-item:hover .reason-item__number {
    transform: scale(1.1) rotate(-5deg);
}

.reason-item__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-1);
}

.reason-item__title {
    font-family: var(--font-heading);
    font-size: var(--fz-base);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.reason-item:hover .reason-item__title {
    color: var(--color-primary);
}

.reason-item__text {
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: 1.55;
    margin: 0;
}

/* ===================================
   ПРЕДУПРЕЖДЕНИЕ / КРАСНЫЕ ФЛАГИ
   =================================== */
.article-alert {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-6) var(--space-7);
    background: #FEF2F2;
    border: 1px solid rgba(239, 68, 68, .25);
    border-radius: var(--radius-lg);
}

.article-alert__title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--fz-lg);
    font-weight: var(--fw-bold);
    color: #DC2626;
    margin: 0 0 var(--space-4) 0;
}

.article-alert__title svg {
    flex-shrink: 0;
}

.article-alert__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.article-alert__list li {
    position: relative;
    padding-left: var(--space-6);
    color: var(--color-text-secondary);
    font-size: var(--fz-sm);
    line-height: var(--lh-normal);
}

.article-alert__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #EF4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, .15);
}

/* ===================================
   ШАГИ ИНСТРУКЦИИ
   =================================== */
.article-steps {
    display: grid;
    gap: var(--space-5);
    max-width: 900px;
    margin: 0 auto;
}

.article-step {
    position: relative;
    padding: var(--space-6);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-5);
    align-items: start;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.02);
    overflow: hidden;
    isolation: isolate;
}

.article-step::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(48, 166, 218, 0.3), rgba(5, 171, 242, 0.3), rgba(48, 166, 218, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.article-step:hover::after {
    opacity: 1;
}

.article-step::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(to bottom, var(--color-primary) 0%, var(--color-accent) 50%, var(--color-primary) 100%);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.article-step:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(48, 166, 218, .18);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
}

.article-step:hover::before {
    transform: scaleY(1);
}

.article-step__number {
    position: relative;
    z-index: 2;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fz-2xl);
    font-weight: var(--fw-black);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(48, 166, 218, .35), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.article-step:hover .article-step__number {
    transform: scale(1.12) rotate(-5deg);
}

.article-step__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-2);
}

.article-step__title {
    font-family: var(--font-heading);
    font-size: var(--fz-lg);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.article-step:hover .article-step__title {
    color: var(--color-primary);
}

.article-step__text {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
}

/* ===================================
   ПРЕИМУЩЕСТВА / КАК МЫ ПОМОГАЕМ
   =================================== */
.article-help {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-5);
    max-width: 900px;
    margin: 0 auto;
}

.article-help-item {
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
    background: linear-gradient(135deg, #E8F4FD, #D6EEFF);
    border: 1px solid rgba(48, 166, 218, .2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.article-help-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(48, 166, 218, .2);
}

.article-help-item__icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-primary);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.article-help-item__text {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
}

.article-help-item__text strong {
    display: block;
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: var(--fz-base);
    font-weight: var(--fw-bold);
    margin-bottom: 2px;
}

/* ===================================
   БЛОК КОНТАКТОВ (запись)
   =================================== */
.article-contacts {
    max-width: 700px;
    margin: var(--space-10) auto 0;
    padding: var(--space-7) var(--space-8);
    background: linear-gradient(135deg, #E8F4FD 0%, #D6EEFF 100%);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: 0 4px 16px rgba(48, 166, 218, .12);
}

.article-contacts__title {
    font-family: var(--font-heading);
    font-size: var(--fz-lg);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin: 0 0 var(--space-4) 0;
}

.article-contacts__row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-size: var(--fz-md);
    color: var(--color-text);
    margin-bottom: var(--space-2);
}

.article-contacts__row a {
    color: var(--color-primary-dark);
    font-weight: var(--fw-bold);
    transition: color var(--transition-base);
}

.article-contacts__row a:hover {
    color: var(--color-primary);
}

.article-contacts__row svg {
    color: var(--color-primary);
    flex-shrink: 0;
}

.article-contacts__note {
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    font-style: italic;
    margin-top: var(--space-3);
}

/* ===================================
   ВАЖНОЕ ПРИМЕЧАНИЕ (нейтральное/зелёное)
   =================================== */
.article-note {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5) var(--space-6);
    border-radius: var(--radius-lg);
    max-width: 900px;
    margin: var(--space-8) auto 0;
}

.article-note--warning {
    background: #FFF7ED;
    border: 1px solid rgba(249, 115, 22, .25);
}

.article-note--warning svg {
    color: #F97316;
}

.article-note--success {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-left: 4px solid var(--color-success);
}

.article-note--success svg {
    color: var(--color-success);
}

.article-note svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.article-note p {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
}

.article-note p strong {
    color: var(--color-text);
}

/* ===================================
   CTA СЕКЦИЯ (переиспользуем doctors-cta,
   но с локальными именами для независимости)
   =================================== */
.article-cta {
    position: relative;
    background: var(--color-bg-blue);
    padding: var(--space-16) 0;
    overflow: hidden;
}

.article-cta__bg-blob {
    position: absolute;
    top: -30%;
    right: -10%;
    width: 60%;
    height: 160%;
    background: radial-gradient(ellipse at center, rgba(48, 166, 218, .14) 0%, rgba(5, 171, 242, .06) 50%, transparent 70%);
    filter: blur(60px);
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    animation: articleBlobMorph 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes articleBlobMorph {
    0%, 100% { border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%; }
    50%      { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
}

.article-cta > .container {
    position: relative;
    z-index: 1;
}

.article-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.article-cta__text {
    flex: 1;
    min-width: 280px;
}

.article-cta__title {
    font-family: var(--font-body);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.2;
    margin-bottom: var(--space-3);
    letter-spacing: -0.01em;
}

.article-cta__subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    max-width: 520px;
}

.article-cta__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ===================================
   РАЗДЕЛИТЕЛЬ (переиспользуем hero__divider из style.css)
   =================================== */

/* ===================================
   АДАПТИВНОСТЬ
   =================================== */
@media (max-width: 1024px) {
    .article-hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .article-hero__image {
        max-width: 500px;
        margin: 0 auto;
    }

    .article-help {
        grid-template-columns: 1fr;
    }

    .article-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .article-cta__subtitle {
        margin-inline: auto;
    }

    .article-cta__actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .article-breadcrumb {
        font-size: var(--fz-xs);
        padding: var(--space-3) 0;
    }

    .article-hero {
        padding: var(--space-8) 0 var(--space-10);
    }

    .article-hero__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .article-hero__subtitle {
        font-size: var(--fz-base);
    }

    .article-section {
        padding: var(--space-8) 0;
    }

    .article-section__title {
        font-size: clamp(1.35rem, 5vw, 1.75rem);
    }

    .article-lead,
    .article-text {
        font-size: var(--fz-base);
    }

    .reason-item,
    .article-step {
        padding: var(--space-4);
        gap: var(--space-3);
    }

    .reason-item__number,
    .article-step__number {
        width: 40px;
        height: 40px;
        font-size: var(--fz-base);
    }

    .article-step__title {
        font-size: var(--fz-base);
    }

    .article-help-item {
        padding: var(--space-4) var(--space-5);
        grid-template-columns: auto 1fr;
        text-align: left;
    }

    .article-alert,
    .article-contacts {
        padding: var(--space-5) var(--space-5);
    }

    .article-contacts__row {
        flex-direction: column;
        gap: 4px;
    }

    .article-cta {
        padding: var(--space-10) 0;
    }

    .article-cta__actions {
        flex-direction: column;
        width: 100%;
    }

    .article-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .article-note {
        flex-direction: column;
        padding: var(--space-4) var(--space-5);
    }
}

@media (max-width: 480px) {
    .article-hero__meta {
        gap: var(--space-2);
    }

    .article-hero__meta-item {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .reason-item,
    .article-step {
        grid-template-columns: auto 1fr;
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */
@media (prefers-reduced-motion: reduce) {
    .article-hero__meta,
    .article-hero__title,
    .article-hero__subtitle,
    .article-hero__actions,
    .article-hero__image {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .article-cta__bg-blob {
        animation: none;
    }

    .reason-item:hover,
    .article-step:hover,
    .article-help-item:hover {
        transform: none;
    }
}

@media print {
    .article-cta,
    .article-hero__bg {
        display: none !important;
    }

    .reason-item,
    .article-step,
    .article-help-item,
    .article-alert,
    .article-contacts {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ===================================
   ВОЗРАСТНЫЕ ГРУППЫ (признаки по возрасту)
   =================================== */
.article-age-groups {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
    max-width: 1000px;
    margin: 0 auto;
    align-items: start;
}

.age-group {
    position: relative;
    padding: var(--space-6);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    box-shadow: 0 2px 8px rgba(0,0,0,.04), 0 1px 3px rgba(0,0,0,.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    isolation: isolate;
    height: 100%;
}

.age-group::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    padding: 2px;
    background: linear-gradient(135deg, rgba(48, 166, 218, 0.3), rgba(5, 171, 242, 0.3), rgba(48, 166, 218, 0.1));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.age-group:hover::after {
    opacity: 1;
}

.age-group:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(48, 166, 218, .18);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
}

.age-group__badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: var(--fz-base);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-4);
    box-shadow: 0 4px 12px rgba(48, 166, 218, .3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.age-group:hover .age-group__badge {
    transform: scale(1.05);
}

.age-group__list {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    margin: 0;
    padding: 0;
    list-style: none;
}

.age-group__list li {
    position: relative;
    padding-left: var(--space-6);
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.age-group__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
    box-shadow: 0 0 0 3px rgba(48, 166, 218, .15);
}

/* ===================================
   АДАПТИВНОСТЬ ВОЗРАСТНЫХ ГРУПП
   =================================== */
@media (max-width: 1024px) {
    .article-age-groups {
        grid-template-columns: 1fr;
        max-width: 700px;
    }

    .age-group {
        height: auto;
    }
}

@media (max-width: 768px) {
    .age-group {
        padding: var(--space-5);
    }

    .age-group__badge {
        font-size: var(--fz-sm);
        padding: 6px 16px;
    }
}

/* ===================================
   ДОПОЛНЕНИЯ ДЛЯ СТАТЬИ "СЕНСОРНАЯ ИНТЕГРАЦИЯ"
   =================================== */

/* Группы признаков в 2 колонки (вместо 3) */
.article-age-groups--two {
    grid-template-columns: repeat(2, 1fr);
}

/* Альтернативный (тёплый) цвет бейджа группы — для гипочувствительности */
.age-group__badge--warm {
    background: linear-gradient(135deg, #F97316 0%, #FB923C 100%);
    box-shadow: 0 4px 12px rgba(249, 115, 22, .3), inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.age-group__list--warm li::before {
    background: linear-gradient(135deg, #F97316, #FB923C);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, .15);
}

/* Нейтральный (информационный) чек-лист вместо тревожного alert */
.article-alert--info {
    background: #EFF6FF;
    border: 1px solid rgba(59, 130, 246, .25);
}

.article-alert--info .article-alert__title {
    color: #2563EB;
}

.article-alert--info .article-alert__list li::before {
    background: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

@media (max-width: 1024px) {
    .article-age-groups--two {
        grid-template-columns: 1fr;
    }
}
