.ideal {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 39px;
}
.ideal__left {
    background-color: #fff;
    padding: 40px 33px 57px 48px;
    border-radius: 20px;
    box-shadow: 0 21.313426971435547px 94.72633361816406px 0 #0000000a;
}
.ideal__left h2 {
    font-size: 50px;
    font-weight: 500;
    margin-bottom: 63px;
    font-family: Onest, sans-serif;
}
.ideal__left-inner {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    gap: 15px;
}
.ideal__description {
    font-size: 20px;
    line-height: 30px;
    display: none;
}
.ideal__description.active {
    display: block;
}
.ideal__btn-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 33px;
}
.ideal__btn {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: center;
    justify-content: center;
    -ms-flex-align: center;
    align-items: center;
    padding: 38px;
    width: 100%;
    background-color: #2a2a2a;
    border-radius: 20px;
    text-transform: uppercase;
    color: #fff;
    transition: 0.4s;
    cursor: pointer;
}
.ideal__btn.active {
    background-color: #c20908;
}
.ideal__bottomDescription {
    display: none;
    position: relative;
    font-size: 20px;
    line-height: 30px;
    padding-left: 60px;
    margin-top: 28px;
}
.ideal__bottomDescription.active {
    display: block;
}
.ideal__bottomDescription:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 15px;
    background-color: #c20908;
    border-radius: 20px;
}
.ideal__bottomDescription-mobile {
    display: none;
    background-color: #c20908;
    border-radius: 10px;
    padding: 20px;
    color: #fff;
    margin-top: 0;
}
.ideal__bottomDescription-mobile p {
    font-size: 20px;
    line-height: 30px;
    text-decoration: underline;
    margin-bottom: 20px;
    text-underline-offset: 8px;
}
.ideal__bottomDescription-mobile span {
    display: block;
    font-size: 14px;
    line-height: 23px;
}

