/* ===================================
   VOJTA.CSS — Оптимизированная версия
   Стили для страницы Войта-терапии
   =================================== */

/* ===================================
   ХЛЕБНЫЕ КРОШКИ
   =================================== */
.page-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-5);
}

.page-hero__breadcrumb a {
    color: var(--color-primary);
    transition: color var(--transition-base);
}

.page-hero__breadcrumb a:hover {
    color: var(--color-primary-dark);
}

.page-hero__breadcrumb svg {
    color: var(--color-text-light);
    flex-shrink: 0;
}

/* ===================================
   HERO СЕКЦИЯ
   =================================== */
.service-hero {
    position: relative;
    background: var(--color-bg-blue, #f0f8ff);
    padding: var(--space-8) 0 var(--space-10);
    overflow: hidden;
}

.service-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.service-hero > .container {
    position: relative;
    z-index: 1;
}

.service-hero__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
}

.service-hero__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.service-hero__title {
    font-family: var(--font-body);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.1;
    margin: 0 0 var(--space-4) 0;
    letter-spacing: -0.02em;
    opacity: 0;
    animation: heroTextReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.service-hero__subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-loose);
    margin: 0 0 var(--space-4) 0;
    max-width: 620px;
    opacity: 0;
    animation: heroTextReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.25s forwards;
}

.service-hero__tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    opacity: 0;
    animation: heroTextReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.service-tag {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--color-border);
    background: var(--color-white);
    color: var(--color-text-secondary);
    font-family: var(--font-heading);
    font-size: var(--fz-xs);
    font-weight: var(--fw-medium);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.service-tag:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.service-hero__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(48, 166, 218, .2);
    opacity: 0;
    animation: heroImageReveal 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
    border: 1px solid var(--color-border);
}

.service-hero__image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

@keyframes heroTextReveal {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroImageReveal {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===================================
   ОБЩИЕ СТИЛИ СЕКЦИЙ
   =================================== */
.vojta-about,
.service-indications,
.service-results,
.service-faq {
    padding: var(--space-12) 0 var(--space-20);
}

.vojta-about {
    background: linear-gradient(180deg, var(--color-bg-blue) 0%, var(--color-bg) 400px);
}

.service-indications {
    background: var(--color-bg);
}

.service-results {
    background: linear-gradient(180deg, var(--color-bg) 0%, var(--color-bg-blue) 100%);
}

.service-faq {
    background: var(--color-bg);
}

.section-title {
    font-family: var(--font-body);
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 400;
    color: var(--color-text);
    line-height: 1.2;
    text-align: center;
    margin-bottom: var(--space-3);
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-8);
}

/* ===================================
   ВОЙТА-ТЕРАПИЯ: СУТЬ МЕТОДА
   =================================== */
.vojta-about__content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: var(--space-10);
    align-items: start;
    margin-bottom: var(--space-16);
}

