/*hero-talented*/
.hero-talented {
    padding: 100px 0;
}

.hero-talented__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(420px, 660px);
    align-items: center;
    gap: 30px;
}

.hero-talented__left {
    max-width: 700px;
}

.hero-talented__title {
    margin: 0 0 42px;
    font-size: 55px;
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #3636B2;
}

.hero-talented__subtitle {
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    margin: 30px 0;
    color: var(--color-text-dark);
}

.hero-talented__text {
    margin: 0;
    max-width: 600px;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
    color: var(--color-text);
}

.hero-talented__right {
    width: 100%;
}

.hero-talented__image-wrap {
    width: 100%;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.hero-talented__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 1440 и ниже */
@media (max-width: 1440px) {
    .hero-talented__content {
        grid-template-columns: minmax(0, 1fr) minmax(360px, 620px);
        gap: 40px;
    }

    .hero-talented__title {
        font-size: 56px;
    }

    .hero-talented__subtitle {
        font-size: 30px;
    }

    .hero-talented__text {
        font-size: 20px;
    }
}

/* планшет */
@media (max-width: 1024px) {
    :root {
        --container-padding: 24px;
    }

    .hero-talented {
        padding: 48px 0 56px;
    }

    .hero-talented__content {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-talented__left {
        max-width: 100%;
    }

    .hero-talented__right {
        max-width: 760px;
    }

    .hero-talented__title {
        margin-bottom: 28px;
        font-size: 46px;
    }

    .hero-talented__subtitle {
        margin-bottom: 24px;
        font-size: 28px;
    }

    .hero-talented__text {
        font-size: 19px;
        max-width: 100%;
    }
}

/* мобильный */
@media (max-width: 767px) {
    :root {
        --container-padding: 16px;
        --radius-xl: 24px;
    }

    .hero-talented {
        padding: 80px 0 40px;
    }

    .hero-talented__content {
        gap: 28px;
    }

    .hero-talented__title {
        margin-bottom: 20px;
        font-size: 33px;
        line-height: 1.18;
    }

    .hero-talented__subtitle {
        margin-bottom: 18px;
        font-size: 18px;
        line-height: 1.3;
    }

    .hero-talented__text {
        font-size: 14px;
        line-height: 1.5;
    }
}

/* очень узкие */
@media (max-width: 480px) {
    .hero-talented__title {
        font-size: 30px;
    }

    .hero-talented__subtitle {
        font-size: 20px;
    }
}


/*approach*/
.approach {

    padding-bottom: 100px;
}

.approach__box {
    background: #e8e7f7;
    border-radius: 42px;
    padding: 56px 52px;
}

.approach__title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: #111111;
    margin-bottom: 30px;
}

.approach__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.approach__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.approach__icon {
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    color: #4a46c9;
    margin-top: 4px;
}

.approach__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.approach__text {
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
    color: #3f3f46;
}

/* 1440 и ниже */
@media (max-width: 1440px) {
    .approach__box {
        padding: 48px 40px;
    }

    .approach__text {
        font-size: 20px;
    }
}

/* планшет */
@media (max-width: 1024px) {
    .approach {
        padding: 0 0 64px;
    }

    .approach__box {
        border-radius: 32px;
        padding: 40px 28px;
    }

    .approach__title {
        margin-bottom: 28px;
        font-size: 24px;
    }

    .approach__list {
        gap: 18px;
    }

    .approach__text {
        font-size: 18px;
        line-height: 1.45;
    }
}

/* мобильный */
@media (max-width: 767px) {
    .approach {
        padding: 0 0 40px;
    }

    .approach__box {
        border-radius: 24px;
        padding: 28px 18px;
    }

    .approach__title {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .approach__item {
        gap: 12px;
    }

    .approach__icon {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
        margin-top: 3px;
    }

    .approach__text {
        font-size: 14px;
        line-height: 1.5;
    }
}


/*directions*/
.directions {

    padding-bottom: 100px;
}

.directions__title {
    margin: 0 0 48px;

    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

/* grid */
.directions__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* card */
.direction-card {
    background: #ffffff;
    border-radius: 36px;
    padding: 32px 28px 30px;
    border: 2px dashed #4a46c9;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: all 0.25s ease;
}

.direction-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

/* icon */
/*.direction-card__icon {*/
/*    width: 72px;*/
/*    height: 72px;*/
/*    border-radius: 50%;*/
/*    background: #d9efe6;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

.direction-card__icon img {
    width: 80px;
    height: 80px;
}

/* text */
.direction-card__title {
    margin: 0;
    font-size: 22px;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

.direction-card__text {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    color: #3f3f46;
}

/* button */
.btn-primary {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;

    width: 100%;
    min-height: 100px;
    padding: 15px 25px;


    background: #4a46c9;
    color: #ffffff;
    text-decoration: none;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;

    border-radius: 0 50px 50px 50px; /* один угол не закруглен */
    transition: all 0.25s ease;

}

/*.btn-primary:hover {*/
/*    background: #3f3dbf;*/
/*}*/

/* 1440 */
@media (max-width: 1440px) {
    .directions__title {
        font-size: 32px;
    }
}

/* tablet */
@media (max-width: 1024px) {
    .directions {
        padding: 0 0 72px;
    }

    .directions__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .direction-card {
        padding: 28px 22px;
    }
}

/* mobile */
@media (max-width: 767px) {
    .directions__title {
        font-size: 24px;
        margin-bottom: 28px;
    }

    .direction-card {
        border-radius: 24px;
        padding: 25px;
    }


    .direction-card__title {
        font-size: 18px;
    }

    .direction-card__text {
        font-size: 14px;
    }


    .btn-primary {
        font-size: 14px;
        padding: 14px 16px;
        min-height: fit-content;
    }
}

/*about-talented*/

.about-talented {
    padding-bottom: 50px;
}

/* title */
.about-talented__title {
    margin: 0 0 20px;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
    color: #111;
}

/* subtitle */
.about-talented__subtitle {
    margin: 0 0 48px;
    max-width: 900px;
    font-size: 20px;
    line-height: 1.5;
    color: #3f3f46;
}

/* grid */
.about-talented__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 36px;
    margin-top: 30px;
}

/* card */
.about-card {
    background: #FFF3D5;
    border-radius: 28px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-height: 180px;
}

/* number */
.about-card__number {
    font-size: 50px;
    font-weight: 700;
    color: #111;
    text-align: center;
}

/* text */
.about-card__text {
    margin: 0;
    font-size: 20px;
    line-height: normal;
    color: #3f3f46;
    text-align: left;
}

/* bottom text */
.about-talented__bottom {
    margin: 0;
    font-size: 20px;
    line-height: 1.55;
    color: #3f3f46;
}

.about-talented__bottom strong {
    font-weight: 700;
    color: #111;
}

/* 1440 */
@media (max-width: 1440px) {
    .about-talented__title {
        font-size: 32px;
    }
}

/* tablet */
@media (max-width: 1024px) {
    .about-talented {
        padding: 0 0 72px;
    }

    .about-talented__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* mobile */
@media (max-width: 767px) {


    .about-talented {
        padding-bottom: 0;
    }
    .about-talented__title {
        font-size: 18px;
    }

    .about-talented__subtitle {
        font-size: 14px;
        margin-bottom: 28px;
    }

    .about-talented__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-card {
        padding: 20px;
    }

    .about-card__number {
        font-size: 33px;
    }

    .about-card__text {
        font-size: 14px;
    }

    .about-talented__bottom {
        font-size: 15px;
    }
}

/*footer*/

.footer {
    margin-top: 48px;
    padding: 56px 0 40px;
}

.footer__content {
    display: grid;
    grid-template-columns: 280px minmax(320px, 1fr) 320px;
    align-items: start;
    gap: 48px;
}

/* left */
.footer__left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer__logo {
    display: inline-block;
    margin-bottom: 28px;
}

.footer__logo img {
    height: 48px;
    width: auto;
    display: block;
}

.footer__socials {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.footer__socials a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: transform 0.3s ease;
}

.footer__socials a:hover {
    transform: translateY(-2px);
}

.footer__socials img {
    width: 40px;
    height: 40px;
    display: block;
}

.footer__copyright p,
.footer__copyright a {
    margin: 0;
    font-size: 16px;
    line-height: 1.45;
    font-weight: 400;
    color: #1e1e1e;
}

.footer__copyright a {
    display: inline-block;
    margin-top: 2px;
    text-decoration: underline;
    color: #1e1e1e;
    transition: opacity 0.3s ease;
}

.footer__copyright a:hover {
    opacity: 0.7;
}

/* center */
.footer__center {
    border: 2px dashed #4a46c9;
    border-radius: 44px;
    padding: 34px 40px;
    text-align: center;
}

.footer__center p {
    margin: 0;
    font-size: 20px;
    line-height: 1.45;
    font-weight: 400;
    color: #1e1e1e;
}

.footer__center a {
    color: #4a46c9;
    font-weight: 600;
    text-decoration: underline;
}

/* right */
.footer__right {
    display: flex;
    justify-content: flex-end;
}

.footer__contacts {
    text-align: right;
}

.footer__contacts p {
    margin: 0 0 28px;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 600;
    color: #1e1e1e;
}

.footer__contacts a {
    display: block;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #1e1e1e;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.footer__contacts a:hover {
    opacity: 0.7;
}

/* tablet */
@media only screen and (max-width: 1100px) {
    .footer__content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__left {
        align-items: center;
        text-align: center;
    }

    .footer__right {
        justify-content: center;
    }

    .footer__contacts {
        text-align: center;
    }
}

/* mobile */
@media only screen and (max-width: 767px) {

    .footer__left,
    .footer__right,
    .footer__center {
        min-width: 0;
    }

    .footer {
        margin-top: 32px;
        padding: 24px 0 28px;
    }

    .footer__content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "center center"
            "left right";
        gap: 24px 0px;
        align-items: start;
    }

    .footer__center {
        grid-area: center;
        width: 100%;
        border-radius: 24px;
        padding: 24px 20px;
        text-align: center;
    }

    .footer__center p {
        font-size: 15px;
        line-height: 1.45;
    }

    .footer__left {
        grid-area: left;
        align-items: flex-start;
        text-align: left;
    }

    .footer__socials {
        gap: 16px;
        margin-bottom: 16px;
    }

    .footer__socials a {
        width: 32px;
        height: 32px;
    }

    .footer__socials img {
        width: 32px;
        height: 32px;
    }

    .footer__logo {
        margin-bottom: 14px;
    }

    .footer__logo img {
        height: 34px;
    }

    .footer__copyright p,
    .footer__copyright a {
        font-size: 12px;
        line-height: 1.45;
    }

    .footer__right {
        grid-area: right;
        justify-content: flex-end;
    }

    .footer__contacts {
        text-align: right;
    }

    .footer__contacts p {
        margin: 0 0 16px;
        font-size: 12px;
        line-height: 1.45;
    }

    .footer__contacts a {
        font-size: 12px;
        line-height: 1.45;
    }
}