* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'SFPro', sans-serif;
    font-weight: 400;
    background: #fff;
}

h1, h2, h3, h4, h6, h6, p {
    margin: 0
}

.container {
    max-width: 1440px;
    width: 100%;
    padding: 0 12px;
    margin: 0 auto;
}

.main {
    position: relative;
}

.notification {
    position: fixed;
    top: 10px;
    transform: translateY(-150%);
    left: 50%;
    padding: 20px 40px;
    border-radius: 20px;
    background: #19c119;
    color: #fff;
    font-size: 20px;
    z-index: 3;
    transition: all 0.2s ease-in;

    &.active {
        transform: translateY(0%);
    }
}

.header {
    position: relative;
}

.header__content {
    padding: 10px 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.header__logo {
    width: 100px;
    height: auto;
}

.header__logo img {
    width: 100%;
    height: 100%;
}

.header__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 10px;

    @media (max-width: 768px) {
        display: none;
    }
}

.header__links .header__link.active {
    color: #533aa2;
}

.header__link {
    padding: 5px 10px;
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: all 0.2s ease-in;

    &:hover {
        color: #533aa2;
    }
}

.header__burger {
    display: none;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in;

    @media (max-width: 768px) {
        display: flex;
    }
}

.header__burger span {
    position: relative;
    width: 100%;
    height: 3px;
    border-radius: 20px;
    background: #000;

    &::before {
        position: absolute;
        content: '';
        width: 40px;
        height: 3px;
        border-radius: 20px;
        background: #000;
        top: -10px;
        left: 0;
        right: 0;
    }

    &::after {
        position: absolute;
        content: '';
        width: 40px;
        height: 3px;
        border-radius: 20px;
        background: #000;
        top: 10px;
        left: 0;
        right: 0;
    }
}

.header__burger.active {
    transform: rotate(360deg);
}

.header__burger.active span {
    background: transparent;

    &::before {
        top: 0;
        transform: rotate(45deg);
    }

    &::after {
        top: 0;
        transform: rotate(-45deg);
    }
}

.header__menu {
    display: none;
    width: 100%;
    left: 0;
    right: 0;
    position: absolute;
    flex-direction: column;
    background: #fff;
    box-shadow: 0px 10px 24px 0px rgba(0, 0, 0, 0.3);
    transform: translateY(-150%);
    opacity: 0;
    transition: all 0.2s ease-in;

    @media (max-width: 768px) {
        display: flex;
    }
}

.header__menu.active {
    opacity: 1;
    transform: translateY(0);
}

.header__menu .header__link {
    padding: 20px;
}

.header__menu .header__link.active {
    background-color: #533aa2 !important;
    color: #fff;
}


.hero {
    padding: 80px 0;
}

.hero__content {
    display: flex;
    flex-direction: column;
    grid-gap: 30px;
}

.hero__text {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 20px;
}

.hero__text p {
    font-size: 20px;
    color: #000;
}

.hero__title {
    font-size: 60px;
    font-weight: 600;
    color: #533aa2;
}

.hero__under {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    grid-gap: 20px;
}

.hero__under a {
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    color: #fff;
    background: #fb7f58;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
}

.hero__subtitle {
    font-size: 20px;
    color: #000;
}


.partners {
    padding: 80px 0 80px 0;
}

.partners__content {
    display: flex;
    flex-direction: column;
    grid-gap: 40px;
}

.partners__title {
    font-size: 20px;
    font-weight: 400;
    color: #000;
    text-align: center;
}

.partners__list {
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    flex-shrink: 0;
    grid-gap: 20px;
    justify-content: space-around;
}

.partners__item {
    max-width: 100px;
    height: auto;
}

.partners__item img {
    width: 100%;
    height: 100%;
}


.help {
    margin-bottom: 55px;
    width: 100%;
    height: 700px;

    @media (max-width: 768px) {
        height: 600px;
    }
}

.help .container {
    position: relative;
}

.help__bg {
    width: 100%;
    height: 100%;
    background-image: url('../img/2676.webp');
    background-repeat: no-repeat;
    background-position: 100% 20%;
    background-size: cover;
}