.vojta-about__main {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.vojta-about__text {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.lead-text {
    font-size: var(--fz-lg);
    line-height: var(--lh-loose);
    color: var(--color-text);
    margin: 0;
}

/* Принцип работы */
.principle-box {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-5);
    padding: var(--space-6);
    background: linear-gradient(135deg, #E8F4FD 0%, #D6EEFF 100%);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-primary);
    box-shadow: 0 4px 16px rgba(48, 166, 218, .1);
    align-items: start;
}

.principle-box__icon {
    width: 56px;
    height: 56px;
    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(48, 166, 218, .2);
}

.principle-box__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.principle-box__content h3 {
    font-family: var(--font-heading);
    font-size: var(--fz-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    margin: 0;
    line-height: 1.3;
}

.principle-box__content p {
    margin: 0;
    line-height: var(--lh-loose);
    color: var(--color-text-secondary);
    font-size: var(--fz-base);
}

/* Карточки преимуществ */
.vojta-about__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.feature-card {
    padding: var(--space-6);
    border-radius: var(--radius-lg);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-4);
    align-items: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateX(6px);
}

.feature-card--primary {
    background: linear-gradient(135deg, #E8F4FD, #D6EEFF);
    border-color: rgba(48, 166, 218, .2);
}

.feature-card--primary:hover {
    box-shadow: 0 8px 24px rgba(48, 166, 218, .2);
}

.feature-card--secondary {
    background: linear-gradient(135deg, #F3E8FF, #E9D5FF);
    border-color: rgba(139, 92, 246, .2);
}

.feature-card--secondary:hover {
    box-shadow: 0 8px 24px rgba(139, 92, 246, .2);
}

.feature-card--accent {
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-color: rgba(16, 185, 129, .2);
}

.feature-card--accent:hover {
    box-shadow: 0 8px 24px rgba(16, 185, 129, .2);
}

.feature-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}

.feature-card--primary .feature-card__icon {
    color: var(--color-primary);
}

.feature-card--secondary .feature-card__icon {
    color: #8B5CF6;
}

.feature-card--accent .feature-card__icon {
    color: var(--color-success);
}

.feature-card__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.feature-card__content h4 {
    font-family: var(--font-heading);
    font-size: var(--fz-lg);
    font-weight: var(--fw-bold);
    margin: 0;
    color: var(--color-text);
    line-height: 1.3;
}

.feature-card__content p {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
}

/* ===================================
   ТРИ ЭТАПА АКТИВАЦИИ
   =================================== */
.vojta-steps {
    margin-top: var(--space-16);
}

.vojta-steps__title {
    font-family: var(--font-heading);
    font-size: var(--fz-2xl);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    text-align: center;
    margin: 0 0 var(--space-8) 0;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-bottom: var(--space-8);
    align-items: start;
}

.step-card {
    position: relative;
    padding: var(--space-8) var(--space-6);
    background: linear-gradient(135deg, #ffffff 0%, #f8fbfd 100%);
    border-radius: var(--radius-lg);
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    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;
}

/* Градиентный бордер при hover */
.step-card::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;
}

.step-card:hover::after {
    opacity: 1;
}

/* Левый акцентный бордер */
.step-card::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);
}

.step-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(48, 166, 218, .25), 0 8px 20px rgba(48, 166, 218, .15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
}

.step-card:hover::before {
    transform: scaleY(1);
}

/* Фоновая иконка */
.step-card__bg-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    height: 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.12;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
    pointer-events: none;
    filter: brightness(1.1);
}

.step-card__bg-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.step-card:hover .step-card__bg-icon {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1.08) rotate(3deg);
}

/* Номер этапа */
.step-card__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);
    align-self: flex-start;
    box-shadow: 0 4px 16px rgba(48, 166, 218, .35), 0 2px 8px rgba(48, 166, 218, .2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card__number::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 50%);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.step-card:hover .step-card__number {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 28px rgba(48, 166, 218, .5), 0 4px 12px rgba(48, 166, 218, .3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.step-card:hover .step-card__number::before {
    opacity: 1;
}

/* Контент карточки */
.step-card__content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-rows: auto 1fr;
    gap: var(--space-3);
    align-content: start;
}

.step-card__content h4 {
    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;
    min-height: 3.2em;
    display: flex;
    align-items: flex-start;
    transition: color 0.3s ease;
    position: relative;
}

.step-card__content h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--color-primary), var(--color-accent));
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover .step-card__content h4 {
    color: var(--color-primary);
}

.step-card:hover .step-card__content h4::after {
    width: 100%;
}

.step-card__content p {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: 1.6;
    align-self: start;
}

/* Line-clamp для заголовков */
@supports (-webkit-line-clamp: 2) {
    @media (min-width: 769px) {
        .step-card__content h4 {
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 3.2em;
        }
    }
}

/* Важное примечание */
.vojta-note {
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, #FEF3C7 0%, #FDE68A 100%);
    border-left: 4px solid #F59E0B;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    box-shadow: 0 2px 8px rgba(245, 158, 11, .15);
}

.vojta-note svg {
    flex-shrink: 0;
    color: #F59E0B;
    margin-top: 2px;
}

.vojta-note p {
    margin: 0;
    color: #78350F;
    line-height: var(--lh-normal);
    font-size: var(--fz-sm);
}

/* ===================================
   ПОКАЗАНИЯ
   =================================== */
.indications-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    margin-top: var(--space-10);
    align-items: stretch; /* Растягиваем оба столбца на одинаковую высоту */
}


.indications-list {
    display: grid;
    gap: var(--space-4);
    /* Вычисляем высоту одного элемента так, чтобы 6 элементов + 5 отступов = высота изображения */
    grid-auto-rows: 1fr;
    align-content: space-between;
}

.indication-item {
    position: relative;
    padding: var(--space-4);
    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-3);
    align-items: start;
    align-content: 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;
    min-height: 0; /* Важно для корректной работы grid */
}
.indication-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;
}

