@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

:root {
    --general-color: #2239E4;
    --dark-color: #101013;
    --general-light: #E9EFFB;
    --general-font: "Inter";
    --second-font: "Anton";
}


body {
    font-family: var(--general-font), sans-serif;
    background: #ffffff;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000;
    margin: 0;
    padding: 0;
    position: relative;
}

*,
*:after,
*:before {
    box-sizing: border-box;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
li {
    font-size: inherit;
    font-weight: inherit;
    margin: 0;
    padding: 0;
}

ul,
li {
    list-style: none;
}

.mobile {
    display: none;
}

.btn {
    text-align: center;
    border-radius: 9999px;
    background: var(--general-color);
    width: auto;
    transition: .3s;
    text-decoration: none;
    cursor: pointer;
    display: block;
    color: #FFF;
    font-family: var(--second-font), sans-serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 30px;
    text-transform: uppercase;
    padding: 16px 32px;
    border: 1px solid #2239E4;
    max-width: 280px;
}

.btn:hover {
    background: #FFF;
    color: var(--general-color);
}

.btn-secondary {
    background-color: transparent;
    border-color: #ffffff;
    padding: 8px 24px;
    font-size: 14px;
}

.btn-secondary:hover {
    background: var(--general-color);
    border-color: var(--general-color);
    color: #ffffff;
}

.--blue {
    color: var(--general-color);
}

.container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1260px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 10px;
}

/* Header */

header {
    background: rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    border-bottom: 1px solid #828282;
    padding: 12px 0;
    z-index: 10;
}

.wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo__column {
    display: flex;
}

.contacts__column {
    display: flex;
    align-items: center;
    gap: 12px;
}

.phone {
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4px;
    color: #FFF;
    font-family: var(--second-font), sans-serif;
    font-size: 14px;
    line-height: 20px;
    text-transform: uppercase;
    transition: .3s;
}

.phone * {
    transition: .3s;
}

.phone:hover {
    color: var(--general-color);
}

.phone:hover path {
    stroke: var(--general-color);
}

/* Hero */

.hero {
    padding: 192px 0 180px;
    background-image: url('./images/Hero.webp');
    background-size: cover;
    background-position: bottom;
    margin-top: -73px;
}

.hero__wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    max-width: 530px;
}

.hero__subtitle {
    color: #FFF;
    font-size: 18px;
    font-weight: 500;
    line-height: 30px;
}

