*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
:root {
    --color-accent: #3ac2bc;
    --color-accent-hover: #40d2cb;
    --color-accent-second: #e7403f;
    --color-text: #191b26;
    --color-bg: #fcfcfc;
    --color-white: #ffffff;
    --color-red: #e7403f;
    --color-grey: #ededed;
    --color-bg-black: #191b26;
}

a {
    display: inline-flex;
    text-decoration: none;
    color: inherit;
    transition: all 0.6s ease;
}
ul,
ol,
li {
    list-style: none;
    padding: 0;
    margin: 0;
}
img {
    display: block;
    object-fit: cover;
    max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
}
button {
    font-family: inherit;
    font-style: inherit;
    font-weight: inherit;
    font-size: inherit;
    line-height: inherit;
    border: none;
    background: none;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
html,
body {
    scroll-behavior: smooth;
}
body {
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    line-height: 114.9%;
    color: var(--color-text);
    background: var(--color-bg);
}
body.fixed,
body.fixed-modal {
    overflow: hidden;
}
.wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
}
.header {
    flex: 0 0 auto;
}
.main {
    flex: 1 0 auto;
}
.footer {
    flex: 0 0 auto;
}
.container {
    max-width: 1240px;
    padding: 0 20px;
    margin: 0 auto;
}
/* ? settings */
.title-h1 {
    font-family: 'Oswald', sans-serif;
    font-size: 71px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%;
    text-transform: uppercase;
}
.title-h2 {
    text-align: center;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 115%;
}
.title-h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%;
}
.title-h4 {
    font-family: 'Oswald', sans-serif;
    text-align: center;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 115%;
}

.subtitle {
    font-family: 'Oswald', sans-serif;
    font-size: 30px;
    font-style: normal;
    font-weight: 700;
}
.description {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    line-height: 115%;
}

.text {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
}
.text-bold {
    font-weight: 700;
}

.btn {
    font-weight: 700;
    padding: 14px 40px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 5px;
    box-shadow: 0px 8px 30px 0px rgba(29, 76, 90, 0.22);
    transition: all 0.6s ease;
}
.btn:hover {
    background: var(--color-accent-hover);
}

.color-accent {
    color: var(--color-accent);
}
.color-accent-second {
    color: var(--color-accent-second);
}

.phones {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.phone__link:hover {
    color: var(--color-accent);
}

/* ?--------- HEADER */
.header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
}

.header-decor {
    height: 50px;
    background: var(--color-grey);
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 10;
}
.header__inner {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px 30px;
}
.header__logo {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 20;
    align-self: flex-start;
}
.header__logo-text {
    display: block;
    font-weight: 700;
    max-width: 150px;
}