.indication-item:hover::after {
    opacity: 1;
}

.indication-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);
}

.indication-item:hover {
    transform: translateX(4px);
    box-shadow: 0 8px 24px rgba(48, 166, 218, .15), 0 4px 12px rgba(48, 166, 218, .1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9fc 100%);
}

.indication-item:hover::before {
    transform: scaleY(1);
}

.indication-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), 0 2px 6px rgba(48, 166, 218, .2), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.indication-item__number::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4), rgba(255, 255, 255, 0) 50%);
    border-radius: var(--radius-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.indication-item:hover .indication-item__number {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(48, 166, 218, .45), 0 3px 10px rgba(48, 166, 218, .25), inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.indication-item:hover .indication-item__number::before {
    opacity: 1;
}

.indication-item__content {
    position: relative;
    z-index: 2;
    display: grid;
    gap: var(--space-1);
}

.indication-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;
}

.indication-item:hover .indication-item__title {
    color: var(--color-primary);
}

.indication-item__text {
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Визуал показаний */
.indications-visual {
    position: sticky;
    top: calc(var(--header-height, 80px) + var(--space-6));
    height: fit-content;
}

.indications-visual__image-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(48, 166, 218, .2), 0 8px 24px rgba(48, 166, 218, .12), 0 0 0 1px rgba(48, 166, 218, .08);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%; /* Изображение занимает всю доступную высоту */
}

.indications-visual__image-wrapper:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 80px rgba(48, 166, 218, .25), 0 12px 32px rgba(48, 166, 218, .15), 0 0 0 1px rgba(48, 166, 218, .12);
}

.indications-visual__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    aspect-ratio: unset; /* Убираем фиксированное соотношение */
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.indications-visual__image-wrapper:hover .indications-visual__image {
    transform: scale(1.05);
}

.indications-visual__decoration {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(48, 166, 218, 0.1) 0%, rgba(5, 171, 242, 0.05) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.indications-visual__image-wrapper:hover .indications-visual__decoration {
    opacity: 1;
}

.indications-visual::before,
.indications-visual::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    pointer-events: none;
    z-index: -1;
}

.indications-visual::before {
    top: -50px;
    right: -50px;
    background: radial-gradient(circle, rgba(48, 166, 218, 0.15), transparent 70%);
}

.indications-visual::after {
    bottom: -50px;
    left: -50px;
    background: radial-gradient(circle, rgba(5, 171, 242, 0.15), transparent 70%);
}

/* Противопоказания */
.indications-contraindications {
    margin-top: var(--space-10);
    padding: var(--space-6) var(--space-8);
    background: linear-gradient(135deg, #FEE2E2 0%, #FECACA 100%);
    border-left: 4px solid #EF4444;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(239, 68, 68, .1);
}

.contraindications-title {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--fz-xl);
    font-weight: var(--fw-bold);
    color: #991B1B;
    margin: 0 0 var(--space-4) 0;
}

.contraindications-title svg {
    flex-shrink: 0;
    color: #EF4444;
}

.contraindications-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--space-4) 0;
    display: grid;
    gap: var(--space-2);
}

.contraindications-list li {
    padding-left: var(--space-6);
    position: relative;
    color: #991B1B;
    line-height: var(--lh-normal);
    font-size: var(--fz-sm);
}

.contraindications-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #EF4444;
    font-weight: var(--fw-bold);
    font-size: var(--fz-base);
}

.contraindications-note {
    margin: 0;
    font-size: var(--fz-sm);
    color: #7F1D1D;
    font-style: italic;
    padding-left: var(--space-6);
    border-left: 2px solid #FCA5A5;
}

/* ===================================
   РЕЗУЛЬТАТЫ
   =================================== */
.results-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.result-item {
    position: relative;
    padding: var(--space-4) var(--space-5);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
    overflow: hidden;
    isolation: isolate;
    min-height: 120px; /* Минимальная высота для всех блоков */
}

/* Галочка на фоне */
.result-item::before {
    content: '';
    position: absolute;
    top: 50%; /* Центрирование по вертикали */
    right: 16px; /* Отступ от правого края */
    transform: translateY(-50%); /* Точное центрирование */
    width: 80px;
    height: 80px;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M66.6667 20L30 56.6667L13.3333 40' stroke='%2310B981' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.08;
    pointer-events: none;
    z-index: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.result-item:hover::before {
    opacity: 0.15;
    transform: translateY(-50%) scale(1.1) rotate(5deg); /* Сохраняем центрирование при hover */
}

.result-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, .15);
    border-color: rgba(16, 185, 129, .3);
}


