.neuro-yura-container {
    background: url("../img/neuro-yura/bg.png") center/cover no-repeat;
    padding: 60px 20px 60px;
}
.neuro-yura-inner {
    max-width: 1124px;
    margin: 0 auto;
}
.neuro-yura-headline {
    font-family: "Onest", sans-serif;
    font-weight: 700;
    font-size: 40px;
    line-height: 1.18;
    color: #000000;
    margin: 0 0 24px 0;
}
.neuro-yura-headline-line {
    display: block;
}
.neuro-yura-headline-line:last-child {
    color: #965ACE;
}
.neuro-yura-layout {
    position: relative;
    display: flex;
    gap: 40px;
}
.neuro-yura-left {
    flex: 0 0 364px;
}
.neuro-yura-paragraph {
    font-weight: 500;
    font-size: 24px;
    line-height: 29px;
    color: #51596D;
    margin: 20px 0 0 0;
}
.neuro-yura-right {
    flex: 1 1 auto;
}
.neuro-yura-cards {
    display: grid;
    grid-template-columns: repeat(2, 364px);
    grid-gap: 16px;
    position: relative;
    z-index: 2;
}
.neuro-yura-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 24px 20px 20px 20px;
    box-shadow: none;
}
.neuro-yura-card-header {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 10px;
}
.neuro-yura-card-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
}
.neuro-yura-card-title {
    font-weight: 600;
    font-size: 19px;
    line-height: 1.24;
    color: #51596D;
    margin: 0;
}
.neuro-yura-card-body {
    font-weight: 400;
    font-size: 16px;
    line-height: 21px;
    color: #767A85;
    margin: 0;
}
.neuro-yura-button-wrap {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
}
.neuro-yura-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 364px;
    height: 64px;
    background: #965ACE;
    color: #ffffff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 20px;
    line-height: 1;
    text-decoration: none;
    transition: opacity 0.2s ease;
}
.neuro-yura-button:hover {
    opacity: 0.9;
    color: #ffffff;
    text-decoration: none;
}
.neuro-yura-mascot {
    position: absolute;
    left: -109px;
    bottom: -60px;
    width: 541px;
    height: 443px;
    pointer-events: none;
    user-select: none;
    z-index: 1;
}
@media (max-width: 1537px) {
    .neuro-yura-mascot {
        left: -70px;
        bottom: 40px;
        width: 480px;
        height: auto;
    }
}
@media (max-width: 1199px) {
    .neuro-yura-layout {
        flex-direction: column;
        gap: 32px;
    }
    .neuro-yura-left {
        flex-basis: auto;
    }
    .neuro-yura-paragraph {
        margin-top: 0;
    }
    .neuro-yura-cards {
        grid-template-columns: repeat(2, minmax(280px, 1fr));
    }
    .neuro-yura-button {
        width: 100%;
    }
    .neuro-yura-mascot {
        position: relative;
        left: auto;
        bottom: -40px;
        margin-top: 24px;
        max-width: 100%;
        height: auto;
        align-self: center;
    }
}
@media (max-width: 767px) {
    .neuro-yura-container {
        padding: 40px 16px;
    }
    .neuro-yura-headline {
        font-size: 28px;
    }
    .neuro-yura-paragraph {
        font-size: 20px;
        line-height: 26px;
    }
    .neuro-yura-cards {
        grid-template-columns: 1fr;
    }
}
@media (max-width: 576px) {
    .neuro-yura-headline {
        font-size: 22px;
    }
    .neuro-yura-paragraph {
        font-size: 18px;
        line-height: 24px;
    }
    .neuro-yura-card-title {
        font-size: 17px;
    }
    .neuro-yura-card-body {
        font-size: 18px;
        line-height: 19px;
    }
}

.custom-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.custom-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(-30px);
    transition: transform 0.3s ease;
}

.custom-modal-overlay.active .custom-modal {
    transform: scale(1) translateY(0);
}

.custom-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 32px;
    font-weight: 300;
    color: #333;
    cursor: pointer;
    background: none;
    border: none;
    line-height: 1;
    transition: color 0.3s, transform 0.3s;
    padding: 5px 10px;
}

.custom-modal-close:hover {
    color: #ff0000;
    transform: rotate(90deg);
}

/* ===== ЗАГОЛОВОК ===== */
h4.custom-modal-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    padding-right: 40px;
    line-height: 1.1;
}

.custom-modal-body {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

body.no-scroll {
    overflow: hidden !important;
}

.row_modal {
    flex-direction: column;
}

.row_modal > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x, .5rem) * .5);
    padding-left: calc(var(--bs-gutter-x, .5rem) * .5);
    margin-top: var(--bs-gutter-y, 0);
}

.btn-trud2,
.btn-trud2:hover {
    background: rgba(229, 153, 56, 1);
    color: #fff;
}

.underline {
    color: rgba(66, 66, 66, 1);
}
