
.hero_inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 2rem;
    align-items: center;
    min-height: 660px;
    position: relative !important;
    flex-direction: row !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.heroLeft {
    z-index: 10;
    position: relative !important;
    order: 0 !important;
    padding-top: 50px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
}

/* Контейнер для центрирования круга */
.heroRight {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 660px !important;
    position: relative !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    order: 0 !important;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Контейнер для пульсирующего круга */
.pulse-container {
    position: relative;
    display: inline-block;
    top: 100px;
}

/* Пульсирующий круг */
.pulse-circle {
    width: 743px;
    height: 647px;
    background: #FA3246;
    border-radius: 50%;
    animation: pulse 3s infinite;
    position: relative;
    overflow: visible;
    z-index: 1;
}

/* Изображение команды поверх круга с эллиптической маской */
.team-image {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: auto;
    z-index: 3;
    pointer-events: none;
    clip-path: ellipse(379px 330px at 50% 396px);
    animation: pulseClip 3s infinite;
}

/* Верхняя часть изображения поверх всего */
.team-image-top {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: auto;
    z-index: 5;
    pointer-events: none;
    clip-path: polygon(0 0, 100% 0, 100% 35%, 0 35%);
}

/* Overlay для круга */
.pulse-circle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(250, 50, 70, 0.2);
    border-radius: 50%;
    z-index: 2;
    animation: none;
}

/* Кольца для пульсации */
.pulse-container .ring1,
.pulse-container .ring2 {
    position: absolute;
    border: 4px solid #FA3246;
    border-radius: 50%;
    opacity: 0;
    animation: pulseRing 3s infinite;
    top: -84px;
    left: -84px;
    right: -84px;
    bottom: -84px;
    z-index: 4;
    pointer-events: none;
}

.pulse-container .ring2 {
    top: -168px;
    left: -168px;
    right: -168px;
    bottom: -168px;
    animation-delay: 0.5s;
}

/* Анимации */
@keyframes pulse {
    0%, 100% { 
        transform: scale(1); 
    }
    50% { 
        transform: scale(1.05); 
    }
}

@keyframes pulseClip {
    0%, 100% { 
        clip-path: ellipse(379px 330px at 50% 396px);
    }
    50% { 
        clip-path: ellipse(399px 347px at 50% 396px);
    }
}

@keyframes pulseClipMedium {
    0%, 100% { 
        clip-path: ellipse(331px 289px at 50% 347px);
    }
    50% { 
        clip-path: ellipse(348px 304px at 50% 347px);
    }
}

@keyframes pulseRing {
    0% { 
        opacity: 1; 
        transform: scale(0.8); 
    }
    100% { 
        opacity: 0; 
        transform: scale(1.4); 
    }
}

@keyframes pulseClipMobile {
    0%, 100% { 
        clip-path: ellipse(228px 198px at 50% 242px);
    }
    50% { 
        clip-path: ellipse(239px 208px at 50% 242px);
    }
}

/* Адаптивность для планшетов и средних экранов */
@media (min-width: 769px) and (max-width: 1440px) {
    .hero_inner {
        min-height: 580px !important;
        gap: 1.5rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        flex-direction: row !important;
    }
    
    .heroRight {
        min-height: 387px !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: 0 !important;
    }
    
    .pulse-container {
        top: 80px;
    }
    
    .pulse-circle {
        width: 387px;
        height: 387px;
    }

    .team-image {
        top: -70px;
        width: 387px;
        clip-path: ellipse(331px 289px at 50% 347px);
        animation: pulseClipMedium 3s infinite;
    }

    .team-image-top {
        top: -70px;
        width: 387px;
    }
    
    .pulse-container .ring1,
    .pulse-container .ring2 {
        top: -73px;
        left: -73px;
        right: -73px;
        bottom: -73px;
    }

    .pulse-container .ring2 {
        top: -147px;
        left: -147px;
        right: -147px;
        bottom: -147px;
    }
}

/* Адаптивность для больших экранов 1440-1900px */
@media (min-width: 1441px) and (max-width: 1900px) {
    .hero_inner {
        min-height: 720px !important;
        gap: 2.5rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        flex-direction: row !important;
    }
    
    .heroLeft {
        padding-top: 60px !important;
    }
    
    .heroRight {
        min-height: 720px !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: 0 !important;
    }
    
    .pulse-container {
        top: 110px;
    }
    
    .pulse-circle {
        width: 743px;
        height: 647px;
    }

    .team-image {
        top: -80px;
        width: 700px;
        clip-path: ellipse(379px 330px at 50% 396px);
        animation: pulseClip 3s infinite;
    }

    .team-image-top {
        top: -80px;
        width: 700px;
    }
    
    .pulse-container .ring1,
    .pulse-container .ring2 {
        top: -73px;
        left: -73px;
        right: -73px;
        bottom: -73px;
    }

    .pulse-container .ring2 {
        top: -147px;
        left: -147px;
        right: -147px;
        bottom: -147px;
    }
}

/* Адаптивность для очень больших экранов свыше 1900px */
@media (min-width: 1901px) {
    .hero_inner {
        min-height: 780px !important;
        gap: 3rem !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        flex-direction: row !important;
    }
    
    .heroLeft {
        padding-top: 80px !important;
    }
    
    .heroRight {
        min-height: 780px !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: 0 !important;
    }
    
    .pulse-container {
        top: 120px;
    }
    
    .pulse-circle {
        width: 743px;
        height: 647px;
    }

    .team-image {
        top: -80px;
        width: 700px;
        clip-path: ellipse(379px 330px at 50% 396px);
        animation: pulseClip 3s infinite;
    }

    .team-image-top {
        top: -80px;
        width: 700px;
    }
    
    .pulse-container .ring1,
    .pulse-container .ring2 {
        top: -73px;
        left: -73px;
        right: -73px;
        bottom: -73px;
    }

    .pulse-container .ring2 {
        top: -147px;
        left: -147px;
        right: -147px;
        bottom: -147px;
    }
}

/* Дополнительная адаптивность для экранов до 767px */
@media (max-width: 1439px) {
    /* Переопределяем общие ограничения container именно для hero-секции */
    .hero_inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Дополнительные сбросы для всех дочерних элементов hero */
    .hero .heroLeft,
    .hero .heroRight {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .hero_inner {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
        min-height: auto !important;
        display: grid !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    .heroLeft {
        order: 2 !important;
        padding-top: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }
    
    .heroRight {
        min-height: 480px !important;
        position: relative !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    
    .pulse-container {
        top: 50px;
        width: 100% !important;
        max-width: 100%  !important;
        margin: 0 auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        transform: translateX(0) !important;
    }
    
    .pulse-circle {
        width: 94% ;
        height: 340px;
    }

    .team-image {
        top: -48px;
        width: 100% ;
        height: auto;
        clip-path: ellipse(228px 198px at 50% 242px);
        animation: pulseClipMobile 3s infinite;
    }

    .team-image-top {
        top: -48px;
        height: auto;
        width: 100% ;
        clip-path: polygon(0 0, 100% 0, 100% 30%, 0 30%);
    }
    
    .pulse-container .ring1,
    .pulse-container .ring2 {
        top: -50px;
        left: -50px;
        right: -50px;
        bottom: -50px;
    }

    .pulse-container .ring2 {
        top: -101px;
        left: -101px;
        right: -101px;
        bottom: -101px;
    }
}