.help__content {
    margin-left: 12px;
    width: 500px;
    position: absolute;
    left: 0;
    bottom: -50px;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
    padding: 85px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0px 0px 24px 0px rgba(0, 0, 0, 0.3);

    @media (max-width: 768px) {
        padding: 40px;
        width: auto;
        right: 0;
        margin-right: 12px;
    }
}

.help__content p {
    &:first-child {
        font-size: 20px;
        font-weight: 400;
        color: #533aa2;
    }

    &:nth-child(2) {
        font-size: 32px;
        line-height: 1.3;
        font-weight: 600;
        color: #898989;
    }

    &:nth-child(3) {
        font-size: 20px;
        line-height: 1.3;
        font-weight: 400;
        color: #000;
    }
}

.help__content a {
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    color: #fb7b54;
    background: #fff9f6;
    text-decoration: none;
    cursor: pointer;
    text-align: center;
    flex-shrink: 0;
    transition: all 0.2s ease-in;

    &:hover {
        color: #fff9f6;
        background: #fb7b54;
    }
}


.peculiarities {
    padding: 80px 0;
}

.peculiarities__content {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;

    @media (max-width: 768px) {
        grid-template-columns: 1fr 1fr;
    }
}

.peculiarities__item {
    display: flex;
    flex-direction: column;
    align-items: center;

    &:first-child .peculiarities__item-img {
        background: rgba(61, 205, 92, 0.07);
    }

    &:nth-child(2) .peculiarities__item-img {
        background: #f8f3fe;
    }

    &:nth-child(3) .peculiarities__item-img {
        background: #fff5f3;
    }

    &:nth-child(4) .peculiarities__item-img {
        background: #fcf1fb;
    }
}

.peculiarities__item-img {
    width: 125px;
    height: 125px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 40px;
    border-radius: 20px;
}

.peculiarities__item-img img {
    width: 35px;
    height: auto;
}

.peculiarities__item-title {
    margin-bottom: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-align: center;
}

.peculiarities__item-desc {
    font-size: 18px;
    line-height: 1.3;
    color: #000;
    text-align: center;
}


