/* Мобильные стили для hero секции главной страницы (max-width: 768px) */
@media (max-width: 768px) {
    .section-hero {
        min-height: auto;
        padding-bottom: 50px;
    }
    .section-hero__glow {
        top: 0;
        height: 540px;
        width: 990px;
        left: 50%;
        transform: translateX(-50%);
        /* Плавное размытие внизу для сглаживания перехода */
        -webkit-mask-image: linear-gradient(to bottom, 
            rgba(0, 0, 0, 1) 0%, 
            rgba(0, 0, 0, 1) 75%, 
            rgba(0, 0, 0, 0.8) 85%, 
            rgba(0, 0, 0, 0.5) 92%, 
            rgba(0, 0, 0, 0.2) 96%, 
            rgba(0, 0, 0, 0) 100%);
        mask-image: linear-gradient(to bottom, 
            rgba(0, 0, 0, 1) 0%, 
            rgba(0, 0, 0, 1) 75%, 
            rgba(0, 0, 0, 0.8) 85%, 
            rgba(0, 0, 0, 0.5) 92%, 
            rgba(0, 0, 0, 0.2) 96%, 
            rgba(0, 0, 0, 0) 100%);
    }
    .section-hero__wrapper {
        margin-top: 69px;
        position: relative;
        min-height: auto;
    }

    .section-hero__content {
        position: static;
        transform: none;
        flex-direction: column;
        gap: 20px;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-width: 100%;
        margin-top: 0;
    }

    .section-hero__text {
        width: 100%;
        margin-top: 0;
        order: 2;
        text-align: center;
        align-items: center;
    }

    .section-hero__tag {
        font-size: 0.625rem; /* 10px */
        line-height: 1.2em;
        padding: 10px 16px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }

    .section-hero__title {
        font-size: 2.25rem; /* 36px */
        line-height: 1em;
        text-align: center;
    }

    .section-hero__description {
        font-size: 1rem; /* 16px */
        line-height: 1.2em;
        text-align: center;
    }

    .section-hero__info {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        font-size: 1rem; /* 16px */
        line-height: 1.2em;
        letter-spacing: 0.02em;
    }
    
    .section-hero__info strong {
        font-size: 1.5rem; /* 24px */
        line-height: 1.2em;
        letter-spacing: 0.02em;
    }

    .section-hero__img {
        width: 304px;
        height: 304px;
        position: static;
        order: 1;
        margin: 0 auto;
    }
    
    .section-hero__img img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    /* Скрываем пагинацию на мобильных */
    .section-hero__pagination {
        display: none;
    }

    /* Делаем карточки видимыми и располагаем вертикально */
    .section-hero__wrapper-card {
        position: static;
        transform: none;
        display: flex;
        flex-direction: column;
        gap: 20px;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        max-width: 100%;
        padding: 0 20px;
        margin-top: 60px;
    }

    .section-hero__card {
        width: 100%;
        height: 350px;
        padding: 20px;
        border-radius: 10px;
    }
    
    .section-hero__card h2 {
        font-size: 1.75rem; /* 28px для первой, 32px для остальных */
        line-height: 1.2em;
        letter-spacing: 0.02em;
    }
    
    .section-hero__card:nth-child(2) h2,
    .section-hero__card:nth-child(3) h2 {
        font-size: 2rem; /* 32px */
    }
    
    .section-hero__card p {
        font-size: 0.875rem; /* 14px */
        line-height: 1.2em;
    }
    
    .section-hero__card p strong {
        font-weight: 400;
    }
    
    .section-hero__card:nth-child(3) p {
        font-size: 1rem; /* 16px для третьей карточки */
    }

    .section-hero__card-content {
        gap: 8px;
    }
}
