/* =========================================================
   RESULTS
   Mobile First
========================================================= */

.hc-results {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 8% 12%, rgba(214, 242, 255, .55) 0, rgba(214, 242, 255, 0) 18%),
        radial-gradient(circle at 94% 8%, rgba(255, 226, 236, .55) 0, rgba(255, 226, 236, 0) 18%),
        #fffdf9;
    color: #12345b;
    font-family: 'Montserrat', sans-serif;
}

.hc-results *,
.hc-results *::before,
.hc-results *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
========================================================= */

.hc-results__container {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 1540px;

    margin: 0 auto;
    padding: 54px 20px 58px;
}


/* =========================================================
   HEADING
========================================================= */

.hc-results__heading {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

.hc-results__eyebrow {
    margin-bottom: 12px;

    color: #6d8097;

    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.hc-results__title {
    margin: 0;

    color: #12345b;

    font-size: 30px;
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.7px;
}

.hc-results__title br {
    display: none;
}

.hc-results__title span {
    color: #18a9d5;
}

.hc-results__subtitle {
    max-width: 760px;

    margin: 18px auto 0;

    color: #667a92;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.55;
}


/* =========================================================
   GRID
========================================================= */

.hc-results__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}


/* =========================================================
   CARD
========================================================= */

.hc-result-card {
    position: relative;
    overflow: hidden;

    min-width: 0;

    padding: 22px 18px 20px;

    border: 1px solid rgba(18, 52, 91, .05);
    border-radius: 24px;

    box-shadow:
        0 10px 30px rgba(38, 73, 107, .045),
        inset 0 1px 0 rgba(255, 255, 255, .7);
}


/* Цвета карточек */

.hc-result-card--english {
    background: #fff9e9;
}

.hc-result-card--independence {
    background: #edf9ff;
}

.hc-result-card--speech {
    background: #fff0f5;
}

.hc-result-card--focus {
    background: #f1faef;
}

.hc-result-card--adaptation {
    background: #f5f1ff;
}

.hc-result-card--books {
    background: #edfaff;
}


/* =========================================================
   CARD HEADER
========================================================= */

.hc-result-card__header {
    display: flex;
    align-items: flex-start;

    margin-bottom: 16px;
}

.hc-result-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 44px;

    width: 44px;
    height: 44px;

    margin-right: 12px;
}

.hc-result-card__icon img {
    display: block;

    width: 40px;
    height: 40px;

    object-fit: contain;
}

.hc-result-card__title {
    margin: 2px 0 0;

    color: #12345b;

    font-size: 19px;
    font-weight: 800;
    line-height: 1.18;
    letter-spacing: -.25px;
}


/* =========================================================
   CARD BODY
========================================================= */

.hc-result-card__body {
    display: flex;
    flex-direction: column;
}

.hc-result-card__text {
    margin-bottom: 20px;
}

.hc-result-card__text p {
    margin: 0;

    color: #60758e;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.48;
}

.hc-result-card__text p + p {
    margin-top: 10px;
}


/* =========================================================
   BEFORE / AFTER PHOTOS
========================================================= */

.hc-result-card__photos {
    position: relative;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: end;

    gap: 12px;

    width: 100%;
}

.hc-result-photo {
    position: relative;

    min-width: 0;

    padding-bottom: 19px;
}

.hc-result-photo img {
    display: block;

    width: 100%;
    aspect-ratio: 4 / 5;

    object-fit: cover;
    object-position: center;

    border-radius: 18px;
}


/* =========================================================
   BEFORE / AFTER LABELS
========================================================= */

.hc-result-photo__label {
    position: absolute;

    left: 50%;
    bottom: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    min-width: 78px;
    min-height: 36px;

    padding: 7px 14px;

    border-radius: 999px;

    font-size: 13px;
    font-weight: 800;
    line-height: 1;

    transform: translateX(-50%);

    box-shadow: 0 5px 12px rgba(37, 67, 98, .08);
}

.hc-result-photo--before .hc-result-photo__label {
    background: #e5ebf1;
    color: #38536f;
}

.hc-result-photo--after .hc-result-photo__label {
    background: #ffc61a;
    color: #fff;
}


/* =========================================================
   ARROW BETWEEN PHOTOS
========================================================= */

.hc-result-card__arrow {
    position: absolute;
    z-index: 3;

    top: 42%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    border-radius: 50%;

    background: #fff;

    font-size: 23px;
    font-weight: 700;
    line-height: 1;

    transform: translate(-50%, -50%);

    box-shadow: 0 4px 14px rgba(37, 67, 98, .12);
}


/* Цвет стрелки под карточку */