.testimonials {
    padding: 155px 0;
    background: linear-gradient(165deg, hsla(264, 79%, calc(63% - 15%), 100%) 0%, #9357eb 100%);
}

.testimonials__content {
    .testimonials__title {
        margin-bottom: 12px;
        font-size: 60px;
        font-weight: 600;
        color: #fff;
    }

    .testimonials__subtitle {
        margin-bottom: 40px;
        font-size: 32px;
        font-weight: 600;
        color: #fff;
    }

    .swiper {
        padding-bottom: 50px;

        .swiper-wrapper {
            .swiper-slide {
                padding: 15px;
                display: flex;
                flex-direction: column;
                grid-gap: 20px;
                background: #fff;
                border-radius: 20px;

                .top {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    grid-gap: 10px;

                    &.lucy {
                        .logo {
                            background: blue;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.alison {
                        .logo {
                            background: orange;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.andy {
                        .logo {
                            background: red;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.pete {
                        .logo {
                            background: skyblue;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.melisa {
                        .logo {
                            background: darkred;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.richard {
                        .logo {
                            background: rosybrown;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.richard {
                        .logo {
                            background: rosybrown;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.nataniel {
                        .logo {
                            background: darkgreen;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.aaron {
                        .logo {
                            background: darkorange;
                            font-size: 20px;
                            color: #fff;
                        }
                    }

                    &.aaron {
                        .logo {
                            background: darkorange;
                            font-size: 20px;
                            color: #fff;
                        }
                    }
                }

                .logo {
                    width: 50px;
                    height: 50px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 50%;
                }

                .name {
                    font-size: 16px;
                    color: #000;
                }

                .rating {
                    display: flex;
                    flex-direction: row;
                    align-items: center;
                    grid-gap: 4px;

                    img {
                        width: 20px;
                        height: 20px;
                    }
                }

                .text {
                    font-size: 16px;
                    line-height: 1.3;
                    color: #000;
                }
            }
        }
    }
}


.about {
    padding: 80px 0;
}

.about__content {
    display: flex;
    flex-direction: column;
    grid-gap: 40px;
}

.about__top {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 10px;

    p {
        font-size: 20px;
        color: #000;
    }
}

.about__title {
    font-size: 60px;
    font-weight: 600;
    color: #000;
}

.about__text {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;

    p {
        font-size: 20px;
        color: #000;

        a {
            text-decoration: none;
            color: #533aa2;
        }
    }

    ul {
        margin: 0;
        display: flex;
        flex-direction: column;
        grid-gap: 20px;

        li {
            font-size: 20px;
            color: #000;
            list-style-type: none;
        }
    }
}


.contacts {
    position: relative;
    padding: 80px 0;
    background-image: url('../img/newsletter-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    &::before {
        position: absolute;
        content: '';
        inset: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(180deg, #000000 70%, rgba(0, 0, 0, 0.71) 100%);
    }

    .container {
        position: relative;
        z-index: 2;
    }
}

.contacts__form {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

.contacts__title {
    font-size: 60px;
    font-weight: 600;
    color: #fff;
}

.contacts__subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #fff;
}

.contacts__inputs {
    display: flex;
    flex-direction: column;
    grid-gap: 20px;
}

.contacts__input {
    padding: 15px 10px;
    font-size: 16px;
    color: #000;
    outline: none;
    border-radius: 12px;
    border: none;

    &::placeholder {
        font-size: 16px;
        font-weight: 400;
        color: #363636;
    }
}

.contacts__btn {
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    color: #fff;
    background: #fb7f58;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
}


.footer {
    padding: 150px 0;
    background: linear-gradient(260deg, hsla(264, 79%, calc(63% - 12%), 100%) 34%, hsla(264, 79%, 63%, calc(100% - 4%)) 100%), url('../img/footer-bg.png');

    @media (max-width: 768px) {
        padding: 50px 0;
    }
}

.footer__content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    grid-gap: 10px;

    @media (max-width: 768px) {
        display: flex;
        flex-direction: column;
        align-items: center;
        grid-gap: 30px;
    }
}

.footer__logo {
    width: 100px;
    height: auto;
}

.footer__mid {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 25px;
    font-size: 16px;
    color: #fff;
    text-align: center;
}

.footer__socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    grid-gap: 15px;

    img {
        width: 20px;
        height: 20px;
    }
}

.footer__btn {
    padding: 20px;
    border-radius: 12px;
    font-size: 20px;
    color: #fff;
    background: #fb7f58;
    text-decoration: none;
    cursor: pointer;
    flex-shrink: 0;
    border: none;
}

.services-hero {
    padding: 80px 0;
}

.services-hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 20px;
}

.services-hero__text {
    font-size: 20px;
    color: #533aa2;
    text-align: center;
}

.services-hero__title {
    font-size: 60px;
    color: #533aa2;
    text-align: center;
}

.services-hero__subtitle {
    font-size: 20px;
    color: #000;
    text-align: center;
}


.services-advantages {
    padding: 80px 0;
}

.services-advantages__content {
    display: grid;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fit, minmax(150px, 32%));
    gap: 20px;

    @media (max-width: 1024px) {
        grid-template-columns: repeat(auto-fit, minmax(48%, 32%));
    }

    @media (max-width: 576px) {
        grid-template-columns: repeat(auto-fit, minmax(100%, 32%));
    }
}

.services-advantages__item {
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    grid-gap: 20px;
    box-shadow: 0px 1px 10px 10px hsla(0, 0%, 0%, calc(100% - 89%));
    border-radius: 20px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    &:first-child {
        background-image: url('../img/organic-seo.jpg');
    }

    &:nth-child(2) {
        background-image: url('../img/paid-seo.jpg');
    }

    &:nth-child(3) {
        background-image: url('../img/copywriting.jpg');
    }

    &:nth-child(4) {
        background-image: url('../img/google-ads.jpg');
    }

    &:nth-child(5) {
        background-image: url('../img/local-seo.jpg');
    }

    &:nth-child(6) {
        background-image: url('../img/organic-seo.jpg');
    }

    img {
        width: auto;
        height: 220px;
    }
}

.services-advantages__item-title {
    padding: 15px;
    background: #fff;
    font-size: 20px;
    font-weight: 600;
    color: #898989;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 1px 10px 10px hsla(0, 0%, 0%, calc(100% - 89%));
}

.services-advantages__item-text {
    padding: 15px;
    background: #fff;
    font-size: 20px;
    color: #000;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0px 1px 10px 10px hsla(0, 0%, 0%, calc(100% - 89%));
}