/* COMMON STYLES */
* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
    transition: .3s;
}


img {
    max-width: 100%;
}

li {
    position: relative;
    list-style: none;
    z-index: 1;
}

html {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
}

body {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
    background-image: url("../img/bg.png");
    background-size: cover;
    background-position: top center;
    font-family: 'Montserrat', sans-serif;
    color: var(--black);
}

:root {
    --white: #FFFFFF;
    --black: #141111;
    --accent: #5e17eb;
    --bounce-transition: .35s cubic-bezier(.17, .67, .3, 1.33);
    --slow-transition: .75s cubic-bezier(.2, .6, 0, 1);
}

/* COMMON STYLES */
.btn {
    display: inline-block;
    border-radius: 20px;
    padding: 16px 28px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 24px;
    line-height: 150%;
    border: none;
    cursor: pointer;
    transition: .5s;
}

.btn:hover {
    transform: scale(1.05);
}

.mob {
    display: none;
}

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

.title {
    font-weight: 700;
    font-size: 64px;
    line-height: 112%;
}

.description {
    font-weight: 400;
    font-size: 18px;
    line-height: 144%;
}

.logo {
    font-weight: 600;
    font-size: 40px;
    letter-spacing: -0.02em;
}

/* header */
.header .container {
    padding-top: 50px;
    padding-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.header .logo {
    padding: 22px 28px;
    height: 84px;
    font-weight: 800;
    font-size: 32px;
    line-height: 125%;
    white-space: nowrap;
    border-radius: 15px 0 0 15px;
    color: var(--accent);
    background: #fdfdfd;
    box-shadow: 0 4px 12px 0 rgba(94, 23, 235, 0.25);
}

.header .navigation {
    max-width: 100%;
    width: 100%;
    padding: 26px;
    height: 84px;
    background: #fdfdfd;
    box-shadow: 0 4px 12px 0 rgba(94, 23, 235, 0.25);
}

.header .navigation ul {
    display: flex;
    justify-content: center;
    font-weight: 500;
    font-size: 20px;
    line-height: 160%;
    color: rgba(20, 17, 17, 0.6);
    gap: 40px;
    padding: 0;
    margin-bottom: 0;
}

.header .navigation ul a {
    color: inherit;
    text-decoration: none;
}

.header .navigation ul a:hover {
    color: var(--accent);
}

.header .phone-number {
    padding: 32px 28px;
    height: 84px;
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 400;
    font-size: 20px;
    line-height: 160%;
    color: var(--black);
    background: #fdfdfd;
    border-radius: 0 15px 15px 0;
    box-shadow: 0 4px 12px 0 rgba(94, 23, 235, 0.25);
}

.header .phone-number a {
    color: inherit;
    text-decoration: none;
}

.mobile-navigation, .burger-menu {
    display: none;
}

/* main */
.main .container {
    font-family: 'Montserrat', sans-serif;
    padding-top: 130px;
    padding-bottom: 296px;
}

.main-info {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

.main-image-right {
    position: absolute;
    right: calc(50% - 960px);
    top: 31px;
    z-index: -1;
}

.main-image-left {
    position: absolute;
    left: calc(50% - 960px);
    top: 0;
    z-index: -1;
}

.main-title {
    font-weight: 700;
    font-size: 80px;
    line-height: 110%;
    text-align: center;
    color: var(--black);
    margin-bottom: 64px;
}

.main-title span {
    color: var(--accent);
}

.main-description {
    max-width: 700px;
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    text-align: center;
    color: var(--black);
    margin: 0 auto 32px;
}

.btn-main {
    display: block;
    color: var(--white);
    background: var(--accent);
    margin: 0 auto;
}

.marquee {
    overflow: hidden;
    background: #daff7d;
}

.marquee-content {
    display: flex;
    justify-content: center;
    gap: 76px;
    padding: 18px;
    background: #daff7d;
    transform: translateX(-100%);
}

.marquee p {
    position: relative;
    font-weight: 700;
    font-size: 20px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0;
}

.marquee p::before {
    content: url("../img/star.svg");
    position: absolute;
    top: 0;
    left: -53px;
}

/* advantages */
.advantages .container {
    font-family: 'Montserrat', sans-serif;
    padding-top: 120px;
}

.advantage-items {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.advantage-item {
    border-radius: 20px;
    padding: 32px 28px;
    height: 156px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px 0 rgba(94, 23, 235, 0.12);
    background: #fdfdfd;
}

.advantage-item p {
    font-weight: 400;
    font-size: 24px;
    line-height: 150%;
    color: #141111;
    margin: 0;
}

/* parcels */
.parcels .container {
    padding-top: 73px;
    padding-bottom: 90px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.parcels-info {
    max-width: 830px;
}

.parcels-image {
    max-width: 634px;
    margin-left: -72px;
}

.parcels-title {
    margin-bottom: 32px;
}

.parcels-description {
    max-width: 591px;
}

/* partners */
.partners .container {
    padding-top: 140px;
    padding-bottom: 140px;
}

.partners-title {
    max-width: 930px;
    text-align: center;
    margin: 0 auto 80px;
}

.partners-title span {
    color: var(--accent);
}

.partners-items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.partner-item {
    width: 328px;
    height: 162px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border-right: 2px solid var(--accent);
    border-left: 2px solid var(--accent);
    background: #fdfdfd;
}

/* delivery */
.delivery .container {
    font-family: 'Montserrat', sans-serif;
    background-image: url("../img/delivery-bg.png");
    background-position: center;
    background-size: cover;
    padding-top: 87px;
    padding-bottom: 87px;
    border-radius: 20px;
}

.delivery-info {
    max-width: 930px;
    margin: 0 auto;
}

.delivery-title {
    color: var(--white);
    text-align: center;
    margin-bottom: 32px;
}

.delivery-description {
    max-width: 768px;
    color: var(--white);
    text-align: center;
    margin: 0 auto;
}

.delivery .btn-main {
    display: block;
    background-color: #daff7d;
    color: var(--black);
    margin: 0 auto 24px;
}

/* faq */
.faq .container {
    font-family: 'Montserrat', sans-serif;
    padding-top: 120px;
    padding-bottom: 120px;
}

.faq-title {
    text-align: center;
    margin-bottom: 72px;
}

.faq-title span {
    color: var(--accent);
}

.accordion {
    font-family: 'Montserrat', sans-serif;
    max-width: 1107px;
    margin: 0 auto;
}

.accordion-item {
    border-radius: 20px;
    border-right: 1px solid var(--accent);
    border-left: 1px solid var(--accent);
    background-color: var(--white);
    box-shadow: 0 4px 12px 0 rgba(94, 23, 235, 0.12), -2px 0 0 0 #5e17eb, 2px 0 0 0 #5e17eb;
    margin-bottom: 24px;
}

.accordion-header {
    padding: 32px 28px;
    border-top: 1px solid #e8ebf2;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;

    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: var(--black);
}

.accordion-header:focus {
    outline: none;
}

.arrow {
    min-width: 24px;
    margin-left: 30px;
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--white);

    padding: 0 28px;
    font-weight: 500;
    font-size: 20px;
    line-height: 133%;
    color: var(--black);
    border-radius: 20px;
    margin-bottom: 0;
}

.accordion-item.active {
    max-height: max-content;
}

.accordion-item.active .accordion-content {
    max-height: max-content;
}

.accordion-item.active .accordion-header {
    font-weight: 600;
    padding-bottom: 0;
    color: var(--accent);
    margin-bottom: 16px;
}

.accordion-item.active .arrow {
    transform: rotate(45deg);
}

.accordion-item.active .arrow path {
    stroke: var(--accent);
}

/* footer */
.footer {
    font-family: 'Montserrat', sans-serif;
    padding-bottom: 32px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    border-radius: 0 0 20px 20px;
    border-bottom: 2px solid var(--accent);
}

.footer-top .logo {
    font-weight: 800;
    font-size: 32px;
    line-height: 125%;
    color: var(--accent);
    margin-bottom: 8px;
}

.footer-logo-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
}

.footer-info {
    max-width: 528px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-info svg {
    min-width: 24px;
}

.footer-info-text {
    padding: 16px 24px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--black);
}

.footer-info-text a {
    text-decoration: none;
    color: var(--black);
}

.footer-info-text a:hover {
    color: var(--black);
    opacity: .7;
}

.footer-bottom {
    border-top: 1px solid var(--white);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;

    font-weight: 400;
    font-size: 20px;
    color: rgba(20, 17, 17, 0.6);
}

.footer-rights {
    display: flex;
    gap: 24px;
}

.footer-rights p {
    margin: 0;
}

.footer-offer {
    margin-right: 255px;
    cursor: pointer;
    transition: .3s;
}

.footer-offer:hover {
    transition: .3s;
    transform: scale(1.05);
}

/* modal */
.modal__container {
    border-radius: 10px;
    padding: 60px;
}

.modal__header {
    margin-bottom: 24px;
    display: flex;
    align-items: center;
}

.modal__title {
    font-weight: 700;
    font-size: 46px;
    line-height: 110%;
    color: var(--black);
}

.modal__close {
    width: 24px;
    height: 24px;
}

.modal__close::before {
    font-weight: 700;
    font-size: 24px;
}

.modal__descr {
    color: gray;
    font-size: 20px;
}

.modal__form {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
}

.modal__form-group {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
}

.modal__form-checkbox {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 8px;
}

.modal__form-label {
    line-height: 100%;
}

.modal__form-label a {
    line-height: 100%;
}

.modal__btn {
    font-size: 18px;
    background-color: var(--accent);
    color: var(--white);
    margin: 0 auto;
}

.modal__btn:hover {
    color: var(--hover);
}

.modal__form-card {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid gray;
}

.modal__link {
    display: inline-block;
    color: var(--accent);
    cursor: pointer;
    text-decoration: underline;
    transition: all var(--bounce-transition);
    margin: 0;
}

.modal__link:hover {
    transform: scale(1.05);
    color: var(--hover);
}

#offer .modal__container {
    max-width: 80%;
    max-height: 90%;
}

#offer .modal__header {
    align-items: flex-start;
}

#offer .modal__body p {
    margin-bottom: 12px;
}

#offer .modal__body p:last-child {
    margin-bottom: 0;
}