.hc-result-card--english .hc-result-card__arrow {
    color: #f4ad00;
}

.hc-result-card--independence .hc-result-card__arrow {
    color: #18a9d5;
}

.hc-result-card--speech .hc-result-card__arrow {
    color: #ff5c86;
}

.hc-result-card--focus .hc-result-card__arrow {
    color: #43b977;
}

.hc-result-card--adaptation .hc-result-card__arrow {
    color: #9a62e8;
}

.hc-result-card--books .hc-result-card__arrow {
    color: #18a9d5;
}


/* =========================================================
   CTA
========================================================= */

.hc-results__cta {
    display: flex;
    justify-content: center;

    margin-top: 32px;
}

.hc-results__button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 60px;

    padding: 15px 20px;

    border: 2px solid #ffc21a;
    border-radius: 16px;

    background: #ffc21a;
    color: #12345b;

    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 9px 0 #f0a900;

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background-color .2s ease;
}

.hc-results__button:hover {
    background: #ffca2f;
    color: #12345b;
    text-decoration: none;

    transform: translateY(-2px);

    box-shadow: 0 11px 0 #f0a900;
}

.hc-results__button-arrow {
    flex: 0 0 auto;

    margin-left: 14px;

    font-size: 24px;
    line-height: 1;
}


/* =========================================================
   DECOR
   На телефоне часть декора специально скрываем.
========================================================= */

.hc-results__decor {
    position: absolute;
    z-index: 1;

    display: block;

    pointer-events: none;
    user-select: none;
}

.hc-results__decor--sun {
    top: 22px;
    left: -15px;

    width: 76px;

    opacity: .9;
}

.hc-results__decor--cloud {
    top: 12px;
    right: -42px;

    width: 125px;

    opacity: .38;
}

.hc-results__decor--plane,
.hc-results__decor--spark {
    display: none;
}


/* =========================================================
   768+
========================================================= */