.result-item__title {
    position: relative;
    z-index: 1;
    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;
}

.result-item:hover .result-item__title {
    color: var(--color-success);
}

.result-item__text {
    position: relative;
    z-index: 1;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    margin: 0;
}

.results-note {
    margin-top: var(--space-8);
    padding: var(--space-5) var(--space-6);
    background: linear-gradient(135deg, #D1FAE5, #A7F3D0);
    border-left: 4px solid var(--color-success);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    box-shadow: 0 2px 8px rgba(16, 185, 129, .15);
}

.results-note svg {
    flex-shrink: 0;
    color: var(--color-success);
    margin-top: 2px;
}

.results-note p {
    margin: 0;
    color: #065f46;
    line-height: var(--lh-normal);
    font-size: var(--fz-sm);
}

/* ===================================
   FAQ АККОРДЕОН
   =================================== */
.faq-accordion {
    max-width: 900px;
    margin: var(--space-10) auto 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
}

.faq-item[open] {
    border-color: rgba(48, 166, 218, .3);
    box-shadow: 0 4px 20px rgba(48, 166, 218, .1);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-5) var(--space-6);
    cursor: pointer;
    user-select: none;
    list-style: none;
    font-family: var(--font-heading);
    font-size: var(--fz-base);
    font-weight: var(--fw-bold);
    color: var(--color-text);
    transition: color var(--transition-base);
    gap: var(--space-4);
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    flex-shrink: 0;
    transition: transform var(--transition-base);
    color: var(--color-primary);
}

.faq-item[open] .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 var(--space-6) var(--space-5);
    animation: fadeIn 0.3s ease;
}

.faq-answer p {
    margin: 0;
    font-size: var(--fz-sm);
    color: var(--color-text-secondary);
    line-height: var(--lh-loose);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   CTA СЕКЦИЯ
   =================================== */
.doctors-cta {
    position: relative;
    background: var(--color-bg-blue);
    padding: var(--space-16) 0;
    overflow: hidden;
}

.doctors-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: morphBlob 20s ease-in-out infinite alternate;
    pointer-events: none;
    z-index: 0;
}

@keyframes morphBlob {
    0%, 100% {
        border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
    }
    50% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
}

.doctors-cta > .container {
    position: relative;
    z-index: 1;
}

.doctors-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-10);
    flex-wrap: wrap;
}

.doctors-cta__text {
    flex: 1;
    min-width: 280px;
}

.doctors-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;
}

.doctors-cta__subtitle {
    font-size: var(--fz-md);
    color: var(--color-text-secondary);
    line-height: var(--lh-normal);
    max-width: 520px;
}

.doctors-cta__actions {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    flex-shrink: 0;
    flex-wrap: wrap;
}

/* ═══════════════════════════════════
   АДАПТИВНОСТЬ
══════════════════════════════════════ */

/* Большие планшеты (≤1200px) */
@media (max-width: 1200px) {
    .indications-layout {
        gap: var(--space-8);
    }
}

/* Планшет (≤1024px) */
@media (max-width: 1024px) {
    .service-hero__inner {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .service-hero__image {
        max-width: 500px;
        margin: 0 auto;
    }

    .vojta-about__content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .vojta-about__features {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: var(--space-4);
    }

    .feature-card:hover {
        transform: translateY(-4px);
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }

    .step-card {
        flex-direction: row;
        align-items: flex-start;
        padding: var(--space-6);
        gap: var(--space-5);
    }

    .step-card__bg-icon {
        width: 85%;
        height: 85%;
        opacity: 0.1;
    }

    .step-card:hover .step-card__bg-icon {
        opacity: 0.16;
        transform: translate(-50%, -50%) scale(1.05) rotate(2deg);
    }

    .step-card__number {
        flex-shrink: 0;
        width: 64px;
        height: 64px;
        font-size: var(--fz-xl);
    }

    .indications-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .indications-visual {
        position: relative;
        top: 0;
        max-width: 600px;
        margin: 0 auto;
    }

    .indications-visual__image {
        aspect-ratio: 16 / 10;
    }

    .results-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-5);
    }

    .doctors-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .doctors-cta__subtitle {
        margin-inline: auto;
    }

    .doctors-cta__actions {
        justify-content: center;
    }

    .indications-list {
        grid-auto-rows: auto; /* Возвращаем автоматическую высоту */
        align-content: start;
    }

    .indications-visual__image {
        aspect-ratio: 16 / 10; /* Возвращаем фиксированные пропорции */
        height: auto;
    }
}