.header-phones {
    font-weight: 500;
    font-size: 15px;
    align-self: flex-start;
    position: relative;

    z-index: 20;
}
.header-phones::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -22px;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background: url(../images/icons/phone.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* ? burger__menu */
.burger__menu {
    display: none;
}

.burger__menu {
    cursor: pointer;
    width: 36px;
    height: 36px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    z-index: 20;
    align-self: flex-start;
}
.burger__menu span {
    display: flex;
    width: 24px;
    height: 2px;
    background-color: var(--color-text);
    border-radius: 6px;
    position: relative;
}
.burger__menu span::before,
.burger__menu span::after {
    content: '';
    position: absolute;
    height: 2px;
    right: 0;
    background-color: var(--color-text);
    border-radius: 6px;
}
.burger__menu span::before {
    width: 36px;
    top: -10px;
}
.burger__menu span::after {
    width: 28px;
    top: 10px;
}
.burger__menu span {
    transition: all 0.4s;
}
.burger__menu span:before,
.burger__menu span:after {
    transform-origin: center center;
}
.burger__menu.active span:before {
    animation: burg2top 0.4s linear forwards;
}
.burger__menu.active span {
    background-color: transparent;
}
.burger__menu.active span::after {
    width: 36px;
    animation: burg2bottom 0.4s linear forwards;
}
.burger__menu.toggled span:before {
    animation: burg2topReset 0.4s linear forwards;
}

.burger__menu.toggled span::after {
    animation: burg2bottomReset 0.4s linear forwards;
}
@keyframes burg2top {
    0% {
    }
    20% {
        top: 0;
        transform: rotate(0deg);
    }
    60% {
        top: 0;
        transform: rotate(55deg);
    }
    100% {
        top: 0;
        transform: rotate(45deg);
    }
}
@keyframes burg2bottom {
    0% {
    }
    20% {
        top: 0;
        transform: rotate(0deg);
    }
    60% {
        top: 0;
        transform: rotate(-55deg);
    }
    100% {
        top: 0;
        transform: rotate(-45deg);
    }
}
@keyframes burg2topReset {
    0% {
        top: 0;
        transform: rotate(45deg);
    }
    20% {
        transform: rotate(0deg);
    }
    60% {
        top: -8px;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}
@keyframes burg2bottomReset {
    0% {
        top: 0;
        transform: rotate(-45deg);
    }
    20% {
        transform: rotate(0deg);
    }
    60% {
        top: 8px;
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg);
    }
}

/* ? burger-menu */

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 15;
}
.menu-top {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 2px;
    border-bottom: 8px solid #d9d9d9;
}
.menu-top__item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-size: 15px;
}
.menu-top__link:hover {
    color: var(--color-accent);
}

.menu-top__link-btn {
    width: 232px;
    padding: 14px 20px;
    border-radius: 5px;
    border: 2px solid var(--color-red);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 20;
}
.menu-top__link-btn:hover {
    color: var(--color-accent);
}
.menu-top__link-btn .text-link {
    font-weight: 700;
}
.menu-top__link-btn:hover {
    border: 2px solid var(--color-accent);
}