.hero__title {
    color: #FFF;
    font-family: var(--second-font), sans-serif;
    font-size: 72px;
    line-height: 80px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.hero__description {
    color: #FFF;
    font-size: 18px;
    font-style: normal;
    line-height: 30px;
    margin-bottom: 20px;
}

/* About */

.about {
    padding: 100px 0;
}

.about__wrapper {
    display: flex;
    gap: 100px;
}

.about__wrapper>div {
    width: 50%;
    display: flex;
}

.about__image img {
    width: 100%;
}

.about__descWrapper {
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.about__title {
    font-family: var(--second-font), sans-serif;
    font-size: 56px;
    line-height: 80px;
    text-transform: uppercase;
}

.about__descWrapper .btn {
    margin-top: 12px;
}

.about__list {
    display: flex;
    gap: 20px;
    width: 100%;
}

.about__item {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.about__itemNumber {
    color: var(--general-color);
    font-family: var(--second-font), sans-serif;
    font-size: 48px;
    line-height: 48px;
}

.about__itemLabel {
    color: #414141;
    font-size: 14px;
    line-height: 20px;
}

/* howItWork */

.howItWork {
    padding: 100px 0;
    background: var(--dark-color);
}

.howItWork__wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
}

.howItWork__descWrapper {
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.howItWork__title {
    font-family: var(--second-font), sans-serif;
    font-size: 56px;
    line-height: 80px;
    text-transform: uppercase;
    color: #ffffff;
}

.howItWork__description {
    color: #FFF;
    font-size: 16px;
    line-height: 24px;
}

.howItWork__list {
    display: flex;
    gap: 16px;
    width: calc(100% - 380px);
}

.howItWork__item {
    background-color: #ffffff;
    padding: 32px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 33.33%;
}

.howItWork__number {
    color: var(--general-color);
    font-family: var(--second-font), sans-serif;
    font-size: 48px;
    line-height: 48px;
    margin-bottom: 4px;
}

.howItWork__itemTitle {
    font-family: var(--second-font), sans-serif;
    font-size: 27px;
    line-height: 40px;
    text-transform: uppercase;
}

.howItWork__itemDescription {
    color: #414141;
    font-size: 14px;
    line-height: 20px;
}

/* CTA */

.cta {
    padding: 200px 0;
    background-image: url('./images/cta.webp');
    background-position: center;
    background-size: cover;
}

.cta__wrapper {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
}

.cta__title {
    color: #FFF;
    text-align: center;
    font-family: var(--second-font), sans-serif;
    font-size: 56px;
    line-height: 80px;
    text-transform: uppercase;
}

.cta__description {
    color: #FFF;
    margin-bottom: 12px;
}

/* Reviews */

.reviews {
    padding: 100px 0;
}

.reviews__title {
    text-align: center;
    font-family: var(--second-font), sans-serif;
    font-size: 56px;
    line-height: 80px;
    text-transform: uppercase;
    margin-bottom: 56px;
}

.reviews__sliderWrapper {
    display: flex;
    align-items: center;
    gap: 100px;
}

.reviews__image {
    width: 460px;
    display: flex;
    flex-shrink: 0;
}

.reviews__image img {
    width: 100%;
}

.reviews .reviews__slider {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.reviews__slide {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.reviews__slideNameWrapper {
    display: flex;
    gap: 12px;
    align-items: center;
}

.reviews__slideNameLetter {
    display: flex;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: #FFF;
    font-family: var(--second-font), sans-serif;
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
}

.reviews__slideName {
    font-family: var(--second-font), sans-serif;
    font-size: 32px;
    line-height: 40px;
    text-transform: uppercase;
}

.color-0 {
    background-color: #E12F2F;
}

.color-1 {
    background-color: #E1762F;
}

.color-2 {
    background-color: #2F9DE1;
}

.color-3 {
    background-color: #882FE1;
}

.reviews__slideDescription {
    color: #000;
    font-size: 18px;
    line-height: 30px;
}

.swiper__arrows {
    display: flex;
    gap: 24px;
}

.swiper__arrow {
    border-radius: 999px;
    border: 1px solid #A0A0A0;
    display: flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: .3s;
}

.swiper__arrow:hover {
    border-color: var(--general-color);
    background-color: var(--general-color);
}

.swiper__arrow:hover path {
    stroke: #ffffff;
}

.swiper__arrow path {
    transition: .3s;
}

/* Footer */

footer {
    background: var(--dark-color);
    padding: 32px 0;
}

.footer__wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer__copyright {
    color: #FFF;
    font-size: 13px;
    line-height: 20px;
}

.footer__menu {
    display: flex;
    gap: 24px;
}

.footer__menu li a {
    color: #FFF;
    font-size: 13px;
    line-height: 20px;
    text-decoration: underline;
    transition: .3s;
}

.footer__menu li a:hover {
    color: var(--general-color);
}

@media (max-width: 991px) {
    .hero__title {
        font-size: 56px;
        line-height: 64px;
    }

    .about {
        padding: 64px 0;
    }

    .about__title {
        font-size: 44px;
        line-height: 56px;
    }

    .about__wrapper {
        display: flex;
        gap: 48px;
        align-items: center;
    }

    .howItWork {
        padding: 64px 0;
    }

    .howItWork__wrapper {
        flex-direction: column;
    }

    .howItWork__descWrapper {
        text-align: center;
    }

    .howItWork__title {
        font-size: 44px;
        line-height: 56px;
    }

    .howItWork__list {
        width: 100%;
    }

    .howItWork__item {
        padding: 32px 20px;
    }

    .howItWork__number {
        font-size: 40px;
    }

    .howItWork__itemTitle {
        font-size: 24px;
        line-height: 32px;
    }

    .about__itemNumber {
        font-size: 40px;
        line-height: 40px;
        text-align: center;
    }

    .about__itemLabel {
        text-align: center;
    }

    .cta {
        padding: 120px 0;
    }

    .cta__title {
        font-size: 44px;
        line-height: 56px;
    }

    .reviews {
        padding: 64px 0;
    }

    .reviews__title {
        font-size: 44px;
        line-height: 56px;
    }

    .reviews__sliderWrapper {
        gap: 48px;
    }

    .reviews__image {
        width: 340px;
    }

    .reviews__slideNameLetter {
        width: 56px;
        height: 56px;
        font-size: 24px;
        line-height: 32px;
    }

    .reviews__slideName {
        font-size: 24px;
        line-height: 32px;
    }

    .footer__wrapper {
        flex-direction: column;
        gap: 24px;
    }

}

@media (max-width: 768px) {

    .hero {
        padding: 184px 0 124px;
        background-image: url('./images/hero_mob.webp');
    }

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

    .desktop {
        display: none;
    }

    .mobile {
        display: flex;
    }

    .about__wrapper {
        flex-direction: column-reverse;
    }

    .about__wrapper>div {
        width: 100%;
        display: flex;
        align-items: center;
        text-align: center;
    }

    .about__title {
        text-align: center;
    }

    .howItWork__descWrapper {
        width: 100%;
    }

    .howItWork__list {
        width: 100%;
        flex-direction: column;
    }

    .howItWork__item {
        width: 100%;
    }

    .reviews__sliderWrapper {
        flex-direction: column-reverse;
    }

    .reviews .reviews__slider {
        width: 100%;
    }

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

    .swiper__arrows {
        justify-content: center;
    }

    .reviews__image {
        width: 100%;
    }

    .footer__menu {
        flex-wrap: wrap;
        gap: 16px 24px;
    }

    .footer__menu li {
        width: calc(50% - 12px)
    }

}