/* Мобильные (≤768px) */
@media (max-width: 768px) {
    .page-hero__breadcrumb {
        padding: var(--space-3) 0;
        font-size: var(--fz-xs);
    }

    .page-hero__breadcrumb svg {
        width: 14px;
        height: 14px;
    }

    .service-hero {
        padding: var(--space-6) 0;
    }

    .service-hero__title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }

    .service-hero__subtitle {
        font-size: var(--fz-base);
    }

    .service-tag {
        font-size: 0.7rem;
        padding: 3px 10px;
    }

    .vojta-about,
    .service-indications,
    .service-results,
    .service-faq {
        padding: var(--space-8) 0 var(--space-12);
    }

    .section-title {
        font-size: clamp(1.5rem, 5vw, 1.875rem);
    }

    .section-subtitle,
    .lead-text {
        font-size: var(--fz-base);
    }

    .vojta-about__content {
        gap: var(--space-6);
    }

    .principle-box {
        grid-template-columns: 1fr;
        text-align: center;
        padding: var(--space-5);
        align-items: center;
    }

    .principle-box__icon {
        margin: 0 auto;
    }

    .vojta-about__features {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .feature-card {
        grid-template-columns: auto 1fr;
        text-align: left;
    }

    .feature-card:hover {
        transform: translateY(-2px);
    }

    .vojta-steps {
        margin-top: var(--space-10);
    }

    .vojta-steps__title {
        font-size: var(--fz-xl);
        margin-bottom: var(--space-6);
    }

    .steps-grid {
        gap: var(--space-4);
    }

    .step-card {
        flex-direction: column;
        padding: var(--space-5);
        gap: var(--space-4);
    }

    .step-card__bg-icon {
        width: 65%;
        height: 65%;
        opacity: 0.12;
    }

    .step-card:hover .step-card__bg-icon {
        opacity: 0.2;
    }

    .step-card__number {
        width: 56px;
        height: 56px;
        font-size: var(--fz-xl);
    }

    .step-card__content h4 {
        font-size: var(--fz-base);
        min-height: auto;
        height: auto;
    }

    .step-card__content p {
        font-size: var(--fz-xs);
    }

    .indications-layout {
        gap: var(--space-6);
    }

    .indication-item {
        padding: var(--space-3);
        gap: var(--space-2);
    }

    .indication-item__number {
        width: 40px;
        height: 40px;
        font-size: var(--fz-base);
    }

    .indication-item__title {
        font-size: var(--fz-sm);
    }

    .indication-item__text {
        font-size: var(--fz-xs);
    }

    .indication-item:hover {
        transform: translateX(2px);
    }

    .indications-visual__image {
        aspect-ratio: 4 / 3;
    }

    .indications-contraindications {
        padding: var(--space-5) var(--space-5);
    }

    .contraindications-title {
        font-size: var(--fz-lg);
    }

    .results-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .result-item {
        padding: var(--space-3) var(--space-4);
        min-height: 100px; /* Минимальная высота для мобильных */
    }

    .result-item::before {
        width: 70px;
        height: 70px;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
    }

    .result-item:hover::before {
        transform: translateY(-50%) scale(1.1) rotate(5deg);
    }

    .result-item__title {
        font-size: var(--fz-sm);
    }

    .result-item__text {
        font-size: var(--fz-xs);
    }

    .faq-question {
        font-size: var(--fz-sm);
        padding: var(--space-4) var(--space-5);
    }

    .faq-answer {
        padding: 0 var(--space-5) var(--space-4);
    }

    .doctors-cta {
        padding: var(--space-10) 0;
    }

    .doctors-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .doctors-cta__actions {
        justify-content: center;
        flex-direction: column;
        width: 100%;
    }

    .doctors-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }

    .vojta-note {
        padding: var(--space-4) var(--space-5);
        flex-direction: column;
    }
}