.menu-top__link-btn .icon-btn path {
    transition: all 0.6s ease;
}
.menu-top__link-btn:hover .icon-btn path {
    stroke: var(--color-accent);
}
.menu-top__link-img {
    display: flex;
    align-items: center;
    gap: 10px;
}
.menu-top__link-img .text-link {
    text-decoration-line: underline;

    max-width: 120px;
}
.menu-top__link-img .icon-img {
    display: block;
    width: 80px;
    height: 52px;
    background: url(../images/icons/icon-header-link.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.menu-top__link-social {
    display: flex;
    gap: 20px;
    position: relative;
}
.menu-top__link-social::before {
    content: '';
    position: absolute;
    width: 5px;
    height: 5px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #0db236;
    top: 10px;
    left: 36px;
}
.menu-top__link-social .text-link {
    max-width: 96px;

    padding-top: 5px;
}
.menu-top__link-social .icon-social {
    display: block;
    width: 28px;
    height: 28px;
    background: url(../images/icons/telegram-min.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.icon-location {
    display: block;
    width: 18px;
    height: 18px;
    background: url(../images/icons/location.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.menu-bottom {
    display: flex;
    align-items: center;
    gap: 60px;
}
.menu-bottom__link {
    font-size: 18px;
    font-weight: 500;
}
.menu-bottom__link:hover {
    color: var(--color-accent);
}
.header__btn {
    display: none;
}

/* ? ---------------- FOOTER */
.footer {
    padding: 100px 0;
    background: var(--color-bg-black);
}
.footer__items {
    display: flex;
    justify-content: space-between;

    gap: 40px 60px;
    flex-wrap: wrap;
}
.footer__title {
    color: var(--color-white);
    max-width: 300px;
}

.footer__item {
    color: var(--color-white);
}
.footer__item-title {
    padding-top: 6px;
    display: block;
    color: var(--color-accent);
    font-size: 18px;
    margin-bottom: 10px;
}
.footer-phones {
    font-weight: 700;
}

.phones__item {
    width: 160px;
    position: relative;
}

.phone__link-telegram {
    position: absolute;
    right: -20px;
    bottom: 0;
    width: 22px;
}
.phone__link-telegram:hover {
    transform: scale(1.2);
}
.footer__text {
    font-weight: 700;
    max-width: 300px;
}
.footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
}
.footer-social__link:hover {
    transform: scale(1.2);
}

/* ? ------------HERO */
.hero {
    padding-top: 170px;
    margin-bottom: 140px;
}
.hero__items {
    display: flex;
    justify-content: space-between;
    margin-bottom: 130px;
}

.hero__item-content {
    padding-top: 50px;
    max-width: 660px;
    flex-shrink: 0;
}
.hero__title {
    margin-bottom: 30px;
}
.hero__title span {
    display: block;
}
.hero__subtitle {
    margin-bottom: 30px;
}
.hero__description {
    margin-bottom: 30px;
    max-width: 390px;
}
.hero__link {
    margin-bottom: 70px;
}
.hero-content__items {
    display: flex;
    align-items: center;
    gap: 30px;
}
.hero-content__item {
    padding-left: 55px;
    position: relative;
    font-weight: 700;
}
.hero-content__item::before {
    content: '';
    position: absolute;
    width: 39px;
    height: 39px;
    background: url(../images/icons/check-red.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.hero__item-image {
    transform: translateX(50px);
}
/* ? ------------------ hero-bottom */
.hero-bottom {
    display: flex;
    justify-content: space-between;
    gap: 40px 20px;
    flex-wrap: wrap;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 60px 70px;
}
.hero-bottom__title {
    max-width: 610px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
}

.hero-bottom__title-icon {
    display: flex;
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    background: url(../images/icons/bonus.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.hero-bottom__title-text {
    display: inline-block;
    flex-wrap: wrap;
}
.hero-bottom__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.hero-bottom__item {
    padding-left: 20px;
    position: relative;
}
.hero-bottom__item::before {
    content: '';
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-red);
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
/* ?-------------------- form */
.form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 365px;
}
.form__input {
    width: 100%;
    height: 50px;
    background-color: var(--color-grey);
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 150%;
    padding: 15px 30px;
    border: 1px solid transparent;
    outline: none;
}
.form__input::placeholder {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 150%;
}

.form__input:focus,
.form__input:active {
    border: 1px solid var(--color-accent);
}

/* ?-------------------WHY */
.why {
    margin-bottom: 140px;
}
.why__title {
    margin-bottom: 30px;
}

.why__items {
    max-width: 888px;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}
.why__item {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.why__item-name {
    justify-content: flex-end;
    border-bottom: 1px solid var(--color-grey);
}
.why__item-name .why__item-col {
    padding: 20px 40px 30px;
}
.why__item-col {
    padding-left: 40px;
    display: flex;
    align-items: center;
    height: 60px;
}
.why__item:last-child .why__item-col {
    height: 80px;
    padding-bottom: 30px;
}
.why__item-title {
    text-align: left;
}
.why__item-col-our .why__item-title {
    position: relative;
}
.why__item-col-our .why__item-title::before {
    content: '';
    position: absolute;
    width: 125px;
    height: 8px;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: url(../images/icons/title-decor.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.why__item-col-name {
    margin-right: auto;
    padding-right: 40px;
}

.why__item-col-our {
    width: 250px;
    border-left: 1px solid var(--color-grey);
    flex-shrink: 0;
}
.why__item-col-other {
    width: 250px;
    border-left: 1px solid var(--color-grey);
    flex-shrink: 0;
}
.why__item-col-our .why__item-col-text {
    padding-left: 38px;
}
.why__item-col-other .why__item-col-text {
    padding-left: 38px;
}
.why__item-col-text {
    position: relative;
}
.why__item-col-text::before {
    content: '';
    position: absolute;
    width: 28px;
    height: 28px;
    top: 50%;
    left: 0;
    transform: translateY(-50%);

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.why__item-col-our .why__item-col-text::before {
    background: url(../images/icons/check.svg);
}
.why__item-col-other .why__item-col-text::before {
    background: url(../images/icons/cancel.svg);
}

/* ? ------------------------------------ METHODOLOGY */
.methodology {
    margin-bottom: 140px;
}

.methodology__title {
    margin-bottom: 30px;
}

.methodology__description {
    text-align: center;
    max-width: 500px;
    margin: 0 auto 48px;
}

.methodology__items {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.methodology__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
    width: 385px;
    background: var(--color-white);
    border-radius: 5px;
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.methodology__item-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    width: 72px;
    height: 72px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.methodology__item-title {
    margin-bottom: 30px;
    position: relative;
}
.methodology__item-title:before {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 125px;
    height: 8px;
    background: url(../images/icons/title-decor.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.methodology__item-icon-methodology {
    background-image: url(../images/icons/methodology.svg);
}
.methodology__item-icon-club {
    background-image: url(../images/icons/club.svg);
}
.methodology__item-icon-programs {
    background-image: url(../images/icons/programs.svg);
}
.methodology__item-icon-lessons {
    background-image: url(../images/icons/lessons.svg);
}
.methodology__item-icon-complex {
    background-image: url(../images/icons/complex.svg);
}
.methodology__item-icon-teachers {
    background-image: url(../images/icons/teachers.svg);
}

/* ? --------------- QUIZ */
.quiz {
    margin-bottom: 140px;
}
.quiz__title {
    margin-bottom: 30px;
}

/* ? -------------------- COURSES */
.courses {
    margin-bottom: 320px;
    background: var(--color-accent);
    padding: 120px 0px 290px;
    position: relative;
}

.courses__title {
    color: var(--color-white);
    margin-bottom: 30px;
}

.courses__items {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.courses__item {
    padding: 40px;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    width: 380px;
    height: 400px;
}

.coorses__item-top {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}
.courses__item-text {
    display: flex;
    justify-content: center;
}

.courses-plan {
    width: 980px;
    padding: 70px 20px 50px;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 30px;
    border-radius: 5px;
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    position: absolute;
    bottom: -190px;
    left: 50%;
    transform: translateX(-50%);
}
.courses-plan__items {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ? ------------------------------ CERTIFICATE */
.certificate {
    margin-bottom: 140px;
}

.certificate__title {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.certificate__description {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
}

.certificate__items {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.certificate__item {
    max-width: 400px;
    width: 100%;
}
.certificate__list {
    display: flex;
    flex-direction: column;
    gap: 70px;
}
.certificate__list-text {
    padding-left: 55px;
    position: relative;
}
.certificate__list-text:before {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: url(../images/icons/check-red.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.certificate__item-image {
    max-width: 450px;
    flex-shrink: 0;
}

/* ? ---------------- LESSONS */

.lessons {
    margin-bottom: 140px;
}
.lessons__title {
    max-width: 600px;
    margin: 0 auto;
    margin-bottom: 60px;
}
.lessons-slider__item {
    text-align: center;
}
.slider__inner {
    position: relative;
}
.lessons-slider {
    padding-bottom: 40px;
}
.swiper-slide img {
    max-width: 100%;
    margin: 0 auto;
}

.slider__btn {
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    cursor: pointer;
}
.slider__btn-prev {
    left: -60px;
    background-image: url(../images/icons/arrow-left.svg);
}
.slider__btn-next {
    right: -60px;
    background-image: url(../images/icons/arrow-right.svg);
}
.lessons-swiper-pagination,
.reviews-swiper-pagination {
    position: absolute;
    bottom: 0;
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    display: none;
}
.swiper-pagination-bullet-active {
    background: var(--color-accent);
}

/* ? ----------------------- FREE-LESSON */
.free-lesson {
    margin-bottom: 140px;
    background: var(--color-accent);
    padding: 120px 0;
}
.free-lesson__title {
    color: var(--color-white);
    margin-bottom: 30px;
}

.free-lesson__description {
    color: var(--color-white);
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
    max-width: 900px;
}

.free-lesson__inner {
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 60px 70px 70px;
    position: relative;
}
.free-lesson__inner-title {
    margin-bottom: 40px;
}
.free-lesson__items {
    display: flex;
    justify-content: space-between;
}
.free-lesson__form .form__input {
    background: var(--color-grey);
}

.free-lesson__img {
    position: absolute;
    top: 0;
    right: 0;
}

/* ? reviews */
.reviews {
    margin-bottom: 140px;
}
.reviews-slider {
    padding-bottom: 40px;
}

/* ? ------------BONUS */
.bonus {
    margin-bottom: 140px;
    padding: 140px 0 70px;
    background: var(--color-accent-second);
}

.bonus__title {
    color: var(--color-white);
    max-width: 550px;
    margin: 0 auto;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
}
.bonus__title::before {
    content: '';
    position: absolute;
    width: 72px;
    height: 72px;
    background-image: url(../images/icons/bonus.svg);
    background-repeat: no-repeat;
    background-position: top left;
    background-size: cover;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.bonus__form {
    display: flex;
    justify-content: center;
    flex-direction: row;
    width: 100%;
}

.bonus__form .form__input {
    width: 33.3%;
    background-color: var(--color-white);
}

/* ? ----------------------questions */
.questions {
    margin-bottom: 140px;
}

.questions__title {
    margin-bottom: 30px;
}

.questions__description {
    margin: 0 auto;
    text-align: center;
    margin-bottom: 50px;
    max-width: 400px;
}

.questions__items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.questions__item {
    width: 48%;
    height: 150px;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 25px;
    position: relative;
    transition: all 1s ease;
}
.questions__item.active {
    height: auto;
}
.questions__item-btn {
    width: 24px;
    height: 24px;
    position: absolute;
    top: 25px;
    right: 25px;
}
.questions__item-btn::before {
    content: '';
    position: absolute;
    width: 80%;
    height: 2px;
    border-radius: 5px;
    background: var(--color-text);
}
.questions__item-btn::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 80%;
    border-radius: 5px;
    background: var(--color-text);
}
.questions__item.active .questions__item-btn::after {
    display: none;
}
.questions__item-title {
    text-align: left;
    max-width: 90%;
    height: 80px;
}

.questions__item-body {
    height: 0;
    opacity: 0;
    visibility: hidden;
    padding-top: 20px;
    transition: all 0s ease;
}
.questions__item.active .questions__item-body {
    height: auto;
    opacity: 1;
    visibility: visible;
    transition: all 1.5s ease;
}

/* ? ----modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 500;
    display: none;
    justify-content: center;
    align-items: center;
}
.modal.active {
    display: flex;
}

.modal-body {
    width: 650px;
    height: 400px;
    border-radius: 5px;
    background: var(--color-white);
    box-shadow: 0px 17px 40px 0px rgba(0, 0, 0, 0.1);
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.modal-body__close {
    position: absolute;
    width: 30px;
    height: 30px;
    top: 20px;
    right: 20px;
}
.modal-body__close:before {
    content: '';
    position: absolute;
    width: 90%;
    height: 2px;
    border-radius: 5px;
    background: var(--color-text);
    transform: rotate(45deg);
    transition: all 0.3s ease;
}
.modal-body__close:after {
    content: '';
    position: absolute;
    width: 90%;
    height: 2px;
    border-radius: 5px;
    background: var(--color-text);
    transform: rotate(-45deg);
    transition: all 0.3s ease;
}
.modal-body__close:hover:before,
.modal-body__close:hover:after {
    background: var(--color-accent);
}
.modal-body__title-h3 {
    padding-top: 40px;
    max-width: 520px;
    margin-bottom: 30px;
    text-align: center;
}

.modal-course__form,
.modal-plan__form {
    margin: 0 auto;
    align-items: center;
}
.modal-course__form .form__input,
.modal-plan__form .form__input {
    width: 100%;
    background: var(--color-grey);
}
.input-error {
    border: 1px solid var(--color-red);
}
/* ? media */
@media (max-width: 1340px) {
    .swiper-pagination-bullet {
        display: inline-block;
    }
    .slider__btn {
        display: none;
    }
}
@media (max-width: 1240px) {
    .title-h1 {
        font-size: calc(44px + 27 * (100vw - 320px) / 920);
    }
    .title-h2 {
        font-size: calc(32px + 18 * (100vw - 320px) / 920);
    }
    .title-h3 {
        font-size: calc(22px + 8 * (100vw - 320px) / 920);
    }

    .title-h4 {
        font-size: calc(19px + 5 * (100vw - 320px) / 920);
    }

    .subtitle {
        font-size: calc(22px + 8 * (100vw - 320px) / 920);
    }
    .description {
        font-size: calc(16px + 4 * (100vw - 320px) / 920);
    }
    .text {
        font-size: calc(14px + 2 * (100vw - 320px) / 920);
    }
    .container {
        padding-left: calc(10px + 20 * (100vw - 320px) / 920);
        padding-right: calc(10px + 20 * (100vw - 320px) / 920);
    }
    .header__logo-img {
        width: calc(47px + 8 * (100vw - 320px) / 920);
    }
    .burger__menu {
        display: flex;
    }

    .header-decor {
        display: none;
    }
    .header__btn {
        display: flex;
    }
    .menu-top__item .menu-top__link-btn {
        display: none;
    }
    .menu-top {
        border-bottom: none;
    }
    .nav-menu {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        padding: 190px 0 80px;
        background: var(--color-white);
        padding-left: calc(10px + 20 * (100vw - 320px) / 920);
        padding-right: calc(10px + 20 * (100vw - 320px) / 920);
        z-index: 10;
        transform: translateX(-110%);
        transition: all 0.6s ease;
    }
    .nav-menu.active {
        transform: translateX(0%);
    }
    .menu-top,
    .menu-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }
    .menu-bottom {
        gap: calc(20px + 40 * (100vw - 320px) / 920);
    }

    .footer {
        padding-top: calc(70px + 30 * (100vw - 320px) / 920);
        padding-bottom: calc(70px + 30 * (100vw - 320px) / 920);
    }
    .footer__items {
        justify-content: center;
    }
    .footer__item {
        text-align: center;
    }
    .footer__title {
        max-width: calc(180px + 120 * (100vw - 320px) / 920);
    }
    .footer__item-title {
        padding-top: calc(0px + 6 * (100vw - 320px) / 920);
        font-size: calc(16px + 2 * (100vw - 320px) / 920);
    }
    .footer-phones,
    .footer__text {
        font-size: calc(14px + 2 * (100vw - 320px) / 920);
        max-width: calc(260px + 40 * (100vw - 320px) / 920);
    }
    .footer-phones__item {
        width: calc(140px + 20 * (100vw - 320px) / 920);
    }
    .phones__item {
        width: calc(140px + 20 * (100vw - 320px) / 920);
    }
    .hero {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .hero__items {
        gap: calc(10px + 40 * (100vw - 320px) / 920);
        flex-wrap: wrap;
        margin-bottom: calc(70px + 60 * (100vw - 320px) / 920);
    }
    .hero-bottom__title {
        max-width: 610px;
        max-width: calc(280px + 330 * (100vw - 320px) / 920);
    }
    .hero__item-image {
        transform: translateX(0px);
        margin: 0 auto;
    }
    .hero__item-content {
        max-width: calc(300px + 360 * (100vw - 320px) / 920);
    }
    .hero__description {
        max-width: calc(300px + 90 * (100vw - 320px) / 920);
    }
    .hero-content__item::before {
        width: calc(28px + 11 * (100vw - 320px) / 920);
        height: calc(28px + 11 * (100vw - 320px) / 920);
    }
    .hero-content__items {
        flex-wrap: wrap;
        gap: calc(20px + 10 * (100vw - 320px) / 920);
    }
    .hero-content__item {
        padding-left: calc(43px + 12 * (100vw - 320px) / 920);
    }
    .hero-bottom {
        padding-top: calc(40px + 20 * (100vw - 320px) / 920);
        padding-bottom: calc(40px + 20 * (100vw - 320px) / 920);
        padding-left: calc(10px + 60 * (100vw - 320px) / 920);
        padding-right: calc(10px + 60 * (100vw - 320px) / 920);
    }
    .form {
        width: calc(280px + 85 * (100vw - 320px) / 920);
    }
    .why {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }

    .why__item-col {
        padding-left: calc(20px + 20 * (100vw - 320px) / 920);
        padding-right: calc(0px + 20 * (100vw - 320px) / 920);
    }
    .why__item-name {
        padding-left: calc(20px + 20 * (100vw - 320px) / 920);
    }
    .why__item-name .why__item-col {
        padding-right: calc(0px + 40 * (100vw - 320px) / 920);
        padding-left: calc(20px + 20 * (100vw - 320px) / 920);
    }

    .why__item-col-name {
        padding-left: calc(20px + 20 * (100vw - 320px) / 920);
        padding-right: calc(0px + 20 * (100vw - 320px) / 920);
    }
    .why__item-col-our,
    .why__item-col-other {
        width: calc(120px + 130 * (100vw - 320px) / 920);
    }
    .why__item-col {
        padding-left: calc(20px + 20 * (100vw - 320px) / 920);
    }

    .why__item-col-our .why__item-title::before {
        width: calc(98px + 27 * (100vw - 320px) / 920);
        height: calc(6px + 2 * (100vw - 320px) / 920);
    }
    .methodology {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .methodology__description {
        max-width: calc(300px + 200 * (100vw - 320px) / 920);
        margin-bottom: calc(20px + 28 * (100vw - 320px) / 920);
    }
    .methodology__item {
        padding: calc(20px + 20 * (100vw - 320px) / 920);
        width: calc(300px + 85 * (100vw - 320px) / 920);
    }
    .quiz {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .quiz-block {
        width: calc(300px + 588 * (100vw - 320px) / 920);
        height: calc(470px + 100 * (100vw - 320px) / 920);
    }
    .quiz-block__title {
        max-width: calc(280px + 220 * (100vw - 320px) / 920);
    }
    .quiz__link {
        width: calc(280px + 40 * (100vw - 320px) / 920);
    }
    .courses__item {
        padding: calc(20px + 20 * (100vw - 320px) / 920);
        width: calc(300px + 80 * (100vw - 320px) / 920);
        height: calc(320px + 80 * (100vw - 320px) / 920);
    }
    .coorses__item-top {
        gap: calc(15px + 5 * (100vw - 320px) / 920);
    }
    .courses {
        padding: 120px 0px 290px;
        padding-top: calc(70px + 50 * (100vw - 320px) / 920);
        padding-bottom: calc(180px + 110 * (100vw - 320px) / 920);
    }

    .courses-plan {
        width: calc(300px + 680 * (100vw - 320px) / 920);
        gap: calc(20px + 10 * (100vw - 320px) / 920);
        padding-top: calc(40px + 30 * (100vw - 320px) / 920);
        padding-bottom: calc(40px + 10 * (100vw - 320px) / 920);
        bottom: calc(-260px + 30 * (100vw - 320px) / 920);
    }
    .courses-plan__btn {
        margin-top: calc(40px - 0 * (100vw - 320px) / 920);
    }
    .certificate {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .certificate__items {
        flex-wrap: wrap;
        gap: 20px;
    }
    .certificate__list {
        gap: 20px;
    }
    .certificate__item-image {
        order: 3;
        width: 100%;
        justify-content: center;
        margin: 0 auto;
    }
    .certificate__title {
        max-width: calc(300px + 600 * (100vw - 320px) / 920);
    }
    .certificate__list-text:before {
        width: calc(28px + 12 * (100vw - 320px) / 920);
        height: calc(28px + 12 * (100vw - 320px) / 920);
    }
    .lessons {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .lessons__title {
        max-width: calc(300px + 300 * (100vw - 320px) / 920);

        margin-bottom: calc(20px + 40 * (100vw - 320px) / 920);
    }
    .free-lesson {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .free-lesson__inner {
        padding-left: calc(20px + 50 * (100vw - 320px) / 920);
        padding-right: calc(20px + 50 * (100vw - 320px) / 920);
    }
    .btn {
        padding-left: calc(30px + 10 * (100vw - 320px) / 920);
        padding-right: calc(30px + 10 * (100vw - 320px) / 920);
    }
    .reviews {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .bonus {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .bonus__title {
        max-width: calc(300px + 150 * (100vw - 320px) / 920);
    }
    .questions {
        margin-bottom: calc(70px + 70 * (100vw - 320px) / 920);
    }
    .modal-body__title-h3 {
        max-width: calc(280px + 240 * (100vw - 320px) / 920);
    }
}
@media (max-width: 1100px) {
    .free-lesson__inner {
        padding-bottom: 0;
    }
    .free-lesson__items {
        flex-wrap: wrap;
    }
    .free-lesson__img {
        position: relative;
        margin: 0 auto;
        transform: translateY(calc(16px + 34 * (100vw - 320px) / 920));
    }
    .questions__item {
        width: 100%;
        height: auto;
    }
    .questions__item-title {
        height: auto;
        min-height: 40px;
    }
}
@media (max-width: 1000px) {
    .bonus__form {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
        max-width: 365px;
        width: 100%;
        margin: 0 auto;
    }
    .bonus__form .form__input {
        width: 100%;
    }
}
@media (max-width: 800px) {
    .header__inner {
        flex-wrap: wrap;
        gap: 20px;
    }
    .header-phones {
        margin-left: auto;
    }
    .header__btn {
        width: 100%;
        order: 4;
    }
    .menu-top__link-btn {
        margin: 0 auto;
    }
    .hero-bottom__title {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 600px) {
    .header__logo-text {
        display: none;
    }
    .menu-top,
    .menu-bottom {
        gap: 20px;
        align-items: flex-start;
        flex-direction: column;
    }
    .menu-top__link-social .text-link {
        max-width: 100%;
    }
    .nav-menu {
        height: 100%;
        min-height: 100vh;
    }
    .footer__items {
        gap: calc(20px + 20 * (100vw - 320px) / 920);
        display: flex;
        flex-direction: column;
    }
    .footer__item {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
}
@media (max-width: 550px) {
    .why__item {
        justify-content: center;
        flex-wrap: wrap;
    }
    .why__item-col {
        padding: 10px;
        height: 50px;
        justify-content: center;
    }
    .why__item-col span {
        text-align: center;
        padding: 0 20px;
    }
    .why__item:last-child .why__item-col {
        height: 50px;
        padding-bottom: 0px;
    }
    .why__item:last-child {
        padding-bottom: 20px;
    }
    .why__item-name {
        padding-left: 0px;
    }
    .why__item-name .why__item-col {
        padding: 30px 0px;
    }
    .why__item-name .why__item-col-other {
        border-left: 1px solid var(--color-grey);
    }
    .why__item-col-our {
        justify-content: center;
        border: none;
    }
    .why__item-col-our {
        width: 50%;
        border: none;
    }

    .why__item-col-other {
        justify-content: center;
        width: 50%;
        border: none;
    }
    .why__item-col-name {
        width: 100%;
    }
}