@media (max-width: 767px) {
    .ideal {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .ideal__left {
        padding: 20px;
    }
    .ideal__left h2 {
        font-size: 24px;
        line-height: 31px;
        text-align: center;
        margin-bottom: 28px;
    }
    .ideal__left-inner {
        -ms-flex-align: start;
        align-items: flex-start;
    }
    .ideal__left-inner img {
        width: 43px;
    }
    .ideal__description {
        font-size: 15px;
        line-height: 22.5px;
        padding-right: 16px;
    }
    .ideal__bottomDescription,
    .ideal__btn-list {
        display: none;
    }
    .ideal__select {
        margin-bottom: 28px;
    }
    .ideal__bottomDescription-mobile p {
        font-size: 16px;
    }
    .ideal__bottomDescription-mobile {
        display: block;
    }
}


.myLesson {
    margin-top: 100px;
}
.myLesson__wrapper {
    display: grid;
    grid-template-columns: 1fr 359px;
    gap: 42px;
}
.myLesson__left {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    box-shadow: 5px 5px 40px 0 #0000001a;
    padding: 40px;
    border-radius: 10px;
}
.myLesson__title {
    font-size: 50px;
    line-height: 65px;
    font-weight: 500;
    font-family: Onest, sans-serif;
    margin-bottom: 82px;
}
.myLesson__profile {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 38px;
}
.myLesson__profile > div {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 12px;
    margin-left: 21px;
}
.myLesson__profile > div p {
    margin: 0;
}
.myLesson__profile > div p:first-child {
    font-size: 30px;
}
.myLesson__profile > div p:nth-child(2) {
    font-size: 20px;
    color: #2a2a2a;
    opacity: 0.5;
}
.myLesson__profile-mobile {
    display: none;
    padding: 23px 20px 26px 18px;
    box-shadow: 0 4px 20px 0 #0000001a;
    background-color: #fff;
    border-radius: 10px;
    width: 100%;
}
.myLesson__infoWrapper {
    gap: 40px;
}
.myLesson__infoBox,
.myLesson__infoWrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
.myLesson__infoBox {
    gap: 16px;
}
.myLesson__infoText {
    font-size: 20px;
    max-width: 600px;
    margin: 0;
}
.myLesson__bold {
    color: #c20908;
}
.myLesson__iconVoice {
    position: absolute;
    right: 40px;
    top: 0;
    width: 100px;
    transform: translateY(-50%);
}
.myLesson__iphone {
    height: 100%;
    -o-object-fit: fill;
    object-fit: fill;
}

@media (max-width: 767px){
    .myLesson__wrapper {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column-reverse;
        flex-direction: column-reverse;
        gap: 0;
    }
    .myLesson__right {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        -ms-flex-align: center;
        align-items: center;
    }
    .myLesson__title {
        font-size: 24px;
        line-height: 31px;
        margin: 0 auto;
        margin-bottom: 46px;
        text-align: center;
        max-width: 290px;
    }
    .myLesson__profile {
        display: none;
        margin-bottom: 20px;
    }
    .myLesson__profile img {
        width: 49px;
    }
    .myLesson__profile > div {
        gap: 3px;
    }
    .myLesson__profile > div p:first-child {
        font-size: 18px;
    }
    .myLesson__profile > div p:nth-child(2) {
        font-size: 12px;
    }
    .myLesson__profile-mobile {
        display: -ms-flexbox;
        display: flex;
    }
    .myLesson__infoText span,
    .myLesson__priceText {
        font-size: 14px;
    }
    .myLesson__iconVoice {
        display: none;
    }
    .myLesson__iphone {
        width: 93%;
        margin: 0 auto;
    }

}





.newMain {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -ms-flex-align: start;
    align-items: flex-start;
    max-width: 1141px;
    height: 600px;
    background-image: url(../img/content/new/main-hero.png);
    background-position: -30px;
    background-size: cover;
    color: #fff;
    padding: 42px;
    margin-top: 40px;
    border-radius: 10px;
}
.newMain__title {
    font-size: 50px;
    line-height: 69px;
    margin-bottom: 60px;
    font-family: Onest, sans-serif;
}
.newMain__fly {
    position: absolute;
    right: 0;
    top: 0;
    transform: translateX(50%);
    font-size: 170px;
}
.newMain__bottom {
    background-color: #353535;
    padding: 5px 18px;
    border-radius: 50px;
    font-size: 30px;
}
.newMain__rocket {
    position: relative;
    left: 0;
    display: block;
    font-size: 30px;
    margin-left: 25px;
    transition: 0.6s;
}
.newMain__button {
    width: -moz-max-content;
    width: max-content;
    padding: 0 40px;
}
.newMain__button:hover .newMain__rocket {
    left: 20px;
    rotate: 45deg;
}
.newMain__btnMobile {
    display: none;
}

@media (max-width: 767px) {
    .newMain {
        height: 397px;
        padding: 20px;
        margin-bottom: 74px;
        background-size: cover;
        background-image: url(../img/content/new/hero-mobile.png);
        background-position-x: 0;
    }
    .newMain,
    .newMain__inner {
        width: 100%;
    }
    .newMain__title {
        font-size: 24px;
        line-height: 28px;
        text-align: center;
    }
    .newMain__fly {
        font-size: 80px;
        top: 40%;
        margin: auto 0;
        height: -moz-max-content;
        height: max-content;
        transform: translateX(8%);
    }
    .newMain__bottom {
        font-size: 11px;
        line-height: 16px;
        font-weight: 500;
        width: 100%;
        text-align: center;
        padding: 2px 10px;
    }
    .newMain__rocket {
        margin-left: 12px;
    }
    .newMain__button {
        position: absolute;
        bottom: -74px;
        left: 0;
        right: 0;
        width: 100%;
    }
    .newMain__btnDesktop {
        display: none;
    }
    .newMain__btnMobile {
        display: -ms-flexbox;
        display: flex;
    }
}
.ratesNew {
    margin-top: 100px;
}
.ratesNew__wrapper {
    justify-self: center;
    color: #fff;
    font-family: Onest, sans-serif;
}
.ratesNew__block,
.ratesNew__wrapper {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
}
.ratesNew__block {
    -ms-flex-pack: justify;
    justify-content: space-between;
    background-color: #c10a09;
    height: 439px;
    width: 1057px;
    border-radius: 20px;
    margin: 0 auto;
    position: relative;
    padding: 0 75px;
}
.ratesNew__list {
    gap: 30px;
    margin-top: 28px;
    font-size: 24px;
    font-weight: 500;
    font-family: Montserrat, sans-serif;
}
.ratesNew__list,
.ratesNew__right {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
.ratesNew__right {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
}
.ratesNew__price {
    font-size: 80px;
    line-height: 104px;
    margin-bottom: 20px;
}
.ratesNew__btn {
    padding: 20px 80px;
    font-size: 24px;
    font-weight: 500;
    border-radius: 70px;
    background-color: #2a2a2a;
}
.ratesNew__btn:hover {
    background-color: #1c1c1c;
}
.ratesNew__fly1,
.ratesNew__fly2 {
    position: absolute;
}
.ratesNew__fly1 {
    right: 0;
    top: 0;
    font-size: 129px;
    z-index: 5;
}
.ratesNew__fly2 {
    left: -30px;
    bottom: 40%;
    font-size: 159px;
}
.ratesNew__title {
    font-size: 50px;
    font-weight: 500;
}
.ratesNew__smile-img {
    width: 131px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
    transform: translateY(-50%);
}

@media (max-width: 767px){
    .ratesNew {
        margin-bottom: 150px;
    }
    .ratesNew__block {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        height: 314px;
        padding: 0 20px;
        padding-top: 40px;
        padding-bottom: 20px;
    }
    .ratesNew__list {
        gap: 16px;
        font-size: 15px;
        line-height: 22px;
        margin-top: 20px;
        padding-left: 0;
    }
    .ratesNew__price {
        font-size: 40px;
        line-height: 52px;
        margin-bottom: 0;
    }
    .ratesNew__btn {
        text-align: center;
        width: 100%;
        position: absolute;
        bottom: -28%;
        left: 0;
    }
    .ratesNew__fly1 {
        font-size: 60px;
    }
    .ratesNew__fly2 {
        font-size: 70px;
        left: -10px;
        z-index: 5;
        bottom: 10px;
    }
    .ratesNew__title {
        font-weight: 600;
        font-size: 16px;
        line-height: 21px;
        text-align: center;
    }
    .ratesNew__smile-img {
        width: 40px;
    }

}


.program {
    padding: 50px 0;
}
.program__inner {
    margin-bottom: 40px;
    background: #fff;
    box-shadow: 0px 21.3134px 94.7263px rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    padding: 40px;
}
@media (max-width: 1023px) {
    .program__inner {
        padding: 25px;
    }
}
@media (max-width: 767px) {
    .program__inner {
        box-shadow: -4px 4px 15px rgba(0, 0, 0, 0.1);
        border-radius: 10px;
        padding-bottom: 0;
        padding: 20px;
        position: relative;
    }
}
.program__tabs {
    margin-top: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}
@media (max-width: 767px) {
    .program__tabs {
        display: none;
    }
}
.program__tab {
    flex: 0 1 220px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background-color: #323232;
    color: #fff;
    text-transform: uppercase;
    font-size: 24px;
    transition: 0.2s;
    cursor: pointer;
}
@media (max-width: 1023px) {
    .program__tab {
        height: 50px;
        font-size: 20px;
    }
}
@media (min-width: 768px) {
    .program__tab:hover {
        background-color: #e3001e;
    }
}
.program__tab.active {
    background-color: #e3001e;
}
.program__tab:not(:last-child) {
    margin-right: 30px;
}
.program__content {
    display: none;
}
.program__content.active {
    display: block;
}
.program__title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 745px;
    padding-right: 40px;
    margin-bottom: 40px;
}
@media (max-width: 1023px) {
    .program__title {
        margin-bottom: 20px;
    }
}
@media (max-width: 767px) {
    .program__title {
        padding-right: 0;
        align-items: flex-start;
        margin-top: 28px;
    }
}
.program__title-image {
    margin-right: 20px;
    flex: 0 0 100px;
}
@media (max-width: 767px) {
    .program__title-image {
        flex: 0 0 43px;
        margin-right: 12px;
    }
}
.program__title-text {
    font-size: 28px;
    line-height: 1.3;
    font-weight: 400;
    font-family: 'Onest', sans-serif;
    color: #e3001e;
}
@media (max-width: 767px) {
    .program__title-text {
        font-size: 18px;
        line-height: 1.4;
    }
}
.program__bottom {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
@media (max-width: 767px) {
    .program__bottom {
        display: block;
    }
}
.program__about {
    padding-top: 40px;
    flex: 0 1 618px;
    margin-right: 15px;
}
@media (max-width: 767px) {
    .program__about {
        padding-top: 0px;
        margin-right: 0;
        padding-bottom: 25px;
    }
}
.program__about-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 35px;
}
@media (max-width: 1023px) {
    .program__about-title {
        font-size: 20px;
    }
}
@media (max-width: 767px) {
    .program__about-title {
        margin-bottom: 20px;
    }
}
.program__about-title span {
    border-bottom: 1px solid currentColor;
}
.program__about-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.program__about-list li {
    font-size: 20px;
    line-height: 1.5;
}
@media (max-width: 1023px) {
    .program__about-list li {
        font-size: 16px;
    }
}
@media (max-width: 767px) {
    .program__about-list li {
        font-size: 15px;
    }
}
.program__about-list li:not(:last-child) {
    margin-bottom: 25px;
}
@media (max-width: 767px) {
    .program__about-list li:not(:last-child) {
        margin-bottom: 15px;
    }
}
.program__result {
    flex: 0 1 427px;
    border-radius: 10px;
    background-color: #e3001e;
    color: #fff;
    padding: 40px;
}
@media (max-width: 767px) {
    .program__result {
        padding: 20px;
        width: 100%;
        position: absolute;
        top: 100%;
        margin-top: 20px;
        left: 0;
    }
}
.program__result-title {
    font-size: 24px;
    line-height: 1.3;
    margin-bottom: 25px;
}
@media (max-width: 1023px) {
    .program__result-title {
        font-size: 20px;
    }
}
.program__result-title span {
    border-bottom: 1px solid currentColor;
}
.program__result-descr {
    font-size: 20px;
    line-height: 1.5;
}
@media (max-width: 1023px) {
    .program__result-descr {
        font-size: 16px;
    }
}
.program__select {
    display: none;
}
@media (max-width: 767px) {
    .program__select {
        display: block;
        position: relative;
        height: 40px;
        margin-top: 28px;
    }
}
.program__select select {
    font-size: 16px;
    width: 100%;
    height: 100%;
    outline: none;
    border: none;
}
.program__layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #e3001e;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    border-radius: 10px;
    padding-top: 3px;
    color: #fff;
    pointer-events: none;
}
.program__layer-arrow {
    font-size: 0;
}
.program__layer-arrow svg {
    transform: rotate(90deg);
    fill: #fff;
    width: 11px;
    height: 22px;
    stroke: #fff;
}
.program__layer-text {
    display: none;
}
.program__layer-text.active {
    display: block;
}