/* Маленькие мобильные (≤480px) */
@media (max-width: 480px) {
    .page-hero__breadcrumb span[itemprop="name"] {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .service-hero__inner {
        gap: var(--space-6);
    }

    .vojta-about__content {
        gap: var(--space-5);
    }

    .principle-box {
        padding: var(--space-4);
        gap: var(--space-4);
    }

    .principle-box__icon {
        width: 48px;
        height: 48px;
    }

    .feature-card {
        padding: var(--space-5);
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-card__icon {
        width: 56px;
        height: 56px;
        margin: 0 auto;
    }

    .step-card {
        padding: var(--space-4) var(--space-5);
    }

    .step-card__bg-icon {
        width: 60%;
        height: 60%;
        opacity: 0.1;
    }

    .step-card:hover .step-card__bg-icon {
        opacity: 0.18;
    }

    .step-card__number {
        width: 52px;
        height: 52px;
        font-size: var(--fz-lg);
    }

    .indication-item {
        grid-template-columns: auto 1fr;
    }

    .indication-item__number {
        width: 36px;
        height: 36px;
        font-size: var(--fz-sm);
    }

    .indications-visual::before,
    .indications-visual::after {
        display: none;
    }

    .contraindications-list li {
        font-size: var(--fz-xs);
    }

    .contraindications-note {
        font-size: var(--fz-xs);
    }

    .result-item__icon {
        width: 44px;
        height: 44px;
    }

    .result-item__title {
        font-size: var(--fz-base);
    }

    .doctors-cta__title {
        font-size: 1.25rem;
    }

    .doctors-cta__subtitle {
        font-size: var(--fz-sm);
    }
}

/* Landscape на мобильных */
@media (orientation: landscape) and (max-height: 500px) {
    .service-hero {
        padding: var(--space-4) 0;
    }

    .service-hero__inner {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
    }

    .service-hero__title {
        font-size: clamp(1.25rem, 3vw, 1.5rem);
        margin-bottom: var(--space-2);
    }

    .service-hero__subtitle {
        font-size: var(--fz-sm);
        margin-bottom: var(--space-2);
    }

    .vojta-about,
    .service-indications,
    .service-results,
    .service-faq {
        padding: var(--space-6) 0 var(--space-10);
    }

    .doctors-cta {
        padding: var(--space-6) 0;
    }

    .doctors-cta__inner {
        flex-direction: row;
        text-align: left;
    }

    .vojta-steps {
        margin-top: var(--space-8);
    }

    .step-card {
        flex-direction: row;
        padding: var(--space-4) var(--space-5);
    }

    .step-card__bg-icon {
        width: 80%;
        height: 80%;
    }

    .indications-layout {
        gap: var(--space-6);
    }

    .indication-item {
        padding: var(--space-2);
    }

    .indications-visual {
        max-width: 400px;
    }
}

/* ═══════════════════════════════════
   ACCESSIBILITY
══════════════════════════════════════ */
html {
    scroll-behavior: smooth;
}

.step-card:focus-visible,
.indication-item:focus-visible,
.result-item:focus-visible,
.faq-item:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .service-hero__title,
    .service-hero__subtitle,
    .service-hero__tags,
    .service-hero__image {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .step-card:hover .step-card__bg-icon,
    .step-card:hover .step-card__number,
    .indication-item:hover,
    .indication-item:hover .indication-item__number,
    .indications-visual__image-wrapper:hover,
    .indications-visual__image-wrapper:hover .indications-visual__image {
        transform: none;
    }
}

@media (forced-colors: active) {
    .step-card::before,
    .indication-item::before {
        background: ButtonText;
    }

    .step-card__number,
    .indication-item__number,
    .result-item__icon,
    .feature-card__icon {
        background: ButtonFace;
        border: 2px solid ButtonText;
        color: ButtonText;
        box-shadow: none;
    }

    .service-tag {
        border: 1px solid ButtonText;
    }

    .step-card__bg-icon {
        opacity: 0.2;
    }

    .indications-visual__image-wrapper {
        border: 2px solid ButtonText;
    }
}

@media print {
    .service-hero__bg,
    .doctors-cta__bg-blob,
    .doctors-cta {
        display: none !important;
    }

    .service-hero,
    .vojta-about,
    .service-indications,
    .service-results,
    .service-faq {
        padding: 12px 0;
        background: none;
    }

    .step-card,
    .indication-item,
    .result-item,
    .faq-item {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .service-hero__inner,
    .vojta-about__content,
    .indications-layout {
        grid-template-columns: 1fr;
    }

    .step-card__bg-icon {
        display: none;
    }

    .step-card:hover,
    .feature-card:hover,
    .indication-item:hover {
        transform: none;
        box-shadow: none;
    }

    .steps-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }

    .indications-visual {
        display: none;
    }

    .indications-contraindications {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}