@media (min-width: 768px) {

    .hc-results__container {
        padding: 68px 32px 72px;
    }

    .hc-results__heading {
        margin-bottom: 44px;
    }

    .hc-results__eyebrow {
        margin-bottom: 14px;

        font-size: 13px;
        letter-spacing: 1.8px;
    }

    .hc-results__title {
        font-size: 40px;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hc-results__title br {
        display: block;
    }

    .hc-results__subtitle {
        margin-top: 20px;

        font-size: 17px;
        line-height: 1.55;
    }


    /* 2 карточки */

    .hc-results__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .hc-result-card {
        padding: 24px 20px 22px;

        border-radius: 26px;
    }

    .hc-result-card__icon {
        flex-basis: 48px;

        width: 48px;
        height: 48px;

        margin-right: 13px;
    }

    .hc-result-card__icon img {
        width: 44px;
        height: 44px;
    }

    .hc-result-card__title {
        font-size: 20px;
    }

    .hc-result-card__text p {
        font-size: 14px;
    }

    .hc-result-card__photos {
        gap: 14px;
    }

    .hc-result-photo {
        padding-bottom: 20px;
    }

    .hc-result-photo img {
        border-radius: 19px;
    }

    .hc-result-photo__label {
        min-width: 82px;
        min-height: 37px;

        font-size: 14px;
    }

    .hc-results__cta {
        margin-top: 42px;
    }

    .hc-results__button {
        width: auto;
        min-width: 470px;
        min-height: 64px;

        padding: 16px 28px;

        font-size: 16px;
    }

    .hc-results__decor--sun {
        top: 36px;
        left: 24px;

        width: 92px;
    }

    .hc-results__decor--cloud {
        top: 12px;
        right: 25px;

        width: 170px;
    }

}


/* =========================================================
   992+
========================================================= */

@media (min-width: 992px) {

    .hc-results__container {
        padding: 78px 40px 80px;
    }

    .hc-results__heading {
        margin-bottom: 48px;
    }

    .hc-results__title {
        font-size: 46px;
    }

    .hc-results__subtitle {
        max-width: 820px;

        font-size: 18px;
    }


    /*
       Пока оставляем 2 колонки.
       На 992 три карточки уже влезут,
       но будут выглядеть как меню авиакомпании.
    */

    .hc-results__grid {
        gap: 24px;
    }

    .hc-result-card {
        padding: 27px 24px 25px;
    }

    .hc-result-card__header {
        margin-bottom: 18px;
    }

    .hc-result-card__title {
        font-size: 22px;
    }

    .hc-result-card__text {
        margin-bottom: 22px;
    }

    .hc-result-card__text p {
        font-size: 15px;
    }

    .hc-result-card__photos {
        gap: 18px;
    }

    .hc-result-photo__label {
        min-width: 88px;
        min-height: 38px;

        padding: 8px 17px;
    }

    .hc-results__button {
        min-width: 520px;

        font-size: 17px;
    }


    /* Возвращаем декоративные элементы */

    .hc-results__decor--plane {
        display: block;

        right: 32px;
        bottom: 24px;

        width: 90px;

        opacity: .9;
    }

    .hc-results__decor--spark {
        display: block;

        left: 24px;
        bottom: 70px;

        width: 52px;

        opacity: .8;
    }

}


/* =========================================================
   1200+
========================================================= */

@media (min-width: 1200px) {

    .hc-results__container {
        padding: 86px 48px 88px;
    }

    .hc-results__heading {
        max-width: 1000px;
        margin-bottom: 50px;
    }

    .hc-results__title {
        font-size: 50px;
    }

    .hc-results__subtitle {
        font-size: 18px;
    }


    /* Концепт: 3 × 2 */

    .hc-results__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .hc-result-card {
        padding: 25px 22px 23px;

        border-radius: 28px;
    }

    .hc-result-card__icon {
        flex-basis: 50px;

        width: 50px;
        height: 50px;

        margin-right: 14px;
    }

    .hc-result-card__icon img {
        width: 46px;
        height: 46px;
    }

    .hc-result-card__title {
        font-size: 20px;
    }

    .hc-result-card__text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hc-result-card__photos {
        gap: 14px;
    }

    .hc-result-photo img {
        border-radius: 18px;
    }

    .hc-result-photo__label {
        min-width: 82px;
        min-height: 36px;

        padding: 7px 15px;

        font-size: 13px;
    }

    .hc-result-card__arrow {
        width: 36px;
        height: 36px;

        font-size: 24px;
    }

    .hc-results__cta {
        margin-top: 48px;
    }

    .hc-results__button {
        min-width: 560px;
        min-height: 66px;

        border-radius: 18px;

        font-size: 18px;
    }

    .hc-results__decor--sun {
        top: 50px;
        left: 38px;

        width: 108px;
    }

    .hc-results__decor--cloud {
        top: 16px;
        right: 40px;

        width: 210px;
    }

    .hc-results__decor--plane {
        right: 45px;
        bottom: 24px;

        width: 105px;
    }

    .hc-results__decor--spark {
        left: 38px;
        bottom: 76px;

        width: 60px;
    }

}


/* =========================================================
   1500+
========================================================= */

@media (min-width: 1500px) {

    .hc-results__container {
        padding: 94px 32px 96px;
    }

    .hc-results__heading {
        margin-bottom: 54px;
    }

    .hc-results__eyebrow {
        font-size: 15px;
    }

    .hc-results__title {
        font-size: 56px;
    }

    .hc-results__subtitle {
        max-width: 940px;
        font-size: 20px;
        line-height: 1.55;
    }


    /* Карточки */

    .hc-results__grid {
        gap: 24px;
    }

    .hc-result-card {
        min-height: 430px;
        padding: 30px 26px 26px;
    }

    .hc-result-card__header {
        margin-bottom: 20px;
    }

    .hc-result-card__icon {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
        margin-right: 16px;
    }

    .hc-result-card__icon img {
        width: 52px;
        height: 52px;
    }

    .hc-result-card__title {
        font-size: 24px;
        line-height: 1.18;
        letter-spacing: -.3px;
    }


    /* Текст результата */

    .hc-result-card__text {
        margin-bottom: 24px;
    }

    .hc-result-card__text p {
        font-size: 17px;
        line-height: 1.5;
    }

    .hc-result-card__text p + p {
        margin-top: 12px;
    }


    /* Фото */

    .hc-result-card__photos {
        gap: 16px;
    }

    .hc-result-photo__label {
        min-width: 92px;
        min-height: 40px;
        padding: 8px 18px;

        font-size: 15px;
    }

    .hc-result-card__arrow {
        width: 40px;
        height: 40px;

        font-size: 26px;
    }


    /* CTA */

    .hc-results__button {
        min-width: 600px;
        min-height: 68px;

        font-size: 19px;
    }


    /* Декор */

    .hc-results__decor--sun {
        left: 60px;
        width: 120px;
    }

    .hc-results__decor--cloud {
        right: 55px;
        width: 230px;
    }

    .hc-results__decor--plane {
        right: 70px;
        width: 115px;
    }

    .hc-results__decor--spark {
        left: 65px;
        width: 64px;
    }
}

.hc-result-card {
        display: flex;
        flex-direction: column;
		justify-content: space-between;
    }